1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for util-linux 2.36.
4#
5# Report bugs to <kzak@redhat.com>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1
202
203  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207    PATH=/empty FPATH=/empty; export PATH FPATH
208    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and kzak@redhat.com
278$0: about your system, including any error possibly output
279$0: before this message. Then install a modern shell, or
280$0: manually run the script under such a shell if you do
281$0: have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='util-linux'
592PACKAGE_TARNAME='util-linux'
593PACKAGE_VERSION='2.36'
594PACKAGE_STRING='util-linux 2.36'
595PACKAGE_BUGREPORT='kzak@redhat.com'
596PACKAGE_URL='http://www.kernel.org/pub/linux/utils/util-linux/'
597
598# Factoring default headers for most tests.
599ac_includes_default="\
600#include <stdio.h>
601#ifdef HAVE_SYS_TYPES_H
602# include <sys/types.h>
603#endif
604#ifdef HAVE_SYS_STAT_H
605# include <sys/stat.h>
606#endif
607#ifdef STDC_HEADERS
608# include <stdlib.h>
609# include <stddef.h>
610#else
611# ifdef HAVE_STDLIB_H
612#  include <stdlib.h>
613# endif
614#endif
615#ifdef HAVE_STRING_H
616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617#  include <memory.h>
618# endif
619# include <string.h>
620#endif
621#ifdef HAVE_STRINGS_H
622# include <strings.h>
623#endif
624#ifdef HAVE_INTTYPES_H
625# include <inttypes.h>
626#endif
627#ifdef HAVE_STDINT_H
628# include <stdint.h>
629#endif
630#ifdef HAVE_UNISTD_H
631# include <unistd.h>
632#endif"
633
634ac_unique_file="sys-utils/mount.c"
635ac_default_prefix=/usr
636ac_c_werror_flag=
637ac_c_werror_flag=
638ac_c_werror_flag=
639ac_c_werror_flag=
640ac_c_werror_flag=
641ac_c_werror_flag=
642ac_c_werror_flag=
643ac_c_werror_flag=
644ac_c_werror_flag=
645ac_c_werror_flag=
646ac_c_werror_flag=
647ac_c_werror_flag=
648ac_c_werror_flag=
649ac_c_werror_flag=
650ac_c_werror_flag=
651ac_c_werror_flag=
652ac_c_werror_flag=
653ac_c_werror_flag=
654ac_c_werror_flag=
655ac_c_werror_flag=
656ac_c_werror_flag=
657ac_c_werror_flag=
658ac_c_werror_flag=
659ac_c_werror_flag=
660ac_c_werror_flag=
661ac_c_werror_flag=
662ac_c_werror_flag=
663ac_c_werror_flag=
664ac_c_werror_flag=
665ac_c_werror_flag=
666ac_c_werror_flag=
667ac_c_werror_flag=
668gt_needs=
669ac_subst_vars='am__EXEEXT_FALSE
670am__EXEEXT_TRUE
671LTLIBOBJS
672LIBOBJS
673ADJTIME_PATH
674SOLIB_LDFLAGS
675SOLIB_CFLAGS
676DAEMON_LDFLAGS
677DAEMON_CFLAGS
678SUID_LDFLAGS
679SUID_CFLAGS
680CRYPTSETUP_LIBS_STATIC
681CRYPTSETUP_LIBS
682CRYPTSETUP_CFLAGS
683CRYPTSETUP_VIA_DLOPEN_FALSE
684CRYPTSETUP_VIA_DLOPEN_TRUE
685HAVE_CRYPTSETUP_FALSE
686HAVE_CRYPTSETUP_TRUE
687MAKEINSTALL_DO_SETUID_FALSE
688MAKEINSTALL_DO_SETUID_TRUE
689MAKEINSTALL_DO_CHOWN_FALSE
690MAKEINSTALL_DO_CHOWN_TRUE
691USE_TTY_GROUP_FALSE
692USE_TTY_GROUP_TRUE
693verbatim_pylibmount_dependency
694BUILD_PYLIBMOUNT_FALSE
695BUILD_PYLIBMOUNT_TRUE
696PYTHON_LIBS
697PYTHON_CFLAGS
698pkgpyexecdir
699pyexecdir
700pkgpythondir
701pythondir
702PYTHON_PLATFORM
703PYTHON_EXEC_PREFIX
704PYTHON_PREFIX
705PYTHON_VERSION
706PYTHON
707BUILD_BASH_COMPLETION_FALSE
708BUILD_BASH_COMPLETION_TRUE
709bashcompletiondir
710USE_VENDORDIR_FALSE
711USE_VENDORDIR_TRUE
712vendordir
713HAVE_ECONF_FALSE
714HAVE_ECONF_TRUE
715ECONF_LIBS
716ECONF_CFLAGS
717systemdsystemunitdir
718HAVE_SYSTEMD_FALSE
719HAVE_SYSTEMD_TRUE
720SYSTEMD_JOURNAL_LIBS
721SYSTEMD_JOURNAL_CFLAGS
722SYSTEMD_DAEMON_LIBS
723SYSTEMD_DAEMON_CFLAGS
724SYSTEMD_LIBS
725SYSTEMD_CFLAGS
726HAVE_BTRFS_FALSE
727HAVE_BTRFS_TRUE
728BUILD_WRITE_FALSE
729BUILD_WRITE_TRUE
730BUILD_WALL_FALSE
731BUILD_WALL_TRUE
732BUILD_CHRT_FALSE
733BUILD_CHRT_TRUE
734BUILD_TASKSET_FALSE
735BUILD_TASKSET_TRUE
736BUILD_IONICE_FALSE
737BUILD_IONICE_TRUE
738BUILD_SETTERM_FALSE
739BUILD_SETTERM_TRUE
740BUILD_PG_FALSE
741BUILD_PG_TRUE
742BUILD_MORE_FALSE
743BUILD_MORE_TRUE
744BUILD_UL_FALSE
745BUILD_UL_TRUE
746BUILD_RUNUSER_FALSE
747BUILD_RUNUSER_TRUE
748BUILD_SU_FALSE
749BUILD_SU_TRUE
750BUILD_SULOGIN_FALSE
751BUILD_SULOGIN_TRUE
752BUILD_NOLOGIN_FALSE
753BUILD_NOLOGIN_TRUE
754BUILD_LOGIN_FALSE
755BUILD_LOGIN_TRUE
756CHFN_CHSH_PASSWORD_FALSE
757CHFN_CHSH_PASSWORD_TRUE
758BUILD_CHFN_CHSH_FALSE
759BUILD_CHFN_CHSH_TRUE
760HAVE_USER_FALSE
761HAVE_USER_TRUE
762LIBUSER_LIBS
763LIBUSER_CFLAGS
764BUILD_NEWGRP_FALSE
765BUILD_NEWGRP_TRUE
766BUILD_VIPW_FALSE
767BUILD_VIPW_TRUE
768BUILD_RENAME_FALSE
769BUILD_RENAME_TRUE
770BUILD_RAW_FALSE
771BUILD_RAW_TRUE
772BUILD_MESG_FALSE
773BUILD_MESG_TRUE
774BUILD_LINE_FALSE
775BUILD_LINE_TRUE
776BUILD_UTMPDUMP_FALSE
777BUILD_UTMPDUMP_TRUE
778BUILD_LAST_FALSE
779BUILD_LAST_TRUE
780BUILD_KILL_FALSE
781BUILD_KILL_TRUE
782BUILD_TUNELP_FALSE
783BUILD_TUNELP_TRUE
784BUILD_REV_FALSE
785BUILD_REV_TRUE
786BUILD_HEXDUMP_FALSE
787BUILD_HEXDUMP_TRUE
788BUILD_COLUMN_FALSE
789BUILD_COLUMN_TRUE
790BUILD_COLRM_FALSE
791BUILD_COLRM_TRUE
792BUILD_COLCRT_FALSE
793BUILD_COLCRT_TRUE
794BUILD_COL_FALSE
795BUILD_COL_TRUE
796BUILD_SCRIPTLIVE_FALSE
797BUILD_SCRIPTLIVE_TRUE
798BUILD_SCRIPTREPLAY_FALSE
799BUILD_SCRIPTREPLAY_TRUE
800BUILD_SCRIPT_FALSE
801BUILD_SCRIPT_TRUE
802BUILD_SETARCH_FALSE
803BUILD_SETARCH_TRUE
804BUILD_RTCWAKE_FALSE
805BUILD_RTCWAKE_TRUE
806BUILD_LDATTACH_FALSE
807BUILD_LDATTACH_TRUE
808BUILD_BLKZONE_FALSE
809BUILD_BLKZONE_TRUE
810BUILD_BLKDISCARD_FALSE
811BUILD_BLKDISCARD_TRUE
812BUILD_FSFREEZE_FALSE
813BUILD_FSFREEZE_TRUE
814BUILD_FINCORE_FALSE
815BUILD_FINCORE_TRUE
816BUILD_CTRLALTDEL_FALSE
817BUILD_CTRLALTDEL_TRUE
818BUILD_DMESG_FALSE
819BUILD_DMESG_TRUE
820BUILD_READPROFILE_FALSE
821BUILD_READPROFILE_TRUE
822BUILD_SETSID_FALSE
823BUILD_SETSID_TRUE
824BUILD_RFKILL_FALSE
825BUILD_RFKILL_TRUE
826BUILD_RENICE_FALSE
827BUILD_RENICE_TRUE
828BUILD_LSNS_FALSE
829BUILD_LSNS_TRUE
830BUILD_LSIPC_FALSE
831BUILD_LSIPC_TRUE
832BUILD_CHOOM_FALSE
833BUILD_CHOOM_TRUE
834BUILD_LSIRQ_FALSE
835BUILD_LSIRQ_TRUE
836BUILD_IRQTOP_FALSE
837BUILD_IRQTOP_TRUE
838BUILD_IPCS_FALSE
839BUILD_IPCS_TRUE
840BUILD_IPCRM_FALSE
841BUILD_IPCRM_TRUE
842BUILD_IPCMK_FALSE
843BUILD_IPCMK_TRUE
844BUILD_CHMEM_FALSE
845BUILD_CHMEM_TRUE
846BUILD_LSMEM_FALSE
847BUILD_LSMEM_TRUE
848BUILD_FLOCK_FALSE
849BUILD_FLOCK_TRUE
850BUILD_PIVOT_ROOT_FALSE
851BUILD_PIVOT_ROOT_TRUE
852BUILD_SWITCH_ROOT_FALSE
853BUILD_SWITCH_ROOT_TRUE
854BUILD_LSLOCKS_FALSE
855BUILD_LSLOCKS_TRUE
856BUILD_PRLIMIT_FALSE
857BUILD_PRLIMIT_TRUE
858BUILD_BLOCKDEV_FALSE
859BUILD_BLOCKDEV_TRUE
860BUILD_GETOPT_FALSE
861BUILD_GETOPT_TRUE
862BUILD_WHEREIS_FALSE
863BUILD_WHEREIS_TRUE
864BUILD_NAMEI_FALSE
865BUILD_NAMEI_TRUE
866BUILD_MCOOKIE_FALSE
867BUILD_MCOOKIE_TRUE
868BUILD_LOOK_FALSE
869BUILD_LOOK_TRUE
870BUILD_LOGGER_FALSE
871BUILD_LOGGER_TRUE
872BUILD_CAL_FALSE
873BUILD_CAL_TRUE
874BUILD_MKSWAP_FALSE
875BUILD_MKSWAP_TRUE
876BUILD_SWAPLABEL_FALSE
877BUILD_SWAPLABEL_TRUE
878BUILD_WDCTL_FALSE
879BUILD_WDCTL_TRUE
880BUILD_CHCPU_FALSE
881BUILD_CHCPU_TRUE
882BUILD_LSLOGINS_FALSE
883BUILD_LSLOGINS_TRUE
884BUILD_LSCPU_FALSE
885BUILD_LSCPU_TRUE
886BUILD_LSBLK_FALSE
887BUILD_LSBLK_TRUE
888BUILD_SWAPON_FALSE
889BUILD_SWAPON_TRUE
890BUILD_FSTRIM_FALSE
891BUILD_FSTRIM_TRUE
892BUILD_ISOSIZE_FALSE
893BUILD_ISOSIZE_TRUE
894BUILD_MKFS_FALSE
895BUILD_MKFS_TRUE
896USE_HWCLOCK_GPLv3_DATETIME_FALSE
897USE_HWCLOCK_GPLv3_DATETIME_TRUE
898USE_HWCLOCK_CMOS_FALSE
899USE_HWCLOCK_CMOS_TRUE
900BUILD_HWCLOCK_FALSE
901BUILD_HWCLOCK_TRUE
902BUILD_FDFORMAT_FALSE
903BUILD_FDFORMAT_TRUE
904BUILD_MINIX_FALSE
905BUILD_MINIX_TRUE
906BUILD_BFS_FALSE
907BUILD_BFS_TRUE
908BUILD_CRAMFS_FALSE
909BUILD_CRAMFS_TRUE
910MAGIC_LIBS
911USE_PLYMOUTH_SUPPORT_FALSE
912USE_PLYMOUTH_SUPPORT_TRUE
913BUILD_AGETTY_FALSE
914BUILD_AGETTY_TRUE
915BUILD_EJECT_FALSE
916BUILD_EJECT_TRUE
917BUILD_HARDLINK_FALSE
918BUILD_HARDLINK_TRUE
919HAVE_PCRE_FALSE
920HAVE_PCRE_TRUE
921PCRE_LIBS
922PCRE_CFLAGS
923BUILD_SETPRIV_FALSE
924BUILD_SETPRIV_TRUE
925HAVE_CAP_NG_FALSE
926HAVE_CAP_NG_TRUE
927BUILD_NSENTER_FALSE
928BUILD_NSENTER_TRUE
929BUILD_UNSHARE_FALSE
930BUILD_UNSHARE_TRUE
931BUILD_FALLOCATE_FALSE
932BUILD_FALLOCATE_TRUE
933BUILD_MOUNTPOINT_FALSE
934BUILD_MOUNTPOINT_TRUE
935BUILD_FINDMNT_FALSE
936BUILD_FINDMNT_TRUE
937BUILD_WIPEFS_FALSE
938BUILD_WIPEFS_TRUE
939BUILD_FINDFS_FALSE
940BUILD_FINDFS_TRUE
941BUILD_BLKID_FALSE
942BUILD_BLKID_TRUE
943BUILD_UUIDPARSE_FALSE
944BUILD_UUIDPARSE_TRUE
945BUILD_UUIDGEN_FALSE
946BUILD_UUIDGEN_TRUE
947BUILD_UUIDD_FALSE
948BUILD_UUIDD_TRUE
949BUILD_PARTX_FALSE
950BUILD_PARTX_TRUE
951BUILD_FSCK_FALSE
952BUILD_FSCK_TRUE
953BUILD_ZRAMCTL_FALSE
954BUILD_ZRAMCTL_TRUE
955BUILD_LOSETUP_FALSE
956BUILD_LOSETUP_TRUE
957BUILD_MOUNT_FALSE
958BUILD_MOUNT_TRUE
959BUILD_CFDISK_FALSE
960BUILD_CFDISK_TRUE
961BUILD_SFDISK_FALSE
962BUILD_SFDISK_TRUE
963BUILD_FDISK_FALSE
964BUILD_FDISK_TRUE
965LIBFDISK_VERSION_INFO
966LIBFDISK_PATCH_VERSION
967LIBFDISK_MINOR_VERSION
968LIBFDISK_MAJOR_VERSION
969LIBFDISK_VERSION
970LIBFDISK_PC_REQUIRES
971BUILD_LIBFDISK_TESTS_FALSE
972BUILD_LIBFDISK_TESTS_TRUE
973BUILD_LIBFDISK_FALSE
974BUILD_LIBFDISK_TRUE
975LIBSMARTCOLS_VERSION_INFO
976LIBSMARTCOLS_VERSION
977BUILD_LIBSMARTCOLS_FALSE
978BUILD_LIBSMARTCOLS_TRUE
979LIBMOUNT_VERSION_INFO
980LIBMOUNT_PATCH_VERSION
981LIBMOUNT_MINOR_VERSION
982LIBMOUNT_MAJOR_VERSION
983LIBMOUNT_VERSION
984BUILD_LIBMOUNT_TESTS_FALSE
985BUILD_LIBMOUNT_TESTS_TRUE
986BUILD_LIBMOUNT_FALSE
987BUILD_LIBMOUNT_TRUE
988BUILD_LIBBLKID_TESTS_FALSE
989BUILD_LIBBLKID_TESTS_TRUE
990BUILD_LIBBLKID_FALSE
991BUILD_LIBBLKID_TRUE
992LIBBLKID_VERSION_INFO
993LIBBLKID_VERSION
994LIBBLKID_DATE
995BUILD_LIBUUID_FALSE
996BUILD_LIBUUID_TRUE
997LIBUUID_VERSION_INFO
998LIBUUID_VERSION
999HAVE_UTEMPTER_FALSE
1000HAVE_UTEMPTER_TRUE
1001READLINE_LIBS_STATIC
1002READLINE_LIBS
1003HAVE_READLINE_FALSE
1004HAVE_READLINE_TRUE
1005HAVE_TINFO_FALSE
1006HAVE_TINFO_TRUE
1007TINFO_LIBS_STATIC
1008TINFO_LIBS
1009TINFO_CFLAGS
1010TINFOW_LIBS
1011TINFOW_CFLAGS
1012HAVE_SLANG_FALSE
1013HAVE_SLANG_TRUE
1014HAVE_NCURSES_FALSE
1015HAVE_NCURSES_TRUE
1016NCURSES_LIBS
1017NCURSES_CFLAGS
1018NCURSES5_CONFIG
1019NCURSES6_CONFIG
1020NCURSESW_LIBS
1021NCURSESW_CFLAGS
1022NCURSESW5_CONFIG
1023NCURSESW6_CONFIG
1024HAVE_UDEV_FALSE
1025HAVE_UDEV_TRUE
1026HAVE_AUDIT_FALSE
1027HAVE_AUDIT_TRUE
1028SELINUX_LIBS_STATIC
1029SELINUX_LIBS
1030SELINUX_CFLAGS
1031HAVE_SELINUX_FALSE
1032HAVE_SELINUX_TRUE
1033HAVE_LIBCRYPT_FALSE
1034HAVE_LIBCRYPT_TRUE
1035HAVE_CPU_SET_T_FALSE
1036HAVE_CPU_SET_T_TRUE
1037HAVE_PTY_FALSE
1038HAVE_PTY_TRUE
1039HAVE_UTIL_FALSE
1040HAVE_UTIL_TRUE
1041HAVE_STATIC_UNSHARE_FALSE
1042HAVE_STATIC_UNSHARE_TRUE
1043HAVE_STATIC_NSENTER_FALSE
1044HAVE_STATIC_NSENTER_TRUE
1045HAVE_STATIC_BLKID_FALSE
1046HAVE_STATIC_BLKID_TRUE
1047HAVE_STATIC_SFDISK_FALSE
1048HAVE_STATIC_SFDISK_TRUE
1049HAVE_STATIC_FDISK_FALSE
1050HAVE_STATIC_FDISK_TRUE
1051HAVE_STATIC_UMOUNT_FALSE
1052HAVE_STATIC_UMOUNT_TRUE
1053HAVE_STATIC_MOUNT_FALSE
1054HAVE_STATIC_MOUNT_TRUE
1055HAVE_STATIC_LOSETUP_FALSE
1056HAVE_STATIC_LOSETUP_TRUE
1057HAVE_DIRFD_FALSE
1058HAVE_DIRFD_TRUE
1059SOCKET_LIBS
1060RTAS_LIBS
1061REALTIME_LIBS
1062MATH_LIBS
1063HAVE_OPENAT_FALSE
1064HAVE_OPENAT_TRUE
1065HAVE_LANGINFO_H_FALSE
1066HAVE_LANGINFO_H_TRUE
1067HAVE_LINUXPAM_FALSE
1068HAVE_LINUXPAM_TRUE
1069POSUB
1070LTLIBINTL
1071LIBINTL
1072INTLLIBS
1073LTLIBICONV
1074LIBICONV
1075INTL_MACOSX_LIBS
1076XGETTEXT_EXTRA_OPTIONS
1077MSGMERGE
1078XGETTEXT_015
1079XGETTEXT
1080GMSGFMT_015
1081MSGFMT_015
1082GMSGFMT
1083MSGFMT
1084GETTEXT_MACRO_VERSION
1085USE_NLS
1086ARCH_HPPA_FALSE
1087ARCH_HPPA_TRUE
1088ARCH_MIPS_FALSE
1089ARCH_MIPS_TRUE
1090ARCH_M68K_FALSE
1091ARCH_M68K_TRUE
1092ARCH_PPC_FALSE
1093ARCH_PPC_TRUE
1094ARCH_SPARC_FALSE
1095ARCH_SPARC_TRUE
1096ARCH_S390_FALSE
1097ARCH_S390_TRUE
1098ARCH_IA64_FALSE
1099ARCH_IA64_TRUE
1100ARCH_86_64_FALSE
1101ARCH_86_64_TRUE
1102ARCH_I86_FALSE
1103ARCH_I86_TRUE
1104BSD_FALSE
1105BSD_TRUE
1106DARWIN_FALSE
1107DARWIN_TRUE
1108LINUX_FALSE
1109LINUX_TRUE
1110XSLTPROC
1111GTK_DOC_USE_LIBTOOL_FALSE
1112GTK_DOC_USE_LIBTOOL_TRUE
1113ENABLE_GTK_DOC_FALSE
1114ENABLE_GTK_DOC_TRUE
1115GTKDOC_CHECK
1116HTML_DIR
1117pkgconfigdir
1118PKG_CONFIG_LIBDIR
1119PKG_CONFIG_PATH
1120PKG_CONFIG
1121HAVE_VSCRIPT_COMPLEX_FALSE
1122HAVE_VSCRIPT_COMPLEX_TRUE
1123HAVE_VSCRIPT_FALSE
1124HAVE_VSCRIPT_TRUE
1125VSCRIPT_LDFLAGS
1126LT_SYS_LIBRARY_PATH
1127OTOOL64
1128OTOOL
1129LIPO
1130NMEDIT
1131DSYMUTIL
1132MANIFEST_TOOL
1133RANLIB
1134DLLTOOL
1135OBJDUMP
1136LN_S
1137NM
1138ac_ct_DUMPBIN
1139DUMPBIN
1140LD
1141FGREP
1142SED
1143LIBTOOL
1144UBSAN_LDFLAGS
1145ASAN_LDFLAGS
1146NO_UNUSED_WARN_CFLAGS
1147PYTHON_WARN_CFLAGS
1148BSD_WARN_CFLAGS
1149WARN_CFLAGS
1150host_os
1151host_vendor
1152host_cpu
1153host
1154build_os
1155build_vendor
1156build_cpu
1157build
1158YFLAGS
1159YACC
1160sysconfstaticdir
1161SYSCONFSTATICDIR
1162usrlib_execdir
1163usrsbin_execdir
1164usrbin_execdir
1165runstatedir
1166ac_ct_AR
1167AR
1168AM_BACKSLASH
1169AM_DEFAULT_VERBOSITY
1170AM_DEFAULT_V
1171AM_V
1172am__fastdepCC_FALSE
1173am__fastdepCC_TRUE
1174CCDEPMODE
1175am__nodep
1176AMDEPBACKSLASH
1177AMDEP_FALSE
1178AMDEP_TRUE
1179am__include
1180DEPDIR
1181am__untar
1182am__tar
1183AMTAR
1184am__leading_dot
1185SET_MAKE
1186AWK
1187mkdir_p
1188MKDIR_P
1189INSTALL_STRIP_PROGRAM
1190STRIP
1191install_sh
1192MAKEINFO
1193AUTOHEADER
1194AUTOMAKE
1195AUTOCONF
1196ACLOCAL
1197VERSION
1198PACKAGE
1199CYGPATH_W
1200am__isrc
1201INSTALL_DATA
1202INSTALL_SCRIPT
1203INSTALL_PROGRAM
1204EGREP
1205GREP
1206CPP
1207OBJEXT
1208EXEEXT
1209ac_ct_CC
1210CPPFLAGS
1211LDFLAGS
1212CFLAGS
1213CC
1214target_alias
1215host_alias
1216build_alias
1217LIBS
1218ECHO_T
1219ECHO_N
1220ECHO_C
1221DEFS
1222mandir
1223localedir
1224libdir
1225psdir
1226pdfdir
1227dvidir
1228htmldir
1229infodir
1230docdir
1231oldincludedir
1232includedir
1233localstatedir
1234sharedstatedir
1235sysconfdir
1236datadir
1237datarootdir
1238libexecdir
1239sbindir
1240bindir
1241program_transform_name
1242prefix
1243exec_prefix
1244PACKAGE_URL
1245PACKAGE_BUGREPORT
1246PACKAGE_STRING
1247PACKAGE_VERSION
1248PACKAGE_TARNAME
1249PACKAGE_NAME
1250PATH_SEPARATOR
1251SHELL
1252am__quote'
1253ac_subst_files=''
1254ac_user_opts='
1255enable_option_checking
1256enable_dependency_tracking
1257enable_silent_rules
1258enable_werror
1259enable_asan
1260enable_ubsan
1261enable_shared
1262enable_static
1263with_pic
1264enable_fast_install
1265with_aix_soname
1266with_gnu_ld
1267with_sysroot
1268enable_libtool_lock
1269enable_symvers
1270with_pkgconfigdir
1271with_html_dir
1272enable_gtk_doc
1273enable_largefile
1274enable_assert
1275enable_nls
1276enable_rpath
1277with_libiconv_prefix
1278with_libintl_prefix
1279enable_static_programs
1280enable_all_programs
1281enable_tls
1282with_util
1283enable_widechar
1284with_selinux
1285with_audit
1286with_udev
1287with_ncursesw
1288with_ncurses
1289with_slang
1290with_tinfo
1291with_readline
1292with_utempter
1293enable_libuuid
1294enable_libuuid_force_uuidd
1295enable_libblkid
1296enable_libmount
1297enable_libmount_support_mtab
1298enable_libsmartcols
1299enable_libfdisk
1300enable_fdisks
1301enable_mount
1302enable_losetup
1303enable_zramctl
1304enable_fsck
1305enable_partx
1306enable_uuidd
1307enable_wipefs
1308enable_mountpoint
1309enable_fallocate
1310enable_unshare
1311enable_nsenter
1312with_cap_ng
1313enable_setpriv
1314enable_hardlink
1315enable_eject
1316enable_agetty
1317enable_plymouth_support
1318with_libz
1319with_libmagic
1320enable_cramfs
1321enable_bfs
1322enable_minix
1323enable_fdformat
1324enable_hwclock
1325enable_hwclock_cmos
1326enable_hwclock_gplv3
1327enable_lslogins
1328enable_wdctl
1329enable_cal
1330enable_logger
1331enable_switch_root
1332enable_pivot_root
1333enable_lsmem
1334enable_chmem
1335enable_ipcrm
1336enable_ipcs
1337enable_irqtop
1338enable_lsirq
1339enable_rfkill
1340enable_tunelp
1341enable_kill
1342enable_last
1343enable_utmpdump
1344enable_line
1345enable_mesg
1346enable_raw
1347enable_rename
1348enable_vipw
1349enable_newgrp
1350with_user
1351enable_chfn_chsh_password
1352enable_chfn_chsh
1353enable_chsh_only_listed
1354enable_login
1355enable_login_chown_vcs
1356enable_login_stat_mail
1357enable_nologin
1358enable_sulogin
1359enable_su
1360enable_runuser
1361enable_ul
1362enable_more
1363enable_pg
1364enable_setterm
1365enable_schedutils
1366enable_wall
1367enable_write
1368with_btrfs
1369with_systemd
1370with_systemdsystemunitdir
1371with_smack
1372with_econf
1373with_vendordir
1374with_bashcompletiondir
1375enable_bash_completion
1376with_python
1377enable_pylibmount
1378enable_pg_bell
1379enable_fs_paths_default
1380enable_fs_paths_extra
1381enable_use_tty_group
1382enable_sulogin_emergency_mount
1383enable_usrdir_path
1384enable_makeinstall_chown
1385enable_makeinstall_setuid
1386enable_colors_default
1387with_cryptsetup
1388'
1389      ac_precious_vars='build_alias
1390host_alias
1391target_alias
1392CC
1393CFLAGS
1394LDFLAGS
1395LIBS
1396CPPFLAGS
1397CPP
1398SYSCONFSTATICDIR
1399YACC
1400YFLAGS
1401LT_SYS_LIBRARY_PATH
1402PKG_CONFIG
1403PKG_CONFIG_PATH
1404PKG_CONFIG_LIBDIR
1405SELINUX_CFLAGS
1406SELINUX_LIBS
1407NCURSESW_CFLAGS
1408NCURSESW_LIBS
1409NCURSES_CFLAGS
1410NCURSES_LIBS
1411TINFOW_CFLAGS
1412TINFOW_LIBS
1413TINFO_CFLAGS
1414TINFO_LIBS
1415PCRE_CFLAGS
1416PCRE_LIBS
1417LIBUSER_CFLAGS
1418LIBUSER_LIBS
1419SYSTEMD_CFLAGS
1420SYSTEMD_LIBS
1421SYSTEMD_DAEMON_CFLAGS
1422SYSTEMD_DAEMON_LIBS
1423SYSTEMD_JOURNAL_CFLAGS
1424SYSTEMD_JOURNAL_LIBS
1425ECONF_CFLAGS
1426ECONF_LIBS
1427PYTHON
1428PYTHON_CFLAGS
1429PYTHON_LIBS
1430CRYPTSETUP_CFLAGS
1431CRYPTSETUP_LIBS
1432SUID_CFLAGS
1433SUID_LDFLAGS
1434DAEMON_CFLAGS
1435DAEMON_LDFLAGS
1436SOLIB_CFLAGS
1437SOLIB_LDFLAGS
1438ADJTIME_PATH'
1439
1440
1441# Initialize some variables set by options.
1442ac_init_help=
1443ac_init_version=false
1444ac_unrecognized_opts=
1445ac_unrecognized_sep=
1446# The variables have the same names as the options, with
1447# dashes changed to underlines.
1448cache_file=/dev/null
1449exec_prefix=NONE
1450no_create=
1451no_recursion=
1452prefix=NONE
1453program_prefix=NONE
1454program_suffix=NONE
1455program_transform_name=s,x,x,
1456silent=
1457site=
1458srcdir=
1459verbose=
1460x_includes=NONE
1461x_libraries=NONE
1462
1463# Installation directory options.
1464# These are left unexpanded so users can "make install exec_prefix=/foo"
1465# and all the variables that are supposed to be based on exec_prefix
1466# by default will actually change.
1467# Use braces instead of parens because sh, perl, etc. also accept them.
1468# (The list follows the same order as the GNU Coding Standards.)
1469bindir='${exec_prefix}/bin'
1470sbindir='${exec_prefix}/sbin'
1471libexecdir='${exec_prefix}/libexec'
1472datarootdir='${prefix}/share'
1473datadir='${datarootdir}'
1474sysconfdir='${prefix}/etc'
1475sharedstatedir='${prefix}/com'
1476localstatedir='${prefix}/var'
1477includedir='${prefix}/include'
1478oldincludedir='/usr/include'
1479docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1480infodir='${datarootdir}/info'
1481htmldir='${docdir}'
1482dvidir='${docdir}'
1483pdfdir='${docdir}'
1484psdir='${docdir}'
1485libdir='${exec_prefix}/lib'
1486localedir='${datarootdir}/locale'
1487mandir='${datarootdir}/man'
1488
1489ac_prev=
1490ac_dashdash=
1491for ac_option
1492do
1493  # If the previous option needs an argument, assign it.
1494  if test -n "$ac_prev"; then
1495    eval $ac_prev=\$ac_option
1496    ac_prev=
1497    continue
1498  fi
1499
1500  case $ac_option in
1501  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1502  *=)   ac_optarg= ;;
1503  *)    ac_optarg=yes ;;
1504  esac
1505
1506  # Accept the important Cygnus configure options, so we can diagnose typos.
1507
1508  case $ac_dashdash$ac_option in
1509  --)
1510    ac_dashdash=yes ;;
1511
1512  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1513    ac_prev=bindir ;;
1514  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1515    bindir=$ac_optarg ;;
1516
1517  -build | --build | --buil | --bui | --bu)
1518    ac_prev=build_alias ;;
1519  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1520    build_alias=$ac_optarg ;;
1521
1522  -cache-file | --cache-file | --cache-fil | --cache-fi \
1523  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1524    ac_prev=cache_file ;;
1525  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1526  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1527    cache_file=$ac_optarg ;;
1528
1529  --config-cache | -C)
1530    cache_file=config.cache ;;
1531
1532  -datadir | --datadir | --datadi | --datad)
1533    ac_prev=datadir ;;
1534  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1535    datadir=$ac_optarg ;;
1536
1537  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1538  | --dataroo | --dataro | --datar)
1539    ac_prev=datarootdir ;;
1540  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1541  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1542    datarootdir=$ac_optarg ;;
1543
1544  -disable-* | --disable-*)
1545    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1546    # Reject names that are not valid shell variable names.
1547    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1548      as_fn_error $? "invalid feature name: $ac_useropt"
1549    ac_useropt_orig=$ac_useropt
1550    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1551    case $ac_user_opts in
1552      *"
1553"enable_$ac_useropt"
1554"*) ;;
1555      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1556	 ac_unrecognized_sep=', ';;
1557    esac
1558    eval enable_$ac_useropt=no ;;
1559
1560  -docdir | --docdir | --docdi | --doc | --do)
1561    ac_prev=docdir ;;
1562  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1563    docdir=$ac_optarg ;;
1564
1565  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1566    ac_prev=dvidir ;;
1567  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1568    dvidir=$ac_optarg ;;
1569
1570  -enable-* | --enable-*)
1571    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1572    # Reject names that are not valid shell variable names.
1573    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1574      as_fn_error $? "invalid feature name: $ac_useropt"
1575    ac_useropt_orig=$ac_useropt
1576    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1577    case $ac_user_opts in
1578      *"
1579"enable_$ac_useropt"
1580"*) ;;
1581      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1582	 ac_unrecognized_sep=', ';;
1583    esac
1584    eval enable_$ac_useropt=\$ac_optarg ;;
1585
1586  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1587  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1588  | --exec | --exe | --ex)
1589    ac_prev=exec_prefix ;;
1590  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1591  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1592  | --exec=* | --exe=* | --ex=*)
1593    exec_prefix=$ac_optarg ;;
1594
1595  -gas | --gas | --ga | --g)
1596    # Obsolete; use --with-gas.
1597    with_gas=yes ;;
1598
1599  -help | --help | --hel | --he | -h)
1600    ac_init_help=long ;;
1601  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1602    ac_init_help=recursive ;;
1603  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1604    ac_init_help=short ;;
1605
1606  -host | --host | --hos | --ho)
1607    ac_prev=host_alias ;;
1608  -host=* | --host=* | --hos=* | --ho=*)
1609    host_alias=$ac_optarg ;;
1610
1611  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1612    ac_prev=htmldir ;;
1613  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1614  | --ht=*)
1615    htmldir=$ac_optarg ;;
1616
1617  -includedir | --includedir | --includedi | --included | --include \
1618  | --includ | --inclu | --incl | --inc)
1619    ac_prev=includedir ;;
1620  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1621  | --includ=* | --inclu=* | --incl=* | --inc=*)
1622    includedir=$ac_optarg ;;
1623
1624  -infodir | --infodir | --infodi | --infod | --info | --inf)
1625    ac_prev=infodir ;;
1626  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1627    infodir=$ac_optarg ;;
1628
1629  -libdir | --libdir | --libdi | --libd)
1630    ac_prev=libdir ;;
1631  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1632    libdir=$ac_optarg ;;
1633
1634  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1635  | --libexe | --libex | --libe)
1636    ac_prev=libexecdir ;;
1637  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1638  | --libexe=* | --libex=* | --libe=*)
1639    libexecdir=$ac_optarg ;;
1640
1641  -localedir | --localedir | --localedi | --localed | --locale)
1642    ac_prev=localedir ;;
1643  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1644    localedir=$ac_optarg ;;
1645
1646  -localstatedir | --localstatedir | --localstatedi | --localstated \
1647  | --localstate | --localstat | --localsta | --localst | --locals)
1648    ac_prev=localstatedir ;;
1649  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1650  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1651    localstatedir=$ac_optarg ;;
1652
1653  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1654    ac_prev=mandir ;;
1655  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1656    mandir=$ac_optarg ;;
1657
1658  -nfp | --nfp | --nf)
1659    # Obsolete; use --without-fp.
1660    with_fp=no ;;
1661
1662  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1663  | --no-cr | --no-c | -n)
1664    no_create=yes ;;
1665
1666  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1667  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1668    no_recursion=yes ;;
1669
1670  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1671  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1672  | --oldin | --oldi | --old | --ol | --o)
1673    ac_prev=oldincludedir ;;
1674  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1675  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1676  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1677    oldincludedir=$ac_optarg ;;
1678
1679  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1680    ac_prev=prefix ;;
1681  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1682    prefix=$ac_optarg ;;
1683
1684  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1685  | --program-pre | --program-pr | --program-p)
1686    ac_prev=program_prefix ;;
1687  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1688  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1689    program_prefix=$ac_optarg ;;
1690
1691  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1692  | --program-suf | --program-su | --program-s)
1693    ac_prev=program_suffix ;;
1694  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1695  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1696    program_suffix=$ac_optarg ;;
1697
1698  -program-transform-name | --program-transform-name \
1699  | --program-transform-nam | --program-transform-na \
1700  | --program-transform-n | --program-transform- \
1701  | --program-transform | --program-transfor \
1702  | --program-transfo | --program-transf \
1703  | --program-trans | --program-tran \
1704  | --progr-tra | --program-tr | --program-t)
1705    ac_prev=program_transform_name ;;
1706  -program-transform-name=* | --program-transform-name=* \
1707  | --program-transform-nam=* | --program-transform-na=* \
1708  | --program-transform-n=* | --program-transform-=* \
1709  | --program-transform=* | --program-transfor=* \
1710  | --program-transfo=* | --program-transf=* \
1711  | --program-trans=* | --program-tran=* \
1712  | --progr-tra=* | --program-tr=* | --program-t=*)
1713    program_transform_name=$ac_optarg ;;
1714
1715  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1716    ac_prev=pdfdir ;;
1717  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1718    pdfdir=$ac_optarg ;;
1719
1720  -psdir | --psdir | --psdi | --psd | --ps)
1721    ac_prev=psdir ;;
1722  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1723    psdir=$ac_optarg ;;
1724
1725  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1726  | -silent | --silent | --silen | --sile | --sil)
1727    silent=yes ;;
1728
1729  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1730    ac_prev=sbindir ;;
1731  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1732  | --sbi=* | --sb=*)
1733    sbindir=$ac_optarg ;;
1734
1735  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1736  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1737  | --sharedst | --shareds | --shared | --share | --shar \
1738  | --sha | --sh)
1739    ac_prev=sharedstatedir ;;
1740  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1741  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1742  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1743  | --sha=* | --sh=*)
1744    sharedstatedir=$ac_optarg ;;
1745
1746  -site | --site | --sit)
1747    ac_prev=site ;;
1748  -site=* | --site=* | --sit=*)
1749    site=$ac_optarg ;;
1750
1751  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1752    ac_prev=srcdir ;;
1753  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1754    srcdir=$ac_optarg ;;
1755
1756  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1757  | --syscon | --sysco | --sysc | --sys | --sy)
1758    ac_prev=sysconfdir ;;
1759  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1760  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1761    sysconfdir=$ac_optarg ;;
1762
1763  -target | --target | --targe | --targ | --tar | --ta | --t)
1764    ac_prev=target_alias ;;
1765  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1766    target_alias=$ac_optarg ;;
1767
1768  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1769    verbose=yes ;;
1770
1771  -version | --version | --versio | --versi | --vers | -V)
1772    ac_init_version=: ;;
1773
1774  -with-* | --with-*)
1775    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1776    # Reject names that are not valid shell variable names.
1777    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1778      as_fn_error $? "invalid package name: $ac_useropt"
1779    ac_useropt_orig=$ac_useropt
1780    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1781    case $ac_user_opts in
1782      *"
1783"with_$ac_useropt"
1784"*) ;;
1785      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1786	 ac_unrecognized_sep=', ';;
1787    esac
1788    eval with_$ac_useropt=\$ac_optarg ;;
1789
1790  -without-* | --without-*)
1791    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1792    # Reject names that are not valid shell variable names.
1793    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1794      as_fn_error $? "invalid package name: $ac_useropt"
1795    ac_useropt_orig=$ac_useropt
1796    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1797    case $ac_user_opts in
1798      *"
1799"with_$ac_useropt"
1800"*) ;;
1801      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1802	 ac_unrecognized_sep=', ';;
1803    esac
1804    eval with_$ac_useropt=no ;;
1805
1806  --x)
1807    # Obsolete; use --with-x.
1808    with_x=yes ;;
1809
1810  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1811  | --x-incl | --x-inc | --x-in | --x-i)
1812    ac_prev=x_includes ;;
1813  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1814  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1815    x_includes=$ac_optarg ;;
1816
1817  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1818  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1819    ac_prev=x_libraries ;;
1820  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1821  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1822    x_libraries=$ac_optarg ;;
1823
1824  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1825Try \`$0 --help' for more information"
1826    ;;
1827
1828  *=*)
1829    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1830    # Reject names that are not valid shell variable names.
1831    case $ac_envvar in #(
1832      '' | [0-9]* | *[!_$as_cr_alnum]* )
1833      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1834    esac
1835    eval $ac_envvar=\$ac_optarg
1836    export $ac_envvar ;;
1837
1838  *)
1839    # FIXME: should be removed in autoconf 3.0.
1840    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1841    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1842      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1843    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1844    ;;
1845
1846  esac
1847done
1848
1849if test -n "$ac_prev"; then
1850  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1851  as_fn_error $? "missing argument to $ac_option"
1852fi
1853
1854if test -n "$ac_unrecognized_opts"; then
1855  case $enable_option_checking in
1856    no) ;;
1857    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1858    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1859  esac
1860fi
1861
1862# Check all directory arguments for consistency.
1863for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1864		datadir sysconfdir sharedstatedir localstatedir includedir \
1865		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1866		libdir localedir mandir
1867do
1868  eval ac_val=\$$ac_var
1869  # Remove trailing slashes.
1870  case $ac_val in
1871    */ )
1872      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1873      eval $ac_var=\$ac_val;;
1874  esac
1875  # Be sure to have absolute directory names.
1876  case $ac_val in
1877    [\\/$]* | ?:[\\/]* )  continue;;
1878    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1879  esac
1880  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1881done
1882
1883# There might be people who depend on the old broken behavior: `$host'
1884# used to hold the argument of --host etc.
1885# FIXME: To remove some day.
1886build=$build_alias
1887host=$host_alias
1888target=$target_alias
1889
1890# FIXME: To remove some day.
1891if test "x$host_alias" != x; then
1892  if test "x$build_alias" = x; then
1893    cross_compiling=maybe
1894  elif test "x$build_alias" != "x$host_alias"; then
1895    cross_compiling=yes
1896  fi
1897fi
1898
1899ac_tool_prefix=
1900test -n "$host_alias" && ac_tool_prefix=$host_alias-
1901
1902test "$silent" = yes && exec 6>/dev/null
1903
1904
1905ac_pwd=`pwd` && test -n "$ac_pwd" &&
1906ac_ls_di=`ls -di .` &&
1907ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1908  as_fn_error $? "working directory cannot be determined"
1909test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1910  as_fn_error $? "pwd does not report name of working directory"
1911
1912
1913# Find the source files, if location was not specified.
1914if test -z "$srcdir"; then
1915  ac_srcdir_defaulted=yes
1916  # Try the directory containing this script, then the parent directory.
1917  ac_confdir=`$as_dirname -- "$as_myself" ||
1918$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1919	 X"$as_myself" : 'X\(//\)[^/]' \| \
1920	 X"$as_myself" : 'X\(//\)$' \| \
1921	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1922$as_echo X"$as_myself" |
1923    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1924	    s//\1/
1925	    q
1926	  }
1927	  /^X\(\/\/\)[^/].*/{
1928	    s//\1/
1929	    q
1930	  }
1931	  /^X\(\/\/\)$/{
1932	    s//\1/
1933	    q
1934	  }
1935	  /^X\(\/\).*/{
1936	    s//\1/
1937	    q
1938	  }
1939	  s/.*/./; q'`
1940  srcdir=$ac_confdir
1941  if test ! -r "$srcdir/$ac_unique_file"; then
1942    srcdir=..
1943  fi
1944else
1945  ac_srcdir_defaulted=no
1946fi
1947if test ! -r "$srcdir/$ac_unique_file"; then
1948  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1949  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1950fi
1951ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1952ac_abs_confdir=`(
1953	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1954	pwd)`
1955# When building in place, set srcdir=.
1956if test "$ac_abs_confdir" = "$ac_pwd"; then
1957  srcdir=.
1958fi
1959# Remove unnecessary trailing slashes from srcdir.
1960# Double slashes in file names in object file debugging info
1961# mess up M-x gdb in Emacs.
1962case $srcdir in
1963*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1964esac
1965for ac_var in $ac_precious_vars; do
1966  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1967  eval ac_env_${ac_var}_value=\$${ac_var}
1968  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1969  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1970done
1971
1972#
1973# Report the --help message.
1974#
1975if test "$ac_init_help" = "long"; then
1976  # Omit some internal or obsolete options to make the list less imposing.
1977  # This message is too long to be a string in the A/UX 3.1 sh.
1978  cat <<_ACEOF
1979\`configure' configures util-linux 2.36 to adapt to many kinds of systems.
1980
1981Usage: $0 [OPTION]... [VAR=VALUE]...
1982
1983To assign environment variables (e.g., CC, CFLAGS...), specify them as
1984VAR=VALUE.  See below for descriptions of some of the useful variables.
1985
1986Defaults for the options are specified in brackets.
1987
1988Configuration:
1989  -h, --help              display this help and exit
1990      --help=short        display options specific to this package
1991      --help=recursive    display the short help of all the included packages
1992  -V, --version           display version information and exit
1993  -q, --quiet, --silent   do not print \`checking ...' messages
1994      --cache-file=FILE   cache test results in FILE [disabled]
1995  -C, --config-cache      alias for \`--cache-file=config.cache'
1996  -n, --no-create         do not create output files
1997      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1998
1999Installation directories:
2000  --prefix=PREFIX         install architecture-independent files in PREFIX
2001                          [$ac_default_prefix]
2002  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
2003                          [PREFIX]
2004
2005By default, \`make install' will install all the files in
2006\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
2007an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2008for instance \`--prefix=\$HOME'.
2009
2010For better control, use the options below.
2011
2012Fine tuning of the installation directories:
2013  --bindir=DIR            user executables [EPREFIX/bin]
2014  --sbindir=DIR           system admin executables [EPREFIX/sbin]
2015  --libexecdir=DIR        program executables [EPREFIX/libexec]
2016  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
2017  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
2018  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
2019  --libdir=DIR            object code libraries [EPREFIX/lib]
2020  --includedir=DIR        C header files [PREFIX/include]
2021  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
2022  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
2023  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
2024  --infodir=DIR           info documentation [DATAROOTDIR/info]
2025  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
2026  --mandir=DIR            man documentation [DATAROOTDIR/man]
2027  --docdir=DIR            documentation root [DATAROOTDIR/doc/util-linux]
2028  --htmldir=DIR           html documentation [DOCDIR]
2029  --dvidir=DIR            dvi documentation [DOCDIR]
2030  --pdfdir=DIR            pdf documentation [DOCDIR]
2031  --psdir=DIR             ps documentation [DOCDIR]
2032_ACEOF
2033
2034  cat <<\_ACEOF
2035
2036Program names:
2037  --program-prefix=PREFIX            prepend PREFIX to installed program names
2038  --program-suffix=SUFFIX            append SUFFIX to installed program names
2039  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
2040
2041System types:
2042  --build=BUILD     configure for building on BUILD [guessed]
2043  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
2044_ACEOF
2045fi
2046
2047if test -n "$ac_init_help"; then
2048  case $ac_init_help in
2049     short | recursive ) echo "Configuration of util-linux 2.36:";;
2050   esac
2051  cat <<\_ACEOF
2052
2053Optional Features:
2054  --disable-option-checking  ignore unrecognized --enable/--with options
2055  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2056  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
2057  --enable-dependency-tracking
2058                          do not reject slow dependency extractors
2059  --disable-dependency-tracking
2060                          speeds up one-time build
2061  --enable-silent-rules   less verbose build output (undo: "make V=1")
2062  --disable-silent-rules  verbose build output (undo: "make V=0")
2063  --enable-werror         make all compiler warnings into errors
2064  --enable-asan           compile with Address Sanitizer
2065  --enable-ubsan          compile with UBsan
2066  --enable-shared[=PKGS]  build shared libraries [default=yes]
2067  --enable-static[=PKGS]  build static libraries [default=yes]
2068  --enable-fast-install[=PKGS]
2069                          optimize for fast installation [default=yes]
2070  --disable-libtool-lock  avoid locking (might break parallel builds)
2071  --disable-symvers       disable library symbol versioning [default=auto]
2072  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
2073  --disable-largefile     omit support for large files
2074  --disable-assert        turn off assertions
2075  --disable-nls           do not use Native Language Support
2076  --disable-rpath         do not hardcode runtime library paths
2077  --enable-static-programs=LIST
2078                          link static the programs in LIST (comma-separated,
2079                          supported for losetup, mount, umount, fdisk, sfdisk,
2080                          blkid, nsenter, unshare)
2081  --disable-all-programs  disable everything, might be overridden by
2082                          --enable-<name>
2083  --disable-tls           disable use of thread local support
2084  --disable-widechar      do not compile wide character support
2085  --disable-libuuid       do not build libuuid and uuid utilities
2086  --enable-libuuid-force-uuidd
2087                          support uuidd even though the daemon is not built
2088  --disable-libblkid      do not build libblkid and many related utilities
2089  --disable-libmount      do not build libmount
2090  --enable-libmount-support-mtab
2091                          support /etc/mtab (default is use
2092                          /proc/self/mountinfo)
2093  --disable-libsmartcols  do not build libsmartcols
2094  --disable-libfdisk      do not build libfdisk
2095  --disable-fdisks        do not build fdisk(8), sfdisk(8) and cfdisk(8)
2096  --disable-mount         do not build mount(8) and umount(8)
2097  --disable-losetup       do not build losetup
2098  --disable-zramctl       do not build zramctl
2099  --disable-fsck          do not build fsck
2100  --disable-partx         do not build addpart, delpart, partx
2101  --disable-uuidd         do not build the uuid daemon
2102  --disable-wipefs        do not build wipefs
2103  --disable-mountpoint    do not build mountpoint
2104  --disable-fallocate     do not build fallocate
2105  --disable-unshare       do not build unshare
2106  --disable-nsenter       do not build nsenter
2107  --disable-setpriv       do not build setpriv
2108  --disable-hardlink      do not build hardlink
2109  --disable-eject         do not build eject
2110  --disable-agetty        do not build agetty
2111  --disable-plymouth_support
2112                          do not care about plymouth in sylogin(8) and
2113                          agetty(8)
2114  --disable-cramfs        do not build fsck.cramfs, mkfs.cramfs
2115  --disable-bfs           do not build mkfs.bfs
2116  --disable-minix         do not build fsck.minix, mkfs.minix
2117  --disable-fdformat      do not build fdformat
2118  --disable-hwclock       do not build hwclock
2119  --disable-hwclock-cmos  do not use CMOS clock
2120  --disable-hwclock-gplv3 do not use datetime parsing GPLv3 code
2121  --disable-lslogins      do not build lslogins
2122  --disable-wdctl         do not build wdctl
2123  --disable-cal           do not build cal
2124  --disable-logger        do not build logger
2125  --disable-switch_root   do not build switch_root
2126  --disable-pivot_root    do not build pivot_root
2127  --disable-lsmem         do not build lsmem
2128  --disable-chmem         do not build chmem
2129  --disable-ipcrm         do not build ipcrm
2130  --disable-ipcs          do not build ipcs
2131  --disable-irqtop        do not build irqtop
2132  --disable-lsirq         do not build lsirq
2133  --disable-rfkill        do not build rfkill
2134  --enable-tunelp         build tunelp
2135  --disable-kill          do not build kill
2136  --disable-last          do not build last
2137  --disable-utmpdump      do not build utmpdump
2138  --enable-line           build line
2139  --disable-mesg          do not build mesg
2140  --disable-raw           do not build raw
2141  --disable-rename        do not build rename
2142  --enable-vipw           build vipw
2143  --enable-newgrp         build newgrp
2144  --disable-chfn-chsh-password
2145                          do not require the user to enter the password in
2146                          chfn and chsh
2147  --disable-chfn-chsh     do not build chfn and chsh
2148  --disable-chsh-only-listed
2149                          chsh: allow shells not in /etc/shells
2150  --disable-login         do not build login
2151  --enable-login-chown-vcs
2152                          let login chown /dev/vcsN
2153  --enable-login-stat-mail
2154                          let login stat() the mailbox
2155  --disable-nologin       do not build nologin
2156  --disable-sulogin       do not build sulogin
2157  --disable-su            do not build su
2158  --disable-runuser       do not build runuser
2159  --disable-ul            do not build ul
2160  --disable-more          do not build more
2161  --enable-pg             build pg
2162  --disable-setterm       do not build setterm
2163  --disable-schedutils    do not build chrt, ionice, taskset
2164  --disable-wall          do not build wall
2165  --enable-write          build write
2166  --disable-bash-completion
2167                          do not install bash completion files
2168  --disable-pylibmount    do not build pylibmount
2169  --disable-pg-bell       let pg not ring the bell on invalid keys
2170  --enable-fs-paths-default=paths
2171                          default search path for fs helpers
2172                          [/sbin:/sbin/fs.d:/sbin/fs]
2173  --enable-fs-paths-extra=paths
2174                          additional search paths for fs helpers
2175  --disable-use-tty-group do not install wall and write setgid tty
2176  --enable-sulogin-emergency-mount
2177                          use emergency mount of /dev and /proc for sulogin
2178  --enable-usrdir-path    use only /usr paths in PATH env. variable
2179                          (recommended on systems with /bin -> /usr/bin
2180                          symlinks)
2181  --disable-makeinstall-chown
2182                          do not do chown-like operations during "make
2183                          install"
2184  --disable-makeinstall-setuid
2185                          do not do setuid chmod operations during "make
2186                          install"
2187  --disable-colors-default
2188                          do not colorize output from utils by default
2189
2190Optional Packages:
2191  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2192  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2193  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
2194                          both]
2195  --with-aix-soname=aix|svr4|both
2196                          shared library versioning (aka "SONAME") variant to
2197                          provide on AIX, [default=aix].
2198  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
2199  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
2200                          compiler's sysroot if not specified).
2201  --with-pkgconfigdir     pkg-config installation directory
2202                          ['${usrlib_execdir}/pkgconfig']
2203  --with-html-dir=PATH    path to installed docs
2204  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
2205  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
2206  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
2207  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
2208  --without-libintl-prefix     don't search for libintl in includedir and libdir
2209  --without-util          compile without libutil
2210  --with-selinux          compile with SELinux support
2211  --with-audit            compile with audit support
2212  --without-udev          compile without udev support
2213  --without-ncursesw      do not build with wide-char ncurses
2214  --with-ncurses          build with non-wide ncurses
2215  --with-slang            compile cfdisk with slang rather than ncurses
2216  --without-tinfo         compile without libtinfo
2217  --without-readline      do not build with GNU Readline support
2218  --with-utempter         compile script(1) with libutempter
2219  --without-cap-ng        compile without libcap-ng
2220  --without-libz          compile without libz
2221  --without-libmagic      compile without libmagic
2222  --without-user          compile without libuser (remote chsh)
2223  --without-btrfs         do not build with btrfs support
2224  --without-systemd       do not build with systemd support
2225  --with-systemdsystemunitdir=DIR
2226                          directory for systemd unit files (requires systemd
2227                          support)
2228  --with-smack            build with SMACK support
2229  --without-econf         do not use libeconf
2230  --with-vendordir=DIR    Direcotry for distribution provided configuration
2231                          files
2232  --with-bashcompletiondir=DIR
2233                          Bash completions directory
2234  --without-python        do not build python bindings, use
2235                          --with-python={2,3} to force version
2236  --with-cryptsetup       compile with cryptsetup support
2237
2238Some influential environment variables:
2239  CC          C compiler command
2240  CFLAGS      C compiler flags
2241  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2242              nonstandard directory <lib dir>
2243  LIBS        libraries to pass to the linker, e.g. -l<library>
2244  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2245              you have headers in a nonstandard directory <include dir>
2246  CPP         C preprocessor
2247  SYSCONFSTATICDIR
2248              Path to static system configuration, default ${prefix}/lib
2249  YACC        The `Yet Another Compiler Compiler' implementation to use.
2250              Defaults to the first program found out of: `bison -y', `byacc',
2251              `yacc'.
2252  YFLAGS      The list of arguments that will be passed by default to $YACC.
2253              This script will default YFLAGS to the empty string to avoid a
2254              default value of `-d' given by some make applications.
2255  LT_SYS_LIBRARY_PATH
2256              User-defined run-time library search path.
2257  PKG_CONFIG  path to pkg-config utility
2258  PKG_CONFIG_PATH
2259              directories to add to pkg-config's search path
2260  PKG_CONFIG_LIBDIR
2261              path overriding pkg-config's built-in search path
2262  SELINUX_CFLAGS
2263              C compiler flags for SELINUX, overriding pkg-config
2264  SELINUX_LIBS
2265              linker flags for SELINUX, overriding pkg-config
2266  NCURSESW_CFLAGS
2267              C compiler flags for NCURSESW, overriding pkg-config
2268  NCURSESW_LIBS
2269              linker flags for NCURSESW, overriding pkg-config
2270  NCURSES_CFLAGS
2271              C compiler flags for NCURSES, overriding pkg-config
2272  NCURSES_LIBS
2273              linker flags for NCURSES, overriding pkg-config
2274  TINFOW_CFLAGS
2275              C compiler flags for TINFOW, overriding pkg-config
2276  TINFOW_LIBS linker flags for TINFOW, overriding pkg-config
2277  TINFO_CFLAGS
2278              C compiler flags for TINFO, overriding pkg-config
2279  TINFO_LIBS  linker flags for TINFO, overriding pkg-config
2280  PCRE_CFLAGS C compiler flags for PCRE, overriding pkg-config
2281  PCRE_LIBS   linker flags for PCRE, overriding pkg-config
2282  LIBUSER_CFLAGS
2283              C compiler flags for LIBUSER, overriding pkg-config
2284  LIBUSER_LIBS
2285              linker flags for LIBUSER, overriding pkg-config
2286  SYSTEMD_CFLAGS
2287              C compiler flags for SYSTEMD, overriding pkg-config
2288  SYSTEMD_LIBS
2289              linker flags for SYSTEMD, overriding pkg-config
2290  SYSTEMD_DAEMON_CFLAGS
2291              C compiler flags for SYSTEMD_DAEMON, overriding pkg-config
2292  SYSTEMD_DAEMON_LIBS
2293              linker flags for SYSTEMD_DAEMON, overriding pkg-config
2294  SYSTEMD_JOURNAL_CFLAGS
2295              C compiler flags for SYSTEMD_JOURNAL, overriding pkg-config
2296  SYSTEMD_JOURNAL_LIBS
2297              linker flags for SYSTEMD_JOURNAL, overriding pkg-config
2298  ECONF_CFLAGS
2299              C compiler flags for ECONF, overriding pkg-config
2300  ECONF_LIBS  linker flags for ECONF, overriding pkg-config
2301  PYTHON      the Python interpreter
2302  PYTHON_CFLAGS
2303              C compiler flags for PYTHON, overriding pkg-config
2304  PYTHON_LIBS linker flags for PYTHON, overriding pkg-config
2305  CRYPTSETUP_CFLAGS
2306              C compiler flags for CRYPTSETUP, overriding pkg-config
2307  CRYPTSETUP_LIBS
2308              linker flags for CRYPTSETUP, overriding pkg-config
2309  SUID_CFLAGS CFLAGS used for binaries which are usually with the suid bit
2310  SUID_LDFLAGS
2311              LDFLAGS used for binaries which are usually with the suid bit
2312  DAEMON_CFLAGS
2313              CFLAGS used for binaries which are usually executed as daemons
2314  DAEMON_LDFLAGS
2315              LDFLAGS used for binaries which are usually executed as daemons
2316  SOLIB_CFLAGS
2317              CFLAGS used for shared libraries
2318  SOLIB_LDFLAGS
2319              LDFLAGS used for shared libraries
2320  ADJTIME_PATH
2321              Path to hwclock adjtime file, default /etc/adjtime
2322
2323Use these variables to override the choices made by `configure' or to help
2324it to find libraries and programs with nonstandard names/locations.
2325
2326Report bugs to <kzak@redhat.com>.
2327util-linux home page: <http://www.kernel.org/pub/linux/utils/util-linux/>.
2328_ACEOF
2329ac_status=$?
2330fi
2331
2332if test "$ac_init_help" = "recursive"; then
2333  # If there are subdirs, report their specific --help.
2334  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2335    test -d "$ac_dir" ||
2336      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2337      continue
2338    ac_builddir=.
2339
2340case "$ac_dir" in
2341.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2342*)
2343  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2344  # A ".." for each directory in $ac_dir_suffix.
2345  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2346  case $ac_top_builddir_sub in
2347  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2348  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2349  esac ;;
2350esac
2351ac_abs_top_builddir=$ac_pwd
2352ac_abs_builddir=$ac_pwd$ac_dir_suffix
2353# for backward compatibility:
2354ac_top_builddir=$ac_top_build_prefix
2355
2356case $srcdir in
2357  .)  # We are building in place.
2358    ac_srcdir=.
2359    ac_top_srcdir=$ac_top_builddir_sub
2360    ac_abs_top_srcdir=$ac_pwd ;;
2361  [\\/]* | ?:[\\/]* )  # Absolute name.
2362    ac_srcdir=$srcdir$ac_dir_suffix;
2363    ac_top_srcdir=$srcdir
2364    ac_abs_top_srcdir=$srcdir ;;
2365  *) # Relative name.
2366    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2367    ac_top_srcdir=$ac_top_build_prefix$srcdir
2368    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2369esac
2370ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2371
2372    cd "$ac_dir" || { ac_status=$?; continue; }
2373    # Check for guested configure.
2374    if test -f "$ac_srcdir/configure.gnu"; then
2375      echo &&
2376      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2377    elif test -f "$ac_srcdir/configure"; then
2378      echo &&
2379      $SHELL "$ac_srcdir/configure" --help=recursive
2380    else
2381      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2382    fi || ac_status=$?
2383    cd "$ac_pwd" || { ac_status=$?; break; }
2384  done
2385fi
2386
2387test -n "$ac_init_help" && exit $ac_status
2388if $ac_init_version; then
2389  cat <<\_ACEOF
2390util-linux configure 2.36
2391generated by GNU Autoconf 2.69
2392
2393Copyright (C) 2012 Free Software Foundation, Inc.
2394This configure script is free software; the Free Software Foundation
2395gives unlimited permission to copy, distribute and modify it.
2396_ACEOF
2397  exit
2398fi
2399
2400## ------------------------ ##
2401## Autoconf initialization. ##
2402## ------------------------ ##
2403
2404# ac_fn_c_try_compile LINENO
2405# --------------------------
2406# Try to compile conftest.$ac_ext, and return whether this succeeded.
2407ac_fn_c_try_compile ()
2408{
2409  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2410  rm -f conftest.$ac_objext
2411  if { { ac_try="$ac_compile"
2412case "(($ac_try" in
2413  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414  *) ac_try_echo=$ac_try;;
2415esac
2416eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2417$as_echo "$ac_try_echo"; } >&5
2418  (eval "$ac_compile") 2>conftest.err
2419  ac_status=$?
2420  if test -s conftest.err; then
2421    grep -v '^ *+' conftest.err >conftest.er1
2422    cat conftest.er1 >&5
2423    mv -f conftest.er1 conftest.err
2424  fi
2425  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2426  test $ac_status = 0; } && {
2427	 test -z "$ac_c_werror_flag" ||
2428	 test ! -s conftest.err
2429       } && test -s conftest.$ac_objext; then :
2430  ac_retval=0
2431else
2432  $as_echo "$as_me: failed program was:" >&5
2433sed 's/^/| /' conftest.$ac_ext >&5
2434
2435	ac_retval=1
2436fi
2437  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2438  as_fn_set_status $ac_retval
2439
2440} # ac_fn_c_try_compile
2441
2442# ac_fn_c_try_cpp LINENO
2443# ----------------------
2444# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2445ac_fn_c_try_cpp ()
2446{
2447  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2448  if { { ac_try="$ac_cpp conftest.$ac_ext"
2449case "(($ac_try" in
2450  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2451  *) ac_try_echo=$ac_try;;
2452esac
2453eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2454$as_echo "$ac_try_echo"; } >&5
2455  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2456  ac_status=$?
2457  if test -s conftest.err; then
2458    grep -v '^ *+' conftest.err >conftest.er1
2459    cat conftest.er1 >&5
2460    mv -f conftest.er1 conftest.err
2461  fi
2462  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2463  test $ac_status = 0; } > conftest.i && {
2464	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2465	 test ! -s conftest.err
2466       }; then :
2467  ac_retval=0
2468else
2469  $as_echo "$as_me: failed program was:" >&5
2470sed 's/^/| /' conftest.$ac_ext >&5
2471
2472    ac_retval=1
2473fi
2474  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2475  as_fn_set_status $ac_retval
2476
2477} # ac_fn_c_try_cpp
2478
2479# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2480# -------------------------------------------------------
2481# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2482# the include files in INCLUDES and setting the cache variable VAR
2483# accordingly.
2484ac_fn_c_check_header_mongrel ()
2485{
2486  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2487  if eval \${$3+:} false; then :
2488  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2489$as_echo_n "checking for $2... " >&6; }
2490if eval \${$3+:} false; then :
2491  $as_echo_n "(cached) " >&6
2492fi
2493eval ac_res=\$$3
2494	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2495$as_echo "$ac_res" >&6; }
2496else
2497  # Is the header compilable?
2498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2499$as_echo_n "checking $2 usability... " >&6; }
2500cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2501/* end confdefs.h.  */
2502$4
2503#include <$2>
2504_ACEOF
2505if ac_fn_c_try_compile "$LINENO"; then :
2506  ac_header_compiler=yes
2507else
2508  ac_header_compiler=no
2509fi
2510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2512$as_echo "$ac_header_compiler" >&6; }
2513
2514# Is the header present?
2515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2516$as_echo_n "checking $2 presence... " >&6; }
2517cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2518/* end confdefs.h.  */
2519#include <$2>
2520_ACEOF
2521if ac_fn_c_try_cpp "$LINENO"; then :
2522  ac_header_preproc=yes
2523else
2524  ac_header_preproc=no
2525fi
2526rm -f conftest.err conftest.i conftest.$ac_ext
2527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2528$as_echo "$ac_header_preproc" >&6; }
2529
2530# So?  What about this header?
2531case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2532  yes:no: )
2533    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2534$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2535    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2536$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2537    ;;
2538  no:yes:* )
2539    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2540$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2541    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2542$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2543    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2544$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2545    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2546$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2547    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2548$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2549( $as_echo "## ------------------------------ ##
2550## Report this to kzak@redhat.com ##
2551## ------------------------------ ##"
2552     ) | sed "s/^/$as_me: WARNING:     /" >&2
2553    ;;
2554esac
2555  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2556$as_echo_n "checking for $2... " >&6; }
2557if eval \${$3+:} false; then :
2558  $as_echo_n "(cached) " >&6
2559else
2560  eval "$3=\$ac_header_compiler"
2561fi
2562eval ac_res=\$$3
2563	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2564$as_echo "$ac_res" >&6; }
2565fi
2566  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2567
2568} # ac_fn_c_check_header_mongrel
2569
2570# ac_fn_c_try_run LINENO
2571# ----------------------
2572# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2573# that executables *can* be run.
2574ac_fn_c_try_run ()
2575{
2576  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2577  if { { ac_try="$ac_link"
2578case "(($ac_try" in
2579  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580  *) ac_try_echo=$ac_try;;
2581esac
2582eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2583$as_echo "$ac_try_echo"; } >&5
2584  (eval "$ac_link") 2>&5
2585  ac_status=$?
2586  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2587  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2588  { { case "(($ac_try" in
2589  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2590  *) ac_try_echo=$ac_try;;
2591esac
2592eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2593$as_echo "$ac_try_echo"; } >&5
2594  (eval "$ac_try") 2>&5
2595  ac_status=$?
2596  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2597  test $ac_status = 0; }; }; then :
2598  ac_retval=0
2599else
2600  $as_echo "$as_me: program exited with status $ac_status" >&5
2601       $as_echo "$as_me: failed program was:" >&5
2602sed 's/^/| /' conftest.$ac_ext >&5
2603
2604       ac_retval=$ac_status
2605fi
2606  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2607  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2608  as_fn_set_status $ac_retval
2609
2610} # ac_fn_c_try_run
2611
2612# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2613# -------------------------------------------------------
2614# Tests whether HEADER exists and can be compiled using the include files in
2615# INCLUDES, setting the cache variable VAR accordingly.
2616ac_fn_c_check_header_compile ()
2617{
2618  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2619  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2620$as_echo_n "checking for $2... " >&6; }
2621if eval \${$3+:} false; then :
2622  $as_echo_n "(cached) " >&6
2623else
2624  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2625/* end confdefs.h.  */
2626$4
2627#include <$2>
2628_ACEOF
2629if ac_fn_c_try_compile "$LINENO"; then :
2630  eval "$3=yes"
2631else
2632  eval "$3=no"
2633fi
2634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2635fi
2636eval ac_res=\$$3
2637	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2638$as_echo "$ac_res" >&6; }
2639  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2640
2641} # ac_fn_c_check_header_compile
2642
2643# ac_fn_c_try_link LINENO
2644# -----------------------
2645# Try to link conftest.$ac_ext, and return whether this succeeded.
2646ac_fn_c_try_link ()
2647{
2648  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2649  rm -f conftest.$ac_objext conftest$ac_exeext
2650  if { { ac_try="$ac_link"
2651case "(($ac_try" in
2652  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2653  *) ac_try_echo=$ac_try;;
2654esac
2655eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2656$as_echo "$ac_try_echo"; } >&5
2657  (eval "$ac_link") 2>conftest.err
2658  ac_status=$?
2659  if test -s conftest.err; then
2660    grep -v '^ *+' conftest.err >conftest.er1
2661    cat conftest.er1 >&5
2662    mv -f conftest.er1 conftest.err
2663  fi
2664  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2665  test $ac_status = 0; } && {
2666	 test -z "$ac_c_werror_flag" ||
2667	 test ! -s conftest.err
2668       } && test -s conftest$ac_exeext && {
2669	 test "$cross_compiling" = yes ||
2670	 test -x conftest$ac_exeext
2671       }; then :
2672  ac_retval=0
2673else
2674  $as_echo "$as_me: failed program was:" >&5
2675sed 's/^/| /' conftest.$ac_ext >&5
2676
2677	ac_retval=1
2678fi
2679  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2680  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2681  # interfere with the next link command; also delete a directory that is
2682  # left behind by Apple's compiler.  We do this before executing the actions.
2683  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2684  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2685  as_fn_set_status $ac_retval
2686
2687} # ac_fn_c_try_link
2688
2689# ac_fn_c_check_func LINENO FUNC VAR
2690# ----------------------------------
2691# Tests whether FUNC exists, setting the cache variable VAR accordingly
2692ac_fn_c_check_func ()
2693{
2694  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2695  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2696$as_echo_n "checking for $2... " >&6; }
2697if eval \${$3+:} false; then :
2698  $as_echo_n "(cached) " >&6
2699else
2700  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2701/* end confdefs.h.  */
2702/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2703   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2704#define $2 innocuous_$2
2705
2706/* System header to define __stub macros and hopefully few prototypes,
2707    which can conflict with char $2 (); below.
2708    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2709    <limits.h> exists even on freestanding compilers.  */
2710
2711#ifdef __STDC__
2712# include <limits.h>
2713#else
2714# include <assert.h>
2715#endif
2716
2717#undef $2
2718
2719/* Override any GCC internal prototype to avoid an error.
2720   Use char because int might match the return type of a GCC
2721   builtin and then its argument prototype would still apply.  */
2722#ifdef __cplusplus
2723extern "C"
2724#endif
2725char $2 ();
2726/* The GNU C library defines this for functions which it implements
2727    to always fail with ENOSYS.  Some functions are actually named
2728    something starting with __ and the normal name is an alias.  */
2729#if defined __stub_$2 || defined __stub___$2
2730choke me
2731#endif
2732
2733int
2734main ()
2735{
2736return $2 ();
2737  ;
2738  return 0;
2739}
2740_ACEOF
2741if ac_fn_c_try_link "$LINENO"; then :
2742  eval "$3=yes"
2743else
2744  eval "$3=no"
2745fi
2746rm -f core conftest.err conftest.$ac_objext \
2747    conftest$ac_exeext conftest.$ac_ext
2748fi
2749eval ac_res=\$$3
2750	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2751$as_echo "$ac_res" >&6; }
2752  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2753
2754} # ac_fn_c_check_func
2755
2756# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2757# ----------------------------------------------------
2758# Tries to find if the field MEMBER exists in type AGGR, after including
2759# INCLUDES, setting cache variable VAR accordingly.
2760ac_fn_c_check_member ()
2761{
2762  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2763  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2764$as_echo_n "checking for $2.$3... " >&6; }
2765if eval \${$4+:} false; then :
2766  $as_echo_n "(cached) " >&6
2767else
2768  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2769/* end confdefs.h.  */
2770$5
2771int
2772main ()
2773{
2774static $2 ac_aggr;
2775if (ac_aggr.$3)
2776return 0;
2777  ;
2778  return 0;
2779}
2780_ACEOF
2781if ac_fn_c_try_compile "$LINENO"; then :
2782  eval "$4=yes"
2783else
2784  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2785/* end confdefs.h.  */
2786$5
2787int
2788main ()
2789{
2790static $2 ac_aggr;
2791if (sizeof ac_aggr.$3)
2792return 0;
2793  ;
2794  return 0;
2795}
2796_ACEOF
2797if ac_fn_c_try_compile "$LINENO"; then :
2798  eval "$4=yes"
2799else
2800  eval "$4=no"
2801fi
2802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2803fi
2804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2805fi
2806eval ac_res=\$$4
2807	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2808$as_echo "$ac_res" >&6; }
2809  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2810
2811} # ac_fn_c_check_member
2812
2813# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2814# ---------------------------------------------
2815# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2816# accordingly.
2817ac_fn_c_check_decl ()
2818{
2819  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2820  as_decl_name=`echo $2|sed 's/ *(.*//'`
2821  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2822  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2823$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2824if eval \${$3+:} false; then :
2825  $as_echo_n "(cached) " >&6
2826else
2827  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2828/* end confdefs.h.  */
2829$4
2830int
2831main ()
2832{
2833#ifndef $as_decl_name
2834#ifdef __cplusplus
2835  (void) $as_decl_use;
2836#else
2837  (void) $as_decl_name;
2838#endif
2839#endif
2840
2841  ;
2842  return 0;
2843}
2844_ACEOF
2845if ac_fn_c_try_compile "$LINENO"; then :
2846  eval "$3=yes"
2847else
2848  eval "$3=no"
2849fi
2850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2851fi
2852eval ac_res=\$$3
2853	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2854$as_echo "$ac_res" >&6; }
2855  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2856
2857} # ac_fn_c_check_decl
2858
2859# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2860# -------------------------------------------
2861# Tests whether TYPE exists after having included INCLUDES, setting cache
2862# variable VAR accordingly.
2863ac_fn_c_check_type ()
2864{
2865  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2866  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2867$as_echo_n "checking for $2... " >&6; }
2868if eval \${$3+:} false; then :
2869  $as_echo_n "(cached) " >&6
2870else
2871  eval "$3=no"
2872  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2873/* end confdefs.h.  */
2874$4
2875int
2876main ()
2877{
2878if (sizeof ($2))
2879	 return 0;
2880  ;
2881  return 0;
2882}
2883_ACEOF
2884if ac_fn_c_try_compile "$LINENO"; then :
2885  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886/* end confdefs.h.  */
2887$4
2888int
2889main ()
2890{
2891if (sizeof (($2)))
2892	    return 0;
2893  ;
2894  return 0;
2895}
2896_ACEOF
2897if ac_fn_c_try_compile "$LINENO"; then :
2898
2899else
2900  eval "$3=yes"
2901fi
2902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2903fi
2904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2905fi
2906eval ac_res=\$$3
2907	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2908$as_echo "$ac_res" >&6; }
2909  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2910
2911} # ac_fn_c_check_type
2912cat >config.log <<_ACEOF
2913This file contains any messages produced by compilers while
2914running configure, to aid debugging if configure makes a mistake.
2915
2916It was created by util-linux $as_me 2.36, which was
2917generated by GNU Autoconf 2.69.  Invocation command line was
2918
2919  $ $0 $@
2920
2921_ACEOF
2922exec 5>>config.log
2923{
2924cat <<_ASUNAME
2925## --------- ##
2926## Platform. ##
2927## --------- ##
2928
2929hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2930uname -m = `(uname -m) 2>/dev/null || echo unknown`
2931uname -r = `(uname -r) 2>/dev/null || echo unknown`
2932uname -s = `(uname -s) 2>/dev/null || echo unknown`
2933uname -v = `(uname -v) 2>/dev/null || echo unknown`
2934
2935/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2936/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2937
2938/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2939/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2940/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2941/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2942/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2943/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2944/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2945
2946_ASUNAME
2947
2948as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2949for as_dir in $PATH
2950do
2951  IFS=$as_save_IFS
2952  test -z "$as_dir" && as_dir=.
2953    $as_echo "PATH: $as_dir"
2954  done
2955IFS=$as_save_IFS
2956
2957} >&5
2958
2959cat >&5 <<_ACEOF
2960
2961
2962## ----------- ##
2963## Core tests. ##
2964## ----------- ##
2965
2966_ACEOF
2967
2968
2969# Keep a trace of the command line.
2970# Strip out --no-create and --no-recursion so they do not pile up.
2971# Strip out --silent because we don't want to record it for future runs.
2972# Also quote any args containing shell meta-characters.
2973# Make two passes to allow for proper duplicate-argument suppression.
2974ac_configure_args=
2975ac_configure_args0=
2976ac_configure_args1=
2977ac_must_keep_next=false
2978for ac_pass in 1 2
2979do
2980  for ac_arg
2981  do
2982    case $ac_arg in
2983    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2984    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2985    | -silent | --silent | --silen | --sile | --sil)
2986      continue ;;
2987    *\'*)
2988      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2989    esac
2990    case $ac_pass in
2991    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2992    2)
2993      as_fn_append ac_configure_args1 " '$ac_arg'"
2994      if test $ac_must_keep_next = true; then
2995	ac_must_keep_next=false # Got value, back to normal.
2996      else
2997	case $ac_arg in
2998	  *=* | --config-cache | -C | -disable-* | --disable-* \
2999	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3000	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3001	  | -with-* | --with-* | -without-* | --without-* | --x)
3002	    case "$ac_configure_args0 " in
3003	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3004	    esac
3005	    ;;
3006	  -* ) ac_must_keep_next=true ;;
3007	esac
3008      fi
3009      as_fn_append ac_configure_args " '$ac_arg'"
3010      ;;
3011    esac
3012  done
3013done
3014{ ac_configure_args0=; unset ac_configure_args0;}
3015{ ac_configure_args1=; unset ac_configure_args1;}
3016
3017# When interrupted or exit'd, cleanup temporary files, and complete
3018# config.log.  We remove comments because anyway the quotes in there
3019# would cause problems or look ugly.
3020# WARNING: Use '\'' to represent an apostrophe within the trap.
3021# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3022trap 'exit_status=$?
3023  # Save into config.log some information that might help in debugging.
3024  {
3025    echo
3026
3027    $as_echo "## ---------------- ##
3028## Cache variables. ##
3029## ---------------- ##"
3030    echo
3031    # The following way of writing the cache mishandles newlines in values,
3032(
3033  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3034    eval ac_val=\$$ac_var
3035    case $ac_val in #(
3036    *${as_nl}*)
3037      case $ac_var in #(
3038      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3039$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3040      esac
3041      case $ac_var in #(
3042      _ | IFS | as_nl) ;; #(
3043      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3044      *) { eval $ac_var=; unset $ac_var;} ;;
3045      esac ;;
3046    esac
3047  done
3048  (set) 2>&1 |
3049    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3050    *${as_nl}ac_space=\ *)
3051      sed -n \
3052	"s/'\''/'\''\\\\'\'''\''/g;
3053	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3054      ;; #(
3055    *)
3056      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3057      ;;
3058    esac |
3059    sort
3060)
3061    echo
3062
3063    $as_echo "## ----------------- ##
3064## Output variables. ##
3065## ----------------- ##"
3066    echo
3067    for ac_var in $ac_subst_vars
3068    do
3069      eval ac_val=\$$ac_var
3070      case $ac_val in
3071      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3072      esac
3073      $as_echo "$ac_var='\''$ac_val'\''"
3074    done | sort
3075    echo
3076
3077    if test -n "$ac_subst_files"; then
3078      $as_echo "## ------------------- ##
3079## File substitutions. ##
3080## ------------------- ##"
3081      echo
3082      for ac_var in $ac_subst_files
3083      do
3084	eval ac_val=\$$ac_var
3085	case $ac_val in
3086	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3087	esac
3088	$as_echo "$ac_var='\''$ac_val'\''"
3089      done | sort
3090      echo
3091    fi
3092
3093    if test -s confdefs.h; then
3094      $as_echo "## ----------- ##
3095## confdefs.h. ##
3096## ----------- ##"
3097      echo
3098      cat confdefs.h
3099      echo
3100    fi
3101    test "$ac_signal" != 0 &&
3102      $as_echo "$as_me: caught signal $ac_signal"
3103    $as_echo "$as_me: exit $exit_status"
3104  } >&5
3105  rm -f core *.core core.conftest.* &&
3106    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3107    exit $exit_status
3108' 0
3109for ac_signal in 1 2 13 15; do
3110  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3111done
3112ac_signal=0
3113
3114# confdefs.h avoids OS command line length limits that DEFS can exceed.
3115rm -f -r conftest* confdefs.h
3116
3117$as_echo "/* confdefs.h */" > confdefs.h
3118
3119# Predefined preprocessor variables.
3120
3121cat >>confdefs.h <<_ACEOF
3122#define PACKAGE_NAME "$PACKAGE_NAME"
3123_ACEOF
3124
3125cat >>confdefs.h <<_ACEOF
3126#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3127_ACEOF
3128
3129cat >>confdefs.h <<_ACEOF
3130#define PACKAGE_VERSION "$PACKAGE_VERSION"
3131_ACEOF
3132
3133cat >>confdefs.h <<_ACEOF
3134#define PACKAGE_STRING "$PACKAGE_STRING"
3135_ACEOF
3136
3137cat >>confdefs.h <<_ACEOF
3138#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3139_ACEOF
3140
3141cat >>confdefs.h <<_ACEOF
3142#define PACKAGE_URL "$PACKAGE_URL"
3143_ACEOF
3144
3145
3146# Let the site file select an alternate cache file if it wants to.
3147# Prefer an explicitly selected file to automatically selected ones.
3148ac_site_file1=NONE
3149ac_site_file2=NONE
3150if test -n "$CONFIG_SITE"; then
3151  # We do not want a PATH search for config.site.
3152  case $CONFIG_SITE in #((
3153    -*)  ac_site_file1=./$CONFIG_SITE;;
3154    */*) ac_site_file1=$CONFIG_SITE;;
3155    *)   ac_site_file1=./$CONFIG_SITE;;
3156  esac
3157elif test "x$prefix" != xNONE; then
3158  ac_site_file1=$prefix/share/config.site
3159  ac_site_file2=$prefix/etc/config.site
3160else
3161  ac_site_file1=$ac_default_prefix/share/config.site
3162  ac_site_file2=$ac_default_prefix/etc/config.site
3163fi
3164for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3165do
3166  test "x$ac_site_file" = xNONE && continue
3167  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3168    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3169$as_echo "$as_me: loading site script $ac_site_file" >&6;}
3170    sed 's/^/| /' "$ac_site_file" >&5
3171    . "$ac_site_file" \
3172      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3173$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3174as_fn_error $? "failed to load site script $ac_site_file
3175See \`config.log' for more details" "$LINENO" 5; }
3176  fi
3177done
3178
3179if test -r "$cache_file"; then
3180  # Some versions of bash will fail to source /dev/null (special files
3181  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3182  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3183    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3184$as_echo "$as_me: loading cache $cache_file" >&6;}
3185    case $cache_file in
3186      [\\/]* | ?:[\\/]* ) . "$cache_file";;
3187      *)                      . "./$cache_file";;
3188    esac
3189  fi
3190else
3191  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3192$as_echo "$as_me: creating cache $cache_file" >&6;}
3193  >$cache_file
3194fi
3195
3196gt_needs="$gt_needs "
3197# Check that the precious variables saved in the cache have kept the same
3198# value.
3199ac_cache_corrupted=false
3200for ac_var in $ac_precious_vars; do
3201  eval ac_old_set=\$ac_cv_env_${ac_var}_set
3202  eval ac_new_set=\$ac_env_${ac_var}_set
3203  eval ac_old_val=\$ac_cv_env_${ac_var}_value
3204  eval ac_new_val=\$ac_env_${ac_var}_value
3205  case $ac_old_set,$ac_new_set in
3206    set,)
3207      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3208$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3209      ac_cache_corrupted=: ;;
3210    ,set)
3211      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3212$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3213      ac_cache_corrupted=: ;;
3214    ,);;
3215    *)
3216      if test "x$ac_old_val" != "x$ac_new_val"; then
3217	# differences in whitespace do not lead to failure.
3218	ac_old_val_w=`echo x $ac_old_val`
3219	ac_new_val_w=`echo x $ac_new_val`
3220	if test "$ac_old_val_w" != "$ac_new_val_w"; then
3221	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3222$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3223	  ac_cache_corrupted=:
3224	else
3225	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3226$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3227	  eval $ac_var=\$ac_old_val
3228	fi
3229	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3230$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3231	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3232$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3233      fi;;
3234  esac
3235  # Pass precious variables to config.status.
3236  if test "$ac_new_set" = set; then
3237    case $ac_new_val in
3238    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3239    *) ac_arg=$ac_var=$ac_new_val ;;
3240    esac
3241    case " $ac_configure_args " in
3242      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3243      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3244    esac
3245  fi
3246done
3247if $ac_cache_corrupted; then
3248  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3249$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3250  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3251$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3252  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3253fi
3254## -------------------- ##
3255## Main body of script. ##
3256## -------------------- ##
3257
3258ac_ext=c
3259ac_cpp='$CPP $CPPFLAGS'
3260ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3261ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3262ac_compiler_gnu=$ac_cv_c_compiler_gnu
3263
3264
3265
3266
3267
3268
3269ac_aux_dir=
3270for ac_dir in config "$srcdir"/config; do
3271  if test -f "$ac_dir/install-sh"; then
3272    ac_aux_dir=$ac_dir
3273    ac_install_sh="$ac_aux_dir/install-sh -c"
3274    break
3275  elif test -f "$ac_dir/install.sh"; then
3276    ac_aux_dir=$ac_dir
3277    ac_install_sh="$ac_aux_dir/install.sh -c"
3278    break
3279  elif test -f "$ac_dir/shtool"; then
3280    ac_aux_dir=$ac_dir
3281    ac_install_sh="$ac_aux_dir/shtool install -c"
3282    break
3283  fi
3284done
3285if test -z "$ac_aux_dir"; then
3286  as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
3287fi
3288
3289# These three variables are undocumented and unsupported,
3290# and are intended to be withdrawn in a future Autoconf release.
3291# They can cause serious problems if a builder's source tree is in a directory
3292# whose full name contains unusual characters.
3293ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3294ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3295ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3296
3297
3298
3299# Expand $ac_aux_dir to an absolute path.
3300am_aux_dir=`cd "$ac_aux_dir" && pwd`
3301
3302ac_ext=c
3303ac_cpp='$CPP $CPPFLAGS'
3304ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3305ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3306ac_compiler_gnu=$ac_cv_c_compiler_gnu
3307if test -n "$ac_tool_prefix"; then
3308  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3309set dummy ${ac_tool_prefix}gcc; ac_word=$2
3310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3311$as_echo_n "checking for $ac_word... " >&6; }
3312if ${ac_cv_prog_CC+:} false; then :
3313  $as_echo_n "(cached) " >&6
3314else
3315  if test -n "$CC"; then
3316  ac_cv_prog_CC="$CC" # Let the user override the test.
3317else
3318as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3319for as_dir in $PATH
3320do
3321  IFS=$as_save_IFS
3322  test -z "$as_dir" && as_dir=.
3323    for ac_exec_ext in '' $ac_executable_extensions; do
3324  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3325    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3326    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3327    break 2
3328  fi
3329done
3330  done
3331IFS=$as_save_IFS
3332
3333fi
3334fi
3335CC=$ac_cv_prog_CC
3336if test -n "$CC"; then
3337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3338$as_echo "$CC" >&6; }
3339else
3340  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3341$as_echo "no" >&6; }
3342fi
3343
3344
3345fi
3346if test -z "$ac_cv_prog_CC"; then
3347  ac_ct_CC=$CC
3348  # Extract the first word of "gcc", so it can be a program name with args.
3349set dummy gcc; ac_word=$2
3350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3351$as_echo_n "checking for $ac_word... " >&6; }
3352if ${ac_cv_prog_ac_ct_CC+:} false; then :
3353  $as_echo_n "(cached) " >&6
3354else
3355  if test -n "$ac_ct_CC"; then
3356  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3357else
3358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3359for as_dir in $PATH
3360do
3361  IFS=$as_save_IFS
3362  test -z "$as_dir" && as_dir=.
3363    for ac_exec_ext in '' $ac_executable_extensions; do
3364  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3365    ac_cv_prog_ac_ct_CC="gcc"
3366    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3367    break 2
3368  fi
3369done
3370  done
3371IFS=$as_save_IFS
3372
3373fi
3374fi
3375ac_ct_CC=$ac_cv_prog_ac_ct_CC
3376if test -n "$ac_ct_CC"; then
3377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3378$as_echo "$ac_ct_CC" >&6; }
3379else
3380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3381$as_echo "no" >&6; }
3382fi
3383
3384  if test "x$ac_ct_CC" = x; then
3385    CC=""
3386  else
3387    case $cross_compiling:$ac_tool_warned in
3388yes:)
3389{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3390$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3391ac_tool_warned=yes ;;
3392esac
3393    CC=$ac_ct_CC
3394  fi
3395else
3396  CC="$ac_cv_prog_CC"
3397fi
3398
3399if test -z "$CC"; then
3400          if test -n "$ac_tool_prefix"; then
3401    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3402set dummy ${ac_tool_prefix}cc; ac_word=$2
3403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3404$as_echo_n "checking for $ac_word... " >&6; }
3405if ${ac_cv_prog_CC+:} false; then :
3406  $as_echo_n "(cached) " >&6
3407else
3408  if test -n "$CC"; then
3409  ac_cv_prog_CC="$CC" # Let the user override the test.
3410else
3411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3412for as_dir in $PATH
3413do
3414  IFS=$as_save_IFS
3415  test -z "$as_dir" && as_dir=.
3416    for ac_exec_ext in '' $ac_executable_extensions; do
3417  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3418    ac_cv_prog_CC="${ac_tool_prefix}cc"
3419    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3420    break 2
3421  fi
3422done
3423  done
3424IFS=$as_save_IFS
3425
3426fi
3427fi
3428CC=$ac_cv_prog_CC
3429if test -n "$CC"; then
3430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3431$as_echo "$CC" >&6; }
3432else
3433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3434$as_echo "no" >&6; }
3435fi
3436
3437
3438  fi
3439fi
3440if test -z "$CC"; then
3441  # Extract the first word of "cc", so it can be a program name with args.
3442set dummy cc; ac_word=$2
3443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3444$as_echo_n "checking for $ac_word... " >&6; }
3445if ${ac_cv_prog_CC+:} false; then :
3446  $as_echo_n "(cached) " >&6
3447else
3448  if test -n "$CC"; then
3449  ac_cv_prog_CC="$CC" # Let the user override the test.
3450else
3451  ac_prog_rejected=no
3452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3453for as_dir in $PATH
3454do
3455  IFS=$as_save_IFS
3456  test -z "$as_dir" && as_dir=.
3457    for ac_exec_ext in '' $ac_executable_extensions; do
3458  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3459    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3460       ac_prog_rejected=yes
3461       continue
3462     fi
3463    ac_cv_prog_CC="cc"
3464    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3465    break 2
3466  fi
3467done
3468  done
3469IFS=$as_save_IFS
3470
3471if test $ac_prog_rejected = yes; then
3472  # We found a bogon in the path, so make sure we never use it.
3473  set dummy $ac_cv_prog_CC
3474  shift
3475  if test $# != 0; then
3476    # We chose a different compiler from the bogus one.
3477    # However, it has the same basename, so the bogon will be chosen
3478    # first if we set CC to just the basename; use the full file name.
3479    shift
3480    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3481  fi
3482fi
3483fi
3484fi
3485CC=$ac_cv_prog_CC
3486if test -n "$CC"; then
3487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3488$as_echo "$CC" >&6; }
3489else
3490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3491$as_echo "no" >&6; }
3492fi
3493
3494
3495fi
3496if test -z "$CC"; then
3497  if test -n "$ac_tool_prefix"; then
3498  for ac_prog in cl.exe
3499  do
3500    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3501set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3503$as_echo_n "checking for $ac_word... " >&6; }
3504if ${ac_cv_prog_CC+:} false; then :
3505  $as_echo_n "(cached) " >&6
3506else
3507  if test -n "$CC"; then
3508  ac_cv_prog_CC="$CC" # Let the user override the test.
3509else
3510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3511for as_dir in $PATH
3512do
3513  IFS=$as_save_IFS
3514  test -z "$as_dir" && as_dir=.
3515    for ac_exec_ext in '' $ac_executable_extensions; do
3516  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3517    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3518    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3519    break 2
3520  fi
3521done
3522  done
3523IFS=$as_save_IFS
3524
3525fi
3526fi
3527CC=$ac_cv_prog_CC
3528if test -n "$CC"; then
3529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3530$as_echo "$CC" >&6; }
3531else
3532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3533$as_echo "no" >&6; }
3534fi
3535
3536
3537    test -n "$CC" && break
3538  done
3539fi
3540if test -z "$CC"; then
3541  ac_ct_CC=$CC
3542  for ac_prog in cl.exe
3543do
3544  # Extract the first word of "$ac_prog", so it can be a program name with args.
3545set dummy $ac_prog; ac_word=$2
3546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3547$as_echo_n "checking for $ac_word... " >&6; }
3548if ${ac_cv_prog_ac_ct_CC+:} false; then :
3549  $as_echo_n "(cached) " >&6
3550else
3551  if test -n "$ac_ct_CC"; then
3552  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3553else
3554as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3555for as_dir in $PATH
3556do
3557  IFS=$as_save_IFS
3558  test -z "$as_dir" && as_dir=.
3559    for ac_exec_ext in '' $ac_executable_extensions; do
3560  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3561    ac_cv_prog_ac_ct_CC="$ac_prog"
3562    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3563    break 2
3564  fi
3565done
3566  done
3567IFS=$as_save_IFS
3568
3569fi
3570fi
3571ac_ct_CC=$ac_cv_prog_ac_ct_CC
3572if test -n "$ac_ct_CC"; then
3573  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3574$as_echo "$ac_ct_CC" >&6; }
3575else
3576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3577$as_echo "no" >&6; }
3578fi
3579
3580
3581  test -n "$ac_ct_CC" && break
3582done
3583
3584  if test "x$ac_ct_CC" = x; then
3585    CC=""
3586  else
3587    case $cross_compiling:$ac_tool_warned in
3588yes:)
3589{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3590$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3591ac_tool_warned=yes ;;
3592esac
3593    CC=$ac_ct_CC
3594  fi
3595fi
3596
3597fi
3598
3599
3600test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3601$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3602as_fn_error $? "no acceptable C compiler found in \$PATH
3603See \`config.log' for more details" "$LINENO" 5; }
3604
3605# Provide some information about the compiler.
3606$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3607set X $ac_compile
3608ac_compiler=$2
3609for ac_option in --version -v -V -qversion; do
3610  { { ac_try="$ac_compiler $ac_option >&5"
3611case "(($ac_try" in
3612  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3613  *) ac_try_echo=$ac_try;;
3614esac
3615eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3616$as_echo "$ac_try_echo"; } >&5
3617  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3618  ac_status=$?
3619  if test -s conftest.err; then
3620    sed '10a\
3621... rest of stderr output deleted ...
3622         10q' conftest.err >conftest.er1
3623    cat conftest.er1 >&5
3624  fi
3625  rm -f conftest.er1 conftest.err
3626  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3627  test $ac_status = 0; }
3628done
3629
3630cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631/* end confdefs.h.  */
3632
3633int
3634main ()
3635{
3636
3637  ;
3638  return 0;
3639}
3640_ACEOF
3641ac_clean_files_save=$ac_clean_files
3642ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3643# Try to create an executable without -o first, disregard a.out.
3644# It will help us diagnose broken compilers, and finding out an intuition
3645# of exeext.
3646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3647$as_echo_n "checking whether the C compiler works... " >&6; }
3648ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3649
3650# The possible output files:
3651ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3652
3653ac_rmfiles=
3654for ac_file in $ac_files
3655do
3656  case $ac_file in
3657    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3658    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3659  esac
3660done
3661rm -f $ac_rmfiles
3662
3663if { { ac_try="$ac_link_default"
3664case "(($ac_try" in
3665  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3666  *) ac_try_echo=$ac_try;;
3667esac
3668eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3669$as_echo "$ac_try_echo"; } >&5
3670  (eval "$ac_link_default") 2>&5
3671  ac_status=$?
3672  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3673  test $ac_status = 0; }; then :
3674  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3675# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3676# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3677# so that the user can short-circuit this test for compilers unknown to
3678# Autoconf.
3679for ac_file in $ac_files ''
3680do
3681  test -f "$ac_file" || continue
3682  case $ac_file in
3683    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3684	;;
3685    [ab].out )
3686	# We found the default executable, but exeext='' is most
3687	# certainly right.
3688	break;;
3689    *.* )
3690	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3691	then :; else
3692	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3693	fi
3694	# We set ac_cv_exeext here because the later test for it is not
3695	# safe: cross compilers may not add the suffix if given an `-o'
3696	# argument, so we may need to know it at that point already.
3697	# Even if this section looks crufty: it has the advantage of
3698	# actually working.
3699	break;;
3700    * )
3701	break;;
3702  esac
3703done
3704test "$ac_cv_exeext" = no && ac_cv_exeext=
3705
3706else
3707  ac_file=''
3708fi
3709if test -z "$ac_file"; then :
3710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3711$as_echo "no" >&6; }
3712$as_echo "$as_me: failed program was:" >&5
3713sed 's/^/| /' conftest.$ac_ext >&5
3714
3715{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3716$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3717as_fn_error 77 "C compiler cannot create executables
3718See \`config.log' for more details" "$LINENO" 5; }
3719else
3720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3721$as_echo "yes" >&6; }
3722fi
3723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3724$as_echo_n "checking for C compiler default output file name... " >&6; }
3725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3726$as_echo "$ac_file" >&6; }
3727ac_exeext=$ac_cv_exeext
3728
3729rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3730ac_clean_files=$ac_clean_files_save
3731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3732$as_echo_n "checking for suffix of executables... " >&6; }
3733if { { ac_try="$ac_link"
3734case "(($ac_try" in
3735  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3736  *) ac_try_echo=$ac_try;;
3737esac
3738eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3739$as_echo "$ac_try_echo"; } >&5
3740  (eval "$ac_link") 2>&5
3741  ac_status=$?
3742  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3743  test $ac_status = 0; }; then :
3744  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3745# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3746# work properly (i.e., refer to `conftest.exe'), while it won't with
3747# `rm'.
3748for ac_file in conftest.exe conftest conftest.*; do
3749  test -f "$ac_file" || continue
3750  case $ac_file in
3751    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3752    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3753	  break;;
3754    * ) break;;
3755  esac
3756done
3757else
3758  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3759$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3760as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3761See \`config.log' for more details" "$LINENO" 5; }
3762fi
3763rm -f conftest conftest$ac_cv_exeext
3764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3765$as_echo "$ac_cv_exeext" >&6; }
3766
3767rm -f conftest.$ac_ext
3768EXEEXT=$ac_cv_exeext
3769ac_exeext=$EXEEXT
3770cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3771/* end confdefs.h.  */
3772#include <stdio.h>
3773int
3774main ()
3775{
3776FILE *f = fopen ("conftest.out", "w");
3777 return ferror (f) || fclose (f) != 0;
3778
3779  ;
3780  return 0;
3781}
3782_ACEOF
3783ac_clean_files="$ac_clean_files conftest.out"
3784# Check that the compiler produces executables we can run.  If not, either
3785# the compiler is broken, or we cross compile.
3786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3787$as_echo_n "checking whether we are cross compiling... " >&6; }
3788if test "$cross_compiling" != yes; then
3789  { { ac_try="$ac_link"
3790case "(($ac_try" in
3791  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792  *) ac_try_echo=$ac_try;;
3793esac
3794eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3795$as_echo "$ac_try_echo"; } >&5
3796  (eval "$ac_link") 2>&5
3797  ac_status=$?
3798  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3799  test $ac_status = 0; }
3800  if { ac_try='./conftest$ac_cv_exeext'
3801  { { case "(($ac_try" in
3802  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3803  *) ac_try_echo=$ac_try;;
3804esac
3805eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3806$as_echo "$ac_try_echo"; } >&5
3807  (eval "$ac_try") 2>&5
3808  ac_status=$?
3809  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3810  test $ac_status = 0; }; }; then
3811    cross_compiling=no
3812  else
3813    if test "$cross_compiling" = maybe; then
3814	cross_compiling=yes
3815    else
3816	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3817$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3818as_fn_error $? "cannot run C compiled programs.
3819If you meant to cross compile, use \`--host'.
3820See \`config.log' for more details" "$LINENO" 5; }
3821    fi
3822  fi
3823fi
3824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3825$as_echo "$cross_compiling" >&6; }
3826
3827rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3828ac_clean_files=$ac_clean_files_save
3829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3830$as_echo_n "checking for suffix of object files... " >&6; }
3831if ${ac_cv_objext+:} false; then :
3832  $as_echo_n "(cached) " >&6
3833else
3834  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3835/* end confdefs.h.  */
3836
3837int
3838main ()
3839{
3840
3841  ;
3842  return 0;
3843}
3844_ACEOF
3845rm -f conftest.o conftest.obj
3846if { { ac_try="$ac_compile"
3847case "(($ac_try" in
3848  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3849  *) ac_try_echo=$ac_try;;
3850esac
3851eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3852$as_echo "$ac_try_echo"; } >&5
3853  (eval "$ac_compile") 2>&5
3854  ac_status=$?
3855  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3856  test $ac_status = 0; }; then :
3857  for ac_file in conftest.o conftest.obj conftest.*; do
3858  test -f "$ac_file" || continue;
3859  case $ac_file in
3860    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3861    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3862       break;;
3863  esac
3864done
3865else
3866  $as_echo "$as_me: failed program was:" >&5
3867sed 's/^/| /' conftest.$ac_ext >&5
3868
3869{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3870$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3871as_fn_error $? "cannot compute suffix of object files: cannot compile
3872See \`config.log' for more details" "$LINENO" 5; }
3873fi
3874rm -f conftest.$ac_cv_objext conftest.$ac_ext
3875fi
3876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3877$as_echo "$ac_cv_objext" >&6; }
3878OBJEXT=$ac_cv_objext
3879ac_objext=$OBJEXT
3880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3881$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3882if ${ac_cv_c_compiler_gnu+:} false; then :
3883  $as_echo_n "(cached) " >&6
3884else
3885  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3886/* end confdefs.h.  */
3887
3888int
3889main ()
3890{
3891#ifndef __GNUC__
3892       choke me
3893#endif
3894
3895  ;
3896  return 0;
3897}
3898_ACEOF
3899if ac_fn_c_try_compile "$LINENO"; then :
3900  ac_compiler_gnu=yes
3901else
3902  ac_compiler_gnu=no
3903fi
3904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3905ac_cv_c_compiler_gnu=$ac_compiler_gnu
3906
3907fi
3908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3909$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3910if test $ac_compiler_gnu = yes; then
3911  GCC=yes
3912else
3913  GCC=
3914fi
3915ac_test_CFLAGS=${CFLAGS+set}
3916ac_save_CFLAGS=$CFLAGS
3917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3918$as_echo_n "checking whether $CC accepts -g... " >&6; }
3919if ${ac_cv_prog_cc_g+:} false; then :
3920  $as_echo_n "(cached) " >&6
3921else
3922  ac_save_c_werror_flag=$ac_c_werror_flag
3923   ac_c_werror_flag=yes
3924   ac_cv_prog_cc_g=no
3925   CFLAGS="-g"
3926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927/* end confdefs.h.  */
3928
3929int
3930main ()
3931{
3932
3933  ;
3934  return 0;
3935}
3936_ACEOF
3937if ac_fn_c_try_compile "$LINENO"; then :
3938  ac_cv_prog_cc_g=yes
3939else
3940  CFLAGS=""
3941      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3942/* end confdefs.h.  */
3943
3944int
3945main ()
3946{
3947
3948  ;
3949  return 0;
3950}
3951_ACEOF
3952if ac_fn_c_try_compile "$LINENO"; then :
3953
3954else
3955  ac_c_werror_flag=$ac_save_c_werror_flag
3956	 CFLAGS="-g"
3957	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3958/* end confdefs.h.  */
3959
3960int
3961main ()
3962{
3963
3964  ;
3965  return 0;
3966}
3967_ACEOF
3968if ac_fn_c_try_compile "$LINENO"; then :
3969  ac_cv_prog_cc_g=yes
3970fi
3971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3972fi
3973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3974fi
3975rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3976   ac_c_werror_flag=$ac_save_c_werror_flag
3977fi
3978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3979$as_echo "$ac_cv_prog_cc_g" >&6; }
3980if test "$ac_test_CFLAGS" = set; then
3981  CFLAGS=$ac_save_CFLAGS
3982elif test $ac_cv_prog_cc_g = yes; then
3983  if test "$GCC" = yes; then
3984    CFLAGS="-g -O2"
3985  else
3986    CFLAGS="-g"
3987  fi
3988else
3989  if test "$GCC" = yes; then
3990    CFLAGS="-O2"
3991  else
3992    CFLAGS=
3993  fi
3994fi
3995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3996$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3997if ${ac_cv_prog_cc_c89+:} false; then :
3998  $as_echo_n "(cached) " >&6
3999else
4000  ac_cv_prog_cc_c89=no
4001ac_save_CC=$CC
4002cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4003/* end confdefs.h.  */
4004#include <stdarg.h>
4005#include <stdio.h>
4006struct stat;
4007/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4008struct buf { int x; };
4009FILE * (*rcsopen) (struct buf *, struct stat *, int);
4010static char *e (p, i)
4011     char **p;
4012     int i;
4013{
4014  return p[i];
4015}
4016static char *f (char * (*g) (char **, int), char **p, ...)
4017{
4018  char *s;
4019  va_list v;
4020  va_start (v,p);
4021  s = g (p, va_arg (v,int));
4022  va_end (v);
4023  return s;
4024}
4025
4026/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4027   function prototypes and stuff, but not '\xHH' hex character constants.
4028   These don't provoke an error unfortunately, instead are silently treated
4029   as 'x'.  The following induces an error, until -std is added to get
4030   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4031   array size at least.  It's necessary to write '\x00'==0 to get something
4032   that's true only with -std.  */
4033int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4034
4035/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4036   inside strings and character constants.  */
4037#define FOO(x) 'x'
4038int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4039
4040int test (int i, double x);
4041struct s1 {int (*f) (int a);};
4042struct s2 {int (*f) (double a);};
4043int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4044int argc;
4045char **argv;
4046int
4047main ()
4048{
4049return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4050  ;
4051  return 0;
4052}
4053_ACEOF
4054for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4055	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4056do
4057  CC="$ac_save_CC $ac_arg"
4058  if ac_fn_c_try_compile "$LINENO"; then :
4059  ac_cv_prog_cc_c89=$ac_arg
4060fi
4061rm -f core conftest.err conftest.$ac_objext
4062  test "x$ac_cv_prog_cc_c89" != "xno" && break
4063done
4064rm -f conftest.$ac_ext
4065CC=$ac_save_CC
4066
4067fi
4068# AC_CACHE_VAL
4069case "x$ac_cv_prog_cc_c89" in
4070  x)
4071    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4072$as_echo "none needed" >&6; } ;;
4073  xno)
4074    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4075$as_echo "unsupported" >&6; } ;;
4076  *)
4077    CC="$CC $ac_cv_prog_cc_c89"
4078    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4079$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4080esac
4081if test "x$ac_cv_prog_cc_c89" != xno; then :
4082
4083fi
4084
4085ac_ext=c
4086ac_cpp='$CPP $CPPFLAGS'
4087ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4088ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4089ac_compiler_gnu=$ac_cv_c_compiler_gnu
4090
4091ac_ext=c
4092ac_cpp='$CPP $CPPFLAGS'
4093ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4094ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4095ac_compiler_gnu=$ac_cv_c_compiler_gnu
4096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4097$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4098if ${am_cv_prog_cc_c_o+:} false; then :
4099  $as_echo_n "(cached) " >&6
4100else
4101  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4102/* end confdefs.h.  */
4103
4104int
4105main ()
4106{
4107
4108  ;
4109  return 0;
4110}
4111_ACEOF
4112  # Make sure it works both with $CC and with simple cc.
4113  # Following AC_PROG_CC_C_O, we do the test twice because some
4114  # compilers refuse to overwrite an existing .o file with -o,
4115  # though they will create one.
4116  am_cv_prog_cc_c_o=yes
4117  for am_i in 1 2; do
4118    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4119   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4120   ac_status=$?
4121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122   (exit $ac_status); } \
4123         && test -f conftest2.$ac_objext; then
4124      : OK
4125    else
4126      am_cv_prog_cc_c_o=no
4127      break
4128    fi
4129  done
4130  rm -f core conftest*
4131  unset am_i
4132fi
4133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4134$as_echo "$am_cv_prog_cc_c_o" >&6; }
4135if test "$am_cv_prog_cc_c_o" != yes; then
4136   # Losing compiler, so override with the script.
4137   # FIXME: It is wrong to rewrite CC.
4138   # But if we don't then we get into trouble of one sort or another.
4139   # A longer-term fix would be to have automake use am__CC in this case,
4140   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4141   CC="$am_aux_dir/compile $CC"
4142fi
4143ac_ext=c
4144ac_cpp='$CPP $CPPFLAGS'
4145ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4146ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4147ac_compiler_gnu=$ac_cv_c_compiler_gnu
4148
4149
4150
4151ac_ext=c
4152ac_cpp='$CPP $CPPFLAGS'
4153ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4154ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4155ac_compiler_gnu=$ac_cv_c_compiler_gnu
4156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4157$as_echo_n "checking how to run the C preprocessor... " >&6; }
4158# On Suns, sometimes $CPP names a directory.
4159if test -n "$CPP" && test -d "$CPP"; then
4160  CPP=
4161fi
4162if test -z "$CPP"; then
4163  if ${ac_cv_prog_CPP+:} false; then :
4164  $as_echo_n "(cached) " >&6
4165else
4166      # Double quotes because CPP needs to be expanded
4167    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4168    do
4169      ac_preproc_ok=false
4170for ac_c_preproc_warn_flag in '' yes
4171do
4172  # Use a header file that comes with gcc, so configuring glibc
4173  # with a fresh cross-compiler works.
4174  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4175  # <limits.h> exists even on freestanding compilers.
4176  # On the NeXT, cc -E runs the code through the compiler's parser,
4177  # not just through cpp. "Syntax error" is here to catch this case.
4178  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179/* end confdefs.h.  */
4180#ifdef __STDC__
4181# include <limits.h>
4182#else
4183# include <assert.h>
4184#endif
4185		     Syntax error
4186_ACEOF
4187if ac_fn_c_try_cpp "$LINENO"; then :
4188
4189else
4190  # Broken: fails on valid input.
4191continue
4192fi
4193rm -f conftest.err conftest.i conftest.$ac_ext
4194
4195  # OK, works on sane cases.  Now check whether nonexistent headers
4196  # can be detected and how.
4197  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198/* end confdefs.h.  */
4199#include <ac_nonexistent.h>
4200_ACEOF
4201if ac_fn_c_try_cpp "$LINENO"; then :
4202  # Broken: success on invalid input.
4203continue
4204else
4205  # Passes both tests.
4206ac_preproc_ok=:
4207break
4208fi
4209rm -f conftest.err conftest.i conftest.$ac_ext
4210
4211done
4212# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4213rm -f conftest.i conftest.err conftest.$ac_ext
4214if $ac_preproc_ok; then :
4215  break
4216fi
4217
4218    done
4219    ac_cv_prog_CPP=$CPP
4220
4221fi
4222  CPP=$ac_cv_prog_CPP
4223else
4224  ac_cv_prog_CPP=$CPP
4225fi
4226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4227$as_echo "$CPP" >&6; }
4228ac_preproc_ok=false
4229for ac_c_preproc_warn_flag in '' yes
4230do
4231  # Use a header file that comes with gcc, so configuring glibc
4232  # with a fresh cross-compiler works.
4233  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4234  # <limits.h> exists even on freestanding compilers.
4235  # On the NeXT, cc -E runs the code through the compiler's parser,
4236  # not just through cpp. "Syntax error" is here to catch this case.
4237  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238/* end confdefs.h.  */
4239#ifdef __STDC__
4240# include <limits.h>
4241#else
4242# include <assert.h>
4243#endif
4244		     Syntax error
4245_ACEOF
4246if ac_fn_c_try_cpp "$LINENO"; then :
4247
4248else
4249  # Broken: fails on valid input.
4250continue
4251fi
4252rm -f conftest.err conftest.i conftest.$ac_ext
4253
4254  # OK, works on sane cases.  Now check whether nonexistent headers
4255  # can be detected and how.
4256  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257/* end confdefs.h.  */
4258#include <ac_nonexistent.h>
4259_ACEOF
4260if ac_fn_c_try_cpp "$LINENO"; then :
4261  # Broken: success on invalid input.
4262continue
4263else
4264  # Passes both tests.
4265ac_preproc_ok=:
4266break
4267fi
4268rm -f conftest.err conftest.i conftest.$ac_ext
4269
4270done
4271# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4272rm -f conftest.i conftest.err conftest.$ac_ext
4273if $ac_preproc_ok; then :
4274
4275else
4276  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4277$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4278as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4279See \`config.log' for more details" "$LINENO" 5; }
4280fi
4281
4282ac_ext=c
4283ac_cpp='$CPP $CPPFLAGS'
4284ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4285ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4286ac_compiler_gnu=$ac_cv_c_compiler_gnu
4287
4288
4289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4290$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4291if ${ac_cv_path_GREP+:} false; then :
4292  $as_echo_n "(cached) " >&6
4293else
4294  if test -z "$GREP"; then
4295  ac_path_GREP_found=false
4296  # Loop through the user's path and test for each of PROGNAME-LIST
4297  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4299do
4300  IFS=$as_save_IFS
4301  test -z "$as_dir" && as_dir=.
4302    for ac_prog in grep ggrep; do
4303    for ac_exec_ext in '' $ac_executable_extensions; do
4304      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4305      as_fn_executable_p "$ac_path_GREP" || continue
4306# Check for GNU ac_path_GREP and select it if it is found.
4307  # Check for GNU $ac_path_GREP
4308case `"$ac_path_GREP" --version 2>&1` in
4309*GNU*)
4310  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4311*)
4312  ac_count=0
4313  $as_echo_n 0123456789 >"conftest.in"
4314  while :
4315  do
4316    cat "conftest.in" "conftest.in" >"conftest.tmp"
4317    mv "conftest.tmp" "conftest.in"
4318    cp "conftest.in" "conftest.nl"
4319    $as_echo 'GREP' >> "conftest.nl"
4320    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4321    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4322    as_fn_arith $ac_count + 1 && ac_count=$as_val
4323    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4324      # Best one so far, save it but keep looking for a better one
4325      ac_cv_path_GREP="$ac_path_GREP"
4326      ac_path_GREP_max=$ac_count
4327    fi
4328    # 10*(2^10) chars as input seems more than enough
4329    test $ac_count -gt 10 && break
4330  done
4331  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4332esac
4333
4334      $ac_path_GREP_found && break 3
4335    done
4336  done
4337  done
4338IFS=$as_save_IFS
4339  if test -z "$ac_cv_path_GREP"; then
4340    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4341  fi
4342else
4343  ac_cv_path_GREP=$GREP
4344fi
4345
4346fi
4347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4348$as_echo "$ac_cv_path_GREP" >&6; }
4349 GREP="$ac_cv_path_GREP"
4350
4351
4352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4353$as_echo_n "checking for egrep... " >&6; }
4354if ${ac_cv_path_EGREP+:} false; then :
4355  $as_echo_n "(cached) " >&6
4356else
4357  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4358   then ac_cv_path_EGREP="$GREP -E"
4359   else
4360     if test -z "$EGREP"; then
4361  ac_path_EGREP_found=false
4362  # Loop through the user's path and test for each of PROGNAME-LIST
4363  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4365do
4366  IFS=$as_save_IFS
4367  test -z "$as_dir" && as_dir=.
4368    for ac_prog in egrep; do
4369    for ac_exec_ext in '' $ac_executable_extensions; do
4370      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4371      as_fn_executable_p "$ac_path_EGREP" || continue
4372# Check for GNU ac_path_EGREP and select it if it is found.
4373  # Check for GNU $ac_path_EGREP
4374case `"$ac_path_EGREP" --version 2>&1` in
4375*GNU*)
4376  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4377*)
4378  ac_count=0
4379  $as_echo_n 0123456789 >"conftest.in"
4380  while :
4381  do
4382    cat "conftest.in" "conftest.in" >"conftest.tmp"
4383    mv "conftest.tmp" "conftest.in"
4384    cp "conftest.in" "conftest.nl"
4385    $as_echo 'EGREP' >> "conftest.nl"
4386    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4387    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4388    as_fn_arith $ac_count + 1 && ac_count=$as_val
4389    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4390      # Best one so far, save it but keep looking for a better one
4391      ac_cv_path_EGREP="$ac_path_EGREP"
4392      ac_path_EGREP_max=$ac_count
4393    fi
4394    # 10*(2^10) chars as input seems more than enough
4395    test $ac_count -gt 10 && break
4396  done
4397  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4398esac
4399
4400      $ac_path_EGREP_found && break 3
4401    done
4402  done
4403  done
4404IFS=$as_save_IFS
4405  if test -z "$ac_cv_path_EGREP"; then
4406    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4407  fi
4408else
4409  ac_cv_path_EGREP=$EGREP
4410fi
4411
4412   fi
4413fi
4414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4415$as_echo "$ac_cv_path_EGREP" >&6; }
4416 EGREP="$ac_cv_path_EGREP"
4417
4418
4419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4420$as_echo_n "checking for ANSI C header files... " >&6; }
4421if ${ac_cv_header_stdc+:} false; then :
4422  $as_echo_n "(cached) " >&6
4423else
4424  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4425/* end confdefs.h.  */
4426#include <stdlib.h>
4427#include <stdarg.h>
4428#include <string.h>
4429#include <float.h>
4430
4431int
4432main ()
4433{
4434
4435  ;
4436  return 0;
4437}
4438_ACEOF
4439if ac_fn_c_try_compile "$LINENO"; then :
4440  ac_cv_header_stdc=yes
4441else
4442  ac_cv_header_stdc=no
4443fi
4444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4445
4446if test $ac_cv_header_stdc = yes; then
4447  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4448  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4449/* end confdefs.h.  */
4450#include <string.h>
4451
4452_ACEOF
4453if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4454  $EGREP "memchr" >/dev/null 2>&1; then :
4455
4456else
4457  ac_cv_header_stdc=no
4458fi
4459rm -f conftest*
4460
4461fi
4462
4463if test $ac_cv_header_stdc = yes; then
4464  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4465  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4466/* end confdefs.h.  */
4467#include <stdlib.h>
4468
4469_ACEOF
4470if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4471  $EGREP "free" >/dev/null 2>&1; then :
4472
4473else
4474  ac_cv_header_stdc=no
4475fi
4476rm -f conftest*
4477
4478fi
4479
4480if test $ac_cv_header_stdc = yes; then
4481  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4482  if test "$cross_compiling" = yes; then :
4483  :
4484else
4485  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486/* end confdefs.h.  */
4487#include <ctype.h>
4488#include <stdlib.h>
4489#if ((' ' & 0x0FF) == 0x020)
4490# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4491# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4492#else
4493# define ISLOWER(c) \
4494		   (('a' <= (c) && (c) <= 'i') \
4495		     || ('j' <= (c) && (c) <= 'r') \
4496		     || ('s' <= (c) && (c) <= 'z'))
4497# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4498#endif
4499
4500#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4501int
4502main ()
4503{
4504  int i;
4505  for (i = 0; i < 256; i++)
4506    if (XOR (islower (i), ISLOWER (i))
4507	|| toupper (i) != TOUPPER (i))
4508      return 2;
4509  return 0;
4510}
4511_ACEOF
4512if ac_fn_c_try_run "$LINENO"; then :
4513
4514else
4515  ac_cv_header_stdc=no
4516fi
4517rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4518  conftest.$ac_objext conftest.beam conftest.$ac_ext
4519fi
4520
4521fi
4522fi
4523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4524$as_echo "$ac_cv_header_stdc" >&6; }
4525if test $ac_cv_header_stdc = yes; then
4526
4527$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4528
4529fi
4530
4531# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4532for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4533		  inttypes.h stdint.h unistd.h
4534do :
4535  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4536ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4537"
4538if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4539  cat >>confdefs.h <<_ACEOF
4540#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4541_ACEOF
4542
4543fi
4544
4545done
4546
4547
4548
4549  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4550if test "x$ac_cv_header_minix_config_h" = xyes; then :
4551  MINIX=yes
4552else
4553  MINIX=
4554fi
4555
4556
4557  if test "$MINIX" = yes; then
4558
4559$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4560
4561
4562$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4563
4564
4565$as_echo "#define _MINIX 1" >>confdefs.h
4566
4567  fi
4568
4569
4570  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4571$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4572if ${ac_cv_safe_to_define___extensions__+:} false; then :
4573  $as_echo_n "(cached) " >&6
4574else
4575  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4576/* end confdefs.h.  */
4577
4578#         define __EXTENSIONS__ 1
4579          $ac_includes_default
4580int
4581main ()
4582{
4583
4584  ;
4585  return 0;
4586}
4587_ACEOF
4588if ac_fn_c_try_compile "$LINENO"; then :
4589  ac_cv_safe_to_define___extensions__=yes
4590else
4591  ac_cv_safe_to_define___extensions__=no
4592fi
4593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594fi
4595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4596$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4597  test $ac_cv_safe_to_define___extensions__ = yes &&
4598    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4599
4600  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4601
4602  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4603
4604  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4605
4606  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4607
4608
4609am__api_version='1.16'
4610
4611# Find a good install program.  We prefer a C program (faster),
4612# so one script is as good as another.  But avoid the broken or
4613# incompatible versions:
4614# SysV /etc/install, /usr/sbin/install
4615# SunOS /usr/etc/install
4616# IRIX /sbin/install
4617# AIX /bin/install
4618# AmigaOS /C/install, which installs bootblocks on floppy discs
4619# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4620# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4621# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4622# OS/2's system install, which has a completely different semantic
4623# ./install, which can be erroneously created by make from ./install.sh.
4624# Reject install programs that cannot install multiple files.
4625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4626$as_echo_n "checking for a BSD-compatible install... " >&6; }
4627if test -z "$INSTALL"; then
4628if ${ac_cv_path_install+:} false; then :
4629  $as_echo_n "(cached) " >&6
4630else
4631  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4632for as_dir in $PATH
4633do
4634  IFS=$as_save_IFS
4635  test -z "$as_dir" && as_dir=.
4636    # Account for people who put trailing slashes in PATH elements.
4637case $as_dir/ in #((
4638  ./ | .// | /[cC]/* | \
4639  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4640  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4641  /usr/ucb/* ) ;;
4642  *)
4643    # OSF1 and SCO ODT 3.0 have their own names for install.
4644    # Don't use installbsd from OSF since it installs stuff as root
4645    # by default.
4646    for ac_prog in ginstall scoinst install; do
4647      for ac_exec_ext in '' $ac_executable_extensions; do
4648	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4649	  if test $ac_prog = install &&
4650	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4651	    # AIX install.  It has an incompatible calling convention.
4652	    :
4653	  elif test $ac_prog = install &&
4654	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4655	    # program-specific install script used by HP pwplus--don't use.
4656	    :
4657	  else
4658	    rm -rf conftest.one conftest.two conftest.dir
4659	    echo one > conftest.one
4660	    echo two > conftest.two
4661	    mkdir conftest.dir
4662	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4663	      test -s conftest.one && test -s conftest.two &&
4664	      test -s conftest.dir/conftest.one &&
4665	      test -s conftest.dir/conftest.two
4666	    then
4667	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4668	      break 3
4669	    fi
4670	  fi
4671	fi
4672      done
4673    done
4674    ;;
4675esac
4676
4677  done
4678IFS=$as_save_IFS
4679
4680rm -rf conftest.one conftest.two conftest.dir
4681
4682fi
4683  if test "${ac_cv_path_install+set}" = set; then
4684    INSTALL=$ac_cv_path_install
4685  else
4686    # As a last resort, use the slow shell script.  Don't cache a
4687    # value for INSTALL within a source directory, because that will
4688    # break other packages using the cache if that directory is
4689    # removed, or if the value is a relative name.
4690    INSTALL=$ac_install_sh
4691  fi
4692fi
4693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4694$as_echo "$INSTALL" >&6; }
4695
4696# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4697# It thinks the first close brace ends the variable substitution.
4698test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4699
4700test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4701
4702test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4703
4704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4705$as_echo_n "checking whether build environment is sane... " >&6; }
4706# Reject unsafe characters in $srcdir or the absolute working directory
4707# name.  Accept space and tab only in the latter.
4708am_lf='
4709'
4710case `pwd` in
4711  *[\\\"\#\$\&\'\`$am_lf]*)
4712    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4713esac
4714case $srcdir in
4715  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
4716    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4717esac
4718
4719# Do 'set' in a subshell so we don't clobber the current shell's
4720# arguments.  Must try -L first in case configure is actually a
4721# symlink; some systems play weird games with the mod time of symlinks
4722# (eg FreeBSD returns the mod time of the symlink's containing
4723# directory).
4724if (
4725   am_has_slept=no
4726   for am_try in 1 2; do
4727     echo "timestamp, slept: $am_has_slept" > conftest.file
4728     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4729     if test "$*" = "X"; then
4730	# -L didn't work.
4731	set X `ls -t "$srcdir/configure" conftest.file`
4732     fi
4733     if test "$*" != "X $srcdir/configure conftest.file" \
4734	&& test "$*" != "X conftest.file $srcdir/configure"; then
4735
4736	# If neither matched, then we have a broken ls.  This can happen
4737	# if, for instance, CONFIG_SHELL is bash and it inherits a
4738	# broken ls alias from the environment.  This has actually
4739	# happened.  Such a system could not be considered "sane".
4740	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
4741  alias in your environment" "$LINENO" 5
4742     fi
4743     if test "$2" = conftest.file || test $am_try -eq 2; then
4744       break
4745     fi
4746     # Just in case.
4747     sleep 1
4748     am_has_slept=yes
4749   done
4750   test "$2" = conftest.file
4751   )
4752then
4753   # Ok.
4754   :
4755else
4756   as_fn_error $? "newly created file is older than distributed files!
4757Check your system clock" "$LINENO" 5
4758fi
4759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4760$as_echo "yes" >&6; }
4761# If we didn't sleep, we still need to ensure time stamps of config.status and
4762# generated files are strictly newer.
4763am_sleep_pid=
4764if grep 'slept: no' conftest.file >/dev/null 2>&1; then
4765  ( sleep 1 ) &
4766  am_sleep_pid=$!
4767fi
4768
4769rm -f conftest.file
4770
4771test "$program_prefix" != NONE &&
4772  program_transform_name="s&^&$program_prefix&;$program_transform_name"
4773# Use a double $ so make ignores it.
4774test "$program_suffix" != NONE &&
4775  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4776# Double any \ or $.
4777# By default was `s,x,x', remove it if useless.
4778ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4779program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4780
4781if test x"${MISSING+set}" != xset; then
4782  case $am_aux_dir in
4783  *\ * | *\	*)
4784    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4785  *)
4786    MISSING="\${SHELL} $am_aux_dir/missing" ;;
4787  esac
4788fi
4789# Use eval to expand $SHELL
4790if eval "$MISSING --is-lightweight"; then
4791  am_missing_run="$MISSING "
4792else
4793  am_missing_run=
4794  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4795$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4796fi
4797
4798if test x"${install_sh+set}" != xset; then
4799  case $am_aux_dir in
4800  *\ * | *\	*)
4801    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4802  *)
4803    install_sh="\${SHELL} $am_aux_dir/install-sh"
4804  esac
4805fi
4806
4807# Installed binaries are usually stripped using 'strip' when the user
4808# run "make install-strip".  However 'strip' might not be the right
4809# tool to use in cross-compilation environments, therefore Automake
4810# will honor the 'STRIP' environment variable to overrule this program.
4811if test "$cross_compiling" != no; then
4812  if test -n "$ac_tool_prefix"; then
4813  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4814set dummy ${ac_tool_prefix}strip; ac_word=$2
4815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816$as_echo_n "checking for $ac_word... " >&6; }
4817if ${ac_cv_prog_STRIP+:} false; then :
4818  $as_echo_n "(cached) " >&6
4819else
4820  if test -n "$STRIP"; then
4821  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4822else
4823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4824for as_dir in $PATH
4825do
4826  IFS=$as_save_IFS
4827  test -z "$as_dir" && as_dir=.
4828    for ac_exec_ext in '' $ac_executable_extensions; do
4829  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4830    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4831    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4832    break 2
4833  fi
4834done
4835  done
4836IFS=$as_save_IFS
4837
4838fi
4839fi
4840STRIP=$ac_cv_prog_STRIP
4841if test -n "$STRIP"; then
4842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4843$as_echo "$STRIP" >&6; }
4844else
4845  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846$as_echo "no" >&6; }
4847fi
4848
4849
4850fi
4851if test -z "$ac_cv_prog_STRIP"; then
4852  ac_ct_STRIP=$STRIP
4853  # Extract the first word of "strip", so it can be a program name with args.
4854set dummy strip; ac_word=$2
4855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4856$as_echo_n "checking for $ac_word... " >&6; }
4857if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4858  $as_echo_n "(cached) " >&6
4859else
4860  if test -n "$ac_ct_STRIP"; then
4861  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4862else
4863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4864for as_dir in $PATH
4865do
4866  IFS=$as_save_IFS
4867  test -z "$as_dir" && as_dir=.
4868    for ac_exec_ext in '' $ac_executable_extensions; do
4869  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4870    ac_cv_prog_ac_ct_STRIP="strip"
4871    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4872    break 2
4873  fi
4874done
4875  done
4876IFS=$as_save_IFS
4877
4878fi
4879fi
4880ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4881if test -n "$ac_ct_STRIP"; then
4882  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4883$as_echo "$ac_ct_STRIP" >&6; }
4884else
4885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886$as_echo "no" >&6; }
4887fi
4888
4889  if test "x$ac_ct_STRIP" = x; then
4890    STRIP=":"
4891  else
4892    case $cross_compiling:$ac_tool_warned in
4893yes:)
4894{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4895$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4896ac_tool_warned=yes ;;
4897esac
4898    STRIP=$ac_ct_STRIP
4899  fi
4900else
4901  STRIP="$ac_cv_prog_STRIP"
4902fi
4903
4904fi
4905INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4906
4907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4908$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4909if test -z "$MKDIR_P"; then
4910  if ${ac_cv_path_mkdir+:} false; then :
4911  $as_echo_n "(cached) " >&6
4912else
4913  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4914for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4915do
4916  IFS=$as_save_IFS
4917  test -z "$as_dir" && as_dir=.
4918    for ac_prog in mkdir gmkdir; do
4919	 for ac_exec_ext in '' $ac_executable_extensions; do
4920	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4921	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4922	     'mkdir (GNU coreutils) '* | \
4923	     'mkdir (coreutils) '* | \
4924	     'mkdir (fileutils) '4.1*)
4925	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4926	       break 3;;
4927	   esac
4928	 done
4929       done
4930  done
4931IFS=$as_save_IFS
4932
4933fi
4934
4935  test -d ./--version && rmdir ./--version
4936  if test "${ac_cv_path_mkdir+set}" = set; then
4937    MKDIR_P="$ac_cv_path_mkdir -p"
4938  else
4939    # As a last resort, use the slow shell script.  Don't cache a
4940    # value for MKDIR_P within a source directory, because that will
4941    # break other packages using the cache if that directory is
4942    # removed, or if the value is a relative name.
4943    MKDIR_P="$ac_install_sh -d"
4944  fi
4945fi
4946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4947$as_echo "$MKDIR_P" >&6; }
4948
4949for ac_prog in gawk mawk nawk awk
4950do
4951  # Extract the first word of "$ac_prog", so it can be a program name with args.
4952set dummy $ac_prog; ac_word=$2
4953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4954$as_echo_n "checking for $ac_word... " >&6; }
4955if ${ac_cv_prog_AWK+:} false; then :
4956  $as_echo_n "(cached) " >&6
4957else
4958  if test -n "$AWK"; then
4959  ac_cv_prog_AWK="$AWK" # Let the user override the test.
4960else
4961as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4962for as_dir in $PATH
4963do
4964  IFS=$as_save_IFS
4965  test -z "$as_dir" && as_dir=.
4966    for ac_exec_ext in '' $ac_executable_extensions; do
4967  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4968    ac_cv_prog_AWK="$ac_prog"
4969    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4970    break 2
4971  fi
4972done
4973  done
4974IFS=$as_save_IFS
4975
4976fi
4977fi
4978AWK=$ac_cv_prog_AWK
4979if test -n "$AWK"; then
4980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4981$as_echo "$AWK" >&6; }
4982else
4983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984$as_echo "no" >&6; }
4985fi
4986
4987
4988  test -n "$AWK" && break
4989done
4990
4991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4992$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4993set x ${MAKE-make}
4994ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4995if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4996  $as_echo_n "(cached) " >&6
4997else
4998  cat >conftest.make <<\_ACEOF
4999SHELL = /bin/sh
5000all:
5001	@echo '@@@%%%=$(MAKE)=@@@%%%'
5002_ACEOF
5003# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5004case `${MAKE-make} -f conftest.make 2>/dev/null` in
5005  *@@@%%%=?*=@@@%%%*)
5006    eval ac_cv_prog_make_${ac_make}_set=yes;;
5007  *)
5008    eval ac_cv_prog_make_${ac_make}_set=no;;
5009esac
5010rm -f conftest.make
5011fi
5012if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5014$as_echo "yes" >&6; }
5015  SET_MAKE=
5016else
5017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018$as_echo "no" >&6; }
5019  SET_MAKE="MAKE=${MAKE-make}"
5020fi
5021
5022rm -rf .tst 2>/dev/null
5023mkdir .tst 2>/dev/null
5024if test -d .tst; then
5025  am__leading_dot=.
5026else
5027  am__leading_dot=_
5028fi
5029rmdir .tst 2>/dev/null
5030
5031DEPDIR="${am__leading_dot}deps"
5032
5033ac_config_commands="$ac_config_commands depfiles"
5034
5035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
5036$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
5037cat > confinc.mk << 'END'
5038am__doit:
5039	@echo this is the am__doit target >confinc.out
5040.PHONY: am__doit
5041END
5042am__include="#"
5043am__quote=
5044# BSD make does it like this.
5045echo '.include "confinc.mk" # ignored' > confmf.BSD
5046# Other make implementations (GNU, Solaris 10, AIX) do it like this.
5047echo 'include confinc.mk # ignored' > confmf.GNU
5048_am_result=no
5049for s in GNU BSD; do
5050  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
5051   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
5052   ac_status=$?
5053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054   (exit $ac_status); }
5055  case $?:`cat confinc.out 2>/dev/null` in #(
5056  '0:this is the am__doit target') :
5057    case $s in #(
5058  BSD) :
5059    am__include='.include' am__quote='"' ;; #(
5060  *) :
5061    am__include='include' am__quote='' ;;
5062esac ;; #(
5063  *) :
5064     ;;
5065esac
5066  if test "$am__include" != "#"; then
5067    _am_result="yes ($s style)"
5068    break
5069  fi
5070done
5071rm -f confinc.* confmf.*
5072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
5073$as_echo "${_am_result}" >&6; }
5074
5075# Check whether --enable-dependency-tracking was given.
5076if test "${enable_dependency_tracking+set}" = set; then :
5077  enableval=$enable_dependency_tracking;
5078fi
5079
5080if test "x$enable_dependency_tracking" != xno; then
5081  am_depcomp="$ac_aux_dir/depcomp"
5082  AMDEPBACKSLASH='\'
5083  am__nodep='_no'
5084fi
5085 if test "x$enable_dependency_tracking" != xno; then
5086  AMDEP_TRUE=
5087  AMDEP_FALSE='#'
5088else
5089  AMDEP_TRUE='#'
5090  AMDEP_FALSE=
5091fi
5092
5093
5094# Check whether --enable-silent-rules was given.
5095if test "${enable_silent_rules+set}" = set; then :
5096  enableval=$enable_silent_rules;
5097fi
5098
5099case $enable_silent_rules in # (((
5100  yes) AM_DEFAULT_VERBOSITY=0;;
5101   no) AM_DEFAULT_VERBOSITY=1;;
5102    *) AM_DEFAULT_VERBOSITY=1;;
5103esac
5104am_make=${MAKE-make}
5105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5106$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5107if ${am_cv_make_support_nested_variables+:} false; then :
5108  $as_echo_n "(cached) " >&6
5109else
5110  if $as_echo 'TRUE=$(BAR$(V))
5111BAR0=false
5112BAR1=true
5113V=1
5114am__doit:
5115	@$(TRUE)
5116.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
5117  am_cv_make_support_nested_variables=yes
5118else
5119  am_cv_make_support_nested_variables=no
5120fi
5121fi
5122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5123$as_echo "$am_cv_make_support_nested_variables" >&6; }
5124if test $am_cv_make_support_nested_variables = yes; then
5125    AM_V='$(V)'
5126  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
5127else
5128  AM_V=$AM_DEFAULT_VERBOSITY
5129  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
5130fi
5131AM_BACKSLASH='\'
5132
5133if test "`cd $srcdir && pwd`" != "`pwd`"; then
5134  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
5135  # is not polluted with repeated "-I."
5136  am__isrc=' -I$(srcdir)'
5137  # test to see if srcdir already configured
5138  if test -f $srcdir/config.status; then
5139    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
5140  fi
5141fi
5142
5143# test whether we have cygpath
5144if test -z "$CYGPATH_W"; then
5145  if (cygpath --version) >/dev/null 2>/dev/null; then
5146    CYGPATH_W='cygpath -w'
5147  else
5148    CYGPATH_W=echo
5149  fi
5150fi
5151
5152
5153# Define the identity of the package.
5154 PACKAGE='util-linux'
5155 VERSION='2.36'
5156
5157
5158cat >>confdefs.h <<_ACEOF
5159#define PACKAGE "$PACKAGE"
5160_ACEOF
5161
5162
5163cat >>confdefs.h <<_ACEOF
5164#define VERSION "$VERSION"
5165_ACEOF
5166
5167# Some tools Automake needs.
5168
5169ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5170
5171
5172AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
5173
5174
5175AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5176
5177
5178AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
5179
5180
5181MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
5182
5183# For better backward compatibility.  To be removed once Automake 1.9.x
5184# dies out for good.  For more background, see:
5185# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
5186# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
5187mkdir_p='$(MKDIR_P)'
5188
5189# We need awk for the "check" target (and possibly the TAP driver).  The
5190# system "awk" is bad on some platforms.
5191# Always define AMTAR for backward compatibility.  Yes, it's still used
5192# in the wild :-(  We should find a proper way to deprecate it ...
5193AMTAR='$${TAR-tar}'
5194
5195
5196# We'll loop over all known methods to create a tar archive until one works.
5197_am_tools='gnutar  pax cpio none'
5198
5199
5200
5201  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
5202$as_echo_n "checking how to create a pax tar archive... " >&6; }
5203
5204  # Go ahead even if we have the value already cached.  We do so because we
5205  # need to set the values for the 'am__tar' and 'am__untar' variables.
5206  _am_tools=${am_cv_prog_tar_pax-$_am_tools}
5207
5208  for _am_tool in $_am_tools; do
5209    case $_am_tool in
5210    gnutar)
5211      for _am_tar in tar gnutar gtar; do
5212        { echo "$as_me:$LINENO: $_am_tar --version" >&5
5213   ($_am_tar --version) >&5 2>&5
5214   ac_status=$?
5215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216   (exit $ac_status); } && break
5217      done
5218      am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
5219      am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
5220      am__untar="$_am_tar -xf -"
5221      ;;
5222    plaintar)
5223      # Must skip GNU tar: if it does not support --format= it doesn't create
5224      # ustar tarball either.
5225      (tar --version) >/dev/null 2>&1 && continue
5226      am__tar='tar chf - "$$tardir"'
5227      am__tar_='tar chf - "$tardir"'
5228      am__untar='tar xf -'
5229      ;;
5230    pax)
5231      am__tar='pax -L -x pax -w "$$tardir"'
5232      am__tar_='pax -L -x pax -w "$tardir"'
5233      am__untar='pax -r'
5234      ;;
5235    cpio)
5236      am__tar='find "$$tardir" -print | cpio -o -H pax -L'
5237      am__tar_='find "$tardir" -print | cpio -o -H pax -L'
5238      am__untar='cpio -i -H pax -d'
5239      ;;
5240    none)
5241      am__tar=false
5242      am__tar_=false
5243      am__untar=false
5244      ;;
5245    esac
5246
5247    # If the value was cached, stop now.  We just wanted to have am__tar
5248    # and am__untar set.
5249    test -n "${am_cv_prog_tar_pax}" && break
5250
5251    # tar/untar a dummy directory, and stop if the command works.
5252    rm -rf conftest.dir
5253    mkdir conftest.dir
5254    echo GrepMe > conftest.dir/file
5255    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
5256   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
5257   ac_status=$?
5258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259   (exit $ac_status); }
5260    rm -rf conftest.dir
5261    if test -s conftest.tar; then
5262      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
5263   ($am__untar <conftest.tar) >&5 2>&5
5264   ac_status=$?
5265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266   (exit $ac_status); }
5267      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
5268   (cat conftest.dir/file) >&5 2>&5
5269   ac_status=$?
5270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271   (exit $ac_status); }
5272      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
5273    fi
5274  done
5275  rm -rf conftest.dir
5276
5277  if ${am_cv_prog_tar_pax+:} false; then :
5278  $as_echo_n "(cached) " >&6
5279else
5280  am_cv_prog_tar_pax=$_am_tool
5281fi
5282
5283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
5284$as_echo "$am_cv_prog_tar_pax" >&6; }
5285
5286
5287
5288
5289
5290depcc="$CC"   am_compiler_list=
5291
5292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5293$as_echo_n "checking dependency style of $depcc... " >&6; }
5294if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5295  $as_echo_n "(cached) " >&6
5296else
5297  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5298  # We make a subdir and do the tests there.  Otherwise we can end up
5299  # making bogus files that we don't know about and never remove.  For
5300  # instance it was reported that on HP-UX the gcc test will end up
5301  # making a dummy file named 'D' -- because '-MD' means "put the output
5302  # in D".
5303  rm -rf conftest.dir
5304  mkdir conftest.dir
5305  # Copy depcomp to subdir because otherwise we won't find it if we're
5306  # using a relative directory.
5307  cp "$am_depcomp" conftest.dir
5308  cd conftest.dir
5309  # We will build objects and dependencies in a subdirectory because
5310  # it helps to detect inapplicable dependency modes.  For instance
5311  # both Tru64's cc and ICC support -MD to output dependencies as a
5312  # side effect of compilation, but ICC will put the dependencies in
5313  # the current directory while Tru64 will put them in the object
5314  # directory.
5315  mkdir sub
5316
5317  am_cv_CC_dependencies_compiler_type=none
5318  if test "$am_compiler_list" = ""; then
5319     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5320  fi
5321  am__universal=false
5322  case " $depcc " in #(
5323     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5324     esac
5325
5326  for depmode in $am_compiler_list; do
5327    # Setup a source with many dependencies, because some compilers
5328    # like to wrap large dependency lists on column 80 (with \), and
5329    # we should not choose a depcomp mode which is confused by this.
5330    #
5331    # We need to recreate these files for each test, as the compiler may
5332    # overwrite some of them when testing with obscure command lines.
5333    # This happens at least with the AIX C compiler.
5334    : > sub/conftest.c
5335    for i in 1 2 3 4 5 6; do
5336      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5337      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5338      # Solaris 10 /bin/sh.
5339      echo '/* dummy */' > sub/conftst$i.h
5340    done
5341    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5342
5343    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5344    # mode.  It turns out that the SunPro C++ compiler does not properly
5345    # handle '-M -o', and we need to detect this.  Also, some Intel
5346    # versions had trouble with output in subdirs.
5347    am__obj=sub/conftest.${OBJEXT-o}
5348    am__minus_obj="-o $am__obj"
5349    case $depmode in
5350    gcc)
5351      # This depmode causes a compiler race in universal mode.
5352      test "$am__universal" = false || continue
5353      ;;
5354    nosideeffect)
5355      # After this tag, mechanisms are not by side-effect, so they'll
5356      # only be used when explicitly requested.
5357      if test "x$enable_dependency_tracking" = xyes; then
5358	continue
5359      else
5360	break
5361      fi
5362      ;;
5363    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5364      # This compiler won't grok '-c -o', but also, the minuso test has
5365      # not run yet.  These depmodes are late enough in the game, and
5366      # so weak that their functioning should not be impacted.
5367      am__obj=conftest.${OBJEXT-o}
5368      am__minus_obj=
5369      ;;
5370    none) break ;;
5371    esac
5372    if depmode=$depmode \
5373       source=sub/conftest.c object=$am__obj \
5374       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5375       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5376         >/dev/null 2>conftest.err &&
5377       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5378       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5379       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5380       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5381      # icc doesn't choke on unknown options, it will just issue warnings
5382      # or remarks (even with -Werror).  So we grep stderr for any message
5383      # that says an option was ignored or not supported.
5384      # When given -MP, icc 7.0 and 7.1 complain thusly:
5385      #   icc: Command line warning: ignoring option '-M'; no argument required
5386      # The diagnosis changed in icc 8.0:
5387      #   icc: Command line remark: option '-MP' not supported
5388      if (grep 'ignoring option' conftest.err ||
5389          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5390        am_cv_CC_dependencies_compiler_type=$depmode
5391        break
5392      fi
5393    fi
5394  done
5395
5396  cd ..
5397  rm -rf conftest.dir
5398else
5399  am_cv_CC_dependencies_compiler_type=none
5400fi
5401
5402fi
5403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5404$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5405CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5406
5407 if
5408  test "x$enable_dependency_tracking" != xno \
5409  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5410  am__fastdepCC_TRUE=
5411  am__fastdepCC_FALSE='#'
5412else
5413  am__fastdepCC_TRUE='#'
5414  am__fastdepCC_FALSE=
5415fi
5416
5417
5418
5419# POSIX will say in a future version that running "rm -f" with no argument
5420# is OK; and we want to be able to make that assumption in our Makefile
5421# recipes.  So use an aggressive probe to check that the usage we want is
5422# actually supported "in the wild" to an acceptable degree.
5423# See automake bug#10828.
5424# To make any issue more visible, cause the running configure to be aborted
5425# by default if the 'rm' program in use doesn't match our expectations; the
5426# user can still override this though.
5427if rm -f && rm -fr && rm -rf; then : OK; else
5428  cat >&2 <<'END'
5429Oops!
5430
5431Your 'rm' program seems unable to run without file operands specified
5432on the command line, even when the '-f' option is present.  This is contrary
5433to the behaviour of most rm programs out there, and not conforming with
5434the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
5435
5436Please tell bug-automake@gnu.org about your system, including the value
5437of your $PATH and any error possibly output before this message.  This
5438can help us improve future automake versions.
5439
5440END
5441  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
5442    echo 'Configuration will proceed anyway, since you have set the' >&2
5443    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
5444    echo >&2
5445  else
5446    cat >&2 <<'END'
5447Aborting the configuration process, to ensure you take notice of the issue.
5448
5449You can download and install GNU coreutils to get an 'rm' implementation
5450that behaves properly: <https://www.gnu.org/software/coreutils/>.
5451
5452If you want to complete the configuration process using your problematic
5453'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
5454to "yes", and re-run configure.
5455
5456END
5457    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
5458  fi
5459fi
5460
5461
5462# Check whether --enable-silent-rules was given.
5463if test "${enable_silent_rules+set}" = set; then :
5464  enableval=$enable_silent_rules;
5465fi
5466
5467case $enable_silent_rules in # (((
5468  yes) AM_DEFAULT_VERBOSITY=0;;
5469   no) AM_DEFAULT_VERBOSITY=1;;
5470    *) AM_DEFAULT_VERBOSITY=0;;
5471esac
5472am_make=${MAKE-make}
5473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5474$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5475if ${am_cv_make_support_nested_variables+:} false; then :
5476  $as_echo_n "(cached) " >&6
5477else
5478  if $as_echo 'TRUE=$(BAR$(V))
5479BAR0=false
5480BAR1=true
5481V=1
5482am__doit:
5483	@$(TRUE)
5484.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
5485  am_cv_make_support_nested_variables=yes
5486else
5487  am_cv_make_support_nested_variables=no
5488fi
5489fi
5490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5491$as_echo "$am_cv_make_support_nested_variables" >&6; }
5492if test $am_cv_make_support_nested_variables = yes; then
5493    AM_V='$(V)'
5494  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
5495else
5496  AM_V=$AM_DEFAULT_VERBOSITY
5497  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
5498fi
5499AM_BACKSLASH='\'
5500
5501if test -n "$ac_tool_prefix"; then
5502  for ac_prog in ar lib "link -lib"
5503  do
5504    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5505set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5507$as_echo_n "checking for $ac_word... " >&6; }
5508if ${ac_cv_prog_AR+:} false; then :
5509  $as_echo_n "(cached) " >&6
5510else
5511  if test -n "$AR"; then
5512  ac_cv_prog_AR="$AR" # Let the user override the test.
5513else
5514as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5515for as_dir in $PATH
5516do
5517  IFS=$as_save_IFS
5518  test -z "$as_dir" && as_dir=.
5519    for ac_exec_ext in '' $ac_executable_extensions; do
5520  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5521    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5522    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5523    break 2
5524  fi
5525done
5526  done
5527IFS=$as_save_IFS
5528
5529fi
5530fi
5531AR=$ac_cv_prog_AR
5532if test -n "$AR"; then
5533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5534$as_echo "$AR" >&6; }
5535else
5536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537$as_echo "no" >&6; }
5538fi
5539
5540
5541    test -n "$AR" && break
5542  done
5543fi
5544if test -z "$AR"; then
5545  ac_ct_AR=$AR
5546  for ac_prog in ar lib "link -lib"
5547do
5548  # Extract the first word of "$ac_prog", so it can be a program name with args.
5549set dummy $ac_prog; ac_word=$2
5550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5551$as_echo_n "checking for $ac_word... " >&6; }
5552if ${ac_cv_prog_ac_ct_AR+:} false; then :
5553  $as_echo_n "(cached) " >&6
5554else
5555  if test -n "$ac_ct_AR"; then
5556  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5557else
5558as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559for as_dir in $PATH
5560do
5561  IFS=$as_save_IFS
5562  test -z "$as_dir" && as_dir=.
5563    for ac_exec_ext in '' $ac_executable_extensions; do
5564  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5565    ac_cv_prog_ac_ct_AR="$ac_prog"
5566    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5567    break 2
5568  fi
5569done
5570  done
5571IFS=$as_save_IFS
5572
5573fi
5574fi
5575ac_ct_AR=$ac_cv_prog_ac_ct_AR
5576if test -n "$ac_ct_AR"; then
5577  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5578$as_echo "$ac_ct_AR" >&6; }
5579else
5580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5581$as_echo "no" >&6; }
5582fi
5583
5584
5585  test -n "$ac_ct_AR" && break
5586done
5587
5588  if test "x$ac_ct_AR" = x; then
5589    AR="false"
5590  else
5591    case $cross_compiling:$ac_tool_warned in
5592yes:)
5593{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5594$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5595ac_tool_warned=yes ;;
5596esac
5597    AR=$ac_ct_AR
5598  fi
5599fi
5600
5601: ${AR=ar}
5602
5603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5604$as_echo_n "checking the archiver ($AR) interface... " >&6; }
5605if ${am_cv_ar_interface+:} false; then :
5606  $as_echo_n "(cached) " >&6
5607else
5608  ac_ext=c
5609ac_cpp='$CPP $CPPFLAGS'
5610ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5611ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5612ac_compiler_gnu=$ac_cv_c_compiler_gnu
5613
5614   am_cv_ar_interface=ar
5615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5616/* end confdefs.h.  */
5617int some_variable = 0;
5618_ACEOF
5619if ac_fn_c_try_compile "$LINENO"; then :
5620  am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5621      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5622  (eval $am_ar_try) 2>&5
5623  ac_status=$?
5624  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5625  test $ac_status = 0; }
5626      if test "$ac_status" -eq 0; then
5627        am_cv_ar_interface=ar
5628      else
5629        am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5630        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5631  (eval $am_ar_try) 2>&5
5632  ac_status=$?
5633  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5634  test $ac_status = 0; }
5635        if test "$ac_status" -eq 0; then
5636          am_cv_ar_interface=lib
5637        else
5638          am_cv_ar_interface=unknown
5639        fi
5640      fi
5641      rm -f conftest.lib libconftest.a
5642
5643fi
5644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5645   ac_ext=c
5646ac_cpp='$CPP $CPPFLAGS'
5647ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5648ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5649ac_compiler_gnu=$ac_cv_c_compiler_gnu
5650
5651fi
5652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5653$as_echo "$am_cv_ar_interface" >&6; }
5654
5655case $am_cv_ar_interface in
5656ar)
5657  ;;
5658lib)
5659  # Microsoft lib, so override with the ar-lib wrapper script.
5660  # FIXME: It is wrong to rewrite AR.
5661  # But if we don't then we get into trouble of one sort or another.
5662  # A longer-term fix would be to have automake use am__AR in this case,
5663  # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5664  # similar.
5665  AR="$am_aux_dir/ar-lib $AR"
5666  ;;
5667unknown)
5668  as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5669  ;;
5670esac
5671
5672
5673
5674
5675
5676PACKAGE_VERSION_MAJOR=$(echo $PACKAGE_VERSION | awk -F. '{print $1}')
5677PACKAGE_VERSION_MINOR=$(echo $PACKAGE_VERSION | awk -F. '{
5678                                                   sub("-.*","",$2); print $2}')
5679PACKAGE_VERSION_RELEASE=$(echo $PACKAGE_VERSION | awk -F. '{
5680                     sub("-.*","",$3); print $3 ~ /^[0-9]+$/ ? $3 : 0}')
5681
5682LIBBLKID_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE"
5683LIBBLKID_DATE="23-Jul-2020"
5684LIBBLKID_LT_MAJOR=1
5685LIBBLKID_LT_MINOR=1
5686LIBBLKID_LT_MICRO=0
5687LIBBLKID_VERSION_INFO=`expr $LIBBLKID_LT_MAJOR + $LIBBLKID_LT_MINOR`:$LIBBLKID_LT_MICRO:$LIBBLKID_LT_MINOR
5688
5689LIBUUID_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE"
5690LIBUUID_LT_MAJOR=1
5691LIBUUID_LT_MINOR=3
5692LIBUUID_LT_MICRO=0
5693LIBUUID_VERSION_INFO=`expr $LIBUUID_LT_MAJOR + $LIBUUID_LT_MINOR`:$LIBUUID_LT_MICRO:$LIBUUID_LT_MINOR
5694
5695LIBMOUNT_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE"
5696LIBMOUNT_LT_MAJOR=1
5697LIBMOUNT_LT_MINOR=1
5698LIBMOUNT_LT_MICRO=0
5699LIBMOUNT_VERSION_INFO=`expr $LIBMOUNT_LT_MAJOR + $LIBMOUNT_LT_MINOR`:$LIBMOUNT_LT_MICRO:$LIBMOUNT_LT_MINOR
5700
5701LIBSMARTCOLS_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE"
5702LIBSMARTCOLS_LT_MAJOR=1
5703LIBSMARTCOLS_LT_MINOR=1
5704LIBSMARTCOLS_LT_MICRO=0
5705LIBSMARTCOLS_VERSION_INFO=`expr $LIBSMARTCOLS_LT_MAJOR + $LIBSMARTCOLS_LT_MINOR`:$LIBSMARTCOLS_LT_MICRO:$LIBSMARTCOLS_LT_MINOR
5706
5707LIBFDISK_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE"
5708LIBFDISK_LT_MAJOR=1
5709LIBFDISK_LT_MINOR=1
5710LIBFDISK_LT_MICRO=0
5711LIBFDISK_VERSION_INFO=`expr $LIBFDISK_LT_MAJOR + $LIBFDISK_LT_MINOR`:$LIBFDISK_LT_MICRO:$LIBFDISK_LT_MINOR
5712
5713# Check whether exec_prefix=/usr:
5714case $exec_prefix:$prefix in #(
5715  NONE:NONE | NONE:/usr | /usr:*) :
5716    { $as_echo "$as_me:${as_lineno-$LINENO}: Default --exec-prefix detected." >&5
5717$as_echo "$as_me: Default --exec-prefix detected." >&6;}
5718   case $bindir in #(
5719  '${exec_prefix}/bin') :
5720    bindir=/bin;   { $as_echo "$as_me:${as_lineno-$LINENO}:   --bindir defaults to /bin" >&5
5721$as_echo "$as_me:   --bindir defaults to /bin" >&6;}   ;; #(
5722  *) :
5723     ;;
5724esac
5725   case $sbindir in #(
5726  '${exec_prefix}/sbin') :
5727    sbindir=/sbin; { $as_echo "$as_me:${as_lineno-$LINENO}:   --sbindir defaults to /sbin" >&5
5728$as_echo "$as_me:   --sbindir defaults to /sbin" >&6;} ;; #(
5729  *) :
5730     ;;
5731esac
5732   case $libdir in #(
5733  '${exec_prefix}/lib') :
5734    libdir=/lib;   { $as_echo "$as_me:${as_lineno-$LINENO}:   --libdir defaults to /lib" >&5
5735$as_echo "$as_me:   --libdir defaults to /lib" >&6;}   ;; #(
5736  *) :
5737     ;;
5738esac
5739   case $libdir in #(
5740  '${exec_prefix}/lib64') :
5741    libdir=/lib64; { $as_echo "$as_me:${as_lineno-$LINENO}:   --libdir defaults to /lib64" >&5
5742$as_echo "$as_me:   --libdir defaults to /lib64" >&6;}   ;; #(
5743  *) :
5744     ;;
5745esac
5746
5747 ;; #(
5748  *) :
5749     ;;
5750esac
5751
5752
5753# default for old versions without $runstatedir
5754if test x"$runstatedir" = x; then :
5755  runstatedir='${localstatedir}/run'
5756fi
5757
5758# our default if $localstatedir unchanged
5759case $localstatedir:$runstatedir in #(
5760  NONE:'${localstatedir}/run' | /var:'${localstatedir}/run' | NONE:'/run' ) :
5761    runstatedir=/run; { $as_echo "$as_me:${as_lineno-$LINENO}:   --runstatedir defaults to /run" >&5
5762$as_echo "$as_me:   --runstatedir defaults to /run" >&6;}
5763 ;; #(
5764  *) :
5765     ;;
5766esac
5767
5768
5769
5770
5771# The original default values of {bin,sbin,lib}dir
5772usrbin_execdir='${exec_prefix}/bin'
5773
5774
5775usrsbin_execdir='${exec_prefix}/sbin'
5776
5777
5778case $libdir in #(
5779  '${exec_prefix}/'* | '${prefix}/'* | /usr/* | "${prefix}"/* ) :
5780    usrlib_execdir=$libdir ;; #(
5781  *) :
5782    usrlib_execdir='${exec_prefix}'$libdir
5783 ;;
5784esac
5785
5786
5787# static configuration maintaned by packages (e.g. /usr/lib)
5788
5789if test "x$SYSCONFSTATICDIR" = x; then :
5790  sysconfstaticdir='${prefix}/lib'
5791else
5792  sysconfstaticdir=$SYSCONFSTATICDIR
5793fi
5794
5795
5796
5797
5798
5799   case $ac_cv_prog_cc_stdc in #(
5800  no) :
5801    ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
5802  *) :
5803    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5804$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5805if ${ac_cv_prog_cc_c99+:} false; then :
5806  $as_echo_n "(cached) " >&6
5807else
5808  ac_cv_prog_cc_c99=no
5809ac_save_CC=$CC
5810cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5811/* end confdefs.h.  */
5812#include <stdarg.h>
5813#include <stdbool.h>
5814#include <stdlib.h>
5815#include <wchar.h>
5816#include <stdio.h>
5817
5818// Check varargs macros.  These examples are taken from C99 6.10.3.5.
5819#define debug(...) fprintf (stderr, __VA_ARGS__)
5820#define showlist(...) puts (#__VA_ARGS__)
5821#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5822static void
5823test_varargs_macros (void)
5824{
5825  int x = 1234;
5826  int y = 5678;
5827  debug ("Flag");
5828  debug ("X = %d\n", x);
5829  showlist (The first, second, and third items.);
5830  report (x>y, "x is %d but y is %d", x, y);
5831}
5832
5833// Check long long types.
5834#define BIG64 18446744073709551615ull
5835#define BIG32 4294967295ul
5836#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5837#if !BIG_OK
5838  your preprocessor is broken;
5839#endif
5840#if BIG_OK
5841#else
5842  your preprocessor is broken;
5843#endif
5844static long long int bignum = -9223372036854775807LL;
5845static unsigned long long int ubignum = BIG64;
5846
5847struct incomplete_array
5848{
5849  int datasize;
5850  double data[];
5851};
5852
5853struct named_init {
5854  int number;
5855  const wchar_t *name;
5856  double average;
5857};
5858
5859typedef const char *ccp;
5860
5861static inline int
5862test_restrict (ccp restrict text)
5863{
5864  // See if C++-style comments work.
5865  // Iterate through items via the restricted pointer.
5866  // Also check for declarations in for loops.
5867  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5868    continue;
5869  return 0;
5870}
5871
5872// Check varargs and va_copy.
5873static void
5874test_varargs (const char *format, ...)
5875{
5876  va_list args;
5877  va_start (args, format);
5878  va_list args_copy;
5879  va_copy (args_copy, args);
5880
5881  const char *str;
5882  int number;
5883  float fnumber;
5884
5885  while (*format)
5886    {
5887      switch (*format++)
5888	{
5889	case 's': // string
5890	  str = va_arg (args_copy, const char *);
5891	  break;
5892	case 'd': // int
5893	  number = va_arg (args_copy, int);
5894	  break;
5895	case 'f': // float
5896	  fnumber = va_arg (args_copy, double);
5897	  break;
5898	default:
5899	  break;
5900	}
5901    }
5902  va_end (args_copy);
5903  va_end (args);
5904}
5905
5906int
5907main ()
5908{
5909
5910  // Check bool.
5911  _Bool success = false;
5912
5913  // Check restrict.
5914  if (test_restrict ("String literal") == 0)
5915    success = true;
5916  char *restrict newvar = "Another string";
5917
5918  // Check varargs.
5919  test_varargs ("s, d' f .", "string", 65, 34.234);
5920  test_varargs_macros ();
5921
5922  // Check flexible array members.
5923  struct incomplete_array *ia =
5924    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5925  ia->datasize = 10;
5926  for (int i = 0; i < ia->datasize; ++i)
5927    ia->data[i] = i * 1.234;
5928
5929  // Check named initializers.
5930  struct named_init ni = {
5931    .number = 34,
5932    .name = L"Test wide string",
5933    .average = 543.34343,
5934  };
5935
5936  ni.number = 58;
5937
5938  int dynamic_array[ni.number];
5939  dynamic_array[ni.number - 1] = 543;
5940
5941  // work around unused variable warnings
5942  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5943	  || dynamic_array[ni.number - 1] != 543);
5944
5945  ;
5946  return 0;
5947}
5948_ACEOF
5949for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5950do
5951  CC="$ac_save_CC $ac_arg"
5952  if ac_fn_c_try_compile "$LINENO"; then :
5953  ac_cv_prog_cc_c99=$ac_arg
5954fi
5955rm -f core conftest.err conftest.$ac_objext
5956  test "x$ac_cv_prog_cc_c99" != "xno" && break
5957done
5958rm -f conftest.$ac_ext
5959CC=$ac_save_CC
5960
5961fi
5962# AC_CACHE_VAL
5963case "x$ac_cv_prog_cc_c99" in
5964  x)
5965    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5966$as_echo "none needed" >&6; } ;;
5967  xno)
5968    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5969$as_echo "unsupported" >&6; } ;;
5970  *)
5971    CC="$CC $ac_cv_prog_cc_c99"
5972    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5973$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5974esac
5975if test "x$ac_cv_prog_cc_c99" != xno; then :
5976  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5977else
5978  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5979$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5980if ${ac_cv_prog_cc_c89+:} false; then :
5981  $as_echo_n "(cached) " >&6
5982else
5983  ac_cv_prog_cc_c89=no
5984ac_save_CC=$CC
5985cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5986/* end confdefs.h.  */
5987#include <stdarg.h>
5988#include <stdio.h>
5989struct stat;
5990/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5991struct buf { int x; };
5992FILE * (*rcsopen) (struct buf *, struct stat *, int);
5993static char *e (p, i)
5994     char **p;
5995     int i;
5996{
5997  return p[i];
5998}
5999static char *f (char * (*g) (char **, int), char **p, ...)
6000{
6001  char *s;
6002  va_list v;
6003  va_start (v,p);
6004  s = g (p, va_arg (v,int));
6005  va_end (v);
6006  return s;
6007}
6008
6009/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6010   function prototypes and stuff, but not '\xHH' hex character constants.
6011   These don't provoke an error unfortunately, instead are silently treated
6012   as 'x'.  The following induces an error, until -std is added to get
6013   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6014   array size at least.  It's necessary to write '\x00'==0 to get something
6015   that's true only with -std.  */
6016int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6017
6018/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6019   inside strings and character constants.  */
6020#define FOO(x) 'x'
6021int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6022
6023int test (int i, double x);
6024struct s1 {int (*f) (int a);};
6025struct s2 {int (*f) (double a);};
6026int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6027int argc;
6028char **argv;
6029int
6030main ()
6031{
6032return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6033  ;
6034  return 0;
6035}
6036_ACEOF
6037for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6038	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6039do
6040  CC="$ac_save_CC $ac_arg"
6041  if ac_fn_c_try_compile "$LINENO"; then :
6042  ac_cv_prog_cc_c89=$ac_arg
6043fi
6044rm -f core conftest.err conftest.$ac_objext
6045  test "x$ac_cv_prog_cc_c89" != "xno" && break
6046done
6047rm -f conftest.$ac_ext
6048CC=$ac_save_CC
6049
6050fi
6051# AC_CACHE_VAL
6052case "x$ac_cv_prog_cc_c89" in
6053  x)
6054    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6055$as_echo "none needed" >&6; } ;;
6056  xno)
6057    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6058$as_echo "unsupported" >&6; } ;;
6059  *)
6060    CC="$CC $ac_cv_prog_cc_c89"
6061    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6062$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6063esac
6064if test "x$ac_cv_prog_cc_c89" != xno; then :
6065  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
6066else
6067  ac_cv_prog_cc_stdc=no
6068fi
6069
6070fi
6071 ;;
6072esac
6073  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
6074$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
6075  if ${ac_cv_prog_cc_stdc+:} false; then :
6076  $as_echo_n "(cached) " >&6
6077fi
6078
6079  case $ac_cv_prog_cc_stdc in #(
6080  no) :
6081    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6082$as_echo "unsupported" >&6; } ;; #(
6083  '') :
6084    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6085$as_echo "none needed" >&6; } ;; #(
6086  *) :
6087    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
6088$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
6089esac
6090
6091for ac_prog in 'bison -y' byacc
6092do
6093  # Extract the first word of "$ac_prog", so it can be a program name with args.
6094set dummy $ac_prog; ac_word=$2
6095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6096$as_echo_n "checking for $ac_word... " >&6; }
6097if ${ac_cv_prog_YACC+:} false; then :
6098  $as_echo_n "(cached) " >&6
6099else
6100  if test -n "$YACC"; then
6101  ac_cv_prog_YACC="$YACC" # Let the user override the test.
6102else
6103as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104for as_dir in $PATH
6105do
6106  IFS=$as_save_IFS
6107  test -z "$as_dir" && as_dir=.
6108    for ac_exec_ext in '' $ac_executable_extensions; do
6109  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6110    ac_cv_prog_YACC="$ac_prog"
6111    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6112    break 2
6113  fi
6114done
6115  done
6116IFS=$as_save_IFS
6117
6118fi
6119fi
6120YACC=$ac_cv_prog_YACC
6121if test -n "$YACC"; then
6122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
6123$as_echo "$YACC" >&6; }
6124else
6125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6126$as_echo "no" >&6; }
6127fi
6128
6129
6130  test -n "$YACC" && break
6131done
6132test -n "$YACC" || YACC="yacc"
6133
6134# Make sure we can run config.sub.
6135$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6136  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6137
6138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6139$as_echo_n "checking build system type... " >&6; }
6140if ${ac_cv_build+:} false; then :
6141  $as_echo_n "(cached) " >&6
6142else
6143  ac_build_alias=$build_alias
6144test "x$ac_build_alias" = x &&
6145  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6146test "x$ac_build_alias" = x &&
6147  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6148ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6149  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6150
6151fi
6152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6153$as_echo "$ac_cv_build" >&6; }
6154case $ac_cv_build in
6155*-*-*) ;;
6156*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6157esac
6158build=$ac_cv_build
6159ac_save_IFS=$IFS; IFS='-'
6160set x $ac_cv_build
6161shift
6162build_cpu=$1
6163build_vendor=$2
6164shift; shift
6165# Remember, the first character of IFS is used to create $*,
6166# except with old shells:
6167build_os=$*
6168IFS=$ac_save_IFS
6169case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6170
6171
6172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6173$as_echo_n "checking host system type... " >&6; }
6174if ${ac_cv_host+:} false; then :
6175  $as_echo_n "(cached) " >&6
6176else
6177  if test "x$host_alias" = x; then
6178  ac_cv_host=$ac_cv_build
6179else
6180  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6181    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6182fi
6183
6184fi
6185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6186$as_echo "$ac_cv_host" >&6; }
6187case $ac_cv_host in
6188*-*-*) ;;
6189*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6190esac
6191host=$ac_cv_host
6192ac_save_IFS=$IFS; IFS='-'
6193set x $ac_cv_host
6194shift
6195host_cpu=$1
6196host_vendor=$2
6197shift; shift
6198# Remember, the first character of IFS is used to create $*,
6199# except with old shells:
6200host_os=$*
6201IFS=$ac_save_IFS
6202case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6203
6204
6205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6206$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6207if ${ac_cv_c_const+:} false; then :
6208  $as_echo_n "(cached) " >&6
6209else
6210  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6211/* end confdefs.h.  */
6212
6213int
6214main ()
6215{
6216
6217#ifndef __cplusplus
6218  /* Ultrix mips cc rejects this sort of thing.  */
6219  typedef int charset[2];
6220  const charset cs = { 0, 0 };
6221  /* SunOS 4.1.1 cc rejects this.  */
6222  char const *const *pcpcc;
6223  char **ppc;
6224  /* NEC SVR4.0.2 mips cc rejects this.  */
6225  struct point {int x, y;};
6226  static struct point const zero = {0,0};
6227  /* AIX XL C 1.02.0.0 rejects this.
6228     It does not let you subtract one const X* pointer from another in
6229     an arm of an if-expression whose if-part is not a constant
6230     expression */
6231  const char *g = "string";
6232  pcpcc = &g + (g ? g-g : 0);
6233  /* HPUX 7.0 cc rejects these. */
6234  ++pcpcc;
6235  ppc = (char**) pcpcc;
6236  pcpcc = (char const *const *) ppc;
6237  { /* SCO 3.2v4 cc rejects this sort of thing.  */
6238    char tx;
6239    char *t = &tx;
6240    char const *s = 0 ? (char *) 0 : (char const *) 0;
6241
6242    *t++ = 0;
6243    if (s) return 0;
6244  }
6245  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
6246    int x[] = {25, 17};
6247    const int *foo = &x[0];
6248    ++foo;
6249  }
6250  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6251    typedef const int *iptr;
6252    iptr p = 0;
6253    ++p;
6254  }
6255  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
6256       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6257    struct s { int j; const int *ap[3]; } bx;
6258    struct s *b = &bx; b->j = 5;
6259  }
6260  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6261    const int foo = 10;
6262    if (!foo) return 0;
6263  }
6264  return !cs[0] && !zero.x;
6265#endif
6266
6267  ;
6268  return 0;
6269}
6270_ACEOF
6271if ac_fn_c_try_compile "$LINENO"; then :
6272  ac_cv_c_const=yes
6273else
6274  ac_cv_c_const=no
6275fi
6276rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6277fi
6278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6279$as_echo "$ac_cv_c_const" >&6; }
6280if test $ac_cv_c_const = no; then
6281
6282$as_echo "#define const /**/" >>confdefs.h
6283
6284fi
6285
6286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
6287$as_echo_n "checking for working volatile... " >&6; }
6288if ${ac_cv_c_volatile+:} false; then :
6289  $as_echo_n "(cached) " >&6
6290else
6291  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6292/* end confdefs.h.  */
6293
6294int
6295main ()
6296{
6297
6298volatile int x;
6299int * volatile y = (int *) 0;
6300return !x && !y;
6301  ;
6302  return 0;
6303}
6304_ACEOF
6305if ac_fn_c_try_compile "$LINENO"; then :
6306  ac_cv_c_volatile=yes
6307else
6308  ac_cv_c_volatile=no
6309fi
6310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6311fi
6312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
6313$as_echo "$ac_cv_c_volatile" >&6; }
6314if test $ac_cv_c_volatile = no; then
6315
6316$as_echo "#define volatile /**/" >>confdefs.h
6317
6318fi
6319
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
6321$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
6322if ${ac_cv_c_bigendian+:} false; then :
6323  $as_echo_n "(cached) " >&6
6324else
6325  ac_cv_c_bigendian=unknown
6326    # See if we're dealing with a universal compiler.
6327    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6328/* end confdefs.h.  */
6329#ifndef __APPLE_CC__
6330	       not a universal capable compiler
6331	     #endif
6332	     typedef int dummy;
6333
6334_ACEOF
6335if ac_fn_c_try_compile "$LINENO"; then :
6336
6337	# Check for potential -arch flags.  It is not universal unless
6338	# there are at least two -arch flags with different values.
6339	ac_arch=
6340	ac_prev=
6341	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
6342	 if test -n "$ac_prev"; then
6343	   case $ac_word in
6344	     i?86 | x86_64 | ppc | ppc64)
6345	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
6346		 ac_arch=$ac_word
6347	       else
6348		 ac_cv_c_bigendian=universal
6349		 break
6350	       fi
6351	       ;;
6352	   esac
6353	   ac_prev=
6354	 elif test "x$ac_word" = "x-arch"; then
6355	   ac_prev=arch
6356	 fi
6357       done
6358fi
6359rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6360    if test $ac_cv_c_bigendian = unknown; then
6361      # See if sys/param.h defines the BYTE_ORDER macro.
6362      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6363/* end confdefs.h.  */
6364#include <sys/types.h>
6365	     #include <sys/param.h>
6366
6367int
6368main ()
6369{
6370#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6371		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6372		     && LITTLE_ENDIAN)
6373	      bogus endian macros
6374	     #endif
6375
6376  ;
6377  return 0;
6378}
6379_ACEOF
6380if ac_fn_c_try_compile "$LINENO"; then :
6381  # It does; now see whether it defined to BIG_ENDIAN or not.
6382	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6383/* end confdefs.h.  */
6384#include <sys/types.h>
6385		#include <sys/param.h>
6386
6387int
6388main ()
6389{
6390#if BYTE_ORDER != BIG_ENDIAN
6391		 not big endian
6392		#endif
6393
6394  ;
6395  return 0;
6396}
6397_ACEOF
6398if ac_fn_c_try_compile "$LINENO"; then :
6399  ac_cv_c_bigendian=yes
6400else
6401  ac_cv_c_bigendian=no
6402fi
6403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6404fi
6405rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6406    fi
6407    if test $ac_cv_c_bigendian = unknown; then
6408      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6409      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6410/* end confdefs.h.  */
6411#include <limits.h>
6412
6413int
6414main ()
6415{
6416#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6417	      bogus endian macros
6418	     #endif
6419
6420  ;
6421  return 0;
6422}
6423_ACEOF
6424if ac_fn_c_try_compile "$LINENO"; then :
6425  # It does; now see whether it defined to _BIG_ENDIAN or not.
6426	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6427/* end confdefs.h.  */
6428#include <limits.h>
6429
6430int
6431main ()
6432{
6433#ifndef _BIG_ENDIAN
6434		 not big endian
6435		#endif
6436
6437  ;
6438  return 0;
6439}
6440_ACEOF
6441if ac_fn_c_try_compile "$LINENO"; then :
6442  ac_cv_c_bigendian=yes
6443else
6444  ac_cv_c_bigendian=no
6445fi
6446rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6447fi
6448rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6449    fi
6450    if test $ac_cv_c_bigendian = unknown; then
6451      # Compile a test program.
6452      if test "$cross_compiling" = yes; then :
6453  # Try to guess by grepping values from an object file.
6454	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6455/* end confdefs.h.  */
6456short int ascii_mm[] =
6457		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6458		short int ascii_ii[] =
6459		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6460		int use_ascii (int i) {
6461		  return ascii_mm[i] + ascii_ii[i];
6462		}
6463		short int ebcdic_ii[] =
6464		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6465		short int ebcdic_mm[] =
6466		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6467		int use_ebcdic (int i) {
6468		  return ebcdic_mm[i] + ebcdic_ii[i];
6469		}
6470		extern int foo;
6471
6472int
6473main ()
6474{
6475return use_ascii (foo) == use_ebcdic (foo);
6476  ;
6477  return 0;
6478}
6479_ACEOF
6480if ac_fn_c_try_compile "$LINENO"; then :
6481  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
6482	      ac_cv_c_bigendian=yes
6483	    fi
6484	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6485	      if test "$ac_cv_c_bigendian" = unknown; then
6486		ac_cv_c_bigendian=no
6487	      else
6488		# finding both strings is unlikely to happen, but who knows?
6489		ac_cv_c_bigendian=unknown
6490	      fi
6491	    fi
6492fi
6493rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6494else
6495  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6496/* end confdefs.h.  */
6497$ac_includes_default
6498int
6499main ()
6500{
6501
6502	     /* Are we little or big endian?  From Harbison&Steele.  */
6503	     union
6504	     {
6505	       long int l;
6506	       char c[sizeof (long int)];
6507	     } u;
6508	     u.l = 1;
6509	     return u.c[sizeof (long int) - 1] == 1;
6510
6511  ;
6512  return 0;
6513}
6514_ACEOF
6515if ac_fn_c_try_run "$LINENO"; then :
6516  ac_cv_c_bigendian=no
6517else
6518  ac_cv_c_bigendian=yes
6519fi
6520rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6521  conftest.$ac_objext conftest.beam conftest.$ac_ext
6522fi
6523
6524    fi
6525fi
6526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6527$as_echo "$ac_cv_c_bigendian" >&6; }
6528 case $ac_cv_c_bigendian in #(
6529   yes)
6530     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6531;; #(
6532   no)
6533      ;; #(
6534   universal)
6535
6536$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6537
6538     ;; #(
6539   *)
6540     as_fn_error $? "unknown endianness
6541 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6542 esac
6543
6544
6545
6546
6547    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fno-common" >&5
6548$as_echo_n "checking whether compiler handles -fno-common... " >&6; }
6549if ${ul_cv_warn__fno_common+:} false; then :
6550  $as_echo_n "(cached) " >&6
6551else
6552
6553    # store AC_LANG_WERROR status, then turn it on
6554    save_ac_c_werror_flag="${ac_c_werror_flag}"
6555
6556ac_c_werror_flag=yes
6557
6558    ul_save_CPPFLAGS="$CPPFLAGS"
6559    CPPFLAGS="-Werror ${CPPFLAGS} -fno-common"
6560    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6561/* end confdefs.h.  */
6562
6563int
6564main ()
6565{
6566
6567  ;
6568  return 0;
6569}
6570_ACEOF
6571if ac_fn_c_try_cpp "$LINENO"; then :
6572  ul_cv_warn__fno_common=yes
6573else
6574  ul_cv_warn__fno_common=no
6575fi
6576rm -f conftest.err conftest.i conftest.$ac_ext
6577    # restore AC_LANG_WERROR
6578    ac_c_werror_flag="${save_ac_c_werror_flag}"
6579
6580    CPPFLAGS="$ul_save_CPPFLAGS"
6581
6582fi
6583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__fno_common" >&5
6584$as_echo "$ul_cv_warn__fno_common" >&6; }
6585  if test "x$ul_cv_warn__fno_common" = xyes; then :
6586  as_fn_append WARN_CFLAGS " -fno-common"
6587fi
6588
6589
6590
6591    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wall" >&5
6592$as_echo_n "checking whether compiler handles -Wall... " >&6; }
6593if ${ul_cv_warn__Wall+:} false; then :
6594  $as_echo_n "(cached) " >&6
6595else
6596
6597    # store AC_LANG_WERROR status, then turn it on
6598    save_ac_c_werror_flag="${ac_c_werror_flag}"
6599
6600ac_c_werror_flag=yes
6601
6602    ul_save_CPPFLAGS="$CPPFLAGS"
6603    CPPFLAGS="-Werror ${CPPFLAGS} -Wall"
6604    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6605/* end confdefs.h.  */
6606
6607int
6608main ()
6609{
6610
6611  ;
6612  return 0;
6613}
6614_ACEOF
6615if ac_fn_c_try_cpp "$LINENO"; then :
6616  ul_cv_warn__Wall=yes
6617else
6618  ul_cv_warn__Wall=no
6619fi
6620rm -f conftest.err conftest.i conftest.$ac_ext
6621    # restore AC_LANG_WERROR
6622    ac_c_werror_flag="${save_ac_c_werror_flag}"
6623
6624    CPPFLAGS="$ul_save_CPPFLAGS"
6625
6626fi
6627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wall" >&5
6628$as_echo "$ul_cv_warn__Wall" >&6; }
6629  if test "x$ul_cv_warn__Wall" = xyes; then :
6630  as_fn_append WARN_CFLAGS " -Wall"
6631fi
6632
6633
6634
6635    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wextra" >&5
6636$as_echo_n "checking whether compiler handles -Wextra... " >&6; }
6637if ${ul_cv_warn__Wextra+:} false; then :
6638  $as_echo_n "(cached) " >&6
6639else
6640
6641    # store AC_LANG_WERROR status, then turn it on
6642    save_ac_c_werror_flag="${ac_c_werror_flag}"
6643
6644ac_c_werror_flag=yes
6645
6646    ul_save_CPPFLAGS="$CPPFLAGS"
6647    CPPFLAGS="-Werror ${CPPFLAGS} -Wextra"
6648    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6649/* end confdefs.h.  */
6650
6651int
6652main ()
6653{
6654
6655  ;
6656  return 0;
6657}
6658_ACEOF
6659if ac_fn_c_try_cpp "$LINENO"; then :
6660  ul_cv_warn__Wextra=yes
6661else
6662  ul_cv_warn__Wextra=no
6663fi
6664rm -f conftest.err conftest.i conftest.$ac_ext
6665    # restore AC_LANG_WERROR
6666    ac_c_werror_flag="${save_ac_c_werror_flag}"
6667
6668    CPPFLAGS="$ul_save_CPPFLAGS"
6669
6670fi
6671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wextra" >&5
6672$as_echo "$ul_cv_warn__Wextra" >&6; }
6673  if test "x$ul_cv_warn__Wextra" = xyes; then :
6674  as_fn_append WARN_CFLAGS " -Wextra"
6675fi
6676
6677
6678
6679    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wextra-semi" >&5
6680$as_echo_n "checking whether compiler handles -Wextra-semi... " >&6; }
6681if ${ul_cv_warn__Wextra_semi+:} false; then :
6682  $as_echo_n "(cached) " >&6
6683else
6684
6685    # store AC_LANG_WERROR status, then turn it on
6686    save_ac_c_werror_flag="${ac_c_werror_flag}"
6687
6688ac_c_werror_flag=yes
6689
6690    ul_save_CPPFLAGS="$CPPFLAGS"
6691    CPPFLAGS="-Werror ${CPPFLAGS} -Wextra-semi"
6692    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6693/* end confdefs.h.  */
6694
6695int
6696main ()
6697{
6698
6699  ;
6700  return 0;
6701}
6702_ACEOF
6703if ac_fn_c_try_cpp "$LINENO"; then :
6704  ul_cv_warn__Wextra_semi=yes
6705else
6706  ul_cv_warn__Wextra_semi=no
6707fi
6708rm -f conftest.err conftest.i conftest.$ac_ext
6709    # restore AC_LANG_WERROR
6710    ac_c_werror_flag="${save_ac_c_werror_flag}"
6711
6712    CPPFLAGS="$ul_save_CPPFLAGS"
6713
6714fi
6715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wextra_semi" >&5
6716$as_echo "$ul_cv_warn__Wextra_semi" >&6; }
6717  if test "x$ul_cv_warn__Wextra_semi" = xyes; then :
6718  as_fn_append WARN_CFLAGS " -Wextra-semi"
6719fi
6720
6721
6722
6723    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wembedded-directive" >&5
6724$as_echo_n "checking whether compiler handles -Wembedded-directive... " >&6; }
6725if ${ul_cv_warn__Wembedded_directive+:} false; then :
6726  $as_echo_n "(cached) " >&6
6727else
6728
6729    # store AC_LANG_WERROR status, then turn it on
6730    save_ac_c_werror_flag="${ac_c_werror_flag}"
6731
6732ac_c_werror_flag=yes
6733
6734    ul_save_CPPFLAGS="$CPPFLAGS"
6735    CPPFLAGS="-Werror ${CPPFLAGS} -Wembedded-directive"
6736    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6737/* end confdefs.h.  */
6738
6739int
6740main ()
6741{
6742
6743  ;
6744  return 0;
6745}
6746_ACEOF
6747if ac_fn_c_try_cpp "$LINENO"; then :
6748  ul_cv_warn__Wembedded_directive=yes
6749else
6750  ul_cv_warn__Wembedded_directive=no
6751fi
6752rm -f conftest.err conftest.i conftest.$ac_ext
6753    # restore AC_LANG_WERROR
6754    ac_c_werror_flag="${save_ac_c_werror_flag}"
6755
6756    CPPFLAGS="$ul_save_CPPFLAGS"
6757
6758fi
6759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wembedded_directive" >&5
6760$as_echo "$ul_cv_warn__Wembedded_directive" >&6; }
6761  if test "x$ul_cv_warn__Wembedded_directive" = xyes; then :
6762  as_fn_append WARN_CFLAGS " -Wembedded-directive"
6763fi
6764
6765
6766
6767    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wmissing-declarations" >&5
6768$as_echo_n "checking whether compiler handles -Wmissing-declarations... " >&6; }
6769if ${ul_cv_warn__Wmissing_declarations+:} false; then :
6770  $as_echo_n "(cached) " >&6
6771else
6772
6773    # store AC_LANG_WERROR status, then turn it on
6774    save_ac_c_werror_flag="${ac_c_werror_flag}"
6775
6776ac_c_werror_flag=yes
6777
6778    ul_save_CPPFLAGS="$CPPFLAGS"
6779    CPPFLAGS="-Werror ${CPPFLAGS} -Wmissing-declarations"
6780    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6781/* end confdefs.h.  */
6782
6783int
6784main ()
6785{
6786
6787  ;
6788  return 0;
6789}
6790_ACEOF
6791if ac_fn_c_try_cpp "$LINENO"; then :
6792  ul_cv_warn__Wmissing_declarations=yes
6793else
6794  ul_cv_warn__Wmissing_declarations=no
6795fi
6796rm -f conftest.err conftest.i conftest.$ac_ext
6797    # restore AC_LANG_WERROR
6798    ac_c_werror_flag="${save_ac_c_werror_flag}"
6799
6800    CPPFLAGS="$ul_save_CPPFLAGS"
6801
6802fi
6803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wmissing_declarations" >&5
6804$as_echo "$ul_cv_warn__Wmissing_declarations" >&6; }
6805  if test "x$ul_cv_warn__Wmissing_declarations" = xyes; then :
6806  as_fn_append WARN_CFLAGS " -Wmissing-declarations"
6807fi
6808
6809
6810
6811    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wmissing-parameter-type" >&5
6812$as_echo_n "checking whether compiler handles -Wmissing-parameter-type... " >&6; }
6813if ${ul_cv_warn__Wmissing_parameter_type+:} false; then :
6814  $as_echo_n "(cached) " >&6
6815else
6816
6817    # store AC_LANG_WERROR status, then turn it on
6818    save_ac_c_werror_flag="${ac_c_werror_flag}"
6819
6820ac_c_werror_flag=yes
6821
6822    ul_save_CPPFLAGS="$CPPFLAGS"
6823    CPPFLAGS="-Werror ${CPPFLAGS} -Wmissing-parameter-type"
6824    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6825/* end confdefs.h.  */
6826
6827int
6828main ()
6829{
6830
6831  ;
6832  return 0;
6833}
6834_ACEOF
6835if ac_fn_c_try_cpp "$LINENO"; then :
6836  ul_cv_warn__Wmissing_parameter_type=yes
6837else
6838  ul_cv_warn__Wmissing_parameter_type=no
6839fi
6840rm -f conftest.err conftest.i conftest.$ac_ext
6841    # restore AC_LANG_WERROR
6842    ac_c_werror_flag="${save_ac_c_werror_flag}"
6843
6844    CPPFLAGS="$ul_save_CPPFLAGS"
6845
6846fi
6847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wmissing_parameter_type" >&5
6848$as_echo "$ul_cv_warn__Wmissing_parameter_type" >&6; }
6849  if test "x$ul_cv_warn__Wmissing_parameter_type" = xyes; then :
6850  as_fn_append WARN_CFLAGS " -Wmissing-parameter-type"
6851fi
6852
6853
6854
6855    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wmissing-prototypes" >&5
6856$as_echo_n "checking whether compiler handles -Wmissing-prototypes... " >&6; }
6857if ${ul_cv_warn__Wmissing_prototypes+:} false; then :
6858  $as_echo_n "(cached) " >&6
6859else
6860
6861    # store AC_LANG_WERROR status, then turn it on
6862    save_ac_c_werror_flag="${ac_c_werror_flag}"
6863
6864ac_c_werror_flag=yes
6865
6866    ul_save_CPPFLAGS="$CPPFLAGS"
6867    CPPFLAGS="-Werror ${CPPFLAGS} -Wmissing-prototypes"
6868    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6869/* end confdefs.h.  */
6870
6871int
6872main ()
6873{
6874
6875  ;
6876  return 0;
6877}
6878_ACEOF
6879if ac_fn_c_try_cpp "$LINENO"; then :
6880  ul_cv_warn__Wmissing_prototypes=yes
6881else
6882  ul_cv_warn__Wmissing_prototypes=no
6883fi
6884rm -f conftest.err conftest.i conftest.$ac_ext
6885    # restore AC_LANG_WERROR
6886    ac_c_werror_flag="${save_ac_c_werror_flag}"
6887
6888    CPPFLAGS="$ul_save_CPPFLAGS"
6889
6890fi
6891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wmissing_prototypes" >&5
6892$as_echo "$ul_cv_warn__Wmissing_prototypes" >&6; }
6893  if test "x$ul_cv_warn__Wmissing_prototypes" = xyes; then :
6894  as_fn_append WARN_CFLAGS " -Wmissing-prototypes"
6895fi
6896
6897
6898
6899    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-missing-field-initializers" >&5
6900$as_echo_n "checking whether compiler handles -Wno-missing-field-initializers... " >&6; }
6901if ${ul_cv_warn__Wno_missing_field_initializers+:} false; then :
6902  $as_echo_n "(cached) " >&6
6903else
6904
6905    # store AC_LANG_WERROR status, then turn it on
6906    save_ac_c_werror_flag="${ac_c_werror_flag}"
6907
6908ac_c_werror_flag=yes
6909
6910    ul_save_CPPFLAGS="$CPPFLAGS"
6911    CPPFLAGS="-Werror ${CPPFLAGS} -Wno-missing-field-initializers"
6912    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6913/* end confdefs.h.  */
6914
6915int
6916main ()
6917{
6918
6919  ;
6920  return 0;
6921}
6922_ACEOF
6923if ac_fn_c_try_cpp "$LINENO"; then :
6924  ul_cv_warn__Wno_missing_field_initializers=yes
6925else
6926  ul_cv_warn__Wno_missing_field_initializers=no
6927fi
6928rm -f conftest.err conftest.i conftest.$ac_ext
6929    # restore AC_LANG_WERROR
6930    ac_c_werror_flag="${save_ac_c_werror_flag}"
6931
6932    CPPFLAGS="$ul_save_CPPFLAGS"
6933
6934fi
6935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wno_missing_field_initializers" >&5
6936$as_echo "$ul_cv_warn__Wno_missing_field_initializers" >&6; }
6937  if test "x$ul_cv_warn__Wno_missing_field_initializers" = xyes; then :
6938  as_fn_append WARN_CFLAGS " -Wno-missing-field-initializers"
6939fi
6940
6941
6942
6943    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wredundant-decls" >&5
6944$as_echo_n "checking whether compiler handles -Wredundant-decls... " >&6; }
6945if ${ul_cv_warn__Wredundant_decls+:} false; then :
6946  $as_echo_n "(cached) " >&6
6947else
6948
6949    # store AC_LANG_WERROR status, then turn it on
6950    save_ac_c_werror_flag="${ac_c_werror_flag}"
6951
6952ac_c_werror_flag=yes
6953
6954    ul_save_CPPFLAGS="$CPPFLAGS"
6955    CPPFLAGS="-Werror ${CPPFLAGS} -Wredundant-decls"
6956    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6957/* end confdefs.h.  */
6958
6959int
6960main ()
6961{
6962
6963  ;
6964  return 0;
6965}
6966_ACEOF
6967if ac_fn_c_try_cpp "$LINENO"; then :
6968  ul_cv_warn__Wredundant_decls=yes
6969else
6970  ul_cv_warn__Wredundant_decls=no
6971fi
6972rm -f conftest.err conftest.i conftest.$ac_ext
6973    # restore AC_LANG_WERROR
6974    ac_c_werror_flag="${save_ac_c_werror_flag}"
6975
6976    CPPFLAGS="$ul_save_CPPFLAGS"
6977
6978fi
6979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wredundant_decls" >&5
6980$as_echo "$ul_cv_warn__Wredundant_decls" >&6; }
6981  if test "x$ul_cv_warn__Wredundant_decls" = xyes; then :
6982  as_fn_append WARN_CFLAGS " -Wredundant-decls"
6983fi
6984
6985
6986
6987    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wsign-compare" >&5
6988$as_echo_n "checking whether compiler handles -Wsign-compare... " >&6; }
6989if ${ul_cv_warn__Wsign_compare+:} false; then :
6990  $as_echo_n "(cached) " >&6
6991else
6992
6993    # store AC_LANG_WERROR status, then turn it on
6994    save_ac_c_werror_flag="${ac_c_werror_flag}"
6995
6996ac_c_werror_flag=yes
6997
6998    ul_save_CPPFLAGS="$CPPFLAGS"
6999    CPPFLAGS="-Werror ${CPPFLAGS} -Wsign-compare"
7000    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7001/* end confdefs.h.  */
7002
7003int
7004main ()
7005{
7006
7007  ;
7008  return 0;
7009}
7010_ACEOF
7011if ac_fn_c_try_cpp "$LINENO"; then :
7012  ul_cv_warn__Wsign_compare=yes
7013else
7014  ul_cv_warn__Wsign_compare=no
7015fi
7016rm -f conftest.err conftest.i conftest.$ac_ext
7017    # restore AC_LANG_WERROR
7018    ac_c_werror_flag="${save_ac_c_werror_flag}"
7019
7020    CPPFLAGS="$ul_save_CPPFLAGS"
7021
7022fi
7023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wsign_compare" >&5
7024$as_echo "$ul_cv_warn__Wsign_compare" >&6; }
7025  if test "x$ul_cv_warn__Wsign_compare" = xyes; then :
7026  as_fn_append WARN_CFLAGS " -Wsign-compare"
7027fi
7028
7029
7030
7031    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wtype-limits" >&5
7032$as_echo_n "checking whether compiler handles -Wtype-limits... " >&6; }
7033if ${ul_cv_warn__Wtype_limits+:} false; then :
7034  $as_echo_n "(cached) " >&6
7035else
7036
7037    # store AC_LANG_WERROR status, then turn it on
7038    save_ac_c_werror_flag="${ac_c_werror_flag}"
7039
7040ac_c_werror_flag=yes
7041
7042    ul_save_CPPFLAGS="$CPPFLAGS"
7043    CPPFLAGS="-Werror ${CPPFLAGS} -Wtype-limits"
7044    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7045/* end confdefs.h.  */
7046
7047int
7048main ()
7049{
7050
7051  ;
7052  return 0;
7053}
7054_ACEOF
7055if ac_fn_c_try_cpp "$LINENO"; then :
7056  ul_cv_warn__Wtype_limits=yes
7057else
7058  ul_cv_warn__Wtype_limits=no
7059fi
7060rm -f conftest.err conftest.i conftest.$ac_ext
7061    # restore AC_LANG_WERROR
7062    ac_c_werror_flag="${save_ac_c_werror_flag}"
7063
7064    CPPFLAGS="$ul_save_CPPFLAGS"
7065
7066fi
7067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wtype_limits" >&5
7068$as_echo "$ul_cv_warn__Wtype_limits" >&6; }
7069  if test "x$ul_cv_warn__Wtype_limits" = xyes; then :
7070  as_fn_append WARN_CFLAGS " -Wtype-limits"
7071fi
7072
7073
7074
7075    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wuninitialized" >&5
7076$as_echo_n "checking whether compiler handles -Wuninitialized... " >&6; }
7077if ${ul_cv_warn__Wuninitialized+:} false; then :
7078  $as_echo_n "(cached) " >&6
7079else
7080
7081    # store AC_LANG_WERROR status, then turn it on
7082    save_ac_c_werror_flag="${ac_c_werror_flag}"
7083
7084ac_c_werror_flag=yes
7085
7086    ul_save_CPPFLAGS="$CPPFLAGS"
7087    CPPFLAGS="-Werror ${CPPFLAGS} -Wuninitialized"
7088    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7089/* end confdefs.h.  */
7090
7091int
7092main ()
7093{
7094
7095  ;
7096  return 0;
7097}
7098_ACEOF
7099if ac_fn_c_try_cpp "$LINENO"; then :
7100  ul_cv_warn__Wuninitialized=yes
7101else
7102  ul_cv_warn__Wuninitialized=no
7103fi
7104rm -f conftest.err conftest.i conftest.$ac_ext
7105    # restore AC_LANG_WERROR
7106    ac_c_werror_flag="${save_ac_c_werror_flag}"
7107
7108    CPPFLAGS="$ul_save_CPPFLAGS"
7109
7110fi
7111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wuninitialized" >&5
7112$as_echo "$ul_cv_warn__Wuninitialized" >&6; }
7113  if test "x$ul_cv_warn__Wuninitialized" = xyes; then :
7114  as_fn_append WARN_CFLAGS " -Wuninitialized"
7115fi
7116
7117
7118
7119    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wunused-but-set-parameter" >&5
7120$as_echo_n "checking whether compiler handles -Wunused-but-set-parameter... " >&6; }
7121if ${ul_cv_warn__Wunused_but_set_parameter+:} false; then :
7122  $as_echo_n "(cached) " >&6
7123else
7124
7125    # store AC_LANG_WERROR status, then turn it on
7126    save_ac_c_werror_flag="${ac_c_werror_flag}"
7127
7128ac_c_werror_flag=yes
7129
7130    ul_save_CPPFLAGS="$CPPFLAGS"
7131    CPPFLAGS="-Werror ${CPPFLAGS} -Wunused-but-set-parameter"
7132    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7133/* end confdefs.h.  */
7134
7135int
7136main ()
7137{
7138
7139  ;
7140  return 0;
7141}
7142_ACEOF
7143if ac_fn_c_try_cpp "$LINENO"; then :
7144  ul_cv_warn__Wunused_but_set_parameter=yes
7145else
7146  ul_cv_warn__Wunused_but_set_parameter=no
7147fi
7148rm -f conftest.err conftest.i conftest.$ac_ext
7149    # restore AC_LANG_WERROR
7150    ac_c_werror_flag="${save_ac_c_werror_flag}"
7151
7152    CPPFLAGS="$ul_save_CPPFLAGS"
7153
7154fi
7155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wunused_but_set_parameter" >&5
7156$as_echo "$ul_cv_warn__Wunused_but_set_parameter" >&6; }
7157  if test "x$ul_cv_warn__Wunused_but_set_parameter" = xyes; then :
7158  as_fn_append WARN_CFLAGS " -Wunused-but-set-parameter"
7159fi
7160
7161
7162
7163    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wunused-but-set-variable" >&5
7164$as_echo_n "checking whether compiler handles -Wunused-but-set-variable... " >&6; }
7165if ${ul_cv_warn__Wunused_but_set_variable+:} false; then :
7166  $as_echo_n "(cached) " >&6
7167else
7168
7169    # store AC_LANG_WERROR status, then turn it on
7170    save_ac_c_werror_flag="${ac_c_werror_flag}"
7171
7172ac_c_werror_flag=yes
7173
7174    ul_save_CPPFLAGS="$CPPFLAGS"
7175    CPPFLAGS="-Werror ${CPPFLAGS} -Wunused-but-set-variable"
7176    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7177/* end confdefs.h.  */
7178
7179int
7180main ()
7181{
7182
7183  ;
7184  return 0;
7185}
7186_ACEOF
7187if ac_fn_c_try_cpp "$LINENO"; then :
7188  ul_cv_warn__Wunused_but_set_variable=yes
7189else
7190  ul_cv_warn__Wunused_but_set_variable=no
7191fi
7192rm -f conftest.err conftest.i conftest.$ac_ext
7193    # restore AC_LANG_WERROR
7194    ac_c_werror_flag="${save_ac_c_werror_flag}"
7195
7196    CPPFLAGS="$ul_save_CPPFLAGS"
7197
7198fi
7199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wunused_but_set_variable" >&5
7200$as_echo "$ul_cv_warn__Wunused_but_set_variable" >&6; }
7201  if test "x$ul_cv_warn__Wunused_but_set_variable" = xyes; then :
7202  as_fn_append WARN_CFLAGS " -Wunused-but-set-variable"
7203fi
7204
7205
7206
7207    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wunused-parameter" >&5
7208$as_echo_n "checking whether compiler handles -Wunused-parameter... " >&6; }
7209if ${ul_cv_warn__Wunused_parameter+:} false; then :
7210  $as_echo_n "(cached) " >&6
7211else
7212
7213    # store AC_LANG_WERROR status, then turn it on
7214    save_ac_c_werror_flag="${ac_c_werror_flag}"
7215
7216ac_c_werror_flag=yes
7217
7218    ul_save_CPPFLAGS="$CPPFLAGS"
7219    CPPFLAGS="-Werror ${CPPFLAGS} -Wunused-parameter"
7220    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7221/* end confdefs.h.  */
7222
7223int
7224main ()
7225{
7226
7227  ;
7228  return 0;
7229}
7230_ACEOF
7231if ac_fn_c_try_cpp "$LINENO"; then :
7232  ul_cv_warn__Wunused_parameter=yes
7233else
7234  ul_cv_warn__Wunused_parameter=no
7235fi
7236rm -f conftest.err conftest.i conftest.$ac_ext
7237    # restore AC_LANG_WERROR
7238    ac_c_werror_flag="${save_ac_c_werror_flag}"
7239
7240    CPPFLAGS="$ul_save_CPPFLAGS"
7241
7242fi
7243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wunused_parameter" >&5
7244$as_echo "$ul_cv_warn__Wunused_parameter" >&6; }
7245  if test "x$ul_cv_warn__Wunused_parameter" = xyes; then :
7246  as_fn_append WARN_CFLAGS " -Wunused-parameter"
7247fi
7248
7249
7250
7251    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wunused-result" >&5
7252$as_echo_n "checking whether compiler handles -Wunused-result... " >&6; }
7253if ${ul_cv_warn__Wunused_result+:} false; then :
7254  $as_echo_n "(cached) " >&6
7255else
7256
7257    # store AC_LANG_WERROR status, then turn it on
7258    save_ac_c_werror_flag="${ac_c_werror_flag}"
7259
7260ac_c_werror_flag=yes
7261
7262    ul_save_CPPFLAGS="$CPPFLAGS"
7263    CPPFLAGS="-Werror ${CPPFLAGS} -Wunused-result"
7264    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7265/* end confdefs.h.  */
7266
7267int
7268main ()
7269{
7270
7271  ;
7272  return 0;
7273}
7274_ACEOF
7275if ac_fn_c_try_cpp "$LINENO"; then :
7276  ul_cv_warn__Wunused_result=yes
7277else
7278  ul_cv_warn__Wunused_result=no
7279fi
7280rm -f conftest.err conftest.i conftest.$ac_ext
7281    # restore AC_LANG_WERROR
7282    ac_c_werror_flag="${save_ac_c_werror_flag}"
7283
7284    CPPFLAGS="$ul_save_CPPFLAGS"
7285
7286fi
7287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wunused_result" >&5
7288$as_echo "$ul_cv_warn__Wunused_result" >&6; }
7289  if test "x$ul_cv_warn__Wunused_result" = xyes; then :
7290  as_fn_append WARN_CFLAGS " -Wunused-result"
7291fi
7292
7293
7294
7295    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wunused-variable" >&5
7296$as_echo_n "checking whether compiler handles -Wunused-variable... " >&6; }
7297if ${ul_cv_warn__Wunused_variable+:} false; then :
7298  $as_echo_n "(cached) " >&6
7299else
7300
7301    # store AC_LANG_WERROR status, then turn it on
7302    save_ac_c_werror_flag="${ac_c_werror_flag}"
7303
7304ac_c_werror_flag=yes
7305
7306    ul_save_CPPFLAGS="$CPPFLAGS"
7307    CPPFLAGS="-Werror ${CPPFLAGS} -Wunused-variable"
7308    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7309/* end confdefs.h.  */
7310
7311int
7312main ()
7313{
7314
7315  ;
7316  return 0;
7317}
7318_ACEOF
7319if ac_fn_c_try_cpp "$LINENO"; then :
7320  ul_cv_warn__Wunused_variable=yes
7321else
7322  ul_cv_warn__Wunused_variable=no
7323fi
7324rm -f conftest.err conftest.i conftest.$ac_ext
7325    # restore AC_LANG_WERROR
7326    ac_c_werror_flag="${save_ac_c_werror_flag}"
7327
7328    CPPFLAGS="$ul_save_CPPFLAGS"
7329
7330fi
7331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wunused_variable" >&5
7332$as_echo "$ul_cv_warn__Wunused_variable" >&6; }
7333  if test "x$ul_cv_warn__Wunused_variable" = xyes; then :
7334  as_fn_append WARN_CFLAGS " -Wunused-variable"
7335fi
7336
7337
7338
7339    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wnested-externs" >&5
7340$as_echo_n "checking whether compiler handles -Wnested-externs... " >&6; }
7341if ${ul_cv_warn__Wnested_externs+:} false; then :
7342  $as_echo_n "(cached) " >&6
7343else
7344
7345    # store AC_LANG_WERROR status, then turn it on
7346    save_ac_c_werror_flag="${ac_c_werror_flag}"
7347
7348ac_c_werror_flag=yes
7349
7350    ul_save_CPPFLAGS="$CPPFLAGS"
7351    CPPFLAGS="-Werror ${CPPFLAGS} -Wnested-externs"
7352    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7353/* end confdefs.h.  */
7354
7355int
7356main ()
7357{
7358
7359  ;
7360  return 0;
7361}
7362_ACEOF
7363if ac_fn_c_try_cpp "$LINENO"; then :
7364  ul_cv_warn__Wnested_externs=yes
7365else
7366  ul_cv_warn__Wnested_externs=no
7367fi
7368rm -f conftest.err conftest.i conftest.$ac_ext
7369    # restore AC_LANG_WERROR
7370    ac_c_werror_flag="${save_ac_c_werror_flag}"
7371
7372    CPPFLAGS="$ul_save_CPPFLAGS"
7373
7374fi
7375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wnested_externs" >&5
7376$as_echo "$ul_cv_warn__Wnested_externs" >&6; }
7377  if test "x$ul_cv_warn__Wnested_externs" = xyes; then :
7378  as_fn_append WARN_CFLAGS " -Wnested-externs"
7379fi
7380
7381
7382
7383    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wpointer-arith" >&5
7384$as_echo_n "checking whether compiler handles -Wpointer-arith... " >&6; }
7385if ${ul_cv_warn__Wpointer_arith+:} false; then :
7386  $as_echo_n "(cached) " >&6
7387else
7388
7389    # store AC_LANG_WERROR status, then turn it on
7390    save_ac_c_werror_flag="${ac_c_werror_flag}"
7391
7392ac_c_werror_flag=yes
7393
7394    ul_save_CPPFLAGS="$CPPFLAGS"
7395    CPPFLAGS="-Werror ${CPPFLAGS} -Wpointer-arith"
7396    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7397/* end confdefs.h.  */
7398
7399int
7400main ()
7401{
7402
7403  ;
7404  return 0;
7405}
7406_ACEOF
7407if ac_fn_c_try_cpp "$LINENO"; then :
7408  ul_cv_warn__Wpointer_arith=yes
7409else
7410  ul_cv_warn__Wpointer_arith=no
7411fi
7412rm -f conftest.err conftest.i conftest.$ac_ext
7413    # restore AC_LANG_WERROR
7414    ac_c_werror_flag="${save_ac_c_werror_flag}"
7415
7416    CPPFLAGS="$ul_save_CPPFLAGS"
7417
7418fi
7419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wpointer_arith" >&5
7420$as_echo "$ul_cv_warn__Wpointer_arith" >&6; }
7421  if test "x$ul_cv_warn__Wpointer_arith" = xyes; then :
7422  as_fn_append WARN_CFLAGS " -Wpointer-arith"
7423fi
7424
7425
7426
7427    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wstrict-prototypes" >&5
7428$as_echo_n "checking whether compiler handles -Wstrict-prototypes... " >&6; }
7429if ${ul_cv_warn__Wstrict_prototypes+:} false; then :
7430  $as_echo_n "(cached) " >&6
7431else
7432
7433    # store AC_LANG_WERROR status, then turn it on
7434    save_ac_c_werror_flag="${ac_c_werror_flag}"
7435
7436ac_c_werror_flag=yes
7437
7438    ul_save_CPPFLAGS="$CPPFLAGS"
7439    CPPFLAGS="-Werror ${CPPFLAGS} -Wstrict-prototypes"
7440    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7441/* end confdefs.h.  */
7442
7443int
7444main ()
7445{
7446
7447  ;
7448  return 0;
7449}
7450_ACEOF
7451if ac_fn_c_try_cpp "$LINENO"; then :
7452  ul_cv_warn__Wstrict_prototypes=yes
7453else
7454  ul_cv_warn__Wstrict_prototypes=no
7455fi
7456rm -f conftest.err conftest.i conftest.$ac_ext
7457    # restore AC_LANG_WERROR
7458    ac_c_werror_flag="${save_ac_c_werror_flag}"
7459
7460    CPPFLAGS="$ul_save_CPPFLAGS"
7461
7462fi
7463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wstrict_prototypes" >&5
7464$as_echo "$ul_cv_warn__Wstrict_prototypes" >&6; }
7465  if test "x$ul_cv_warn__Wstrict_prototypes" = xyes; then :
7466  as_fn_append WARN_CFLAGS " -Wstrict-prototypes"
7467fi
7468
7469
7470
7471    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wformat-security" >&5
7472$as_echo_n "checking whether compiler handles -Wformat-security... " >&6; }
7473if ${ul_cv_warn__Wformat_security+:} false; then :
7474  $as_echo_n "(cached) " >&6
7475else
7476
7477    # store AC_LANG_WERROR status, then turn it on
7478    save_ac_c_werror_flag="${ac_c_werror_flag}"
7479
7480ac_c_werror_flag=yes
7481
7482    ul_save_CPPFLAGS="$CPPFLAGS"
7483    CPPFLAGS="-Werror ${CPPFLAGS} -Wformat-security"
7484    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7485/* end confdefs.h.  */
7486
7487int
7488main ()
7489{
7490
7491  ;
7492  return 0;
7493}
7494_ACEOF
7495if ac_fn_c_try_cpp "$LINENO"; then :
7496  ul_cv_warn__Wformat_security=yes
7497else
7498  ul_cv_warn__Wformat_security=no
7499fi
7500rm -f conftest.err conftest.i conftest.$ac_ext
7501    # restore AC_LANG_WERROR
7502    ac_c_werror_flag="${save_ac_c_werror_flag}"
7503
7504    CPPFLAGS="$ul_save_CPPFLAGS"
7505
7506fi
7507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wformat_security" >&5
7508$as_echo "$ul_cv_warn__Wformat_security" >&6; }
7509  if test "x$ul_cv_warn__Wformat_security" = xyes; then :
7510  as_fn_append WARN_CFLAGS " -Wformat-security"
7511fi
7512
7513
7514
7515    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wimplicit-function-declaration" >&5
7516$as_echo_n "checking whether compiler handles -Wimplicit-function-declaration... " >&6; }
7517if ${ul_cv_warn__Wimplicit_function_declaration+:} false; then :
7518  $as_echo_n "(cached) " >&6
7519else
7520
7521    # store AC_LANG_WERROR status, then turn it on
7522    save_ac_c_werror_flag="${ac_c_werror_flag}"
7523
7524ac_c_werror_flag=yes
7525
7526    ul_save_CPPFLAGS="$CPPFLAGS"
7527    CPPFLAGS="-Werror ${CPPFLAGS} -Wimplicit-function-declaration"
7528    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7529/* end confdefs.h.  */
7530
7531int
7532main ()
7533{
7534
7535  ;
7536  return 0;
7537}
7538_ACEOF
7539if ac_fn_c_try_cpp "$LINENO"; then :
7540  ul_cv_warn__Wimplicit_function_declaration=yes
7541else
7542  ul_cv_warn__Wimplicit_function_declaration=no
7543fi
7544rm -f conftest.err conftest.i conftest.$ac_ext
7545    # restore AC_LANG_WERROR
7546    ac_c_werror_flag="${save_ac_c_werror_flag}"
7547
7548    CPPFLAGS="$ul_save_CPPFLAGS"
7549
7550fi
7551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wimplicit_function_declaration" >&5
7552$as_echo "$ul_cv_warn__Wimplicit_function_declaration" >&6; }
7553  if test "x$ul_cv_warn__Wimplicit_function_declaration" = xyes; then :
7554  as_fn_append WARN_CFLAGS " -Wimplicit-function-declaration"
7555fi
7556
7557
7558
7559    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wdiscarded-qualifiers" >&5
7560$as_echo_n "checking whether compiler handles -Wdiscarded-qualifiers... " >&6; }
7561if ${ul_cv_warn__Wdiscarded_qualifiers+:} false; then :
7562  $as_echo_n "(cached) " >&6
7563else
7564
7565    # store AC_LANG_WERROR status, then turn it on
7566    save_ac_c_werror_flag="${ac_c_werror_flag}"
7567
7568ac_c_werror_flag=yes
7569
7570    ul_save_CPPFLAGS="$CPPFLAGS"
7571    CPPFLAGS="-Werror ${CPPFLAGS} -Wdiscarded-qualifiers"
7572    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7573/* end confdefs.h.  */
7574
7575int
7576main ()
7577{
7578
7579  ;
7580  return 0;
7581}
7582_ACEOF
7583if ac_fn_c_try_cpp "$LINENO"; then :
7584  ul_cv_warn__Wdiscarded_qualifiers=yes
7585else
7586  ul_cv_warn__Wdiscarded_qualifiers=no
7587fi
7588rm -f conftest.err conftest.i conftest.$ac_ext
7589    # restore AC_LANG_WERROR
7590    ac_c_werror_flag="${save_ac_c_werror_flag}"
7591
7592    CPPFLAGS="$ul_save_CPPFLAGS"
7593
7594fi
7595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wdiscarded_qualifiers" >&5
7596$as_echo "$ul_cv_warn__Wdiscarded_qualifiers" >&6; }
7597  if test "x$ul_cv_warn__Wdiscarded_qualifiers" = xyes; then :
7598  as_fn_append WARN_CFLAGS " -Wdiscarded-qualifiers"
7599fi
7600
7601
7602
7603    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Waddress-of-packed-member" >&5
7604$as_echo_n "checking whether compiler handles -Waddress-of-packed-member... " >&6; }
7605if ${ul_cv_warn__Waddress_of_packed_member+:} false; then :
7606  $as_echo_n "(cached) " >&6
7607else
7608
7609    # store AC_LANG_WERROR status, then turn it on
7610    save_ac_c_werror_flag="${ac_c_werror_flag}"
7611
7612ac_c_werror_flag=yes
7613
7614    ul_save_CPPFLAGS="$CPPFLAGS"
7615    CPPFLAGS="-Werror ${CPPFLAGS} -Waddress-of-packed-member"
7616    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7617/* end confdefs.h.  */
7618
7619int
7620main ()
7621{
7622
7623  ;
7624  return 0;
7625}
7626_ACEOF
7627if ac_fn_c_try_cpp "$LINENO"; then :
7628  ul_cv_warn__Waddress_of_packed_member=yes
7629else
7630  ul_cv_warn__Waddress_of_packed_member=no
7631fi
7632rm -f conftest.err conftest.i conftest.$ac_ext
7633    # restore AC_LANG_WERROR
7634    ac_c_werror_flag="${save_ac_c_werror_flag}"
7635
7636    CPPFLAGS="$ul_save_CPPFLAGS"
7637
7638fi
7639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Waddress_of_packed_member" >&5
7640$as_echo "$ul_cv_warn__Waddress_of_packed_member" >&6; }
7641  if test "x$ul_cv_warn__Waddress_of_packed_member" = xyes; then :
7642  as_fn_append WARN_CFLAGS " -Waddress-of-packed-member"
7643fi
7644
7645
7646# Check whether --enable-werror was given.
7647if test "${enable_werror+set}" = set; then :
7648  enableval=$enable_werror;
7649else
7650  enable_werror=no
7651
7652fi
7653
7654if test "x$enable_werror" = xyes; then :
7655
7656
7657
7658    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Werror" >&5
7659$as_echo_n "checking whether compiler handles -Werror... " >&6; }
7660if ${ul_cv_warn__Werror+:} false; then :
7661  $as_echo_n "(cached) " >&6
7662else
7663
7664    # store AC_LANG_WERROR status, then turn it on
7665    save_ac_c_werror_flag="${ac_c_werror_flag}"
7666
7667ac_c_werror_flag=yes
7668
7669    ul_save_CPPFLAGS="$CPPFLAGS"
7670    CPPFLAGS="-Werror ${CPPFLAGS} -Werror"
7671    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7672/* end confdefs.h.  */
7673
7674int
7675main ()
7676{
7677
7678  ;
7679  return 0;
7680}
7681_ACEOF
7682if ac_fn_c_try_cpp "$LINENO"; then :
7683  ul_cv_warn__Werror=yes
7684else
7685  ul_cv_warn__Werror=no
7686fi
7687rm -f conftest.err conftest.i conftest.$ac_ext
7688    # restore AC_LANG_WERROR
7689    ac_c_werror_flag="${save_ac_c_werror_flag}"
7690
7691    CPPFLAGS="$ul_save_CPPFLAGS"
7692
7693fi
7694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Werror" >&5
7695$as_echo "$ul_cv_warn__Werror" >&6; }
7696  if test "x$ul_cv_warn__Werror" = xyes; then :
7697  as_fn_append WARN_CFLAGS " -Werror"
7698fi
7699
7700
7701else
7702
7703
7704
7705    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Werror=sequence-point" >&5
7706$as_echo_n "checking whether compiler handles -Werror=sequence-point... " >&6; }
7707if ${ul_cv_warn__Werror_sequence_point+:} false; then :
7708  $as_echo_n "(cached) " >&6
7709else
7710
7711    # store AC_LANG_WERROR status, then turn it on
7712    save_ac_c_werror_flag="${ac_c_werror_flag}"
7713
7714ac_c_werror_flag=yes
7715
7716    ul_save_CPPFLAGS="$CPPFLAGS"
7717    CPPFLAGS="-Werror ${CPPFLAGS} -Werror=sequence-point"
7718    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7719/* end confdefs.h.  */
7720
7721int
7722main ()
7723{
7724
7725  ;
7726  return 0;
7727}
7728_ACEOF
7729if ac_fn_c_try_cpp "$LINENO"; then :
7730  ul_cv_warn__Werror_sequence_point=yes
7731else
7732  ul_cv_warn__Werror_sequence_point=no
7733fi
7734rm -f conftest.err conftest.i conftest.$ac_ext
7735    # restore AC_LANG_WERROR
7736    ac_c_werror_flag="${save_ac_c_werror_flag}"
7737
7738    CPPFLAGS="$ul_save_CPPFLAGS"
7739
7740fi
7741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Werror_sequence_point" >&5
7742$as_echo "$ul_cv_warn__Werror_sequence_point" >&6; }
7743  if test "x$ul_cv_warn__Werror_sequence_point" = xyes; then :
7744  as_fn_append WARN_CFLAGS " -Werror=sequence-point"
7745fi
7746
7747
7748fi
7749
7750
7751
7752
7753
7754
7755    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-clobbered" >&5
7756$as_echo_n "checking whether compiler handles -Wno-clobbered... " >&6; }
7757if ${ul_cv_warn__Wno_clobbered+:} false; then :
7758  $as_echo_n "(cached) " >&6
7759else
7760
7761    # store AC_LANG_WERROR status, then turn it on
7762    save_ac_c_werror_flag="${ac_c_werror_flag}"
7763
7764ac_c_werror_flag=yes
7765
7766    ul_save_CPPFLAGS="$CPPFLAGS"
7767    CPPFLAGS="-Werror ${CPPFLAGS} -Wno-clobbered"
7768    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7769/* end confdefs.h.  */
7770
7771int
7772main ()
7773{
7774
7775  ;
7776  return 0;
7777}
7778_ACEOF
7779if ac_fn_c_try_cpp "$LINENO"; then :
7780  ul_cv_warn__Wno_clobbered=yes
7781else
7782  ul_cv_warn__Wno_clobbered=no
7783fi
7784rm -f conftest.err conftest.i conftest.$ac_ext
7785    # restore AC_LANG_WERROR
7786    ac_c_werror_flag="${save_ac_c_werror_flag}"
7787
7788    CPPFLAGS="$ul_save_CPPFLAGS"
7789
7790fi
7791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wno_clobbered" >&5
7792$as_echo "$ul_cv_warn__Wno_clobbered" >&6; }
7793  if test "x$ul_cv_warn__Wno_clobbered" = xyes; then :
7794  as_fn_append BSD_WARN_CFLAGS " -Wno-clobbered"
7795fi
7796
7797
7798
7799
7800
7801    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-cast-function-type" >&5
7802$as_echo_n "checking whether compiler handles -Wno-cast-function-type... " >&6; }
7803if ${ul_cv_warn__Wno_cast_function_type+:} false; then :
7804  $as_echo_n "(cached) " >&6
7805else
7806
7807    # store AC_LANG_WERROR status, then turn it on
7808    save_ac_c_werror_flag="${ac_c_werror_flag}"
7809
7810ac_c_werror_flag=yes
7811
7812    ul_save_CPPFLAGS="$CPPFLAGS"
7813    CPPFLAGS="-Werror ${CPPFLAGS} -Wno-cast-function-type"
7814    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7815/* end confdefs.h.  */
7816
7817int
7818main ()
7819{
7820
7821  ;
7822  return 0;
7823}
7824_ACEOF
7825if ac_fn_c_try_cpp "$LINENO"; then :
7826  ul_cv_warn__Wno_cast_function_type=yes
7827else
7828  ul_cv_warn__Wno_cast_function_type=no
7829fi
7830rm -f conftest.err conftest.i conftest.$ac_ext
7831    # restore AC_LANG_WERROR
7832    ac_c_werror_flag="${save_ac_c_werror_flag}"
7833
7834    CPPFLAGS="$ul_save_CPPFLAGS"
7835
7836fi
7837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wno_cast_function_type" >&5
7838$as_echo "$ul_cv_warn__Wno_cast_function_type" >&6; }
7839  if test "x$ul_cv_warn__Wno_cast_function_type" = xyes; then :
7840  as_fn_append PYTHON_WARN_CFLAGS " -Wno-cast-function-type"
7841fi
7842
7843
7844
7845
7846
7847    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-unused-parameter" >&5
7848$as_echo_n "checking whether compiler handles -Wno-unused-parameter... " >&6; }
7849if ${ul_cv_warn__Wno_unused_parameter+:} false; then :
7850  $as_echo_n "(cached) " >&6
7851else
7852
7853    # store AC_LANG_WERROR status, then turn it on
7854    save_ac_c_werror_flag="${ac_c_werror_flag}"
7855
7856ac_c_werror_flag=yes
7857
7858    ul_save_CPPFLAGS="$CPPFLAGS"
7859    CPPFLAGS="-Werror ${CPPFLAGS} -Wno-unused-parameter"
7860    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7861/* end confdefs.h.  */
7862
7863int
7864main ()
7865{
7866
7867  ;
7868  return 0;
7869}
7870_ACEOF
7871if ac_fn_c_try_cpp "$LINENO"; then :
7872  ul_cv_warn__Wno_unused_parameter=yes
7873else
7874  ul_cv_warn__Wno_unused_parameter=no
7875fi
7876rm -f conftest.err conftest.i conftest.$ac_ext
7877    # restore AC_LANG_WERROR
7878    ac_c_werror_flag="${save_ac_c_werror_flag}"
7879
7880    CPPFLAGS="$ul_save_CPPFLAGS"
7881
7882fi
7883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wno_unused_parameter" >&5
7884$as_echo "$ul_cv_warn__Wno_unused_parameter" >&6; }
7885  if test "x$ul_cv_warn__Wno_unused_parameter" = xyes; then :
7886  as_fn_append NO_UNUSED_WARN_CFLAGS " -Wno-unused-parameter"
7887fi
7888
7889
7890
7891
7892# Check whether --enable-asan was given.
7893if test "${enable_asan+set}" = set; then :
7894  enableval=$enable_asan;
7895else
7896  enable_asan=no
7897
7898fi
7899
7900if test "x$enable_asan" = xyes; then :
7901
7902
7903
7904    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fsanitize=address" >&5
7905$as_echo_n "checking whether compiler handles -fsanitize=address... " >&6; }
7906if ${ul_cv_warn__fsanitize_address+:} false; then :
7907  $as_echo_n "(cached) " >&6
7908else
7909
7910    # store AC_LANG_WERROR status, then turn it on
7911    save_ac_c_werror_flag="${ac_c_werror_flag}"
7912
7913ac_c_werror_flag=yes
7914
7915    ul_save_CPPFLAGS="$CPPFLAGS"
7916    CPPFLAGS="-Werror ${CPPFLAGS} -fsanitize=address"
7917    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7918/* end confdefs.h.  */
7919
7920int
7921main ()
7922{
7923
7924  ;
7925  return 0;
7926}
7927_ACEOF
7928if ac_fn_c_try_cpp "$LINENO"; then :
7929  ul_cv_warn__fsanitize_address=yes
7930else
7931  ul_cv_warn__fsanitize_address=no
7932fi
7933rm -f conftest.err conftest.i conftest.$ac_ext
7934    # restore AC_LANG_WERROR
7935    ac_c_werror_flag="${save_ac_c_werror_flag}"
7936
7937    CPPFLAGS="$ul_save_CPPFLAGS"
7938
7939fi
7940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__fsanitize_address" >&5
7941$as_echo "$ul_cv_warn__fsanitize_address" >&6; }
7942  if test "x$ul_cv_warn__fsanitize_address" = xyes; then :
7943  as_fn_append WARN_CFLAGS " -fsanitize=address"
7944fi
7945
7946  ASAN_LDFLAGS="-fsanitize=address"
7947
7948fi
7949
7950
7951# Check whether --enable-ubsan was given.
7952if test "${enable_ubsan+set}" = set; then :
7953  enableval=$enable_ubsan;
7954else
7955  enable_ubsan=no
7956
7957fi
7958
7959if test "x$enable_ubsan" = xyes; then :
7960
7961
7962
7963    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fsanitize=undefined" >&5
7964$as_echo_n "checking whether compiler handles -fsanitize=undefined... " >&6; }
7965if ${ul_cv_warn__fsanitize_undefined+:} false; then :
7966  $as_echo_n "(cached) " >&6
7967else
7968
7969    # store AC_LANG_WERROR status, then turn it on
7970    save_ac_c_werror_flag="${ac_c_werror_flag}"
7971
7972ac_c_werror_flag=yes
7973
7974    ul_save_CPPFLAGS="$CPPFLAGS"
7975    CPPFLAGS="-Werror ${CPPFLAGS} -fsanitize=undefined"
7976    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7977/* end confdefs.h.  */
7978
7979int
7980main ()
7981{
7982
7983  ;
7984  return 0;
7985}
7986_ACEOF
7987if ac_fn_c_try_cpp "$LINENO"; then :
7988  ul_cv_warn__fsanitize_undefined=yes
7989else
7990  ul_cv_warn__fsanitize_undefined=no
7991fi
7992rm -f conftest.err conftest.i conftest.$ac_ext
7993    # restore AC_LANG_WERROR
7994    ac_c_werror_flag="${save_ac_c_werror_flag}"
7995
7996    CPPFLAGS="$ul_save_CPPFLAGS"
7997
7998fi
7999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__fsanitize_undefined" >&5
8000$as_echo "$ul_cv_warn__fsanitize_undefined" >&6; }
8001  if test "x$ul_cv_warn__fsanitize_undefined" = xyes; then :
8002  as_fn_append WARN_CFLAGS " -fsanitize=undefined"
8003fi
8004
8005  UBSAN_LDFLAGS="-fsanitize=undefined"
8006
8007fi
8008
8009
8010case `pwd` in
8011  *\ * | *\	*)
8012    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
8013$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
8014esac
8015
8016
8017
8018macro_version='2.4.6'
8019macro_revision='2.4.6'
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033ltmain=$ac_aux_dir/ltmain.sh
8034
8035# Backslashify metacharacters that are still active within
8036# double-quoted strings.
8037sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8038
8039# Same as above, but do not quote variable references.
8040double_quote_subst='s/\(["`\\]\)/\\\1/g'
8041
8042# Sed substitution to delay expansion of an escaped shell variable in a
8043# double_quote_subst'ed string.
8044delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8045
8046# Sed substitution to delay expansion of an escaped single quote.
8047delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8048
8049# Sed substitution to avoid accidental globbing in evaled expressions
8050no_glob_subst='s/\*/\\\*/g'
8051
8052ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8053ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
8054ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
8055
8056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
8057$as_echo_n "checking how to print strings... " >&6; }
8058# Test print first, because it will be a builtin if present.
8059if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
8060   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
8061  ECHO='print -r --'
8062elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
8063  ECHO='printf %s\n'
8064else
8065  # Use this function as a fallback that always works.
8066  func_fallback_echo ()
8067  {
8068    eval 'cat <<_LTECHO_EOF
8069$1
8070_LTECHO_EOF'
8071  }
8072  ECHO='func_fallback_echo'
8073fi
8074
8075# func_echo_all arg...
8076# Invoke $ECHO with all args, space-separated.
8077func_echo_all ()
8078{
8079    $ECHO ""
8080}
8081
8082case $ECHO in
8083  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
8084$as_echo "printf" >&6; } ;;
8085  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
8086$as_echo "print -r" >&6; } ;;
8087  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
8088$as_echo "cat" >&6; } ;;
8089esac
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
8105$as_echo_n "checking for a sed that does not truncate output... " >&6; }
8106if ${ac_cv_path_SED+:} false; then :
8107  $as_echo_n "(cached) " >&6
8108else
8109            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
8110     for ac_i in 1 2 3 4 5 6 7; do
8111       ac_script="$ac_script$as_nl$ac_script"
8112     done
8113     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
8114     { ac_script=; unset ac_script;}
8115     if test -z "$SED"; then
8116  ac_path_SED_found=false
8117  # Loop through the user's path and test for each of PROGNAME-LIST
8118  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8119for as_dir in $PATH
8120do
8121  IFS=$as_save_IFS
8122  test -z "$as_dir" && as_dir=.
8123    for ac_prog in sed gsed; do
8124    for ac_exec_ext in '' $ac_executable_extensions; do
8125      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
8126      as_fn_executable_p "$ac_path_SED" || continue
8127# Check for GNU ac_path_SED and select it if it is found.
8128  # Check for GNU $ac_path_SED
8129case `"$ac_path_SED" --version 2>&1` in
8130*GNU*)
8131  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
8132*)
8133  ac_count=0
8134  $as_echo_n 0123456789 >"conftest.in"
8135  while :
8136  do
8137    cat "conftest.in" "conftest.in" >"conftest.tmp"
8138    mv "conftest.tmp" "conftest.in"
8139    cp "conftest.in" "conftest.nl"
8140    $as_echo '' >> "conftest.nl"
8141    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
8142    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8143    as_fn_arith $ac_count + 1 && ac_count=$as_val
8144    if test $ac_count -gt ${ac_path_SED_max-0}; then
8145      # Best one so far, save it but keep looking for a better one
8146      ac_cv_path_SED="$ac_path_SED"
8147      ac_path_SED_max=$ac_count
8148    fi
8149    # 10*(2^10) chars as input seems more than enough
8150    test $ac_count -gt 10 && break
8151  done
8152  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8153esac
8154
8155      $ac_path_SED_found && break 3
8156    done
8157  done
8158  done
8159IFS=$as_save_IFS
8160  if test -z "$ac_cv_path_SED"; then
8161    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
8162  fi
8163else
8164  ac_cv_path_SED=$SED
8165fi
8166
8167fi
8168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
8169$as_echo "$ac_cv_path_SED" >&6; }
8170 SED="$ac_cv_path_SED"
8171  rm -f conftest.sed
8172
8173test -z "$SED" && SED=sed
8174Xsed="$SED -e 1s/^X//"
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
8187$as_echo_n "checking for fgrep... " >&6; }
8188if ${ac_cv_path_FGREP+:} false; then :
8189  $as_echo_n "(cached) " >&6
8190else
8191  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
8192   then ac_cv_path_FGREP="$GREP -F"
8193   else
8194     if test -z "$FGREP"; then
8195  ac_path_FGREP_found=false
8196  # Loop through the user's path and test for each of PROGNAME-LIST
8197  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8198for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8199do
8200  IFS=$as_save_IFS
8201  test -z "$as_dir" && as_dir=.
8202    for ac_prog in fgrep; do
8203    for ac_exec_ext in '' $ac_executable_extensions; do
8204      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
8205      as_fn_executable_p "$ac_path_FGREP" || continue
8206# Check for GNU ac_path_FGREP and select it if it is found.
8207  # Check for GNU $ac_path_FGREP
8208case `"$ac_path_FGREP" --version 2>&1` in
8209*GNU*)
8210  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
8211*)
8212  ac_count=0
8213  $as_echo_n 0123456789 >"conftest.in"
8214  while :
8215  do
8216    cat "conftest.in" "conftest.in" >"conftest.tmp"
8217    mv "conftest.tmp" "conftest.in"
8218    cp "conftest.in" "conftest.nl"
8219    $as_echo 'FGREP' >> "conftest.nl"
8220    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
8221    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8222    as_fn_arith $ac_count + 1 && ac_count=$as_val
8223    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
8224      # Best one so far, save it but keep looking for a better one
8225      ac_cv_path_FGREP="$ac_path_FGREP"
8226      ac_path_FGREP_max=$ac_count
8227    fi
8228    # 10*(2^10) chars as input seems more than enough
8229    test $ac_count -gt 10 && break
8230  done
8231  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8232esac
8233
8234      $ac_path_FGREP_found && break 3
8235    done
8236  done
8237  done
8238IFS=$as_save_IFS
8239  if test -z "$ac_cv_path_FGREP"; then
8240    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8241  fi
8242else
8243  ac_cv_path_FGREP=$FGREP
8244fi
8245
8246   fi
8247fi
8248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
8249$as_echo "$ac_cv_path_FGREP" >&6; }
8250 FGREP="$ac_cv_path_FGREP"
8251
8252
8253test -z "$GREP" && GREP=grep
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273# Check whether --with-gnu-ld was given.
8274if test "${with_gnu_ld+set}" = set; then :
8275  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
8276else
8277  with_gnu_ld=no
8278fi
8279
8280ac_prog=ld
8281if test yes = "$GCC"; then
8282  # Check if gcc -print-prog-name=ld gives a path.
8283  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
8284$as_echo_n "checking for ld used by $CC... " >&6; }
8285  case $host in
8286  *-*-mingw*)
8287    # gcc leaves a trailing carriage return, which upsets mingw
8288    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8289  *)
8290    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8291  esac
8292  case $ac_prog in
8293    # Accept absolute paths.
8294    [\\/]* | ?:[\\/]*)
8295      re_direlt='/[^/][^/]*/\.\./'
8296      # Canonicalize the pathname of ld
8297      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
8298      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
8299	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
8300      done
8301      test -z "$LD" && LD=$ac_prog
8302      ;;
8303  "")
8304    # If it fails, then pretend we aren't using GCC.
8305    ac_prog=ld
8306    ;;
8307  *)
8308    # If it is relative, then search for the first ld in PATH.
8309    with_gnu_ld=unknown
8310    ;;
8311  esac
8312elif test yes = "$with_gnu_ld"; then
8313  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
8314$as_echo_n "checking for GNU ld... " >&6; }
8315else
8316  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
8317$as_echo_n "checking for non-GNU ld... " >&6; }
8318fi
8319if ${lt_cv_path_LD+:} false; then :
8320  $as_echo_n "(cached) " >&6
8321else
8322  if test -z "$LD"; then
8323  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8324  for ac_dir in $PATH; do
8325    IFS=$lt_save_ifs
8326    test -z "$ac_dir" && ac_dir=.
8327    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8328      lt_cv_path_LD=$ac_dir/$ac_prog
8329      # Check to see if the program is GNU ld.  I'd rather use --version,
8330      # but apparently some variants of GNU ld only accept -v.
8331      # Break only if it was the GNU/non-GNU ld that we prefer.
8332      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8333      *GNU* | *'with BFD'*)
8334	test no != "$with_gnu_ld" && break
8335	;;
8336      *)
8337	test yes != "$with_gnu_ld" && break
8338	;;
8339      esac
8340    fi
8341  done
8342  IFS=$lt_save_ifs
8343else
8344  lt_cv_path_LD=$LD # Let the user override the test with a path.
8345fi
8346fi
8347
8348LD=$lt_cv_path_LD
8349if test -n "$LD"; then
8350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8351$as_echo "$LD" >&6; }
8352else
8353  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8354$as_echo "no" >&6; }
8355fi
8356test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
8357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
8358$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
8359if ${lt_cv_prog_gnu_ld+:} false; then :
8360  $as_echo_n "(cached) " >&6
8361else
8362  # I'd rather use --version here, but apparently some GNU lds only accept -v.
8363case `$LD -v 2>&1 </dev/null` in
8364*GNU* | *'with BFD'*)
8365  lt_cv_prog_gnu_ld=yes
8366  ;;
8367*)
8368  lt_cv_prog_gnu_ld=no
8369  ;;
8370esac
8371fi
8372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
8373$as_echo "$lt_cv_prog_gnu_ld" >&6; }
8374with_gnu_ld=$lt_cv_prog_gnu_ld
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
8385$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
8386if ${lt_cv_path_NM+:} false; then :
8387  $as_echo_n "(cached) " >&6
8388else
8389  if test -n "$NM"; then
8390  # Let the user override the test.
8391  lt_cv_path_NM=$NM
8392else
8393  lt_nm_to_check=${ac_tool_prefix}nm
8394  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8395    lt_nm_to_check="$lt_nm_to_check nm"
8396  fi
8397  for lt_tmp_nm in $lt_nm_to_check; do
8398    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8399    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
8400      IFS=$lt_save_ifs
8401      test -z "$ac_dir" && ac_dir=.
8402      tmp_nm=$ac_dir/$lt_tmp_nm
8403      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
8404	# Check to see if the nm accepts a BSD-compat flag.
8405	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
8406	#   nm: unknown option "B" ignored
8407	# Tru64's nm complains that /dev/null is an invalid object file
8408	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
8409	case $build_os in
8410	mingw*) lt_bad_file=conftest.nm/nofile ;;
8411	*) lt_bad_file=/dev/null ;;
8412	esac
8413	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
8414	*$lt_bad_file* | *'Invalid file or object type'*)
8415	  lt_cv_path_NM="$tmp_nm -B"
8416	  break 2
8417	  ;;
8418	*)
8419	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8420	  */dev/null*)
8421	    lt_cv_path_NM="$tmp_nm -p"
8422	    break 2
8423	    ;;
8424	  *)
8425	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8426	    continue # so that we can try to find one that supports BSD flags
8427	    ;;
8428	  esac
8429	  ;;
8430	esac
8431      fi
8432    done
8433    IFS=$lt_save_ifs
8434  done
8435  : ${lt_cv_path_NM=no}
8436fi
8437fi
8438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
8439$as_echo "$lt_cv_path_NM" >&6; }
8440if test no != "$lt_cv_path_NM"; then
8441  NM=$lt_cv_path_NM
8442else
8443  # Didn't find any BSD compatible name lister, look for dumpbin.
8444  if test -n "$DUMPBIN"; then :
8445    # Let the user override the test.
8446  else
8447    if test -n "$ac_tool_prefix"; then
8448  for ac_prog in dumpbin "link -dump"
8449  do
8450    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8451set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8453$as_echo_n "checking for $ac_word... " >&6; }
8454if ${ac_cv_prog_DUMPBIN+:} false; then :
8455  $as_echo_n "(cached) " >&6
8456else
8457  if test -n "$DUMPBIN"; then
8458  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
8459else
8460as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8461for as_dir in $PATH
8462do
8463  IFS=$as_save_IFS
8464  test -z "$as_dir" && as_dir=.
8465    for ac_exec_ext in '' $ac_executable_extensions; do
8466  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8467    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
8468    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8469    break 2
8470  fi
8471done
8472  done
8473IFS=$as_save_IFS
8474
8475fi
8476fi
8477DUMPBIN=$ac_cv_prog_DUMPBIN
8478if test -n "$DUMPBIN"; then
8479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
8480$as_echo "$DUMPBIN" >&6; }
8481else
8482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8483$as_echo "no" >&6; }
8484fi
8485
8486
8487    test -n "$DUMPBIN" && break
8488  done
8489fi
8490if test -z "$DUMPBIN"; then
8491  ac_ct_DUMPBIN=$DUMPBIN
8492  for ac_prog in dumpbin "link -dump"
8493do
8494  # Extract the first word of "$ac_prog", so it can be a program name with args.
8495set dummy $ac_prog; ac_word=$2
8496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8497$as_echo_n "checking for $ac_word... " >&6; }
8498if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
8499  $as_echo_n "(cached) " >&6
8500else
8501  if test -n "$ac_ct_DUMPBIN"; then
8502  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
8503else
8504as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8505for as_dir in $PATH
8506do
8507  IFS=$as_save_IFS
8508  test -z "$as_dir" && as_dir=.
8509    for ac_exec_ext in '' $ac_executable_extensions; do
8510  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8511    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
8512    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8513    break 2
8514  fi
8515done
8516  done
8517IFS=$as_save_IFS
8518
8519fi
8520fi
8521ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
8522if test -n "$ac_ct_DUMPBIN"; then
8523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
8524$as_echo "$ac_ct_DUMPBIN" >&6; }
8525else
8526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8527$as_echo "no" >&6; }
8528fi
8529
8530
8531  test -n "$ac_ct_DUMPBIN" && break
8532done
8533
8534  if test "x$ac_ct_DUMPBIN" = x; then
8535    DUMPBIN=":"
8536  else
8537    case $cross_compiling:$ac_tool_warned in
8538yes:)
8539{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8540$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8541ac_tool_warned=yes ;;
8542esac
8543    DUMPBIN=$ac_ct_DUMPBIN
8544  fi
8545fi
8546
8547    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
8548    *COFF*)
8549      DUMPBIN="$DUMPBIN -symbols -headers"
8550      ;;
8551    *)
8552      DUMPBIN=:
8553      ;;
8554    esac
8555  fi
8556
8557  if test : != "$DUMPBIN"; then
8558    NM=$DUMPBIN
8559  fi
8560fi
8561test -z "$NM" && NM=nm
8562
8563
8564
8565
8566
8567
8568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8569$as_echo_n "checking the name lister ($NM) interface... " >&6; }
8570if ${lt_cv_nm_interface+:} false; then :
8571  $as_echo_n "(cached) " >&6
8572else
8573  lt_cv_nm_interface="BSD nm"
8574  echo "int some_variable = 0;" > conftest.$ac_ext
8575  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8576  (eval "$ac_compile" 2>conftest.err)
8577  cat conftest.err >&5
8578  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8579  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
8580  cat conftest.err >&5
8581  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8582  cat conftest.out >&5
8583  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
8584    lt_cv_nm_interface="MS dumpbin"
8585  fi
8586  rm -f conftest*
8587fi
8588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8589$as_echo "$lt_cv_nm_interface" >&6; }
8590
8591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
8592$as_echo_n "checking whether ln -s works... " >&6; }
8593LN_S=$as_ln_s
8594if test "$LN_S" = "ln -s"; then
8595  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8596$as_echo "yes" >&6; }
8597else
8598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
8599$as_echo "no, using $LN_S" >&6; }
8600fi
8601
8602# find the maximum length of command line arguments
8603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8604$as_echo_n "checking the maximum length of command line arguments... " >&6; }
8605if ${lt_cv_sys_max_cmd_len+:} false; then :
8606  $as_echo_n "(cached) " >&6
8607else
8608    i=0
8609  teststring=ABCD
8610
8611  case $build_os in
8612  msdosdjgpp*)
8613    # On DJGPP, this test can blow up pretty badly due to problems in libc
8614    # (any single argument exceeding 2000 bytes causes a buffer overrun
8615    # during glob expansion).  Even if it were fixed, the result of this
8616    # check would be larger than it should be.
8617    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
8618    ;;
8619
8620  gnu*)
8621    # Under GNU Hurd, this test is not required because there is
8622    # no limit to the length of command line arguments.
8623    # Libtool will interpret -1 as no limit whatsoever
8624    lt_cv_sys_max_cmd_len=-1;
8625    ;;
8626
8627  cygwin* | mingw* | cegcc*)
8628    # On Win9x/ME, this test blows up -- it succeeds, but takes
8629    # about 5 minutes as the teststring grows exponentially.
8630    # Worse, since 9x/ME are not pre-emptively multitasking,
8631    # you end up with a "frozen" computer, even though with patience
8632    # the test eventually succeeds (with a max line length of 256k).
8633    # Instead, let's just punt: use the minimum linelength reported by
8634    # all of the supported platforms: 8192 (on NT/2K/XP).
8635    lt_cv_sys_max_cmd_len=8192;
8636    ;;
8637
8638  mint*)
8639    # On MiNT this can take a long time and run out of memory.
8640    lt_cv_sys_max_cmd_len=8192;
8641    ;;
8642
8643  amigaos*)
8644    # On AmigaOS with pdksh, this test takes hours, literally.
8645    # So we just punt and use a minimum line length of 8192.
8646    lt_cv_sys_max_cmd_len=8192;
8647    ;;
8648
8649  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
8650    # This has been around since 386BSD, at least.  Likely further.
8651    if test -x /sbin/sysctl; then
8652      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8653    elif test -x /usr/sbin/sysctl; then
8654      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8655    else
8656      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
8657    fi
8658    # And add a safety zone
8659    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8660    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8661    ;;
8662
8663  interix*)
8664    # We know the value 262144 and hardcode it with a safety zone (like BSD)
8665    lt_cv_sys_max_cmd_len=196608
8666    ;;
8667
8668  os2*)
8669    # The test takes a long time on OS/2.
8670    lt_cv_sys_max_cmd_len=8192
8671    ;;
8672
8673  osf*)
8674    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8675    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8676    # nice to cause kernel panics so lets avoid the loop below.
8677    # First set a reasonable default.
8678    lt_cv_sys_max_cmd_len=16384
8679    #
8680    if test -x /sbin/sysconfig; then
8681      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8682        *1*) lt_cv_sys_max_cmd_len=-1 ;;
8683      esac
8684    fi
8685    ;;
8686  sco3.2v5*)
8687    lt_cv_sys_max_cmd_len=102400
8688    ;;
8689  sysv5* | sco5v6* | sysv4.2uw2*)
8690    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8691    if test -n "$kargmax"; then
8692      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
8693    else
8694      lt_cv_sys_max_cmd_len=32768
8695    fi
8696    ;;
8697  *)
8698    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8699    if test -n "$lt_cv_sys_max_cmd_len" && \
8700       test undefined != "$lt_cv_sys_max_cmd_len"; then
8701      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8702      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8703    else
8704      # Make teststring a little bigger before we do anything with it.
8705      # a 1K string should be a reasonable start.
8706      for i in 1 2 3 4 5 6 7 8; do
8707        teststring=$teststring$teststring
8708      done
8709      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8710      # If test is not a shell built-in, we'll probably end up computing a
8711      # maximum length that is only half of the actual maximum length, but
8712      # we can't tell.
8713      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
8714	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
8715	      test 17 != "$i" # 1/2 MB should be enough
8716      do
8717        i=`expr $i + 1`
8718        teststring=$teststring$teststring
8719      done
8720      # Only check the string length outside the loop.
8721      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
8722      teststring=
8723      # Add a significant safety factor because C++ compilers can tack on
8724      # massive amounts of additional arguments before passing them to the
8725      # linker.  It appears as though 1/2 is a usable value.
8726      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8727    fi
8728    ;;
8729  esac
8730
8731fi
8732
8733if test -n "$lt_cv_sys_max_cmd_len"; then
8734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8735$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8736else
8737  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8738$as_echo "none" >&6; }
8739fi
8740max_cmd_len=$lt_cv_sys_max_cmd_len
8741
8742
8743
8744
8745
8746
8747: ${CP="cp -f"}
8748: ${MV="mv -f"}
8749: ${RM="rm -f"}
8750
8751if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8752  lt_unset=unset
8753else
8754  lt_unset=false
8755fi
8756
8757
8758
8759
8760
8761# test EBCDIC or ASCII
8762case `echo X|tr X '\101'` in
8763 A) # ASCII based system
8764    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8765  lt_SP2NL='tr \040 \012'
8766  lt_NL2SP='tr \015\012 \040\040'
8767  ;;
8768 *) # EBCDIC based system
8769  lt_SP2NL='tr \100 \n'
8770  lt_NL2SP='tr \r\n \100\100'
8771  ;;
8772esac
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8783$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8784if ${lt_cv_to_host_file_cmd+:} false; then :
8785  $as_echo_n "(cached) " >&6
8786else
8787  case $host in
8788  *-*-mingw* )
8789    case $build in
8790      *-*-mingw* ) # actually msys
8791        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8792        ;;
8793      *-*-cygwin* )
8794        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8795        ;;
8796      * ) # otherwise, assume *nix
8797        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8798        ;;
8799    esac
8800    ;;
8801  *-*-cygwin* )
8802    case $build in
8803      *-*-mingw* ) # actually msys
8804        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8805        ;;
8806      *-*-cygwin* )
8807        lt_cv_to_host_file_cmd=func_convert_file_noop
8808        ;;
8809      * ) # otherwise, assume *nix
8810        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8811        ;;
8812    esac
8813    ;;
8814  * ) # unhandled hosts (and "normal" native builds)
8815    lt_cv_to_host_file_cmd=func_convert_file_noop
8816    ;;
8817esac
8818
8819fi
8820
8821to_host_file_cmd=$lt_cv_to_host_file_cmd
8822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8823$as_echo "$lt_cv_to_host_file_cmd" >&6; }
8824
8825
8826
8827
8828
8829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8830$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8831if ${lt_cv_to_tool_file_cmd+:} false; then :
8832  $as_echo_n "(cached) " >&6
8833else
8834  #assume ordinary cross tools, or native build.
8835lt_cv_to_tool_file_cmd=func_convert_file_noop
8836case $host in
8837  *-*-mingw* )
8838    case $build in
8839      *-*-mingw* ) # actually msys
8840        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8841        ;;
8842    esac
8843    ;;
8844esac
8845
8846fi
8847
8848to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8850$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8851
8852
8853
8854
8855
8856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8857$as_echo_n "checking for $LD option to reload object files... " >&6; }
8858if ${lt_cv_ld_reload_flag+:} false; then :
8859  $as_echo_n "(cached) " >&6
8860else
8861  lt_cv_ld_reload_flag='-r'
8862fi
8863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8864$as_echo "$lt_cv_ld_reload_flag" >&6; }
8865reload_flag=$lt_cv_ld_reload_flag
8866case $reload_flag in
8867"" | " "*) ;;
8868*) reload_flag=" $reload_flag" ;;
8869esac
8870reload_cmds='$LD$reload_flag -o $output$reload_objs'
8871case $host_os in
8872  cygwin* | mingw* | pw32* | cegcc*)
8873    if test yes != "$GCC"; then
8874      reload_cmds=false
8875    fi
8876    ;;
8877  darwin*)
8878    if test yes = "$GCC"; then
8879      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
8880    else
8881      reload_cmds='$LD$reload_flag -o $output$reload_objs'
8882    fi
8883    ;;
8884esac
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894if test -n "$ac_tool_prefix"; then
8895  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8896set dummy ${ac_tool_prefix}objdump; ac_word=$2
8897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8898$as_echo_n "checking for $ac_word... " >&6; }
8899if ${ac_cv_prog_OBJDUMP+:} false; then :
8900  $as_echo_n "(cached) " >&6
8901else
8902  if test -n "$OBJDUMP"; then
8903  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8904else
8905as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8906for as_dir in $PATH
8907do
8908  IFS=$as_save_IFS
8909  test -z "$as_dir" && as_dir=.
8910    for ac_exec_ext in '' $ac_executable_extensions; do
8911  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8912    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8913    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8914    break 2
8915  fi
8916done
8917  done
8918IFS=$as_save_IFS
8919
8920fi
8921fi
8922OBJDUMP=$ac_cv_prog_OBJDUMP
8923if test -n "$OBJDUMP"; then
8924  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8925$as_echo "$OBJDUMP" >&6; }
8926else
8927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8928$as_echo "no" >&6; }
8929fi
8930
8931
8932fi
8933if test -z "$ac_cv_prog_OBJDUMP"; then
8934  ac_ct_OBJDUMP=$OBJDUMP
8935  # Extract the first word of "objdump", so it can be a program name with args.
8936set dummy objdump; ac_word=$2
8937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8938$as_echo_n "checking for $ac_word... " >&6; }
8939if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8940  $as_echo_n "(cached) " >&6
8941else
8942  if test -n "$ac_ct_OBJDUMP"; then
8943  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8944else
8945as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8946for as_dir in $PATH
8947do
8948  IFS=$as_save_IFS
8949  test -z "$as_dir" && as_dir=.
8950    for ac_exec_ext in '' $ac_executable_extensions; do
8951  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8952    ac_cv_prog_ac_ct_OBJDUMP="objdump"
8953    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8954    break 2
8955  fi
8956done
8957  done
8958IFS=$as_save_IFS
8959
8960fi
8961fi
8962ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8963if test -n "$ac_ct_OBJDUMP"; then
8964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8965$as_echo "$ac_ct_OBJDUMP" >&6; }
8966else
8967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8968$as_echo "no" >&6; }
8969fi
8970
8971  if test "x$ac_ct_OBJDUMP" = x; then
8972    OBJDUMP="false"
8973  else
8974    case $cross_compiling:$ac_tool_warned in
8975yes:)
8976{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8977$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8978ac_tool_warned=yes ;;
8979esac
8980    OBJDUMP=$ac_ct_OBJDUMP
8981  fi
8982else
8983  OBJDUMP="$ac_cv_prog_OBJDUMP"
8984fi
8985
8986test -z "$OBJDUMP" && OBJDUMP=objdump
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8997$as_echo_n "checking how to recognize dependent libraries... " >&6; }
8998if ${lt_cv_deplibs_check_method+:} false; then :
8999  $as_echo_n "(cached) " >&6
9000else
9001  lt_cv_file_magic_cmd='$MAGIC_CMD'
9002lt_cv_file_magic_test_file=
9003lt_cv_deplibs_check_method='unknown'
9004# Need to set the preceding variable on all platforms that support
9005# interlibrary dependencies.
9006# 'none' -- dependencies not supported.
9007# 'unknown' -- same as none, but documents that we really don't know.
9008# 'pass_all' -- all dependencies passed with no checks.
9009# 'test_compile' -- check by making test program.
9010# 'file_magic [[regex]]' -- check by looking for files in library path
9011# that responds to the $file_magic_cmd with a given extended regex.
9012# If you have 'file' or equivalent on your system and you're not sure
9013# whether 'pass_all' will *always* work, you probably want this one.
9014
9015case $host_os in
9016aix[4-9]*)
9017  lt_cv_deplibs_check_method=pass_all
9018  ;;
9019
9020beos*)
9021  lt_cv_deplibs_check_method=pass_all
9022  ;;
9023
9024bsdi[45]*)
9025  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
9026  lt_cv_file_magic_cmd='/usr/bin/file -L'
9027  lt_cv_file_magic_test_file=/shlib/libc.so
9028  ;;
9029
9030cygwin*)
9031  # func_win32_libid is a shell function defined in ltmain.sh
9032  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9033  lt_cv_file_magic_cmd='func_win32_libid'
9034  ;;
9035
9036mingw* | pw32*)
9037  # Base MSYS/MinGW do not provide the 'file' command needed by
9038  # func_win32_libid shell function, so use a weaker test based on 'objdump',
9039  # unless we find 'file', for example because we are cross-compiling.
9040  if ( file / ) >/dev/null 2>&1; then
9041    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9042    lt_cv_file_magic_cmd='func_win32_libid'
9043  else
9044    # Keep this pattern in sync with the one in func_win32_libid.
9045    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
9046    lt_cv_file_magic_cmd='$OBJDUMP -f'
9047  fi
9048  ;;
9049
9050cegcc*)
9051  # use the weaker test based on 'objdump'. See mingw*.
9052  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
9053  lt_cv_file_magic_cmd='$OBJDUMP -f'
9054  ;;
9055
9056darwin* | rhapsody*)
9057  lt_cv_deplibs_check_method=pass_all
9058  ;;
9059
9060freebsd* | dragonfly*)
9061  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9062    case $host_cpu in
9063    i*86 )
9064      # Not sure whether the presence of OpenBSD here was a mistake.
9065      # Let's accept both of them until this is cleared up.
9066      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
9067      lt_cv_file_magic_cmd=/usr/bin/file
9068      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
9069      ;;
9070    esac
9071  else
9072    lt_cv_deplibs_check_method=pass_all
9073  fi
9074  ;;
9075
9076haiku*)
9077  lt_cv_deplibs_check_method=pass_all
9078  ;;
9079
9080hpux10.20* | hpux11*)
9081  lt_cv_file_magic_cmd=/usr/bin/file
9082  case $host_cpu in
9083  ia64*)
9084    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
9085    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
9086    ;;
9087  hppa*64*)
9088    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
9089    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
9090    ;;
9091  *)
9092    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
9093    lt_cv_file_magic_test_file=/usr/lib/libc.sl
9094    ;;
9095  esac
9096  ;;
9097
9098interix[3-9]*)
9099  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
9100  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
9101  ;;
9102
9103irix5* | irix6* | nonstopux*)
9104  case $LD in
9105  *-32|*"-32 ") libmagic=32-bit;;
9106  *-n32|*"-n32 ") libmagic=N32;;
9107  *-64|*"-64 ") libmagic=64-bit;;
9108  *) libmagic=never-match;;
9109  esac
9110  lt_cv_deplibs_check_method=pass_all
9111  ;;
9112
9113# This must be glibc/ELF.
9114linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9115  lt_cv_deplibs_check_method=pass_all
9116  ;;
9117
9118netbsd*)
9119  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9120    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9121  else
9122    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
9123  fi
9124  ;;
9125
9126newos6*)
9127  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
9128  lt_cv_file_magic_cmd=/usr/bin/file
9129  lt_cv_file_magic_test_file=/usr/lib/libnls.so
9130  ;;
9131
9132*nto* | *qnx*)
9133  lt_cv_deplibs_check_method=pass_all
9134  ;;
9135
9136openbsd* | bitrig*)
9137  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9138    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
9139  else
9140    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9141  fi
9142  ;;
9143
9144osf3* | osf4* | osf5*)
9145  lt_cv_deplibs_check_method=pass_all
9146  ;;
9147
9148rdos*)
9149  lt_cv_deplibs_check_method=pass_all
9150  ;;
9151
9152solaris*)
9153  lt_cv_deplibs_check_method=pass_all
9154  ;;
9155
9156sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9157  lt_cv_deplibs_check_method=pass_all
9158  ;;
9159
9160sysv4 | sysv4.3*)
9161  case $host_vendor in
9162  motorola)
9163    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
9164    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
9165    ;;
9166  ncr)
9167    lt_cv_deplibs_check_method=pass_all
9168    ;;
9169  sequent)
9170    lt_cv_file_magic_cmd='/bin/file'
9171    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
9172    ;;
9173  sni)
9174    lt_cv_file_magic_cmd='/bin/file'
9175    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
9176    lt_cv_file_magic_test_file=/lib/libc.so
9177    ;;
9178  siemens)
9179    lt_cv_deplibs_check_method=pass_all
9180    ;;
9181  pc)
9182    lt_cv_deplibs_check_method=pass_all
9183    ;;
9184  esac
9185  ;;
9186
9187tpf*)
9188  lt_cv_deplibs_check_method=pass_all
9189  ;;
9190os2*)
9191  lt_cv_deplibs_check_method=pass_all
9192  ;;
9193esac
9194
9195fi
9196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
9197$as_echo "$lt_cv_deplibs_check_method" >&6; }
9198
9199file_magic_glob=
9200want_nocaseglob=no
9201if test "$build" = "$host"; then
9202  case $host_os in
9203  mingw* | pw32*)
9204    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
9205      want_nocaseglob=yes
9206    else
9207      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
9208    fi
9209    ;;
9210  esac
9211fi
9212
9213file_magic_cmd=$lt_cv_file_magic_cmd
9214deplibs_check_method=$lt_cv_deplibs_check_method
9215test -z "$deplibs_check_method" && deplibs_check_method=unknown
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238if test -n "$ac_tool_prefix"; then
9239  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9240set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9242$as_echo_n "checking for $ac_word... " >&6; }
9243if ${ac_cv_prog_DLLTOOL+:} false; then :
9244  $as_echo_n "(cached) " >&6
9245else
9246  if test -n "$DLLTOOL"; then
9247  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9248else
9249as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9250for as_dir in $PATH
9251do
9252  IFS=$as_save_IFS
9253  test -z "$as_dir" && as_dir=.
9254    for ac_exec_ext in '' $ac_executable_extensions; do
9255  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9256    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9257    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9258    break 2
9259  fi
9260done
9261  done
9262IFS=$as_save_IFS
9263
9264fi
9265fi
9266DLLTOOL=$ac_cv_prog_DLLTOOL
9267if test -n "$DLLTOOL"; then
9268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9269$as_echo "$DLLTOOL" >&6; }
9270else
9271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9272$as_echo "no" >&6; }
9273fi
9274
9275
9276fi
9277if test -z "$ac_cv_prog_DLLTOOL"; then
9278  ac_ct_DLLTOOL=$DLLTOOL
9279  # Extract the first word of "dlltool", so it can be a program name with args.
9280set dummy dlltool; ac_word=$2
9281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9282$as_echo_n "checking for $ac_word... " >&6; }
9283if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
9284  $as_echo_n "(cached) " >&6
9285else
9286  if test -n "$ac_ct_DLLTOOL"; then
9287  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9288else
9289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9290for as_dir in $PATH
9291do
9292  IFS=$as_save_IFS
9293  test -z "$as_dir" && as_dir=.
9294    for ac_exec_ext in '' $ac_executable_extensions; do
9295  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9296    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9297    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9298    break 2
9299  fi
9300done
9301  done
9302IFS=$as_save_IFS
9303
9304fi
9305fi
9306ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9307if test -n "$ac_ct_DLLTOOL"; then
9308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9309$as_echo "$ac_ct_DLLTOOL" >&6; }
9310else
9311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9312$as_echo "no" >&6; }
9313fi
9314
9315  if test "x$ac_ct_DLLTOOL" = x; then
9316    DLLTOOL="false"
9317  else
9318    case $cross_compiling:$ac_tool_warned in
9319yes:)
9320{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9321$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9322ac_tool_warned=yes ;;
9323esac
9324    DLLTOOL=$ac_ct_DLLTOOL
9325  fi
9326else
9327  DLLTOOL="$ac_cv_prog_DLLTOOL"
9328fi
9329
9330test -z "$DLLTOOL" && DLLTOOL=dlltool
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
9342$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
9343if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
9344  $as_echo_n "(cached) " >&6
9345else
9346  lt_cv_sharedlib_from_linklib_cmd='unknown'
9347
9348case $host_os in
9349cygwin* | mingw* | pw32* | cegcc*)
9350  # two different shell functions defined in ltmain.sh;
9351  # decide which one to use based on capabilities of $DLLTOOL
9352  case `$DLLTOOL --help 2>&1` in
9353  *--identify-strict*)
9354    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
9355    ;;
9356  *)
9357    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
9358    ;;
9359  esac
9360  ;;
9361*)
9362  # fallback: assume linklib IS sharedlib
9363  lt_cv_sharedlib_from_linklib_cmd=$ECHO
9364  ;;
9365esac
9366
9367fi
9368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
9369$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
9370sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
9371test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
9372
9373
9374
9375
9376
9377
9378
9379if test -n "$ac_tool_prefix"; then
9380  for ac_prog in ar
9381  do
9382    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9383set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9385$as_echo_n "checking for $ac_word... " >&6; }
9386if ${ac_cv_prog_AR+:} false; then :
9387  $as_echo_n "(cached) " >&6
9388else
9389  if test -n "$AR"; then
9390  ac_cv_prog_AR="$AR" # Let the user override the test.
9391else
9392as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9393for as_dir in $PATH
9394do
9395  IFS=$as_save_IFS
9396  test -z "$as_dir" && as_dir=.
9397    for ac_exec_ext in '' $ac_executable_extensions; do
9398  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9399    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9400    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9401    break 2
9402  fi
9403done
9404  done
9405IFS=$as_save_IFS
9406
9407fi
9408fi
9409AR=$ac_cv_prog_AR
9410if test -n "$AR"; then
9411  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9412$as_echo "$AR" >&6; }
9413else
9414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9415$as_echo "no" >&6; }
9416fi
9417
9418
9419    test -n "$AR" && break
9420  done
9421fi
9422if test -z "$AR"; then
9423  ac_ct_AR=$AR
9424  for ac_prog in ar
9425do
9426  # Extract the first word of "$ac_prog", so it can be a program name with args.
9427set dummy $ac_prog; ac_word=$2
9428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9429$as_echo_n "checking for $ac_word... " >&6; }
9430if ${ac_cv_prog_ac_ct_AR+:} false; then :
9431  $as_echo_n "(cached) " >&6
9432else
9433  if test -n "$ac_ct_AR"; then
9434  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9435else
9436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9437for as_dir in $PATH
9438do
9439  IFS=$as_save_IFS
9440  test -z "$as_dir" && as_dir=.
9441    for ac_exec_ext in '' $ac_executable_extensions; do
9442  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9443    ac_cv_prog_ac_ct_AR="$ac_prog"
9444    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9445    break 2
9446  fi
9447done
9448  done
9449IFS=$as_save_IFS
9450
9451fi
9452fi
9453ac_ct_AR=$ac_cv_prog_ac_ct_AR
9454if test -n "$ac_ct_AR"; then
9455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9456$as_echo "$ac_ct_AR" >&6; }
9457else
9458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9459$as_echo "no" >&6; }
9460fi
9461
9462
9463  test -n "$ac_ct_AR" && break
9464done
9465
9466  if test "x$ac_ct_AR" = x; then
9467    AR="false"
9468  else
9469    case $cross_compiling:$ac_tool_warned in
9470yes:)
9471{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9472$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9473ac_tool_warned=yes ;;
9474esac
9475    AR=$ac_ct_AR
9476  fi
9477fi
9478
9479: ${AR=ar}
9480: ${AR_FLAGS=cru}
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
9493$as_echo_n "checking for archiver @FILE support... " >&6; }
9494if ${lt_cv_ar_at_file+:} false; then :
9495  $as_echo_n "(cached) " >&6
9496else
9497  lt_cv_ar_at_file=no
9498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9499/* end confdefs.h.  */
9500
9501int
9502main ()
9503{
9504
9505  ;
9506  return 0;
9507}
9508_ACEOF
9509if ac_fn_c_try_compile "$LINENO"; then :
9510  echo conftest.$ac_objext > conftest.lst
9511      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
9512      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9513  (eval $lt_ar_try) 2>&5
9514  ac_status=$?
9515  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9516  test $ac_status = 0; }
9517      if test 0 -eq "$ac_status"; then
9518	# Ensure the archiver fails upon bogus file names.
9519	rm -f conftest.$ac_objext libconftest.a
9520	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9521  (eval $lt_ar_try) 2>&5
9522  ac_status=$?
9523  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9524  test $ac_status = 0; }
9525	if test 0 -ne "$ac_status"; then
9526          lt_cv_ar_at_file=@
9527        fi
9528      fi
9529      rm -f conftest.* libconftest.a
9530
9531fi
9532rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9533
9534fi
9535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
9536$as_echo "$lt_cv_ar_at_file" >&6; }
9537
9538if test no = "$lt_cv_ar_at_file"; then
9539  archiver_list_spec=
9540else
9541  archiver_list_spec=$lt_cv_ar_at_file
9542fi
9543
9544
9545
9546
9547
9548
9549
9550if test -n "$ac_tool_prefix"; then
9551  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9552set dummy ${ac_tool_prefix}strip; ac_word=$2
9553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9554$as_echo_n "checking for $ac_word... " >&6; }
9555if ${ac_cv_prog_STRIP+:} false; then :
9556  $as_echo_n "(cached) " >&6
9557else
9558  if test -n "$STRIP"; then
9559  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9560else
9561as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9562for as_dir in $PATH
9563do
9564  IFS=$as_save_IFS
9565  test -z "$as_dir" && as_dir=.
9566    for ac_exec_ext in '' $ac_executable_extensions; do
9567  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9568    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9569    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9570    break 2
9571  fi
9572done
9573  done
9574IFS=$as_save_IFS
9575
9576fi
9577fi
9578STRIP=$ac_cv_prog_STRIP
9579if test -n "$STRIP"; then
9580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9581$as_echo "$STRIP" >&6; }
9582else
9583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9584$as_echo "no" >&6; }
9585fi
9586
9587
9588fi
9589if test -z "$ac_cv_prog_STRIP"; then
9590  ac_ct_STRIP=$STRIP
9591  # Extract the first word of "strip", so it can be a program name with args.
9592set dummy strip; ac_word=$2
9593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9594$as_echo_n "checking for $ac_word... " >&6; }
9595if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
9596  $as_echo_n "(cached) " >&6
9597else
9598  if test -n "$ac_ct_STRIP"; then
9599  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9600else
9601as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9602for as_dir in $PATH
9603do
9604  IFS=$as_save_IFS
9605  test -z "$as_dir" && as_dir=.
9606    for ac_exec_ext in '' $ac_executable_extensions; do
9607  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9608    ac_cv_prog_ac_ct_STRIP="strip"
9609    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9610    break 2
9611  fi
9612done
9613  done
9614IFS=$as_save_IFS
9615
9616fi
9617fi
9618ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9619if test -n "$ac_ct_STRIP"; then
9620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9621$as_echo "$ac_ct_STRIP" >&6; }
9622else
9623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9624$as_echo "no" >&6; }
9625fi
9626
9627  if test "x$ac_ct_STRIP" = x; then
9628    STRIP=":"
9629  else
9630    case $cross_compiling:$ac_tool_warned in
9631yes:)
9632{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9633$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9634ac_tool_warned=yes ;;
9635esac
9636    STRIP=$ac_ct_STRIP
9637  fi
9638else
9639  STRIP="$ac_cv_prog_STRIP"
9640fi
9641
9642test -z "$STRIP" && STRIP=:
9643
9644
9645
9646
9647
9648
9649if test -n "$ac_tool_prefix"; then
9650  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9651set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9653$as_echo_n "checking for $ac_word... " >&6; }
9654if ${ac_cv_prog_RANLIB+:} false; then :
9655  $as_echo_n "(cached) " >&6
9656else
9657  if test -n "$RANLIB"; then
9658  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9659else
9660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9661for as_dir in $PATH
9662do
9663  IFS=$as_save_IFS
9664  test -z "$as_dir" && as_dir=.
9665    for ac_exec_ext in '' $ac_executable_extensions; do
9666  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9667    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9668    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9669    break 2
9670  fi
9671done
9672  done
9673IFS=$as_save_IFS
9674
9675fi
9676fi
9677RANLIB=$ac_cv_prog_RANLIB
9678if test -n "$RANLIB"; then
9679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9680$as_echo "$RANLIB" >&6; }
9681else
9682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9683$as_echo "no" >&6; }
9684fi
9685
9686
9687fi
9688if test -z "$ac_cv_prog_RANLIB"; then
9689  ac_ct_RANLIB=$RANLIB
9690  # Extract the first word of "ranlib", so it can be a program name with args.
9691set dummy ranlib; ac_word=$2
9692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9693$as_echo_n "checking for $ac_word... " >&6; }
9694if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
9695  $as_echo_n "(cached) " >&6
9696else
9697  if test -n "$ac_ct_RANLIB"; then
9698  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9699else
9700as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9701for as_dir in $PATH
9702do
9703  IFS=$as_save_IFS
9704  test -z "$as_dir" && as_dir=.
9705    for ac_exec_ext in '' $ac_executable_extensions; do
9706  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9707    ac_cv_prog_ac_ct_RANLIB="ranlib"
9708    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9709    break 2
9710  fi
9711done
9712  done
9713IFS=$as_save_IFS
9714
9715fi
9716fi
9717ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9718if test -n "$ac_ct_RANLIB"; then
9719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9720$as_echo "$ac_ct_RANLIB" >&6; }
9721else
9722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9723$as_echo "no" >&6; }
9724fi
9725
9726  if test "x$ac_ct_RANLIB" = x; then
9727    RANLIB=":"
9728  else
9729    case $cross_compiling:$ac_tool_warned in
9730yes:)
9731{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9732$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9733ac_tool_warned=yes ;;
9734esac
9735    RANLIB=$ac_ct_RANLIB
9736  fi
9737else
9738  RANLIB="$ac_cv_prog_RANLIB"
9739fi
9740
9741test -z "$RANLIB" && RANLIB=:
9742
9743
9744
9745
9746
9747
9748# Determine commands to create old-style static archives.
9749old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9750old_postinstall_cmds='chmod 644 $oldlib'
9751old_postuninstall_cmds=
9752
9753if test -n "$RANLIB"; then
9754  case $host_os in
9755  bitrig* | openbsd*)
9756    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9757    ;;
9758  *)
9759    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9760    ;;
9761  esac
9762  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9763fi
9764
9765case $host_os in
9766  darwin*)
9767    lock_old_archive_extraction=yes ;;
9768  *)
9769    lock_old_archive_extraction=no ;;
9770esac
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810# If no C compiler was specified, use CC.
9811LTCC=${LTCC-"$CC"}
9812
9813# If no C compiler flags were specified, use CFLAGS.
9814LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9815
9816# Allow CC to be a program name with arguments.
9817compiler=$CC
9818
9819
9820# Check for command to grab the raw symbol name followed by C symbol from nm.
9821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9822$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9823if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9824  $as_echo_n "(cached) " >&6
9825else
9826
9827# These are sane defaults that work on at least a few old systems.
9828# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
9829
9830# Character class describing NM global symbol codes.
9831symcode='[BCDEGRST]'
9832
9833# Regexp to match symbols that can be accessed directly from C.
9834sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9835
9836# Define system-specific variables.
9837case $host_os in
9838aix*)
9839  symcode='[BCDT]'
9840  ;;
9841cygwin* | mingw* | pw32* | cegcc*)
9842  symcode='[ABCDGISTW]'
9843  ;;
9844hpux*)
9845  if test ia64 = "$host_cpu"; then
9846    symcode='[ABCDEGRST]'
9847  fi
9848  ;;
9849irix* | nonstopux*)
9850  symcode='[BCDEGRST]'
9851  ;;
9852osf*)
9853  symcode='[BCDEGQRST]'
9854  ;;
9855solaris*)
9856  symcode='[BDRT]'
9857  ;;
9858sco3.2v5*)
9859  symcode='[DT]'
9860  ;;
9861sysv4.2uw2*)
9862  symcode='[DT]'
9863  ;;
9864sysv5* | sco5v6* | unixware* | OpenUNIX*)
9865  symcode='[ABDT]'
9866  ;;
9867sysv4)
9868  symcode='[DFNSTU]'
9869  ;;
9870esac
9871
9872# If we're using GNU nm, then use its standard symbol codes.
9873case `$NM -V 2>&1` in
9874*GNU* | *'with BFD'*)
9875  symcode='[ABCDGIRSTW]' ;;
9876esac
9877
9878if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9879  # Gets list of data symbols to import.
9880  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
9881  # Adjust the below global symbol transforms to fixup imported variables.
9882  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
9883  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
9884  lt_c_name_lib_hook="\
9885  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
9886  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
9887else
9888  # Disable hooks by default.
9889  lt_cv_sys_global_symbol_to_import=
9890  lt_cdecl_hook=
9891  lt_c_name_hook=
9892  lt_c_name_lib_hook=
9893fi
9894
9895# Transform an extracted symbol line into a proper C declaration.
9896# Some systems (esp. on ia64) link data and code symbols differently,
9897# so use this general approach.
9898lt_cv_sys_global_symbol_to_cdecl="sed -n"\
9899$lt_cdecl_hook\
9900" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9901" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9902
9903# Transform an extracted symbol line into symbol name and symbol address
9904lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
9905$lt_c_name_hook\
9906" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
9907" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
9908
9909# Transform an extracted symbol line into symbol name with lib prefix and
9910# symbol address.
9911lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
9912$lt_c_name_lib_hook\
9913" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
9914" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
9915" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
9916
9917# Handle CRLF in mingw tool chain
9918opt_cr=
9919case $build_os in
9920mingw*)
9921  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9922  ;;
9923esac
9924
9925# Try without a prefix underscore, then with it.
9926for ac_symprfx in "" "_"; do
9927
9928  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9929  symxfrm="\\1 $ac_symprfx\\2 \\2"
9930
9931  # Write the raw and C identifiers.
9932  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9933    # Fake it for dumpbin and say T for any non-static function,
9934    # D for any global variable and I for any imported variable.
9935    # Also find C++ and __fastcall symbols from MSVC++,
9936    # which start with @ or ?.
9937    lt_cv_sys_global_symbol_pipe="$AWK '"\
9938"     {last_section=section; section=\$ 3};"\
9939"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9940"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9941"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
9942"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
9943"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
9944"     \$ 0!~/External *\|/{next};"\
9945"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9946"     {if(hide[section]) next};"\
9947"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
9948"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
9949"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
9950"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
9951"     ' prfx=^$ac_symprfx"
9952  else
9953    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9954  fi
9955  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9956
9957  # Check to see that the pipe works correctly.
9958  pipe_works=no
9959
9960  rm -f conftest*
9961  cat > conftest.$ac_ext <<_LT_EOF
9962#ifdef __cplusplus
9963extern "C" {
9964#endif
9965char nm_test_var;
9966void nm_test_func(void);
9967void nm_test_func(void){}
9968#ifdef __cplusplus
9969}
9970#endif
9971int main(){nm_test_var='a';nm_test_func();return(0);}
9972_LT_EOF
9973
9974  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9975  (eval $ac_compile) 2>&5
9976  ac_status=$?
9977  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9978  test $ac_status = 0; }; then
9979    # Now try to grab the symbols.
9980    nlist=conftest.nm
9981    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9982  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9983  ac_status=$?
9984  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9985  test $ac_status = 0; } && test -s "$nlist"; then
9986      # Try sorting and uniquifying the output.
9987      if sort "$nlist" | uniq > "$nlist"T; then
9988	mv -f "$nlist"T "$nlist"
9989      else
9990	rm -f "$nlist"T
9991      fi
9992
9993      # Make sure that we snagged all the symbols we need.
9994      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9995	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9996	  cat <<_LT_EOF > conftest.$ac_ext
9997/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
9998#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
9999/* DATA imports from DLLs on WIN32 can't be const, because runtime
10000   relocations are performed -- see ld's documentation on pseudo-relocs.  */
10001# define LT_DLSYM_CONST
10002#elif defined __osf__
10003/* This system does not cope well with relocations in const data.  */
10004# define LT_DLSYM_CONST
10005#else
10006# define LT_DLSYM_CONST const
10007#endif
10008
10009#ifdef __cplusplus
10010extern "C" {
10011#endif
10012
10013_LT_EOF
10014	  # Now generate the symbol file.
10015	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
10016
10017	  cat <<_LT_EOF >> conftest.$ac_ext
10018
10019/* The mapping between symbol names and symbols.  */
10020LT_DLSYM_CONST struct {
10021  const char *name;
10022  void       *address;
10023}
10024lt__PROGRAM__LTX_preloaded_symbols[] =
10025{
10026  { "@PROGRAM@", (void *) 0 },
10027_LT_EOF
10028	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
10029	  cat <<\_LT_EOF >> conftest.$ac_ext
10030  {0, (void *) 0}
10031};
10032
10033/* This works around a problem in FreeBSD linker */
10034#ifdef FREEBSD_WORKAROUND
10035static const void *lt_preloaded_setup() {
10036  return lt__PROGRAM__LTX_preloaded_symbols;
10037}
10038#endif
10039
10040#ifdef __cplusplus
10041}
10042#endif
10043_LT_EOF
10044	  # Now try linking the two files.
10045	  mv conftest.$ac_objext conftstm.$ac_objext
10046	  lt_globsym_save_LIBS=$LIBS
10047	  lt_globsym_save_CFLAGS=$CFLAGS
10048	  LIBS=conftstm.$ac_objext
10049	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
10050	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10051  (eval $ac_link) 2>&5
10052  ac_status=$?
10053  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10054  test $ac_status = 0; } && test -s conftest$ac_exeext; then
10055	    pipe_works=yes
10056	  fi
10057	  LIBS=$lt_globsym_save_LIBS
10058	  CFLAGS=$lt_globsym_save_CFLAGS
10059	else
10060	  echo "cannot find nm_test_func in $nlist" >&5
10061	fi
10062      else
10063	echo "cannot find nm_test_var in $nlist" >&5
10064      fi
10065    else
10066      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
10067    fi
10068  else
10069    echo "$progname: failed program was:" >&5
10070    cat conftest.$ac_ext >&5
10071  fi
10072  rm -rf conftest* conftst*
10073
10074  # Do not use the global_symbol_pipe unless it works.
10075  if test yes = "$pipe_works"; then
10076    break
10077  else
10078    lt_cv_sys_global_symbol_pipe=
10079  fi
10080done
10081
10082fi
10083
10084if test -z "$lt_cv_sys_global_symbol_pipe"; then
10085  lt_cv_sys_global_symbol_to_cdecl=
10086fi
10087if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
10089$as_echo "failed" >&6; }
10090else
10091  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
10092$as_echo "ok" >&6; }
10093fi
10094
10095# Response file support.
10096if test "$lt_cv_nm_interface" = "MS dumpbin"; then
10097  nm_file_list_spec='@'
10098elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
10099  nm_file_list_spec='@'
10100fi
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
10139$as_echo_n "checking for sysroot... " >&6; }
10140
10141# Check whether --with-sysroot was given.
10142if test "${with_sysroot+set}" = set; then :
10143  withval=$with_sysroot;
10144else
10145  with_sysroot=no
10146fi
10147
10148
10149lt_sysroot=
10150case $with_sysroot in #(
10151 yes)
10152   if test yes = "$GCC"; then
10153     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
10154   fi
10155   ;; #(
10156 /*)
10157   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
10158   ;; #(
10159 no|'')
10160   ;; #(
10161 *)
10162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
10163$as_echo "$with_sysroot" >&6; }
10164   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
10165   ;;
10166esac
10167
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
10169$as_echo "${lt_sysroot:-no}" >&6; }
10170
10171
10172
10173
10174
10175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
10176$as_echo_n "checking for a working dd... " >&6; }
10177if ${ac_cv_path_lt_DD+:} false; then :
10178  $as_echo_n "(cached) " >&6
10179else
10180  printf 0123456789abcdef0123456789abcdef >conftest.i
10181cat conftest.i conftest.i >conftest2.i
10182: ${lt_DD:=$DD}
10183if test -z "$lt_DD"; then
10184  ac_path_lt_DD_found=false
10185  # Loop through the user's path and test for each of PROGNAME-LIST
10186  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10187for as_dir in $PATH
10188do
10189  IFS=$as_save_IFS
10190  test -z "$as_dir" && as_dir=.
10191    for ac_prog in dd; do
10192    for ac_exec_ext in '' $ac_executable_extensions; do
10193      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
10194      as_fn_executable_p "$ac_path_lt_DD" || continue
10195if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
10196  cmp -s conftest.i conftest.out \
10197  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
10198fi
10199      $ac_path_lt_DD_found && break 3
10200    done
10201  done
10202  done
10203IFS=$as_save_IFS
10204  if test -z "$ac_cv_path_lt_DD"; then
10205    :
10206  fi
10207else
10208  ac_cv_path_lt_DD=$lt_DD
10209fi
10210
10211rm -f conftest.i conftest2.i conftest.out
10212fi
10213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
10214$as_echo "$ac_cv_path_lt_DD" >&6; }
10215
10216
10217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
10218$as_echo_n "checking how to truncate binary pipes... " >&6; }
10219if ${lt_cv_truncate_bin+:} false; then :
10220  $as_echo_n "(cached) " >&6
10221else
10222  printf 0123456789abcdef0123456789abcdef >conftest.i
10223cat conftest.i conftest.i >conftest2.i
10224lt_cv_truncate_bin=
10225if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
10226  cmp -s conftest.i conftest.out \
10227  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
10228fi
10229rm -f conftest.i conftest2.i conftest.out
10230test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
10231fi
10232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
10233$as_echo "$lt_cv_truncate_bin" >&6; }
10234
10235
10236
10237
10238
10239
10240
10241# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
10242func_cc_basename ()
10243{
10244    for cc_temp in $*""; do
10245      case $cc_temp in
10246        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10247        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10248        \-*) ;;
10249        *) break;;
10250      esac
10251    done
10252    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10253}
10254
10255# Check whether --enable-libtool-lock was given.
10256if test "${enable_libtool_lock+set}" = set; then :
10257  enableval=$enable_libtool_lock;
10258fi
10259
10260test no = "$enable_libtool_lock" || enable_libtool_lock=yes
10261
10262# Some flags need to be propagated to the compiler or linker for good
10263# libtool support.
10264case $host in
10265ia64-*-hpux*)
10266  # Find out what ABI is being produced by ac_compile, and set mode
10267  # options accordingly.
10268  echo 'int i;' > conftest.$ac_ext
10269  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10270  (eval $ac_compile) 2>&5
10271  ac_status=$?
10272  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10273  test $ac_status = 0; }; then
10274    case `/usr/bin/file conftest.$ac_objext` in
10275      *ELF-32*)
10276	HPUX_IA64_MODE=32
10277	;;
10278      *ELF-64*)
10279	HPUX_IA64_MODE=64
10280	;;
10281    esac
10282  fi
10283  rm -rf conftest*
10284  ;;
10285*-*-irix6*)
10286  # Find out what ABI is being produced by ac_compile, and set linker
10287  # options accordingly.
10288  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
10289  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10290  (eval $ac_compile) 2>&5
10291  ac_status=$?
10292  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10293  test $ac_status = 0; }; then
10294    if test yes = "$lt_cv_prog_gnu_ld"; then
10295      case `/usr/bin/file conftest.$ac_objext` in
10296	*32-bit*)
10297	  LD="${LD-ld} -melf32bsmip"
10298	  ;;
10299	*N32*)
10300	  LD="${LD-ld} -melf32bmipn32"
10301	  ;;
10302	*64-bit*)
10303	  LD="${LD-ld} -melf64bmip"
10304	;;
10305      esac
10306    else
10307      case `/usr/bin/file conftest.$ac_objext` in
10308	*32-bit*)
10309	  LD="${LD-ld} -32"
10310	  ;;
10311	*N32*)
10312	  LD="${LD-ld} -n32"
10313	  ;;
10314	*64-bit*)
10315	  LD="${LD-ld} -64"
10316	  ;;
10317      esac
10318    fi
10319  fi
10320  rm -rf conftest*
10321  ;;
10322
10323mips64*-*linux*)
10324  # Find out what ABI is being produced by ac_compile, and set linker
10325  # options accordingly.
10326  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
10327  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10328  (eval $ac_compile) 2>&5
10329  ac_status=$?
10330  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10331  test $ac_status = 0; }; then
10332    emul=elf
10333    case `/usr/bin/file conftest.$ac_objext` in
10334      *32-bit*)
10335	emul="${emul}32"
10336	;;
10337      *64-bit*)
10338	emul="${emul}64"
10339	;;
10340    esac
10341    case `/usr/bin/file conftest.$ac_objext` in
10342      *MSB*)
10343	emul="${emul}btsmip"
10344	;;
10345      *LSB*)
10346	emul="${emul}ltsmip"
10347	;;
10348    esac
10349    case `/usr/bin/file conftest.$ac_objext` in
10350      *N32*)
10351	emul="${emul}n32"
10352	;;
10353    esac
10354    LD="${LD-ld} -m $emul"
10355  fi
10356  rm -rf conftest*
10357  ;;
10358
10359x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
10360s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
10361  # Find out what ABI is being produced by ac_compile, and set linker
10362  # options accordingly.  Note that the listed cases only cover the
10363  # situations where additional linker options are needed (such as when
10364  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
10365  # vice versa); the common cases where no linker options are needed do
10366  # not appear in the list.
10367  echo 'int i;' > conftest.$ac_ext
10368  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10369  (eval $ac_compile) 2>&5
10370  ac_status=$?
10371  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10372  test $ac_status = 0; }; then
10373    case `/usr/bin/file conftest.o` in
10374      *32-bit*)
10375	case $host in
10376	  x86_64-*kfreebsd*-gnu)
10377	    LD="${LD-ld} -m elf_i386_fbsd"
10378	    ;;
10379	  x86_64-*linux*)
10380	    case `/usr/bin/file conftest.o` in
10381	      *x86-64*)
10382		LD="${LD-ld} -m elf32_x86_64"
10383		;;
10384	      *)
10385		LD="${LD-ld} -m elf_i386"
10386		;;
10387	    esac
10388	    ;;
10389	  powerpc64le-*linux*)
10390	    LD="${LD-ld} -m elf32lppclinux"
10391	    ;;
10392	  powerpc64-*linux*)
10393	    LD="${LD-ld} -m elf32ppclinux"
10394	    ;;
10395	  s390x-*linux*)
10396	    LD="${LD-ld} -m elf_s390"
10397	    ;;
10398	  sparc64-*linux*)
10399	    LD="${LD-ld} -m elf32_sparc"
10400	    ;;
10401	esac
10402	;;
10403      *64-bit*)
10404	case $host in
10405	  x86_64-*kfreebsd*-gnu)
10406	    LD="${LD-ld} -m elf_x86_64_fbsd"
10407	    ;;
10408	  x86_64-*linux*)
10409	    LD="${LD-ld} -m elf_x86_64"
10410	    ;;
10411	  powerpcle-*linux*)
10412	    LD="${LD-ld} -m elf64lppc"
10413	    ;;
10414	  powerpc-*linux*)
10415	    LD="${LD-ld} -m elf64ppc"
10416	    ;;
10417	  s390*-*linux*|s390*-*tpf*)
10418	    LD="${LD-ld} -m elf64_s390"
10419	    ;;
10420	  sparc*-*linux*)
10421	    LD="${LD-ld} -m elf64_sparc"
10422	    ;;
10423	esac
10424	;;
10425    esac
10426  fi
10427  rm -rf conftest*
10428  ;;
10429
10430*-*-sco3.2v5*)
10431  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10432  SAVE_CFLAGS=$CFLAGS
10433  CFLAGS="$CFLAGS -belf"
10434  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
10435$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
10436if ${lt_cv_cc_needs_belf+:} false; then :
10437  $as_echo_n "(cached) " >&6
10438else
10439  ac_ext=c
10440ac_cpp='$CPP $CPPFLAGS'
10441ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10442ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10443ac_compiler_gnu=$ac_cv_c_compiler_gnu
10444
10445     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10446/* end confdefs.h.  */
10447
10448int
10449main ()
10450{
10451
10452  ;
10453  return 0;
10454}
10455_ACEOF
10456if ac_fn_c_try_link "$LINENO"; then :
10457  lt_cv_cc_needs_belf=yes
10458else
10459  lt_cv_cc_needs_belf=no
10460fi
10461rm -f core conftest.err conftest.$ac_objext \
10462    conftest$ac_exeext conftest.$ac_ext
10463     ac_ext=c
10464ac_cpp='$CPP $CPPFLAGS'
10465ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10466ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10467ac_compiler_gnu=$ac_cv_c_compiler_gnu
10468
10469fi
10470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
10471$as_echo "$lt_cv_cc_needs_belf" >&6; }
10472  if test yes != "$lt_cv_cc_needs_belf"; then
10473    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10474    CFLAGS=$SAVE_CFLAGS
10475  fi
10476  ;;
10477*-*solaris*)
10478  # Find out what ABI is being produced by ac_compile, and set linker
10479  # options accordingly.
10480  echo 'int i;' > conftest.$ac_ext
10481  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10482  (eval $ac_compile) 2>&5
10483  ac_status=$?
10484  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10485  test $ac_status = 0; }; then
10486    case `/usr/bin/file conftest.o` in
10487    *64-bit*)
10488      case $lt_cv_prog_gnu_ld in
10489      yes*)
10490        case $host in
10491        i?86-*-solaris*|x86_64-*-solaris*)
10492          LD="${LD-ld} -m elf_x86_64"
10493          ;;
10494        sparc*-*-solaris*)
10495          LD="${LD-ld} -m elf64_sparc"
10496          ;;
10497        esac
10498        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
10499        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
10500          LD=${LD-ld}_sol2
10501        fi
10502        ;;
10503      *)
10504	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
10505	  LD="${LD-ld} -64"
10506	fi
10507	;;
10508      esac
10509      ;;
10510    esac
10511  fi
10512  rm -rf conftest*
10513  ;;
10514esac
10515
10516need_locks=$enable_libtool_lock
10517
10518if test -n "$ac_tool_prefix"; then
10519  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
10520set dummy ${ac_tool_prefix}mt; ac_word=$2
10521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10522$as_echo_n "checking for $ac_word... " >&6; }
10523if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
10524  $as_echo_n "(cached) " >&6
10525else
10526  if test -n "$MANIFEST_TOOL"; then
10527  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
10528else
10529as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10530for as_dir in $PATH
10531do
10532  IFS=$as_save_IFS
10533  test -z "$as_dir" && as_dir=.
10534    for ac_exec_ext in '' $ac_executable_extensions; do
10535  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10536    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
10537    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10538    break 2
10539  fi
10540done
10541  done
10542IFS=$as_save_IFS
10543
10544fi
10545fi
10546MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
10547if test -n "$MANIFEST_TOOL"; then
10548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
10549$as_echo "$MANIFEST_TOOL" >&6; }
10550else
10551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10552$as_echo "no" >&6; }
10553fi
10554
10555
10556fi
10557if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
10558  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
10559  # Extract the first word of "mt", so it can be a program name with args.
10560set dummy mt; ac_word=$2
10561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10562$as_echo_n "checking for $ac_word... " >&6; }
10563if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
10564  $as_echo_n "(cached) " >&6
10565else
10566  if test -n "$ac_ct_MANIFEST_TOOL"; then
10567  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
10568else
10569as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10570for as_dir in $PATH
10571do
10572  IFS=$as_save_IFS
10573  test -z "$as_dir" && as_dir=.
10574    for ac_exec_ext in '' $ac_executable_extensions; do
10575  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10576    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
10577    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10578    break 2
10579  fi
10580done
10581  done
10582IFS=$as_save_IFS
10583
10584fi
10585fi
10586ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
10587if test -n "$ac_ct_MANIFEST_TOOL"; then
10588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
10589$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
10590else
10591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10592$as_echo "no" >&6; }
10593fi
10594
10595  if test "x$ac_ct_MANIFEST_TOOL" = x; then
10596    MANIFEST_TOOL=":"
10597  else
10598    case $cross_compiling:$ac_tool_warned in
10599yes:)
10600{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10601$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10602ac_tool_warned=yes ;;
10603esac
10604    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
10605  fi
10606else
10607  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
10608fi
10609
10610test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
10611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
10612$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
10613if ${lt_cv_path_mainfest_tool+:} false; then :
10614  $as_echo_n "(cached) " >&6
10615else
10616  lt_cv_path_mainfest_tool=no
10617  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10618  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
10619  cat conftest.err >&5
10620  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
10621    lt_cv_path_mainfest_tool=yes
10622  fi
10623  rm -f conftest*
10624fi
10625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
10626$as_echo "$lt_cv_path_mainfest_tool" >&6; }
10627if test yes != "$lt_cv_path_mainfest_tool"; then
10628  MANIFEST_TOOL=:
10629fi
10630
10631
10632
10633
10634
10635
10636  case $host_os in
10637    rhapsody* | darwin*)
10638    if test -n "$ac_tool_prefix"; then
10639  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10640set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10642$as_echo_n "checking for $ac_word... " >&6; }
10643if ${ac_cv_prog_DSYMUTIL+:} false; then :
10644  $as_echo_n "(cached) " >&6
10645else
10646  if test -n "$DSYMUTIL"; then
10647  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10648else
10649as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10650for as_dir in $PATH
10651do
10652  IFS=$as_save_IFS
10653  test -z "$as_dir" && as_dir=.
10654    for ac_exec_ext in '' $ac_executable_extensions; do
10655  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10656    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
10657    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10658    break 2
10659  fi
10660done
10661  done
10662IFS=$as_save_IFS
10663
10664fi
10665fi
10666DSYMUTIL=$ac_cv_prog_DSYMUTIL
10667if test -n "$DSYMUTIL"; then
10668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10669$as_echo "$DSYMUTIL" >&6; }
10670else
10671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10672$as_echo "no" >&6; }
10673fi
10674
10675
10676fi
10677if test -z "$ac_cv_prog_DSYMUTIL"; then
10678  ac_ct_DSYMUTIL=$DSYMUTIL
10679  # Extract the first word of "dsymutil", so it can be a program name with args.
10680set dummy dsymutil; ac_word=$2
10681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10682$as_echo_n "checking for $ac_word... " >&6; }
10683if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
10684  $as_echo_n "(cached) " >&6
10685else
10686  if test -n "$ac_ct_DSYMUTIL"; then
10687  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10688else
10689as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10690for as_dir in $PATH
10691do
10692  IFS=$as_save_IFS
10693  test -z "$as_dir" && as_dir=.
10694    for ac_exec_ext in '' $ac_executable_extensions; do
10695  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10696    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
10697    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10698    break 2
10699  fi
10700done
10701  done
10702IFS=$as_save_IFS
10703
10704fi
10705fi
10706ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10707if test -n "$ac_ct_DSYMUTIL"; then
10708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10709$as_echo "$ac_ct_DSYMUTIL" >&6; }
10710else
10711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10712$as_echo "no" >&6; }
10713fi
10714
10715  if test "x$ac_ct_DSYMUTIL" = x; then
10716    DSYMUTIL=":"
10717  else
10718    case $cross_compiling:$ac_tool_warned in
10719yes:)
10720{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10721$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10722ac_tool_warned=yes ;;
10723esac
10724    DSYMUTIL=$ac_ct_DSYMUTIL
10725  fi
10726else
10727  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10728fi
10729
10730    if test -n "$ac_tool_prefix"; then
10731  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10732set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10734$as_echo_n "checking for $ac_word... " >&6; }
10735if ${ac_cv_prog_NMEDIT+:} false; then :
10736  $as_echo_n "(cached) " >&6
10737else
10738  if test -n "$NMEDIT"; then
10739  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10740else
10741as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10742for as_dir in $PATH
10743do
10744  IFS=$as_save_IFS
10745  test -z "$as_dir" && as_dir=.
10746    for ac_exec_ext in '' $ac_executable_extensions; do
10747  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10748    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10749    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10750    break 2
10751  fi
10752done
10753  done
10754IFS=$as_save_IFS
10755
10756fi
10757fi
10758NMEDIT=$ac_cv_prog_NMEDIT
10759if test -n "$NMEDIT"; then
10760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10761$as_echo "$NMEDIT" >&6; }
10762else
10763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10764$as_echo "no" >&6; }
10765fi
10766
10767
10768fi
10769if test -z "$ac_cv_prog_NMEDIT"; then
10770  ac_ct_NMEDIT=$NMEDIT
10771  # Extract the first word of "nmedit", so it can be a program name with args.
10772set dummy nmedit; ac_word=$2
10773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10774$as_echo_n "checking for $ac_word... " >&6; }
10775if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
10776  $as_echo_n "(cached) " >&6
10777else
10778  if test -n "$ac_ct_NMEDIT"; then
10779  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10780else
10781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10782for as_dir in $PATH
10783do
10784  IFS=$as_save_IFS
10785  test -z "$as_dir" && as_dir=.
10786    for ac_exec_ext in '' $ac_executable_extensions; do
10787  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10788    ac_cv_prog_ac_ct_NMEDIT="nmedit"
10789    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10790    break 2
10791  fi
10792done
10793  done
10794IFS=$as_save_IFS
10795
10796fi
10797fi
10798ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10799if test -n "$ac_ct_NMEDIT"; then
10800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10801$as_echo "$ac_ct_NMEDIT" >&6; }
10802else
10803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10804$as_echo "no" >&6; }
10805fi
10806
10807  if test "x$ac_ct_NMEDIT" = x; then
10808    NMEDIT=":"
10809  else
10810    case $cross_compiling:$ac_tool_warned in
10811yes:)
10812{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10813$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10814ac_tool_warned=yes ;;
10815esac
10816    NMEDIT=$ac_ct_NMEDIT
10817  fi
10818else
10819  NMEDIT="$ac_cv_prog_NMEDIT"
10820fi
10821
10822    if test -n "$ac_tool_prefix"; then
10823  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10824set dummy ${ac_tool_prefix}lipo; ac_word=$2
10825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10826$as_echo_n "checking for $ac_word... " >&6; }
10827if ${ac_cv_prog_LIPO+:} false; then :
10828  $as_echo_n "(cached) " >&6
10829else
10830  if test -n "$LIPO"; then
10831  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10832else
10833as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10834for as_dir in $PATH
10835do
10836  IFS=$as_save_IFS
10837  test -z "$as_dir" && as_dir=.
10838    for ac_exec_ext in '' $ac_executable_extensions; do
10839  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10840    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10841    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10842    break 2
10843  fi
10844done
10845  done
10846IFS=$as_save_IFS
10847
10848fi
10849fi
10850LIPO=$ac_cv_prog_LIPO
10851if test -n "$LIPO"; then
10852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10853$as_echo "$LIPO" >&6; }
10854else
10855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10856$as_echo "no" >&6; }
10857fi
10858
10859
10860fi
10861if test -z "$ac_cv_prog_LIPO"; then
10862  ac_ct_LIPO=$LIPO
10863  # Extract the first word of "lipo", so it can be a program name with args.
10864set dummy lipo; ac_word=$2
10865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10866$as_echo_n "checking for $ac_word... " >&6; }
10867if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
10868  $as_echo_n "(cached) " >&6
10869else
10870  if test -n "$ac_ct_LIPO"; then
10871  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10872else
10873as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10874for as_dir in $PATH
10875do
10876  IFS=$as_save_IFS
10877  test -z "$as_dir" && as_dir=.
10878    for ac_exec_ext in '' $ac_executable_extensions; do
10879  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10880    ac_cv_prog_ac_ct_LIPO="lipo"
10881    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10882    break 2
10883  fi
10884done
10885  done
10886IFS=$as_save_IFS
10887
10888fi
10889fi
10890ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10891if test -n "$ac_ct_LIPO"; then
10892  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10893$as_echo "$ac_ct_LIPO" >&6; }
10894else
10895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10896$as_echo "no" >&6; }
10897fi
10898
10899  if test "x$ac_ct_LIPO" = x; then
10900    LIPO=":"
10901  else
10902    case $cross_compiling:$ac_tool_warned in
10903yes:)
10904{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10905$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10906ac_tool_warned=yes ;;
10907esac
10908    LIPO=$ac_ct_LIPO
10909  fi
10910else
10911  LIPO="$ac_cv_prog_LIPO"
10912fi
10913
10914    if test -n "$ac_tool_prefix"; then
10915  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10916set dummy ${ac_tool_prefix}otool; ac_word=$2
10917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10918$as_echo_n "checking for $ac_word... " >&6; }
10919if ${ac_cv_prog_OTOOL+:} false; then :
10920  $as_echo_n "(cached) " >&6
10921else
10922  if test -n "$OTOOL"; then
10923  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10924else
10925as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10926for as_dir in $PATH
10927do
10928  IFS=$as_save_IFS
10929  test -z "$as_dir" && as_dir=.
10930    for ac_exec_ext in '' $ac_executable_extensions; do
10931  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10932    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10933    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10934    break 2
10935  fi
10936done
10937  done
10938IFS=$as_save_IFS
10939
10940fi
10941fi
10942OTOOL=$ac_cv_prog_OTOOL
10943if test -n "$OTOOL"; then
10944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10945$as_echo "$OTOOL" >&6; }
10946else
10947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10948$as_echo "no" >&6; }
10949fi
10950
10951
10952fi
10953if test -z "$ac_cv_prog_OTOOL"; then
10954  ac_ct_OTOOL=$OTOOL
10955  # Extract the first word of "otool", so it can be a program name with args.
10956set dummy otool; ac_word=$2
10957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10958$as_echo_n "checking for $ac_word... " >&6; }
10959if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10960  $as_echo_n "(cached) " >&6
10961else
10962  if test -n "$ac_ct_OTOOL"; then
10963  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10964else
10965as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10966for as_dir in $PATH
10967do
10968  IFS=$as_save_IFS
10969  test -z "$as_dir" && as_dir=.
10970    for ac_exec_ext in '' $ac_executable_extensions; do
10971  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10972    ac_cv_prog_ac_ct_OTOOL="otool"
10973    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10974    break 2
10975  fi
10976done
10977  done
10978IFS=$as_save_IFS
10979
10980fi
10981fi
10982ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10983if test -n "$ac_ct_OTOOL"; then
10984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10985$as_echo "$ac_ct_OTOOL" >&6; }
10986else
10987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10988$as_echo "no" >&6; }
10989fi
10990
10991  if test "x$ac_ct_OTOOL" = x; then
10992    OTOOL=":"
10993  else
10994    case $cross_compiling:$ac_tool_warned in
10995yes:)
10996{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10997$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10998ac_tool_warned=yes ;;
10999esac
11000    OTOOL=$ac_ct_OTOOL
11001  fi
11002else
11003  OTOOL="$ac_cv_prog_OTOOL"
11004fi
11005
11006    if test -n "$ac_tool_prefix"; then
11007  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
11008set dummy ${ac_tool_prefix}otool64; ac_word=$2
11009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11010$as_echo_n "checking for $ac_word... " >&6; }
11011if ${ac_cv_prog_OTOOL64+:} false; then :
11012  $as_echo_n "(cached) " >&6
11013else
11014  if test -n "$OTOOL64"; then
11015  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
11016else
11017as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11018for as_dir in $PATH
11019do
11020  IFS=$as_save_IFS
11021  test -z "$as_dir" && as_dir=.
11022    for ac_exec_ext in '' $ac_executable_extensions; do
11023  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11024    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
11025    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11026    break 2
11027  fi
11028done
11029  done
11030IFS=$as_save_IFS
11031
11032fi
11033fi
11034OTOOL64=$ac_cv_prog_OTOOL64
11035if test -n "$OTOOL64"; then
11036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
11037$as_echo "$OTOOL64" >&6; }
11038else
11039  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11040$as_echo "no" >&6; }
11041fi
11042
11043
11044fi
11045if test -z "$ac_cv_prog_OTOOL64"; then
11046  ac_ct_OTOOL64=$OTOOL64
11047  # Extract the first word of "otool64", so it can be a program name with args.
11048set dummy otool64; ac_word=$2
11049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11050$as_echo_n "checking for $ac_word... " >&6; }
11051if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
11052  $as_echo_n "(cached) " >&6
11053else
11054  if test -n "$ac_ct_OTOOL64"; then
11055  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
11056else
11057as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11058for as_dir in $PATH
11059do
11060  IFS=$as_save_IFS
11061  test -z "$as_dir" && as_dir=.
11062    for ac_exec_ext in '' $ac_executable_extensions; do
11063  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11064    ac_cv_prog_ac_ct_OTOOL64="otool64"
11065    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11066    break 2
11067  fi
11068done
11069  done
11070IFS=$as_save_IFS
11071
11072fi
11073fi
11074ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
11075if test -n "$ac_ct_OTOOL64"; then
11076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
11077$as_echo "$ac_ct_OTOOL64" >&6; }
11078else
11079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11080$as_echo "no" >&6; }
11081fi
11082
11083  if test "x$ac_ct_OTOOL64" = x; then
11084    OTOOL64=":"
11085  else
11086    case $cross_compiling:$ac_tool_warned in
11087yes:)
11088{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11089$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11090ac_tool_warned=yes ;;
11091esac
11092    OTOOL64=$ac_ct_OTOOL64
11093  fi
11094else
11095  OTOOL64="$ac_cv_prog_OTOOL64"
11096fi
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
11125$as_echo_n "checking for -single_module linker flag... " >&6; }
11126if ${lt_cv_apple_cc_single_mod+:} false; then :
11127  $as_echo_n "(cached) " >&6
11128else
11129  lt_cv_apple_cc_single_mod=no
11130      if test -z "$LT_MULTI_MODULE"; then
11131	# By default we will add the -single_module flag. You can override
11132	# by either setting the environment variable LT_MULTI_MODULE
11133	# non-empty at configure time, or by adding -multi_module to the
11134	# link flags.
11135	rm -rf libconftest.dylib*
11136	echo "int foo(void){return 1;}" > conftest.c
11137	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11138-dynamiclib -Wl,-single_module conftest.c" >&5
11139	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11140	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
11141        _lt_result=$?
11142	# If there is a non-empty error log, and "single_module"
11143	# appears in it, assume the flag caused a linker warning
11144        if test -s conftest.err && $GREP single_module conftest.err; then
11145	  cat conftest.err >&5
11146	# Otherwise, if the output was created with a 0 exit code from
11147	# the compiler, it worked.
11148	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
11149	  lt_cv_apple_cc_single_mod=yes
11150	else
11151	  cat conftest.err >&5
11152	fi
11153	rm -rf libconftest.dylib*
11154	rm -f conftest.*
11155      fi
11156fi
11157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
11158$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
11159
11160    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
11161$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
11162if ${lt_cv_ld_exported_symbols_list+:} false; then :
11163  $as_echo_n "(cached) " >&6
11164else
11165  lt_cv_ld_exported_symbols_list=no
11166      save_LDFLAGS=$LDFLAGS
11167      echo "_main" > conftest.sym
11168      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
11169      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11170/* end confdefs.h.  */
11171
11172int
11173main ()
11174{
11175
11176  ;
11177  return 0;
11178}
11179_ACEOF
11180if ac_fn_c_try_link "$LINENO"; then :
11181  lt_cv_ld_exported_symbols_list=yes
11182else
11183  lt_cv_ld_exported_symbols_list=no
11184fi
11185rm -f core conftest.err conftest.$ac_objext \
11186    conftest$ac_exeext conftest.$ac_ext
11187	LDFLAGS=$save_LDFLAGS
11188
11189fi
11190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
11191$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
11192
11193    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
11194$as_echo_n "checking for -force_load linker flag... " >&6; }
11195if ${lt_cv_ld_force_load+:} false; then :
11196  $as_echo_n "(cached) " >&6
11197else
11198  lt_cv_ld_force_load=no
11199      cat > conftest.c << _LT_EOF
11200int forced_loaded() { return 2;}
11201_LT_EOF
11202      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
11203      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
11204      echo "$AR cru libconftest.a conftest.o" >&5
11205      $AR cru libconftest.a conftest.o 2>&5
11206      echo "$RANLIB libconftest.a" >&5
11207      $RANLIB libconftest.a 2>&5
11208      cat > conftest.c << _LT_EOF
11209int main() { return 0;}
11210_LT_EOF
11211      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
11212      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
11213      _lt_result=$?
11214      if test -s conftest.err && $GREP force_load conftest.err; then
11215	cat conftest.err >&5
11216      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
11217	lt_cv_ld_force_load=yes
11218      else
11219	cat conftest.err >&5
11220      fi
11221        rm -f conftest.err libconftest.a conftest conftest.c
11222        rm -rf conftest.dSYM
11223
11224fi
11225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
11226$as_echo "$lt_cv_ld_force_load" >&6; }
11227    case $host_os in
11228    rhapsody* | darwin1.[012])
11229      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
11230    darwin1.*)
11231      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
11232    darwin*) # darwin 5.x on
11233      # if running on 10.5 or later, the deployment target defaults
11234      # to the OS version, if on x86, and 10.4, the deployment
11235      # target defaults to 10.4. Don't you love it?
11236      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
11237	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
11238	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
11239	10.[012][,.]*)
11240	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
11241	10.*)
11242	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
11243      esac
11244    ;;
11245  esac
11246    if test yes = "$lt_cv_apple_cc_single_mod"; then
11247      _lt_dar_single_mod='$single_module'
11248    fi
11249    if test yes = "$lt_cv_ld_exported_symbols_list"; then
11250      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
11251    else
11252      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
11253    fi
11254    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
11255      _lt_dsymutil='~$DSYMUTIL $lib || :'
11256    else
11257      _lt_dsymutil=
11258    fi
11259    ;;
11260  esac
11261
11262# func_munge_path_list VARIABLE PATH
11263# -----------------------------------
11264# VARIABLE is name of variable containing _space_ separated list of
11265# directories to be munged by the contents of PATH, which is string
11266# having a format:
11267# "DIR[:DIR]:"
11268#       string "DIR[ DIR]" will be prepended to VARIABLE
11269# ":DIR[:DIR]"
11270#       string "DIR[ DIR]" will be appended to VARIABLE
11271# "DIRP[:DIRP]::[DIRA:]DIRA"
11272#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
11273#       "DIRA[ DIRA]" will be appended to VARIABLE
11274# "DIR[:DIR]"
11275#       VARIABLE will be replaced by "DIR[ DIR]"
11276func_munge_path_list ()
11277{
11278    case x$2 in
11279    x)
11280        ;;
11281    *:)
11282        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
11283        ;;
11284    x:*)
11285        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
11286        ;;
11287    *::*)
11288        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
11289        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
11290        ;;
11291    *)
11292        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
11293        ;;
11294    esac
11295}
11296
11297for ac_header in dlfcn.h
11298do :
11299  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
11300"
11301if test "x$ac_cv_header_dlfcn_h" = xyes; then :
11302  cat >>confdefs.h <<_ACEOF
11303#define HAVE_DLFCN_H 1
11304_ACEOF
11305
11306fi
11307
11308done
11309
11310
11311
11312
11313
11314# Set options
11315
11316
11317
11318        enable_dlopen=no
11319
11320
11321  enable_win32_dll=no
11322
11323
11324            # Check whether --enable-shared was given.
11325if test "${enable_shared+set}" = set; then :
11326  enableval=$enable_shared; p=${PACKAGE-default}
11327    case $enableval in
11328    yes) enable_shared=yes ;;
11329    no) enable_shared=no ;;
11330    *)
11331      enable_shared=no
11332      # Look at the argument we got.  We use all the common list separators.
11333      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11334      for pkg in $enableval; do
11335	IFS=$lt_save_ifs
11336	if test "X$pkg" = "X$p"; then
11337	  enable_shared=yes
11338	fi
11339      done
11340      IFS=$lt_save_ifs
11341      ;;
11342    esac
11343else
11344  enable_shared=yes
11345fi
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355  # Check whether --enable-static was given.
11356if test "${enable_static+set}" = set; then :
11357  enableval=$enable_static; p=${PACKAGE-default}
11358    case $enableval in
11359    yes) enable_static=yes ;;
11360    no) enable_static=no ;;
11361    *)
11362     enable_static=no
11363      # Look at the argument we got.  We use all the common list separators.
11364      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11365      for pkg in $enableval; do
11366	IFS=$lt_save_ifs
11367	if test "X$pkg" = "X$p"; then
11368	  enable_static=yes
11369	fi
11370      done
11371      IFS=$lt_save_ifs
11372      ;;
11373    esac
11374else
11375  enable_static=yes
11376fi
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387# Check whether --with-pic was given.
11388if test "${with_pic+set}" = set; then :
11389  withval=$with_pic; lt_p=${PACKAGE-default}
11390    case $withval in
11391    yes|no) pic_mode=$withval ;;
11392    *)
11393      pic_mode=default
11394      # Look at the argument we got.  We use all the common list separators.
11395      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11396      for lt_pkg in $withval; do
11397	IFS=$lt_save_ifs
11398	if test "X$lt_pkg" = "X$lt_p"; then
11399	  pic_mode=yes
11400	fi
11401      done
11402      IFS=$lt_save_ifs
11403      ;;
11404    esac
11405else
11406  pic_mode=default
11407fi
11408
11409
11410
11411
11412
11413
11414
11415
11416  # Check whether --enable-fast-install was given.
11417if test "${enable_fast_install+set}" = set; then :
11418  enableval=$enable_fast_install; p=${PACKAGE-default}
11419    case $enableval in
11420    yes) enable_fast_install=yes ;;
11421    no) enable_fast_install=no ;;
11422    *)
11423      enable_fast_install=no
11424      # Look at the argument we got.  We use all the common list separators.
11425      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
11426      for pkg in $enableval; do
11427	IFS=$lt_save_ifs
11428	if test "X$pkg" = "X$p"; then
11429	  enable_fast_install=yes
11430	fi
11431      done
11432      IFS=$lt_save_ifs
11433      ;;
11434    esac
11435else
11436  enable_fast_install=yes
11437fi
11438
11439
11440
11441
11442
11443
11444
11445
11446  shared_archive_member_spec=
11447case $host,$enable_shared in
11448power*-*-aix[5-9]*,yes)
11449  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
11450$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
11451
11452# Check whether --with-aix-soname was given.
11453if test "${with_aix_soname+set}" = set; then :
11454  withval=$with_aix_soname; case $withval in
11455    aix|svr4|both)
11456      ;;
11457    *)
11458      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
11459      ;;
11460    esac
11461    lt_cv_with_aix_soname=$with_aix_soname
11462else
11463  if ${lt_cv_with_aix_soname+:} false; then :
11464  $as_echo_n "(cached) " >&6
11465else
11466  lt_cv_with_aix_soname=aix
11467fi
11468
11469    with_aix_soname=$lt_cv_with_aix_soname
11470fi
11471
11472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
11473$as_echo "$with_aix_soname" >&6; }
11474  if test aix != "$with_aix_soname"; then
11475    # For the AIX way of multilib, we name the shared archive member
11476    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
11477    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
11478    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
11479    # the AIX toolchain works better with OBJECT_MODE set (default 32).
11480    if test 64 = "${OBJECT_MODE-32}"; then
11481      shared_archive_member_spec=shr_64
11482    else
11483      shared_archive_member_spec=shr
11484    fi
11485  fi
11486  ;;
11487*)
11488  with_aix_soname=aix
11489  ;;
11490esac
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501# This can be used to rebuild libtool when needed
11502LIBTOOL_DEPS=$ltmain
11503
11504# Always use our own libtool.
11505LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536test -z "$LN_S" && LN_S="ln -s"
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551if test -n "${ZSH_VERSION+set}"; then
11552   setopt NO_GLOB_SUBST
11553fi
11554
11555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11556$as_echo_n "checking for objdir... " >&6; }
11557if ${lt_cv_objdir+:} false; then :
11558  $as_echo_n "(cached) " >&6
11559else
11560  rm -f .libs 2>/dev/null
11561mkdir .libs 2>/dev/null
11562if test -d .libs; then
11563  lt_cv_objdir=.libs
11564else
11565  # MS-DOS does not allow filenames that begin with a dot.
11566  lt_cv_objdir=_libs
11567fi
11568rmdir .libs 2>/dev/null
11569fi
11570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11571$as_echo "$lt_cv_objdir" >&6; }
11572objdir=$lt_cv_objdir
11573
11574
11575
11576
11577
11578cat >>confdefs.h <<_ACEOF
11579#define LT_OBJDIR "$lt_cv_objdir/"
11580_ACEOF
11581
11582
11583
11584
11585case $host_os in
11586aix3*)
11587  # AIX sometimes has problems with the GCC collect2 program.  For some
11588  # reason, if we set the COLLECT_NAMES environment variable, the problems
11589  # vanish in a puff of smoke.
11590  if test set != "${COLLECT_NAMES+set}"; then
11591    COLLECT_NAMES=
11592    export COLLECT_NAMES
11593  fi
11594  ;;
11595esac
11596
11597# Global variables:
11598ofile=libtool
11599can_build_shared=yes
11600
11601# All known linkers require a '.a' archive for static linking (except MSVC,
11602# which needs '.lib').
11603libext=a
11604
11605with_gnu_ld=$lt_cv_prog_gnu_ld
11606
11607old_CC=$CC
11608old_CFLAGS=$CFLAGS
11609
11610# Set sane defaults for various variables
11611test -z "$CC" && CC=cc
11612test -z "$LTCC" && LTCC=$CC
11613test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11614test -z "$LD" && LD=ld
11615test -z "$ac_objext" && ac_objext=o
11616
11617func_cc_basename $compiler
11618cc_basename=$func_cc_basename_result
11619
11620
11621# Only perform the check for file, if the check method requires it
11622test -z "$MAGIC_CMD" && MAGIC_CMD=file
11623case $deplibs_check_method in
11624file_magic*)
11625  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11626    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11627$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
11628if ${lt_cv_path_MAGIC_CMD+:} false; then :
11629  $as_echo_n "(cached) " >&6
11630else
11631  case $MAGIC_CMD in
11632[\\/*] |  ?:[\\/]*)
11633  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
11634  ;;
11635*)
11636  lt_save_MAGIC_CMD=$MAGIC_CMD
11637  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
11638  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11639  for ac_dir in $ac_dummy; do
11640    IFS=$lt_save_ifs
11641    test -z "$ac_dir" && ac_dir=.
11642    if test -f "$ac_dir/${ac_tool_prefix}file"; then
11643      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
11644      if test -n "$file_magic_test_file"; then
11645	case $deplibs_check_method in
11646	"file_magic "*)
11647	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11648	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11649	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11650	    $EGREP "$file_magic_regex" > /dev/null; then
11651	    :
11652	  else
11653	    cat <<_LT_EOF 1>&2
11654
11655*** Warning: the command libtool uses to detect shared libraries,
11656*** $file_magic_cmd, produces output that libtool cannot recognize.
11657*** The result is that libtool may fail to recognize shared libraries
11658*** as such.  This will affect the creation of libtool libraries that
11659*** depend on shared libraries, but programs linked with such libtool
11660*** libraries will work regardless of this problem.  Nevertheless, you
11661*** may want to report the problem to your system manager and/or to
11662*** bug-libtool@gnu.org
11663
11664_LT_EOF
11665	  fi ;;
11666	esac
11667      fi
11668      break
11669    fi
11670  done
11671  IFS=$lt_save_ifs
11672  MAGIC_CMD=$lt_save_MAGIC_CMD
11673  ;;
11674esac
11675fi
11676
11677MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11678if test -n "$MAGIC_CMD"; then
11679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11680$as_echo "$MAGIC_CMD" >&6; }
11681else
11682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11683$as_echo "no" >&6; }
11684fi
11685
11686
11687
11688
11689
11690if test -z "$lt_cv_path_MAGIC_CMD"; then
11691  if test -n "$ac_tool_prefix"; then
11692    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11693$as_echo_n "checking for file... " >&6; }
11694if ${lt_cv_path_MAGIC_CMD+:} false; then :
11695  $as_echo_n "(cached) " >&6
11696else
11697  case $MAGIC_CMD in
11698[\\/*] |  ?:[\\/]*)
11699  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
11700  ;;
11701*)
11702  lt_save_MAGIC_CMD=$MAGIC_CMD
11703  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
11704  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11705  for ac_dir in $ac_dummy; do
11706    IFS=$lt_save_ifs
11707    test -z "$ac_dir" && ac_dir=.
11708    if test -f "$ac_dir/file"; then
11709      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
11710      if test -n "$file_magic_test_file"; then
11711	case $deplibs_check_method in
11712	"file_magic "*)
11713	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11714	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11715	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11716	    $EGREP "$file_magic_regex" > /dev/null; then
11717	    :
11718	  else
11719	    cat <<_LT_EOF 1>&2
11720
11721*** Warning: the command libtool uses to detect shared libraries,
11722*** $file_magic_cmd, produces output that libtool cannot recognize.
11723*** The result is that libtool may fail to recognize shared libraries
11724*** as such.  This will affect the creation of libtool libraries that
11725*** depend on shared libraries, but programs linked with such libtool
11726*** libraries will work regardless of this problem.  Nevertheless, you
11727*** may want to report the problem to your system manager and/or to
11728*** bug-libtool@gnu.org
11729
11730_LT_EOF
11731	  fi ;;
11732	esac
11733      fi
11734      break
11735    fi
11736  done
11737  IFS=$lt_save_ifs
11738  MAGIC_CMD=$lt_save_MAGIC_CMD
11739  ;;
11740esac
11741fi
11742
11743MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11744if test -n "$MAGIC_CMD"; then
11745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11746$as_echo "$MAGIC_CMD" >&6; }
11747else
11748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11749$as_echo "no" >&6; }
11750fi
11751
11752
11753  else
11754    MAGIC_CMD=:
11755  fi
11756fi
11757
11758  fi
11759  ;;
11760esac
11761
11762# Use C for the default configuration in the libtool script
11763
11764lt_save_CC=$CC
11765ac_ext=c
11766ac_cpp='$CPP $CPPFLAGS'
11767ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11768ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11769ac_compiler_gnu=$ac_cv_c_compiler_gnu
11770
11771
11772# Source file extension for C test sources.
11773ac_ext=c
11774
11775# Object file extension for compiled C test sources.
11776objext=o
11777objext=$objext
11778
11779# Code to be used in simple compile tests
11780lt_simple_compile_test_code="int some_variable = 0;"
11781
11782# Code to be used in simple link tests
11783lt_simple_link_test_code='int main(){return(0);}'
11784
11785
11786
11787
11788
11789
11790
11791# If no C compiler was specified, use CC.
11792LTCC=${LTCC-"$CC"}
11793
11794# If no C compiler flags were specified, use CFLAGS.
11795LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11796
11797# Allow CC to be a program name with arguments.
11798compiler=$CC
11799
11800# Save the default compiler, since it gets overwritten when the other
11801# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11802compiler_DEFAULT=$CC
11803
11804# save warnings/boilerplate of simple test code
11805ac_outfile=conftest.$ac_objext
11806echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11807eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11808_lt_compiler_boilerplate=`cat conftest.err`
11809$RM conftest*
11810
11811ac_outfile=conftest.$ac_objext
11812echo "$lt_simple_link_test_code" >conftest.$ac_ext
11813eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11814_lt_linker_boilerplate=`cat conftest.err`
11815$RM -r conftest*
11816
11817
11818## CAVEAT EMPTOR:
11819## There is no encapsulation within the following macros, do not change
11820## the running order or otherwise move them around unless you know exactly
11821## what you are doing...
11822if test -n "$compiler"; then
11823
11824lt_prog_compiler_no_builtin_flag=
11825
11826if test yes = "$GCC"; then
11827  case $cc_basename in
11828  nvcc*)
11829    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11830  *)
11831    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11832  esac
11833
11834  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11835$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11836if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
11837  $as_echo_n "(cached) " >&6
11838else
11839  lt_cv_prog_compiler_rtti_exceptions=no
11840   ac_outfile=conftest.$ac_objext
11841   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11842   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
11843   # Insert the option either (1) after the last *FLAGS variable, or
11844   # (2) before a word containing "conftest.", or (3) at the end.
11845   # Note that $ac_compile itself does not contain backslashes and begins
11846   # with a dollar sign (not a hyphen), so the echo should work correctly.
11847   # The option is referenced via a variable to avoid confusing sed.
11848   lt_compile=`echo "$ac_compile" | $SED \
11849   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11850   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11851   -e 's:$: $lt_compiler_flag:'`
11852   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11853   (eval "$lt_compile" 2>conftest.err)
11854   ac_status=$?
11855   cat conftest.err >&5
11856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857   if (exit $ac_status) && test -s "$ac_outfile"; then
11858     # The compiler can only warn and ignore the option if not recognized
11859     # So say no if there are warnings other than the usual output.
11860     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11861     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11862     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11863       lt_cv_prog_compiler_rtti_exceptions=yes
11864     fi
11865   fi
11866   $RM conftest*
11867
11868fi
11869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11870$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11871
11872if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
11873    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11874else
11875    :
11876fi
11877
11878fi
11879
11880
11881
11882
11883
11884
11885  lt_prog_compiler_wl=
11886lt_prog_compiler_pic=
11887lt_prog_compiler_static=
11888
11889
11890  if test yes = "$GCC"; then
11891    lt_prog_compiler_wl='-Wl,'
11892    lt_prog_compiler_static='-static'
11893
11894    case $host_os in
11895      aix*)
11896      # All AIX code is PIC.
11897      if test ia64 = "$host_cpu"; then
11898	# AIX 5 now supports IA64 processor
11899	lt_prog_compiler_static='-Bstatic'
11900      fi
11901      lt_prog_compiler_pic='-fPIC'
11902      ;;
11903
11904    amigaos*)
11905      case $host_cpu in
11906      powerpc)
11907            # see comment about AmigaOS4 .so support
11908            lt_prog_compiler_pic='-fPIC'
11909        ;;
11910      m68k)
11911            # FIXME: we need at least 68020 code to build shared libraries, but
11912            # adding the '-m68020' flag to GCC prevents building anything better,
11913            # like '-m68040'.
11914            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11915        ;;
11916      esac
11917      ;;
11918
11919    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11920      # PIC is the default for these OSes.
11921      ;;
11922
11923    mingw* | cygwin* | pw32* | os2* | cegcc*)
11924      # This hack is so that the source file can tell whether it is being
11925      # built for inclusion in a dll (and should export symbols for example).
11926      # Although the cygwin gcc ignores -fPIC, still need this for old-style
11927      # (--disable-auto-import) libraries
11928      lt_prog_compiler_pic='-DDLL_EXPORT'
11929      case $host_os in
11930      os2*)
11931	lt_prog_compiler_static='$wl-static'
11932	;;
11933      esac
11934      ;;
11935
11936    darwin* | rhapsody*)
11937      # PIC is the default on this platform
11938      # Common symbols not allowed in MH_DYLIB files
11939      lt_prog_compiler_pic='-fno-common'
11940      ;;
11941
11942    haiku*)
11943      # PIC is the default for Haiku.
11944      # The "-static" flag exists, but is broken.
11945      lt_prog_compiler_static=
11946      ;;
11947
11948    hpux*)
11949      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11950      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
11951      # sets the default TLS model and affects inlining.
11952      case $host_cpu in
11953      hppa*64*)
11954	# +Z the default
11955	;;
11956      *)
11957	lt_prog_compiler_pic='-fPIC'
11958	;;
11959      esac
11960      ;;
11961
11962    interix[3-9]*)
11963      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11964      # Instead, we relocate shared libraries at runtime.
11965      ;;
11966
11967    msdosdjgpp*)
11968      # Just because we use GCC doesn't mean we suddenly get shared libraries
11969      # on systems that don't support them.
11970      lt_prog_compiler_can_build_shared=no
11971      enable_shared=no
11972      ;;
11973
11974    *nto* | *qnx*)
11975      # QNX uses GNU C++, but need to define -shared option too, otherwise
11976      # it will coredump.
11977      lt_prog_compiler_pic='-fPIC -shared'
11978      ;;
11979
11980    sysv4*MP*)
11981      if test -d /usr/nec; then
11982	lt_prog_compiler_pic=-Kconform_pic
11983      fi
11984      ;;
11985
11986    *)
11987      lt_prog_compiler_pic='-fPIC'
11988      ;;
11989    esac
11990
11991    case $cc_basename in
11992    nvcc*) # Cuda Compiler Driver 2.2
11993      lt_prog_compiler_wl='-Xlinker '
11994      if test -n "$lt_prog_compiler_pic"; then
11995        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11996      fi
11997      ;;
11998    esac
11999  else
12000    # PORTME Check for flag to pass linker flags through the system compiler.
12001    case $host_os in
12002    aix*)
12003      lt_prog_compiler_wl='-Wl,'
12004      if test ia64 = "$host_cpu"; then
12005	# AIX 5 now supports IA64 processor
12006	lt_prog_compiler_static='-Bstatic'
12007      else
12008	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
12009      fi
12010      ;;
12011
12012    darwin* | rhapsody*)
12013      # PIC is the default on this platform
12014      # Common symbols not allowed in MH_DYLIB files
12015      lt_prog_compiler_pic='-fno-common'
12016      case $cc_basename in
12017      nagfor*)
12018        # NAG Fortran compiler
12019        lt_prog_compiler_wl='-Wl,-Wl,,'
12020        lt_prog_compiler_pic='-PIC'
12021        lt_prog_compiler_static='-Bstatic'
12022        ;;
12023      esac
12024      ;;
12025
12026    mingw* | cygwin* | pw32* | os2* | cegcc*)
12027      # This hack is so that the source file can tell whether it is being
12028      # built for inclusion in a dll (and should export symbols for example).
12029      lt_prog_compiler_pic='-DDLL_EXPORT'
12030      case $host_os in
12031      os2*)
12032	lt_prog_compiler_static='$wl-static'
12033	;;
12034      esac
12035      ;;
12036
12037    hpux9* | hpux10* | hpux11*)
12038      lt_prog_compiler_wl='-Wl,'
12039      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12040      # not for PA HP-UX.
12041      case $host_cpu in
12042      hppa*64*|ia64*)
12043	# +Z the default
12044	;;
12045      *)
12046	lt_prog_compiler_pic='+Z'
12047	;;
12048      esac
12049      # Is there a better lt_prog_compiler_static that works with the bundled CC?
12050      lt_prog_compiler_static='$wl-a ${wl}archive'
12051      ;;
12052
12053    irix5* | irix6* | nonstopux*)
12054      lt_prog_compiler_wl='-Wl,'
12055      # PIC (with -KPIC) is the default.
12056      lt_prog_compiler_static='-non_shared'
12057      ;;
12058
12059    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12060      case $cc_basename in
12061      # old Intel for x86_64, which still supported -KPIC.
12062      ecc*)
12063	lt_prog_compiler_wl='-Wl,'
12064	lt_prog_compiler_pic='-KPIC'
12065	lt_prog_compiler_static='-static'
12066        ;;
12067      # icc used to be incompatible with GCC.
12068      # ICC 10 doesn't accept -KPIC any more.
12069      icc* | ifort*)
12070	lt_prog_compiler_wl='-Wl,'
12071	lt_prog_compiler_pic='-fPIC'
12072	lt_prog_compiler_static='-static'
12073        ;;
12074      # Lahey Fortran 8.1.
12075      lf95*)
12076	lt_prog_compiler_wl='-Wl,'
12077	lt_prog_compiler_pic='--shared'
12078	lt_prog_compiler_static='--static'
12079	;;
12080      nagfor*)
12081	# NAG Fortran compiler
12082	lt_prog_compiler_wl='-Wl,-Wl,,'
12083	lt_prog_compiler_pic='-PIC'
12084	lt_prog_compiler_static='-Bstatic'
12085	;;
12086      tcc*)
12087	# Fabrice Bellard et al's Tiny C Compiler
12088	lt_prog_compiler_wl='-Wl,'
12089	lt_prog_compiler_pic='-fPIC'
12090	lt_prog_compiler_static='-static'
12091	;;
12092      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
12093        # Portland Group compilers (*not* the Pentium gcc compiler,
12094	# which looks to be a dead project)
12095	lt_prog_compiler_wl='-Wl,'
12096	lt_prog_compiler_pic='-fpic'
12097	lt_prog_compiler_static='-Bstatic'
12098        ;;
12099      ccc*)
12100        lt_prog_compiler_wl='-Wl,'
12101        # All Alpha code is PIC.
12102        lt_prog_compiler_static='-non_shared'
12103        ;;
12104      xl* | bgxl* | bgf* | mpixl*)
12105	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12106	lt_prog_compiler_wl='-Wl,'
12107	lt_prog_compiler_pic='-qpic'
12108	lt_prog_compiler_static='-qstaticlink'
12109	;;
12110      *)
12111	case `$CC -V 2>&1 | sed 5q` in
12112	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
12113	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
12114	  lt_prog_compiler_pic='-KPIC'
12115	  lt_prog_compiler_static='-Bstatic'
12116	  lt_prog_compiler_wl=''
12117	  ;;
12118	*Sun\ F* | *Sun*Fortran*)
12119	  lt_prog_compiler_pic='-KPIC'
12120	  lt_prog_compiler_static='-Bstatic'
12121	  lt_prog_compiler_wl='-Qoption ld '
12122	  ;;
12123	*Sun\ C*)
12124	  # Sun C 5.9
12125	  lt_prog_compiler_pic='-KPIC'
12126	  lt_prog_compiler_static='-Bstatic'
12127	  lt_prog_compiler_wl='-Wl,'
12128	  ;;
12129        *Intel*\ [CF]*Compiler*)
12130	  lt_prog_compiler_wl='-Wl,'
12131	  lt_prog_compiler_pic='-fPIC'
12132	  lt_prog_compiler_static='-static'
12133	  ;;
12134	*Portland\ Group*)
12135	  lt_prog_compiler_wl='-Wl,'
12136	  lt_prog_compiler_pic='-fpic'
12137	  lt_prog_compiler_static='-Bstatic'
12138	  ;;
12139	esac
12140	;;
12141      esac
12142      ;;
12143
12144    newsos6)
12145      lt_prog_compiler_pic='-KPIC'
12146      lt_prog_compiler_static='-Bstatic'
12147      ;;
12148
12149    *nto* | *qnx*)
12150      # QNX uses GNU C++, but need to define -shared option too, otherwise
12151      # it will coredump.
12152      lt_prog_compiler_pic='-fPIC -shared'
12153      ;;
12154
12155    osf3* | osf4* | osf5*)
12156      lt_prog_compiler_wl='-Wl,'
12157      # All OSF/1 code is PIC.
12158      lt_prog_compiler_static='-non_shared'
12159      ;;
12160
12161    rdos*)
12162      lt_prog_compiler_static='-non_shared'
12163      ;;
12164
12165    solaris*)
12166      lt_prog_compiler_pic='-KPIC'
12167      lt_prog_compiler_static='-Bstatic'
12168      case $cc_basename in
12169      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
12170	lt_prog_compiler_wl='-Qoption ld ';;
12171      *)
12172	lt_prog_compiler_wl='-Wl,';;
12173      esac
12174      ;;
12175
12176    sunos4*)
12177      lt_prog_compiler_wl='-Qoption ld '
12178      lt_prog_compiler_pic='-PIC'
12179      lt_prog_compiler_static='-Bstatic'
12180      ;;
12181
12182    sysv4 | sysv4.2uw2* | sysv4.3*)
12183      lt_prog_compiler_wl='-Wl,'
12184      lt_prog_compiler_pic='-KPIC'
12185      lt_prog_compiler_static='-Bstatic'
12186      ;;
12187
12188    sysv4*MP*)
12189      if test -d /usr/nec; then
12190	lt_prog_compiler_pic='-Kconform_pic'
12191	lt_prog_compiler_static='-Bstatic'
12192      fi
12193      ;;
12194
12195    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12196      lt_prog_compiler_wl='-Wl,'
12197      lt_prog_compiler_pic='-KPIC'
12198      lt_prog_compiler_static='-Bstatic'
12199      ;;
12200
12201    unicos*)
12202      lt_prog_compiler_wl='-Wl,'
12203      lt_prog_compiler_can_build_shared=no
12204      ;;
12205
12206    uts4*)
12207      lt_prog_compiler_pic='-pic'
12208      lt_prog_compiler_static='-Bstatic'
12209      ;;
12210
12211    *)
12212      lt_prog_compiler_can_build_shared=no
12213      ;;
12214    esac
12215  fi
12216
12217case $host_os in
12218  # For platforms that do not support PIC, -DPIC is meaningless:
12219  *djgpp*)
12220    lt_prog_compiler_pic=
12221    ;;
12222  *)
12223    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
12224    ;;
12225esac
12226
12227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12228$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12229if ${lt_cv_prog_compiler_pic+:} false; then :
12230  $as_echo_n "(cached) " >&6
12231else
12232  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
12233fi
12234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
12235$as_echo "$lt_cv_prog_compiler_pic" >&6; }
12236lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
12237
12238#
12239# Check to make sure the PIC flag actually works.
12240#
12241if test -n "$lt_prog_compiler_pic"; then
12242  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
12243$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
12244if ${lt_cv_prog_compiler_pic_works+:} false; then :
12245  $as_echo_n "(cached) " >&6
12246else
12247  lt_cv_prog_compiler_pic_works=no
12248   ac_outfile=conftest.$ac_objext
12249   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12250   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
12251   # Insert the option either (1) after the last *FLAGS variable, or
12252   # (2) before a word containing "conftest.", or (3) at the end.
12253   # Note that $ac_compile itself does not contain backslashes and begins
12254   # with a dollar sign (not a hyphen), so the echo should work correctly.
12255   # The option is referenced via a variable to avoid confusing sed.
12256   lt_compile=`echo "$ac_compile" | $SED \
12257   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12258   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12259   -e 's:$: $lt_compiler_flag:'`
12260   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12261   (eval "$lt_compile" 2>conftest.err)
12262   ac_status=$?
12263   cat conftest.err >&5
12264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265   if (exit $ac_status) && test -s "$ac_outfile"; then
12266     # The compiler can only warn and ignore the option if not recognized
12267     # So say no if there are warnings other than the usual output.
12268     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12269     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12270     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12271       lt_cv_prog_compiler_pic_works=yes
12272     fi
12273   fi
12274   $RM conftest*
12275
12276fi
12277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
12278$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
12279
12280if test yes = "$lt_cv_prog_compiler_pic_works"; then
12281    case $lt_prog_compiler_pic in
12282     "" | " "*) ;;
12283     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
12284     esac
12285else
12286    lt_prog_compiler_pic=
12287     lt_prog_compiler_can_build_shared=no
12288fi
12289
12290fi
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302#
12303# Check to make sure the static flag actually works.
12304#
12305wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
12306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12307$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12308if ${lt_cv_prog_compiler_static_works+:} false; then :
12309  $as_echo_n "(cached) " >&6
12310else
12311  lt_cv_prog_compiler_static_works=no
12312   save_LDFLAGS=$LDFLAGS
12313   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12314   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12315   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12316     # The linker can only warn and ignore the option if not recognized
12317     # So say no if there are warnings
12318     if test -s conftest.err; then
12319       # Append any errors to the config.log.
12320       cat conftest.err 1>&5
12321       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12322       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12323       if diff conftest.exp conftest.er2 >/dev/null; then
12324         lt_cv_prog_compiler_static_works=yes
12325       fi
12326     else
12327       lt_cv_prog_compiler_static_works=yes
12328     fi
12329   fi
12330   $RM -r conftest*
12331   LDFLAGS=$save_LDFLAGS
12332
12333fi
12334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
12335$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
12336
12337if test yes = "$lt_cv_prog_compiler_static_works"; then
12338    :
12339else
12340    lt_prog_compiler_static=
12341fi
12342
12343
12344
12345
12346
12347
12348
12349  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12350$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12351if ${lt_cv_prog_compiler_c_o+:} false; then :
12352  $as_echo_n "(cached) " >&6
12353else
12354  lt_cv_prog_compiler_c_o=no
12355   $RM -r conftest 2>/dev/null
12356   mkdir conftest
12357   cd conftest
12358   mkdir out
12359   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12360
12361   lt_compiler_flag="-o out/conftest2.$ac_objext"
12362   # Insert the option either (1) after the last *FLAGS variable, or
12363   # (2) before a word containing "conftest.", or (3) at the end.
12364   # Note that $ac_compile itself does not contain backslashes and begins
12365   # with a dollar sign (not a hyphen), so the echo should work correctly.
12366   lt_compile=`echo "$ac_compile" | $SED \
12367   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12368   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12369   -e 's:$: $lt_compiler_flag:'`
12370   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12371   (eval "$lt_compile" 2>out/conftest.err)
12372   ac_status=$?
12373   cat out/conftest.err >&5
12374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12376   then
12377     # The compiler can only warn and ignore the option if not recognized
12378     # So say no if there are warnings
12379     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12380     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12381     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12382       lt_cv_prog_compiler_c_o=yes
12383     fi
12384   fi
12385   chmod u+w . 2>&5
12386   $RM conftest*
12387   # SGI C++ compiler will create directory out/ii_files/ for
12388   # template instantiation
12389   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12390   $RM out/* && rmdir out
12391   cd ..
12392   $RM -r conftest
12393   $RM conftest*
12394
12395fi
12396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12397$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
12398
12399
12400
12401
12402
12403
12404  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12405$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12406if ${lt_cv_prog_compiler_c_o+:} false; then :
12407  $as_echo_n "(cached) " >&6
12408else
12409  lt_cv_prog_compiler_c_o=no
12410   $RM -r conftest 2>/dev/null
12411   mkdir conftest
12412   cd conftest
12413   mkdir out
12414   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12415
12416   lt_compiler_flag="-o out/conftest2.$ac_objext"
12417   # Insert the option either (1) after the last *FLAGS variable, or
12418   # (2) before a word containing "conftest.", or (3) at the end.
12419   # Note that $ac_compile itself does not contain backslashes and begins
12420   # with a dollar sign (not a hyphen), so the echo should work correctly.
12421   lt_compile=`echo "$ac_compile" | $SED \
12422   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12423   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12424   -e 's:$: $lt_compiler_flag:'`
12425   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12426   (eval "$lt_compile" 2>out/conftest.err)
12427   ac_status=$?
12428   cat out/conftest.err >&5
12429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12431   then
12432     # The compiler can only warn and ignore the option if not recognized
12433     # So say no if there are warnings
12434     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12435     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12436     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12437       lt_cv_prog_compiler_c_o=yes
12438     fi
12439   fi
12440   chmod u+w . 2>&5
12441   $RM conftest*
12442   # SGI C++ compiler will create directory out/ii_files/ for
12443   # template instantiation
12444   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12445   $RM out/* && rmdir out
12446   cd ..
12447   $RM -r conftest
12448   $RM conftest*
12449
12450fi
12451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12452$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
12453
12454
12455
12456
12457hard_links=nottested
12458if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
12459  # do not overwrite the value of need_locks provided by the user
12460  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12461$as_echo_n "checking if we can lock with hard links... " >&6; }
12462  hard_links=yes
12463  $RM conftest*
12464  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12465  touch conftest.a
12466  ln conftest.a conftest.b 2>&5 || hard_links=no
12467  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12469$as_echo "$hard_links" >&6; }
12470  if test no = "$hard_links"; then
12471    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
12472$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
12473    need_locks=warn
12474  fi
12475else
12476  need_locks=no
12477fi
12478
12479
12480
12481
12482
12483
12484  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12485$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12486
12487  runpath_var=
12488  allow_undefined_flag=
12489  always_export_symbols=no
12490  archive_cmds=
12491  archive_expsym_cmds=
12492  compiler_needs_object=no
12493  enable_shared_with_static_runtimes=no
12494  export_dynamic_flag_spec=
12495  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12496  hardcode_automatic=no
12497  hardcode_direct=no
12498  hardcode_direct_absolute=no
12499  hardcode_libdir_flag_spec=
12500  hardcode_libdir_separator=
12501  hardcode_minus_L=no
12502  hardcode_shlibpath_var=unsupported
12503  inherit_rpath=no
12504  link_all_deplibs=unknown
12505  module_cmds=
12506  module_expsym_cmds=
12507  old_archive_from_new_cmds=
12508  old_archive_from_expsyms_cmds=
12509  thread_safe_flag_spec=
12510  whole_archive_flag_spec=
12511  # include_expsyms should be a list of space-separated symbols to be *always*
12512  # included in the symbol list
12513  include_expsyms=
12514  # exclude_expsyms can be an extended regexp of symbols to exclude
12515  # it will be wrapped by ' (' and ')$', so one must not match beginning or
12516  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
12517  # as well as any symbol that contains 'd'.
12518  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12519  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12520  # platforms (ab)use it in PIC code, but their linkers get confused if
12521  # the symbol is explicitly referenced.  Since portable code cannot
12522  # rely on this symbol name, it's probably fine to never include it in
12523  # preloaded symbol tables.
12524  # Exclude shared library initialization/finalization symbols.
12525  extract_expsyms_cmds=
12526
12527  case $host_os in
12528  cygwin* | mingw* | pw32* | cegcc*)
12529    # FIXME: the MSVC++ port hasn't been tested in a loooong time
12530    # When not using gcc, we currently assume that we are using
12531    # Microsoft Visual C++.
12532    if test yes != "$GCC"; then
12533      with_gnu_ld=no
12534    fi
12535    ;;
12536  interix*)
12537    # we just hope/assume this is gcc and not c89 (= MSVC++)
12538    with_gnu_ld=yes
12539    ;;
12540  openbsd* | bitrig*)
12541    with_gnu_ld=no
12542    ;;
12543  esac
12544
12545  ld_shlibs=yes
12546
12547  # On some targets, GNU ld is compatible enough with the native linker
12548  # that we're better off using the native interface for both.
12549  lt_use_gnu_ld_interface=no
12550  if test yes = "$with_gnu_ld"; then
12551    case $host_os in
12552      aix*)
12553	# The AIX port of GNU ld has always aspired to compatibility
12554	# with the native linker.  However, as the warning in the GNU ld
12555	# block says, versions before 2.19.5* couldn't really create working
12556	# shared libraries, regardless of the interface used.
12557	case `$LD -v 2>&1` in
12558	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12559	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12560	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12561	  *)
12562	    lt_use_gnu_ld_interface=yes
12563	    ;;
12564	esac
12565	;;
12566      *)
12567	lt_use_gnu_ld_interface=yes
12568	;;
12569    esac
12570  fi
12571
12572  if test yes = "$lt_use_gnu_ld_interface"; then
12573    # If archive_cmds runs LD, not CC, wlarc should be empty
12574    wlarc='$wl'
12575
12576    # Set some defaults for GNU ld with shared library support. These
12577    # are reset later if shared libraries are not supported. Putting them
12578    # here allows them to be overridden if necessary.
12579    runpath_var=LD_RUN_PATH
12580    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12581    export_dynamic_flag_spec='$wl--export-dynamic'
12582    # ancient GNU ld didn't support --whole-archive et. al.
12583    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12584      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
12585    else
12586      whole_archive_flag_spec=
12587    fi
12588    supports_anon_versioning=no
12589    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
12590      *GNU\ gold*) supports_anon_versioning=yes ;;
12591      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12592      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12593      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12594      *\ 2.11.*) ;; # other 2.11 versions
12595      *) supports_anon_versioning=yes ;;
12596    esac
12597
12598    # See if GNU ld supports shared libraries.
12599    case $host_os in
12600    aix[3-9]*)
12601      # On AIX/PPC, the GNU linker is very broken
12602      if test ia64 != "$host_cpu"; then
12603	ld_shlibs=no
12604	cat <<_LT_EOF 1>&2
12605
12606*** Warning: the GNU linker, at least up to release 2.19, is reported
12607*** to be unable to reliably create shared libraries on AIX.
12608*** Therefore, libtool is disabling shared libraries support.  If you
12609*** really care for shared libraries, you may want to install binutils
12610*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12611*** You will then need to restart the configuration process.
12612
12613_LT_EOF
12614      fi
12615      ;;
12616
12617    amigaos*)
12618      case $host_cpu in
12619      powerpc)
12620            # see comment about AmigaOS4 .so support
12621            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12622            archive_expsym_cmds=''
12623        ;;
12624      m68k)
12625            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12626            hardcode_libdir_flag_spec='-L$libdir'
12627            hardcode_minus_L=yes
12628        ;;
12629      esac
12630      ;;
12631
12632    beos*)
12633      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12634	allow_undefined_flag=unsupported
12635	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12636	# support --undefined.  This deserves some investigation.  FIXME
12637	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12638      else
12639	ld_shlibs=no
12640      fi
12641      ;;
12642
12643    cygwin* | mingw* | pw32* | cegcc*)
12644      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12645      # as there is no search path for DLLs.
12646      hardcode_libdir_flag_spec='-L$libdir'
12647      export_dynamic_flag_spec='$wl--export-all-symbols'
12648      allow_undefined_flag=unsupported
12649      always_export_symbols=no
12650      enable_shared_with_static_runtimes=yes
12651      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
12652      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12653
12654      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12655        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12656	# If the export-symbols file already is a .def file, use it as
12657	# is; otherwise, prepend EXPORTS...
12658	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
12659          cp $export_symbols $output_objdir/$soname.def;
12660        else
12661          echo EXPORTS > $output_objdir/$soname.def;
12662          cat $export_symbols >> $output_objdir/$soname.def;
12663        fi~
12664        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12665      else
12666	ld_shlibs=no
12667      fi
12668      ;;
12669
12670    haiku*)
12671      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12672      link_all_deplibs=yes
12673      ;;
12674
12675    os2*)
12676      hardcode_libdir_flag_spec='-L$libdir'
12677      hardcode_minus_L=yes
12678      allow_undefined_flag=unsupported
12679      shrext_cmds=.dll
12680      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12681	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12682	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12683	$ECHO EXPORTS >> $output_objdir/$libname.def~
12684	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12685	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12686	emximp -o $lib $output_objdir/$libname.def'
12687      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12688	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12689	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12690	$ECHO EXPORTS >> $output_objdir/$libname.def~
12691	prefix_cmds="$SED"~
12692	if test EXPORTS = "`$SED 1q $export_symbols`"; then
12693	  prefix_cmds="$prefix_cmds -e 1d";
12694	fi~
12695	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12696	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12697	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12698	emximp -o $lib $output_objdir/$libname.def'
12699      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12700      enable_shared_with_static_runtimes=yes
12701      ;;
12702
12703    interix[3-9]*)
12704      hardcode_direct=no
12705      hardcode_shlibpath_var=no
12706      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12707      export_dynamic_flag_spec='$wl-E'
12708      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12709      # Instead, shared libraries are loaded at an image base (0x10000000 by
12710      # default) and relocated if they conflict, which is a slow very memory
12711      # consuming and fragmenting process.  To avoid this, we pick a random,
12712      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12713      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12714      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12715      archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12716      ;;
12717
12718    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12719      tmp_diet=no
12720      if test linux-dietlibc = "$host_os"; then
12721	case $cc_basename in
12722	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
12723	esac
12724      fi
12725      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12726	 && test no = "$tmp_diet"
12727      then
12728	tmp_addflag=' $pic_flag'
12729	tmp_sharedflag='-shared'
12730	case $cc_basename,$host_cpu in
12731        pgcc*)				# Portland Group C compiler
12732	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
12733	  tmp_addflag=' $pic_flag'
12734	  ;;
12735	pgf77* | pgf90* | pgf95* | pgfortran*)
12736					# Portland Group f77 and f90 compilers
12737	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
12738	  tmp_addflag=' $pic_flag -Mnomain' ;;
12739	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
12740	  tmp_addflag=' -i_dynamic' ;;
12741	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
12742	  tmp_addflag=' -i_dynamic -nofor_main' ;;
12743	ifc* | ifort*)			# Intel Fortran compiler
12744	  tmp_addflag=' -nofor_main' ;;
12745	lf95*)				# Lahey Fortran 8.1
12746	  whole_archive_flag_spec=
12747	  tmp_sharedflag='--shared' ;;
12748        nagfor*)                        # NAGFOR 5.3
12749          tmp_sharedflag='-Wl,-shared' ;;
12750	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12751	  tmp_sharedflag='-qmkshrobj'
12752	  tmp_addflag= ;;
12753	nvcc*)	# Cuda Compiler Driver 2.2
12754	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
12755	  compiler_needs_object=yes
12756	  ;;
12757	esac
12758	case `$CC -V 2>&1 | sed 5q` in
12759	*Sun\ C*)			# Sun C 5.9
12760	  whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
12761	  compiler_needs_object=yes
12762	  tmp_sharedflag='-G' ;;
12763	*Sun\ F*)			# Sun Fortran 8.3
12764	  tmp_sharedflag='-G' ;;
12765	esac
12766	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12767
12768        if test yes = "$supports_anon_versioning"; then
12769          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12770            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12771            echo "local: *; };" >> $output_objdir/$libname.ver~
12772            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
12773        fi
12774
12775	case $cc_basename in
12776	tcc*)
12777	  export_dynamic_flag_spec='-rdynamic'
12778	  ;;
12779	xlf* | bgf* | bgxlf* | mpixlf*)
12780	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12781	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12782	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12783	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12784	  if test yes = "$supports_anon_versioning"; then
12785	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12786              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12787              echo "local: *; };" >> $output_objdir/$libname.ver~
12788              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12789	  fi
12790	  ;;
12791	esac
12792      else
12793        ld_shlibs=no
12794      fi
12795      ;;
12796
12797    netbsd*)
12798      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12799	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12800	wlarc=
12801      else
12802	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12803	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12804      fi
12805      ;;
12806
12807    solaris*)
12808      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12809	ld_shlibs=no
12810	cat <<_LT_EOF 1>&2
12811
12812*** Warning: The releases 2.8.* of the GNU linker cannot reliably
12813*** create shared libraries on Solaris systems.  Therefore, libtool
12814*** is disabling shared libraries support.  We urge you to upgrade GNU
12815*** binutils to release 2.9.1 or newer.  Another option is to modify
12816*** your PATH or compiler configuration so that the native linker is
12817*** used, and then restart.
12818
12819_LT_EOF
12820      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12821	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12822	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12823      else
12824	ld_shlibs=no
12825      fi
12826      ;;
12827
12828    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12829      case `$LD -v 2>&1` in
12830        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12831	ld_shlibs=no
12832	cat <<_LT_EOF 1>&2
12833
12834*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
12835*** reliably create shared libraries on SCO systems.  Therefore, libtool
12836*** is disabling shared libraries support.  We urge you to upgrade GNU
12837*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
12838*** your PATH or compiler configuration so that the native linker is
12839*** used, and then restart.
12840
12841_LT_EOF
12842	;;
12843	*)
12844	  # For security reasons, it is highly recommended that you always
12845	  # use absolute paths for naming shared libraries, and exclude the
12846	  # DT_RUNPATH tag from executables and libraries.  But doing so
12847	  # requires that you compile everything twice, which is a pain.
12848	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12849	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12850	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12851	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12852	  else
12853	    ld_shlibs=no
12854	  fi
12855	;;
12856      esac
12857      ;;
12858
12859    sunos4*)
12860      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12861      wlarc=
12862      hardcode_direct=yes
12863      hardcode_shlibpath_var=no
12864      ;;
12865
12866    *)
12867      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12868	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12869	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12870      else
12871	ld_shlibs=no
12872      fi
12873      ;;
12874    esac
12875
12876    if test no = "$ld_shlibs"; then
12877      runpath_var=
12878      hardcode_libdir_flag_spec=
12879      export_dynamic_flag_spec=
12880      whole_archive_flag_spec=
12881    fi
12882  else
12883    # PORTME fill in a description of your system's linker (not GNU ld)
12884    case $host_os in
12885    aix3*)
12886      allow_undefined_flag=unsupported
12887      always_export_symbols=yes
12888      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
12889      # Note: this linker hardcodes the directories in LIBPATH if there
12890      # are no directories specified by -L.
12891      hardcode_minus_L=yes
12892      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12893	# Neither direct hardcoding nor static linking is supported with a
12894	# broken collect2.
12895	hardcode_direct=unsupported
12896      fi
12897      ;;
12898
12899    aix[4-9]*)
12900      if test ia64 = "$host_cpu"; then
12901	# On IA64, the linker does run time linking by default, so we don't
12902	# have to do anything special.
12903	aix_use_runtimelinking=no
12904	exp_sym_flag='-Bexport'
12905	no_entry_flag=
12906      else
12907	# If we're using GNU nm, then we don't want the "-C" option.
12908	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
12909	# Without the "-l" option, or with the "-B" option, AIX nm treats
12910	# weak defined symbols like other global defined symbols, whereas
12911	# GNU nm marks them as "W".
12912	# While the 'weak' keyword is ignored in the Export File, we need
12913	# it in the Import File for the 'aix-soname' feature, so we have
12914	# to replace the "-B" option with "-P" for AIX nm.
12915	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12916	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
12917	else
12918	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
12919	fi
12920	aix_use_runtimelinking=no
12921
12922	# Test if we are trying to use run time linking or normal
12923	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
12924	# have runtime linking enabled, and use it for executables.
12925	# For shared libraries, we enable/disable runtime linking
12926	# depending on the kind of the shared library created -
12927	# when "with_aix_soname,aix_use_runtimelinking" is:
12928	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
12929	# "aix,yes"  lib.so          shared, rtl:yes, for executables
12930	#            lib.a           static archive
12931	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
12932	#            lib.a(lib.so.V) shared, rtl:no,  for executables
12933	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12934	#            lib.a(lib.so.V) shared, rtl:no
12935	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
12936	#            lib.a           static archive
12937	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12938	  for ld_flag in $LDFLAGS; do
12939	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
12940	    aix_use_runtimelinking=yes
12941	    break
12942	  fi
12943	  done
12944	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
12945	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
12946	    # so we don't have lib.a shared libs to link our executables.
12947	    # We have to force runtime linking in this case.
12948	    aix_use_runtimelinking=yes
12949	    LDFLAGS="$LDFLAGS -Wl,-brtl"
12950	  fi
12951	  ;;
12952	esac
12953
12954	exp_sym_flag='-bexport'
12955	no_entry_flag='-bnoentry'
12956      fi
12957
12958      # When large executables or shared objects are built, AIX ld can
12959      # have problems creating the table of contents.  If linking a library
12960      # or program results in "error TOC overflow" add -mminimal-toc to
12961      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12962      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12963
12964      archive_cmds=''
12965      hardcode_direct=yes
12966      hardcode_direct_absolute=yes
12967      hardcode_libdir_separator=':'
12968      link_all_deplibs=yes
12969      file_list_spec='$wl-f,'
12970      case $with_aix_soname,$aix_use_runtimelinking in
12971      aix,*) ;; # traditional, no import file
12972      svr4,* | *,yes) # use import file
12973	# The Import File defines what to hardcode.
12974	hardcode_direct=no
12975	hardcode_direct_absolute=no
12976	;;
12977      esac
12978
12979      if test yes = "$GCC"; then
12980	case $host_os in aix4.[012]|aix4.[012].*)
12981	# We only want to do this on AIX 4.2 and lower, the check
12982	# below for broken collect2 doesn't work under 4.3+
12983	  collect2name=`$CC -print-prog-name=collect2`
12984	  if test -f "$collect2name" &&
12985	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12986	  then
12987	  # We have reworked collect2
12988	  :
12989	  else
12990	  # We have old collect2
12991	  hardcode_direct=unsupported
12992	  # It fails to find uninstalled libraries when the uninstalled
12993	  # path is not listed in the libpath.  Setting hardcode_minus_L
12994	  # to unsupported forces relinking
12995	  hardcode_minus_L=yes
12996	  hardcode_libdir_flag_spec='-L$libdir'
12997	  hardcode_libdir_separator=
12998	  fi
12999	  ;;
13000	esac
13001	shared_flag='-shared'
13002	if test yes = "$aix_use_runtimelinking"; then
13003	  shared_flag="$shared_flag "'$wl-G'
13004	fi
13005	# Need to ensure runtime linking is disabled for the traditional
13006	# shared library, or the linker may eventually find shared libraries
13007	# /with/ Import File - we do not want to mix them.
13008	shared_flag_aix='-shared'
13009	shared_flag_svr4='-shared $wl-G'
13010      else
13011	# not using gcc
13012	if test ia64 = "$host_cpu"; then
13013	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13014	# chokes on -Wl,-G. The following line is correct:
13015	  shared_flag='-G'
13016	else
13017	  if test yes = "$aix_use_runtimelinking"; then
13018	    shared_flag='$wl-G'
13019	  else
13020	    shared_flag='$wl-bM:SRE'
13021	  fi
13022	  shared_flag_aix='$wl-bM:SRE'
13023	  shared_flag_svr4='$wl-G'
13024	fi
13025      fi
13026
13027      export_dynamic_flag_spec='$wl-bexpall'
13028      # It seems that -bexpall does not export symbols beginning with
13029      # underscore (_), so it is better to generate a list of symbols to export.
13030      always_export_symbols=yes
13031      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13032	# Warning - without using the other runtime loading flags (-brtl),
13033	# -berok will link without error, but may produce a broken library.
13034	allow_undefined_flag='-berok'
13035        # Determine the default libpath from the value encoded in an
13036        # empty executable.
13037        if test set = "${lt_cv_aix_libpath+set}"; then
13038  aix_libpath=$lt_cv_aix_libpath
13039else
13040  if ${lt_cv_aix_libpath_+:} false; then :
13041  $as_echo_n "(cached) " >&6
13042else
13043  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13044/* end confdefs.h.  */
13045
13046int
13047main ()
13048{
13049
13050  ;
13051  return 0;
13052}
13053_ACEOF
13054if ac_fn_c_try_link "$LINENO"; then :
13055
13056  lt_aix_libpath_sed='
13057      /Import File Strings/,/^$/ {
13058	  /^0/ {
13059	      s/^0  *\([^ ]*\) *$/\1/
13060	      p
13061	  }
13062      }'
13063  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13064  # Check for a 64-bit object if we didn't find anything.
13065  if test -z "$lt_cv_aix_libpath_"; then
13066    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13067  fi
13068fi
13069rm -f core conftest.err conftest.$ac_objext \
13070    conftest$ac_exeext conftest.$ac_ext
13071  if test -z "$lt_cv_aix_libpath_"; then
13072    lt_cv_aix_libpath_=/usr/lib:/lib
13073  fi
13074
13075fi
13076
13077  aix_libpath=$lt_cv_aix_libpath_
13078fi
13079
13080        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
13081        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
13082      else
13083	if test ia64 = "$host_cpu"; then
13084	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
13085	  allow_undefined_flag="-z nodefs"
13086	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
13087	else
13088	 # Determine the default libpath from the value encoded in an
13089	 # empty executable.
13090	 if test set = "${lt_cv_aix_libpath+set}"; then
13091  aix_libpath=$lt_cv_aix_libpath
13092else
13093  if ${lt_cv_aix_libpath_+:} false; then :
13094  $as_echo_n "(cached) " >&6
13095else
13096  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13097/* end confdefs.h.  */
13098
13099int
13100main ()
13101{
13102
13103  ;
13104  return 0;
13105}
13106_ACEOF
13107if ac_fn_c_try_link "$LINENO"; then :
13108
13109  lt_aix_libpath_sed='
13110      /Import File Strings/,/^$/ {
13111	  /^0/ {
13112	      s/^0  *\([^ ]*\) *$/\1/
13113	      p
13114	  }
13115      }'
13116  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13117  # Check for a 64-bit object if we didn't find anything.
13118  if test -z "$lt_cv_aix_libpath_"; then
13119    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13120  fi
13121fi
13122rm -f core conftest.err conftest.$ac_objext \
13123    conftest$ac_exeext conftest.$ac_ext
13124  if test -z "$lt_cv_aix_libpath_"; then
13125    lt_cv_aix_libpath_=/usr/lib:/lib
13126  fi
13127
13128fi
13129
13130  aix_libpath=$lt_cv_aix_libpath_
13131fi
13132
13133	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
13134	  # Warning - without using the other run time loading flags,
13135	  # -berok will link without error, but may produce a broken library.
13136	  no_undefined_flag=' $wl-bernotok'
13137	  allow_undefined_flag=' $wl-berok'
13138	  if test yes = "$with_gnu_ld"; then
13139	    # We only use this code for GNU lds that support --whole-archive.
13140	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
13141	  else
13142	    # Exported symbols can be pulled into shared objects from archives
13143	    whole_archive_flag_spec='$convenience'
13144	  fi
13145	  archive_cmds_need_lc=yes
13146	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13147	  # -brtl affects multiple linker settings, -berok does not and is overridden later
13148	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13149	  if test svr4 != "$with_aix_soname"; then
13150	    # This is similar to how AIX traditionally builds its shared libraries.
13151	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
13152	  fi
13153	  if test aix != "$with_aix_soname"; then
13154	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
13155	  else
13156	    # used by -dlpreopen to get the symbols
13157	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
13158	  fi
13159	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
13160	fi
13161      fi
13162      ;;
13163
13164    amigaos*)
13165      case $host_cpu in
13166      powerpc)
13167            # see comment about AmigaOS4 .so support
13168            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13169            archive_expsym_cmds=''
13170        ;;
13171      m68k)
13172            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
13173            hardcode_libdir_flag_spec='-L$libdir'
13174            hardcode_minus_L=yes
13175        ;;
13176      esac
13177      ;;
13178
13179    bsdi[45]*)
13180      export_dynamic_flag_spec=-rdynamic
13181      ;;
13182
13183    cygwin* | mingw* | pw32* | cegcc*)
13184      # When not using gcc, we currently assume that we are using
13185      # Microsoft Visual C++.
13186      # hardcode_libdir_flag_spec is actually meaningless, as there is
13187      # no search path for DLLs.
13188      case $cc_basename in
13189      cl*)
13190	# Native MSVC
13191	hardcode_libdir_flag_spec=' '
13192	allow_undefined_flag=unsupported
13193	always_export_symbols=yes
13194	file_list_spec='@'
13195	# Tell ltmain to make .lib files, not .a files.
13196	libext=lib
13197	# Tell ltmain to make .dll files, not .so files.
13198	shrext_cmds=.dll
13199	# FIXME: Setting linknames here is a bad hack.
13200	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13201	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13202            cp "$export_symbols" "$output_objdir/$soname.def";
13203            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13204          else
13205            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13206          fi~
13207          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13208          linknames='
13209	# The linker will not automatically build a static lib if we build a DLL.
13210	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
13211	enable_shared_with_static_runtimes=yes
13212	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
13213	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13214	# Don't use ranlib
13215	old_postinstall_cmds='chmod 644 $oldlib'
13216	postlink_cmds='lt_outputfile="@OUTPUT@"~
13217          lt_tool_outputfile="@TOOL_OUTPUT@"~
13218          case $lt_outputfile in
13219            *.exe|*.EXE) ;;
13220            *)
13221              lt_outputfile=$lt_outputfile.exe
13222              lt_tool_outputfile=$lt_tool_outputfile.exe
13223              ;;
13224          esac~
13225          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13226            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13227            $RM "$lt_outputfile.manifest";
13228          fi'
13229	;;
13230      *)
13231	# Assume MSVC wrapper
13232	hardcode_libdir_flag_spec=' '
13233	allow_undefined_flag=unsupported
13234	# Tell ltmain to make .lib files, not .a files.
13235	libext=lib
13236	# Tell ltmain to make .dll files, not .so files.
13237	shrext_cmds=.dll
13238	# FIXME: Setting linknames here is a bad hack.
13239	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13240	# The linker will automatically build a .lib file if we build a DLL.
13241	old_archive_from_new_cmds='true'
13242	# FIXME: Should let the user specify the lib program.
13243	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
13244	enable_shared_with_static_runtimes=yes
13245	;;
13246      esac
13247      ;;
13248
13249    darwin* | rhapsody*)
13250
13251
13252  archive_cmds_need_lc=no
13253  hardcode_direct=no
13254  hardcode_automatic=yes
13255  hardcode_shlibpath_var=unsupported
13256  if test yes = "$lt_cv_ld_force_load"; then
13257    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13258
13259  else
13260    whole_archive_flag_spec=''
13261  fi
13262  link_all_deplibs=yes
13263  allow_undefined_flag=$_lt_dar_allow_undefined
13264  case $cc_basename in
13265     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
13266     *) _lt_dar_can_shared=$GCC ;;
13267  esac
13268  if test yes = "$_lt_dar_can_shared"; then
13269    output_verbose_link_cmd=func_echo_all
13270    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
13271    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13272    archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
13273    module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
13274
13275  else
13276  ld_shlibs=no
13277  fi
13278
13279      ;;
13280
13281    dgux*)
13282      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13283      hardcode_libdir_flag_spec='-L$libdir'
13284      hardcode_shlibpath_var=no
13285      ;;
13286
13287    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13288    # support.  Future versions do this automatically, but an explicit c++rt0.o
13289    # does not break anything, and helps significantly (at the cost of a little
13290    # extra space).
13291    freebsd2.2*)
13292      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13293      hardcode_libdir_flag_spec='-R$libdir'
13294      hardcode_direct=yes
13295      hardcode_shlibpath_var=no
13296      ;;
13297
13298    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13299    freebsd2.*)
13300      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13301      hardcode_direct=yes
13302      hardcode_minus_L=yes
13303      hardcode_shlibpath_var=no
13304      ;;
13305
13306    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13307    freebsd* | dragonfly*)
13308      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13309      hardcode_libdir_flag_spec='-R$libdir'
13310      hardcode_direct=yes
13311      hardcode_shlibpath_var=no
13312      ;;
13313
13314    hpux9*)
13315      if test yes = "$GCC"; then
13316	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
13317      else
13318	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
13319      fi
13320      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
13321      hardcode_libdir_separator=:
13322      hardcode_direct=yes
13323
13324      # hardcode_minus_L: Not really in the search PATH,
13325      # but as the default location of the library.
13326      hardcode_minus_L=yes
13327      export_dynamic_flag_spec='$wl-E'
13328      ;;
13329
13330    hpux10*)
13331      if test yes,no = "$GCC,$with_gnu_ld"; then
13332	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13333      else
13334	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13335      fi
13336      if test no = "$with_gnu_ld"; then
13337	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
13338	hardcode_libdir_separator=:
13339	hardcode_direct=yes
13340	hardcode_direct_absolute=yes
13341	export_dynamic_flag_spec='$wl-E'
13342	# hardcode_minus_L: Not really in the search PATH,
13343	# but as the default location of the library.
13344	hardcode_minus_L=yes
13345      fi
13346      ;;
13347
13348    hpux11*)
13349      if test yes,no = "$GCC,$with_gnu_ld"; then
13350	case $host_cpu in
13351	hppa*64*)
13352	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13353	  ;;
13354	ia64*)
13355	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13356	  ;;
13357	*)
13358	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13359	  ;;
13360	esac
13361      else
13362	case $host_cpu in
13363	hppa*64*)
13364	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13365	  ;;
13366	ia64*)
13367	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13368	  ;;
13369	*)
13370
13371	  # Older versions of the 11.00 compiler do not understand -b yet
13372	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
13373	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
13374$as_echo_n "checking if $CC understands -b... " >&6; }
13375if ${lt_cv_prog_compiler__b+:} false; then :
13376  $as_echo_n "(cached) " >&6
13377else
13378  lt_cv_prog_compiler__b=no
13379   save_LDFLAGS=$LDFLAGS
13380   LDFLAGS="$LDFLAGS -b"
13381   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13382   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13383     # The linker can only warn and ignore the option if not recognized
13384     # So say no if there are warnings
13385     if test -s conftest.err; then
13386       # Append any errors to the config.log.
13387       cat conftest.err 1>&5
13388       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13389       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13390       if diff conftest.exp conftest.er2 >/dev/null; then
13391         lt_cv_prog_compiler__b=yes
13392       fi
13393     else
13394       lt_cv_prog_compiler__b=yes
13395     fi
13396   fi
13397   $RM -r conftest*
13398   LDFLAGS=$save_LDFLAGS
13399
13400fi
13401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
13402$as_echo "$lt_cv_prog_compiler__b" >&6; }
13403
13404if test yes = "$lt_cv_prog_compiler__b"; then
13405    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13406else
13407    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13408fi
13409
13410	  ;;
13411	esac
13412      fi
13413      if test no = "$with_gnu_ld"; then
13414	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
13415	hardcode_libdir_separator=:
13416
13417	case $host_cpu in
13418	hppa*64*|ia64*)
13419	  hardcode_direct=no
13420	  hardcode_shlibpath_var=no
13421	  ;;
13422	*)
13423	  hardcode_direct=yes
13424	  hardcode_direct_absolute=yes
13425	  export_dynamic_flag_spec='$wl-E'
13426
13427	  # hardcode_minus_L: Not really in the search PATH,
13428	  # but as the default location of the library.
13429	  hardcode_minus_L=yes
13430	  ;;
13431	esac
13432      fi
13433      ;;
13434
13435    irix5* | irix6* | nonstopux*)
13436      if test yes = "$GCC"; then
13437	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
13438	# Try to use the -exported_symbol ld option, if it does not
13439	# work, assume that -exports_file does not work either and
13440	# implicitly export all symbols.
13441	# This should be the same for all languages, so no per-tag cache variable.
13442	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
13443$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
13444if ${lt_cv_irix_exported_symbol+:} false; then :
13445  $as_echo_n "(cached) " >&6
13446else
13447  save_LDFLAGS=$LDFLAGS
13448	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
13449	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13450/* end confdefs.h.  */
13451int foo (void) { return 0; }
13452_ACEOF
13453if ac_fn_c_try_link "$LINENO"; then :
13454  lt_cv_irix_exported_symbol=yes
13455else
13456  lt_cv_irix_exported_symbol=no
13457fi
13458rm -f core conftest.err conftest.$ac_objext \
13459    conftest$ac_exeext conftest.$ac_ext
13460           LDFLAGS=$save_LDFLAGS
13461fi
13462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
13463$as_echo "$lt_cv_irix_exported_symbol" >&6; }
13464	if test yes = "$lt_cv_irix_exported_symbol"; then
13465          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
13466	fi
13467      else
13468	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
13469	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
13470      fi
13471      archive_cmds_need_lc='no'
13472      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13473      hardcode_libdir_separator=:
13474      inherit_rpath=yes
13475      link_all_deplibs=yes
13476      ;;
13477
13478    linux*)
13479      case $cc_basename in
13480      tcc*)
13481	# Fabrice Bellard et al's Tiny C Compiler
13482	ld_shlibs=yes
13483	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13484	;;
13485      esac
13486      ;;
13487
13488    netbsd*)
13489      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13490	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
13491      else
13492	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
13493      fi
13494      hardcode_libdir_flag_spec='-R$libdir'
13495      hardcode_direct=yes
13496      hardcode_shlibpath_var=no
13497      ;;
13498
13499    newsos6)
13500      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13501      hardcode_direct=yes
13502      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13503      hardcode_libdir_separator=:
13504      hardcode_shlibpath_var=no
13505      ;;
13506
13507    *nto* | *qnx*)
13508      ;;
13509
13510    openbsd* | bitrig*)
13511      if test -f /usr/libexec/ld.so; then
13512	hardcode_direct=yes
13513	hardcode_shlibpath_var=no
13514	hardcode_direct_absolute=yes
13515	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13516	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13517	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
13518	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13519	  export_dynamic_flag_spec='$wl-E'
13520	else
13521	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13522	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13523	fi
13524      else
13525	ld_shlibs=no
13526      fi
13527      ;;
13528
13529    os2*)
13530      hardcode_libdir_flag_spec='-L$libdir'
13531      hardcode_minus_L=yes
13532      allow_undefined_flag=unsupported
13533      shrext_cmds=.dll
13534      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13535	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13536	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13537	$ECHO EXPORTS >> $output_objdir/$libname.def~
13538	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13539	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13540	emximp -o $lib $output_objdir/$libname.def'
13541      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13542	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13543	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13544	$ECHO EXPORTS >> $output_objdir/$libname.def~
13545	prefix_cmds="$SED"~
13546	if test EXPORTS = "`$SED 1q $export_symbols`"; then
13547	  prefix_cmds="$prefix_cmds -e 1d";
13548	fi~
13549	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13550	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13551	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13552	emximp -o $lib $output_objdir/$libname.def'
13553      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13554      enable_shared_with_static_runtimes=yes
13555      ;;
13556
13557    osf3*)
13558      if test yes = "$GCC"; then
13559	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13560	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
13561      else
13562	allow_undefined_flag=' -expect_unresolved \*'
13563	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
13564      fi
13565      archive_cmds_need_lc='no'
13566      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13567      hardcode_libdir_separator=:
13568      ;;
13569
13570    osf4* | osf5*)	# as osf3* with the addition of -msym flag
13571      if test yes = "$GCC"; then
13572	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13573	archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
13574	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13575      else
13576	allow_undefined_flag=' -expect_unresolved \*'
13577	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
13578	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
13579          $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
13580
13581	# Both c and cxx compiler support -rpath directly
13582	hardcode_libdir_flag_spec='-rpath $libdir'
13583      fi
13584      archive_cmds_need_lc='no'
13585      hardcode_libdir_separator=:
13586      ;;
13587
13588    solaris*)
13589      no_undefined_flag=' -z defs'
13590      if test yes = "$GCC"; then
13591	wlarc='$wl'
13592	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13593	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13594          $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13595      else
13596	case `$CC -V 2>&1` in
13597	*"Compilers 5.0"*)
13598	  wlarc=''
13599	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
13600	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13601            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13602	  ;;
13603	*)
13604	  wlarc='$wl'
13605	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13606	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13607            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13608	  ;;
13609	esac
13610      fi
13611      hardcode_libdir_flag_spec='-R$libdir'
13612      hardcode_shlibpath_var=no
13613      case $host_os in
13614      solaris2.[0-5] | solaris2.[0-5].*) ;;
13615      *)
13616	# The compiler driver will combine and reorder linker options,
13617	# but understands '-z linker_flag'.  GCC discards it without '$wl',
13618	# but is careful enough not to reorder.
13619	# Supported since Solaris 2.6 (maybe 2.5.1?)
13620	if test yes = "$GCC"; then
13621	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
13622	else
13623	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
13624	fi
13625	;;
13626      esac
13627      link_all_deplibs=yes
13628      ;;
13629
13630    sunos4*)
13631      if test sequent = "$host_vendor"; then
13632	# Use $CC to link under sequent, because it throws in some extra .o
13633	# files that make .init and .fini sections work.
13634	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13635      else
13636	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13637      fi
13638      hardcode_libdir_flag_spec='-L$libdir'
13639      hardcode_direct=yes
13640      hardcode_minus_L=yes
13641      hardcode_shlibpath_var=no
13642      ;;
13643
13644    sysv4)
13645      case $host_vendor in
13646	sni)
13647	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13648	  hardcode_direct=yes # is this really true???
13649	;;
13650	siemens)
13651	  ## LD is ld it makes a PLAMLIB
13652	  ## CC just makes a GrossModule.
13653	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13654	  reload_cmds='$CC -r -o $output$reload_objs'
13655	  hardcode_direct=no
13656        ;;
13657	motorola)
13658	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13659	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13660	;;
13661      esac
13662      runpath_var='LD_RUN_PATH'
13663      hardcode_shlibpath_var=no
13664      ;;
13665
13666    sysv4.3*)
13667      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13668      hardcode_shlibpath_var=no
13669      export_dynamic_flag_spec='-Bexport'
13670      ;;
13671
13672    sysv4*MP*)
13673      if test -d /usr/nec; then
13674	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13675	hardcode_shlibpath_var=no
13676	runpath_var=LD_RUN_PATH
13677	hardcode_runpath_var=yes
13678	ld_shlibs=yes
13679      fi
13680      ;;
13681
13682    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13683      no_undefined_flag='$wl-z,text'
13684      archive_cmds_need_lc=no
13685      hardcode_shlibpath_var=no
13686      runpath_var='LD_RUN_PATH'
13687
13688      if test yes = "$GCC"; then
13689	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13690	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13691      else
13692	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13693	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13694      fi
13695      ;;
13696
13697    sysv5* | sco3.2v5* | sco5v6*)
13698      # Note: We CANNOT use -z defs as we might desire, because we do not
13699      # link with -lc, and that would cause any symbols used from libc to
13700      # always be unresolved, which means just about no library would
13701      # ever link correctly.  If we're not using GNU ld we use -z text
13702      # though, which does catch some bad symbols but isn't as heavy-handed
13703      # as -z defs.
13704      no_undefined_flag='$wl-z,text'
13705      allow_undefined_flag='$wl-z,nodefs'
13706      archive_cmds_need_lc=no
13707      hardcode_shlibpath_var=no
13708      hardcode_libdir_flag_spec='$wl-R,$libdir'
13709      hardcode_libdir_separator=':'
13710      link_all_deplibs=yes
13711      export_dynamic_flag_spec='$wl-Bexport'
13712      runpath_var='LD_RUN_PATH'
13713
13714      if test yes = "$GCC"; then
13715	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13716	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13717      else
13718	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13719	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13720      fi
13721      ;;
13722
13723    uts4*)
13724      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13725      hardcode_libdir_flag_spec='-L$libdir'
13726      hardcode_shlibpath_var=no
13727      ;;
13728
13729    *)
13730      ld_shlibs=no
13731      ;;
13732    esac
13733
13734    if test sni = "$host_vendor"; then
13735      case $host in
13736      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13737	export_dynamic_flag_spec='$wl-Blargedynsym'
13738	;;
13739      esac
13740    fi
13741  fi
13742
13743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13744$as_echo "$ld_shlibs" >&6; }
13745test no = "$ld_shlibs" && can_build_shared=no
13746
13747with_gnu_ld=$with_gnu_ld
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763#
13764# Do we need to explicitly link libc?
13765#
13766case "x$archive_cmds_need_lc" in
13767x|xyes)
13768  # Assume -lc should be added
13769  archive_cmds_need_lc=yes
13770
13771  if test yes,yes = "$GCC,$enable_shared"; then
13772    case $archive_cmds in
13773    *'~'*)
13774      # FIXME: we may have to deal with multi-command sequences.
13775      ;;
13776    '$CC '*)
13777      # Test whether the compiler implicitly links with -lc since on some
13778      # systems, -lgcc has to come before -lc. If gcc already passes -lc
13779      # to ld, don't add -lc before -lgcc.
13780      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13781$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13782if ${lt_cv_archive_cmds_need_lc+:} false; then :
13783  $as_echo_n "(cached) " >&6
13784else
13785  $RM conftest*
13786	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13787
13788	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13789  (eval $ac_compile) 2>&5
13790  ac_status=$?
13791  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13792  test $ac_status = 0; } 2>conftest.err; then
13793	  soname=conftest
13794	  lib=conftest
13795	  libobjs=conftest.$ac_objext
13796	  deplibs=
13797	  wl=$lt_prog_compiler_wl
13798	  pic_flag=$lt_prog_compiler_pic
13799	  compiler_flags=-v
13800	  linker_flags=-v
13801	  verstring=
13802	  output_objdir=.
13803	  libname=conftest
13804	  lt_save_allow_undefined_flag=$allow_undefined_flag
13805	  allow_undefined_flag=
13806	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13807  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13808  ac_status=$?
13809  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13810  test $ac_status = 0; }
13811	  then
13812	    lt_cv_archive_cmds_need_lc=no
13813	  else
13814	    lt_cv_archive_cmds_need_lc=yes
13815	  fi
13816	  allow_undefined_flag=$lt_save_allow_undefined_flag
13817	else
13818	  cat conftest.err 1>&5
13819	fi
13820	$RM conftest*
13821
13822fi
13823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13824$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13825      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
13826      ;;
13827    esac
13828  fi
13829  ;;
13830esac
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13984$as_echo_n "checking dynamic linker characteristics... " >&6; }
13985
13986if test yes = "$GCC"; then
13987  case $host_os in
13988    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
13989    *) lt_awk_arg='/^libraries:/' ;;
13990  esac
13991  case $host_os in
13992    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
13993    *) lt_sed_strip_eq='s|=/|/|g' ;;
13994  esac
13995  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13996  case $lt_search_path_spec in
13997  *\;*)
13998    # if the path contains ";" then we assume it to be the separator
13999    # otherwise default to the standard path separator (i.e. ":") - it is
14000    # assumed that no part of a normal pathname contains ";" but that should
14001    # okay in the real world where ";" in dirpaths is itself problematic.
14002    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
14003    ;;
14004  *)
14005    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
14006    ;;
14007  esac
14008  # Ok, now we have the path, separated by spaces, we can step through it
14009  # and add multilib dir if necessary...
14010  lt_tmp_lt_search_path_spec=
14011  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
14012  # ...but if some path component already ends with the multilib dir we assume
14013  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
14014  case "$lt_multi_os_dir; $lt_search_path_spec " in
14015  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
14016    lt_multi_os_dir=
14017    ;;
14018  esac
14019  for lt_sys_path in $lt_search_path_spec; do
14020    if test -d "$lt_sys_path$lt_multi_os_dir"; then
14021      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
14022    elif test -n "$lt_multi_os_dir"; then
14023      test -d "$lt_sys_path" && \
14024	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
14025    fi
14026  done
14027  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
14028BEGIN {RS = " "; FS = "/|\n";} {
14029  lt_foo = "";
14030  lt_count = 0;
14031  for (lt_i = NF; lt_i > 0; lt_i--) {
14032    if ($lt_i != "" && $lt_i != ".") {
14033      if ($lt_i == "..") {
14034        lt_count++;
14035      } else {
14036        if (lt_count == 0) {
14037          lt_foo = "/" $lt_i lt_foo;
14038        } else {
14039          lt_count--;
14040        }
14041      }
14042    }
14043  }
14044  if (lt_foo != "") { lt_freq[lt_foo]++; }
14045  if (lt_freq[lt_foo] == 1) { print lt_foo; }
14046}'`
14047  # AWK program above erroneously prepends '/' to C:/dos/paths
14048  # for these hosts.
14049  case $host_os in
14050    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
14051      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
14052  esac
14053  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
14054else
14055  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14056fi
14057library_names_spec=
14058libname_spec='lib$name'
14059soname_spec=
14060shrext_cmds=.so
14061postinstall_cmds=
14062postuninstall_cmds=
14063finish_cmds=
14064finish_eval=
14065shlibpath_var=
14066shlibpath_overrides_runpath=unknown
14067version_type=none
14068dynamic_linker="$host_os ld.so"
14069sys_lib_dlsearch_path_spec="/lib /usr/lib"
14070need_lib_prefix=unknown
14071hardcode_into_libs=no
14072
14073# when you set need_version to no, make sure it does not cause -set_version
14074# flags to be left without arguments
14075need_version=unknown
14076
14077
14078
14079case $host_os in
14080aix3*)
14081  version_type=linux # correct to gnu/linux during the next big refactor
14082  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
14083  shlibpath_var=LIBPATH
14084
14085  # AIX 3 has no versioning support, so we append a major version to the name.
14086  soname_spec='$libname$release$shared_ext$major'
14087  ;;
14088
14089aix[4-9]*)
14090  version_type=linux # correct to gnu/linux during the next big refactor
14091  need_lib_prefix=no
14092  need_version=no
14093  hardcode_into_libs=yes
14094  if test ia64 = "$host_cpu"; then
14095    # AIX 5 supports IA64
14096    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
14097    shlibpath_var=LD_LIBRARY_PATH
14098  else
14099    # With GCC up to 2.95.x, collect2 would create an import file
14100    # for dependence libraries.  The import file would start with
14101    # the line '#! .'.  This would cause the generated library to
14102    # depend on '.', always an invalid library.  This was fixed in
14103    # development snapshots of GCC prior to 3.0.
14104    case $host_os in
14105      aix4 | aix4.[01] | aix4.[01].*)
14106      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14107	   echo ' yes '
14108	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
14109	:
14110      else
14111	can_build_shared=no
14112      fi
14113      ;;
14114    esac
14115    # Using Import Files as archive members, it is possible to support
14116    # filename-based versioning of shared library archives on AIX. While
14117    # this would work for both with and without runtime linking, it will
14118    # prevent static linking of such archives. So we do filename-based
14119    # shared library versioning with .so extension only, which is used
14120    # when both runtime linking and shared linking is enabled.
14121    # Unfortunately, runtime linking may impact performance, so we do
14122    # not want this to be the default eventually. Also, we use the
14123    # versioned .so libs for executables only if there is the -brtl
14124    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
14125    # To allow for filename-based versioning support, we need to create
14126    # libNAME.so.V as an archive file, containing:
14127    # *) an Import File, referring to the versioned filename of the
14128    #    archive as well as the shared archive member, telling the
14129    #    bitwidth (32 or 64) of that shared object, and providing the
14130    #    list of exported symbols of that shared object, eventually
14131    #    decorated with the 'weak' keyword
14132    # *) the shared object with the F_LOADONLY flag set, to really avoid
14133    #    it being seen by the linker.
14134    # At run time we better use the real file rather than another symlink,
14135    # but for link time we create the symlink libNAME.so -> libNAME.so.V
14136
14137    case $with_aix_soname,$aix_use_runtimelinking in
14138    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
14139    # soname into executable. Probably we can add versioning support to
14140    # collect2, so additional links can be useful in future.
14141    aix,yes) # traditional libtool
14142      dynamic_linker='AIX unversionable lib.so'
14143      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14144      # instead of lib<name>.a to let people know that these are not
14145      # typical AIX shared libraries.
14146      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14147      ;;
14148    aix,no) # traditional AIX only
14149      dynamic_linker='AIX lib.a(lib.so.V)'
14150      # We preserve .a as extension for shared libraries through AIX4.2
14151      # and later when we are not doing run time linking.
14152      library_names_spec='$libname$release.a $libname.a'
14153      soname_spec='$libname$release$shared_ext$major'
14154      ;;
14155    svr4,*) # full svr4 only
14156      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
14157      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
14158      # We do not specify a path in Import Files, so LIBPATH fires.
14159      shlibpath_overrides_runpath=yes
14160      ;;
14161    *,yes) # both, prefer svr4
14162      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
14163      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
14164      # unpreferred sharedlib libNAME.a needs extra handling
14165      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
14166      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
14167      # We do not specify a path in Import Files, so LIBPATH fires.
14168      shlibpath_overrides_runpath=yes
14169      ;;
14170    *,no) # both, prefer aix
14171      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
14172      library_names_spec='$libname$release.a $libname.a'
14173      soname_spec='$libname$release$shared_ext$major'
14174      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
14175      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
14176      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
14177      ;;
14178    esac
14179    shlibpath_var=LIBPATH
14180  fi
14181  ;;
14182
14183amigaos*)
14184  case $host_cpu in
14185  powerpc)
14186    # Since July 2007 AmigaOS4 officially supports .so libraries.
14187    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14188    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14189    ;;
14190  m68k)
14191    library_names_spec='$libname.ixlibrary $libname.a'
14192    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14193    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14194    ;;
14195  esac
14196  ;;
14197
14198beos*)
14199  library_names_spec='$libname$shared_ext'
14200  dynamic_linker="$host_os ld.so"
14201  shlibpath_var=LIBRARY_PATH
14202  ;;
14203
14204bsdi[45]*)
14205  version_type=linux # correct to gnu/linux during the next big refactor
14206  need_version=no
14207  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14208  soname_spec='$libname$release$shared_ext$major'
14209  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14210  shlibpath_var=LD_LIBRARY_PATH
14211  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14212  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14213  # the default ld.so.conf also contains /usr/contrib/lib and
14214  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14215  # libtool to hard-code these into programs
14216  ;;
14217
14218cygwin* | mingw* | pw32* | cegcc*)
14219  version_type=windows
14220  shrext_cmds=.dll
14221  need_version=no
14222  need_lib_prefix=no
14223
14224  case $GCC,$cc_basename in
14225  yes,*)
14226    # gcc
14227    library_names_spec='$libname.dll.a'
14228    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14229    postinstall_cmds='base_file=`basename \$file`~
14230      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14231      dldir=$destdir/`dirname \$dlpath`~
14232      test -d \$dldir || mkdir -p \$dldir~
14233      $install_prog $dir/$dlname \$dldir/$dlname~
14234      chmod a+x \$dldir/$dlname~
14235      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14236        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14237      fi'
14238    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14239      dlpath=$dir/\$dldll~
14240       $RM \$dlpath'
14241    shlibpath_overrides_runpath=yes
14242
14243    case $host_os in
14244    cygwin*)
14245      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14246      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14247
14248      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
14249      ;;
14250    mingw* | cegcc*)
14251      # MinGW DLLs use traditional 'lib' prefix
14252      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14253      ;;
14254    pw32*)
14255      # pw32 DLLs use 'pw' prefix rather than 'lib'
14256      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14257      ;;
14258    esac
14259    dynamic_linker='Win32 ld.exe'
14260    ;;
14261
14262  *,cl*)
14263    # Native MSVC
14264    libname_spec='$name'
14265    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14266    library_names_spec='$libname.dll.lib'
14267
14268    case $build_os in
14269    mingw*)
14270      sys_lib_search_path_spec=
14271      lt_save_ifs=$IFS
14272      IFS=';'
14273      for lt_path in $LIB
14274      do
14275        IFS=$lt_save_ifs
14276        # Let DOS variable expansion print the short 8.3 style file name.
14277        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14278        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14279      done
14280      IFS=$lt_save_ifs
14281      # Convert to MSYS style.
14282      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14283      ;;
14284    cygwin*)
14285      # Convert to unix form, then to dos form, then back to unix form
14286      # but this time dos style (no spaces!) so that the unix form looks
14287      # like /cygdrive/c/PROGRA~1:/cygdr...
14288      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14289      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14290      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14291      ;;
14292    *)
14293      sys_lib_search_path_spec=$LIB
14294      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14295        # It is most probably a Windows format PATH.
14296        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14297      else
14298        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14299      fi
14300      # FIXME: find the short name or the path components, as spaces are
14301      # common. (e.g. "Program Files" -> "PROGRA~1")
14302      ;;
14303    esac
14304
14305    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14306    postinstall_cmds='base_file=`basename \$file`~
14307      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14308      dldir=$destdir/`dirname \$dlpath`~
14309      test -d \$dldir || mkdir -p \$dldir~
14310      $install_prog $dir/$dlname \$dldir/$dlname'
14311    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14312      dlpath=$dir/\$dldll~
14313       $RM \$dlpath'
14314    shlibpath_overrides_runpath=yes
14315    dynamic_linker='Win32 link.exe'
14316    ;;
14317
14318  *)
14319    # Assume MSVC wrapper
14320    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
14321    dynamic_linker='Win32 ld.exe'
14322    ;;
14323  esac
14324  # FIXME: first we should search . and the directory the executable is in
14325  shlibpath_var=PATH
14326  ;;
14327
14328darwin* | rhapsody*)
14329  dynamic_linker="$host_os dyld"
14330  version_type=darwin
14331  need_lib_prefix=no
14332  need_version=no
14333  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
14334  soname_spec='$libname$release$major$shared_ext'
14335  shlibpath_overrides_runpath=yes
14336  shlibpath_var=DYLD_LIBRARY_PATH
14337  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14338
14339  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
14340  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14341  ;;
14342
14343dgux*)
14344  version_type=linux # correct to gnu/linux during the next big refactor
14345  need_lib_prefix=no
14346  need_version=no
14347  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14348  soname_spec='$libname$release$shared_ext$major'
14349  shlibpath_var=LD_LIBRARY_PATH
14350  ;;
14351
14352freebsd* | dragonfly*)
14353  # DragonFly does not have aout.  When/if they implement a new
14354  # versioning mechanism, adjust this.
14355  if test -x /usr/bin/objformat; then
14356    objformat=`/usr/bin/objformat`
14357  else
14358    case $host_os in
14359    freebsd[23].*) objformat=aout ;;
14360    *) objformat=elf ;;
14361    esac
14362  fi
14363  version_type=freebsd-$objformat
14364  case $version_type in
14365    freebsd-elf*)
14366      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14367      soname_spec='$libname$release$shared_ext$major'
14368      need_version=no
14369      need_lib_prefix=no
14370      ;;
14371    freebsd-*)
14372      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14373      need_version=yes
14374      ;;
14375  esac
14376  shlibpath_var=LD_LIBRARY_PATH
14377  case $host_os in
14378  freebsd2.*)
14379    shlibpath_overrides_runpath=yes
14380    ;;
14381  freebsd3.[01]* | freebsdelf3.[01]*)
14382    shlibpath_overrides_runpath=yes
14383    hardcode_into_libs=yes
14384    ;;
14385  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14386  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14387    shlibpath_overrides_runpath=no
14388    hardcode_into_libs=yes
14389    ;;
14390  *) # from 4.6 on, and DragonFly
14391    shlibpath_overrides_runpath=yes
14392    hardcode_into_libs=yes
14393    ;;
14394  esac
14395  ;;
14396
14397haiku*)
14398  version_type=linux # correct to gnu/linux during the next big refactor
14399  need_lib_prefix=no
14400  need_version=no
14401  dynamic_linker="$host_os runtime_loader"
14402  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14403  soname_spec='$libname$release$shared_ext$major'
14404  shlibpath_var=LIBRARY_PATH
14405  shlibpath_overrides_runpath=no
14406  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14407  hardcode_into_libs=yes
14408  ;;
14409
14410hpux9* | hpux10* | hpux11*)
14411  # Give a soname corresponding to the major version so that dld.sl refuses to
14412  # link against other versions.
14413  version_type=sunos
14414  need_lib_prefix=no
14415  need_version=no
14416  case $host_cpu in
14417  ia64*)
14418    shrext_cmds='.so'
14419    hardcode_into_libs=yes
14420    dynamic_linker="$host_os dld.so"
14421    shlibpath_var=LD_LIBRARY_PATH
14422    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14423    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14424    soname_spec='$libname$release$shared_ext$major'
14425    if test 32 = "$HPUX_IA64_MODE"; then
14426      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14427      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
14428    else
14429      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14430      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
14431    fi
14432    ;;
14433  hppa*64*)
14434    shrext_cmds='.sl'
14435    hardcode_into_libs=yes
14436    dynamic_linker="$host_os dld.sl"
14437    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14438    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14439    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14440    soname_spec='$libname$release$shared_ext$major'
14441    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14442    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14443    ;;
14444  *)
14445    shrext_cmds='.sl'
14446    dynamic_linker="$host_os dld.sl"
14447    shlibpath_var=SHLIB_PATH
14448    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14449    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14450    soname_spec='$libname$release$shared_ext$major'
14451    ;;
14452  esac
14453  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14454  postinstall_cmds='chmod 555 $lib'
14455  # or fails outright, so override atomically:
14456  install_override_mode=555
14457  ;;
14458
14459interix[3-9]*)
14460  version_type=linux # correct to gnu/linux during the next big refactor
14461  need_lib_prefix=no
14462  need_version=no
14463  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14464  soname_spec='$libname$release$shared_ext$major'
14465  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14466  shlibpath_var=LD_LIBRARY_PATH
14467  shlibpath_overrides_runpath=no
14468  hardcode_into_libs=yes
14469  ;;
14470
14471irix5* | irix6* | nonstopux*)
14472  case $host_os in
14473    nonstopux*) version_type=nonstopux ;;
14474    *)
14475	if test yes = "$lt_cv_prog_gnu_ld"; then
14476		version_type=linux # correct to gnu/linux during the next big refactor
14477	else
14478		version_type=irix
14479	fi ;;
14480  esac
14481  need_lib_prefix=no
14482  need_version=no
14483  soname_spec='$libname$release$shared_ext$major'
14484  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
14485  case $host_os in
14486  irix5* | nonstopux*)
14487    libsuff= shlibsuff=
14488    ;;
14489  *)
14490    case $LD in # libtool.m4 will add one of these switches to LD
14491    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14492      libsuff= shlibsuff= libmagic=32-bit;;
14493    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14494      libsuff=32 shlibsuff=N32 libmagic=N32;;
14495    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14496      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14497    *) libsuff= shlibsuff= libmagic=never-match;;
14498    esac
14499    ;;
14500  esac
14501  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14502  shlibpath_overrides_runpath=no
14503  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
14504  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
14505  hardcode_into_libs=yes
14506  ;;
14507
14508# No shared lib support for Linux oldld, aout, or coff.
14509linux*oldld* | linux*aout* | linux*coff*)
14510  dynamic_linker=no
14511  ;;
14512
14513linux*android*)
14514  version_type=none # Android doesn't support versioned libraries.
14515  need_lib_prefix=no
14516  need_version=no
14517  library_names_spec='$libname$release$shared_ext'
14518  soname_spec='$libname$release$shared_ext'
14519  finish_cmds=
14520  shlibpath_var=LD_LIBRARY_PATH
14521  shlibpath_overrides_runpath=yes
14522
14523  # This implies no fast_install, which is unacceptable.
14524  # Some rework will be needed to allow for fast_install
14525  # before this can be enabled.
14526  hardcode_into_libs=yes
14527
14528  dynamic_linker='Android linker'
14529  # Don't embed -rpath directories since the linker doesn't support them.
14530  hardcode_libdir_flag_spec='-L$libdir'
14531  ;;
14532
14533# This must be glibc/ELF.
14534linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14535  version_type=linux # correct to gnu/linux during the next big refactor
14536  need_lib_prefix=no
14537  need_version=no
14538  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14539  soname_spec='$libname$release$shared_ext$major'
14540  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14541  shlibpath_var=LD_LIBRARY_PATH
14542  shlibpath_overrides_runpath=no
14543
14544  # Some binutils ld are patched to set DT_RUNPATH
14545  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14546  $as_echo_n "(cached) " >&6
14547else
14548  lt_cv_shlibpath_overrides_runpath=no
14549    save_LDFLAGS=$LDFLAGS
14550    save_libdir=$libdir
14551    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
14552	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
14553    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14554/* end confdefs.h.  */
14555
14556int
14557main ()
14558{
14559
14560  ;
14561  return 0;
14562}
14563_ACEOF
14564if ac_fn_c_try_link "$LINENO"; then :
14565  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14566  lt_cv_shlibpath_overrides_runpath=yes
14567fi
14568fi
14569rm -f core conftest.err conftest.$ac_objext \
14570    conftest$ac_exeext conftest.$ac_ext
14571    LDFLAGS=$save_LDFLAGS
14572    libdir=$save_libdir
14573
14574fi
14575
14576  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14577
14578  # This implies no fast_install, which is unacceptable.
14579  # Some rework will be needed to allow for fast_install
14580  # before this can be enabled.
14581  hardcode_into_libs=yes
14582
14583  # Add ABI-specific directories to the system library path.
14584  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
14585
14586  # Ideally, we could use ldconfig to report *all* directores which are
14587  # searched for libraries, however this is still not possible.  Aside from not
14588  # being certain /sbin/ldconfig is available, command
14589  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
14590  # even though it is searched at run-time.  Try to do the best guess by
14591  # appending ld.so.conf contents (and includes) to the search path.
14592  if test -f /etc/ld.so.conf; then
14593    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14594    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14595  fi
14596
14597  # We used to test for /lib/ld.so.1 and disable shared libraries on
14598  # powerpc, because MkLinux only supported shared libraries with the
14599  # GNU dynamic linker.  Since this was broken with cross compilers,
14600  # most powerpc-linux boxes support dynamic linking these days and
14601  # people can always --disable-shared, the test was removed, and we
14602  # assume the GNU/Linux dynamic linker is in use.
14603  dynamic_linker='GNU/Linux ld.so'
14604  ;;
14605
14606netbsd*)
14607  version_type=sunos
14608  need_lib_prefix=no
14609  need_version=no
14610  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14611    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14612    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14613    dynamic_linker='NetBSD (a.out) ld.so'
14614  else
14615    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14616    soname_spec='$libname$release$shared_ext$major'
14617    dynamic_linker='NetBSD ld.elf_so'
14618  fi
14619  shlibpath_var=LD_LIBRARY_PATH
14620  shlibpath_overrides_runpath=yes
14621  hardcode_into_libs=yes
14622  ;;
14623
14624newsos6)
14625  version_type=linux # correct to gnu/linux during the next big refactor
14626  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14627  shlibpath_var=LD_LIBRARY_PATH
14628  shlibpath_overrides_runpath=yes
14629  ;;
14630
14631*nto* | *qnx*)
14632  version_type=qnx
14633  need_lib_prefix=no
14634  need_version=no
14635  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14636  soname_spec='$libname$release$shared_ext$major'
14637  shlibpath_var=LD_LIBRARY_PATH
14638  shlibpath_overrides_runpath=no
14639  hardcode_into_libs=yes
14640  dynamic_linker='ldqnx.so'
14641  ;;
14642
14643openbsd* | bitrig*)
14644  version_type=sunos
14645  sys_lib_dlsearch_path_spec=/usr/lib
14646  need_lib_prefix=no
14647  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
14648    need_version=no
14649  else
14650    need_version=yes
14651  fi
14652  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14653  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14654  shlibpath_var=LD_LIBRARY_PATH
14655  shlibpath_overrides_runpath=yes
14656  ;;
14657
14658os2*)
14659  libname_spec='$name'
14660  version_type=windows
14661  shrext_cmds=.dll
14662  need_version=no
14663  need_lib_prefix=no
14664  # OS/2 can only load a DLL with a base name of 8 characters or less.
14665  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
14666    v=$($ECHO $release$versuffix | tr -d .-);
14667    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
14668    $ECHO $n$v`$shared_ext'
14669  library_names_spec='${libname}_dll.$libext'
14670  dynamic_linker='OS/2 ld.exe'
14671  shlibpath_var=BEGINLIBPATH
14672  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14673  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14674  postinstall_cmds='base_file=`basename \$file`~
14675    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
14676    dldir=$destdir/`dirname \$dlpath`~
14677    test -d \$dldir || mkdir -p \$dldir~
14678    $install_prog $dir/$dlname \$dldir/$dlname~
14679    chmod a+x \$dldir/$dlname~
14680    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14681      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14682    fi'
14683  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
14684    dlpath=$dir/\$dldll~
14685    $RM \$dlpath'
14686  ;;
14687
14688osf3* | osf4* | osf5*)
14689  version_type=osf
14690  need_lib_prefix=no
14691  need_version=no
14692  soname_spec='$libname$release$shared_ext$major'
14693  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14694  shlibpath_var=LD_LIBRARY_PATH
14695  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14696  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14697  ;;
14698
14699rdos*)
14700  dynamic_linker=no
14701  ;;
14702
14703solaris*)
14704  version_type=linux # correct to gnu/linux during the next big refactor
14705  need_lib_prefix=no
14706  need_version=no
14707  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14708  soname_spec='$libname$release$shared_ext$major'
14709  shlibpath_var=LD_LIBRARY_PATH
14710  shlibpath_overrides_runpath=yes
14711  hardcode_into_libs=yes
14712  # ldd complains unless libraries are executable
14713  postinstall_cmds='chmod +x $lib'
14714  ;;
14715
14716sunos4*)
14717  version_type=sunos
14718  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14719  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14720  shlibpath_var=LD_LIBRARY_PATH
14721  shlibpath_overrides_runpath=yes
14722  if test yes = "$with_gnu_ld"; then
14723    need_lib_prefix=no
14724  fi
14725  need_version=yes
14726  ;;
14727
14728sysv4 | sysv4.3*)
14729  version_type=linux # correct to gnu/linux during the next big refactor
14730  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14731  soname_spec='$libname$release$shared_ext$major'
14732  shlibpath_var=LD_LIBRARY_PATH
14733  case $host_vendor in
14734    sni)
14735      shlibpath_overrides_runpath=no
14736      need_lib_prefix=no
14737      runpath_var=LD_RUN_PATH
14738      ;;
14739    siemens)
14740      need_lib_prefix=no
14741      ;;
14742    motorola)
14743      need_lib_prefix=no
14744      need_version=no
14745      shlibpath_overrides_runpath=no
14746      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14747      ;;
14748  esac
14749  ;;
14750
14751sysv4*MP*)
14752  if test -d /usr/nec; then
14753    version_type=linux # correct to gnu/linux during the next big refactor
14754    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
14755    soname_spec='$libname$shared_ext.$major'
14756    shlibpath_var=LD_LIBRARY_PATH
14757  fi
14758  ;;
14759
14760sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14761  version_type=sco
14762  need_lib_prefix=no
14763  need_version=no
14764  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
14765  soname_spec='$libname$release$shared_ext$major'
14766  shlibpath_var=LD_LIBRARY_PATH
14767  shlibpath_overrides_runpath=yes
14768  hardcode_into_libs=yes
14769  if test yes = "$with_gnu_ld"; then
14770    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14771  else
14772    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14773    case $host_os in
14774      sco3.2v5*)
14775        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14776	;;
14777    esac
14778  fi
14779  sys_lib_dlsearch_path_spec='/usr/lib'
14780  ;;
14781
14782tpf*)
14783  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14784  version_type=linux # correct to gnu/linux during the next big refactor
14785  need_lib_prefix=no
14786  need_version=no
14787  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14788  shlibpath_var=LD_LIBRARY_PATH
14789  shlibpath_overrides_runpath=no
14790  hardcode_into_libs=yes
14791  ;;
14792
14793uts4*)
14794  version_type=linux # correct to gnu/linux during the next big refactor
14795  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14796  soname_spec='$libname$release$shared_ext$major'
14797  shlibpath_var=LD_LIBRARY_PATH
14798  ;;
14799
14800*)
14801  dynamic_linker=no
14802  ;;
14803esac
14804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14805$as_echo "$dynamic_linker" >&6; }
14806test no = "$dynamic_linker" && can_build_shared=no
14807
14808variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14809if test yes = "$GCC"; then
14810  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14811fi
14812
14813if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14814  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
14815fi
14816
14817if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14818  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
14819fi
14820
14821# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14822configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
14823
14824# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14825func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
14826
14827# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14828configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14927$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14928hardcode_action=
14929if test -n "$hardcode_libdir_flag_spec" ||
14930   test -n "$runpath_var" ||
14931   test yes = "$hardcode_automatic"; then
14932
14933  # We can hardcode non-existent directories.
14934  if test no != "$hardcode_direct" &&
14935     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14936     # have to relink, otherwise we might link with an installed library
14937     # when we should be linking with a yet-to-be-installed one
14938     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14939     test no != "$hardcode_minus_L"; then
14940    # Linking always hardcodes the temporary library directory.
14941    hardcode_action=relink
14942  else
14943    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14944    hardcode_action=immediate
14945  fi
14946else
14947  # We cannot hardcode anything, or else we can only hardcode existing
14948  # directories.
14949  hardcode_action=unsupported
14950fi
14951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14952$as_echo "$hardcode_action" >&6; }
14953
14954if test relink = "$hardcode_action" ||
14955   test yes = "$inherit_rpath"; then
14956  # Fast installation is not supported
14957  enable_fast_install=no
14958elif test yes = "$shlibpath_overrides_runpath" ||
14959     test no = "$enable_shared"; then
14960  # Fast installation is not necessary
14961  enable_fast_install=needless
14962fi
14963
14964
14965
14966
14967
14968
14969  if test yes != "$enable_dlopen"; then
14970  enable_dlopen=unknown
14971  enable_dlopen_self=unknown
14972  enable_dlopen_self_static=unknown
14973else
14974  lt_cv_dlopen=no
14975  lt_cv_dlopen_libs=
14976
14977  case $host_os in
14978  beos*)
14979    lt_cv_dlopen=load_add_on
14980    lt_cv_dlopen_libs=
14981    lt_cv_dlopen_self=yes
14982    ;;
14983
14984  mingw* | pw32* | cegcc*)
14985    lt_cv_dlopen=LoadLibrary
14986    lt_cv_dlopen_libs=
14987    ;;
14988
14989  cygwin*)
14990    lt_cv_dlopen=dlopen
14991    lt_cv_dlopen_libs=
14992    ;;
14993
14994  darwin*)
14995    # if libdl is installed we need to link against it
14996    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14997$as_echo_n "checking for dlopen in -ldl... " >&6; }
14998if ${ac_cv_lib_dl_dlopen+:} false; then :
14999  $as_echo_n "(cached) " >&6
15000else
15001  ac_check_lib_save_LIBS=$LIBS
15002LIBS="-ldl  $LIBS"
15003cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15004/* end confdefs.h.  */
15005
15006/* Override any GCC internal prototype to avoid an error.
15007   Use char because int might match the return type of a GCC
15008   builtin and then its argument prototype would still apply.  */
15009#ifdef __cplusplus
15010extern "C"
15011#endif
15012char dlopen ();
15013int
15014main ()
15015{
15016return dlopen ();
15017  ;
15018  return 0;
15019}
15020_ACEOF
15021if ac_fn_c_try_link "$LINENO"; then :
15022  ac_cv_lib_dl_dlopen=yes
15023else
15024  ac_cv_lib_dl_dlopen=no
15025fi
15026rm -f core conftest.err conftest.$ac_objext \
15027    conftest$ac_exeext conftest.$ac_ext
15028LIBS=$ac_check_lib_save_LIBS
15029fi
15030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15031$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15032if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15033  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
15034else
15035
15036    lt_cv_dlopen=dyld
15037    lt_cv_dlopen_libs=
15038    lt_cv_dlopen_self=yes
15039
15040fi
15041
15042    ;;
15043
15044  tpf*)
15045    # Don't try to run any link tests for TPF.  We know it's impossible
15046    # because TPF is a cross-compiler, and we know how we open DSOs.
15047    lt_cv_dlopen=dlopen
15048    lt_cv_dlopen_libs=
15049    lt_cv_dlopen_self=no
15050    ;;
15051
15052  *)
15053    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
15054if test "x$ac_cv_func_shl_load" = xyes; then :
15055  lt_cv_dlopen=shl_load
15056else
15057  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
15058$as_echo_n "checking for shl_load in -ldld... " >&6; }
15059if ${ac_cv_lib_dld_shl_load+:} false; then :
15060  $as_echo_n "(cached) " >&6
15061else
15062  ac_check_lib_save_LIBS=$LIBS
15063LIBS="-ldld  $LIBS"
15064cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15065/* end confdefs.h.  */
15066
15067/* Override any GCC internal prototype to avoid an error.
15068   Use char because int might match the return type of a GCC
15069   builtin and then its argument prototype would still apply.  */
15070#ifdef __cplusplus
15071extern "C"
15072#endif
15073char shl_load ();
15074int
15075main ()
15076{
15077return shl_load ();
15078  ;
15079  return 0;
15080}
15081_ACEOF
15082if ac_fn_c_try_link "$LINENO"; then :
15083  ac_cv_lib_dld_shl_load=yes
15084else
15085  ac_cv_lib_dld_shl_load=no
15086fi
15087rm -f core conftest.err conftest.$ac_objext \
15088    conftest$ac_exeext conftest.$ac_ext
15089LIBS=$ac_check_lib_save_LIBS
15090fi
15091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
15092$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
15093if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
15094  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
15095else
15096  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
15097if test "x$ac_cv_func_dlopen" = xyes; then :
15098  lt_cv_dlopen=dlopen
15099else
15100  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15101$as_echo_n "checking for dlopen in -ldl... " >&6; }
15102if ${ac_cv_lib_dl_dlopen+:} false; then :
15103  $as_echo_n "(cached) " >&6
15104else
15105  ac_check_lib_save_LIBS=$LIBS
15106LIBS="-ldl  $LIBS"
15107cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15108/* end confdefs.h.  */
15109
15110/* Override any GCC internal prototype to avoid an error.
15111   Use char because int might match the return type of a GCC
15112   builtin and then its argument prototype would still apply.  */
15113#ifdef __cplusplus
15114extern "C"
15115#endif
15116char dlopen ();
15117int
15118main ()
15119{
15120return dlopen ();
15121  ;
15122  return 0;
15123}
15124_ACEOF
15125if ac_fn_c_try_link "$LINENO"; then :
15126  ac_cv_lib_dl_dlopen=yes
15127else
15128  ac_cv_lib_dl_dlopen=no
15129fi
15130rm -f core conftest.err conftest.$ac_objext \
15131    conftest$ac_exeext conftest.$ac_ext
15132LIBS=$ac_check_lib_save_LIBS
15133fi
15134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15135$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15136if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15137  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
15138else
15139  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
15140$as_echo_n "checking for dlopen in -lsvld... " >&6; }
15141if ${ac_cv_lib_svld_dlopen+:} false; then :
15142  $as_echo_n "(cached) " >&6
15143else
15144  ac_check_lib_save_LIBS=$LIBS
15145LIBS="-lsvld  $LIBS"
15146cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15147/* end confdefs.h.  */
15148
15149/* Override any GCC internal prototype to avoid an error.
15150   Use char because int might match the return type of a GCC
15151   builtin and then its argument prototype would still apply.  */
15152#ifdef __cplusplus
15153extern "C"
15154#endif
15155char dlopen ();
15156int
15157main ()
15158{
15159return dlopen ();
15160  ;
15161  return 0;
15162}
15163_ACEOF
15164if ac_fn_c_try_link "$LINENO"; then :
15165  ac_cv_lib_svld_dlopen=yes
15166else
15167  ac_cv_lib_svld_dlopen=no
15168fi
15169rm -f core conftest.err conftest.$ac_objext \
15170    conftest$ac_exeext conftest.$ac_ext
15171LIBS=$ac_check_lib_save_LIBS
15172fi
15173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
15174$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
15175if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
15176  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
15177else
15178  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
15179$as_echo_n "checking for dld_link in -ldld... " >&6; }
15180if ${ac_cv_lib_dld_dld_link+:} false; then :
15181  $as_echo_n "(cached) " >&6
15182else
15183  ac_check_lib_save_LIBS=$LIBS
15184LIBS="-ldld  $LIBS"
15185cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186/* end confdefs.h.  */
15187
15188/* Override any GCC internal prototype to avoid an error.
15189   Use char because int might match the return type of a GCC
15190   builtin and then its argument prototype would still apply.  */
15191#ifdef __cplusplus
15192extern "C"
15193#endif
15194char dld_link ();
15195int
15196main ()
15197{
15198return dld_link ();
15199  ;
15200  return 0;
15201}
15202_ACEOF
15203if ac_fn_c_try_link "$LINENO"; then :
15204  ac_cv_lib_dld_dld_link=yes
15205else
15206  ac_cv_lib_dld_dld_link=no
15207fi
15208rm -f core conftest.err conftest.$ac_objext \
15209    conftest$ac_exeext conftest.$ac_ext
15210LIBS=$ac_check_lib_save_LIBS
15211fi
15212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
15213$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
15214if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
15215  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
15216fi
15217
15218
15219fi
15220
15221
15222fi
15223
15224
15225fi
15226
15227
15228fi
15229
15230
15231fi
15232
15233    ;;
15234  esac
15235
15236  if test no = "$lt_cv_dlopen"; then
15237    enable_dlopen=no
15238  else
15239    enable_dlopen=yes
15240  fi
15241
15242  case $lt_cv_dlopen in
15243  dlopen)
15244    save_CPPFLAGS=$CPPFLAGS
15245    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15246
15247    save_LDFLAGS=$LDFLAGS
15248    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15249
15250    save_LIBS=$LIBS
15251    LIBS="$lt_cv_dlopen_libs $LIBS"
15252
15253    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
15254$as_echo_n "checking whether a program can dlopen itself... " >&6; }
15255if ${lt_cv_dlopen_self+:} false; then :
15256  $as_echo_n "(cached) " >&6
15257else
15258  	  if test yes = "$cross_compiling"; then :
15259  lt_cv_dlopen_self=cross
15260else
15261  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15262  lt_status=$lt_dlunknown
15263  cat > conftest.$ac_ext <<_LT_EOF
15264#line $LINENO "configure"
15265#include "confdefs.h"
15266
15267#if HAVE_DLFCN_H
15268#include <dlfcn.h>
15269#endif
15270
15271#include <stdio.h>
15272
15273#ifdef RTLD_GLOBAL
15274#  define LT_DLGLOBAL		RTLD_GLOBAL
15275#else
15276#  ifdef DL_GLOBAL
15277#    define LT_DLGLOBAL		DL_GLOBAL
15278#  else
15279#    define LT_DLGLOBAL		0
15280#  endif
15281#endif
15282
15283/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15284   find out it does not work in some platform. */
15285#ifndef LT_DLLAZY_OR_NOW
15286#  ifdef RTLD_LAZY
15287#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
15288#  else
15289#    ifdef DL_LAZY
15290#      define LT_DLLAZY_OR_NOW		DL_LAZY
15291#    else
15292#      ifdef RTLD_NOW
15293#        define LT_DLLAZY_OR_NOW	RTLD_NOW
15294#      else
15295#        ifdef DL_NOW
15296#          define LT_DLLAZY_OR_NOW	DL_NOW
15297#        else
15298#          define LT_DLLAZY_OR_NOW	0
15299#        endif
15300#      endif
15301#    endif
15302#  endif
15303#endif
15304
15305/* When -fvisibility=hidden is used, assume the code has been annotated
15306   correspondingly for the symbols needed.  */
15307#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
15308int fnord () __attribute__((visibility("default")));
15309#endif
15310
15311int fnord () { return 42; }
15312int main ()
15313{
15314  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15315  int status = $lt_dlunknown;
15316
15317  if (self)
15318    {
15319      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
15320      else
15321        {
15322	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
15323          else puts (dlerror ());
15324	}
15325      /* dlclose (self); */
15326    }
15327  else
15328    puts (dlerror ());
15329
15330  return status;
15331}
15332_LT_EOF
15333  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15334  (eval $ac_link) 2>&5
15335  ac_status=$?
15336  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15337  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
15338    (./conftest; exit; ) >&5 2>/dev/null
15339    lt_status=$?
15340    case x$lt_status in
15341      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15342      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15343      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
15344    esac
15345  else :
15346    # compilation failed
15347    lt_cv_dlopen_self=no
15348  fi
15349fi
15350rm -fr conftest*
15351
15352
15353fi
15354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
15355$as_echo "$lt_cv_dlopen_self" >&6; }
15356
15357    if test yes = "$lt_cv_dlopen_self"; then
15358      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
15359      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
15360$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
15361if ${lt_cv_dlopen_self_static+:} false; then :
15362  $as_echo_n "(cached) " >&6
15363else
15364  	  if test yes = "$cross_compiling"; then :
15365  lt_cv_dlopen_self_static=cross
15366else
15367  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15368  lt_status=$lt_dlunknown
15369  cat > conftest.$ac_ext <<_LT_EOF
15370#line $LINENO "configure"
15371#include "confdefs.h"
15372
15373#if HAVE_DLFCN_H
15374#include <dlfcn.h>
15375#endif
15376
15377#include <stdio.h>
15378
15379#ifdef RTLD_GLOBAL
15380#  define LT_DLGLOBAL		RTLD_GLOBAL
15381#else
15382#  ifdef DL_GLOBAL
15383#    define LT_DLGLOBAL		DL_GLOBAL
15384#  else
15385#    define LT_DLGLOBAL		0
15386#  endif
15387#endif
15388
15389/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15390   find out it does not work in some platform. */
15391#ifndef LT_DLLAZY_OR_NOW
15392#  ifdef RTLD_LAZY
15393#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
15394#  else
15395#    ifdef DL_LAZY
15396#      define LT_DLLAZY_OR_NOW		DL_LAZY
15397#    else
15398#      ifdef RTLD_NOW
15399#        define LT_DLLAZY_OR_NOW	RTLD_NOW
15400#      else
15401#        ifdef DL_NOW
15402#          define LT_DLLAZY_OR_NOW	DL_NOW
15403#        else
15404#          define LT_DLLAZY_OR_NOW	0
15405#        endif
15406#      endif
15407#    endif
15408#  endif
15409#endif
15410
15411/* When -fvisibility=hidden is used, assume the code has been annotated
15412   correspondingly for the symbols needed.  */
15413#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
15414int fnord () __attribute__((visibility("default")));
15415#endif
15416
15417int fnord () { return 42; }
15418int main ()
15419{
15420  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15421  int status = $lt_dlunknown;
15422
15423  if (self)
15424    {
15425      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
15426      else
15427        {
15428	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
15429          else puts (dlerror ());
15430	}
15431      /* dlclose (self); */
15432    }
15433  else
15434    puts (dlerror ());
15435
15436  return status;
15437}
15438_LT_EOF
15439  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15440  (eval $ac_link) 2>&5
15441  ac_status=$?
15442  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15443  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
15444    (./conftest; exit; ) >&5 2>/dev/null
15445    lt_status=$?
15446    case x$lt_status in
15447      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15448      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15449      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
15450    esac
15451  else :
15452    # compilation failed
15453    lt_cv_dlopen_self_static=no
15454  fi
15455fi
15456rm -fr conftest*
15457
15458
15459fi
15460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
15461$as_echo "$lt_cv_dlopen_self_static" >&6; }
15462    fi
15463
15464    CPPFLAGS=$save_CPPFLAGS
15465    LDFLAGS=$save_LDFLAGS
15466    LIBS=$save_LIBS
15467    ;;
15468  esac
15469
15470  case $lt_cv_dlopen_self in
15471  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15472  *) enable_dlopen_self=unknown ;;
15473  esac
15474
15475  case $lt_cv_dlopen_self_static in
15476  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15477  *) enable_dlopen_self_static=unknown ;;
15478  esac
15479fi
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497striplib=
15498old_striplib=
15499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
15500$as_echo_n "checking whether stripping libraries is possible... " >&6; }
15501if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
15502  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15503  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15505$as_echo "yes" >&6; }
15506else
15507# FIXME - insert some real tests, host_os isn't really good enough
15508  case $host_os in
15509  darwin*)
15510    if test -n "$STRIP"; then
15511      striplib="$STRIP -x"
15512      old_striplib="$STRIP -S"
15513      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15514$as_echo "yes" >&6; }
15515    else
15516      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15517$as_echo "no" >&6; }
15518    fi
15519    ;;
15520  *)
15521    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15522$as_echo "no" >&6; }
15523    ;;
15524  esac
15525fi
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538  # Report what library types will actually be built
15539  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
15540$as_echo_n "checking if libtool supports shared libraries... " >&6; }
15541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
15542$as_echo "$can_build_shared" >&6; }
15543
15544  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15545$as_echo_n "checking whether to build shared libraries... " >&6; }
15546  test no = "$can_build_shared" && enable_shared=no
15547
15548  # On AIX, shared libraries and static libraries use the same namespace, and
15549  # are all built from PIC.
15550  case $host_os in
15551  aix3*)
15552    test yes = "$enable_shared" && enable_static=no
15553    if test -n "$RANLIB"; then
15554      archive_cmds="$archive_cmds~\$RANLIB \$lib"
15555      postinstall_cmds='$RANLIB $lib'
15556    fi
15557    ;;
15558
15559  aix[4-9]*)
15560    if test ia64 != "$host_cpu"; then
15561      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
15562      yes,aix,yes) ;;			# shared object as lib.so file only
15563      yes,svr4,*) ;;			# shared object as lib.so archive member only
15564      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
15565      esac
15566    fi
15567    ;;
15568  esac
15569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
15570$as_echo "$enable_shared" >&6; }
15571
15572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
15573$as_echo_n "checking whether to build static libraries... " >&6; }
15574  # Make sure either enable_shared or enable_static is yes.
15575  test yes = "$enable_shared" || enable_static=yes
15576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
15577$as_echo "$enable_static" >&6; }
15578
15579
15580
15581
15582fi
15583ac_ext=c
15584ac_cpp='$CPP $CPPFLAGS'
15585ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15586ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15587ac_compiler_gnu=$ac_cv_c_compiler_gnu
15588
15589CC=$lt_save_CC
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605        ac_config_commands="$ac_config_commands libtool"
15606
15607
15608
15609
15610# Only expand once:
15611
15612
15613
15614
15615
15616  # Check whether --enable-symvers was given.
15617if test "${enable_symvers+set}" = set; then :
15618  enableval=$enable_symvers; want_symvers=$enableval
15619else
15620  want_symvers=yes
15621
15622fi
15623
15624
15625  if test x$want_symvers = xyes; then :
15626
15627
15628
15629    { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker version script flag" >&5
15630$as_echo_n "checking linker version script flag... " >&6; }
15631if ${ax_cv_check_vscript_flag+:} false; then :
15632  $as_echo_n "(cached) " >&6
15633else
15634
15635      ax_cv_check_vscript_flag=unsupported
15636
15637  ac_ext=c
15638ac_cpp='$CPP $CPPFLAGS'
15639ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15640ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15641ac_compiler_gnu=$ac_cv_c_compiler_gnu
15642
15643  ax_check_vscript_save_flags="$LDFLAGS"
15644  echo "V1 { global: show; local: *; };" > conftest.map
15645  if test x = xyes; then :
15646
15647    echo "{" >> conftest.map
15648
15649fi
15650  LDFLAGS="$LDFLAGS -Wl,--version-script,conftest.map"
15651  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15652/* end confdefs.h.  */
15653int show, hide;
15654int
15655main ()
15656{
15657
15658  ;
15659  return 0;
15660}
15661_ACEOF
15662if ac_fn_c_try_link "$LINENO"; then :
15663
15664        ax_cv_check_vscript_flag=--version-script
15665
15666fi
15667rm -f core conftest.err conftest.$ac_objext \
15668    conftest$ac_exeext conftest.$ac_ext
15669  LDFLAGS="$ax_check_vscript_save_flags"
15670  rm -f conftest.map
15671  ac_ext=c
15672ac_cpp='$CPP $CPPFLAGS'
15673ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15674ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15675ac_compiler_gnu=$ac_cv_c_compiler_gnu
15676
15677
15678      if test x$ax_cv_check_vscript_flag = xunsupported; then :
15679
15680
15681  ac_ext=c
15682ac_cpp='$CPP $CPPFLAGS'
15683ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15684ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15685ac_compiler_gnu=$ac_cv_c_compiler_gnu
15686
15687  ax_check_vscript_save_flags="$LDFLAGS"
15688  echo "V1 { global: show; local: *; };" > conftest.map
15689  if test x = xyes; then :
15690
15691    echo "{" >> conftest.map
15692
15693fi
15694  LDFLAGS="$LDFLAGS -Wl,-M,conftest.map"
15695  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15696/* end confdefs.h.  */
15697int show, hide;
15698int
15699main ()
15700{
15701
15702  ;
15703  return 0;
15704}
15705_ACEOF
15706if ac_fn_c_try_link "$LINENO"; then :
15707  ax_cv_check_vscript_flag=-M
15708fi
15709rm -f core conftest.err conftest.$ac_objext \
15710    conftest$ac_exeext conftest.$ac_ext
15711  LDFLAGS="$ax_check_vscript_save_flags"
15712  rm -f conftest.map
15713  ac_ext=c
15714ac_cpp='$CPP $CPPFLAGS'
15715ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15716ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15717ac_compiler_gnu=$ac_cv_c_compiler_gnu
15718
15719
15720
15721fi
15722
15723
15724      if test x$ax_cv_check_vscript_flag != xunsupported; then :
15725
15726
15727  ac_ext=c
15728ac_cpp='$CPP $CPPFLAGS'
15729ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15730ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15731ac_compiler_gnu=$ac_cv_c_compiler_gnu
15732
15733  ax_check_vscript_save_flags="$LDFLAGS"
15734  echo "V1 { global: show; local: *; };" > conftest.map
15735  if test xyes = xyes; then :
15736
15737    echo "{" >> conftest.map
15738
15739fi
15740  LDFLAGS="$LDFLAGS -Wl,$ax_cv_check_vscript_flag,conftest.map"
15741  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15742/* end confdefs.h.  */
15743int show, hide;
15744int
15745main ()
15746{
15747
15748  ;
15749  return 0;
15750}
15751_ACEOF
15752if ac_fn_c_try_link "$LINENO"; then :
15753  ax_cv_check_vscript_flag=unsupported
15754fi
15755rm -f core conftest.err conftest.$ac_objext \
15756    conftest$ac_exeext conftest.$ac_ext
15757  LDFLAGS="$ax_check_vscript_save_flags"
15758  rm -f conftest.map
15759  ac_ext=c
15760ac_cpp='$CPP $CPPFLAGS'
15761ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15762ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15763ac_compiler_gnu=$ac_cv_c_compiler_gnu
15764
15765
15766
15767fi
15768
15769fi
15770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_vscript_flag" >&5
15771$as_echo "$ax_cv_check_vscript_flag" >&6; }
15772
15773
15774    if test x$ax_cv_check_vscript_flag != xunsupported; then :
15775
15776      ax_check_vscript_flag=$ax_cv_check_vscript_flag
15777      { $as_echo "$as_me:${as_lineno-$LINENO}: checking if version scripts can use complex wildcards" >&5
15778$as_echo_n "checking if version scripts can use complex wildcards... " >&6; }
15779if ${ax_cv_check_vscript_complex_wildcards+:} false; then :
15780  $as_echo_n "(cached) " >&6
15781else
15782
15783        ax_cv_check_vscript_complex_wildcards=no
15784
15785  ac_ext=c
15786ac_cpp='$CPP $CPPFLAGS'
15787ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15788ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15789ac_compiler_gnu=$ac_cv_c_compiler_gnu
15790
15791  ax_check_vscript_save_flags="$LDFLAGS"
15792  echo "V1 { global: sh*; local: *; };" > conftest.map
15793  if test x = xyes; then :
15794
15795    echo "{" >> conftest.map
15796
15797fi
15798  LDFLAGS="$LDFLAGS -Wl,$ax_cv_check_vscript_flag,conftest.map"
15799  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15800/* end confdefs.h.  */
15801int show, hide;
15802int
15803main ()
15804{
15805
15806  ;
15807  return 0;
15808}
15809_ACEOF
15810if ac_fn_c_try_link "$LINENO"; then :
15811
15812        ax_cv_check_vscript_complex_wildcards=yes
15813fi
15814rm -f core conftest.err conftest.$ac_objext \
15815    conftest$ac_exeext conftest.$ac_ext
15816  LDFLAGS="$ax_check_vscript_save_flags"
15817  rm -f conftest.map
15818  ac_ext=c
15819ac_cpp='$CPP $CPPFLAGS'
15820ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15821ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15822ac_compiler_gnu=$ac_cv_c_compiler_gnu
15823
15824
15825
15826fi
15827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_vscript_complex_wildcards" >&5
15828$as_echo "$ax_cv_check_vscript_complex_wildcards" >&6; }
15829      ax_check_vscript_complex_wildcards="$ax_cv_check_vscript_complex_wildcards"
15830
15831else
15832
15833      ax_check_vscript_flag=
15834      ax_check_vscript_complex_wildcards=no
15835
15836fi
15837
15838else
15839
15840    { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker version script flag" >&5
15841$as_echo_n "checking linker version script flag... " >&6; }
15842    { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
15843$as_echo "disabled" >&6; }
15844
15845    ax_check_vscript_flag=
15846    ax_check_vscript_complex_wildcards=no
15847
15848fi
15849
15850  if test x$ax_check_vscript_flag != x; then :
15851
15852    VSCRIPT_LDFLAGS="-Wl,$ax_check_vscript_flag"
15853
15854
15855fi
15856
15857   if test x$ax_check_vscript_flag != x; then
15858  HAVE_VSCRIPT_TRUE=
15859  HAVE_VSCRIPT_FALSE='#'
15860else
15861  HAVE_VSCRIPT_TRUE='#'
15862  HAVE_VSCRIPT_FALSE=
15863fi
15864
15865   if test x$ax_check_vscript_complex_wildcards = xyes; then
15866  HAVE_VSCRIPT_COMPLEX_TRUE=
15867  HAVE_VSCRIPT_COMPLEX_FALSE='#'
15868else
15869  HAVE_VSCRIPT_COMPLEX_TRUE='#'
15870  HAVE_VSCRIPT_COMPLEX_FALSE=
15871fi
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15885	if test -n "$ac_tool_prefix"; then
15886  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15887set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15889$as_echo_n "checking for $ac_word... " >&6; }
15890if ${ac_cv_path_PKG_CONFIG+:} false; then :
15891  $as_echo_n "(cached) " >&6
15892else
15893  case $PKG_CONFIG in
15894  [\\/]* | ?:[\\/]*)
15895  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15896  ;;
15897  *)
15898  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15899for as_dir in $PATH
15900do
15901  IFS=$as_save_IFS
15902  test -z "$as_dir" && as_dir=.
15903    for ac_exec_ext in '' $ac_executable_extensions; do
15904  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15905    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15906    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15907    break 2
15908  fi
15909done
15910  done
15911IFS=$as_save_IFS
15912
15913  ;;
15914esac
15915fi
15916PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15917if test -n "$PKG_CONFIG"; then
15918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15919$as_echo "$PKG_CONFIG" >&6; }
15920else
15921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15922$as_echo "no" >&6; }
15923fi
15924
15925
15926fi
15927if test -z "$ac_cv_path_PKG_CONFIG"; then
15928  ac_pt_PKG_CONFIG=$PKG_CONFIG
15929  # Extract the first word of "pkg-config", so it can be a program name with args.
15930set dummy pkg-config; ac_word=$2
15931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15932$as_echo_n "checking for $ac_word... " >&6; }
15933if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15934  $as_echo_n "(cached) " >&6
15935else
15936  case $ac_pt_PKG_CONFIG in
15937  [\\/]* | ?:[\\/]*)
15938  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15939  ;;
15940  *)
15941  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15942for as_dir in $PATH
15943do
15944  IFS=$as_save_IFS
15945  test -z "$as_dir" && as_dir=.
15946    for ac_exec_ext in '' $ac_executable_extensions; do
15947  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15948    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15949    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15950    break 2
15951  fi
15952done
15953  done
15954IFS=$as_save_IFS
15955
15956  ;;
15957esac
15958fi
15959ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15960if test -n "$ac_pt_PKG_CONFIG"; then
15961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15962$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15963else
15964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15965$as_echo "no" >&6; }
15966fi
15967
15968  if test "x$ac_pt_PKG_CONFIG" = x; then
15969    PKG_CONFIG=""
15970  else
15971    case $cross_compiling:$ac_tool_warned in
15972yes:)
15973{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15974$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15975ac_tool_warned=yes ;;
15976esac
15977    PKG_CONFIG=$ac_pt_PKG_CONFIG
15978  fi
15979else
15980  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15981fi
15982
15983fi
15984if test -n "$PKG_CONFIG"; then
15985	_pkg_min_version=0.9.0
15986	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15987$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15988	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15989		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15990$as_echo "yes" >&6; }
15991	else
15992		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15993$as_echo "no" >&6; }
15994		PKG_CONFIG=""
15995	fi
15996fi
15997
15998
15999
16000# Check whether --with-pkgconfigdir was given.
16001if test "${with_pkgconfigdir+set}" = set; then :
16002  withval=$with_pkgconfigdir;
16003else
16004  with_pkgconfigdir='${usrlib_execdir}/pkgconfig'
16005fi
16006
16007pkgconfigdir=$with_pkgconfigdir
16008
16009
16010
16011
16012
16013
16014
16015# Check whether --with-html-dir was given.
16016if test "${with_html_dir+set}" = set; then :
16017  withval=$with_html_dir;
16018else
16019  with_html_dir='${datadir}/gtk-doc/html'
16020fi
16021
16022  HTML_DIR="$with_html_dir"
16023
16024
16025    # Check whether --enable-gtk-doc was given.
16026if test "${enable_gtk_doc+set}" = set; then :
16027  enableval=$enable_gtk_doc;
16028else
16029  enable_gtk_doc=no
16030fi
16031
16032
16033  if test x$enable_gtk_doc = xyes; then
16034    if test -n "$PKG_CONFIG" && \
16035    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.10\""; } >&5
16036  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.10") 2>&5
16037  ac_status=$?
16038  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16039  test $ac_status = 0; }; then
16040  :
16041else
16042  as_fn_error $? "You need to have gtk-doc >= 1.10 installed to build gtk-doc" "$LINENO" 5
16043fi
16044  fi
16045
16046  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
16047$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
16048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
16049$as_echo "$enable_gtk_doc" >&6; }
16050
16051  for ac_prog in gtkdoc-check
16052do
16053  # Extract the first word of "$ac_prog", so it can be a program name with args.
16054set dummy $ac_prog; ac_word=$2
16055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16056$as_echo_n "checking for $ac_word... " >&6; }
16057if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
16058  $as_echo_n "(cached) " >&6
16059else
16060  case $GTKDOC_CHECK in
16061  [\\/]* | ?:[\\/]*)
16062  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
16063  ;;
16064  *)
16065  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16066for as_dir in $PATH
16067do
16068  IFS=$as_save_IFS
16069  test -z "$as_dir" && as_dir=.
16070    for ac_exec_ext in '' $ac_executable_extensions; do
16071  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16072    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
16073    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16074    break 2
16075  fi
16076done
16077  done
16078IFS=$as_save_IFS
16079
16080  ;;
16081esac
16082fi
16083GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
16084if test -n "$GTKDOC_CHECK"; then
16085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
16086$as_echo "$GTKDOC_CHECK" >&6; }
16087else
16088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16089$as_echo "no" >&6; }
16090fi
16091
16092
16093  test -n "$GTKDOC_CHECK" && break
16094done
16095
16096
16097   if test x$enable_gtk_doc = xyes; then
16098  ENABLE_GTK_DOC_TRUE=
16099  ENABLE_GTK_DOC_FALSE='#'
16100else
16101  ENABLE_GTK_DOC_TRUE='#'
16102  ENABLE_GTK_DOC_FALSE=
16103fi
16104
16105   if test -n "$LIBTOOL"; then
16106  GTK_DOC_USE_LIBTOOL_TRUE=
16107  GTK_DOC_USE_LIBTOOL_FALSE='#'
16108else
16109  GTK_DOC_USE_LIBTOOL_TRUE='#'
16110  GTK_DOC_USE_LIBTOOL_FALSE=
16111fi
16112
16113
16114# Extract the first word of "xsltproc", so it can be a program name with args.
16115set dummy xsltproc; ac_word=$2
16116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16117$as_echo_n "checking for $ac_word... " >&6; }
16118if ${ac_cv_path_XSLTPROC+:} false; then :
16119  $as_echo_n "(cached) " >&6
16120else
16121  case $XSLTPROC in
16122  [\\/]* | ?:[\\/]*)
16123  ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
16124  ;;
16125  *)
16126  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16127for as_dir in $PATH
16128do
16129  IFS=$as_save_IFS
16130  test -z "$as_dir" && as_dir=.
16131    for ac_exec_ext in '' $ac_executable_extensions; do
16132  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16133    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
16134    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16135    break 2
16136  fi
16137done
16138  done
16139IFS=$as_save_IFS
16140
16141  ;;
16142esac
16143fi
16144XSLTPROC=$ac_cv_path_XSLTPROC
16145if test -n "$XSLTPROC"; then
16146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
16147$as_echo "$XSLTPROC" >&6; }
16148else
16149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16150$as_echo "no" >&6; }
16151fi
16152
16153
16154
16155linux_os=no
16156bsd_os=no
16157case ${host_os} in #(
16158  *linux*) :
16159    linux_os=yes ;; #(
16160  *darwin*) :
16161    darwin_os=yes ;; #(
16162  *bsd*) :
16163    bsd_os=yes ;; #(
16164  *) :
16165     ;;
16166esac
16167 if test "x$linux_os" = xyes; then
16168  LINUX_TRUE=
16169  LINUX_FALSE='#'
16170else
16171  LINUX_TRUE='#'
16172  LINUX_FALSE=
16173fi
16174
16175 if test "x$darwin_os" = xyes; then
16176  DARWIN_TRUE=
16177  DARWIN_FALSE='#'
16178else
16179  DARWIN_TRUE='#'
16180  DARWIN_FALSE=
16181fi
16182
16183 if test "x$bsd_os" = xyes; then
16184  BSD_TRUE=
16185  BSD_FALSE='#'
16186else
16187  BSD_TRUE='#'
16188  BSD_FALSE=
16189fi
16190
16191
16192if test  "x$darwin_os" = xyes; then :
16193
16194
16195$as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h
16196
16197
16198fi
16199
16200
16201  cpu_I86=false
16202  case "$host" in
16203   i?86-*) cpu_I86=true ;;
16204  esac
16205   if test "x$cpu_I86" = xtrue; then
16206  ARCH_I86_TRUE=
16207  ARCH_I86_FALSE='#'
16208else
16209  ARCH_I86_TRUE='#'
16210  ARCH_I86_FALSE=
16211fi
16212
16213
16214
16215  cpu_86_64=false
16216  case "$host" in
16217   x86_64*) cpu_86_64=true ;;
16218  esac
16219   if test "x$cpu_86_64" = xtrue; then
16220  ARCH_86_64_TRUE=
16221  ARCH_86_64_FALSE='#'
16222else
16223  ARCH_86_64_TRUE='#'
16224  ARCH_86_64_FALSE=
16225fi
16226
16227
16228
16229  cpu_IA64=false
16230  case "$host" in
16231   ia64*) cpu_IA64=true ;;
16232  esac
16233   if test "x$cpu_IA64" = xtrue; then
16234  ARCH_IA64_TRUE=
16235  ARCH_IA64_FALSE='#'
16236else
16237  ARCH_IA64_TRUE='#'
16238  ARCH_IA64_FALSE=
16239fi
16240
16241
16242
16243  cpu_S390=false
16244  case "$host" in
16245   s390*) cpu_S390=true ;;
16246  esac
16247   if test "x$cpu_S390" = xtrue; then
16248  ARCH_S390_TRUE=
16249  ARCH_S390_FALSE='#'
16250else
16251  ARCH_S390_TRUE='#'
16252  ARCH_S390_FALSE=
16253fi
16254
16255
16256
16257  cpu_SPARC=false
16258  case "$host" in
16259   sparc*) cpu_SPARC=true ;;
16260  esac
16261   if test "x$cpu_SPARC" = xtrue; then
16262  ARCH_SPARC_TRUE=
16263  ARCH_SPARC_FALSE='#'
16264else
16265  ARCH_SPARC_TRUE='#'
16266  ARCH_SPARC_FALSE=
16267fi
16268
16269
16270
16271  cpu_PPC=false
16272  case "$host" in
16273   ppc*|powerpc*) cpu_PPC=true ;;
16274  esac
16275   if test "x$cpu_PPC" = xtrue; then
16276  ARCH_PPC_TRUE=
16277  ARCH_PPC_FALSE='#'
16278else
16279  ARCH_PPC_TRUE='#'
16280  ARCH_PPC_FALSE=
16281fi
16282
16283
16284
16285  cpu_M68K=false
16286  case "$host" in
16287   m68*) cpu_M68K=true ;;
16288  esac
16289   if test "x$cpu_M68K" = xtrue; then
16290  ARCH_M68K_TRUE=
16291  ARCH_M68K_FALSE='#'
16292else
16293  ARCH_M68K_TRUE='#'
16294  ARCH_M68K_FALSE=
16295fi
16296
16297
16298
16299  cpu_MIPS=false
16300  case "$host" in
16301   mips*) cpu_MIPS=true ;;
16302  esac
16303   if test "x$cpu_MIPS" = xtrue; then
16304  ARCH_MIPS_TRUE=
16305  ARCH_MIPS_FALSE='#'
16306else
16307  ARCH_MIPS_TRUE='#'
16308  ARCH_MIPS_FALSE=
16309fi
16310
16311
16312
16313  cpu_HPPA=false
16314  case "$host" in
16315   hppa*|parisc*) cpu_HPPA=true ;;
16316  esac
16317   if test "x$cpu_HPPA" = xtrue; then
16318  ARCH_HPPA_TRUE=
16319  ARCH_HPPA_FALSE='#'
16320else
16321  ARCH_HPPA_TRUE='#'
16322  ARCH_HPPA_FALSE=
16323fi
16324
16325
16326
16327# Check whether --enable-largefile was given.
16328if test "${enable_largefile+set}" = set; then :
16329  enableval=$enable_largefile;
16330fi
16331
16332if test "$enable_largefile" != no; then
16333
16334  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16335$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16336if ${ac_cv_sys_largefile_CC+:} false; then :
16337  $as_echo_n "(cached) " >&6
16338else
16339  ac_cv_sys_largefile_CC=no
16340     if test "$GCC" != yes; then
16341       ac_save_CC=$CC
16342       while :; do
16343	 # IRIX 6.2 and later do not support large files by default,
16344	 # so use the C compiler's -n32 option if that helps.
16345	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346/* end confdefs.h.  */
16347#include <sys/types.h>
16348 /* Check that off_t can represent 2**63 - 1 correctly.
16349    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16350    since some C++ compilers masquerading as C compilers
16351    incorrectly reject 9223372036854775807.  */
16352#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16353  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16354		       && LARGE_OFF_T % 2147483647 == 1)
16355		      ? 1 : -1];
16356int
16357main ()
16358{
16359
16360  ;
16361  return 0;
16362}
16363_ACEOF
16364	 if ac_fn_c_try_compile "$LINENO"; then :
16365  break
16366fi
16367rm -f core conftest.err conftest.$ac_objext
16368	 CC="$CC -n32"
16369	 if ac_fn_c_try_compile "$LINENO"; then :
16370  ac_cv_sys_largefile_CC=' -n32'; break
16371fi
16372rm -f core conftest.err conftest.$ac_objext
16373	 break
16374       done
16375       CC=$ac_save_CC
16376       rm -f conftest.$ac_ext
16377    fi
16378fi
16379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16380$as_echo "$ac_cv_sys_largefile_CC" >&6; }
16381  if test "$ac_cv_sys_largefile_CC" != no; then
16382    CC=$CC$ac_cv_sys_largefile_CC
16383  fi
16384
16385  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16386$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16387if ${ac_cv_sys_file_offset_bits+:} false; then :
16388  $as_echo_n "(cached) " >&6
16389else
16390  while :; do
16391  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16392/* end confdefs.h.  */
16393#include <sys/types.h>
16394 /* Check that off_t can represent 2**63 - 1 correctly.
16395    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16396    since some C++ compilers masquerading as C compilers
16397    incorrectly reject 9223372036854775807.  */
16398#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16399  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16400		       && LARGE_OFF_T % 2147483647 == 1)
16401		      ? 1 : -1];
16402int
16403main ()
16404{
16405
16406  ;
16407  return 0;
16408}
16409_ACEOF
16410if ac_fn_c_try_compile "$LINENO"; then :
16411  ac_cv_sys_file_offset_bits=no; break
16412fi
16413rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16414  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16415/* end confdefs.h.  */
16416#define _FILE_OFFSET_BITS 64
16417#include <sys/types.h>
16418 /* Check that off_t can represent 2**63 - 1 correctly.
16419    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16420    since some C++ compilers masquerading as C compilers
16421    incorrectly reject 9223372036854775807.  */
16422#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16423  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16424		       && LARGE_OFF_T % 2147483647 == 1)
16425		      ? 1 : -1];
16426int
16427main ()
16428{
16429
16430  ;
16431  return 0;
16432}
16433_ACEOF
16434if ac_fn_c_try_compile "$LINENO"; then :
16435  ac_cv_sys_file_offset_bits=64; break
16436fi
16437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16438  ac_cv_sys_file_offset_bits=unknown
16439  break
16440done
16441fi
16442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16443$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16444case $ac_cv_sys_file_offset_bits in #(
16445  no | unknown) ;;
16446  *)
16447cat >>confdefs.h <<_ACEOF
16448#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16449_ACEOF
16450;;
16451esac
16452rm -rf conftest*
16453  if test $ac_cv_sys_file_offset_bits = unknown; then
16454    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16455$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16456if ${ac_cv_sys_large_files+:} false; then :
16457  $as_echo_n "(cached) " >&6
16458else
16459  while :; do
16460  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16461/* end confdefs.h.  */
16462#include <sys/types.h>
16463 /* Check that off_t can represent 2**63 - 1 correctly.
16464    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16465    since some C++ compilers masquerading as C compilers
16466    incorrectly reject 9223372036854775807.  */
16467#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16468  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16469		       && LARGE_OFF_T % 2147483647 == 1)
16470		      ? 1 : -1];
16471int
16472main ()
16473{
16474
16475  ;
16476  return 0;
16477}
16478_ACEOF
16479if ac_fn_c_try_compile "$LINENO"; then :
16480  ac_cv_sys_large_files=no; break
16481fi
16482rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16483  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16484/* end confdefs.h.  */
16485#define _LARGE_FILES 1
16486#include <sys/types.h>
16487 /* Check that off_t can represent 2**63 - 1 correctly.
16488    We can't simply define LARGE_OFF_T to be 9223372036854775807,
16489    since some C++ compilers masquerading as C compilers
16490    incorrectly reject 9223372036854775807.  */
16491#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16492  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16493		       && LARGE_OFF_T % 2147483647 == 1)
16494		      ? 1 : -1];
16495int
16496main ()
16497{
16498
16499  ;
16500  return 0;
16501}
16502_ACEOF
16503if ac_fn_c_try_compile "$LINENO"; then :
16504  ac_cv_sys_large_files=1; break
16505fi
16506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16507  ac_cv_sys_large_files=unknown
16508  break
16509done
16510fi
16511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16512$as_echo "$ac_cv_sys_large_files" >&6; }
16513case $ac_cv_sys_large_files in #(
16514  no | unknown) ;;
16515  *)
16516cat >>confdefs.h <<_ACEOF
16517#define _LARGE_FILES $ac_cv_sys_large_files
16518_ACEOF
16519;;
16520esac
16521rm -rf conftest*
16522  fi
16523
16524
16525fi
16526
16527
16528  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5
16529$as_echo_n "checking whether to enable assertions... " >&6; }
16530  # Check whether --enable-assert was given.
16531if test "${enable_assert+set}" = set; then :
16532  enableval=$enable_assert; ac_enable_assert=$enableval
16533     if       test "x$enableval" = xno; then :
16534
16535$as_echo "#define NDEBUG 1" >>confdefs.h
16536
16537elif test "x$enableval" != xyes; then :
16538  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5
16539$as_echo "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;}
16540	ac_enable_assert=yes
16541fi
16542else
16543  ac_enable_assert=yes
16544fi
16545
16546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_assert" >&5
16547$as_echo "$ac_enable_assert" >&6; }
16548
16549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
16550$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
16551if ${ac_cv_struct_tm+:} false; then :
16552  $as_echo_n "(cached) " >&6
16553else
16554  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16555/* end confdefs.h.  */
16556#include <sys/types.h>
16557#include <time.h>
16558
16559int
16560main ()
16561{
16562struct tm tm;
16563				     int *p = &tm.tm_sec;
16564				     return !p;
16565  ;
16566  return 0;
16567}
16568_ACEOF
16569if ac_fn_c_try_compile "$LINENO"; then :
16570  ac_cv_struct_tm=time.h
16571else
16572  ac_cv_struct_tm=sys/time.h
16573fi
16574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16575fi
16576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
16577$as_echo "$ac_cv_struct_tm" >&6; }
16578if test $ac_cv_struct_tm = sys/time.h; then
16579
16580$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
16581
16582fi
16583
16584ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
16585#include <$ac_cv_struct_tm>
16586
16587"
16588if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
16589
16590cat >>confdefs.h <<_ACEOF
16591#define HAVE_STRUCT_TM_TM_ZONE 1
16592_ACEOF
16593
16594
16595fi
16596
16597if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
16598
16599$as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
16600
16601else
16602  ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
16603"
16604if test "x$ac_cv_have_decl_tzname" = xyes; then :
16605  ac_have_decl=1
16606else
16607  ac_have_decl=0
16608fi
16609
16610cat >>confdefs.h <<_ACEOF
16611#define HAVE_DECL_TZNAME $ac_have_decl
16612_ACEOF
16613
16614  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
16615$as_echo_n "checking for tzname... " >&6; }
16616if ${ac_cv_var_tzname+:} false; then :
16617  $as_echo_n "(cached) " >&6
16618else
16619  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16620/* end confdefs.h.  */
16621#include <time.h>
16622#if !HAVE_DECL_TZNAME
16623extern char *tzname[];
16624#endif
16625
16626int
16627main ()
16628{
16629return tzname[0][0];
16630  ;
16631  return 0;
16632}
16633_ACEOF
16634if ac_fn_c_try_link "$LINENO"; then :
16635  ac_cv_var_tzname=yes
16636else
16637  ac_cv_var_tzname=no
16638fi
16639rm -f core conftest.err conftest.$ac_objext \
16640    conftest$ac_exeext conftest.$ac_ext
16641fi
16642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
16643$as_echo "$ac_cv_var_tzname" >&6; }
16644  if test $ac_cv_var_tzname = yes; then
16645
16646$as_echo "#define HAVE_TZNAME 1" >>confdefs.h
16647
16648  fi
16649fi
16650
16651
16652
16653
16654  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
16655$as_echo_n "checking whether NLS is requested... " >&6; }
16656    # Check whether --enable-nls was given.
16657if test "${enable_nls+set}" = set; then :
16658  enableval=$enable_nls; USE_NLS=$enableval
16659else
16660  USE_NLS=yes
16661fi
16662
16663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16664$as_echo "$USE_NLS" >&6; }
16665
16666
16667
16668
16669      GETTEXT_MACRO_VERSION=0.18
16670
16671
16672
16673
16674# Prepare PATH_SEPARATOR.
16675# The user is always right.
16676if test "${PATH_SEPARATOR+set}" != set; then
16677  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
16678  # contains only /bin. Note that ksh looks also at the FPATH variable,
16679  # so we have to set that as well for the test.
16680  PATH_SEPARATOR=:
16681  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
16682    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
16683           || PATH_SEPARATOR=';'
16684       }
16685fi
16686
16687# Find out how to test for executable files. Don't use a zero-byte file,
16688# as systems may use methods other than mode bits to determine executability.
16689cat >conf$$.file <<_ASEOF
16690#! /bin/sh
16691exit 0
16692_ASEOF
16693chmod +x conf$$.file
16694if test -x conf$$.file >/dev/null 2>&1; then
16695  ac_executable_p="test -x"
16696else
16697  ac_executable_p="test -f"
16698fi
16699rm -f conf$$.file
16700
16701# Extract the first word of "msgfmt", so it can be a program name with args.
16702set dummy msgfmt; ac_word=$2
16703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16704$as_echo_n "checking for $ac_word... " >&6; }
16705if ${ac_cv_path_MSGFMT+:} false; then :
16706  $as_echo_n "(cached) " >&6
16707else
16708  case "$MSGFMT" in
16709  [\\/]* | ?:[\\/]*)
16710    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
16711    ;;
16712  *)
16713    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
16714    for ac_dir in $PATH; do
16715      IFS="$ac_save_IFS"
16716      test -z "$ac_dir" && ac_dir=.
16717      for ac_exec_ext in '' $ac_executable_extensions; do
16718        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16719          echo "$as_me: trying $ac_dir/$ac_word..." >&5
16720          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
16721     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
16722            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
16723            break 2
16724          fi
16725        fi
16726      done
16727    done
16728    IFS="$ac_save_IFS"
16729  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
16730    ;;
16731esac
16732fi
16733MSGFMT="$ac_cv_path_MSGFMT"
16734if test "$MSGFMT" != ":"; then
16735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
16736$as_echo "$MSGFMT" >&6; }
16737else
16738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16739$as_echo "no" >&6; }
16740fi
16741
16742  # Extract the first word of "gmsgfmt", so it can be a program name with args.
16743set dummy gmsgfmt; ac_word=$2
16744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16745$as_echo_n "checking for $ac_word... " >&6; }
16746if ${ac_cv_path_GMSGFMT+:} false; then :
16747  $as_echo_n "(cached) " >&6
16748else
16749  case $GMSGFMT in
16750  [\\/]* | ?:[\\/]*)
16751  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
16752  ;;
16753  *)
16754  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16755for as_dir in $PATH
16756do
16757  IFS=$as_save_IFS
16758  test -z "$as_dir" && as_dir=.
16759    for ac_exec_ext in '' $ac_executable_extensions; do
16760  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16761    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
16762    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16763    break 2
16764  fi
16765done
16766  done
16767IFS=$as_save_IFS
16768
16769  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
16770  ;;
16771esac
16772fi
16773GMSGFMT=$ac_cv_path_GMSGFMT
16774if test -n "$GMSGFMT"; then
16775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
16776$as_echo "$GMSGFMT" >&6; }
16777else
16778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16779$as_echo "no" >&6; }
16780fi
16781
16782
16783
16784    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
16785    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
16786    *) MSGFMT_015=$MSGFMT ;;
16787  esac
16788
16789  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
16790    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
16791    *) GMSGFMT_015=$GMSGFMT ;;
16792  esac
16793
16794
16795
16796# Prepare PATH_SEPARATOR.
16797# The user is always right.
16798if test "${PATH_SEPARATOR+set}" != set; then
16799  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
16800  # contains only /bin. Note that ksh looks also at the FPATH variable,
16801  # so we have to set that as well for the test.
16802  PATH_SEPARATOR=:
16803  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
16804    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
16805           || PATH_SEPARATOR=';'
16806       }
16807fi
16808
16809# Find out how to test for executable files. Don't use a zero-byte file,
16810# as systems may use methods other than mode bits to determine executability.
16811cat >conf$$.file <<_ASEOF
16812#! /bin/sh
16813exit 0
16814_ASEOF
16815chmod +x conf$$.file
16816if test -x conf$$.file >/dev/null 2>&1; then
16817  ac_executable_p="test -x"
16818else
16819  ac_executable_p="test -f"
16820fi
16821rm -f conf$$.file
16822
16823# Extract the first word of "xgettext", so it can be a program name with args.
16824set dummy xgettext; ac_word=$2
16825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16826$as_echo_n "checking for $ac_word... " >&6; }
16827if ${ac_cv_path_XGETTEXT+:} false; then :
16828  $as_echo_n "(cached) " >&6
16829else
16830  case "$XGETTEXT" in
16831  [\\/]* | ?:[\\/]*)
16832    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
16833    ;;
16834  *)
16835    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
16836    for ac_dir in $PATH; do
16837      IFS="$ac_save_IFS"
16838      test -z "$ac_dir" && ac_dir=.
16839      for ac_exec_ext in '' $ac_executable_extensions; do
16840        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16841          echo "$as_me: trying $ac_dir/$ac_word..." >&5
16842          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
16843     (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
16844            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
16845            break 2
16846          fi
16847        fi
16848      done
16849    done
16850    IFS="$ac_save_IFS"
16851  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
16852    ;;
16853esac
16854fi
16855XGETTEXT="$ac_cv_path_XGETTEXT"
16856if test "$XGETTEXT" != ":"; then
16857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
16858$as_echo "$XGETTEXT" >&6; }
16859else
16860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16861$as_echo "no" >&6; }
16862fi
16863
16864    rm -f messages.po
16865
16866    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
16867    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
16868    *) XGETTEXT_015=$XGETTEXT ;;
16869  esac
16870
16871
16872
16873# Prepare PATH_SEPARATOR.
16874# The user is always right.
16875if test "${PATH_SEPARATOR+set}" != set; then
16876  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
16877  # contains only /bin. Note that ksh looks also at the FPATH variable,
16878  # so we have to set that as well for the test.
16879  PATH_SEPARATOR=:
16880  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
16881    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
16882           || PATH_SEPARATOR=';'
16883       }
16884fi
16885
16886# Find out how to test for executable files. Don't use a zero-byte file,
16887# as systems may use methods other than mode bits to determine executability.
16888cat >conf$$.file <<_ASEOF
16889#! /bin/sh
16890exit 0
16891_ASEOF
16892chmod +x conf$$.file
16893if test -x conf$$.file >/dev/null 2>&1; then
16894  ac_executable_p="test -x"
16895else
16896  ac_executable_p="test -f"
16897fi
16898rm -f conf$$.file
16899
16900# Extract the first word of "msgmerge", so it can be a program name with args.
16901set dummy msgmerge; ac_word=$2
16902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16903$as_echo_n "checking for $ac_word... " >&6; }
16904if ${ac_cv_path_MSGMERGE+:} false; then :
16905  $as_echo_n "(cached) " >&6
16906else
16907  case "$MSGMERGE" in
16908  [\\/]* | ?:[\\/]*)
16909    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
16910    ;;
16911  *)
16912    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
16913    for ac_dir in $PATH; do
16914      IFS="$ac_save_IFS"
16915      test -z "$ac_dir" && ac_dir=.
16916      for ac_exec_ext in '' $ac_executable_extensions; do
16917        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16918          echo "$as_me: trying $ac_dir/$ac_word..." >&5
16919          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
16920            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
16921            break 2
16922          fi
16923        fi
16924      done
16925    done
16926    IFS="$ac_save_IFS"
16927  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
16928    ;;
16929esac
16930fi
16931MSGMERGE="$ac_cv_path_MSGMERGE"
16932if test "$MSGMERGE" != ":"; then
16933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
16934$as_echo "$MSGMERGE" >&6; }
16935else
16936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16937$as_echo "no" >&6; }
16938fi
16939
16940
16941        test -n "$localedir" || localedir='${datadir}/locale'
16942
16943
16944    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
16945
16946
16947  ac_config_commands="$ac_config_commands po-directories"
16948
16949
16950
16951      if test "X$prefix" = "XNONE"; then
16952    acl_final_prefix="$ac_default_prefix"
16953  else
16954    acl_final_prefix="$prefix"
16955  fi
16956  if test "X$exec_prefix" = "XNONE"; then
16957    acl_final_exec_prefix='${prefix}'
16958  else
16959    acl_final_exec_prefix="$exec_prefix"
16960  fi
16961  acl_save_prefix="$prefix"
16962  prefix="$acl_final_prefix"
16963  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
16964  prefix="$acl_save_prefix"
16965
16966
16967
16968# Check whether --with-gnu-ld was given.
16969if test "${with_gnu_ld+set}" = set; then :
16970  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16971else
16972  with_gnu_ld=no
16973fi
16974
16975# Prepare PATH_SEPARATOR.
16976# The user is always right.
16977if test "${PATH_SEPARATOR+set}" != set; then
16978  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
16979  # contains only /bin. Note that ksh looks also at the FPATH variable,
16980  # so we have to set that as well for the test.
16981  PATH_SEPARATOR=:
16982  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
16983    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
16984           || PATH_SEPARATOR=';'
16985       }
16986fi
16987
16988ac_prog=ld
16989if test "$GCC" = yes; then
16990  # Check if gcc -print-prog-name=ld gives a path.
16991  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
16992$as_echo_n "checking for ld used by $CC... " >&6; }
16993  case $host in
16994  *-*-mingw*)
16995    # gcc leaves a trailing carriage return which upsets mingw
16996    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16997  *)
16998    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16999  esac
17000  case $ac_prog in
17001    # Accept absolute paths.
17002    [\\/]* | ?:[\\/]*)
17003      re_direlt='/[^/][^/]*/\.\./'
17004      # Canonicalize the pathname of ld
17005      ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
17006      while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
17007        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
17008      done
17009      test -z "$LD" && LD="$ac_prog"
17010      ;;
17011  "")
17012    # If it fails, then pretend we aren't using GCC.
17013    ac_prog=ld
17014    ;;
17015  *)
17016    # If it is relative, then search for the first ld in PATH.
17017    with_gnu_ld=unknown
17018    ;;
17019  esac
17020elif test "$with_gnu_ld" = yes; then
17021  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17022$as_echo_n "checking for GNU ld... " >&6; }
17023else
17024  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17025$as_echo_n "checking for non-GNU ld... " >&6; }
17026fi
17027if ${acl_cv_path_LD+:} false; then :
17028  $as_echo_n "(cached) " >&6
17029else
17030  if test -z "$LD"; then
17031  acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17032  for ac_dir in $PATH; do
17033    IFS="$acl_save_ifs"
17034    test -z "$ac_dir" && ac_dir=.
17035    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17036      acl_cv_path_LD="$ac_dir/$ac_prog"
17037      # Check to see if the program is GNU ld.  I'd rather use --version,
17038      # but apparently some variants of GNU ld only accept -v.
17039      # Break only if it was the GNU/non-GNU ld that we prefer.
17040      case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
17041      *GNU* | *'with BFD'*)
17042        test "$with_gnu_ld" != no && break
17043        ;;
17044      *)
17045        test "$with_gnu_ld" != yes && break
17046        ;;
17047      esac
17048    fi
17049  done
17050  IFS="$acl_save_ifs"
17051else
17052  acl_cv_path_LD="$LD" # Let the user override the test with a path.
17053fi
17054fi
17055
17056LD="$acl_cv_path_LD"
17057if test -n "$LD"; then
17058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17059$as_echo "$LD" >&6; }
17060else
17061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17062$as_echo "no" >&6; }
17063fi
17064test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
17065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17066$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17067if ${acl_cv_prog_gnu_ld+:} false; then :
17068  $as_echo_n "(cached) " >&6
17069else
17070  # I'd rather use --version here, but apparently some GNU lds only accept -v.
17071case `$LD -v 2>&1 </dev/null` in
17072*GNU* | *'with BFD'*)
17073  acl_cv_prog_gnu_ld=yes
17074  ;;
17075*)
17076  acl_cv_prog_gnu_ld=no
17077  ;;
17078esac
17079fi
17080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
17081$as_echo "$acl_cv_prog_gnu_ld" >&6; }
17082with_gnu_ld=$acl_cv_prog_gnu_ld
17083
17084
17085
17086
17087                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
17088$as_echo_n "checking for shared library run path origin... " >&6; }
17089if ${acl_cv_rpath+:} false; then :
17090  $as_echo_n "(cached) " >&6
17091else
17092
17093    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
17094    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
17095    . ./conftest.sh
17096    rm -f ./conftest.sh
17097    acl_cv_rpath=done
17098
17099fi
17100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
17101$as_echo "$acl_cv_rpath" >&6; }
17102  wl="$acl_cv_wl"
17103  acl_libext="$acl_cv_libext"
17104  acl_shlibext="$acl_cv_shlibext"
17105  acl_libname_spec="$acl_cv_libname_spec"
17106  acl_library_names_spec="$acl_cv_library_names_spec"
17107  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
17108  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
17109  acl_hardcode_direct="$acl_cv_hardcode_direct"
17110  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
17111    # Check whether --enable-rpath was given.
17112if test "${enable_rpath+set}" = set; then :
17113  enableval=$enable_rpath; :
17114else
17115  enable_rpath=yes
17116fi
17117
17118
17119
17120
17121  acl_libdirstem=lib
17122  acl_libdirstem2=
17123  case "$host_os" in
17124    solaris*)
17125                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
17126$as_echo_n "checking for 64-bit host... " >&6; }
17127if ${gl_cv_solaris_64bit+:} false; then :
17128  $as_echo_n "(cached) " >&6
17129else
17130  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131/* end confdefs.h.  */
17132
17133#ifdef _LP64
17134sixtyfour bits
17135#endif
17136
17137_ACEOF
17138if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17139  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
17140  gl_cv_solaris_64bit=yes
17141else
17142  gl_cv_solaris_64bit=no
17143fi
17144rm -f conftest*
17145
17146
17147fi
17148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
17149$as_echo "$gl_cv_solaris_64bit" >&6; }
17150      if test $gl_cv_solaris_64bit = yes; then
17151        acl_libdirstem=lib/64
17152        case "$host_cpu" in
17153          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
17154          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
17155        esac
17156      fi
17157      ;;
17158    *)
17159      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
17160      if test -n "$searchpath"; then
17161        acl_save_IFS="${IFS= 	}"; IFS=":"
17162        for searchdir in $searchpath; do
17163          if test -d "$searchdir"; then
17164            case "$searchdir" in
17165              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
17166              */../ | */.. )
17167                # Better ignore directories of this form. They are misleading.
17168                ;;
17169              *) searchdir=`cd "$searchdir" && pwd`
17170                 case "$searchdir" in
17171                   */lib64 ) acl_libdirstem=lib64 ;;
17172                 esac ;;
17173            esac
17174          fi
17175        done
17176        IFS="$acl_save_IFS"
17177      fi
17178      ;;
17179  esac
17180  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193    use_additional=yes
17194
17195  acl_save_prefix="$prefix"
17196  prefix="$acl_final_prefix"
17197  acl_save_exec_prefix="$exec_prefix"
17198  exec_prefix="$acl_final_exec_prefix"
17199
17200    eval additional_includedir=\"$includedir\"
17201    eval additional_libdir=\"$libdir\"
17202
17203  exec_prefix="$acl_save_exec_prefix"
17204  prefix="$acl_save_prefix"
17205
17206
17207# Check whether --with-libiconv-prefix was given.
17208if test "${with_libiconv_prefix+set}" = set; then :
17209  withval=$with_libiconv_prefix;
17210    if test "X$withval" = "Xno"; then
17211      use_additional=no
17212    else
17213      if test "X$withval" = "X"; then
17214
17215  acl_save_prefix="$prefix"
17216  prefix="$acl_final_prefix"
17217  acl_save_exec_prefix="$exec_prefix"
17218  exec_prefix="$acl_final_exec_prefix"
17219
17220          eval additional_includedir=\"$includedir\"
17221          eval additional_libdir=\"$libdir\"
17222
17223  exec_prefix="$acl_save_exec_prefix"
17224  prefix="$acl_save_prefix"
17225
17226      else
17227        additional_includedir="$withval/include"
17228        additional_libdir="$withval/$acl_libdirstem"
17229        if test "$acl_libdirstem2" != "$acl_libdirstem" \
17230           && ! test -d "$withval/$acl_libdirstem"; then
17231          additional_libdir="$withval/$acl_libdirstem2"
17232        fi
17233      fi
17234    fi
17235
17236fi
17237
17238      LIBICONV=
17239  LTLIBICONV=
17240  INCICONV=
17241  LIBICONV_PREFIX=
17242      HAVE_LIBICONV=
17243  rpathdirs=
17244  ltrpathdirs=
17245  names_already_handled=
17246  names_next_round='iconv '
17247  while test -n "$names_next_round"; do
17248    names_this_round="$names_next_round"
17249    names_next_round=
17250    for name in $names_this_round; do
17251      already_handled=
17252      for n in $names_already_handled; do
17253        if test "$n" = "$name"; then
17254          already_handled=yes
17255          break
17256        fi
17257      done
17258      if test -z "$already_handled"; then
17259        names_already_handled="$names_already_handled $name"
17260                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
17261        eval value=\"\$HAVE_LIB$uppername\"
17262        if test -n "$value"; then
17263          if test "$value" = yes; then
17264            eval value=\"\$LIB$uppername\"
17265            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
17266            eval value=\"\$LTLIB$uppername\"
17267            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
17268          else
17269                                    :
17270          fi
17271        else
17272                              found_dir=
17273          found_la=
17274          found_so=
17275          found_a=
17276          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
17277          if test -n "$acl_shlibext"; then
17278            shrext=".$acl_shlibext"             # typically: shrext=.so
17279          else
17280            shrext=
17281          fi
17282          if test $use_additional = yes; then
17283            dir="$additional_libdir"
17284                                    if test -n "$acl_shlibext"; then
17285              if test -f "$dir/$libname$shrext"; then
17286                found_dir="$dir"
17287                found_so="$dir/$libname$shrext"
17288              else
17289                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17290                  ver=`(cd "$dir" && \
17291                        for f in "$libname$shrext".*; do echo "$f"; done \
17292                        | sed -e "s,^$libname$shrext\\\\.,," \
17293                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17294                        | sed 1q ) 2>/dev/null`
17295                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17296                    found_dir="$dir"
17297                    found_so="$dir/$libname$shrext.$ver"
17298                  fi
17299                else
17300                  eval library_names=\"$acl_library_names_spec\"
17301                  for f in $library_names; do
17302                    if test -f "$dir/$f"; then
17303                      found_dir="$dir"
17304                      found_so="$dir/$f"
17305                      break
17306                    fi
17307                  done
17308                fi
17309              fi
17310            fi
17311                        if test "X$found_dir" = "X"; then
17312              if test -f "$dir/$libname.$acl_libext"; then
17313                found_dir="$dir"
17314                found_a="$dir/$libname.$acl_libext"
17315              fi
17316            fi
17317            if test "X$found_dir" != "X"; then
17318              if test -f "$dir/$libname.la"; then
17319                found_la="$dir/$libname.la"
17320              fi
17321            fi
17322          fi
17323          if test "X$found_dir" = "X"; then
17324            for x in $LDFLAGS $LTLIBICONV; do
17325
17326  acl_save_prefix="$prefix"
17327  prefix="$acl_final_prefix"
17328  acl_save_exec_prefix="$exec_prefix"
17329  exec_prefix="$acl_final_exec_prefix"
17330  eval x=\"$x\"
17331  exec_prefix="$acl_save_exec_prefix"
17332  prefix="$acl_save_prefix"
17333
17334              case "$x" in
17335                -L*)
17336                  dir=`echo "X$x" | sed -e 's/^X-L//'`
17337                                    if test -n "$acl_shlibext"; then
17338                    if test -f "$dir/$libname$shrext"; then
17339                      found_dir="$dir"
17340                      found_so="$dir/$libname$shrext"
17341                    else
17342                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17343                        ver=`(cd "$dir" && \
17344                              for f in "$libname$shrext".*; do echo "$f"; done \
17345                              | sed -e "s,^$libname$shrext\\\\.,," \
17346                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17347                              | sed 1q ) 2>/dev/null`
17348                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17349                          found_dir="$dir"
17350                          found_so="$dir/$libname$shrext.$ver"
17351                        fi
17352                      else
17353                        eval library_names=\"$acl_library_names_spec\"
17354                        for f in $library_names; do
17355                          if test -f "$dir/$f"; then
17356                            found_dir="$dir"
17357                            found_so="$dir/$f"
17358                            break
17359                          fi
17360                        done
17361                      fi
17362                    fi
17363                  fi
17364                                    if test "X$found_dir" = "X"; then
17365                    if test -f "$dir/$libname.$acl_libext"; then
17366                      found_dir="$dir"
17367                      found_a="$dir/$libname.$acl_libext"
17368                    fi
17369                  fi
17370                  if test "X$found_dir" != "X"; then
17371                    if test -f "$dir/$libname.la"; then
17372                      found_la="$dir/$libname.la"
17373                    fi
17374                  fi
17375                  ;;
17376              esac
17377              if test "X$found_dir" != "X"; then
17378                break
17379              fi
17380            done
17381          fi
17382          if test "X$found_dir" != "X"; then
17383                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
17384            if test "X$found_so" != "X"; then
17385                                                        if test "$enable_rpath" = no \
17386                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
17387                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
17388                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17389              else
17390                                                                                haveit=
17391                for x in $ltrpathdirs; do
17392                  if test "X$x" = "X$found_dir"; then
17393                    haveit=yes
17394                    break
17395                  fi
17396                done
17397                if test -z "$haveit"; then
17398                  ltrpathdirs="$ltrpathdirs $found_dir"
17399                fi
17400                                if test "$acl_hardcode_direct" = yes; then
17401                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17402                else
17403                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
17404                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17405                                                            haveit=
17406                    for x in $rpathdirs; do
17407                      if test "X$x" = "X$found_dir"; then
17408                        haveit=yes
17409                        break
17410                      fi
17411                    done
17412                    if test -z "$haveit"; then
17413                      rpathdirs="$rpathdirs $found_dir"
17414                    fi
17415                  else
17416                                                                                haveit=
17417                    for x in $LDFLAGS $LIBICONV; do
17418
17419  acl_save_prefix="$prefix"
17420  prefix="$acl_final_prefix"
17421  acl_save_exec_prefix="$exec_prefix"
17422  exec_prefix="$acl_final_exec_prefix"
17423  eval x=\"$x\"
17424  exec_prefix="$acl_save_exec_prefix"
17425  prefix="$acl_save_prefix"
17426
17427                      if test "X$x" = "X-L$found_dir"; then
17428                        haveit=yes
17429                        break
17430                      fi
17431                    done
17432                    if test -z "$haveit"; then
17433                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
17434                    fi
17435                    if test "$acl_hardcode_minus_L" != no; then
17436                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17437                    else
17438                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
17439                    fi
17440                  fi
17441                fi
17442              fi
17443            else
17444              if test "X$found_a" != "X"; then
17445                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
17446              else
17447                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
17448              fi
17449            fi
17450                        additional_includedir=
17451            case "$found_dir" in
17452              */$acl_libdirstem | */$acl_libdirstem/)
17453                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
17454                if test "$name" = 'iconv'; then
17455                  LIBICONV_PREFIX="$basedir"
17456                fi
17457                additional_includedir="$basedir/include"
17458                ;;
17459              */$acl_libdirstem2 | */$acl_libdirstem2/)
17460                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
17461                if test "$name" = 'iconv'; then
17462                  LIBICONV_PREFIX="$basedir"
17463                fi
17464                additional_includedir="$basedir/include"
17465                ;;
17466            esac
17467            if test "X$additional_includedir" != "X"; then
17468                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
17469                haveit=
17470                if test "X$additional_includedir" = "X/usr/local/include"; then
17471                  if test -n "$GCC"; then
17472                    case $host_os in
17473                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17474                    esac
17475                  fi
17476                fi
17477                if test -z "$haveit"; then
17478                  for x in $CPPFLAGS $INCICONV; do
17479
17480  acl_save_prefix="$prefix"
17481  prefix="$acl_final_prefix"
17482  acl_save_exec_prefix="$exec_prefix"
17483  exec_prefix="$acl_final_exec_prefix"
17484  eval x=\"$x\"
17485  exec_prefix="$acl_save_exec_prefix"
17486  prefix="$acl_save_prefix"
17487
17488                    if test "X$x" = "X-I$additional_includedir"; then
17489                      haveit=yes
17490                      break
17491                    fi
17492                  done
17493                  if test -z "$haveit"; then
17494                    if test -d "$additional_includedir"; then
17495                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
17496                    fi
17497                  fi
17498                fi
17499              fi
17500            fi
17501                        if test -n "$found_la"; then
17502                                                        save_libdir="$libdir"
17503              case "$found_la" in
17504                */* | *\\*) . "$found_la" ;;
17505                *) . "./$found_la" ;;
17506              esac
17507              libdir="$save_libdir"
17508                            for dep in $dependency_libs; do
17509                case "$dep" in
17510                  -L*)
17511                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
17512                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
17513                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
17514                      haveit=
17515                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
17516                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
17517                        if test -n "$GCC"; then
17518                          case $host_os in
17519                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17520                          esac
17521                        fi
17522                      fi
17523                      if test -z "$haveit"; then
17524                        haveit=
17525                        for x in $LDFLAGS $LIBICONV; do
17526
17527  acl_save_prefix="$prefix"
17528  prefix="$acl_final_prefix"
17529  acl_save_exec_prefix="$exec_prefix"
17530  exec_prefix="$acl_final_exec_prefix"
17531  eval x=\"$x\"
17532  exec_prefix="$acl_save_exec_prefix"
17533  prefix="$acl_save_prefix"
17534
17535                          if test "X$x" = "X-L$additional_libdir"; then
17536                            haveit=yes
17537                            break
17538                          fi
17539                        done
17540                        if test -z "$haveit"; then
17541                          if test -d "$additional_libdir"; then
17542                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
17543                          fi
17544                        fi
17545                        haveit=
17546                        for x in $LDFLAGS $LTLIBICONV; do
17547
17548  acl_save_prefix="$prefix"
17549  prefix="$acl_final_prefix"
17550  acl_save_exec_prefix="$exec_prefix"
17551  exec_prefix="$acl_final_exec_prefix"
17552  eval x=\"$x\"
17553  exec_prefix="$acl_save_exec_prefix"
17554  prefix="$acl_save_prefix"
17555
17556                          if test "X$x" = "X-L$additional_libdir"; then
17557                            haveit=yes
17558                            break
17559                          fi
17560                        done
17561                        if test -z "$haveit"; then
17562                          if test -d "$additional_libdir"; then
17563                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
17564                          fi
17565                        fi
17566                      fi
17567                    fi
17568                    ;;
17569                  -R*)
17570                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
17571                    if test "$enable_rpath" != no; then
17572                                                                  haveit=
17573                      for x in $rpathdirs; do
17574                        if test "X$x" = "X$dir"; then
17575                          haveit=yes
17576                          break
17577                        fi
17578                      done
17579                      if test -z "$haveit"; then
17580                        rpathdirs="$rpathdirs $dir"
17581                      fi
17582                                                                  haveit=
17583                      for x in $ltrpathdirs; do
17584                        if test "X$x" = "X$dir"; then
17585                          haveit=yes
17586                          break
17587                        fi
17588                      done
17589                      if test -z "$haveit"; then
17590                        ltrpathdirs="$ltrpathdirs $dir"
17591                      fi
17592                    fi
17593                    ;;
17594                  -l*)
17595                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17596                    ;;
17597                  *.la)
17598                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17599                    ;;
17600                  *)
17601                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
17602                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
17603                    ;;
17604                esac
17605              done
17606            fi
17607          else
17608                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
17609            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
17610          fi
17611        fi
17612      fi
17613    done
17614  done
17615  if test "X$rpathdirs" != "X"; then
17616    if test -n "$acl_hardcode_libdir_separator"; then
17617                        alldirs=
17618      for found_dir in $rpathdirs; do
17619        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
17620      done
17621            acl_save_libdir="$libdir"
17622      libdir="$alldirs"
17623      eval flag=\"$acl_hardcode_libdir_flag_spec\"
17624      libdir="$acl_save_libdir"
17625      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
17626    else
17627            for found_dir in $rpathdirs; do
17628        acl_save_libdir="$libdir"
17629        libdir="$found_dir"
17630        eval flag=\"$acl_hardcode_libdir_flag_spec\"
17631        libdir="$acl_save_libdir"
17632        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
17633      done
17634    fi
17635  fi
17636  if test "X$ltrpathdirs" != "X"; then
17637            for found_dir in $ltrpathdirs; do
17638      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
17639    done
17640  fi
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
17673$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
17674if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
17675  $as_echo_n "(cached) " >&6
17676else
17677  gt_save_LIBS="$LIBS"
17678     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
17679     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17680/* end confdefs.h.  */
17681#include <CoreFoundation/CFPreferences.h>
17682int
17683main ()
17684{
17685CFPreferencesCopyAppValue(NULL, NULL)
17686  ;
17687  return 0;
17688}
17689_ACEOF
17690if ac_fn_c_try_link "$LINENO"; then :
17691  gt_cv_func_CFPreferencesCopyAppValue=yes
17692else
17693  gt_cv_func_CFPreferencesCopyAppValue=no
17694fi
17695rm -f core conftest.err conftest.$ac_objext \
17696    conftest$ac_exeext conftest.$ac_ext
17697     LIBS="$gt_save_LIBS"
17698fi
17699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
17700$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
17701  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
17702
17703$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
17704
17705  fi
17706    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
17707$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
17708if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
17709  $as_echo_n "(cached) " >&6
17710else
17711  gt_save_LIBS="$LIBS"
17712     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
17713     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17714/* end confdefs.h.  */
17715#include <CoreFoundation/CFLocale.h>
17716int
17717main ()
17718{
17719CFLocaleCopyCurrent();
17720  ;
17721  return 0;
17722}
17723_ACEOF
17724if ac_fn_c_try_link "$LINENO"; then :
17725  gt_cv_func_CFLocaleCopyCurrent=yes
17726else
17727  gt_cv_func_CFLocaleCopyCurrent=no
17728fi
17729rm -f core conftest.err conftest.$ac_objext \
17730    conftest$ac_exeext conftest.$ac_ext
17731     LIBS="$gt_save_LIBS"
17732fi
17733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
17734$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
17735  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
17736
17737$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
17738
17739  fi
17740  INTL_MACOSX_LIBS=
17741  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
17742    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
17743  fi
17744
17745
17746
17747
17748
17749
17750  LIBINTL=
17751  LTLIBINTL=
17752  POSUB=
17753
17754    case " $gt_needs " in
17755    *" need-formatstring-macros "*) gt_api_version=3 ;;
17756    *" need-ngettext "*) gt_api_version=2 ;;
17757    *) gt_api_version=1 ;;
17758  esac
17759  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
17760  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
17761
17762    if test "$USE_NLS" = "yes"; then
17763    gt_use_preinstalled_gnugettext=no
17764
17765
17766        if test $gt_api_version -ge 3; then
17767          gt_revision_test_code='
17768#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
17769#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
17770#endif
17771typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
17772'
17773        else
17774          gt_revision_test_code=
17775        fi
17776        if test $gt_api_version -ge 2; then
17777          gt_expression_test_code=' + * ngettext ("", "", 0)'
17778        else
17779          gt_expression_test_code=
17780        fi
17781
17782        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
17783$as_echo_n "checking for GNU gettext in libc... " >&6; }
17784if eval \${$gt_func_gnugettext_libc+:} false; then :
17785  $as_echo_n "(cached) " >&6
17786else
17787  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788/* end confdefs.h.  */
17789
17790#include <libintl.h>
17791$gt_revision_test_code
17792extern int _nl_msg_cat_cntr;
17793extern int *_nl_domain_bindings;
17794
17795int
17796main ()
17797{
17798
17799bindtextdomain ("", "");
17800return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
17801
17802  ;
17803  return 0;
17804}
17805_ACEOF
17806if ac_fn_c_try_link "$LINENO"; then :
17807  eval "$gt_func_gnugettext_libc=yes"
17808else
17809  eval "$gt_func_gnugettext_libc=no"
17810fi
17811rm -f core conftest.err conftest.$ac_objext \
17812    conftest$ac_exeext conftest.$ac_ext
17813fi
17814eval ac_res=\$$gt_func_gnugettext_libc
17815	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17816$as_echo "$ac_res" >&6; }
17817
17818        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
17819
17820
17821
17822
17823
17824          am_save_CPPFLAGS="$CPPFLAGS"
17825
17826  for element in $INCICONV; do
17827    haveit=
17828    for x in $CPPFLAGS; do
17829
17830  acl_save_prefix="$prefix"
17831  prefix="$acl_final_prefix"
17832  acl_save_exec_prefix="$exec_prefix"
17833  exec_prefix="$acl_final_exec_prefix"
17834  eval x=\"$x\"
17835  exec_prefix="$acl_save_exec_prefix"
17836  prefix="$acl_save_prefix"
17837
17838      if test "X$x" = "X$element"; then
17839        haveit=yes
17840        break
17841      fi
17842    done
17843    if test -z "$haveit"; then
17844      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17845    fi
17846  done
17847
17848
17849  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
17850$as_echo_n "checking for iconv... " >&6; }
17851if ${am_cv_func_iconv+:} false; then :
17852  $as_echo_n "(cached) " >&6
17853else
17854
17855    am_cv_func_iconv="no, consider installing GNU libiconv"
17856    am_cv_lib_iconv=no
17857    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17858/* end confdefs.h.  */
17859
17860#include <stdlib.h>
17861#include <iconv.h>
17862
17863int
17864main ()
17865{
17866iconv_t cd = iconv_open("","");
17867           iconv(cd,NULL,NULL,NULL,NULL);
17868           iconv_close(cd);
17869  ;
17870  return 0;
17871}
17872_ACEOF
17873if ac_fn_c_try_link "$LINENO"; then :
17874  am_cv_func_iconv=yes
17875fi
17876rm -f core conftest.err conftest.$ac_objext \
17877    conftest$ac_exeext conftest.$ac_ext
17878    if test "$am_cv_func_iconv" != yes; then
17879      am_save_LIBS="$LIBS"
17880      LIBS="$LIBS $LIBICONV"
17881      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17882/* end confdefs.h.  */
17883
17884#include <stdlib.h>
17885#include <iconv.h>
17886
17887int
17888main ()
17889{
17890iconv_t cd = iconv_open("","");
17891             iconv(cd,NULL,NULL,NULL,NULL);
17892             iconv_close(cd);
17893  ;
17894  return 0;
17895}
17896_ACEOF
17897if ac_fn_c_try_link "$LINENO"; then :
17898  am_cv_lib_iconv=yes
17899        am_cv_func_iconv=yes
17900fi
17901rm -f core conftest.err conftest.$ac_objext \
17902    conftest$ac_exeext conftest.$ac_ext
17903      LIBS="$am_save_LIBS"
17904    fi
17905
17906fi
17907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
17908$as_echo "$am_cv_func_iconv" >&6; }
17909  if test "$am_cv_func_iconv" = yes; then
17910    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
17911$as_echo_n "checking for working iconv... " >&6; }
17912if ${am_cv_func_iconv_works+:} false; then :
17913  $as_echo_n "(cached) " >&6
17914else
17915
17916                  am_save_LIBS="$LIBS"
17917      if test $am_cv_lib_iconv = yes; then
17918        LIBS="$LIBS $LIBICONV"
17919      fi
17920      if test "$cross_compiling" = yes; then :
17921
17922         case "$host_os" in
17923           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
17924           *)            am_cv_func_iconv_works="guessing yes" ;;
17925         esac
17926
17927else
17928  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17929/* end confdefs.h.  */
17930
17931#include <iconv.h>
17932#include <string.h>
17933int main ()
17934{
17935  int result = 0;
17936  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
17937     returns.  */
17938  {
17939    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
17940    if (cd_utf8_to_88591 != (iconv_t)(-1))
17941      {
17942        static const char input[] = "\342\202\254"; /* EURO SIGN */
17943        char buf[10];
17944        const char *inptr = input;
17945        size_t inbytesleft = strlen (input);
17946        char *outptr = buf;
17947        size_t outbytesleft = sizeof (buf);
17948        size_t res = iconv (cd_utf8_to_88591,
17949                            (char **) &inptr, &inbytesleft,
17950                            &outptr, &outbytesleft);
17951        if (res == 0)
17952          result |= 1;
17953        iconv_close (cd_utf8_to_88591);
17954      }
17955  }
17956  /* Test against Solaris 10 bug: Failures are not distinguishable from
17957     successful returns.  */
17958  {
17959    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
17960    if (cd_ascii_to_88591 != (iconv_t)(-1))
17961      {
17962        static const char input[] = "\263";
17963        char buf[10];
17964        const char *inptr = input;
17965        size_t inbytesleft = strlen (input);
17966        char *outptr = buf;
17967        size_t outbytesleft = sizeof (buf);
17968        size_t res = iconv (cd_ascii_to_88591,
17969                            (char **) &inptr, &inbytesleft,
17970                            &outptr, &outbytesleft);
17971        if (res == 0)
17972          result |= 2;
17973        iconv_close (cd_ascii_to_88591);
17974      }
17975  }
17976  /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
17977  {
17978    iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
17979    if (cd_88591_to_utf8 != (iconv_t)(-1))
17980      {
17981        static const char input[] = "\304";
17982        static char buf[2] = { (char)0xDE, (char)0xAD };
17983        const char *inptr = input;
17984        size_t inbytesleft = 1;
17985        char *outptr = buf;
17986        size_t outbytesleft = 1;
17987        size_t res = iconv (cd_88591_to_utf8,
17988                            (char **) &inptr, &inbytesleft,
17989                            &outptr, &outbytesleft);
17990        if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
17991          result |= 4;
17992        iconv_close (cd_88591_to_utf8);
17993      }
17994  }
17995#if 0 /* This bug could be worked around by the caller.  */
17996  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
17997  {
17998    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
17999    if (cd_88591_to_utf8 != (iconv_t)(-1))
18000      {
18001        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
18002        char buf[50];
18003        const char *inptr = input;
18004        size_t inbytesleft = strlen (input);
18005        char *outptr = buf;
18006        size_t outbytesleft = sizeof (buf);
18007        size_t res = iconv (cd_88591_to_utf8,
18008                            (char **) &inptr, &inbytesleft,
18009                            &outptr, &outbytesleft);
18010        if ((int)res > 0)
18011          result |= 8;
18012        iconv_close (cd_88591_to_utf8);
18013      }
18014  }
18015#endif
18016  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
18017     provided.  */
18018  if (/* Try standardized names.  */
18019      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
18020      /* Try IRIX, OSF/1 names.  */
18021      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
18022      /* Try AIX names.  */
18023      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
18024      /* Try HP-UX names.  */
18025      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
18026    result |= 16;
18027  return result;
18028}
18029_ACEOF
18030if ac_fn_c_try_run "$LINENO"; then :
18031  am_cv_func_iconv_works=yes
18032else
18033  am_cv_func_iconv_works=no
18034fi
18035rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18036  conftest.$ac_objext conftest.beam conftest.$ac_ext
18037fi
18038
18039      LIBS="$am_save_LIBS"
18040
18041fi
18042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
18043$as_echo "$am_cv_func_iconv_works" >&6; }
18044    case "$am_cv_func_iconv_works" in
18045      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
18046      *)   am_func_iconv=yes ;;
18047    esac
18048  else
18049    am_func_iconv=no am_cv_lib_iconv=no
18050  fi
18051  if test "$am_func_iconv" = yes; then
18052
18053$as_echo "#define HAVE_ICONV 1" >>confdefs.h
18054
18055  fi
18056  if test "$am_cv_lib_iconv" = yes; then
18057    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18058$as_echo_n "checking how to link with libiconv... " >&6; }
18059    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18060$as_echo "$LIBICONV" >&6; }
18061  else
18062            CPPFLAGS="$am_save_CPPFLAGS"
18063    LIBICONV=
18064    LTLIBICONV=
18065  fi
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077    use_additional=yes
18078
18079  acl_save_prefix="$prefix"
18080  prefix="$acl_final_prefix"
18081  acl_save_exec_prefix="$exec_prefix"
18082  exec_prefix="$acl_final_exec_prefix"
18083
18084    eval additional_includedir=\"$includedir\"
18085    eval additional_libdir=\"$libdir\"
18086
18087  exec_prefix="$acl_save_exec_prefix"
18088  prefix="$acl_save_prefix"
18089
18090
18091# Check whether --with-libintl-prefix was given.
18092if test "${with_libintl_prefix+set}" = set; then :
18093  withval=$with_libintl_prefix;
18094    if test "X$withval" = "Xno"; then
18095      use_additional=no
18096    else
18097      if test "X$withval" = "X"; then
18098
18099  acl_save_prefix="$prefix"
18100  prefix="$acl_final_prefix"
18101  acl_save_exec_prefix="$exec_prefix"
18102  exec_prefix="$acl_final_exec_prefix"
18103
18104          eval additional_includedir=\"$includedir\"
18105          eval additional_libdir=\"$libdir\"
18106
18107  exec_prefix="$acl_save_exec_prefix"
18108  prefix="$acl_save_prefix"
18109
18110      else
18111        additional_includedir="$withval/include"
18112        additional_libdir="$withval/$acl_libdirstem"
18113        if test "$acl_libdirstem2" != "$acl_libdirstem" \
18114           && ! test -d "$withval/$acl_libdirstem"; then
18115          additional_libdir="$withval/$acl_libdirstem2"
18116        fi
18117      fi
18118    fi
18119
18120fi
18121
18122      LIBINTL=
18123  LTLIBINTL=
18124  INCINTL=
18125  LIBINTL_PREFIX=
18126      HAVE_LIBINTL=
18127  rpathdirs=
18128  ltrpathdirs=
18129  names_already_handled=
18130  names_next_round='intl '
18131  while test -n "$names_next_round"; do
18132    names_this_round="$names_next_round"
18133    names_next_round=
18134    for name in $names_this_round; do
18135      already_handled=
18136      for n in $names_already_handled; do
18137        if test "$n" = "$name"; then
18138          already_handled=yes
18139          break
18140        fi
18141      done
18142      if test -z "$already_handled"; then
18143        names_already_handled="$names_already_handled $name"
18144                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
18145        eval value=\"\$HAVE_LIB$uppername\"
18146        if test -n "$value"; then
18147          if test "$value" = yes; then
18148            eval value=\"\$LIB$uppername\"
18149            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
18150            eval value=\"\$LTLIB$uppername\"
18151            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
18152          else
18153                                    :
18154          fi
18155        else
18156                              found_dir=
18157          found_la=
18158          found_so=
18159          found_a=
18160          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
18161          if test -n "$acl_shlibext"; then
18162            shrext=".$acl_shlibext"             # typically: shrext=.so
18163          else
18164            shrext=
18165          fi
18166          if test $use_additional = yes; then
18167            dir="$additional_libdir"
18168                                    if test -n "$acl_shlibext"; then
18169              if test -f "$dir/$libname$shrext"; then
18170                found_dir="$dir"
18171                found_so="$dir/$libname$shrext"
18172              else
18173                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18174                  ver=`(cd "$dir" && \
18175                        for f in "$libname$shrext".*; do echo "$f"; done \
18176                        | sed -e "s,^$libname$shrext\\\\.,," \
18177                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18178                        | sed 1q ) 2>/dev/null`
18179                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18180                    found_dir="$dir"
18181                    found_so="$dir/$libname$shrext.$ver"
18182                  fi
18183                else
18184                  eval library_names=\"$acl_library_names_spec\"
18185                  for f in $library_names; do
18186                    if test -f "$dir/$f"; then
18187                      found_dir="$dir"
18188                      found_so="$dir/$f"
18189                      break
18190                    fi
18191                  done
18192                fi
18193              fi
18194            fi
18195                        if test "X$found_dir" = "X"; then
18196              if test -f "$dir/$libname.$acl_libext"; then
18197                found_dir="$dir"
18198                found_a="$dir/$libname.$acl_libext"
18199              fi
18200            fi
18201            if test "X$found_dir" != "X"; then
18202              if test -f "$dir/$libname.la"; then
18203                found_la="$dir/$libname.la"
18204              fi
18205            fi
18206          fi
18207          if test "X$found_dir" = "X"; then
18208            for x in $LDFLAGS $LTLIBINTL; do
18209
18210  acl_save_prefix="$prefix"
18211  prefix="$acl_final_prefix"
18212  acl_save_exec_prefix="$exec_prefix"
18213  exec_prefix="$acl_final_exec_prefix"
18214  eval x=\"$x\"
18215  exec_prefix="$acl_save_exec_prefix"
18216  prefix="$acl_save_prefix"
18217
18218              case "$x" in
18219                -L*)
18220                  dir=`echo "X$x" | sed -e 's/^X-L//'`
18221                                    if test -n "$acl_shlibext"; then
18222                    if test -f "$dir/$libname$shrext"; then
18223                      found_dir="$dir"
18224                      found_so="$dir/$libname$shrext"
18225                    else
18226                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18227                        ver=`(cd "$dir" && \
18228                              for f in "$libname$shrext".*; do echo "$f"; done \
18229                              | sed -e "s,^$libname$shrext\\\\.,," \
18230                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18231                              | sed 1q ) 2>/dev/null`
18232                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18233                          found_dir="$dir"
18234                          found_so="$dir/$libname$shrext.$ver"
18235                        fi
18236                      else
18237                        eval library_names=\"$acl_library_names_spec\"
18238                        for f in $library_names; do
18239                          if test -f "$dir/$f"; then
18240                            found_dir="$dir"
18241                            found_so="$dir/$f"
18242                            break
18243                          fi
18244                        done
18245                      fi
18246                    fi
18247                  fi
18248                                    if test "X$found_dir" = "X"; then
18249                    if test -f "$dir/$libname.$acl_libext"; then
18250                      found_dir="$dir"
18251                      found_a="$dir/$libname.$acl_libext"
18252                    fi
18253                  fi
18254                  if test "X$found_dir" != "X"; then
18255                    if test -f "$dir/$libname.la"; then
18256                      found_la="$dir/$libname.la"
18257                    fi
18258                  fi
18259                  ;;
18260              esac
18261              if test "X$found_dir" != "X"; then
18262                break
18263              fi
18264            done
18265          fi
18266          if test "X$found_dir" != "X"; then
18267                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
18268            if test "X$found_so" != "X"; then
18269                                                        if test "$enable_rpath" = no \
18270                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
18271                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
18272                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18273              else
18274                                                                                haveit=
18275                for x in $ltrpathdirs; do
18276                  if test "X$x" = "X$found_dir"; then
18277                    haveit=yes
18278                    break
18279                  fi
18280                done
18281                if test -z "$haveit"; then
18282                  ltrpathdirs="$ltrpathdirs $found_dir"
18283                fi
18284                                if test "$acl_hardcode_direct" = yes; then
18285                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18286                else
18287                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18288                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18289                                                            haveit=
18290                    for x in $rpathdirs; do
18291                      if test "X$x" = "X$found_dir"; then
18292                        haveit=yes
18293                        break
18294                      fi
18295                    done
18296                    if test -z "$haveit"; then
18297                      rpathdirs="$rpathdirs $found_dir"
18298                    fi
18299                  else
18300                                                                                haveit=
18301                    for x in $LDFLAGS $LIBINTL; do
18302
18303  acl_save_prefix="$prefix"
18304  prefix="$acl_final_prefix"
18305  acl_save_exec_prefix="$exec_prefix"
18306  exec_prefix="$acl_final_exec_prefix"
18307  eval x=\"$x\"
18308  exec_prefix="$acl_save_exec_prefix"
18309  prefix="$acl_save_prefix"
18310
18311                      if test "X$x" = "X-L$found_dir"; then
18312                        haveit=yes
18313                        break
18314                      fi
18315                    done
18316                    if test -z "$haveit"; then
18317                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
18318                    fi
18319                    if test "$acl_hardcode_minus_L" != no; then
18320                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18321                    else
18322                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
18323                    fi
18324                  fi
18325                fi
18326              fi
18327            else
18328              if test "X$found_a" != "X"; then
18329                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
18330              else
18331                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
18332              fi
18333            fi
18334                        additional_includedir=
18335            case "$found_dir" in
18336              */$acl_libdirstem | */$acl_libdirstem/)
18337                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18338                if test "$name" = 'intl'; then
18339                  LIBINTL_PREFIX="$basedir"
18340                fi
18341                additional_includedir="$basedir/include"
18342                ;;
18343              */$acl_libdirstem2 | */$acl_libdirstem2/)
18344                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
18345                if test "$name" = 'intl'; then
18346                  LIBINTL_PREFIX="$basedir"
18347                fi
18348                additional_includedir="$basedir/include"
18349                ;;
18350            esac
18351            if test "X$additional_includedir" != "X"; then
18352                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
18353                haveit=
18354                if test "X$additional_includedir" = "X/usr/local/include"; then
18355                  if test -n "$GCC"; then
18356                    case $host_os in
18357                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18358                    esac
18359                  fi
18360                fi
18361                if test -z "$haveit"; then
18362                  for x in $CPPFLAGS $INCINTL; do
18363
18364  acl_save_prefix="$prefix"
18365  prefix="$acl_final_prefix"
18366  acl_save_exec_prefix="$exec_prefix"
18367  exec_prefix="$acl_final_exec_prefix"
18368  eval x=\"$x\"
18369  exec_prefix="$acl_save_exec_prefix"
18370  prefix="$acl_save_prefix"
18371
18372                    if test "X$x" = "X-I$additional_includedir"; then
18373                      haveit=yes
18374                      break
18375                    fi
18376                  done
18377                  if test -z "$haveit"; then
18378                    if test -d "$additional_includedir"; then
18379                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
18380                    fi
18381                  fi
18382                fi
18383              fi
18384            fi
18385                        if test -n "$found_la"; then
18386                                                        save_libdir="$libdir"
18387              case "$found_la" in
18388                */* | *\\*) . "$found_la" ;;
18389                *) . "./$found_la" ;;
18390              esac
18391              libdir="$save_libdir"
18392                            for dep in $dependency_libs; do
18393                case "$dep" in
18394                  -L*)
18395                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18396                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
18397                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
18398                      haveit=
18399                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
18400                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
18401                        if test -n "$GCC"; then
18402                          case $host_os in
18403                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18404                          esac
18405                        fi
18406                      fi
18407                      if test -z "$haveit"; then
18408                        haveit=
18409                        for x in $LDFLAGS $LIBINTL; do
18410
18411  acl_save_prefix="$prefix"
18412  prefix="$acl_final_prefix"
18413  acl_save_exec_prefix="$exec_prefix"
18414  exec_prefix="$acl_final_exec_prefix"
18415  eval x=\"$x\"
18416  exec_prefix="$acl_save_exec_prefix"
18417  prefix="$acl_save_prefix"
18418
18419                          if test "X$x" = "X-L$additional_libdir"; then
18420                            haveit=yes
18421                            break
18422                          fi
18423                        done
18424                        if test -z "$haveit"; then
18425                          if test -d "$additional_libdir"; then
18426                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
18427                          fi
18428                        fi
18429                        haveit=
18430                        for x in $LDFLAGS $LTLIBINTL; do
18431
18432  acl_save_prefix="$prefix"
18433  prefix="$acl_final_prefix"
18434  acl_save_exec_prefix="$exec_prefix"
18435  exec_prefix="$acl_final_exec_prefix"
18436  eval x=\"$x\"
18437  exec_prefix="$acl_save_exec_prefix"
18438  prefix="$acl_save_prefix"
18439
18440                          if test "X$x" = "X-L$additional_libdir"; then
18441                            haveit=yes
18442                            break
18443                          fi
18444                        done
18445                        if test -z "$haveit"; then
18446                          if test -d "$additional_libdir"; then
18447                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
18448                          fi
18449                        fi
18450                      fi
18451                    fi
18452                    ;;
18453                  -R*)
18454                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
18455                    if test "$enable_rpath" != no; then
18456                                                                  haveit=
18457                      for x in $rpathdirs; do
18458                        if test "X$x" = "X$dir"; then
18459                          haveit=yes
18460                          break
18461                        fi
18462                      done
18463                      if test -z "$haveit"; then
18464                        rpathdirs="$rpathdirs $dir"
18465                      fi
18466                                                                  haveit=
18467                      for x in $ltrpathdirs; do
18468                        if test "X$x" = "X$dir"; then
18469                          haveit=yes
18470                          break
18471                        fi
18472                      done
18473                      if test -z "$haveit"; then
18474                        ltrpathdirs="$ltrpathdirs $dir"
18475                      fi
18476                    fi
18477                    ;;
18478                  -l*)
18479                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18480                    ;;
18481                  *.la)
18482                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18483                    ;;
18484                  *)
18485                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
18486                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
18487                    ;;
18488                esac
18489              done
18490            fi
18491          else
18492                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
18493            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
18494          fi
18495        fi
18496      fi
18497    done
18498  done
18499  if test "X$rpathdirs" != "X"; then
18500    if test -n "$acl_hardcode_libdir_separator"; then
18501                        alldirs=
18502      for found_dir in $rpathdirs; do
18503        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18504      done
18505            acl_save_libdir="$libdir"
18506      libdir="$alldirs"
18507      eval flag=\"$acl_hardcode_libdir_flag_spec\"
18508      libdir="$acl_save_libdir"
18509      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
18510    else
18511            for found_dir in $rpathdirs; do
18512        acl_save_libdir="$libdir"
18513        libdir="$found_dir"
18514        eval flag=\"$acl_hardcode_libdir_flag_spec\"
18515        libdir="$acl_save_libdir"
18516        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
18517      done
18518    fi
18519  fi
18520  if test "X$ltrpathdirs" != "X"; then
18521            for found_dir in $ltrpathdirs; do
18522      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
18523    done
18524  fi
18525
18526
18527
18528
18529
18530
18531          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
18532$as_echo_n "checking for GNU gettext in libintl... " >&6; }
18533if eval \${$gt_func_gnugettext_libintl+:} false; then :
18534  $as_echo_n "(cached) " >&6
18535else
18536  gt_save_CPPFLAGS="$CPPFLAGS"
18537            CPPFLAGS="$CPPFLAGS $INCINTL"
18538            gt_save_LIBS="$LIBS"
18539            LIBS="$LIBS $LIBINTL"
18540                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18541/* end confdefs.h.  */
18542
18543#include <libintl.h>
18544$gt_revision_test_code
18545extern int _nl_msg_cat_cntr;
18546extern
18547#ifdef __cplusplus
18548"C"
18549#endif
18550const char *_nl_expand_alias (const char *);
18551
18552int
18553main ()
18554{
18555
18556bindtextdomain ("", "");
18557return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
18558
18559  ;
18560  return 0;
18561}
18562_ACEOF
18563if ac_fn_c_try_link "$LINENO"; then :
18564  eval "$gt_func_gnugettext_libintl=yes"
18565else
18566  eval "$gt_func_gnugettext_libintl=no"
18567fi
18568rm -f core conftest.err conftest.$ac_objext \
18569    conftest$ac_exeext conftest.$ac_ext
18570                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
18571              LIBS="$LIBS $LIBICONV"
18572              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18573/* end confdefs.h.  */
18574
18575#include <libintl.h>
18576$gt_revision_test_code
18577extern int _nl_msg_cat_cntr;
18578extern
18579#ifdef __cplusplus
18580"C"
18581#endif
18582const char *_nl_expand_alias (const char *);
18583
18584int
18585main ()
18586{
18587
18588bindtextdomain ("", "");
18589return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
18590
18591  ;
18592  return 0;
18593}
18594_ACEOF
18595if ac_fn_c_try_link "$LINENO"; then :
18596  LIBINTL="$LIBINTL $LIBICONV"
18597                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
18598                 eval "$gt_func_gnugettext_libintl=yes"
18599
18600fi
18601rm -f core conftest.err conftest.$ac_objext \
18602    conftest$ac_exeext conftest.$ac_ext
18603            fi
18604            CPPFLAGS="$gt_save_CPPFLAGS"
18605            LIBS="$gt_save_LIBS"
18606fi
18607eval ac_res=\$$gt_func_gnugettext_libintl
18608	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18609$as_echo "$ac_res" >&6; }
18610        fi
18611
18612                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
18613           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
18614                && test "$PACKAGE" != gettext-runtime \
18615                && test "$PACKAGE" != gettext-tools; }; then
18616          gt_use_preinstalled_gnugettext=yes
18617        else
18618                    LIBINTL=
18619          LTLIBINTL=
18620          INCINTL=
18621        fi
18622
18623
18624
18625    if test -n "$INTL_MACOSX_LIBS"; then
18626      if test "$gt_use_preinstalled_gnugettext" = "yes" \
18627         || test "$nls_cv_use_gnu_gettext" = "yes"; then
18628                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
18629        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
18630      fi
18631    fi
18632
18633    if test "$gt_use_preinstalled_gnugettext" = "yes" \
18634       || test "$nls_cv_use_gnu_gettext" = "yes"; then
18635
18636$as_echo "#define ENABLE_NLS 1" >>confdefs.h
18637
18638    else
18639      USE_NLS=no
18640    fi
18641  fi
18642
18643  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
18644$as_echo_n "checking whether to use NLS... " >&6; }
18645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
18646$as_echo "$USE_NLS" >&6; }
18647  if test "$USE_NLS" = "yes"; then
18648    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
18649$as_echo_n "checking where the gettext function comes from... " >&6; }
18650    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
18651      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
18652        gt_source="external libintl"
18653      else
18654        gt_source="libc"
18655      fi
18656    else
18657      gt_source="included intl directory"
18658    fi
18659    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
18660$as_echo "$gt_source" >&6; }
18661  fi
18662
18663  if test "$USE_NLS" = "yes"; then
18664
18665    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
18666      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
18667        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
18668$as_echo_n "checking how to link with libintl... " >&6; }
18669        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
18670$as_echo "$LIBINTL" >&6; }
18671
18672  for element in $INCINTL; do
18673    haveit=
18674    for x in $CPPFLAGS; do
18675
18676  acl_save_prefix="$prefix"
18677  prefix="$acl_final_prefix"
18678  acl_save_exec_prefix="$exec_prefix"
18679  exec_prefix="$acl_final_exec_prefix"
18680  eval x=\"$x\"
18681  exec_prefix="$acl_save_exec_prefix"
18682  prefix="$acl_save_prefix"
18683
18684      if test "X$x" = "X$element"; then
18685        haveit=yes
18686        break
18687      fi
18688    done
18689    if test -z "$haveit"; then
18690      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
18691    fi
18692  done
18693
18694      fi
18695
18696
18697$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
18698
18699
18700$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
18701
18702    fi
18703
18704        POSUB=po
18705  fi
18706
18707
18708
18709    INTLLIBS="$LIBINTL"
18710
18711
18712
18713
18714
18715
18716
18717if test -d "$srcdir/po"; then :
18718
18719  ALL_LINGUAS=`cd $srcdir/po > /dev/null && echo *.po | sed 's/\.po//g'`
18720
18721else
18722
18723  ALL_LINGUAS="af am ar as be bg bn_IN bn ca cs cy da de el en_GB es et eu_ES fa fi fr gl gu he hi hr hu hy id is it ja ka kn ko ku lo lt lv mk ml mr ms my nb nl nn no nso or pa pl pt_BR pt ro ru si sk sl sq sr@Latn sr sv ta te th tr uk ur vi zh_CN zh_TW zu"
18724
18725fi
18726
18727for ac_header in linux/compiler.h linux/blkpg.h linux/major.h
18728do :
18729  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18730ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
18731#ifdef HAVE_LINUX_COMPILER_H
18732#include <linux/compiler.h>
18733#endif
18734
18735"
18736if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18737  cat >>confdefs.h <<_ACEOF
18738#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18739_ACEOF
18740
18741fi
18742
18743done
18744
18745for ac_header in  \
18746	asm/io.h \
18747	err.h \
18748	errno.h \
18749	fcntl.h \
18750	getopt.h \
18751	inttypes.h \
18752	lastlog.h \
18753	libutil.h \
18754	linux/btrfs.h \
18755	linux/cdrom.h \
18756	linux/falloc.h \
18757	linux/watchdog.h \
18758	linux/fd.h \
18759	linux/raw.h \
18760	linux/tiocl.h \
18761	linux/version.h \
18762	linux/securebits.h \
18763	linux/net_namespace.h \
18764	linux/capability.h \
18765	locale.h \
18766	mntent.h \
18767	net/if.h \
18768	net/if_dl.h \
18769	netinet/in.h \
18770	paths.h \
18771	pty.h \
18772	security/pam_appl.h \
18773	stdint.h \
18774	stdio_ext.h \
18775	stdlib.h \
18776	endian.h \
18777	byteswap.h \
18778	sys/endian.h \
18779	sys/disk.h \
18780	sys/disklabel.h \
18781	sys/file.h \
18782	sys/io.h \
18783	sys/ioccom.h \
18784	sys/ioctl.h \
18785	sys/mkdev.h \
18786	sys/mount.h \
18787	sys/param.h \
18788	sys/prctl.h \
18789	sys/resource.h \
18790	sys/signalfd.h \
18791	sys/socket.h \
18792	sys/sockio.h \
18793	sys/stat.h \
18794	sys/sysmacros.h \
18795	sys/swap.h \
18796	sys/syscall.h \
18797	sys/time.h \
18798	sys/timex.h \
18799	sys/ttydefaults.h \
18800	sys/types.h \
18801	sys/ucred.h \
18802	sys/un.h \
18803	unistd.h \
18804	shadow.h \
18805	utmp.h \
18806	utmpx.h \
18807
18808do :
18809  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18810ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18811if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18812  cat >>confdefs.h <<_ACEOF
18813#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18814_ACEOF
18815
18816fi
18817
18818done
18819
18820
18821# There is a collision in old kernel-headers. The both files mount.h and fs.h
18822# define MS_* macros. Fixed by kernel commit e462ec50cb5fad19f6003a3d8087f4a0945dd2b1.
18823#
18824for ac_header in linux/fs.h
18825do :
18826  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18827ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_MOUNT_H
18828   # include <linux/fs.h>
18829   # include <sys/mount.h>
18830  #endif
18831
18832"
18833if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18834  cat >>confdefs.h <<_ACEOF
18835#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18836_ACEOF
18837
18838fi
18839
18840done
18841
18842
18843for ac_header in linux/gsmmux.h
18844do :
18845  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18846ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef LINUX_GSMMUX_H
18847   # include <linux/gsmmux.h>
18848   #endif
18849
18850"
18851if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18852  cat >>confdefs.h <<_ACEOF
18853#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18854_ACEOF
18855
18856fi
18857
18858done
18859
18860
18861for ac_header in security/pam_misc.h
18862do :
18863  ac_fn_c_check_header_compile "$LINENO" "security/pam_misc.h" "ac_cv_header_security_pam_misc_h" "
18864#ifdef HAVE_SECURITY_PAM_APPL_H
18865#include <security/pam_appl.h>
18866#endif
18867
18868"
18869if test "x$ac_cv_header_security_pam_misc_h" = xyes; then :
18870  cat >>confdefs.h <<_ACEOF
18871#define HAVE_SECURITY_PAM_MISC_H 1
18872_ACEOF
18873  if true; then
18874  HAVE_LINUXPAM_TRUE=
18875  HAVE_LINUXPAM_FALSE='#'
18876else
18877  HAVE_LINUXPAM_TRUE='#'
18878  HAVE_LINUXPAM_FALSE=
18879fi
18880
18881else
18882   if false; then
18883  HAVE_LINUXPAM_TRUE=
18884  HAVE_LINUXPAM_FALSE='#'
18885else
18886  HAVE_LINUXPAM_TRUE='#'
18887  HAVE_LINUXPAM_FALSE=
18888fi
18889
18890fi
18891
18892done
18893
18894
18895for ac_header in linux/blkzoned.h
18896do :
18897  ac_fn_c_check_header_mongrel "$LINENO" "linux/blkzoned.h" "ac_cv_header_linux_blkzoned_h" "$ac_includes_default"
18898if test "x$ac_cv_header_linux_blkzoned_h" = xyes; then :
18899  cat >>confdefs.h <<_ACEOF
18900#define HAVE_LINUX_BLKZONED_H 1
18901_ACEOF
18902
18903fi
18904
18905done
18906
18907
18908for ac_header in security/openpam.h
18909do :
18910  ac_fn_c_check_header_compile "$LINENO" "security/openpam.h" "ac_cv_header_security_openpam_h" "
18911#ifdef HAVE_SECURITY_PAM_APPL_H
18912#include <security/pam_appl.h>
18913#endif
18914
18915"
18916if test "x$ac_cv_header_security_openpam_h" = xyes; then :
18917  cat >>confdefs.h <<_ACEOF
18918#define HAVE_SECURITY_OPENPAM_H 1
18919_ACEOF
18920
18921fi
18922
18923done
18924
18925
18926for ac_header in langinfo.h
18927do :
18928  ac_fn_c_check_header_mongrel "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$ac_includes_default"
18929if test "x$ac_cv_header_langinfo_h" = xyes; then :
18930  cat >>confdefs.h <<_ACEOF
18931#define HAVE_LANGINFO_H 1
18932_ACEOF
18933  if true; then
18934  HAVE_LANGINFO_H_TRUE=
18935  HAVE_LANGINFO_H_FALSE='#'
18936else
18937  HAVE_LANGINFO_H_TRUE='#'
18938  HAVE_LANGINFO_H_FALSE=
18939fi
18940
18941else
18942   if false; then
18943  HAVE_LANGINFO_H_TRUE=
18944  HAVE_LANGINFO_H_FALSE='#'
18945else
18946  HAVE_LANGINFO_H_TRUE='#'
18947  HAVE_LANGINFO_H_FALSE=
18948fi
18949
18950fi
18951
18952done
18953
18954
18955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ALTMON_x constants" >&5
18956$as_echo_n "checking whether langinfo.h defines ALTMON_x constants... " >&6; }
18957cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18958/* end confdefs.h.  */
18959
18960	#include <langinfo.h>
18961
18962int
18963main ()
18964{
18965
18966	char *str;
18967	str = nl_langinfo (ALTMON_1);
18968	str = nl_langinfo (ALTMON_2);
18969	str = nl_langinfo (ALTMON_3);
18970	str = nl_langinfo (ALTMON_4);
18971	str = nl_langinfo (ALTMON_5);
18972	str = nl_langinfo (ALTMON_6);
18973	str = nl_langinfo (ALTMON_7);
18974	str = nl_langinfo (ALTMON_8);
18975	str = nl_langinfo (ALTMON_9);
18976	str = nl_langinfo (ALTMON_10);
18977	str = nl_langinfo (ALTMON_11);
18978	str = nl_langinfo (ALTMON_12);
18979
18980  ;
18981  return 0;
18982}
18983_ACEOF
18984if ac_fn_c_try_compile "$LINENO"; then :
18985
18986	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18987$as_echo "yes" >&6; }
18988
18989$as_echo "#define HAVE_LANGINFO_ALTMON 1" >>confdefs.h
18990
18991
18992else
18993
18994	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18995$as_echo "no" >&6; }
18996
18997fi
18998rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18999
19000
19001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines _NL_ABALTMON_x constants" >&5
19002$as_echo_n "checking whether langinfo.h defines _NL_ABALTMON_x constants... " >&6; }
19003cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19004/* end confdefs.h.  */
19005
19006	#include <langinfo.h>
19007
19008int
19009main ()
19010{
19011
19012	char *str;
19013	str = nl_langinfo (_NL_ABALTMON_1);
19014	str = nl_langinfo (_NL_ABALTMON_2);
19015	str = nl_langinfo (_NL_ABALTMON_3);
19016	str = nl_langinfo (_NL_ABALTMON_4);
19017	str = nl_langinfo (_NL_ABALTMON_5);
19018	str = nl_langinfo (_NL_ABALTMON_6);
19019	str = nl_langinfo (_NL_ABALTMON_7);
19020	str = nl_langinfo (_NL_ABALTMON_8);
19021	str = nl_langinfo (_NL_ABALTMON_9);
19022	str = nl_langinfo (_NL_ABALTMON_10);
19023	str = nl_langinfo (_NL_ABALTMON_11);
19024	str = nl_langinfo (_NL_ABALTMON_12);
19025
19026  ;
19027  return 0;
19028}
19029_ACEOF
19030if ac_fn_c_try_compile "$LINENO"; then :
19031
19032	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19033$as_echo "yes" >&6; }
19034
19035$as_echo "#define HAVE_LANGINFO_NL_ABALTMON 1" >>confdefs.h
19036
19037
19038else
19039
19040	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19041$as_echo "no" >&6; }
19042
19043fi
19044rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19045
19046
19047have_linux_version_h=$ac_cv_header_linux_version_h
19048have_linux_blkzoned_h=$ac_cv_header_linux_blkzoned_h
19049have_linux_btrfs_h=$ac_cv_header_linux_btrfs_h
19050have_linux_raw_h=$ac_cv_header_linux_raw_h
19051have_linux_securebits_h=$ac_cv_header_linux_securebits_h
19052have_linux_capability_h=$ac_cv_header_linux_capability_h
19053have_linux_watchdog_h=$ac_cv_header_linux_watchdog_h
19054have_security_pam_appl_h=$ac_cv_header_security_pam_appl_h
19055have_security_pam_misc_h=$ac_cv_header_security_pam_misc_h
19056have_security_openpam_h=$ac_cv_header_security_openpam_h
19057have_shadow_h=$ac_cv_header_shadow_h
19058have_sys_signalfd_h=$ac_cv_header_sys_signalfd_h
19059have_utmpx_h=$ac_cv_header_utmpx_h
19060have_pty_h=$ac_cv_header_pty_h
19061
19062case $linux_os:$have_linux_version_h in #(
19063  yes:no) :
19064    as_fn_error $? "kernel headers required on Linux" "$LINENO" 5
19065 ;; #(
19066  *) :
19067     ;;
19068esac
19069
19070cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19071/* end confdefs.h.  */
19072
19073#include <time.h>
19074#include <unistd.h>
19075
19076int
19077main ()
19078{
19079
19080    int a = 0;
19081    struct tm *tm = localtime(0);
19082    if (a == -1)  /* false */
19083	sleep(tm->tm_gmtoff);
19084
19085  ;
19086  return 0;
19087}
19088_ACEOF
19089if ac_fn_c_try_compile "$LINENO"; then :
19090
19091$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
19092
19093
19094fi
19095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19096
19097ac_fn_c_check_member "$LINENO" "struct termios" "c_line" "ac_cv_member_struct_termios_c_line" "#include <termios.h>
19098"
19099if test "x$ac_cv_member_struct_termios_c_line" = xyes; then :
19100
19101cat >>confdefs.h <<_ACEOF
19102#define HAVE_STRUCT_TERMIOS_C_LINE 1
19103_ACEOF
19104
19105
19106fi
19107
19108
19109ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim.tv_nsec" "ac_cv_member_struct_stat_st_mtim_tv_nsec" "#include <sys/stat.h>
19110"
19111if test "x$ac_cv_member_struct_stat_st_mtim_tv_nsec" = xyes; then :
19112
19113cat >>confdefs.h <<_ACEOF
19114#define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
19115_ACEOF
19116
19117
19118fi
19119
19120
19121ac_fn_c_check_decl "$LINENO" "_NL_TIME_WEEK_1STDAY" "ac_cv_have_decl__NL_TIME_WEEK_1STDAY" "#include <langinfo.h>
19122"
19123if test "x$ac_cv_have_decl__NL_TIME_WEEK_1STDAY" = xyes; then :
19124  ac_have_decl=1
19125else
19126  ac_have_decl=0
19127fi
19128
19129cat >>confdefs.h <<_ACEOF
19130#define HAVE_DECL__NL_TIME_WEEK_1STDAY $ac_have_decl
19131_ACEOF
19132
19133
19134ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
19135if test "x$ac_cv_have_decl_environ" = xyes; then :
19136
19137$as_echo "#define HAVE_ENVIRON_DECL 1" >>confdefs.h
19138
19139fi
19140
19141
19142ac_fn_c_check_decl "$LINENO" "strsignal" "ac_cv_have_decl_strsignal" "$ac_includes_default"
19143if test "x$ac_cv_have_decl_strsignal" = xyes; then :
19144
19145$as_echo "#define HAVE_STRSIGNAL_DECL 1" >>confdefs.h
19146
19147fi
19148
19149
19150ac_fn_c_check_decl "$LINENO" "TIOCGLCKTRMIOS" "ac_cv_have_decl_TIOCGLCKTRMIOS" "#include <sys/ioctl.h>
19151"
19152if test "x$ac_cv_have_decl_TIOCGLCKTRMIOS" = xyes; then :
19153  have_tiocglcktrmios=yes
19154else
19155  have_tiocglcktrmios=no
19156fi
19157
19158ac_fn_c_check_decl "$LINENO" "SOCK_CLOEXEC" "ac_cv_have_decl_SOCK_CLOEXEC" "#include <sys/types.h>
19159               #include <sys/socket.h>
19160"
19161if test "x$ac_cv_have_decl_SOCK_CLOEXEC" = xyes; then :
19162  have_sock_cloexec=yes
19163else
19164  have_sock_cloexec=no
19165fi
19166
19167ac_fn_c_check_decl "$LINENO" "SOCK_NONBLOCK" "ac_cv_have_decl_SOCK_NONBLOCK" "#include <sys/types.h>
19168               #include <sys/socket.h>
19169"
19170if test "x$ac_cv_have_decl_SOCK_NONBLOCK" = xyes; then :
19171  have_sock_nonblock=yes
19172else
19173  have_sock_nonblock=no
19174fi
19175
19176ac_fn_c_check_decl "$LINENO" "SO_PASSCRED" "ac_cv_have_decl_SO_PASSCRED" "#include <sys/types.h>
19177               #include <sys/socket.h>
19178"
19179if test "x$ac_cv_have_decl_SO_PASSCRED" = xyes; then :
19180  have_so_passcred=yes
19181else
19182  have_so_passcred=no
19183fi
19184
19185
19186for ac_func in  \
19187	clearenv \
19188	__fpurge \
19189	fpurge \
19190	__fpending \
19191	secure_getenv \
19192	__secure_getenv \
19193	eaccess \
19194	err \
19195	errx \
19196	explicit_bzero \
19197	fmemopen \
19198	fsync \
19199	utimensat \
19200	getdomainname \
19201	getdtablesize \
19202	getexecname \
19203	getmntinfo \
19204	getrandom \
19205	getrlimit \
19206	getsgnam \
19207	inotify_init \
19208	jrand48 \
19209	lchown \
19210	llseek \
19211	mempcpy \
19212	mkostemp \
19213	nanosleep \
19214	ntp_gettime \
19215	personality \
19216	pidfd_open \
19217	pidfd_send_signal \
19218	posix_fadvise \
19219	prctl \
19220	qsort_r \
19221	rpmatch \
19222	scandirat \
19223	setprogname \
19224	setresgid \
19225	setresuid \
19226	sched_setattr \
19227	sched_setscheduler \
19228	sigqueue \
19229	srandom \
19230	strnchr \
19231	strndup \
19232	strnlen \
19233	sysconf \
19234	sysinfo \
19235	timegm \
19236	usleep \
19237	vwarnx \
19238	warn \
19239	warnx \
19240
19241do :
19242  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19243ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19244if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19245  cat >>confdefs.h <<_ACEOF
19246#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19247_ACEOF
19248
19249fi
19250done
19251
19252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19253$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
19254if ${ac_cv_sys_largefile_source+:} false; then :
19255  $as_echo_n "(cached) " >&6
19256else
19257  while :; do
19258  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19259/* end confdefs.h.  */
19260#include <sys/types.h> /* for off_t */
19261     #include <stdio.h>
19262int
19263main ()
19264{
19265int (*fp) (FILE *, off_t, int) = fseeko;
19266     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
19267  ;
19268  return 0;
19269}
19270_ACEOF
19271if ac_fn_c_try_link "$LINENO"; then :
19272  ac_cv_sys_largefile_source=no; break
19273fi
19274rm -f core conftest.err conftest.$ac_objext \
19275    conftest$ac_exeext conftest.$ac_ext
19276  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19277/* end confdefs.h.  */
19278#define _LARGEFILE_SOURCE 1
19279#include <sys/types.h> /* for off_t */
19280     #include <stdio.h>
19281int
19282main ()
19283{
19284int (*fp) (FILE *, off_t, int) = fseeko;
19285     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
19286  ;
19287  return 0;
19288}
19289_ACEOF
19290if ac_fn_c_try_link "$LINENO"; then :
19291  ac_cv_sys_largefile_source=1; break
19292fi
19293rm -f core conftest.err conftest.$ac_objext \
19294    conftest$ac_exeext conftest.$ac_ext
19295  ac_cv_sys_largefile_source=unknown
19296  break
19297done
19298fi
19299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
19300$as_echo "$ac_cv_sys_largefile_source" >&6; }
19301case $ac_cv_sys_largefile_source in #(
19302  no | unknown) ;;
19303  *)
19304cat >>confdefs.h <<_ACEOF
19305#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
19306_ACEOF
19307;;
19308esac
19309rm -rf conftest*
19310
19311# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
19312# in glibc 2.1.3, but that breaks too many other things.
19313# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
19314if test $ac_cv_sys_largefile_source != unknown; then
19315
19316$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
19317
19318fi
19319
19320
19321for ac_func in openat fstatat unlinkat
19322do :
19323  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19324ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19325if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19326  cat >>confdefs.h <<_ACEOF
19327#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19328_ACEOF
19329 have_openat=yes
19330else
19331  have_openat=no
19332fi
19333done
19334
19335for ac_func in ioperm iopl
19336do :
19337  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19338ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19339if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19340  cat >>confdefs.h <<_ACEOF
19341#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19342_ACEOF
19343 have_io=yes
19344fi
19345done
19346
19347for ac_func in futimens
19348do :
19349  ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19350if test "x$ac_cv_func_futimens" = xyes; then :
19351  cat >>confdefs.h <<_ACEOF
19352#define HAVE_FUTIMENS 1
19353_ACEOF
19354 have_futimens=yes
19355fi
19356done
19357
19358for ac_func in inotify_init1
19359do :
19360  ac_fn_c_check_func "$LINENO" "inotify_init1" "ac_cv_func_inotify_init1"
19361if test "x$ac_cv_func_inotify_init1" = xyes; then :
19362  cat >>confdefs.h <<_ACEOF
19363#define HAVE_INOTIFY_INIT1 1
19364_ACEOF
19365 have_inotify_init1=yes
19366fi
19367done
19368
19369for ac_func in open_memstream
19370do :
19371  ac_fn_c_check_func "$LINENO" "open_memstream" "ac_cv_func_open_memstream"
19372if test "x$ac_cv_func_open_memstream" = xyes; then :
19373  cat >>confdefs.h <<_ACEOF
19374#define HAVE_OPEN_MEMSTREAM 1
19375_ACEOF
19376 have_open_memstream=yes
19377else
19378  have_open_memstream=no
19379fi
19380done
19381
19382for ac_func in reboot
19383do :
19384  ac_fn_c_check_func "$LINENO" "reboot" "ac_cv_func_reboot"
19385if test "x$ac_cv_func_reboot" = xyes; then :
19386  cat >>confdefs.h <<_ACEOF
19387#define HAVE_REBOOT 1
19388_ACEOF
19389 have_reboot=yes
19390else
19391  have_reboot=no
19392fi
19393done
19394
19395for ac_func in updwtmpx updwtmpx
19396do :
19397  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19398ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19399if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19400  cat >>confdefs.h <<_ACEOF
19401#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19402_ACEOF
19403 have_gnu_utmpx=yes
19404else
19405  have_gnu_utmpx=no
19406fi
19407done
19408
19409for ac_func in getusershell
19410do :
19411  ac_fn_c_check_func "$LINENO" "getusershell" "ac_cv_func_getusershell"
19412if test "x$ac_cv_func_getusershell" = xyes; then :
19413  cat >>confdefs.h <<_ACEOF
19414#define HAVE_GETUSERSHELL 1
19415_ACEOF
19416 have_getusershell=yes
19417else
19418  have_getusershell=no
19419fi
19420done
19421
19422
19423 if test "x$have_openat" = xyes; then
19424  HAVE_OPENAT_TRUE=
19425  HAVE_OPENAT_FALSE='#'
19426else
19427  HAVE_OPENAT_TRUE='#'
19428  HAVE_OPENAT_FALSE=
19429fi
19430
19431
19432have_setns_syscall="yes"
19433
19434
19435  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall setns" >&5
19436$as_echo_n "checking for syscall setns... " >&6; }
19437if ${ul_cv_syscall_setns+:} false; then :
19438  $as_echo_n "(cached) " >&6
19439else
19440  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19441/* end confdefs.h.  */
19442
19443#include <sys/syscall.h>
19444#include <unistd.h>
19445
19446int
19447main ()
19448{
19449int test = SYS_setns;
19450  ;
19451  return 0;
19452}
19453_ACEOF
19454if ac_fn_c_try_compile "$LINENO"; then :
19455  syscall=SYS_setns
19456else
19457              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19458/* end confdefs.h.  */
19459
19460#include <sys/syscall.h>
19461#include <unistd.h>
19462
19463int
19464main ()
19465{
19466int test = __NR_setns;
19467  ;
19468  return 0;
19469}
19470_ACEOF
19471if ac_fn_c_try_compile "$LINENO"; then :
19472  syscall=__NR_setns
19473else
19474
19475	  syscall=no
19476	  if test "x$linux_os" = xyes; then
19477	    case $host_cpu in
19478
19479	    esac
19480	  fi
19481
19482fi
19483rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19484
19485
19486fi
19487rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19488
19489    ul_cv_syscall_setns=$syscall
19490
19491fi
19492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_setns" >&5
19493$as_echo "$ul_cv_syscall_setns" >&6; }
19494  case $ul_cv_syscall_setns in #(
19495  no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall setns." >&5
19496$as_echo "$as_me: WARNING: Unable to detect syscall setns." >&2;} ;;
19497  SYS_*) ;;
19498  *)
19499cat >>confdefs.h <<_ACEOF
19500#define SYS_setns $ul_cv_syscall_setns
19501_ACEOF
19502 ;;
19503  esac
19504
19505if test "x$ul_cv_syscall_setns" = xno; then :
19506
19507   have_setns_syscall="no"
19508
19509fi
19510
19511
19512
19513  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall pidfd_open" >&5
19514$as_echo_n "checking for syscall pidfd_open... " >&6; }
19515if ${ul_cv_syscall_pidfd_open+:} false; then :
19516  $as_echo_n "(cached) " >&6
19517else
19518  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19519/* end confdefs.h.  */
19520
19521#include <sys/syscall.h>
19522#include <unistd.h>
19523
19524int
19525main ()
19526{
19527int test = SYS_pidfd_open;
19528  ;
19529  return 0;
19530}
19531_ACEOF
19532if ac_fn_c_try_compile "$LINENO"; then :
19533  syscall=SYS_pidfd_open
19534else
19535              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19536/* end confdefs.h.  */
19537
19538#include <sys/syscall.h>
19539#include <unistd.h>
19540
19541int
19542main ()
19543{
19544int test = __NR_pidfd_open;
19545  ;
19546  return 0;
19547}
19548_ACEOF
19549if ac_fn_c_try_compile "$LINENO"; then :
19550  syscall=__NR_pidfd_open
19551else
19552
19553	  syscall=no
19554	  if test "x$linux_os" = xyes; then
19555	    case $host_cpu in
19556
19557	    esac
19558	  fi
19559
19560fi
19561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19562
19563
19564fi
19565rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19566
19567    ul_cv_syscall_pidfd_open=$syscall
19568
19569fi
19570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_pidfd_open" >&5
19571$as_echo "$ul_cv_syscall_pidfd_open" >&6; }
19572  case $ul_cv_syscall_pidfd_open in #(
19573  no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall pidfd_open." >&5
19574$as_echo "$as_me: WARNING: Unable to detect syscall pidfd_open." >&2;} ;;
19575  SYS_*) ;;
19576  *)
19577cat >>confdefs.h <<_ACEOF
19578#define SYS_pidfd_open $ul_cv_syscall_pidfd_open
19579_ACEOF
19580 ;;
19581  esac
19582
19583
19584
19585  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall pidfd_send_signal" >&5
19586$as_echo_n "checking for syscall pidfd_send_signal... " >&6; }
19587if ${ul_cv_syscall_pidfd_send_signal+:} false; then :
19588  $as_echo_n "(cached) " >&6
19589else
19590  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19591/* end confdefs.h.  */
19592
19593#include <sys/syscall.h>
19594#include <unistd.h>
19595
19596int
19597main ()
19598{
19599int test = SYS_pidfd_send_signal;
19600  ;
19601  return 0;
19602}
19603_ACEOF
19604if ac_fn_c_try_compile "$LINENO"; then :
19605  syscall=SYS_pidfd_send_signal
19606else
19607              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19608/* end confdefs.h.  */
19609
19610#include <sys/syscall.h>
19611#include <unistd.h>
19612
19613int
19614main ()
19615{
19616int test = __NR_pidfd_send_signal;
19617  ;
19618  return 0;
19619}
19620_ACEOF
19621if ac_fn_c_try_compile "$LINENO"; then :
19622  syscall=__NR_pidfd_send_signal
19623else
19624
19625	  syscall=no
19626	  if test "x$linux_os" = xyes; then
19627	    case $host_cpu in
19628
19629	    esac
19630	  fi
19631
19632fi
19633rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19634
19635
19636fi
19637rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19638
19639    ul_cv_syscall_pidfd_send_signal=$syscall
19640
19641fi
19642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_pidfd_send_signal" >&5
19643$as_echo "$ul_cv_syscall_pidfd_send_signal" >&6; }
19644  case $ul_cv_syscall_pidfd_send_signal in #(
19645  no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall pidfd_send_signal." >&5
19646$as_echo "$as_me: WARNING: Unable to detect syscall pidfd_send_signal." >&2;} ;;
19647  SYS_*) ;;
19648  *)
19649cat >>confdefs.h <<_ACEOF
19650#define SYS_pidfd_send_signal $ul_cv_syscall_pidfd_send_signal
19651_ACEOF
19652 ;;
19653  esac
19654
19655
19656for ac_func in isnan
19657do :
19658  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19659if test "x$ac_cv_func_isnan" = xyes; then :
19660  cat >>confdefs.h <<_ACEOF
19661#define HAVE_ISNAN 1
19662_ACEOF
19663
19664else
19665  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5
19666$as_echo_n "checking for isnan in -lm... " >&6; }
19667if ${ac_cv_lib_m_isnan+:} false; then :
19668  $as_echo_n "(cached) " >&6
19669else
19670  ac_check_lib_save_LIBS=$LIBS
19671LIBS="-lm  $LIBS"
19672cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19673/* end confdefs.h.  */
19674
19675/* Override any GCC internal prototype to avoid an error.
19676   Use char because int might match the return type of a GCC
19677   builtin and then its argument prototype would still apply.  */
19678#ifdef __cplusplus
19679extern "C"
19680#endif
19681char isnan ();
19682int
19683main ()
19684{
19685return isnan ();
19686  ;
19687  return 0;
19688}
19689_ACEOF
19690if ac_fn_c_try_link "$LINENO"; then :
19691  ac_cv_lib_m_isnan=yes
19692else
19693  ac_cv_lib_m_isnan=no
19694fi
19695rm -f core conftest.err conftest.$ac_objext \
19696    conftest$ac_exeext conftest.$ac_ext
19697LIBS=$ac_check_lib_save_LIBS
19698fi
19699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5
19700$as_echo "$ac_cv_lib_m_isnan" >&6; }
19701if test "x$ac_cv_lib_m_isnan" = xyes; then :
19702  MATH_LIBS="-lm"
19703fi
19704
19705	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __isnan in -lm" >&5
19706$as_echo_n "checking for __isnan in -lm... " >&6; }
19707if ${ac_cv_lib_m___isnan+:} false; then :
19708  $as_echo_n "(cached) " >&6
19709else
19710  ac_check_lib_save_LIBS=$LIBS
19711LIBS="-lm  $LIBS"
19712cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19713/* end confdefs.h.  */
19714
19715/* Override any GCC internal prototype to avoid an error.
19716   Use char because int might match the return type of a GCC
19717   builtin and then its argument prototype would still apply.  */
19718#ifdef __cplusplus
19719extern "C"
19720#endif
19721char __isnan ();
19722int
19723main ()
19724{
19725return __isnan ();
19726  ;
19727  return 0;
19728}
19729_ACEOF
19730if ac_fn_c_try_link "$LINENO"; then :
19731  ac_cv_lib_m___isnan=yes
19732else
19733  ac_cv_lib_m___isnan=no
19734fi
19735rm -f core conftest.err conftest.$ac_objext \
19736    conftest$ac_exeext conftest.$ac_ext
19737LIBS=$ac_check_lib_save_LIBS
19738fi
19739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___isnan" >&5
19740$as_echo "$ac_cv_lib_m___isnan" >&6; }
19741if test "x$ac_cv_lib_m___isnan" = xyes; then :
19742  MATH_LIBS="-lm"
19743fi
19744
19745
19746fi
19747done
19748
19749
19750
19751
19752for ac_func in clock_gettime
19753do :
19754  ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
19755if test "x$ac_cv_func_clock_gettime" = xyes; then :
19756  cat >>confdefs.h <<_ACEOF
19757#define HAVE_CLOCK_GETTIME 1
19758_ACEOF
19759
19760else
19761  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
19762$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
19763if ${ac_cv_lib_rt_clock_gettime+:} false; then :
19764  $as_echo_n "(cached) " >&6
19765else
19766  ac_check_lib_save_LIBS=$LIBS
19767LIBS="-lrt  $LIBS"
19768cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769/* end confdefs.h.  */
19770
19771/* Override any GCC internal prototype to avoid an error.
19772   Use char because int might match the return type of a GCC
19773   builtin and then its argument prototype would still apply.  */
19774#ifdef __cplusplus
19775extern "C"
19776#endif
19777char clock_gettime ();
19778int
19779main ()
19780{
19781return clock_gettime ();
19782  ;
19783  return 0;
19784}
19785_ACEOF
19786if ac_fn_c_try_link "$LINENO"; then :
19787  ac_cv_lib_rt_clock_gettime=yes
19788else
19789  ac_cv_lib_rt_clock_gettime=no
19790fi
19791rm -f core conftest.err conftest.$ac_objext \
19792    conftest$ac_exeext conftest.$ac_ext
19793LIBS=$ac_check_lib_save_LIBS
19794fi
19795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
19796$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
19797if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
19798  REALTIME_LIBS="-lrt"
19799fi
19800
19801
19802fi
19803done
19804
19805
19806have_timer="no"
19807for ac_func in timer_create
19808do :
19809  ac_fn_c_check_func "$LINENO" "timer_create" "ac_cv_func_timer_create"
19810if test "x$ac_cv_func_timer_create" = xyes; then :
19811  cat >>confdefs.h <<_ACEOF
19812#define HAVE_TIMER_CREATE 1
19813_ACEOF
19814 have_timer="yes"
19815else
19816  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timer_create in -lrt" >&5
19817$as_echo_n "checking for timer_create in -lrt... " >&6; }
19818if ${ac_cv_lib_rt_timer_create+:} false; then :
19819  $as_echo_n "(cached) " >&6
19820else
19821  ac_check_lib_save_LIBS=$LIBS
19822LIBS="-lrt  $LIBS"
19823cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19824/* end confdefs.h.  */
19825
19826/* Override any GCC internal prototype to avoid an error.
19827   Use char because int might match the return type of a GCC
19828   builtin and then its argument prototype would still apply.  */
19829#ifdef __cplusplus
19830extern "C"
19831#endif
19832char timer_create ();
19833int
19834main ()
19835{
19836return timer_create ();
19837  ;
19838  return 0;
19839}
19840_ACEOF
19841if ac_fn_c_try_link "$LINENO"; then :
19842  ac_cv_lib_rt_timer_create=yes
19843else
19844  ac_cv_lib_rt_timer_create=no
19845fi
19846rm -f core conftest.err conftest.$ac_objext \
19847    conftest$ac_exeext conftest.$ac_ext
19848LIBS=$ac_check_lib_save_LIBS
19849fi
19850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_timer_create" >&5
19851$as_echo "$ac_cv_lib_rt_timer_create" >&6; }
19852if test "x$ac_cv_lib_rt_timer_create" = xyes; then :
19853
19854		have_timer="yes"
19855		REALTIME_LIBS="-lrt"
19856
19857cat >>confdefs.h <<_ACEOF
19858#define HAVE_TIMER_CREATE 1
19859_ACEOF
19860
19861
19862else
19863
19864		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing timer_create" >&5
19865$as_echo_n "checking for library containing timer_create... " >&6; }
19866if ${ac_cv_search_timer_create+:} false; then :
19867  $as_echo_n "(cached) " >&6
19868else
19869  ac_func_search_save_LIBS=$LIBS
19870cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19871/* end confdefs.h.  */
19872
19873/* Override any GCC internal prototype to avoid an error.
19874   Use char because int might match the return type of a GCC
19875   builtin and then its argument prototype would still apply.  */
19876#ifdef __cplusplus
19877extern "C"
19878#endif
19879char timer_create ();
19880int
19881main ()
19882{
19883return timer_create ();
19884  ;
19885  return 0;
19886}
19887_ACEOF
19888for ac_lib in '' rt; do
19889  if test -z "$ac_lib"; then
19890    ac_res="none required"
19891  else
19892    ac_res=-l$ac_lib
19893    LIBS="-l$ac_lib -lpthread
19894		 $ac_func_search_save_LIBS"
19895  fi
19896  if ac_fn_c_try_link "$LINENO"; then :
19897  ac_cv_search_timer_create=$ac_res
19898fi
19899rm -f core conftest.err conftest.$ac_objext \
19900    conftest$ac_exeext
19901  if ${ac_cv_search_timer_create+:} false; then :
19902  break
19903fi
19904done
19905if ${ac_cv_search_timer_create+:} false; then :
19906
19907else
19908  ac_cv_search_timer_create=no
19909fi
19910rm conftest.$ac_ext
19911LIBS=$ac_func_search_save_LIBS
19912fi
19913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_timer_create" >&5
19914$as_echo "$ac_cv_search_timer_create" >&6; }
19915ac_res=$ac_cv_search_timer_create
19916if test "$ac_res" != no; then :
19917  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19918
19919			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19920$as_echo "yes" >&6; }
19921			have_timer="yes"
19922			REALTIME_LIBS="-lrt -lpthread"
19923
19924cat >>confdefs.h <<_ACEOF
19925#define HAVE_TIMER_CREATE 1
19926_ACEOF
19927
19928
19929fi
19930
19931
19932fi
19933
19934
19935fi
19936done
19937
19938
19939
19940
19941if test x"$have_timer" = xno; then :
19942
19943       for ac_func in setitimer
19944do :
19945  ac_fn_c_check_func "$LINENO" "setitimer" "ac_cv_func_setitimer"
19946if test "x$ac_cv_func_setitimer" = xyes; then :
19947  cat >>confdefs.h <<_ACEOF
19948#define HAVE_SETITIMER 1
19949_ACEOF
19950 have_timer="yes"
19951else
19952  have_timer="no"
19953fi
19954done
19955
19956
19957fi
19958
19959
19960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rtas_get_sysparm in -lrtas" >&5
19961$as_echo_n "checking for rtas_get_sysparm in -lrtas... " >&6; }
19962if ${ac_cv_lib_rtas_rtas_get_sysparm+:} false; then :
19963  $as_echo_n "(cached) " >&6
19964else
19965  ac_check_lib_save_LIBS=$LIBS
19966LIBS="-lrtas  $LIBS"
19967cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19968/* end confdefs.h.  */
19969
19970/* Override any GCC internal prototype to avoid an error.
19971   Use char because int might match the return type of a GCC
19972   builtin and then its argument prototype would still apply.  */
19973#ifdef __cplusplus
19974extern "C"
19975#endif
19976char rtas_get_sysparm ();
19977int
19978main ()
19979{
19980return rtas_get_sysparm ();
19981  ;
19982  return 0;
19983}
19984_ACEOF
19985if ac_fn_c_try_link "$LINENO"; then :
19986  ac_cv_lib_rtas_rtas_get_sysparm=yes
19987else
19988  ac_cv_lib_rtas_rtas_get_sysparm=no
19989fi
19990rm -f core conftest.err conftest.$ac_objext \
19991    conftest$ac_exeext conftest.$ac_ext
19992LIBS=$ac_check_lib_save_LIBS
19993fi
19994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rtas_rtas_get_sysparm" >&5
19995$as_echo "$ac_cv_lib_rtas_rtas_get_sysparm" >&6; }
19996if test "x$ac_cv_lib_rtas_rtas_get_sysparm" = xyes; then :
19997
19998	RTAS_LIBS="-lrtas"
19999
20000cat >>confdefs.h <<_ACEOF
20001#define HAVE_LIBRTAS 1
20002_ACEOF
20003, ,
20004
20005fi
20006
20007
20008
20009
20010ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
20011	 #include <sys/socket.h>
20012"
20013if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
20014
20015cat >>confdefs.h <<_ACEOF
20016#define HAVE_SA_LEN 1
20017_ACEOF
20018
20019fi
20020
20021
20022SOCKET_LIBS=
20023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
20024$as_echo_n "checking for library containing socket... " >&6; }
20025if ${ac_cv_search_socket+:} false; then :
20026  $as_echo_n "(cached) " >&6
20027else
20028  ac_func_search_save_LIBS=$LIBS
20029cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20030/* end confdefs.h.  */
20031
20032/* Override any GCC internal prototype to avoid an error.
20033   Use char because int might match the return type of a GCC
20034   builtin and then its argument prototype would still apply.  */
20035#ifdef __cplusplus
20036extern "C"
20037#endif
20038char socket ();
20039int
20040main ()
20041{
20042return socket ();
20043  ;
20044  return 0;
20045}
20046_ACEOF
20047for ac_lib in '' socket; do
20048  if test -z "$ac_lib"; then
20049    ac_res="none required"
20050  else
20051    ac_res=-l$ac_lib
20052    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20053  fi
20054  if ac_fn_c_try_link "$LINENO"; then :
20055  ac_cv_search_socket=$ac_res
20056fi
20057rm -f core conftest.err conftest.$ac_objext \
20058    conftest$ac_exeext
20059  if ${ac_cv_search_socket+:} false; then :
20060  break
20061fi
20062done
20063if ${ac_cv_search_socket+:} false; then :
20064
20065else
20066  ac_cv_search_socket=no
20067fi
20068rm conftest.$ac_ext
20069LIBS=$ac_func_search_save_LIBS
20070fi
20071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
20072$as_echo "$ac_cv_search_socket" >&6; }
20073ac_res=$ac_cv_search_socket
20074if test "$ac_res" != no; then :
20075  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20076  if test x"$ac_cv_search_socket" != x"none required"; then :
20077  SOCKET_LIBS="$SOCKET_LIBS -lsocket"
20078fi
20079
20080fi
20081
20082
20083
20084
20085have_dirfd=no
20086for ac_func in dirfd
20087do :
20088  ac_fn_c_check_func "$LINENO" "dirfd" "ac_cv_func_dirfd"
20089if test "x$ac_cv_func_dirfd" = xyes; then :
20090  cat >>confdefs.h <<_ACEOF
20091#define HAVE_DIRFD 1
20092_ACEOF
20093 have_dirfd=yes
20094else
20095  have_dirfd=no
20096fi
20097done
20098
20099if test x"$have_dirfd" = xno; then :
20100
20101	ac_fn_c_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include <sys/types.h>
20102		 #include <dirent.h>
20103"
20104if test "x$ac_cv_have_decl_dirfd" = xyes; then :
20105  ac_have_decl=1
20106else
20107  ac_have_decl=0
20108fi
20109
20110cat >>confdefs.h <<_ACEOF
20111#define HAVE_DECL_DIRFD $ac_have_decl
20112_ACEOF
20113if test $ac_have_decl = 1; then :
20114  have_dirfd=yes
20115else
20116  have_dirfd=no
20117fi
20118
20119
20120fi
20121
20122have_ddfd=no
20123if test x"$have_dirfd" = xno; then :
20124
20125	ac_fn_c_check_member "$LINENO" "DIR" "dd_fd" "ac_cv_member_DIR_dd_fd" "#include <sys/types.h>
20126		 #include <dirent.h>
20127"
20128if test "x$ac_cv_member_DIR_dd_fd" = xyes; then :
20129
20130cat >>confdefs.h <<_ACEOF
20131#define HAVE_DIR_DD_FD 1
20132_ACEOF
20133
20134have_ddfd=yes
20135else
20136  have_ddfd=no
20137fi
20138
20139
20140fi
20141
20142 if test "x$have_dirfd" = xyes -o "x$have_ddfd" = xyes; then
20143  HAVE_DIRFD_TRUE=
20144  HAVE_DIRFD_FALSE='#'
20145else
20146  HAVE_DIRFD_TRUE='#'
20147  HAVE_DIRFD_FALSE=
20148fi
20149
20150
20151
20152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether program_invocation_short_name is defined" >&5
20153$as_echo_n "checking whether program_invocation_short_name is defined... " >&6; }
20154cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20155/* end confdefs.h.  */
20156
20157	#include <errno.h>
20158
20159int
20160main ()
20161{
20162
20163	program_invocation_short_name = "test";
20164
20165  ;
20166  return 0;
20167}
20168_ACEOF
20169if ac_fn_c_try_compile "$LINENO"; then :
20170
20171	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20172$as_echo "yes" >&6; }
20173
20174$as_echo "#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h
20175
20176
20177else
20178
20179	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20180$as_echo "no" >&6; }
20181
20182fi
20183rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20184
20185
20186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __progname is defined" >&5
20187$as_echo_n "checking whether __progname is defined... " >&6; }
20188cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20189/* end confdefs.h.  */
20190extern char *__progname;
20191int
20192main ()
20193{
20194if (*__progname == 0) return 1;
20195  ;
20196  return 0;
20197}
20198_ACEOF
20199if ac_fn_c_try_link "$LINENO"; then :
20200
20201$as_echo "#define HAVE___PROGNAME 1" >>confdefs.h
20202
20203	   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20204$as_echo "yes" >&6; }
20205else
20206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20207$as_echo "no" >&6; }
20208fi
20209rm -f core conftest.err conftest.$ac_objext \
20210    conftest$ac_exeext conftest.$ac_ext
20211
20212
20213
20214# Check whether --enable-static-programs was given.
20215if test "${enable_static_programs+set}" = set; then :
20216  enableval=$enable_static_programs;
20217fi
20218
20219
20220case $enable_static_programs in #(
20221  yes) :
20222    enable_static_programs=losetup,mount,umount,fdisk,sfdisk,blkid,nsenter,unshare ;; #(
20223  no) :
20224    enable_static_programs=
20225 ;; #(
20226  *) :
20227     ;;
20228esac
20229
20230
20231  case ,$enable_static_programs, in #(
20232  *,losetup,*) :
20233    static_losetup=yes
20234   ;; #(
20235  *) :
20236     ;;
20237esac
20238  if test "x$static_losetup" = xyes; then :
20239  { $as_echo "$as_me:${as_lineno-$LINENO}: enable static build: losetup." >&5
20240$as_echo "$as_me: enable static build: losetup." >&6;}
20241fi
20242   if test "x$static_losetup" = xyes; then
20243  HAVE_STATIC_LOSETUP_TRUE=
20244  HAVE_STATIC_LOSETUP_FALSE='#'
20245else
20246  HAVE_STATIC_LOSETUP_TRUE='#'
20247  HAVE_STATIC_LOSETUP_FALSE=
20248fi
20249
20250
20251  case ,$enable_static_programs, in #(
20252  *,mount,*) :
20253    static_mount=yes
20254   ;; #(
20255  *) :
20256     ;;
20257esac
20258  if test "x$static_mount" = xyes; then :
20259  { $as_echo "$as_me:${as_lineno-$LINENO}: enable static build: mount." >&5
20260$as_echo "$as_me: enable static build: mount." >&6;}
20261fi
20262   if test "x$static_mount" = xyes; then
20263  HAVE_STATIC_MOUNT_TRUE=
20264  HAVE_STATIC_MOUNT_FALSE='#'
20265else
20266  HAVE_STATIC_MOUNT_TRUE='#'
20267  HAVE_STATIC_MOUNT_FALSE=
20268fi
20269
20270
20271  case ,$enable_static_programs, in #(
20272  *,umount,*) :
20273    static_umount=yes
20274   ;; #(
20275  *) :
20276     ;;
20277esac
20278  if test "x$static_umount" = xyes; then :
20279  { $as_echo "$as_me:${as_lineno-$LINENO}: enable static build: umount." >&5
20280$as_echo "$as_me: enable static build: umount." >&6;}
20281fi
20282   if test "x$static_umount" = xyes; then
20283  HAVE_STATIC_UMOUNT_TRUE=
20284  HAVE_STATIC_UMOUNT_FALSE='#'
20285else
20286  HAVE_STATIC_UMOUNT_TRUE='#'
20287  HAVE_STATIC_UMOUNT_FALSE=
20288fi
20289
20290
20291  case ,$enable_static_programs, in #(
20292  *,fdisk,*) :
20293    static_fdisk=yes
20294   ;; #(
20295  *) :
20296     ;;
20297esac
20298  if test "x$static_fdisk" = xyes; then :
20299  { $as_echo "$as_me:${as_lineno-$LINENO}: enable static build: fdisk." >&5
20300$as_echo "$as_me: enable static build: fdisk." >&6;}
20301fi
20302   if test "x$static_fdisk" = xyes; then
20303  HAVE_STATIC_FDISK_TRUE=
20304  HAVE_STATIC_FDISK_FALSE='#'
20305else
20306  HAVE_STATIC_FDISK_TRUE='#'
20307  HAVE_STATIC_FDISK_FALSE=
20308fi
20309
20310
20311  case ,$enable_static_programs, in #(
20312  *,sfdisk,*) :
20313    static_sfdisk=yes
20314   ;; #(
20315  *) :
20316     ;;
20317esac
20318  if test "x$static_sfdisk" = xyes; then :
20319  { $as_echo "$as_me:${as_lineno-$LINENO}: enable static build: sfdisk." >&5
20320$as_echo "$as_me: enable static build: sfdisk." >&6;}
20321fi
20322   if test "x$static_sfdisk" = xyes; then
20323  HAVE_STATIC_SFDISK_TRUE=
20324  HAVE_STATIC_SFDISK_FALSE='#'
20325else
20326  HAVE_STATIC_SFDISK_TRUE='#'
20327  HAVE_STATIC_SFDISK_FALSE=
20328fi
20329
20330
20331  case ,$enable_static_programs, in #(
20332  *,blkid,*) :
20333    static_blkid=yes
20334   ;; #(
20335  *) :
20336     ;;
20337esac
20338  if test "x$static_blkid" = xyes; then :
20339  { $as_echo "$as_me:${as_lineno-$LINENO}: enable static build: blkid." >&5
20340$as_echo "$as_me: enable static build: blkid." >&6;}
20341fi
20342   if test "x$static_blkid" = xyes; then
20343  HAVE_STATIC_BLKID_TRUE=
20344  HAVE_STATIC_BLKID_FALSE='#'
20345else
20346  HAVE_STATIC_BLKID_TRUE='#'
20347  HAVE_STATIC_BLKID_FALSE=
20348fi
20349
20350
20351  case ,$enable_static_programs, in #(
20352  *,nsenter,*) :
20353    static_nsenter=yes
20354   ;; #(
20355  *) :
20356     ;;
20357esac
20358  if test "x$static_nsenter" = xyes; then :
20359  { $as_echo "$as_me:${as_lineno-$LINENO}: enable static build: nsenter." >&5
20360$as_echo "$as_me: enable static build: nsenter." >&6;}
20361fi
20362   if test "x$static_nsenter" = xyes; then
20363  HAVE_STATIC_NSENTER_TRUE=
20364  HAVE_STATIC_NSENTER_FALSE='#'
20365else
20366  HAVE_STATIC_NSENTER_TRUE='#'
20367  HAVE_STATIC_NSENTER_FALSE=
20368fi
20369
20370
20371  case ,$enable_static_programs, in #(
20372  *,unshare,*) :
20373    static_unshare=yes
20374   ;; #(
20375  *) :
20376     ;;
20377esac
20378  if test "x$static_unshare" = xyes; then :
20379  { $as_echo "$as_me:${as_lineno-$LINENO}: enable static build: unshare." >&5
20380$as_echo "$as_me: enable static build: unshare." >&6;}
20381fi
20382   if test "x$static_unshare" = xyes; then
20383  HAVE_STATIC_UNSHARE_TRUE=
20384  HAVE_STATIC_UNSHARE_FALSE='#'
20385else
20386  HAVE_STATIC_UNSHARE_TRUE='#'
20387  HAVE_STATIC_UNSHARE_FALSE=
20388fi
20389
20390
20391
20392
20393# Check whether --enable-all-programs was given.
20394if test "${enable_all_programs+set}" = set; then :
20395  enableval=$enable_all_programs;
20396else
20397  enable_all_programs=undefined
20398
20399fi
20400
20401
20402case $enable_all_programs in #(
20403  yes) :
20404    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: force to build all programs by default" >&5
20405$as_echo "$as_me: WARNING: force to build all programs by default" >&2;}
20406          ul_default_estate=check ;; #(
20407  no) :
20408    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disable all programs by default" >&5
20409$as_echo "$as_me: WARNING: disable all programs by default" >&2;}
20410          ul_default_estate=no
20411 ;; #(
20412  *) :
20413     ;;
20414esac
20415
20416
20417
20418
20419
20420
20421  # Check whether --enable-tls was given.
20422if test "${enable_tls+set}" = set; then :
20423  enableval=$enable_tls;
20424else
20425  enable_tls=yes
20426fi
20427
20428
20429  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
20430$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
20431if ${ax_cv_have_tls+:} false; then :
20432  $as_echo_n "(cached) " >&6
20433else
20434
20435    if test "$cross_compiling" = yes; then :
20436                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20437/* end confdefs.h.  */
20438__thread int a; int b; int main() { return a = b; }
20439_ACEOF
20440if ac_fn_c_try_link "$LINENO"; then :
20441  chktls_save_LDFLAGS="$LDFLAGS"
20442	  	  	  case $host in
20443	    *-*-linux*)
20444	      LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
20445	      ;;
20446	  esac
20447	  chktls_save_CFLAGS="$CFLAGS"
20448	  CFLAGS="-fPIC $CFLAGS"
20449	  	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20450/* end confdefs.h.  */
20451int f() { return 0; }
20452_ACEOF
20453if ac_fn_c_try_link "$LINENO"; then :
20454  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20455/* end confdefs.h.  */
20456__thread int a; int b; int f() { return a = b; }
20457_ACEOF
20458if ac_fn_c_try_link "$LINENO"; then :
20459  ax_cv_have_tls=yes
20460else
20461  ax_cv_have_tls=no
20462fi
20463rm -f core conftest.err conftest.$ac_objext \
20464    conftest$ac_exeext conftest.$ac_ext
20465else
20466  ax_cv_have_tls=yes
20467fi
20468rm -f core conftest.err conftest.$ac_objext \
20469    conftest$ac_exeext conftest.$ac_ext
20470	  CFLAGS="$chktls_save_CFLAGS"
20471	  LDFLAGS="$chktls_save_LDFLAGS"
20472else
20473  ax_cv_have_tls=no
20474fi
20475rm -f core conftest.err conftest.$ac_objext \
20476    conftest$ac_exeext conftest.$ac_ext
20477
20478
20479else
20480  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20481/* end confdefs.h.  */
20482__thread int a; int b; int main() { return a = b; }
20483_ACEOF
20484if ac_fn_c_try_run "$LINENO"; then :
20485                      chktls_save_LDFLAGS="$LDFLAGS"
20486      LDFLAGS="-static $LDFLAGS"
20487      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20488/* end confdefs.h.  */
20489int main() { return 0; }
20490_ACEOF
20491if ac_fn_c_try_link "$LINENO"; then :
20492  if test "$cross_compiling" = yes; then :
20493  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20494$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20495as_fn_error $? "cannot run test program while cross compiling
20496See \`config.log' for more details" "$LINENO" 5; }
20497else
20498  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20499/* end confdefs.h.  */
20500__thread int a; int b; int main() { return a = b; }
20501_ACEOF
20502if ac_fn_c_try_run "$LINENO"; then :
20503  ax_cv_have_tls=yes
20504else
20505  ax_cv_have_tls=no
20506fi
20507rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20508  conftest.$ac_objext conftest.beam conftest.$ac_ext
20509fi
20510
20511else
20512  ax_cv_have_tls=yes
20513fi
20514rm -f core conftest.err conftest.$ac_objext \
20515    conftest$ac_exeext conftest.$ac_ext
20516      LDFLAGS="$chktls_save_LDFLAGS"
20517      if test $ax_cv_have_tls = yes; then
20518						chktls_save_CFLAGS="$CFLAGS"
20519	thread_CFLAGS=failed
20520	for flag in '' '-pthread' '-lpthread'; do
20521	  CFLAGS="$flag $chktls_save_CFLAGS"
20522	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20523/* end confdefs.h.  */
20524#include <pthread.h>
20525		void *g(void *d) { return NULL; }
20526int
20527main ()
20528{
20529pthread_t t; pthread_create(&t,NULL,g,NULL);
20530  ;
20531  return 0;
20532}
20533_ACEOF
20534if ac_fn_c_try_link "$LINENO"; then :
20535  thread_CFLAGS="$flag"
20536fi
20537rm -f core conftest.err conftest.$ac_objext \
20538    conftest$ac_exeext conftest.$ac_ext
20539	  if test "X$thread_CFLAGS" != Xfailed; then
20540	    break
20541	  fi
20542	done
20543	CFLAGS="$chktls_save_CFLAGS"
20544	if test "X$thread_CFLAGS" != Xfailed; then
20545	  CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
20546	  if test "$cross_compiling" = yes; then :
20547  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20548$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20549as_fn_error $? "cannot run test program while cross compiling
20550See \`config.log' for more details" "$LINENO" 5; }
20551else
20552  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20553/* end confdefs.h.  */
20554#include <pthread.h>
20555		__thread int a;
20556		static int *a_in_other_thread;
20557		static void *
20558		thread_func (void *arg)
20559		{
20560		  a_in_other_thread = &a;
20561		  return (void *)0;
20562		}
20563int
20564main ()
20565{
20566pthread_t thread;
20567		void *thread_retval;
20568		int *a_in_main_thread;
20569		if (pthread_create (&thread, (pthread_attr_t *)0,
20570				    thread_func, (void *)0))
20571		  return 0;
20572		a_in_main_thread = &a;
20573		if (pthread_join (thread, &thread_retval))
20574		  return 0;
20575		return (a_in_other_thread == a_in_main_thread);
20576  ;
20577  return 0;
20578}
20579_ACEOF
20580if ac_fn_c_try_run "$LINENO"; then :
20581  ax_cv_have_tls=yes
20582else
20583  ax_cv_have_tls=no
20584fi
20585rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20586  conftest.$ac_objext conftest.beam conftest.$ac_ext
20587fi
20588
20589	  CFLAGS="$chktls_save_CFLAGS"
20590	fi
20591      fi
20592else
20593  ax_cv_have_tls=no
20594fi
20595rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20596  conftest.$ac_objext conftest.beam conftest.$ac_ext
20597fi
20598
20599fi
20600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_tls" >&5
20601$as_echo "$ax_cv_have_tls" >&6; }
20602
20603  if test "$enable_tls $ax_cv_have_tls" = "yes yes"; then
20604
20605$as_echo "#define HAVE_TLS 1" >>confdefs.h
20606
20607  fi
20608
20609
20610
20611
20612if ${scanf_cv_alloc_modifier+:} false; then :
20613  $as_echo_n "(cached) " >&6
20614else
20615  if test "$cross_compiling" = yes; then :
20616  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20617/* end confdefs.h.  */
20618
20619     #include <stdio.h>
20620     #include <unistd.h>
20621
20622     #if defined(__GLIBC__) && !defined(__UCLIBC__)
20623
20624     #if !(__GLIBC_PREREQ(2, 7))
20625     #error %m is not available
20626     #endif
20627
20628     #elif defined(_POSIX_VERSION)
20629
20630     #if _POSIX_VERSION < 200809L
20631     #error %m is not available
20632     #endif
20633
20634     #else
20635     #error Your C-library is not supported.
20636     #endif
20637
20638_ACEOF
20639if ac_fn_c_try_compile "$LINENO"; then :
20640  scanf_cv_alloc_modifier=ms
20641else
20642  scanf_cv_alloc_modifier=no
20643fi
20644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20645
20646else
20647  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20648/* end confdefs.h.  */
20649# include <stdio.h>
20650# include <stdlib.h>
20651int main()
20652{
20653	int i;
20654	int rc = 1;
20655	char *s;
20656	i = sscanf("x", "%ms", &s);
20657	if (i == 1  && *s == 'x')
20658		rc = 0;
20659	free(s);
20660	return rc;
20661}
20662_ACEOF
20663if ac_fn_c_try_run "$LINENO"; then :
20664  scanf_cv_alloc_modifier=ms
20665else
20666  if test "$cross_compiling" = yes; then :
20667  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20668$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20669as_fn_error $? "cannot run test program while cross compiling
20670See \`config.log' for more details" "$LINENO" 5; }
20671else
20672  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20673/* end confdefs.h.  */
20674# include <stdio.h>
20675# include <stdlib.h>
20676int main()
20677{
20678	int i;
20679	int rc = 1;
20680	char *s;
20681	i = sscanf("x", "%as", &s);
20682	if (i == 1  && *s == 'x')
20683		rc = 0;
20684	free(s);
20685	return rc;
20686}
20687_ACEOF
20688if ac_fn_c_try_run "$LINENO"; then :
20689  scanf_cv_alloc_modifier=as
20690else
20691  scanf_cv_alloc_modifier=no
20692
20693fi
20694rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20695  conftest.$ac_objext conftest.beam conftest.$ac_ext
20696fi
20697
20698
20699fi
20700rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20701  conftest.$ac_objext conftest.beam conftest.$ac_ext
20702fi
20703
20704
20705fi
20706
20707
20708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking scanf string alloc modifiers" >&5
20709$as_echo_n "checking scanf string alloc modifiers... " >&6; }
20710case $scanf_cv_alloc_modifier in #(
20711  ms) :
20712    { $as_echo "$as_me:${as_lineno-$LINENO}: result: (%ms) yes" >&5
20713$as_echo "(%ms) yes" >&6; }
20714
20715$as_echo "#define HAVE_SCANF_MS_MODIFIER 1" >>confdefs.h
20716
20717     have_scanf_alloc_modifier=yes ;; #(
20718  as) :
20719    { $as_echo "$as_me:${as_lineno-$LINENO}: result: (%as) yes" >&5
20720$as_echo "(%as) yes" >&6; }
20721     have_scanf_alloc_modifier=yes
20722
20723$as_echo "#define HAVE_SCANF_AS_MODIFIER 1" >>confdefs.h
20724 ;; #(
20725  *) :
20726    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20727$as_echo "no" >&6; }
20728   have_scanf_alloc_modifier=no
20729 ;;
20730esac
20731
20732have_pty=no
20733
20734# Check whether --with-util was given.
20735if test "${with_util+set}" = set; then :
20736  withval=$with_util;
20737else
20738  with_util=auto
20739
20740fi
20741
20742if test "x$with_util" = xno; then :
20743
20744   if false; then
20745  HAVE_UTIL_TRUE=
20746  HAVE_UTIL_FALSE='#'
20747else
20748  HAVE_UTIL_TRUE='#'
20749  HAVE_UTIL_FALSE=
20750fi
20751
20752  have_util=no
20753
20754else
20755
20756
20757
20758  have_util=yes
20759  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5
20760$as_echo_n "checking for openpty in -lutil... " >&6; }
20761if ${ac_cv_lib_util_openpty+:} false; then :
20762  $as_echo_n "(cached) " >&6
20763else
20764  ac_check_lib_save_LIBS=$LIBS
20765LIBS="-lutil  $LIBS"
20766cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20767/* end confdefs.h.  */
20768
20769/* Override any GCC internal prototype to avoid an error.
20770   Use char because int might match the return type of a GCC
20771   builtin and then its argument prototype would still apply.  */
20772#ifdef __cplusplus
20773extern "C"
20774#endif
20775char openpty ();
20776int
20777main ()
20778{
20779return openpty ();
20780  ;
20781  return 0;
20782}
20783_ACEOF
20784if ac_fn_c_try_link "$LINENO"; then :
20785  ac_cv_lib_util_openpty=yes
20786else
20787  ac_cv_lib_util_openpty=no
20788fi
20789rm -f core conftest.err conftest.$ac_objext \
20790    conftest$ac_exeext conftest.$ac_ext
20791LIBS=$ac_check_lib_save_LIBS
20792fi
20793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5
20794$as_echo "$ac_cv_lib_util_openpty" >&6; }
20795if test "x$ac_cv_lib_util_openpty" = xyes; then :
20796  cat >>confdefs.h <<_ACEOF
20797#define HAVE_LIBUTIL 1
20798_ACEOF
20799
20800  LIBS="-lutil $LIBS"
20801
20802else
20803  have_util=no
20804fi
20805
20806   if test $have_util = yes; then
20807  HAVE_UTIL_TRUE=
20808  HAVE_UTIL_FALSE='#'
20809else
20810  HAVE_UTIL_TRUE='#'
20811  HAVE_UTIL_FALSE=
20812fi
20813
20814
20815
20816fi
20817
20818if test "x$have_pty_h" = xyes -a "x$have_sys_signalfd_h" = xyes -a "x$have_util" = xyes; then :
20819
20820    if true; then
20821  HAVE_PTY_TRUE=
20822  HAVE_PTY_FALSE='#'
20823else
20824  HAVE_PTY_TRUE='#'
20825  HAVE_PTY_FALSE=
20826fi
20827
20828
20829$as_echo "#define HAVE_PTY 1" >>confdefs.h
20830
20831   have_pty=yes
20832
20833else
20834
20835    if false; then
20836  HAVE_PTY_TRUE=
20837  HAVE_PTY_FALSE='#'
20838else
20839  HAVE_PTY_TRUE='#'
20840  HAVE_PTY_FALSE=
20841fi
20842
20843
20844fi
20845
20846ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
20847#include <sys/sem.h>
20848
20849"
20850if test "x$ac_cv_type_union_semun" = xyes; then :
20851
20852cat >>confdefs.h <<_ACEOF
20853#define HAVE_UNION_SEMUN 1
20854_ACEOF
20855
20856
20857fi
20858
20859ac_fn_c_check_type "$LINENO" "loff_t" "ac_cv_type_loff_t" "$ac_includes_default"
20860if test "x$ac_cv_type_loff_t" = xyes; then :
20861
20862cat >>confdefs.h <<_ACEOF
20863#define HAVE_LOFF_T 1
20864_ACEOF
20865
20866
20867fi
20868
20869
20870
20871# Check whether --enable-widechar was given.
20872if test "${enable_widechar+set}" = set; then :
20873  enableval=$enable_widechar;
20874else
20875  enable_widechar=check
20876
20877fi
20878
20879
20880
20881  if test "x$enable_widechar" = xno; then
20882   build_widechar=no
20883else
20884   build_widechar=yes
20885fi
20886
20887
20888
20889
20890  if test "x$build_widechar" != xno; then
20891
20892    { $as_echo "$as_me:${as_lineno-$LINENO}: checking wchar_t support" >&5
20893$as_echo_n "checking wchar_t support... " >&6; }
20894    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20895/* end confdefs.h.  */
20896
20897  #include <wchar.h>
20898  #include <wctype.h>
20899  #include <stdio.h>
20900  #include <stdlib.h>
20901
20902int
20903main ()
20904{
20905
20906    wchar_t wc;
20907    wint_t w;
20908    w = fgetwc(stdin);
20909    if (w == WEOF) exit(1);
20910    wc = w;
20911    fputwc(wc,stdout);
20912
20913  ;
20914  return 0;
20915}
20916_ACEOF
20917if ac_fn_c_try_compile "$LINENO"; then :
20918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20919$as_echo "yes" >&6; }
20920	 ul_haveprogram_widechar=yes
20921else
20922  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20923$as_echo "no" >&6; }
20924	 ul_haveprogram_widechar=no
20925fi
20926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20927
20928    case $enable_widechar:$ul_haveprogram_widechar in #(
20929    no:*)
20930      build_widechar=no ;;
20931    yes:yes)
20932      build_widechar=yes ;;
20933    yes:*)
20934      as_fn_error $? "widechar selected, but required wchar_t support not available" "$LINENO" 5;;
20935    check:yes)
20936      build_widechar=yes ;;
20937    check:*)
20938      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wchar_t support not found; not building widechar" >&5
20939$as_echo "$as_me: WARNING: wchar_t support not found; not building widechar" >&2;}
20940      build_widechar=no ;;
20941    esac
20942  fi
20943
20944
20945if test "x$build_widechar" = xyes ; then :
20946
20947
20948$as_echo "#define HAVE_WIDECHAR 1" >>confdefs.h
20949
20950
20951fi
20952
20953
20954ac_fn_c_check_type "$LINENO" "cpu_set_t" "ac_cv_type_cpu_set_t" "
20955#include <sched.h>
20956
20957"
20958if test "x$ac_cv_type_cpu_set_t" = xyes; then :
20959
20960cat >>confdefs.h <<_ACEOF
20961#define HAVE_CPU_SET_T 1
20962_ACEOF
20963
20964have_cpu_set_t=yes
20965fi
20966
20967
20968 if test "x$have_cpu_set_t" = xyes; then
20969  HAVE_CPU_SET_T_TRUE=
20970  HAVE_CPU_SET_T_FALSE='#'
20971else
20972  HAVE_CPU_SET_T_TRUE='#'
20973  HAVE_CPU_SET_T_FALSE=
20974fi
20975
20976
20977ac_fn_c_check_type "$LINENO" "sighandler_t" "ac_cv_type_sighandler_t" "
20978#include <signal.h>
20979
20980"
20981if test "x$ac_cv_type_sighandler_t" = xyes; then :
20982
20983cat >>confdefs.h <<_ACEOF
20984#define HAVE_SIGHANDLER_T 1
20985_ACEOF
20986
20987
20988fi
20989
20990
20991ac_fn_c_check_decl "$LINENO" "CPU_ALLOC" "ac_cv_have_decl_CPU_ALLOC" "
20992#include <sched.h>
20993
20994"
20995if test "x$ac_cv_have_decl_CPU_ALLOC" = xyes; then :
20996  ac_have_decl=1
20997else
20998  ac_have_decl=0
20999fi
21000
21001cat >>confdefs.h <<_ACEOF
21002#define HAVE_DECL_CPU_ALLOC $ac_have_decl
21003_ACEOF
21004
21005
21006# on Solaris, you can't mix and match standards, since we use c99
21007# apparently at this stage, XOPEN_SOURCE will conflict.  As workaround,
21008# check for crypt.h and use that without XOPEN_SOURCE.
21009have_crypt=no
21010for ac_header in crypt.h
21011do :
21012  ac_fn_c_check_header_mongrel "$LINENO" "crypt.h" "ac_cv_header_crypt_h" "$ac_includes_default"
21013if test "x$ac_cv_header_crypt_h" = xyes; then :
21014  cat >>confdefs.h <<_ACEOF
21015#define HAVE_CRYPT_H 1
21016_ACEOF
21017
21018fi
21019
21020done
21021
21022cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21023/* end confdefs.h.  */
21024
21025#ifdef HAVE_CRYPT_H
21026#include <crypt.h>
21027#else
21028#define _XOPEN_SOURCE
21029#include <unistd.h>
21030#endif
21031
21032int
21033main ()
21034{
21035
21036char *c = crypt("abc","pw");
21037
21038  ;
21039  return 0;
21040}
21041_ACEOF
21042if ac_fn_c_try_link "$LINENO"; then :
21043
21044  have_libcrypt=no
21045  have_crypt=yes
21046
21047else
21048
21049  LIBS="$LIBS -lcrypt"
21050  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21051/* end confdefs.h.  */
21052
21053  #ifdef HAVE_CRYPT_H
21054  #include <crypt.h>
21055  #else
21056  #define _XOPEN_SOURCE
21057  #include <unistd.h>
21058  #endif
21059
21060int
21061main ()
21062{
21063
21064  char *c = crypt("abc","pw");
21065
21066  ;
21067  return 0;
21068}
21069_ACEOF
21070if ac_fn_c_try_compile "$LINENO"; then :
21071
21072
21073$as_echo "#define HAVE_LIBCRYPT 1" >>confdefs.h
21074
21075  have_libcrypt=yes
21076  have_crypt=yes
21077
21078else
21079
21080  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: crypt() is not available" >&5
21081$as_echo "$as_me: WARNING: crypt() is not available" >&2;}
21082
21083fi
21084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21085
21086fi
21087rm -f core conftest.err conftest.$ac_objext \
21088    conftest$ac_exeext conftest.$ac_ext
21089 if test "x$have_libcrypt" = xyes; then
21090  HAVE_LIBCRYPT_TRUE=
21091  HAVE_LIBCRYPT_FALSE='#'
21092else
21093  HAVE_LIBCRYPT_TRUE='#'
21094  HAVE_LIBCRYPT_FALSE=
21095fi
21096
21097
21098
21099
21100# Check whether --with-selinux was given.
21101if test "${with_selinux+set}" = set; then :
21102  withval=$with_selinux;
21103else
21104  with_selinux=no
21105
21106fi
21107
21108
21109if test "x$with_selinux" = xno; then :
21110
21111   if false; then
21112  HAVE_SELINUX_TRUE=
21113  HAVE_SELINUX_FALSE='#'
21114else
21115  HAVE_SELINUX_TRUE='#'
21116  HAVE_SELINUX_FALSE=
21117fi
21118
21119
21120else
21121
21122
21123pkg_failed=no
21124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SELINUX" >&5
21125$as_echo_n "checking for SELINUX... " >&6; }
21126
21127if test -n "$SELINUX_CFLAGS"; then
21128    pkg_cv_SELINUX_CFLAGS="$SELINUX_CFLAGS"
21129 elif test -n "$PKG_CONFIG"; then
21130    if test -n "$PKG_CONFIG" && \
21131    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux >= 2.0\""; } >&5
21132  ($PKG_CONFIG --exists --print-errors "libselinux >= 2.0") 2>&5
21133  ac_status=$?
21134  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21135  test $ac_status = 0; }; then
21136  pkg_cv_SELINUX_CFLAGS=`$PKG_CONFIG --cflags "libselinux >= 2.0" 2>/dev/null`
21137		      test "x$?" != "x0" && pkg_failed=yes
21138else
21139  pkg_failed=yes
21140fi
21141 else
21142    pkg_failed=untried
21143fi
21144if test -n "$SELINUX_LIBS"; then
21145    pkg_cv_SELINUX_LIBS="$SELINUX_LIBS"
21146 elif test -n "$PKG_CONFIG"; then
21147    if test -n "$PKG_CONFIG" && \
21148    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux >= 2.0\""; } >&5
21149  ($PKG_CONFIG --exists --print-errors "libselinux >= 2.0") 2>&5
21150  ac_status=$?
21151  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21152  test $ac_status = 0; }; then
21153  pkg_cv_SELINUX_LIBS=`$PKG_CONFIG --libs "libselinux >= 2.0" 2>/dev/null`
21154		      test "x$?" != "x0" && pkg_failed=yes
21155else
21156  pkg_failed=yes
21157fi
21158 else
21159    pkg_failed=untried
21160fi
21161
21162
21163
21164if test $pkg_failed = yes; then
21165   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21166$as_echo "no" >&6; }
21167
21168if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21169        _pkg_short_errors_supported=yes
21170else
21171        _pkg_short_errors_supported=no
21172fi
21173        if test $_pkg_short_errors_supported = yes; then
21174	        SELINUX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libselinux >= 2.0" 2>&1`
21175        else
21176	        SELINUX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libselinux >= 2.0" 2>&1`
21177        fi
21178	# Put the nasty error message in config.log where it belongs
21179	echo "$SELINUX_PKG_ERRORS" >&5
21180
21181	have_selinux=no
21182elif test $pkg_failed = untried; then
21183     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21184$as_echo "no" >&6; }
21185	have_selinux=no
21186else
21187	SELINUX_CFLAGS=$pkg_cv_SELINUX_CFLAGS
21188	SELINUX_LIBS=$pkg_cv_SELINUX_LIBS
21189        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21190$as_echo "yes" >&6; }
21191
21192$as_echo "#define HAVE_LIBSELINUX 1" >>confdefs.h
21193
21194
21195  if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
21196  ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
21197  ac_status=$?
21198  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21199  test $ac_status = 0; }; then
21200    SELINUX_LIBS_STATIC=`$PKG_CONFIG --libs --static "libselinux"`
21201  else
21202    as_fn_error $? "pkg-config description of libselinux, needed for static build, is not available" "$LINENO" 5
21203  fi
21204
21205	  if true; then
21206  HAVE_SELINUX_TRUE=
21207  HAVE_SELINUX_FALSE='#'
21208else
21209  HAVE_SELINUX_TRUE='#'
21210  HAVE_SELINUX_FALSE=
21211fi
21212
21213	 have_selinux=yes
21214fi
21215
21216  case $with_selinux:$have_selinux in #(
21217  yes:no) :
21218    as_fn_error $? "SELinux selected but libselinux not found or too old" "$LINENO" 5
21219   ;; #(
21220  *) :
21221     ;;
21222esac
21223
21224  if test "x$have_selinux" = xyes; then :
21225
21226
21227  old_CFLAGS="$CFLAGS"
21228  old_CPPFLAGS="$CPPFLAGS"
21229  old_LDFLAGS="$LDFLAGS"
21230  CFLAGS="$CFLAGS "
21231  CPPFLAGS="$CPPFLAGS "
21232  LDFLAGS="$LDFLAGS $SELINUX_LIBS"
21233
21234    # This function is missing in old libselinux 1.xx versions
21235    for ac_func in security_get_initial_context
21236do :
21237  ac_fn_c_check_func "$LINENO" "security_get_initial_context" "ac_cv_func_security_get_initial_context"
21238if test "x$ac_cv_func_security_get_initial_context" = xyes; then :
21239  cat >>confdefs.h <<_ACEOF
21240#define HAVE_SECURITY_GET_INITIAL_CONTEXT 1
21241_ACEOF
21242
21243fi
21244done
21245
21246
21247  CFLAGS="$old_CFLAGS"
21248  CPPFLAGS="$old_CPPFLAGS"
21249  LDFLAGS="$old_LDFLAGS"
21250
21251
21252fi
21253
21254fi
21255
21256
21257
21258
21259
21260# Check whether --with-audit was given.
21261if test "${with_audit+set}" = set; then :
21262  withval=$with_audit;
21263else
21264  with_audit=no
21265
21266fi
21267
21268
21269if test "x$with_audit" = xno; then :
21270
21271   if false; then
21272  HAVE_AUDIT_TRUE=
21273  HAVE_AUDIT_FALSE='#'
21274else
21275  HAVE_AUDIT_TRUE='#'
21276  HAVE_AUDIT_FALSE=
21277fi
21278
21279
21280else
21281
21282
21283
21284  have_audit=yes
21285  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_log_user_message in -laudit" >&5
21286$as_echo_n "checking for audit_log_user_message in -laudit... " >&6; }
21287if ${ac_cv_lib_audit_audit_log_user_message+:} false; then :
21288  $as_echo_n "(cached) " >&6
21289else
21290  ac_check_lib_save_LIBS=$LIBS
21291LIBS="-laudit  $LIBS"
21292cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21293/* end confdefs.h.  */
21294
21295/* Override any GCC internal prototype to avoid an error.
21296   Use char because int might match the return type of a GCC
21297   builtin and then its argument prototype would still apply.  */
21298#ifdef __cplusplus
21299extern "C"
21300#endif
21301char audit_log_user_message ();
21302int
21303main ()
21304{
21305return audit_log_user_message ();
21306  ;
21307  return 0;
21308}
21309_ACEOF
21310if ac_fn_c_try_link "$LINENO"; then :
21311  ac_cv_lib_audit_audit_log_user_message=yes
21312else
21313  ac_cv_lib_audit_audit_log_user_message=no
21314fi
21315rm -f core conftest.err conftest.$ac_objext \
21316    conftest$ac_exeext conftest.$ac_ext
21317LIBS=$ac_check_lib_save_LIBS
21318fi
21319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_user_message" >&5
21320$as_echo "$ac_cv_lib_audit_audit_log_user_message" >&6; }
21321if test "x$ac_cv_lib_audit_audit_log_user_message" = xyes; then :
21322  cat >>confdefs.h <<_ACEOF
21323#define HAVE_LIBAUDIT 1
21324_ACEOF
21325
21326  LIBS="-laudit $LIBS"
21327
21328else
21329  have_audit=no
21330fi
21331
21332   if test $have_audit = yes; then
21333  HAVE_AUDIT_TRUE=
21334  HAVE_AUDIT_FALSE='#'
21335else
21336  HAVE_AUDIT_TRUE='#'
21337  HAVE_AUDIT_FALSE=
21338fi
21339
21340
21341  case $with_audit:$have_audit in #(
21342  yes:no) :
21343    as_fn_error $? "Audit selected but libaudit not found (or does not support audit_log_user_message())" "$LINENO" 5
21344   ;; #(
21345  *) :
21346     ;;
21347esac
21348
21349fi
21350
21351
21352# Check whether --with-udev was given.
21353if test "${with_udev+set}" = set; then :
21354  withval=$with_udev;
21355else
21356  with_udev=auto
21357
21358fi
21359
21360
21361if test "x$with_udev" = xno; then :
21362
21363   if false; then
21364  HAVE_UDEV_TRUE=
21365  HAVE_UDEV_FALSE='#'
21366else
21367  HAVE_UDEV_TRUE='#'
21368  HAVE_UDEV_FALSE=
21369fi
21370
21371
21372else
21373
21374
21375
21376  have_udev=yes
21377  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
21378$as_echo_n "checking for udev_new in -ludev... " >&6; }
21379if ${ac_cv_lib_udev_udev_new+:} false; then :
21380  $as_echo_n "(cached) " >&6
21381else
21382  ac_check_lib_save_LIBS=$LIBS
21383LIBS="-ludev  $LIBS"
21384cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21385/* end confdefs.h.  */
21386
21387/* Override any GCC internal prototype to avoid an error.
21388   Use char because int might match the return type of a GCC
21389   builtin and then its argument prototype would still apply.  */
21390#ifdef __cplusplus
21391extern "C"
21392#endif
21393char udev_new ();
21394int
21395main ()
21396{
21397return udev_new ();
21398  ;
21399  return 0;
21400}
21401_ACEOF
21402if ac_fn_c_try_link "$LINENO"; then :
21403  ac_cv_lib_udev_udev_new=yes
21404else
21405  ac_cv_lib_udev_udev_new=no
21406fi
21407rm -f core conftest.err conftest.$ac_objext \
21408    conftest$ac_exeext conftest.$ac_ext
21409LIBS=$ac_check_lib_save_LIBS
21410fi
21411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
21412$as_echo "$ac_cv_lib_udev_udev_new" >&6; }
21413if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
21414  cat >>confdefs.h <<_ACEOF
21415#define HAVE_LIBUDEV 1
21416_ACEOF
21417
21418  LIBS="-ludev $LIBS"
21419
21420else
21421  have_udev=no
21422fi
21423
21424   if test $have_udev = yes; then
21425  HAVE_UDEV_TRUE=
21426  HAVE_UDEV_FALSE='#'
21427else
21428  HAVE_UDEV_TRUE='#'
21429  HAVE_UDEV_FALSE=
21430fi
21431
21432
21433  case $with_udev:$have_udev in #(
21434  yes:no) :
21435    as_fn_error $? "udev selected but libudev not found" "$LINENO" 5
21436   ;; #(
21437  *) :
21438     ;;
21439esac
21440
21441fi
21442
21443
21444
21445# Check whether --with-ncursesw was given.
21446if test "${with_ncursesw+set}" = set; then :
21447  withval=$with_ncursesw;
21448else
21449  with_ncursesw=auto
21450
21451fi
21452
21453have_ncursesw=no
21454have_ncursesw_header=no
21455if test "x$with_ncursesw" != xno; then :
21456
21457
21458
21459
21460
21461  # ncurses6-config
21462  #
21463  if test "x$have_ncursesw" = xno; then :
21464
21465    if test -n "$ac_tool_prefix"; then
21466  # Extract the first word of "${ac_tool_prefix}ncursesw6-config", so it can be a program name with args.
21467set dummy ${ac_tool_prefix}ncursesw6-config; ac_word=$2
21468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21469$as_echo_n "checking for $ac_word... " >&6; }
21470if ${ac_cv_prog_NCURSESW6_CONFIG+:} false; then :
21471  $as_echo_n "(cached) " >&6
21472else
21473  if test -n "$NCURSESW6_CONFIG"; then
21474  ac_cv_prog_NCURSESW6_CONFIG="$NCURSESW6_CONFIG" # Let the user override the test.
21475else
21476as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21477for as_dir in $PATH
21478do
21479  IFS=$as_save_IFS
21480  test -z "$as_dir" && as_dir=.
21481    for ac_exec_ext in '' $ac_executable_extensions; do
21482  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21483    ac_cv_prog_NCURSESW6_CONFIG="${ac_tool_prefix}ncursesw6-config"
21484    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21485    break 2
21486  fi
21487done
21488  done
21489IFS=$as_save_IFS
21490
21491fi
21492fi
21493NCURSESW6_CONFIG=$ac_cv_prog_NCURSESW6_CONFIG
21494if test -n "$NCURSESW6_CONFIG"; then
21495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NCURSESW6_CONFIG" >&5
21496$as_echo "$NCURSESW6_CONFIG" >&6; }
21497else
21498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21499$as_echo "no" >&6; }
21500fi
21501
21502
21503fi
21504if test -z "$ac_cv_prog_NCURSESW6_CONFIG"; then
21505  ac_ct_NCURSESW6_CONFIG=$NCURSESW6_CONFIG
21506  # Extract the first word of "ncursesw6-config", so it can be a program name with args.
21507set dummy ncursesw6-config; ac_word=$2
21508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21509$as_echo_n "checking for $ac_word... " >&6; }
21510if ${ac_cv_prog_ac_ct_NCURSESW6_CONFIG+:} false; then :
21511  $as_echo_n "(cached) " >&6
21512else
21513  if test -n "$ac_ct_NCURSESW6_CONFIG"; then
21514  ac_cv_prog_ac_ct_NCURSESW6_CONFIG="$ac_ct_NCURSESW6_CONFIG" # Let the user override the test.
21515else
21516as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21517for as_dir in $PATH
21518do
21519  IFS=$as_save_IFS
21520  test -z "$as_dir" && as_dir=.
21521    for ac_exec_ext in '' $ac_executable_extensions; do
21522  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21523    ac_cv_prog_ac_ct_NCURSESW6_CONFIG="ncursesw6-config"
21524    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21525    break 2
21526  fi
21527done
21528  done
21529IFS=$as_save_IFS
21530
21531fi
21532fi
21533ac_ct_NCURSESW6_CONFIG=$ac_cv_prog_ac_ct_NCURSESW6_CONFIG
21534if test -n "$ac_ct_NCURSESW6_CONFIG"; then
21535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NCURSESW6_CONFIG" >&5
21536$as_echo "$ac_ct_NCURSESW6_CONFIG" >&6; }
21537else
21538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21539$as_echo "no" >&6; }
21540fi
21541
21542  if test "x$ac_ct_NCURSESW6_CONFIG" = x; then
21543    NCURSESW6_CONFIG=""
21544  else
21545    case $cross_compiling:$ac_tool_warned in
21546yes:)
21547{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21548$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21549ac_tool_warned=yes ;;
21550esac
21551    NCURSESW6_CONFIG=$ac_ct_NCURSESW6_CONFIG
21552  fi
21553else
21554  NCURSESW6_CONFIG="$ac_cv_prog_NCURSESW6_CONFIG"
21555fi
21556
21557    if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$NCURSESW6_CONFIG --version >/dev/null"; } >&5
21558  ($NCURSESW6_CONFIG --version >/dev/null) 2>&5
21559  ac_status=$?
21560  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21561  test $ac_status = 0; }; then
21562      have_ncursesw=yes
21563      NCURSES_LIBS=`$NCURSESW6_CONFIG --libs`
21564      NCURSES_CFLAGS=`$NCURSESW6_CONFIG --cflags`
21565    else
21566      have_ncursesw=no
21567    fi
21568
21569fi
21570
21571  # ncurses5-config
21572  #
21573  if test "x$have_ncursesw" = xno; then :
21574
21575    if test -n "$ac_tool_prefix"; then
21576  # Extract the first word of "${ac_tool_prefix}ncursesw5-config", so it can be a program name with args.
21577set dummy ${ac_tool_prefix}ncursesw5-config; ac_word=$2
21578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21579$as_echo_n "checking for $ac_word... " >&6; }
21580if ${ac_cv_prog_NCURSESW5_CONFIG+:} false; then :
21581  $as_echo_n "(cached) " >&6
21582else
21583  if test -n "$NCURSESW5_CONFIG"; then
21584  ac_cv_prog_NCURSESW5_CONFIG="$NCURSESW5_CONFIG" # Let the user override the test.
21585else
21586as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21587for as_dir in $PATH
21588do
21589  IFS=$as_save_IFS
21590  test -z "$as_dir" && as_dir=.
21591    for ac_exec_ext in '' $ac_executable_extensions; do
21592  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21593    ac_cv_prog_NCURSESW5_CONFIG="${ac_tool_prefix}ncursesw5-config"
21594    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21595    break 2
21596  fi
21597done
21598  done
21599IFS=$as_save_IFS
21600
21601fi
21602fi
21603NCURSESW5_CONFIG=$ac_cv_prog_NCURSESW5_CONFIG
21604if test -n "$NCURSESW5_CONFIG"; then
21605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NCURSESW5_CONFIG" >&5
21606$as_echo "$NCURSESW5_CONFIG" >&6; }
21607else
21608  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21609$as_echo "no" >&6; }
21610fi
21611
21612
21613fi
21614if test -z "$ac_cv_prog_NCURSESW5_CONFIG"; then
21615  ac_ct_NCURSESW5_CONFIG=$NCURSESW5_CONFIG
21616  # Extract the first word of "ncursesw5-config", so it can be a program name with args.
21617set dummy ncursesw5-config; ac_word=$2
21618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21619$as_echo_n "checking for $ac_word... " >&6; }
21620if ${ac_cv_prog_ac_ct_NCURSESW5_CONFIG+:} false; then :
21621  $as_echo_n "(cached) " >&6
21622else
21623  if test -n "$ac_ct_NCURSESW5_CONFIG"; then
21624  ac_cv_prog_ac_ct_NCURSESW5_CONFIG="$ac_ct_NCURSESW5_CONFIG" # Let the user override the test.
21625else
21626as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21627for as_dir in $PATH
21628do
21629  IFS=$as_save_IFS
21630  test -z "$as_dir" && as_dir=.
21631    for ac_exec_ext in '' $ac_executable_extensions; do
21632  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21633    ac_cv_prog_ac_ct_NCURSESW5_CONFIG="ncursesw5-config"
21634    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21635    break 2
21636  fi
21637done
21638  done
21639IFS=$as_save_IFS
21640
21641fi
21642fi
21643ac_ct_NCURSESW5_CONFIG=$ac_cv_prog_ac_ct_NCURSESW5_CONFIG
21644if test -n "$ac_ct_NCURSESW5_CONFIG"; then
21645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NCURSESW5_CONFIG" >&5
21646$as_echo "$ac_ct_NCURSESW5_CONFIG" >&6; }
21647else
21648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21649$as_echo "no" >&6; }
21650fi
21651
21652  if test "x$ac_ct_NCURSESW5_CONFIG" = x; then
21653    NCURSESW5_CONFIG=""
21654  else
21655    case $cross_compiling:$ac_tool_warned in
21656yes:)
21657{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21658$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21659ac_tool_warned=yes ;;
21660esac
21661    NCURSESW5_CONFIG=$ac_ct_NCURSESW5_CONFIG
21662  fi
21663else
21664  NCURSESW5_CONFIG="$ac_cv_prog_NCURSESW5_CONFIG"
21665fi
21666
21667    if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$NCURSESW5_CONFIG --version >/dev/null"; } >&5
21668  ($NCURSESW5_CONFIG --version >/dev/null) 2>&5
21669  ac_status=$?
21670  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21671  test $ac_status = 0; }; then
21672      have_ncursesw=yes
21673      NCURSES_LIBS=`$NCURSESW5_CONFIG --libs`
21674      NCURSES_CFLAGS=`$NCURSESW5_CONFIG --cflags`
21675    else
21676      have_ncursesw=no
21677    fi
21678
21679fi
21680
21681  # pkg-config (not supported by ncurses upstream by default)
21682  #
21683  if test "x$have_ncursesw" = xno; then :
21684
21685
21686pkg_failed=no
21687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NCURSESW" >&5
21688$as_echo_n "checking for NCURSESW... " >&6; }
21689
21690if test -n "$NCURSESW_CFLAGS"; then
21691    pkg_cv_NCURSESW_CFLAGS="$NCURSESW_CFLAGS"
21692 elif test -n "$PKG_CONFIG"; then
21693    if test -n "$PKG_CONFIG" && \
21694    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5
21695  ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5
21696  ac_status=$?
21697  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21698  test $ac_status = 0; }; then
21699  pkg_cv_NCURSESW_CFLAGS=`$PKG_CONFIG --cflags "ncursesw" 2>/dev/null`
21700		      test "x$?" != "x0" && pkg_failed=yes
21701else
21702  pkg_failed=yes
21703fi
21704 else
21705    pkg_failed=untried
21706fi
21707if test -n "$NCURSESW_LIBS"; then
21708    pkg_cv_NCURSESW_LIBS="$NCURSESW_LIBS"
21709 elif test -n "$PKG_CONFIG"; then
21710    if test -n "$PKG_CONFIG" && \
21711    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5
21712  ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5
21713  ac_status=$?
21714  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21715  test $ac_status = 0; }; then
21716  pkg_cv_NCURSESW_LIBS=`$PKG_CONFIG --libs "ncursesw" 2>/dev/null`
21717		      test "x$?" != "x0" && pkg_failed=yes
21718else
21719  pkg_failed=yes
21720fi
21721 else
21722    pkg_failed=untried
21723fi
21724
21725
21726
21727if test $pkg_failed = yes; then
21728   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21729$as_echo "no" >&6; }
21730
21731if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21732        _pkg_short_errors_supported=yes
21733else
21734        _pkg_short_errors_supported=no
21735fi
21736        if test $_pkg_short_errors_supported = yes; then
21737	        NCURSESW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncursesw" 2>&1`
21738        else
21739	        NCURSESW_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ncursesw" 2>&1`
21740        fi
21741	# Put the nasty error message in config.log where it belongs
21742	echo "$NCURSESW_PKG_ERRORS" >&5
21743
21744	have_ncursesw=no
21745elif test $pkg_failed = untried; then
21746     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21747$as_echo "no" >&6; }
21748	have_ncursesw=no
21749else
21750	NCURSESW_CFLAGS=$pkg_cv_NCURSESW_CFLAGS
21751	NCURSESW_LIBS=$pkg_cv_NCURSESW_LIBS
21752        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21753$as_echo "yes" >&6; }
21754
21755      have_ncursesw=yes
21756      NCURSES_LIBS=${NCURSESW_LIBS}
21757      NCURSES_CFLAGS=${NCURSESW_CFLAGS}
21758
21759fi
21760
21761fi
21762
21763  # classic autoconf way
21764  #
21765  if test "x$have_ncursesw" = xno; then :
21766
21767    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5
21768$as_echo_n "checking for initscr in -lncursesw... " >&6; }
21769if ${ac_cv_lib_ncursesw_initscr+:} false; then :
21770  $as_echo_n "(cached) " >&6
21771else
21772  ac_check_lib_save_LIBS=$LIBS
21773LIBS="-lncursesw  $LIBS"
21774cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21775/* end confdefs.h.  */
21776
21777/* Override any GCC internal prototype to avoid an error.
21778   Use char because int might match the return type of a GCC
21779   builtin and then its argument prototype would still apply.  */
21780#ifdef __cplusplus
21781extern "C"
21782#endif
21783char initscr ();
21784int
21785main ()
21786{
21787return initscr ();
21788  ;
21789  return 0;
21790}
21791_ACEOF
21792if ac_fn_c_try_link "$LINENO"; then :
21793  ac_cv_lib_ncursesw_initscr=yes
21794else
21795  ac_cv_lib_ncursesw_initscr=no
21796fi
21797rm -f core conftest.err conftest.$ac_objext \
21798    conftest$ac_exeext conftest.$ac_ext
21799LIBS=$ac_check_lib_save_LIBS
21800fi
21801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5
21802$as_echo "$ac_cv_lib_ncursesw_initscr" >&6; }
21803if test "x$ac_cv_lib_ncursesw_initscr" = xyes; then :
21804  have_ncursesw=yes
21805else
21806  have_ncursesw=no
21807fi
21808
21809    if test "x$have_ncursesw" = xyes; then :
21810  NCURSES_LIBS="-lncursesw"
21811fi
21812
21813fi
21814
21815  if test "x$have_ncursesw" = xyes; then :
21816
21817    for ac_header in ncursesw/ncurses.h
21818do :
21819  ac_fn_c_check_header_mongrel "$LINENO" "ncursesw/ncurses.h" "ac_cv_header_ncursesw_ncurses_h" "$ac_includes_default"
21820if test "x$ac_cv_header_ncursesw_ncurses_h" = xyes; then :
21821  cat >>confdefs.h <<_ACEOF
21822#define HAVE_NCURSESW_NCURSES_H 1
21823_ACEOF
21824 have_ncursesw_header=yes
21825fi
21826
21827done
21828
21829    for ac_header in ncursesw/term.h
21830do :
21831  ac_fn_c_check_header_mongrel "$LINENO" "ncursesw/term.h" "ac_cv_header_ncursesw_term_h" "$ac_includes_default"
21832if test "x$ac_cv_header_ncursesw_term_h" = xyes; then :
21833  cat >>confdefs.h <<_ACEOF
21834#define HAVE_NCURSESW_TERM_H 1
21835_ACEOF
21836
21837fi
21838
21839done
21840
21841
21842    # Define HAVE_NCURSES_H only if check for HAVE_NCURSESW_NCURSES_H is
21843    # unsuccessful to avoid too many *_H permitations in config.h
21844    if test "x$have_ncursesw_header" = xno; then :
21845
21846	   for ac_header in ncurses.h
21847do :
21848  ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default"
21849if test "x$ac_cv_header_ncurses_h" = xyes; then :
21850  cat >>confdefs.h <<_ACEOF
21851#define HAVE_NCURSES_H 1
21852_ACEOF
21853 have_ncursesw_header=yes
21854fi
21855
21856done
21857
21858	   for ac_header in term.h
21859do :
21860  ac_fn_c_check_header_mongrel "$LINENO" "term.h" "ac_cv_header_term_h" "$ac_includes_default"
21861if test "x$ac_cv_header_term_h" = xyes; then :
21862  cat >>confdefs.h <<_ACEOF
21863#define HAVE_TERM_H 1
21864_ACEOF
21865
21866fi
21867
21868done
21869
21870
21871fi
21872    if test "x$have_ncursesw_header" = xno; then :
21873  have_ncursesw=no
21874fi
21875
21876fi
21877  if test "x$have_ncursesw" = xyes; then :
21878
21879    CURSES_LIB_NAME="ncursesw"
21880
21881$as_echo "#define HAVE_LIBNCURSESW 1" >>confdefs.h
21882
21883
21884fi
21885
21886fi
21887case $with_ncursesw:$have_ncursesw in #(
21888  yes:no) :
21889    as_fn_error $? "ncursesw selected, but library not found" "$LINENO" 5 ;; #(
21890  *) :
21891     ;;
21892esac
21893
21894
21895
21896# Check whether --with-ncurses was given.
21897if test "${with_ncurses+set}" = set; then :
21898  withval=$with_ncurses;
21899else
21900  with_ncurses=auto
21901
21902fi
21903
21904have_ncurses=no
21905have_ncurses_header=no
21906case $with_ncurses:$build_widechar in #(
21907  yes:yes) :
21908    as_fn_error $? "wide-char support enabled, but non-wide ncurses selects" "$LINENO" 5 ;; #(
21909  *) :
21910     ;;
21911esac
21912
21913if test "x$have_ncursesw" = xno -a "x$with_ncurses" != xno ; then :
21914
21915
21916
21917
21918
21919  # ncurses6-config
21920  #
21921  if test "x$have_ncurses" = xno; then :
21922
21923    if test -n "$ac_tool_prefix"; then
21924  # Extract the first word of "${ac_tool_prefix}ncurses6-config", so it can be a program name with args.
21925set dummy ${ac_tool_prefix}ncurses6-config; ac_word=$2
21926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21927$as_echo_n "checking for $ac_word... " >&6; }
21928if ${ac_cv_prog_NCURSES6_CONFIG+:} false; then :
21929  $as_echo_n "(cached) " >&6
21930else
21931  if test -n "$NCURSES6_CONFIG"; then
21932  ac_cv_prog_NCURSES6_CONFIG="$NCURSES6_CONFIG" # Let the user override the test.
21933else
21934as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21935for as_dir in $PATH
21936do
21937  IFS=$as_save_IFS
21938  test -z "$as_dir" && as_dir=.
21939    for ac_exec_ext in '' $ac_executable_extensions; do
21940  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21941    ac_cv_prog_NCURSES6_CONFIG="${ac_tool_prefix}ncurses6-config"
21942    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21943    break 2
21944  fi
21945done
21946  done
21947IFS=$as_save_IFS
21948
21949fi
21950fi
21951NCURSES6_CONFIG=$ac_cv_prog_NCURSES6_CONFIG
21952if test -n "$NCURSES6_CONFIG"; then
21953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NCURSES6_CONFIG" >&5
21954$as_echo "$NCURSES6_CONFIG" >&6; }
21955else
21956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21957$as_echo "no" >&6; }
21958fi
21959
21960
21961fi
21962if test -z "$ac_cv_prog_NCURSES6_CONFIG"; then
21963  ac_ct_NCURSES6_CONFIG=$NCURSES6_CONFIG
21964  # Extract the first word of "ncurses6-config", so it can be a program name with args.
21965set dummy ncurses6-config; ac_word=$2
21966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21967$as_echo_n "checking for $ac_word... " >&6; }
21968if ${ac_cv_prog_ac_ct_NCURSES6_CONFIG+:} false; then :
21969  $as_echo_n "(cached) " >&6
21970else
21971  if test -n "$ac_ct_NCURSES6_CONFIG"; then
21972  ac_cv_prog_ac_ct_NCURSES6_CONFIG="$ac_ct_NCURSES6_CONFIG" # Let the user override the test.
21973else
21974as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21975for as_dir in $PATH
21976do
21977  IFS=$as_save_IFS
21978  test -z "$as_dir" && as_dir=.
21979    for ac_exec_ext in '' $ac_executable_extensions; do
21980  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21981    ac_cv_prog_ac_ct_NCURSES6_CONFIG="ncurses6-config"
21982    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21983    break 2
21984  fi
21985done
21986  done
21987IFS=$as_save_IFS
21988
21989fi
21990fi
21991ac_ct_NCURSES6_CONFIG=$ac_cv_prog_ac_ct_NCURSES6_CONFIG
21992if test -n "$ac_ct_NCURSES6_CONFIG"; then
21993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NCURSES6_CONFIG" >&5
21994$as_echo "$ac_ct_NCURSES6_CONFIG" >&6; }
21995else
21996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21997$as_echo "no" >&6; }
21998fi
21999
22000  if test "x$ac_ct_NCURSES6_CONFIG" = x; then
22001    NCURSES6_CONFIG=""
22002  else
22003    case $cross_compiling:$ac_tool_warned in
22004yes:)
22005{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22006$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22007ac_tool_warned=yes ;;
22008esac
22009    NCURSES6_CONFIG=$ac_ct_NCURSES6_CONFIG
22010  fi
22011else
22012  NCURSES6_CONFIG="$ac_cv_prog_NCURSES6_CONFIG"
22013fi
22014
22015    if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$NCURSES6_CONFIG --version >/dev/null"; } >&5
22016  ($NCURSES6_CONFIG --version >/dev/null) 2>&5
22017  ac_status=$?
22018  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22019  test $ac_status = 0; }; then
22020      have_ncurses=yes
22021      NCURSES_LIBS=`$NCURSES6_CONFIG --libs`
22022      NCURSES_CFLAGS=`$NCURSES6_CONFIG --cflags`
22023    else
22024      have_ncurses=no
22025    fi
22026
22027fi
22028
22029  # ncurses5-config
22030  #
22031  if test "x$have_ncurses" = xno; then :
22032
22033    if test -n "$ac_tool_prefix"; then
22034  # Extract the first word of "${ac_tool_prefix}ncurses5-config", so it can be a program name with args.
22035set dummy ${ac_tool_prefix}ncurses5-config; ac_word=$2
22036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22037$as_echo_n "checking for $ac_word... " >&6; }
22038if ${ac_cv_prog_NCURSES5_CONFIG+:} false; then :
22039  $as_echo_n "(cached) " >&6
22040else
22041  if test -n "$NCURSES5_CONFIG"; then
22042  ac_cv_prog_NCURSES5_CONFIG="$NCURSES5_CONFIG" # Let the user override the test.
22043else
22044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22045for as_dir in $PATH
22046do
22047  IFS=$as_save_IFS
22048  test -z "$as_dir" && as_dir=.
22049    for ac_exec_ext in '' $ac_executable_extensions; do
22050  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22051    ac_cv_prog_NCURSES5_CONFIG="${ac_tool_prefix}ncurses5-config"
22052    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22053    break 2
22054  fi
22055done
22056  done
22057IFS=$as_save_IFS
22058
22059fi
22060fi
22061NCURSES5_CONFIG=$ac_cv_prog_NCURSES5_CONFIG
22062if test -n "$NCURSES5_CONFIG"; then
22063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NCURSES5_CONFIG" >&5
22064$as_echo "$NCURSES5_CONFIG" >&6; }
22065else
22066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22067$as_echo "no" >&6; }
22068fi
22069
22070
22071fi
22072if test -z "$ac_cv_prog_NCURSES5_CONFIG"; then
22073  ac_ct_NCURSES5_CONFIG=$NCURSES5_CONFIG
22074  # Extract the first word of "ncurses5-config", so it can be a program name with args.
22075set dummy ncurses5-config; ac_word=$2
22076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22077$as_echo_n "checking for $ac_word... " >&6; }
22078if ${ac_cv_prog_ac_ct_NCURSES5_CONFIG+:} false; then :
22079  $as_echo_n "(cached) " >&6
22080else
22081  if test -n "$ac_ct_NCURSES5_CONFIG"; then
22082  ac_cv_prog_ac_ct_NCURSES5_CONFIG="$ac_ct_NCURSES5_CONFIG" # Let the user override the test.
22083else
22084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22085for as_dir in $PATH
22086do
22087  IFS=$as_save_IFS
22088  test -z "$as_dir" && as_dir=.
22089    for ac_exec_ext in '' $ac_executable_extensions; do
22090  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22091    ac_cv_prog_ac_ct_NCURSES5_CONFIG="ncurses5-config"
22092    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22093    break 2
22094  fi
22095done
22096  done
22097IFS=$as_save_IFS
22098
22099fi
22100fi
22101ac_ct_NCURSES5_CONFIG=$ac_cv_prog_ac_ct_NCURSES5_CONFIG
22102if test -n "$ac_ct_NCURSES5_CONFIG"; then
22103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NCURSES5_CONFIG" >&5
22104$as_echo "$ac_ct_NCURSES5_CONFIG" >&6; }
22105else
22106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22107$as_echo "no" >&6; }
22108fi
22109
22110  if test "x$ac_ct_NCURSES5_CONFIG" = x; then
22111    NCURSES5_CONFIG=""
22112  else
22113    case $cross_compiling:$ac_tool_warned in
22114yes:)
22115{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22116$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22117ac_tool_warned=yes ;;
22118esac
22119    NCURSES5_CONFIG=$ac_ct_NCURSES5_CONFIG
22120  fi
22121else
22122  NCURSES5_CONFIG="$ac_cv_prog_NCURSES5_CONFIG"
22123fi
22124
22125    if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$NCURSES5_CONFIG --version >/dev/null"; } >&5
22126  ($NCURSES5_CONFIG --version >/dev/null) 2>&5
22127  ac_status=$?
22128  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22129  test $ac_status = 0; }; then
22130      have_ncurses=yes
22131      NCURSES_LIBS=`$NCURSES5_CONFIG --libs`
22132      NCURSES_CFLAGS=`$NCURSES5_CONFIG --cflags`
22133    else
22134      have_ncurses=no
22135    fi
22136
22137fi
22138
22139  # pkg-config (not supported by ncurses upstream by default)
22140  #
22141  if test "x$have_ncurses" = xno; then :
22142
22143
22144pkg_failed=no
22145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NCURSES" >&5
22146$as_echo_n "checking for NCURSES... " >&6; }
22147
22148if test -n "$NCURSES_CFLAGS"; then
22149    pkg_cv_NCURSES_CFLAGS="$NCURSES_CFLAGS"
22150 elif test -n "$PKG_CONFIG"; then
22151    if test -n "$PKG_CONFIG" && \
22152    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
22153  ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
22154  ac_status=$?
22155  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22156  test $ac_status = 0; }; then
22157  pkg_cv_NCURSES_CFLAGS=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null`
22158		      test "x$?" != "x0" && pkg_failed=yes
22159else
22160  pkg_failed=yes
22161fi
22162 else
22163    pkg_failed=untried
22164fi
22165if test -n "$NCURSES_LIBS"; then
22166    pkg_cv_NCURSES_LIBS="$NCURSES_LIBS"
22167 elif test -n "$PKG_CONFIG"; then
22168    if test -n "$PKG_CONFIG" && \
22169    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
22170  ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
22171  ac_status=$?
22172  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22173  test $ac_status = 0; }; then
22174  pkg_cv_NCURSES_LIBS=`$PKG_CONFIG --libs "ncurses" 2>/dev/null`
22175		      test "x$?" != "x0" && pkg_failed=yes
22176else
22177  pkg_failed=yes
22178fi
22179 else
22180    pkg_failed=untried
22181fi
22182
22183
22184
22185if test $pkg_failed = yes; then
22186   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22187$as_echo "no" >&6; }
22188
22189if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22190        _pkg_short_errors_supported=yes
22191else
22192        _pkg_short_errors_supported=no
22193fi
22194        if test $_pkg_short_errors_supported = yes; then
22195	        NCURSES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncurses" 2>&1`
22196        else
22197	        NCURSES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ncurses" 2>&1`
22198        fi
22199	# Put the nasty error message in config.log where it belongs
22200	echo "$NCURSES_PKG_ERRORS" >&5
22201
22202	have_ncurses=no
22203elif test $pkg_failed = untried; then
22204     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22205$as_echo "no" >&6; }
22206	have_ncurses=no
22207else
22208	NCURSES_CFLAGS=$pkg_cv_NCURSES_CFLAGS
22209	NCURSES_LIBS=$pkg_cv_NCURSES_LIBS
22210        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22211$as_echo "yes" >&6; }
22212
22213      have_ncurses=yes
22214      NCURSES_LIBS=${NCURSES_LIBS}
22215      NCURSES_CFLAGS=${NCURSES_CFLAGS}
22216
22217fi
22218
22219fi
22220
22221  # classic autoconf way
22222  #
22223  if test "x$have_ncurses" = xno; then :
22224
22225    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5
22226$as_echo_n "checking for initscr in -lncurses... " >&6; }
22227if ${ac_cv_lib_ncurses_initscr+:} false; then :
22228  $as_echo_n "(cached) " >&6
22229else
22230  ac_check_lib_save_LIBS=$LIBS
22231LIBS="-lncurses  $LIBS"
22232cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22233/* end confdefs.h.  */
22234
22235/* Override any GCC internal prototype to avoid an error.
22236   Use char because int might match the return type of a GCC
22237   builtin and then its argument prototype would still apply.  */
22238#ifdef __cplusplus
22239extern "C"
22240#endif
22241char initscr ();
22242int
22243main ()
22244{
22245return initscr ();
22246  ;
22247  return 0;
22248}
22249_ACEOF
22250if ac_fn_c_try_link "$LINENO"; then :
22251  ac_cv_lib_ncurses_initscr=yes
22252else
22253  ac_cv_lib_ncurses_initscr=no
22254fi
22255rm -f core conftest.err conftest.$ac_objext \
22256    conftest$ac_exeext conftest.$ac_ext
22257LIBS=$ac_check_lib_save_LIBS
22258fi
22259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
22260$as_echo "$ac_cv_lib_ncurses_initscr" >&6; }
22261if test "x$ac_cv_lib_ncurses_initscr" = xyes; then :
22262  have_ncurses=yes
22263else
22264  have_ncurses=no
22265fi
22266
22267    if test "x$have_ncurses" = xyes; then :
22268  NCURSES_LIBS="-lncurses"
22269fi
22270
22271fi
22272
22273  if test "x$have_ncurses" = xyes; then :
22274
22275    for ac_header in ncurses/ncurses.h
22276do :
22277  ac_fn_c_check_header_mongrel "$LINENO" "ncurses/ncurses.h" "ac_cv_header_ncurses_ncurses_h" "$ac_includes_default"
22278if test "x$ac_cv_header_ncurses_ncurses_h" = xyes; then :
22279  cat >>confdefs.h <<_ACEOF
22280#define HAVE_NCURSES_NCURSES_H 1
22281_ACEOF
22282 have_ncurses_header=yes
22283fi
22284
22285done
22286
22287    for ac_header in ncurses/term.h
22288do :
22289  ac_fn_c_check_header_mongrel "$LINENO" "ncurses/term.h" "ac_cv_header_ncurses_term_h" "$ac_includes_default"
22290if test "x$ac_cv_header_ncurses_term_h" = xyes; then :
22291  cat >>confdefs.h <<_ACEOF
22292#define HAVE_NCURSES_TERM_H 1
22293_ACEOF
22294
22295fi
22296
22297done
22298
22299
22300    # Define HAVE_NCURSES_H only if check for HAVE_NCURSES_NCURSES_H is
22301    # unsuccessful to avoid too many *_H permitations in config.h
22302    if test "x$have_ncurses_header" = xno; then :
22303
22304	   for ac_header in ncurses.h
22305do :
22306  ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default"
22307if test "x$ac_cv_header_ncurses_h" = xyes; then :
22308  cat >>confdefs.h <<_ACEOF
22309#define HAVE_NCURSES_H 1
22310_ACEOF
22311 have_ncurses_header=yes
22312fi
22313
22314done
22315
22316	   for ac_header in term.h
22317do :
22318  ac_fn_c_check_header_mongrel "$LINENO" "term.h" "ac_cv_header_term_h" "$ac_includes_default"
22319if test "x$ac_cv_header_term_h" = xyes; then :
22320  cat >>confdefs.h <<_ACEOF
22321#define HAVE_TERM_H 1
22322_ACEOF
22323
22324fi
22325
22326done
22327
22328
22329fi
22330    if test "x$have_ncurses_header" = xno; then :
22331  have_ncurses=no
22332fi
22333
22334fi
22335  if test "x$have_ncurses" = xyes; then :
22336
22337    CURSES_LIB_NAME="ncurses"
22338
22339$as_echo "#define HAVE_LIBNCURSES 1" >>confdefs.h
22340
22341
22342fi
22343
22344fi
22345case $with_ncurses:$have_ncurses in #(
22346  yes:no) :
22347    as_fn_error $? "ncurses selected, but library not found" "$LINENO" 5 ;; #(
22348  *) :
22349     ;;
22350esac
22351
22352
22353
22354 if test "x$have_ncursesw" = xyes -o  "x$have_ncurses" = xyes; then
22355  HAVE_NCURSES_TRUE=
22356  HAVE_NCURSES_FALSE='#'
22357else
22358  HAVE_NCURSES_TRUE='#'
22359  HAVE_NCURSES_FALSE=
22360fi
22361
22362
22363
22364
22365# Check whether --with-slang was given.
22366if test "${with_slang+set}" = set; then :
22367  withval=$with_slang;
22368else
22369  with_slang=no
22370
22371fi
22372
22373have_slang=no
22374if test "x$with_slang" = xyes; then :
22375
22376  for ac_header in slang.h slang/slang.h
22377do :
22378  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22379ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22380if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22381  cat >>confdefs.h <<_ACEOF
22382#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22383_ACEOF
22384
22385fi
22386
22387done
22388
22389  for ac_header in slcurses.h slang/slcurses.h
22390do :
22391  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22392ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
22393#ifdef HAVE_SLANG_H
22394#include <slang.h>
22395#elif defined(HAVE_SLANG_SLANG_H)
22396#include <slang/slang.h>
22397#endif
22398
22399"
22400if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22401  cat >>confdefs.h <<_ACEOF
22402#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22403_ACEOF
22404 have_slang=yes
22405fi
22406
22407done
22408
22409  if test "x$have_slang" = xno; then :
22410
22411    as_fn_error $? "slang selected but slcurses.h not found" "$LINENO" 5
22412else
22413  CURSES_LIB_NAME=slang
22414
22415fi
22416
22417fi
22418 if test "x$have_slang" = xyes; then
22419  HAVE_SLANG_TRUE=
22420  HAVE_SLANG_FALSE='#'
22421else
22422  HAVE_SLANG_TRUE='#'
22423  HAVE_SLANG_FALSE=
22424fi
22425
22426
22427
22428if test "x$have_slang" = xyes -o "x$have_ncursesw" = xyes -o "x$have_ncurses" = xyes; then :
22429
22430	as_ac_Lib=`$as_echo "ac_cv_lib_$CURSES_LIB_NAME''_use_default_colors" | $as_tr_sh`
22431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for use_default_colors in -l$CURSES_LIB_NAME" >&5
22432$as_echo_n "checking for use_default_colors in -l$CURSES_LIB_NAME... " >&6; }
22433if eval \${$as_ac_Lib+:} false; then :
22434  $as_echo_n "(cached) " >&6
22435else
22436  ac_check_lib_save_LIBS=$LIBS
22437LIBS="-l$CURSES_LIB_NAME  $LIBS"
22438cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22439/* end confdefs.h.  */
22440
22441/* Override any GCC internal prototype to avoid an error.
22442   Use char because int might match the return type of a GCC
22443   builtin and then its argument prototype would still apply.  */
22444#ifdef __cplusplus
22445extern "C"
22446#endif
22447char use_default_colors ();
22448int
22449main ()
22450{
22451return use_default_colors ();
22452  ;
22453  return 0;
22454}
22455_ACEOF
22456if ac_fn_c_try_link "$LINENO"; then :
22457  eval "$as_ac_Lib=yes"
22458else
22459  eval "$as_ac_Lib=no"
22460fi
22461rm -f core conftest.err conftest.$ac_objext \
22462    conftest$ac_exeext conftest.$ac_ext
22463LIBS=$ac_check_lib_save_LIBS
22464fi
22465eval ac_res=\$$as_ac_Lib
22466	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22467$as_echo "$ac_res" >&6; }
22468if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
22469
22470
22471$as_echo "#define HAVE_USE_DEFAULT_COLORS 1" >>confdefs.h
22472
22473
22474fi
22475
22476	as_ac_Lib=`$as_echo "ac_cv_lib_$CURSES_LIB_NAME''_resizeterm" | $as_tr_sh`
22477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for resizeterm in -l$CURSES_LIB_NAME" >&5
22478$as_echo_n "checking for resizeterm in -l$CURSES_LIB_NAME... " >&6; }
22479if eval \${$as_ac_Lib+:} false; then :
22480  $as_echo_n "(cached) " >&6
22481else
22482  ac_check_lib_save_LIBS=$LIBS
22483LIBS="-l$CURSES_LIB_NAME  $LIBS"
22484cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22485/* end confdefs.h.  */
22486
22487/* Override any GCC internal prototype to avoid an error.
22488   Use char because int might match the return type of a GCC
22489   builtin and then its argument prototype would still apply.  */
22490#ifdef __cplusplus
22491extern "C"
22492#endif
22493char resizeterm ();
22494int
22495main ()
22496{
22497return resizeterm ();
22498  ;
22499  return 0;
22500}
22501_ACEOF
22502if ac_fn_c_try_link "$LINENO"; then :
22503  eval "$as_ac_Lib=yes"
22504else
22505  eval "$as_ac_Lib=no"
22506fi
22507rm -f core conftest.err conftest.$ac_objext \
22508    conftest$ac_exeext conftest.$ac_ext
22509LIBS=$ac_check_lib_save_LIBS
22510fi
22511eval ac_res=\$$as_ac_Lib
22512	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22513$as_echo "$ac_res" >&6; }
22514if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
22515
22516
22517$as_echo "#define HAVE_RESIZETERM 1" >>confdefs.h
22518
22519
22520fi
22521
22522
22523fi
22524
22525
22526
22527# Check whether --with-tinfo was given.
22528if test "${with_tinfo+set}" = set; then :
22529  withval=$with_tinfo;
22530else
22531  with_tinfo=auto
22532
22533fi
22534
22535have_tinfo=no
22536have_tinfow=no
22537if test "x$with_tinfo" != xno; then :
22538
22539  if test "x$have_ncursesw" = xyes; then :
22540
22541
22542
22543
22544
22545
22546pkg_failed=no
22547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TINFOW" >&5
22548$as_echo_n "checking for TINFOW... " >&6; }
22549
22550if test -n "$TINFOW_CFLAGS"; then
22551    pkg_cv_TINFOW_CFLAGS="$TINFOW_CFLAGS"
22552 elif test -n "$PKG_CONFIG"; then
22553    if test -n "$PKG_CONFIG" && \
22554    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinfow\""; } >&5
22555  ($PKG_CONFIG --exists --print-errors "tinfow") 2>&5
22556  ac_status=$?
22557  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22558  test $ac_status = 0; }; then
22559  pkg_cv_TINFOW_CFLAGS=`$PKG_CONFIG --cflags "tinfow" 2>/dev/null`
22560		      test "x$?" != "x0" && pkg_failed=yes
22561else
22562  pkg_failed=yes
22563fi
22564 else
22565    pkg_failed=untried
22566fi
22567if test -n "$TINFOW_LIBS"; then
22568    pkg_cv_TINFOW_LIBS="$TINFOW_LIBS"
22569 elif test -n "$PKG_CONFIG"; then
22570    if test -n "$PKG_CONFIG" && \
22571    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinfow\""; } >&5
22572  ($PKG_CONFIG --exists --print-errors "tinfow") 2>&5
22573  ac_status=$?
22574  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22575  test $ac_status = 0; }; then
22576  pkg_cv_TINFOW_LIBS=`$PKG_CONFIG --libs "tinfow" 2>/dev/null`
22577		      test "x$?" != "x0" && pkg_failed=yes
22578else
22579  pkg_failed=yes
22580fi
22581 else
22582    pkg_failed=untried
22583fi
22584
22585
22586
22587if test $pkg_failed = yes; then
22588   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22589$as_echo "no" >&6; }
22590
22591if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22592        _pkg_short_errors_supported=yes
22593else
22594        _pkg_short_errors_supported=no
22595fi
22596        if test $_pkg_short_errors_supported = yes; then
22597	        TINFOW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tinfow" 2>&1`
22598        else
22599	        TINFOW_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tinfow" 2>&1`
22600        fi
22601	# Put the nasty error message in config.log where it belongs
22602	echo "$TINFOW_PKG_ERRORS" >&5
22603
22604
22605        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfow" >&5
22606$as_echo_n "checking for tgetent in -ltinfow... " >&6; }
22607if ${ac_cv_lib_tinfow_tgetent+:} false; then :
22608  $as_echo_n "(cached) " >&6
22609else
22610  ac_check_lib_save_LIBS=$LIBS
22611LIBS="-ltinfow  $LIBS"
22612cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22613/* end confdefs.h.  */
22614
22615/* Override any GCC internal prototype to avoid an error.
22616   Use char because int might match the return type of a GCC
22617   builtin and then its argument prototype would still apply.  */
22618#ifdef __cplusplus
22619extern "C"
22620#endif
22621char tgetent ();
22622int
22623main ()
22624{
22625return tgetent ();
22626  ;
22627  return 0;
22628}
22629_ACEOF
22630if ac_fn_c_try_link "$LINENO"; then :
22631  ac_cv_lib_tinfow_tgetent=yes
22632else
22633  ac_cv_lib_tinfow_tgetent=no
22634fi
22635rm -f core conftest.err conftest.$ac_objext \
22636    conftest$ac_exeext conftest.$ac_ext
22637LIBS=$ac_check_lib_save_LIBS
22638fi
22639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfow_tgetent" >&5
22640$as_echo "$ac_cv_lib_tinfow_tgetent" >&6; }
22641if test "x$ac_cv_lib_tinfow_tgetent" = xyes; then :
22642
22643       have_tinfow=yes
22644       TINFO_LIBS="-ltinfow"
22645       TINFO_LIBS_STATIC="-ltinfow"
22646       TINFO_CFLAGS=""
22647fi
22648
22649
22650elif test $pkg_failed = untried; then
22651     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22652$as_echo "no" >&6; }
22653
22654        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfow" >&5
22655$as_echo_n "checking for tgetent in -ltinfow... " >&6; }
22656if ${ac_cv_lib_tinfow_tgetent+:} false; then :
22657  $as_echo_n "(cached) " >&6
22658else
22659  ac_check_lib_save_LIBS=$LIBS
22660LIBS="-ltinfow  $LIBS"
22661cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22662/* end confdefs.h.  */
22663
22664/* Override any GCC internal prototype to avoid an error.
22665   Use char because int might match the return type of a GCC
22666   builtin and then its argument prototype would still apply.  */
22667#ifdef __cplusplus
22668extern "C"
22669#endif
22670char tgetent ();
22671int
22672main ()
22673{
22674return tgetent ();
22675  ;
22676  return 0;
22677}
22678_ACEOF
22679if ac_fn_c_try_link "$LINENO"; then :
22680  ac_cv_lib_tinfow_tgetent=yes
22681else
22682  ac_cv_lib_tinfow_tgetent=no
22683fi
22684rm -f core conftest.err conftest.$ac_objext \
22685    conftest$ac_exeext conftest.$ac_ext
22686LIBS=$ac_check_lib_save_LIBS
22687fi
22688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfow_tgetent" >&5
22689$as_echo "$ac_cv_lib_tinfow_tgetent" >&6; }
22690if test "x$ac_cv_lib_tinfow_tgetent" = xyes; then :
22691
22692       have_tinfow=yes
22693       TINFO_LIBS="-ltinfow"
22694       TINFO_LIBS_STATIC="-ltinfow"
22695       TINFO_CFLAGS=""
22696fi
22697
22698
22699else
22700	TINFOW_CFLAGS=$pkg_cv_TINFOW_CFLAGS
22701	TINFOW_LIBS=$pkg_cv_TINFOW_LIBS
22702        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22703$as_echo "yes" >&6; }
22704
22705        have_tinfow=yes
22706    TINFO_LIBS=${TINFOW_LIBS}
22707    TINFO_CFLAGS=${TINFOW_CFLAGS}
22708
22709  if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinfow\""; } >&5
22710  ($PKG_CONFIG --exists --print-errors "tinfow") 2>&5
22711  ac_status=$?
22712  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22713  test $ac_status = 0; }; then
22714    TINFO_LIBS_STATIC=`$PKG_CONFIG --libs --static "tinfow"`
22715  else
22716    as_fn_error $? "pkg-config description of tinfow, needed for static build, is not available" "$LINENO" 5
22717  fi
22718
22719
22720fi
22721
22722
22723fi
22724  if test "x$have_tinfow" = xno; then :
22725
22726
22727
22728
22729
22730
22731pkg_failed=no
22732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TINFO" >&5
22733$as_echo_n "checking for TINFO... " >&6; }
22734
22735if test -n "$TINFO_CFLAGS"; then
22736    pkg_cv_TINFO_CFLAGS="$TINFO_CFLAGS"
22737 elif test -n "$PKG_CONFIG"; then
22738    if test -n "$PKG_CONFIG" && \
22739    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinfo\""; } >&5
22740  ($PKG_CONFIG --exists --print-errors "tinfo") 2>&5
22741  ac_status=$?
22742  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22743  test $ac_status = 0; }; then
22744  pkg_cv_TINFO_CFLAGS=`$PKG_CONFIG --cflags "tinfo" 2>/dev/null`
22745		      test "x$?" != "x0" && pkg_failed=yes
22746else
22747  pkg_failed=yes
22748fi
22749 else
22750    pkg_failed=untried
22751fi
22752if test -n "$TINFO_LIBS"; then
22753    pkg_cv_TINFO_LIBS="$TINFO_LIBS"
22754 elif test -n "$PKG_CONFIG"; then
22755    if test -n "$PKG_CONFIG" && \
22756    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinfo\""; } >&5
22757  ($PKG_CONFIG --exists --print-errors "tinfo") 2>&5
22758  ac_status=$?
22759  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22760  test $ac_status = 0; }; then
22761  pkg_cv_TINFO_LIBS=`$PKG_CONFIG --libs "tinfo" 2>/dev/null`
22762		      test "x$?" != "x0" && pkg_failed=yes
22763else
22764  pkg_failed=yes
22765fi
22766 else
22767    pkg_failed=untried
22768fi
22769
22770
22771
22772if test $pkg_failed = yes; then
22773   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22774$as_echo "no" >&6; }
22775
22776if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22777        _pkg_short_errors_supported=yes
22778else
22779        _pkg_short_errors_supported=no
22780fi
22781        if test $_pkg_short_errors_supported = yes; then
22782	        TINFO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tinfo" 2>&1`
22783        else
22784	        TINFO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tinfo" 2>&1`
22785        fi
22786	# Put the nasty error message in config.log where it belongs
22787	echo "$TINFO_PKG_ERRORS" >&5
22788
22789
22790        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5
22791$as_echo_n "checking for tgetent in -ltinfo... " >&6; }
22792if ${ac_cv_lib_tinfo_tgetent+:} false; then :
22793  $as_echo_n "(cached) " >&6
22794else
22795  ac_check_lib_save_LIBS=$LIBS
22796LIBS="-ltinfo  $LIBS"
22797cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22798/* end confdefs.h.  */
22799
22800/* Override any GCC internal prototype to avoid an error.
22801   Use char because int might match the return type of a GCC
22802   builtin and then its argument prototype would still apply.  */
22803#ifdef __cplusplus
22804extern "C"
22805#endif
22806char tgetent ();
22807int
22808main ()
22809{
22810return tgetent ();
22811  ;
22812  return 0;
22813}
22814_ACEOF
22815if ac_fn_c_try_link "$LINENO"; then :
22816  ac_cv_lib_tinfo_tgetent=yes
22817else
22818  ac_cv_lib_tinfo_tgetent=no
22819fi
22820rm -f core conftest.err conftest.$ac_objext \
22821    conftest$ac_exeext conftest.$ac_ext
22822LIBS=$ac_check_lib_save_LIBS
22823fi
22824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_tgetent" >&5
22825$as_echo "$ac_cv_lib_tinfo_tgetent" >&6; }
22826if test "x$ac_cv_lib_tinfo_tgetent" = xyes; then :
22827
22828       have_tinfo=yes
22829       TINFO_LIBS="-ltinfo"
22830       TINFO_LIBS_STATIC="-ltinfo"
22831       TINFO_CFLAGS=""
22832fi
22833
22834
22835elif test $pkg_failed = untried; then
22836     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22837$as_echo "no" >&6; }
22838
22839        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5
22840$as_echo_n "checking for tgetent in -ltinfo... " >&6; }
22841if ${ac_cv_lib_tinfo_tgetent+:} false; then :
22842  $as_echo_n "(cached) " >&6
22843else
22844  ac_check_lib_save_LIBS=$LIBS
22845LIBS="-ltinfo  $LIBS"
22846cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22847/* end confdefs.h.  */
22848
22849/* Override any GCC internal prototype to avoid an error.
22850   Use char because int might match the return type of a GCC
22851   builtin and then its argument prototype would still apply.  */
22852#ifdef __cplusplus
22853extern "C"
22854#endif
22855char tgetent ();
22856int
22857main ()
22858{
22859return tgetent ();
22860  ;
22861  return 0;
22862}
22863_ACEOF
22864if ac_fn_c_try_link "$LINENO"; then :
22865  ac_cv_lib_tinfo_tgetent=yes
22866else
22867  ac_cv_lib_tinfo_tgetent=no
22868fi
22869rm -f core conftest.err conftest.$ac_objext \
22870    conftest$ac_exeext conftest.$ac_ext
22871LIBS=$ac_check_lib_save_LIBS
22872fi
22873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_tgetent" >&5
22874$as_echo "$ac_cv_lib_tinfo_tgetent" >&6; }
22875if test "x$ac_cv_lib_tinfo_tgetent" = xyes; then :
22876
22877       have_tinfo=yes
22878       TINFO_LIBS="-ltinfo"
22879       TINFO_LIBS_STATIC="-ltinfo"
22880       TINFO_CFLAGS=""
22881fi
22882
22883
22884else
22885	TINFO_CFLAGS=$pkg_cv_TINFO_CFLAGS
22886	TINFO_LIBS=$pkg_cv_TINFO_LIBS
22887        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22888$as_echo "yes" >&6; }
22889
22890        have_tinfo=yes
22891    TINFO_LIBS=${TINFO_LIBS}
22892    TINFO_CFLAGS=${TINFO_CFLAGS}
22893
22894  if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinfo\""; } >&5
22895  ($PKG_CONFIG --exists --print-errors "tinfo") 2>&5
22896  ac_status=$?
22897  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22898  test $ac_status = 0; }; then
22899    TINFO_LIBS_STATIC=`$PKG_CONFIG --libs --static "tinfo"`
22900  else
22901    as_fn_error $? "pkg-config description of tinfo, needed for static build, is not available" "$LINENO" 5
22902  fi
22903
22904
22905fi
22906
22907
22908fi
22909
22910fi
22911
22912
22913
22914 if test "x$have_tinfo" = xyes -o "x$have_tinfow" = xyes; then
22915  HAVE_TINFO_TRUE=
22916  HAVE_TINFO_FALSE='#'
22917else
22918  HAVE_TINFO_TRUE='#'
22919  HAVE_TINFO_FALSE=
22920fi
22921
22922if test "x$have_tinfo" = xyes -o "x$have_tinfow" = xyes; then :
22923
22924
22925$as_echo "#define HAVE_LIBTINFO 1" >>confdefs.h
22926
22927
22928fi
22929
22930
22931
22932# Check whether --with-readline was given.
22933if test "${with_readline+set}" = set; then :
22934  withval=$with_readline;
22935else
22936  with_readline=auto
22937
22938fi
22939
22940
22941if test "x$with_readline" = xno; then :
22942
22943   if false; then
22944  HAVE_READLINE_TRUE=
22945  HAVE_READLINE_FALSE='#'
22946else
22947  HAVE_READLINE_TRUE='#'
22948  HAVE_READLINE_FALSE=
22949fi
22950
22951
22952else
22953
22954
22955
22956  have_readline=yes
22957  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
22958$as_echo_n "checking for readline in -lreadline... " >&6; }
22959if ${ac_cv_lib_readline_readline+:} false; then :
22960  $as_echo_n "(cached) " >&6
22961else
22962  ac_check_lib_save_LIBS=$LIBS
22963LIBS="-lreadline  $LIBS"
22964cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22965/* end confdefs.h.  */
22966
22967/* Override any GCC internal prototype to avoid an error.
22968   Use char because int might match the return type of a GCC
22969   builtin and then its argument prototype would still apply.  */
22970#ifdef __cplusplus
22971extern "C"
22972#endif
22973char readline ();
22974int
22975main ()
22976{
22977return readline ();
22978  ;
22979  return 0;
22980}
22981_ACEOF
22982if ac_fn_c_try_link "$LINENO"; then :
22983  ac_cv_lib_readline_readline=yes
22984else
22985  ac_cv_lib_readline_readline=no
22986fi
22987rm -f core conftest.err conftest.$ac_objext \
22988    conftest$ac_exeext conftest.$ac_ext
22989LIBS=$ac_check_lib_save_LIBS
22990fi
22991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
22992$as_echo "$ac_cv_lib_readline_readline" >&6; }
22993if test "x$ac_cv_lib_readline_readline" = xyes; then :
22994  cat >>confdefs.h <<_ACEOF
22995#define HAVE_LIBREADLINE 1
22996_ACEOF
22997
22998  LIBS="-lreadline $LIBS"
22999
23000else
23001  have_readline=no
23002fi
23003
23004   if test $have_readline = yes; then
23005  HAVE_READLINE_TRUE=
23006  HAVE_READLINE_FALSE='#'
23007else
23008  HAVE_READLINE_TRUE='#'
23009  HAVE_READLINE_FALSE=
23010fi
23011
23012
23013  case $with_readline:$have_readline in #(
23014  yes:no) :
23015    as_fn_error $? "readline selected but libreadline not found " "$LINENO" 5 ;; #(
23016  *:yes) :
23017    READLINE_LIBS="-lreadline"
23018       READLINE_LIBS_STATIC="-lreadline $TINFO_LIBS_STATIC"
23019   ;; #(
23020  *) :
23021     ;;
23022esac
23023
23024fi
23025
23026
23027
23028
23029
23030# Check whether --with-utempter was given.
23031if test "${with_utempter+set}" = set; then :
23032  withval=$with_utempter;
23033else
23034  with_utempter=no
23035
23036fi
23037
23038
23039if test "x$with_utempter" = xyes; then :
23040
23041
23042
23043  have_utempter=yes
23044  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utempter_add_record in -lutempter" >&5
23045$as_echo_n "checking for utempter_add_record in -lutempter... " >&6; }
23046if ${ac_cv_lib_utempter_utempter_add_record+:} false; then :
23047  $as_echo_n "(cached) " >&6
23048else
23049  ac_check_lib_save_LIBS=$LIBS
23050LIBS="-lutempter  $LIBS"
23051cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23052/* end confdefs.h.  */
23053
23054/* Override any GCC internal prototype to avoid an error.
23055   Use char because int might match the return type of a GCC
23056   builtin and then its argument prototype would still apply.  */
23057#ifdef __cplusplus
23058extern "C"
23059#endif
23060char utempter_add_record ();
23061int
23062main ()
23063{
23064return utempter_add_record ();
23065  ;
23066  return 0;
23067}
23068_ACEOF
23069if ac_fn_c_try_link "$LINENO"; then :
23070  ac_cv_lib_utempter_utempter_add_record=yes
23071else
23072  ac_cv_lib_utempter_utempter_add_record=no
23073fi
23074rm -f core conftest.err conftest.$ac_objext \
23075    conftest$ac_exeext conftest.$ac_ext
23076LIBS=$ac_check_lib_save_LIBS
23077fi
23078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_utempter_utempter_add_record" >&5
23079$as_echo "$ac_cv_lib_utempter_utempter_add_record" >&6; }
23080if test "x$ac_cv_lib_utempter_utempter_add_record" = xyes; then :
23081  cat >>confdefs.h <<_ACEOF
23082#define HAVE_LIBUTEMPTER 1
23083_ACEOF
23084
23085  LIBS="-lutempter $LIBS"
23086
23087else
23088  have_utempter=no
23089fi
23090
23091   if test $have_utempter = yes; then
23092  HAVE_UTEMPTER_TRUE=
23093  HAVE_UTEMPTER_FALSE='#'
23094else
23095  HAVE_UTEMPTER_TRUE='#'
23096  HAVE_UTEMPTER_FALSE=
23097fi
23098
23099
23100  if test "x$have_utempter" = xno; then :
23101
23102    as_fn_error $? "utempter selected but libutempter not found" "$LINENO" 5
23103
23104fi
23105
23106else
23107
23108   if false; then
23109  HAVE_UTEMPTER_TRUE=
23110  HAVE_UTEMPTER_FALSE='#'
23111else
23112  HAVE_UTEMPTER_TRUE='#'
23113  HAVE_UTEMPTER_FALSE=
23114fi
23115
23116
23117fi
23118
23119
23120# Check whether --enable-libuuid was given.
23121if test "${enable_libuuid+set}" = set; then :
23122  enableval=$enable_libuuid;
23123else
23124
23125
23126  if test "x$ul_default_estate" != x; then
23127    enable_libuuid=$ul_default_estate
23128  else
23129    enable_libuuid=yes
23130  fi
23131
23132
23133fi
23134
23135
23136
23137  if test "x$enable_libuuid" = xno; then
23138   build_libuuid=no
23139else
23140   build_libuuid=yes
23141fi
23142
23143
23144
23145 if test "x$build_libuuid" = xyes; then
23146  BUILD_LIBUUID_TRUE=
23147  BUILD_LIBUUID_FALSE='#'
23148else
23149  BUILD_LIBUUID_TRUE='#'
23150  BUILD_LIBUUID_FALSE=
23151fi
23152
23153
23154# Check whether --enable-libuuid-force-uuidd was given.
23155if test "${enable_libuuid_force_uuidd+set}" = set; then :
23156  enableval=$enable_libuuid_force_uuidd;
23157else
23158  enable_libuuid_force_uuidd=no
23159
23160fi
23161
23162
23163if test "x$build_libuuid" = xyes; then :
23164
23165
23166$as_echo "#define HAVE_LIBUUID 1" >>confdefs.h
23167
23168
23169fi
23170
23171# Check whether --enable-libblkid was given.
23172if test "${enable_libblkid+set}" = set; then :
23173  enableval=$enable_libblkid;
23174else
23175
23176
23177  if test "x$ul_default_estate" != x; then
23178    enable_libblkid=$ul_default_estate
23179  else
23180    enable_libblkid=check
23181  fi
23182
23183
23184fi
23185
23186
23187
23188  if test "x$enable_libblkid" = xno; then
23189   build_libblkid=no
23190else
23191   build_libblkid=yes
23192fi
23193
23194
23195
23196
23197  if test "x$build_libblkid" != xno; then
23198
23199    ul_haveone_libblkid=no
23200
23201      if test "x$have_openat" = xyes; then
23202        ul_haveone_libblkid=yes
23203      fi
23204
23205    case $enable_libblkid:$ul_haveone_libblkid in #(
23206    no:*)
23207      build_libblkid=no ;;
23208    yes:yes)
23209      build_libblkid=yes ;;
23210    yes:*)
23211      as_fn_error $? "libblkid selected, but required openat functions not available" "$LINENO" 5;;
23212    check:yes)
23213      build_libblkid=yes ;;
23214    check:*)
23215      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: openat functions not found; not building libblkid" >&5
23216$as_echo "$as_me: WARNING: openat functions not found; not building libblkid" >&2;}
23217      build_libblkid=no ;;
23218    esac
23219  fi
23220
23221
23222
23223
23224  if test "x$build_libblkid" != xno; then
23225
23226    ul_haveone_libblkid=no
23227
23228      if test "x$have_dirfd" = xyes; then
23229        ul_haveone_libblkid=yes
23230      fi
23231
23232      if test "x$have_ddfd" = xyes; then
23233        ul_haveone_libblkid=yes
23234      fi
23235
23236    case $enable_libblkid:$ul_haveone_libblkid in #(
23237    no:*)
23238      build_libblkid=no ;;
23239    yes:yes)
23240      build_libblkid=yes ;;
23241    yes:*)
23242      as_fn_error $? "libblkid selected, but required dirfd or ddfd function not available" "$LINENO" 5;;
23243    check:yes)
23244      build_libblkid=yes ;;
23245    check:*)
23246      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dirfd or ddfd function not found; not building libblkid" >&5
23247$as_echo "$as_me: WARNING: dirfd or ddfd function not found; not building libblkid" >&2;}
23248      build_libblkid=no ;;
23249    esac
23250  fi
23251
23252
23253
23254
23255
23256cat >>confdefs.h <<_ACEOF
23257#define LIBBLKID_VERSION "$LIBBLKID_VERSION"
23258_ACEOF
23259
23260
23261cat >>confdefs.h <<_ACEOF
23262#define LIBBLKID_DATE "$LIBBLKID_DATE"
23263_ACEOF
23264
23265if test "x$build_libblkid" = xyes; then :
23266
23267
23268$as_echo "#define HAVE_LIBBLKID 1" >>confdefs.h
23269
23270
23271fi
23272 if test "x$build_libblkid" = xyes; then
23273  BUILD_LIBBLKID_TRUE=
23274  BUILD_LIBBLKID_FALSE='#'
23275else
23276  BUILD_LIBBLKID_TRUE='#'
23277  BUILD_LIBBLKID_FALSE=
23278fi
23279
23280 if test "x$build_libblkid" = xyes -a "x$enable_static" = xyes; then
23281  BUILD_LIBBLKID_TESTS_TRUE=
23282  BUILD_LIBBLKID_TESTS_FALSE='#'
23283else
23284  BUILD_LIBBLKID_TESTS_TRUE='#'
23285  BUILD_LIBBLKID_TESTS_FALSE=
23286fi
23287
23288
23289# Check whether --enable-libmount was given.
23290if test "${enable_libmount+set}" = set; then :
23291  enableval=$enable_libmount;
23292else
23293
23294
23295  if test "x$ul_default_estate" != x; then
23296    enable_libmount=$ul_default_estate
23297  else
23298    enable_libmount=check
23299  fi
23300
23301
23302fi
23303
23304
23305
23306  if test "x$enable_libmount" = xno; then
23307   build_libmount=no
23308else
23309   build_libmount=yes
23310fi
23311
23312
23313
23314
23315  if test "x$build_libmount" != xno; then
23316    case $enable_libmount:$build_libblkid in #(
23317    no:*)
23318      build_libmount=no ;;
23319    yes:yes)
23320      build_libmount=yes ;;
23321    yes:*)
23322      as_fn_error $? "libblkid is needed to build libmount" "$LINENO" 5;;
23323    check:yes)
23324      build_libmount=yes ;;
23325    check:*)
23326      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; not building libmount" >&5
23327$as_echo "$as_me: WARNING: libblkid disabled; not building libmount" >&2;}
23328      build_libmount=no ;;
23329    esac
23330  fi
23331
23332
23333
23334
23335  if test "x$build_libmount" != xno; then
23336
23337    ul_haveone_libmount=no
23338
23339      if test "x$have_scanf_alloc_modifier" = xyes; then
23340        ul_haveone_libmount=yes
23341      fi
23342
23343    case $enable_libmount:$ul_haveone_libmount in #(
23344    no:*)
23345      build_libmount=no ;;
23346    yes:yes)
23347      build_libmount=yes ;;
23348    yes:*)
23349      as_fn_error $? "libmount selected, but required scanf string alloc modifier not available" "$LINENO" 5;;
23350    check:yes)
23351      build_libmount=yes ;;
23352    check:*)
23353      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: scanf string alloc modifier not found; not building libmount" >&5
23354$as_echo "$as_me: WARNING: scanf string alloc modifier not found; not building libmount" >&2;}
23355      build_libmount=no ;;
23356    esac
23357  fi
23358
23359
23360
23361
23362  if test "x$build_libmount" != xno; then
23363
23364    ul_haveone_libmount=no
23365
23366      if test "x$have_dirfd" = xyes; then
23367        ul_haveone_libmount=yes
23368      fi
23369
23370      if test "x$have_ddfd" = xyes; then
23371        ul_haveone_libmount=yes
23372      fi
23373
23374    case $enable_libmount:$ul_haveone_libmount in #(
23375    no:*)
23376      build_libmount=no ;;
23377    yes:yes)
23378      build_libmount=yes ;;
23379    yes:*)
23380      as_fn_error $? "libmount selected, but required dirfd or ddfd function not available" "$LINENO" 5;;
23381    check:yes)
23382      build_libmount=yes ;;
23383    check:*)
23384      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dirfd or ddfd function not found; not building libmount" >&5
23385$as_echo "$as_me: WARNING: dirfd or ddfd function not found; not building libmount" >&2;}
23386      build_libmount=no ;;
23387    esac
23388  fi
23389
23390 if test "x$build_libmount" = xyes; then
23391  BUILD_LIBMOUNT_TRUE=
23392  BUILD_LIBMOUNT_FALSE='#'
23393else
23394  BUILD_LIBMOUNT_TRUE='#'
23395  BUILD_LIBMOUNT_FALSE=
23396fi
23397
23398 if test "x$build_libmount" = xyes -a "x$enable_static" = xyes; then
23399  BUILD_LIBMOUNT_TESTS_TRUE=
23400  BUILD_LIBMOUNT_TESTS_FALSE='#'
23401else
23402  BUILD_LIBMOUNT_TESTS_TRUE='#'
23403  BUILD_LIBMOUNT_TESTS_FALSE=
23404fi
23405
23406if test "x$build_libmount" = xyes; then :
23407
23408
23409$as_echo "#define HAVE_LIBMOUNT 1" >>confdefs.h
23410
23411  if test "x$have_setns_syscall" = "xyes"; then :
23412
23413
23414$as_echo "#define USE_LIBMOUNT_SUPPORT_NAMESPACES 1" >>confdefs.h
23415
23416
23417else
23418
23419    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount will be compiled without namespaces support" >&5
23420$as_echo "$as_me: WARNING: libmount will be compiled without namespaces support" >&2;}
23421
23422fi
23423
23424fi
23425
23426
23427LIBMOUNT_MAJOR_VERSION=$PACKAGE_VERSION_MAJOR
23428
23429LIBMOUNT_MINOR_VERSION=$PACKAGE_VERSION_MINOR
23430
23431LIBMOUNT_PATCH_VERSION=$PACKAGE_VERSION_RELEASE
23432
23433
23434
23435cat >>confdefs.h <<_ACEOF
23436#define LIBMOUNT_VERSION "$LIBMOUNT_VERSION"
23437_ACEOF
23438
23439
23440# Check whether --enable-libmount-support-mtab was given.
23441if test "${enable_libmount_support_mtab+set}" = set; then :
23442  enableval=$enable_libmount_support_mtab;
23443else
23444  enable_libmount_support_mtab=no
23445
23446fi
23447
23448
23449if test "x$enable_libmount_support_mtab" = xyes; then :
23450
23451
23452$as_echo "#define USE_LIBMOUNT_SUPPORT_MTAB 1" >>confdefs.h
23453
23454
23455fi
23456
23457# Check whether --enable-libsmartcols was given.
23458if test "${enable_libsmartcols+set}" = set; then :
23459  enableval=$enable_libsmartcols;
23460else
23461
23462
23463  if test "x$ul_default_estate" != x; then
23464    enable_libsmartcols=$ul_default_estate
23465  else
23466    enable_libsmartcols=yes
23467  fi
23468
23469
23470fi
23471
23472
23473
23474  if test "x$enable_libsmartcols" = xno; then
23475   build_libsmartcols=no
23476else
23477   build_libsmartcols=yes
23478fi
23479
23480 if test "x$build_libsmartcols" = xyes; then
23481  BUILD_LIBSMARTCOLS_TRUE=
23482  BUILD_LIBSMARTCOLS_FALSE='#'
23483else
23484  BUILD_LIBSMARTCOLS_TRUE='#'
23485  BUILD_LIBSMARTCOLS_FALSE=
23486fi
23487
23488
23489
23490
23491
23492cat >>confdefs.h <<_ACEOF
23493#define LIBSMARTCOLS_VERSION "$LIBSMARTCOLS_VERSION"
23494_ACEOF
23495
23496
23497
23498# Check whether --enable-libfdisk was given.
23499if test "${enable_libfdisk+set}" = set; then :
23500  enableval=$enable_libfdisk;
23501else
23502
23503
23504  if test "x$ul_default_estate" != x; then
23505    enable_libfdisk=$ul_default_estate
23506  else
23507    enable_libfdisk=check
23508  fi
23509
23510
23511fi
23512
23513
23514
23515  if test "x$enable_libfdisk" = xno; then
23516   build_libfdisk=no
23517else
23518   build_libfdisk=yes
23519fi
23520
23521
23522
23523
23524  if test "x$build_libfdisk" != xno; then
23525    case $enable_libfdisk:$build_libuuid in #(
23526    no:*)
23527      build_libfdisk=no ;;
23528    yes:yes)
23529      build_libfdisk=yes ;;
23530    yes:*)
23531      as_fn_error $? "libuuid is needed to build libfdisk" "$LINENO" 5;;
23532    check:yes)
23533      build_libfdisk=yes ;;
23534    check:*)
23535      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libuuid disabled; not building libfdisk" >&5
23536$as_echo "$as_me: WARNING: libuuid disabled; not building libfdisk" >&2;}
23537      build_libfdisk=no ;;
23538    esac
23539  fi
23540
23541 if test "x$build_libfdisk" = xyes; then
23542  BUILD_LIBFDISK_TRUE=
23543  BUILD_LIBFDISK_FALSE='#'
23544else
23545  BUILD_LIBFDISK_TRUE='#'
23546  BUILD_LIBFDISK_FALSE=
23547fi
23548
23549 if test "x$build_libfdisk" = xyes -a "x$enable_static" = xyes; then
23550  BUILD_LIBFDISK_TESTS_TRUE=
23551  BUILD_LIBFDISK_TESTS_FALSE='#'
23552else
23553  BUILD_LIBFDISK_TESTS_TRUE='#'
23554  BUILD_LIBFDISK_TESTS_FALSE=
23555fi
23556
23557
23558if test "x$build_libblkid" = xyes; then :
23559  LIBFDISK_PC_REQUIRES="uuid blkid"
23560else
23561  LIBFDISK_PC_REQUIRES="uuid"
23562fi
23563
23564
23565
23566LIBFDISK_MAJOR_VERSION=$PACKAGE_VERSION_MAJOR
23567
23568LIBFDISK_MINOR_VERSION=$PACKAGE_VERSION_MINOR
23569
23570LIBFDISK_PATCH_VERSION=$PACKAGE_VERSION_RELEASE
23571
23572
23573
23574cat >>confdefs.h <<_ACEOF
23575#define LIBFDISK_VERSION "$LIBFDISK_VERSION"
23576_ACEOF
23577
23578
23579
23580# Check whether --enable-fdisks was given.
23581if test "${enable_fdisks+set}" = set; then :
23582  enableval=$enable_fdisks;
23583else
23584
23585
23586  if test "x$ul_default_estate" != x; then
23587    enable_fdisks=$ul_default_estate
23588  else
23589    enable_fdisks=check
23590  fi
23591
23592
23593fi
23594
23595enable_fdisk=$enable_fdisks
23596enable_sfdisk=$enable_fdisks
23597enable_cfdisk=$enable_fdisks
23598
23599
23600
23601  if test "x$enable_fdisk" = xno; then
23602   build_fdisk=no
23603else
23604   build_fdisk=yes
23605fi
23606
23607
23608
23609
23610  if test "x$build_fdisk" != xno; then
23611
23612    ul_haveone_fdisk=no
23613
23614      if test "x$have_openat" = xyes; then
23615        ul_haveone_fdisk=yes
23616      fi
23617
23618    case $enable_fdisk:$ul_haveone_fdisk in #(
23619    no:*)
23620      build_fdisk=no ;;
23621    yes:yes)
23622      build_fdisk=yes ;;
23623    yes:*)
23624      as_fn_error $? "fdisk selected, but required openat functions not available" "$LINENO" 5;;
23625    check:yes)
23626      build_fdisk=yes ;;
23627    check:*)
23628      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: openat functions not found; not building fdisk" >&5
23629$as_echo "$as_me: WARNING: openat functions not found; not building fdisk" >&2;}
23630      build_fdisk=no ;;
23631    esac
23632  fi
23633
23634
23635
23636
23637  if test "x$build_fdisk" != xno; then
23638
23639    ul_haveone_fdisk=no
23640
23641      if test "x$have_dirfd" = xyes; then
23642        ul_haveone_fdisk=yes
23643      fi
23644
23645      if test "x$have_ddfd" = xyes; then
23646        ul_haveone_fdisk=yes
23647      fi
23648
23649    case $enable_fdisk:$ul_haveone_fdisk in #(
23650    no:*)
23651      build_fdisk=no ;;
23652    yes:yes)
23653      build_fdisk=yes ;;
23654    yes:*)
23655      as_fn_error $? "fdisk selected, but required dirfd or ddfd function not available" "$LINENO" 5;;
23656    check:yes)
23657      build_fdisk=yes ;;
23658    check:*)
23659      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dirfd or ddfd function not found; not building fdisk" >&5
23660$as_echo "$as_me: WARNING: dirfd or ddfd function not found; not building fdisk" >&2;}
23661      build_fdisk=no ;;
23662    esac
23663  fi
23664
23665
23666
23667
23668  if test "x$build_fdisk" != xno; then
23669    case $enable_fdisk:$build_libfdisk in #(
23670    no:*)
23671      build_fdisk=no ;;
23672    yes:yes)
23673      build_fdisk=yes ;;
23674    yes:*)
23675      as_fn_error $? "libfdisk is needed to build fdisk" "$LINENO" 5;;
23676    check:yes)
23677      build_fdisk=yes ;;
23678    check:*)
23679      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libfdisk disabled; not building fdisk" >&5
23680$as_echo "$as_me: WARNING: libfdisk disabled; not building fdisk" >&2;}
23681      build_fdisk=no ;;
23682    esac
23683  fi
23684
23685
23686
23687
23688  if test "x$build_fdisk" != xno; then
23689    case $enable_fdisk:$build_libsmartcols in #(
23690    no:*)
23691      build_fdisk=no ;;
23692    yes:yes)
23693      build_fdisk=yes ;;
23694    yes:*)
23695      as_fn_error $? "libsmartcols is needed to build fdisk" "$LINENO" 5;;
23696    check:yes)
23697      build_fdisk=yes ;;
23698    check:*)
23699      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building fdisk" >&5
23700$as_echo "$as_me: WARNING: libsmartcols disabled; not building fdisk" >&2;}
23701      build_fdisk=no ;;
23702    esac
23703  fi
23704
23705 if test "x$build_fdisk" = xyes; then
23706  BUILD_FDISK_TRUE=
23707  BUILD_FDISK_FALSE='#'
23708else
23709  BUILD_FDISK_TRUE='#'
23710  BUILD_FDISK_FALSE=
23711fi
23712
23713
23714
23715
23716
23717  if test "x$enable_sfdisk" = xno; then
23718   build_sfdisk=no
23719else
23720   build_sfdisk=yes
23721fi
23722
23723
23724
23725
23726  if test "x$build_sfdisk" != xno; then
23727
23728    ul_haveone_sfdisk=no
23729
23730      if test "x$have_openat" = xyes; then
23731        ul_haveone_sfdisk=yes
23732      fi
23733
23734    case $enable_sfdisk:$ul_haveone_sfdisk in #(
23735    no:*)
23736      build_sfdisk=no ;;
23737    yes:yes)
23738      build_sfdisk=yes ;;
23739    yes:*)
23740      as_fn_error $? "sfdisk selected, but required openat functions not available" "$LINENO" 5;;
23741    check:yes)
23742      build_sfdisk=yes ;;
23743    check:*)
23744      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: openat functions not found; not building sfdisk" >&5
23745$as_echo "$as_me: WARNING: openat functions not found; not building sfdisk" >&2;}
23746      build_sfdisk=no ;;
23747    esac
23748  fi
23749
23750
23751
23752
23753  if test "x$build_sfdisk" != xno; then
23754
23755    ul_haveone_sfdisk=no
23756
23757      if test "x$have_dirfd" = xyes; then
23758        ul_haveone_sfdisk=yes
23759      fi
23760
23761      if test "x$have_ddfd" = xyes; then
23762        ul_haveone_sfdisk=yes
23763      fi
23764
23765    case $enable_sfdisk:$ul_haveone_sfdisk in #(
23766    no:*)
23767      build_sfdisk=no ;;
23768    yes:yes)
23769      build_sfdisk=yes ;;
23770    yes:*)
23771      as_fn_error $? "sfdisk selected, but required dirfd or ddfd function not available" "$LINENO" 5;;
23772    check:yes)
23773      build_sfdisk=yes ;;
23774    check:*)
23775      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dirfd or ddfd function not found; not building sfdisk" >&5
23776$as_echo "$as_me: WARNING: dirfd or ddfd function not found; not building sfdisk" >&2;}
23777      build_sfdisk=no ;;
23778    esac
23779  fi
23780
23781
23782
23783
23784  if test "x$build_sfdisk" != xno; then
23785    case $enable_sfdisk:$build_libfdisk in #(
23786    no:*)
23787      build_sfdisk=no ;;
23788    yes:yes)
23789      build_sfdisk=yes ;;
23790    yes:*)
23791      as_fn_error $? "libfdisk is needed to build sfdisk" "$LINENO" 5;;
23792    check:yes)
23793      build_sfdisk=yes ;;
23794    check:*)
23795      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libfdisk disabled; not building sfdisk" >&5
23796$as_echo "$as_me: WARNING: libfdisk disabled; not building sfdisk" >&2;}
23797      build_sfdisk=no ;;
23798    esac
23799  fi
23800
23801
23802
23803
23804  if test "x$build_sfdisk" != xno; then
23805    case $enable_sfdisk:$build_libsmartcols in #(
23806    no:*)
23807      build_sfdisk=no ;;
23808    yes:yes)
23809      build_sfdisk=yes ;;
23810    yes:*)
23811      as_fn_error $? "libsmartcols is needed to build sfdisk" "$LINENO" 5;;
23812    check:yes)
23813      build_sfdisk=yes ;;
23814    check:*)
23815      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building sfdisk" >&5
23816$as_echo "$as_me: WARNING: libsmartcols disabled; not building sfdisk" >&2;}
23817      build_sfdisk=no ;;
23818    esac
23819  fi
23820
23821 if test "x$build_sfdisk" = xyes; then
23822  BUILD_SFDISK_TRUE=
23823  BUILD_SFDISK_FALSE='#'
23824else
23825  BUILD_SFDISK_TRUE='#'
23826  BUILD_SFDISK_FALSE=
23827fi
23828
23829
23830
23831
23832
23833  if test "x$enable_cfdisk" = xno; then
23834   build_cfdisk=no
23835else
23836   build_cfdisk=yes
23837fi
23838
23839
23840
23841
23842  if test "x$build_cfdisk" != xno; then
23843    case $enable_cfdisk:$build_libfdisk in #(
23844    no:*)
23845      build_cfdisk=no ;;
23846    yes:yes)
23847      build_cfdisk=yes ;;
23848    yes:*)
23849      as_fn_error $? "libfdisk is needed to build cfdisk" "$LINENO" 5;;
23850    check:yes)
23851      build_cfdisk=yes ;;
23852    check:*)
23853      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libfdisk disabled; not building cfdisk" >&5
23854$as_echo "$as_me: WARNING: libfdisk disabled; not building cfdisk" >&2;}
23855      build_cfdisk=no ;;
23856    esac
23857  fi
23858
23859
23860
23861
23862  if test "x$build_cfdisk" != xno; then
23863    case $enable_cfdisk:$build_libsmartcols in #(
23864    no:*)
23865      build_cfdisk=no ;;
23866    yes:yes)
23867      build_cfdisk=yes ;;
23868    yes:*)
23869      as_fn_error $? "libsmartcols is needed to build cfdisk" "$LINENO" 5;;
23870    check:yes)
23871      build_cfdisk=yes ;;
23872    check:*)
23873      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building cfdisk" >&5
23874$as_echo "$as_me: WARNING: libsmartcols disabled; not building cfdisk" >&2;}
23875      build_cfdisk=no ;;
23876    esac
23877  fi
23878
23879
23880
23881
23882  if test "x$build_cfdisk" != xno; then
23883
23884    ul_haveone_cfdisk=no
23885
23886      if test "x$have_open_memstream" = xyes; then
23887        ul_haveone_cfdisk=yes
23888      fi
23889
23890    case $enable_cfdisk:$ul_haveone_cfdisk in #(
23891    no:*)
23892      build_cfdisk=no ;;
23893    yes:yes)
23894      build_cfdisk=yes ;;
23895    yes:*)
23896      as_fn_error $? "cfdisk selected, but required open_memstream function not available" "$LINENO" 5;;
23897    check:yes)
23898      build_cfdisk=yes ;;
23899    check:*)
23900      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: open_memstream function not found; not building cfdisk" >&5
23901$as_echo "$as_me: WARNING: open_memstream function not found; not building cfdisk" >&2;}
23902      build_cfdisk=no ;;
23903    esac
23904  fi
23905
23906
23907
23908
23909  if test "x$build_cfdisk" != xno; then
23910
23911    ul_haveone_cfdisk=no
23912
23913      if test "x$have_ncursesw" = xyes; then
23914        ul_haveone_cfdisk=yes
23915      fi
23916
23917      if test "x$have_slang" = xyes; then
23918        ul_haveone_cfdisk=yes
23919      fi
23920
23921      if test "x$have_ncurses" = xyes; then
23922        ul_haveone_cfdisk=yes
23923      fi
23924
23925    case $enable_cfdisk:$ul_haveone_cfdisk in #(
23926    no:*)
23927      build_cfdisk=no ;;
23928    yes:yes)
23929      build_cfdisk=yes ;;
23930    yes:*)
23931      as_fn_error $? "cfdisk selected, but required ncursesw, ncurses or slang library not available" "$LINENO" 5;;
23932    check:yes)
23933      build_cfdisk=yes ;;
23934    check:*)
23935      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncursesw, ncurses or slang library not found; not building cfdisk" >&5
23936$as_echo "$as_me: WARNING: ncursesw, ncurses or slang library not found; not building cfdisk" >&2;}
23937      build_cfdisk=no ;;
23938    esac
23939  fi
23940
23941 if test "x$build_cfdisk" = xyes; then
23942  BUILD_CFDISK_TRUE=
23943  BUILD_CFDISK_FALSE='#'
23944else
23945  BUILD_CFDISK_TRUE='#'
23946  BUILD_CFDISK_FALSE=
23947fi
23948
23949
23950
23951# Check whether --enable-mount was given.
23952if test "${enable_mount+set}" = set; then :
23953  enableval=$enable_mount;
23954else
23955
23956
23957  if test "x$ul_default_estate" != x; then
23958    enable_mount=$ul_default_estate
23959  else
23960    enable_mount=check
23961  fi
23962
23963
23964fi
23965
23966
23967
23968  if test "x$enable_mount" = xno; then
23969   build_mount=no
23970else
23971   build_mount=yes
23972fi
23973
23974
23975
23976  if test "x$build_mount" != xno; then
23977
23978    case $enable_mount:$linux_os in #(
23979    no:*)
23980      build_mount=no ;;
23981    yes:yes)
23982      build_mount=yes ;;
23983    yes:*)
23984      as_fn_error $? "mount selected for non-linux system" "$LINENO" 5;;
23985    check:yes)
23986      build_mount=yes ;;
23987    check:*)
23988      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building mount" >&5
23989$as_echo "$as_me: WARNING: non-linux system; not building mount" >&2;}
23990      build_mount=no ;;
23991    esac
23992  fi
23993
23994
23995
23996
23997  if test "x$build_mount" != xno; then
23998    case $enable_mount:$build_libmount in #(
23999    no:*)
24000      build_mount=no ;;
24001    yes:yes)
24002      build_mount=yes ;;
24003    yes:*)
24004      as_fn_error $? "libmount is needed to build mount" "$LINENO" 5;;
24005    check:yes)
24006      build_mount=yes ;;
24007    check:*)
24008      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building mount" >&5
24009$as_echo "$as_me: WARNING: libmount disabled; not building mount" >&2;}
24010      build_mount=no ;;
24011    esac
24012  fi
24013
24014 if test "x$build_mount" = xyes; then
24015  BUILD_MOUNT_TRUE=
24016  BUILD_MOUNT_FALSE='#'
24017else
24018  BUILD_MOUNT_TRUE='#'
24019  BUILD_MOUNT_FALSE=
24020fi
24021
24022
24023
24024# Check whether --enable-losetup was given.
24025if test "${enable_losetup+set}" = set; then :
24026  enableval=$enable_losetup;
24027else
24028
24029
24030  if test "x$ul_default_estate" != x; then
24031    enable_losetup=$ul_default_estate
24032  else
24033    enable_losetup=check
24034  fi
24035
24036
24037fi
24038
24039
24040
24041  if test "x$enable_losetup" = xno; then
24042   build_losetup=no
24043else
24044   build_losetup=yes
24045fi
24046
24047
24048
24049  if test "x$build_losetup" != xno; then
24050
24051    case $enable_losetup:$linux_os in #(
24052    no:*)
24053      build_losetup=no ;;
24054    yes:yes)
24055      build_losetup=yes ;;
24056    yes:*)
24057      as_fn_error $? "losetup selected for non-linux system" "$LINENO" 5;;
24058    check:yes)
24059      build_losetup=yes ;;
24060    check:*)
24061      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building losetup" >&5
24062$as_echo "$as_me: WARNING: non-linux system; not building losetup" >&2;}
24063      build_losetup=no ;;
24064    esac
24065  fi
24066
24067
24068
24069
24070  if test "x$build_losetup" != xno; then
24071    case $enable_losetup:$build_libsmartcols in #(
24072    no:*)
24073      build_losetup=no ;;
24074    yes:yes)
24075      build_losetup=yes ;;
24076    yes:*)
24077      as_fn_error $? "libsmartcols is needed to build losetup" "$LINENO" 5;;
24078    check:yes)
24079      build_losetup=yes ;;
24080    check:*)
24081      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building losetup" >&5
24082$as_echo "$as_me: WARNING: libsmartcols disabled; not building losetup" >&2;}
24083      build_losetup=no ;;
24084    esac
24085  fi
24086
24087 if test "x$build_losetup" = xyes; then
24088  BUILD_LOSETUP_TRUE=
24089  BUILD_LOSETUP_FALSE='#'
24090else
24091  BUILD_LOSETUP_TRUE='#'
24092  BUILD_LOSETUP_FALSE=
24093fi
24094
24095
24096# Check whether --enable-zramctl was given.
24097if test "${enable_zramctl+set}" = set; then :
24098  enableval=$enable_zramctl;
24099else
24100
24101
24102  if test "x$ul_default_estate" != x; then
24103    enable_zramctl=$ul_default_estate
24104  else
24105    enable_zramctl=check
24106  fi
24107
24108
24109fi
24110
24111
24112
24113  if test "x$enable_zramctl" = xno; then
24114   build_zramctl=no
24115else
24116   build_zramctl=yes
24117fi
24118
24119
24120
24121  if test "x$build_zramctl" != xno; then
24122
24123    case $enable_zramctl:$linux_os in #(
24124    no:*)
24125      build_zramctl=no ;;
24126    yes:yes)
24127      build_zramctl=yes ;;
24128    yes:*)
24129      as_fn_error $? "zramctl selected for non-linux system" "$LINENO" 5;;
24130    check:yes)
24131      build_zramctl=yes ;;
24132    check:*)
24133      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building zramctl" >&5
24134$as_echo "$as_me: WARNING: non-linux system; not building zramctl" >&2;}
24135      build_zramctl=no ;;
24136    esac
24137  fi
24138
24139
24140
24141
24142  if test "x$build_zramctl" != xno; then
24143    case $enable_zramctl:$build_libsmartcols in #(
24144    no:*)
24145      build_zramctl=no ;;
24146    yes:yes)
24147      build_zramctl=yes ;;
24148    yes:*)
24149      as_fn_error $? "libsmartcols is needed to build zramctl" "$LINENO" 5;;
24150    check:yes)
24151      build_zramctl=yes ;;
24152    check:*)
24153      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building zramctl" >&5
24154$as_echo "$as_me: WARNING: libsmartcols disabled; not building zramctl" >&2;}
24155      build_zramctl=no ;;
24156    esac
24157  fi
24158
24159 if test "x$build_zramctl" = xyes; then
24160  BUILD_ZRAMCTL_TRUE=
24161  BUILD_ZRAMCTL_FALSE='#'
24162else
24163  BUILD_ZRAMCTL_TRUE='#'
24164  BUILD_ZRAMCTL_FALSE=
24165fi
24166
24167
24168# Check whether --enable-fsck was given.
24169if test "${enable_fsck+set}" = set; then :
24170  enableval=$enable_fsck;
24171else
24172
24173
24174  if test "x$ul_default_estate" != x; then
24175    enable_fsck=$ul_default_estate
24176  else
24177    enable_fsck=check
24178  fi
24179
24180
24181fi
24182
24183
24184
24185  if test "x$enable_fsck" = xno; then
24186   build_fsck=no
24187else
24188   build_fsck=yes
24189fi
24190
24191
24192
24193
24194  if test "x$build_fsck" != xno; then
24195    case $enable_fsck:$build_libmount in #(
24196    no:*)
24197      build_fsck=no ;;
24198    yes:yes)
24199      build_fsck=yes ;;
24200    yes:*)
24201      as_fn_error $? "libmount is needed to build fsck" "$LINENO" 5;;
24202    check:yes)
24203      build_fsck=yes ;;
24204    check:*)
24205      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building fsck" >&5
24206$as_echo "$as_me: WARNING: libmount disabled; not building fsck" >&2;}
24207      build_fsck=no ;;
24208    esac
24209  fi
24210
24211 if test "x$build_fsck" = xyes; then
24212  BUILD_FSCK_TRUE=
24213  BUILD_FSCK_FALSE='#'
24214else
24215  BUILD_FSCK_TRUE='#'
24216  BUILD_FSCK_FALSE=
24217fi
24218
24219
24220
24221# Check whether --enable-partx was given.
24222if test "${enable_partx+set}" = set; then :
24223  enableval=$enable_partx;
24224else
24225
24226
24227  if test "x$ul_default_estate" != x; then
24228    enable_partx=$ul_default_estate
24229  else
24230    enable_partx=check
24231  fi
24232
24233
24234fi
24235
24236
24237
24238  if test "x$enable_partx" = xno; then
24239   build_partx=no
24240else
24241   build_partx=yes
24242fi
24243
24244
24245
24246  if test "x$build_partx" != xno; then
24247
24248    case $enable_partx:$linux_os in #(
24249    no:*)
24250      build_partx=no ;;
24251    yes:yes)
24252      build_partx=yes ;;
24253    yes:*)
24254      as_fn_error $? "partx selected for non-linux system" "$LINENO" 5;;
24255    check:yes)
24256      build_partx=yes ;;
24257    check:*)
24258      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building partx" >&5
24259$as_echo "$as_me: WARNING: non-linux system; not building partx" >&2;}
24260      build_partx=no ;;
24261    esac
24262  fi
24263
24264
24265
24266
24267  if test "x$build_partx" != xno; then
24268    case $enable_partx:$build_libblkid in #(
24269    no:*)
24270      build_partx=no ;;
24271    yes:yes)
24272      build_partx=yes ;;
24273    yes:*)
24274      as_fn_error $? "libblkid is needed to build partx" "$LINENO" 5;;
24275    check:yes)
24276      build_partx=yes ;;
24277    check:*)
24278      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; not building partx" >&5
24279$as_echo "$as_me: WARNING: libblkid disabled; not building partx" >&2;}
24280      build_partx=no ;;
24281    esac
24282  fi
24283
24284
24285
24286
24287  if test "x$build_partx" != xno; then
24288    case $enable_partx:$build_libsmartcols in #(
24289    no:*)
24290      build_partx=no ;;
24291    yes:yes)
24292      build_partx=yes ;;
24293    yes:*)
24294      as_fn_error $? "libsmartcols is needed to build partx" "$LINENO" 5;;
24295    check:yes)
24296      build_partx=yes ;;
24297    check:*)
24298      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building partx" >&5
24299$as_echo "$as_me: WARNING: libsmartcols disabled; not building partx" >&2;}
24300      build_partx=no ;;
24301    esac
24302  fi
24303
24304 if test "x$build_partx" = xyes; then
24305  BUILD_PARTX_TRUE=
24306  BUILD_PARTX_FALSE='#'
24307else
24308  BUILD_PARTX_TRUE='#'
24309  BUILD_PARTX_FALSE=
24310fi
24311
24312
24313
24314# Check whether --enable-uuidd was given.
24315if test "${enable_uuidd+set}" = set; then :
24316  enableval=$enable_uuidd;
24317else
24318
24319
24320  if test "x$ul_default_estate" != x; then
24321    enable_uuidd=$ul_default_estate
24322  else
24323    enable_uuidd=check
24324  fi
24325
24326
24327fi
24328
24329
24330
24331  if test "x$enable_uuidd" = xno; then
24332   build_uuidd=no
24333else
24334   build_uuidd=yes
24335fi
24336
24337
24338
24339
24340  if test "x$build_uuidd" != xno; then
24341    case $enable_uuidd:$build_libuuid in #(
24342    no:*)
24343      build_uuidd=no ;;
24344    yes:yes)
24345      build_uuidd=yes ;;
24346    yes:*)
24347      as_fn_error $? "libuuid is needed to build uuidd" "$LINENO" 5;;
24348    check:yes)
24349      build_uuidd=yes ;;
24350    check:*)
24351      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libuuid disabled; not building uuidd" >&5
24352$as_echo "$as_me: WARNING: libuuid disabled; not building uuidd" >&2;}
24353      build_uuidd=no ;;
24354    esac
24355  fi
24356
24357
24358
24359
24360  if test "x$build_uuidd" != xno; then
24361
24362    ul_haveone_uuidd=no
24363
24364      if test "x$have_timer" = xyes; then
24365        ul_haveone_uuidd=yes
24366      fi
24367
24368    case $enable_uuidd:$ul_haveone_uuidd in #(
24369    no:*)
24370      build_uuidd=no ;;
24371    yes:yes)
24372      build_uuidd=yes ;;
24373    yes:*)
24374      as_fn_error $? "uuidd selected, but required timer_create function not available" "$LINENO" 5;;
24375    check:yes)
24376      build_uuidd=yes ;;
24377    check:*)
24378      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: timer_create function not found; not building uuidd" >&5
24379$as_echo "$as_me: WARNING: timer_create function not found; not building uuidd" >&2;}
24380      build_uuidd=no ;;
24381    esac
24382  fi
24383
24384
24385
24386
24387  if test "x$build_uuidd" != xno; then
24388
24389    ul_haveone_uuidd=no
24390
24391      if test "x$have_sys_signalfd_h" = xyes; then
24392        ul_haveone_uuidd=yes
24393      fi
24394
24395    case $enable_uuidd:$ul_haveone_uuidd in #(
24396    no:*)
24397      build_uuidd=no ;;
24398    yes:yes)
24399      build_uuidd=yes ;;
24400    yes:*)
24401      as_fn_error $? "uuidd selected, but required sys/signalfd.h header not available" "$LINENO" 5;;
24402    check:yes)
24403      build_uuidd=yes ;;
24404    check:*)
24405      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/signalfd.h header not found; not building uuidd" >&5
24406$as_echo "$as_me: WARNING: sys/signalfd.h header not found; not building uuidd" >&2;}
24407      build_uuidd=no ;;
24408    esac
24409  fi
24410
24411if test "x$build_uuidd" = xyes || test "x$enable_libuuid_force_uuidd" = xyes; then :
24412
24413
24414$as_echo "#define HAVE_UUIDD 1" >>confdefs.h
24415
24416
24417fi
24418 if test "x$build_uuidd" = xyes; then
24419  BUILD_UUIDD_TRUE=
24420  BUILD_UUIDD_FALSE='#'
24421else
24422  BUILD_UUIDD_TRUE='#'
24423  BUILD_UUIDD_FALSE=
24424fi
24425
24426
24427
24428
24429
24430  if test "x$ul_default_estate" != x; then
24431  enable_uuidgen=$ul_default_estate
24432  build_uuidgen=yes
24433  if test "x$ul_default_estate" = xno; then
24434    build_uuidgen=no
24435  fi
24436else
24437
24438  build_uuidgen=yes
24439  enable_uuidgen=check
24440fi
24441
24442
24443
24444
24445  if test "x$build_uuidgen" != xno; then
24446    case $enable_uuidgen:$build_libuuid in #(
24447    no:*)
24448      build_uuidgen=no ;;
24449    yes:yes)
24450      build_uuidgen=yes ;;
24451    yes:*)
24452      as_fn_error $? "libuuid is needed to build uuidgen" "$LINENO" 5;;
24453    check:yes)
24454      build_uuidgen=yes ;;
24455    check:*)
24456      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libuuid disabled; not building uuidgen" >&5
24457$as_echo "$as_me: WARNING: libuuid disabled; not building uuidgen" >&2;}
24458      build_uuidgen=no ;;
24459    esac
24460  fi
24461
24462 if test "x$build_uuidgen" = xyes; then
24463  BUILD_UUIDGEN_TRUE=
24464  BUILD_UUIDGEN_FALSE='#'
24465else
24466  BUILD_UUIDGEN_TRUE='#'
24467  BUILD_UUIDGEN_FALSE=
24468fi
24469
24470
24471
24472
24473  if test "x$ul_default_estate" != x; then
24474  enable_uuidparse=$ul_default_estate
24475  build_uuidparse=yes
24476  if test "x$ul_default_estate" = xno; then
24477    build_uuidparse=no
24478  fi
24479else
24480
24481  build_uuidparse=yes
24482  enable_uuidparse=check
24483fi
24484
24485
24486
24487
24488  if test "x$build_uuidparse" != xno; then
24489    case $enable_uuidparse:$build_libuuid in #(
24490    no:*)
24491      build_uuidparse=no ;;
24492    yes:yes)
24493      build_uuidparse=yes ;;
24494    yes:*)
24495      as_fn_error $? "libuuid is needed to build uuidparse" "$LINENO" 5;;
24496    check:yes)
24497      build_uuidparse=yes ;;
24498    check:*)
24499      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libuuid disabled; not building uuidparse" >&5
24500$as_echo "$as_me: WARNING: libuuid disabled; not building uuidparse" >&2;}
24501      build_uuidparse=no ;;
24502    esac
24503  fi
24504
24505
24506
24507
24508  if test "x$build_uuidparse" != xno; then
24509    case $enable_uuidparse:$build_libsmartcols in #(
24510    no:*)
24511      build_uuidparse=no ;;
24512    yes:yes)
24513      build_uuidparse=yes ;;
24514    yes:*)
24515      as_fn_error $? "libsmartcols is needed to build uuidparse" "$LINENO" 5;;
24516    check:yes)
24517      build_uuidparse=yes ;;
24518    check:*)
24519      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building uuidparse" >&5
24520$as_echo "$as_me: WARNING: libsmartcols disabled; not building uuidparse" >&2;}
24521      build_uuidparse=no ;;
24522    esac
24523  fi
24524
24525 if test "x$build_uuidparse" = xyes; then
24526  BUILD_UUIDPARSE_TRUE=
24527  BUILD_UUIDPARSE_FALSE='#'
24528else
24529  BUILD_UUIDPARSE_TRUE='#'
24530  BUILD_UUIDPARSE_FALSE=
24531fi
24532
24533
24534
24535
24536  if test "x$ul_default_estate" != x; then
24537  enable_blkid=$ul_default_estate
24538  build_blkid=yes
24539  if test "x$ul_default_estate" = xno; then
24540    build_blkid=no
24541  fi
24542else
24543
24544  build_blkid=yes
24545  enable_blkid=check
24546fi
24547
24548
24549
24550
24551  if test "x$build_blkid" != xno; then
24552    case $enable_blkid:$build_libblkid in #(
24553    no:*)
24554      build_blkid=no ;;
24555    yes:yes)
24556      build_blkid=yes ;;
24557    yes:*)
24558      as_fn_error $? "libblkid is needed to build blkid" "$LINENO" 5;;
24559    check:yes)
24560      build_blkid=yes ;;
24561    check:*)
24562      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; not building blkid" >&5
24563$as_echo "$as_me: WARNING: libblkid disabled; not building blkid" >&2;}
24564      build_blkid=no ;;
24565    esac
24566  fi
24567
24568 if test "x$build_blkid" = xyes; then
24569  BUILD_BLKID_TRUE=
24570  BUILD_BLKID_FALSE='#'
24571else
24572  BUILD_BLKID_TRUE='#'
24573  BUILD_BLKID_FALSE=
24574fi
24575
24576
24577
24578
24579  if test "x$ul_default_estate" != x; then
24580  enable_findfs=$ul_default_estate
24581  build_findfs=yes
24582  if test "x$ul_default_estate" = xno; then
24583    build_findfs=no
24584  fi
24585else
24586
24587  build_findfs=yes
24588  enable_findfs=check
24589fi
24590
24591
24592
24593
24594  if test "x$build_findfs" != xno; then
24595    case $enable_findfs:$build_libblkid in #(
24596    no:*)
24597      build_findfs=no ;;
24598    yes:yes)
24599      build_findfs=yes ;;
24600    yes:*)
24601      as_fn_error $? "libblkid is needed to build findfs" "$LINENO" 5;;
24602    check:yes)
24603      build_findfs=yes ;;
24604    check:*)
24605      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; not building findfs" >&5
24606$as_echo "$as_me: WARNING: libblkid disabled; not building findfs" >&2;}
24607      build_findfs=no ;;
24608    esac
24609  fi
24610
24611 if test "x$build_findfs" = xyes; then
24612  BUILD_FINDFS_TRUE=
24613  BUILD_FINDFS_FALSE='#'
24614else
24615  BUILD_FINDFS_TRUE='#'
24616  BUILD_FINDFS_FALSE=
24617fi
24618
24619
24620# Check whether --enable-wipefs was given.
24621if test "${enable_wipefs+set}" = set; then :
24622  enableval=$enable_wipefs;
24623else
24624
24625
24626  if test "x$ul_default_estate" != x; then
24627    enable_wipefs=$ul_default_estate
24628  else
24629    enable_wipefs=check
24630  fi
24631
24632
24633fi
24634
24635
24636
24637  if test "x$enable_wipefs" = xno; then
24638   build_wipefs=no
24639else
24640   build_wipefs=yes
24641fi
24642
24643
24644
24645
24646  if test "x$build_wipefs" != xno; then
24647    case $enable_wipefs:$build_libblkid in #(
24648    no:*)
24649      build_wipefs=no ;;
24650    yes:yes)
24651      build_wipefs=yes ;;
24652    yes:*)
24653      as_fn_error $? "libblkid is needed to build wipefs" "$LINENO" 5;;
24654    check:yes)
24655      build_wipefs=yes ;;
24656    check:*)
24657      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; not building wipefs" >&5
24658$as_echo "$as_me: WARNING: libblkid disabled; not building wipefs" >&2;}
24659      build_wipefs=no ;;
24660    esac
24661  fi
24662
24663
24664
24665
24666  if test "x$build_wipefs" != xno; then
24667    case $enable_wipefs:$build_libsmartcols in #(
24668    no:*)
24669      build_wipefs=no ;;
24670    yes:yes)
24671      build_wipefs=yes ;;
24672    yes:*)
24673      as_fn_error $? "libsmartcols is needed to build wipefs" "$LINENO" 5;;
24674    check:yes)
24675      build_wipefs=yes ;;
24676    check:*)
24677      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building wipefs" >&5
24678$as_echo "$as_me: WARNING: libsmartcols disabled; not building wipefs" >&2;}
24679      build_wipefs=no ;;
24680    esac
24681  fi
24682
24683 if test "x$build_wipefs" = xyes; then
24684  BUILD_WIPEFS_TRUE=
24685  BUILD_WIPEFS_FALSE='#'
24686else
24687  BUILD_WIPEFS_TRUE='#'
24688  BUILD_WIPEFS_FALSE=
24689fi
24690
24691
24692
24693
24694  if test "x$ul_default_estate" != x; then
24695  enable_findmnt=$ul_default_estate
24696  build_findmnt=yes
24697  if test "x$ul_default_estate" = xno; then
24698    build_findmnt=no
24699  fi
24700else
24701
24702  build_findmnt=yes
24703  enable_findmnt=check
24704fi
24705
24706
24707
24708
24709  if test "x$build_findmnt" != xno; then
24710    case $enable_findmnt:$build_libmount in #(
24711    no:*)
24712      build_findmnt=no ;;
24713    yes:yes)
24714      build_findmnt=yes ;;
24715    yes:*)
24716      as_fn_error $? "libmount is needed to build findmnt" "$LINENO" 5;;
24717    check:yes)
24718      build_findmnt=yes ;;
24719    check:*)
24720      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building findmnt" >&5
24721$as_echo "$as_me: WARNING: libmount disabled; not building findmnt" >&2;}
24722      build_findmnt=no ;;
24723    esac
24724  fi
24725
24726
24727
24728
24729  if test "x$build_findmnt" != xno; then
24730    case $enable_findmnt:$build_libblkid in #(
24731    no:*)
24732      build_findmnt=no ;;
24733    yes:yes)
24734      build_findmnt=yes ;;
24735    yes:*)
24736      as_fn_error $? "libblkid is needed to build findmnt" "$LINENO" 5;;
24737    check:yes)
24738      build_findmnt=yes ;;
24739    check:*)
24740      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; not building findmnt" >&5
24741$as_echo "$as_me: WARNING: libblkid disabled; not building findmnt" >&2;}
24742      build_findmnt=no ;;
24743    esac
24744  fi
24745
24746
24747
24748
24749  if test "x$build_findmnt" != xno; then
24750    case $enable_findmnt:$build_libsmartcols in #(
24751    no:*)
24752      build_findmnt=no ;;
24753    yes:yes)
24754      build_findmnt=yes ;;
24755    yes:*)
24756      as_fn_error $? "libsmartcols is needed to build findmnt" "$LINENO" 5;;
24757    check:yes)
24758      build_findmnt=yes ;;
24759    check:*)
24760      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building findmnt" >&5
24761$as_echo "$as_me: WARNING: libsmartcols disabled; not building findmnt" >&2;}
24762      build_findmnt=no ;;
24763    esac
24764  fi
24765
24766 if test "x$build_findmnt" = xyes; then
24767  BUILD_FINDMNT_TRUE=
24768  BUILD_FINDMNT_FALSE='#'
24769else
24770  BUILD_FINDMNT_TRUE='#'
24771  BUILD_FINDMNT_FALSE=
24772fi
24773
24774
24775
24776# Check whether --enable-mountpoint was given.
24777if test "${enable_mountpoint+set}" = set; then :
24778  enableval=$enable_mountpoint;
24779else
24780
24781
24782  if test "x$ul_default_estate" != x; then
24783    enable_mountpoint=$ul_default_estate
24784  else
24785    enable_mountpoint=check
24786  fi
24787
24788
24789fi
24790
24791
24792
24793  if test "x$enable_mountpoint" = xno; then
24794   build_mountpoint=no
24795else
24796   build_mountpoint=yes
24797fi
24798
24799
24800
24801
24802  if test "x$build_mountpoint" != xno; then
24803    case $enable_mountpoint:$build_libmount in #(
24804    no:*)
24805      build_mountpoint=no ;;
24806    yes:yes)
24807      build_mountpoint=yes ;;
24808    yes:*)
24809      as_fn_error $? "libmount is needed to build mountpoint" "$LINENO" 5;;
24810    check:yes)
24811      build_mountpoint=yes ;;
24812    check:*)
24813      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building mountpoint" >&5
24814$as_echo "$as_me: WARNING: libmount disabled; not building mountpoint" >&2;}
24815      build_mountpoint=no ;;
24816    esac
24817  fi
24818
24819 if test "x$build_mountpoint" = xyes; then
24820  BUILD_MOUNTPOINT_TRUE=
24821  BUILD_MOUNTPOINT_FALSE='#'
24822else
24823  BUILD_MOUNTPOINT_TRUE='#'
24824  BUILD_MOUNTPOINT_FALSE=
24825fi
24826
24827
24828
24829# Check whether --enable-fallocate was given.
24830if test "${enable_fallocate+set}" = set; then :
24831  enableval=$enable_fallocate;
24832else
24833
24834
24835  if test "x$ul_default_estate" != x; then
24836    enable_fallocate=$ul_default_estate
24837  else
24838    enable_fallocate=check
24839  fi
24840
24841
24842fi
24843
24844
24845
24846  if test "x$enable_fallocate" = xno; then
24847   build_fallocate=no
24848else
24849   build_fallocate=yes
24850fi
24851
24852
24853
24854  if test "x$build_fallocate" != xno; then
24855
24856    case $enable_fallocate:$linux_os in #(
24857    no:*)
24858      build_fallocate=no ;;
24859    yes:yes)
24860      build_fallocate=yes ;;
24861    yes:*)
24862      as_fn_error $? "fallocate selected for non-linux system" "$LINENO" 5;;
24863    check:yes)
24864      build_fallocate=yes ;;
24865    check:*)
24866      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building fallocate" >&5
24867$as_echo "$as_me: WARNING: non-linux system; not building fallocate" >&2;}
24868      build_fallocate=no ;;
24869    esac
24870  fi
24871
24872
24873
24874
24875
24876  if test "x$build_fallocate" != xno; then
24877    if test "x$enable_fallocate" = xno; then
24878      build_fallocate=no
24879    else
24880
24881
24882  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall fallocate" >&5
24883$as_echo_n "checking for syscall fallocate... " >&6; }
24884if ${ul_cv_syscall_fallocate+:} false; then :
24885  $as_echo_n "(cached) " >&6
24886else
24887  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24888/* end confdefs.h.  */
24889
24890#include <sys/syscall.h>
24891#include <unistd.h>
24892
24893int
24894main ()
24895{
24896int test = SYS_fallocate;
24897  ;
24898  return 0;
24899}
24900_ACEOF
24901if ac_fn_c_try_compile "$LINENO"; then :
24902  syscall=SYS_fallocate
24903else
24904              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24905/* end confdefs.h.  */
24906
24907#include <sys/syscall.h>
24908#include <unistd.h>
24909
24910int
24911main ()
24912{
24913int test = __NR_fallocate;
24914  ;
24915  return 0;
24916}
24917_ACEOF
24918if ac_fn_c_try_compile "$LINENO"; then :
24919  syscall=__NR_fallocate
24920else
24921
24922	  syscall=no
24923	  if test "x$linux_os" = xyes; then
24924	    case $host_cpu in
24925
24926	    esac
24927	  fi
24928
24929fi
24930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24931
24932
24933fi
24934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24935
24936    ul_cv_syscall_fallocate=$syscall
24937
24938fi
24939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_fallocate" >&5
24940$as_echo "$ul_cv_syscall_fallocate" >&6; }
24941  case $ul_cv_syscall_fallocate in #(
24942  no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall fallocate." >&5
24943$as_echo "$as_me: WARNING: Unable to detect syscall fallocate." >&2;} ;;
24944  SYS_*) ;;
24945  *)
24946cat >>confdefs.h <<_ACEOF
24947#define SYS_fallocate $ul_cv_syscall_fallocate
24948_ACEOF
24949 ;;
24950  esac
24951
24952      case $enable_fallocate:$ul_cv_syscall_fallocate in #(
24953      no:*)
24954        build_fallocate=no ;;
24955      yes:no)
24956        as_fn_error $? "fallocate selected but fallocate syscall not found" "$LINENO" 5 ;;
24957      check:no)
24958        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fallocate syscall not found; not building fallocate" >&5
24959$as_echo "$as_me: WARNING: fallocate syscall not found; not building fallocate" >&2;}
24960        build_fallocate=no ;;
24961      *)
24962                build_fallocate=yes ;;
24963      esac
24964    fi
24965  fi
24966
24967 if test "x$build_fallocate" = xyes; then
24968  BUILD_FALLOCATE_TRUE=
24969  BUILD_FALLOCATE_FALSE='#'
24970else
24971  BUILD_FALLOCATE_TRUE='#'
24972  BUILD_FALLOCATE_FALSE=
24973fi
24974
24975
24976if test "x$build_fallocate" = xyes; then :
24977
24978              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valid fallocate() function" >&5
24979$as_echo_n "checking for valid fallocate() function... " >&6; }
24980  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24981/* end confdefs.h.  */
24982
24983#ifdef HAVE_UNISTD_H
24984# include <unistd.h>
24985#endif
24986#ifdef HAVE_SYS_TYPES_H
24987# include <sys/types.h>
24988#endif
24989#ifdef HAVE_LINUX_FALLOC_H
24990# include <linux/falloc.h>
24991#endif
24992#ifdef HAVE_FCNTL_H
24993# include <fcntl.h>
24994#endif
24995
24996int
24997main ()
24998{
24999
25000   long ret;
25001   ret = fallocate(0, FALLOC_FL_KEEP_SIZE, 0xfffffffful, 0xfffffffful);
25002   if (ret != 0) {
25003      return 1;
25004   }
25005
25006  ;
25007  return 0;
25008}
25009_ACEOF
25010if ac_fn_c_try_link "$LINENO"; then :
25011
25012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25013$as_echo "yes" >&6; }
25014
25015$as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
25016
25017else
25018
25019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25020$as_echo "no" >&6; }
25021fi
25022rm -f core conftest.err conftest.$ac_objext \
25023    conftest$ac_exeext conftest.$ac_ext
25024
25025fi
25026
25027if test "x$build_fallocate" = xyes; then :
25028
25029    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valid posix_fallocate() function" >&5
25030$as_echo_n "checking for valid posix_fallocate() function... " >&6; }
25031  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25032/* end confdefs.h.  */
25033
25034#ifdef HAVE_UNISTD_H
25035# include <unistd.h>
25036#endif
25037#ifdef HAVE_SYS_TYPES_H
25038# include <sys/types.h>
25039#endif
25040#ifdef HAVE_LINUX_FALLOC_H
25041# include <linux/falloc.h>
25042#endif
25043#ifdef HAVE_FCNTL_H
25044# include <fcntl.h>
25045#endif
25046
25047int
25048main ()
25049{
25050
25051   long ret;
25052   ret = posix_fallocate(0, 0xfffffffful, 0xfffffffful);
25053   if (ret != 0) {
25054      return 1;
25055   }
25056
25057  ;
25058  return 0;
25059}
25060_ACEOF
25061if ac_fn_c_try_link "$LINENO"; then :
25062
25063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25064$as_echo "yes" >&6; }
25065
25066$as_echo "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
25067
25068else
25069
25070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25071$as_echo "no" >&6; }
25072fi
25073rm -f core conftest.err conftest.$ac_objext \
25074    conftest$ac_exeext conftest.$ac_ext
25075
25076fi
25077
25078
25079# Check whether --enable-unshare was given.
25080if test "${enable_unshare+set}" = set; then :
25081  enableval=$enable_unshare;
25082else
25083
25084
25085  if test "x$ul_default_estate" != x; then
25086    enable_unshare=$ul_default_estate
25087  else
25088    enable_unshare=check
25089  fi
25090
25091
25092fi
25093
25094
25095
25096  if test "x$enable_unshare" = xno; then
25097   build_unshare=no
25098else
25099   build_unshare=yes
25100fi
25101
25102
25103
25104  if test "x$build_unshare" != xno; then
25105
25106    case $enable_unshare:$linux_os in #(
25107    no:*)
25108      build_unshare=no ;;
25109    yes:yes)
25110      build_unshare=yes ;;
25111    yes:*)
25112      as_fn_error $? "unshare selected for non-linux system" "$LINENO" 5;;
25113    check:yes)
25114      build_unshare=yes ;;
25115    check:*)
25116      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building unshare" >&5
25117$as_echo "$as_me: WARNING: non-linux system; not building unshare" >&2;}
25118      build_unshare=no ;;
25119    esac
25120  fi
25121
25122
25123
25124
25125
25126  if test "x$build_unshare" != xno; then
25127    if test "x$enable_unshare" = xno; then
25128      build_unshare=no
25129    else
25130
25131
25132  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall unshare" >&5
25133$as_echo_n "checking for syscall unshare... " >&6; }
25134if ${ul_cv_syscall_unshare+:} false; then :
25135  $as_echo_n "(cached) " >&6
25136else
25137  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25138/* end confdefs.h.  */
25139
25140#include <sys/syscall.h>
25141#include <unistd.h>
25142
25143int
25144main ()
25145{
25146int test = SYS_unshare;
25147  ;
25148  return 0;
25149}
25150_ACEOF
25151if ac_fn_c_try_compile "$LINENO"; then :
25152  syscall=SYS_unshare
25153else
25154              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25155/* end confdefs.h.  */
25156
25157#include <sys/syscall.h>
25158#include <unistd.h>
25159
25160int
25161main ()
25162{
25163int test = __NR_unshare;
25164  ;
25165  return 0;
25166}
25167_ACEOF
25168if ac_fn_c_try_compile "$LINENO"; then :
25169  syscall=__NR_unshare
25170else
25171
25172	  syscall=no
25173	  if test "x$linux_os" = xyes; then
25174	    case $host_cpu in
25175
25176	    esac
25177	  fi
25178
25179fi
25180rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25181
25182
25183fi
25184rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25185
25186    ul_cv_syscall_unshare=$syscall
25187
25188fi
25189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_unshare" >&5
25190$as_echo "$ul_cv_syscall_unshare" >&6; }
25191  case $ul_cv_syscall_unshare in #(
25192  no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall unshare." >&5
25193$as_echo "$as_me: WARNING: Unable to detect syscall unshare." >&2;} ;;
25194  SYS_*) ;;
25195  *)
25196cat >>confdefs.h <<_ACEOF
25197#define SYS_unshare $ul_cv_syscall_unshare
25198_ACEOF
25199 ;;
25200  esac
25201
25202      case $enable_unshare:$ul_cv_syscall_unshare in #(
25203      no:*)
25204        build_unshare=no ;;
25205      yes:no)
25206        as_fn_error $? "unshare selected but unshare syscall not found" "$LINENO" 5 ;;
25207      check:no)
25208        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unshare syscall not found; not building unshare" >&5
25209$as_echo "$as_me: WARNING: unshare syscall not found; not building unshare" >&2;}
25210        build_unshare=no ;;
25211      *)
25212                build_unshare=yes ;;
25213      esac
25214    fi
25215  fi
25216
25217
25218
25219
25220  if test "x$build_unshare" != xno; then
25221
25222    ul_haveone_unshare=no
25223
25224      if test "x$have_linux_capability_h" = xyes; then
25225        ul_haveone_unshare=yes
25226      fi
25227
25228    case $enable_unshare:$ul_haveone_unshare in #(
25229    no:*)
25230      build_unshare=no ;;
25231    yes:yes)
25232      build_unshare=yes ;;
25233    yes:*)
25234      as_fn_error $? "unshare selected, but required linux/capability.h header file not available" "$LINENO" 5;;
25235    check:yes)
25236      build_unshare=yes ;;
25237    check:*)
25238      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: linux/capability.h header file not found; not building unshare" >&5
25239$as_echo "$as_me: WARNING: linux/capability.h header file not found; not building unshare" >&2;}
25240      build_unshare=no ;;
25241    esac
25242  fi
25243
25244 if test "x$build_unshare" = xyes; then
25245  BUILD_UNSHARE_TRUE=
25246  BUILD_UNSHARE_FALSE='#'
25247else
25248  BUILD_UNSHARE_TRUE='#'
25249  BUILD_UNSHARE_FALSE=
25250fi
25251
25252for ac_func in unshare
25253do :
25254  ac_fn_c_check_func "$LINENO" "unshare" "ac_cv_func_unshare"
25255if test "x$ac_cv_func_unshare" = xyes; then :
25256  cat >>confdefs.h <<_ACEOF
25257#define HAVE_UNSHARE 1
25258_ACEOF
25259
25260fi
25261done
25262
25263
25264# Check whether --enable-nsenter was given.
25265if test "${enable_nsenter+set}" = set; then :
25266  enableval=$enable_nsenter;
25267else
25268
25269
25270  if test "x$ul_default_estate" != x; then
25271    enable_nsenter=$ul_default_estate
25272  else
25273    enable_nsenter=check
25274  fi
25275
25276
25277fi
25278
25279
25280
25281  if test "x$enable_nsenter" = xno; then
25282   build_nsenter=no
25283else
25284   build_nsenter=yes
25285fi
25286
25287
25288
25289  if test "x$build_nsenter" != xno; then
25290
25291    case $enable_nsenter:$linux_os in #(
25292    no:*)
25293      build_nsenter=no ;;
25294    yes:yes)
25295      build_nsenter=yes ;;
25296    yes:*)
25297      as_fn_error $? "nsenter selected for non-linux system" "$LINENO" 5;;
25298    check:yes)
25299      build_nsenter=yes ;;
25300    check:*)
25301      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building nsenter" >&5
25302$as_echo "$as_me: WARNING: non-linux system; not building nsenter" >&2;}
25303      build_nsenter=no ;;
25304    esac
25305  fi
25306
25307
25308
25309
25310  if test "x$build_nsenter" != xno; then
25311
25312    ul_haveone_nsenter=no
25313
25314      if test "x$have_setns_syscall" = xyes; then
25315        ul_haveone_nsenter=yes
25316      fi
25317
25318    case $enable_nsenter:$ul_haveone_nsenter in #(
25319    no:*)
25320      build_nsenter=no ;;
25321    yes:yes)
25322      build_nsenter=yes ;;
25323    yes:*)
25324      as_fn_error $? "nsenter selected, but required setns syscall not available" "$LINENO" 5;;
25325    check:yes)
25326      build_nsenter=yes ;;
25327    check:*)
25328      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: setns syscall not found; not building nsenter" >&5
25329$as_echo "$as_me: WARNING: setns syscall not found; not building nsenter" >&2;}
25330      build_nsenter=no ;;
25331    esac
25332  fi
25333
25334 if test "x$build_nsenter" = xyes; then
25335  BUILD_NSENTER_TRUE=
25336  BUILD_NSENTER_FALSE='#'
25337else
25338  BUILD_NSENTER_TRUE='#'
25339  BUILD_NSENTER_FALSE=
25340fi
25341
25342for ac_func in setns
25343do :
25344  ac_fn_c_check_func "$LINENO" "setns" "ac_cv_func_setns"
25345if test "x$ac_cv_func_setns" = xyes; then :
25346  cat >>confdefs.h <<_ACEOF
25347#define HAVE_SETNS 1
25348_ACEOF
25349
25350fi
25351done
25352
25353
25354
25355
25356# Check whether --with-cap_ng was given.
25357if test "${with_cap_ng+set}" = set; then :
25358  withval=$with_cap_ng;
25359else
25360  with_cap_ng=auto
25361
25362fi
25363
25364if test "x$with_cap_ng" = xno; then :
25365
25366   if false; then
25367  HAVE_CAP_NG_TRUE=
25368  HAVE_CAP_NG_FALSE='#'
25369else
25370  HAVE_CAP_NG_TRUE='#'
25371  HAVE_CAP_NG_FALSE=
25372fi
25373
25374  have_cap_ng=no
25375
25376else
25377
25378
25379
25380  have_cap_ng=yes
25381  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capng_apply in -lcap-ng" >&5
25382$as_echo_n "checking for capng_apply in -lcap-ng... " >&6; }
25383if ${ac_cv_lib_cap_ng_capng_apply+:} false; then :
25384  $as_echo_n "(cached) " >&6
25385else
25386  ac_check_lib_save_LIBS=$LIBS
25387LIBS="-lcap-ng  $LIBS"
25388cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25389/* end confdefs.h.  */
25390
25391/* Override any GCC internal prototype to avoid an error.
25392   Use char because int might match the return type of a GCC
25393   builtin and then its argument prototype would still apply.  */
25394#ifdef __cplusplus
25395extern "C"
25396#endif
25397char capng_apply ();
25398int
25399main ()
25400{
25401return capng_apply ();
25402  ;
25403  return 0;
25404}
25405_ACEOF
25406if ac_fn_c_try_link "$LINENO"; then :
25407  ac_cv_lib_cap_ng_capng_apply=yes
25408else
25409  ac_cv_lib_cap_ng_capng_apply=no
25410fi
25411rm -f core conftest.err conftest.$ac_objext \
25412    conftest$ac_exeext conftest.$ac_ext
25413LIBS=$ac_check_lib_save_LIBS
25414fi
25415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_ng_capng_apply" >&5
25416$as_echo "$ac_cv_lib_cap_ng_capng_apply" >&6; }
25417if test "x$ac_cv_lib_cap_ng_capng_apply" = xyes; then :
25418  cat >>confdefs.h <<_ACEOF
25419#define HAVE_LIBCAP_NG 1
25420_ACEOF
25421
25422  LIBS="-lcap-ng $LIBS"
25423
25424else
25425  have_cap_ng=no
25426fi
25427
25428   if test $have_cap_ng = yes; then
25429  HAVE_CAP_NG_TRUE=
25430  HAVE_CAP_NG_FALSE='#'
25431else
25432  HAVE_CAP_NG_TRUE='#'
25433  HAVE_CAP_NG_FALSE=
25434fi
25435
25436
25437
25438fi
25439
25440
25441# Check whether --enable-setpriv was given.
25442if test "${enable_setpriv+set}" = set; then :
25443  enableval=$enable_setpriv;
25444else
25445
25446
25447  if test "x$ul_default_estate" != x; then
25448    enable_setpriv=$ul_default_estate
25449  else
25450    enable_setpriv=check
25451  fi
25452
25453
25454fi
25455
25456
25457
25458  if test "x$enable_setpriv" = xno; then
25459   build_setpriv=no
25460else
25461   build_setpriv=yes
25462fi
25463
25464
25465
25466  if test "x$build_setpriv" != xno; then
25467
25468    case $enable_setpriv:$linux_os in #(
25469    no:*)
25470      build_setpriv=no ;;
25471    yes:yes)
25472      build_setpriv=yes ;;
25473    yes:*)
25474      as_fn_error $? "setpriv selected for non-linux system" "$LINENO" 5;;
25475    check:yes)
25476      build_setpriv=yes ;;
25477    check:*)
25478      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building setpriv" >&5
25479$as_echo "$as_me: WARNING: non-linux system; not building setpriv" >&2;}
25480      build_setpriv=no ;;
25481    esac
25482  fi
25483
25484
25485
25486
25487  if test "x$build_setpriv" != xno; then
25488
25489    ul_haveone_setpriv=no
25490
25491      if test "x$have_linux_securebits_h" = xyes; then
25492        ul_haveone_setpriv=yes
25493      fi
25494
25495    case $enable_setpriv:$ul_haveone_setpriv in #(
25496    no:*)
25497      build_setpriv=no ;;
25498    yes:yes)
25499      build_setpriv=yes ;;
25500    yes:*)
25501      as_fn_error $? "setpriv selected, but required linux/securebits.h header file not available" "$LINENO" 5;;
25502    check:yes)
25503      build_setpriv=yes ;;
25504    check:*)
25505      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: linux/securebits.h header file not found; not building setpriv" >&5
25506$as_echo "$as_me: WARNING: linux/securebits.h header file not found; not building setpriv" >&2;}
25507      build_setpriv=no ;;
25508    esac
25509  fi
25510
25511
25512
25513
25514  if test "x$build_setpriv" != xno; then
25515
25516    ul_haveone_setpriv=no
25517
25518      if test "x$have_linux_capability_h" = xyes; then
25519        ul_haveone_setpriv=yes
25520      fi
25521
25522    case $enable_setpriv:$ul_haveone_setpriv in #(
25523    no:*)
25524      build_setpriv=no ;;
25525    yes:yes)
25526      build_setpriv=yes ;;
25527    yes:*)
25528      as_fn_error $? "setpriv selected, but required linux/capability.h header file not available" "$LINENO" 5;;
25529    check:yes)
25530      build_setpriv=yes ;;
25531    check:*)
25532      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: linux/capability.h header file not found; not building setpriv" >&5
25533$as_echo "$as_me: WARNING: linux/capability.h header file not found; not building setpriv" >&2;}
25534      build_setpriv=no ;;
25535    esac
25536  fi
25537
25538
25539
25540
25541  if test "x$build_setpriv" != xno; then
25542
25543    ul_haveone_setpriv=no
25544
25545      if test "x$have_cap_ng" = xyes; then
25546        ul_haveone_setpriv=yes
25547      fi
25548
25549    case $enable_setpriv:$ul_haveone_setpriv in #(
25550    no:*)
25551      build_setpriv=no ;;
25552    yes:yes)
25553      build_setpriv=yes ;;
25554    yes:*)
25555      as_fn_error $? "setpriv selected, but required libcap-ng library not available" "$LINENO" 5;;
25556    check:yes)
25557      build_setpriv=yes ;;
25558    check:*)
25559      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libcap-ng library not found; not building setpriv" >&5
25560$as_echo "$as_me: WARNING: libcap-ng library not found; not building setpriv" >&2;}
25561      build_setpriv=no ;;
25562    esac
25563  fi
25564
25565 if test "x$build_setpriv" = xyes; then
25566  BUILD_SETPRIV_TRUE=
25567  BUILD_SETPRIV_FALSE='#'
25568else
25569  BUILD_SETPRIV_TRUE='#'
25570  BUILD_SETPRIV_FALSE=
25571fi
25572
25573
25574
25575pkg_failed=no
25576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCRE" >&5
25577$as_echo_n "checking for PCRE... " >&6; }
25578
25579if test -n "$PCRE_CFLAGS"; then
25580    pkg_cv_PCRE_CFLAGS="$PCRE_CFLAGS"
25581 elif test -n "$PKG_CONFIG"; then
25582    if test -n "$PKG_CONFIG" && \
25583    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre2-8\""; } >&5
25584  ($PKG_CONFIG --exists --print-errors "libpcre2-8") 2>&5
25585  ac_status=$?
25586  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25587  test $ac_status = 0; }; then
25588  pkg_cv_PCRE_CFLAGS=`$PKG_CONFIG --cflags "libpcre2-8" 2>/dev/null`
25589		      test "x$?" != "x0" && pkg_failed=yes
25590else
25591  pkg_failed=yes
25592fi
25593 else
25594    pkg_failed=untried
25595fi
25596if test -n "$PCRE_LIBS"; then
25597    pkg_cv_PCRE_LIBS="$PCRE_LIBS"
25598 elif test -n "$PKG_CONFIG"; then
25599    if test -n "$PKG_CONFIG" && \
25600    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre2-8\""; } >&5
25601  ($PKG_CONFIG --exists --print-errors "libpcre2-8") 2>&5
25602  ac_status=$?
25603  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25604  test $ac_status = 0; }; then
25605  pkg_cv_PCRE_LIBS=`$PKG_CONFIG --libs "libpcre2-8" 2>/dev/null`
25606		      test "x$?" != "x0" && pkg_failed=yes
25607else
25608  pkg_failed=yes
25609fi
25610 else
25611    pkg_failed=untried
25612fi
25613
25614
25615
25616if test $pkg_failed = yes; then
25617   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25618$as_echo "no" >&6; }
25619
25620if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25621        _pkg_short_errors_supported=yes
25622else
25623        _pkg_short_errors_supported=no
25624fi
25625        if test $_pkg_short_errors_supported = yes; then
25626	        PCRE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpcre2-8" 2>&1`
25627        else
25628	        PCRE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpcre2-8" 2>&1`
25629        fi
25630	# Put the nasty error message in config.log where it belongs
25631	echo "$PCRE_PKG_ERRORS" >&5
25632
25633	have_pcre=no
25634elif test $pkg_failed = untried; then
25635     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25636$as_echo "no" >&6; }
25637	have_pcre=no
25638else
25639	PCRE_CFLAGS=$pkg_cv_PCRE_CFLAGS
25640	PCRE_LIBS=$pkg_cv_PCRE_LIBS
25641        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25642$as_echo "yes" >&6; }
25643	have_pcre=yes
25644fi
25645if test "x$have_pcre" = xyes ; then :
25646
25647
25648$as_echo "#define HAVE_PCRE 1" >>confdefs.h
25649
25650
25651fi
25652 if test "x$have_pcre" = xyes; then
25653  HAVE_PCRE_TRUE=
25654  HAVE_PCRE_FALSE='#'
25655else
25656  HAVE_PCRE_TRUE='#'
25657  HAVE_PCRE_FALSE=
25658fi
25659
25660
25661# Check whether --enable-hardlink was given.
25662if test "${enable_hardlink+set}" = set; then :
25663  enableval=$enable_hardlink;
25664else
25665
25666
25667  if test "x$ul_default_estate" != x; then
25668    enable_hardlink=$ul_default_estate
25669  else
25670    enable_hardlink=check
25671  fi
25672
25673
25674fi
25675
25676
25677
25678  if test "x$enable_hardlink" = xno; then
25679   build_hardlink=no
25680else
25681   build_hardlink=yes
25682fi
25683
25684 if test "x$build_hardlink" = xyes; then
25685  BUILD_HARDLINK_TRUE=
25686  BUILD_HARDLINK_FALSE='#'
25687else
25688  BUILD_HARDLINK_TRUE='#'
25689  BUILD_HARDLINK_FALSE=
25690fi
25691
25692
25693# Check whether --enable-eject was given.
25694if test "${enable_eject+set}" = set; then :
25695  enableval=$enable_eject;
25696else
25697
25698
25699  if test "x$ul_default_estate" != x; then
25700    enable_eject=$ul_default_estate
25701  else
25702    enable_eject=check
25703  fi
25704
25705
25706fi
25707
25708
25709
25710  if test "x$enable_eject" = xno; then
25711   build_eject=no
25712else
25713   build_eject=yes
25714fi
25715
25716
25717
25718  if test "x$build_eject" != xno; then
25719
25720    case $enable_eject:$linux_os in #(
25721    no:*)
25722      build_eject=no ;;
25723    yes:yes)
25724      build_eject=yes ;;
25725    yes:*)
25726      as_fn_error $? "eject selected for non-linux system" "$LINENO" 5;;
25727    check:yes)
25728      build_eject=yes ;;
25729    check:*)
25730      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building eject" >&5
25731$as_echo "$as_me: WARNING: non-linux system; not building eject" >&2;}
25732      build_eject=no ;;
25733    esac
25734  fi
25735
25736
25737
25738
25739  if test "x$build_eject" != xno; then
25740    case $enable_eject:$build_libmount in #(
25741    no:*)
25742      build_eject=no ;;
25743    yes:yes)
25744      build_eject=yes ;;
25745    yes:*)
25746      as_fn_error $? "libmount is needed to build eject" "$LINENO" 5;;
25747    check:yes)
25748      build_eject=yes ;;
25749    check:*)
25750      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building eject" >&5
25751$as_echo "$as_me: WARNING: libmount disabled; not building eject" >&2;}
25752      build_eject=no ;;
25753    esac
25754  fi
25755
25756 if test "x$build_eject" = xyes; then
25757  BUILD_EJECT_TRUE=
25758  BUILD_EJECT_FALSE='#'
25759else
25760  BUILD_EJECT_TRUE='#'
25761  BUILD_EJECT_FALSE=
25762fi
25763
25764
25765
25766# Check whether --enable-agetty was given.
25767if test "${enable_agetty+set}" = set; then :
25768  enableval=$enable_agetty;
25769else
25770
25771
25772  if test "x$ul_default_estate" != x; then
25773    enable_agetty=$ul_default_estate
25774  else
25775    enable_agetty=check
25776  fi
25777
25778
25779fi
25780
25781
25782
25783  if test "x$enable_agetty" = xno; then
25784   build_agetty=no
25785else
25786   build_agetty=yes
25787fi
25788
25789
25790
25791
25792  if test "x$build_agetty" != xno; then
25793
25794    ul_haveone_agetty=no
25795
25796      if test "x$have_utmpx_h" = xyes; then
25797        ul_haveone_agetty=yes
25798      fi
25799
25800    case $enable_agetty:$ul_haveone_agetty in #(
25801    no:*)
25802      build_agetty=no ;;
25803    yes:yes)
25804      build_agetty=yes ;;
25805    yes:*)
25806      as_fn_error $? "agetty selected, but required utmpx.h header not available" "$LINENO" 5;;
25807    check:yes)
25808      build_agetty=yes ;;
25809    check:*)
25810      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: utmpx.h header not found; not building agetty" >&5
25811$as_echo "$as_me: WARNING: utmpx.h header not found; not building agetty" >&2;}
25812      build_agetty=no ;;
25813    esac
25814  fi
25815
25816
25817
25818
25819  if test "x$build_agetty" != xno; then
25820
25821    ul_haveone_agetty=no
25822
25823      if test "x$have_gnu_utmpx" = xyes; then
25824        ul_haveone_agetty=yes
25825      fi
25826
25827    case $enable_agetty:$ul_haveone_agetty in #(
25828    no:*)
25829      build_agetty=no ;;
25830    yes:yes)
25831      build_agetty=yes ;;
25832    yes:*)
25833      as_fn_error $? "agetty selected, but required GNU utmpx functions not available" "$LINENO" 5;;
25834    check:yes)
25835      build_agetty=yes ;;
25836    check:*)
25837      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU utmpx functions not found; not building agetty" >&5
25838$as_echo "$as_me: WARNING: GNU utmpx functions not found; not building agetty" >&2;}
25839      build_agetty=no ;;
25840    esac
25841  fi
25842
25843 if test "x$build_agetty" = xyes; then
25844  BUILD_AGETTY_TRUE=
25845  BUILD_AGETTY_FALSE='#'
25846else
25847  BUILD_AGETTY_TRUE='#'
25848  BUILD_AGETTY_FALSE=
25849fi
25850
25851if test "x$have_futimens" = xyes -a "x$have_inotify_init1" = xyes ; then :
25852
25853
25854$as_echo "#define AGETTY_RELOAD 1" >>confdefs.h
25855
25856
25857else
25858
25859  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: futimens or inotify_init1 not found; agetty(8) will not provide ---reload functionality" >&5
25860$as_echo "$as_me: WARNING: futimens or inotify_init1 not found; agetty(8) will not provide ---reload functionality" >&2;}
25861
25862fi
25863
25864
25865# Check whether --enable-plymouth_support was given.
25866if test "${enable_plymouth_support+set}" = set; then :
25867  enableval=$enable_plymouth_support;
25868else
25869  enable_plymouth_support=check
25870
25871fi
25872
25873
25874
25875  if test "x$enable_plymouth_support" = xno; then
25876   build_plymouth_support=no
25877else
25878   build_plymouth_support=yes
25879fi
25880
25881
25882
25883
25884  if test "x$build_plymouth_support" != xno; then
25885
25886    ul_haveone_plymouth_support=no
25887
25888      if test "x$have_tiocglcktrmios" = xyes; then
25889        ul_haveone_plymouth_support=yes
25890      fi
25891
25892    case $enable_plymouth_support:$ul_haveone_plymouth_support in #(
25893    no:*)
25894      build_plymouth_support=no ;;
25895    yes:yes)
25896      build_plymouth_support=yes ;;
25897    yes:*)
25898      as_fn_error $? "plymouth_support selected, but required TIOCGLCKTRMIOS flag not available" "$LINENO" 5;;
25899    check:yes)
25900      build_plymouth_support=yes ;;
25901    check:*)
25902      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: TIOCGLCKTRMIOS flag not found; not building plymouth_support" >&5
25903$as_echo "$as_me: WARNING: TIOCGLCKTRMIOS flag not found; not building plymouth_support" >&2;}
25904      build_plymouth_support=no ;;
25905    esac
25906  fi
25907
25908
25909
25910
25911  if test "x$build_plymouth_support" != xno; then
25912
25913    ul_haveone_plymouth_support=no
25914
25915      if test "x$have_sock_cloexec" = xyes; then
25916        ul_haveone_plymouth_support=yes
25917      fi
25918
25919    case $enable_plymouth_support:$ul_haveone_plymouth_support in #(
25920    no:*)
25921      build_plymouth_support=no ;;
25922    yes:yes)
25923      build_plymouth_support=yes ;;
25924    yes:*)
25925      as_fn_error $? "plymouth_support selected, but required SOCK_CLOEXEC flag not available" "$LINENO" 5;;
25926    check:yes)
25927      build_plymouth_support=yes ;;
25928    check:*)
25929      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SOCK_CLOEXEC flag not found; not building plymouth_support" >&5
25930$as_echo "$as_me: WARNING: SOCK_CLOEXEC flag not found; not building plymouth_support" >&2;}
25931      build_plymouth_support=no ;;
25932    esac
25933  fi
25934
25935
25936
25937
25938  if test "x$build_plymouth_support" != xno; then
25939
25940    ul_haveone_plymouth_support=no
25941
25942      if test "x$have_sock_nonblock" = xyes; then
25943        ul_haveone_plymouth_support=yes
25944      fi
25945
25946    case $enable_plymouth_support:$ul_haveone_plymouth_support in #(
25947    no:*)
25948      build_plymouth_support=no ;;
25949    yes:yes)
25950      build_plymouth_support=yes ;;
25951    yes:*)
25952      as_fn_error $? "plymouth_support selected, but required SOCK_NONBLOCK flag not available" "$LINENO" 5;;
25953    check:yes)
25954      build_plymouth_support=yes ;;
25955    check:*)
25956      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SOCK_NONBLOCK flag not found; not building plymouth_support" >&5
25957$as_echo "$as_me: WARNING: SOCK_NONBLOCK flag not found; not building plymouth_support" >&2;}
25958      build_plymouth_support=no ;;
25959    esac
25960  fi
25961
25962
25963
25964
25965  if test "x$build_plymouth_support" != xno; then
25966
25967    ul_haveone_plymouth_support=no
25968
25969      if test "x$have_so_passcred" = xyes; then
25970        ul_haveone_plymouth_support=yes
25971      fi
25972
25973    case $enable_plymouth_support:$ul_haveone_plymouth_support in #(
25974    no:*)
25975      build_plymouth_support=no ;;
25976    yes:yes)
25977      build_plymouth_support=yes ;;
25978    yes:*)
25979      as_fn_error $? "plymouth_support selected, but required SO_PASSCRED flag not available" "$LINENO" 5;;
25980    check:yes)
25981      build_plymouth_support=yes ;;
25982    check:*)
25983      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SO_PASSCRED flag not found; not building plymouth_support" >&5
25984$as_echo "$as_me: WARNING: SO_PASSCRED flag not found; not building plymouth_support" >&2;}
25985      build_plymouth_support=no ;;
25986    esac
25987  fi
25988
25989 if test "x$build_plymouth_support" = xyes; then
25990  USE_PLYMOUTH_SUPPORT_TRUE=
25991  USE_PLYMOUTH_SUPPORT_FALSE='#'
25992else
25993  USE_PLYMOUTH_SUPPORT_TRUE='#'
25994  USE_PLYMOUTH_SUPPORT_FALSE=
25995fi
25996
25997if test "x$build_plymouth_support" = xyes ; then :
25998
25999
26000$as_echo "#define USE_PLYMOUTH_SUPPORT 1" >>confdefs.h
26001
26002
26003fi
26004
26005
26006
26007# Check whether --with-libz was given.
26008if test "${with_libz+set}" = set; then :
26009  withval=$with_libz;
26010else
26011  with_libz=auto
26012
26013fi
26014
26015if test "x$with_libz" = xno; then :
26016  have_z=no
26017else
26018
26019  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crc32 in -lz" >&5
26020$as_echo_n "checking for crc32 in -lz... " >&6; }
26021if ${ac_cv_lib_z_crc32+:} false; then :
26022  $as_echo_n "(cached) " >&6
26023else
26024  ac_check_lib_save_LIBS=$LIBS
26025LIBS="-lz  $LIBS"
26026cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26027/* end confdefs.h.  */
26028
26029/* Override any GCC internal prototype to avoid an error.
26030   Use char because int might match the return type of a GCC
26031   builtin and then its argument prototype would still apply.  */
26032#ifdef __cplusplus
26033extern "C"
26034#endif
26035char crc32 ();
26036int
26037main ()
26038{
26039return crc32 ();
26040  ;
26041  return 0;
26042}
26043_ACEOF
26044if ac_fn_c_try_link "$LINENO"; then :
26045  ac_cv_lib_z_crc32=yes
26046else
26047  ac_cv_lib_z_crc32=no
26048fi
26049rm -f core conftest.err conftest.$ac_objext \
26050    conftest$ac_exeext conftest.$ac_ext
26051LIBS=$ac_check_lib_save_LIBS
26052fi
26053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_crc32" >&5
26054$as_echo "$ac_cv_lib_z_crc32" >&6; }
26055if test "x$ac_cv_lib_z_crc32" = xyes; then :
26056  have_z=yes
26057else
26058  have_z=no
26059fi
26060
26061
26062fi
26063
26064
26065# Check whether --with-libmagic was given.
26066if test "${with_libmagic+set}" = set; then :
26067  withval=$with_libmagic;
26068else
26069  with_libmagic=auto
26070
26071fi
26072
26073if test "x$with_libmagic" = xno; then :
26074  have_magic=no
26075else
26076
26077  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
26078$as_echo_n "checking for magic_open in -lmagic... " >&6; }
26079if ${ac_cv_lib_magic_magic_open+:} false; then :
26080  $as_echo_n "(cached) " >&6
26081else
26082  ac_check_lib_save_LIBS=$LIBS
26083LIBS="-lmagic  $LIBS"
26084cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26085/* end confdefs.h.  */
26086
26087/* Override any GCC internal prototype to avoid an error.
26088   Use char because int might match the return type of a GCC
26089   builtin and then its argument prototype would still apply.  */
26090#ifdef __cplusplus
26091extern "C"
26092#endif
26093char magic_open ();
26094int
26095main ()
26096{
26097return magic_open ();
26098  ;
26099  return 0;
26100}
26101_ACEOF
26102if ac_fn_c_try_link "$LINENO"; then :
26103  ac_cv_lib_magic_magic_open=yes
26104else
26105  ac_cv_lib_magic_magic_open=no
26106fi
26107rm -f core conftest.err conftest.$ac_objext \
26108    conftest$ac_exeext conftest.$ac_ext
26109LIBS=$ac_check_lib_save_LIBS
26110fi
26111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
26112$as_echo "$ac_cv_lib_magic_magic_open" >&6; }
26113if test "x$ac_cv_lib_magic_magic_open" = xyes; then :
26114
26115
26116$as_echo "#define HAVE_MAGIC 1" >>confdefs.h
26117
26118    MAGIC_LIBS="-lmagic"
26119
26120fi
26121
26122
26123fi
26124
26125
26126
26127# Check whether --enable-cramfs was given.
26128if test "${enable_cramfs+set}" = set; then :
26129  enableval=$enable_cramfs;
26130else
26131
26132
26133  if test "x$ul_default_estate" != x; then
26134    enable_cramfs=$ul_default_estate
26135  else
26136    enable_cramfs=check
26137  fi
26138
26139
26140fi
26141
26142
26143
26144  if test "x$enable_cramfs" = xno; then
26145   build_cramfs=no
26146else
26147   build_cramfs=yes
26148fi
26149
26150
26151
26152
26153  if test "x$build_cramfs" != xno; then
26154
26155    ul_haveone_cramfs=no
26156
26157      if test "x$have_z" = xyes; then
26158        ul_haveone_cramfs=yes
26159      fi
26160
26161    case $enable_cramfs:$ul_haveone_cramfs in #(
26162    no:*)
26163      build_cramfs=no ;;
26164    yes:yes)
26165      build_cramfs=yes ;;
26166    yes:*)
26167      as_fn_error $? "cramfs selected, but required z library not available" "$LINENO" 5;;
26168    check:yes)
26169      build_cramfs=yes ;;
26170    check:*)
26171      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: z library not found; not building cramfs" >&5
26172$as_echo "$as_me: WARNING: z library not found; not building cramfs" >&2;}
26173      build_cramfs=no ;;
26174    esac
26175  fi
26176
26177 if test "x$build_cramfs" = xyes; then
26178  BUILD_CRAMFS_TRUE=
26179  BUILD_CRAMFS_FALSE='#'
26180else
26181  BUILD_CRAMFS_TRUE='#'
26182  BUILD_CRAMFS_FALSE=
26183fi
26184
26185
26186
26187# Check whether --enable-bfs was given.
26188if test "${enable_bfs+set}" = set; then :
26189  enableval=$enable_bfs;
26190else
26191
26192
26193  if test "x$ul_default_estate" != x; then
26194    enable_bfs=$ul_default_estate
26195  else
26196    enable_bfs=yes
26197  fi
26198
26199
26200fi
26201
26202
26203
26204  if test "x$enable_bfs" = xno; then
26205   build_bfs=no
26206else
26207   build_bfs=yes
26208fi
26209
26210 if test "x$build_bfs" = xyes; then
26211  BUILD_BFS_TRUE=
26212  BUILD_BFS_FALSE='#'
26213else
26214  BUILD_BFS_TRUE='#'
26215  BUILD_BFS_FALSE=
26216fi
26217
26218
26219
26220# Check whether --enable-minix was given.
26221if test "${enable_minix+set}" = set; then :
26222  enableval=$enable_minix;
26223else
26224
26225
26226  if test "x$ul_default_estate" != x; then
26227    enable_minix=$ul_default_estate
26228  else
26229    enable_minix=yes
26230  fi
26231
26232
26233fi
26234
26235
26236
26237  if test "x$enable_minix" = xno; then
26238   build_minix=no
26239else
26240   build_minix=yes
26241fi
26242
26243 if test "x$build_minix" = xyes; then
26244  BUILD_MINIX_TRUE=
26245  BUILD_MINIX_FALSE='#'
26246else
26247  BUILD_MINIX_TRUE='#'
26248  BUILD_MINIX_FALSE=
26249fi
26250
26251
26252
26253# Check whether --enable-fdformat was given.
26254if test "${enable_fdformat+set}" = set; then :
26255  enableval=$enable_fdformat;
26256else
26257
26258
26259  if test "x$ul_default_estate" != x; then
26260    enable_fdformat=$ul_default_estate
26261  else
26262    enable_fdformat=check
26263  fi
26264
26265
26266fi
26267
26268
26269
26270  if test "x$enable_fdformat" = xno; then
26271   build_fdformat=no
26272else
26273   build_fdformat=yes
26274fi
26275
26276
26277
26278  if test "x$build_fdformat" != xno; then
26279
26280    case $enable_fdformat:$linux_os in #(
26281    no:*)
26282      build_fdformat=no ;;
26283    yes:yes)
26284      build_fdformat=yes ;;
26285    yes:*)
26286      as_fn_error $? "fdformat selected for non-linux system" "$LINENO" 5;;
26287    check:yes)
26288      build_fdformat=yes ;;
26289    check:*)
26290      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building fdformat" >&5
26291$as_echo "$as_me: WARNING: non-linux system; not building fdformat" >&2;}
26292      build_fdformat=no ;;
26293    esac
26294  fi
26295
26296 if test "x$build_fdformat" = xyes; then
26297  BUILD_FDFORMAT_TRUE=
26298  BUILD_FDFORMAT_FALSE='#'
26299else
26300  BUILD_FDFORMAT_TRUE='#'
26301  BUILD_FDFORMAT_FALSE=
26302fi
26303
26304
26305
26306# Check whether --enable-hwclock was given.
26307if test "${enable_hwclock+set}" = set; then :
26308  enableval=$enable_hwclock;
26309else
26310
26311
26312  if test "x$ul_default_estate" != x; then
26313    enable_hwclock=$ul_default_estate
26314  else
26315    enable_hwclock=check
26316  fi
26317
26318
26319fi
26320
26321have_linuxdummy=$linux_os
26322
26323
26324
26325  if test "x$enable_hwclock" = xno; then
26326   build_hwclock=no
26327else
26328   build_hwclock=yes
26329fi
26330
26331
26332
26333
26334  if test "x$build_hwclock" != xno; then
26335
26336    ul_haveone_hwclock=no
26337
26338      if test "x$have_io" = xyes; then
26339        ul_haveone_hwclock=yes
26340      fi
26341
26342      if test "x$have_linuxdummy" = xyes; then
26343        ul_haveone_hwclock=yes
26344      fi
26345
26346    case $enable_hwclock:$ul_haveone_hwclock in #(
26347    no:*)
26348      build_hwclock=no ;;
26349    yes:yes)
26350      build_hwclock=yes ;;
26351    yes:*)
26352      as_fn_error $? "hwclock selected, but required ioperm iopl function or Linux not available" "$LINENO" 5;;
26353    check:yes)
26354      build_hwclock=yes ;;
26355    check:*)
26356      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ioperm iopl function or Linux not found; not building hwclock" >&5
26357$as_echo "$as_me: WARNING: ioperm iopl function or Linux not found; not building hwclock" >&2;}
26358      build_hwclock=no ;;
26359    esac
26360  fi
26361
26362 if test "x$build_hwclock" = xyes; then
26363  BUILD_HWCLOCK_TRUE=
26364  BUILD_HWCLOCK_FALSE='#'
26365else
26366  BUILD_HWCLOCK_TRUE='#'
26367  BUILD_HWCLOCK_FALSE=
26368fi
26369
26370
26371# Check whether --enable-hwclock_cmos was given.
26372if test "${enable_hwclock_cmos+set}" = set; then :
26373  enableval=$enable_hwclock_cmos;
26374else
26375  enable_hwclock_cmos=check
26376
26377fi
26378
26379
26380
26381  if test "x$enable_hwclock_cmos" = xno; then
26382   build_hwclock_cmos=no
26383else
26384   build_hwclock_cmos=yes
26385fi
26386
26387
26388
26389
26390  if test "x$build_hwclock_cmos" != xno; then
26391    case $enable_hwclock_cmos:$build_hwclock in #(
26392    no:*)
26393      build_hwclock_cmos=no ;;
26394    yes:yes)
26395      build_hwclock_cmos=yes ;;
26396    yes:*)
26397      as_fn_error $? "hwclock is needed to build hwclock_cmos" "$LINENO" 5;;
26398    check:yes)
26399      build_hwclock_cmos=yes ;;
26400    check:*)
26401      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hwclock disabled; not building hwclock_cmos" >&5
26402$as_echo "$as_me: WARNING: hwclock disabled; not building hwclock_cmos" >&2;}
26403      build_hwclock_cmos=no ;;
26404    esac
26405  fi
26406
26407
26408
26409  if test "x$build_hwclock_cmos" != xno; then
26410
26411    ul_archone_hwclock_cmos=no
26412
26413      case "$host" in #(
26414      i?86-*)
26415        ul_archone_hwclock_cmos=yes ;;
26416      esac
26417
26418      case "$host" in #(
26419      x86_64*)
26420        ul_archone_hwclock_cmos=yes ;;
26421      esac
26422        case $enable_hwclock_cmos:$ul_archone_hwclock_cmos in #(
26423    no:*)
26424      build_hwclock_cmos=no ;;
26425    yes:no)
26426      as_fn_error $? "hwclock_cmos selected for unsupported architecture" "$LINENO" 5;;
26427    yes:*)
26428      build_hwclock_cmos=yes ;;
26429    check:no)
26430      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: excluded for $host architecture; not building hwclock_cmos" >&5
26431$as_echo "$as_me: WARNING: excluded for $host architecture; not building hwclock_cmos" >&2;}
26432      build_hwclock_cmos=no ;;
26433    check:*)
26434      build_hwclock_cmos=yes ;;
26435    esac
26436  fi
26437
26438 if test "x$build_hwclock_cmos" = xyes; then
26439  USE_HWCLOCK_CMOS_TRUE=
26440  USE_HWCLOCK_CMOS_FALSE='#'
26441else
26442  USE_HWCLOCK_CMOS_TRUE='#'
26443  USE_HWCLOCK_CMOS_FALSE=
26444fi
26445
26446if test "x$build_hwclock_cmos" = xyes ; then :
26447
26448
26449$as_echo "#define USE_HWCLOCK_CMOS 1" >>confdefs.h
26450
26451
26452fi
26453
26454# Check whether --enable-hwclock_gplv3 was given.
26455if test "${enable_hwclock_gplv3+set}" = set; then :
26456  enableval=$enable_hwclock_gplv3;
26457else
26458  enable_hwclock_gplv3=yes
26459
26460fi
26461
26462 if test "x$enable_hwclock_gplv3" = xyes; then
26463  USE_HWCLOCK_GPLv3_DATETIME_TRUE=
26464  USE_HWCLOCK_GPLv3_DATETIME_FALSE='#'
26465else
26466  USE_HWCLOCK_GPLv3_DATETIME_TRUE='#'
26467  USE_HWCLOCK_GPLv3_DATETIME_FALSE=
26468fi
26469
26470if test "x$enable_hwclock_gplv3" = xyes ; then :
26471
26472
26473$as_echo "#define USE_HWCLOCK_GPLv3_DATETIME 1" >>confdefs.h
26474
26475
26476fi
26477
26478
26479
26480
26481  if test "x$ul_default_estate" != x; then
26482  enable_mkfs=$ul_default_estate
26483  build_mkfs=yes
26484  if test "x$ul_default_estate" = xno; then
26485    build_mkfs=no
26486  fi
26487else
26488
26489  build_mkfs=yes
26490  enable_mkfs=yes
26491fi
26492
26493 if test "x$build_mkfs" = xyes; then
26494  BUILD_MKFS_TRUE=
26495  BUILD_MKFS_FALSE='#'
26496else
26497  BUILD_MKFS_TRUE='#'
26498  BUILD_MKFS_FALSE=
26499fi
26500
26501
26502
26503
26504  if test "x$ul_default_estate" != x; then
26505  enable_isosize=$ul_default_estate
26506  build_isosize=yes
26507  if test "x$ul_default_estate" = xno; then
26508    build_isosize=no
26509  fi
26510else
26511
26512  build_isosize=yes
26513  enable_isosize=yes
26514fi
26515
26516 if test "x$build_isosize" = xyes; then
26517  BUILD_ISOSIZE_TRUE=
26518  BUILD_ISOSIZE_FALSE='#'
26519else
26520  BUILD_ISOSIZE_TRUE='#'
26521  BUILD_ISOSIZE_FALSE=
26522fi
26523
26524
26525
26526
26527
26528  if test "x$ul_default_estate" != x; then
26529  enable_fstrim=$ul_default_estate
26530  build_fstrim=yes
26531  if test "x$ul_default_estate" = xno; then
26532    build_fstrim=no
26533  fi
26534else
26535
26536  build_fstrim=yes
26537  enable_fstrim=check
26538fi
26539
26540
26541
26542  if test "x$build_fstrim" != xno; then
26543
26544    case $enable_fstrim:$linux_os in #(
26545    no:*)
26546      build_fstrim=no ;;
26547    yes:yes)
26548      build_fstrim=yes ;;
26549    yes:*)
26550      as_fn_error $? "fstrim selected for non-linux system" "$LINENO" 5;;
26551    check:yes)
26552      build_fstrim=yes ;;
26553    check:*)
26554      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building fstrim" >&5
26555$as_echo "$as_me: WARNING: non-linux system; not building fstrim" >&2;}
26556      build_fstrim=no ;;
26557    esac
26558  fi
26559
26560
26561
26562
26563  if test "x$build_fstrim" != xno; then
26564    case $enable_fstrim:$build_libmount in #(
26565    no:*)
26566      build_fstrim=no ;;
26567    yes:yes)
26568      build_fstrim=yes ;;
26569    yes:*)
26570      as_fn_error $? "libmount is needed to build fstrim" "$LINENO" 5;;
26571    check:yes)
26572      build_fstrim=yes ;;
26573    check:*)
26574      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building fstrim" >&5
26575$as_echo "$as_me: WARNING: libmount disabled; not building fstrim" >&2;}
26576      build_fstrim=no ;;
26577    esac
26578  fi
26579
26580 if test "x$build_fstrim" = xyes; then
26581  BUILD_FSTRIM_TRUE=
26582  BUILD_FSTRIM_FALSE='#'
26583else
26584  BUILD_FSTRIM_TRUE='#'
26585  BUILD_FSTRIM_FALSE=
26586fi
26587
26588
26589
26590
26591
26592  if test "x$ul_default_estate" != x; then
26593  enable_swapon=$ul_default_estate
26594  build_swapon=yes
26595  if test "x$ul_default_estate" = xno; then
26596    build_swapon=no
26597  fi
26598else
26599
26600  build_swapon=yes
26601  enable_swapon=check
26602fi
26603
26604
26605
26606  if test "x$build_swapon" != xno; then
26607
26608    case $enable_swapon:$linux_os in #(
26609    no:*)
26610      build_swapon=no ;;
26611    yes:yes)
26612      build_swapon=yes ;;
26613    yes:*)
26614      as_fn_error $? "swapon selected for non-linux system" "$LINENO" 5;;
26615    check:yes)
26616      build_swapon=yes ;;
26617    check:*)
26618      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building swapon" >&5
26619$as_echo "$as_me: WARNING: non-linux system; not building swapon" >&2;}
26620      build_swapon=no ;;
26621    esac
26622  fi
26623
26624
26625
26626
26627
26628  if test "x$build_swapon" != xno; then
26629    if test "x$enable_swapon" = xno; then
26630      build_swapon=no
26631    else
26632
26633
26634  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall swapon" >&5
26635$as_echo_n "checking for syscall swapon... " >&6; }
26636if ${ul_cv_syscall_swapon+:} false; then :
26637  $as_echo_n "(cached) " >&6
26638else
26639  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26640/* end confdefs.h.  */
26641
26642#include <sys/syscall.h>
26643#include <unistd.h>
26644
26645int
26646main ()
26647{
26648int test = SYS_swapon;
26649  ;
26650  return 0;
26651}
26652_ACEOF
26653if ac_fn_c_try_compile "$LINENO"; then :
26654  syscall=SYS_swapon
26655else
26656              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26657/* end confdefs.h.  */
26658
26659#include <sys/syscall.h>
26660#include <unistd.h>
26661
26662int
26663main ()
26664{
26665int test = __NR_swapon;
26666  ;
26667  return 0;
26668}
26669_ACEOF
26670if ac_fn_c_try_compile "$LINENO"; then :
26671  syscall=__NR_swapon
26672else
26673
26674	  syscall=no
26675	  if test "x$linux_os" = xyes; then
26676	    case $host_cpu in
26677
26678	    esac
26679	  fi
26680
26681fi
26682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26683
26684
26685fi
26686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26687
26688    ul_cv_syscall_swapon=$syscall
26689
26690fi
26691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_swapon" >&5
26692$as_echo "$ul_cv_syscall_swapon" >&6; }
26693  case $ul_cv_syscall_swapon in #(
26694  no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall swapon." >&5
26695$as_echo "$as_me: WARNING: Unable to detect syscall swapon." >&2;} ;;
26696  SYS_*) ;;
26697  *)
26698cat >>confdefs.h <<_ACEOF
26699#define SYS_swapon $ul_cv_syscall_swapon
26700_ACEOF
26701 ;;
26702  esac
26703
26704      case $enable_swapon:$ul_cv_syscall_swapon in #(
26705      no:*)
26706        build_swapon=no ;;
26707      yes:no)
26708        as_fn_error $? "swapon selected but swapon syscall not found" "$LINENO" 5 ;;
26709      check:no)
26710        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: swapon syscall not found; not building swapon" >&5
26711$as_echo "$as_me: WARNING: swapon syscall not found; not building swapon" >&2;}
26712        build_swapon=no ;;
26713      *)
26714                build_swapon=yes ;;
26715      esac
26716    fi
26717  fi
26718
26719
26720
26721
26722
26723  if test "x$build_swapon" != xno; then
26724    if test "x$enable_swapon" = xno; then
26725      build_swapon=no
26726    else
26727
26728
26729  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall swapoff" >&5
26730$as_echo_n "checking for syscall swapoff... " >&6; }
26731if ${ul_cv_syscall_swapoff+:} false; then :
26732  $as_echo_n "(cached) " >&6
26733else
26734  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26735/* end confdefs.h.  */
26736
26737#include <sys/syscall.h>
26738#include <unistd.h>
26739
26740int
26741main ()
26742{
26743int test = SYS_swapoff;
26744  ;
26745  return 0;
26746}
26747_ACEOF
26748if ac_fn_c_try_compile "$LINENO"; then :
26749  syscall=SYS_swapoff
26750else
26751              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26752/* end confdefs.h.  */
26753
26754#include <sys/syscall.h>
26755#include <unistd.h>
26756
26757int
26758main ()
26759{
26760int test = __NR_swapoff;
26761  ;
26762  return 0;
26763}
26764_ACEOF
26765if ac_fn_c_try_compile "$LINENO"; then :
26766  syscall=__NR_swapoff
26767else
26768
26769	  syscall=no
26770	  if test "x$linux_os" = xyes; then
26771	    case $host_cpu in
26772
26773	    esac
26774	  fi
26775
26776fi
26777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26778
26779
26780fi
26781rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26782
26783    ul_cv_syscall_swapoff=$syscall
26784
26785fi
26786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_swapoff" >&5
26787$as_echo "$ul_cv_syscall_swapoff" >&6; }
26788  case $ul_cv_syscall_swapoff in #(
26789  no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall swapoff." >&5
26790$as_echo "$as_me: WARNING: Unable to detect syscall swapoff." >&2;} ;;
26791  SYS_*) ;;
26792  *)
26793cat >>confdefs.h <<_ACEOF
26794#define SYS_swapoff $ul_cv_syscall_swapoff
26795_ACEOF
26796 ;;
26797  esac
26798
26799      case $enable_swapon:$ul_cv_syscall_swapoff in #(
26800      no:*)
26801        build_swapon=no ;;
26802      yes:no)
26803        as_fn_error $? "swapon selected but swapoff syscall not found" "$LINENO" 5 ;;
26804      check:no)
26805        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: swapoff syscall not found; not building swapon" >&5
26806$as_echo "$as_me: WARNING: swapoff syscall not found; not building swapon" >&2;}
26807        build_swapon=no ;;
26808      *)
26809                build_swapon=yes ;;
26810      esac
26811    fi
26812  fi
26813
26814
26815
26816
26817  if test "x$build_swapon" != xno; then
26818    case $enable_swapon:$build_libblkid in #(
26819    no:*)
26820      build_swapon=no ;;
26821    yes:yes)
26822      build_swapon=yes ;;
26823    yes:*)
26824      as_fn_error $? "libblkid is needed to build swapon" "$LINENO" 5;;
26825    check:yes)
26826      build_swapon=yes ;;
26827    check:*)
26828      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; not building swapon" >&5
26829$as_echo "$as_me: WARNING: libblkid disabled; not building swapon" >&2;}
26830      build_swapon=no ;;
26831    esac
26832  fi
26833
26834
26835
26836
26837  if test "x$build_swapon" != xno; then
26838    case $enable_swapon:$build_libmount in #(
26839    no:*)
26840      build_swapon=no ;;
26841    yes:yes)
26842      build_swapon=yes ;;
26843    yes:*)
26844      as_fn_error $? "libmount is needed to build swapon" "$LINENO" 5;;
26845    check:yes)
26846      build_swapon=yes ;;
26847    check:*)
26848      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building swapon" >&5
26849$as_echo "$as_me: WARNING: libmount disabled; not building swapon" >&2;}
26850      build_swapon=no ;;
26851    esac
26852  fi
26853
26854
26855
26856
26857  if test "x$build_swapon" != xno; then
26858    case $enable_swapon:$build_libsmartcols in #(
26859    no:*)
26860      build_swapon=no ;;
26861    yes:yes)
26862      build_swapon=yes ;;
26863    yes:*)
26864      as_fn_error $? "libsmartcols is needed to build swapon" "$LINENO" 5;;
26865    check:yes)
26866      build_swapon=yes ;;
26867    check:*)
26868      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building swapon" >&5
26869$as_echo "$as_me: WARNING: libsmartcols disabled; not building swapon" >&2;}
26870      build_swapon=no ;;
26871    esac
26872  fi
26873
26874 if test "x$build_swapon" = xyes; then
26875  BUILD_SWAPON_TRUE=
26876  BUILD_SWAPON_FALSE='#'
26877else
26878  BUILD_SWAPON_TRUE='#'
26879  BUILD_SWAPON_FALSE=
26880fi
26881
26882for ac_func in swapon
26883do :
26884  ac_fn_c_check_func "$LINENO" "swapon" "ac_cv_func_swapon"
26885if test "x$ac_cv_func_swapon" = xyes; then :
26886  cat >>confdefs.h <<_ACEOF
26887#define HAVE_SWAPON 1
26888_ACEOF
26889
26890fi
26891done
26892
26893for ac_func in swapoff
26894do :
26895  ac_fn_c_check_func "$LINENO" "swapoff" "ac_cv_func_swapoff"
26896if test "x$ac_cv_func_swapoff" = xyes; then :
26897  cat >>confdefs.h <<_ACEOF
26898#define HAVE_SWAPOFF 1
26899_ACEOF
26900
26901fi
26902done
26903
26904
26905
26906
26907
26908  if test "x$ul_default_estate" != x; then
26909  enable_lsblk=$ul_default_estate
26910  build_lsblk=yes
26911  if test "x$ul_default_estate" = xno; then
26912    build_lsblk=no
26913  fi
26914else
26915
26916  build_lsblk=yes
26917  enable_lsblk=check
26918fi
26919
26920
26921
26922  if test "x$build_lsblk" != xno; then
26923
26924    case $enable_lsblk:$linux_os in #(
26925    no:*)
26926      build_lsblk=no ;;
26927    yes:yes)
26928      build_lsblk=yes ;;
26929    yes:*)
26930      as_fn_error $? "lsblk selected for non-linux system" "$LINENO" 5;;
26931    check:yes)
26932      build_lsblk=yes ;;
26933    check:*)
26934      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building lsblk" >&5
26935$as_echo "$as_me: WARNING: non-linux system; not building lsblk" >&2;}
26936      build_lsblk=no ;;
26937    esac
26938  fi
26939
26940
26941
26942
26943  if test "x$build_lsblk" != xno; then
26944    case $enable_lsblk:$build_libblkid in #(
26945    no:*)
26946      build_lsblk=no ;;
26947    yes:yes)
26948      build_lsblk=yes ;;
26949    yes:*)
26950      as_fn_error $? "libblkid is needed to build lsblk" "$LINENO" 5;;
26951    check:yes)
26952      build_lsblk=yes ;;
26953    check:*)
26954      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; not building lsblk" >&5
26955$as_echo "$as_me: WARNING: libblkid disabled; not building lsblk" >&2;}
26956      build_lsblk=no ;;
26957    esac
26958  fi
26959
26960
26961
26962
26963  if test "x$build_lsblk" != xno; then
26964    case $enable_lsblk:$build_libmount in #(
26965    no:*)
26966      build_lsblk=no ;;
26967    yes:yes)
26968      build_lsblk=yes ;;
26969    yes:*)
26970      as_fn_error $? "libmount is needed to build lsblk" "$LINENO" 5;;
26971    check:yes)
26972      build_lsblk=yes ;;
26973    check:*)
26974      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building lsblk" >&5
26975$as_echo "$as_me: WARNING: libmount disabled; not building lsblk" >&2;}
26976      build_lsblk=no ;;
26977    esac
26978  fi
26979
26980
26981
26982
26983  if test "x$build_lsblk" != xno; then
26984    case $enable_lsblk:$build_libsmartcols in #(
26985    no:*)
26986      build_lsblk=no ;;
26987    yes:yes)
26988      build_lsblk=yes ;;
26989    yes:*)
26990      as_fn_error $? "libsmartcols is needed to build lsblk" "$LINENO" 5;;
26991    check:yes)
26992      build_lsblk=yes ;;
26993    check:*)
26994      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building lsblk" >&5
26995$as_echo "$as_me: WARNING: libsmartcols disabled; not building lsblk" >&2;}
26996      build_lsblk=no ;;
26997    esac
26998  fi
26999
27000 if test "x$build_lsblk" = xyes; then
27001  BUILD_LSBLK_TRUE=
27002  BUILD_LSBLK_FALSE='#'
27003else
27004  BUILD_LSBLK_TRUE='#'
27005  BUILD_LSBLK_FALSE=
27006fi
27007
27008
27009
27010
27011
27012  if test "x$ul_default_estate" != x; then
27013  enable_lscpu=$ul_default_estate
27014  build_lscpu=yes
27015  if test "x$ul_default_estate" = xno; then
27016    build_lscpu=no
27017  fi
27018else
27019
27020  build_lscpu=yes
27021  enable_lscpu=check
27022fi
27023
27024
27025
27026  if test "x$build_lscpu" != xno; then
27027
27028    case $enable_lscpu:$linux_os in #(
27029    no:*)
27030      build_lscpu=no ;;
27031    yes:yes)
27032      build_lscpu=yes ;;
27033    yes:*)
27034      as_fn_error $? "lscpu selected for non-linux system" "$LINENO" 5;;
27035    check:yes)
27036      build_lscpu=yes ;;
27037    check:*)
27038      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building lscpu" >&5
27039$as_echo "$as_me: WARNING: non-linux system; not building lscpu" >&2;}
27040      build_lscpu=no ;;
27041    esac
27042  fi
27043
27044
27045
27046
27047  if test "x$build_lscpu" != xno; then
27048    case $enable_lscpu:$build_libsmartcols in #(
27049    no:*)
27050      build_lscpu=no ;;
27051    yes:yes)
27052      build_lscpu=yes ;;
27053    yes:*)
27054      as_fn_error $? "libsmartcols is needed to build lscpu" "$LINENO" 5;;
27055    check:yes)
27056      build_lscpu=yes ;;
27057    check:*)
27058      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building lscpu" >&5
27059$as_echo "$as_me: WARNING: libsmartcols disabled; not building lscpu" >&2;}
27060      build_lscpu=no ;;
27061    esac
27062  fi
27063
27064
27065
27066
27067  if test "x$build_lscpu" != xno; then
27068
27069    ul_haveone_lscpu=no
27070
27071      if test "x$have_cpu_set_t" = xyes; then
27072        ul_haveone_lscpu=yes
27073      fi
27074
27075    case $enable_lscpu:$ul_haveone_lscpu in #(
27076    no:*)
27077      build_lscpu=no ;;
27078    yes:yes)
27079      build_lscpu=yes ;;
27080    yes:*)
27081      as_fn_error $? "lscpu selected, but required cpu_set_t type not available" "$LINENO" 5;;
27082    check:yes)
27083      build_lscpu=yes ;;
27084    check:*)
27085      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cpu_set_t type not found; not building lscpu" >&5
27086$as_echo "$as_me: WARNING: cpu_set_t type not found; not building lscpu" >&2;}
27087      build_lscpu=no ;;
27088    esac
27089  fi
27090
27091 if test "x$build_lscpu" = xyes; then
27092  BUILD_LSCPU_TRUE=
27093  BUILD_LSCPU_FALSE='#'
27094else
27095  BUILD_LSCPU_TRUE='#'
27096  BUILD_LSCPU_FALSE=
27097fi
27098
27099
27100
27101# Check whether --enable-lslogins was given.
27102if test "${enable_lslogins+set}" = set; then :
27103  enableval=$enable_lslogins;
27104else
27105
27106
27107  if test "x$ul_default_estate" != x; then
27108    enable_lslogins=$ul_default_estate
27109  else
27110    enable_lslogins=check
27111  fi
27112
27113
27114fi
27115
27116
27117
27118  if test "x$enable_lslogins" = xno; then
27119   build_lslogins=no
27120else
27121   build_lslogins=yes
27122fi
27123
27124
27125
27126
27127  if test "x$build_lslogins" != xno; then
27128    case $enable_lslogins:$build_libsmartcols in #(
27129    no:*)
27130      build_lslogins=no ;;
27131    yes:yes)
27132      build_lslogins=yes ;;
27133    yes:*)
27134      as_fn_error $? "libsmartcols is needed to build lslogins" "$LINENO" 5;;
27135    check:yes)
27136      build_lslogins=yes ;;
27137    check:*)
27138      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building lslogins" >&5
27139$as_echo "$as_me: WARNING: libsmartcols disabled; not building lslogins" >&2;}
27140      build_lslogins=no ;;
27141    esac
27142  fi
27143
27144
27145
27146
27147  if test "x$build_lslogins" != xno; then
27148
27149    ul_haveone_lslogins=no
27150
27151      if test "x$have_shadow_h" = xyes; then
27152        ul_haveone_lslogins=yes
27153      fi
27154
27155    case $enable_lslogins:$ul_haveone_lslogins in #(
27156    no:*)
27157      build_lslogins=no ;;
27158    yes:yes)
27159      build_lslogins=yes ;;
27160    yes:*)
27161      as_fn_error $? "lslogins selected, but required shadow.h header not available" "$LINENO" 5;;
27162    check:yes)
27163      build_lslogins=yes ;;
27164    check:*)
27165      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: shadow.h header not found; not building lslogins" >&5
27166$as_echo "$as_me: WARNING: shadow.h header not found; not building lslogins" >&2;}
27167      build_lslogins=no ;;
27168    esac
27169  fi
27170
27171
27172
27173
27174  if test "x$build_lslogins" != xno; then
27175
27176    ul_haveone_lslogins=no
27177
27178      if test "x$have_utmpx_h" = xyes; then
27179        ul_haveone_lslogins=yes
27180      fi
27181
27182    case $enable_lslogins:$ul_haveone_lslogins in #(
27183    no:*)
27184      build_lslogins=no ;;
27185    yes:yes)
27186      build_lslogins=yes ;;
27187    yes:*)
27188      as_fn_error $? "lslogins selected, but required utmpx.h header not available" "$LINENO" 5;;
27189    check:yes)
27190      build_lslogins=yes ;;
27191    check:*)
27192      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: utmpx.h header not found; not building lslogins" >&5
27193$as_echo "$as_me: WARNING: utmpx.h header not found; not building lslogins" >&2;}
27194      build_lslogins=no ;;
27195    esac
27196  fi
27197
27198
27199
27200
27201  if test "x$build_lslogins" != xno; then
27202
27203    ul_haveone_lslogins=no
27204
27205      if test "x$have_gnu_utmpx" = xyes; then
27206        ul_haveone_lslogins=yes
27207      fi
27208
27209    case $enable_lslogins:$ul_haveone_lslogins in #(
27210    no:*)
27211      build_lslogins=no ;;
27212    yes:yes)
27213      build_lslogins=yes ;;
27214    yes:*)
27215      as_fn_error $? "lslogins selected, but required GNU utmpx functions not available" "$LINENO" 5;;
27216    check:yes)
27217      build_lslogins=yes ;;
27218    check:*)
27219      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU utmpx functions not found; not building lslogins" >&5
27220$as_echo "$as_me: WARNING: GNU utmpx functions not found; not building lslogins" >&2;}
27221      build_lslogins=no ;;
27222    esac
27223  fi
27224
27225 if test "x$build_lslogins" = xyes; then
27226  BUILD_LSLOGINS_TRUE=
27227  BUILD_LSLOGINS_FALSE='#'
27228else
27229  BUILD_LSLOGINS_TRUE='#'
27230  BUILD_LSLOGINS_FALSE=
27231fi
27232
27233
27234
27235
27236
27237  if test "x$ul_default_estate" != x; then
27238  enable_chcpu=$ul_default_estate
27239  build_chcpu=yes
27240  if test "x$ul_default_estate" = xno; then
27241    build_chcpu=no
27242  fi
27243else
27244
27245  build_chcpu=yes
27246  enable_chcpu=check
27247fi
27248
27249
27250
27251  if test "x$build_chcpu" != xno; then
27252
27253    case $enable_chcpu:$linux_os in #(
27254    no:*)
27255      build_chcpu=no ;;
27256    yes:yes)
27257      build_chcpu=yes ;;
27258    yes:*)
27259      as_fn_error $? "chcpu selected for non-linux system" "$LINENO" 5;;
27260    check:yes)
27261      build_chcpu=yes ;;
27262    check:*)
27263      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building chcpu" >&5
27264$as_echo "$as_me: WARNING: non-linux system; not building chcpu" >&2;}
27265      build_chcpu=no ;;
27266    esac
27267  fi
27268
27269
27270
27271
27272  if test "x$build_chcpu" != xno; then
27273
27274    ul_haveone_chcpu=no
27275
27276      if test "x$have_cpu_set_t" = xyes; then
27277        ul_haveone_chcpu=yes
27278      fi
27279
27280    case $enable_chcpu:$ul_haveone_chcpu in #(
27281    no:*)
27282      build_chcpu=no ;;
27283    yes:yes)
27284      build_chcpu=yes ;;
27285    yes:*)
27286      as_fn_error $? "chcpu selected, but required cpu_set_t type not available" "$LINENO" 5;;
27287    check:yes)
27288      build_chcpu=yes ;;
27289    check:*)
27290      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cpu_set_t type not found; not building chcpu" >&5
27291$as_echo "$as_me: WARNING: cpu_set_t type not found; not building chcpu" >&2;}
27292      build_chcpu=no ;;
27293    esac
27294  fi
27295
27296 if test "x$build_chcpu" = xyes; then
27297  BUILD_CHCPU_TRUE=
27298  BUILD_CHCPU_FALSE='#'
27299else
27300  BUILD_CHCPU_TRUE='#'
27301  BUILD_CHCPU_FALSE=
27302fi
27303
27304
27305
27306# Check whether --enable-wdctl was given.
27307if test "${enable_wdctl+set}" = set; then :
27308  enableval=$enable_wdctl;
27309else
27310
27311
27312  if test "x$ul_default_estate" != x; then
27313    enable_wdctl=$ul_default_estate
27314  else
27315    enable_wdctl=check
27316  fi
27317
27318
27319fi
27320
27321
27322
27323  if test "x$enable_wdctl" = xno; then
27324   build_wdctl=no
27325else
27326   build_wdctl=yes
27327fi
27328
27329
27330
27331  if test "x$build_wdctl" != xno; then
27332
27333    case $enable_wdctl:$linux_os in #(
27334    no:*)
27335      build_wdctl=no ;;
27336    yes:yes)
27337      build_wdctl=yes ;;
27338    yes:*)
27339      as_fn_error $? "wdctl selected for non-linux system" "$LINENO" 5;;
27340    check:yes)
27341      build_wdctl=yes ;;
27342    check:*)
27343      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building wdctl" >&5
27344$as_echo "$as_me: WARNING: non-linux system; not building wdctl" >&2;}
27345      build_wdctl=no ;;
27346    esac
27347  fi
27348
27349
27350
27351
27352  if test "x$build_wdctl" != xno; then
27353    case $enable_wdctl:$build_libsmartcols in #(
27354    no:*)
27355      build_wdctl=no ;;
27356    yes:yes)
27357      build_wdctl=yes ;;
27358    yes:*)
27359      as_fn_error $? "libsmartcols is needed to build wdctl" "$LINENO" 5;;
27360    check:yes)
27361      build_wdctl=yes ;;
27362    check:*)
27363      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building wdctl" >&5
27364$as_echo "$as_me: WARNING: libsmartcols disabled; not building wdctl" >&2;}
27365      build_wdctl=no ;;
27366    esac
27367  fi
27368
27369
27370
27371
27372  if test "x$build_wdctl" != xno; then
27373
27374    ul_haveone_wdctl=no
27375
27376      if test "x$have_linux_watchdog_h" = xyes; then
27377        ul_haveone_wdctl=yes
27378      fi
27379
27380    case $enable_wdctl:$ul_haveone_wdctl in #(
27381    no:*)
27382      build_wdctl=no ;;
27383    yes:yes)
27384      build_wdctl=yes ;;
27385    yes:*)
27386      as_fn_error $? "wdctl selected, but required linux/watchdog.h header file not available" "$LINENO" 5;;
27387    check:yes)
27388      build_wdctl=yes ;;
27389    check:*)
27390      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: linux/watchdog.h header file not found; not building wdctl" >&5
27391$as_echo "$as_me: WARNING: linux/watchdog.h header file not found; not building wdctl" >&2;}
27392      build_wdctl=no ;;
27393    esac
27394  fi
27395
27396 if test "x$build_wdctl" = xyes; then
27397  BUILD_WDCTL_TRUE=
27398  BUILD_WDCTL_FALSE='#'
27399else
27400  BUILD_WDCTL_TRUE='#'
27401  BUILD_WDCTL_FALSE=
27402fi
27403
27404
27405
27406
27407
27408  if test "x$ul_default_estate" != x; then
27409  enable_swaplabel=$ul_default_estate
27410  build_swaplabel=yes
27411  if test "x$ul_default_estate" = xno; then
27412    build_swaplabel=no
27413  fi
27414else
27415
27416  build_swaplabel=yes
27417  enable_swaplabel=check
27418fi
27419
27420
27421
27422
27423  if test "x$build_swaplabel" != xno; then
27424    case $enable_swaplabel:$build_libblkid in #(
27425    no:*)
27426      build_swaplabel=no ;;
27427    yes:yes)
27428      build_swaplabel=yes ;;
27429    yes:*)
27430      as_fn_error $? "libblkid is needed to build swaplabel" "$LINENO" 5;;
27431    check:yes)
27432      build_swaplabel=yes ;;
27433    check:*)
27434      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; not building swaplabel" >&5
27435$as_echo "$as_me: WARNING: libblkid disabled; not building swaplabel" >&2;}
27436      build_swaplabel=no ;;
27437    esac
27438  fi
27439
27440 if test "x$build_swaplabel" = xyes; then
27441  BUILD_SWAPLABEL_TRUE=
27442  BUILD_SWAPLABEL_FALSE='#'
27443else
27444  BUILD_SWAPLABEL_TRUE='#'
27445  BUILD_SWAPLABEL_FALSE=
27446fi
27447
27448
27449
27450
27451
27452  if test "x$ul_default_estate" != x; then
27453  enable_mkswap=$ul_default_estate
27454  build_mkswap=yes
27455  if test "x$ul_default_estate" = xno; then
27456    build_mkswap=no
27457  fi
27458else
27459
27460  build_mkswap=yes
27461  enable_mkswap=yes
27462fi
27463
27464 if test "x$build_mkswap" = xyes; then
27465  BUILD_MKSWAP_TRUE=
27466  BUILD_MKSWAP_FALSE='#'
27467else
27468  BUILD_MKSWAP_TRUE='#'
27469  BUILD_MKSWAP_FALSE=
27470fi
27471
27472if test "x$build_mkswap" = xyes -a "x$build_libuuid" != xyes; then :
27473
27474  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: uuid library is not found; mkswap(8) will not generate UUIDs" >&5
27475$as_echo "$as_me: WARNING: uuid library is not found; mkswap(8) will not generate UUIDs" >&2;}
27476
27477fi
27478
27479
27480# Check whether --enable-cal was given.
27481if test "${enable_cal+set}" = set; then :
27482  enableval=$enable_cal;
27483else
27484
27485
27486  if test "x$ul_default_estate" != x; then
27487    enable_cal=$ul_default_estate
27488  else
27489    enable_cal=check
27490  fi
27491
27492
27493fi
27494
27495
27496
27497  if test "x$enable_cal" = xno; then
27498   build_cal=no
27499else
27500   build_cal=yes
27501fi
27502
27503 if test "x$build_cal" = xyes; then
27504  BUILD_CAL_TRUE=
27505  BUILD_CAL_FALSE='#'
27506else
27507  BUILD_CAL_TRUE='#'
27508  BUILD_CAL_FALSE=
27509fi
27510
27511
27512# Check whether --enable-logger was given.
27513if test "${enable_logger+set}" = set; then :
27514  enableval=$enable_logger;
27515else
27516
27517
27518  if test "x$ul_default_estate" != x; then
27519    enable_logger=$ul_default_estate
27520  else
27521    enable_logger=check
27522  fi
27523
27524
27525fi
27526
27527
27528
27529  if test "x$enable_logger" = xno; then
27530   build_logger=no
27531else
27532   build_logger=yes
27533fi
27534
27535 if test "x$build_logger" = xyes; then
27536  BUILD_LOGGER_TRUE=
27537  BUILD_LOGGER_FALSE='#'
27538else
27539  BUILD_LOGGER_TRUE='#'
27540  BUILD_LOGGER_FALSE=
27541fi
27542
27543
27544
27545
27546  if test "x$ul_default_estate" != x; then
27547  enable_look=$ul_default_estate
27548  build_look=yes
27549  if test "x$ul_default_estate" = xno; then
27550    build_look=no
27551  fi
27552else
27553
27554  build_look=yes
27555  enable_look=yes
27556fi
27557
27558 if test "x$build_look" = xyes; then
27559  BUILD_LOOK_TRUE=
27560  BUILD_LOOK_FALSE='#'
27561else
27562  BUILD_LOOK_TRUE='#'
27563  BUILD_LOOK_FALSE=
27564fi
27565
27566
27567
27568
27569  if test "x$ul_default_estate" != x; then
27570  enable_mcookie=$ul_default_estate
27571  build_mcookie=yes
27572  if test "x$ul_default_estate" = xno; then
27573    build_mcookie=no
27574  fi
27575else
27576
27577  build_mcookie=yes
27578  enable_mcookie=yes
27579fi
27580
27581 if test "x$build_mcookie" = xyes; then
27582  BUILD_MCOOKIE_TRUE=
27583  BUILD_MCOOKIE_FALSE='#'
27584else
27585  BUILD_MCOOKIE_TRUE='#'
27586  BUILD_MCOOKIE_FALSE=
27587fi
27588
27589
27590
27591
27592  if test "x$ul_default_estate" != x; then
27593  enable_namei=$ul_default_estate
27594  build_namei=yes
27595  if test "x$ul_default_estate" = xno; then
27596    build_namei=no
27597  fi
27598else
27599
27600  build_namei=yes
27601  enable_namei=yes
27602fi
27603
27604 if test "x$build_namei" = xyes; then
27605  BUILD_NAMEI_TRUE=
27606  BUILD_NAMEI_FALSE='#'
27607else
27608  BUILD_NAMEI_TRUE='#'
27609  BUILD_NAMEI_FALSE=
27610fi
27611
27612
27613matriplet="$($CC -print-multiarch 2>/dev/null || true)"
27614if test "x$matriplet" != "x"; then
27615
27616cat >>confdefs.h <<_ACEOF
27617#define MULTIARCHTRIPLET "$matriplet"
27618_ACEOF
27619
27620fi
27621
27622
27623  if test "x$ul_default_estate" != x; then
27624  enable_whereis=$ul_default_estate
27625  build_whereis=yes
27626  if test "x$ul_default_estate" = xno; then
27627    build_whereis=no
27628  fi
27629else
27630
27631  build_whereis=yes
27632  enable_whereis=yes
27633fi
27634
27635 if test "x$build_whereis" = xyes; then
27636  BUILD_WHEREIS_TRUE=
27637  BUILD_WHEREIS_FALSE='#'
27638else
27639  BUILD_WHEREIS_TRUE='#'
27640  BUILD_WHEREIS_FALSE=
27641fi
27642
27643
27644
27645
27646  if test "x$ul_default_estate" != x; then
27647  enable_getopt=$ul_default_estate
27648  build_getopt=yes
27649  if test "x$ul_default_estate" = xno; then
27650    build_getopt=no
27651  fi
27652else
27653
27654  build_getopt=yes
27655  enable_getopt=yes
27656fi
27657
27658 if test "x$build_getopt" = xyes; then
27659  BUILD_GETOPT_TRUE=
27660  BUILD_GETOPT_FALSE='#'
27661else
27662  BUILD_GETOPT_TRUE='#'
27663  BUILD_GETOPT_FALSE=
27664fi
27665
27666
27667
27668
27669
27670  if test "x$ul_default_estate" != x; then
27671  enable_blockdev=$ul_default_estate
27672  build_blockdev=yes
27673  if test "x$ul_default_estate" = xno; then
27674    build_blockdev=no
27675  fi
27676else
27677
27678  build_blockdev=yes
27679  enable_blockdev=check
27680fi
27681
27682
27683
27684  if test "x$build_blockdev" != xno; then
27685
27686    case $enable_blockdev:$linux_os in #(
27687    no:*)
27688      build_blockdev=no ;;
27689    yes:yes)
27690      build_blockdev=yes ;;
27691    yes:*)
27692      as_fn_error $? "blockdev selected for non-linux system" "$LINENO" 5;;
27693    check:yes)
27694      build_blockdev=yes ;;
27695    check:*)
27696      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building blockdev" >&5
27697$as_echo "$as_me: WARNING: non-linux system; not building blockdev" >&2;}
27698      build_blockdev=no ;;
27699    esac
27700  fi
27701
27702 if test "x$build_blockdev" = xyes; then
27703  BUILD_BLOCKDEV_TRUE=
27704  BUILD_BLOCKDEV_FALSE='#'
27705else
27706  BUILD_BLOCKDEV_TRUE='#'
27707  BUILD_BLOCKDEV_FALSE=
27708fi
27709
27710
27711
27712
27713
27714  if test "x$ul_default_estate" != x; then
27715  enable_prlimit=$ul_default_estate
27716  build_prlimit=yes
27717  if test "x$ul_default_estate" = xno; then
27718    build_prlimit=no
27719  fi
27720else
27721
27722  build_prlimit=yes
27723  enable_prlimit=check
27724fi
27725
27726
27727
27728  if test "x$build_prlimit" != xno; then
27729
27730    case $enable_prlimit:$linux_os in #(
27731    no:*)
27732      build_prlimit=no ;;
27733    yes:yes)
27734      build_prlimit=yes ;;
27735    yes:*)
27736      as_fn_error $? "prlimit selected for non-linux system" "$LINENO" 5;;
27737    check:yes)
27738      build_prlimit=yes ;;
27739    check:*)
27740      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building prlimit" >&5
27741$as_echo "$as_me: WARNING: non-linux system; not building prlimit" >&2;}
27742      build_prlimit=no ;;
27743    esac
27744  fi
27745
27746
27747
27748
27749  if test "x$build_prlimit" != xno; then
27750    case $enable_prlimit:$build_libsmartcols in #(
27751    no:*)
27752      build_prlimit=no ;;
27753    yes:yes)
27754      build_prlimit=yes ;;
27755    yes:*)
27756      as_fn_error $? "libsmartcols is needed to build prlimit" "$LINENO" 5;;
27757    check:yes)
27758      build_prlimit=yes ;;
27759    check:*)
27760      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building prlimit" >&5
27761$as_echo "$as_me: WARNING: libsmartcols disabled; not building prlimit" >&2;}
27762      build_prlimit=no ;;
27763    esac
27764  fi
27765
27766
27767
27768
27769
27770  if test "x$build_prlimit" != xno; then
27771    if test "x$enable_prlimit" = xno; then
27772      build_prlimit=no
27773    else
27774
27775
27776  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall prlimit64" >&5
27777$as_echo_n "checking for syscall prlimit64... " >&6; }
27778if ${ul_cv_syscall_prlimit64+:} false; then :
27779  $as_echo_n "(cached) " >&6
27780else
27781  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27782/* end confdefs.h.  */
27783
27784#include <sys/syscall.h>
27785#include <unistd.h>
27786
27787int
27788main ()
27789{
27790int test = SYS_prlimit64;
27791  ;
27792  return 0;
27793}
27794_ACEOF
27795if ac_fn_c_try_compile "$LINENO"; then :
27796  syscall=SYS_prlimit64
27797else
27798              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27799/* end confdefs.h.  */
27800
27801#include <sys/syscall.h>
27802#include <unistd.h>
27803
27804int
27805main ()
27806{
27807int test = __NR_prlimit64;
27808  ;
27809  return 0;
27810}
27811_ACEOF
27812if ac_fn_c_try_compile "$LINENO"; then :
27813  syscall=__NR_prlimit64
27814else
27815
27816	  syscall=no
27817	  if test "x$linux_os" = xyes; then
27818	    case $host_cpu in
27819
27820	    esac
27821	  fi
27822
27823fi
27824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27825
27826
27827fi
27828rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27829
27830    ul_cv_syscall_prlimit64=$syscall
27831
27832fi
27833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_prlimit64" >&5
27834$as_echo "$ul_cv_syscall_prlimit64" >&6; }
27835  case $ul_cv_syscall_prlimit64 in #(
27836  no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall prlimit64." >&5
27837$as_echo "$as_me: WARNING: Unable to detect syscall prlimit64." >&2;} ;;
27838  SYS_*) ;;
27839  *)
27840cat >>confdefs.h <<_ACEOF
27841#define SYS_prlimit64 $ul_cv_syscall_prlimit64
27842_ACEOF
27843 ;;
27844  esac
27845
27846      case $enable_prlimit:$ul_cv_syscall_prlimit64 in #(
27847      no:*)
27848        build_prlimit=no ;;
27849      yes:no)
27850        as_fn_error $? "prlimit selected but prlimit64 syscall not found" "$LINENO" 5 ;;
27851      check:no)
27852        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: prlimit64 syscall not found; not building prlimit" >&5
27853$as_echo "$as_me: WARNING: prlimit64 syscall not found; not building prlimit" >&2;}
27854        build_prlimit=no ;;
27855      *)
27856                build_prlimit=yes ;;
27857      esac
27858    fi
27859  fi
27860
27861 if test "x$build_prlimit" = xyes; then
27862  BUILD_PRLIMIT_TRUE=
27863  BUILD_PRLIMIT_FALSE='#'
27864else
27865  BUILD_PRLIMIT_TRUE='#'
27866  BUILD_PRLIMIT_FALSE=
27867fi
27868
27869if test "x$build_prlimit" = xyes; then :
27870
27871  for ac_func in prlimit
27872do :
27873  ac_fn_c_check_func "$LINENO" "prlimit" "ac_cv_func_prlimit"
27874if test "x$ac_cv_func_prlimit" = xyes; then :
27875  cat >>confdefs.h <<_ACEOF
27876#define HAVE_PRLIMIT 1
27877_ACEOF
27878
27879fi
27880done
27881
27882
27883fi
27884
27885
27886
27887
27888  if test "x$ul_default_estate" != x; then
27889  enable_lslocks=$ul_default_estate
27890  build_lslocks=yes
27891  if test "x$ul_default_estate" = xno; then
27892    build_lslocks=no
27893  fi
27894else
27895
27896  build_lslocks=yes
27897  enable_lslocks=check
27898fi
27899
27900
27901
27902  if test "x$build_lslocks" != xno; then
27903
27904    case $enable_lslocks:$linux_os in #(
27905    no:*)
27906      build_lslocks=no ;;
27907    yes:yes)
27908      build_lslocks=yes ;;
27909    yes:*)
27910      as_fn_error $? "lslocks selected for non-linux system" "$LINENO" 5;;
27911    check:yes)
27912      build_lslocks=yes ;;
27913    check:*)
27914      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building lslocks" >&5
27915$as_echo "$as_me: WARNING: non-linux system; not building lslocks" >&2;}
27916      build_lslocks=no ;;
27917    esac
27918  fi
27919
27920
27921
27922
27923  if test "x$build_lslocks" != xno; then
27924    case $enable_lslocks:$build_libmount in #(
27925    no:*)
27926      build_lslocks=no ;;
27927    yes:yes)
27928      build_lslocks=yes ;;
27929    yes:*)
27930      as_fn_error $? "libmount is needed to build lslocks" "$LINENO" 5;;
27931    check:yes)
27932      build_lslocks=yes ;;
27933    check:*)
27934      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building lslocks" >&5
27935$as_echo "$as_me: WARNING: libmount disabled; not building lslocks" >&2;}
27936      build_lslocks=no ;;
27937    esac
27938  fi
27939
27940
27941
27942
27943  if test "x$build_lslocks" != xno; then
27944    case $enable_lslocks:$build_libsmartcols in #(
27945    no:*)
27946      build_lslocks=no ;;
27947    yes:yes)
27948      build_lslocks=yes ;;
27949    yes:*)
27950      as_fn_error $? "libsmartcols is needed to build lslocks" "$LINENO" 5;;
27951    check:yes)
27952      build_lslocks=yes ;;
27953    check:*)
27954      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building lslocks" >&5
27955$as_echo "$as_me: WARNING: libsmartcols disabled; not building lslocks" >&2;}
27956      build_lslocks=no ;;
27957    esac
27958  fi
27959
27960 if test "x$build_lslocks" = xyes; then
27961  BUILD_LSLOCKS_TRUE=
27962  BUILD_LSLOCKS_FALSE='#'
27963else
27964  BUILD_LSLOCKS_TRUE='#'
27965  BUILD_LSLOCKS_FALSE=
27966fi
27967
27968
27969
27970# Check whether --enable-switch_root was given.
27971if test "${enable_switch_root+set}" = set; then :
27972  enableval=$enable_switch_root;
27973else
27974
27975
27976  if test "x$ul_default_estate" != x; then
27977    enable_switch_root=$ul_default_estate
27978  else
27979    enable_switch_root=check
27980  fi
27981
27982
27983fi
27984
27985
27986
27987  if test "x$enable_switch_root" = xno; then
27988   build_switch_root=no
27989else
27990   build_switch_root=yes
27991fi
27992
27993
27994
27995  if test "x$build_switch_root" != xno; then
27996
27997    case $enable_switch_root:$linux_os in #(
27998    no:*)
27999      build_switch_root=no ;;
28000    yes:yes)
28001      build_switch_root=yes ;;
28002    yes:*)
28003      as_fn_error $? "switch_root selected for non-linux system" "$LINENO" 5;;
28004    check:yes)
28005      build_switch_root=yes ;;
28006    check:*)
28007      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building switch_root" >&5
28008$as_echo "$as_me: WARNING: non-linux system; not building switch_root" >&2;}
28009      build_switch_root=no ;;
28010    esac
28011  fi
28012
28013
28014
28015
28016  if test "x$build_switch_root" != xno; then
28017
28018    ul_haveone_switch_root=no
28019
28020      if test "x$have_openat" = xyes; then
28021        ul_haveone_switch_root=yes
28022      fi
28023
28024    case $enable_switch_root:$ul_haveone_switch_root in #(
28025    no:*)
28026      build_switch_root=no ;;
28027    yes:yes)
28028      build_switch_root=yes ;;
28029    yes:*)
28030      as_fn_error $? "switch_root selected, but required openat function not available" "$LINENO" 5;;
28031    check:yes)
28032      build_switch_root=yes ;;
28033    check:*)
28034      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: openat function not found; not building switch_root" >&5
28035$as_echo "$as_me: WARNING: openat function not found; not building switch_root" >&2;}
28036      build_switch_root=no ;;
28037    esac
28038  fi
28039
28040
28041
28042
28043  if test "x$build_switch_root" != xno; then
28044
28045    ul_haveone_switch_root=no
28046
28047      if test "x$have_dirfd" = xyes; then
28048        ul_haveone_switch_root=yes
28049      fi
28050
28051      if test "x$have_ddfd" = xyes; then
28052        ul_haveone_switch_root=yes
28053      fi
28054
28055    case $enable_switch_root:$ul_haveone_switch_root in #(
28056    no:*)
28057      build_switch_root=no ;;
28058    yes:yes)
28059      build_switch_root=yes ;;
28060    yes:*)
28061      as_fn_error $? "switch_root selected, but required dirfd or ddfd function not available" "$LINENO" 5;;
28062    check:yes)
28063      build_switch_root=yes ;;
28064    check:*)
28065      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dirfd or ddfd function not found; not building switch_root" >&5
28066$as_echo "$as_me: WARNING: dirfd or ddfd function not found; not building switch_root" >&2;}
28067      build_switch_root=no ;;
28068    esac
28069  fi
28070
28071 if test "x$build_switch_root" = xyes; then
28072  BUILD_SWITCH_ROOT_TRUE=
28073  BUILD_SWITCH_ROOT_FALSE='#'
28074else
28075  BUILD_SWITCH_ROOT_TRUE='#'
28076  BUILD_SWITCH_ROOT_FALSE=
28077fi
28078
28079
28080
28081# Check whether --enable-pivot_root was given.
28082if test "${enable_pivot_root+set}" = set; then :
28083  enableval=$enable_pivot_root;
28084else
28085
28086
28087  if test "x$ul_default_estate" != x; then
28088    enable_pivot_root=$ul_default_estate
28089  else
28090    enable_pivot_root=check
28091  fi
28092
28093
28094fi
28095
28096
28097
28098  if test "x$enable_pivot_root" = xno; then
28099   build_pivot_root=no
28100else
28101   build_pivot_root=yes
28102fi
28103
28104
28105
28106  if test "x$build_pivot_root" != xno; then
28107
28108    case $enable_pivot_root:$linux_os in #(
28109    no:*)
28110      build_pivot_root=no ;;
28111    yes:yes)
28112      build_pivot_root=yes ;;
28113    yes:*)
28114      as_fn_error $? "pivot_root selected for non-linux system" "$LINENO" 5;;
28115    check:yes)
28116      build_pivot_root=yes ;;
28117    check:*)
28118      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building pivot_root" >&5
28119$as_echo "$as_me: WARNING: non-linux system; not building pivot_root" >&2;}
28120      build_pivot_root=no ;;
28121    esac
28122  fi
28123
28124
28125
28126
28127
28128  if test "x$build_pivot_root" != xno; then
28129    if test "x$enable_pivot_root" = xno; then
28130      build_pivot_root=no
28131    else
28132
28133
28134  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall pivot_root" >&5
28135$as_echo_n "checking for syscall pivot_root... " >&6; }
28136if ${ul_cv_syscall_pivot_root+:} false; then :
28137  $as_echo_n "(cached) " >&6
28138else
28139  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28140/* end confdefs.h.  */
28141
28142#include <sys/syscall.h>
28143#include <unistd.h>
28144
28145int
28146main ()
28147{
28148int test = SYS_pivot_root;
28149  ;
28150  return 0;
28151}
28152_ACEOF
28153if ac_fn_c_try_compile "$LINENO"; then :
28154  syscall=SYS_pivot_root
28155else
28156              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28157/* end confdefs.h.  */
28158
28159#include <sys/syscall.h>
28160#include <unistd.h>
28161
28162int
28163main ()
28164{
28165int test = __NR_pivot_root;
28166  ;
28167  return 0;
28168}
28169_ACEOF
28170if ac_fn_c_try_compile "$LINENO"; then :
28171  syscall=__NR_pivot_root
28172else
28173
28174	  syscall=no
28175	  if test "x$linux_os" = xyes; then
28176	    case $host_cpu in
28177
28178	    esac
28179	  fi
28180
28181fi
28182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28183
28184
28185fi
28186rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28187
28188    ul_cv_syscall_pivot_root=$syscall
28189
28190fi
28191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_pivot_root" >&5
28192$as_echo "$ul_cv_syscall_pivot_root" >&6; }
28193  case $ul_cv_syscall_pivot_root in #(
28194  no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall pivot_root." >&5
28195$as_echo "$as_me: WARNING: Unable to detect syscall pivot_root." >&2;} ;;
28196  SYS_*) ;;
28197  *)
28198cat >>confdefs.h <<_ACEOF
28199#define SYS_pivot_root $ul_cv_syscall_pivot_root
28200_ACEOF
28201 ;;
28202  esac
28203
28204      case $enable_pivot_root:$ul_cv_syscall_pivot_root in #(
28205      no:*)
28206        build_pivot_root=no ;;
28207      yes:no)
28208        as_fn_error $? "pivot_root selected but pivot_root syscall not found" "$LINENO" 5 ;;
28209      check:no)
28210        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pivot_root syscall not found; not building pivot_root" >&5
28211$as_echo "$as_me: WARNING: pivot_root syscall not found; not building pivot_root" >&2;}
28212        build_pivot_root=no ;;
28213      *)
28214                build_pivot_root=yes ;;
28215      esac
28216    fi
28217  fi
28218
28219 if test "x$build_pivot_root" = xyes; then
28220  BUILD_PIVOT_ROOT_TRUE=
28221  BUILD_PIVOT_ROOT_FALSE='#'
28222else
28223  BUILD_PIVOT_ROOT_TRUE='#'
28224  BUILD_PIVOT_ROOT_FALSE=
28225fi
28226
28227
28228
28229
28230
28231  if test "x$ul_default_estate" != x; then
28232  enable_flock=$ul_default_estate
28233  build_flock=yes
28234  if test "x$ul_default_estate" = xno; then
28235    build_flock=no
28236  fi
28237else
28238
28239  build_flock=yes
28240  enable_flock=check
28241fi
28242
28243
28244
28245
28246  if test "x$build_flock" != xno; then
28247
28248    ul_haveone_flock=no
28249
28250      if test "x$have_timer" = xyes; then
28251        ul_haveone_flock=yes
28252      fi
28253
28254    case $enable_flock:$ul_haveone_flock in #(
28255    no:*)
28256      build_flock=no ;;
28257    yes:yes)
28258      build_flock=yes ;;
28259    yes:*)
28260      as_fn_error $? "flock selected, but required timer_create/setitimer function not available" "$LINENO" 5;;
28261    check:yes)
28262      build_flock=yes ;;
28263    check:*)
28264      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: timer_create/setitimer function not found; not building flock" >&5
28265$as_echo "$as_me: WARNING: timer_create/setitimer function not found; not building flock" >&2;}
28266      build_flock=no ;;
28267    esac
28268  fi
28269
28270 if test "x$build_flock" = xyes; then
28271  BUILD_FLOCK_TRUE=
28272  BUILD_FLOCK_FALSE='#'
28273else
28274  BUILD_FLOCK_TRUE='#'
28275  BUILD_FLOCK_FALSE=
28276fi
28277
28278
28279
28280# Check whether --enable-lsmem was given.
28281if test "${enable_lsmem+set}" = set; then :
28282  enableval=$enable_lsmem;
28283else
28284
28285
28286  if test "x$ul_default_estate" != x; then
28287    enable_lsmem=$ul_default_estate
28288  else
28289    enable_lsmem=check
28290  fi
28291
28292
28293fi
28294
28295
28296
28297  if test "x$enable_lsmem" = xno; then
28298   build_lsmem=no
28299else
28300   build_lsmem=yes
28301fi
28302
28303
28304
28305  if test "x$build_lsmem" != xno; then
28306
28307    case $enable_lsmem:$linux_os in #(
28308    no:*)
28309      build_lsmem=no ;;
28310    yes:yes)
28311      build_lsmem=yes ;;
28312    yes:*)
28313      as_fn_error $? "lsmem selected for non-linux system" "$LINENO" 5;;
28314    check:yes)
28315      build_lsmem=yes ;;
28316    check:*)
28317      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building lsmem" >&5
28318$as_echo "$as_me: WARNING: non-linux system; not building lsmem" >&2;}
28319      build_lsmem=no ;;
28320    esac
28321  fi
28322
28323
28324
28325
28326  if test "x$build_lsmem" != xno; then
28327    case $enable_lsmem:$build_libsmartcols in #(
28328    no:*)
28329      build_lsmem=no ;;
28330    yes:yes)
28331      build_lsmem=yes ;;
28332    yes:*)
28333      as_fn_error $? "libsmartcols is needed to build lsmem" "$LINENO" 5;;
28334    check:yes)
28335      build_lsmem=yes ;;
28336    check:*)
28337      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building lsmem" >&5
28338$as_echo "$as_me: WARNING: libsmartcols disabled; not building lsmem" >&2;}
28339      build_lsmem=no ;;
28340    esac
28341  fi
28342
28343 if test "x$build_lsmem" = xyes; then
28344  BUILD_LSMEM_TRUE=
28345  BUILD_LSMEM_FALSE='#'
28346else
28347  BUILD_LSMEM_TRUE='#'
28348  BUILD_LSMEM_FALSE=
28349fi
28350
28351
28352
28353# Check whether --enable-chmem was given.
28354if test "${enable_chmem+set}" = set; then :
28355  enableval=$enable_chmem;
28356else
28357
28358
28359  if test "x$ul_default_estate" != x; then
28360    enable_chmem=$ul_default_estate
28361  else
28362    enable_chmem=check
28363  fi
28364
28365
28366fi
28367
28368
28369
28370  if test "x$enable_chmem" = xno; then
28371   build_chmem=no
28372else
28373   build_chmem=yes
28374fi
28375
28376
28377
28378  if test "x$build_chmem" != xno; then
28379
28380    case $enable_chmem:$linux_os in #(
28381    no:*)
28382      build_chmem=no ;;
28383    yes:yes)
28384      build_chmem=yes ;;
28385    yes:*)
28386      as_fn_error $? "chmem selected for non-linux system" "$LINENO" 5;;
28387    check:yes)
28388      build_chmem=yes ;;
28389    check:*)
28390      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building chmem" >&5
28391$as_echo "$as_me: WARNING: non-linux system; not building chmem" >&2;}
28392      build_chmem=no ;;
28393    esac
28394  fi
28395
28396 if test "x$build_chmem" = xyes; then
28397  BUILD_CHMEM_TRUE=
28398  BUILD_CHMEM_FALSE='#'
28399else
28400  BUILD_CHMEM_TRUE='#'
28401  BUILD_CHMEM_FALSE=
28402fi
28403
28404
28405
28406
28407  if test "x$ul_default_estate" != x; then
28408  enable_ipcmk=$ul_default_estate
28409  build_ipcmk=yes
28410  if test "x$ul_default_estate" = xno; then
28411    build_ipcmk=no
28412  fi
28413else
28414
28415  build_ipcmk=yes
28416  enable_ipcmk=yes
28417fi
28418
28419 if test "x$build_ipcmk" = xyes; then
28420  BUILD_IPCMK_TRUE=
28421  BUILD_IPCMK_FALSE='#'
28422else
28423  BUILD_IPCMK_TRUE='#'
28424  BUILD_IPCMK_FALSE=
28425fi
28426
28427
28428
28429# Check whether --enable-ipcrm was given.
28430if test "${enable_ipcrm+set}" = set; then :
28431  enableval=$enable_ipcrm;
28432else
28433
28434
28435  if test "x$ul_default_estate" != x; then
28436    enable_ipcrm=$ul_default_estate
28437  else
28438    enable_ipcrm=yes
28439  fi
28440
28441
28442fi
28443
28444
28445
28446  if test "x$enable_ipcrm" = xno; then
28447   build_ipcrm=no
28448else
28449   build_ipcrm=yes
28450fi
28451
28452 if test "x$build_ipcrm" = xyes; then
28453  BUILD_IPCRM_TRUE=
28454  BUILD_IPCRM_FALSE='#'
28455else
28456  BUILD_IPCRM_TRUE='#'
28457  BUILD_IPCRM_FALSE=
28458fi
28459
28460
28461# Check whether --enable-ipcs was given.
28462if test "${enable_ipcs+set}" = set; then :
28463  enableval=$enable_ipcs;
28464else
28465
28466
28467  if test "x$ul_default_estate" != x; then
28468    enable_ipcs=$ul_default_estate
28469  else
28470    enable_ipcs=yes
28471  fi
28472
28473
28474fi
28475
28476
28477
28478  if test "x$enable_ipcs" = xno; then
28479   build_ipcs=no
28480else
28481   build_ipcs=yes
28482fi
28483
28484 if test "x$build_ipcs" = xyes; then
28485  BUILD_IPCS_TRUE=
28486  BUILD_IPCS_FALSE='#'
28487else
28488  BUILD_IPCS_TRUE='#'
28489  BUILD_IPCS_FALSE=
28490fi
28491
28492
28493
28494# Check whether --enable-irqtop was given.
28495if test "${enable_irqtop+set}" = set; then :
28496  enableval=$enable_irqtop;
28497else
28498
28499
28500  if test "x$ul_default_estate" != x; then
28501    enable_irqtop=$ul_default_estate
28502  else
28503    enable_irqtop=check
28504  fi
28505
28506
28507fi
28508
28509
28510
28511  if test "x$enable_irqtop" = xno; then
28512   build_irqtop=no
28513else
28514   build_irqtop=yes
28515fi
28516
28517
28518
28519  if test "x$build_irqtop" != xno; then
28520
28521    case $enable_irqtop:$linux_os in #(
28522    no:*)
28523      build_irqtop=no ;;
28524    yes:yes)
28525      build_irqtop=yes ;;
28526    yes:*)
28527      as_fn_error $? "irqtop selected for non-linux system" "$LINENO" 5;;
28528    check:yes)
28529      build_irqtop=yes ;;
28530    check:*)
28531      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building irqtop" >&5
28532$as_echo "$as_me: WARNING: non-linux system; not building irqtop" >&2;}
28533      build_irqtop=no ;;
28534    esac
28535  fi
28536
28537
28538
28539
28540  if test "x$build_irqtop" != xno; then
28541    case $enable_irqtop:$build_libsmartcols in #(
28542    no:*)
28543      build_irqtop=no ;;
28544    yes:yes)
28545      build_irqtop=yes ;;
28546    yes:*)
28547      as_fn_error $? "libsmartcols is needed to build irqtop" "$LINENO" 5;;
28548    check:yes)
28549      build_irqtop=yes ;;
28550    check:*)
28551      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building irqtop" >&5
28552$as_echo "$as_me: WARNING: libsmartcols disabled; not building irqtop" >&2;}
28553      build_irqtop=no ;;
28554    esac
28555  fi
28556
28557
28558
28559
28560  if test "x$build_irqtop" != xno; then
28561
28562    ul_haveone_irqtop=no
28563
28564      if test "x$have_open_memstream" = xyes; then
28565        ul_haveone_irqtop=yes
28566      fi
28567
28568    case $enable_irqtop:$ul_haveone_irqtop in #(
28569    no:*)
28570      build_irqtop=no ;;
28571    yes:yes)
28572      build_irqtop=yes ;;
28573    yes:*)
28574      as_fn_error $? "irqtop selected, but required open_memstream function not available" "$LINENO" 5;;
28575    check:yes)
28576      build_irqtop=yes ;;
28577    check:*)
28578      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: open_memstream function not found; not building irqtop" >&5
28579$as_echo "$as_me: WARNING: open_memstream function not found; not building irqtop" >&2;}
28580      build_irqtop=no ;;
28581    esac
28582  fi
28583
28584
28585
28586
28587  if test "x$build_irqtop" != xno; then
28588
28589    ul_haveone_irqtop=no
28590
28591      if test "x$have_ncursesw" = xyes; then
28592        ul_haveone_irqtop=yes
28593      fi
28594
28595      if test "x$have_slang" = xyes; then
28596        ul_haveone_irqtop=yes
28597      fi
28598
28599      if test "x$have_ncurses" = xyes; then
28600        ul_haveone_irqtop=yes
28601      fi
28602
28603    case $enable_irqtop:$ul_haveone_irqtop in #(
28604    no:*)
28605      build_irqtop=no ;;
28606    yes:yes)
28607      build_irqtop=yes ;;
28608    yes:*)
28609      as_fn_error $? "irqtop selected, but required ncursesw, ncurses or slang library not available" "$LINENO" 5;;
28610    check:yes)
28611      build_irqtop=yes ;;
28612    check:*)
28613      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncursesw, ncurses or slang library not found; not building irqtop" >&5
28614$as_echo "$as_me: WARNING: ncursesw, ncurses or slang library not found; not building irqtop" >&2;}
28615      build_irqtop=no ;;
28616    esac
28617  fi
28618
28619 if test "x$build_irqtop" = xyes; then
28620  BUILD_IRQTOP_TRUE=
28621  BUILD_IRQTOP_FALSE='#'
28622else
28623  BUILD_IRQTOP_TRUE='#'
28624  BUILD_IRQTOP_FALSE=
28625fi
28626
28627
28628# Check whether --enable-lsirq was given.
28629if test "${enable_lsirq+set}" = set; then :
28630  enableval=$enable_lsirq;
28631else
28632
28633
28634  if test "x$ul_default_estate" != x; then
28635    enable_lsirq=$ul_default_estate
28636  else
28637    enable_lsirq=check
28638  fi
28639
28640
28641fi
28642
28643
28644
28645  if test "x$enable_lsirq" = xno; then
28646   build_lsirq=no
28647else
28648   build_lsirq=yes
28649fi
28650
28651
28652
28653  if test "x$build_lsirq" != xno; then
28654
28655    case $enable_lsirq:$linux_os in #(
28656    no:*)
28657      build_lsirq=no ;;
28658    yes:yes)
28659      build_lsirq=yes ;;
28660    yes:*)
28661      as_fn_error $? "lsirq selected for non-linux system" "$LINENO" 5;;
28662    check:yes)
28663      build_lsirq=yes ;;
28664    check:*)
28665      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building lsirq" >&5
28666$as_echo "$as_me: WARNING: non-linux system; not building lsirq" >&2;}
28667      build_lsirq=no ;;
28668    esac
28669  fi
28670
28671
28672
28673
28674  if test "x$build_lsirq" != xno; then
28675    case $enable_lsirq:$build_libsmartcols in #(
28676    no:*)
28677      build_lsirq=no ;;
28678    yes:yes)
28679      build_lsirq=yes ;;
28680    yes:*)
28681      as_fn_error $? "libsmartcols is needed to build lsirq" "$LINENO" 5;;
28682    check:yes)
28683      build_lsirq=yes ;;
28684    check:*)
28685      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building lsirq" >&5
28686$as_echo "$as_me: WARNING: libsmartcols disabled; not building lsirq" >&2;}
28687      build_lsirq=no ;;
28688    esac
28689  fi
28690
28691 if test "x$build_lsirq" = xyes; then
28692  BUILD_LSIRQ_TRUE=
28693  BUILD_LSIRQ_FALSE='#'
28694else
28695  BUILD_LSIRQ_TRUE='#'
28696  BUILD_LSIRQ_FALSE=
28697fi
28698
28699
28700
28701
28702
28703  if test "x$ul_default_estate" != x; then
28704  enable_choom=$ul_default_estate
28705  build_choom=yes
28706  if test "x$ul_default_estate" = xno; then
28707    build_choom=no
28708  fi
28709else
28710
28711  build_choom=yes
28712  enable_choom=check
28713fi
28714
28715
28716
28717  if test "x$build_choom" != xno; then
28718
28719    case $enable_choom:$linux_os in #(
28720    no:*)
28721      build_choom=no ;;
28722    yes:yes)
28723      build_choom=yes ;;
28724    yes:*)
28725      as_fn_error $? "choom selected for non-linux system" "$LINENO" 5;;
28726    check:yes)
28727      build_choom=yes ;;
28728    check:*)
28729      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building choom" >&5
28730$as_echo "$as_me: WARNING: non-linux system; not building choom" >&2;}
28731      build_choom=no ;;
28732    esac
28733  fi
28734
28735 if test "x$build_choom" = xyes; then
28736  BUILD_CHOOM_TRUE=
28737  BUILD_CHOOM_FALSE='#'
28738else
28739  BUILD_CHOOM_TRUE='#'
28740  BUILD_CHOOM_FALSE=
28741fi
28742
28743
28744
28745
28746  if test "x$ul_default_estate" != x; then
28747  enable_lsipc=$ul_default_estate
28748  build_lsipc=yes
28749  if test "x$ul_default_estate" = xno; then
28750    build_lsipc=no
28751  fi
28752else
28753
28754  build_lsipc=yes
28755  enable_lsipc=check
28756fi
28757
28758
28759
28760  if test "x$build_lsipc" != xno; then
28761
28762    case $enable_lsipc:$linux_os in #(
28763    no:*)
28764      build_lsipc=no ;;
28765    yes:yes)
28766      build_lsipc=yes ;;
28767    yes:*)
28768      as_fn_error $? "lsipc selected for non-linux system" "$LINENO" 5;;
28769    check:yes)
28770      build_lsipc=yes ;;
28771    check:*)
28772      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building lsipc" >&5
28773$as_echo "$as_me: WARNING: non-linux system; not building lsipc" >&2;}
28774      build_lsipc=no ;;
28775    esac
28776  fi
28777
28778
28779
28780
28781  if test "x$build_lsipc" != xno; then
28782    case $enable_lsipc:$build_libsmartcols in #(
28783    no:*)
28784      build_lsipc=no ;;
28785    yes:yes)
28786      build_lsipc=yes ;;
28787    yes:*)
28788      as_fn_error $? "libsmartcols is needed to build lsipc" "$LINENO" 5;;
28789    check:yes)
28790      build_lsipc=yes ;;
28791    check:*)
28792      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building lsipc" >&5
28793$as_echo "$as_me: WARNING: libsmartcols disabled; not building lsipc" >&2;}
28794      build_lsipc=no ;;
28795    esac
28796  fi
28797
28798 if test "x$build_lsipc" = xyes; then
28799  BUILD_LSIPC_TRUE=
28800  BUILD_LSIPC_FALSE='#'
28801else
28802  BUILD_LSIPC_TRUE='#'
28803  BUILD_LSIPC_FALSE=
28804fi
28805
28806
28807
28808
28809  if test "x$ul_default_estate" != x; then
28810  enable_lsns=$ul_default_estate
28811  build_lsns=yes
28812  if test "x$ul_default_estate" = xno; then
28813    build_lsns=no
28814  fi
28815else
28816
28817  build_lsns=yes
28818  enable_lsns=check
28819fi
28820
28821
28822
28823  if test "x$build_lsns" != xno; then
28824
28825    case $enable_lsns:$linux_os in #(
28826    no:*)
28827      build_lsns=no ;;
28828    yes:yes)
28829      build_lsns=yes ;;
28830    yes:*)
28831      as_fn_error $? "lsns selected for non-linux system" "$LINENO" 5;;
28832    check:yes)
28833      build_lsns=yes ;;
28834    check:*)
28835      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building lsns" >&5
28836$as_echo "$as_me: WARNING: non-linux system; not building lsns" >&2;}
28837      build_lsns=no ;;
28838    esac
28839  fi
28840
28841
28842
28843
28844  if test "x$build_lsns" != xno; then
28845    case $enable_lsns:$build_libsmartcols in #(
28846    no:*)
28847      build_lsns=no ;;
28848    yes:yes)
28849      build_lsns=yes ;;
28850    yes:*)
28851      as_fn_error $? "libsmartcols is needed to build lsns" "$LINENO" 5;;
28852    check:yes)
28853      build_lsns=yes ;;
28854    check:*)
28855      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building lsns" >&5
28856$as_echo "$as_me: WARNING: libsmartcols disabled; not building lsns" >&2;}
28857      build_lsns=no ;;
28858    esac
28859  fi
28860
28861
28862
28863
28864  if test "x$build_lsns" != xno; then
28865    case $enable_lsns:$build_libmount in #(
28866    no:*)
28867      build_lsns=no ;;
28868    yes:yes)
28869      build_lsns=yes ;;
28870    yes:*)
28871      as_fn_error $? "libmount is needed to build lsns" "$LINENO" 5;;
28872    check:yes)
28873      build_lsns=yes ;;
28874    check:*)
28875      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building lsns" >&5
28876$as_echo "$as_me: WARNING: libmount disabled; not building lsns" >&2;}
28877      build_lsns=no ;;
28878    esac
28879  fi
28880
28881 if test "x$build_lsns" = xyes; then
28882  BUILD_LSNS_TRUE=
28883  BUILD_LSNS_FALSE='#'
28884else
28885  BUILD_LSNS_TRUE='#'
28886  BUILD_LSNS_FALSE=
28887fi
28888
28889
28890
28891
28892  if test "x$ul_default_estate" != x; then
28893  enable_renice=$ul_default_estate
28894  build_renice=yes
28895  if test "x$ul_default_estate" = xno; then
28896    build_renice=no
28897  fi
28898else
28899
28900  build_renice=yes
28901  enable_renice=yes
28902fi
28903
28904 if test "x$build_renice" = xyes; then
28905  BUILD_RENICE_TRUE=
28906  BUILD_RENICE_FALSE='#'
28907else
28908  BUILD_RENICE_TRUE='#'
28909  BUILD_RENICE_FALSE=
28910fi
28911
28912
28913
28914# Check whether --enable-rfkill was given.
28915if test "${enable_rfkill+set}" = set; then :
28916  enableval=$enable_rfkill;
28917else
28918
28919
28920  if test "x$ul_default_estate" != x; then
28921    enable_rfkill=$ul_default_estate
28922  else
28923    enable_rfkill=check
28924  fi
28925
28926
28927fi
28928
28929
28930
28931  if test "x$enable_rfkill" = xno; then
28932   build_rfkill=no
28933else
28934   build_rfkill=yes
28935fi
28936
28937
28938
28939  if test "x$build_rfkill" != xno; then
28940
28941    case $enable_rfkill:$linux_os in #(
28942    no:*)
28943      build_rfkill=no ;;
28944    yes:yes)
28945      build_rfkill=yes ;;
28946    yes:*)
28947      as_fn_error $? "rfkill selected for non-linux system" "$LINENO" 5;;
28948    check:yes)
28949      build_rfkill=yes ;;
28950    check:*)
28951      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building rfkill" >&5
28952$as_echo "$as_me: WARNING: non-linux system; not building rfkill" >&2;}
28953      build_rfkill=no ;;
28954    esac
28955  fi
28956
28957
28958
28959
28960  if test "x$build_rfkill" != xno; then
28961    case $enable_rfkill:$build_libsmartcols in #(
28962    no:*)
28963      build_rfkill=no ;;
28964    yes:yes)
28965      build_rfkill=yes ;;
28966    yes:*)
28967      as_fn_error $? "libsmartcols is needed to build rfkill" "$LINENO" 5;;
28968    check:yes)
28969      build_rfkill=yes ;;
28970    check:*)
28971      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building rfkill" >&5
28972$as_echo "$as_me: WARNING: libsmartcols disabled; not building rfkill" >&2;}
28973      build_rfkill=no ;;
28974    esac
28975  fi
28976
28977 if test "x$build_rfkill" = xyes; then
28978  BUILD_RFKILL_TRUE=
28979  BUILD_RFKILL_FALSE='#'
28980else
28981  BUILD_RFKILL_TRUE='#'
28982  BUILD_RFKILL_FALSE=
28983fi
28984
28985
28986
28987
28988
28989  if test "x$ul_default_estate" != x; then
28990  enable_setsid=$ul_default_estate
28991  build_setsid=yes
28992  if test "x$ul_default_estate" = xno; then
28993    build_setsid=no
28994  fi
28995else
28996
28997  build_setsid=yes
28998  enable_setsid=yes
28999fi
29000
29001 if test "x$build_setsid" = xyes; then
29002  BUILD_SETSID_TRUE=
29003  BUILD_SETSID_FALSE='#'
29004else
29005  BUILD_SETSID_TRUE='#'
29006  BUILD_SETSID_FALSE=
29007fi
29008
29009
29010
29011
29012  if test "x$ul_default_estate" != x; then
29013  enable_readprofile=$ul_default_estate
29014  build_readprofile=yes
29015  if test "x$ul_default_estate" = xno; then
29016    build_readprofile=no
29017  fi
29018else
29019
29020  build_readprofile=yes
29021  enable_readprofile=check
29022fi
29023
29024
29025
29026  if test "x$build_readprofile" != xno; then
29027
29028    case $enable_readprofile:$linux_os in #(
29029    no:*)
29030      build_readprofile=no ;;
29031    yes:yes)
29032      build_readprofile=yes ;;
29033    yes:*)
29034      as_fn_error $? "readprofile selected for non-linux system" "$LINENO" 5;;
29035    check:yes)
29036      build_readprofile=yes ;;
29037    check:*)
29038      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building readprofile" >&5
29039$as_echo "$as_me: WARNING: non-linux system; not building readprofile" >&2;}
29040      build_readprofile=no ;;
29041    esac
29042  fi
29043
29044 if test "x$build_readprofile" = xyes; then
29045  BUILD_READPROFILE_TRUE=
29046  BUILD_READPROFILE_FALSE='#'
29047else
29048  BUILD_READPROFILE_TRUE='#'
29049  BUILD_READPROFILE_FALSE=
29050fi
29051
29052
29053
29054
29055  if test "x$ul_default_estate" != x; then
29056  enable_dmesg=$ul_default_estate
29057  build_dmesg=yes
29058  if test "x$ul_default_estate" = xno; then
29059    build_dmesg=no
29060  fi
29061else
29062
29063  build_dmesg=yes
29064  enable_dmesg=check
29065fi
29066
29067
29068
29069  if test "x$build_dmesg" != xno; then
29070
29071    case $enable_dmesg:$linux_os in #(
29072    no:*)
29073      build_dmesg=no ;;
29074    yes:yes)
29075      build_dmesg=yes ;;
29076    yes:*)
29077      as_fn_error $? "dmesg selected for non-linux system" "$LINENO" 5;;
29078    check:yes)
29079      build_dmesg=yes ;;
29080    check:*)
29081      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building dmesg" >&5
29082$as_echo "$as_me: WARNING: non-linux system; not building dmesg" >&2;}
29083      build_dmesg=no ;;
29084    esac
29085  fi
29086
29087 if test "x$build_dmesg" = xyes; then
29088  BUILD_DMESG_TRUE=
29089  BUILD_DMESG_FALSE='#'
29090else
29091  BUILD_DMESG_TRUE='#'
29092  BUILD_DMESG_FALSE=
29093fi
29094
29095
29096
29097
29098  if test "x$ul_default_estate" != x; then
29099  enable_ctrlaltdel=$ul_default_estate
29100  build_ctrlaltdel=yes
29101  if test "x$ul_default_estate" = xno; then
29102    build_ctrlaltdel=no
29103  fi
29104else
29105
29106  build_ctrlaltdel=yes
29107  enable_ctrlaltdel=check
29108fi
29109
29110
29111
29112  if test "x$build_ctrlaltdel" != xno; then
29113
29114    case $enable_ctrlaltdel:$linux_os in #(
29115    no:*)
29116      build_ctrlaltdel=no ;;
29117    yes:yes)
29118      build_ctrlaltdel=yes ;;
29119    yes:*)
29120      as_fn_error $? "ctrlaltdel selected for non-linux system" "$LINENO" 5;;
29121    check:yes)
29122      build_ctrlaltdel=yes ;;
29123    check:*)
29124      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building ctrlaltdel" >&5
29125$as_echo "$as_me: WARNING: non-linux system; not building ctrlaltdel" >&2;}
29126      build_ctrlaltdel=no ;;
29127    esac
29128  fi
29129
29130
29131
29132
29133  if test "x$build_ctrlaltdel" != xno; then
29134
29135    ul_haveone_ctrlaltdel=no
29136
29137      if test "x$have_reboot" = xyes; then
29138        ul_haveone_ctrlaltdel=yes
29139      fi
29140
29141    case $enable_ctrlaltdel:$ul_haveone_ctrlaltdel in #(
29142    no:*)
29143      build_ctrlaltdel=no ;;
29144    yes:yes)
29145      build_ctrlaltdel=yes ;;
29146    yes:*)
29147      as_fn_error $? "ctrlaltdel selected, but required reboot function not available" "$LINENO" 5;;
29148    check:yes)
29149      build_ctrlaltdel=yes ;;
29150    check:*)
29151      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: reboot function not found; not building ctrlaltdel" >&5
29152$as_echo "$as_me: WARNING: reboot function not found; not building ctrlaltdel" >&2;}
29153      build_ctrlaltdel=no ;;
29154    esac
29155  fi
29156
29157 if test "x$build_ctrlaltdel" = xyes; then
29158  BUILD_CTRLALTDEL_TRUE=
29159  BUILD_CTRLALTDEL_FALSE='#'
29160else
29161  BUILD_CTRLALTDEL_TRUE='#'
29162  BUILD_CTRLALTDEL_FALSE=
29163fi
29164
29165
29166
29167
29168  if test "x$ul_default_estate" != x; then
29169  enable_fincore=$ul_default_estate
29170  build_fincore=yes
29171  if test "x$ul_default_estate" = xno; then
29172    build_fincore=no
29173  fi
29174else
29175
29176  build_fincore=yes
29177  enable_fincore=check
29178fi
29179
29180
29181
29182  if test "x$build_fincore" != xno; then
29183
29184    case $enable_fincore:$linux_os in #(
29185    no:*)
29186      build_fincore=no ;;
29187    yes:yes)
29188      build_fincore=yes ;;
29189    yes:*)
29190      as_fn_error $? "fincore selected for non-linux system" "$LINENO" 5;;
29191    check:yes)
29192      build_fincore=yes ;;
29193    check:*)
29194      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building fincore" >&5
29195$as_echo "$as_me: WARNING: non-linux system; not building fincore" >&2;}
29196      build_fincore=no ;;
29197    esac
29198  fi
29199
29200
29201
29202
29203  if test "x$build_fincore" != xno; then
29204    case $enable_fincore:$build_libsmartcols in #(
29205    no:*)
29206      build_fincore=no ;;
29207    yes:yes)
29208      build_fincore=yes ;;
29209    yes:*)
29210      as_fn_error $? "libsmartcols is needed to build fincore" "$LINENO" 5;;
29211    check:yes)
29212      build_fincore=yes ;;
29213    check:*)
29214      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building fincore" >&5
29215$as_echo "$as_me: WARNING: libsmartcols disabled; not building fincore" >&2;}
29216      build_fincore=no ;;
29217    esac
29218  fi
29219
29220 if test "x$build_fincore" = xyes; then
29221  BUILD_FINCORE_TRUE=
29222  BUILD_FINCORE_FALSE='#'
29223else
29224  BUILD_FINCORE_TRUE='#'
29225  BUILD_FINCORE_FALSE=
29226fi
29227
29228
29229
29230
29231  if test "x$ul_default_estate" != x; then
29232  enable_fsfreeze=$ul_default_estate
29233  build_fsfreeze=yes
29234  if test "x$ul_default_estate" = xno; then
29235    build_fsfreeze=no
29236  fi
29237else
29238
29239  build_fsfreeze=yes
29240  enable_fsfreeze=check
29241fi
29242
29243
29244
29245  if test "x$build_fsfreeze" != xno; then
29246
29247    case $enable_fsfreeze:$linux_os in #(
29248    no:*)
29249      build_fsfreeze=no ;;
29250    yes:yes)
29251      build_fsfreeze=yes ;;
29252    yes:*)
29253      as_fn_error $? "fsfreeze selected for non-linux system" "$LINENO" 5;;
29254    check:yes)
29255      build_fsfreeze=yes ;;
29256    check:*)
29257      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building fsfreeze" >&5
29258$as_echo "$as_me: WARNING: non-linux system; not building fsfreeze" >&2;}
29259      build_fsfreeze=no ;;
29260    esac
29261  fi
29262
29263 if test "x$build_fsfreeze" = xyes; then
29264  BUILD_FSFREEZE_TRUE=
29265  BUILD_FSFREEZE_FALSE='#'
29266else
29267  BUILD_FSFREEZE_TRUE='#'
29268  BUILD_FSFREEZE_FALSE=
29269fi
29270
29271
29272
29273
29274  if test "x$ul_default_estate" != x; then
29275  enable_blkdiscard=$ul_default_estate
29276  build_blkdiscard=yes
29277  if test "x$ul_default_estate" = xno; then
29278    build_blkdiscard=no
29279  fi
29280else
29281
29282  build_blkdiscard=yes
29283  enable_blkdiscard=check
29284fi
29285
29286
29287
29288  if test "x$build_blkdiscard" != xno; then
29289
29290    case $enable_blkdiscard:$linux_os in #(
29291    no:*)
29292      build_blkdiscard=no ;;
29293    yes:yes)
29294      build_blkdiscard=yes ;;
29295    yes:*)
29296      as_fn_error $? "blkdiscard selected for non-linux system" "$LINENO" 5;;
29297    check:yes)
29298      build_blkdiscard=yes ;;
29299    check:*)
29300      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building blkdiscard" >&5
29301$as_echo "$as_me: WARNING: non-linux system; not building blkdiscard" >&2;}
29302      build_blkdiscard=no ;;
29303    esac
29304  fi
29305
29306 if test "x$build_blkdiscard" = xyes; then
29307  BUILD_BLKDISCARD_TRUE=
29308  BUILD_BLKDISCARD_FALSE='#'
29309else
29310  BUILD_BLKDISCARD_TRUE='#'
29311  BUILD_BLKDISCARD_FALSE=
29312fi
29313
29314
29315
29316
29317  if test "x$ul_default_estate" != x; then
29318  enable_blkzone=$ul_default_estate
29319  build_blkzone=yes
29320  if test "x$ul_default_estate" = xno; then
29321    build_blkzone=no
29322  fi
29323else
29324
29325  build_blkzone=yes
29326  enable_blkzone=check
29327fi
29328
29329
29330
29331  if test "x$build_blkzone" != xno; then
29332
29333    case $enable_blkzone:$linux_os in #(
29334    no:*)
29335      build_blkzone=no ;;
29336    yes:yes)
29337      build_blkzone=yes ;;
29338    yes:*)
29339      as_fn_error $? "blkzone selected for non-linux system" "$LINENO" 5;;
29340    check:yes)
29341      build_blkzone=yes ;;
29342    check:*)
29343      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building blkzone" >&5
29344$as_echo "$as_me: WARNING: non-linux system; not building blkzone" >&2;}
29345      build_blkzone=no ;;
29346    esac
29347  fi
29348
29349
29350
29351
29352  if test "x$build_blkzone" != xno; then
29353
29354    ul_haveone_blkzone=no
29355
29356      if test "x$have_linux_blkzoned_h" = xyes; then
29357        ul_haveone_blkzone=yes
29358      fi
29359
29360    case $enable_blkzone:$ul_haveone_blkzone in #(
29361    no:*)
29362      build_blkzone=no ;;
29363    yes:yes)
29364      build_blkzone=yes ;;
29365    yes:*)
29366      as_fn_error $? "blkzone selected, but required linux/blkzoned.h header not available" "$LINENO" 5;;
29367    check:yes)
29368      build_blkzone=yes ;;
29369    check:*)
29370      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: linux/blkzoned.h header not found; not building blkzone" >&5
29371$as_echo "$as_me: WARNING: linux/blkzoned.h header not found; not building blkzone" >&2;}
29372      build_blkzone=no ;;
29373    esac
29374  fi
29375
29376 if test "x$build_blkzone" = xyes; then
29377  BUILD_BLKZONE_TRUE=
29378  BUILD_BLKZONE_FALSE='#'
29379else
29380  BUILD_BLKZONE_TRUE='#'
29381  BUILD_BLKZONE_FALSE=
29382fi
29383
29384
29385
29386
29387  if test "x$ul_default_estate" != x; then
29388  enable_ldattach=$ul_default_estate
29389  build_ldattach=yes
29390  if test "x$ul_default_estate" = xno; then
29391    build_ldattach=no
29392  fi
29393else
29394
29395  build_ldattach=yes
29396  enable_ldattach=check
29397fi
29398
29399
29400
29401  if test "x$build_ldattach" != xno; then
29402
29403    case $enable_ldattach:$linux_os in #(
29404    no:*)
29405      build_ldattach=no ;;
29406    yes:yes)
29407      build_ldattach=yes ;;
29408    yes:*)
29409      as_fn_error $? "ldattach selected for non-linux system" "$LINENO" 5;;
29410    check:yes)
29411      build_ldattach=yes ;;
29412    check:*)
29413      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building ldattach" >&5
29414$as_echo "$as_me: WARNING: non-linux system; not building ldattach" >&2;}
29415      build_ldattach=no ;;
29416    esac
29417  fi
29418
29419 if test "x$build_ldattach" = xyes; then
29420  BUILD_LDATTACH_TRUE=
29421  BUILD_LDATTACH_FALSE='#'
29422else
29423  BUILD_LDATTACH_TRUE='#'
29424  BUILD_LDATTACH_FALSE=
29425fi
29426
29427
29428
29429
29430  if test "x$ul_default_estate" != x; then
29431  enable_rtcwake=$ul_default_estate
29432  build_rtcwake=yes
29433  if test "x$ul_default_estate" = xno; then
29434    build_rtcwake=no
29435  fi
29436else
29437
29438  build_rtcwake=yes
29439  enable_rtcwake=check
29440fi
29441
29442
29443
29444  if test "x$build_rtcwake" != xno; then
29445
29446    case $enable_rtcwake:$linux_os in #(
29447    no:*)
29448      build_rtcwake=no ;;
29449    yes:yes)
29450      build_rtcwake=yes ;;
29451    yes:*)
29452      as_fn_error $? "rtcwake selected for non-linux system" "$LINENO" 5;;
29453    check:yes)
29454      build_rtcwake=yes ;;
29455    check:*)
29456      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building rtcwake" >&5
29457$as_echo "$as_me: WARNING: non-linux system; not building rtcwake" >&2;}
29458      build_rtcwake=no ;;
29459    esac
29460  fi
29461
29462 if test "x$build_rtcwake" = xyes; then
29463  BUILD_RTCWAKE_TRUE=
29464  BUILD_RTCWAKE_FALSE='#'
29465else
29466  BUILD_RTCWAKE_TRUE='#'
29467  BUILD_RTCWAKE_FALSE=
29468fi
29469
29470
29471
29472
29473  if test "x$ul_default_estate" != x; then
29474  enable_setarch=$ul_default_estate
29475  build_setarch=yes
29476  if test "x$ul_default_estate" = xno; then
29477    build_setarch=no
29478  fi
29479else
29480
29481  build_setarch=yes
29482  enable_setarch=check
29483fi
29484
29485
29486
29487  if test "x$build_setarch" != xno; then
29488
29489    case $enable_setarch:$linux_os in #(
29490    no:*)
29491      build_setarch=no ;;
29492    yes:yes)
29493      build_setarch=yes ;;
29494    yes:*)
29495      as_fn_error $? "setarch selected for non-linux system" "$LINENO" 5;;
29496    check:yes)
29497      build_setarch=yes ;;
29498    check:*)
29499      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building setarch" >&5
29500$as_echo "$as_me: WARNING: non-linux system; not building setarch" >&2;}
29501      build_setarch=no ;;
29502    esac
29503  fi
29504
29505 if test "x$build_setarch" = xyes; then
29506  BUILD_SETARCH_TRUE=
29507  BUILD_SETARCH_FALSE='#'
29508else
29509  BUILD_SETARCH_TRUE='#'
29510  BUILD_SETARCH_FALSE=
29511fi
29512
29513
29514
29515
29516  if test "x$ul_default_estate" != x; then
29517  enable_script=$ul_default_estate
29518  build_script=yes
29519  if test "x$ul_default_estate" = xno; then
29520    build_script=no
29521  fi
29522else
29523
29524  build_script=yes
29525  enable_script=check
29526fi
29527
29528
29529
29530
29531  if test "x$build_script" != xno; then
29532
29533    ul_haveone_script=no
29534
29535      if test "x$have_pty" = xyes; then
29536        ul_haveone_script=yes
29537      fi
29538
29539    case $enable_script:$ul_haveone_script in #(
29540    no:*)
29541      build_script=no ;;
29542    yes:yes)
29543      build_script=yes ;;
29544    yes:*)
29545      as_fn_error $? "script selected, but required  not available" "$LINENO" 5;;
29546    check:yes)
29547      build_script=yes ;;
29548    check:*)
29549      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  not found; not building script" >&5
29550$as_echo "$as_me: WARNING:  not found; not building script" >&2;}
29551      build_script=no ;;
29552    esac
29553  fi
29554
29555 if test "x$build_script" = xyes; then
29556  BUILD_SCRIPT_TRUE=
29557  BUILD_SCRIPT_FALSE='#'
29558else
29559  BUILD_SCRIPT_TRUE='#'
29560  BUILD_SCRIPT_FALSE=
29561fi
29562
29563
29564
29565
29566  if test "x$ul_default_estate" != x; then
29567  enable_scriptreplay=$ul_default_estate
29568  build_scriptreplay=yes
29569  if test "x$ul_default_estate" = xno; then
29570    build_scriptreplay=no
29571  fi
29572else
29573
29574  build_scriptreplay=yes
29575  enable_scriptreplay=yes
29576fi
29577
29578 if test "x$build_scriptreplay" = xyes; then
29579  BUILD_SCRIPTREPLAY_TRUE=
29580  BUILD_SCRIPTREPLAY_FALSE='#'
29581else
29582  BUILD_SCRIPTREPLAY_TRUE='#'
29583  BUILD_SCRIPTREPLAY_FALSE=
29584fi
29585
29586
29587
29588
29589  if test "x$ul_default_estate" != x; then
29590  enable_scriptlive=$ul_default_estate
29591  build_scriptlive=yes
29592  if test "x$ul_default_estate" = xno; then
29593    build_scriptlive=no
29594  fi
29595else
29596
29597  build_scriptlive=yes
29598  enable_scriptlive=check
29599fi
29600
29601
29602
29603
29604  if test "x$build_scriptlive" != xno; then
29605
29606    ul_haveone_scriptlive=no
29607
29608      if test "x$have_pty" = xyes; then
29609        ul_haveone_scriptlive=yes
29610      fi
29611
29612    case $enable_scriptlive:$ul_haveone_scriptlive in #(
29613    no:*)
29614      build_scriptlive=no ;;
29615    yes:yes)
29616      build_scriptlive=yes ;;
29617    yes:*)
29618      as_fn_error $? "scriptlive selected, but required  not available" "$LINENO" 5;;
29619    check:yes)
29620      build_scriptlive=yes ;;
29621    check:*)
29622      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  not found; not building scriptlive" >&5
29623$as_echo "$as_me: WARNING:  not found; not building scriptlive" >&2;}
29624      build_scriptlive=no ;;
29625    esac
29626  fi
29627
29628 if test "x$build_scriptlive" = xyes; then
29629  BUILD_SCRIPTLIVE_TRUE=
29630  BUILD_SCRIPTLIVE_FALSE='#'
29631else
29632  BUILD_SCRIPTLIVE_TRUE='#'
29633  BUILD_SCRIPTLIVE_FALSE=
29634fi
29635
29636
29637
29638
29639  if test "x$ul_default_estate" != x; then
29640  enable_col=$ul_default_estate
29641  build_col=yes
29642  if test "x$ul_default_estate" = xno; then
29643    build_col=no
29644  fi
29645else
29646
29647  build_col=yes
29648  enable_col=yes
29649fi
29650
29651 if test "x$build_col" = xyes; then
29652  BUILD_COL_TRUE=
29653  BUILD_COL_FALSE='#'
29654else
29655  BUILD_COL_TRUE='#'
29656  BUILD_COL_FALSE=
29657fi
29658
29659
29660
29661
29662  if test "x$ul_default_estate" != x; then
29663  enable_colcrt=$ul_default_estate
29664  build_colcrt=yes
29665  if test "x$ul_default_estate" = xno; then
29666    build_colcrt=no
29667  fi
29668else
29669
29670  build_colcrt=yes
29671  enable_colcrt=yes
29672fi
29673
29674 if test "x$build_colcrt" = xyes; then
29675  BUILD_COLCRT_TRUE=
29676  BUILD_COLCRT_FALSE='#'
29677else
29678  BUILD_COLCRT_TRUE='#'
29679  BUILD_COLCRT_FALSE=
29680fi
29681
29682
29683
29684
29685  if test "x$ul_default_estate" != x; then
29686  enable_colrm=$ul_default_estate
29687  build_colrm=yes
29688  if test "x$ul_default_estate" = xno; then
29689    build_colrm=no
29690  fi
29691else
29692
29693  build_colrm=yes
29694  enable_colrm=yes
29695fi
29696
29697 if test "x$build_colrm" = xyes; then
29698  BUILD_COLRM_TRUE=
29699  BUILD_COLRM_FALSE='#'
29700else
29701  BUILD_COLRM_TRUE='#'
29702  BUILD_COLRM_FALSE=
29703fi
29704
29705
29706
29707
29708  if test "x$ul_default_estate" != x; then
29709  enable_column=$ul_default_estate
29710  build_column=yes
29711  if test "x$ul_default_estate" = xno; then
29712    build_column=no
29713  fi
29714else
29715
29716  build_column=yes
29717  enable_column=check
29718fi
29719
29720
29721
29722
29723  if test "x$build_column" != xno; then
29724    case $enable_column:$build_libsmartcols in #(
29725    no:*)
29726      build_column=no ;;
29727    yes:yes)
29728      build_column=yes ;;
29729    yes:*)
29730      as_fn_error $? "libsmartcols is needed to build column" "$LINENO" 5;;
29731    check:yes)
29732      build_column=yes ;;
29733    check:*)
29734      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building column" >&5
29735$as_echo "$as_me: WARNING: libsmartcols disabled; not building column" >&2;}
29736      build_column=no ;;
29737    esac
29738  fi
29739
29740 if test "x$build_column" = xyes; then
29741  BUILD_COLUMN_TRUE=
29742  BUILD_COLUMN_FALSE='#'
29743else
29744  BUILD_COLUMN_TRUE='#'
29745  BUILD_COLUMN_FALSE=
29746fi
29747
29748
29749
29750
29751  if test "x$ul_default_estate" != x; then
29752  enable_hexdump=$ul_default_estate
29753  build_hexdump=yes
29754  if test "x$ul_default_estate" = xno; then
29755    build_hexdump=no
29756  fi
29757else
29758
29759  build_hexdump=yes
29760  enable_hexdump=yes
29761fi
29762
29763 if test "x$build_hexdump" = xyes; then
29764  BUILD_HEXDUMP_TRUE=
29765  BUILD_HEXDUMP_FALSE='#'
29766else
29767  BUILD_HEXDUMP_TRUE='#'
29768  BUILD_HEXDUMP_FALSE=
29769fi
29770
29771
29772
29773
29774  if test "x$ul_default_estate" != x; then
29775  enable_rev=$ul_default_estate
29776  build_rev=yes
29777  if test "x$ul_default_estate" = xno; then
29778    build_rev=no
29779  fi
29780else
29781
29782  build_rev=yes
29783  enable_rev=yes
29784fi
29785
29786 if test "x$build_rev" = xyes; then
29787  BUILD_REV_TRUE=
29788  BUILD_REV_FALSE='#'
29789else
29790  BUILD_REV_TRUE='#'
29791  BUILD_REV_FALSE=
29792fi
29793
29794
29795
29796# Check whether --enable-tunelp was given.
29797if test "${enable_tunelp+set}" = set; then :
29798  enableval=$enable_tunelp;
29799else
29800
29801
29802  if test "x$ul_default_estate" != x; then
29803    enable_tunelp=$ul_default_estate
29804  else
29805    enable_tunelp=no
29806  fi
29807
29808
29809fi
29810
29811
29812
29813  if test "x$enable_tunelp" = xno; then
29814   build_tunelp=no
29815else
29816   build_tunelp=yes
29817fi
29818
29819
29820
29821  if test "x$build_tunelp" != xno; then
29822
29823    case $enable_tunelp:$linux_os in #(
29824    no:*)
29825      build_tunelp=no ;;
29826    yes:yes)
29827      build_tunelp=yes ;;
29828    yes:*)
29829      as_fn_error $? "tunelp selected for non-linux system" "$LINENO" 5;;
29830    check:yes)
29831      build_tunelp=yes ;;
29832    check:*)
29833      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building tunelp" >&5
29834$as_echo "$as_me: WARNING: non-linux system; not building tunelp" >&2;}
29835      build_tunelp=no ;;
29836    esac
29837  fi
29838
29839 if test "x$build_tunelp" = xyes; then
29840  BUILD_TUNELP_TRUE=
29841  BUILD_TUNELP_FALSE='#'
29842else
29843  BUILD_TUNELP_TRUE='#'
29844  BUILD_TUNELP_FALSE=
29845fi
29846
29847
29848
29849# Check whether --enable-kill was given.
29850if test "${enable_kill+set}" = set; then :
29851  enableval=$enable_kill;
29852else
29853
29854
29855  if test "x$ul_default_estate" != x; then
29856    enable_kill=$ul_default_estate
29857  else
29858    enable_kill=check
29859  fi
29860
29861
29862fi
29863
29864
29865
29866  if test "x$enable_kill" = xno; then
29867   build_kill=no
29868else
29869   build_kill=yes
29870fi
29871
29872
29873
29874  if test "x$build_kill" != xno; then
29875
29876    case $enable_kill:$linux_os in #(
29877    no:*)
29878      build_kill=no ;;
29879    yes:yes)
29880      build_kill=yes ;;
29881    yes:*)
29882      as_fn_error $? "kill selected for non-linux system" "$LINENO" 5;;
29883    check:yes)
29884      build_kill=yes ;;
29885    check:*)
29886      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building kill" >&5
29887$as_echo "$as_me: WARNING: non-linux system; not building kill" >&2;}
29888      build_kill=no ;;
29889    esac
29890  fi
29891
29892 if test "x$build_kill" = xyes; then
29893  BUILD_KILL_TRUE=
29894  BUILD_KILL_FALSE='#'
29895else
29896  BUILD_KILL_TRUE='#'
29897  BUILD_KILL_FALSE=
29898fi
29899
29900
29901
29902# Check whether --enable-last was given.
29903if test "${enable_last+set}" = set; then :
29904  enableval=$enable_last;
29905else
29906
29907
29908  if test "x$ul_default_estate" != x; then
29909    enable_last=$ul_default_estate
29910  else
29911    enable_last=check
29912  fi
29913
29914
29915fi
29916
29917
29918
29919  if test "x$enable_last" = xno; then
29920   build_last=no
29921else
29922   build_last=yes
29923fi
29924
29925
29926
29927
29928  if test "x$build_last" != xno; then
29929
29930    ul_haveone_last=no
29931
29932      if test "x$have_utmpx_h" = xyes; then
29933        ul_haveone_last=yes
29934      fi
29935
29936    case $enable_last:$ul_haveone_last in #(
29937    no:*)
29938      build_last=no ;;
29939    yes:yes)
29940      build_last=yes ;;
29941    yes:*)
29942      as_fn_error $? "last selected, but required utmpx.h header not available" "$LINENO" 5;;
29943    check:yes)
29944      build_last=yes ;;
29945    check:*)
29946      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: utmpx.h header not found; not building last" >&5
29947$as_echo "$as_me: WARNING: utmpx.h header not found; not building last" >&2;}
29948      build_last=no ;;
29949    esac
29950  fi
29951
29952
29953
29954
29955  if test "x$build_last" != xno; then
29956
29957    ul_haveone_last=no
29958
29959      if test "x$have_gnu_utmpx" = xyes; then
29960        ul_haveone_last=yes
29961      fi
29962
29963    case $enable_last:$ul_haveone_last in #(
29964    no:*)
29965      build_last=no ;;
29966    yes:yes)
29967      build_last=yes ;;
29968    yes:*)
29969      as_fn_error $? "last selected, but required GNU utmpx functions not available" "$LINENO" 5;;
29970    check:yes)
29971      build_last=yes ;;
29972    check:*)
29973      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU utmpx functions not found; not building last" >&5
29974$as_echo "$as_me: WARNING: GNU utmpx functions not found; not building last" >&2;}
29975      build_last=no ;;
29976    esac
29977  fi
29978
29979 if test "x$build_last" = xyes; then
29980  BUILD_LAST_TRUE=
29981  BUILD_LAST_FALSE='#'
29982else
29983  BUILD_LAST_TRUE='#'
29984  BUILD_LAST_FALSE=
29985fi
29986
29987
29988
29989# Check whether --enable-utmpdump was given.
29990if test "${enable_utmpdump+set}" = set; then :
29991  enableval=$enable_utmpdump;
29992else
29993
29994
29995  if test "x$ul_default_estate" != x; then
29996    enable_utmpdump=$ul_default_estate
29997  else
29998    enable_utmpdump=check
29999  fi
30000
30001
30002fi
30003
30004
30005
30006  if test "x$enable_utmpdump" = xno; then
30007   build_utmpdump=no
30008else
30009   build_utmpdump=yes
30010fi
30011
30012
30013
30014
30015  if test "x$build_utmpdump" != xno; then
30016
30017    ul_haveone_utmpdump=no
30018
30019      if test "x$have_utmpx_h" = xyes; then
30020        ul_haveone_utmpdump=yes
30021      fi
30022
30023    case $enable_utmpdump:$ul_haveone_utmpdump in #(
30024    no:*)
30025      build_utmpdump=no ;;
30026    yes:yes)
30027      build_utmpdump=yes ;;
30028    yes:*)
30029      as_fn_error $? "utmpdump selected, but required utmpx.h header not available" "$LINENO" 5;;
30030    check:yes)
30031      build_utmpdump=yes ;;
30032    check:*)
30033      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: utmpx.h header not found; not building utmpdump" >&5
30034$as_echo "$as_me: WARNING: utmpx.h header not found; not building utmpdump" >&2;}
30035      build_utmpdump=no ;;
30036    esac
30037  fi
30038
30039
30040
30041
30042  if test "x$build_utmpdump" != xno; then
30043
30044    ul_haveone_utmpdump=no
30045
30046      if test "x$have_gnu_utmpx" = xyes; then
30047        ul_haveone_utmpdump=yes
30048      fi
30049
30050    case $enable_utmpdump:$ul_haveone_utmpdump in #(
30051    no:*)
30052      build_utmpdump=no ;;
30053    yes:yes)
30054      build_utmpdump=yes ;;
30055    yes:*)
30056      as_fn_error $? "utmpdump selected, but required GNU utmpx functions not available" "$LINENO" 5;;
30057    check:yes)
30058      build_utmpdump=yes ;;
30059    check:*)
30060      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU utmpx functions not found; not building utmpdump" >&5
30061$as_echo "$as_me: WARNING: GNU utmpx functions not found; not building utmpdump" >&2;}
30062      build_utmpdump=no ;;
30063    esac
30064  fi
30065
30066 if test "x$build_utmpdump" = xyes; then
30067  BUILD_UTMPDUMP_TRUE=
30068  BUILD_UTMPDUMP_FALSE='#'
30069else
30070  BUILD_UTMPDUMP_TRUE='#'
30071  BUILD_UTMPDUMP_FALSE=
30072fi
30073
30074
30075
30076# Check whether --enable-line was given.
30077if test "${enable_line+set}" = set; then :
30078  enableval=$enable_line;
30079else
30080
30081
30082  if test "x$ul_default_estate" != x; then
30083    enable_line=$ul_default_estate
30084  else
30085    enable_line=no
30086  fi
30087
30088
30089fi
30090
30091
30092
30093  if test "x$enable_line" = xno; then
30094   build_line=no
30095else
30096   build_line=yes
30097fi
30098
30099 if test "x$build_line" = xyes; then
30100  BUILD_LINE_TRUE=
30101  BUILD_LINE_FALSE='#'
30102else
30103  BUILD_LINE_TRUE='#'
30104  BUILD_LINE_FALSE=
30105fi
30106
30107
30108
30109# Check whether --enable-mesg was given.
30110if test "${enable_mesg+set}" = set; then :
30111  enableval=$enable_mesg;
30112else
30113
30114
30115  if test "x$ul_default_estate" != x; then
30116    enable_mesg=$ul_default_estate
30117  else
30118    enable_mesg=yes
30119  fi
30120
30121
30122fi
30123
30124
30125
30126  if test "x$enable_mesg" = xno; then
30127   build_mesg=no
30128else
30129   build_mesg=yes
30130fi
30131
30132 if test "x$build_mesg" = xyes; then
30133  BUILD_MESG_TRUE=
30134  BUILD_MESG_FALSE='#'
30135else
30136  BUILD_MESG_TRUE='#'
30137  BUILD_MESG_FALSE=
30138fi
30139
30140
30141
30142# Check whether --enable-raw was given.
30143if test "${enable_raw+set}" = set; then :
30144  enableval=$enable_raw;
30145else
30146
30147
30148  if test "x$ul_default_estate" != x; then
30149    enable_raw=$ul_default_estate
30150  else
30151    enable_raw=check
30152  fi
30153
30154
30155fi
30156
30157
30158
30159  if test "x$enable_raw" = xno; then
30160   build_raw=no
30161else
30162   build_raw=yes
30163fi
30164
30165
30166
30167  if test "x$build_raw" != xno; then
30168
30169    case $enable_raw:$linux_os in #(
30170    no:*)
30171      build_raw=no ;;
30172    yes:yes)
30173      build_raw=yes ;;
30174    yes:*)
30175      as_fn_error $? "raw selected for non-linux system" "$LINENO" 5;;
30176    check:yes)
30177      build_raw=yes ;;
30178    check:*)
30179      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building raw" >&5
30180$as_echo "$as_me: WARNING: non-linux system; not building raw" >&2;}
30181      build_raw=no ;;
30182    esac
30183  fi
30184
30185
30186
30187
30188  if test "x$build_raw" != xno; then
30189
30190    ul_haveone_raw=no
30191
30192      if test "x$have_linux_raw_h" = xyes; then
30193        ul_haveone_raw=yes
30194      fi
30195
30196    case $enable_raw:$ul_haveone_raw in #(
30197    no:*)
30198      build_raw=no ;;
30199    yes:yes)
30200      build_raw=yes ;;
30201    yes:*)
30202      as_fn_error $? "raw selected, but required raw.h header file not available" "$LINENO" 5;;
30203    check:yes)
30204      build_raw=yes ;;
30205    check:*)
30206      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: raw.h header file not found; not building raw" >&5
30207$as_echo "$as_me: WARNING: raw.h header file not found; not building raw" >&2;}
30208      build_raw=no ;;
30209    esac
30210  fi
30211
30212 if test "x$build_raw" = xyes; then
30213  BUILD_RAW_TRUE=
30214  BUILD_RAW_FALSE='#'
30215else
30216  BUILD_RAW_TRUE='#'
30217  BUILD_RAW_FALSE=
30218fi
30219
30220
30221
30222# Check whether --enable-rename was given.
30223if test "${enable_rename+set}" = set; then :
30224  enableval=$enable_rename;
30225else
30226
30227
30228  if test "x$ul_default_estate" != x; then
30229    enable_rename=$ul_default_estate
30230  else
30231    enable_rename=yes
30232  fi
30233
30234
30235fi
30236
30237
30238
30239  if test "x$enable_rename" = xno; then
30240   build_rename=no
30241else
30242   build_rename=yes
30243fi
30244
30245 if test "x$build_rename" = xyes; then
30246  BUILD_RENAME_TRUE=
30247  BUILD_RENAME_FALSE='#'
30248else
30249  BUILD_RENAME_TRUE='#'
30250  BUILD_RENAME_FALSE=
30251fi
30252
30253
30254
30255# Check whether --enable-vipw was given.
30256if test "${enable_vipw+set}" = set; then :
30257  enableval=$enable_vipw;
30258else
30259
30260
30261  if test "x$ul_default_estate" != x; then
30262    enable_vipw=$ul_default_estate
30263  else
30264    enable_vipw=no
30265  fi
30266
30267
30268fi
30269
30270
30271
30272  if test "x$enable_vipw" = xno; then
30273   build_vipw=no
30274else
30275   build_vipw=yes
30276fi
30277
30278
30279
30280
30281  if test "x$build_vipw" != xno; then
30282
30283    ul_haveone_vipw=no
30284
30285      if test "x$have_shadow_h" = xyes; then
30286        ul_haveone_vipw=yes
30287      fi
30288
30289    case $enable_vipw:$ul_haveone_vipw in #(
30290    no:*)
30291      build_vipw=no ;;
30292    yes:yes)
30293      build_vipw=yes ;;
30294    yes:*)
30295      as_fn_error $? "vipw selected, but required shadow.h header not available" "$LINENO" 5;;
30296    check:yes)
30297      build_vipw=yes ;;
30298    check:*)
30299      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: shadow.h header not found; not building vipw" >&5
30300$as_echo "$as_me: WARNING: shadow.h header not found; not building vipw" >&2;}
30301      build_vipw=no ;;
30302    esac
30303  fi
30304
30305 if test "x$build_vipw" = xyes; then
30306  BUILD_VIPW_TRUE=
30307  BUILD_VIPW_FALSE='#'
30308else
30309  BUILD_VIPW_TRUE='#'
30310  BUILD_VIPW_FALSE=
30311fi
30312
30313
30314
30315# Check whether --enable-newgrp was given.
30316if test "${enable_newgrp+set}" = set; then :
30317  enableval=$enable_newgrp;
30318else
30319
30320
30321  if test "x$ul_default_estate" != x; then
30322    enable_newgrp=$ul_default_estate
30323  else
30324    enable_newgrp=no
30325  fi
30326
30327
30328fi
30329
30330
30331
30332  if test "x$enable_newgrp" = xno; then
30333   build_newgrp=no
30334else
30335   build_newgrp=yes
30336fi
30337
30338
30339
30340
30341  if test "x$build_newgrp" != xno; then
30342
30343    ul_haveone_newgrp=no
30344
30345      if test "x$have_crypt" = xyes; then
30346        ul_haveone_newgrp=yes
30347      fi
30348
30349    case $enable_newgrp:$ul_haveone_newgrp in #(
30350    no:*)
30351      build_newgrp=no ;;
30352    yes:yes)
30353      build_newgrp=yes ;;
30354    yes:*)
30355      as_fn_error $? "newgrp selected, but required crypt function not available" "$LINENO" 5;;
30356    check:yes)
30357      build_newgrp=yes ;;
30358    check:*)
30359      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: crypt function not found; not building newgrp" >&5
30360$as_echo "$as_me: WARNING: crypt function not found; not building newgrp" >&2;}
30361      build_newgrp=no ;;
30362    esac
30363  fi
30364
30365 if test "x$build_newgrp" = xyes; then
30366  BUILD_NEWGRP_TRUE=
30367  BUILD_NEWGRP_FALSE='#'
30368else
30369  BUILD_NEWGRP_TRUE='#'
30370  BUILD_NEWGRP_FALSE=
30371fi
30372
30373
30374
30375
30376# Check whether --with-user was given.
30377if test "${with_user+set}" = set; then :
30378  withval=$with_user;
30379else
30380  with_user=check
30381
30382fi
30383
30384have_user=no
30385if test "x$with_user" != xno; then :
30386
30387
30388pkg_failed=no
30389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUSER" >&5
30390$as_echo_n "checking for LIBUSER... " >&6; }
30391
30392if test -n "$LIBUSER_CFLAGS"; then
30393    pkg_cv_LIBUSER_CFLAGS="$LIBUSER_CFLAGS"
30394 elif test -n "$PKG_CONFIG"; then
30395    if test -n "$PKG_CONFIG" && \
30396    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuser >= 0.58\""; } >&5
30397  ($PKG_CONFIG --exists --print-errors "libuser >= 0.58") 2>&5
30398  ac_status=$?
30399  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30400  test $ac_status = 0; }; then
30401  pkg_cv_LIBUSER_CFLAGS=`$PKG_CONFIG --cflags "libuser >= 0.58" 2>/dev/null`
30402		      test "x$?" != "x0" && pkg_failed=yes
30403else
30404  pkg_failed=yes
30405fi
30406 else
30407    pkg_failed=untried
30408fi
30409if test -n "$LIBUSER_LIBS"; then
30410    pkg_cv_LIBUSER_LIBS="$LIBUSER_LIBS"
30411 elif test -n "$PKG_CONFIG"; then
30412    if test -n "$PKG_CONFIG" && \
30413    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuser >= 0.58\""; } >&5
30414  ($PKG_CONFIG --exists --print-errors "libuser >= 0.58") 2>&5
30415  ac_status=$?
30416  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30417  test $ac_status = 0; }; then
30418  pkg_cv_LIBUSER_LIBS=`$PKG_CONFIG --libs "libuser >= 0.58" 2>/dev/null`
30419		      test "x$?" != "x0" && pkg_failed=yes
30420else
30421  pkg_failed=yes
30422fi
30423 else
30424    pkg_failed=untried
30425fi
30426
30427
30428
30429if test $pkg_failed = yes; then
30430   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30431$as_echo "no" >&6; }
30432
30433if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30434        _pkg_short_errors_supported=yes
30435else
30436        _pkg_short_errors_supported=no
30437fi
30438        if test $_pkg_short_errors_supported = yes; then
30439	        LIBUSER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuser >= 0.58" 2>&1`
30440        else
30441	        LIBUSER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuser >= 0.58" 2>&1`
30442        fi
30443	# Put the nasty error message in config.log where it belongs
30444	echo "$LIBUSER_PKG_ERRORS" >&5
30445
30446	have_user=no
30447elif test $pkg_failed = untried; then
30448     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30449$as_echo "no" >&6; }
30450	have_user=no
30451else
30452	LIBUSER_CFLAGS=$pkg_cv_LIBUSER_CFLAGS
30453	LIBUSER_LIBS=$pkg_cv_LIBUSER_LIBS
30454        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30455$as_echo "yes" >&6; }
30456	have_user=yes
30457fi
30458  case $with_user:$have_user in #(
30459  yes:no) :
30460    as_fn_error $? "user selected but libuser not found" "$LINENO" 5 ;; #(
30461  *:yes) :
30462
30463$as_echo "#define HAVE_LIBUSER 1" >>confdefs.h
30464
30465   ;; #(
30466  *) :
30467     ;;
30468esac
30469  # temporary solution, libuser has stupid .pc where are exported all
30470  # private dependencies to Requires: instead of Requires.private:
30471  if test "x$have_user" = xyes; then :
30472
30473    LIBUSER_LIBS=-luser
30474
30475fi
30476
30477fi
30478 if test "x$have_user" = xyes; then
30479  HAVE_USER_TRUE=
30480  HAVE_USER_FALSE='#'
30481else
30482  HAVE_USER_TRUE='#'
30483  HAVE_USER_FALSE=
30484fi
30485
30486
30487# Check whether --enable-chfn-chsh-password was given.
30488if test "${enable_chfn_chsh_password+set}" = set; then :
30489  enableval=$enable_chfn_chsh_password;
30490else
30491  enable_chfn_chsh_password=yes
30492
30493fi
30494
30495
30496# Check whether --enable-chfn-chsh was given.
30497if test "${enable_chfn_chsh+set}" = set; then :
30498  enableval=$enable_chfn_chsh;
30499else
30500
30501
30502  if test "x$ul_default_estate" != x; then
30503    enable_chfn_chsh=$ul_default_estate
30504  else
30505    enable_chfn_chsh=check
30506  fi
30507
30508
30509fi
30510
30511
30512
30513  if test "x$enable_chfn_chsh" = xno; then
30514   build_chfn_chsh=no
30515else
30516   build_chfn_chsh=yes
30517fi
30518
30519
30520
30521
30522  if test "x$build_chfn_chsh" != xno; then
30523
30524    ul_haveone_chfn_chsh=no
30525
30526      if test "x$have_shadow_h" = xyes; then
30527        ul_haveone_chfn_chsh=yes
30528      fi
30529
30530    case $enable_chfn_chsh:$ul_haveone_chfn_chsh in #(
30531    no:*)
30532      build_chfn_chsh=no ;;
30533    yes:yes)
30534      build_chfn_chsh=yes ;;
30535    yes:*)
30536      as_fn_error $? "chfn_chsh selected, but required shadow.h header not available" "$LINENO" 5;;
30537    check:yes)
30538      build_chfn_chsh=yes ;;
30539    check:*)
30540      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: shadow.h header not found; not building chfn_chsh" >&5
30541$as_echo "$as_me: WARNING: shadow.h header not found; not building chfn_chsh" >&2;}
30542      build_chfn_chsh=no ;;
30543    esac
30544  fi
30545
30546
30547
30548
30549  if test "x$build_chfn_chsh" != xno; then
30550
30551    ul_haveone_chfn_chsh=no
30552
30553      if test "x$have_getusershell" = xyes; then
30554        ul_haveone_chfn_chsh=yes
30555      fi
30556
30557    case $enable_chfn_chsh:$ul_haveone_chfn_chsh in #(
30558    no:*)
30559      build_chfn_chsh=no ;;
30560    yes:yes)
30561      build_chfn_chsh=yes ;;
30562    yes:*)
30563      as_fn_error $? "chfn_chsh selected, but required getusershell function not available" "$LINENO" 5;;
30564    check:yes)
30565      build_chfn_chsh=yes ;;
30566    check:*)
30567      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: getusershell function not found; not building chfn_chsh" >&5
30568$as_echo "$as_me: WARNING: getusershell function not found; not building chfn_chsh" >&2;}
30569      build_chfn_chsh=no ;;
30570    esac
30571  fi
30572
30573
30574if test "x$enable_chfn_chsh_password" = xyes -o "x$have_user" = xyes; then :
30575
30576
30577
30578
30579  if test "x$build_chfn_chsh" != xno; then
30580
30581    ul_haveone_chfn_chsh=no
30582
30583      if test "x$have_security_pam_appl_h" = xyes; then
30584        ul_haveone_chfn_chsh=yes
30585      fi
30586
30587    case $enable_chfn_chsh:$ul_haveone_chfn_chsh in #(
30588    no:*)
30589      build_chfn_chsh=no ;;
30590    yes:yes)
30591      build_chfn_chsh=yes ;;
30592    yes:*)
30593      as_fn_error $? "chfn_chsh selected, but required PAM header file not available" "$LINENO" 5;;
30594    check:yes)
30595      build_chfn_chsh=yes ;;
30596    check:*)
30597      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PAM header file not found; not building chfn_chsh" >&5
30598$as_echo "$as_me: WARNING: PAM header file not found; not building chfn_chsh" >&2;}
30599      build_chfn_chsh=no ;;
30600    esac
30601  fi
30602
30603
30604$as_echo "#define CHFN_CHSH_PASSWORD 1" >>confdefs.h
30605
30606
30607fi
30608 if test "x$build_chfn_chsh" = xyes; then
30609  BUILD_CHFN_CHSH_TRUE=
30610  BUILD_CHFN_CHSH_FALSE='#'
30611else
30612  BUILD_CHFN_CHSH_TRUE='#'
30613  BUILD_CHFN_CHSH_FALSE=
30614fi
30615
30616 if test "x$enable_chfn_chsh_password" = xyes; then
30617  CHFN_CHSH_PASSWORD_TRUE=
30618  CHFN_CHSH_PASSWORD_FALSE='#'
30619else
30620  CHFN_CHSH_PASSWORD_TRUE='#'
30621  CHFN_CHSH_PASSWORD_FALSE=
30622fi
30623
30624
30625# Check whether --enable-chsh-only-listed was given.
30626if test "${enable_chsh_only_listed+set}" = set; then :
30627  enableval=$enable_chsh_only_listed;
30628else
30629  enable_chsh_only_listed=yes
30630
30631fi
30632
30633
30634if test "x$enable_chsh_only_listed" = xyes; then :
30635
30636
30637$as_echo "#define ONLY_LISTED_SHELLS 1" >>confdefs.h
30638
30639
30640fi
30641
30642
30643# Check whether --enable-login was given.
30644if test "${enable_login+set}" = set; then :
30645  enableval=$enable_login;
30646else
30647
30648
30649  if test "x$ul_default_estate" != x; then
30650    enable_login=$ul_default_estate
30651  else
30652    enable_login=check
30653  fi
30654
30655
30656fi
30657
30658
30659
30660  if test "x$enable_login" = xno; then
30661   build_login=no
30662else
30663   build_login=yes
30664fi
30665
30666
30667
30668
30669  if test "x$build_login" != xno; then
30670
30671    ul_haveone_login=no
30672
30673      if test "x$have_security_pam_appl_h" = xyes; then
30674        ul_haveone_login=yes
30675      fi
30676
30677    case $enable_login:$ul_haveone_login in #(
30678    no:*)
30679      build_login=no ;;
30680    yes:yes)
30681      build_login=yes ;;
30682    yes:*)
30683      as_fn_error $? "login selected, but required PAM header file not available" "$LINENO" 5;;
30684    check:yes)
30685      build_login=yes ;;
30686    check:*)
30687      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PAM header file not found; not building login" >&5
30688$as_echo "$as_me: WARNING: PAM header file not found; not building login" >&2;}
30689      build_login=no ;;
30690    esac
30691  fi
30692
30693
30694
30695
30696  if test "x$build_login" != xno; then
30697
30698    ul_haveone_login=no
30699
30700      if test "x$have_security_pam_misc_h" = xyes; then
30701        ul_haveone_login=yes
30702      fi
30703
30704      if test "x$have_security_openpam_h" = xyes; then
30705        ul_haveone_login=yes
30706      fi
30707
30708    case $enable_login:$ul_haveone_login in #(
30709    no:*)
30710      build_login=no ;;
30711    yes:yes)
30712      build_login=yes ;;
30713    yes:*)
30714      as_fn_error $? "login selected, but required PAM conversation functions not available" "$LINENO" 5;;
30715    check:yes)
30716      build_login=yes ;;
30717    check:*)
30718      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PAM conversation functions not found; not building login" >&5
30719$as_echo "$as_me: WARNING: PAM conversation functions not found; not building login" >&2;}
30720      build_login=no ;;
30721    esac
30722  fi
30723
30724
30725
30726
30727  if test "x$build_login" != xno; then
30728
30729    ul_haveone_login=no
30730
30731      if test "x$have_utmpx_h" = xyes; then
30732        ul_haveone_login=yes
30733      fi
30734
30735    case $enable_login:$ul_haveone_login in #(
30736    no:*)
30737      build_login=no ;;
30738    yes:yes)
30739      build_login=yes ;;
30740    yes:*)
30741      as_fn_error $? "login selected, but required utmpx.h header not available" "$LINENO" 5;;
30742    check:yes)
30743      build_login=yes ;;
30744    check:*)
30745      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: utmpx.h header not found; not building login" >&5
30746$as_echo "$as_me: WARNING: utmpx.h header not found; not building login" >&2;}
30747      build_login=no ;;
30748    esac
30749  fi
30750
30751
30752
30753
30754  if test "x$build_login" != xno; then
30755
30756    ul_haveone_login=no
30757
30758      if test "x$have_gnu_utmpx" = xyes; then
30759        ul_haveone_login=yes
30760      fi
30761
30762    case $enable_login:$ul_haveone_login in #(
30763    no:*)
30764      build_login=no ;;
30765    yes:yes)
30766      build_login=yes ;;
30767    yes:*)
30768      as_fn_error $? "login selected, but required GNU utmpx functions not available" "$LINENO" 5;;
30769    check:yes)
30770      build_login=yes ;;
30771    check:*)
30772      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU utmpx functions not found; not building login" >&5
30773$as_echo "$as_me: WARNING: GNU utmpx functions not found; not building login" >&2;}
30774      build_login=no ;;
30775    esac
30776  fi
30777
30778 if test "x$build_login" = xyes; then
30779  BUILD_LOGIN_TRUE=
30780  BUILD_LOGIN_FALSE='#'
30781else
30782  BUILD_LOGIN_TRUE='#'
30783  BUILD_LOGIN_FALSE=
30784fi
30785
30786
30787# Check whether --enable-login-chown-vcs was given.
30788if test "${enable_login_chown_vcs+set}" = set; then :
30789  enableval=$enable_login_chown_vcs;
30790else
30791  enable_login_chown_vcs=no
30792
30793fi
30794
30795
30796if test "x$enable_login_chown_vcs" = xyes; then :
30797
30798
30799$as_echo "#define LOGIN_CHOWN_VCS 1" >>confdefs.h
30800
30801
30802fi
30803
30804# Check whether --enable-login-stat-mail was given.
30805if test "${enable_login_stat_mail+set}" = set; then :
30806  enableval=$enable_login_stat_mail;
30807else
30808  enable_login_stat_mail=no
30809
30810fi
30811
30812
30813if test "x$enable_login_stat_mail" = xyes; then :
30814
30815
30816$as_echo "#define LOGIN_STAT_MAIL 1" >>confdefs.h
30817
30818
30819fi
30820
30821
30822# Check whether --enable-nologin was given.
30823if test "${enable_nologin+set}" = set; then :
30824  enableval=$enable_nologin;
30825else
30826
30827
30828  if test "x$ul_default_estate" != x; then
30829    enable_nologin=$ul_default_estate
30830  else
30831    enable_nologin=yes
30832  fi
30833
30834
30835fi
30836
30837
30838
30839  if test "x$enable_nologin" = xno; then
30840   build_nologin=no
30841else
30842   build_nologin=yes
30843fi
30844
30845 if test "x$build_nologin" = xyes; then
30846  BUILD_NOLOGIN_TRUE=
30847  BUILD_NOLOGIN_FALSE='#'
30848else
30849  BUILD_NOLOGIN_TRUE='#'
30850  BUILD_NOLOGIN_FALSE=
30851fi
30852
30853
30854
30855# Check whether --enable-sulogin was given.
30856if test "${enable_sulogin+set}" = set; then :
30857  enableval=$enable_sulogin;
30858else
30859
30860
30861  if test "x$ul_default_estate" != x; then
30862    enable_sulogin=$ul_default_estate
30863  else
30864    enable_sulogin=check
30865  fi
30866
30867
30868fi
30869
30870
30871
30872  if test "x$enable_sulogin" = xno; then
30873   build_sulogin=no
30874else
30875   build_sulogin=yes
30876fi
30877
30878
30879
30880
30881  if test "x$build_sulogin" != xno; then
30882
30883    ul_haveone_sulogin=no
30884
30885      if test "x$have_crypt" = xyes; then
30886        ul_haveone_sulogin=yes
30887      fi
30888
30889    case $enable_sulogin:$ul_haveone_sulogin in #(
30890    no:*)
30891      build_sulogin=no ;;
30892    yes:yes)
30893      build_sulogin=yes ;;
30894    yes:*)
30895      as_fn_error $? "sulogin selected, but required crypt function not available" "$LINENO" 5;;
30896    check:yes)
30897      build_sulogin=yes ;;
30898    check:*)
30899      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: crypt function not found; not building sulogin" >&5
30900$as_echo "$as_me: WARNING: crypt function not found; not building sulogin" >&2;}
30901      build_sulogin=no ;;
30902    esac
30903  fi
30904
30905
30906
30907
30908  if test "x$build_sulogin" != xno; then
30909
30910    ul_haveone_sulogin=no
30911
30912      if test "x$have_shadow_h" = xyes; then
30913        ul_haveone_sulogin=yes
30914      fi
30915
30916    case $enable_sulogin:$ul_haveone_sulogin in #(
30917    no:*)
30918      build_sulogin=no ;;
30919    yes:yes)
30920      build_sulogin=yes ;;
30921    yes:*)
30922      as_fn_error $? "sulogin selected, but required shadow.h header not available" "$LINENO" 5;;
30923    check:yes)
30924      build_sulogin=yes ;;
30925    check:*)
30926      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: shadow.h header not found; not building sulogin" >&5
30927$as_echo "$as_me: WARNING: shadow.h header not found; not building sulogin" >&2;}
30928      build_sulogin=no ;;
30929    esac
30930  fi
30931
30932 if test "x$build_sulogin" = xyes; then
30933  BUILD_SULOGIN_TRUE=
30934  BUILD_SULOGIN_FALSE='#'
30935else
30936  BUILD_SULOGIN_TRUE='#'
30937  BUILD_SULOGIN_FALSE=
30938fi
30939
30940
30941
30942# Check whether --enable-su was given.
30943if test "${enable_su+set}" = set; then :
30944  enableval=$enable_su;
30945else
30946
30947
30948  if test "x$ul_default_estate" != x; then
30949    enable_su=$ul_default_estate
30950  else
30951    enable_su=check
30952  fi
30953
30954
30955fi
30956
30957
30958
30959  if test "x$enable_su" = xno; then
30960   build_su=no
30961else
30962   build_su=yes
30963fi
30964
30965
30966
30967
30968  if test "x$build_su" != xno; then
30969
30970    ul_haveone_su=no
30971
30972      if test "x$have_security_pam_appl_h" = xyes; then
30973        ul_haveone_su=yes
30974      fi
30975
30976    case $enable_su:$ul_haveone_su in #(
30977    no:*)
30978      build_su=no ;;
30979    yes:yes)
30980      build_su=yes ;;
30981    yes:*)
30982      as_fn_error $? "su selected, but required PAM header file not available" "$LINENO" 5;;
30983    check:yes)
30984      build_su=yes ;;
30985    check:*)
30986      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PAM header file not found; not building su" >&5
30987$as_echo "$as_me: WARNING: PAM header file not found; not building su" >&2;}
30988      build_su=no ;;
30989    esac
30990  fi
30991
30992
30993
30994
30995  if test "x$build_su" != xno; then
30996
30997    ul_haveone_su=no
30998
30999      if test "x$have_utmpx_h" = xyes; then
31000        ul_haveone_su=yes
31001      fi
31002
31003    case $enable_su:$ul_haveone_su in #(
31004    no:*)
31005      build_su=no ;;
31006    yes:yes)
31007      build_su=yes ;;
31008    yes:*)
31009      as_fn_error $? "su selected, but required utmpx.h header not available" "$LINENO" 5;;
31010    check:yes)
31011      build_su=yes ;;
31012    check:*)
31013      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: utmpx.h header not found; not building su" >&5
31014$as_echo "$as_me: WARNING: utmpx.h header not found; not building su" >&2;}
31015      build_su=no ;;
31016    esac
31017  fi
31018
31019
31020
31021
31022  if test "x$build_su" != xno; then
31023
31024    ul_haveone_su=no
31025
31026      if test "x$have_gnu_utmpx" = xyes; then
31027        ul_haveone_su=yes
31028      fi
31029
31030    case $enable_su:$ul_haveone_su in #(
31031    no:*)
31032      build_su=no ;;
31033    yes:yes)
31034      build_su=yes ;;
31035    yes:*)
31036      as_fn_error $? "su selected, but required GNU utmpx functions not available" "$LINENO" 5;;
31037    check:yes)
31038      build_su=yes ;;
31039    check:*)
31040      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU utmpx functions not found; not building su" >&5
31041$as_echo "$as_me: WARNING: GNU utmpx functions not found; not building su" >&2;}
31042      build_su=no ;;
31043    esac
31044  fi
31045
31046 if test "x$build_su" = xyes; then
31047  BUILD_SU_TRUE=
31048  BUILD_SU_FALSE='#'
31049else
31050  BUILD_SU_TRUE='#'
31051  BUILD_SU_FALSE=
31052fi
31053
31054
31055
31056# Check whether --enable-runuser was given.
31057if test "${enable_runuser+set}" = set; then :
31058  enableval=$enable_runuser;
31059else
31060
31061
31062  if test "x$ul_default_estate" != x; then
31063    enable_runuser=$ul_default_estate
31064  else
31065    enable_runuser=check
31066  fi
31067
31068
31069fi
31070
31071
31072
31073  if test "x$enable_runuser" = xno; then
31074   build_runuser=no
31075else
31076   build_runuser=yes
31077fi
31078
31079
31080
31081
31082  if test "x$build_runuser" != xno; then
31083
31084    ul_haveone_runuser=no
31085
31086      if test "x$have_security_pam_appl_h" = xyes; then
31087        ul_haveone_runuser=yes
31088      fi
31089
31090    case $enable_runuser:$ul_haveone_runuser in #(
31091    no:*)
31092      build_runuser=no ;;
31093    yes:yes)
31094      build_runuser=yes ;;
31095    yes:*)
31096      as_fn_error $? "runuser selected, but required PAM header file not available" "$LINENO" 5;;
31097    check:yes)
31098      build_runuser=yes ;;
31099    check:*)
31100      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PAM header file not found; not building runuser" >&5
31101$as_echo "$as_me: WARNING: PAM header file not found; not building runuser" >&2;}
31102      build_runuser=no ;;
31103    esac
31104  fi
31105
31106
31107
31108
31109  if test "x$build_runuser" != xno; then
31110
31111    ul_haveone_runuser=no
31112
31113      if test "x$have_utmpx_h" = xyes; then
31114        ul_haveone_runuser=yes
31115      fi
31116
31117    case $enable_runuser:$ul_haveone_runuser in #(
31118    no:*)
31119      build_runuser=no ;;
31120    yes:yes)
31121      build_runuser=yes ;;
31122    yes:*)
31123      as_fn_error $? "runuser selected, but required utmpx.h header not available" "$LINENO" 5;;
31124    check:yes)
31125      build_runuser=yes ;;
31126    check:*)
31127      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: utmpx.h header not found; not building runuser" >&5
31128$as_echo "$as_me: WARNING: utmpx.h header not found; not building runuser" >&2;}
31129      build_runuser=no ;;
31130    esac
31131  fi
31132
31133
31134
31135
31136  if test "x$build_runuser" != xno; then
31137
31138    ul_haveone_runuser=no
31139
31140      if test "x$have_gnu_utmpx" = xyes; then
31141        ul_haveone_runuser=yes
31142      fi
31143
31144    case $enable_runuser:$ul_haveone_runuser in #(
31145    no:*)
31146      build_runuser=no ;;
31147    yes:yes)
31148      build_runuser=yes ;;
31149    yes:*)
31150      as_fn_error $? "runuser selected, but required GNU utmpx functions not available" "$LINENO" 5;;
31151    check:yes)
31152      build_runuser=yes ;;
31153    check:*)
31154      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU utmpx functions not found; not building runuser" >&5
31155$as_echo "$as_me: WARNING: GNU utmpx functions not found; not building runuser" >&2;}
31156      build_runuser=no ;;
31157    esac
31158  fi
31159
31160 if test "x$build_runuser" = xyes; then
31161  BUILD_RUNUSER_TRUE=
31162  BUILD_RUNUSER_FALSE='#'
31163else
31164  BUILD_RUNUSER_TRUE='#'
31165  BUILD_RUNUSER_FALSE=
31166fi
31167
31168
31169
31170# Check whether --enable-ul was given.
31171if test "${enable_ul+set}" = set; then :
31172  enableval=$enable_ul;
31173else
31174
31175
31176  if test "x$ul_default_estate" != x; then
31177    enable_ul=$ul_default_estate
31178  else
31179    enable_ul=check
31180  fi
31181
31182
31183fi
31184
31185
31186
31187  if test "x$enable_ul" = xno; then
31188   build_ul=no
31189else
31190   build_ul=yes
31191fi
31192
31193
31194
31195
31196  if test "x$build_ul" != xno; then
31197
31198    ul_haveone_ul=no
31199
31200      if test "x$have_ncursesw" = xyes; then
31201        ul_haveone_ul=yes
31202      fi
31203
31204      if test "x$have_ncurses" = xyes; then
31205        ul_haveone_ul=yes
31206      fi
31207
31208    case $enable_ul:$ul_haveone_ul in #(
31209    no:*)
31210      build_ul=no ;;
31211    yes:yes)
31212      build_ul=yes ;;
31213    yes:*)
31214      as_fn_error $? "ul selected, but required ncursesw or ncurses libraries not available" "$LINENO" 5;;
31215    check:yes)
31216      build_ul=yes ;;
31217    check:*)
31218      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncursesw or ncurses libraries not found; not building ul" >&5
31219$as_echo "$as_me: WARNING: ncursesw or ncurses libraries not found; not building ul" >&2;}
31220      build_ul=no ;;
31221    esac
31222  fi
31223
31224 if test "x$build_ul" = xyes; then
31225  BUILD_UL_TRUE=
31226  BUILD_UL_FALSE='#'
31227else
31228  BUILD_UL_TRUE='#'
31229  BUILD_UL_FALSE=
31230fi
31231
31232
31233
31234# Check whether --enable-more was given.
31235if test "${enable_more+set}" = set; then :
31236  enableval=$enable_more;
31237else
31238
31239
31240  if test "x$ul_default_estate" != x; then
31241    enable_more=$ul_default_estate
31242  else
31243    enable_more=check
31244  fi
31245
31246
31247fi
31248
31249
31250
31251  if test "x$enable_more" = xno; then
31252   build_more=no
31253else
31254   build_more=yes
31255fi
31256
31257
31258
31259
31260  if test "x$build_more" != xno; then
31261
31262    ul_haveone_more=no
31263
31264      if test "x$have_ncursesw" = xyes; then
31265        ul_haveone_more=yes
31266      fi
31267
31268      if test "x$have_ncurses" = xyes; then
31269        ul_haveone_more=yes
31270      fi
31271
31272    case $enable_more:$ul_haveone_more in #(
31273    no:*)
31274      build_more=no ;;
31275    yes:yes)
31276      build_more=yes ;;
31277    yes:*)
31278      as_fn_error $? "more selected, but required ncursesw or ncurses libraries not available" "$LINENO" 5;;
31279    check:yes)
31280      build_more=yes ;;
31281    check:*)
31282      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncursesw or ncurses libraries not found; not building more" >&5
31283$as_echo "$as_me: WARNING: ncursesw or ncurses libraries not found; not building more" >&2;}
31284      build_more=no ;;
31285    esac
31286  fi
31287
31288
31289
31290  if test "x$build_more" != xno; then
31291
31292    case $enable_more:$linux_os in #(
31293    no:*)
31294      build_more=no ;;
31295    yes:yes)
31296      build_more=yes ;;
31297    yes:*)
31298      as_fn_error $? "more selected for non-linux system" "$LINENO" 5;;
31299    check:yes)
31300      build_more=yes ;;
31301    check:*)
31302      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building more" >&5
31303$as_echo "$as_me: WARNING: non-linux system; not building more" >&2;}
31304      build_more=no ;;
31305    esac
31306  fi
31307
31308 if test "x$build_more" = xyes; then
31309  BUILD_MORE_TRUE=
31310  BUILD_MORE_FALSE='#'
31311else
31312  BUILD_MORE_TRUE='#'
31313  BUILD_MORE_FALSE=
31314fi
31315
31316
31317
31318# Check whether --enable-pg was given.
31319if test "${enable_pg+set}" = set; then :
31320  enableval=$enable_pg;
31321else
31322
31323
31324  if test "x$ul_default_estate" != x; then
31325    enable_pg=$ul_default_estate
31326  else
31327    enable_pg=no
31328  fi
31329
31330
31331fi
31332
31333
31334
31335  if test "x$enable_pg" = xno; then
31336   build_pg=no
31337else
31338   build_pg=yes
31339fi
31340
31341
31342
31343
31344  if test "x$build_pg" != xno; then
31345
31346    ul_haveone_pg=no
31347
31348      if test "x$have_ncursesw" = xyes; then
31349        ul_haveone_pg=yes
31350      fi
31351
31352      if test "x$have_ncurses" = xyes; then
31353        ul_haveone_pg=yes
31354      fi
31355
31356    case $enable_pg:$ul_haveone_pg in #(
31357    no:*)
31358      build_pg=no ;;
31359    yes:yes)
31360      build_pg=yes ;;
31361    yes:*)
31362      as_fn_error $? "pg selected, but required ncursesw or ncurses library not available" "$LINENO" 5;;
31363    check:yes)
31364      build_pg=yes ;;
31365    check:*)
31366      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncursesw or ncurses library not found; not building pg" >&5
31367$as_echo "$as_me: WARNING: ncursesw or ncurses library not found; not building pg" >&2;}
31368      build_pg=no ;;
31369    esac
31370  fi
31371
31372 if test "x$build_pg" = xyes; then
31373  BUILD_PG_TRUE=
31374  BUILD_PG_FALSE='#'
31375else
31376  BUILD_PG_TRUE='#'
31377  BUILD_PG_FALSE=
31378fi
31379
31380
31381
31382# Check whether --enable-setterm was given.
31383if test "${enable_setterm+set}" = set; then :
31384  enableval=$enable_setterm;
31385else
31386
31387
31388  if test "x$ul_default_estate" != x; then
31389    enable_setterm=$ul_default_estate
31390  else
31391    enable_setterm=check
31392  fi
31393
31394
31395fi
31396
31397
31398
31399  if test "x$enable_setterm" = xno; then
31400   build_setterm=no
31401else
31402   build_setterm=yes
31403fi
31404
31405
31406
31407  if test "x$build_setterm" != xno; then
31408
31409    case $enable_setterm:$linux_os in #(
31410    no:*)
31411      build_setterm=no ;;
31412    yes:yes)
31413      build_setterm=yes ;;
31414    yes:*)
31415      as_fn_error $? "setterm selected for non-linux system" "$LINENO" 5;;
31416    check:yes)
31417      build_setterm=yes ;;
31418    check:*)
31419      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building setterm" >&5
31420$as_echo "$as_me: WARNING: non-linux system; not building setterm" >&2;}
31421      build_setterm=no ;;
31422    esac
31423  fi
31424
31425
31426
31427
31428  if test "x$build_setterm" != xno; then
31429
31430    ul_haveone_setterm=no
31431
31432      if test "x$have_ncursesw" = xyes; then
31433        ul_haveone_setterm=yes
31434      fi
31435
31436      if test "x$have_ncurses" = xyes; then
31437        ul_haveone_setterm=yes
31438      fi
31439
31440    case $enable_setterm:$ul_haveone_setterm in #(
31441    no:*)
31442      build_setterm=no ;;
31443    yes:yes)
31444      build_setterm=yes ;;
31445    yes:*)
31446      as_fn_error $? "setterm selected, but required ncursesw or ncurses library not available" "$LINENO" 5;;
31447    check:yes)
31448      build_setterm=yes ;;
31449    check:*)
31450      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncursesw or ncurses library not found; not building setterm" >&5
31451$as_echo "$as_me: WARNING: ncursesw or ncurses library not found; not building setterm" >&2;}
31452      build_setterm=no ;;
31453    esac
31454  fi
31455
31456 if test "x$build_setterm" = xyes; then
31457  BUILD_SETTERM_TRUE=
31458  BUILD_SETTERM_FALSE='#'
31459else
31460  BUILD_SETTERM_TRUE='#'
31461  BUILD_SETTERM_FALSE=
31462fi
31463
31464
31465# build_schedutils= is just configure-only variable to control
31466# ionice, taskset and chrt
31467# Check whether --enable-schedutils was given.
31468if test "${enable_schedutils+set}" = set; then :
31469  enableval=$enable_schedutils;
31470else
31471
31472
31473  if test "x$ul_default_estate" != x; then
31474    enable_schedutils=$ul_default_estate
31475  else
31476    enable_schedutils=check
31477  fi
31478
31479
31480fi
31481
31482
31483
31484
31485
31486
31487
31488  enable_ionice=$enable_schedutils
31489
31490
31491
31492  if test "x$enable_ionice" = xno; then
31493   build_ionice=no
31494else
31495   build_ionice=yes
31496fi
31497
31498
31499
31500
31501
31502  if test "x$build_ionice" != xno; then
31503    if test "x$enable_ionice" = xno; then
31504      build_ionice=no
31505    else
31506
31507
31508  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall ioprio_set" >&5
31509$as_echo_n "checking for syscall ioprio_set... " >&6; }
31510if ${ul_cv_syscall_ioprio_set+:} false; then :
31511  $as_echo_n "(cached) " >&6
31512else
31513  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31514/* end confdefs.h.  */
31515
31516#include <sys/syscall.h>
31517#include <unistd.h>
31518
31519int
31520main ()
31521{
31522int test = SYS_ioprio_set;
31523  ;
31524  return 0;
31525}
31526_ACEOF
31527if ac_fn_c_try_compile "$LINENO"; then :
31528  syscall=SYS_ioprio_set
31529else
31530              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31531/* end confdefs.h.  */
31532
31533#include <sys/syscall.h>
31534#include <unistd.h>
31535
31536int
31537main ()
31538{
31539int test = __NR_ioprio_set;
31540  ;
31541  return 0;
31542}
31543_ACEOF
31544if ac_fn_c_try_compile "$LINENO"; then :
31545  syscall=__NR_ioprio_set
31546else
31547
31548	  syscall=no
31549	  if test "x$linux_os" = xyes; then
31550	    case $host_cpu in
31551	      #(
31552  alpha) syscall="442" ;;  #(
31553  i*86) syscall="289" ;;  #(
31554  ia64*) syscall="1274" ;;  #(
31555  powerpc*) syscall="273" ;;  #(
31556  s390*) syscall="282" ;;  #(
31557  sparc*) syscall="196" ;;  #(
31558  sh*) syscall="288" ;;  #(
31559  x86_64*) syscall="251" ;;
31560	    esac
31561	  fi
31562
31563fi
31564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31565
31566
31567fi
31568rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31569
31570    ul_cv_syscall_ioprio_set=$syscall
31571
31572fi
31573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_ioprio_set" >&5
31574$as_echo "$ul_cv_syscall_ioprio_set" >&6; }
31575  case $ul_cv_syscall_ioprio_set in #(
31576  no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall ioprio_set." >&5
31577$as_echo "$as_me: WARNING: Unable to detect syscall ioprio_set." >&2;} ;;
31578  SYS_*) ;;
31579  *)
31580cat >>confdefs.h <<_ACEOF
31581#define SYS_ioprio_set $ul_cv_syscall_ioprio_set
31582_ACEOF
31583 ;;
31584  esac
31585
31586      case $enable_ionice:$ul_cv_syscall_ioprio_set in #(
31587      no:*)
31588        build_ionice=no ;;
31589      yes:no)
31590        as_fn_error $? "ionice selected but ioprio_set syscall not found" "$LINENO" 5 ;;
31591      check:no)
31592        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ioprio_set syscall not found; not building ionice" >&5
31593$as_echo "$as_me: WARNING: ioprio_set syscall not found; not building ionice" >&2;}
31594        build_ionice=no ;;
31595      *)
31596                build_ionice=yes ;;
31597      esac
31598    fi
31599  fi
31600
31601
31602
31603
31604
31605
31606  if test "x$build_ionice" != xno; then
31607    if test "x$enable_ionice" = xno; then
31608      build_ionice=no
31609    else
31610
31611
31612  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall ioprio_get" >&5
31613$as_echo_n "checking for syscall ioprio_get... " >&6; }
31614if ${ul_cv_syscall_ioprio_get+:} false; then :
31615  $as_echo_n "(cached) " >&6
31616else
31617  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31618/* end confdefs.h.  */
31619
31620#include <sys/syscall.h>
31621#include <unistd.h>
31622
31623int
31624main ()
31625{
31626int test = SYS_ioprio_get;
31627  ;
31628  return 0;
31629}
31630_ACEOF
31631if ac_fn_c_try_compile "$LINENO"; then :
31632  syscall=SYS_ioprio_get
31633else
31634              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31635/* end confdefs.h.  */
31636
31637#include <sys/syscall.h>
31638#include <unistd.h>
31639
31640int
31641main ()
31642{
31643int test = __NR_ioprio_get;
31644  ;
31645  return 0;
31646}
31647_ACEOF
31648if ac_fn_c_try_compile "$LINENO"; then :
31649  syscall=__NR_ioprio_get
31650else
31651
31652	  syscall=no
31653	  if test "x$linux_os" = xyes; then
31654	    case $host_cpu in
31655	      #(
31656  alpha) syscall="443" ;;  #(
31657  i*86) syscall="290" ;;  #(
31658  ia64*) syscall="1275" ;;  #(
31659  powerpc*) syscall="274" ;;  #(
31660  s390*) syscall="283" ;;  #(
31661  sparc*) syscall="218" ;;  #(
31662  sh*) syscall="289" ;;  #(
31663  x86_64*) syscall="252" ;;
31664	    esac
31665	  fi
31666
31667fi
31668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31669
31670
31671fi
31672rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31673
31674    ul_cv_syscall_ioprio_get=$syscall
31675
31676fi
31677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_ioprio_get" >&5
31678$as_echo "$ul_cv_syscall_ioprio_get" >&6; }
31679  case $ul_cv_syscall_ioprio_get in #(
31680  no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall ioprio_get." >&5
31681$as_echo "$as_me: WARNING: Unable to detect syscall ioprio_get." >&2;} ;;
31682  SYS_*) ;;
31683  *)
31684cat >>confdefs.h <<_ACEOF
31685#define SYS_ioprio_get $ul_cv_syscall_ioprio_get
31686_ACEOF
31687 ;;
31688  esac
31689
31690      case $enable_ionice:$ul_cv_syscall_ioprio_get in #(
31691      no:*)
31692        build_ionice=no ;;
31693      yes:no)
31694        as_fn_error $? "ionice selected but ioprio_get syscall not found" "$LINENO" 5 ;;
31695      check:no)
31696        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ioprio_get syscall not found; not building ionice" >&5
31697$as_echo "$as_me: WARNING: ioprio_get syscall not found; not building ionice" >&2;}
31698        build_ionice=no ;;
31699      *)
31700                build_ionice=yes ;;
31701      esac
31702    fi
31703  fi
31704
31705
31706 if test "x$build_ionice" = xyes; then
31707  BUILD_IONICE_TRUE=
31708  BUILD_IONICE_FALSE='#'
31709else
31710  BUILD_IONICE_TRUE='#'
31711  BUILD_IONICE_FALSE=
31712fi
31713
31714
31715
31716
31717
31718
31719
31720  enable_taskset=$enable_schedutils
31721
31722
31723
31724  if test "x$enable_taskset" = xno; then
31725   build_taskset=no
31726else
31727   build_taskset=yes
31728fi
31729
31730
31731
31732
31733  if test "x$build_taskset" != xno; then
31734
31735    ul_haveone_taskset=no
31736
31737      if test "x$have_cpu_set_t" = xyes; then
31738        ul_haveone_taskset=yes
31739      fi
31740
31741    case $enable_taskset:$ul_haveone_taskset in #(
31742    no:*)
31743      build_taskset=no ;;
31744    yes:yes)
31745      build_taskset=yes ;;
31746    yes:*)
31747      as_fn_error $? "taskset selected, but required cpu_set_t type not available" "$LINENO" 5;;
31748    check:yes)
31749      build_taskset=yes ;;
31750    check:*)
31751      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cpu_set_t type not found; not building taskset" >&5
31752$as_echo "$as_me: WARNING: cpu_set_t type not found; not building taskset" >&2;}
31753      build_taskset=no ;;
31754    esac
31755  fi
31756
31757
31758
31759
31760
31761  if test "x$build_taskset" != xno; then
31762    if test "x$enable_taskset" = xno; then
31763      build_taskset=no
31764    else
31765
31766
31767  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall sched_getaffinity" >&5
31768$as_echo_n "checking for syscall sched_getaffinity... " >&6; }
31769if ${ul_cv_syscall_sched_getaffinity+:} false; then :
31770  $as_echo_n "(cached) " >&6
31771else
31772  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31773/* end confdefs.h.  */
31774
31775#include <sys/syscall.h>
31776#include <unistd.h>
31777
31778int
31779main ()
31780{
31781int test = SYS_sched_getaffinity;
31782  ;
31783  return 0;
31784}
31785_ACEOF
31786if ac_fn_c_try_compile "$LINENO"; then :
31787  syscall=SYS_sched_getaffinity
31788else
31789              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31790/* end confdefs.h.  */
31791
31792#include <sys/syscall.h>
31793#include <unistd.h>
31794
31795int
31796main ()
31797{
31798int test = __NR_sched_getaffinity;
31799  ;
31800  return 0;
31801}
31802_ACEOF
31803if ac_fn_c_try_compile "$LINENO"; then :
31804  syscall=__NR_sched_getaffinity
31805else
31806
31807	  syscall=no
31808	  if test "x$linux_os" = xyes; then
31809	    case $host_cpu in
31810
31811	    esac
31812	  fi
31813
31814fi
31815rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31816
31817
31818fi
31819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31820
31821    ul_cv_syscall_sched_getaffinity=$syscall
31822
31823fi
31824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_sched_getaffinity" >&5
31825$as_echo "$ul_cv_syscall_sched_getaffinity" >&6; }
31826  case $ul_cv_syscall_sched_getaffinity in #(
31827  no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall sched_getaffinity." >&5
31828$as_echo "$as_me: WARNING: Unable to detect syscall sched_getaffinity." >&2;} ;;
31829  SYS_*) ;;
31830  *)
31831cat >>confdefs.h <<_ACEOF
31832#define SYS_sched_getaffinity $ul_cv_syscall_sched_getaffinity
31833_ACEOF
31834 ;;
31835  esac
31836
31837      case $enable_taskset:$ul_cv_syscall_sched_getaffinity in #(
31838      no:*)
31839        build_taskset=no ;;
31840      yes:no)
31841        as_fn_error $? "taskset selected but sched_getaffinity syscall not found" "$LINENO" 5 ;;
31842      check:no)
31843        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sched_getaffinity syscall not found; not building taskset" >&5
31844$as_echo "$as_me: WARNING: sched_getaffinity syscall not found; not building taskset" >&2;}
31845        build_taskset=no ;;
31846      *)
31847                build_taskset=yes ;;
31848      esac
31849    fi
31850  fi
31851
31852 if test "x$build_taskset" = xyes; then
31853  BUILD_TASKSET_TRUE=
31854  BUILD_TASKSET_FALSE='#'
31855else
31856  BUILD_TASKSET_TRUE='#'
31857  BUILD_TASKSET_FALSE=
31858fi
31859
31860
31861
31862have_schedsetter=no
31863if test "x$ac_cv_func_sched_setscheduler" = xyes; then :
31864  have_schedsetter=yes
31865elif test "x$ac_cv_func_sched_setattr" = xyes; then :
31866  have_schedsetter=yes
31867fi
31868
31869
31870
31871
31872
31873  enable_chrt=$enable_schedutils
31874
31875
31876
31877  if test "x$enable_chrt" = xno; then
31878   build_chrt=no
31879else
31880   build_chrt=yes
31881fi
31882
31883
31884
31885
31886  if test "x$build_chrt" != xno; then
31887
31888    ul_haveone_chrt=no
31889
31890      if test "x$have_schedsetter" = xyes; then
31891        ul_haveone_chrt=yes
31892      fi
31893
31894    case $enable_chrt:$ul_haveone_chrt in #(
31895    no:*)
31896      build_chrt=no ;;
31897    yes:yes)
31898      build_chrt=yes ;;
31899    yes:*)
31900      as_fn_error $? "chrt selected, but required sched_set functions not available" "$LINENO" 5;;
31901    check:yes)
31902      build_chrt=yes ;;
31903    check:*)
31904      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sched_set functions not found; not building chrt" >&5
31905$as_echo "$as_me: WARNING: sched_set functions not found; not building chrt" >&2;}
31906      build_chrt=no ;;
31907    esac
31908  fi
31909
31910 if test "x$build_chrt" = xyes; then
31911  BUILD_CHRT_TRUE=
31912  BUILD_CHRT_FALSE='#'
31913else
31914  BUILD_CHRT_TRUE='#'
31915  BUILD_CHRT_FALSE=
31916fi
31917
31918
31919if test "x$build_chrt" = xyes; then :
31920
31921
31922
31923  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall sched_setattr" >&5
31924$as_echo_n "checking for syscall sched_setattr... " >&6; }
31925if ${ul_cv_syscall_sched_setattr+:} false; then :
31926  $as_echo_n "(cached) " >&6
31927else
31928  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31929/* end confdefs.h.  */
31930
31931#include <sys/syscall.h>
31932#include <unistd.h>
31933
31934int
31935main ()
31936{
31937int test = SYS_sched_setattr;
31938  ;
31939  return 0;
31940}
31941_ACEOF
31942if ac_fn_c_try_compile "$LINENO"; then :
31943  syscall=SYS_sched_setattr
31944else
31945              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31946/* end confdefs.h.  */
31947
31948#include <sys/syscall.h>
31949#include <unistd.h>
31950
31951int
31952main ()
31953{
31954int test = __NR_sched_setattr;
31955  ;
31956  return 0;
31957}
31958_ACEOF
31959if ac_fn_c_try_compile "$LINENO"; then :
31960  syscall=__NR_sched_setattr
31961else
31962
31963	  syscall=no
31964	  if test "x$linux_os" = xyes; then
31965	    case $host_cpu in
31966
31967	    esac
31968	  fi
31969
31970fi
31971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31972
31973
31974fi
31975rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31976
31977    ul_cv_syscall_sched_setattr=$syscall
31978
31979fi
31980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_sched_setattr" >&5
31981$as_echo "$ul_cv_syscall_sched_setattr" >&6; }
31982  case $ul_cv_syscall_sched_setattr in #(
31983  no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall sched_setattr." >&5
31984$as_echo "$as_me: WARNING: Unable to detect syscall sched_setattr." >&2;} ;;
31985  SYS_*) ;;
31986  *)
31987cat >>confdefs.h <<_ACEOF
31988#define SYS_sched_setattr $ul_cv_syscall_sched_setattr
31989_ACEOF
31990 ;;
31991  esac
31992
31993
31994fi
31995
31996
31997# Check whether --enable-wall was given.
31998if test "${enable_wall+set}" = set; then :
31999  enableval=$enable_wall;
32000else
32001
32002
32003  if test "x$ul_default_estate" != x; then
32004    enable_wall=$ul_default_estate
32005  else
32006    enable_wall=check
32007  fi
32008
32009
32010fi
32011
32012
32013
32014  if test "x$enable_wall" = xno; then
32015   build_wall=no
32016else
32017   build_wall=yes
32018fi
32019
32020
32021
32022
32023  if test "x$build_wall" != xno; then
32024
32025    ul_haveone_wall=no
32026
32027      if test "x$have_utmpx_h" = xyes; then
32028        ul_haveone_wall=yes
32029      fi
32030
32031    case $enable_wall:$ul_haveone_wall in #(
32032    no:*)
32033      build_wall=no ;;
32034    yes:yes)
32035      build_wall=yes ;;
32036    yes:*)
32037      as_fn_error $? "wall selected, but required utmpx.h header not available" "$LINENO" 5;;
32038    check:yes)
32039      build_wall=yes ;;
32040    check:*)
32041      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: utmpx.h header not found; not building wall" >&5
32042$as_echo "$as_me: WARNING: utmpx.h header not found; not building wall" >&2;}
32043      build_wall=no ;;
32044    esac
32045  fi
32046
32047 if test "x$build_wall" = xyes; then
32048  BUILD_WALL_TRUE=
32049  BUILD_WALL_FALSE='#'
32050else
32051  BUILD_WALL_TRUE='#'
32052  BUILD_WALL_FALSE=
32053fi
32054
32055
32056
32057# Check whether --enable-write was given.
32058if test "${enable_write+set}" = set; then :
32059  enableval=$enable_write;
32060else
32061
32062
32063  if test "x$ul_default_estate" != x; then
32064    enable_write=$ul_default_estate
32065  else
32066    enable_write=no
32067  fi
32068
32069
32070fi
32071
32072
32073
32074  if test "x$enable_write" = xno; then
32075   build_write=no
32076else
32077   build_write=yes
32078fi
32079
32080
32081
32082
32083  if test "x$build_write" != xno; then
32084
32085    ul_haveone_write=no
32086
32087      if test "x$have_utmpx_h" = xyes; then
32088        ul_haveone_write=yes
32089      fi
32090
32091    case $enable_write:$ul_haveone_write in #(
32092    no:*)
32093      build_write=no ;;
32094    yes:yes)
32095      build_write=yes ;;
32096    yes:*)
32097      as_fn_error $? "write selected, but required utmpx.h header not available" "$LINENO" 5;;
32098    check:yes)
32099      build_write=yes ;;
32100    check:*)
32101      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: utmpx.h header not found; not building write" >&5
32102$as_echo "$as_me: WARNING: utmpx.h header not found; not building write" >&2;}
32103      build_write=no ;;
32104    esac
32105  fi
32106
32107
32108
32109
32110  if test "x$build_write" != xno; then
32111
32112    ul_haveone_write=no
32113
32114      if test "x$have_gnu_utmpx" = xyes; then
32115        ul_haveone_write=yes
32116      fi
32117
32118    case $enable_write:$ul_haveone_write in #(
32119    no:*)
32120      build_write=no ;;
32121    yes:yes)
32122      build_write=yes ;;
32123    yes:*)
32124      as_fn_error $? "write selected, but required GNU utmpx functions not available" "$LINENO" 5;;
32125    check:yes)
32126      build_write=yes ;;
32127    check:*)
32128      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU utmpx functions not found; not building write" >&5
32129$as_echo "$as_me: WARNING: GNU utmpx functions not found; not building write" >&2;}
32130      build_write=no ;;
32131    esac
32132  fi
32133
32134 if test "x$build_write" = xyes; then
32135  BUILD_WRITE_TRUE=
32136  BUILD_WRITE_FALSE='#'
32137else
32138  BUILD_WRITE_TRUE='#'
32139  BUILD_WRITE_FALSE=
32140fi
32141
32142
32143
32144
32145# Check whether --with-btrfs was given.
32146if test "${with_btrfs+set}" = set; then :
32147  withval=$with_btrfs;
32148else
32149  with_btrfs=check
32150
32151fi
32152
32153have_btrfs=no
32154if test "x$with_btrfs" != xno; then :
32155
32156  case $with_btrfs:$have_linux_btrfs_h in #(
32157  yes:no) :
32158    as_fn_error $? "btrfs selected but linux/btrfs.h not found" "$LINENO" 5 ;; #(
32159  check:no) :
32160    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: linux/btrfs.h not found, do not build with btrfs support" >&5
32161$as_echo "$as_me: WARNING: linux/btrfs.h not found, do not build with btrfs support" >&2;} ;; #(
32162  *:yes) :
32163    have_btrfs=yes
32164
32165$as_echo "#define HAVE_BTRFS_SUPPORT 1" >>confdefs.h
32166
32167   ;; #(
32168  *) :
32169     ;;
32170esac
32171
32172fi
32173 if test "x$have_btrfs" = xyes; then
32174  HAVE_BTRFS_TRUE=
32175  HAVE_BTRFS_FALSE='#'
32176else
32177  HAVE_BTRFS_TRUE='#'
32178  HAVE_BTRFS_FALSE=
32179fi
32180
32181
32182
32183
32184# Check whether --with-systemd was given.
32185if test "${with_systemd+set}" = set; then :
32186  withval=$with_systemd;
32187else
32188  with_systemd=check
32189
32190fi
32191
32192
32193have_systemd=no
32194if test "x$with_systemd" != xno; then :
32195
32196  # new version -- all libsystemd-* libs merged into libsystemd
32197
32198pkg_failed=no
32199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5
32200$as_echo_n "checking for SYSTEMD... " >&6; }
32201
32202if test -n "$SYSTEMD_CFLAGS"; then
32203    pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS"
32204 elif test -n "$PKG_CONFIG"; then
32205    if test -n "$PKG_CONFIG" && \
32206    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
32207  ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
32208  ac_status=$?
32209  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32210  test $ac_status = 0; }; then
32211  pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/null`
32212		      test "x$?" != "x0" && pkg_failed=yes
32213else
32214  pkg_failed=yes
32215fi
32216 else
32217    pkg_failed=untried
32218fi
32219if test -n "$SYSTEMD_LIBS"; then
32220    pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS"
32221 elif test -n "$PKG_CONFIG"; then
32222    if test -n "$PKG_CONFIG" && \
32223    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
32224  ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
32225  ac_status=$?
32226  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32227  test $ac_status = 0; }; then
32228  pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd" 2>/dev/null`
32229		      test "x$?" != "x0" && pkg_failed=yes
32230else
32231  pkg_failed=yes
32232fi
32233 else
32234    pkg_failed=untried
32235fi
32236
32237
32238
32239if test $pkg_failed = yes; then
32240   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32241$as_echo "no" >&6; }
32242
32243if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32244        _pkg_short_errors_supported=yes
32245else
32246        _pkg_short_errors_supported=no
32247fi
32248        if test $_pkg_short_errors_supported = yes; then
32249	        SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1`
32250        else
32251	        SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1`
32252        fi
32253	# Put the nasty error message in config.log where it belongs
32254	echo "$SYSTEMD_PKG_ERRORS" >&5
32255
32256	have_systemd=no
32257elif test $pkg_failed = untried; then
32258     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32259$as_echo "no" >&6; }
32260	have_systemd=no
32261else
32262	SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS
32263	SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS
32264        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32265$as_echo "yes" >&6; }
32266	have_systemd=yes
32267fi
32268  # old versions
32269  if test "x$have_systemd" != "xyes"; then :
32270
32271
32272pkg_failed=no
32273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD_DAEMON" >&5
32274$as_echo_n "checking for SYSTEMD_DAEMON... " >&6; }
32275
32276if test -n "$SYSTEMD_DAEMON_CFLAGS"; then
32277    pkg_cv_SYSTEMD_DAEMON_CFLAGS="$SYSTEMD_DAEMON_CFLAGS"
32278 elif test -n "$PKG_CONFIG"; then
32279    if test -n "$PKG_CONFIG" && \
32280    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
32281  ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
32282  ac_status=$?
32283  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32284  test $ac_status = 0; }; then
32285  pkg_cv_SYSTEMD_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev/null`
32286		      test "x$?" != "x0" && pkg_failed=yes
32287else
32288  pkg_failed=yes
32289fi
32290 else
32291    pkg_failed=untried
32292fi
32293if test -n "$SYSTEMD_DAEMON_LIBS"; then
32294    pkg_cv_SYSTEMD_DAEMON_LIBS="$SYSTEMD_DAEMON_LIBS"
32295 elif test -n "$PKG_CONFIG"; then
32296    if test -n "$PKG_CONFIG" && \
32297    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
32298  ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
32299  ac_status=$?
32300  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32301  test $ac_status = 0; }; then
32302  pkg_cv_SYSTEMD_DAEMON_LIBS=`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/null`
32303		      test "x$?" != "x0" && pkg_failed=yes
32304else
32305  pkg_failed=yes
32306fi
32307 else
32308    pkg_failed=untried
32309fi
32310
32311
32312
32313if test $pkg_failed = yes; then
32314   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32315$as_echo "no" >&6; }
32316
32317if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32318        _pkg_short_errors_supported=yes
32319else
32320        _pkg_short_errors_supported=no
32321fi
32322        if test $_pkg_short_errors_supported = yes; then
32323	        SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
32324        else
32325	        SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
32326        fi
32327	# Put the nasty error message in config.log where it belongs
32328	echo "$SYSTEMD_DAEMON_PKG_ERRORS" >&5
32329
32330	have_systemd_daemon=no
32331elif test $pkg_failed = untried; then
32332     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32333$as_echo "no" >&6; }
32334	have_systemd_daemon=no
32335else
32336	SYSTEMD_DAEMON_CFLAGS=$pkg_cv_SYSTEMD_DAEMON_CFLAGS
32337	SYSTEMD_DAEMON_LIBS=$pkg_cv_SYSTEMD_DAEMON_LIBS
32338        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32339$as_echo "yes" >&6; }
32340	have_systemd_daemon=yes
32341fi
32342
32343pkg_failed=no
32344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD_JOURNAL" >&5
32345$as_echo_n "checking for SYSTEMD_JOURNAL... " >&6; }
32346
32347if test -n "$SYSTEMD_JOURNAL_CFLAGS"; then
32348    pkg_cv_SYSTEMD_JOURNAL_CFLAGS="$SYSTEMD_JOURNAL_CFLAGS"
32349 elif test -n "$PKG_CONFIG"; then
32350    if test -n "$PKG_CONFIG" && \
32351    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
32352  ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
32353  ac_status=$?
32354  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32355  test $ac_status = 0; }; then
32356  pkg_cv_SYSTEMD_JOURNAL_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal" 2>/dev/null`
32357		      test "x$?" != "x0" && pkg_failed=yes
32358else
32359  pkg_failed=yes
32360fi
32361 else
32362    pkg_failed=untried
32363fi
32364if test -n "$SYSTEMD_JOURNAL_LIBS"; then
32365    pkg_cv_SYSTEMD_JOURNAL_LIBS="$SYSTEMD_JOURNAL_LIBS"
32366 elif test -n "$PKG_CONFIG"; then
32367    if test -n "$PKG_CONFIG" && \
32368    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
32369  ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
32370  ac_status=$?
32371  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32372  test $ac_status = 0; }; then
32373  pkg_cv_SYSTEMD_JOURNAL_LIBS=`$PKG_CONFIG --libs "libsystemd-journal" 2>/dev/null`
32374		      test "x$?" != "x0" && pkg_failed=yes
32375else
32376  pkg_failed=yes
32377fi
32378 else
32379    pkg_failed=untried
32380fi
32381
32382
32383
32384if test $pkg_failed = yes; then
32385   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32386$as_echo "no" >&6; }
32387
32388if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32389        _pkg_short_errors_supported=yes
32390else
32391        _pkg_short_errors_supported=no
32392fi
32393        if test $_pkg_short_errors_supported = yes; then
32394	        SYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal" 2>&1`
32395        else
32396	        SYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal" 2>&1`
32397        fi
32398	# Put the nasty error message in config.log where it belongs
32399	echo "$SYSTEMD_JOURNAL_PKG_ERRORS" >&5
32400
32401	have_systemd_journal=no
32402elif test $pkg_failed = untried; then
32403     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32404$as_echo "no" >&6; }
32405	have_systemd_journal=no
32406else
32407	SYSTEMD_JOURNAL_CFLAGS=$pkg_cv_SYSTEMD_JOURNAL_CFLAGS
32408	SYSTEMD_JOURNAL_LIBS=$pkg_cv_SYSTEMD_JOURNAL_LIBS
32409        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32410$as_echo "yes" >&6; }
32411	have_systemd_journal=yes
32412fi
32413    if test "x$have_systemd_daemon" = "xyes" -a "x$have_systemd_journal" = "xyes" ; then :
32414
32415	   have_systemd=yes
32416fi
32417
32418fi
32419  case $with_systemd:$have_systemd in #(
32420  yes:no) :
32421    as_fn_error $? "systemd expected but libsystemd not found" "$LINENO" 5 ;; #(
32422  *:yes) :
32423
32424$as_echo "#define HAVE_LIBSYSTEMD 1" >>confdefs.h
32425
32426   ;; #(
32427  *) :
32428     ;;
32429esac
32430
32431fi
32432 if test "x$have_systemd" = xyes; then
32433  HAVE_SYSTEMD_TRUE=
32434  HAVE_SYSTEMD_FALSE='#'
32435else
32436  HAVE_SYSTEMD_TRUE='#'
32437  HAVE_SYSTEMD_FALSE=
32438fi
32439
32440
32441
32442
32443# Check whether --with-systemdsystemunitdir was given.
32444if test "${with_systemdsystemunitdir+set}" = set; then :
32445  withval=$with_systemdsystemunitdir;
32446else
32447  with_systemdsystemunitdir=check
32448
32449fi
32450
32451if test "x$with_systemdsystemunitdir" = xcheck; then :
32452
32453  if test "x$have_systemd" = xyes; then :
32454
32455    with_systemdsystemunitdir=`$PKG_CONFIG --variable=systemdsystemunitdir systemd`
32456
32457else
32458
32459    with_systemdsystemunitdir=no
32460
32461fi
32462
32463fi
32464if test "x$with_systemdsystemunitdir" != "xno"; then :
32465
32466  systemdsystemunitdir=$with_systemdsystemunitdir
32467
32468
32469fi
32470
32471
32472
32473# Check whether --with-smack was given.
32474if test "${with_smack+set}" = set; then :
32475  withval=$with_smack;
32476else
32477  with_smack=no
32478
32479fi
32480
32481if test "x$with_smack" = xyes; then :
32482
32483
32484$as_echo "#define HAVE_SMACK 1" >>confdefs.h
32485
32486
32487fi
32488
32489
32490# Check whether --with-econf was given.
32491if test "${with_econf+set}" = set; then :
32492  withval=$with_econf;
32493else
32494  with_econf=check
32495
32496fi
32497
32498
32499have_econf=no
32500if test "x$with_econf" != xno; then :
32501
32502
32503pkg_failed=no
32504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECONF" >&5
32505$as_echo_n "checking for ECONF... " >&6; }
32506
32507if test -n "$ECONF_CFLAGS"; then
32508    pkg_cv_ECONF_CFLAGS="$ECONF_CFLAGS"
32509 elif test -n "$PKG_CONFIG"; then
32510    if test -n "$PKG_CONFIG" && \
32511    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeconf\""; } >&5
32512  ($PKG_CONFIG --exists --print-errors "libeconf") 2>&5
32513  ac_status=$?
32514  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32515  test $ac_status = 0; }; then
32516  pkg_cv_ECONF_CFLAGS=`$PKG_CONFIG --cflags "libeconf" 2>/dev/null`
32517		      test "x$?" != "x0" && pkg_failed=yes
32518else
32519  pkg_failed=yes
32520fi
32521 else
32522    pkg_failed=untried
32523fi
32524if test -n "$ECONF_LIBS"; then
32525    pkg_cv_ECONF_LIBS="$ECONF_LIBS"
32526 elif test -n "$PKG_CONFIG"; then
32527    if test -n "$PKG_CONFIG" && \
32528    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeconf\""; } >&5
32529  ($PKG_CONFIG --exists --print-errors "libeconf") 2>&5
32530  ac_status=$?
32531  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32532  test $ac_status = 0; }; then
32533  pkg_cv_ECONF_LIBS=`$PKG_CONFIG --libs "libeconf" 2>/dev/null`
32534		      test "x$?" != "x0" && pkg_failed=yes
32535else
32536  pkg_failed=yes
32537fi
32538 else
32539    pkg_failed=untried
32540fi
32541
32542
32543
32544if test $pkg_failed = yes; then
32545   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32546$as_echo "no" >&6; }
32547
32548if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32549        _pkg_short_errors_supported=yes
32550else
32551        _pkg_short_errors_supported=no
32552fi
32553        if test $_pkg_short_errors_supported = yes; then
32554	        ECONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libeconf" 2>&1`
32555        else
32556	        ECONF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libeconf" 2>&1`
32557        fi
32558	# Put the nasty error message in config.log where it belongs
32559	echo "$ECONF_PKG_ERRORS" >&5
32560
32561	have_econf=no
32562elif test $pkg_failed = untried; then
32563     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32564$as_echo "no" >&6; }
32565	have_econf=no
32566else
32567	ECONF_CFLAGS=$pkg_cv_ECONF_CFLAGS
32568	ECONF_LIBS=$pkg_cv_ECONF_LIBS
32569        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32570$as_echo "yes" >&6; }
32571	have_econf=yes
32572fi
32573    case $with_econf:$have_econf in #(
32574  yes:no) :
32575    as_fn_error $? "libeconf expected but libeconf not found" "$LINENO" 5 ;; #(
32576  *:yes) :
32577
32578$as_echo "#define HAVE_LIBECONF 1" >>confdefs.h
32579
32580   ;; #(
32581  *) :
32582     ;;
32583esac
32584
32585fi
32586 if test "x$have_econf" = xyes; then
32587  HAVE_ECONF_TRUE=
32588  HAVE_ECONF_FALSE='#'
32589else
32590  HAVE_ECONF_TRUE='#'
32591  HAVE_ECONF_FALSE=
32592fi
32593
32594
32595
32596# Check whether --with-vendordir was given.
32597if test "${with_vendordir+set}" = set; then :
32598  withval=$with_vendordir;
32599fi
32600
32601vendordir=$with_vendordir
32602
32603 if test "x$with_vendordir" != x; then
32604  USE_VENDORDIR_TRUE=
32605  USE_VENDORDIR_FALSE='#'
32606else
32607  USE_VENDORDIR_TRUE='#'
32608  USE_VENDORDIR_FALSE=
32609fi
32610
32611if test "x$with_vendordir" != x; then :
32612
32613
32614$as_echo "#define USE_VENDORDIR 1" >>confdefs.h
32615
32616
32617fi
32618
32619
32620
32621# Check whether --with-bashcompletiondir was given.
32622if test "${with_bashcompletiondir+set}" = set; then :
32623  withval=$with_bashcompletiondir;
32624else
32625  if `$PKG_CONFIG --exists bash-completion`; then :
32626
32627    with_bashcompletiondir=`$PKG_CONFIG --variable=completionsdir bash-completion`
32628
32629else
32630
32631    with_bashcompletiondir=${datadir}/bash-completion/completions
32632
32633fi
32634
32635fi
32636
32637bashcompletiondir=$with_bashcompletiondir
32638
32639
32640# Check whether --enable-bash-completion was given.
32641if test "${enable_bash_completion+set}" = set; then :
32642  enableval=$enable_bash_completion;
32643else
32644  enable_bash_completion=yes
32645
32646fi
32647
32648
32649 if test "x$enable_bash_completion" = xyes; then
32650  BUILD_BASH_COMPLETION_TRUE=
32651  BUILD_BASH_COMPLETION_FALSE='#'
32652else
32653  BUILD_BASH_COMPLETION_TRUE='#'
32654  BUILD_BASH_COMPLETION_FALSE=
32655fi
32656
32657
32658
32659
32660# Check whether --with-python was given.
32661if test "${with_python+set}" = set; then :
32662  withval=$with_python;
32663else
32664  with_python=check withval=check
32665
32666fi
32667
32668
32669have_python=no
32670have_libpython=no
32671if test "x$with_python" != xno; then :
32672
32673  # We follow distributions default and look for PKG module name "python"
32674  # (minimal version is 2) but if major version is explicitly specified by
32675  # --with-python=2 or --with-python=3 then we look for PKG module "python2" or
32676  # "python3".
32677  if test "x$withval" != xno -a "x$withval" != xyes -a "x$withval" != xcheck; then :
32678  pymajor="$withval"; PYTHON=python${pymajor}
32679else
32680  pymajor="2"
32681fi
32682
32683  # check for python interpreter
32684
32685
32686
32687
32688
32689
32690        if test -n "$PYTHON"; then
32691      # If the user set $PYTHON, use it and don't search something else.
32692      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= $pymajor" >&5
32693$as_echo_n "checking whether $PYTHON version is >= $pymajor... " >&6; }
32694      prog="import sys
32695# split strings by '.' and convert to numeric.  Append some zeros
32696# because we need at least 4 digits for the hex conversion.
32697# map returns an iterator in Python 3.0 and a list in 2.x
32698minver = list(map(int, '$pymajor'.split('.'))) + [0, 0, 0]
32699minverhex = 0
32700# xrange is not present in Python 3.0 and range returns an iterator
32701for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
32702sys.exit(sys.hexversion < minverhex)"
32703  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
32704   ($PYTHON -c "$prog") >&5 2>&5
32705   ac_status=$?
32706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32707   (exit $ac_status); }; then :
32708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32709$as_echo "yes" >&6; }
32710else
32711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32712$as_echo "no" >&6; }
32713			       as_fn_error $? "Python interpreter is too old" "$LINENO" 5
32714fi
32715      am_display_PYTHON=$PYTHON
32716    else
32717      # Otherwise, try each interpreter until we find one that satisfies
32718      # VERSION.
32719      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= $pymajor" >&5
32720$as_echo_n "checking for a Python interpreter with version >= $pymajor... " >&6; }
32721if ${am_cv_pathless_PYTHON+:} false; then :
32722  $as_echo_n "(cached) " >&6
32723else
32724
32725	for am_cv_pathless_PYTHON in python python2 python3  python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3  python3.2 python3.1 python3.0  python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1  python2.0 none; do
32726	  test "$am_cv_pathless_PYTHON" = none && break
32727	  prog="import sys
32728# split strings by '.' and convert to numeric.  Append some zeros
32729# because we need at least 4 digits for the hex conversion.
32730# map returns an iterator in Python 3.0 and a list in 2.x
32731minver = list(map(int, '$pymajor'.split('.'))) + [0, 0, 0]
32732minverhex = 0
32733# xrange is not present in Python 3.0 and range returns an iterator
32734for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
32735sys.exit(sys.hexversion < minverhex)"
32736  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
32737   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
32738   ac_status=$?
32739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32740   (exit $ac_status); }; then :
32741  break
32742fi
32743	done
32744fi
32745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
32746$as_echo "$am_cv_pathless_PYTHON" >&6; }
32747      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
32748      if test "$am_cv_pathless_PYTHON" = none; then
32749	PYTHON=:
32750      else
32751        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
32752set dummy $am_cv_pathless_PYTHON; ac_word=$2
32753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32754$as_echo_n "checking for $ac_word... " >&6; }
32755if ${ac_cv_path_PYTHON+:} false; then :
32756  $as_echo_n "(cached) " >&6
32757else
32758  case $PYTHON in
32759  [\\/]* | ?:[\\/]*)
32760  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
32761  ;;
32762  *)
32763  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32764for as_dir in $PATH
32765do
32766  IFS=$as_save_IFS
32767  test -z "$as_dir" && as_dir=.
32768    for ac_exec_ext in '' $ac_executable_extensions; do
32769  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32770    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
32771    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
32772    break 2
32773  fi
32774done
32775  done
32776IFS=$as_save_IFS
32777
32778  ;;
32779esac
32780fi
32781PYTHON=$ac_cv_path_PYTHON
32782if test -n "$PYTHON"; then
32783  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
32784$as_echo "$PYTHON" >&6; }
32785else
32786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32787$as_echo "no" >&6; }
32788fi
32789
32790
32791      fi
32792      am_display_PYTHON=$am_cv_pathless_PYTHON
32793    fi
32794
32795
32796  if test "$PYTHON" = :; then
32797      have_python=no
32798  else
32799
32800
32801  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
32802$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
32803if ${am_cv_python_version+:} false; then :
32804  $as_echo_n "(cached) " >&6
32805else
32806  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
32807fi
32808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
32809$as_echo "$am_cv_python_version" >&6; }
32810  PYTHON_VERSION=$am_cv_python_version
32811
32812
32813
32814  PYTHON_PREFIX='${prefix}'
32815
32816  PYTHON_EXEC_PREFIX='${exec_prefix}'
32817
32818
32819
32820  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
32821$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
32822if ${am_cv_python_platform+:} false; then :
32823  $as_echo_n "(cached) " >&6
32824else
32825  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
32826fi
32827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
32828$as_echo "$am_cv_python_platform" >&6; }
32829  PYTHON_PLATFORM=$am_cv_python_platform
32830
32831
32832  # Just factor out some code duplication.
32833  am_python_setup_sysconfig="\
32834import sys
32835# Prefer sysconfig over distutils.sysconfig, for better compatibility
32836# with python 3.x.  See automake bug#10227.
32837try:
32838    import sysconfig
32839except ImportError:
32840    can_use_sysconfig = 0
32841else:
32842    can_use_sysconfig = 1
32843# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
32844# <https://github.com/pypa/virtualenv/issues/118>
32845try:
32846    from platform import python_implementation
32847    if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
32848        can_use_sysconfig = 0
32849except ImportError:
32850    pass"
32851
32852
32853            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
32854$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
32855if ${am_cv_python_pythondir+:} false; then :
32856  $as_echo_n "(cached) " >&6
32857else
32858  if test "x$prefix" = xNONE
32859     then
32860       am_py_prefix=$ac_default_prefix
32861     else
32862       am_py_prefix=$prefix
32863     fi
32864     am_cv_python_pythondir=`$PYTHON -c "
32865$am_python_setup_sysconfig
32866if can_use_sysconfig:
32867    sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
32868else:
32869    from distutils import sysconfig
32870    sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
32871sys.stdout.write(sitedir)"`
32872     case $am_cv_python_pythondir in
32873     $am_py_prefix*)
32874       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
32875       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
32876       ;;
32877     *)
32878       case $am_py_prefix in
32879         /usr|/System*) ;;
32880         *)
32881	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
32882	  ;;
32883       esac
32884       ;;
32885     esac
32886
32887fi
32888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
32889$as_echo "$am_cv_python_pythondir" >&6; }
32890  pythondir=$am_cv_python_pythondir
32891
32892
32893
32894  pkgpythondir=\${pythondir}/$PACKAGE
32895
32896
32897        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
32898$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
32899if ${am_cv_python_pyexecdir+:} false; then :
32900  $as_echo_n "(cached) " >&6
32901else
32902  if test "x$exec_prefix" = xNONE
32903     then
32904       am_py_exec_prefix=$am_py_prefix
32905     else
32906       am_py_exec_prefix=$exec_prefix
32907     fi
32908     am_cv_python_pyexecdir=`$PYTHON -c "
32909$am_python_setup_sysconfig
32910if can_use_sysconfig:
32911    sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
32912else:
32913    from distutils import sysconfig
32914    sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
32915sys.stdout.write(sitedir)"`
32916     case $am_cv_python_pyexecdir in
32917     $am_py_exec_prefix*)
32918       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
32919       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
32920       ;;
32921     *)
32922       case $am_py_exec_prefix in
32923         /usr|/System*) ;;
32924         *)
32925	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
32926	   ;;
32927       esac
32928       ;;
32929     esac
32930
32931fi
32932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
32933$as_echo "$am_cv_python_pyexecdir" >&6; }
32934  pyexecdir=$am_cv_python_pyexecdir
32935
32936
32937
32938  pkgpyexecdir=\${pyexecdir}/$PACKAGE
32939
32940
32941    have_python=yes
32942  fi
32943
32944
32945  case $with_python:$have_python in #(
32946  yes:no) :
32947    as_fn_error $? "python selected but python interpreter not found" "$LINENO" 5 ;; #(
32948  check:no) :
32949    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python interpreter not found, do not build python bindings" >&5
32950$as_echo "$as_me: WARNING: python interpreter not found, do not build python bindings" >&2;} ;; #(
32951  *:yes) :
32952    # check for python development stuff
32953
32954pkg_failed=no
32955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHON" >&5
32956$as_echo_n "checking for PYTHON... " >&6; }
32957
32958if test -n "$PYTHON_CFLAGS"; then
32959    pkg_cv_PYTHON_CFLAGS="$PYTHON_CFLAGS"
32960 elif test -n "$PKG_CONFIG"; then
32961    if test -n "$PKG_CONFIG" && \
32962    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-\$PYTHON_VERSION\""; } >&5
32963  ($PKG_CONFIG --exists --print-errors "python-$PYTHON_VERSION") 2>&5
32964  ac_status=$?
32965  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32966  test $ac_status = 0; }; then
32967  pkg_cv_PYTHON_CFLAGS=`$PKG_CONFIG --cflags "python-$PYTHON_VERSION" 2>/dev/null`
32968		      test "x$?" != "x0" && pkg_failed=yes
32969else
32970  pkg_failed=yes
32971fi
32972 else
32973    pkg_failed=untried
32974fi
32975if test -n "$PYTHON_LIBS"; then
32976    pkg_cv_PYTHON_LIBS="$PYTHON_LIBS"
32977 elif test -n "$PKG_CONFIG"; then
32978    if test -n "$PKG_CONFIG" && \
32979    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-\$PYTHON_VERSION\""; } >&5
32980  ($PKG_CONFIG --exists --print-errors "python-$PYTHON_VERSION") 2>&5
32981  ac_status=$?
32982  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32983  test $ac_status = 0; }; then
32984  pkg_cv_PYTHON_LIBS=`$PKG_CONFIG --libs "python-$PYTHON_VERSION" 2>/dev/null`
32985		      test "x$?" != "x0" && pkg_failed=yes
32986else
32987  pkg_failed=yes
32988fi
32989 else
32990    pkg_failed=untried
32991fi
32992
32993
32994
32995if test $pkg_failed = yes; then
32996   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32997$as_echo "no" >&6; }
32998
32999if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33000        _pkg_short_errors_supported=yes
33001else
33002        _pkg_short_errors_supported=no
33003fi
33004        if test $_pkg_short_errors_supported = yes; then
33005	        PYTHON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "python-$PYTHON_VERSION" 2>&1`
33006        else
33007	        PYTHON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "python-$PYTHON_VERSION" 2>&1`
33008        fi
33009	# Put the nasty error message in config.log where it belongs
33010	echo "$PYTHON_PKG_ERRORS" >&5
33011
33012	have_libpython=no
33013elif test $pkg_failed = untried; then
33014     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33015$as_echo "no" >&6; }
33016	have_libpython=no
33017else
33018	PYTHON_CFLAGS=$pkg_cv_PYTHON_CFLAGS
33019	PYTHON_LIBS=$pkg_cv_PYTHON_LIBS
33020        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33021$as_echo "yes" >&6; }
33022	have_libpython=yes
33023fi
33024   ;; #(
33025  *) :
33026     ;;
33027esac
33028
33029fi
33030
33031
33032# Check whether --enable-pylibmount was given.
33033if test "${enable_pylibmount+set}" = set; then :
33034  enableval=$enable_pylibmount;
33035else
33036
33037
33038  if test "x$ul_default_estate" != x; then
33039    enable_pylibmount=$ul_default_estate
33040  else
33041    enable_pylibmount=check
33042  fi
33043
33044
33045fi
33046
33047
33048
33049  if test "x$enable_pylibmount" = xno; then
33050   build_pylibmount=no
33051else
33052   build_pylibmount=yes
33053fi
33054
33055
33056
33057
33058  if test "x$build_pylibmount" != xno; then
33059
33060    ul_haveone_pylibmount=no
33061
33062      if test "x$have_libpython" = xyes; then
33063        ul_haveone_pylibmount=yes
33064      fi
33065
33066    case $enable_pylibmount:$ul_haveone_pylibmount in #(
33067    no:*)
33068      build_pylibmount=no ;;
33069    yes:yes)
33070      build_pylibmount=yes ;;
33071    yes:*)
33072      as_fn_error $? "pylibmount selected, but required libpython not available" "$LINENO" 5;;
33073    check:yes)
33074      build_pylibmount=yes ;;
33075    check:*)
33076      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libpython not found; not building pylibmount" >&5
33077$as_echo "$as_me: WARNING: libpython not found; not building pylibmount" >&2;}
33078      build_pylibmount=no ;;
33079    esac
33080  fi
33081
33082
33083
33084
33085  if test "x$build_pylibmount" != xno; then
33086    case $enable_pylibmount:$build_libmount in #(
33087    no:*)
33088      build_pylibmount=no ;;
33089    yes:yes)
33090      build_pylibmount=yes ;;
33091    yes:*)
33092      as_fn_error $? "libmount is needed to build pylibmount" "$LINENO" 5;;
33093    check:yes)
33094      build_pylibmount=yes ;;
33095    check:*)
33096      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building pylibmount" >&5
33097$as_echo "$as_me: WARNING: libmount disabled; not building pylibmount" >&2;}
33098      build_pylibmount=no ;;
33099    esac
33100  fi
33101
33102 if test "x$build_pylibmount" = "xyes"; then
33103  BUILD_PYLIBMOUNT_TRUE=
33104  BUILD_PYLIBMOUNT_FALSE='#'
33105else
33106  BUILD_PYLIBMOUNT_TRUE='#'
33107  BUILD_PYLIBMOUNT_FALSE=
33108fi
33109
33110
33111# We need to introduce a verbatim dependency into the Makefile, without automake
33112# trying to interpret it, so push it as a AM_SUBST_NOTMAKE variable.
33113verbatim_pylibmount_dependency='
33114
33115# pylibmountexec module must be installed after usrlib_exec libraries,
33116# otherwise the libtool relink step will fail to find libmount.la and
33117# will try -lmount which is possibly not available.
33118install-pylibmountexecLTLIBRARIES: install-usrlib_execLTLIBRARIES
33119
33120'
33121
33122
33123
33124# Check whether --enable-pg-bell was given.
33125if test "${enable_pg_bell+set}" = set; then :
33126  enableval=$enable_pg_bell;
33127else
33128  enable_pg_bell=yes
33129
33130fi
33131
33132
33133if test "x$enable_pg_bell" = xyes; then :
33134
33135
33136$as_echo "#define PG_BELL 1" >>confdefs.h
33137
33138
33139fi
33140
33141
33142
33143# Check whether --enable-fs-paths-default was given.
33144if test "${enable_fs_paths_default+set}" = set; then :
33145  enableval=$enable_fs_paths_default; case $enableval in #(
33146  yes) :
33147    fs_paths_defaults="/sbin:/sbin/fs.d:/sbin/fs" ;; #(
33148  no) :
33149    fs_paths_defaults="" ;; #(
33150  *) :
33151    fs_paths_defaults="$enableval"
33152   ;;
33153esac
33154else
33155  fs_paths_defaults="/sbin:/sbin/fs.d:/sbin/fs"
33156
33157fi
33158
33159# Check whether --enable-fs-paths-extra was given.
33160if test "${enable_fs_paths_extra+set}" = set; then :
33161  enableval=$enable_fs_paths_extra; case $enableval in #(
33162  yes|no) :
33163    fs_paths_extra="" ;; #(
33164  *) :
33165    fs_paths_extra="$enableval"
33166   ;;
33167esac
33168else
33169  fs_paths_extra=""
33170
33171fi
33172
33173fs_paths="$fs_paths_defaults"
33174if test "x$fs_paths_extra" != "x"; then :
33175
33176  if test "x$fs_paths" != "x"; then :
33177
33178    fs_paths="${fs_paths}:"
33179
33180fi
33181  fs_paths="${fs_paths}${fs_paths_extra}"
33182
33183fi
33184
33185cat >>confdefs.h <<_ACEOF
33186#define FS_SEARCH_PATH "$fs_paths"
33187_ACEOF
33188
33189
33190
33191# Check whether --enable-use-tty-group was given.
33192if test "${enable_use_tty_group+set}" = set; then :
33193  enableval=$enable_use_tty_group;
33194else
33195  enable_use_tty_group=yes
33196
33197fi
33198
33199 if test "x$enable_use_tty_group" = xyes; then
33200  USE_TTY_GROUP_TRUE=
33201  USE_TTY_GROUP_FALSE='#'
33202else
33203  USE_TTY_GROUP_TRUE='#'
33204  USE_TTY_GROUP_FALSE=
33205fi
33206
33207
33208if test "x$enable_use_tty_group" = xyes; then :
33209
33210
33211$as_echo "#define USE_TTY_GROUP 1" >>confdefs.h
33212
33213
33214fi
33215
33216
33217# Check whether --enable-sulogin-emergency-mount was given.
33218if test "${enable_sulogin_emergency_mount+set}" = set; then :
33219  enableval=$enable_sulogin_emergency_mount;
33220else
33221  enable_sulogin_emergency_mount=no
33222
33223fi
33224
33225
33226if test "x$enable_sulogin_emergency_mount" = xyes; then :
33227
33228
33229$as_echo "#define USE_SULOGIN_EMERGENCY_MOUNT 1" >>confdefs.h
33230
33231
33232fi
33233
33234
33235# Check whether --enable-usrdir-path was given.
33236if test "${enable_usrdir_path+set}" = set; then :
33237  enableval=$enable_usrdir_path;
33238else
33239  enable_usrdir_path=no
33240
33241fi
33242
33243
33244if test "x$enable_usrdir_path" = xyes; then :
33245
33246
33247$as_echo "#define USE_USRDIR_PATHS_ONLY 1" >>confdefs.h
33248
33249
33250fi
33251
33252
33253# Check whether --enable-makeinstall-chown was given.
33254if test "${enable_makeinstall_chown+set}" = set; then :
33255  enableval=$enable_makeinstall_chown;
33256else
33257  enable_makeinstall_chown=yes
33258
33259fi
33260
33261 if test "x$enable_makeinstall_chown" = xyes; then
33262  MAKEINSTALL_DO_CHOWN_TRUE=
33263  MAKEINSTALL_DO_CHOWN_FALSE='#'
33264else
33265  MAKEINSTALL_DO_CHOWN_TRUE='#'
33266  MAKEINSTALL_DO_CHOWN_FALSE=
33267fi
33268
33269
33270
33271# Check whether --enable-makeinstall-setuid was given.
33272if test "${enable_makeinstall_setuid+set}" = set; then :
33273  enableval=$enable_makeinstall_setuid;
33274else
33275  enable_makeinstall_setuid=yes
33276
33277fi
33278
33279 if test "x$enable_makeinstall_setuid" = xyes; then
33280  MAKEINSTALL_DO_SETUID_TRUE=
33281  MAKEINSTALL_DO_SETUID_FALSE='#'
33282else
33283  MAKEINSTALL_DO_SETUID_TRUE='#'
33284  MAKEINSTALL_DO_SETUID_FALSE=
33285fi
33286
33287
33288
33289# Check whether --enable-colors-default was given.
33290if test "${enable_colors_default+set}" = set; then :
33291  enableval=$enable_colors_default;
33292else
33293  enable_colors_default=yes
33294
33295fi
33296
33297if test "x$enable_colors_default" = xyes; then :
33298
33299
33300$as_echo "#define USE_COLORS_BY_DEFAULT 1" >>confdefs.h
33301
33302
33303fi
33304
33305
33306
33307# Check whether --with-cryptsetup was given.
33308if test "${with_cryptsetup+set}" = set; then :
33309  withval=$with_cryptsetup;
33310else
33311  with_cryptsetup=no
33312
33313fi
33314
33315
33316if test "x$with_cryptsetup" = xno; then :
33317
33318   if false; then
33319  HAVE_CRYPTSETUP_TRUE=
33320  HAVE_CRYPTSETUP_FALSE='#'
33321else
33322  HAVE_CRYPTSETUP_TRUE='#'
33323  HAVE_CRYPTSETUP_FALSE=
33324fi
33325
33326   if false; then
33327  CRYPTSETUP_VIA_DLOPEN_TRUE=
33328  CRYPTSETUP_VIA_DLOPEN_FALSE='#'
33329else
33330  CRYPTSETUP_VIA_DLOPEN_TRUE='#'
33331  CRYPTSETUP_VIA_DLOPEN_FALSE=
33332fi
33333
33334
33335else
33336
33337
33338pkg_failed=no
33339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CRYPTSETUP" >&5
33340$as_echo_n "checking for CRYPTSETUP... " >&6; }
33341
33342if test -n "$CRYPTSETUP_CFLAGS"; then
33343    pkg_cv_CRYPTSETUP_CFLAGS="$CRYPTSETUP_CFLAGS"
33344 elif test -n "$PKG_CONFIG"; then
33345    if test -n "$PKG_CONFIG" && \
33346    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcryptsetup\""; } >&5
33347  ($PKG_CONFIG --exists --print-errors "libcryptsetup") 2>&5
33348  ac_status=$?
33349  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33350  test $ac_status = 0; }; then
33351  pkg_cv_CRYPTSETUP_CFLAGS=`$PKG_CONFIG --cflags "libcryptsetup" 2>/dev/null`
33352		      test "x$?" != "x0" && pkg_failed=yes
33353else
33354  pkg_failed=yes
33355fi
33356 else
33357    pkg_failed=untried
33358fi
33359if test -n "$CRYPTSETUP_LIBS"; then
33360    pkg_cv_CRYPTSETUP_LIBS="$CRYPTSETUP_LIBS"
33361 elif test -n "$PKG_CONFIG"; then
33362    if test -n "$PKG_CONFIG" && \
33363    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcryptsetup\""; } >&5
33364  ($PKG_CONFIG --exists --print-errors "libcryptsetup") 2>&5
33365  ac_status=$?
33366  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33367  test $ac_status = 0; }; then
33368  pkg_cv_CRYPTSETUP_LIBS=`$PKG_CONFIG --libs "libcryptsetup" 2>/dev/null`
33369		      test "x$?" != "x0" && pkg_failed=yes
33370else
33371  pkg_failed=yes
33372fi
33373 else
33374    pkg_failed=untried
33375fi
33376
33377
33378
33379if test $pkg_failed = yes; then
33380   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33381$as_echo "no" >&6; }
33382
33383if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33384        _pkg_short_errors_supported=yes
33385else
33386        _pkg_short_errors_supported=no
33387fi
33388        if test $_pkg_short_errors_supported = yes; then
33389	        CRYPTSETUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcryptsetup" 2>&1`
33390        else
33391	        CRYPTSETUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcryptsetup" 2>&1`
33392        fi
33393	# Put the nasty error message in config.log where it belongs
33394	echo "$CRYPTSETUP_PKG_ERRORS" >&5
33395
33396	have_cryptsetup=no
33397    if false; then
33398  HAVE_CRYPTSETUP_TRUE=
33399  HAVE_CRYPTSETUP_FALSE='#'
33400else
33401  HAVE_CRYPTSETUP_TRUE='#'
33402  HAVE_CRYPTSETUP_FALSE=
33403fi
33404
33405    if false; then
33406  CRYPTSETUP_VIA_DLOPEN_TRUE=
33407  CRYPTSETUP_VIA_DLOPEN_FALSE='#'
33408else
33409  CRYPTSETUP_VIA_DLOPEN_TRUE='#'
33410  CRYPTSETUP_VIA_DLOPEN_FALSE=
33411fi
33412
33413
33414elif test $pkg_failed = untried; then
33415     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33416$as_echo "no" >&6; }
33417	have_cryptsetup=no
33418    if false; then
33419  HAVE_CRYPTSETUP_TRUE=
33420  HAVE_CRYPTSETUP_FALSE='#'
33421else
33422  HAVE_CRYPTSETUP_TRUE='#'
33423  HAVE_CRYPTSETUP_FALSE=
33424fi
33425
33426    if false; then
33427  CRYPTSETUP_VIA_DLOPEN_TRUE=
33428  CRYPTSETUP_VIA_DLOPEN_FALSE='#'
33429else
33430  CRYPTSETUP_VIA_DLOPEN_TRUE='#'
33431  CRYPTSETUP_VIA_DLOPEN_FALSE=
33432fi
33433
33434
33435else
33436	CRYPTSETUP_CFLAGS=$pkg_cv_CRYPTSETUP_CFLAGS
33437	CRYPTSETUP_LIBS=$pkg_cv_CRYPTSETUP_LIBS
33438        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33439$as_echo "yes" >&6; }
33440
33441$as_echo "#define HAVE_CRYPTSETUP 1" >>confdefs.h
33442
33443
33444  if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcryptsetup\""; } >&5
33445  ($PKG_CONFIG --exists --print-errors "libcryptsetup") 2>&5
33446  ac_status=$?
33447  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33448  test $ac_status = 0; }; then
33449    CRYPTSETUP_LIBS_STATIC=`$PKG_CONFIG --libs --static "libcryptsetup"`
33450  else
33451    as_fn_error $? "pkg-config description of libcryptsetup, needed for static build, is not available" "$LINENO" 5
33452  fi
33453
33454	  if true; then
33455  HAVE_CRYPTSETUP_TRUE=
33456  HAVE_CRYPTSETUP_FALSE='#'
33457else
33458  HAVE_CRYPTSETUP_TRUE='#'
33459  HAVE_CRYPTSETUP_FALSE=
33460fi
33461
33462	 SAVE_CFLAGS="$CFLAGS"
33463	 CFLAGS="$CRYPTSETUP_CFLAGS $CFLAGS"
33464	 SAVE_LIBS="$LIBS"
33465	 LIBS="$CRYPTSETUP_LIBS $LIBS"
33466	 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt_activate_by_signed_key in -lcryptsetup" >&5
33467$as_echo_n "checking for crypt_activate_by_signed_key in -lcryptsetup... " >&6; }
33468if ${ac_cv_lib_cryptsetup_crypt_activate_by_signed_key+:} false; then :
33469  $as_echo_n "(cached) " >&6
33470else
33471  ac_check_lib_save_LIBS=$LIBS
33472LIBS="-lcryptsetup  $LIBS"
33473cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33474/* end confdefs.h.  */
33475
33476/* Override any GCC internal prototype to avoid an error.
33477   Use char because int might match the return type of a GCC
33478   builtin and then its argument prototype would still apply.  */
33479#ifdef __cplusplus
33480extern "C"
33481#endif
33482char crypt_activate_by_signed_key ();
33483int
33484main ()
33485{
33486return crypt_activate_by_signed_key ();
33487  ;
33488  return 0;
33489}
33490_ACEOF
33491if ac_fn_c_try_link "$LINENO"; then :
33492  ac_cv_lib_cryptsetup_crypt_activate_by_signed_key=yes
33493else
33494  ac_cv_lib_cryptsetup_crypt_activate_by_signed_key=no
33495fi
33496rm -f core conftest.err conftest.$ac_objext \
33497    conftest$ac_exeext conftest.$ac_ext
33498LIBS=$ac_check_lib_save_LIBS
33499fi
33500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cryptsetup_crypt_activate_by_signed_key" >&5
33501$as_echo "$ac_cv_lib_cryptsetup_crypt_activate_by_signed_key" >&6; }
33502if test "x$ac_cv_lib_cryptsetup_crypt_activate_by_signed_key" = xyes; then :
33503
33504
33505cat >>confdefs.h <<_ACEOF
33506#define HAVE_CRYPT_ACTIVATE_BY_SIGNED_KEY 1
33507_ACEOF
33508
33509
33510fi
33511
33512	 if test "x$with_cryptsetup" = xdlopen; then :
33513
33514	  LIBS="-ldl $LIBS"
33515	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
33516$as_echo_n "checking for dlsym in -ldl... " >&6; }
33517if ${ac_cv_lib_dl_dlsym+:} false; then :
33518  $as_echo_n "(cached) " >&6
33519else
33520  ac_check_lib_save_LIBS=$LIBS
33521LIBS="-ldl  $LIBS"
33522cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33523/* end confdefs.h.  */
33524
33525/* Override any GCC internal prototype to avoid an error.
33526   Use char because int might match the return type of a GCC
33527   builtin and then its argument prototype would still apply.  */
33528#ifdef __cplusplus
33529extern "C"
33530#endif
33531char dlsym ();
33532int
33533main ()
33534{
33535return dlsym ();
33536  ;
33537  return 0;
33538}
33539_ACEOF
33540if ac_fn_c_try_link "$LINENO"; then :
33541  ac_cv_lib_dl_dlsym=yes
33542else
33543  ac_cv_lib_dl_dlsym=no
33544fi
33545rm -f core conftest.err conftest.$ac_objext \
33546    conftest$ac_exeext conftest.$ac_ext
33547LIBS=$ac_check_lib_save_LIBS
33548fi
33549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
33550$as_echo "$ac_cv_lib_dl_dlsym" >&6; }
33551if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
33552
33553
33554$as_echo "#define CRYPTSETUP_VIA_DLOPEN 1" >>confdefs.h
33555
33556	     if true; then
33557  CRYPTSETUP_VIA_DLOPEN_TRUE=
33558  CRYPTSETUP_VIA_DLOPEN_FALSE='#'
33559else
33560  CRYPTSETUP_VIA_DLOPEN_TRUE='#'
33561  CRYPTSETUP_VIA_DLOPEN_FALSE=
33562fi
33563
33564
33565else
33566  as_fn_error $? "libdl required to build with cryptsetup support" "$LINENO" 5
33567fi
33568
33569
33570else
33571
33572	   if false; then
33573  CRYPTSETUP_VIA_DLOPEN_TRUE=
33574  CRYPTSETUP_VIA_DLOPEN_FALSE='#'
33575else
33576  CRYPTSETUP_VIA_DLOPEN_TRUE='#'
33577  CRYPTSETUP_VIA_DLOPEN_FALSE=
33578fi
33579
33580
33581fi
33582	 CFLAGS="$SAVE_CFLAGS"
33583	 LIBS="$SAVE_LIBS"
33584	 have_cryptsetup=yes
33585fi
33586
33587  case $with_cryptsetup:$have_cryptsetup in #(
33588  yes:no) :
33589    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cryptsetup selected but libcryptsetup not found" >&5
33590$as_echo "$as_me: WARNING: cryptsetup selected but libcryptsetup not found" >&2;}
33591   ;; #(
33592  *) :
33593     ;;
33594esac
33595
33596fi
33597
33598
33599
33600
33601
33602
33603
33604
33605
33606
33607
33608
33609
33610
33611if test "x$ADJTIME_PATH" = x; then :
33612  ADJTIME_PATH="/etc/adjtime"
33613fi
33614
33615cat >>confdefs.h <<_ACEOF
33616#define CONFIG_ADJTIME_PATH "$ADJTIME_PATH"
33617_ACEOF
33618
33619
33620
33621LIBS=""
33622
33623
33624ac_config_headers="$ac_config_headers config.h"
33625
33626
33627#
33628# Don't use configure.ac to replace install paths! See Makefile PATHFILES for
33629# more details.
33630#
33631ac_config_files="$ac_config_files Makefile libblkid/docs/Makefile libblkid/docs/version.xml libblkid/src/blkid.h libfdisk/docs/Makefile libfdisk/docs/version.xml libfdisk/src/libfdisk.h libmount/docs/Makefile libmount/docs/version.xml libmount/src/libmount.h libsmartcols/docs/Makefile libsmartcols/docs/version.xml libsmartcols/src/libsmartcols.h po/Makefile.in"
33632
33633
33634cat >confcache <<\_ACEOF
33635# This file is a shell script that caches the results of configure
33636# tests run on this system so they can be shared between configure
33637# scripts and configure runs, see configure's option --config-cache.
33638# It is not useful on other systems.  If it contains results you don't
33639# want to keep, you may remove or edit it.
33640#
33641# config.status only pays attention to the cache file if you give it
33642# the --recheck option to rerun configure.
33643#
33644# `ac_cv_env_foo' variables (set or unset) will be overridden when
33645# loading this file, other *unset* `ac_cv_foo' will be assigned the
33646# following values.
33647
33648_ACEOF
33649
33650# The following way of writing the cache mishandles newlines in values,
33651# but we know of no workaround that is simple, portable, and efficient.
33652# So, we kill variables containing newlines.
33653# Ultrix sh set writes to stderr and can't be redirected directly,
33654# and sets the high bit in the cache file unless we assign to the vars.
33655(
33656  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33657    eval ac_val=\$$ac_var
33658    case $ac_val in #(
33659    *${as_nl}*)
33660      case $ac_var in #(
33661      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
33662$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
33663      esac
33664      case $ac_var in #(
33665      _ | IFS | as_nl) ;; #(
33666      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
33667      *) { eval $ac_var=; unset $ac_var;} ;;
33668      esac ;;
33669    esac
33670  done
33671
33672  (set) 2>&1 |
33673    case $as_nl`(ac_space=' '; set) 2>&1` in #(
33674    *${as_nl}ac_space=\ *)
33675      # `set' does not quote correctly, so add quotes: double-quote
33676      # substitution turns \\\\ into \\, and sed turns \\ into \.
33677      sed -n \
33678	"s/'/'\\\\''/g;
33679	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33680      ;; #(
33681    *)
33682      # `set' quotes correctly as required by POSIX, so do not add quotes.
33683      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33684      ;;
33685    esac |
33686    sort
33687) |
33688  sed '
33689     /^ac_cv_env_/b end
33690     t clear
33691     :clear
33692     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33693     t end
33694     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33695     :end' >>confcache
33696if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33697  if test -w "$cache_file"; then
33698    if test "x$cache_file" != "x/dev/null"; then
33699      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
33700$as_echo "$as_me: updating cache $cache_file" >&6;}
33701      if test ! -f "$cache_file" || test -h "$cache_file"; then
33702	cat confcache >"$cache_file"
33703      else
33704        case $cache_file in #(
33705        */* | ?:*)
33706	  mv -f confcache "$cache_file"$$ &&
33707	  mv -f "$cache_file"$$ "$cache_file" ;; #(
33708        *)
33709	  mv -f confcache "$cache_file" ;;
33710	esac
33711      fi
33712    fi
33713  else
33714    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
33715$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33716  fi
33717fi
33718rm -f confcache
33719
33720test "x$prefix" = xNONE && prefix=$ac_default_prefix
33721# Let make expand exec_prefix.
33722test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33723
33724DEFS=-DHAVE_CONFIG_H
33725
33726ac_libobjs=
33727ac_ltlibobjs=
33728U=
33729for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33730  # 1. Remove the extension, and $U if already installed.
33731  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33732  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
33733  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
33734  #    will be set to the directory where LIBOBJS objects are built.
33735  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33736  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
33737done
33738LIBOBJS=$ac_libobjs
33739
33740LTLIBOBJS=$ac_ltlibobjs
33741
33742
33743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
33744$as_echo_n "checking that generated files are newer than configure... " >&6; }
33745   if test -n "$am_sleep_pid"; then
33746     # Hide warnings about reused PIDs.
33747     wait $am_sleep_pid 2>/dev/null
33748   fi
33749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
33750$as_echo "done" >&6; }
33751if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33752  as_fn_error $? "conditional \"AMDEP\" was never defined.
33753Usually this means the macro was only invoked conditionally." "$LINENO" 5
33754fi
33755if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33756  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
33757Usually this means the macro was only invoked conditionally." "$LINENO" 5
33758fi
33759 if test -n "$EXEEXT"; then
33760  am__EXEEXT_TRUE=
33761  am__EXEEXT_FALSE='#'
33762else
33763  am__EXEEXT_TRUE='#'
33764  am__EXEEXT_FALSE=
33765fi
33766
33767
33768if test -z "${HAVE_VSCRIPT_TRUE}" && test -z "${HAVE_VSCRIPT_FALSE}"; then
33769  as_fn_error $? "conditional \"HAVE_VSCRIPT\" was never defined.
33770Usually this means the macro was only invoked conditionally." "$LINENO" 5
33771fi
33772if test -z "${HAVE_VSCRIPT_COMPLEX_TRUE}" && test -z "${HAVE_VSCRIPT_COMPLEX_FALSE}"; then
33773  as_fn_error $? "conditional \"HAVE_VSCRIPT_COMPLEX\" was never defined.
33774Usually this means the macro was only invoked conditionally." "$LINENO" 5
33775fi
33776if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
33777  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
33778Usually this means the macro was only invoked conditionally." "$LINENO" 5
33779fi
33780if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
33781  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
33782Usually this means the macro was only invoked conditionally." "$LINENO" 5
33783fi
33784if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
33785  as_fn_error $? "conditional \"LINUX\" was never defined.
33786Usually this means the macro was only invoked conditionally." "$LINENO" 5
33787fi
33788if test -z "${DARWIN_TRUE}" && test -z "${DARWIN_FALSE}"; then
33789  as_fn_error $? "conditional \"DARWIN\" was never defined.
33790Usually this means the macro was only invoked conditionally." "$LINENO" 5
33791fi
33792if test -z "${BSD_TRUE}" && test -z "${BSD_FALSE}"; then
33793  as_fn_error $? "conditional \"BSD\" was never defined.
33794Usually this means the macro was only invoked conditionally." "$LINENO" 5
33795fi
33796if test -z "${ARCH_I86_TRUE}" && test -z "${ARCH_I86_FALSE}"; then
33797  as_fn_error $? "conditional \"ARCH_I86\" was never defined.
33798Usually this means the macro was only invoked conditionally." "$LINENO" 5
33799fi
33800if test -z "${ARCH_86_64_TRUE}" && test -z "${ARCH_86_64_FALSE}"; then
33801  as_fn_error $? "conditional \"ARCH_86_64\" was never defined.
33802Usually this means the macro was only invoked conditionally." "$LINENO" 5
33803fi
33804if test -z "${ARCH_IA64_TRUE}" && test -z "${ARCH_IA64_FALSE}"; then
33805  as_fn_error $? "conditional \"ARCH_IA64\" was never defined.
33806Usually this means the macro was only invoked conditionally." "$LINENO" 5
33807fi
33808if test -z "${ARCH_S390_TRUE}" && test -z "${ARCH_S390_FALSE}"; then
33809  as_fn_error $? "conditional \"ARCH_S390\" was never defined.
33810Usually this means the macro was only invoked conditionally." "$LINENO" 5
33811fi
33812if test -z "${ARCH_SPARC_TRUE}" && test -z "${ARCH_SPARC_FALSE}"; then
33813  as_fn_error $? "conditional \"ARCH_SPARC\" was never defined.
33814Usually this means the macro was only invoked conditionally." "$LINENO" 5
33815fi
33816if test -z "${ARCH_PPC_TRUE}" && test -z "${ARCH_PPC_FALSE}"; then
33817  as_fn_error $? "conditional \"ARCH_PPC\" was never defined.
33818Usually this means the macro was only invoked conditionally." "$LINENO" 5
33819fi
33820if test -z "${ARCH_M68K_TRUE}" && test -z "${ARCH_M68K_FALSE}"; then
33821  as_fn_error $? "conditional \"ARCH_M68K\" was never defined.
33822Usually this means the macro was only invoked conditionally." "$LINENO" 5
33823fi
33824if test -z "${ARCH_MIPS_TRUE}" && test -z "${ARCH_MIPS_FALSE}"; then
33825  as_fn_error $? "conditional \"ARCH_MIPS\" was never defined.
33826Usually this means the macro was only invoked conditionally." "$LINENO" 5
33827fi
33828if test -z "${ARCH_HPPA_TRUE}" && test -z "${ARCH_HPPA_FALSE}"; then
33829  as_fn_error $? "conditional \"ARCH_HPPA\" was never defined.
33830Usually this means the macro was only invoked conditionally." "$LINENO" 5
33831fi
33832if test -z "${HAVE_LINUXPAM_TRUE}" && test -z "${HAVE_LINUXPAM_FALSE}"; then
33833  as_fn_error $? "conditional \"HAVE_LINUXPAM\" was never defined.
33834Usually this means the macro was only invoked conditionally." "$LINENO" 5
33835fi
33836if test -z "${HAVE_LINUXPAM_TRUE}" && test -z "${HAVE_LINUXPAM_FALSE}"; then
33837  as_fn_error $? "conditional \"HAVE_LINUXPAM\" was never defined.
33838Usually this means the macro was only invoked conditionally." "$LINENO" 5
33839fi
33840if test -z "${HAVE_LANGINFO_H_TRUE}" && test -z "${HAVE_LANGINFO_H_FALSE}"; then
33841  as_fn_error $? "conditional \"HAVE_LANGINFO_H\" was never defined.
33842Usually this means the macro was only invoked conditionally." "$LINENO" 5
33843fi
33844if test -z "${HAVE_LANGINFO_H_TRUE}" && test -z "${HAVE_LANGINFO_H_FALSE}"; then
33845  as_fn_error $? "conditional \"HAVE_LANGINFO_H\" was never defined.
33846Usually this means the macro was only invoked conditionally." "$LINENO" 5
33847fi
33848if test -z "${HAVE_OPENAT_TRUE}" && test -z "${HAVE_OPENAT_FALSE}"; then
33849  as_fn_error $? "conditional \"HAVE_OPENAT\" was never defined.
33850Usually this means the macro was only invoked conditionally." "$LINENO" 5
33851fi
33852if test -z "${HAVE_DIRFD_TRUE}" && test -z "${HAVE_DIRFD_FALSE}"; then
33853  as_fn_error $? "conditional \"HAVE_DIRFD\" was never defined.
33854Usually this means the macro was only invoked conditionally." "$LINENO" 5
33855fi
33856if test -z "${HAVE_STATIC_LOSETUP_TRUE}" && test -z "${HAVE_STATIC_LOSETUP_FALSE}"; then
33857  as_fn_error $? "conditional \"HAVE_STATIC_LOSETUP\" was never defined.
33858Usually this means the macro was only invoked conditionally." "$LINENO" 5
33859fi
33860if test -z "${HAVE_STATIC_MOUNT_TRUE}" && test -z "${HAVE_STATIC_MOUNT_FALSE}"; then
33861  as_fn_error $? "conditional \"HAVE_STATIC_MOUNT\" was never defined.
33862Usually this means the macro was only invoked conditionally." "$LINENO" 5
33863fi
33864if test -z "${HAVE_STATIC_UMOUNT_TRUE}" && test -z "${HAVE_STATIC_UMOUNT_FALSE}"; then
33865  as_fn_error $? "conditional \"HAVE_STATIC_UMOUNT\" was never defined.
33866Usually this means the macro was only invoked conditionally." "$LINENO" 5
33867fi
33868if test -z "${HAVE_STATIC_FDISK_TRUE}" && test -z "${HAVE_STATIC_FDISK_FALSE}"; then
33869  as_fn_error $? "conditional \"HAVE_STATIC_FDISK\" was never defined.
33870Usually this means the macro was only invoked conditionally." "$LINENO" 5
33871fi
33872if test -z "${HAVE_STATIC_SFDISK_TRUE}" && test -z "${HAVE_STATIC_SFDISK_FALSE}"; then
33873  as_fn_error $? "conditional \"HAVE_STATIC_SFDISK\" was never defined.
33874Usually this means the macro was only invoked conditionally." "$LINENO" 5
33875fi
33876if test -z "${HAVE_STATIC_BLKID_TRUE}" && test -z "${HAVE_STATIC_BLKID_FALSE}"; then
33877  as_fn_error $? "conditional \"HAVE_STATIC_BLKID\" was never defined.
33878Usually this means the macro was only invoked conditionally." "$LINENO" 5
33879fi
33880if test -z "${HAVE_STATIC_NSENTER_TRUE}" && test -z "${HAVE_STATIC_NSENTER_FALSE}"; then
33881  as_fn_error $? "conditional \"HAVE_STATIC_NSENTER\" was never defined.
33882Usually this means the macro was only invoked conditionally." "$LINENO" 5
33883fi
33884if test -z "${HAVE_STATIC_UNSHARE_TRUE}" && test -z "${HAVE_STATIC_UNSHARE_FALSE}"; then
33885  as_fn_error $? "conditional \"HAVE_STATIC_UNSHARE\" was never defined.
33886Usually this means the macro was only invoked conditionally." "$LINENO" 5
33887fi
33888if test -z "${HAVE_UTIL_TRUE}" && test -z "${HAVE_UTIL_FALSE}"; then
33889  as_fn_error $? "conditional \"HAVE_UTIL\" was never defined.
33890Usually this means the macro was only invoked conditionally." "$LINENO" 5
33891fi
33892if test -z "${HAVE_UTIL_TRUE}" && test -z "${HAVE_UTIL_FALSE}"; then
33893  as_fn_error $? "conditional \"HAVE_UTIL\" was never defined.
33894Usually this means the macro was only invoked conditionally." "$LINENO" 5
33895fi
33896if test -z "${HAVE_PTY_TRUE}" && test -z "${HAVE_PTY_FALSE}"; then
33897  as_fn_error $? "conditional \"HAVE_PTY\" was never defined.
33898Usually this means the macro was only invoked conditionally." "$LINENO" 5
33899fi
33900if test -z "${HAVE_PTY_TRUE}" && test -z "${HAVE_PTY_FALSE}"; then
33901  as_fn_error $? "conditional \"HAVE_PTY\" was never defined.
33902Usually this means the macro was only invoked conditionally." "$LINENO" 5
33903fi
33904if test -z "${HAVE_CPU_SET_T_TRUE}" && test -z "${HAVE_CPU_SET_T_FALSE}"; then
33905  as_fn_error $? "conditional \"HAVE_CPU_SET_T\" was never defined.
33906Usually this means the macro was only invoked conditionally." "$LINENO" 5
33907fi
33908if test -z "${HAVE_LIBCRYPT_TRUE}" && test -z "${HAVE_LIBCRYPT_FALSE}"; then
33909  as_fn_error $? "conditional \"HAVE_LIBCRYPT\" was never defined.
33910Usually this means the macro was only invoked conditionally." "$LINENO" 5
33911fi
33912if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
33913  as_fn_error $? "conditional \"HAVE_SELINUX\" was never defined.
33914Usually this means the macro was only invoked conditionally." "$LINENO" 5
33915fi
33916if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
33917  as_fn_error $? "conditional \"HAVE_SELINUX\" was never defined.
33918Usually this means the macro was only invoked conditionally." "$LINENO" 5
33919fi
33920if test -z "${HAVE_AUDIT_TRUE}" && test -z "${HAVE_AUDIT_FALSE}"; then
33921  as_fn_error $? "conditional \"HAVE_AUDIT\" was never defined.
33922Usually this means the macro was only invoked conditionally." "$LINENO" 5
33923fi
33924if test -z "${HAVE_AUDIT_TRUE}" && test -z "${HAVE_AUDIT_FALSE}"; then
33925  as_fn_error $? "conditional \"HAVE_AUDIT\" was never defined.
33926Usually this means the macro was only invoked conditionally." "$LINENO" 5
33927fi
33928if test -z "${HAVE_UDEV_TRUE}" && test -z "${HAVE_UDEV_FALSE}"; then
33929  as_fn_error $? "conditional \"HAVE_UDEV\" was never defined.
33930Usually this means the macro was only invoked conditionally." "$LINENO" 5
33931fi
33932if test -z "${HAVE_UDEV_TRUE}" && test -z "${HAVE_UDEV_FALSE}"; then
33933  as_fn_error $? "conditional \"HAVE_UDEV\" was never defined.
33934Usually this means the macro was only invoked conditionally." "$LINENO" 5
33935fi
33936if test -z "${HAVE_NCURSES_TRUE}" && test -z "${HAVE_NCURSES_FALSE}"; then
33937  as_fn_error $? "conditional \"HAVE_NCURSES\" was never defined.
33938Usually this means the macro was only invoked conditionally." "$LINENO" 5
33939fi
33940if test -z "${HAVE_SLANG_TRUE}" && test -z "${HAVE_SLANG_FALSE}"; then
33941  as_fn_error $? "conditional \"HAVE_SLANG\" was never defined.
33942Usually this means the macro was only invoked conditionally." "$LINENO" 5
33943fi
33944if test -z "${HAVE_TINFO_TRUE}" && test -z "${HAVE_TINFO_FALSE}"; then
33945  as_fn_error $? "conditional \"HAVE_TINFO\" was never defined.
33946Usually this means the macro was only invoked conditionally." "$LINENO" 5
33947fi
33948if test -z "${HAVE_READLINE_TRUE}" && test -z "${HAVE_READLINE_FALSE}"; then
33949  as_fn_error $? "conditional \"HAVE_READLINE\" was never defined.
33950Usually this means the macro was only invoked conditionally." "$LINENO" 5
33951fi
33952if test -z "${HAVE_READLINE_TRUE}" && test -z "${HAVE_READLINE_FALSE}"; then
33953  as_fn_error $? "conditional \"HAVE_READLINE\" was never defined.
33954Usually this means the macro was only invoked conditionally." "$LINENO" 5
33955fi
33956if test -z "${HAVE_UTEMPTER_TRUE}" && test -z "${HAVE_UTEMPTER_FALSE}"; then
33957  as_fn_error $? "conditional \"HAVE_UTEMPTER\" was never defined.
33958Usually this means the macro was only invoked conditionally." "$LINENO" 5
33959fi
33960if test -z "${HAVE_UTEMPTER_TRUE}" && test -z "${HAVE_UTEMPTER_FALSE}"; then
33961  as_fn_error $? "conditional \"HAVE_UTEMPTER\" was never defined.
33962Usually this means the macro was only invoked conditionally." "$LINENO" 5
33963fi
33964if test -z "${BUILD_LIBUUID_TRUE}" && test -z "${BUILD_LIBUUID_FALSE}"; then
33965  as_fn_error $? "conditional \"BUILD_LIBUUID\" was never defined.
33966Usually this means the macro was only invoked conditionally." "$LINENO" 5
33967fi
33968if test -z "${BUILD_LIBBLKID_TRUE}" && test -z "${BUILD_LIBBLKID_FALSE}"; then
33969  as_fn_error $? "conditional \"BUILD_LIBBLKID\" was never defined.
33970Usually this means the macro was only invoked conditionally." "$LINENO" 5
33971fi
33972if test -z "${BUILD_LIBBLKID_TESTS_TRUE}" && test -z "${BUILD_LIBBLKID_TESTS_FALSE}"; then
33973  as_fn_error $? "conditional \"BUILD_LIBBLKID_TESTS\" was never defined.
33974Usually this means the macro was only invoked conditionally." "$LINENO" 5
33975fi
33976if test -z "${BUILD_LIBMOUNT_TRUE}" && test -z "${BUILD_LIBMOUNT_FALSE}"; then
33977  as_fn_error $? "conditional \"BUILD_LIBMOUNT\" was never defined.
33978Usually this means the macro was only invoked conditionally." "$LINENO" 5
33979fi
33980if test -z "${BUILD_LIBMOUNT_TESTS_TRUE}" && test -z "${BUILD_LIBMOUNT_TESTS_FALSE}"; then
33981  as_fn_error $? "conditional \"BUILD_LIBMOUNT_TESTS\" was never defined.
33982Usually this means the macro was only invoked conditionally." "$LINENO" 5
33983fi
33984if test -z "${BUILD_LIBSMARTCOLS_TRUE}" && test -z "${BUILD_LIBSMARTCOLS_FALSE}"; then
33985  as_fn_error $? "conditional \"BUILD_LIBSMARTCOLS\" was never defined.
33986Usually this means the macro was only invoked conditionally." "$LINENO" 5
33987fi
33988if test -z "${BUILD_LIBFDISK_TRUE}" && test -z "${BUILD_LIBFDISK_FALSE}"; then
33989  as_fn_error $? "conditional \"BUILD_LIBFDISK\" was never defined.
33990Usually this means the macro was only invoked conditionally." "$LINENO" 5
33991fi
33992if test -z "${BUILD_LIBFDISK_TESTS_TRUE}" && test -z "${BUILD_LIBFDISK_TESTS_FALSE}"; then
33993  as_fn_error $? "conditional \"BUILD_LIBFDISK_TESTS\" was never defined.
33994Usually this means the macro was only invoked conditionally." "$LINENO" 5
33995fi
33996if test -z "${BUILD_FDISK_TRUE}" && test -z "${BUILD_FDISK_FALSE}"; then
33997  as_fn_error $? "conditional \"BUILD_FDISK\" was never defined.
33998Usually this means the macro was only invoked conditionally." "$LINENO" 5
33999fi
34000if test -z "${BUILD_SFDISK_TRUE}" && test -z "${BUILD_SFDISK_FALSE}"; then
34001  as_fn_error $? "conditional \"BUILD_SFDISK\" was never defined.
34002Usually this means the macro was only invoked conditionally." "$LINENO" 5
34003fi
34004if test -z "${BUILD_CFDISK_TRUE}" && test -z "${BUILD_CFDISK_FALSE}"; then
34005  as_fn_error $? "conditional \"BUILD_CFDISK\" was never defined.
34006Usually this means the macro was only invoked conditionally." "$LINENO" 5
34007fi
34008if test -z "${BUILD_MOUNT_TRUE}" && test -z "${BUILD_MOUNT_FALSE}"; then
34009  as_fn_error $? "conditional \"BUILD_MOUNT\" was never defined.
34010Usually this means the macro was only invoked conditionally." "$LINENO" 5
34011fi
34012if test -z "${BUILD_LOSETUP_TRUE}" && test -z "${BUILD_LOSETUP_FALSE}"; then
34013  as_fn_error $? "conditional \"BUILD_LOSETUP\" was never defined.
34014Usually this means the macro was only invoked conditionally." "$LINENO" 5
34015fi
34016if test -z "${BUILD_ZRAMCTL_TRUE}" && test -z "${BUILD_ZRAMCTL_FALSE}"; then
34017  as_fn_error $? "conditional \"BUILD_ZRAMCTL\" was never defined.
34018Usually this means the macro was only invoked conditionally." "$LINENO" 5
34019fi
34020if test -z "${BUILD_FSCK_TRUE}" && test -z "${BUILD_FSCK_FALSE}"; then
34021  as_fn_error $? "conditional \"BUILD_FSCK\" was never defined.
34022Usually this means the macro was only invoked conditionally." "$LINENO" 5
34023fi
34024if test -z "${BUILD_PARTX_TRUE}" && test -z "${BUILD_PARTX_FALSE}"; then
34025  as_fn_error $? "conditional \"BUILD_PARTX\" was never defined.
34026Usually this means the macro was only invoked conditionally." "$LINENO" 5
34027fi
34028if test -z "${BUILD_UUIDD_TRUE}" && test -z "${BUILD_UUIDD_FALSE}"; then
34029  as_fn_error $? "conditional \"BUILD_UUIDD\" was never defined.
34030Usually this means the macro was only invoked conditionally." "$LINENO" 5
34031fi
34032if test -z "${BUILD_UUIDGEN_TRUE}" && test -z "${BUILD_UUIDGEN_FALSE}"; then
34033  as_fn_error $? "conditional \"BUILD_UUIDGEN\" was never defined.
34034Usually this means the macro was only invoked conditionally." "$LINENO" 5
34035fi
34036if test -z "${BUILD_UUIDPARSE_TRUE}" && test -z "${BUILD_UUIDPARSE_FALSE}"; then
34037  as_fn_error $? "conditional \"BUILD_UUIDPARSE\" was never defined.
34038Usually this means the macro was only invoked conditionally." "$LINENO" 5
34039fi
34040if test -z "${BUILD_BLKID_TRUE}" && test -z "${BUILD_BLKID_FALSE}"; then
34041  as_fn_error $? "conditional \"BUILD_BLKID\" was never defined.
34042Usually this means the macro was only invoked conditionally." "$LINENO" 5
34043fi
34044if test -z "${BUILD_FINDFS_TRUE}" && test -z "${BUILD_FINDFS_FALSE}"; then
34045  as_fn_error $? "conditional \"BUILD_FINDFS\" was never defined.
34046Usually this means the macro was only invoked conditionally." "$LINENO" 5
34047fi
34048if test -z "${BUILD_WIPEFS_TRUE}" && test -z "${BUILD_WIPEFS_FALSE}"; then
34049  as_fn_error $? "conditional \"BUILD_WIPEFS\" was never defined.
34050Usually this means the macro was only invoked conditionally." "$LINENO" 5
34051fi
34052if test -z "${BUILD_FINDMNT_TRUE}" && test -z "${BUILD_FINDMNT_FALSE}"; then
34053  as_fn_error $? "conditional \"BUILD_FINDMNT\" was never defined.
34054Usually this means the macro was only invoked conditionally." "$LINENO" 5
34055fi
34056if test -z "${BUILD_MOUNTPOINT_TRUE}" && test -z "${BUILD_MOUNTPOINT_FALSE}"; then
34057  as_fn_error $? "conditional \"BUILD_MOUNTPOINT\" was never defined.
34058Usually this means the macro was only invoked conditionally." "$LINENO" 5
34059fi
34060if test -z "${BUILD_FALLOCATE_TRUE}" && test -z "${BUILD_FALLOCATE_FALSE}"; then
34061  as_fn_error $? "conditional \"BUILD_FALLOCATE\" was never defined.
34062Usually this means the macro was only invoked conditionally." "$LINENO" 5
34063fi
34064if test -z "${BUILD_UNSHARE_TRUE}" && test -z "${BUILD_UNSHARE_FALSE}"; then
34065  as_fn_error $? "conditional \"BUILD_UNSHARE\" was never defined.
34066Usually this means the macro was only invoked conditionally." "$LINENO" 5
34067fi
34068if test -z "${BUILD_NSENTER_TRUE}" && test -z "${BUILD_NSENTER_FALSE}"; then
34069  as_fn_error $? "conditional \"BUILD_NSENTER\" was never defined.
34070Usually this means the macro was only invoked conditionally." "$LINENO" 5
34071fi
34072if test -z "${HAVE_CAP_NG_TRUE}" && test -z "${HAVE_CAP_NG_FALSE}"; then
34073  as_fn_error $? "conditional \"HAVE_CAP_NG\" was never defined.
34074Usually this means the macro was only invoked conditionally." "$LINENO" 5
34075fi
34076if test -z "${HAVE_CAP_NG_TRUE}" && test -z "${HAVE_CAP_NG_FALSE}"; then
34077  as_fn_error $? "conditional \"HAVE_CAP_NG\" was never defined.
34078Usually this means the macro was only invoked conditionally." "$LINENO" 5
34079fi
34080if test -z "${BUILD_SETPRIV_TRUE}" && test -z "${BUILD_SETPRIV_FALSE}"; then
34081  as_fn_error $? "conditional \"BUILD_SETPRIV\" was never defined.
34082Usually this means the macro was only invoked conditionally." "$LINENO" 5
34083fi
34084if test -z "${HAVE_PCRE_TRUE}" && test -z "${HAVE_PCRE_FALSE}"; then
34085  as_fn_error $? "conditional \"HAVE_PCRE\" was never defined.
34086Usually this means the macro was only invoked conditionally." "$LINENO" 5
34087fi
34088if test -z "${BUILD_HARDLINK_TRUE}" && test -z "${BUILD_HARDLINK_FALSE}"; then
34089  as_fn_error $? "conditional \"BUILD_HARDLINK\" was never defined.
34090Usually this means the macro was only invoked conditionally." "$LINENO" 5
34091fi
34092if test -z "${BUILD_EJECT_TRUE}" && test -z "${BUILD_EJECT_FALSE}"; then
34093  as_fn_error $? "conditional \"BUILD_EJECT\" was never defined.
34094Usually this means the macro was only invoked conditionally." "$LINENO" 5
34095fi
34096if test -z "${BUILD_AGETTY_TRUE}" && test -z "${BUILD_AGETTY_FALSE}"; then
34097  as_fn_error $? "conditional \"BUILD_AGETTY\" was never defined.
34098Usually this means the macro was only invoked conditionally." "$LINENO" 5
34099fi
34100if test -z "${USE_PLYMOUTH_SUPPORT_TRUE}" && test -z "${USE_PLYMOUTH_SUPPORT_FALSE}"; then
34101  as_fn_error $? "conditional \"USE_PLYMOUTH_SUPPORT\" was never defined.
34102Usually this means the macro was only invoked conditionally." "$LINENO" 5
34103fi
34104if test -z "${BUILD_CRAMFS_TRUE}" && test -z "${BUILD_CRAMFS_FALSE}"; then
34105  as_fn_error $? "conditional \"BUILD_CRAMFS\" was never defined.
34106Usually this means the macro was only invoked conditionally." "$LINENO" 5
34107fi
34108if test -z "${BUILD_BFS_TRUE}" && test -z "${BUILD_BFS_FALSE}"; then
34109  as_fn_error $? "conditional \"BUILD_BFS\" was never defined.
34110Usually this means the macro was only invoked conditionally." "$LINENO" 5
34111fi
34112if test -z "${BUILD_MINIX_TRUE}" && test -z "${BUILD_MINIX_FALSE}"; then
34113  as_fn_error $? "conditional \"BUILD_MINIX\" was never defined.
34114Usually this means the macro was only invoked conditionally." "$LINENO" 5
34115fi
34116if test -z "${BUILD_FDFORMAT_TRUE}" && test -z "${BUILD_FDFORMAT_FALSE}"; then
34117  as_fn_error $? "conditional \"BUILD_FDFORMAT\" was never defined.
34118Usually this means the macro was only invoked conditionally." "$LINENO" 5
34119fi
34120if test -z "${BUILD_HWCLOCK_TRUE}" && test -z "${BUILD_HWCLOCK_FALSE}"; then
34121  as_fn_error $? "conditional \"BUILD_HWCLOCK\" was never defined.
34122Usually this means the macro was only invoked conditionally." "$LINENO" 5
34123fi
34124if test -z "${USE_HWCLOCK_CMOS_TRUE}" && test -z "${USE_HWCLOCK_CMOS_FALSE}"; then
34125  as_fn_error $? "conditional \"USE_HWCLOCK_CMOS\" was never defined.
34126Usually this means the macro was only invoked conditionally." "$LINENO" 5
34127fi
34128if test -z "${USE_HWCLOCK_GPLv3_DATETIME_TRUE}" && test -z "${USE_HWCLOCK_GPLv3_DATETIME_FALSE}"; then
34129  as_fn_error $? "conditional \"USE_HWCLOCK_GPLv3_DATETIME\" was never defined.
34130Usually this means the macro was only invoked conditionally." "$LINENO" 5
34131fi
34132if test -z "${BUILD_MKFS_TRUE}" && test -z "${BUILD_MKFS_FALSE}"; then
34133  as_fn_error $? "conditional \"BUILD_MKFS\" was never defined.
34134Usually this means the macro was only invoked conditionally." "$LINENO" 5
34135fi
34136if test -z "${BUILD_ISOSIZE_TRUE}" && test -z "${BUILD_ISOSIZE_FALSE}"; then
34137  as_fn_error $? "conditional \"BUILD_ISOSIZE\" was never defined.
34138Usually this means the macro was only invoked conditionally." "$LINENO" 5
34139fi
34140if test -z "${BUILD_FSTRIM_TRUE}" && test -z "${BUILD_FSTRIM_FALSE}"; then
34141  as_fn_error $? "conditional \"BUILD_FSTRIM\" was never defined.
34142Usually this means the macro was only invoked conditionally." "$LINENO" 5
34143fi
34144if test -z "${BUILD_SWAPON_TRUE}" && test -z "${BUILD_SWAPON_FALSE}"; then
34145  as_fn_error $? "conditional \"BUILD_SWAPON\" was never defined.
34146Usually this means the macro was only invoked conditionally." "$LINENO" 5
34147fi
34148if test -z "${BUILD_LSBLK_TRUE}" && test -z "${BUILD_LSBLK_FALSE}"; then
34149  as_fn_error $? "conditional \"BUILD_LSBLK\" was never defined.
34150Usually this means the macro was only invoked conditionally." "$LINENO" 5
34151fi
34152if test -z "${BUILD_LSCPU_TRUE}" && test -z "${BUILD_LSCPU_FALSE}"; then
34153  as_fn_error $? "conditional \"BUILD_LSCPU\" was never defined.
34154Usually this means the macro was only invoked conditionally." "$LINENO" 5
34155fi
34156if test -z "${BUILD_LSLOGINS_TRUE}" && test -z "${BUILD_LSLOGINS_FALSE}"; then
34157  as_fn_error $? "conditional \"BUILD_LSLOGINS\" was never defined.
34158Usually this means the macro was only invoked conditionally." "$LINENO" 5
34159fi
34160if test -z "${BUILD_CHCPU_TRUE}" && test -z "${BUILD_CHCPU_FALSE}"; then
34161  as_fn_error $? "conditional \"BUILD_CHCPU\" was never defined.
34162Usually this means the macro was only invoked conditionally." "$LINENO" 5
34163fi
34164if test -z "${BUILD_WDCTL_TRUE}" && test -z "${BUILD_WDCTL_FALSE}"; then
34165  as_fn_error $? "conditional \"BUILD_WDCTL\" was never defined.
34166Usually this means the macro was only invoked conditionally." "$LINENO" 5
34167fi
34168if test -z "${BUILD_SWAPLABEL_TRUE}" && test -z "${BUILD_SWAPLABEL_FALSE}"; then
34169  as_fn_error $? "conditional \"BUILD_SWAPLABEL\" was never defined.
34170Usually this means the macro was only invoked conditionally." "$LINENO" 5
34171fi
34172if test -z "${BUILD_MKSWAP_TRUE}" && test -z "${BUILD_MKSWAP_FALSE}"; then
34173  as_fn_error $? "conditional \"BUILD_MKSWAP\" was never defined.
34174Usually this means the macro was only invoked conditionally." "$LINENO" 5
34175fi
34176if test -z "${BUILD_CAL_TRUE}" && test -z "${BUILD_CAL_FALSE}"; then
34177  as_fn_error $? "conditional \"BUILD_CAL\" was never defined.
34178Usually this means the macro was only invoked conditionally." "$LINENO" 5
34179fi
34180if test -z "${BUILD_LOGGER_TRUE}" && test -z "${BUILD_LOGGER_FALSE}"; then
34181  as_fn_error $? "conditional \"BUILD_LOGGER\" was never defined.
34182Usually this means the macro was only invoked conditionally." "$LINENO" 5
34183fi
34184if test -z "${BUILD_LOOK_TRUE}" && test -z "${BUILD_LOOK_FALSE}"; then
34185  as_fn_error $? "conditional \"BUILD_LOOK\" was never defined.
34186Usually this means the macro was only invoked conditionally." "$LINENO" 5
34187fi
34188if test -z "${BUILD_MCOOKIE_TRUE}" && test -z "${BUILD_MCOOKIE_FALSE}"; then
34189  as_fn_error $? "conditional \"BUILD_MCOOKIE\" was never defined.
34190Usually this means the macro was only invoked conditionally." "$LINENO" 5
34191fi
34192if test -z "${BUILD_NAMEI_TRUE}" && test -z "${BUILD_NAMEI_FALSE}"; then
34193  as_fn_error $? "conditional \"BUILD_NAMEI\" was never defined.
34194Usually this means the macro was only invoked conditionally." "$LINENO" 5
34195fi
34196if test -z "${BUILD_WHEREIS_TRUE}" && test -z "${BUILD_WHEREIS_FALSE}"; then
34197  as_fn_error $? "conditional \"BUILD_WHEREIS\" was never defined.
34198Usually this means the macro was only invoked conditionally." "$LINENO" 5
34199fi
34200if test -z "${BUILD_GETOPT_TRUE}" && test -z "${BUILD_GETOPT_FALSE}"; then
34201  as_fn_error $? "conditional \"BUILD_GETOPT\" was never defined.
34202Usually this means the macro was only invoked conditionally." "$LINENO" 5
34203fi
34204if test -z "${BUILD_BLOCKDEV_TRUE}" && test -z "${BUILD_BLOCKDEV_FALSE}"; then
34205  as_fn_error $? "conditional \"BUILD_BLOCKDEV\" was never defined.
34206Usually this means the macro was only invoked conditionally." "$LINENO" 5
34207fi
34208if test -z "${BUILD_PRLIMIT_TRUE}" && test -z "${BUILD_PRLIMIT_FALSE}"; then
34209  as_fn_error $? "conditional \"BUILD_PRLIMIT\" was never defined.
34210Usually this means the macro was only invoked conditionally." "$LINENO" 5
34211fi
34212if test -z "${BUILD_LSLOCKS_TRUE}" && test -z "${BUILD_LSLOCKS_FALSE}"; then
34213  as_fn_error $? "conditional \"BUILD_LSLOCKS\" was never defined.
34214Usually this means the macro was only invoked conditionally." "$LINENO" 5
34215fi
34216if test -z "${BUILD_SWITCH_ROOT_TRUE}" && test -z "${BUILD_SWITCH_ROOT_FALSE}"; then
34217  as_fn_error $? "conditional \"BUILD_SWITCH_ROOT\" was never defined.
34218Usually this means the macro was only invoked conditionally." "$LINENO" 5
34219fi
34220if test -z "${BUILD_PIVOT_ROOT_TRUE}" && test -z "${BUILD_PIVOT_ROOT_FALSE}"; then
34221  as_fn_error $? "conditional \"BUILD_PIVOT_ROOT\" was never defined.
34222Usually this means the macro was only invoked conditionally." "$LINENO" 5
34223fi
34224if test -z "${BUILD_FLOCK_TRUE}" && test -z "${BUILD_FLOCK_FALSE}"; then
34225  as_fn_error $? "conditional \"BUILD_FLOCK\" was never defined.
34226Usually this means the macro was only invoked conditionally." "$LINENO" 5
34227fi
34228if test -z "${BUILD_LSMEM_TRUE}" && test -z "${BUILD_LSMEM_FALSE}"; then
34229  as_fn_error $? "conditional \"BUILD_LSMEM\" was never defined.
34230Usually this means the macro was only invoked conditionally." "$LINENO" 5
34231fi
34232if test -z "${BUILD_CHMEM_TRUE}" && test -z "${BUILD_CHMEM_FALSE}"; then
34233  as_fn_error $? "conditional \"BUILD_CHMEM\" was never defined.
34234Usually this means the macro was only invoked conditionally." "$LINENO" 5
34235fi
34236if test -z "${BUILD_IPCMK_TRUE}" && test -z "${BUILD_IPCMK_FALSE}"; then
34237  as_fn_error $? "conditional \"BUILD_IPCMK\" was never defined.
34238Usually this means the macro was only invoked conditionally." "$LINENO" 5
34239fi
34240if test -z "${BUILD_IPCRM_TRUE}" && test -z "${BUILD_IPCRM_FALSE}"; then
34241  as_fn_error $? "conditional \"BUILD_IPCRM\" was never defined.
34242Usually this means the macro was only invoked conditionally." "$LINENO" 5
34243fi
34244if test -z "${BUILD_IPCS_TRUE}" && test -z "${BUILD_IPCS_FALSE}"; then
34245  as_fn_error $? "conditional \"BUILD_IPCS\" was never defined.
34246Usually this means the macro was only invoked conditionally." "$LINENO" 5
34247fi
34248if test -z "${BUILD_IRQTOP_TRUE}" && test -z "${BUILD_IRQTOP_FALSE}"; then
34249  as_fn_error $? "conditional \"BUILD_IRQTOP\" was never defined.
34250Usually this means the macro was only invoked conditionally." "$LINENO" 5
34251fi
34252if test -z "${BUILD_LSIRQ_TRUE}" && test -z "${BUILD_LSIRQ_FALSE}"; then
34253  as_fn_error $? "conditional \"BUILD_LSIRQ\" was never defined.
34254Usually this means the macro was only invoked conditionally." "$LINENO" 5
34255fi
34256if test -z "${BUILD_CHOOM_TRUE}" && test -z "${BUILD_CHOOM_FALSE}"; then
34257  as_fn_error $? "conditional \"BUILD_CHOOM\" was never defined.
34258Usually this means the macro was only invoked conditionally." "$LINENO" 5
34259fi
34260if test -z "${BUILD_LSIPC_TRUE}" && test -z "${BUILD_LSIPC_FALSE}"; then
34261  as_fn_error $? "conditional \"BUILD_LSIPC\" was never defined.
34262Usually this means the macro was only invoked conditionally." "$LINENO" 5
34263fi
34264if test -z "${BUILD_LSNS_TRUE}" && test -z "${BUILD_LSNS_FALSE}"; then
34265  as_fn_error $? "conditional \"BUILD_LSNS\" was never defined.
34266Usually this means the macro was only invoked conditionally." "$LINENO" 5
34267fi
34268if test -z "${BUILD_RENICE_TRUE}" && test -z "${BUILD_RENICE_FALSE}"; then
34269  as_fn_error $? "conditional \"BUILD_RENICE\" was never defined.
34270Usually this means the macro was only invoked conditionally." "$LINENO" 5
34271fi
34272if test -z "${BUILD_RFKILL_TRUE}" && test -z "${BUILD_RFKILL_FALSE}"; then
34273  as_fn_error $? "conditional \"BUILD_RFKILL\" was never defined.
34274Usually this means the macro was only invoked conditionally." "$LINENO" 5
34275fi
34276if test -z "${BUILD_SETSID_TRUE}" && test -z "${BUILD_SETSID_FALSE}"; then
34277  as_fn_error $? "conditional \"BUILD_SETSID\" was never defined.
34278Usually this means the macro was only invoked conditionally." "$LINENO" 5
34279fi
34280if test -z "${BUILD_READPROFILE_TRUE}" && test -z "${BUILD_READPROFILE_FALSE}"; then
34281  as_fn_error $? "conditional \"BUILD_READPROFILE\" was never defined.
34282Usually this means the macro was only invoked conditionally." "$LINENO" 5
34283fi
34284if test -z "${BUILD_DMESG_TRUE}" && test -z "${BUILD_DMESG_FALSE}"; then
34285  as_fn_error $? "conditional \"BUILD_DMESG\" was never defined.
34286Usually this means the macro was only invoked conditionally." "$LINENO" 5
34287fi
34288if test -z "${BUILD_CTRLALTDEL_TRUE}" && test -z "${BUILD_CTRLALTDEL_FALSE}"; then
34289  as_fn_error $? "conditional \"BUILD_CTRLALTDEL\" was never defined.
34290Usually this means the macro was only invoked conditionally." "$LINENO" 5
34291fi
34292if test -z "${BUILD_FINCORE_TRUE}" && test -z "${BUILD_FINCORE_FALSE}"; then
34293  as_fn_error $? "conditional \"BUILD_FINCORE\" was never defined.
34294Usually this means the macro was only invoked conditionally." "$LINENO" 5
34295fi
34296if test -z "${BUILD_FSFREEZE_TRUE}" && test -z "${BUILD_FSFREEZE_FALSE}"; then
34297  as_fn_error $? "conditional \"BUILD_FSFREEZE\" was never defined.
34298Usually this means the macro was only invoked conditionally." "$LINENO" 5
34299fi
34300if test -z "${BUILD_BLKDISCARD_TRUE}" && test -z "${BUILD_BLKDISCARD_FALSE}"; then
34301  as_fn_error $? "conditional \"BUILD_BLKDISCARD\" was never defined.
34302Usually this means the macro was only invoked conditionally." "$LINENO" 5
34303fi
34304if test -z "${BUILD_BLKZONE_TRUE}" && test -z "${BUILD_BLKZONE_FALSE}"; then
34305  as_fn_error $? "conditional \"BUILD_BLKZONE\" was never defined.
34306Usually this means the macro was only invoked conditionally." "$LINENO" 5
34307fi
34308if test -z "${BUILD_LDATTACH_TRUE}" && test -z "${BUILD_LDATTACH_FALSE}"; then
34309  as_fn_error $? "conditional \"BUILD_LDATTACH\" was never defined.
34310Usually this means the macro was only invoked conditionally." "$LINENO" 5
34311fi
34312if test -z "${BUILD_RTCWAKE_TRUE}" && test -z "${BUILD_RTCWAKE_FALSE}"; then
34313  as_fn_error $? "conditional \"BUILD_RTCWAKE\" was never defined.
34314Usually this means the macro was only invoked conditionally." "$LINENO" 5
34315fi
34316if test -z "${BUILD_SETARCH_TRUE}" && test -z "${BUILD_SETARCH_FALSE}"; then
34317  as_fn_error $? "conditional \"BUILD_SETARCH\" was never defined.
34318Usually this means the macro was only invoked conditionally." "$LINENO" 5
34319fi
34320if test -z "${BUILD_SCRIPT_TRUE}" && test -z "${BUILD_SCRIPT_FALSE}"; then
34321  as_fn_error $? "conditional \"BUILD_SCRIPT\" was never defined.
34322Usually this means the macro was only invoked conditionally." "$LINENO" 5
34323fi
34324if test -z "${BUILD_SCRIPTREPLAY_TRUE}" && test -z "${BUILD_SCRIPTREPLAY_FALSE}"; then
34325  as_fn_error $? "conditional \"BUILD_SCRIPTREPLAY\" was never defined.
34326Usually this means the macro was only invoked conditionally." "$LINENO" 5
34327fi
34328if test -z "${BUILD_SCRIPTLIVE_TRUE}" && test -z "${BUILD_SCRIPTLIVE_FALSE}"; then
34329  as_fn_error $? "conditional \"BUILD_SCRIPTLIVE\" was never defined.
34330Usually this means the macro was only invoked conditionally." "$LINENO" 5
34331fi
34332if test -z "${BUILD_COL_TRUE}" && test -z "${BUILD_COL_FALSE}"; then
34333  as_fn_error $? "conditional \"BUILD_COL\" was never defined.
34334Usually this means the macro was only invoked conditionally." "$LINENO" 5
34335fi
34336if test -z "${BUILD_COLCRT_TRUE}" && test -z "${BUILD_COLCRT_FALSE}"; then
34337  as_fn_error $? "conditional \"BUILD_COLCRT\" was never defined.
34338Usually this means the macro was only invoked conditionally." "$LINENO" 5
34339fi
34340if test -z "${BUILD_COLRM_TRUE}" && test -z "${BUILD_COLRM_FALSE}"; then
34341  as_fn_error $? "conditional \"BUILD_COLRM\" was never defined.
34342Usually this means the macro was only invoked conditionally." "$LINENO" 5
34343fi
34344if test -z "${BUILD_COLUMN_TRUE}" && test -z "${BUILD_COLUMN_FALSE}"; then
34345  as_fn_error $? "conditional \"BUILD_COLUMN\" was never defined.
34346Usually this means the macro was only invoked conditionally." "$LINENO" 5
34347fi
34348if test -z "${BUILD_HEXDUMP_TRUE}" && test -z "${BUILD_HEXDUMP_FALSE}"; then
34349  as_fn_error $? "conditional \"BUILD_HEXDUMP\" was never defined.
34350Usually this means the macro was only invoked conditionally." "$LINENO" 5
34351fi
34352if test -z "${BUILD_REV_TRUE}" && test -z "${BUILD_REV_FALSE}"; then
34353  as_fn_error $? "conditional \"BUILD_REV\" was never defined.
34354Usually this means the macro was only invoked conditionally." "$LINENO" 5
34355fi
34356if test -z "${BUILD_TUNELP_TRUE}" && test -z "${BUILD_TUNELP_FALSE}"; then
34357  as_fn_error $? "conditional \"BUILD_TUNELP\" was never defined.
34358Usually this means the macro was only invoked conditionally." "$LINENO" 5
34359fi
34360if test -z "${BUILD_KILL_TRUE}" && test -z "${BUILD_KILL_FALSE}"; then
34361  as_fn_error $? "conditional \"BUILD_KILL\" was never defined.
34362Usually this means the macro was only invoked conditionally." "$LINENO" 5
34363fi
34364if test -z "${BUILD_LAST_TRUE}" && test -z "${BUILD_LAST_FALSE}"; then
34365  as_fn_error $? "conditional \"BUILD_LAST\" was never defined.
34366Usually this means the macro was only invoked conditionally." "$LINENO" 5
34367fi
34368if test -z "${BUILD_UTMPDUMP_TRUE}" && test -z "${BUILD_UTMPDUMP_FALSE}"; then
34369  as_fn_error $? "conditional \"BUILD_UTMPDUMP\" was never defined.
34370Usually this means the macro was only invoked conditionally." "$LINENO" 5
34371fi
34372if test -z "${BUILD_LINE_TRUE}" && test -z "${BUILD_LINE_FALSE}"; then
34373  as_fn_error $? "conditional \"BUILD_LINE\" was never defined.
34374Usually this means the macro was only invoked conditionally." "$LINENO" 5
34375fi
34376if test -z "${BUILD_MESG_TRUE}" && test -z "${BUILD_MESG_FALSE}"; then
34377  as_fn_error $? "conditional \"BUILD_MESG\" was never defined.
34378Usually this means the macro was only invoked conditionally." "$LINENO" 5
34379fi
34380if test -z "${BUILD_RAW_TRUE}" && test -z "${BUILD_RAW_FALSE}"; then
34381  as_fn_error $? "conditional \"BUILD_RAW\" was never defined.
34382Usually this means the macro was only invoked conditionally." "$LINENO" 5
34383fi
34384if test -z "${BUILD_RENAME_TRUE}" && test -z "${BUILD_RENAME_FALSE}"; then
34385  as_fn_error $? "conditional \"BUILD_RENAME\" was never defined.
34386Usually this means the macro was only invoked conditionally." "$LINENO" 5
34387fi
34388if test -z "${BUILD_VIPW_TRUE}" && test -z "${BUILD_VIPW_FALSE}"; then
34389  as_fn_error $? "conditional \"BUILD_VIPW\" was never defined.
34390Usually this means the macro was only invoked conditionally." "$LINENO" 5
34391fi
34392if test -z "${BUILD_NEWGRP_TRUE}" && test -z "${BUILD_NEWGRP_FALSE}"; then
34393  as_fn_error $? "conditional \"BUILD_NEWGRP\" was never defined.
34394Usually this means the macro was only invoked conditionally." "$LINENO" 5
34395fi
34396if test -z "${HAVE_USER_TRUE}" && test -z "${HAVE_USER_FALSE}"; then
34397  as_fn_error $? "conditional \"HAVE_USER\" was never defined.
34398Usually this means the macro was only invoked conditionally." "$LINENO" 5
34399fi
34400if test -z "${BUILD_CHFN_CHSH_TRUE}" && test -z "${BUILD_CHFN_CHSH_FALSE}"; then
34401  as_fn_error $? "conditional \"BUILD_CHFN_CHSH\" was never defined.
34402Usually this means the macro was only invoked conditionally." "$LINENO" 5
34403fi
34404if test -z "${CHFN_CHSH_PASSWORD_TRUE}" && test -z "${CHFN_CHSH_PASSWORD_FALSE}"; then
34405  as_fn_error $? "conditional \"CHFN_CHSH_PASSWORD\" was never defined.
34406Usually this means the macro was only invoked conditionally." "$LINENO" 5
34407fi
34408if test -z "${BUILD_LOGIN_TRUE}" && test -z "${BUILD_LOGIN_FALSE}"; then
34409  as_fn_error $? "conditional \"BUILD_LOGIN\" was never defined.
34410Usually this means the macro was only invoked conditionally." "$LINENO" 5
34411fi
34412if test -z "${BUILD_NOLOGIN_TRUE}" && test -z "${BUILD_NOLOGIN_FALSE}"; then
34413  as_fn_error $? "conditional \"BUILD_NOLOGIN\" was never defined.
34414Usually this means the macro was only invoked conditionally." "$LINENO" 5
34415fi
34416if test -z "${BUILD_SULOGIN_TRUE}" && test -z "${BUILD_SULOGIN_FALSE}"; then
34417  as_fn_error $? "conditional \"BUILD_SULOGIN\" was never defined.
34418Usually this means the macro was only invoked conditionally." "$LINENO" 5
34419fi
34420if test -z "${BUILD_SU_TRUE}" && test -z "${BUILD_SU_FALSE}"; then
34421  as_fn_error $? "conditional \"BUILD_SU\" was never defined.
34422Usually this means the macro was only invoked conditionally." "$LINENO" 5
34423fi
34424if test -z "${BUILD_RUNUSER_TRUE}" && test -z "${BUILD_RUNUSER_FALSE}"; then
34425  as_fn_error $? "conditional \"BUILD_RUNUSER\" was never defined.
34426Usually this means the macro was only invoked conditionally." "$LINENO" 5
34427fi
34428if test -z "${BUILD_UL_TRUE}" && test -z "${BUILD_UL_FALSE}"; then
34429  as_fn_error $? "conditional \"BUILD_UL\" was never defined.
34430Usually this means the macro was only invoked conditionally." "$LINENO" 5
34431fi
34432if test -z "${BUILD_MORE_TRUE}" && test -z "${BUILD_MORE_FALSE}"; then
34433  as_fn_error $? "conditional \"BUILD_MORE\" was never defined.
34434Usually this means the macro was only invoked conditionally." "$LINENO" 5
34435fi
34436if test -z "${BUILD_PG_TRUE}" && test -z "${BUILD_PG_FALSE}"; then
34437  as_fn_error $? "conditional \"BUILD_PG\" was never defined.
34438Usually this means the macro was only invoked conditionally." "$LINENO" 5
34439fi
34440if test -z "${BUILD_SETTERM_TRUE}" && test -z "${BUILD_SETTERM_FALSE}"; then
34441  as_fn_error $? "conditional \"BUILD_SETTERM\" was never defined.
34442Usually this means the macro was only invoked conditionally." "$LINENO" 5
34443fi
34444if test -z "${BUILD_IONICE_TRUE}" && test -z "${BUILD_IONICE_FALSE}"; then
34445  as_fn_error $? "conditional \"BUILD_IONICE\" was never defined.
34446Usually this means the macro was only invoked conditionally." "$LINENO" 5
34447fi
34448if test -z "${BUILD_TASKSET_TRUE}" && test -z "${BUILD_TASKSET_FALSE}"; then
34449  as_fn_error $? "conditional \"BUILD_TASKSET\" was never defined.
34450Usually this means the macro was only invoked conditionally." "$LINENO" 5
34451fi
34452if test -z "${BUILD_CHRT_TRUE}" && test -z "${BUILD_CHRT_FALSE}"; then
34453  as_fn_error $? "conditional \"BUILD_CHRT\" was never defined.
34454Usually this means the macro was only invoked conditionally." "$LINENO" 5
34455fi
34456if test -z "${BUILD_WALL_TRUE}" && test -z "${BUILD_WALL_FALSE}"; then
34457  as_fn_error $? "conditional \"BUILD_WALL\" was never defined.
34458Usually this means the macro was only invoked conditionally." "$LINENO" 5
34459fi
34460if test -z "${BUILD_WRITE_TRUE}" && test -z "${BUILD_WRITE_FALSE}"; then
34461  as_fn_error $? "conditional \"BUILD_WRITE\" was never defined.
34462Usually this means the macro was only invoked conditionally." "$LINENO" 5
34463fi
34464if test -z "${HAVE_BTRFS_TRUE}" && test -z "${HAVE_BTRFS_FALSE}"; then
34465  as_fn_error $? "conditional \"HAVE_BTRFS\" was never defined.
34466Usually this means the macro was only invoked conditionally." "$LINENO" 5
34467fi
34468if test -z "${HAVE_SYSTEMD_TRUE}" && test -z "${HAVE_SYSTEMD_FALSE}"; then
34469  as_fn_error $? "conditional \"HAVE_SYSTEMD\" was never defined.
34470Usually this means the macro was only invoked conditionally." "$LINENO" 5
34471fi
34472if test -z "${HAVE_ECONF_TRUE}" && test -z "${HAVE_ECONF_FALSE}"; then
34473  as_fn_error $? "conditional \"HAVE_ECONF\" was never defined.
34474Usually this means the macro was only invoked conditionally." "$LINENO" 5
34475fi
34476if test -z "${USE_VENDORDIR_TRUE}" && test -z "${USE_VENDORDIR_FALSE}"; then
34477  as_fn_error $? "conditional \"USE_VENDORDIR\" was never defined.
34478Usually this means the macro was only invoked conditionally." "$LINENO" 5
34479fi
34480if test -z "${BUILD_BASH_COMPLETION_TRUE}" && test -z "${BUILD_BASH_COMPLETION_FALSE}"; then
34481  as_fn_error $? "conditional \"BUILD_BASH_COMPLETION\" was never defined.
34482Usually this means the macro was only invoked conditionally." "$LINENO" 5
34483fi
34484if test -z "${BUILD_PYLIBMOUNT_TRUE}" && test -z "${BUILD_PYLIBMOUNT_FALSE}"; then
34485  as_fn_error $? "conditional \"BUILD_PYLIBMOUNT\" was never defined.
34486Usually this means the macro was only invoked conditionally." "$LINENO" 5
34487fi
34488if test -z "${USE_TTY_GROUP_TRUE}" && test -z "${USE_TTY_GROUP_FALSE}"; then
34489  as_fn_error $? "conditional \"USE_TTY_GROUP\" was never defined.
34490Usually this means the macro was only invoked conditionally." "$LINENO" 5
34491fi
34492if test -z "${MAKEINSTALL_DO_CHOWN_TRUE}" && test -z "${MAKEINSTALL_DO_CHOWN_FALSE}"; then
34493  as_fn_error $? "conditional \"MAKEINSTALL_DO_CHOWN\" was never defined.
34494Usually this means the macro was only invoked conditionally." "$LINENO" 5
34495fi
34496if test -z "${MAKEINSTALL_DO_SETUID_TRUE}" && test -z "${MAKEINSTALL_DO_SETUID_FALSE}"; then
34497  as_fn_error $? "conditional \"MAKEINSTALL_DO_SETUID\" was never defined.
34498Usually this means the macro was only invoked conditionally." "$LINENO" 5
34499fi
34500if test -z "${HAVE_CRYPTSETUP_TRUE}" && test -z "${HAVE_CRYPTSETUP_FALSE}"; then
34501  as_fn_error $? "conditional \"HAVE_CRYPTSETUP\" was never defined.
34502Usually this means the macro was only invoked conditionally." "$LINENO" 5
34503fi
34504if test -z "${CRYPTSETUP_VIA_DLOPEN_TRUE}" && test -z "${CRYPTSETUP_VIA_DLOPEN_FALSE}"; then
34505  as_fn_error $? "conditional \"CRYPTSETUP_VIA_DLOPEN\" was never defined.
34506Usually this means the macro was only invoked conditionally." "$LINENO" 5
34507fi
34508if test -z "${HAVE_CRYPTSETUP_TRUE}" && test -z "${HAVE_CRYPTSETUP_FALSE}"; then
34509  as_fn_error $? "conditional \"HAVE_CRYPTSETUP\" was never defined.
34510Usually this means the macro was only invoked conditionally." "$LINENO" 5
34511fi
34512if test -z "${CRYPTSETUP_VIA_DLOPEN_TRUE}" && test -z "${CRYPTSETUP_VIA_DLOPEN_FALSE}"; then
34513  as_fn_error $? "conditional \"CRYPTSETUP_VIA_DLOPEN\" was never defined.
34514Usually this means the macro was only invoked conditionally." "$LINENO" 5
34515fi
34516if test -z "${HAVE_CRYPTSETUP_TRUE}" && test -z "${HAVE_CRYPTSETUP_FALSE}"; then
34517  as_fn_error $? "conditional \"HAVE_CRYPTSETUP\" was never defined.
34518Usually this means the macro was only invoked conditionally." "$LINENO" 5
34519fi
34520if test -z "${CRYPTSETUP_VIA_DLOPEN_TRUE}" && test -z "${CRYPTSETUP_VIA_DLOPEN_FALSE}"; then
34521  as_fn_error $? "conditional \"CRYPTSETUP_VIA_DLOPEN\" was never defined.
34522Usually this means the macro was only invoked conditionally." "$LINENO" 5
34523fi
34524if test -z "${HAVE_CRYPTSETUP_TRUE}" && test -z "${HAVE_CRYPTSETUP_FALSE}"; then
34525  as_fn_error $? "conditional \"HAVE_CRYPTSETUP\" was never defined.
34526Usually this means the macro was only invoked conditionally." "$LINENO" 5
34527fi
34528if test -z "${CRYPTSETUP_VIA_DLOPEN_TRUE}" && test -z "${CRYPTSETUP_VIA_DLOPEN_FALSE}"; then
34529  as_fn_error $? "conditional \"CRYPTSETUP_VIA_DLOPEN\" was never defined.
34530Usually this means the macro was only invoked conditionally." "$LINENO" 5
34531fi
34532if test -z "${CRYPTSETUP_VIA_DLOPEN_TRUE}" && test -z "${CRYPTSETUP_VIA_DLOPEN_FALSE}"; then
34533  as_fn_error $? "conditional \"CRYPTSETUP_VIA_DLOPEN\" was never defined.
34534Usually this means the macro was only invoked conditionally." "$LINENO" 5
34535fi
34536
34537: "${CONFIG_STATUS=./config.status}"
34538ac_write_fail=0
34539ac_clean_files_save=$ac_clean_files
34540ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34541{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
34542$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
34543as_write_fail=0
34544cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
34545#! $SHELL
34546# Generated by $as_me.
34547# Run this file to recreate the current configuration.
34548# Compiler output produced by configure, useful for debugging
34549# configure, is in config.log if it exists.
34550
34551debug=false
34552ac_cs_recheck=false
34553ac_cs_silent=false
34554
34555SHELL=\${CONFIG_SHELL-$SHELL}
34556export SHELL
34557_ASEOF
34558cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
34559## -------------------- ##
34560## M4sh Initialization. ##
34561## -------------------- ##
34562
34563# Be more Bourne compatible
34564DUALCASE=1; export DUALCASE # for MKS sh
34565if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
34566  emulate sh
34567  NULLCMD=:
34568  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
34569  # is contrary to our usage.  Disable this feature.
34570  alias -g '${1+"$@"}'='"$@"'
34571  setopt NO_GLOB_SUBST
34572else
34573  case `(set -o) 2>/dev/null` in #(
34574  *posix*) :
34575    set -o posix ;; #(
34576  *) :
34577     ;;
34578esac
34579fi
34580
34581
34582as_nl='
34583'
34584export as_nl
34585# Printing a long string crashes Solaris 7 /usr/bin/printf.
34586as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
34587as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
34588as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
34589# Prefer a ksh shell builtin over an external printf program on Solaris,
34590# but without wasting forks for bash or zsh.
34591if test -z "$BASH_VERSION$ZSH_VERSION" \
34592    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
34593  as_echo='print -r --'
34594  as_echo_n='print -rn --'
34595elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
34596  as_echo='printf %s\n'
34597  as_echo_n='printf %s'
34598else
34599  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
34600    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
34601    as_echo_n='/usr/ucb/echo -n'
34602  else
34603    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
34604    as_echo_n_body='eval
34605      arg=$1;
34606      case $arg in #(
34607      *"$as_nl"*)
34608	expr "X$arg" : "X\\(.*\\)$as_nl";
34609	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
34610      esac;
34611      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
34612    '
34613    export as_echo_n_body
34614    as_echo_n='sh -c $as_echo_n_body as_echo'
34615  fi
34616  export as_echo_body
34617  as_echo='sh -c $as_echo_body as_echo'
34618fi
34619
34620# The user is always right.
34621if test "${PATH_SEPARATOR+set}" != set; then
34622  PATH_SEPARATOR=:
34623  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
34624    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
34625      PATH_SEPARATOR=';'
34626  }
34627fi
34628
34629
34630# IFS
34631# We need space, tab and new line, in precisely that order.  Quoting is
34632# there to prevent editors from complaining about space-tab.
34633# (If _AS_PATH_WALK were called with IFS unset, it would disable word
34634# splitting by setting IFS to empty value.)
34635IFS=" ""	$as_nl"
34636
34637# Find who we are.  Look in the path if we contain no directory separator.
34638as_myself=
34639case $0 in #((
34640  *[\\/]* ) as_myself=$0 ;;
34641  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34642for as_dir in $PATH
34643do
34644  IFS=$as_save_IFS
34645  test -z "$as_dir" && as_dir=.
34646    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34647  done
34648IFS=$as_save_IFS
34649
34650     ;;
34651esac
34652# We did not find ourselves, most probably we were run as `sh COMMAND'
34653# in which case we are not to be found in the path.
34654if test "x$as_myself" = x; then
34655  as_myself=$0
34656fi
34657if test ! -f "$as_myself"; then
34658  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
34659  exit 1
34660fi
34661
34662# Unset variables that we do not need and which cause bugs (e.g. in
34663# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
34664# suppresses any "Segmentation fault" message there.  '((' could
34665# trigger a bug in pdksh 5.2.14.
34666for as_var in BASH_ENV ENV MAIL MAILPATH
34667do eval test x\${$as_var+set} = xset \
34668  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
34669done
34670PS1='$ '
34671PS2='> '
34672PS4='+ '
34673
34674# NLS nuisances.
34675LC_ALL=C
34676export LC_ALL
34677LANGUAGE=C
34678export LANGUAGE
34679
34680# CDPATH.
34681(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34682
34683
34684# as_fn_error STATUS ERROR [LINENO LOG_FD]
34685# ----------------------------------------
34686# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
34687# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
34688# script with STATUS, using 1 if that was 0.
34689as_fn_error ()
34690{
34691  as_status=$1; test $as_status -eq 0 && as_status=1
34692  if test "$4"; then
34693    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
34694    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
34695  fi
34696  $as_echo "$as_me: error: $2" >&2
34697  as_fn_exit $as_status
34698} # as_fn_error
34699
34700
34701# as_fn_set_status STATUS
34702# -----------------------
34703# Set $? to STATUS, without forking.
34704as_fn_set_status ()
34705{
34706  return $1
34707} # as_fn_set_status
34708
34709# as_fn_exit STATUS
34710# -----------------
34711# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
34712as_fn_exit ()
34713{
34714  set +e
34715  as_fn_set_status $1
34716  exit $1
34717} # as_fn_exit
34718
34719# as_fn_unset VAR
34720# ---------------
34721# Portably unset VAR.
34722as_fn_unset ()
34723{
34724  { eval $1=; unset $1;}
34725}
34726as_unset=as_fn_unset
34727# as_fn_append VAR VALUE
34728# ----------------------
34729# Append the text in VALUE to the end of the definition contained in VAR. Take
34730# advantage of any shell optimizations that allow amortized linear growth over
34731# repeated appends, instead of the typical quadratic growth present in naive
34732# implementations.
34733if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
34734  eval 'as_fn_append ()
34735  {
34736    eval $1+=\$2
34737  }'
34738else
34739  as_fn_append ()
34740  {
34741    eval $1=\$$1\$2
34742  }
34743fi # as_fn_append
34744
34745# as_fn_arith ARG...
34746# ------------------
34747# Perform arithmetic evaluation on the ARGs, and store the result in the
34748# global $as_val. Take advantage of shells that can avoid forks. The arguments
34749# must be portable across $(()) and expr.
34750if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
34751  eval 'as_fn_arith ()
34752  {
34753    as_val=$(( $* ))
34754  }'
34755else
34756  as_fn_arith ()
34757  {
34758    as_val=`expr "$@" || test $? -eq 1`
34759  }
34760fi # as_fn_arith
34761
34762
34763if expr a : '\(a\)' >/dev/null 2>&1 &&
34764   test "X`expr 00001 : '.*\(...\)'`" = X001; then
34765  as_expr=expr
34766else
34767  as_expr=false
34768fi
34769
34770if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
34771  as_basename=basename
34772else
34773  as_basename=false
34774fi
34775
34776if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
34777  as_dirname=dirname
34778else
34779  as_dirname=false
34780fi
34781
34782as_me=`$as_basename -- "$0" ||
34783$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34784	 X"$0" : 'X\(//\)$' \| \
34785	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
34786$as_echo X/"$0" |
34787    sed '/^.*\/\([^/][^/]*\)\/*$/{
34788	    s//\1/
34789	    q
34790	  }
34791	  /^X\/\(\/\/\)$/{
34792	    s//\1/
34793	    q
34794	  }
34795	  /^X\/\(\/\).*/{
34796	    s//\1/
34797	    q
34798	  }
34799	  s/.*/./; q'`
34800
34801# Avoid depending upon Character Ranges.
34802as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34803as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34804as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34805as_cr_digits='0123456789'
34806as_cr_alnum=$as_cr_Letters$as_cr_digits
34807
34808ECHO_C= ECHO_N= ECHO_T=
34809case `echo -n x` in #(((((
34810-n*)
34811  case `echo 'xy\c'` in
34812  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
34813  xy)  ECHO_C='\c';;
34814  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
34815       ECHO_T='	';;
34816  esac;;
34817*)
34818  ECHO_N='-n';;
34819esac
34820
34821rm -f conf$$ conf$$.exe conf$$.file
34822if test -d conf$$.dir; then
34823  rm -f conf$$.dir/conf$$.file
34824else
34825  rm -f conf$$.dir
34826  mkdir conf$$.dir 2>/dev/null
34827fi
34828if (echo >conf$$.file) 2>/dev/null; then
34829  if ln -s conf$$.file conf$$ 2>/dev/null; then
34830    as_ln_s='ln -s'
34831    # ... but there are two gotchas:
34832    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34833    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34834    # In both cases, we have to default to `cp -pR'.
34835    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
34836      as_ln_s='cp -pR'
34837  elif ln conf$$.file conf$$ 2>/dev/null; then
34838    as_ln_s=ln
34839  else
34840    as_ln_s='cp -pR'
34841  fi
34842else
34843  as_ln_s='cp -pR'
34844fi
34845rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
34846rmdir conf$$.dir 2>/dev/null
34847
34848
34849# as_fn_mkdir_p
34850# -------------
34851# Create "$as_dir" as a directory, including parents if necessary.
34852as_fn_mkdir_p ()
34853{
34854
34855  case $as_dir in #(
34856  -*) as_dir=./$as_dir;;
34857  esac
34858  test -d "$as_dir" || eval $as_mkdir_p || {
34859    as_dirs=
34860    while :; do
34861      case $as_dir in #(
34862      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
34863      *) as_qdir=$as_dir;;
34864      esac
34865      as_dirs="'$as_qdir' $as_dirs"
34866      as_dir=`$as_dirname -- "$as_dir" ||
34867$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34868	 X"$as_dir" : 'X\(//\)[^/]' \| \
34869	 X"$as_dir" : 'X\(//\)$' \| \
34870	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34871$as_echo X"$as_dir" |
34872    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34873	    s//\1/
34874	    q
34875	  }
34876	  /^X\(\/\/\)[^/].*/{
34877	    s//\1/
34878	    q
34879	  }
34880	  /^X\(\/\/\)$/{
34881	    s//\1/
34882	    q
34883	  }
34884	  /^X\(\/\).*/{
34885	    s//\1/
34886	    q
34887	  }
34888	  s/.*/./; q'`
34889      test -d "$as_dir" && break
34890    done
34891    test -z "$as_dirs" || eval "mkdir $as_dirs"
34892  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
34893
34894
34895} # as_fn_mkdir_p
34896if mkdir -p . 2>/dev/null; then
34897  as_mkdir_p='mkdir -p "$as_dir"'
34898else
34899  test -d ./-p && rmdir ./-p
34900  as_mkdir_p=false
34901fi
34902
34903
34904# as_fn_executable_p FILE
34905# -----------------------
34906# Test if FILE is an executable regular file.
34907as_fn_executable_p ()
34908{
34909  test -f "$1" && test -x "$1"
34910} # as_fn_executable_p
34911as_test_x='test -x'
34912as_executable_p=as_fn_executable_p
34913
34914# Sed expression to map a string onto a valid CPP name.
34915as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34916
34917# Sed expression to map a string onto a valid variable name.
34918as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34919
34920
34921exec 6>&1
34922## ----------------------------------- ##
34923## Main body of $CONFIG_STATUS script. ##
34924## ----------------------------------- ##
34925_ASEOF
34926test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
34927
34928cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34929# Save the log message, to keep $0 and so on meaningful, and to
34930# report actual input values of CONFIG_FILES etc. instead of their
34931# values after options handling.
34932ac_log="
34933This file was extended by util-linux $as_me 2.36, which was
34934generated by GNU Autoconf 2.69.  Invocation command line was
34935
34936  CONFIG_FILES    = $CONFIG_FILES
34937  CONFIG_HEADERS  = $CONFIG_HEADERS
34938  CONFIG_LINKS    = $CONFIG_LINKS
34939  CONFIG_COMMANDS = $CONFIG_COMMANDS
34940  $ $0 $@
34941
34942on `(hostname || uname -n) 2>/dev/null | sed 1q`
34943"
34944
34945_ACEOF
34946
34947case $ac_config_files in *"
34948"*) set x $ac_config_files; shift; ac_config_files=$*;;
34949esac
34950
34951case $ac_config_headers in *"
34952"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
34953esac
34954
34955
34956cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34957# Files that config.status was made for.
34958config_files="$ac_config_files"
34959config_headers="$ac_config_headers"
34960config_commands="$ac_config_commands"
34961
34962_ACEOF
34963
34964cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34965ac_cs_usage="\
34966\`$as_me' instantiates files and other configuration actions
34967from templates according to the current configuration.  Unless the files
34968and actions are specified as TAGs, all are instantiated by default.
34969
34970Usage: $0 [OPTION]... [TAG]...
34971
34972  -h, --help       print this help, then exit
34973  -V, --version    print version number and configuration settings, then exit
34974      --config     print configuration, then exit
34975  -q, --quiet, --silent
34976                   do not print progress messages
34977  -d, --debug      don't remove temporary files
34978      --recheck    update $as_me by reconfiguring in the same conditions
34979      --file=FILE[:TEMPLATE]
34980                   instantiate the configuration file FILE
34981      --header=FILE[:TEMPLATE]
34982                   instantiate the configuration header FILE
34983
34984Configuration files:
34985$config_files
34986
34987Configuration headers:
34988$config_headers
34989
34990Configuration commands:
34991$config_commands
34992
34993Report bugs to <kzak@redhat.com>.
34994util-linux home page: <http://www.kernel.org/pub/linux/utils/util-linux/>."
34995
34996_ACEOF
34997cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34998ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
34999ac_cs_version="\\
35000util-linux config.status 2.36
35001configured by $0, generated by GNU Autoconf 2.69,
35002  with options \\"\$ac_cs_config\\"
35003
35004Copyright (C) 2012 Free Software Foundation, Inc.
35005This config.status script is free software; the Free Software Foundation
35006gives unlimited permission to copy, distribute and modify it."
35007
35008ac_pwd='$ac_pwd'
35009srcdir='$srcdir'
35010INSTALL='$INSTALL'
35011MKDIR_P='$MKDIR_P'
35012AWK='$AWK'
35013test -n "\$AWK" || AWK=awk
35014_ACEOF
35015
35016cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35017# The default lists apply if the user does not specify any file.
35018ac_need_defaults=:
35019while test $# != 0
35020do
35021  case $1 in
35022  --*=?*)
35023    ac_option=`expr "X$1" : 'X\([^=]*\)='`
35024    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
35025    ac_shift=:
35026    ;;
35027  --*=)
35028    ac_option=`expr "X$1" : 'X\([^=]*\)='`
35029    ac_optarg=
35030    ac_shift=:
35031    ;;
35032  *)
35033    ac_option=$1
35034    ac_optarg=$2
35035    ac_shift=shift
35036    ;;
35037  esac
35038
35039  case $ac_option in
35040  # Handling of the options.
35041  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35042    ac_cs_recheck=: ;;
35043  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
35044    $as_echo "$ac_cs_version"; exit ;;
35045  --config | --confi | --conf | --con | --co | --c )
35046    $as_echo "$ac_cs_config"; exit ;;
35047  --debug | --debu | --deb | --de | --d | -d )
35048    debug=: ;;
35049  --file | --fil | --fi | --f )
35050    $ac_shift
35051    case $ac_optarg in
35052    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
35053    '') as_fn_error $? "missing file argument" ;;
35054    esac
35055    as_fn_append CONFIG_FILES " '$ac_optarg'"
35056    ac_need_defaults=false;;
35057  --header | --heade | --head | --hea )
35058    $ac_shift
35059    case $ac_optarg in
35060    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
35061    esac
35062    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
35063    ac_need_defaults=false;;
35064  --he | --h)
35065    # Conflict between --help and --header
35066    as_fn_error $? "ambiguous option: \`$1'
35067Try \`$0 --help' for more information.";;
35068  --help | --hel | -h )
35069    $as_echo "$ac_cs_usage"; exit ;;
35070  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35071  | -silent | --silent | --silen | --sile | --sil | --si | --s)
35072    ac_cs_silent=: ;;
35073
35074  # This is an error.
35075  -*) as_fn_error $? "unrecognized option: \`$1'
35076Try \`$0 --help' for more information." ;;
35077
35078  *) as_fn_append ac_config_targets " $1"
35079     ac_need_defaults=false ;;
35080
35081  esac
35082  shift
35083done
35084
35085ac_configure_extra_args=
35086
35087if $ac_cs_silent; then
35088  exec 6>/dev/null
35089  ac_configure_extra_args="$ac_configure_extra_args --silent"
35090fi
35091
35092_ACEOF
35093cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35094if \$ac_cs_recheck; then
35095  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35096  shift
35097  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
35098  CONFIG_SHELL='$SHELL'
35099  export CONFIG_SHELL
35100  exec "\$@"
35101fi
35102
35103_ACEOF
35104cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35105exec 5>>config.log
35106{
35107  echo
35108  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35109## Running $as_me. ##
35110_ASBOX
35111  $as_echo "$ac_log"
35112} >&5
35113
35114_ACEOF
35115cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35116#
35117# INIT-COMMANDS
35118#
35119AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
35120
35121
35122# The HP-UX ksh and POSIX shell print the target directory to stdout
35123# if CDPATH is set.
35124(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
35125
35126sed_quote_subst='$sed_quote_subst'
35127double_quote_subst='$double_quote_subst'
35128delay_variable_subst='$delay_variable_subst'
35129macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
35130macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
35131enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
35132enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
35133pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
35134enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
35135shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
35136SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
35137ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
35138PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
35139host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
35140host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
35141host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
35142build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
35143build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
35144build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
35145SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
35146Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
35147GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
35148EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
35149FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
35150LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
35151NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
35152LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
35153max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
35154ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
35155exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
35156lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
35157lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
35158lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
35159lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
35160lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
35161reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
35162reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
35163OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
35164deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
35165file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
35166file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
35167want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
35168DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
35169sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
35170AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
35171AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
35172archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
35173STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
35174RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
35175old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
35176old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
35177old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
35178lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
35179CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
35180CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
35181compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
35182GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
35183lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
35184lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
35185lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
35186lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
35187lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
35188lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
35189nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
35190lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
35191lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
35192objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
35193MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
35194lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
35195lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
35196lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
35197lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
35198lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
35199need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
35200MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
35201DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
35202NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
35203LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
35204OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
35205OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
35206libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
35207shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
35208extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
35209archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
35210enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
35211export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
35212whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
35213compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
35214old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
35215old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
35216archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
35217archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
35218module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
35219module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
35220with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
35221allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
35222no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
35223hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
35224hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
35225hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
35226hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
35227hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
35228hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
35229hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
35230inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
35231link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
35232always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
35233export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
35234exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
35235include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
35236prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
35237postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
35238file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
35239variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
35240need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
35241need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
35242version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
35243runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
35244shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
35245shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
35246libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
35247library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
35248soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
35249install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
35250postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
35251postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
35252finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
35253finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
35254hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
35255sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
35256configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
35257configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
35258hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
35259enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
35260enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
35261enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
35262old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
35263striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
35264
35265LTCC='$LTCC'
35266LTCFLAGS='$LTCFLAGS'
35267compiler='$compiler_DEFAULT'
35268
35269# A function that is used when there is no print builtin or printf.
35270func_fallback_echo ()
35271{
35272  eval 'cat <<_LTECHO_EOF
35273\$1
35274_LTECHO_EOF'
35275}
35276
35277# Quote evaled strings.
35278for var in SHELL \
35279ECHO \
35280PATH_SEPARATOR \
35281SED \
35282GREP \
35283EGREP \
35284FGREP \
35285LD \
35286NM \
35287LN_S \
35288lt_SP2NL \
35289lt_NL2SP \
35290reload_flag \
35291OBJDUMP \
35292deplibs_check_method \
35293file_magic_cmd \
35294file_magic_glob \
35295want_nocaseglob \
35296DLLTOOL \
35297sharedlib_from_linklib_cmd \
35298AR \
35299AR_FLAGS \
35300archiver_list_spec \
35301STRIP \
35302RANLIB \
35303CC \
35304CFLAGS \
35305compiler \
35306lt_cv_sys_global_symbol_pipe \
35307lt_cv_sys_global_symbol_to_cdecl \
35308lt_cv_sys_global_symbol_to_import \
35309lt_cv_sys_global_symbol_to_c_name_address \
35310lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
35311lt_cv_nm_interface \
35312nm_file_list_spec \
35313lt_cv_truncate_bin \
35314lt_prog_compiler_no_builtin_flag \
35315lt_prog_compiler_pic \
35316lt_prog_compiler_wl \
35317lt_prog_compiler_static \
35318lt_cv_prog_compiler_c_o \
35319need_locks \
35320MANIFEST_TOOL \
35321DSYMUTIL \
35322NMEDIT \
35323LIPO \
35324OTOOL \
35325OTOOL64 \
35326shrext_cmds \
35327export_dynamic_flag_spec \
35328whole_archive_flag_spec \
35329compiler_needs_object \
35330with_gnu_ld \
35331allow_undefined_flag \
35332no_undefined_flag \
35333hardcode_libdir_flag_spec \
35334hardcode_libdir_separator \
35335exclude_expsyms \
35336include_expsyms \
35337file_list_spec \
35338variables_saved_for_relink \
35339libname_spec \
35340library_names_spec \
35341soname_spec \
35342install_override_mode \
35343finish_eval \
35344old_striplib \
35345striplib; do
35346    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
35347    *[\\\\\\\`\\"\\\$]*)
35348      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
35349      ;;
35350    *)
35351      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35352      ;;
35353    esac
35354done
35355
35356# Double-quote double-evaled strings.
35357for var in reload_cmds \
35358old_postinstall_cmds \
35359old_postuninstall_cmds \
35360old_archive_cmds \
35361extract_expsyms_cmds \
35362old_archive_from_new_cmds \
35363old_archive_from_expsyms_cmds \
35364archive_cmds \
35365archive_expsym_cmds \
35366module_cmds \
35367module_expsym_cmds \
35368export_symbols_cmds \
35369prelink_cmds \
35370postlink_cmds \
35371postinstall_cmds \
35372postuninstall_cmds \
35373finish_cmds \
35374sys_lib_search_path_spec \
35375configure_time_dlsearch_path \
35376configure_time_lt_sys_library_path; do
35377    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
35378    *[\\\\\\\`\\"\\\$]*)
35379      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
35380      ;;
35381    *)
35382      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35383      ;;
35384    esac
35385done
35386
35387ac_aux_dir='$ac_aux_dir'
35388
35389# See if we are running on zsh, and set the options that allow our
35390# commands through without removal of \ escapes INIT.
35391if test -n "\${ZSH_VERSION+set}"; then
35392   setopt NO_GLOB_SUBST
35393fi
35394
35395
35396    PACKAGE='$PACKAGE'
35397    VERSION='$VERSION'
35398    RM='$RM'
35399    ofile='$ofile'
35400
35401
35402
35403# Capture the value of obsolete ALL_LINGUAS because we need it to compute
35404    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
35405    # from automake < 1.5.
35406    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
35407    # Capture the value of LINGUAS because we need it to compute CATALOGS.
35408    LINGUAS="${LINGUAS-%UNSET%}"
35409
35410
35411_ACEOF
35412
35413cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35414
35415# Handling of arguments.
35416for ac_config_target in $ac_config_targets
35417do
35418  case $ac_config_target in
35419    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
35420    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
35421    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
35422    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
35423    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35424    "libblkid/docs/Makefile") CONFIG_FILES="$CONFIG_FILES libblkid/docs/Makefile" ;;
35425    "libblkid/docs/version.xml") CONFIG_FILES="$CONFIG_FILES libblkid/docs/version.xml" ;;
35426    "libblkid/src/blkid.h") CONFIG_FILES="$CONFIG_FILES libblkid/src/blkid.h" ;;
35427    "libfdisk/docs/Makefile") CONFIG_FILES="$CONFIG_FILES libfdisk/docs/Makefile" ;;
35428    "libfdisk/docs/version.xml") CONFIG_FILES="$CONFIG_FILES libfdisk/docs/version.xml" ;;
35429    "libfdisk/src/libfdisk.h") CONFIG_FILES="$CONFIG_FILES libfdisk/src/libfdisk.h" ;;
35430    "libmount/docs/Makefile") CONFIG_FILES="$CONFIG_FILES libmount/docs/Makefile" ;;
35431    "libmount/docs/version.xml") CONFIG_FILES="$CONFIG_FILES libmount/docs/version.xml" ;;
35432    "libmount/src/libmount.h") CONFIG_FILES="$CONFIG_FILES libmount/src/libmount.h" ;;
35433    "libsmartcols/docs/Makefile") CONFIG_FILES="$CONFIG_FILES libsmartcols/docs/Makefile" ;;
35434    "libsmartcols/docs/version.xml") CONFIG_FILES="$CONFIG_FILES libsmartcols/docs/version.xml" ;;
35435    "libsmartcols/src/libsmartcols.h") CONFIG_FILES="$CONFIG_FILES libsmartcols/src/libsmartcols.h" ;;
35436    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
35437
35438  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
35439  esac
35440done
35441
35442
35443# If the user did not use the arguments to specify the items to instantiate,
35444# then the envvar interface is used.  Set only those that are not.
35445# We use the long form for the default assignment because of an extremely
35446# bizarre bug on SunOS 4.1.3.
35447if $ac_need_defaults; then
35448  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35449  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35450  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35451fi
35452
35453# Have a temporary directory for convenience.  Make it in the build tree
35454# simply because there is no reason against having it here, and in addition,
35455# creating and moving files from /tmp can sometimes cause problems.
35456# Hook for its removal unless debugging.
35457# Note that there is a small window in which the directory will not be cleaned:
35458# after its creation but before its name has been assigned to `$tmp'.
35459$debug ||
35460{
35461  tmp= ac_tmp=
35462  trap 'exit_status=$?
35463  : "${ac_tmp:=$tmp}"
35464  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
35465' 0
35466  trap 'as_fn_exit 1' 1 2 13 15
35467}
35468# Create a (secure) tmp directory for tmp files.
35469
35470{
35471  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
35472  test -d "$tmp"
35473}  ||
35474{
35475  tmp=./conf$$-$RANDOM
35476  (umask 077 && mkdir "$tmp")
35477} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
35478ac_tmp=$tmp
35479
35480# Set up the scripts for CONFIG_FILES section.
35481# No need to generate them if there are no CONFIG_FILES.
35482# This happens for instance with `./config.status config.h'.
35483if test -n "$CONFIG_FILES"; then
35484
35485
35486ac_cr=`echo X | tr X '\015'`
35487# On cygwin, bash can eat \r inside `` if the user requested igncr.
35488# But we know of no other shell where ac_cr would be empty at this
35489# point, so we can use a bashism as a fallback.
35490if test "x$ac_cr" = x; then
35491  eval ac_cr=\$\'\\r\'
35492fi
35493ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
35494if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
35495  ac_cs_awk_cr='\\r'
35496else
35497  ac_cs_awk_cr=$ac_cr
35498fi
35499
35500echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
35501_ACEOF
35502
35503
35504{
35505  echo "cat >conf$$subs.awk <<_ACEOF" &&
35506  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
35507  echo "_ACEOF"
35508} >conf$$subs.sh ||
35509  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35510ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
35511ac_delim='%!_!# '
35512for ac_last_try in false false false false false :; do
35513  . ./conf$$subs.sh ||
35514    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35515
35516  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
35517  if test $ac_delim_n = $ac_delim_num; then
35518    break
35519  elif $ac_last_try; then
35520    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35521  else
35522    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
35523  fi
35524done
35525rm -f conf$$subs.sh
35526
35527cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35528cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
35529_ACEOF
35530sed -n '
35531h
35532s/^/S["/; s/!.*/"]=/
35533p
35534g
35535s/^[^!]*!//
35536:repl
35537t repl
35538s/'"$ac_delim"'$//
35539t delim
35540:nl
35541h
35542s/\(.\{148\}\)..*/\1/
35543t more1
35544s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
35545p
35546n
35547b repl
35548:more1
35549s/["\\]/\\&/g; s/^/"/; s/$/"\\/
35550p
35551g
35552s/.\{148\}//
35553t nl
35554:delim
35555h
35556s/\(.\{148\}\)..*/\1/
35557t more2
35558s/["\\]/\\&/g; s/^/"/; s/$/"/
35559p
35560b
35561:more2
35562s/["\\]/\\&/g; s/^/"/; s/$/"\\/
35563p
35564g
35565s/.\{148\}//
35566t delim
35567' <conf$$subs.awk | sed '
35568/^[^""]/{
35569  N
35570  s/\n//
35571}
35572' >>$CONFIG_STATUS || ac_write_fail=1
35573rm -f conf$$subs.awk
35574cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35575_ACAWK
35576cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
35577  for (key in S) S_is_set[key] = 1
35578  FS = ""
35579
35580}
35581{
35582  line = $ 0
35583  nfields = split(line, field, "@")
35584  substed = 0
35585  len = length(field[1])
35586  for (i = 2; i < nfields; i++) {
35587    key = field[i]
35588    keylen = length(key)
35589    if (S_is_set[key]) {
35590      value = S[key]
35591      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
35592      len += length(value) + length(field[++i])
35593      substed = 1
35594    } else
35595      len += 1 + keylen
35596  }
35597
35598  print line
35599}
35600
35601_ACAWK
35602_ACEOF
35603cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35604if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
35605  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
35606else
35607  cat
35608fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
35609  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
35610_ACEOF
35611
35612# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
35613# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
35614# trailing colons and then remove the whole line if VPATH becomes empty
35615# (actually we leave an empty line to preserve line numbers).
35616if test "x$srcdir" = x.; then
35617  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
35618h
35619s///
35620s/^/:/
35621s/[	 ]*$/:/
35622s/:\$(srcdir):/:/g
35623s/:\${srcdir}:/:/g
35624s/:@srcdir@:/:/g
35625s/^:*//
35626s/:*$//
35627x
35628s/\(=[	 ]*\).*/\1/
35629G
35630s/\n//
35631s/^[^=]*=[	 ]*$//
35632}'
35633fi
35634
35635cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35636fi # test -n "$CONFIG_FILES"
35637
35638# Set up the scripts for CONFIG_HEADERS section.
35639# No need to generate them if there are no CONFIG_HEADERS.
35640# This happens for instance with `./config.status Makefile'.
35641if test -n "$CONFIG_HEADERS"; then
35642cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
35643BEGIN {
35644_ACEOF
35645
35646# Transform confdefs.h into an awk script `defines.awk', embedded as
35647# here-document in config.status, that substitutes the proper values into
35648# config.h.in to produce config.h.
35649
35650# Create a delimiter string that does not exist in confdefs.h, to ease
35651# handling of long lines.
35652ac_delim='%!_!# '
35653for ac_last_try in false false :; do
35654  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
35655  if test -z "$ac_tt"; then
35656    break
35657  elif $ac_last_try; then
35658    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
35659  else
35660    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
35661  fi
35662done
35663
35664# For the awk script, D is an array of macro values keyed by name,
35665# likewise P contains macro parameters if any.  Preserve backslash
35666# newline sequences.
35667
35668ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
35669sed -n '
35670s/.\{148\}/&'"$ac_delim"'/g
35671t rset
35672:rset
35673s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
35674t def
35675d
35676:def
35677s/\\$//
35678t bsnl
35679s/["\\]/\\&/g
35680s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
35681D["\1"]=" \3"/p
35682s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
35683d
35684:bsnl
35685s/["\\]/\\&/g
35686s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
35687D["\1"]=" \3\\\\\\n"\\/p
35688t cont
35689s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
35690t cont
35691d
35692:cont
35693n
35694s/.\{148\}/&'"$ac_delim"'/g
35695t clear
35696:clear
35697s/\\$//
35698t bsnlc
35699s/["\\]/\\&/g; s/^/"/; s/$/"/p
35700d
35701:bsnlc
35702s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
35703b cont
35704' <confdefs.h | sed '
35705s/'"$ac_delim"'/"\\\
35706"/g' >>$CONFIG_STATUS || ac_write_fail=1
35707
35708cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35709  for (key in D) D_is_set[key] = 1
35710  FS = ""
35711}
35712/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
35713  line = \$ 0
35714  split(line, arg, " ")
35715  if (arg[1] == "#") {
35716    defundef = arg[2]
35717    mac1 = arg[3]
35718  } else {
35719    defundef = substr(arg[1], 2)
35720    mac1 = arg[2]
35721  }
35722  split(mac1, mac2, "(") #)
35723  macro = mac2[1]
35724  prefix = substr(line, 1, index(line, defundef) - 1)
35725  if (D_is_set[macro]) {
35726    # Preserve the white space surrounding the "#".
35727    print prefix "define", macro P[macro] D[macro]
35728    next
35729  } else {
35730    # Replace #undef with comments.  This is necessary, for example,
35731    # in the case of _POSIX_SOURCE, which is predefined and required
35732    # on some systems where configure will not decide to define it.
35733    if (defundef == "undef") {
35734      print "/*", prefix defundef, macro, "*/"
35735      next
35736    }
35737  }
35738}
35739{ print }
35740_ACAWK
35741_ACEOF
35742cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35743  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
35744fi # test -n "$CONFIG_HEADERS"
35745
35746
35747eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
35748shift
35749for ac_tag
35750do
35751  case $ac_tag in
35752  :[FHLC]) ac_mode=$ac_tag; continue;;
35753  esac
35754  case $ac_mode$ac_tag in
35755  :[FHL]*:*);;
35756  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
35757  :[FH]-) ac_tag=-:-;;
35758  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
35759  esac
35760  ac_save_IFS=$IFS
35761  IFS=:
35762  set x $ac_tag
35763  IFS=$ac_save_IFS
35764  shift
35765  ac_file=$1
35766  shift
35767
35768  case $ac_mode in
35769  :L) ac_source=$1;;
35770  :[FH])
35771    ac_file_inputs=
35772    for ac_f
35773    do
35774      case $ac_f in
35775      -) ac_f="$ac_tmp/stdin";;
35776      *) # Look for the file first in the build tree, then in the source tree
35777	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
35778	 # because $ac_f cannot contain `:'.
35779	 test -f "$ac_f" ||
35780	   case $ac_f in
35781	   [\\/$]*) false;;
35782	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
35783	   esac ||
35784	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
35785      esac
35786      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
35787      as_fn_append ac_file_inputs " '$ac_f'"
35788    done
35789
35790    # Let's still pretend it is `configure' which instantiates (i.e., don't
35791    # use $as_me), people would be surprised to read:
35792    #    /* config.h.  Generated by config.status.  */
35793    configure_input='Generated from '`
35794	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
35795	`' by configure.'
35796    if test x"$ac_file" != x-; then
35797      configure_input="$ac_file.  $configure_input"
35798      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
35799$as_echo "$as_me: creating $ac_file" >&6;}
35800    fi
35801    # Neutralize special characters interpreted by sed in replacement strings.
35802    case $configure_input in #(
35803    *\&* | *\|* | *\\* )
35804       ac_sed_conf_input=`$as_echo "$configure_input" |
35805       sed 's/[\\\\&|]/\\\\&/g'`;; #(
35806    *) ac_sed_conf_input=$configure_input;;
35807    esac
35808
35809    case $ac_tag in
35810    *:-:* | *:-) cat >"$ac_tmp/stdin" \
35811      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
35812    esac
35813    ;;
35814  esac
35815
35816  ac_dir=`$as_dirname -- "$ac_file" ||
35817$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35818	 X"$ac_file" : 'X\(//\)[^/]' \| \
35819	 X"$ac_file" : 'X\(//\)$' \| \
35820	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
35821$as_echo X"$ac_file" |
35822    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35823	    s//\1/
35824	    q
35825	  }
35826	  /^X\(\/\/\)[^/].*/{
35827	    s//\1/
35828	    q
35829	  }
35830	  /^X\(\/\/\)$/{
35831	    s//\1/
35832	    q
35833	  }
35834	  /^X\(\/\).*/{
35835	    s//\1/
35836	    q
35837	  }
35838	  s/.*/./; q'`
35839  as_dir="$ac_dir"; as_fn_mkdir_p
35840  ac_builddir=.
35841
35842case "$ac_dir" in
35843.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
35844*)
35845  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
35846  # A ".." for each directory in $ac_dir_suffix.
35847  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
35848  case $ac_top_builddir_sub in
35849  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
35850  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
35851  esac ;;
35852esac
35853ac_abs_top_builddir=$ac_pwd
35854ac_abs_builddir=$ac_pwd$ac_dir_suffix
35855# for backward compatibility:
35856ac_top_builddir=$ac_top_build_prefix
35857
35858case $srcdir in
35859  .)  # We are building in place.
35860    ac_srcdir=.
35861    ac_top_srcdir=$ac_top_builddir_sub
35862    ac_abs_top_srcdir=$ac_pwd ;;
35863  [\\/]* | ?:[\\/]* )  # Absolute name.
35864    ac_srcdir=$srcdir$ac_dir_suffix;
35865    ac_top_srcdir=$srcdir
35866    ac_abs_top_srcdir=$srcdir ;;
35867  *) # Relative name.
35868    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
35869    ac_top_srcdir=$ac_top_build_prefix$srcdir
35870    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
35871esac
35872ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
35873
35874
35875  case $ac_mode in
35876  :F)
35877  #
35878  # CONFIG_FILE
35879  #
35880
35881  case $INSTALL in
35882  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35883  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
35884  esac
35885  ac_MKDIR_P=$MKDIR_P
35886  case $MKDIR_P in
35887  [\\/$]* | ?:[\\/]* ) ;;
35888  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
35889  esac
35890_ACEOF
35891
35892cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35893# If the template does not know about datarootdir, expand it.
35894# FIXME: This hack should be removed a few years after 2.60.
35895ac_datarootdir_hack=; ac_datarootdir_seen=
35896ac_sed_dataroot='
35897/datarootdir/ {
35898  p
35899  q
35900}
35901/@datadir@/p
35902/@docdir@/p
35903/@infodir@/p
35904/@localedir@/p
35905/@mandir@/p'
35906case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
35907*datarootdir*) ac_datarootdir_seen=yes;;
35908*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
35909  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
35910$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
35911_ACEOF
35912cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35913  ac_datarootdir_hack='
35914  s&@datadir@&$datadir&g
35915  s&@docdir@&$docdir&g
35916  s&@infodir@&$infodir&g
35917  s&@localedir@&$localedir&g
35918  s&@mandir@&$mandir&g
35919  s&\\\${datarootdir}&$datarootdir&g' ;;
35920esac
35921_ACEOF
35922
35923# Neutralize VPATH when `$srcdir' = `.'.
35924# Shell code in configure.ac might set extrasub.
35925# FIXME: do we really want to maintain this feature?
35926cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35927ac_sed_extra="$ac_vpsub
35928$extrasub
35929_ACEOF
35930cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35931:t
35932/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35933s|@configure_input@|$ac_sed_conf_input|;t t
35934s&@top_builddir@&$ac_top_builddir_sub&;t t
35935s&@top_build_prefix@&$ac_top_build_prefix&;t t
35936s&@srcdir@&$ac_srcdir&;t t
35937s&@abs_srcdir@&$ac_abs_srcdir&;t t
35938s&@top_srcdir@&$ac_top_srcdir&;t t
35939s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
35940s&@builddir@&$ac_builddir&;t t
35941s&@abs_builddir@&$ac_abs_builddir&;t t
35942s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
35943s&@INSTALL@&$ac_INSTALL&;t t
35944s&@MKDIR_P@&$ac_MKDIR_P&;t t
35945$ac_datarootdir_hack
35946"
35947eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
35948  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35949
35950test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
35951  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
35952  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
35953      "$ac_tmp/out"`; test -z "$ac_out"; } &&
35954  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35955which seems to be undefined.  Please make sure it is defined" >&5
35956$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35957which seems to be undefined.  Please make sure it is defined" >&2;}
35958
35959  rm -f "$ac_tmp/stdin"
35960  case $ac_file in
35961  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
35962  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
35963  esac \
35964  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35965 ;;
35966  :H)
35967  #
35968  # CONFIG_HEADER
35969  #
35970  if test x"$ac_file" != x-; then
35971    {
35972      $as_echo "/* $configure_input  */" \
35973      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
35974    } >"$ac_tmp/config.h" \
35975      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35976    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
35977      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
35978$as_echo "$as_me: $ac_file is unchanged" >&6;}
35979    else
35980      rm -f "$ac_file"
35981      mv "$ac_tmp/config.h" "$ac_file" \
35982	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
35983    fi
35984  else
35985    $as_echo "/* $configure_input  */" \
35986      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
35987      || as_fn_error $? "could not create -" "$LINENO" 5
35988  fi
35989# Compute "$ac_file"'s index in $config_headers.
35990_am_arg="$ac_file"
35991_am_stamp_count=1
35992for _am_header in $config_headers :; do
35993  case $_am_header in
35994    $_am_arg | $_am_arg:* )
35995      break ;;
35996    * )
35997      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35998  esac
35999done
36000echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
36001$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36002	 X"$_am_arg" : 'X\(//\)[^/]' \| \
36003	 X"$_am_arg" : 'X\(//\)$' \| \
36004	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
36005$as_echo X"$_am_arg" |
36006    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
36007	    s//\1/
36008	    q
36009	  }
36010	  /^X\(\/\/\)[^/].*/{
36011	    s//\1/
36012	    q
36013	  }
36014	  /^X\(\/\/\)$/{
36015	    s//\1/
36016	    q
36017	  }
36018	  /^X\(\/\).*/{
36019	    s//\1/
36020	    q
36021	  }
36022	  s/.*/./; q'`/stamp-h$_am_stamp_count
36023 ;;
36024
36025  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
36026$as_echo "$as_me: executing $ac_file commands" >&6;}
36027 ;;
36028  esac
36029
36030
36031  case $ac_file$ac_mode in
36032    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
36033  # Older Autoconf quotes --file arguments for eval, but not when files
36034  # are listed without --file.  Let's play safe and only enable the eval
36035  # if we detect the quoting.
36036  # TODO: see whether this extra hack can be removed once we start
36037  # requiring Autoconf 2.70 or later.
36038  case $CONFIG_FILES in #(
36039  *\'*) :
36040    eval set x "$CONFIG_FILES" ;; #(
36041  *) :
36042    set x $CONFIG_FILES ;; #(
36043  *) :
36044     ;;
36045esac
36046  shift
36047  # Used to flag and report bootstrapping failures.
36048  am_rc=0
36049  for am_mf
36050  do
36051    # Strip MF so we end up with the name of the file.
36052    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
36053    # Check whether this is an Automake generated Makefile which includes
36054    # dependency-tracking related rules and includes.
36055    # Grep'ing the whole file directly is not great: AIX grep has a line
36056    # limit of 2048, but all sed's we know have understand at least 4000.
36057    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
36058      || continue
36059    am_dirpart=`$as_dirname -- "$am_mf" ||
36060$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36061	 X"$am_mf" : 'X\(//\)[^/]' \| \
36062	 X"$am_mf" : 'X\(//\)$' \| \
36063	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
36064$as_echo X"$am_mf" |
36065    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
36066	    s//\1/
36067	    q
36068	  }
36069	  /^X\(\/\/\)[^/].*/{
36070	    s//\1/
36071	    q
36072	  }
36073	  /^X\(\/\/\)$/{
36074	    s//\1/
36075	    q
36076	  }
36077	  /^X\(\/\).*/{
36078	    s//\1/
36079	    q
36080	  }
36081	  s/.*/./; q'`
36082    am_filepart=`$as_basename -- "$am_mf" ||
36083$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
36084	 X"$am_mf" : 'X\(//\)$' \| \
36085	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
36086$as_echo X/"$am_mf" |
36087    sed '/^.*\/\([^/][^/]*\)\/*$/{
36088	    s//\1/
36089	    q
36090	  }
36091	  /^X\/\(\/\/\)$/{
36092	    s//\1/
36093	    q
36094	  }
36095	  /^X\/\(\/\).*/{
36096	    s//\1/
36097	    q
36098	  }
36099	  s/.*/./; q'`
36100    { echo "$as_me:$LINENO: cd "$am_dirpart" \
36101      && sed -e '/# am--include-marker/d' "$am_filepart" \
36102        | $MAKE -f - am--depfiles" >&5
36103   (cd "$am_dirpart" \
36104      && sed -e '/# am--include-marker/d' "$am_filepart" \
36105        | $MAKE -f - am--depfiles) >&5 2>&5
36106   ac_status=$?
36107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36108   (exit $ac_status); } || am_rc=$?
36109  done
36110  if test $am_rc -ne 0; then
36111    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36112$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36113as_fn_error $? "Something went wrong bootstrapping makefile fragments
36114    for automatic dependency tracking.  Try re-running configure with the
36115    '--disable-dependency-tracking' option to at least be able to build
36116    the package (albeit without support for automatic dependency tracking).
36117See \`config.log' for more details" "$LINENO" 5; }
36118  fi
36119  { am_dirpart=; unset am_dirpart;}
36120  { am_filepart=; unset am_filepart;}
36121  { am_mf=; unset am_mf;}
36122  { am_rc=; unset am_rc;}
36123  rm -f conftest-deps.mk
36124}
36125 ;;
36126    "libtool":C)
36127
36128    # See if we are running on zsh, and set the options that allow our
36129    # commands through without removal of \ escapes.
36130    if test -n "${ZSH_VERSION+set}"; then
36131      setopt NO_GLOB_SUBST
36132    fi
36133
36134    cfgfile=${ofile}T
36135    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
36136    $RM "$cfgfile"
36137
36138    cat <<_LT_EOF >> "$cfgfile"
36139#! $SHELL
36140# Generated automatically by $as_me ($PACKAGE) $VERSION
36141# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
36142# NOTE: Changes made to this file will be lost: look at ltmain.sh.
36143
36144# Provide generalized library-building support services.
36145# Written by Gordon Matzigkeit, 1996
36146
36147# Copyright (C) 2014 Free Software Foundation, Inc.
36148# This is free software; see the source for copying conditions.  There is NO
36149# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
36150
36151# GNU Libtool is free software; you can redistribute it and/or modify
36152# it under the terms of the GNU General Public License as published by
36153# the Free Software Foundation; either version 2 of of the License, or
36154# (at your option) any later version.
36155#
36156# As a special exception to the GNU General Public License, if you
36157# distribute this file as part of a program or library that is built
36158# using GNU Libtool, you may include this file under the  same
36159# distribution terms that you use for the rest of that program.
36160#
36161# GNU Libtool is distributed in the hope that it will be useful, but
36162# WITHOUT ANY WARRANTY; without even the implied warranty of
36163# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
36164# GNU General Public License for more details.
36165#
36166# You should have received a copy of the GNU General Public License
36167# along with this program.  If not, see <http://www.gnu.org/licenses/>.
36168
36169
36170# The names of the tagged configurations supported by this script.
36171available_tags=''
36172
36173# Configured defaults for sys_lib_dlsearch_path munging.
36174: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
36175
36176# ### BEGIN LIBTOOL CONFIG
36177
36178# Which release of libtool.m4 was used?
36179macro_version=$macro_version
36180macro_revision=$macro_revision
36181
36182# Whether or not to build shared libraries.
36183build_libtool_libs=$enable_shared
36184
36185# Whether or not to build static libraries.
36186build_old_libs=$enable_static
36187
36188# What type of objects to build.
36189pic_mode=$pic_mode
36190
36191# Whether or not to optimize for fast installation.
36192fast_install=$enable_fast_install
36193
36194# Shared archive member basename,for filename based shared library versioning on AIX.
36195shared_archive_member_spec=$shared_archive_member_spec
36196
36197# Shell to use when invoking shell scripts.
36198SHELL=$lt_SHELL
36199
36200# An echo program that protects backslashes.
36201ECHO=$lt_ECHO
36202
36203# The PATH separator for the build system.
36204PATH_SEPARATOR=$lt_PATH_SEPARATOR
36205
36206# The host system.
36207host_alias=$host_alias
36208host=$host
36209host_os=$host_os
36210
36211# The build system.
36212build_alias=$build_alias
36213build=$build
36214build_os=$build_os
36215
36216# A sed program that does not truncate output.
36217SED=$lt_SED
36218
36219# Sed that helps us avoid accidentally triggering echo(1) options like -n.
36220Xsed="\$SED -e 1s/^X//"
36221
36222# A grep program that handles long lines.
36223GREP=$lt_GREP
36224
36225# An ERE matcher.
36226EGREP=$lt_EGREP
36227
36228# A literal string matcher.
36229FGREP=$lt_FGREP
36230
36231# A BSD- or MS-compatible name lister.
36232NM=$lt_NM
36233
36234# Whether we need soft or hard links.
36235LN_S=$lt_LN_S
36236
36237# What is the maximum length of a command?
36238max_cmd_len=$max_cmd_len
36239
36240# Object file pylibmount (normally "o").
36241objext=$ac_objext
36242
36243# Executable file pylibmount (normally "").
36244exeext=$exeext
36245
36246# whether the shell understands "unset".
36247lt_unset=$lt_unset
36248
36249# turn spaces into newlines.
36250SP2NL=$lt_lt_SP2NL
36251
36252# turn newlines into spaces.
36253NL2SP=$lt_lt_NL2SP
36254
36255# convert \$build file names to \$host format.
36256to_host_file_cmd=$lt_cv_to_host_file_cmd
36257
36258# convert \$build files to toolchain format.
36259to_tool_file_cmd=$lt_cv_to_tool_file_cmd
36260
36261# An object symbol dumper.
36262OBJDUMP=$lt_OBJDUMP
36263
36264# Method to check whether dependent libraries are shared objects.
36265deplibs_check_method=$lt_deplibs_check_method
36266
36267# Command to use when deplibs_check_method = "file_magic".
36268file_magic_cmd=$lt_file_magic_cmd
36269
36270# How to find potential files when deplibs_check_method = "file_magic".
36271file_magic_glob=$lt_file_magic_glob
36272
36273# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
36274want_nocaseglob=$lt_want_nocaseglob
36275
36276# DLL creation program.
36277DLLTOOL=$lt_DLLTOOL
36278
36279# Command to associate shared and link libraries.
36280sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
36281
36282# The archiver.
36283AR=$lt_AR
36284
36285# Flags to create an archive.
36286AR_FLAGS=$lt_AR_FLAGS
36287
36288# How to feed a file listing to the archiver.
36289archiver_list_spec=$lt_archiver_list_spec
36290
36291# A symbol stripping program.
36292STRIP=$lt_STRIP
36293
36294# Commands used to install an old-style archive.
36295RANLIB=$lt_RANLIB
36296old_postinstall_cmds=$lt_old_postinstall_cmds
36297old_postuninstall_cmds=$lt_old_postuninstall_cmds
36298
36299# Whether to use a lock for old archive extraction.
36300lock_old_archive_extraction=$lock_old_archive_extraction
36301
36302# A C compiler.
36303LTCC=$lt_CC
36304
36305# LTCC compiler flags.
36306LTCFLAGS=$lt_CFLAGS
36307
36308# Take the output of nm and produce a listing of raw symbols and C names.
36309global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
36310
36311# Transform the output of nm in a proper C declaration.
36312global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
36313
36314# Transform the output of nm into a list of symbols to manually relocate.
36315global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
36316
36317# Transform the output of nm in a C name address pair.
36318global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
36319
36320# Transform the output of nm in a C name address pair when lib prefix is needed.
36321global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
36322
36323# The name lister interface.
36324nm_interface=$lt_lt_cv_nm_interface
36325
36326# Specify filename containing input files for \$NM.
36327nm_file_list_spec=$lt_nm_file_list_spec
36328
36329# The root where to search for dependent libraries,and where our libraries should be installed.
36330lt_sysroot=$lt_sysroot
36331
36332# Command to truncate a binary pipe.
36333lt_truncate_bin=$lt_lt_cv_truncate_bin
36334
36335# The name of the directory that contains temporary libtool files.
36336objdir=$objdir
36337
36338# Used to examine libraries when file_magic_cmd begins with "file".
36339MAGIC_CMD=$MAGIC_CMD
36340
36341# Must we lock files when doing compilation?
36342need_locks=$lt_need_locks
36343
36344# Manifest tool.
36345MANIFEST_TOOL=$lt_MANIFEST_TOOL
36346
36347# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
36348DSYMUTIL=$lt_DSYMUTIL
36349
36350# Tool to change global to local symbols on Mac OS X.
36351NMEDIT=$lt_NMEDIT
36352
36353# Tool to manipulate fat objects and archives on Mac OS X.
36354LIPO=$lt_LIPO
36355
36356# ldd/readelf like tool for Mach-O binaries on Mac OS X.
36357OTOOL=$lt_OTOOL
36358
36359# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
36360OTOOL64=$lt_OTOOL64
36361
36362# Old archive pylibmount (normally "a").
36363libext=$libext
36364
36365# Shared library pylibmount (normally ".so").
36366shrext_cmds=$lt_shrext_cmds
36367
36368# The commands to extract the exported symbol list from a shared archive.
36369extract_expsyms_cmds=$lt_extract_expsyms_cmds
36370
36371# Variables whose values should be saved in libtool wrapper scripts and
36372# restored at link time.
36373variables_saved_for_relink=$lt_variables_saved_for_relink
36374
36375# Do we need the "lib" prefix for modules?
36376need_lib_prefix=$need_lib_prefix
36377
36378# Do we need a version for libraries?
36379need_version=$need_version
36380
36381# Library versioning type.
36382version_type=$version_type
36383
36384# Shared library runtime path variable.
36385runpath_var=$runpath_var
36386
36387# Shared library path variable.
36388shlibpath_var=$shlibpath_var
36389
36390# Is shlibpath searched before the hard-coded library search path?
36391shlibpath_overrides_runpath=$shlibpath_overrides_runpath
36392
36393# Format of library name prefix.
36394libname_spec=$lt_libname_spec
36395
36396# List of archive names.  First name is the real one, the rest are links.
36397# The last name is the one that the linker finds with -lNAME
36398library_names_spec=$lt_library_names_spec
36399
36400# The coded name of the library, if different from the real name.
36401soname_spec=$lt_soname_spec
36402
36403# Permission mode override for installation of shared libraries.
36404install_override_mode=$lt_install_override_mode
36405
36406# Command to use after installation of a shared archive.
36407postinstall_cmds=$lt_postinstall_cmds
36408
36409# Command to use after uninstallation of a shared archive.
36410postuninstall_cmds=$lt_postuninstall_cmds
36411
36412# Commands used to finish a libtool library installation in a directory.
36413finish_cmds=$lt_finish_cmds
36414
36415# As "finish_cmds", except a single script fragment to be evaled but
36416# not shown.
36417finish_eval=$lt_finish_eval
36418
36419# Whether we should hardcode library paths into libraries.
36420hardcode_into_libs=$hardcode_into_libs
36421
36422# Compile-time system search path for libraries.
36423sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
36424
36425# Detected run-time system search path for libraries.
36426sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
36427
36428# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
36429configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
36430
36431# Whether dlopen is supported.
36432dlopen_support=$enable_dlopen
36433
36434# Whether dlopen of programs is supported.
36435dlopen_self=$enable_dlopen_self
36436
36437# Whether dlopen of statically linked programs is supported.
36438dlopen_self_static=$enable_dlopen_self_static
36439
36440# Commands to strip libraries.
36441old_striplib=$lt_old_striplib
36442striplib=$lt_striplib
36443
36444
36445# The linker used to build libraries.
36446LD=$lt_LD
36447
36448# How to create reloadable object files.
36449reload_flag=$lt_reload_flag
36450reload_cmds=$lt_reload_cmds
36451
36452# Commands used to build an old-style archive.
36453old_archive_cmds=$lt_old_archive_cmds
36454
36455# A language specific compiler.
36456CC=$lt_compiler
36457
36458# Is the compiler the GNU compiler?
36459with_gcc=$GCC
36460
36461# Compiler flag to turn off builtin functions.
36462no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
36463
36464# Additional compiler flags for building library objects.
36465pic_flag=$lt_lt_prog_compiler_pic
36466
36467# How to pass a linker flag through the compiler.
36468wl=$lt_lt_prog_compiler_wl
36469
36470# Compiler flag to prevent dynamic linking.
36471link_static_flag=$lt_lt_prog_compiler_static
36472
36473# Does compiler simultaneously support -c and -o options?
36474compiler_c_o=$lt_lt_cv_prog_compiler_c_o
36475
36476# Whether or not to add -lc for building shared libraries.
36477build_libtool_need_lc=$archive_cmds_need_lc
36478
36479# Whether or not to disallow shared libs when runtime libs are static.
36480allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
36481
36482# Compiler flag to allow reflexive dlopens.
36483export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
36484
36485# Compiler flag to generate shared objects directly from archives.
36486whole_archive_flag_spec=$lt_whole_archive_flag_spec
36487
36488# Whether the compiler copes with passing no objects directly.
36489compiler_needs_object=$lt_compiler_needs_object
36490
36491# Create an old-style archive from a shared archive.
36492old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
36493
36494# Create a temporary old-style archive to link instead of a shared archive.
36495old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
36496
36497# Commands used to build a shared archive.
36498archive_cmds=$lt_archive_cmds
36499archive_expsym_cmds=$lt_archive_expsym_cmds
36500
36501# Commands used to build a loadable module if different from building
36502# a shared archive.
36503module_cmds=$lt_module_cmds
36504module_expsym_cmds=$lt_module_expsym_cmds
36505
36506# Whether we are building with GNU ld or not.
36507with_gnu_ld=$lt_with_gnu_ld
36508
36509# Flag that allows shared libraries with undefined symbols to be built.
36510allow_undefined_flag=$lt_allow_undefined_flag
36511
36512# Flag that enforces no undefined symbols.
36513no_undefined_flag=$lt_no_undefined_flag
36514
36515# Flag to hardcode \$libdir into a binary during linking.
36516# This must work even if \$libdir does not exist
36517hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
36518
36519# Whether we need a single "-rpath" flag with a separated argument.
36520hardcode_libdir_separator=$lt_hardcode_libdir_separator
36521
36522# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
36523# DIR into the resulting binary.
36524hardcode_direct=$hardcode_direct
36525
36526# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
36527# DIR into the resulting binary and the resulting library dependency is
36528# "absolute",i.e impossible to change by setting \$shlibpath_var if the
36529# library is relocated.
36530hardcode_direct_absolute=$hardcode_direct_absolute
36531
36532# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36533# into the resulting binary.
36534hardcode_minus_L=$hardcode_minus_L
36535
36536# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36537# into the resulting binary.
36538hardcode_shlibpath_var=$hardcode_shlibpath_var
36539
36540# Set to "yes" if building a shared library automatically hardcodes DIR
36541# into the library and all subsequent libraries and executables linked
36542# against it.
36543hardcode_automatic=$hardcode_automatic
36544
36545# Set to yes if linker adds runtime paths of dependent libraries
36546# to runtime path list.
36547inherit_rpath=$inherit_rpath
36548
36549# Whether libtool must link a program against all its dependency libraries.
36550link_all_deplibs=$link_all_deplibs
36551
36552# Set to "yes" if exported symbols are required.
36553always_export_symbols=$always_export_symbols
36554
36555# The commands to list exported symbols.
36556export_symbols_cmds=$lt_export_symbols_cmds
36557
36558# Symbols that should not be listed in the preloaded symbols.
36559exclude_expsyms=$lt_exclude_expsyms
36560
36561# Symbols that must always be exported.
36562include_expsyms=$lt_include_expsyms
36563
36564# Commands necessary for linking programs (against libraries) with templates.
36565prelink_cmds=$lt_prelink_cmds
36566
36567# Commands necessary for finishing linking programs.
36568postlink_cmds=$lt_postlink_cmds
36569
36570# Specify filename containing input files.
36571file_list_spec=$lt_file_list_spec
36572
36573# How to hardcode a shared library path into an executable.
36574hardcode_action=$hardcode_action
36575
36576# ### END LIBTOOL CONFIG
36577
36578_LT_EOF
36579
36580    cat <<'_LT_EOF' >> "$cfgfile"
36581
36582# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
36583
36584# func_munge_path_list VARIABLE PATH
36585# -----------------------------------
36586# VARIABLE is name of variable containing _space_ separated list of
36587# directories to be munged by the contents of PATH, which is string
36588# having a format:
36589# "DIR[:DIR]:"
36590#       string "DIR[ DIR]" will be prepended to VARIABLE
36591# ":DIR[:DIR]"
36592#       string "DIR[ DIR]" will be appended to VARIABLE
36593# "DIRP[:DIRP]::[DIRA:]DIRA"
36594#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
36595#       "DIRA[ DIRA]" will be appended to VARIABLE
36596# "DIR[:DIR]"
36597#       VARIABLE will be replaced by "DIR[ DIR]"
36598func_munge_path_list ()
36599{
36600    case x$2 in
36601    x)
36602        ;;
36603    *:)
36604        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
36605        ;;
36606    x:*)
36607        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
36608        ;;
36609    *::*)
36610        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
36611        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
36612        ;;
36613    *)
36614        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
36615        ;;
36616    esac
36617}
36618
36619
36620# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
36621func_cc_basename ()
36622{
36623    for cc_temp in $*""; do
36624      case $cc_temp in
36625        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
36626        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
36627        \-*) ;;
36628        *) break;;
36629      esac
36630    done
36631    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
36632}
36633
36634
36635# ### END FUNCTIONS SHARED WITH CONFIGURE
36636
36637_LT_EOF
36638
36639  case $host_os in
36640  aix3*)
36641    cat <<\_LT_EOF >> "$cfgfile"
36642# AIX sometimes has problems with the GCC collect2 program.  For some
36643# reason, if we set the COLLECT_NAMES environment variable, the problems
36644# vanish in a puff of smoke.
36645if test set != "${COLLECT_NAMES+set}"; then
36646  COLLECT_NAMES=
36647  export COLLECT_NAMES
36648fi
36649_LT_EOF
36650    ;;
36651  esac
36652
36653
36654ltmain=$ac_aux_dir/ltmain.sh
36655
36656
36657  # We use sed instead of cat because bash on DJGPP gets confused if
36658  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
36659  # text mode, it properly converts lines to CR/LF.  This bash problem
36660  # is reportedly fixed, but why not run on old versions too?
36661  sed '$q' "$ltmain" >> "$cfgfile" \
36662     || (rm -f "$cfgfile"; exit 1)
36663
36664   mv -f "$cfgfile" "$ofile" ||
36665    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
36666  chmod +x "$ofile"
36667
36668 ;;
36669    "po-directories":C)
36670    for ac_file in $CONFIG_FILES; do
36671      # Support "outfile[:infile[:infile...]]"
36672      case "$ac_file" in
36673        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
36674      esac
36675      # PO directories have a Makefile.in generated from Makefile.in.in.
36676      case "$ac_file" in */Makefile.in)
36677        # Adjust a relative srcdir.
36678        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
36679        ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
36680        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
36681        # In autoconf-2.13 it is called $ac_given_srcdir.
36682        # In autoconf-2.50 it is called $srcdir.
36683        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
36684        case "$ac_given_srcdir" in
36685          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
36686          /*) top_srcdir="$ac_given_srcdir" ;;
36687          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
36688        esac
36689        # Treat a directory as a PO directory if and only if it has a
36690        # POTFILES.in file. This allows packages to have multiple PO
36691        # directories under different names or in different locations.
36692        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
36693          rm -f "$ac_dir/POTFILES"
36694          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
36695          gt_tab=`printf '\t'`
36696          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
36697          POMAKEFILEDEPS="POTFILES.in"
36698          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
36699          # on $ac_dir but don't depend on user-specified configuration
36700          # parameters.
36701          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
36702            # The LINGUAS file contains the set of available languages.
36703            if test -n "$OBSOLETE_ALL_LINGUAS"; then
36704              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
36705            fi
36706            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
36707            # Hide the ALL_LINGUAS assignment from automake < 1.5.
36708            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
36709            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
36710          else
36711            # The set of available languages was given in configure.in.
36712            # Hide the ALL_LINGUAS assignment from automake < 1.5.
36713            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
36714          fi
36715          # Compute POFILES
36716          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
36717          # Compute UPDATEPOFILES
36718          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
36719          # Compute DUMMYPOFILES
36720          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
36721          # Compute GMOFILES
36722          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
36723          case "$ac_given_srcdir" in
36724            .) srcdirpre= ;;
36725            *) srcdirpre='$(srcdir)/' ;;
36726          esac
36727          POFILES=
36728          UPDATEPOFILES=
36729          DUMMYPOFILES=
36730          GMOFILES=
36731          for lang in $ALL_LINGUAS; do
36732            POFILES="$POFILES $srcdirpre$lang.po"
36733            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
36734            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
36735            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
36736          done
36737          # CATALOGS depends on both $ac_dir and the user's LINGUAS
36738          # environment variable.
36739          INST_LINGUAS=
36740          if test -n "$ALL_LINGUAS"; then
36741            for presentlang in $ALL_LINGUAS; do
36742              useit=no
36743              if test "%UNSET%" != "$LINGUAS"; then
36744                desiredlanguages="$LINGUAS"
36745              else
36746                desiredlanguages="$ALL_LINGUAS"
36747              fi
36748              for desiredlang in $desiredlanguages; do
36749                # Use the presentlang catalog if desiredlang is
36750                #   a. equal to presentlang, or
36751                #   b. a variant of presentlang (because in this case,
36752                #      presentlang can be used as a fallback for messages
36753                #      which are not translated in the desiredlang catalog).
36754                case "$desiredlang" in
36755                  "$presentlang"*) useit=yes;;
36756                esac
36757              done
36758              if test $useit = yes; then
36759                INST_LINGUAS="$INST_LINGUAS $presentlang"
36760              fi
36761            done
36762          fi
36763          CATALOGS=
36764          if test -n "$INST_LINGUAS"; then
36765            for lang in $INST_LINGUAS; do
36766              CATALOGS="$CATALOGS $lang.gmo"
36767            done
36768          fi
36769          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
36770          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"
36771          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
36772            if test -f "$f"; then
36773              case "$f" in
36774                *.orig | *.bak | *~) ;;
36775                *) cat "$f" >> "$ac_dir/Makefile" ;;
36776              esac
36777            fi
36778          done
36779        fi
36780        ;;
36781      esac
36782    done ;;
36783
36784  esac
36785done # for ac_tag
36786
36787
36788as_fn_exit 0
36789_ACEOF
36790ac_clean_files=$ac_clean_files_save
36791
36792test $ac_write_fail = 0 ||
36793  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
36794
36795
36796# configure is writing to config.log, and then calls config.status.
36797# config.status does its own redirection, appending to config.log.
36798# Unfortunately, on DOS this fails, as config.log is still kept open
36799# by configure, so config.status won't be able to write to it; its
36800# output is simply discarded.  So we exec the FD to /dev/null,
36801# effectively closing config.log, so it can be properly (re)opened and
36802# appended to by config.status.  When coming back to configure, we
36803# need to make the FD available again.
36804if test "$no_create" != yes; then
36805  ac_cs_success=:
36806  ac_config_status_args=
36807  test "$silent" = yes &&
36808    ac_config_status_args="$ac_config_status_args --quiet"
36809  exec 5>/dev/null
36810  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36811  exec 5>>config.log
36812  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36813  # would make configure fail if this is the last instruction.
36814  $ac_cs_success || as_fn_exit 1
36815fi
36816if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
36817  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
36818$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
36819fi
36820
36821
36822{ $as_echo "$as_me:${as_lineno-$LINENO}: result:
36823	${PACKAGE}  ${VERSION}
36824
36825	prefix:            ${prefix}
36826	exec prefix:       ${exec_prefix}
36827
36828	runstatedir:       ${runstatedir}
36829	bindir:            ${bindir}
36830	sbindir:           ${sbindir}
36831	libdir:            ${libdir}
36832	includedir:        ${includedir}
36833	usrbin_execdir:    ${usrbin_execdir}
36834	usrsbin_execdir:   ${usrsbin_execdir}
36835	usrlib_execdir:    ${usrlib_execdir}
36836        vendordir:         ${with_vendordir}
36837
36838	compiler:          ${CC}
36839	cflags:            ${CFLAGS}
36840	suid cflags:       ${SUID_CFLAGS}
36841	ldflags:           ${LDFLAGS}
36842	suid ldflags:      ${SUID_LDFLAGS}
36843	ASAN enabled:      ${enable_asan}
36844
36845	Python:            ${PYTHON}
36846	Python version:    ${PYTHON_VERSION}
36847	Python libs:       ${pyexecdir}
36848
36849	Bash completions:  ${with_bashcompletiondir}
36850	Systemd support:   ${have_systemd}
36851	Systemd unitdir:   ${with_systemdsystemunitdir}
36852	libeconf support:  ${have_econf}
36853	Btrfs support:     ${have_btrfs}
36854	Wide-char support: ${build_widechar}
36855
36856	warnings:
36857
36858${WARN_CFLAGS}
36859
36860	Type 'make' or 'make <utilname>' to compile.
36861" >&5
36862$as_echo "
36863	${PACKAGE}  ${VERSION}
36864
36865	prefix:            ${prefix}
36866	exec prefix:       ${exec_prefix}
36867
36868	runstatedir:       ${runstatedir}
36869	bindir:            ${bindir}
36870	sbindir:           ${sbindir}
36871	libdir:            ${libdir}
36872	includedir:        ${includedir}
36873	usrbin_execdir:    ${usrbin_execdir}
36874	usrsbin_execdir:   ${usrsbin_execdir}
36875	usrlib_execdir:    ${usrlib_execdir}
36876        vendordir:         ${with_vendordir}
36877
36878	compiler:          ${CC}
36879	cflags:            ${CFLAGS}
36880	suid cflags:       ${SUID_CFLAGS}
36881	ldflags:           ${LDFLAGS}
36882	suid ldflags:      ${SUID_LDFLAGS}
36883	ASAN enabled:      ${enable_asan}
36884
36885	Python:            ${PYTHON}
36886	Python version:    ${PYTHON_VERSION}
36887	Python libs:       ${pyexecdir}
36888
36889	Bash completions:  ${with_bashcompletiondir}
36890	Systemd support:   ${have_systemd}
36891	Systemd unitdir:   ${with_systemdsystemunitdir}
36892	libeconf support:  ${have_econf}
36893	Btrfs support:     ${have_btrfs}
36894	Wide-char support: ${build_widechar}
36895
36896	warnings:
36897
36898${WARN_CFLAGS}
36899
36900	Type 'make' or 'make <utilname>' to compile.
36901" >&6; }
36902