2001-09-21 12:37:43 +00:00
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
2024-03-20 16:14:54 +01:00
# Generated by GNU Autoconf 2.72.
2011-01-07 14:38:34 +00:00
#
2001-09-21 12:37:43 +00:00
#
2024-03-20 16:14:54 +01:00
# Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
2022-08-15 11:22:53 +02:00
# Inc.
2011-01-07 14:38:34 +00:00
#
#
2001-09-21 12:37:43 +00:00
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
2011-01-07 14:38:34 +00:00
## -------------------- ##
## M4sh Initialization. ##
## -------------------- ##
2004-07-03 18:21:13 +00:00
2008-05-19 20:06:34 +00:00
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
2022-08-15 11:22:53 +02:00
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
then :
2004-07-03 18:21:13 +00:00
emulate sh
NULLCMD=:
2009-02-22 22:11:58 +00:00
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2004-07-03 18:21:13 +00:00
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
2007-08-14 19:11:31 +00:00
setopt NO_GLOB_SUBST
2024-03-20 16:14:54 +01:00
else case e in #(
e) case `(set -o) 2>/dev/null` in #(
2011-01-07 14:38:34 +00:00
*posix*) :
set -o posix ;; #(
*) :
;;
2024-03-20 16:14:54 +01:00
esac ;;
2008-05-19 20:06:34 +00:00
esac
2007-08-14 19:11:31 +00:00
fi
2008-05-19 20:06:34 +00:00
2022-08-15 11:22:53 +02:00
# Reset variables that may have inherited troublesome values from
# the environment.
# IFS needs to be set, to space, tab, and newline, in precisely that order.
# (If _AS_PATH_WALK were called with IFS unset, it would have the
# side effect of setting IFS to empty, thus disabling word splitting.)
# Quoting is to prevent editors from complaining about space-tab.
2009-02-22 22:11:58 +00:00
as_nl='
'
export as_nl
2022-08-15 11:22:53 +02:00
IFS=" "" $as_nl"
PS1='$ '
PS2='> '
PS4='+ '
# Ensure predictable behavior from utilities with locale-dependent output.
LC_ALL=C
export LC_ALL
LANGUAGE=C
export LANGUAGE
# We cannot yet rely on "unset" to work, but we need these variables
# to be unset--not just set to an empty or harmless value--now, to
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
# also avoids known problems related to "unset" and subshell syntax
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
do eval test \${$as_var+y} \
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
done
# Ensure that fds 0, 1, and 2 are open.
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
2009-02-22 22:11:58 +00:00
# The user is always right.
2022-08-15 11:22:53 +02:00
if ${PATH_SEPARATOR+false} :; then
2009-02-22 22:11:58 +00:00
PATH_SEPARATOR=:
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
PATH_SEPARATOR=';'
}
2004-07-03 18:21:13 +00:00
fi
2007-08-14 19:11:31 +00:00
# Find who we are. Look in the path if we contain no directory separator.
2014-04-04 02:36:47 +01:00
as_myself=
2011-01-07 14:38:34 +00:00
case $0 in #((
2007-08-14 19:11:31 +00:00
*[\\/]* ) as_myself=$0 ;;
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
2022-08-15 11:22:53 +02:00
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
test -r "$as_dir$0" && as_myself=$as_dir$0 && break
2011-01-07 14:38:34 +00:00
done
2007-08-14 19:11:31 +00:00
IFS=$as_save_IFS
;;
esac
2024-03-20 16:14:54 +01:00
# We did not find ourselves, most probably we were run as 'sh COMMAND'
2007-08-14 19:11:31 +00:00
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
as_myself=$0
fi
if test ! -f "$as_myself"; then
2022-08-15 11:22:53 +02:00
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2011-01-07 14:38:34 +00:00
exit 1
2007-08-14 19:11:31 +00:00
fi
2011-01-07 14:38:34 +00:00
2014-04-04 02:36:47 +01:00
# Use a proper internal environment variable to ensure we don't fall
# into an infinite loop, continuously re-executing ourselves.
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
_as_can_reexec=no; export _as_can_reexec;
# We cannot yet assume a decent shell, so we have to provide a
# neutralization value for shells without unset; and this also
# works around shells that cannot unset nonexistent variables.
# Preserve -v and -x to the replacement shell.
BASH_ENV=/dev/null
ENV=/dev/null
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
case $- in # ((((
*v*x* | *x*v* ) as_opts=-vx ;;
*v* ) as_opts=-v ;;
*x* ) as_opts=-x ;;
* ) as_opts= ;;
esac
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
# Admittedly, this is quite paranoid, since all the known shells bail
2024-03-20 16:14:54 +01:00
# out after a failed 'exec'.
2022-08-15 11:22:53 +02:00
printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
exit 255
2014-04-04 02:36:47 +01:00
fi
# We don't want this to propagate to other subprocesses.
{ _as_can_reexec=; unset _as_can_reexec;}
2011-01-07 14:38:34 +00:00
if test "x$CONFIG_SHELL" = x; then
2024-03-20 16:14:54 +01:00
as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
2022-08-15 11:22:53 +02:00
then :
2011-01-07 14:38:34 +00:00
emulate sh
NULLCMD=:
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
# is contrary to our usage. Disable this feature.
alias -g '\${1+\"\$@\"}'='\"\$@\"'
setopt NO_GLOB_SUBST
2024-03-20 16:14:54 +01:00
else case e in #(
e) case \`(set -o) 2>/dev/null\` in #(
2011-01-07 14:38:34 +00:00
*posix*) :
set -o posix ;; #(
*) :
;;
2024-03-20 16:14:54 +01:00
esac ;;
2011-01-07 14:38:34 +00:00
esac
fi
"
as_required="as_fn_return () { (exit \$1); }
as_fn_success () { as_fn_return 0; }
as_fn_failure () { as_fn_return 1; }
as_fn_ret_success () { return 0; }
as_fn_ret_failure () { return 1; }
exitcode=0
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
2022-08-15 11:22:53 +02:00
if ( set x; as_fn_ret_success y && test x = \"\$1\" )
then :
2011-01-07 14:38:34 +00:00
2024-03-20 16:14:54 +01:00
else case e in #(
e) exitcode=1; echo positional parameters were not saved. ;;
esac
2011-01-07 14:38:34 +00:00
fi
2014-04-04 02:36:47 +01:00
test x\$exitcode = x0 || exit 1
2022-08-15 11:22:53 +02:00
blah=\$(echo \$(echo blah))
test x\"\$blah\" = xblah || exit 1
2014-04-04 02:36:47 +01:00
test -x / || exit 1"
2011-01-07 14:38:34 +00:00
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
test \$(( 1 + 1 )) = 2 || exit 1"
2022-08-15 11:22:53 +02:00
if (eval "$as_required") 2>/dev/null
then :
2011-01-07 14:38:34 +00:00
as_have_required=yes
2024-03-20 16:14:54 +01:00
else case e in #(
e) as_have_required=no ;;
esac
2011-01-07 14:38:34 +00:00
fi
2022-08-15 11:22:53 +02:00
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
then :
2011-01-07 14:38:34 +00:00
2024-03-20 16:14:54 +01:00
else case e in #(
e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2011-01-07 14:38:34 +00:00
as_found=false
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
IFS=$as_save_IFS
2022-08-15 11:22:53 +02:00
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
2011-01-07 14:38:34 +00:00
as_found=:
case $as_dir in #(
/*)
for as_base in sh bash ksh sh5; do
# Try only shells that exist, to save several forks.
2022-08-15 11:22:53 +02:00
as_shell=$as_dir$as_base
2011-01-07 14:38:34 +00:00
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2022-08-15 11:22:53 +02:00
as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
then :
2011-01-07 14:38:34 +00:00
CONFIG_SHELL=$as_shell as_have_required=yes
2022-08-15 11:22:53 +02:00
if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
then :
2011-01-07 14:38:34 +00:00
break 2
fi
fi
done;;
esac
as_found=false
done
IFS=$as_save_IFS
2022-08-15 11:22:53 +02:00
if $as_found
then :
2024-03-20 16:14:54 +01:00
else case e in #(
e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
2022-08-15 11:22:53 +02:00
as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
then :
CONFIG_SHELL=$SHELL as_have_required=yes
2024-03-20 16:14:54 +01:00
fi ;;
esac
2022-08-15 11:22:53 +02:00
fi
2011-01-07 14:38:34 +00:00
2022-08-15 11:22:53 +02:00
if test "x$CONFIG_SHELL" != x
then :
2014-04-04 02:36:47 +01:00
export CONFIG_SHELL
# We cannot yet assume a decent shell, so we have to provide a
# neutralization value for shells without unset; and this also
# works around shells that cannot unset nonexistent variables.
# Preserve -v and -x to the replacement shell.
BASH_ENV=/dev/null
ENV=/dev/null
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
case $- in # ((((
*v*x* | *x*v* ) as_opts=-vx ;;
*v* ) as_opts=-v ;;
*x* ) as_opts=-x ;;
* ) as_opts= ;;
esac
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
# Admittedly, this is quite paranoid, since all the known shells bail
2024-03-20 16:14:54 +01:00
# out after a failed 'exec'.
2022-08-15 11:22:53 +02:00
printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
2014-04-04 02:36:47 +01:00
exit 255
2011-01-07 14:38:34 +00:00
fi
2022-08-15 11:22:53 +02:00
if test x$as_have_required = xno
then :
printf "%s\n" "$0: This script requires a shell more modern than all"
printf "%s\n" "$0: the shells that I found on your system."
if test ${ZSH_VERSION+y} ; then
printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
2011-01-07 14:38:34 +00:00
else
2022-08-15 11:22:53 +02:00
printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
2011-01-07 14:38:34 +00:00
$0: including any error possibly output before this
$0: message. Then install a modern shell, or manually run
$0: the script under such a shell if you do have one."
fi
exit 1
2024-03-20 16:14:54 +01:00
fi ;;
esac
2011-01-07 14:38:34 +00:00
fi
fi
SHELL=${CONFIG_SHELL-/bin/sh}
export SHELL
# Unset more variables known to interfere with behavior of common tools.
CLICOLOR_FORCE= GREP_OPTIONS=
unset CLICOLOR_FORCE GREP_OPTIONS
## --------------------- ##
## M4sh Shell Functions. ##
## --------------------- ##
# as_fn_unset VAR
# ---------------
# Portably unset VAR.
as_fn_unset ()
{
{ eval $1=; unset $1;}
}
as_unset=as_fn_unset
2022-08-15 11:22:53 +02:00
2011-01-07 14:38:34 +00:00
# as_fn_set_status STATUS
# -----------------------
# Set $? to STATUS, without forking.
as_fn_set_status ()
{
return $1
} # as_fn_set_status
# as_fn_exit STATUS
# -----------------
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
as_fn_exit ()
{
set +e
as_fn_set_status $1
exit $1
} # as_fn_exit
# as_fn_mkdir_p
# -------------
# Create "$as_dir" as a directory, including parents if necessary.
as_fn_mkdir_p ()
{
case $as_dir in #(
-*) as_dir=./$as_dir;;
esac
test -d "$as_dir" || eval $as_mkdir_p || {
as_dirs=
while :; do
case $as_dir in #(
2022-08-15 11:22:53 +02:00
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2011-01-07 14:38:34 +00:00
*) as_qdir=$as_dir;;
esac
as_dirs="'$as_qdir' $as_dirs"
as_dir=`$as_dirname -- "$as_dir" ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$as_dir" : 'X\(//\)[^/]' \| \
X"$as_dir" : 'X\(//\)$' \| \
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2022-08-15 11:22:53 +02:00
printf "%s\n" X"$as_dir" |
2011-01-07 14:38:34 +00:00
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
test -d "$as_dir" && break
done
test -z "$as_dirs" || eval "mkdir $as_dirs"
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
} # as_fn_mkdir_p
2014-04-04 02:36:47 +01:00
# as_fn_executable_p FILE
# -----------------------
# Test if FILE is an executable regular file.
as_fn_executable_p ()
{
test -f "$1" && test -x "$1"
} # as_fn_executable_p
2011-01-07 14:38:34 +00:00
# as_fn_append VAR VALUE
# ----------------------
# Append the text in VALUE to the end of the definition contained in VAR. Take
# advantage of any shell optimizations that allow amortized linear growth over
# repeated appends, instead of the typical quadratic growth present in naive
# implementations.
2022-08-15 11:22:53 +02:00
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
then :
2011-01-07 14:38:34 +00:00
eval 'as_fn_append ()
{
eval $1+=\$2
}'
2024-03-20 16:14:54 +01:00
else case e in #(
e) as_fn_append ()
2011-01-07 14:38:34 +00:00
{
eval $1=\$$1\$2
2024-03-20 16:14:54 +01:00
} ;;
esac
2011-01-07 14:38:34 +00:00
fi # as_fn_append
# as_fn_arith ARG...
# ------------------
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) and expr.
2022-08-15 11:22:53 +02:00
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
then :
2011-01-07 14:38:34 +00:00
eval 'as_fn_arith ()
{
as_val=$(( $* ))
}'
2024-03-20 16:14:54 +01:00
else case e in #(
e) as_fn_arith ()
2011-01-07 14:38:34 +00:00
{
as_val=`expr "$@" || test $? -eq 1`
2024-03-20 16:14:54 +01:00
} ;;
esac
2011-01-07 14:38:34 +00:00
fi # as_fn_arith
# as_fn_error STATUS ERROR [LINENO LOG_FD]
# ----------------------------------------
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
# script with STATUS, using 1 if that was 0.
as_fn_error ()
{
as_status=$1; test $as_status -eq 0 && as_status=1
if test "$4"; then
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022-08-15 11:22:53 +02:00
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2011-01-07 14:38:34 +00:00
fi
2022-08-15 11:22:53 +02:00
printf "%s\n" "$as_me: error: $2" >&2
2011-01-07 14:38:34 +00:00
as_fn_exit $as_status
} # as_fn_error
2007-08-14 19:11:31 +00:00
if expr a : '\(a\)' >/dev/null 2>&1 &&
test "X`expr 00001 : '.*\(...\)'`" = X001; then
2004-07-03 18:21:13 +00:00
as_expr=expr
else
as_expr=false
fi
2007-08-14 19:11:31 +00:00
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2004-07-03 18:21:13 +00:00
as_basename=basename
else
as_basename=false
fi
2011-01-07 14:38:34 +00:00
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
as_dirname=dirname
else
as_dirname=false
fi
2004-07-03 18:21:13 +00:00
2007-08-14 19:11:31 +00:00
as_me=`$as_basename -- "$0" ||
2004-07-03 18:21:13 +00:00
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
2007-08-14 19:11:31 +00:00
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2022-08-15 11:22:53 +02:00
printf "%s\n" X/"$0" |
2007-08-14 19:11:31 +00:00
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
}
/^X\/\(\/\/\)$/{
s//\1/
q
}
/^X\/\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
2004-07-03 18:21:13 +00:00
2011-01-07 14:38:34 +00:00
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits
2004-07-03 18:21:13 +00:00
2011-01-07 14:38:34 +00:00
as_lineno_1=$LINENO as_lineno_1a=$LINENO
as_lineno_2=$LINENO as_lineno_2a=$LINENO
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
sed -n '
p
/[$]LINENO/=
' <$as_myself |
sed '
2024-03-20 16:14:54 +01:00
t clear
:clear
2011-01-07 14:38:34 +00:00
s/[$]LINENO.*/&-/
t lineno
b
:lineno
N
:loop
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
t loop
s/-\n.*//
' >$as_me.lineno &&
chmod +x "$as_me.lineno" ||
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
2004-07-03 18:21:13 +00:00
2014-04-04 02:36:47 +01:00
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
# already done that, so ensure we don't try to do so again and fall
# in an infinite loop. This has already happened in practice.
_as_can_reexec=no; export _as_can_reexec
2011-01-07 14:38:34 +00:00
# Don't try to exec as it changes $[0], causing all sort of problems
# (the dirname of $[0] is not the place where we might find the
# original and so on. Autoconf is especially sensitive to this).
. "./$as_me.lineno"
# Exit status is that of the last command.
exit
2007-08-14 19:11:31 +00:00
}
2004-07-03 18:21:13 +00:00
2022-08-15 11:22:53 +02:00
# Determine whether it's possible to make 'echo' print without a newline.
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
# for compatibility with existing Makefiles.
2011-01-07 14:38:34 +00:00
ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in #(((((
-n*)
case `echo 'xy\c'` in
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
xy) ECHO_C='\c';;
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
ECHO_T=' ';;
esac;;
*)
ECHO_N='-n';;
esac
2004-07-03 18:21:13 +00:00
2022-08-15 11:22:53 +02:00
# For backward compatibility with old third-party macros, we provide
# the shell variables $as_echo and $as_echo_n. New code should use
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
as_echo='printf %s\n'
as_echo_n='printf %s'
2011-01-07 14:38:34 +00:00
rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
rm -f conf$$.dir/conf$$.file
else
rm -f conf$$.dir
mkdir conf$$.dir 2>/dev/null
2007-08-14 19:11:31 +00:00
fi
2011-01-07 14:38:34 +00:00
if (echo >conf$$.file) 2>/dev/null; then
if ln -s conf$$.file conf$$ 2>/dev/null; then
as_ln_s='ln -s'
# ... but there are two gotchas:
2024-03-20 16:14:54 +01:00
# 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
# 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
# In both cases, we have to default to 'cp -pR'.
2011-01-07 14:38:34 +00:00
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2014-04-04 02:36:47 +01:00
as_ln_s='cp -pR'
2011-01-07 14:38:34 +00:00
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else
2014-04-04 02:36:47 +01:00
as_ln_s='cp -pR'
2011-01-07 14:38:34 +00:00
fi
2007-08-14 19:11:31 +00:00
else
2014-04-04 02:36:47 +01:00
as_ln_s='cp -pR'
2007-08-14 19:11:31 +00:00
fi
2011-01-07 14:38:34 +00:00
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
2007-08-14 19:11:31 +00:00
2011-01-07 14:38:34 +00:00
if mkdir -p . 2>/dev/null; then
as_mkdir_p='mkdir -p "$as_dir"'
else
test -d ./-p && rmdir ./-p
as_mkdir_p=false
2007-08-14 19:11:31 +00:00
fi
2014-04-04 02:36:47 +01:00
as_test_x='test -x'
as_executable_p=as_fn_executable_p
2007-08-14 19:11:31 +00:00
2011-01-07 14:38:34 +00:00
# Sed expression to map a string onto a valid CPP name.
2024-03-20 16:14:54 +01:00
as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
2007-08-14 19:11:31 +00:00
2011-01-07 14:38:34 +00:00
# Sed expression to map a string onto a valid variable name.
2024-03-20 16:14:54 +01:00
as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
as_tr_sh="eval sed '$as_sed_sh'" # deprecated
2007-08-14 19:11:31 +00:00
2011-01-07 14:38:34 +00:00
test -n "$DJDIR" || exec 7<&0 </dev/null
exec 6>&1
2004-07-03 18:21:13 +00:00
# Name of the host.
2011-01-07 14:38:34 +00:00
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
2004-07-03 18:21:13 +00:00
# so uname gets run too.
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
#
# Initializations.
#
2001-09-21 12:37:43 +00:00
ac_default_prefix=/usr/local
2007-08-14 19:11:31 +00:00
ac_clean_files=
2004-07-03 18:21:13 +00:00
ac_config_libobj_dir=.
2007-08-14 19:11:31 +00:00
LIBOBJS=
2004-07-03 18:21:13 +00:00
cross_compiling=no
subdirs=
MFLAGS=
MAKEFLAGS=
# Identity of this package.
2022-08-15 11:22:53 +02:00
PACKAGE_NAME=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PACKAGE_STRING=''
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
2004-07-03 18:21:13 +00:00
ac_unique_file="lib/device/dev-cache.h"
# Factoring default headers for most tests.
ac_includes_default="\
2022-08-15 11:22:53 +02:00
#include <stddef.h>
#ifdef HAVE_STDIO_H
# include <stdio.h>
2004-07-03 18:21:13 +00:00
#endif
2022-08-15 11:22:53 +02:00
#ifdef HAVE_STDLIB_H
2004-07-03 18:21:13 +00:00
# include <stdlib.h>
#endif
2008-05-19 20:06:34 +00:00
#ifdef HAVE_STRING_H
2004-07-03 18:21:13 +00:00
# include <string.h>
#endif
2008-05-19 20:06:34 +00:00
#ifdef HAVE_INTTYPES_H
2004-07-03 18:21:13 +00:00
# include <inttypes.h>
#endif
2008-05-19 20:06:34 +00:00
#ifdef HAVE_STDINT_H
2007-08-14 19:11:31 +00:00
# include <stdint.h>
#endif
2022-08-15 11:22:53 +02:00
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
2008-05-19 20:06:34 +00:00
#ifdef HAVE_UNISTD_H
2004-07-03 18:21:13 +00:00
# include <unistd.h>
#endif"
2022-08-15 11:22:53 +02:00
ac_header_c_list=
ac_func_c_list=
2001-09-21 12:37:43 +00:00
ac_default_prefix=/usr
2009-02-22 22:11:58 +00:00
ac_subst_vars='LTLIBOBJS
2008-10-07 19:11:59 +00:00
usrsbindir
2009-02-22 22:11:58 +00:00
usrlibdir
2009-07-31 11:51:23 +00:00
udev_prefix
2023-02-20 21:04:58 +01:00
udevdir
tmpfilesdir
2009-02-22 22:11:58 +00:00
tmpdir
2024-02-08 14:58:16 +01:00
modulesdir
2009-02-22 22:11:58 +00:00
missingkernel
2023-02-20 21:04:58 +01:00
kernelvsn
2009-02-22 22:11:58 +00:00
kerneldir
interface
2010-04-09 21:42:48 +00:00
WRITE_INSTALL
2021-04-19 11:24:16 +02:00
WRITECACHE
2018-06-29 13:38:18 +02:00
VDO_LIB
VDO_INCLUDE
VDO
2015-02-12 15:48:12 +01:00
VALGRIND_POOL
2017-10-25 16:49:17 +02:00
USRSBINDIR
2015-09-07 14:02:25 +02:00
USE_TRACKING
2010-01-11 15:59:54 +00:00
UDEV_SYNC
2023-02-20 21:04:58 +01:00
UDEV_STATIC_LIBS
UDEV_RULE_EXEC_DETECTION
2009-07-31 11:51:23 +00:00
UDEV_RULES
2010-05-11 08:48:43 +00:00
UDEV_PC
2023-02-20 21:04:58 +01:00
UDEV_HAS_BUILTIN_BLKID
2011-08-24 08:27:49 +00:00
THIN
2015-07-14 20:27:31 +02:00
TESTSUITE_DATA
2023-02-20 21:04:58 +01:00
SYSCONFDIR
2009-02-22 22:11:58 +00:00
STATIC_LINK
2023-02-20 21:04:58 +01:00
STATIC_LDFLAGS
2009-02-22 22:11:58 +00:00
STATICDIR
SNAPSHOTS
2023-02-20 21:04:58 +01:00
SILENT_RULES
2023-10-12 19:25:04 +02:00
SHARED_LINK
2023-02-20 21:04:58 +01:00
SELINUX_STATIC_LIBS
2010-05-11 08:48:43 +00:00
SELINUX_PC
2017-10-25 16:49:17 +02:00
SBINDIR
2017-08-01 12:41:45 +02:00
RT_LIBS
2016-02-17 23:53:35 +00:00
PYTHON3DIR
PYTHON3
2023-02-20 21:04:58 +01:00
PYTHON2DIR
2018-06-08 09:38:05 +01:00
PYTHON2
2010-03-04 11:21:05 +00:00
PTHREAD_LIBS
2009-02-22 22:11:58 +00:00
PKGCONFIG
2016-09-15 13:59:52 +01:00
ODIRECT
2011-01-10 14:28:17 +00:00
OCFDIR
2010-11-09 11:14:06 +00:00
OCF
2023-02-20 21:04:58 +01:00
M_LIBS
2009-02-22 22:11:58 +00:00
MIRRORS
2014-06-05 17:24:32 +02:00
MANGLING
2023-02-20 21:04:58 +01:00
LVRESIZE_FS_HELPER_PATH
LVM_VERSION
2009-02-22 22:11:58 +00:00
LVM_RELEASE_DATE
LVM_RELEASE
2011-09-24 20:50:35 +00:00
LVM_PATH
2009-02-22 22:11:58 +00:00
LVM_PATCHLEVEL
LVM_MINOR
LVM_MAJOR
2009-07-22 20:01:28 +00:00
LVM_LIBAPI
2023-02-20 21:04:58 +01:00
LVMPOLLD_PIDFILE
LVMLOCKD_PIDFILE
LVMIMPORTVDO_PATH
LVMIMPORTVDO
2023-10-13 22:03:40 +02:00
LVM2CMD_LIB
2009-02-22 22:11:58 +00:00
LIB_SUFFIX
LDDEPS
JOBS
INTL
2021-04-19 11:24:16 +02:00
INTEGRITY
2017-04-13 00:38:46 +01:00
FSADM_PATH
2009-02-22 22:11:58 +00:00
FSADM
2011-11-14 21:30:35 +00:00
ELDFLAGS
2009-02-22 22:11:58 +00:00
DM_LIB_PATCHLEVEL
2023-02-20 21:04:58 +01:00
DMEVENTD_PIDFILE
2010-08-16 22:54:35 +00:00
DMEVENTD_PATH
2010-03-04 12:10:40 +00:00
DL_LIBS
2009-02-22 22:11:58 +00:00
DEVMAPPER
2015-05-11 13:49:41 +02:00
DEFAULT_USE_LVMPOLLD
2023-02-20 21:04:58 +01:00
DEFAULT_USE_LVMLOCKD
2022-10-24 18:03:42 +02:00
DEFAULT_USE_DEVICES_FILE
2015-06-23 15:20:51 +02:00
DEFAULT_USE_BLKID_WIPING
2017-10-25 16:49:17 +02:00
DEFAULT_SYS_LOCK_DIR
2014-10-30 17:07:58 +01:00
DEFAULT_SYS_DIR
DEFAULT_SPARSE_SEGTYPE
2010-07-31 00:43:41 +00:00
DEFAULT_RUN_DIR
2014-10-30 17:07:58 +01:00
DEFAULT_RAID10_SEGTYPE
DEFAULT_PROFILE_SUBDIR
2024-04-15 13:36:26 +02:00
DEFAULT_PROC_DIR
2014-04-23 14:31:42 +02:00
DEFAULT_PID_DIR
2014-10-30 17:07:58 +01:00
DEFAULT_MIRROR_SEGTYPE
2010-05-20 13:47:21 +00:00
DEFAULT_LOCK_DIR
2024-04-09 14:50:52 +02:00
DEFAULT_EVENT_ACTIVATION
2023-09-25 15:49:52 +02:00
DEFAULT_DMEVENTD_EXIT_ON_PATH
2014-10-30 17:07:58 +01:00
DEFAULT_DM_RUN_DIR
2010-05-20 13:47:21 +00:00
DEFAULT_CACHE_SUBDIR
DEFAULT_BACKUP_SUBDIR
DEFAULT_ARCHIVE_SUBDIR
2009-02-22 22:11:58 +00:00
DEBUG
COPTIMISE_FLAG
2009-02-25 23:33:30 +00:00
CONFDIR
2023-02-20 21:04:58 +01:00
CMIRRORD_PIDFILE
2009-02-22 22:11:58 +00:00
CMDLIB
CLDWHOLEARCHIVE
CLDNOWHOLEARCHIVE
CLDFLAGS
2014-02-10 19:02:18 +01:00
CACHE
2023-02-20 21:04:58 +01:00
BUILD_LVMPOLLD
BUILD_LVMLOCKD
BUILD_LVMDBUSD
BUILD_LOCKDSANLOCK
2023-02-10 22:54:33 +01:00
BUILD_LOCKDIDM
2019-06-07 17:56:56 +02:00
BUILD_LOCKDDLM_CONTROL
2015-07-06 18:20:20 +01:00
BUILD_LOCKDDLM
2023-02-20 21:04:58 +01:00
BUILD_DMFILEMAPD
2009-02-22 22:11:58 +00:00
BUILD_DMEVENTD
2009-08-28 20:51:40 +00:00
BUILD_CMIRRORD
2023-02-20 21:04:58 +01:00
BLKID_STATIC_LIBS
2013-11-14 14:03:24 +01:00
BLKID_PC
2023-02-20 21:04:58 +01:00
BLKDEACTIVATE
2021-10-14 22:41:09 +02:00
READLINE_LIBS
READLINE_CFLAGS
2023-02-20 21:04:58 +01:00
AIO_LIBS
AIO_CFLAGS
2009-02-22 22:11:58 +00:00
MODPROBE_CMD
2023-02-08 16:15:26 +01:00
systemdutildir
systemdsystemunitdir
2009-02-22 22:11:58 +00:00
MSGFMT
2020-09-29 10:15:45 +02:00
EDITLINE_LIBS
EDITLINE_CFLAGS
2023-02-20 21:04:58 +01:00
SELINUX_LIBS
SELINUX_CFLAGS
2016-02-17 23:53:35 +00:00
PYTHON3_CONFIG
pkgpyexecdir
pyexecdir
pkgpythondir
pythondir
PYTHON_EXEC_PREFIX
PYTHON_PREFIX
2022-08-15 11:22:53 +02:00
PYTHON_PLATFORM
2016-02-17 23:53:35 +00:00
PYTHON_VERSION
2012-10-12 02:08:47 +01:00
PYTHON
2023-10-13 22:03:40 +02:00
LIBSYSTEMD_LIBS
LIBSYSTEMD_CFLAGS
2011-04-22 12:13:05 +00:00
UDEV_LIBS
UDEV_CFLAGS
2021-04-26 14:27:05 +02:00
BLKID_LIBS
BLKID_CFLAGS
2023-02-10 19:50:22 +01:00
SYSTEMD_RUN_CMD
2023-02-16 23:26:24 +01:00
LIBSEAGATEILM_LIBS
LIBSEAGATEILM_CFLAGS
LIBDLMCONTROL_LIBS
LIBDLMCONTROL_CFLAGS
LIBDLM_LIBS
LIBDLM_CFLAGS
LIBSANLOCKCLIENT_LIBS
LIBSANLOCKCLIENT_CFLAGS
2012-10-12 02:08:47 +01:00
VALGRIND_LIBS
VALGRIND_CFLAGS
2010-04-06 11:53:53 +00:00
GENPNG
2009-02-22 22:11:58 +00:00
GENHTML
LCOV
2015-03-10 13:36:55 +01:00
HAVE_WSYNCNAND
2013-10-25 01:00:10 +02:00
HAVE_WCLOBBERED
2013-10-24 21:40:25 +02:00
HAVE_WJUMP
2009-02-25 23:33:30 +00:00
CPG_LIBS
CPG_CFLAGS
2011-01-07 14:38:34 +00:00
PKG_CONFIG_LIBDIR
PKG_CONFIG_PATH
2009-02-25 23:33:30 +00:00
PKG_CONFIG
2018-06-29 13:38:18 +02:00
VDO_FORMAT_CMD
2014-07-04 16:31:05 +02:00
CACHE_RESTORE_CMD
CACHE_REPAIR_CMD
CACHE_DUMP_CMD
CACHE_CHECK_CMD
2014-05-26 23:28:03 +02:00
THIN_RESTORE_CMD
2013-07-31 14:38:10 +02:00
THIN_REPAIR_CMD
THIN_DUMP_CMD
2012-03-14 17:09:00 +00:00
THIN_CHECK_CMD
2013-12-04 09:58:58 +01:00
HAVE_FULL_RELRO
HAVE_PIE
2009-02-22 22:11:58 +00:00
POW_LIB
ALLOCA
2017-04-13 00:38:46 +01:00
LIBOBJS
2017-02-13 22:55:30 +01:00
SORT
WC
2016-02-17 23:53:35 +00:00
CHMOD
2009-02-22 22:11:58 +00:00
CSCOPE_CMD
CFLOW_CMD
2017-06-09 22:50:40 +02:00
AR
2022-11-23 13:18:07 +01:00
READELF
2009-02-22 22:11:58 +00:00
RANLIB
MKDIR_P
SET_MAKE
2024-03-20 16:14:54 +01:00
EGREP
GREP
2009-02-22 22:11:58 +00:00
LN_S
INSTALL_DATA
INSTALL_SCRIPT
INSTALL_PROGRAM
2015-02-12 15:48:12 +01:00
ac_ct_CXX
CXXFLAGS
CXX
2009-02-22 22:11:58 +00:00
OBJEXT
EXEEXT
ac_ct_CC
CPPFLAGS
LDFLAGS
CFLAGS
CC
AWK
SED
target_os
target_vendor
target_cpu
target
host_os
host_vendor
host_cpu
host
build_os
build_vendor
build_cpu
build
target_alias
host_alias
build_alias
LIBS
ECHO_T
ECHO_N
ECHO_C
DEFS
mandir
localedir
libdir
psdir
pdfdir
dvidir
htmldir
infodir
docdir
oldincludedir
includedir
2021-03-22 18:51:21 +01:00
runstatedir
2009-02-22 22:11:58 +00:00
localstatedir
sharedstatedir
sysconfdir
datadir
datarootdir
libexecdir
sbindir
bindir
program_transform_name
prefix
exec_prefix
2011-01-07 14:38:34 +00:00
PACKAGE_URL
2009-02-22 22:11:58 +00:00
PACKAGE_BUGREPORT
PACKAGE_STRING
PACKAGE_VERSION
PACKAGE_TARNAME
PACKAGE_NAME
PATH_SEPARATOR
SHELL'
2004-07-03 18:21:13 +00:00
ac_subst_files=''
2009-02-22 22:11:58 +00:00
ac_user_opts='
enable_option_checking
2015-09-07 14:02:25 +02:00
enable_dependency_tracking
2018-06-22 23:30:42 +02:00
enable_silent_rules
2009-02-22 22:11:58 +00:00
enable_static_link
2023-10-12 19:25:04 +02:00
enable_shared
with_blkid
with_systemd
with_udev
2009-02-22 22:11:58 +00:00
with_user
with_group
with_device_uid
with_device_gid
with_device_mode
2011-02-04 22:17:54 +00:00
with_device_nodes_on
2021-10-14 22:41:09 +02:00
with_default_use_devices_file
2012-02-15 11:20:12 +00:00
with_default_name_mangling
2024-04-09 14:50:52 +02:00
with_default_event_activation
2009-02-22 22:11:58 +00:00
with_snapshots
with_mirrors
2014-10-30 17:07:58 +01:00
with_default_mirror_segtype
2015-02-19 16:17:19 +01:00
with_default_raid10_segtype
2014-10-30 17:07:58 +01:00
with_default_sparse_segtype
2011-08-24 08:27:49 +00:00
with_thin
2012-03-14 17:09:00 +00:00
with_thin_check
2013-07-31 14:38:10 +02:00
with_thin_dump
with_thin_repair
2014-05-26 23:28:03 +02:00
with_thin_restore
2014-04-04 02:36:47 +01:00
enable_thin_check_needs_check
2014-01-27 05:27:16 -06:00
with_cache
2014-07-04 16:31:05 +02:00
with_cache_check
with_cache_dump
with_cache_repair
with_cache_restore
2015-07-07 09:51:40 +02:00
enable_cache_check_needs_check
2018-06-29 13:38:18 +02:00
with_vdo
with_vdo_format
2018-11-08 12:22:07 +01:00
with_writecache
2019-11-20 16:07:27 -06:00
with_integrity
2009-02-22 22:11:58 +00:00
enable_readline
2020-09-29 10:15:45 +02:00
enable_editline
2009-02-22 22:11:58 +00:00
enable_realtime
2010-11-09 11:14:06 +00:00
enable_ocf
2011-01-10 14:28:17 +00:00
with_ocfdir
2012-06-21 08:43:38 -04:00
with_default_pid_dir
with_default_dm_run_dir
with_default_run_dir
2009-08-28 20:51:40 +00:00
enable_cmirrord
with_cmirrord_pidfile
2009-02-22 22:11:58 +00:00
enable_debug
with_optimisation
2021-03-29 21:46:12 +02:00
with_symvers
2009-02-22 22:11:58 +00:00
enable_profiling
2010-08-16 22:54:35 +00:00
enable_valgrind_pool
2009-02-22 22:11:58 +00:00
enable_devmapper
2015-07-06 18:20:20 +01:00
enable_lvmpolld
2017-04-18 20:37:53 +01:00
enable_lvmlockd_sanlock
enable_lvmlockd_dlm
2019-06-07 17:56:56 +02:00
enable_lvmlockd_dlmcontrol
lvmlockd: idm: Introduce new locking scheme
Alongside the existed locking schemes of DLM and sanlock, this patch is
to introduce new locking scheme: In-Drive-Mutex (IDM).
With the IDM support in the drive, the locks are resident in the drive,
thus, the locking lease is maintained in a central place: the drive
firmware. We can consider this is a typical client-server model,
every host (or node) in the server cluster launches the request for
leasing mutex to a drive firmware, the drive firmware works as an
arbitrator to grant the mutex to a requester and it can reject other
applicants if the mutex has been acquired. To satisfy the LVM
activation for different modes, IDM supports two locking modes:
exclusive and shareable.
Every IDM is identified with two IDs, one is the host ID and another is
the resource ID. The resource ID is a unique identifier for what the
resource it's protected, in the integration with lvmlockd, the resource
ID is combined with VG's UUID and LV's UUID; for the global locking,
the bytes in resource ID are all zeros, and for the VG locking, the
LV's UUID is set as zero. Every host can generate a random UUID and
use it as the host ID for the SCSI command, this ID is used to clarify
the ownership for mutex.
For easily invoking the IDM commands to drive, like other locking
scheme (e.g. sanlock), a daemon program named IDM lock manager is
created, so the detailed IDM SCSI commands are encapsulated in the
daemon, and lvmlockd uses the wrapper APIs to communicate with the
daemon program.
This patch introduces the IDM locking wrapper layer, it forwards the
locking requests from lvmlockd to the IDM lock manager, and returns the
result from drives' responding.
One thing should be mentioned is the IDM's LVB. IDM supports LVB to max
7 bytes when stores into the drive, the most significant byte of 8 bytes
is reserved for control bits. For this reason, the patch maps the
timestamp in macrosecond unit with its cached LVB, essentially, if any
timestamp was updated by other nodes, that means the local LVB is
invalidate. When the timestamp is stored into drive's LVB, it's
possbile to cause time-going-backwards issue, which is introduced by the
time precision or missing synchronization acrossing over multiple nodes.
So the IDM wrapper fixes up the timestamp by increment 1 to the latest
value and write back into drive.
Currently LVB is used to track VG changes and its purpose is to notify
lvmetad cache invalidation when detects any metadata has been altered;
but lvmetad is not used anymore for caching metadata, LVB doesn't
really work. It's possible that the LVB functionality could be useful
again in the future, so let's enable it for IDM in the first place.
Signed-off-by: Leo Yan <leo.yan@linaro.org>
2021-05-07 10:25:12 +08:00
enable_lvmlockd_idm
2015-07-06 18:20:20 +01:00
enable_use_lvmlockd
with_lvmlockd_pidfile
2015-05-11 13:49:41 +02:00
enable_use_lvmpolld
2015-05-09 00:59:18 +01:00
with_lvmpolld_pidfile
2021-10-14 22:41:09 +02:00
enable_systemd_journal
2021-04-26 14:27:05 +02:00
enable_app_machineid
2023-02-10 19:50:22 +01:00
with_systemd_run
2013-11-14 14:03:24 +01:00
enable_blkid_wiping
2009-07-31 11:51:23 +00:00
enable_udev_sync
enable_udev_rules
2012-06-21 08:43:38 -04:00
enable_udev_rule_exec_detection
2009-09-28 16:23:44 +00:00
enable_units_compat
2009-02-22 22:11:58 +00:00
enable_ioctl
enable_o_direct
2016-02-17 23:53:35 +00:00
enable_dbus_service
2023-10-13 22:03:40 +02:00
enable_notify_dbus
2022-08-15 11:22:53 +02:00
with_python_sys_prefix
with_python_prefix
with_python_exec_prefix
2009-02-22 22:11:58 +00:00
enable_pkgconfig
2010-04-09 21:42:48 +00:00
enable_write_install
2009-02-22 22:11:58 +00:00
enable_fsadm
2021-08-23 14:02:42 +02:00
enable_lvmimportvdo
2012-10-12 14:45:26 +02:00
enable_blkdeactivate
2009-02-22 22:11:58 +00:00
enable_dmeventd
2023-10-13 22:03:40 +02:00
enable_cmdlib
2023-03-01 09:40:53 +01:00
enable_dmfilemapd
2009-02-22 22:11:58 +00:00
enable_selinux
2020-10-02 18:39:19 +02:00
enable_blkzeroout
2009-02-22 22:11:58 +00:00
enable_nls
with_localedir
with_confdir
with_staticdir
with_usrlibdir
with_usrsbindir
2022-09-14 15:16:30 +02:00
with_libexecdir
2009-07-31 11:51:23 +00:00
with_udev_prefix
2009-07-31 13:31:53 +00:00
with_udevdir
2012-02-13 13:02:47 +00:00
with_systemdsystemunitdir
2012-02-22 17:55:10 +00:00
with_tmpfilesdir
2024-02-08 14:58:16 +01:00
with_modulesdir
2009-02-22 22:11:58 +00:00
with_dmeventd_pidfile
with_dmeventd_path
2023-09-25 15:49:52 +02:00
with_dmeventd_exit_on_path
2010-05-20 13:47:21 +00:00
with_default_system_dir
2013-06-25 12:26:40 +02:00
with_default_profile_subdir
2010-05-20 13:47:21 +00:00
with_default_archive_subdir
with_default_backup_subdir
with_default_cache_subdir
with_default_locking_dir
2009-02-22 22:11:58 +00:00
with_interface
'
2007-08-14 19:11:31 +00:00
ac_precious_vars='build_alias
host_alias
target_alias
CC
CFLAGS
LDFLAGS
2008-05-19 20:06:34 +00:00
LIBS
2007-08-14 19:11:31 +00:00
CPPFLAGS
2015-02-12 15:48:12 +01:00
CXX
CXXFLAGS
CCC
2009-02-25 23:33:30 +00:00
PKG_CONFIG
2011-01-07 14:38:34 +00:00
PKG_CONFIG_PATH
PKG_CONFIG_LIBDIR
2009-02-25 23:33:30 +00:00
CPG_CFLAGS
2009-08-28 19:22:05 +00:00
CPG_LIBS
2012-10-12 02:08:47 +01:00
VALGRIND_CFLAGS
VALGRIND_LIBS
2023-02-16 23:26:24 +01:00
LIBSANLOCKCLIENT_CFLAGS
LIBSANLOCKCLIENT_LIBS
LIBDLM_CFLAGS
LIBDLM_LIBS
LIBDLMCONTROL_CFLAGS
LIBDLMCONTROL_LIBS
LIBSEAGATEILM_CFLAGS
LIBSEAGATEILM_LIBS
2021-10-18 19:13:58 +02:00
BLKID_CFLAGS
BLKID_LIBS
2011-04-22 12:13:05 +00:00
UDEV_CFLAGS
2016-02-17 23:53:35 +00:00
UDEV_LIBS
2023-10-13 22:03:40 +02:00
LIBSYSTEMD_CFLAGS
LIBSYSTEMD_LIBS
2020-09-29 10:15:45 +02:00
PYTHON
2023-02-20 21:04:58 +01:00
SELINUX_CFLAGS
SELINUX_LIBS
2020-09-29 10:15:45 +02:00
EDITLINE_CFLAGS
2021-10-14 22:41:09 +02:00
EDITLINE_LIBS
2023-02-08 16:15:26 +01:00
systemdsystemunitdir
systemdutildir
2023-02-20 21:04:58 +01:00
AIO_CFLAGS
AIO_LIBS
2021-10-14 22:41:09 +02:00
READLINE_CFLAGS
READLINE_LIBS'
2007-08-14 19:11:31 +00:00
2001-09-21 12:37:43 +00:00
# Initialize some variables set by options.
2004-07-03 18:21:13 +00:00
ac_init_help=
ac_init_version=false
2009-02-22 22:11:58 +00:00
ac_unrecognized_opts=
ac_unrecognized_sep=
2001-09-21 12:37:43 +00:00
# The variables have the same names as the options, with
# dashes changed to underlines.
2004-07-03 18:21:13 +00:00
cache_file=/dev/null
2001-09-21 12:37:43 +00:00
exec_prefix=NONE
no_create=
no_recursion=
prefix=NONE
program_prefix=NONE
program_suffix=NONE
program_transform_name=s,x,x,
silent=
site=
srcdir=
verbose=
x_includes=NONE
x_libraries=NONE
2004-07-03 18:21:13 +00:00
# Installation directory options.
# These are left unexpanded so users can "make install exec_prefix=/foo"
# and all the variables that are supposed to be based on exec_prefix
# by default will actually change.
# Use braces instead of parens because sh, perl, etc. also accept them.
2007-08-14 19:11:31 +00:00
# (The list follows the same order as the GNU Coding Standards.)
2001-09-21 12:37:43 +00:00
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
2007-08-14 19:11:31 +00:00
datarootdir='${prefix}/share'
datadir='${datarootdir}'
2001-09-21 12:37:43 +00:00
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
2021-03-22 18:51:21 +01:00
runstatedir='${localstatedir}/run'
2001-09-21 12:37:43 +00:00
includedir='${prefix}/include'
oldincludedir='/usr/include'
2007-08-14 19:11:31 +00:00
docdir='${datarootdir}/doc/${PACKAGE}'
infodir='${datarootdir}/info'
htmldir='${docdir}'
dvidir='${docdir}'
pdfdir='${docdir}'
psdir='${docdir}'
libdir='${exec_prefix}/lib'
localedir='${datarootdir}/locale'
mandir='${datarootdir}/man'
2001-09-21 12:37:43 +00:00
ac_prev=
2007-08-14 19:11:31 +00:00
ac_dashdash=
2001-09-21 12:37:43 +00:00
for ac_option
do
# If the previous option needs an argument, assign it.
if test -n "$ac_prev"; then
2007-08-14 19:11:31 +00:00
eval $ac_prev=\$ac_option
2001-09-21 12:37:43 +00:00
ac_prev=
continue
fi
2007-08-14 19:11:31 +00:00
case $ac_option in
2014-04-04 02:36:47 +01:00
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
*=) ac_optarg= ;;
*) ac_optarg=yes ;;
2007-08-14 19:11:31 +00:00
esac
2001-09-21 12:37:43 +00:00
2007-08-14 19:11:31 +00:00
case $ac_dashdash$ac_option in
--)
ac_dashdash=yes ;;
2001-09-21 12:37:43 +00:00
-bindir | --bindir | --bindi | --bind | --bin | --bi)
ac_prev=bindir ;;
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2004-07-03 18:21:13 +00:00
bindir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-build | --build | --buil | --bui | --bu)
2004-07-03 18:21:13 +00:00
ac_prev=build_alias ;;
2001-09-21 12:37:43 +00:00
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
2004-07-03 18:21:13 +00:00
build_alias=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-cache-file | --cache-file | --cache-fil | --cache-fi \
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ac_prev=cache_file ;;
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2004-07-03 18:21:13 +00:00
cache_file=$ac_optarg ;;
--config-cache | -C)
cache_file=config.cache ;;
2001-09-21 12:37:43 +00:00
2007-08-14 19:11:31 +00:00
-datadir | --datadir | --datadi | --datad)
2001-09-21 12:37:43 +00:00
ac_prev=datadir ;;
2007-08-14 19:11:31 +00:00
-datadir=* | --datadir=* | --datadi=* | --datad=*)
2004-07-03 18:21:13 +00:00
datadir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
2007-08-14 19:11:31 +00:00
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
| --dataroo | --dataro | --datar)
ac_prev=datarootdir ;;
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
datarootdir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-disable-* | --disable-*)
2009-02-22 22:11:58 +00:00
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2001-09-21 12:37:43 +00:00
# Reject names that are not valid shell variable names.
2009-02-22 22:11:58 +00:00
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2024-03-20 16:14:54 +01:00
as_fn_error $? "invalid feature name: '$ac_useropt'"
2009-02-22 22:11:58 +00:00
ac_useropt_orig=$ac_useropt
2022-08-15 11:22:53 +02:00
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2009-02-22 22:11:58 +00:00
case $ac_user_opts in
*"
"enable_$ac_useropt"
"*) ;;
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
ac_unrecognized_sep=', ';;
esac
eval enable_$ac_useropt=no ;;
2007-08-14 19:11:31 +00:00
-docdir | --docdir | --docdi | --doc | --do)
ac_prev=docdir ;;
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
docdir=$ac_optarg ;;
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
ac_prev=dvidir ;;
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
dvidir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-enable-* | --enable-*)
2009-02-22 22:11:58 +00:00
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2001-09-21 12:37:43 +00:00
# Reject names that are not valid shell variable names.
2009-02-22 22:11:58 +00:00
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2024-03-20 16:14:54 +01:00
as_fn_error $? "invalid feature name: '$ac_useropt'"
2009-02-22 22:11:58 +00:00
ac_useropt_orig=$ac_useropt
2022-08-15 11:22:53 +02:00
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2009-02-22 22:11:58 +00:00
case $ac_user_opts in
*"
"enable_$ac_useropt"
"*) ;;
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
ac_unrecognized_sep=', ';;
esac
eval enable_$ac_useropt=\$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
| --exec | --exe | --ex)
ac_prev=exec_prefix ;;
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
| --exec=* | --exe=* | --ex=*)
2004-07-03 18:21:13 +00:00
exec_prefix=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-gas | --gas | --ga | --g)
# Obsolete; use --with-gas.
with_gas=yes ;;
2004-07-03 18:21:13 +00:00
-help | --help | --hel | --he | -h)
ac_init_help=long ;;
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
ac_init_help=recursive ;;
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
ac_init_help=short ;;
2001-09-21 12:37:43 +00:00
-host | --host | --hos | --ho)
2004-07-03 18:21:13 +00:00
ac_prev=host_alias ;;
2001-09-21 12:37:43 +00:00
-host=* | --host=* | --hos=* | --ho=*)
2004-07-03 18:21:13 +00:00
host_alias=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
2007-08-14 19:11:31 +00:00
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
ac_prev=htmldir ;;
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
| --ht=*)
htmldir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-includedir | --includedir | --includedi | --included | --include \
| --includ | --inclu | --incl | --inc)
ac_prev=includedir ;;
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
| --includ=* | --inclu=* | --incl=* | --inc=*)
2004-07-03 18:21:13 +00:00
includedir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-infodir | --infodir | --infodi | --infod | --info | --inf)
ac_prev=infodir ;;
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2004-07-03 18:21:13 +00:00
infodir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-libdir | --libdir | --libdi | --libd)
ac_prev=libdir ;;
-libdir=* | --libdir=* | --libdi=* | --libd=*)
2004-07-03 18:21:13 +00:00
libdir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
| --libexe | --libex | --libe)
ac_prev=libexecdir ;;
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
| --libexe=* | --libex=* | --libe=*)
2004-07-03 18:21:13 +00:00
libexecdir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
2007-08-14 19:11:31 +00:00
-localedir | --localedir | --localedi | --localed | --locale)
ac_prev=localedir ;;
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
localedir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-localstatedir | --localstatedir | --localstatedi | --localstated \
2007-08-14 19:11:31 +00:00
| --localstate | --localstat | --localsta | --localst | --locals)
2001-09-21 12:37:43 +00:00
ac_prev=localstatedir ;;
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2007-08-14 19:11:31 +00:00
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2004-07-03 18:21:13 +00:00
localstatedir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ac_prev=mandir ;;
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2004-07-03 18:21:13 +00:00
mandir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-nfp | --nfp | --nf)
# Obsolete; use --without-fp.
with_fp=no ;;
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
2004-07-03 18:21:13 +00:00
| --no-cr | --no-c | -n)
2001-09-21 12:37:43 +00:00
no_create=yes ;;
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
no_recursion=yes ;;
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
| --oldin | --oldi | --old | --ol | --o)
ac_prev=oldincludedir ;;
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2004-07-03 18:21:13 +00:00
oldincludedir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
ac_prev=prefix ;;
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2004-07-03 18:21:13 +00:00
prefix=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-program-prefix | --program-prefix | --program-prefi | --program-pref \
| --program-pre | --program-pr | --program-p)
ac_prev=program_prefix ;;
-program-prefix=* | --program-prefix=* | --program-prefi=* \
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2004-07-03 18:21:13 +00:00
program_prefix=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-program-suffix | --program-suffix | --program-suffi | --program-suff \
| --program-suf | --program-su | --program-s)
ac_prev=program_suffix ;;
-program-suffix=* | --program-suffix=* | --program-suffi=* \
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2004-07-03 18:21:13 +00:00
program_suffix=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-program-transform-name | --program-transform-name \
| --program-transform-nam | --program-transform-na \
| --program-transform-n | --program-transform- \
| --program-transform | --program-transfor \
| --program-transfo | --program-transf \
| --program-trans | --program-tran \
| --progr-tra | --program-tr | --program-t)
ac_prev=program_transform_name ;;
-program-transform-name=* | --program-transform-name=* \
| --program-transform-nam=* | --program-transform-na=* \
| --program-transform-n=* | --program-transform-=* \
| --program-transform=* | --program-transfor=* \
| --program-transfo=* | --program-transf=* \
| --program-trans=* | --program-tran=* \
| --progr-tra=* | --program-tr=* | --program-t=*)
2004-07-03 18:21:13 +00:00
program_transform_name=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
2007-08-14 19:11:31 +00:00
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
ac_prev=pdfdir ;;
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
pdfdir=$ac_optarg ;;
-psdir | --psdir | --psdi | --psd | --ps)
ac_prev=psdir ;;
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
psdir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
2021-03-22 18:51:21 +01:00
-runstatedir | --runstatedir | --runstatedi | --runstated \
| --runstate | --runstat | --runsta | --runst | --runs \
| --run | --ru | --r)
ac_prev=runstatedir ;;
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
| --run=* | --ru=* | --r=*)
runstatedir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
| --sbi=* | --sb=*)
2004-07-03 18:21:13 +00:00
sbindir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-sharedstatedir | --sharedstatedir | --sharedstatedi \
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
| --sharedst | --shareds | --shared | --share | --shar \
| --sha | --sh)
ac_prev=sharedstatedir ;;
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
| --sha=* | --sh=*)
2004-07-03 18:21:13 +00:00
sharedstatedir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-site | --site | --sit)
ac_prev=site ;;
-site=* | --site=* | --sit=*)
2004-07-03 18:21:13 +00:00
site=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2004-07-03 18:21:13 +00:00
srcdir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
| --syscon | --sysco | --sysc | --sys | --sy)
ac_prev=sysconfdir ;;
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2004-07-03 18:21:13 +00:00
sysconfdir=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-target | --target | --targe | --targ | --tar | --ta | --t)
2004-07-03 18:21:13 +00:00
ac_prev=target_alias ;;
2001-09-21 12:37:43 +00:00
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2004-07-03 18:21:13 +00:00
target_alias=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-v | -verbose | --verbose | --verbos | --verbo | --verb)
verbose=yes ;;
2004-07-03 18:21:13 +00:00
-version | --version | --versio | --versi | --vers | -V)
ac_init_version=: ;;
2001-09-21 12:37:43 +00:00
-with-* | --with-*)
2009-02-22 22:11:58 +00:00
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2001-09-21 12:37:43 +00:00
# Reject names that are not valid shell variable names.
2009-02-22 22:11:58 +00:00
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2024-03-20 16:14:54 +01:00
as_fn_error $? "invalid package name: '$ac_useropt'"
2009-02-22 22:11:58 +00:00
ac_useropt_orig=$ac_useropt
2022-08-15 11:22:53 +02:00
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2009-02-22 22:11:58 +00:00
case $ac_user_opts in
*"
"with_$ac_useropt"
"*) ;;
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
ac_unrecognized_sep=', ';;
esac
eval with_$ac_useropt=\$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-without-* | --without-*)
2009-02-22 22:11:58 +00:00
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2001-09-21 12:37:43 +00:00
# Reject names that are not valid shell variable names.
2009-02-22 22:11:58 +00:00
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2024-03-20 16:14:54 +01:00
as_fn_error $? "invalid package name: '$ac_useropt'"
2009-02-22 22:11:58 +00:00
ac_useropt_orig=$ac_useropt
2022-08-15 11:22:53 +02:00
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2009-02-22 22:11:58 +00:00
case $ac_user_opts in
*"
"with_$ac_useropt"
"*) ;;
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
ac_unrecognized_sep=', ';;
esac
eval with_$ac_useropt=no ;;
2001-09-21 12:37:43 +00:00
--x)
# Obsolete; use --with-x.
with_x=yes ;;
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
| --x-incl | --x-inc | --x-in | --x-i)
ac_prev=x_includes ;;
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2004-07-03 18:21:13 +00:00
x_includes=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
-x-libraries | --x-libraries | --x-librarie | --x-librari \
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
ac_prev=x_libraries ;;
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2004-07-03 18:21:13 +00:00
x_libraries=$ac_optarg ;;
2001-09-21 12:37:43 +00:00
2024-03-20 16:14:54 +01:00
-*) as_fn_error $? "unrecognized option: '$ac_option'
Try '$0 --help' for more information"
2001-09-21 12:37:43 +00:00
;;
2004-07-03 18:21:13 +00:00
*=*)
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
# Reject names that are not valid shell variable names.
2011-01-07 14:38:34 +00:00
case $ac_envvar in #(
'' | [0-9]* | *[!_$as_cr_alnum]* )
2024-03-20 16:14:54 +01:00
as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
2011-01-07 14:38:34 +00:00
esac
2007-08-14 19:11:31 +00:00
eval $ac_envvar=\$ac_optarg
2004-07-03 18:21:13 +00:00
export $ac_envvar ;;
2001-09-21 12:37:43 +00:00
*)
2004-07-03 18:21:13 +00:00
# FIXME: should be removed in autoconf 3.0.
2022-08-15 11:22:53 +02:00
printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2004-07-03 18:21:13 +00:00
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2022-08-15 11:22:53 +02:00
printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2014-04-04 02:36:47 +01:00
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2001-09-21 12:37:43 +00:00
;;
esac
done
if test -n "$ac_prev"; then
2004-07-03 18:21:13 +00:00
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2011-01-07 14:38:34 +00:00
as_fn_error $? "missing argument to $ac_option"
2001-09-21 12:37:43 +00:00
fi
2009-02-22 22:11:58 +00:00
if test -n "$ac_unrecognized_opts"; then
case $enable_option_checking in
no) ;;
2011-01-07 14:38:34 +00:00
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2022-08-15 11:22:53 +02:00
*) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2009-02-22 22:11:58 +00:00
esac
fi
# Check all directory arguments for consistency.
2007-08-14 19:11:31 +00:00
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2021-03-22 18:51:21 +01:00
libdir localedir mandir runstatedir
2001-09-21 12:37:43 +00:00
do
2007-08-14 19:11:31 +00:00
eval ac_val=\$$ac_var
2009-02-22 22:11:58 +00:00
# Remove trailing slashes.
case $ac_val in
*/ )
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
eval $ac_var=\$ac_val;;
esac
# Be sure to have absolute directory names.
2004-07-03 18:21:13 +00:00
case $ac_val in
2007-08-14 19:11:31 +00:00
[\\/$]* | ?:[\\/]* ) continue;;
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2001-09-21 12:37:43 +00:00
esac
2011-01-07 14:38:34 +00:00
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2001-09-21 12:37:43 +00:00
done
2024-03-20 16:14:54 +01:00
# There might be people who depend on the old broken behavior: '$host'
2004-07-03 18:21:13 +00:00
# used to hold the argument of --host etc.
# FIXME: To remove some day.
build=$build_alias
host=$host_alias
target=$target_alias
# FIXME: To remove some day.
if test "x$host_alias" != x; then
if test "x$build_alias" = x; then
cross_compiling=maybe
elif test "x$build_alias" != "x$host_alias"; then
cross_compiling=yes
fi
fi
2004-03-26 14:17:14 +00:00
2004-07-03 18:21:13 +00:00
ac_tool_prefix=
test -n "$host_alias" && ac_tool_prefix=$host_alias-
test "$silent" = yes && exec 6>/dev/null
2001-09-21 12:37:43 +00:00
2007-08-14 19:11:31 +00:00
ac_pwd=`pwd` && test -n "$ac_pwd" &&
ac_ls_di=`ls -di .` &&
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2011-01-07 14:38:34 +00:00
as_fn_error $? "working directory cannot be determined"
2007-08-14 19:11:31 +00:00
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2011-01-07 14:38:34 +00:00
as_fn_error $? "pwd does not report name of working directory"
2007-08-14 19:11:31 +00:00
2001-09-21 12:37:43 +00:00
# Find the source files, if location was not specified.
if test -z "$srcdir"; then
ac_srcdir_defaulted=yes
2007-08-14 19:11:31 +00:00
# Try the directory containing this script, then the parent directory.
2009-02-22 22:11:58 +00:00
ac_confdir=`$as_dirname -- "$as_myself" ||
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$as_myself" : 'X\(//\)[^/]' \| \
X"$as_myself" : 'X\(//\)$' \| \
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2022-08-15 11:22:53 +02:00
printf "%s\n" X"$as_myself" |
2007-08-14 19:11:31 +00:00
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
2001-09-21 12:37:43 +00:00
srcdir=$ac_confdir
2007-08-14 19:11:31 +00:00
if test ! -r "$srcdir/$ac_unique_file"; then
2001-09-21 12:37:43 +00:00
srcdir=..
fi
else
ac_srcdir_defaulted=no
fi
2007-08-14 19:11:31 +00:00
if test ! -r "$srcdir/$ac_unique_file"; then
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2011-01-07 14:38:34 +00:00
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2001-09-21 12:37:43 +00:00
fi
2024-03-20 16:14:54 +01:00
ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
2007-08-14 19:11:31 +00:00
ac_abs_confdir=`(
2011-01-07 14:38:34 +00:00
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2007-08-14 19:11:31 +00:00
pwd)`
# When building in place, set srcdir=.
if test "$ac_abs_confdir" = "$ac_pwd"; then
srcdir=.
fi
# Remove unnecessary trailing slashes from srcdir.
# Double slashes in file names in object file debugging info
# mess up M-x gdb in Emacs.
case $srcdir in
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
esac
for ac_var in $ac_precious_vars; do
eval ac_env_${ac_var}_set=\${${ac_var}+set}
eval ac_env_${ac_var}_value=\$${ac_var}
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
eval ac_cv_env_${ac_var}_value=\$${ac_var}
done
2004-07-03 18:21:13 +00:00
#
# Report the --help message.
#
if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
2024-03-20 16:14:54 +01:00
'configure' configures this package to adapt to many kinds of systems.
2004-07-03 18:21:13 +00:00
Usage: $0 [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
2024-03-20 16:14:54 +01:00
-q, --quiet, --silent do not print 'checking ...' messages
2004-07-03 18:21:13 +00:00
--cache-file=FILE cache test results in FILE [disabled]
2024-03-20 16:14:54 +01:00
-C, --config-cache alias for '--cache-file=config.cache'
2004-07-03 18:21:13 +00:00
-n, --no-create do not create output files
2024-03-20 16:14:54 +01:00
--srcdir=DIR find the sources in DIR [configure dir or '..']
2004-07-03 18:21:13 +00:00
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
2009-02-22 22:11:58 +00:00
[$ac_default_prefix]
2004-07-03 18:21:13 +00:00
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2009-02-22 22:11:58 +00:00
[PREFIX]
2004-07-03 18:21:13 +00:00
2024-03-20 16:14:54 +01:00
By default, 'make install' will install all the files in
'$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
an installation prefix other than '$ac_default_prefix' using '--prefix',
for instance '--prefix=\$HOME'.
2004-07-03 18:21:13 +00:00
For better control, use the options below.
Fine tuning of the installation directories:
2009-02-22 22:11:58 +00:00
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
2021-03-22 18:51:21 +01:00
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2009-02-22 22:11:58 +00:00
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
2004-07-03 18:21:13 +00:00
_ACEOF
cat <<\_ACEOF
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
--target=TARGET configure for building compilers for TARGET [HOST]
_ACEOF
fi
if test -n "$ac_init_help"; then
cat <<\_ACEOF
Optional Features:
2009-02-22 22:11:58 +00:00
--disable-option-checking ignore unrecognized --enable/--with options
2004-07-03 18:21:13 +00:00
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2015-09-07 14:02:25 +02:00
--disable-dependency-tracking
speeds up one-time build.
2018-06-22 23:30:42 +02:00
--disable-silent-rules disable silent building
2010-07-08 12:02:48 +00:00
--enable-static_link use this to link the tools to their libraries
statically (default is dynamic linking
2023-10-12 19:25:04 +02:00
--disable-shared disable dynamic linking
2014-04-04 02:36:47 +01:00
--disable-thin_check_needs_check
required if thin_check version is < 0.3.0
2015-07-07 09:51:40 +02:00
--disable-cache_check_needs_check
required if cache_check version is < 0.5
2010-07-08 12:02:48 +00:00
--disable-readline disable readline support
2020-09-29 10:15:45 +02:00
--enable-editline enable editline support
2015-07-27 14:44:58 +01:00
--disable-realtime disable realtime clock support
2010-11-09 11:14:06 +00:00
--enable-ocf enable Open Cluster Framework (OCF) compliant
resource agents
2010-07-08 12:02:48 +00:00
--enable-cmirrord enable the cluster mirror log daemon
--enable-debug enable debugging
--enable-profiling gather gcov profiling data
2010-08-16 22:54:35 +00:00
--enable-valgrind-pool enable valgrind awareness of pools
2010-07-08 12:02:48 +00:00
--disable-devmapper disable LVM2 device-mapper interaction
2015-05-09 00:59:18 +01:00
--enable-lvmpolld enable the LVM Polling Daemon
2017-04-18 20:37:53 +01:00
--enable-lvmlockd-sanlock
enable the LVM lock daemon using sanlock
--enable-lvmlockd-dlm enable the LVM lock daemon using dlm
2019-06-07 17:56:56 +02:00
--enable-lvmlockd-dlmcontrol
enable lvmlockd remote refresh using libdlmcontrol
lvmlockd: idm: Introduce new locking scheme
Alongside the existed locking schemes of DLM and sanlock, this patch is
to introduce new locking scheme: In-Drive-Mutex (IDM).
With the IDM support in the drive, the locks are resident in the drive,
thus, the locking lease is maintained in a central place: the drive
firmware. We can consider this is a typical client-server model,
every host (or node) in the server cluster launches the request for
leasing mutex to a drive firmware, the drive firmware works as an
arbitrator to grant the mutex to a requester and it can reject other
applicants if the mutex has been acquired. To satisfy the LVM
activation for different modes, IDM supports two locking modes:
exclusive and shareable.
Every IDM is identified with two IDs, one is the host ID and another is
the resource ID. The resource ID is a unique identifier for what the
resource it's protected, in the integration with lvmlockd, the resource
ID is combined with VG's UUID and LV's UUID; for the global locking,
the bytes in resource ID are all zeros, and for the VG locking, the
LV's UUID is set as zero. Every host can generate a random UUID and
use it as the host ID for the SCSI command, this ID is used to clarify
the ownership for mutex.
For easily invoking the IDM commands to drive, like other locking
scheme (e.g. sanlock), a daemon program named IDM lock manager is
created, so the detailed IDM SCSI commands are encapsulated in the
daemon, and lvmlockd uses the wrapper APIs to communicate with the
daemon program.
This patch introduces the IDM locking wrapper layer, it forwards the
locking requests from lvmlockd to the IDM lock manager, and returns the
result from drives' responding.
One thing should be mentioned is the IDM's LVB. IDM supports LVB to max
7 bytes when stores into the drive, the most significant byte of 8 bytes
is reserved for control bits. For this reason, the patch maps the
timestamp in macrosecond unit with its cached LVB, essentially, if any
timestamp was updated by other nodes, that means the local LVB is
invalidate. When the timestamp is stored into drive's LVB, it's
possbile to cause time-going-backwards issue, which is introduced by the
time precision or missing synchronization acrossing over multiple nodes.
So the IDM wrapper fixes up the timestamp by increment 1 to the latest
value and write back into drive.
Currently LVB is used to track VG changes and its purpose is to notify
lvmetad cache invalidation when detects any metadata has been altered;
but lvmetad is not used anymore for caching metadata, LVB doesn't
really work. It's possible that the LVB functionality could be useful
again in the future, so let's enable it for IDM in the first place.
Signed-off-by: Leo Yan <leo.yan@linaro.org>
2021-05-07 10:25:12 +08:00
--enable-lvmlockd-idm enable the LVM lock daemon using idm
2015-03-05 14:00:44 -06:00
--disable-use-lvmlockd disable usage of LVM lock daemon
2015-07-06 18:20:20 +01:00
--disable-use-lvmpolld disable usage of LVM Poll Daemon
2021-10-14 22:41:09 +02:00
--disable-systemd-journal
disable LVM systemd journaling
--disable-app-machineid disable LVM system ID using app-specific machine-id
2013-11-29 15:27:56 +01:00
--disable-blkid_wiping disable libblkid detection of signatures when wiping
and use native code instead
2023-07-02 16:41:34 +02:00
--enable-udev_sync enable synchronization with udev processing
--enable-udev_rules install rule files needed for udev synchronization
2012-06-21 08:43:38 -04:00
--enable-udev-rule-exec-detection
enable executable path detection in udev rules
2010-07-08 12:02:48 +00:00
--enable-units-compat enable output compatibility with old versions that
that do not use KiB-style unit suffixes
2014-04-29 12:44:32 +02:00
--disable-ioctl disable ioctl calls to device-mapper in the kernel
2010-07-08 12:02:48 +00:00
--disable-o_direct disable O_DIRECT
2016-02-17 23:53:35 +00:00
--enable-dbus-service install D-Bus support
2023-10-13 22:03:40 +02:00
--enable-notify-dbus enable LVM notification using dbus
2010-07-08 12:02:48 +00:00
--enable-pkgconfig install pkgconfig support
--enable-write_install install user writable files
--disable-fsadm disable fsadm
2021-08-23 14:02:42 +02:00
--disable-lvmimportvdo disable lvm_import_vdo
2012-10-12 14:45:26 +02:00
--disable-blkdeactivate disable blkdeactivate
2010-07-08 12:02:48 +00:00
--enable-dmeventd enable the device-mapper event daemon
2023-10-13 22:03:40 +02:00
--enable-cmdlib build shared command library
2023-03-01 09:40:53 +01:00
--enable-dmfilemapd enable the dmstats filemap daemon
2010-07-08 12:02:48 +00:00
--disable-selinux disable selinux support
2020-10-02 18:39:19 +02:00
--disable-blkzeroout do not use BLKZEROOUT for device zeroing
2010-07-08 12:02:48 +00:00
--enable-nls enable Native Language Support
2004-07-03 18:21:13 +00:00
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2023-10-12 19:25:04 +02:00
--without-blkid do not build with blkid library
--without-systemd do not build with systemd library
--without-udev do not build with udev library
2014-10-30 17:07:58 +01:00
--with-user=USER set the owner of installed files [USER=]
--with-group=GROUP set the group owner of installed files [GROUP=]
--with-device-uid=UID set the owner used for new device nodes [UID=0]
--with-device-gid=GID set the group used for new device nodes [GID=0]
--with-device-mode=MODE set the mode used for new device nodes [MODE=0600]
2011-02-04 22:17:54 +00:00
--with-device-nodes-on=ON
2014-10-30 17:07:58 +01:00
create nodes on resume or create [ON=resume]
2024-04-09 14:50:52 +02:00
--with-default-use-devices-file=ON
default lvm.conf devices/use_devicesfile = [ON=0]
2012-02-15 11:20:12 +00:00
--with-default-name-mangling=MANGLING
2014-10-30 17:07:58 +01:00
default name mangling: auto/none/hex [auto]
2024-04-09 14:50:52 +02:00
--with-default-event-activation=ON
default lvm.conf global/event_activation = [ON=1]
2021-04-08 21:29:44 +02:00
--with-snapshots=TYPE snapshot support: internal/none [internal]
--with-mirrors=TYPE mirror support: internal/none [internal]
2014-10-30 17:07:58 +01:00
--with-default-mirror-segtype=TYPE
default mirror segtype: raid1/mirror [raid1]
--with-default-raid10-segtype=TYPE
default mirror segtype: raid10/mirror [raid10]
--with-default-sparse-segtype=TYPE
default sparse segtype: thin/snapshot [thin]
2021-04-08 21:29:44 +02:00
--with-thin=TYPE thin provisioning support: internal/none [internal]
2014-10-30 17:07:58 +01:00
--with-thin-check=PATH thin_check tool: [autodetect]
--with-thin-dump=PATH thin_dump tool: [autodetect]
--with-thin-repair=PATH thin_repair tool: [autodetect]
2014-05-26 23:28:03 +02:00
--with-thin-restore=PATH
2014-10-30 17:07:58 +01:00
thin_restore tool: [autodetect]
2021-04-08 21:29:44 +02:00
--with-cache=TYPE cache support: internal/none [internal]
2014-10-30 17:07:58 +01:00
--with-cache-check=PATH cache_check tool: [autodetect]
--with-cache-dump=PATH cache_dump tool: [autodetect]
2014-07-04 16:31:05 +02:00
--with-cache-repair=PATH
2014-10-30 17:07:58 +01:00
cache_repair tool: [autodetect]
2014-07-04 16:31:05 +02:00
--with-cache-restore=PATH
2014-10-30 17:07:58 +01:00
cache_restore tool: [autodetect]
2018-06-29 13:38:18 +02:00
--with-vdo=TYPE vdo support: internal/none [internal]
--with-vdo-format=PATH vdoformat tool: [autodetect]
2020-09-28 18:51:32 +02:00
--with-writecache=TYPE writecache support: internal/none [internal]
--with-integrity=TYPE integrity support: internal/none [internal]
2014-10-30 17:07:58 +01:00
--with-ocfdir=DIR install OCF files in
[PREFIX/lib/ocf/resource.d/lvm2]
2012-06-21 08:43:38 -04:00
--with-default-pid-dir=PID_DIR
2020-09-28 18:51:32 +02:00
default directory to keep PID files in [autodetect]
2012-06-21 08:43:38 -04:00
--with-default-dm-run-dir=DM_RUN_DIR
2020-09-28 18:51:32 +02:00
default DM run directory [autodetect]
2012-06-21 08:43:38 -04:00
--with-default-run-dir=RUN_DIR
2020-09-28 18:51:32 +02:00
default LVM run directory [autodetect_run_dir/lvm]
2010-07-08 12:02:48 +00:00
--with-cmirrord-pidfile=PATH
2014-10-30 17:07:58 +01:00
cmirrord pidfile [PID_DIR/cmirrord.pid]
--with-optimisation=OPT C optimisation flag [OPT=-O2]
2021-03-29 21:46:12 +02:00
--with-symvers=STYLE use symbol versioning of the shared library
[default=gnu]
2015-07-06 18:20:20 +01:00
--with-lvmlockd-pidfile=PATH
lvmlockd pidfile [PID_DIR/lvmlockd.pid]
2015-05-09 00:59:18 +01:00
--with-lvmpolld-pidfile=PATH
lvmpolld pidfile [PID_DIR/lvmpolld.pid]
2023-02-10 19:50:22 +01:00
--with-systemd-run=PATH systemd-run tool: [autodetect]
2022-08-15 11:22:53 +02:00
--with-python-sys-prefix
use Python's sys.prefix and sys.exec_prefix values
--with-python_prefix override the default PYTHON_PREFIX
--with-python_exec_prefix
override the default PYTHON_EXEC_PREFIX
2015-05-18 18:13:07 +02:00
--with-localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2014-10-30 17:07:58 +01:00
--with-confdir=DIR configuration files in DIR [/etc]
--with-staticdir=DIR static binaries in DIR [EPREFIX/sbin]
--with-usrlibdir=DIR usrlib in DIR [PREFIX/lib]
--with-usrsbindir=DIR usrsbin executables in DIR [PREFIX/sbin]
2022-09-14 15:16:30 +02:00
--with-libexecdir=DIR libexec executables in DIR [PREFIX/libexec]
2010-07-08 12:02:48 +00:00
--with-udev-prefix=UPREFIX
2014-10-30 17:07:58 +01:00
install udev rule files in UPREFIX [EPREFIX]
--with-udevdir=DIR udev rules in DIR [UPREFIX/lib/udev/rules.d]
2012-02-13 13:02:47 +00:00
--with-systemdsystemunitdir=DIR
systemd service files in DIR
2012-02-22 17:55:10 +00:00
--with-tmpfilesdir=DIR install configuration files for management of
volatile files and directories in DIR
2014-10-30 17:07:58 +01:00
[PREFIX/lib/tmpfiles.d]
2024-02-08 14:58:16 +01:00
--with-modulesdir=DIR Dir to look for file `uname -r`/modules.builtin
[/lib/modules]
2010-07-08 12:02:48 +00:00
--with-dmeventd-pidfile=PATH
2014-10-30 17:07:58 +01:00
dmeventd pidfile [PID_DIR/dmeventd.pid]
2010-07-08 12:02:48 +00:00
--with-dmeventd-path=PATH
2014-10-30 17:07:58 +01:00
dmeventd path [EPREFIX/sbin/dmeventd]
2023-09-25 15:49:52 +02:00
--with-dmeventd-exit-on-path=PATH
Default path to exit-on file in dmeventd
[/run/nologin]
2010-07-08 12:02:48 +00:00
--with-default-system-dir=DIR
2014-10-30 17:07:58 +01:00
default LVM system directory [/etc/lvm]
2013-06-25 12:26:40 +02:00
--with-default-profile-subdir=SUBDIR
2014-10-30 17:07:58 +01:00
default configuration profile subdir [profile]
2010-07-08 12:02:48 +00:00
--with-default-archive-subdir=SUBDIR
2014-10-30 17:07:58 +01:00
default metadata archive subdir [archive]
2010-07-08 12:02:48 +00:00
--with-default-backup-subdir=SUBDIR
2014-10-30 17:07:58 +01:00
default metadata backup subdir [backup]
2010-07-08 12:02:48 +00:00
--with-default-cache-subdir=SUBDIR
2014-10-30 17:07:58 +01:00
default metadata cache subdir [cache]
2010-07-08 12:02:48 +00:00
--with-default-locking-dir=DIR
2016-04-20 23:15:00 +02:00
default locking directory [autodetect_lock_dir/lvm]
2014-10-30 17:07:58 +01:00
--with-interface=IFACE choose kernel interface (ioctl) [ioctl]
2004-07-03 18:21:13 +00:00
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
2008-05-19 20:06:34 +00:00
LIBS libraries to pass to the linker, e.g. -l<library>
2011-01-07 14:38:34 +00:00
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2007-08-14 19:11:31 +00:00
you have headers in a nonstandard directory <include dir>
2015-02-12 15:48:12 +01:00
CXX C++ compiler command
CXXFLAGS C++ compiler flags
2009-02-25 23:33:30 +00:00
PKG_CONFIG path to pkg-config utility
2011-01-07 14:38:34 +00:00
PKG_CONFIG_PATH
directories to add to pkg-config's search path
PKG_CONFIG_LIBDIR
path overriding pkg-config's built-in search path
2009-02-25 23:33:30 +00:00
CPG_CFLAGS C compiler flags for CPG, overriding pkg-config
CPG_LIBS linker flags for CPG, overriding pkg-config
2012-10-12 02:08:47 +01:00
VALGRIND_CFLAGS
C compiler flags for VALGRIND, overriding pkg-config
VALGRIND_LIBS
linker flags for VALGRIND, overriding pkg-config
2023-02-16 23:26:24 +01:00
LIBSANLOCKCLIENT_CFLAGS
C compiler flags for LIBSANLOCKCLIENT, overriding pkg-config
LIBSANLOCKCLIENT_LIBS
linker flags for LIBSANLOCKCLIENT, overriding pkg-config
LIBDLM_CFLAGS
C compiler flags for LIBDLM, overriding pkg-config
LIBDLM_LIBS linker flags for LIBDLM, overriding pkg-config
LIBDLMCONTROL_CFLAGS
C compiler flags for LIBDLMCONTROL, overriding pkg-config
LIBDLMCONTROL_LIBS
linker flags for LIBDLMCONTROL, overriding pkg-config
LIBSEAGATEILM_CFLAGS
C compiler flags for LIBSEAGATEILM, overriding pkg-config
LIBSEAGATEILM_LIBS
linker flags for LIBSEAGATEILM, overriding pkg-config
2021-10-18 19:13:58 +02:00
BLKID_CFLAGS
C compiler flags for BLKID, overriding pkg-config
BLKID_LIBS linker flags for BLKID, overriding pkg-config
2011-04-22 12:13:05 +00:00
UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
UDEV_LIBS linker flags for UDEV, overriding pkg-config
2023-10-13 22:03:40 +02:00
LIBSYSTEMD_CFLAGS
C compiler flags for LIBSYSTEMD, overriding pkg-config
LIBSYSTEMD_LIBS
linker flags for LIBSYSTEMD, overriding pkg-config
2016-02-17 23:53:35 +00:00
PYTHON the Python interpreter
2023-02-20 21:04:58 +01:00
SELINUX_CFLAGS
C compiler flags for SELINUX, overriding pkg-config
SELINUX_LIBS
linker flags for SELINUX, overriding pkg-config
2020-09-29 10:15:45 +02:00
EDITLINE_CFLAGS
C compiler flags for EDITLINE, overriding pkg-config
EDITLINE_LIBS
linker flags for EDITLINE, overriding pkg-config
2023-02-08 16:15:26 +01:00
systemdsystemunitdir
value of systemdsystemunitdir for systemd, overriding pkg-config
systemdutildir
value of systemdutildir for systemd, overriding pkg-config
2023-02-20 21:04:58 +01:00
AIO_CFLAGS C compiler flags for AIO
AIO_LIBS linker flags for AIO
2021-10-14 22:41:09 +02:00
READLINE_CFLAGS
C compiler flags for readline
READLINE_LIBS
linker flags for readline
2004-07-03 18:21:13 +00:00
2024-03-20 16:14:54 +01:00
Use these variables to override the choices made by 'configure' or to help
2004-07-03 18:21:13 +00:00
it to find libraries and programs with nonstandard names/locations.
2011-01-07 14:38:34 +00:00
Report bugs to the package provider.
2004-07-03 18:21:13 +00:00
_ACEOF
2007-08-14 19:11:31 +00:00
ac_status=$?
2004-07-03 18:21:13 +00:00
fi
if test "$ac_init_help" = "recursive"; then
# If there are subdirs, report their specific --help.
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2009-02-22 22:11:58 +00:00
test -d "$ac_dir" ||
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
continue
2004-07-03 18:21:13 +00:00
ac_builddir=.
2007-08-14 19:11:31 +00:00
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
2022-08-15 11:22:53 +02:00
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2007-08-14 19:11:31 +00:00
# A ".." for each directory in $ac_dir_suffix.
2022-08-15 11:22:53 +02:00
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2007-08-14 19:11:31 +00:00
case $ac_top_builddir_sub in
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix
2004-07-03 18:21:13 +00:00
case $srcdir in
2007-08-14 19:11:31 +00:00
.) # We are building in place.
2004-07-03 18:21:13 +00:00
ac_srcdir=.
2007-08-14 19:11:31 +00:00
ac_top_srcdir=$ac_top_builddir_sub
ac_abs_top_srcdir=$ac_pwd ;;
[\\/]* | ?:[\\/]* ) # Absolute name.
2004-07-03 18:21:13 +00:00
ac_srcdir=$srcdir$ac_dir_suffix;
2007-08-14 19:11:31 +00:00
ac_top_srcdir=$srcdir
ac_abs_top_srcdir=$srcdir ;;
*) # Relative name.
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
ac_top_srcdir=$ac_top_build_prefix$srcdir
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2006-04-19 15:33:07 +00:00
esac
2007-08-14 19:11:31 +00:00
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
cd "$ac_dir" || { ac_status=$?; continue; }
2022-08-15 11:22:53 +02:00
# Check for configure.gnu first; this name is used for a wrapper for
# Metaconfig's "Configure" on case-insensitive file systems.
2007-08-14 19:11:31 +00:00
if test -f "$ac_srcdir/configure.gnu"; then
echo &&
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
elif test -f "$ac_srcdir/configure"; then
echo &&
$SHELL "$ac_srcdir/configure" --help=recursive
2004-07-03 18:21:13 +00:00
else
2022-08-15 11:22:53 +02:00
printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2007-08-14 19:11:31 +00:00
fi || ac_status=$?
cd "$ac_pwd" || { ac_status=$?; break; }
2004-07-03 18:21:13 +00:00
done
fi
2007-08-14 19:11:31 +00:00
test -n "$ac_init_help" && exit $ac_status
2004-07-03 18:21:13 +00:00
if $ac_init_version; then
cat <<\_ACEOF
2007-08-14 19:11:31 +00:00
configure
2024-03-20 16:14:54 +01:00
generated by GNU Autoconf 2.72
2004-07-03 18:21:13 +00:00
2024-03-20 16:14:54 +01:00
Copyright (C) 2023 Free Software Foundation, Inc.
2004-07-03 18:21:13 +00:00
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
_ACEOF
2007-08-14 19:11:31 +00:00
exit
2004-07-03 18:21:13 +00:00
fi
2011-01-07 14:38:34 +00:00
## ------------------------ ##
## Autoconf initialization. ##
## ------------------------ ##
2004-07-03 18:21:13 +00:00
2011-01-07 14:38:34 +00:00
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_compile ()
2004-07-03 18:21:13 +00:00
{
2011-01-07 14:38:34 +00:00
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022-08-15 11:22:53 +02:00
rm -f conftest.$ac_objext conftest.beam
2011-01-07 14:38:34 +00:00
if { { ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2022-08-15 11:22:53 +02:00
printf "%s\n" "$ac_try_echo"; } >&5
2011-01-07 14:38:34 +00:00
(eval "$ac_compile") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
grep -v '^ *+' conftest.err >conftest.er1
cat conftest.er1 >&5
mv -f conftest.er1 conftest.err
fi
2022-08-15 11:22:53 +02:00
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011-01-07 14:38:34 +00:00
test $ac_status = 0; } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
2022-08-15 11:22:53 +02:00
} && test -s conftest.$ac_objext
then :
2011-01-07 14:38:34 +00:00
ac_retval=0
2024-03-20 16:14:54 +01:00
else case e in #(
e) printf "%s\n" "$as_me: failed program was:" >&5
2011-01-07 14:38:34 +00:00
sed 's/^/| /' conftest.$ac_ext >&5
2004-07-03 18:21:13 +00:00
2024-03-20 16:14:54 +01:00
ac_retval=1 ;;
esac
2011-01-07 14:38:34 +00:00
fi
2014-04-04 02:36:47 +01:00
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2011-01-07 14:38:34 +00:00
as_fn_set_status $ac_retval
2004-07-03 18:21:13 +00:00
2011-01-07 14:38:34 +00:00
} # ac_fn_c_try_compile
2004-07-03 18:21:13 +00:00
2015-02-12 15:48:12 +01:00
# ac_fn_cxx_try_compile LINENO
# ----------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
ac_fn_cxx_try_compile ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022-08-15 11:22:53 +02:00
rm -f conftest.$ac_objext conftest.beam
2015-02-12 15:48:12 +01:00
if { { ac_try="$ac_compile"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2022-08-15 11:22:53 +02:00
printf "%s\n" "$ac_try_echo"; } >&5
2015-02-12 15:48:12 +01:00
(eval "$ac_compile") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
grep -v '^ *+' conftest.err >conftest.er1
cat conftest.er1 >&5
mv -f conftest.er1 conftest.err
fi
2022-08-15 11:22:53 +02:00
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2015-02-12 15:48:12 +01:00
test $ac_status = 0; } && {
test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
2022-08-15 11:22:53 +02:00
} && test -s conftest.$ac_objext
then :
2015-02-12 15:48:12 +01:00
ac_retval=0
2024-03-20 16:14:54 +01:00
else case e in #(
e) printf "%s\n" "$as_me: failed program was:" >&5
2015-02-12 15:48:12 +01:00
sed 's/^/| /' conftest.$ac_ext >&5
2024-03-20 16:14:54 +01:00
ac_retval=1 ;;
2011-01-07 14:38:34 +00:00
esac
fi
2014-04-04 02:36:47 +01:00
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2011-01-07 14:38:34 +00:00
as_fn_set_status $ac_retval
2004-07-03 18:21:13 +00:00
2024-03-20 16:14:54 +01:00
} # ac_fn_cxx_try_compile
2010-07-05 22:23:15 +00:00
2011-01-07 14:38:34 +00:00
# ac_fn_c_try_link LINENO
# -----------------------
# Try to link conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_link ()
2010-07-05 22:23:15 +00:00
{
2011-01-07 14:38:34 +00:00
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022-08-15 11:22:53 +02:00
rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2011-01-07 14:38:34 +00:00
if { { ac_try="$ac_link"
2010-07-05 22:23:15 +00:00
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
2011-01-07 14:38:34 +00:00
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2022-08-15 11:22:53 +02:00
printf "%s\n" "$ac_try_echo"; } >&5
2011-01-07 14:38:34 +00:00
(eval "$ac_link") 2>conftest.err
2010-07-05 22:23:15 +00:00
ac_status=$?
2011-01-07 14:38:34 +00:00
if test -s conftest.err; then
grep -v '^ *+' conftest.err >conftest.er1
cat conftest.er1 >&5
mv -f conftest.er1 conftest.err
fi
2022-08-15 11:22:53 +02:00
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011-01-07 14:38:34 +00:00
test $ac_status = 0; } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext && {
test "$cross_compiling" = yes ||
2014-04-04 02:36:47 +01:00
test -x conftest$ac_exeext
2022-08-15 11:22:53 +02:00
}
then :
2011-01-07 14:38:34 +00:00
ac_retval=0
2024-03-20 16:14:54 +01:00
else case e in #(
e) printf "%s\n" "$as_me: failed program was:" >&5
2010-07-05 22:23:15 +00:00
sed 's/^/| /' conftest.$ac_ext >&5
2024-03-20 16:14:54 +01:00
ac_retval=1 ;;
esac
2010-07-05 22:23:15 +00:00
fi
2011-01-07 14:38:34 +00:00
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
# interfere with the next link command; also delete a directory that is
# left behind by Apple's compiler. We do this before executing the actions.
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2014-04-04 02:36:47 +01:00
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2011-01-07 14:38:34 +00:00
as_fn_set_status $ac_retval
2010-07-05 22:23:15 +00:00
2011-01-07 14:38:34 +00:00
} # ac_fn_c_try_link
2010-07-05 22:23:15 +00:00
2011-01-07 14:38:34 +00:00
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
# -------------------------------------------------------
# Tests whether HEADER exists and can be compiled using the include files in
# INCLUDES, setting the cache variable VAR accordingly.
ac_fn_c_check_header_compile ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
printf %s "checking for $2... " >&6; }
if eval test \${$3+y}
then :
printf %s "(cached) " >&6
2024-03-20 16:14:54 +01:00
else case e in #(
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2004-07-03 18:21:13 +00:00
/* end confdefs.h. */
2011-01-07 14:38:34 +00:00
$4
#include <$2>
2004-07-03 18:21:13 +00:00
_ACEOF
2022-08-15 11:22:53 +02:00
if ac_fn_c_try_compile "$LINENO"
then :
2011-01-07 14:38:34 +00:00
eval "$3=yes"
2024-03-20 16:14:54 +01:00
else case e in #(
e) eval "$3=no" ;;
esac
2004-07-03 18:21:13 +00:00
fi
2024-03-20 16:14:54 +01:00
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
2004-07-03 18:21:13 +00:00
fi
2011-01-07 14:38:34 +00:00
eval ac_res=\$$3
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
2014-04-04 02:36:47 +01:00
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004-07-03 18:21:13 +00:00
2011-01-07 14:38:34 +00:00
} # ac_fn_c_check_header_compile
2004-07-03 18:21:13 +00:00
2015-07-27 14:26:56 +01:00
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
# -------------------------------------------
# Tests whether TYPE exists after having included INCLUDES, setting cache
# variable VAR accordingly.
ac_fn_c_check_type ()
2011-01-07 14:38:34 +00:00
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
printf %s "checking for $2... " >&6; }
if eval test \${$3+y}
then :
printf %s "(cached) " >&6
2024-03-20 16:14:54 +01:00
else case e in #(
e) eval "$3=no"
2011-01-07 14:38:34 +00:00
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
2015-07-27 14:26:56 +01:00
$4
2011-01-07 14:38:34 +00:00
int
2022-08-15 11:22:53 +02:00
main (void)
2011-01-07 14:38:34 +00:00
{
2015-07-27 14:26:56 +01:00
if (sizeof ($2))
return 0;
2011-01-07 14:38:34 +00:00
;
return 0;
}
2004-07-03 18:21:13 +00:00
_ACEOF
2022-08-15 11:22:53 +02:00
if ac_fn_c_try_compile "$LINENO"
then :
2011-01-07 14:38:34 +00:00
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2004-07-03 18:21:13 +00:00
/* end confdefs.h. */
2015-07-27 14:26:56 +01:00
$4
2011-01-07 14:38:34 +00:00
int
2022-08-15 11:22:53 +02:00
main (void)
2011-01-07 14:38:34 +00:00
{
2015-07-27 14:26:56 +01:00
if (sizeof (($2)))
return 0;
2011-01-07 14:38:34 +00:00
;
return 0;
}
_ACEOF
2022-08-15 11:22:53 +02:00
if ac_fn_c_try_compile "$LINENO"
then :
2015-07-27 14:26:56 +01:00
2024-03-20 16:14:54 +01:00
else case e in #(
e) eval "$3=yes" ;;
esac
2011-01-07 14:38:34 +00:00
fi
2022-08-15 11:22:53 +02:00
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2011-01-07 14:38:34 +00:00
fi
2024-03-20 16:14:54 +01:00
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
2011-01-07 14:38:34 +00:00
fi
2015-07-27 14:26:56 +01:00
eval ac_res=\$$3
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
2014-04-04 02:36:47 +01:00
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2011-01-07 14:38:34 +00:00
2015-07-27 14:26:56 +01:00
} # ac_fn_c_check_type
2001-09-21 12:37:43 +00:00
2015-07-27 14:26:56 +01:00
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
# ----------------------------------------------------
# Tries to find if the field MEMBER exists in type AGGR, after including
# INCLUDES, setting cache variable VAR accordingly.
ac_fn_c_check_member ()
2011-01-07 14:38:34 +00:00
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
printf %s "checking for $2.$3... " >&6; }
if eval test \${$4+y}
then :
printf %s "(cached) " >&6
2024-03-20 16:14:54 +01:00
else case e in #(
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2011-01-07 14:38:34 +00:00
/* end confdefs.h. */
2015-07-27 14:26:56 +01:00
$5
2004-07-03 18:21:13 +00:00
int
2022-08-15 11:22:53 +02:00
main (void)
2004-07-03 18:21:13 +00:00
{
2015-07-27 14:26:56 +01:00
static $2 ac_aggr;
if (ac_aggr.$3)
return 0;
2004-07-03 18:21:13 +00:00
;
return 0;
}
_ACEOF
2022-08-15 11:22:53 +02:00
if ac_fn_c_try_compile "$LINENO"
then :
2015-07-27 14:26:56 +01:00
eval "$4=yes"
2024-03-20 16:14:54 +01:00
else case e in #(
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2011-01-07 14:38:34 +00:00
/* end confdefs.h. */
2015-07-27 14:26:56 +01:00
$5
2011-01-07 14:38:34 +00:00
int
2022-08-15 11:22:53 +02:00
main (void)
2011-01-07 14:38:34 +00:00
{
2015-07-27 14:26:56 +01:00
static $2 ac_aggr;
if (sizeof ac_aggr.$3)
return 0;
2011-01-07 14:38:34 +00:00
;
return 0;
}
_ACEOF
2022-08-15 11:22:53 +02:00
if ac_fn_c_try_compile "$LINENO"
then :
2015-07-27 14:26:56 +01:00
eval "$4=yes"
2024-03-20 16:14:54 +01:00
else case e in #(
e) eval "$4=no" ;;
esac
2001-09-21 12:37:43 +00:00
fi
2024-03-20 16:14:54 +01:00
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
2011-01-07 14:38:34 +00:00
fi
2024-03-20 16:14:54 +01:00
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
2004-07-03 18:21:13 +00:00
fi
2015-07-27 14:26:56 +01:00
eval ac_res=\$$4
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
2014-04-04 02:36:47 +01:00
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004-07-03 18:21:13 +00:00
2015-07-27 14:26:56 +01:00
} # ac_fn_c_check_member
2004-07-03 18:21:13 +00:00
2011-01-07 14:38:34 +00:00
# ac_fn_c_find_intX_t LINENO BITS VAR
# -----------------------------------
# Finds a signed integer type with width BITS, setting cache variable VAR
# accordingly.
ac_fn_c_find_intX_t ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
printf %s "checking for int$2_t... " >&6; }
if eval test \${$3+y}
then :
printf %s "(cached) " >&6
2024-03-20 16:14:54 +01:00
else case e in #(
e) eval "$3=no"
2011-01-07 14:38:34 +00:00
# Order is important - never check a type that is potentially smaller
# than half of the expected target width.
for ac_type in int$2_t 'int' 'long int' \
'long long int' 'short int' 'signed char'; do
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2007-08-14 19:11:31 +00:00
/* end confdefs.h. */
$ac_includes_default
2011-01-07 14:38:34 +00:00
enum { N = $2 / 2 - 1 };
2007-08-14 19:11:31 +00:00
int
2022-08-15 11:22:53 +02:00
main (void)
2007-08-14 19:11:31 +00:00
{
2011-01-07 14:38:34 +00:00
static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
2014-04-04 02:36:47 +01:00
test_array [0] = 0;
return test_array [0];
2007-08-14 19:11:31 +00:00
2011-01-07 14:38:34 +00:00
;
return 0;
}
_ACEOF
2022-08-15 11:22:53 +02:00
if ac_fn_c_try_compile "$LINENO"
then :
2011-01-07 14:38:34 +00:00
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_includes_default
enum { N = $2 / 2 - 1 };
int
2022-08-15 11:22:53 +02:00
main (void)
2011-01-07 14:38:34 +00:00
{
static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
< ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
2014-04-04 02:36:47 +01:00
test_array [0] = 0;
return test_array [0];
2007-08-14 19:11:31 +00:00
;
return 0;
}
2004-07-03 18:21:13 +00:00
_ACEOF
2022-08-15 11:22:53 +02:00
if ac_fn_c_try_compile "$LINENO"
then :
2004-07-03 18:21:13 +00:00
2024-03-20 16:14:54 +01:00
else case e in #(
e) case $ac_type in #(
2011-01-07 14:38:34 +00:00
int$2_t) :
eval "$3=yes" ;; #(
*) :
eval "$3=\$ac_type" ;;
2024-03-20 16:14:54 +01:00
esac ;;
2011-01-07 14:38:34 +00:00
esac
2004-07-03 18:21:13 +00:00
fi
2022-08-15 11:22:53 +02:00
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2004-07-03 18:21:13 +00:00
fi
2022-08-15 11:22:53 +02:00
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
if eval test \"x\$"$3"\" = x"no"
then :
2004-07-03 18:21:13 +00:00
2024-03-20 16:14:54 +01:00
else case e in #(
e) break ;;
esac
2004-07-03 18:21:13 +00:00
fi
2024-03-20 16:14:54 +01:00
done ;;
esac
2004-07-03 18:21:13 +00:00
fi
2011-01-07 14:38:34 +00:00
eval ac_res=\$$3
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
2014-04-04 02:36:47 +01:00
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2011-01-07 14:38:34 +00:00
} # ac_fn_c_find_intX_t
# ac_fn_c_find_uintX_t LINENO BITS VAR
# ------------------------------------
# Finds an unsigned integer type with width BITS, setting cache variable VAR
# accordingly.
ac_fn_c_find_uintX_t ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
printf %s "checking for uint$2_t... " >&6; }
if eval test \${$3+y}
then :
printf %s "(cached) " >&6
2024-03-20 16:14:54 +01:00
else case e in #(
e) eval "$3=no"
2011-01-07 14:38:34 +00:00
# Order is important - never check a type that is potentially smaller
# than half of the expected target width.
for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
'unsigned long long int' 'unsigned short int' 'unsigned char'; do
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2004-07-03 18:21:13 +00:00
/* end confdefs.h. */
2007-08-14 19:11:31 +00:00
$ac_includes_default
2004-07-03 18:21:13 +00:00
int
2022-08-15 11:22:53 +02:00
main (void)
2004-07-03 18:21:13 +00:00
{
2011-01-07 14:38:34 +00:00
static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2014-04-04 02:36:47 +01:00
test_array [0] = 0;
return test_array [0];
2004-07-03 18:21:13 +00:00
2011-01-07 14:38:34 +00:00
;
return 0;
2004-07-03 18:21:13 +00:00
}
_ACEOF
2022-08-15 11:22:53 +02:00
if ac_fn_c_try_compile "$LINENO"
then :
2011-01-07 14:38:34 +00:00
case $ac_type in #(
uint$2_t) :
eval "$3=yes" ;; #(
*) :
eval "$3=\$ac_type" ;;
2007-08-14 19:11:31 +00:00
esac
2004-07-03 18:21:13 +00:00
fi
2022-08-15 11:22:53 +02:00
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
if eval test \"x\$"$3"\" = x"no"
then :
2007-08-14 19:11:31 +00:00
2024-03-20 16:14:54 +01:00
else case e in #(
e) break ;;
esac
2004-07-03 18:21:13 +00:00
fi
2024-03-20 16:14:54 +01:00
done ;;
esac
2004-07-03 18:21:13 +00:00
fi
2011-01-07 14:38:34 +00:00
eval ac_res=\$$3
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
2014-04-04 02:36:47 +01:00
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004-07-03 18:21:13 +00:00
2011-01-07 14:38:34 +00:00
} # ac_fn_c_find_uintX_t
2004-07-03 18:21:13 +00:00
2011-01-07 14:38:34 +00:00
# ac_fn_c_check_func LINENO FUNC VAR
# ----------------------------------
# Tests whether FUNC exists, setting the cache variable VAR accordingly
ac_fn_c_check_func ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
printf %s "checking for $2... " >&6; }
if eval test \${$3+y}
then :
printf %s "(cached) " >&6
2024-03-20 16:14:54 +01:00
else case e in #(
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2011-01-07 14:38:34 +00:00
/* end confdefs.h. */
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
For example, HP-UX 11i <limits.h> declares gettimeofday. */
#define $2 innocuous_$2
2004-07-03 18:21:13 +00:00
2011-01-07 14:38:34 +00:00
/* System header to define __stub macros and hopefully few prototypes,
2024-03-20 16:14:54 +01:00
which can conflict with char $2 (void); below. */
2004-07-03 18:21:13 +00:00
2022-08-15 11:22:53 +02:00
#include <limits.h>
2011-01-07 14:38:34 +00:00
#undef $2
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
2024-03-20 16:14:54 +01:00
char $2 (void);
2011-01-07 14:38:34 +00:00
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined __stub_$2 || defined __stub___$2
choke me
#endif
2004-07-03 18:21:13 +00:00
int
2022-08-15 11:22:53 +02:00
main (void)
2004-07-03 18:21:13 +00:00
{
2011-01-07 14:38:34 +00:00
return $2 ();
2004-07-03 18:21:13 +00:00
;
return 0;
}
_ACEOF
2022-08-15 11:22:53 +02:00
if ac_fn_c_try_link "$LINENO"
then :
2011-01-07 14:38:34 +00:00
eval "$3=yes"
2024-03-20 16:14:54 +01:00
else case e in #(
e) eval "$3=no" ;;
esac
2004-07-03 18:21:13 +00:00
fi
2022-08-15 11:22:53 +02:00
rm -f core conftest.err conftest.$ac_objext conftest.beam \
2024-03-20 16:14:54 +01:00
conftest$ac_exeext conftest.$ac_ext ;;
esac
2004-07-03 18:21:13 +00:00
fi
2011-01-07 14:38:34 +00:00
eval ac_res=\$$3
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
2014-04-04 02:36:47 +01:00
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007-08-14 19:11:31 +00:00
2011-01-07 14:38:34 +00:00
} # ac_fn_c_check_func
2015-07-27 14:26:56 +01:00
2022-08-15 11:22:53 +02:00
# ac_fn_c_try_run LINENO
# ----------------------
# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
# executables *can* be run.
ac_fn_c_try_run ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
if { { ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
printf "%s\n" "$ac_try_echo"; } >&5
(eval "$ac_link") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
{ { case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
printf "%s\n" "$ac_try_echo"; } >&5
(eval "$ac_try") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; }
then :
ac_retval=0
2024-03-20 16:14:54 +01:00
else case e in #(
e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
2022-08-15 11:22:53 +02:00
printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
2024-03-20 16:14:54 +01:00
ac_retval=$ac_status ;;
esac
2022-08-15 11:22:53 +02:00
fi
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
} # ac_fn_c_try_run
# ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
# ------------------------------------------------------------------
2015-07-27 14:26:56 +01:00
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2022-08-15 11:22:53 +02:00
# accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
ac_fn_check_decl ()
2015-07-27 14:26:56 +01:00
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
as_decl_name=`echo $2|sed 's/ *(.*//'`
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
printf %s "checking whether $as_decl_name is declared... " >&6; }
if eval test \${$3+y}
then :
printf %s "(cached) " >&6
2024-03-20 16:14:54 +01:00
else case e in #(
e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2022-08-15 11:22:53 +02:00
eval ac_save_FLAGS=\$$6
as_fn_append $6 " $5"
2015-07-27 14:26:56 +01:00
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
2022-08-15 11:22:53 +02:00
main (void)
2015-07-27 14:26:56 +01:00
{
#ifndef $as_decl_name
#ifdef __cplusplus
(void) $as_decl_use;
#else
(void) $as_decl_name;
#endif
#endif
;
return 0;
}
_ACEOF
2022-08-15 11:22:53 +02:00
if ac_fn_c_try_compile "$LINENO"
then :
2015-07-27 14:26:56 +01:00
eval "$3=yes"
2024-03-20 16:14:54 +01:00
else case e in #(
e) eval "$3=no" ;;
esac
2015-07-27 14:26:56 +01:00
fi
2022-08-15 11:22:53 +02:00
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
eval $6=\$ac_save_FLAGS
2024-03-20 16:14:54 +01:00
;;
esac
2015-07-27 14:26:56 +01:00
fi
eval ac_res=\$$3
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
2015-07-27 14:26:56 +01:00
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2022-08-15 11:22:53 +02:00
} # ac_fn_check_decl
ac_configure_args_raw=
for ac_arg
do
case $ac_arg in
*\'*)
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
esac
as_fn_append ac_configure_args_raw " '$ac_arg'"
done
case $ac_configure_args_raw in
*$as_nl*)
ac_safe_unquote= ;;
*)
ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
ac_unsafe_a="$ac_unsafe_z#~"
ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
esac
2011-01-07 14:38:34 +00:00
cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
2007-08-14 19:11:31 +00:00
2011-01-07 14:38:34 +00:00
It was created by $as_me, which was
2024-03-20 16:14:54 +01:00
generated by GNU Autoconf 2.72. Invocation command line was
2004-07-03 18:21:13 +00:00
2022-08-15 11:22:53 +02:00
$ $0$ac_configure_args_raw
2004-07-03 18:21:13 +00:00
_ACEOF
2011-01-07 14:38:34 +00:00
exec 5>>config.log
{
cat <<_ASUNAME
## --------- ##
## Platform. ##
## --------- ##
2004-07-03 18:21:13 +00:00
2011-01-07 14:38:34 +00:00
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
uname -m = `(uname -m) 2>/dev/null || echo unknown`
uname -r = `(uname -r) 2>/dev/null || echo unknown`
uname -s = `(uname -s) 2>/dev/null || echo unknown`
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2004-07-03 18:21:13 +00:00
2011-01-07 14:38:34 +00:00
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2006-04-19 15:33:07 +00:00
2011-01-07 14:38:34 +00:00
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
_ASUNAME
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
2022-08-15 11:22:53 +02:00
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
printf "%s\n" "PATH: $as_dir"
2011-01-07 14:38:34 +00:00
done
IFS=$as_save_IFS
} >&5
cat >&5 <<_ACEOF
## ----------- ##
## Core tests. ##
## ----------- ##
2004-07-03 18:21:13 +00:00
_ACEOF
2007-08-14 19:11:31 +00:00
2011-01-07 14:38:34 +00:00
# Keep a trace of the command line.
# Strip out --no-create and --no-recursion so they do not pile up.
# Strip out --silent because we don't want to record it for future runs.
# Also quote any args containing shell meta-characters.
# Make two passes to allow for proper duplicate-argument suppression.
ac_configure_args=
ac_configure_args0=
ac_configure_args1=
ac_must_keep_next=false
for ac_pass in 1 2
do
for ac_arg
do
case $ac_arg in
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil)
continue ;;
*\'*)
2022-08-15 11:22:53 +02:00
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2011-01-07 14:38:34 +00:00
esac
case $ac_pass in
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2)
as_fn_append ac_configure_args1 " '$ac_arg'"
if test $ac_must_keep_next = true; then
ac_must_keep_next=false # Got value, back to normal.
else
case $ac_arg in
*=* | --config-cache | -C | -disable-* | --disable-* \
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
| -with-* | --with-* | -without-* | --without-* | --x)
case "$ac_configure_args0 " in
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
esac
;;
-* ) ac_must_keep_next=true ;;
esac
fi
as_fn_append ac_configure_args " '$ac_arg'"
;;
esac
done
done
{ ac_configure_args0=; unset ac_configure_args0;}
{ ac_configure_args1=; unset ac_configure_args1;}
# When interrupted or exit'd, cleanup temporary files, and complete
# config.log. We remove comments because anyway the quotes in there
# would cause problems or look ugly.
# WARNING: Use '\'' to represent an apostrophe within the trap.
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
trap 'exit_status=$?
2022-08-15 11:22:53 +02:00
# Sanitize IFS.
IFS=" "" $as_nl"
2011-01-07 14:38:34 +00:00
# Save into config.log some information that might help in debugging.
{
echo
2022-08-15 11:22:53 +02:00
printf "%s\n" "## ---------------- ##
2011-01-07 14:38:34 +00:00
## Cache variables. ##
## ---------------- ##"
echo
# The following way of writing the cache mishandles newlines in values,
(
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
eval ac_val=\$$ac_var
case $ac_val in #(
*${as_nl}*)
case $ac_var in #(
2022-08-15 11:22:53 +02:00
*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2011-01-07 14:38:34 +00:00
esac
case $ac_var in #(
_ | IFS | as_nl) ;; #(
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
*) { eval $ac_var=; unset $ac_var;} ;;
esac ;;
esac
done
(set) 2>&1 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
*${as_nl}ac_space=\ *)
sed -n \
"s/'\''/'\''\\\\'\'''\''/g;
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
;; #(
*)
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
;;
esac |
sort
)
echo
2022-08-15 11:22:53 +02:00
printf "%s\n" "## ----------------- ##
2011-01-07 14:38:34 +00:00
## Output variables. ##
## ----------------- ##"
echo
for ac_var in $ac_subst_vars
do
eval ac_val=\$$ac_var
case $ac_val in
2022-08-15 11:22:53 +02:00
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2011-01-07 14:38:34 +00:00
esac
2022-08-15 11:22:53 +02:00
printf "%s\n" "$ac_var='\''$ac_val'\''"
2011-01-07 14:38:34 +00:00
done | sort
echo
if test -n "$ac_subst_files"; then
2022-08-15 11:22:53 +02:00
printf "%s\n" "## ------------------- ##
2011-01-07 14:38:34 +00:00
## File substitutions. ##
## ------------------- ##"
echo
for ac_var in $ac_subst_files
do
eval ac_val=\$$ac_var
case $ac_val in
2022-08-15 11:22:53 +02:00
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2011-01-07 14:38:34 +00:00
esac
2022-08-15 11:22:53 +02:00
printf "%s\n" "$ac_var='\''$ac_val'\''"
2011-01-07 14:38:34 +00:00
done | sort
echo
fi
if test -s confdefs.h; then
2022-08-15 11:22:53 +02:00
printf "%s\n" "## ----------- ##
2011-01-07 14:38:34 +00:00
## confdefs.h. ##
## ----------- ##"
echo
cat confdefs.h
echo
fi
test "$ac_signal" != 0 &&
2022-08-15 11:22:53 +02:00
printf "%s\n" "$as_me: caught signal $ac_signal"
printf "%s\n" "$as_me: exit $exit_status"
2011-01-07 14:38:34 +00:00
} >&5
rm -f core *.core core.conftest.* &&
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
exit $exit_status
' 0
for ac_signal in 1 2 13 15; do
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
done
ac_signal=0
# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -f -r conftest* confdefs.h
2007-08-14 19:11:31 +00:00
2022-08-15 11:22:53 +02:00
printf "%s\n" "/* confdefs.h */" > confdefs.h
2006-04-19 15:33:07 +00:00
2011-01-07 14:38:34 +00:00
# Predefined preprocessor variables.
2004-07-03 18:21:13 +00:00
2022-08-15 11:22:53 +02:00
printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2004-07-03 18:21:13 +00:00
2022-08-15 11:22:53 +02:00
printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2004-07-03 18:21:13 +00:00
2022-08-15 11:22:53 +02:00
printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2011-01-07 14:38:34 +00:00
2022-08-15 11:22:53 +02:00
printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2004-07-03 18:21:13 +00:00
2022-08-15 11:22:53 +02:00
printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2007-08-14 19:11:31 +00:00
2022-08-15 11:22:53 +02:00
printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2004-07-03 18:21:13 +00:00
2007-08-14 19:11:31 +00:00
2011-01-07 14:38:34 +00:00
# Let the site file select an alternate cache file if it wants to.
# Prefer an explicitly selected file to automatically selected ones.
if test -n "$CONFIG_SITE"; then
2022-08-15 11:22:53 +02:00
ac_site_files="$CONFIG_SITE"
2011-01-07 14:38:34 +00:00
elif test "x$prefix" != xNONE; then
2022-08-15 11:22:53 +02:00
ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2004-07-03 18:21:13 +00:00
else
2022-08-15 11:22:53 +02:00
ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2004-07-03 18:21:13 +00:00
fi
2022-08-15 11:22:53 +02:00
for ac_site_file in $ac_site_files
2011-01-07 14:38:34 +00:00
do
2022-08-15 11:22:53 +02:00
case $ac_site_file in #(
*/*) :
;; #(
*) :
ac_site_file=./$ac_site_file ;;
esac
if test -f "$ac_site_file" && test -r "$ac_site_file"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2011-01-07 14:38:34 +00:00
sed 's/^/| /' "$ac_site_file" >&5
. "$ac_site_file" \
2024-03-20 16:14:54 +01:00
|| { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2011-01-07 14:38:34 +00:00
as_fn_error $? "failed to load site script $ac_site_file
2024-03-20 16:14:54 +01:00
See 'config.log' for more details" "$LINENO" 5; }
2011-01-07 14:38:34 +00:00
fi
done
2004-07-03 18:21:13 +00:00
2011-01-07 14:38:34 +00:00
if test -r "$cache_file"; then
# Some versions of bash will fail to source /dev/null (special files
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2011-01-07 14:38:34 +00:00
case $cache_file in
[\\/]* | ?:[\\/]* ) . "$cache_file";;
*) . "./$cache_file";;
esac
fi
else
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2011-01-07 14:38:34 +00:00
>$cache_file
2004-07-03 18:21:13 +00:00
fi
2022-08-15 11:22:53 +02:00
# Test code for whether the C compiler supports C89 (global declarations)
ac_c_conftest_c89_globals='
/* Does the compiler advertise C89 conformance?
Do not test the value of __STDC__, because some compilers set it to 0
while being otherwise adequately conformant. */
#if !defined __STDC__
# error "Compiler does not advertise C89 conformance"
#endif
#include <stddef.h>
#include <stdarg.h>
struct stat;
/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
struct buf { int x; };
struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2024-03-20 16:14:54 +01:00
static char *e (char **p, int i)
2022-08-15 11:22:53 +02:00
{
return p[i];
}
static char *f (char * (*g) (char **, int), char **p, ...)
{
char *s;
va_list v;
va_start (v,p);
s = g (p, va_arg (v,int));
va_end (v);
return s;
}
2024-03-20 16:14:54 +01:00
/* C89 style stringification. */
#define noexpand_stringify(a) #a
const char *stringified = noexpand_stringify(arbitrary+token=sequence);
/* C89 style token pasting. Exercises some of the corner cases that
e.g. old MSVC gets wrong, but not very hard. */
#define noexpand_concat(a,b) a##b
#define expand_concat(a,b) noexpand_concat(a,b)
extern int vA;
extern int vbee;
#define aye A
#define bee B
int *pvA = &expand_concat(v,aye);
int *pvbee = &noexpand_concat(v,bee);
2022-08-15 11:22:53 +02:00
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
function prototypes and stuff, but not \xHH hex character constants.
These do not provoke an error unfortunately, instead are silently treated
as an "x". The following induces an error, until -std is added to get
proper ANSI mode. Curiously \x00 != x always comes out true, for an
array size at least. It is necessary to write \x00 == 0 to get something
that is true only with -std. */
int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
inside strings and character constants. */
#define FOO(x) '\''x'\''
int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};
int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
int, int);'
# Test code for whether the C compiler supports C89 (body of main).
ac_c_conftest_c89_main='
ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
'
# Test code for whether the C compiler supports C99 (global declarations)
ac_c_conftest_c99_globals='
2024-03-20 16:14:54 +01:00
/* Does the compiler advertise C99 conformance? */
2022-08-15 11:22:53 +02:00
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
# error "Compiler does not advertise C99 conformance"
#endif
2024-03-20 16:14:54 +01:00
// See if C++-style comments work.
2022-08-15 11:22:53 +02:00
#include <stdbool.h>
extern int puts (const char *);
extern int printf (const char *, ...);
extern int dprintf (int, const char *, ...);
extern void *malloc (size_t);
2024-03-20 16:14:54 +01:00
extern void free (void *);
2022-08-15 11:22:53 +02:00
// Check varargs macros. These examples are taken from C99 6.10.3.5.
// dprintf is used instead of fprintf to avoid needing to declare
// FILE and stderr.
#define debug(...) dprintf (2, __VA_ARGS__)
#define showlist(...) puts (#__VA_ARGS__)
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
static void
test_varargs_macros (void)
{
int x = 1234;
int y = 5678;
debug ("Flag");
debug ("X = %d\n", x);
showlist (The first, second, and third items.);
report (x>y, "x is %d but y is %d", x, y);
}
// Check long long types.
#define BIG64 18446744073709551615ull
#define BIG32 4294967295ul
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
#if !BIG_OK
#error "your preprocessor is broken"
#endif
#if BIG_OK
#else
#error "your preprocessor is broken"
#endif
static long long int bignum = -9223372036854775807LL;
static unsigned long long int ubignum = BIG64;
struct incomplete_array
{
int datasize;
double data[];
};
struct named_init {
int number;
const wchar_t *name;
double average;
};
typedef const char *ccp;
static inline int
test_restrict (ccp restrict text)
{
// Iterate through items via the restricted pointer.
// Also check for declarations in for loops.
for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
continue;
return 0;
}
// Check varargs and va_copy.
static bool
test_varargs (const char *format, ...)
{
va_list args;
va_start (args, format);
va_list args_copy;
va_copy (args_copy, args);
const char *str = "";
int number = 0;
float fnumber = 0;
while (*format)
{
switch (*format++)
{
case '\''s'\'': // string
str = va_arg (args_copy, const char *);
break;
case '\''d'\'': // int
number = va_arg (args_copy, int);
break;
case '\''f'\'': // float
fnumber = va_arg (args_copy, double);
break;
default:
break;
}
}
va_end (args_copy);
va_end (args);
return *str && number && fnumber;
}
'
# Test code for whether the C compiler supports C99 (body of main).
ac_c_conftest_c99_main='
// Check bool.
_Bool success = false;
success |= (argc != 0);
// Check restrict.
if (test_restrict ("String literal") == 0)
success = true;
char *restrict newvar = "Another string";
// Check varargs.
success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
test_varargs_macros ();
// Check flexible array members.
struct incomplete_array *ia =
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
ia->datasize = 10;
for (int i = 0; i < ia->datasize; ++i)
ia->data[i] = i * 1.234;
2024-03-20 16:14:54 +01:00
// Work around memory leak warnings.
free (ia);
2022-08-15 11:22:53 +02:00
// Check named initializers.
struct named_init ni = {
.number = 34,
.name = L"Test wide string",
.average = 543.34343,
};
ni.number = 58;
int dynamic_array[ni.number];
dynamic_array[0] = argv[0][0];
dynamic_array[ni.number - 1] = 543;
// work around unused variable warnings
ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
|| dynamic_array[ni.number - 1] != 543);
'
# Test code for whether the C compiler supports C11 (global declarations)
ac_c_conftest_c11_globals='
2024-03-20 16:14:54 +01:00
/* Does the compiler advertise C11 conformance? */
2022-08-15 11:22:53 +02:00
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
# error "Compiler does not advertise C11 conformance"
#endif
// Check _Alignas.
char _Alignas (double) aligned_as_double;
char _Alignas (0) no_special_alignment;
extern char aligned_as_int;
char _Alignas (0) _Alignas (int) aligned_as_int;
// Check _Alignof.
enum
{
int_alignment = _Alignof (int),
int_array_alignment = _Alignof (int[100]),
char_alignment = _Alignof (char)
};
_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
// Check _Noreturn.
int _Noreturn does_not_return (void) { for (;;) continue; }
// Check _Static_assert.
struct test_static_assert
{
int x;
_Static_assert (sizeof (int) <= sizeof (long int),
"_Static_assert does not work in struct");
long int y;
};
// Check UTF-8 literals.
#define u8 syntax error!
char const utf8_literal[] = u8"happens to be ASCII" "another string";
// Check duplicate typedefs.
typedef long *long_ptr;
typedef long int *long_ptr;
typedef long_ptr long_ptr;
// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
struct anonymous
{
union {
struct { int i; int j; };
struct { int k; long int l; } w;
};
int m;
} v1;
'
# Test code for whether the C compiler supports C11 (body of main).
ac_c_conftest_c11_main='
_Static_assert ((offsetof (struct anonymous, i)
== offsetof (struct anonymous, w.k)),
"Anonymous union alignment botch");
v1.i = 2;
v1.w.k = 5;
ok |= v1.i != 5;
'
# Test code for whether the C compiler supports C11 (complete).
ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
${ac_c_conftest_c99_globals}
${ac_c_conftest_c11_globals}
int
main (int argc, char **argv)
{
int ok = 0;
${ac_c_conftest_c89_main}
${ac_c_conftest_c99_main}
${ac_c_conftest_c11_main}
return ok;
}
"
# Test code for whether the C compiler supports C99 (complete).
ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
${ac_c_conftest_c99_globals}
int
main (int argc, char **argv)
{
int ok = 0;
${ac_c_conftest_c89_main}
${ac_c_conftest_c99_main}
return ok;
}
"
# Test code for whether the C compiler supports C89 (complete).
ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
int
main (int argc, char **argv)
{
int ok = 0;
${ac_c_conftest_c89_main}
return ok;
}
"
# Test code for whether the C++ compiler supports C++98 (global declarations)
ac_cxx_conftest_cxx98_globals='
// Does the compiler advertise C++98 conformance?
#if !defined __cplusplus || __cplusplus < 199711L
# error "Compiler does not advertise C++98 conformance"
#endif
// These inclusions are to reject old compilers that
// lack the unsuffixed header files.
#include <cstdlib>
#include <exception>
// <cassert> and <cstring> are *not* freestanding headers in C++98.
extern void assert (int);
namespace std {
extern int strcmp (const char *, const char *);
}
// Namespaces, exceptions, and templates were all added after "C++ 2.0".
using std::exception;
using std::strcmp;
namespace {
void test_exception_syntax()
{
try {
throw "test";
} catch (const char *s) {
// Extra parentheses suppress a warning when building autoconf itself,
// due to lint rules shared with more typical C programs.
assert (!(strcmp) (s, "test"));
}
}
template <typename T> struct test_template
{
T const val;
explicit test_template(T t) : val(t) {}
template <typename U> T add(U u) { return static_cast<T>(u) + val; }
};
} // anonymous namespace
'
# Test code for whether the C++ compiler supports C++98 (body of main)
ac_cxx_conftest_cxx98_main='
assert (argc);
assert (! argv[0]);
{
test_exception_syntax ();
test_template<double> tt (2.0);
assert (tt.add (4) == 6.0);
assert (true && !false);
}
'
# Test code for whether the C++ compiler supports C++11 (global declarations)
ac_cxx_conftest_cxx11_globals='
// Does the compiler advertise C++ 2011 conformance?
#if !defined __cplusplus || __cplusplus < 201103L
# error "Compiler does not advertise C++11 conformance"
#endif
namespace cxx11test
{
constexpr int get_val() { return 20; }
struct testinit
{
int i;
double d;
};
class delegate
{
public:
delegate(int n) : n(n) {}
delegate(): delegate(2354) {}
virtual int getval() { return this->n; };
protected:
int n;
};
class overridden : public delegate
{
public:
overridden(int n): delegate(n) {}
virtual int getval() override final { return this->n * 2; }
};
class nocopy
{
public:
nocopy(int i): i(i) {}
nocopy() = default;
nocopy(const nocopy&) = delete;
nocopy & operator=(const nocopy&) = delete;
private:
int i;
};
// for testing lambda expressions
template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
{
return f(v);
}
// for testing variadic templates and trailing return types
template <typename V> auto sum(V first) -> V
{
return first;
}
template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
{
return first + sum(rest...);
}
}
'
# Test code for whether the C++ compiler supports C++11 (body of main)
ac_cxx_conftest_cxx11_main='
{
// Test auto and decltype
auto a1 = 6538;
auto a2 = 48573953.4;
auto a3 = "String literal";
int total = 0;
for (auto i = a3; *i; ++i) { total += *i; }
decltype(a2) a4 = 34895.034;
}
{
// Test constexpr
short sa[cxx11test::get_val()] = { 0 };
}
{
// Test initializer lists
cxx11test::testinit il = { 4323, 435234.23544 };
}
{
// Test range-based for
int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
for (auto &x : array) { x += 23; }
}
{
// Test lambda expressions
using cxx11test::eval;
assert (eval ([](int x) { return x*2; }, 21) == 42);
double d = 2.0;
assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
assert (d == 5.0);
assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
assert (d == 5.0);
}
{
// Test use of variadic templates
using cxx11test::sum;
auto a = sum(1);
auto b = sum(1, 2);
auto c = sum(1.0, 2.0, 3.0);
}
{
// Test constructor delegation
cxx11test::delegate d1;
cxx11test::delegate d2();
cxx11test::delegate d3(45);
}
{
// Test override and final
cxx11test::overridden o1(55464);
}
{
// Test nullptr
char *c = nullptr;
}
{
// Test template brackets
test_template<::test_template<int>> v(test_template<int>(12));
}
{
// Unicode literals
char const *utf8 = u8"UTF-8 string \u2500";
char16_t const *utf16 = u"UTF-8 string \u2500";
char32_t const *utf32 = U"UTF-32 string \u2500";
}
'
# Test code for whether the C compiler supports C++11 (complete).
ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
${ac_cxx_conftest_cxx11_globals}
int
main (int argc, char **argv)
{
int ok = 0;
${ac_cxx_conftest_cxx98_main}
${ac_cxx_conftest_cxx11_main}
return ok;
}
"
# Test code for whether the C compiler supports C++98 (complete).
ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
int
main (int argc, char **argv)
{
int ok = 0;
${ac_cxx_conftest_cxx98_main}
return ok;
}
"
as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
as_fn_append ac_header_c_list " vfork.h vfork_h HAVE_VFORK_H"
as_fn_append ac_func_c_list " fork HAVE_FORK"
as_fn_append ac_func_c_list " vfork HAVE_VFORK"
2022-08-30 13:36:52 +02:00
as_fn_append ac_header_c_list " sys/time.h sys_time_h HAVE_SYS_TIME_H"
2022-08-15 11:22:53 +02:00
as_fn_append ac_func_c_list " alarm HAVE_ALARM"
as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H"
as_fn_append ac_func_c_list " getpagesize HAVE_GETPAGESIZE"
as_fn_append ac_func_c_list " vprintf HAVE_VPRINTF"
# Auxiliary files required by this configure script.
ac_aux_files="install-sh config.guess config.sub"
# Locations in which to look for auxiliary files.
ac_aux_dir_candidates="${srcdir}/autoconf"
# Search for a directory containing all of the required auxiliary files,
# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
# If we don't find one directory that contains all the files we need,
# we report the set of missing files from the *first* directory in
# $ac_aux_dir_candidates and give up.
ac_missing_aux_files=""
ac_first_candidate=:
printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_found=false
for as_dir in $ac_aux_dir_candidates
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
as_found=:
printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
ac_aux_dir_found=yes
ac_install_sh=
for ac_aux in $ac_aux_files
do
# As a special case, if "install-sh" is required, that requirement
# can be satisfied by any of "install-sh", "install.sh", or "shtool",
# and $ac_install_sh is set appropriately for whichever one is found.
if test x"$ac_aux" = x"install-sh"
then
if test -f "${as_dir}install-sh"; then
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
ac_install_sh="${as_dir}install-sh -c"
elif test -f "${as_dir}install.sh"; then
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
ac_install_sh="${as_dir}install.sh -c"
elif test -f "${as_dir}shtool"; then
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
ac_install_sh="${as_dir}shtool install -c"
else
ac_aux_dir_found=no
if $ac_first_candidate; then
ac_missing_aux_files="${ac_missing_aux_files} install-sh"
else
break
fi
fi
else
if test -f "${as_dir}${ac_aux}"; then
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
else
ac_aux_dir_found=no
if $ac_first_candidate; then
ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
else
break
fi
fi
fi
done
if test "$ac_aux_dir_found" = yes; then
ac_aux_dir="$as_dir"
break
fi
ac_first_candidate=false
as_found=false
done
IFS=$as_save_IFS
if $as_found
then :
2024-03-20 16:14:54 +01:00
else case e in #(
e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
esac
2022-08-15 11:22:53 +02:00
fi
# These three variables are undocumented and unsupported,
# and are intended to be withdrawn in a future Autoconf release.
# They can cause serious problems if a builder's source tree is in a directory
# whose full name contains unusual characters.
if test -f "${ac_aux_dir}config.guess"; then
ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
fi
if test -f "${ac_aux_dir}config.sub"; then
ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
fi
if test -f "$ac_aux_dir/configure"; then
ac_configure="$SHELL ${ac_aux_dir}configure"
fi
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
for ac_var in $ac_precious_vars; do
eval ac_old_set=\$ac_cv_env_${ac_var}_set
eval ac_new_set=\$ac_env_${ac_var}_set
eval ac_old_val=\$ac_cv_env_${ac_var}_value
eval ac_new_val=\$ac_env_${ac_var}_value
case $ac_old_set,$ac_new_set in
set,)
2024-03-20 16:14:54 +01:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
2022-08-15 11:22:53 +02:00
ac_cache_corrupted=: ;;
,set)
2024-03-20 16:14:54 +01:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
2022-08-15 11:22:53 +02:00
ac_cache_corrupted=: ;;
,);;
*)
if test "x$ac_old_val" != "x$ac_new_val"; then
# differences in whitespace do not lead to failure.
ac_old_val_w=`echo x $ac_old_val`
ac_new_val_w=`echo x $ac_new_val`
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2024-03-20 16:14:54 +01:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
2022-08-15 11:22:53 +02:00
ac_cache_corrupted=:
else
2024-03-20 16:14:54 +01:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
2022-08-15 11:22:53 +02:00
eval $ac_var=\$ac_old_val
fi
2024-03-20 16:14:54 +01:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
2022-08-15 11:22:53 +02:00
fi;;
esac
# Pass precious variables to config.status.
if test "$ac_new_set" = set; then
case $ac_new_val in
*\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
*) ac_arg=$ac_var=$ac_new_val ;;
esac
case " $ac_configure_args " in
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
esac
fi
2011-01-07 14:38:34 +00:00
done
if $ac_cache_corrupted; then
2024-03-20 16:14:54 +01:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2024-03-20 16:14:54 +01:00
as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
2022-08-15 11:22:53 +02:00
and start over" "$LINENO" 5
2004-07-03 18:21:13 +00:00
fi
2011-01-07 14:38:34 +00:00
## -------------------- ##
## Main body of script. ##
## -------------------- ##
2004-07-03 18:21:13 +00:00
2011-01-07 14:38:34 +00:00
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2004-07-03 18:21:13 +00:00
2017-03-23 01:00:49 +00:00
CONFIGURE_LINE="$0 $@"
2004-07-03 18:21:13 +00:00
2015-09-11 21:30:05 +02:00
ac_config_headers="$ac_config_headers include/configure.h"
2007-08-14 19:11:31 +00:00
2011-01-07 14:38:34 +00:00
################################################################################
2004-07-03 18:21:13 +00:00
2022-08-15 11:22:53 +02:00
################################################################################
2004-07-03 18:21:13 +00:00
2006-04-19 15:33:07 +00:00
2004-07-03 18:21:13 +00:00
2022-08-15 11:22:53 +02:00
# Make sure we can run config.sub.
$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
printf %s "checking build system type... " >&6; }
if test ${ac_cv_build+y}
then :
printf %s "(cached) " >&6
2024-03-20 16:14:54 +01:00
else case e in #(
e) ac_build_alias=$build_alias
2011-01-07 14:38:34 +00:00
test "x$ac_build_alias" = x &&
2022-08-15 11:22:53 +02:00
ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
2011-01-07 14:38:34 +00:00
test "x$ac_build_alias" = x &&
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2022-08-15 11:22:53 +02:00
ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
2024-03-20 16:14:54 +01:00
;;
esac
2004-07-03 18:21:13 +00:00
fi
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
printf "%s\n" "$ac_cv_build" >&6; }
2011-01-07 14:38:34 +00:00
case $ac_cv_build in
*-*-*) ;;
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
esac
build=$ac_cv_build
ac_save_IFS=$IFS; IFS='-'
set x $ac_cv_build
shift
build_cpu=$1
build_vendor=$2
shift; shift
# Remember, the first character of IFS is used to create $*,
# except with old shells:
build_os=$*
IFS=$ac_save_IFS
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2004-07-03 18:21:13 +00:00
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
printf %s "checking host system type... " >&6; }
if test ${ac_cv_host+y}
then :
printf %s "(cached) " >&6
2024-03-20 16:14:54 +01:00
else case e in #(
e) if test "x$host_alias" = x; then
2011-01-07 14:38:34 +00:00
ac_cv_host=$ac_cv_build
2004-07-03 18:21:13 +00:00
else
2022-08-15 11:22:53 +02:00
ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
2011-01-07 14:38:34 +00:00
fi
2024-03-20 16:14:54 +01:00
;;
esac
2011-01-07 14:38:34 +00:00
fi
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
printf "%s\n" "$ac_cv_host" >&6; }
2011-01-07 14:38:34 +00:00
case $ac_cv_host in
*-*-*) ;;
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
esac
host=$ac_cv_host
ac_save_IFS=$IFS; IFS='-'
set x $ac_cv_host
shift
host_cpu=$1
host_vendor=$2
shift; shift
# Remember, the first character of IFS is used to create $*,
# except with old shells:
host_os=$*
IFS=$ac_save_IFS
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2004-07-03 18:21:13 +00:00
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
printf %s "checking target system type... " >&6; }
if test ${ac_cv_target+y}
then :
printf %s "(cached) " >&6
2024-03-20 16:14:54 +01:00
else case e in #(
e) if test "x$target_alias" = x; then
2011-01-07 14:38:34 +00:00
ac_cv_target=$ac_cv_host
else
2022-08-15 11:22:53 +02:00
ac_cv_target=`$SHELL "${ac_aux_dir}config.sub" $target_alias` ||
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5
2004-07-03 18:21:13 +00:00
fi
2024-03-20 16:14:54 +01:00
;;
esac
2004-07-03 18:21:13 +00:00
fi
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
printf "%s\n" "$ac_cv_target" >&6; }
2011-01-07 14:38:34 +00:00
case $ac_cv_target in
*-*-*) ;;
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2006-04-19 15:33:07 +00:00
esac
2011-01-07 14:38:34 +00:00
target=$ac_cv_target
ac_save_IFS=$IFS; IFS='-'
set x $ac_cv_target
shift
target_cpu=$1
target_vendor=$2
shift; shift
# Remember, the first character of IFS is used to create $*,
# except with old shells:
target_os=$*
IFS=$ac_save_IFS
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2006-04-19 15:33:07 +00:00
2004-07-03 18:21:13 +00:00
2011-01-07 14:38:34 +00:00
# The aliases save the names the user supplied, while $host etc.
# will get canonicalized.
test -n "$target_alias" &&
test "$program_prefix$program_suffix$program_transform_name" = \
NONENONEs,x,x, &&
program_prefix=${target_alias}-
2004-07-03 18:21:13 +00:00
2022-08-15 11:22:53 +02:00
if test -z "$CFLAGS"
then :
2015-05-13 21:30:20 +02:00
COPTIMISE_FLAG="-O2"
fi
2023-02-08 16:15:26 +01:00
case "$host_os" in #(
linux*) :
2017-07-31 23:56:58 +02:00
# equivalent to -rdynamic
2011-11-14 21:30:35 +00:00
ELDFLAGS="-Wl,--export-dynamic"
2023-02-20 21:04:58 +01:00
STATIC_LDFLAGS="-Wl,--no-export-dynamic"
2011-11-14 21:30:35 +00:00
# FIXME Generate list and use --dynamic-list=.dlopen.sym
2011-01-07 14:38:34 +00:00
CLDWHOLEARCHIVE="-Wl,-whole-archive"
CLDNOWHOLEARCHIVE="-Wl,-no-whole-archive"
2023-02-08 16:15:26 +01:00
LIB_SUFFIX="so"
DEVMAPPER="yes"
ODIRECT="yes"
DM_IOCTLS="yes"
SELINUX="yes"
FSADM="yes"
LVMIMPORTVDO="yes"
BLKDEACTIVATE="yes" ;; #(
darwin*) :
2011-01-07 14:38:34 +00:00
CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
2011-11-14 21:30:35 +00:00
ELDFLAGS=
2011-01-07 14:38:34 +00:00
CLDWHOLEARCHIVE="-all_load"
CLDNOWHOLEARCHIVE=
2023-02-08 16:15:26 +01:00
LIB_SUFFIX="dylib"
DEVMAPPER="yes"
ODIRECT="no"
DM_IOCTLS="no"
SELINUX="no"
FSADM="no"
LVMIMPORTVDO="no"
BLKDEACTIVATE="no" ;; #(
*) :
2024-04-23 23:08:39 +02:00
;;
2011-01-07 14:38:34 +00:00
esac
2004-07-03 18:21:13 +00:00
2011-01-07 14:38:34 +00:00
################################################################################
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
printf %s "checking for a sed that does not truncate output... " >&6; }
if test ${ac_cv_path_SED+y}
then :
printf %s "(cached) " >&6
2024-03-20 16:14:54 +01:00
else case e in #(
e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2011-01-07 14:38:34 +00:00
for ac_i in 1 2 3 4 5 6 7; do
ac_script="$ac_script$as_nl$ac_script"
done
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
{ ac_script=; unset ac_script;}
if test -z "$SED"; then
ac_path_SED_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
2022-08-15 11:22:53 +02:00
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
for ac_prog in sed gsed
do
2011-01-07 14:38:34 +00:00
for ac_exec_ext in '' $ac_executable_extensions; do
2022-08-15 11:22:53 +02:00
ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
2014-04-04 02:36:47 +01:00
as_fn_executable_p "$ac_path_SED" || continue
2011-01-07 14:38:34 +00:00
# Check for GNU ac_path_SED and select it if it is found.
# Check for GNU $ac_path_SED
2024-03-20 16:14:54 +01:00
case `"$ac_path_SED" --version 2>&1` in #(
2011-01-07 14:38:34 +00:00
*GNU*)
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2024-03-20 16:14:54 +01:00
#(
2011-01-07 14:38:34 +00:00
*)
ac_count=0
2022-08-15 11:22:53 +02:00
printf %s 0123456789 >"conftest.in"
2011-01-07 14:38:34 +00:00
while :
do
cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl"
2022-08-15 11:22:53 +02:00
printf "%s\n" '' >> "conftest.nl"
2011-01-07 14:38:34 +00:00
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
as_fn_arith $ac_count + 1 && ac_count=$as_val
if test $ac_count -gt ${ac_path_SED_max-0}; then
# Best one so far, save it but keep looking for a better one
ac_cv_path_SED="$ac_path_SED"
ac_path_SED_max=$ac_count
fi
# 10*(2^10) chars as input seems more than enough
test $ac_count -gt 10 && break
done
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2007-08-14 19:11:31 +00:00
esac
2004-07-03 18:21:13 +00:00
2011-01-07 14:38:34 +00:00
$ac_path_SED_found && break 3
done
done
done
IFS=$as_save_IFS
if test -z "$ac_cv_path_SED"; then
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
fi
else
ac_cv_path_SED=$SED
2004-07-03 18:21:13 +00:00
fi
2024-03-20 16:14:54 +01:00
;;
esac
2011-01-07 14:38:34 +00:00
fi
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
printf "%s\n" "$ac_cv_path_SED" >&6; }
2011-01-07 14:38:34 +00:00
SED="$ac_cv_path_SED"
rm -f conftest.sed
2004-07-03 18:21:13 +00:00
2011-01-07 14:38:34 +00:00
for ac_prog in gawk mawk nawk awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
2022-08-15 11:22:53 +02:00
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_AWK+y}
then :
printf %s "(cached) " >&6
2024-03-20 16:14:54 +01:00
else case e in #(
e) if test -n "$AWK"; then
2011-01-07 14:38:34 +00:00
ac_cv_prog_AWK="$AWK" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR