|
|
|
|
Quelle configure
Sprache: Cobol
|
|
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for LibreOffice 25.8.3.2.
#
#
# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
# Inc.
#
#
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
## -------------------- ##
## M4sh Initialization. ##
## -------------------- ##
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
as_nop=:
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
then :
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
else $as_nop
case `(set -o) 2>/dev/null` in #(
*posix*) :
set -o posix ;; #(
*) :
;;
esac
fi
# 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.
as_nl='
'
export as_nl
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
# The user is always right.
if ${PATH_SEPARATOR+false} :; then
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=';'
}
fi
# Find who we are. Look in the path if we contain no directory separator.
as_myself=
case $0 in #((
*[\\/]* ) as_myself=$0 ;;
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
test -r "$as_dir$0" && as_myself=$as_dir$0 && break
done
IFS=$as_save_IFS
;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# 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
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
exit 1
fi
# 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
# out after a failed `exec'.
printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
exit 255
fi
# We don't want this to propagate to other subprocesses.
{ _as_can_reexec=; unset _as_can_reexec;}
if test "x$CONFIG_SHELL" = x; then
as_bourne_compatible="as_nop=:
if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
then :
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
else \$as_nop
case \`(set -o) 2>/dev/null\` in #(
*posix*) :
set -o posix ;; #(
*) :
;;
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.; }
if ( set x; as_fn_ret_success y && test x = \"\$1\" )
then :
else \$as_nop
exitcode=1; echo positional parameters were not saved.
fi
test x\$exitcode = x0 || exit 1
blah=\$(echo \$(echo blah))
test x\"\$blah\" = xblah || exit 1
test -x / || exit 1"
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_s uggested" 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"
if (eval "$as_required") 2>/dev/null
then :
as_have_required=yes
else $as_nop
as_have_required=no
fi
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
then :
else $as_nop
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_found=false
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
as_found=:
case $as_dir in #(
/*)
for as_base in sh bash ksh sh5; do
# Try only shells that exist, to save several forks.
as_shell=$as_dir$as_base
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
then :
CONFIG_SHELL=$as_shell as_have_required=yes
if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
then :
break 2
fi
fi
done;;
esac
as_found=false
done
IFS=$as_save_IFS
if $as_found
then :
else $as_nop
if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
then :
CONFIG_SHELL=$SHELL as_have_required=yes
fi
fi
if test "x$CONFIG_SHELL" != x
then :
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
# out after a failed `exec'.
printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
exit 255
fi
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."
else
printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
$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
fi
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
# 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_nop
# ---------
# Do nothing but, unlike ":", preserve the value of $?.
as_fn_nop ()
{
return $?
}
as_nop=as_fn_nop
# 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 #(
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
*) 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 ||
printf "%s\n" X"$as_dir" |
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
# 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
# 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.
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
then :
eval 'as_fn_append ()
{
eval $1+=\$2
}'
else $as_nop
as_fn_append ()
{
eval $1=\$$1\$2
}
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.
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
then :
eval 'as_fn_arith ()
{
as_val=$(( $* ))
}'
else $as_nop
as_fn_arith ()
{
as_val=`expr "$@" || test $? -eq 1`
}
fi # as_fn_arith
# as_fn_nop
# ---------
# Do nothing but, unlike ":", preserve the value of $?.
as_fn_nop ()
{
return $?
}
as_nop=as_fn_nop
# 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
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
fi
printf "%s\n" "$as_me: error: $2" >&2
as_fn_exit $as_status
} # as_fn_error
if expr a : '\(a\)' >/dev/null 2>&1 &&
test "X`expr 00001 : '.*\(...\)'`" = X001; then
as_expr=expr
else
as_expr=false
fi
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
as_basename=basename
else
as_basename=false
fi
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
as_dirname=dirname
else
as_dirname=false
fi
as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X/"$0" |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
}
/^X\/\(\/\/\)$/{
s//\1/
q
}
/^X\/\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
# 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
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 '
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" ||
{ printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
# 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
# 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
}
# 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.
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
# 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'
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
fi
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:
# 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'.
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
as_ln_s='cp -pR'
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else
as_ln_s='cp -pR'
fi
else
as_ln_s='cp -pR'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
if mkdir -p . 2>/dev/null; then
as_mkdir_p='mkdir -p "$as_dir"'
else
test -d ./-p && rmdir ./-p
as_mkdir_p=false
fi
as_test_x='test -x'
as_executable_p=as_fn_executable_p
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
test -n "$DJDIR" || exec 7<&0 </dev/null
exec 6>&1
# Name of the host.
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
# so uname gets run too.
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
#
# Initializations.
#
ac_default_prefix=/usr/local
ac_clean_files=
ac_config_libobj_dir=.
LIBOBJS=
cross_compiling=no
subdirs=
MFLAGS=
MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='LibreOffice'
PACKAGE_TARNAME='libreoffice'
PACKAGE_VERSION='25.8.3.2'
PACKAGE_STRING='LibreOffice 25.8.3.2'
PACKAGE_BUGREPORT=''
PACKAGE_URL='http://documentfoundation.org/'
# Factoring default headers for most tests.
ac_includes_default="\
#include <stddef.h>
#ifdef HAVE_STDIO_H
# include <stdio.h>
#endif
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#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
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif"
ac_header_c_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
LO_ELFCHECK_ALLOWLIST
x_LO_ELFCHECK_ALLOWLIST
LO_PATH
CYGWIN_BASH
TEMP_DIRECTORY
SOLARINC
WIN_TOUCH
WIN_LS
WIN_GREP
SORT
FIND
ATL_LIB
ATL_INCLUDE
JOM
KEEP_AWAKE_CMD
WITH_COREDUMPCTL
SYSTEMD_RUN
SYSTEMD_ESCAPE
JQ
COREDUMPCTL
ENABLE_FORMULA_LOGGER
LICENSE
MPL_SUBSET
ICECC_VERSION
x_ICECC_VERSION
ICECREAM_RUN
MERGELIBS_MORE
MERGELIBS
ILIB_FOR_BUILD
ILIB
PARALLELISM
nodep
TESTINSTALLDIR
INSTALLDIR
BINDIR
DOCDIR
MANDIR
DATADIR
LIBDIR
PREFIXDIR
INSTALLDIRNAME
WITH_COMPAT_OOWRAPPERS
ANDROID_PACKAGE_NAME
OOO_VENDOR
PROGRESSTEXTBASELINE
PROGRESSTEXTCOLOR
PROGRESSFRAMECOLOR
PROGRESSPOSITION
PROGRESSSIZE
PROGRESSBARCOLOR
DEFAULT_BRAND_IMAGES
CUSTOM_BRAND_IMAGES
CUSTOM_BRAND_DIR
BRAND_INTRO_IMAGES
GIT_LINK_SRC
GIT_REFERENCE_SRC
WITH_LOCALES
WITH_POOR_HELP_LOCALIZATIONS
GIT_NEEDED_SUBMODULES
WITH_LANG_LIST
WITH_LANG
ALL_LANGS
MSGUNIQ
MSGFMT
SHA256SUM
CURL
WGET
SCPDEFS
HAMCREST_JAR
OOO_JUNIT_JAR
ANT_LIB
ANT_HOME
ANT
JVM_ONE_PATH_CHECK
SYSTEM_LIBWEBP
ENABLE_LIBWEBP
LIBWEBP_LIBS
LIBWEBP_CFLAGS
SYSTEM_LIBTIFF
ENABLE_LIBTIFF
LIBTIFF_LIBS
LIBTIFF_CFLAGS
SYSTEM_LIBPNG
ENABLE_LIBPNG
LIBPNG_LIBS
LIBPNG_CFLAGS
SYSTEM_LIBLANGTAG
LIBLANGTAG_LIBS
LIBLANGTAG_CFLAGS
ENABLE_MSVC_ANALYZE
ENABLE_AVAHI
AVAHI_LIBS
AVAHI_CFLAGS
SYSTEM_CAIRO
ENABLE_CAIRO_CANVAS
CAIRO_LIBS
CAIRO_CFLAGS
ENABLE_CAIRO_RGBA
XINERAMA_LINK
ENABLE_WIX
ENABLE_SILENT_MSI
ENABLE_EXTENSION_UPDATE
BZIP2_LIBS
BZIP2_CFLAGS
SYSTEM_BZIP2
PRIVACY_POLICY_URL
ONLINEUPDATE_MAR_CERTIFICATEPATH
ONLINEUPDATE_MAR_CERTIFICATENAME
ONLINEUPDATE_MAR_CERTIFICATEDER
ONLINEUPDATE_MAR_BASEURL
ENABLE_ONLINE_UPDATE_MAR
ENABLE_ONLINE_UPDATE
WITH_DOCREPAIR_FONTS
WITH_FONTS
FONTFORGE
NLPSOLVER_EXTENSION_PACK
WITH_EXTRA_EXTENSIONS
WITH_EXTENSION_INTEGRATION
WITH_THEMES
ENABLE_EVOAB2
GOBJECT_LIBS
GOBJECT_CFLAGS
KF6_LIBS
KF6_CFLAGS
KF5_LIBS
KF5_CFLAGS
KF5_CONFIG
ENABLE_QT6_MULTIMEDIA
QT6_PLATFORMS_SRCDIR
QT6_LIBS
QT6_CFLAGS
MOC6
QT6_XCB_LIBS
QT6_XCB_CFLAGS
QMAKE6
QT5_PLATFORMS_SRCDIR
QT5_HAVE_GOBJECT
QT5_LIBS
QT5_CFLAGS
QT5_GOBJECT_LIBS
QT5_GOBJECT_CFLAGS
MOC5
QT5_XCB_LIBS
QT5_XCB_CFLAGS
QMAKE5
RHINO_JAR
SYSTEM_RHINO
ENABLE_SCRIPTING_JAVASCRIPT
BSH_JAR
SYSTEM_BSH
ENABLE_SCRIPTING_BEANSHELL
LIBSERIALIZER_JAR
LIBFONTS_JAR
LIBREPOSITORY_JAR
LIBFORMULA_JAR
LIBLOADER_JAR
LIBLAYOUT_JAR
LIBBASE_JAR
JFREEREPORT_JAR
FLUTE_JAR
LIBXML_JAR
SAC_JAR
SYSTEM_JFREEREPORT
ENABLE_REPORTBUILDER
ENABLE_MEDIAWIKI
JAVA_WEBSOCKET_JAR
SYSTEM_JAVA_WEBSOCKET
ENABLE_JAVA_WEBSOCKET
GPGMEPP_LIBS
GPGMEPP_CFLAGS
LIBASSUAN_LIBS
LIBASSUAN_CFLAGS
GPG_ERROR_LIBS
GPG_ERROR_CFLAGS
SYSTEM_GPGMEPP
ENABLE_GPGMEPP
GPGCONF
GPG
HAVE_LO_CLANG_DLLEXPORTINLINES
CLANG_USE_LD
LO_CLANG_VERSION
LO_CLANG_SHOWINCLUDES_PREFIX
LO_CLANG_CXXFLAGS_INTRINSICS_FMA
LO_CLANG_CXXFLAGS_INTRINSICS_F16C
LO_CLANG_CXXFLAGS_INTRINSICS_AVX512F
LO_CLANG_CXXFLAGS_INTRINSICS_AVX512
LO_CLANG_CXXFLAGS_INTRINSICS_AVX2
LO_CLANG_CXXFLAGS_INTRINSICS_AVX
LO_CLANG_CXXFLAGS_INTRINSICS_SSE42
LO_CLANG_CXXFLAGS_INTRINSICS_SSE41
LO_CLANG_CXXFLAGS_INTRINSICS_SSSE3
LO_CLANG_CXXFLAGS_INTRINSICS_SSE2
LO_CLANG_CXX
LO_CLANG_CC
ENABLE_SKIA_DEBUG
ENABLE_SKIA
SKIA_GPU
SYSTEM_POPPLER
ENABLE_PDFIMPORT
POPPLER_LIBS
POPPLER_CFLAGS
ENABLE_POPPLER
SYSTEM_ABSEIL
SYSTEM_OPENJPEG2
ABSEIL_LIBS
ABSEIL_CFLAGS
OPENJPEG2_LIBS
OPENJPEG2_CFLAGS
ENABLE_PDFIUM
ENABLE_DCONF
DCONF_LIBS
DCONF_CFLAGS
ENABLE_OPENGL_CANVAS
ENABLE_OPENGL_TRANSITIONS
ENABLE_GSTREAMER_1_0
GSTREAMER_1_0_LIBS
GSTREAMER_1_0_CFLAGS
SPLIT_OPT_FEATURES
SPLIT_APP_MODULES
ENABLE_GIO
GIO_LIBS
GIO_CFLAGS
SYSTEM_BLUEZ
SDREMOTE_ENTITLEMENT
ENABLE_SDREMOTE_BLUETOOTH
ENABLE_SDREMOTE
DBUS_HAVE_GLIB
ENABLE_DBUS
DBUS_GLIB_LIBS
DBUS_GLIB_CFLAGS
DBUS_LIBS
DBUS_CFLAGS
ENABLE_ATSPI_TESTS
ATSPI2_2_32_LIBS
ATSPI2_2_32_CFLAGS
ATSPI2_LIBS
ATSPI2_CFLAGS
DBUS_LAUNCH
XVFB_RUN
INTROSPECTION_MAKEFILE
INTROSPECTION_LIBS
INTROSPECTION_CFLAGS
INTROSPECTION_TYPELIBDIR
INTROSPECTION_GIRDIR
INTROSPECTION_GENERATE
INTROSPECTION_COMPILER
INTROSPECTION_SCANNER
GTK4_LIBS
GTK4_CFLAGS
ENABLE_GTKTILEDVIEWER
GTK3_LIBS
GTK3_CFLAGS
VCL_PLUGIN_INFO
ENABLE_QT6
ENABLE_QT5
ENABLE_KF6
ENABLE_KF5
ENABLE_GTK4
ENABLE_GTK3_KDE5
ENABLE_GTK3
ENABLE_GEN
SYSTEM_EPOXY
ENABLE_EPOXY
EPOXY_LIBS
EPOXY_CFLAGS
TOUCH
UNZIP
ZIP
ML_EXE
x_GNUCP
GNUPATCH
GNUCP
PATCH
UNIQ
DIFF
FLEX
BISON
UUIDGEN
SYSTEM_LIBNUMBERTEXT_DATA
SYSTEM_LIBNUMBERTEXT
ENABLE_LIBNUMBERTEXT
LIBNUMBERTEXT_LIBS
LIBNUMBERTEXT_CFLAGS
SYSTEM_LIBEXTTEXTCAT_DATA
SYSTEM_LIBEXTTEXTCAT
ENABLE_LIBEXTTEXTCAT
LIBEXTTEXTCAT_LIBS
LIBEXTTEXTCAT_CFLAGS
SYSTEM_LPSOLVE
SYSTEM_COLAMD
COLAMD_LIBS
COLAMD_CFLAGS
ENABLE_LPSOLVE
SYSTEM_COINMP
ENABLE_COINMP
COINMP_LIBS
COINMP_CFLAGS
SYSTEM_MYTHES
MYTHES_LIBS
MYTHES_CFLAGS
HYPHEN_LIB
SYSTEM_HYPH
BOX2D_LIBS
BOX2D_CFLAGS
SYSTEM_BOX2D
ZXING_LIBS
ZXING_CFLAGS
ENABLE_ZXING
SYSTEM_ZXING
HAVE_ZXING_TOSVG
SYSTEM_ZXCVBN
SYSTEM_HUNSPELL
HUNSPELL_LIBS
HUNSPELL_CFLAGS
REDLAND_MAJOR
RASQAL_MAJOR
RAPTOR_MAJOR
SYSTEM_REDLAND
ENABLE_REDLAND
REDLAND_LIBS
REDLAND_CFLAGS
SYSTEM_ARGON2
ENABLE_ARGON2
ARGON2_LIBS
ARGON2_CFLAGS
ENABLE_CIPHER_OPENSSL_BACKEND
SYSTEM_OPENSSL
ENABLE_OPENSSL
OPENSSL_LIBS
OPENSSL_CFLAGS
DISABLE_NAN_TESTS
DISABLE_CVE_TESTS
WITH_WEBDAV
ENABLE_RANDR
XRANDR_LIBS
XRANDR_CFLAGS
XRENDER_LIBS
XRENDER_CFLAGS
X_EXTRA_LIBS
X_LIBS
X_PRE_LIBS
X_CFLAGS
XMKMF
x_NINJA
NINJA
MESON
SYSTEM_HARFBUZZ
ENABLE_HARFBUZZ
HARFBUZZ_LIBS
HARFBUZZ_CFLAGS
SYSTEM_GRAPHITE
ENABLE_GRAPHITE
GRAPHITE_LIBS
GRAPHITE_CFLAGS
SYSTEM_LIBORCUS
BOOST_SYSTEM_LIB
SYSTEM_ORCUS
ENABLE_ORCUS
ORCUS_LIBS
ORCUS_CFLAGS
DEFAULT_CRASHDUMP_VALUE
ENABLE_BREAKPAD
BREAKPAD_SYMBOL_CONFIG
ICU_MINOR
ICU_MAJOR
SYSTEM_GENCMN
SYSTEM_GENCCODE
SYSTEM_GENBRK
SYSTEM_ICU
ENABLE_ICU
ICU_LIBS
ICU_CFLAGS
TLS
SYSTEM_OPENLDAP
ENABLE_LDAP
SYSTEM_NSS
ENABLE_NSS
NSS_LIBS
NSS_CFLAGS
SYSTEM_ODBC_HEADERS
SYSTEM_GLM
GLM_CFLAGS
LIBFIXMATH_LIBS
SYSTEM_LIBFIXMATH
FROZEN_CFLAGS
SYSTEM_FROZEN
DRAGONBOX_CFLAGS
SYSTEM_DRAGONBOX
SYSTEM_MDDS
ENABLE_MDDS
MDDS_LIBS
MDDS_CFLAGS
SYSTEM_BOOST
BOOST_LOCALE_LIB
BOOST_IOSTREAMS_LIB
BOOST_FILESYSTEM_LIB
BOOST_DATE_TIME_LIB
BOOST_LDFLAGS
BOOST_CPPFLAGS
SYSTEM_CURL
ENABLE_CURL
CURL_LIBS
CURL_CFLAGS
LIBTOMMATH_LIBS
LIBTOMMATH_CFLAGS
SYSTEM_LIBTOMMATH
SYSTEM_FIREBIRD
ENABLE_FIREBIRD_SDBC
SYSTEM_LIBATOMIC_OPS
ENABLE_LIBATOMIC_OPS
LIBATOMIC_OPS_LIBS
LIBATOMIC_OPS_CFLAGS
FIREBIRD_LIBS
FIREBIRD_CFLAGS
FIREBIRDCONFIG
POSTGRESQL_LIB
POSTGRESQL_INC
SYSTEM_POSTGRESQL
BUILD_POSTGRESQL_SDBC
KRB5_LIBS
GSSAPI_LIBS
WITH_GSSAPI
WITH_KRB5
POSTGRESQL_LIBS
POSTGRESQL_CFLAGS
PGCONFIG
HSQLDB_JAR
SYSTEM_HSQLDB
BUNDLE_MARIADB_CONNECTOR_C
LIBMARIADB_PATH
LIBMARIADB
MARIADB_LIBS
MARIADB_CFLAGS
SYSTEM_MARIADB_CONNECTOR_C
MARIADBCONFIG
MARIADBC_MICRO
MARIADBC_MINOR
MARIADBC_MAJOR
ENABLE_MARIADBC
ENABLE_LIBRELOGO
PYTHON_VERSION_MINOR
PYTHON_VERSION_MAJOR
PYTHON_LIBS
PYTHON_FOR_BUILD
PYTHON_CFLAGS
SYSTEM_PYTHON
DISABLE_PYTHON
pkgpyexecdir
pyexecdir
pkgpythondir
pythondir
PYTHON_EXEC_PREFIX
PYTHON_PREFIX
PYTHON_PLATFORM
PYTHON_VERSION
PYTHON
SYSTEM_LIBXML_FOR_BUILD
SYSTEM_LIBXML
XMLLINT
LIBXML_LIBS
LIBXML_CFLAGS
SYSTEM_LIBXSLT_FOR_BUILD
SYSTEM_LIBXSLT
XSLTPROC
LIBEXSLT_LIBS
LIBEXSLT_CFLAGS
LIBXSLT_LIBS
LIBXSLT_CFLAGS
SYSTEM_FREETYPE
ENABLE_FREETYPE
FREETYPE_LIBS
FREETYPE_CFLAGS
SYSTEM_CPPUNIT
ENABLE_CPPUNIT
CPPUNIT_LIBS
CPPUNIT_CFLAGS
SYSTEM_LCMS2
ENABLE_LCMS2
LCMS2_LIBS
LCMS2_CFLAGS
SYSTEM_STAROFFICE
ENABLE_STAROFFICE
STAROFFICE_LIBS
STAROFFICE_CFLAGS
SYSTEM_ZMF
ENABLE_ZMF
ZMF_LIBS
ZMF_CFLAGS
SYSTEM_QXP
ENABLE_QXP
QXP_LIBS
QXP_CFLAGS
SYSTEM_PAGEMAKER
ENABLE_PAGEMAKER
PAGEMAKER_LIBS
PAGEMAKER_CFLAGS
SYSTEM_ABW
ENABLE_ABW
ABW_LIBS
ABW_CFLAGS
SYSTEM_EBOOK
ENABLE_EBOOK
EBOOK_LIBS
EBOOK_CFLAGS
SYSTEM_FREEHAND
ENABLE_FREEHAND
FREEHAND_LIBS
FREEHAND_CFLAGS
SYSTEM_ETONYEK
ENABLE_ETONYEK
ETONYEK_LIBS
ETONYEK_CFLAGS
SYSTEM_MWAW
ENABLE_MWAW
MWAW_LIBS
MWAW_CFLAGS
SYSTEM_MSPUB
ENABLE_MSPUB
MSPUB_LIBS
MSPUB_CFLAGS
SYSTEM_CDR
ENABLE_CDR
CDR_LIBS
CDR_CFLAGS
SYSTEM_VISIO
ENABLE_VISIO
VISIO_LIBS
VISIO_CFLAGS
SYSTEM_WPS
ENABLE_WPS
WPS_LIBS
WPS_CFLAGS
SYSTEM_WPG
ENABLE_WPG
WPG_LIBS
WPG_CFLAGS
SYSTEM_WPD
ENABLE_WPD
WPD_LIBS
WPD_CFLAGS
SYSTEM_EPUBGEN
ENABLE_EPUBGEN
EPUBGEN_LIBS
EPUBGEN_CFLAGS
SYSTEM_ODFGEN
ENABLE_ODFGEN
ODFGEN_LIBS
ODFGEN_CFLAGS
SYSTEM_REVENGE
ENABLE_REVENGE
REVENGE_LIBS
REVENGE_CFLAGS
ENABLE_EOT
SYSTEM_LIBEOT
ENABLE_LIBEOT
LIBEOT_LIBS
LIBEOT_CFLAGS
SYSTEM_XMLSEC
ENABLE_XMLSEC
XMLSEC_LIBS
XMLSEC_CFLAGS
SYSTEM_EXPAT
ENABLE_EXPAT
EXPAT_LIBS
EXPAT_CFLAGS
SYSTEM_CLUCENE
ENABLE_CLUCENE
CLUCENE_LIBS
CLUCENE_CFLAGS
SYSTEM_LIBJPEG
LIBJPEG_LIBS
LIBJPEG_CFLAGS
NAFLAGS
NASM
BUILD_TYPE
ZSTD_CFLAGS
ZSTD_LIBS
SYSTEM_ZSTD
SYSTEM_ZLIB
ZLIB_LIBS
ZLIB_CFLAGS
LIB_FUZZING_ENGINE
DOXYGEN
ENABLE_LWP
RPM
PKGMK
DPKG
EPM
BFFVALIDATOR
BFFVALIDATOR_EXE
WINE
OFFICEOTRON_JAR
OFFICEOTRON
ODFVALIDATOR_JAR
ODFVALIDATOR
MODULAR_JAVA
JAVA_TARGET_VER
JAVA_SOURCE_VER
JDK_SECURITYMANAGER_DISALLOWED_FOR_BUILD
JDK_FOR_BUILD
JDK
JAVA_HOME_FOR_BUILD
JAVA_HOME
JAVAIFLAGS_FOR_BUILD
JAVAIFLAGS
JAVACFLAGS
JAWTLIB
JAVADOCISGJDOC
JAVADOC
JAVACOMPILER
JAVAINTERPRETER
MSM_PATH
JITC_PROCESSOR_TYPE
HAVE_POSIX_FALLOCATE
LD_PLUGIN
CLANGSYSINCLUDE
CLANGTOOLLIBS
CLANGLIBDIR
CLANGDIR
COMPILER_PLUGINS_TOOLING_ARGS
COMPILER_PLUGINS_DEBUG
COMPILER_PLUGINS_CXX_LINKFLAGS
COMPILER_PLUGINS_CXXFLAGS
COMPILER_PLUGINS_CXX
COMPILER_PLUGINS_ANALYZER_PCH
COMPILER_PLUGINS
COMPILER_PLUGINS_COM_IS_CLANG
LLVM_CONFIG
HAVE_GCC_FNO_ENFORCE_EH_SPECS
HAVE_ASM_END_BRANCH_INS_SUPPORT
CXXFLAGS_INTRINSICS_FMA
CXXFLAGS_INTRINSICS_F16C
CXXFLAGS_INTRINSICS_AVX512F
CXXFLAGS_INTRINSICS_AVX512
CXXFLAGS_INTRINSICS_AVX2
CXXFLAGS_INTRINSICS_AVX
CXXFLAGS_INTRINSICS_SSE42
CXXFLAGS_INTRINSICS_SSE41
CXXFLAGS_INTRINSICS_SSSE3
CXXFLAGS_INTRINSICS_SSE2
HAVE_DLLEXPORTINLINES
HAVE_BROKEN_GCC_WSTRINGOP_OVERFLOW
HAVE_BROKEN_GCC_WMAYBE_UNINITIALIZED
HAVE_WDEPRECATED_COPY_DTOR
HAVE_CXX20_ATOMIC_REF
HAVE_GCC_FNO_SIZED_DEALLOCATION
ATOMIC_LIB
CXXFLAGS_CXX11
SYSTEM_LIBCMIS
ENABLE_LIBCMIS
LIBCMIS_LIBS
LIBCMIS_CFLAGS
GPERF
LIBCPP_DEBUG
HAVE_LIBCPP
HAVE_LIBSTDCPP
HARDENING_OPT_CFLAGS
HARDENING_CFLAGS
HAVE_GCC_STACK_CLASH_PROTECTION
HAVE_GCC_BUILTIN_ATOMIC
HAVE_GCC_AVX
VALGRIND_CFLAGS
ENABLE_VALGRIND
ENABLE_RUNTIME_OPTIMIZATIONS
ENABLE_JUMBO_SHEETS
SIZEOF_SIZE_T
LFS_CFLAGS
CPP
BOOST_CXXFLAGS
CXXCPP
ac_ct_CXX
CXX
ENABLE_CLI
WINDOWS_SDK_WILANGID
WINDOWS_SDK_VERSION
WINDOWS_SDK_LIB_SUBDIR
WINDOWS_SDK_HOME
ac_ct_STRIP
STRIP
ac_ct_READELF
READELF
ac_ct_OBJDUMP
OBJDUMP
ac_ct_RANLIB
RANLIB
ac_ct_NM
NM
ac_ct_AR
AR
PERL
WITH_LINKER_HASH_STYLE
HAVE_LD_HASH_STYLE
PCH_DEBUGINFO
PCH_NO_CODEGEN
PCH_CODEGEN
BUILDING_PCH_WITH_OBJ
PCH_INSTANTIATE_TEMPLATES
CCACHE_BIN
ENABLE_PCH
THES_SYSTEM_DIR
HYPH_SYSTEM_DIR
DICT_SYSTEM_DIR
SYSTEM_DICTS
WITH_MYSPELL_DICTS
DO_FETCH_TARBALLS
TARFILE_LOCATION_NATIVE
TARFILE_LOCATION
SYSTEM_FONTCONFIG
ENABLE_FONTCONFIG
FONTCONFIG_LIBS
FONTCONFIG_CFLAGS
ENABLE_CUPS
ENABLE_CPDB
CPDB_LIBS
CPDB_CFLAGS
ENABLE_PAGEIN
ENABLE_OOENV
ASSERT_ALWAYS_ABORT
PYTHONWARNINGS
ENABLE_WERROR
LOCKFILE
CPPU_ENV_FOR_BUILD
CXX_FOR_BUILD
CC_FOR_BUILD
WORKDIR_FOR_BUILD
SDKDIRNAME_FOR_BUILD
LIBO_URE_MISC_FOLDER_FOR_BUILD
LIBO_URE_LIB_FOLDER_FOR_BUILD
LIBO_LIB_FOLDER_FOR_BUILD
LIBO_BIN_FOLDER_FOR_BUILD
INSTROOT_FOR_BUILD
INSTDIR_FOR_BUILD
OS_FOR_BUILD
HELP_ONLINE
HELP_OMINDEX_PAGE
ENABLE_HTMLHELP
PKGFORMAT
FAKEROOT
CPPU_ENV
WINDOWS_X64
PLATFORMID
WORKDIR
P_SEP
OS
INSTROOTBASE
INSTROOT
INSTDIR
USING_X11
EPM_FLAGS
RTL_ARCH
RTL_OS
CPUNAME
COM
DISABLE_GUI
DOTNET_ROOT
ENABLE_DOTNET
DOTNET
ENABLE_LASX
ENABLE_OPTIMIZED_DEBUG
ENABLE_OPTIMIZED
ENABLE_SYMBOLS_FOR
ENABLE_SAL_LOG
ENABLE_GDB_INDEX
HAVE_CLANG_DEBUG_INFO_KIND_CONSTRUCTOR
HAVE_EXTERNAL_DWARF
LD_GC_SECTIONS
HAVE_LD_BSYMBOLIC_FUNCTIONS
LD
USE_LD
ENABLE_DEBUG
MSVC_USE_DEBUG_RUNTIME
ENABLE_DBGUTIL
GCC_VERSION
HAVE_GCC_GGDB2
SHOWINCLUDES_PREFIX
CLANG_16
COM_IS_CLANG
MSVC_CXX
DEVENV
VCTOOLSET
VCVER
CXX_X86_BINARY
CXX_X64_BINARY
UCRTVERSION
UCRTSDKDIR
ISYSTEM
ENABLE_EMSCRIPTEN_PROXY_POSIX_SOCKETS
ENABLE_EMSCRIPTEN_PROXY_TO_PTHREAD
ENABLE_EMSCRIPTEN_JSPI
ENABLE_WASM_STRIP_ACCESSIBILITY
ENABLE_WASM_STRIP_CALC
ENABLE_WASM_STRIP_BASIC_DRAW_MATH_IMPRESS
ENABLE_WASM_STRIP_WRITER
ENABLE_WASM_STRIP
CROSS_COMPILING
LIBO_URE_SHARE_JAVA_FOLDER
LIBO_URE_MISC_FOLDER
LIBO_URE_LIB_FOLDER
LIBO_URE_ETC_FOLDER
LIBO_URE_BIN_FOLDER
LIBO_SHARE_RESOURCE_FOLDER
LIBO_SHARE_READMES_FOLDER
LIBO_SHARE_PRESETS_FOLDER
LIBO_SHARE_JAVA_FOLDER
LIBO_SHARE_DOTNET_FOLDER
LIBO_SHARE_HELP_FOLDER
LIBO_SHARE_FOLDER
LIBO_LIB_PYUNO_FOLDER
LIBO_LIB_FOLDER
LIBO_ETC_FOLDER
LIBO_BIN_FOLDER
MACOSX_XCODE_BUILD_VERSION
MACOSX_SDK_BUILD_VERSION
MACOSX_PROVISIONING_PROFILE
MACOSX_PROVISIONING_INFO
MACOSX_BUNDLE_IDENTIFIER
ENABLE_MACOSX_SANDBOX
MACOSX_PACKAGE_SIGNING_IDENTITY
MACOSX_CODESIGNING_TEAM_IDENTIFIER
MACOSX_CODESIGNING_IDENTITY
LIBTOOL
INSTALL_NAME_TOOL
MAC_OS_X_VERSION_MIN_REQUIRED
MACOSX_DEPLOYMENT_TARGET
MACOSX_SDK_PATH
ENABLE_JAVA
COMPATH
ENABLE_Z7_DEBUG
CCACHE_DEPEND_MODE
CCACHE
WITH_TEMPLATES
WITH_GALLERY_BUILD
SYSBASE
ENABLE_CUSTOMTARGET_COMPONENTS
DISABLE_DYNLOADING
STRIP_COMPONENTS
GNUTAR
COMPRESSIONTOOL
BASH
AWK
WINDOWS_BUILD_SIGNING
ENABLE_HARDENING_FLAGS
GET_TASK_ALLOW_ENTITLEMENT
ENABLE_RELEASE_BUILD
USE_LIBRARY_BIN_TAR
WITH_YRS
EMSCRIPTEN_WORKERJS
EMSCRIPTEN_EXTRA_SOFFICE_PRE_JS
EMSCRIPTEN_EXTRA_QTLOADER_CONFIG
EMSDK_FILE_PACKAGER
PKG_CONFIG_LIBDIR
PKG_CONFIG_PATH
BACKTRACE_LIBS
BACKTRACE_CFLAGS
UNIX_DLAPI_LIBS
ENDIANNESS
OBJEXT
EXEEXT
ac_ct_CC
CPPFLAGS
CC
x_LDFLAGS
x_OBJCXXFLAGS
x_OBJCFLAGS
x_CXXFLAGS
x_CFLAGS
x_AFLAGS
LDFLAGS
OBJCXXFLAGS
OBJCFLAGS
CXXFLAGS
CFLAGS
AFLAGS
PTHREAD_LIBS
PTHREAD_CFLAGS
SDKDIRNAME
USE_HEADLESS_CODE
ENABLE_HEADLESS
HOST_PLATFORM
ENABLE_ANDROID_EDITING
ENABLE_ANDROID_LOK
ANDROID_SDK_DIR
ANDROID_TOOLCHAIN
ANDROID_SYSROOT_PLATFORM
ANDROID_APP_ABI
ANDROID_API_LEVEL
ANDROID_NDK_VERSION
ANDROID_NDK_DIR
ENABLE_LTO
PKG_CONFIG
SED
x_Cygwin
BUILDDIR
SRC_ROOT
EGREP
GREP
PRODUCTVERSION
MACOSX_BUNDLE_VERSION
MACOSX_BUNDLE_SHORTVERSION
LIBO_VERSION_SUFFIX_SUFFIX
LIBO_VERSION_SUFFIX
LIBO_VERSION_PATCH
LIBO_VERSION_MICRO
LIBO_VERSION_MINOR
LIBO_VERSION_MAJOR
PRODUCTNAME_WITHOUT_SPACES
PRODUCTNAME
host_os
host_vendor
host_cpu
host
build_os
build_vendor
build_cpu
build
WSL
STRAWBERRY_PERL
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
runstatedir
localstatedir
sharedstatedir
sysconfdir
datadir
datarootdir
libexecdir
sbindir
bindir
program_transform_name
prefix
exec_prefix
PACKAGE_URL
PACKAGE_BUGREPORT
PACKAGE_STRING
PACKAGE_VERSION
PACKAGE_TARNAME
PACKAGE_NAME
PATH_SEPARATOR
SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_strawberry_perl_portable
with_wsl_command
enable_fuzz_options
with_android_ndk
with_android_sdk
with_android_api_level
enable_android_lok
enable_android_editing
enable_ios_simulator
enable_extension_integration
enable_avmedia
enable_database_connectivity
enable_extensions
enable_scripting
enable_dynamic_loading
enable_report_builder
enable_ext_wiki_publisher
enable_lpsolve
enable_coinmp
enable_pdfimport
enable_pdfium
enable_skia
enable_skia_vulkan_validation
enable_mergelibs
enable_breakpad
enable_crashdump
enable_fetch_external
enable_fuzzers
enable_pch
enable_epm
enable_odk
enable_mpl_subset
enable_evolution2
enable_avahi
enable_msvc_analyze
enable_werror
enable_assert_always_abort
enable_dbgutil
enable_debug
enable_split_debug
enable_gdb_index
enable_sal_log
enable_symbols
enable_optimized
enable_runtime_optimizations
with_valgrind
enable_compiler_plugins
enable_compiler_plugins_analyzer_pch
enable_ooenv
enable_lto
enable_python
enable_gtk3
enable_gtk4
enable_atspi_tests
enable_introspection
enable_split_app_modules
enable_split_opt_features
enable_cairo_canvas
enable_dbus
enable_sdremote
enable_sdremote_bluetooth
enable_gio
enable_qt5
enable_qt6
enable_qt6_multimedia
enable_kf5
enable_kf6
enable_gtk3_kde5
enable_gen
enable_gui
enable_randr
enable_gstreamer_1_0
enable_eot
enable_cve_tests
enable_nan_tests
enable_build_opensymbol
enable_dependency_tracking
enable_icecream
enable_ld
enable_cpdb
enable_cups
enable_ccache
enable_z7_debug
enable_online_update
enable_online_update_mar
with_online_update_mar_baseurl
with_online_update_mar_certificateder
with_online_update_mar_certificatename
with_online_update_mar_certificatepath
enable_extension_update
enable_release_build
enable_hardening_flags
enable_windows_build_signing
enable_silent_msi
enable_wix
enable_macosx_code_signing
enable_macosx_package_signing
enable_macosx_sandbox
with_macosx_bundle_identifier
with_macosx_provisioning_profile
with_product_name
enable_community_flavor
with_package_version
enable_readonly_installset
enable_mariadb_sdbc
enable_postgresql_sdbc
enable_lotuswordpro
enable_firebird_sdbc
enable_bogus_pkg_config
enable_openssl
enable_cipher_openssl_backend
enable_nss
enable_library_bin_tar
enable_dconf
enable_formula_logger
enable_ldap
enable_opencl
enable_librelogo
enable_wasm_strip
with_wasm_module
enable_emscripten_jspi
enable_emscripten_proxy_to_pthread
enable_emscripten_proxy_posix_sockets
enable_xmlhelp
enable_customtarget_components
enable_cli
with_extra_cc_flags
with_extra_cxx_flags
with_gcc_home
with_gnu_patch
with_build_platform_configure_options
with_gnu_cp
with_external_tar
with_referenced_git
with_linked_git
with_galleries
with_templates
with_theme
with_helppack_integration
with_fonts
with_docrepair_fonts
with_epm
with_package_format
with_tls
with_system_libs
with_system_bzip2
with_system_headers
with_system_jars
with_system_cairo
with_system_epoxy
with_myspell_dicts
with_system_dicts
with_external_dict_dir
with_external_hyph_dir
with_external_thes_dir
with_system_zlib
with_system_zstd
with_system_jpeg
with_system_expat
with_system_libxml
with_system_openldap
enable_poppler
with_system_poppler
with_system_abseil
with_system_openjpeg
enable_gpgmepp
with_system_gpgmepp
with_system_mariadb
enable_bundle_mariadb
with_system_postgresql
with_libpq_path
with_system_firebird
with_system_libtommath
with_system_hsqldb
with_hsqldb_jar
enable_scripting_beanshell
with_system_beanshell
with_beanshell_jar
enable_scripting_javascript
with_system_rhino
with_rhino_jar
with_system_jfreereport
with_sac_jar
with_libxml_jar
with_flute_jar
with_jfreereport_jar
with_liblayout_jar
with_libloader_jar
with_libformula_jar
with_librepository_jar
with_libfonts_jar
with_libserializer_jar
with_libbase_jar
with_system_odbc
with_system_sane
with_system_bluez
with_system_boost
with_system_dragonbox
with_system_frozen
with_system_libfixmath
with_system_glm
with_system_hunspell
enable_cairo_rgba
enable_zxing
with_system_zxing
with_system_zxcvbn
with_system_box2d
with_system_mythes
with_system_altlinuxhyph
with_system_lpsolve
with_system_colamd
with_system_coinmp
with_system_liblangtag
with_system_lockfile
with_webdav
with_linker_hash_style
with_jdk_home
with_help
with_omindex
with_java
with_jvm_path
with_ant_home
with_symbol_config
with_export_validation
with_bffvalidator
with_junit
with_hamcrest
with_yrs
with_perl_home
with_doxygen
with_visual_studio
with_windows_sdk
with_lang
with_locales
with_krb5
with_gssapi
with_lxml
with_latest_c__
with_gtk3_build
with_keep_awake
with_dotnet
with_branding
with_extra_buildid
with_vendor
with_privacy_policy_url
with_android_package_name
with_compat_oowrappers
with_os_version
with_parallelism
with_all_tarballs
with_gdrive_client_id
with_gdrive_client_secret
with_alfresco_cloud_client_id
with_alfresco_cloud_client_secret
with_onedrive_client_id
with_onedrive_client_secret
with_coredumpctl
with_buildconfig_recorded
with_macosx_version_min_required
enable_lasx
with_system_fontconfig
enable_largefile
enable_libcmis
with_system_libcmis
with_system_clucene
with_system_xmlsec
with_system_libeot
with_system_librevenge
with_system_libodfgen
with_system_libepubgen
with_system_libwpd
with_system_libwpg
with_system_libwps
with_system_libvisio
with_system_libcdr
with_system_libmspub
with_system_libmwaw
with_system_libetonyek
with_system_libfreehand
with_system_libebook
with_system_libabw
with_system_libpagemaker
with_system_libqxp
with_system_libzmf
with_system_libstaroffice
with_system_lcms2
with_system_cppunit
with_system_freetype
with_python_sys_prefix
with_python_prefix
with_python_exec_prefix
with_system_libatomic_ops
enable_curl
with_system_curl
with_boost
with_boost_libdir
with_boost_date_time
with_boost_filesystem
with_boost_iostreams
with_boost_locale
with_system_mdds
with_system_nss
with_system_icu
with_system_orcus
with_boost_system
with_system_graphite
with_system_harfbuzz
with_x
with_system_openssl
with_system_argon2
with_system_redland
with_system_libexttextcat
with_system_libnumbertext
with_system_java_websocket
with_java_websocket_jar
enable_ext_nlpsolver
with_system_libpng
with_system_libtiff
with_system_libwebp
'
ac_precious_vars='build_alias
host_alias
target_alias
CC
CFLAGS
LDFLAGS
LIBS
CPPFLAGS
BACKTRACE_CFLAGS
BACKTRACE_LIBS
PKG_CONFIG
PKG_CONFIG_PATH
PKG_CONFIG_LIBDIR
CPDB_CFLAGS
CPDB_LIBS
FONTCONFIG_CFLAGS
FONTCONFIG_LIBS
CXX
CXXFLAGS
CCC
CXXCPP
CPP
LIBCMIS_CFLAGS
LIBCMIS_LIBS
CLUCENE_CFLAGS
CLUCENE_LIBS
EXPAT_CFLAGS
EXPAT_LIBS
XMLSEC_CFLAGS
XMLSEC_LIBS
LIBEOT_CFLAGS
LIBEOT_LIBS
REVENGE_CFLAGS
REVENGE_LIBS
ODFGEN_CFLAGS
ODFGEN_LIBS
EPUBGEN_CFLAGS
EPUBGEN_LIBS
WPD_CFLAGS
WPD_LIBS
WPG_CFLAGS
WPG_LIBS
WPS_CFLAGS
WPS_LIBS
VISIO_CFLAGS
VISIO_LIBS
CDR_CFLAGS
CDR_LIBS
MSPUB_CFLAGS
MSPUB_LIBS
MWAW_CFLAGS
MWAW_LIBS
ETONYEK_CFLAGS
ETONYEK_LIBS
FREEHAND_CFLAGS
FREEHAND_LIBS
EBOOK_CFLAGS
EBOOK_LIBS
ABW_CFLAGS
ABW_LIBS
PAGEMAKER_CFLAGS
PAGEMAKER_LIBS
QXP_CFLAGS
QXP_LIBS
ZMF_CFLAGS
ZMF_LIBS
STAROFFICE_CFLAGS
STAROFFICE_LIBS
LCMS2_CFLAGS
LCMS2_LIBS
CPPUNIT_CFLAGS
CPPUNIT_LIBS
FREETYPE_CFLAGS
FREETYPE_LIBS
LIBXSLT_CFLAGS
LIBXSLT_LIBS
LIBEXSLT_CFLAGS
LIBEXSLT_LIBS
LIBXML_CFLAGS
LIBXML_LIBS
PYTHON
POSTGRESQL_CFLAGS
POSTGRESQL_LIBS
FIREBIRD_CFLAGS
FIREBIRD_LIBS
LIBATOMIC_OPS_CFLAGS
LIBATOMIC_OPS_LIBS
CURL_CFLAGS
CURL_LIBS
MDDS_CFLAGS
MDDS_LIBS
NSS_CFLAGS
NSS_LIBS
ICU_CFLAGS
ICU_LIBS
ORCUS_CFLAGS
ORCUS_LIBS
GRAPHITE_CFLAGS
GRAPHITE_LIBS
HARFBUZZ_CFLAGS
HARFBUZZ_LIBS
MESON
XMKMF
XRENDER_CFLAGS
XRENDER_LIBS
XRANDR_CFLAGS
XRANDR_LIBS
OPENSSL_CFLAGS
OPENSSL_LIBS
ARGON2_CFLAGS
ARGON2_LIBS
REDLAND_CFLAGS
REDLAND_LIBS
HUNSPELL_CFLAGS
HUNSPELL_LIBS
MYTHES_CFLAGS
MYTHES_LIBS
COINMP_CFLAGS
COINMP_LIBS
COLAMD_CFLAGS
COLAMD_LIBS
LIBEXTTEXTCAT_CFLAGS
LIBEXTTEXTCAT_LIBS
LIBNUMBERTEXT_CFLAGS
LIBNUMBERTEXT_LIBS
EPOXY_CFLAGS
EPOXY_LIBS
GTK3_CFLAGS
GTK3_LIBS
GTK4_CFLAGS
GTK4_LIBS
ATSPI2_CFLAGS
ATSPI2_LIBS
ATSPI2_2_32_CFLAGS
ATSPI2_2_32_LIBS
DBUS_CFLAGS
DBUS_LIBS
DBUS_GLIB_CFLAGS
DBUS_GLIB_LIBS
GIO_CFLAGS
GIO_LIBS
GSTREAMER_1_0_CFLAGS
GSTREAMER_1_0_LIBS
DCONF_CFLAGS
DCONF_LIBS
OPENJPEG2_CFLAGS
OPENJPEG2_LIBS
ABSEIL_CFLAGS
ABSEIL_LIBS
POPPLER_CFLAGS
POPPLER_LIBS
QT5_XCB_CFLAGS
QT5_XCB_LIBS
QT5_GOBJECT_CFLAGS
QT5_GOBJECT_LIBS
QT6_XCB_CFLAGS
QT6_XCB_LIBS
GOBJECT_CFLAGS
GOBJECT_LIBS
CAIRO_CFLAGS
CAIRO_LIBS
AVAHI_CFLAGS
AVAHI_LIBS
LIBLANGTAG_CFLAGS
LIBLANGTAG_LIBS
LIBPNG_CFLAGS
LIBPNG_LIBS
LIBTIFF_CFLAGS
LIBTIFF_LIBS
LIBWEBP_CFLAGS
LIBWEBP_LIBS'
# Initialize some variables set by options.
ac_init_help=
ac_init_version=false
ac_unrecognized_opts=
ac_unrecognized_sep=
# The variables have the same names as the options, with
# dashes changed to underlines.
cache_file=/dev/null
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
# 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.
# (The list follows the same order as the GNU Coding Standards.)
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
datarootdir='${prefix}/share'
datadir='${datarootdir}'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
runstatedir='/run'
includedir='${prefix}/include'
oldincludedir='/usr/include'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
infodir='${datarootdir}/info'
htmldir='${docdir}'
dvidir='${docdir}'
pdfdir='${docdir}'
psdir='${docdir}'
libdir='${exec_prefix}/lib'
localedir='${datarootdir}/locale'
mandir='${datarootdir}/man'
ac_prev=
ac_dashdash=
for ac_option
do
# If the previous option needs an argument, assign it.
if test -n "$ac_prev"; then
eval $ac_prev=\$ac_option
ac_prev=
continue
fi
case $ac_option in
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
*=) ac_optarg= ;;
*) ac_optarg=yes ;;
esac
case $ac_dashdash$ac_option in
--)
ac_dashdash=yes ;;
-bindir | --bindir | --bindi | --bind | --bin | --bi)
ac_prev=bindir ;;
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
bindir=$ac_optarg ;;
-build | --build | --buil | --bui | --bu)
ac_prev=build_alias ;;
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
build_alias=$ac_optarg ;;
-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=*)
cache_file=$ac_optarg ;;
--config-cache | -C)
cache_file=config.cache ;;
-datadir | --datadir | --datadi | --datad)
ac_prev=datadir ;;
-datadir=* | --datadir=* | --datadi=* | --datad=*)
datadir=$ac_optarg ;;
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
| --dataroo | --dataro | --datar)
ac_prev=datarootdir ;;
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
datarootdir=$ac_optarg ;;
-disable-* | --disable-*)
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
as_fn_error $? "invalid feature name: \`$ac_useropt'"
ac_useropt_orig=$ac_useropt
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
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 ;;
-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 ;;
-enable-* | --enable-*)
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
as_fn_error $? "invalid feature name: \`$ac_useropt'"
ac_useropt_orig=$ac_useropt
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
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 ;;
-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=*)
exec_prefix=$ac_optarg ;;
-gas | --gas | --ga | --g)
# Obsolete; use --with-gas.
with_gas=yes ;;
-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 ;;
-host | --host | --hos | --ho)
ac_prev=host_alias ;;
-host=* | --host=* | --hos=* | --ho=*)
host_alias=$ac_optarg ;;
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
ac_prev=htmldir ;;
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
| --ht=*)
htmldir=$ac_optarg ;;
-includedir | --includedir | --includedi | --included | --include \
| --includ | --inclu | --incl | --inc)
ac_prev=includedir ;;
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
| --includ=* | --inclu=* | --incl=* | --inc=*)
includedir=$ac_optarg ;;
-infodir | --infodir | --infodi | --infod | --info | --inf)
ac_prev=infodir ;;
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
infodir=$ac_optarg ;;
-libdir | --libdir | --libdi | --libd)
ac_prev=libdir ;;
-libdir=* | --libdir=* | --libdi=* | --libd=*)
libdir=$ac_optarg ;;
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
| --libexe | --libex | --libe)
ac_prev=libexecdir ;;
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
| --libexe=* | --libex=* | --libe=*)
libexecdir=$ac_optarg ;;
-localedir | --localedir | --localedi | --localed | --locale)
ac_prev=localedir ;;
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
localedir=$ac_optarg ;;
-localstatedir | --localstatedir | --localstatedi | --localstated \
| --localstate | --localstat | --localsta | --localst | --locals)
ac_prev=localstatedir ;;
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
localstatedir=$ac_optarg ;;
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ac_prev=mandir ;;
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
mandir=$ac_optarg ;;
-nfp | --nfp | --nf)
# Obsolete; use --without-fp.
with_fp=no ;;
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
| --no-cr | --no-c | -n)
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=*)
oldincludedir=$ac_optarg ;;
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
ac_prev=prefix ;;
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
prefix=$ac_optarg ;;
-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=*)
program_prefix=$ac_optarg ;;
-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=*)
program_suffix=$ac_optarg ;;
-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=*)
program_transform_name=$ac_optarg ;;
-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 ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
-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 ;;
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
| --sbi=* | --sb=*)
sbindir=$ac_optarg ;;
-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=*)
sharedstatedir=$ac_optarg ;;
-site | --site | --sit)
ac_prev=site ;;
-site=* | --site=* | --sit=*)
site=$ac_optarg ;;
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
srcdir=$ac_optarg ;;
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
| --syscon | --sysco | --sysc | --sys | --sy)
ac_prev=sysconfdir ;;
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
sysconfdir=$ac_optarg ;;
-target | --target | --targe | --targ | --tar | --ta | --t)
ac_prev=target_alias ;;
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
target_alias=$ac_optarg ;;
-v | -verbose | --verbose | --verbos | --verbo | --verb)
verbose=yes ;;
-version | --version | --versio | --versi | --vers | -V)
ac_init_version=: ;;
-with-* | --with-*)
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
as_fn_error $? "invalid package name: \`$ac_useropt'"
ac_useropt_orig=$ac_useropt
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
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 ;;
-without-* | --without-*)
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
# Reject names that are not valid shell variable names.
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
as_fn_error $? "invalid package name: \`$ac_useropt'"
ac_useropt_orig=$ac_useropt
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
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 ;;
--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=*)
x_includes=$ac_optarg ;;
-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=*)
x_libraries=$ac_optarg ;;
-*) as_fn_error $? "unrecognized option: \`$ac_option'
Try \`$0 --help' for more information"
;;
*=*)
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
# Reject names that are not valid shell variable names.
case $ac_envvar in #(
'' | [0-9]* | *[!_$as_cr_alnum]* )
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
esac
eval $ac_envvar=\$ac_optarg
export $ac_envvar ;;
*)
# FIXME: should be removed in autoconf 3.0.
printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
;;
esac
done
if test -n "$ac_prev"; then
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
as_fn_error $? "missing argument to $ac_option"
fi
if test -n "$ac_unrecognized_opts"; then
case $enable_option_checking in
no) ;;
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
*) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
esac
fi
# Check all directory arguments for consistency.
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
libdir localedir mandir runstatedir
do
eval ac_val=\$$ac_var
# 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.
case $ac_val in
[\\/$]* | ?:[\\/]* ) continue;;
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
esac
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
done
# There might be people who depend on the old broken behavior: `$host'
# 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
ac_tool_prefix=
test -n "$host_alias" && ac_tool_prefix=$host_alias-
test "$silent" = yes && exec 6>/dev/null
ac_pwd=`pwd` && test -n "$ac_pwd" &&
ac_ls_di=`ls -di .` &&
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
as_fn_error $? "working directory cannot be determined"
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
as_fn_error $? "pwd does not report name of working directory"
# Find the source files, if location was not specified.
if test -z "$srcdir"; then
ac_srcdir_defaulted=yes
# Try the directory containing this script, then the parent directory.
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 ||
printf "%s\n" X"$as_myself" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
srcdir=$ac_confdir
if test ! -r "$srcdir/$ac_unique_file"; then
srcdir=..
fi
else
ac_srcdir_defaulted=no
fi
if test ! -r "$srcdir/$ac_unique_file"; then
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
fi
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
ac_abs_confdir=`(
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
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
#
# 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
\`configure' configures LibreOffice 25.8.3.2 to adapt to many kinds of systems.
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
-q, --quiet, --silent do not print \`checking ...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for \`--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or \`..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[$ac_default_prefix]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
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'.
For better control, use the options below.
Fine tuning of the installation directories:
--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]
--runstatedir=DIR modifiable per-process data [/run]
--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/libreoffice]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
_ACEOF
cat <<\_ACEOF
X features:
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
_ACEOF
fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of LibreOffice 25.8.3.2:";;
esac
cat <<\_ACEOF
Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-fuzz-options Randomly enable or disable each of those
configurable options that are supposed to be freely
selectable without interdependencies, or where bad
interaction from interdependencies is automatically
avoided.
--enable-android-lok The Android app from the android/ subdir needs
several tweaks all over the place that break the LOK
when used in the Online-based Android app. This
switch indicates that the intent of this build is
actually the Online-based, non-modified LOK.
--enable-android-editing
Enable the experimental editing feature on Android.
--enable-ios-simulator build for iOS simulator
--disable-extension-integration
Disable integration of the built extensions in the
installer of the product. Use this switch to disable
the integration.
--disable-avmedia Disable displaying and inserting AV media in
documents. Work in progress, use only if you are
hacking on it.
--disable-database-connectivity
Disable various database connectivity. Work in
progress, use only if you are hacking on it.
--disable-extensions Disable all add-on extension functionality. Work in
progress, use only if you are hacking on it.
--disable-scripting Disable BASIC, Java, Python and .NET. Work in
progress, use only if you are hacking on it.
--disable-dynamic-loading
Disable any use of dynamic loading of code. Work in
progress, use only if you are hacking on it.
--disable-report-builder
Disable the Report Builder.
--enable-ext-wiki-publisher
Enable the Wiki Publisher extension.
--disable-lpsolve Disable compilation of the lp solve solver
--disable-coinmp Disable compilation of the CoinMP solver
--disable-pdfimport Disable building the PDF import feature.
--disable-pdfium Disable building PDFium. Results in insecure PDF
signature verification.
--disable-skia Disable building Skia. Use --enable-skia=debug to
build without optimizations.
--enable-skia-vulkan-validation
Enable Vulkan validation layers under Skia. The
Vulkan SDK must be installed externally.
--enable-mergelibs=yes/no/more
Merge several of the smaller libraries into one big
"merged" library. The "more" option will link even
more of the smaller libraries. "more" not
appropriate for distros which split up LibreOffice
into multiple packages. It is only appropriate for
situations where all of LO is delivered in a single
install/package.
--enable-breakpad Enables breakpad for crash reporting.
--disable-crashdump Disable dump.ini and dump-file, when
--enable-breakpad
--disable-fetch-external
Disables fetching external tarballs from web
sources.
--enable-fuzzers Enables building libfuzzer targets for fuzz testing.
--enable-pch=<yes/no/system/base/normal/full>
Enables precompiled header support for C++. Forced
default on Windows/VC build. Using 'system' will
include only external headers, 'base' will add also
headers from base modules, 'normal' will also add
all headers except from the module built, 'full'
will use all suitable headers even from a module
itself.
--enable-epm LibreOffice includes self-packaging code, that
requires epm, however epm is useless for large scale
package building.
--enable-odk Enable building the Office Development Kit, the part
that extensions need to build against
--enable-mpl-subset Don't compile any pieces which are not MPL or more
liberally licensed
--enable-evolution2 Allows the built-in evolution 2 addressbook
connectivity build to be enabled.
--enable-avahi Determines whether to use Avahi to advertise Impress
to remote controls.
--enable-msvc-analyze Determines whether to enable the Microsoft Visual
Studio /analyze flag to provide additional warnings.
--enable-werror Turn warnings to errors. (Has no effect in modules
where the treating of warnings as errors is disabled
explicitly.)
--enable-assert-always-abort
make assert() failures abort even when building
without --enable-debug or --enable-dbgutil.
--enable-dbgutil Provide debugging support from --enable-debug and
include additional debugging utilities such as
object counting or more expensive checks. This is
the recommended option for developers. Note that
this makes the build ABI incompatible, it is not
possible to mix object files or libraries from a
--enable-dbgutil and a --disable-dbgutil build.
--enable-debug Include debugging information, disable compiler
optimization and inlining plus extra debugging code
like assertions. Extra large build! (enables -g
compiler flag).
--disable-split-debug Disable using split debug information (-gsplit-dwarf
compile flag). Split debug information saves disk
space and build time, but requires tools that
support it (both build tools and debuggers).
--disable-gdb-index Disables creating debug information in the gdb index
format, which makes gdb start faster. The feature
requires a linker that supports the --gdb-index
option.
--enable-sal-log Make SAL_INFO and SAL_WARN calls do something even
in a non-debug build.
--enable-symbols Generate debug information. By default, enabled for
--enable-debug and --enable-dbgutil, disabled
otherwise. It is possible to explicitly specify
gbuild build targets (where 'all' means everything,
'-' prepended means to not enable, '/' appended
means everything in the directory; there is no
ordering, more specific overrides more general, and
disabling takes precedence). Example:
--enable-symbols="all -sw/ -Library_sc".
--enable-optimized=<yes/no/debug>
Whether to compile with optimization flags. By
default, disabled for --enable-debug and
--enable-dbgutil, enabled otherwise. Using 'debug'
will try to use only optimizations that should not
interfere with debugging. For Emscripten we default
to optimized (-O1) debug build, as otherwise
binaries become too large.
--disable-runtime-optimizations
Statically disable certain runtime optimizations
(like rtl/alloc.h or JVM JIT) that are known to
interact badly with certain dynamic analysis tools
(like -fsanitize=address or Valgrind). By default,
disabled iff CC contains "-fsanitize=*". (For
Valgrind, those runtime optimizations are typically
disabled dynamically via RUNNING_ON_VALGRIND.)
--enable-compiler-plugins
Enable compiler plugins that will perform additional
checks during building. Enabled automatically by
--enable-dbgutil. Use
--enable-compiler-plugins=debug to also enable debug
code in the plugins.
--disable-compiler-plugins-analyzer-pch
Disable use of precompiled headers when running the
Clang compiler plugin analyzer. Not relevant in the
--disable-compiler-plugins case.
--enable-ooenv Enable ooenv for the instdir installation.
--enable-lto Enable link-time optimization. Suitable for
(optimised) product builds. Building might take
longer but libraries and executables are optimized
for speed. For GCC, best to use the 'gold' linker.)
--enable-python=<no/auto/system/internal/fully-internal>
Enables or disables Python support at run-time. Also
specifies what Python to use at build-time.
'fully-internal' even forces the internal version
for uses of Python during the build. On macOS the
only choices are 'internal' (default) or
'fully-internal'. Otherwise the default is 'auto'.
--disable-gtk3 Determines whether to use Gtk+ 3.0 vclplug on
platforms where Gtk+ 3.0 is available.
--enable-gtk4 Determines whether to use Gtk+ 4.0 vclplug on
platforms where Gtk+ 4.0 is available.
--disable-atspi-tests Determines whether to enable AT-SPI2 tests for the
GTK3 vclplug.
--enable-introspection Generate files for GObject introspection. Requires
--enable-gtk3. (Typically used by Linux
distributions.)
--enable-split-app-modules
Split file lists for app modules, e.g. base, calc.
Has effect only with make distro-pack-install
--enable-split-opt-features
Split file lists for some optional features, e.g.
pyuno, testtool. Has effect only with make
distro-pack-install
--disable-cairo-canvas Determines whether to build the Cairo canvas on
platforms where Cairo is available.
--disable-dbus Determines whether to enable features that depend on
dbus. e.g. Presentation mode screensaver control,
bluetooth presentation control, automatic font
install
--disable-sdremote Determines whether to enable Impress remote control
(i.e. the server component).
--disable-sdremote-bluetooth
Determines whether to build sdremote with bluetooth
support. Requires dbus on Linux.
--disable-gio Determines whether to use the GIO support.
--enable-qt5 Determines whether to use Qt5 vclplug on platforms
where Qt5 is available.
--enable-qt6 Determines whether to use Qt6 vclplug on platforms
where Qt6 is available.
--disable-qt6-multimedia
Determines whether to enable media playback using
QtMultimedia when using the qt6/kf6 VCL plugins.
--enable-kf5 Determines whether to use Qt5/KF5 vclplug on
platforms where Qt5 and KF5 are available.
--enable-kf6 Determines whether to use KF6 vclplug on platforms
where Qt6 and KF6 are available.
--enable-gtk3-kde5 Determines whether to use Gtk3 vclplug with KF5 file
dialogs on platforms where Gtk3, Qt5 and Plasma is
available.
--enable-gen To select the gen backend in case of
--disable-dynamic-loading. Per default auto-enabled
when X11 is used.
--disable-gui Disable use of X11 or Wayland to reduce dependencies
(e.g. for building LibreOfficeKit).
--disable-randr Disable RandR support in the vcl project.
--disable-gstreamer-1-0 Disable building with the gstreamer 1.0 avmedia
backend.
--disable-eot Disable support for Embedded OpenType fonts.
--enable-eot Enable support for Embedded OpenType fonts.
--disable-cve-tests Prevent CVE tests to be executed
--disable-nan-tests Prevent NaN payload tests to be executed
--enable-build-opensymbol
Do not use the prebuilt opens___.ttf. Build it
instead. This needs fontforge installed.
--enable-dependency-tracking
Do not reject slow dependency extractors.
--disable-dependency-tracking
Disables generation of dependency information.
Speed up one-time builds.
--enable-icecream Use the 'icecream' distributed compiling tool to
speedup the compilation. It defaults to
/opt/icecream for the location of the icecream
gcc/g++ wrappers, you can override that using
--with-gcc-home=/the/path switch.
--enable-ld=<linker> Use the specified linker. Both 'gold' and 'lld'
linkers generally use less memory and link faster.
By default tries to use the best linker possible,
use --disable-ld to use the default linker. If
<linker> contains any ':', the part before the first
':' is used as the value of -fuse-ld, while the part
after the first ':' is used as the value of
--ld-path (which is needed for Clang 12).
--enable-cpdb Build CPDB (Common Print Dialog Backends) support.
--disable-cups Do not build cups support.
--disable-ccache Do not try to use ccache automatically. By default
we will try to detect if ccache is available; in
that case if CC/CXX are not yet set, and
--enable-icecream is not given, we attempt to use
ccache. --disable-ccache disables ccache completely.
Additionally ccache's depend mode is enabled if
possible, use --enable-ccache=nodepend to enable
ccache without depend mode.
--enable-z7-debug Makes the MSVC compiler use -Z7 for debugging
instead of the default -Zi. Using this option takes
more disk spaces but allows to use ccache. Final PDB
files are created even with this option enabled.
Enabled by default if ccache is detected.
--enable-online-update Enable the online update service that will check for
new versions of LibreOffice. Disabled by default.
Requires --with-privacy-policy-url to be set.
--enable-online-update-mar
Enable the Mozilla-like online update service that
will check for new versions of LibreOffice.
Currently only works for Windows and Linux. Disabled
by default.
--disable-extension-update
Disable possibility to update installed extensions.
--enable-release-build Enable release build. Note that the "release build"
choice is orthogonal to whether symbols are present,
debug info is generated, or optimization is done.
See
https://wiki.documentfoundation.org/Development/DevBuild
--enable-hardening-flags
Enable automatically using hardening compiler flags.
Distros typically instead use their default
configuration via CXXFLAGS, etc. But this provides a
convenient set of default hardening flags for
non-distros
--enable-windows-build-signing
Enable signing of windows binaries (*.exe, *.dll)
--enable-silent-msi Enable MSI with LIMITUI=1 (silent install).
--enable-wix Build Windows installer using WiX.
--enable-macosx-code-signing=<identity>
Sign executables, dylibs, frameworks and the app
bundle. If you don't provide an identity the first
suitable certificate in your keychain is used.
--enable-macosx-package-signing=<identity>
Create a .pkg suitable for uploading to the Mac App
Store and sign it. If you don't provide an identity
the first suitable certificate in your keychain is
used.
--enable-macosx-sandbox Make the app bundle run in a sandbox. Requires code
signing. Is required by apps distributed in the Mac
App Store, and implies adherence to App Store rules.
--disable-community-flavor
Disable the Community branding.
--enable-readonly-installset
Prevents any attempts by LibreOffice to write into
its installation. That means at least that no
"system-wide" extensions can be added. Partly
experimental work in progress, probably not fully
implemented. Always enabled for macOS.
--disable-mariadb-sdbc Disable the build of the MariaDB/MySQL-SDBC driver.
--disable-postgresql-sdbc
Disable the build of the PostgreSQL-SDBC driver.
--disable-lotuswordpro Disable the build of the Lotus Word Pro filter.
--disable-firebird-sdbc Disable the build of the Firebird-SDBC driver if it
doesn't compile for you.
--enable-bogus-pkg-config
MACOSX only: on MacOSX pkg-config can cause trouble.
by default if one is found in the PATH, an error is
issued. This flag turn that error into a warning.
--disable-openssl Disable using libssl/libcrypto from OpenSSL. If
disabled, components will use NSS. Work in progress,
use only if you are hacking on it.
--enable-cipher-openssl-backend
Enable using OpenSSL as the actual implementation of
the rtl/cipher.h functionality. Requires
--enable-openssl.
--disable-nss Disable using NSS. If disabled, components will use
openssl. Work in progress, use only if you are
hacking on it.
--enable-library-bin-tar
Enable the building and reused of tarball of binary
build for some 'external' libraries. Some libraries
can save their build result in a tarball stored in
TARFILE_LOCATION. That binary tarball is uniquely
identified by the source tarball, the content of the
config_host.mk file and the content of the top-level
directory in core for that library If this option is
enabled, then if such a tarfile exist, it will be
untarred instead of the source tarfile, and the
build step will be skipped for that library. If a
proper tarfile does not exist, then the normal
source-based build is done for that library and a
proper binary tarfile is created for the next time.
--disable-dconf Disable the dconf configuration backend (enabled by
default where available).
--enable-formula-logger Enable formula logger for logging formula
calculation flow in Calc.
--disable-ldap Disable LDAP support.
--disable-opencl Disable OpenCL support.
--disable-librelogo Do not build LibreLogo.
--enable-wasm-strip Strip the static build like for WASM/emscripten
platform.
--enable-emscripten-jspi
Experimentally enable use of the Emscripten -sJSPI
feature.
--disable-emscripten-proxy-to-pthread
Experimentally disable use of the Emscripten
-sPROXY_TO_PTHREAD feature.
--enable-emscripten-proxy-posix-sockets
Enable experimental Emscripten support for full
POSIX sockets over WebSocket proxy server
(-sPROXY_POSIX_SOCKETS).
--disable-xmlhelp Disable XML help support
--enable-customtarget-components
Generates the static UNO object constructor mapping
from the build.
--disable-cli Disable the generation of old CLI bindings.
--disable-poppler Disable building Poppler.
--disable-gpgmepp Disable building gpgmepp. Do not use in normal cases
unless you want to fix potential problems it causes.
--enable-bundle-mariadb When using MariaDB/MySQL libraries already on
system, bundle them with the MariaDB
Connector/LibreOffice.
--disable-scripting-beanshell
Disable support for scripts in BeanShell.
--disable-scripting-javascript
Disable support for scripts in JavaScript.
--enable-cairo-rgba Use RGBA order, instead of default BRGA. Not
possible with --with-system-cairo
--disable-zxing Disable use of zxing external library.
--enable-lasx build with LASX vectorization
--disable-largefile omit support for large files
--disable-libcmis Disable libcmis support.
--disable-curl Disable curl support.
--enable-ext-nlpsolver Enable the NLPSolver extension
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-strawberry-perl-portable
Specify the base path to strawberry perl portable
--with-wsl-command Specify your wsl distro command if it isn't the
default/the one used with just wsl.exe – for
example: wsl.exe -d MyDistro -u NonDefaultUser
--with-android-ndk Specify location of the Android Native Development
Kit. Mandatory when building for Android.
--with-android-sdk Specify location of the Android SDK. Mandatory when
building for Android.
--with-android-api-level
Specify the API level when building for Android.
Defaults to 16 for ARM and x86 and to 21 for ARM64
and x86-64
--with-valgrind Make availability of Valgrind headers a hard
requirement.
--with-online-update-mar-baseurl=...
Set the base URL value for
--enable-online-update-mar. (Can be left off for
debug purposes, even if that may render the feature
non-functional.)
--with-online-update-mar-certificateder=...
Set the certificate DER value for
--enable-online-update-mar. (Can be left off for
debug purposes, even if that may render the feature
non-functional.)
--with-online-update-mar-certificatename=...
Set the certificate name value for
--enable-online-update-mar. (Can be left off for
debug purposes, even if that may render the feature
non-functional.)
--with-online-update-mar-certificatepath=...
Set the certificate path value for
--enable-online-update-mar. (Can be left off for
debug purposes, even if that may render the feature
non-functional.)
--with-macosx-bundle-identifier=tld.mumble.orifice.TheOffice
Define the macOS bundle identifier. Default is the
somewhat weird org.libreoffice.script ("script",
huh?).
--with-macosx-provisioning-profile=/path/to/mac.provisionprofile
Specify the path to a provisioning profile to use
--with-product-name='My Own Office Suite'
Define the product name. Default is LibreOffice.
--with-package-version='3.1.4.5'
Define the package version. Default is
25.8.3.2. Use only if you distribute an
own build for macOS.
--with-wasm-module=<writer/calc/impress>
Specify which main module to build for wasm. Default
value is 'calc writer'.
--with-extra-cc-flags=...
Specify extra flags (like GCC's
-fdiagnostics-color=always, which is useful in
combination with the GNU Make --output-sync option)
to add to the end of the CC variable.
--with-extra-cxx-flags=...
Specify extra flags (like GCC's
-fdiagnostics-color=always, which is useful in
combination with the GNU Make --output-sync option)
to add to the end of the CXX variable.
--with-gcc-home Specify the location of gcc/g++ manually. This can
be used in conjunction with --enable-icecream when
icecream gcc/g++ wrappers are installed in a
non-default path.
--with-gnu-patch Specify location of GNU patch on Solaris or FreeBSD.
--with-build-platform-configure-options
Specify options for the configure script run for the
*build* platform in a cross-compilation
--with-gnu-cp Specify location of GNU cp on Solaris or FreeBSD.
--with-external-tar=<TARFILE_PATH>
Specify an absolute path of where to find (and
store) tarfiles.
--with-referenced-git=<OTHER_CHECKOUT_DIR>
Specify another checkout directory to reference.
This makes use of git submodule update --reference,
and saves a lot of diskspace when having multiple
trees side-by-side.
--with-linked-git=<submodules repo basedir>
Specify a directory where the repositories of
submodules are located. This uses a method similar
to git-new-workdir to get submodules.
--with-galleries Specify how galleries should be built. It is
possible either to build these internally from
source ("build"), or to disable them ("no")
--with-templates Specify we build with or without template files. It
is possible either to build with templates ("yes"),
or to disable them ("no")
--with-theme="theme1 theme2..."
Choose which themes to include. By default those
themes with an '*' are included. Possible choices:
*breeze, *breeze_dark, *breeze_dark_svg,
*breeze_svg, *colibre, *colibre_svg, *colibre_dark,
*colibre_dark_svg, *elementary, *elementary_svg,
*karasa_jaga, *karasa_jaga_svg, *sifr, *sifr_dark,
*sifr_dark_svg, *sifr_svg, *sukapura,
*sukapura_dark, *sukapura_dark_svg, *sukapura_svg.
--without-helppack-integration
It will not integrate the helppacks to the installer
of the product. Please use this switch to use the
online help or separate help packages.
--without-fonts LibreOffice includes some third-party fonts to
provide a reliable basis for help content,
templates, samples, etc. When these fonts are
already known to be available on the system then you
should use this option.
--with-docrepair-fonts LibreOffice optionally includes fonts from 'The
DocRepair Project' that provide metrically
equivalent fallback fonts for a variety of common
fonts seen in Office Open XML documents. See
https://github.com/docrepair-fonts for more details.
This option has no effect when --without-fonts is
used.
--with-epm Decides which epm to use. Default is to use the one
from the system if one is built. When either this is
not there or you say =internal epm will be built.
--with-package-format Specify package format(s) for LibreOffice
installation sets. The implicit
--without-package-format leads to no installation
sets being generated. Possible values: archive, bsd,
deb, dmg, emscripten, installed, msi, pkg, and rpm.
Example: --with-package-format='deb rpm'
--with-tls Decides which TLS/SSL and cryptographic
implementations to use for LibreOffice's code.
Default is to use NSS although OpenSSL is also
possible. Notice that selecting NSS restricts the
usage of OpenSSL in LO's code but selecting OpenSSL
doesn't restrict by now the usage of NSS in LO's
code. Possible values: openssl, nss. Example:
--with-tls="nss"
--with-system-libs Use libraries already on system -- enables all
--with-system-* flags.
--with-system-bzip2 Use bzip2 already on system. Used when
--enable-online-update-mar or
--enable-python=internal
--with-system-headers Use headers already on system -- enables all
--with-system-* flags for external packages whose
headers are the only entities used i.e.
boost/odbc/sane-header(s).
--without-system-jars When building with --with-system-libs, also the
needed jars are expected on the system. Use this to
disable that
--with-system-cairo Use cairo libraries already on system. Happens
automatically for (implicit) --enable-gtk3.
--with-system-epoxy Use epoxy libraries already on system. Happens
automatically for (implicit) --enable-gtk3.
--with-myspell-dicts Adds myspell dictionaries to the LibreOffice
installation set
--without-system-dicts Do not use dictionaries from system paths.
--with-external-dict-dir
Specify external dictionary dir.
--with-external-hyph-dir
Specify external hyphenation pattern dir.
--with-external-thes-dir
Specify external thesaurus dir.
--with-system-zlib Use zlib already on system.
--with-system-zstd=[yes|no|auto]
Use zstd already on system [default=auto].
--with-system-jpeg Use jpeg already on system.
--with-system-expat Use expat already on system.
--with-system-libxml Use libxml/libxslt already on system.
--with-system-openldap Use the OpenLDAP LDAP SDK already on system.
--with-system-poppler Use system poppler (only needed for PDF import).
--with-system-abseil Use the abseil libraries already on system.
--with-system-openjpeg Use the OpenJPEG library already on system.
--with-system-gpgmepp Use gpgmepp already on system
--with-system-mariadb Use MariaDB/MySQL libraries already on system.
--with-system-postgresql
Use PostgreSQL libraries already on system, for
building the PostgreSQL-SDBC driver. If pg_config is
not in PATH, use PGCONFIG to point to it.
--with-libpq-path=<absolute path to your libpq installation>
Use this PostgreSQL C interface (libpq) installation
for building the PostgreSQL-SDBC extension.
--with-system-firebird Use Firebird libraries already on system, for
building the Firebird-SDBC driver. If fb_config is
not in PATH, use FBCONFIG to point to it.
--with-system-libtommath
Use libtommath already on system
--with-system-hsqldb Use hsqldb already on system.
--with-hsqldb-jar=JARFILE
Specify path to jarfile manually.
--with-system-beanshell Use beanshell already on system.
--with-beanshell-jar=JARFILE
Specify path to jarfile manually.
--with-system-rhino Use rhino already on system.
--with-rhino-jar=JARFILE
Specify path to jarfile manually.
--with-system-jfreereport
Use JFreeReport already on system.
--with-sac-jar=JARFILE Specify path to jarfile manually.
--with-libxml-jar=JARFILE
Specify path to jarfile manually.
--with-flute-jar=JARFILE
Specify path to jarfile manually.
--with-jfreereport-jar=JARFILE
Specify path to jarfile manually.
--with-liblayout-jar=JARFILE
Specify path to jarfile manually.
--with-libloader-jar=JARFILE
Specify path to jarfile manually.
--with-libformula-jar=JARFILE
Specify path to jarfile manually.
--with-librepository-jar=JARFILE
Specify path to jarfile manually.
--with-libfonts-jar=JARFILE
Specify path to jarfile manually.
--with-libserializer-jar=JARFILE
Specify path to jarfile manually.
--with-libbase-jar=JARFILE
Specify path to jarfile manually.
--with-system-odbc Use the odbc headers already on system.
--with-system-sane Use sane.h already on system.
--with-system-bluez Use bluetooth.h already on system.
--with-system-boost Use boost already on system.
--with-system-dragonbox Use dragonbox already on system.
--with-system-frozen Use frozen already on system.
--with-system-libfixmath
Use libfixmath already on system.
--with-system-glm Use glm already on system.
--with-system-hunspell Use libhunspell already on system.
--with-system-zxing Use libzxing already on system.
--with-system-zxcvbn Use libzxcvbn already on system.
--with-system-box2d Use box2d already on system.
--with-system-mythes Use mythes already on system.
--with-system-altlinuxhyph
Use ALTLinuxhyph already on system.
--with-system-lpsolve Use lpsolve already on system.
--with-system-colamd Use COLAMD already on system.
--with-system-coinmp Use CoinMP already on system.
--with-system-liblangtag
Use liblangtag library already on system.
--with-system-lockfile=file
Detect a system lockfile program or use the \$file
argument.
--without-webdav Disable WebDAV support in the UCB.
--with-linker-hash-style
Use linker with --hash-style=<style> when linking
shared objects. Possible values: "sysv", "gnu",
"both". The default value is "gnu" if supported on
the build system, and "sysv" otherwise.
--with-jdk-home=<absolute path to JDK home>
If you have installed JDK 8 or later on your system
please supply the path here. Note that this is not
the location of the java command but the location of
the entire distribution. In case of cross-compiling,
this is the JDK of the host os. Use
--with-build-platform-configure-options to point to
a different build platform JDK.
--with-help Enable the build of help. There is a special
parameter "common" that can be used to bundle only
the common part, .e.g help-specific icons. This is
useful when you build the helpcontent separately.
Usage: --with-help build the old local help
--without-help no local help (default)
--with-help=html build the new HTML local help
--with-help=online build the new HTML online help
--with-omindex Enable the support of xapian-omega index for online
help.
Usage: --with-omindex=server prepare the pages for omindex
but let xapian-omega be built in server.
--with-omindex=noxap do not prepare online pages
for xapian-omega
--with-java=<java command>
Specify the name of the Java interpreter command.
Typically "java" which is the default. To build
without support for Java components, applets,
accessibility or the XML filters written in Java,
use --without-java or --with-java=no.
--with-jvm-path=<absolute path to parent of jvm home>
Use a specific JVM search path at runtime. e.g. use
--with-jvm-path=/usr/lib/ to find JRE/JDK in
/usr/lib/jvm/
--with-ant-home=<absolute path to Ant home>
If you have installed Apache Ant on your system,
please supply the path here. Note that this is not
the location of the Ant binary but the location of
the entire distribution.
--with-symbol-config Configuration for the crashreport symbol upload
--without-export-validation
Disable validating OOXML and ODF files as exported
from in-tree tests.
--with-bffvalidator=<absolute path to BFFValidator>
Enables export validation for Microsoft Binary
formats (doc, xls, ppt). Requires installed
Microsoft Office Binary File Format Validator. Note:
export-validation (--with-export-validation) is
required to be turned on. See
https://web.archive.org/web/20200804155745/https://www.microsoft.com/en-us/download/details.aspx?id=26794
--with-junit=<absolute path to JUnit 4 jar>
Specifies the JUnit 4 jar file to use for
JUnit-based tests. --without-junit disables those
tests. Not relevant in the --without-java case.
--with-hamcrest=<absolute path to hamcrest jar>
Specifies the hamcrest jar file to use for
JUnit-based tests. --without-junit disables those
tests. Not relevant in the --without-java case.
--with-yrs=<absolute path to yrs build>
Specifies the built yrs git repo for very
experimental experiments.
--with-perl-home=<abs. path to Perl 5 home>
If you have installed Perl 5 Distribution, on your
system, please supply the path here. Note that this
is not the location of the Perl binary but the
location of the entire distribution.
--with-doxygen=<absolute path to doxygen executable>
Only relevant when --enable-odk is set. Specifies
the doxygen executable to use when generating ODK
C/C++ documentation. --without-doxygen disables
generation of ODK C/C++ documentation.
--with-visual-studio=<2019/2022/2022preview>
Specify which Visual Studio version to use in case
several are installed. Currently 2019 (default) and
2022 are supported.
--with-windows-sdk=<8.0(A)/8.1(A)/10.0>
Specify which Windows SDK, or "Windows Kit", version
to use in case the one that came with the selected
Visual Studio is not what you want for some reason.
Note that not all compiler/SDK combinations are
supported. The intent is that this option should not
be needed.
--with-lang="es sw tu cs sk"
Use this option to build LibreOffice with additional
UI language support. English (US) is always included
by default. Separate multiple languages with space.
For all languages, use --with-lang=ALL.
--with-locales="en es pt fr zh kr ja"
Use this option to limit the locale information
built in. Separate multiple locales with space. Very
experimental and might well break stuff. Just a
desperate measure to shrink code and data size. By
default all the locales available is included. Just
works with --disable-dynloading. Defaults to "ALL".
This option is completely unrelated to --with-lang.
Affects also our character encoding conversion
tables for encodings mainly targeted for a
particular locale, like EUC-CN and EUC-TW for
zh, ISO-2022-JP for ja.
Affects also our add-on break iterator data for
some languages.
For the default, all locales, don't use this switch at all.
Specifying just the language part of a locale means all matching
locales will be included.
--with-krb5 Enable MIT Kerberos 5 support in modules that
support it. By default automatically enabled on
platforms where a good system Kerberos 5 is
available.
--with-gssapi Enable GSSAPI support in modules that support it. By
default automatically enabled on platforms where a
good system GSSAPI is available.
--without-lxml gla11y will use python lxml when available,
potentially building a local copy if necessary.
--without-lxml tells it to not use python lxml at
all, which means that gla11y will only report widget
classes and ids.
--with-latest-c++ Try to enable the latest features of the C++
compiler, even if they are not yet part of a
published standard. This option is ignored when
CXXFLAGS_CXX11 is set explicitly.
--with-gtk3-build=<absolute path to GTK3 build>
(Windows-only) In order to build GtkTiledViewer on
Windows, pass the path to a GTK3 build, like
'--with-gtk3-build=C:/gtk-build/gtk/x64/release'.
--with-keep-awake command to prefix make with in order to prevent the
system from going to sleep/suspend while building.
If no command is specified, defaults to using Awake
(from Microsoft PowerToys) on Windows and caffeinate
on macOS
--with-dotnet=<absolute path to dotnet executable>
Specify the dotnet executable used to build .NET
bindings and components. Requires .NET SDK 8 or
higher. To disable building .NET components, use
--without-dotnet or --with-dotnet=no.
--with-branding=/path/to/images
Use given path to retrieve branding images set.
Search for intro.png about.svg and logo.svg.
If any is missing, default ones will be used instead.
Search also progress.conf for progress
settings on intro screen :
PROGRESSBARCOLOR="255,255,255" Set color of
progress bar. Comma separated RGB decimal values.
PROGRESSSIZE="407,6" Set size of progress bar.
Comma separated decimal values (width, height).
PROGRESSPOSITION="61,317" Set position of progress
bar from left,top. Comma separated decimal values.
PROGRESSFRAMECOLOR="20,136,3" Set color of progress
bar frame. Comma separated RGB decimal values.
PROGRESSTEXTCOLOR="0,0,0" Set color of progress
bar text. Comma separated RGB decimal values.
PROGRESSTEXTBASELINE="287" Set vertical position of
progress bar text from top. Decimal value.
Default values will be used if not found.
--with-extra-buildid="Tinderbox: Win-x86@6, Branch:master, Date:2012-11-26_00.29.34"
Show addition build identification in about dialog.
--with-vendor="John the Builder"
Set vendor of the build.
--with-privacy-policy-url="https://yourdomain/privacy-policy"
The URL to your privacy policy (needed when enabling
online-update or crashreporting via breakpad)
--with-android-package-name="org.libreoffice"
Set Android package name of the build.
--with-compat-oowrappers
Install oo* wrappers in parallel with lo* ones to
keep backward compatibility. Has effect only with
make distro-pack-install
--with-os-version=<OSVERSION>
For FreeBSD users, use this option to override the
detected OSVERSION.
--with-parallelism Number of jobs to run simultaneously during build.
Parallel builds can save a lot of time on multi-cpu
machines. Defaults to the number of CPUs on the
machine, unless you configure --enable-icecream -
then to 40.
--with-all-tarballs Download all external tarballs unconditionally
--with-gdrive-client-id Provides the client id of the application for OAuth2
authentication on Google Drive. If either this or
--with-gdrive-client-secret is empty, the feature
will be disabled
--with-gdrive-client-secret
Provides the client secret of the application for
OAuth2 authentication on Google Drive. If either
this or --with-gdrive-client-id is empty, the
feature will be disabled
--with-alfresco-cloud-client-id
Provides the client id of the application for OAuth2
authentication on Alfresco Cloud. If either this or
--with-alfresco-cloud-client-secret is empty, the
feature will be disabled
--with-alfresco-cloud-client-secret
Provides the client secret of the application for
OAuth2 authentication on Alfresco Cloud. If either
this or --with-alfresco-cloud-client-id is empty,
the feature will be disabled
--with-onedrive-client-id
Provides the client id of the application for OAuth2
authentication on OneDrive. If either this or
--with-onedrive-client-secret is empty, the feature
will be disabled
--with-onedrive-client-secret
Provides the client secret of the application for
OAuth2 authentication on OneDrive. If either this or
--with-onedrive-client-id is empty, the feature will
be disabled
--with-coredumpctl Use coredumpctl (together with systemd-run) to
retrieve core dumps of crashing test processes.
--with-buildconfig-recorded
Put build config into version info reported by LOK.
Incompatible with reproducible builds.
--with-macosx-version-min-required=<version>
set the minimum OS version needed to run the built
LibreOffice
e. g.: --with-macosx-version-min-required=10.15
--without-system-fontconfig
Build and bundle the internal fontconfig.
--with-system-libcmis Use libcmis from the operating system.
--with-system-clucene Use clucene from the operating system.
--with-system-expat Use expat from the operating system.
--with-system-xmlsec Use xmlsec from the operating system.
--with-system-libeot Use libeot from the operating system.
--with-system-librevenge
Use librevenge from the operating system.
--with-system-libodfgen Use libodfgen from the operating system.
--with-system-libepubgen
Use libepubgen from the operating system.
--with-system-libwpd Use libwpd from the operating system.
--with-system-libwpg Use libwpg from the operating system.
--with-system-libwps Use libwps from the operating system.
--with-system-libvisio Use libvisio from the operating system.
--with-system-libcdr Use libcdr from the operating system.
--with-system-libmspub Use libmspub from the operating system.
--with-system-libmwaw Use libmwaw from the operating system.
--with-system-libetonyek
Use libetonyek from the operating system.
--with-system-libfreehand
Use libfreehand from the operating system.
--with-system-libebook Use libebook from the operating system.
--with-system-libabw Use libabw from the operating system.
--with-system-libpagemaker
Use libpagemaker from the operating system.
--with-system-libqxp Use libqxp from the operating system.
--with-system-libzmf Use libzmf from the operating system.
--with-system-libstaroffice
Use libstaroffice from the operating system.
--with-system-lcms2 Use lcms2 from the operating system.
--with-system-cppunit Use cppunit from the operating system.
--without-system-freetype
Build and bundle the internal freetype.
--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
--with-system-libatomic_ops
Use libatomic_ops from the operating system.
--with-system-curl Use curl from the operating system.
--with-boost[=ARG] use Boost library from a standard location
(ARG=yes), from the specified location (ARG=<path>),
or disable it (ARG=no) [ARG=yes]
--with-boost-libdir=LIB_DIR
Force given directory for boost libraries. Note that
this will override library path detection, so use
this parameter only if default library detection
fails and you know exactly where your boost
libraries are located.
--with-boost-date-time[=special-lib]
use the Date_Time library from boost - it is
possible to specify a certain library for the linker
e.g.
--with-boost-date-time=boost_date_time-gcc-mt-d-1_33_1
--with-boost-filesystem[=special-lib]
use the Filesystem library from boost - it is
possible to specify a certain library for the linker
e.g. --with-boost-filesystem=boost_filesystem-gcc-mt
--with-boost-iostreams[=special-lib]
use the IOStreams library from boost - it is
possible to specify a certain library for the linker
e.g.
--with-boost-iostreams=boost_iostreams-gcc-mt-d-1_33_1
--with-boost-locale[=special-lib]
use the Locale library from boost - it is possible
to specify a certain library for the linker e.g.
--with-boost-locale=boost_locale-gcc-mt
--with-system-mdds Use mdds from the operating system.
--with-system-nss Use nss from the operating system.
--with-system-icu Use icu from the operating system.
--with-system-orcus Use orcus from the operating system.
--with-boost-system[=special-lib]
use the System library from boost - it is possible
to specify a certain library for the linker e.g.
--with-boost-system=boost_system-gcc-mt
--with-system-graphite Use graphite from the operating system.
--with-system-harfbuzz Use harfbuzz from the operating system.
--with-x use the X Window System
--with-system-openssl Use openssl from the operating system.
--with-system-argon2 Use argon2 from the operating system.
--with-system-redland Use redland from the operating system.
--with-system-libexttextcat
Use libexttextcat from the operating system.
--with-system-libnumbertext
Use libnumbertext from the operating system.
--with-system-epoxy Use epoxy from the operating system.
--with-system-java-websocket
Use Java-WebSocket already on system.
--with-java-websocket-jar=JARFILE
Specify path to jarfile manually.
--with-system-libpng Use libpng from the operating system.
--with-system-libtiff Use libtiff from the operating system.
--with-system-libwebp Use libwebp from the operating system.
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>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
BACKTRACE_CFLAGS
Compiler flags needed to use backtrace(3)
BACKTRACE_LIBS
Linker flags needed to use backtrace(3)
PKG_CONFIG path to pkg-config utility
PKG_CONFIG_PATH
directories to add to pkg-config's search path
PKG_CONFIG_LIBDIR
path overriding pkg-config's built-in search path
CPDB_CFLAGS C compiler flags for CPDB, overriding pkg-config
CPDB_LIBS linker flags for CPDB, overriding pkg-config
FONTCONFIG_CFLAGS
C compiler flags for FONTCONFIG, overriding pkg-config
FONTCONFIG_LIBS
linker flags for FONTCONFIG, overriding pkg-config
CXX C++ compiler command
CXXFLAGS C++ compiler flags
CXXCPP C++ preprocessor
CPP C preprocessor
LIBCMIS_CFLAGS
C compiler flags for LIBCMIS, overriding pkg-config
LIBCMIS_LIBS
linker flags for LIBCMIS, overriding pkg-config
CLUCENE_CFLAGS
C compiler flags for CLUCENE, overriding pkg-config
CLUCENE_LIBS
linker flags for CLUCENE, overriding pkg-config
EXPAT_CFLAGS
C compiler flags for EXPAT, overriding pkg-config
EXPAT_LIBS linker flags for EXPAT, overriding pkg-config
XMLSEC_CFLAGS
C compiler flags for XMLSEC, overriding pkg-config
XMLSEC_LIBS linker flags for XMLSEC, overriding pkg-config
LIBEOT_CFLAGS
C compiler flags for LIBEOT, overriding pkg-config
LIBEOT_LIBS linker flags for LIBEOT, overriding pkg-config
REVENGE_CFLAGS
C compiler flags for REVENGE, overriding pkg-config
REVENGE_LIBS
linker flags for REVENGE, overriding pkg-config
ODFGEN_CFLAGS
C compiler flags for ODFGEN, overriding pkg-config
ODFGEN_LIBS linker flags for ODFGEN, overriding pkg-config
EPUBGEN_CFLAGS
C compiler flags for EPUBGEN, overriding pkg-config
EPUBGEN_LIBS
linker flags for EPUBGEN, overriding pkg-config
WPD_CFLAGS C compiler flags for WPD, overriding pkg-config
WPD_LIBS linker flags for WPD, overriding pkg-config
WPG_CFLAGS C compiler flags for WPG, overriding pkg-config
WPG_LIBS linker flags for WPG, overriding pkg-config
WPS_CFLAGS C compiler flags for WPS, overriding pkg-config
WPS_LIBS linker flags for WPS, overriding pkg-config
VISIO_CFLAGS
C compiler flags for VISIO, overriding pkg-config
VISIO_LIBS linker flags for VISIO, overriding pkg-config
CDR_CFLAGS C compiler flags for CDR, overriding pkg-config
CDR_LIBS linker flags for CDR, overriding pkg-config
MSPUB_CFLAGS
C compiler flags for MSPUB, overriding pkg-config
MSPUB_LIBS linker flags for MSPUB, overriding pkg-config
MWAW_CFLAGS C compiler flags for MWAW, overriding pkg-config
MWAW_LIBS linker flags for MWAW, overriding pkg-config
ETONYEK_CFLAGS
C compiler flags for ETONYEK, overriding pkg-config
ETONYEK_LIBS
linker flags for ETONYEK, overriding pkg-config
FREEHAND_CFLAGS
C compiler flags for FREEHAND, overriding pkg-config
FREEHAND_LIBS
linker flags for FREEHAND, overriding pkg-config
EBOOK_CFLAGS
C compiler flags for EBOOK, overriding pkg-config
EBOOK_LIBS linker flags for EBOOK, overriding pkg-config
ABW_CFLAGS C compiler flags for ABW, overriding pkg-config
ABW_LIBS linker flags for ABW, overriding pkg-config
PAGEMAKER_CFLAGS
C compiler flags for PAGEMAKER, overriding pkg-config
PAGEMAKER_LIBS
linker flags for PAGEMAKER, overriding pkg-config
QXP_CFLAGS C compiler flags for QXP, overriding pkg-config
QXP_LIBS linker flags for QXP, overriding pkg-config
ZMF_CFLAGS C compiler flags for ZMF, overriding pkg-config
ZMF_LIBS linker flags for ZMF, overriding pkg-config
STAROFFICE_CFLAGS
C compiler flags for STAROFFICE, overriding pkg-config
STAROFFICE_LIBS
linker flags for STAROFFICE, overriding pkg-config
LCMS2_CFLAGS
C compiler flags for LCMS2, overriding pkg-config
LCMS2_LIBS linker flags for LCMS2, overriding pkg-config
CPPUNIT_CFLAGS
C compiler flags for CPPUNIT, overriding pkg-config
CPPUNIT_LIBS
linker flags for CPPUNIT, overriding pkg-config
FREETYPE_CFLAGS
C compiler flags for FREETYPE, overriding pkg-config
FREETYPE_LIBS
linker flags for FREETYPE, overriding pkg-config
LIBXSLT_CFLAGS
C compiler flags for LIBXSLT, overriding pkg-config
LIBXSLT_LIBS
linker flags for LIBXSLT, overriding pkg-config
LIBEXSLT_CFLAGS
C compiler flags for LIBEXSLT, overriding pkg-config
LIBEXSLT_LIBS
linker flags for LIBEXSLT, overriding pkg-config
LIBXML_CFLAGS
C compiler flags for LIBXML, overriding pkg-config
LIBXML_LIBS linker flags for LIBXML, overriding pkg-config
PYTHON the Python interpreter
POSTGRESQL_CFLAGS
C compiler flags for POSTGRESQL, overriding pkg-config
POSTGRESQL_LIBS
linker flags for POSTGRESQL, overriding pkg-config
FIREBIRD_CFLAGS
C compiler flags for FIREBIRD, overriding pkg-config
FIREBIRD_LIBS
linker flags for FIREBIRD, overriding pkg-config
LIBATOMIC_OPS_CFLAGS
C compiler flags for LIBATOMIC_OPS, overriding pkg-config
LIBATOMIC_OPS_LIBS
linker flags for LIBATOMIC_OPS, overriding pkg-config
CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
CURL_LIBS linker flags for CURL, overriding pkg-config
MDDS_CFLAGS C compiler flags for MDDS, overriding pkg-config
MDDS_LIBS linker flags for MDDS, overriding pkg-config
NSS_CFLAGS C compiler flags for NSS, overriding pkg-config
NSS_LIBS linker flags for NSS, overriding pkg-config
ICU_CFLAGS C compiler flags for ICU, overriding pkg-config
ICU_LIBS linker flags for ICU, overriding pkg-config
ORCUS_CFLAGS
C compiler flags for ORCUS, overriding pkg-config
ORCUS_LIBS linker flags for ORCUS, overriding pkg-config
GRAPHITE_CFLAGS
C compiler flags for GRAPHITE, overriding pkg-config
GRAPHITE_LIBS
linker flags for GRAPHITE, overriding pkg-config
HARFBUZZ_CFLAGS
C compiler flags for HARFBUZZ, overriding pkg-config
HARFBUZZ_LIBS
linker flags for HARFBUZZ, overriding pkg-config
MESON point to a specific meson to use instead of autodetecting
XMKMF Path to xmkmf, Makefile generator for X Window System
XRENDER_CFLAGS
C compiler flags for XRENDER, overriding pkg-config
XRENDER_LIBS
linker flags for XRENDER, overriding pkg-config
XRANDR_CFLAGS
C compiler flags for XRANDR, overriding pkg-config
XRANDR_LIBS linker flags for XRANDR, overriding pkg-config
OPENSSL_CFLAGS
C compiler flags for OPENSSL, overriding pkg-config
OPENSSL_LIBS
linker flags for OPENSSL, overriding pkg-config
ARGON2_CFLAGS
C compiler flags for ARGON2, overriding pkg-config
ARGON2_LIBS linker flags for ARGON2, overriding pkg-config
REDLAND_CFLAGS
C compiler flags for REDLAND, overriding pkg-config
REDLAND_LIBS
linker flags for REDLAND, overriding pkg-config
HUNSPELL_CFLAGS
C compiler flags for HUNSPELL, overriding pkg-config
HUNSPELL_LIBS
linker flags for HUNSPELL, overriding pkg-config
MYTHES_CFLAGS
C compiler flags for MYTHES, overriding pkg-config
MYTHES_LIBS linker flags for MYTHES, overriding pkg-config
COINMP_CFLAGS
C compiler flags for COINMP, overriding pkg-config
COINMP_LIBS linker flags for COINMP, overriding pkg-config
COLAMD_CFLAGS
C compiler flags for COLAMD, overriding pkg-config
COLAMD_LIBS linker flags for COLAMD, overriding pkg-config
LIBEXTTEXTCAT_CFLAGS
C compiler flags for LIBEXTTEXTCAT, overriding pkg-config
LIBEXTTEXTCAT_LIBS
linker flags for LIBEXTTEXTCAT, overriding pkg-config
LIBNUMBERTEXT_CFLAGS
C compiler flags for LIBNUMBERTEXT, overriding pkg-config
LIBNUMBERTEXT_LIBS
linker flags for LIBNUMBERTEXT, overriding pkg-config
EPOXY_CFLAGS
C compiler flags for EPOXY, overriding pkg-config
EPOXY_LIBS linker flags for EPOXY, overriding pkg-config
GTK3_CFLAGS C compiler flags for GTK3, overriding pkg-config
GTK3_LIBS linker flags for GTK3, overriding pkg-config
GTK4_CFLAGS C compiler flags for GTK4, overriding pkg-config
GTK4_LIBS linker flags for GTK4, overriding pkg-config
ATSPI2_CFLAGS
C compiler flags for ATSPI2, overriding pkg-config
ATSPI2_LIBS linker flags for ATSPI2, overriding pkg-config
ATSPI2_2_32_CFLAGS
C compiler flags for ATSPI2_2_32, overriding pkg-config
ATSPI2_2_32_LIBS
linker flags for ATSPI2_2_32, overriding pkg-config
DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
DBUS_LIBS linker flags for DBUS, overriding pkg-config
DBUS_GLIB_CFLAGS
C compiler flags for DBUS_GLIB, overriding pkg-config
DBUS_GLIB_LIBS
linker flags for DBUS_GLIB, overriding pkg-config
GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
GIO_LIBS linker flags for GIO, overriding pkg-config
GSTREAMER_1_0_CFLAGS
C compiler flags for GSTREAMER_1_0, overriding pkg-config
GSTREAMER_1_0_LIBS
linker flags for GSTREAMER_1_0, overriding pkg-config
DCONF_CFLAGS
C compiler flags for DCONF, overriding pkg-config
DCONF_LIBS linker flags for DCONF, overriding pkg-config
OPENJPEG2_CFLAGS
C compiler flags for OPENJPEG2, overriding pkg-config
OPENJPEG2_LIBS
linker flags for OPENJPEG2, overriding pkg-config
ABSEIL_CFLAGS
C compiler flags for ABSEIL, overriding pkg-config
ABSEIL_LIBS linker flags for ABSEIL, overriding pkg-config
POPPLER_CFLAGS
C compiler flags for POPPLER, overriding pkg-config
POPPLER_LIBS
linker flags for POPPLER, overriding pkg-config
QT5_XCB_CFLAGS
C compiler flags for QT5_XCB, overriding pkg-config
QT5_XCB_LIBS
linker flags for QT5_XCB, overriding pkg-config
QT5_GOBJECT_CFLAGS
C compiler flags for QT5_GOBJECT, overriding pkg-config
QT5_GOBJECT_LIBS
linker flags for QT5_GOBJECT, overriding pkg-config
QT6_XCB_CFLAGS
C compiler flags for QT6_XCB, overriding pkg-config
QT6_XCB_LIBS
linker flags for QT6_XCB, overriding pkg-config
GOBJECT_CFLAGS
C compiler flags for GOBJECT, overriding pkg-config
GOBJECT_LIBS
linker flags for GOBJECT, overriding pkg-config
CAIRO_CFLAGS
C compiler flags for CAIRO, overriding pkg-config
CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
AVAHI_CFLAGS
C compiler flags for AVAHI, overriding pkg-config
AVAHI_LIBS linker flags for AVAHI, overriding pkg-config
LIBLANGTAG_CFLAGS
C compiler flags for LIBLANGTAG, overriding pkg-config
LIBLANGTAG_LIBS
linker flags for LIBLANGTAG, overriding pkg-config
LIBPNG_CFLAGS
C compiler flags for LIBPNG, overriding pkg-config
LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
LIBTIFF_CFLAGS
C compiler flags for LIBTIFF, overriding pkg-config
LIBTIFF_LIBS
linker flags for LIBTIFF, overriding pkg-config
LIBWEBP_CFLAGS
C compiler flags for LIBWEBP, overriding pkg-config
LIBWEBP_LIBS
linker flags for LIBWEBP, overriding pkg-config
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to the package provider.
LibreOffice home page: <http://documentfoundation.org/>.
_ACEOF
ac_status=$?
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
test -d "$ac_dir" ||
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
continue
ac_builddir=.
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
# A ".." for each directory in $ac_dir_suffix.
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
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
case $srcdir in
.) # We are building in place.
ac_srcdir=.
ac_top_srcdir=$ac_top_builddir_sub
ac_abs_top_srcdir=$ac_pwd ;;
[\\/]* | ?:[\\/]* ) # Absolute name.
ac_srcdir=$srcdir$ac_dir_suffix;
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 ;;
esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
cd "$ac_dir" || { ac_status=$?; continue; }
# Check for configure.gnu first; this name is used for a wrapper for
# Metaconfig's "Configure" on case-insensitive file systems.
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
else
printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
fi || ac_status=$?
cd "$ac_pwd" || { ac_status=$?; break; }
done
fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
LibreOffice configure 25.8.3.2
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
_ACEOF
exit
fi
## ------------------------ ##
## Autoconf initialization. ##
## ------------------------ ##
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_compile ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
rm -f conftest.$ac_objext conftest.beam
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\""
printf "%s\n" "$ac_try_echo"; } >&5
(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
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext
then :
ac_retval=0
else $as_nop
printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
fi
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
} # ac_fn_c_try_compile
# 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
else $as_nop
printf "%s\n" "$as_me: program exited with status $ac_status" >&5
printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=$ac_status
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_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
{ 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
else $as_nop
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
#include <$2>
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
eval "$3=yes"
else $as_nop
eval "$3=no"
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
eval ac_res=\$$3
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_check_header_compile
# ac_fn_c_try_link LINENO
# -----------------------
# Try to link conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_link ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
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>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
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext && {
test "$cross_compiling" = yes ||
test -x conftest$ac_exeext
}
then :
ac_retval=0
else $as_nop
printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
fi
# 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
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
} # ac_fn_c_try_link
# 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
{ 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
else $as_nop
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* 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
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $2 (); below. */
#include <limits.h>
#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
char $2 ();
/* 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
int
main (void)
{
return $2 ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
eval "$3=yes"
else $as_nop
eval "$3=no"
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
fi
eval ac_res=\$$3
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_check_func
# 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
rm -f conftest.$ac_objext conftest.beam
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\""
printf "%s\n" "$ac_try_echo"; } >&5
(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
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && {
test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext
then :
ac_retval=0
else $as_nop
printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
fi
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
} # ac_fn_cxx_try_compile
# ac_fn_cxx_try_cpp LINENO
# ------------------------
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
ac_fn_cxx_try_cpp ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
if { { ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } > conftest.i && {
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
test ! -s conftest.err
}
then :
ac_retval=0
else $as_nop
printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
fi
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
} # ac_fn_cxx_try_cpp
# ac_fn_c_try_cpp LINENO
# ----------------------
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_cpp ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
if { { ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } > conftest.i && {
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
test ! -s conftest.err
}
then :
ac_retval=0
else $as_nop
printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
fi
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
} # ac_fn_c_try_cpp
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
# --------------------------------------------
# Tries to find the compile-time value of EXPR in a program that includes
# INCLUDES, setting VAR accordingly. Returns whether the value could be
# computed
ac_fn_c_compute_int ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
if test "$cross_compiling" = yes; then
# Depending upon the size, compute the lo and hi bounds.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
main (void)
{
static int test_array [1 - 2 * !(($2) >= 0)];
test_array [0] = 0;
return test_array [0];
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_lo=0 ac_mid=0
while :; do
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
main (void)
{
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
test_array [0] = 0;
return test_array [0];
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_hi=$ac_mid; break
else $as_nop
as_fn_arith $ac_mid + 1 && ac_lo=$as_val
if test $ac_lo -le $ac_mid; then
ac_lo= ac_hi=
break
fi
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
done
else $as_nop
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
main (void)
{
static int test_array [1 - 2 * !(($2) < 0)];
test_array [0] = 0;
return test_array [0];
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_hi=-1 ac_mid=-1
while :; do
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
main (void)
{
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
test_array [0] = 0;
return test_array [0];
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_lo=$ac_mid; break
else $as_nop
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
if test $ac_mid -le $ac_hi; then
ac_lo= ac_hi=
break
fi
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
done
else $as_nop
ac_lo= ac_hi=
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
# Binary search between lo and hi bounds.
while test "x$ac_lo" != "x$ac_hi"; do
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
int
main (void)
{
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
test_array [0] = 0;
return test_array [0];
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_hi=$ac_mid
else $as_nop
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
done
case $ac_lo in #((
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
'') ac_retval=1 ;;
esac
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
static long int longval (void) { return $2; }
static unsigned long int ulongval (void) { return $2; }
#include <stdio.h>
#include <stdlib.h>
int
main (void)
{
FILE *f = fopen ("conftest.val", "w");
if (! f)
return 1;
if (($2) < 0)
{
long int i = longval ();
if (i != ($2))
return 1;
fprintf (f, "%ld", i);
}
else
{
unsigned long int i = ulongval ();
if (i != ($2))
return 1;
fprintf (f, "%lu", i);
}
/* Do not output a trailing newline, as this causes \r\n confusion
on some platforms. */
return ferror (f) || fclose (f) != 0;
;
return 0;
}
_ACEOF
if ac_fn_c_try_run "$LINENO"
then :
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
else $as_nop
ac_retval=1
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext
rm -f conftest.val
fi
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
} # ac_fn_c_compute_int
# ac_fn_cxx_try_link LINENO
# -------------------------
# Try to link conftest.$ac_ext, and return whether this succeeded.
ac_fn_cxx_try_link ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
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>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
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && {
test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext && {
test "$cross_compiling" = yes ||
test -x conftest$ac_exeext
}
then :
ac_retval=0
else $as_nop
printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
fi
# 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
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
} # ac_fn_cxx_try_link
# ac_fn_cxx_try_run LINENO
# ------------------------
# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
# executables *can* be run.
ac_fn_cxx_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
else $as_nop
printf "%s\n" "$as_me: program exited with status $ac_status" >&5
printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=$ac_status
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_cxx_try_run
# ac_fn_cxx_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_cxx_check_header_compile ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
{ 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
else $as_nop
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$4
#include <$2>
_ACEOF
if ac_fn_cxx_try_compile "$LINENO"
then :
eval "$3=yes"
else $as_nop
eval "$3=no"
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
eval ac_res=\$$3
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_cxx_check_header_compile
# 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 ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
{ 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
else $as_nop
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$5
int
main (void)
{
static $2 ac_aggr;
if (ac_aggr.$3)
return 0;
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
eval "$4=yes"
else $as_nop
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$5
int
main (void)
{
static $2 ac_aggr;
if (sizeof ac_aggr.$3)
return 0;
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
eval "$4=yes"
else $as_nop
eval "$4=no"
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
eval ac_res=\$$4
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_check_member
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
cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by LibreOffice $as_me 25.8.3.2, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
_ACEOF
exec 5>>config.log
{
cat <<_ASUNAME
## --------- ##
## Platform. ##
## --------- ##
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`
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
/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
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
printf "%s\n" "PATH: $as_dir"
done
IFS=$as_save_IFS
} >&5
cat >&5 <<_ACEOF
## ----------- ##
## Core tests. ##
## ----------- ##
_ACEOF
# 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 ;;
*\'*)
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
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=$?
# Sanitize IFS.
IFS=" "" $as_nl"
# Save into config.log some information that might help in debugging.
{
echo
printf "%s\n" "## ---------------- ##
## 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 #(
*_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;} ;;
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
printf "%s\n" "## ----------------- ##
## Output variables. ##
## ----------------- ##"
echo
for ac_var in $ac_subst_vars
do
eval ac_val=\$$ac_var
case $ac_val in
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
esac
printf "%s\n" "$ac_var='\''$ac_val'\''"
done | sort
echo
if test -n "$ac_subst_files"; then
printf "%s\n" "## ------------------- ##
## File substitutions. ##
## ------------------- ##"
echo
for ac_var in $ac_subst_files
do
eval ac_val=\$$ac_var
case $ac_val in
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
esac
printf "%s\n" "$ac_var='\''$ac_val'\''"
done | sort
echo
fi
if test -s confdefs.h; then
printf "%s\n" "## ----------- ##
## confdefs.h. ##
## ----------- ##"
echo
cat confdefs.h
echo
fi
test "$ac_signal" != 0 &&
printf "%s\n" "$as_me: caught signal $ac_signal"
printf "%s\n" "$as_me: exit $exit_status"
} >&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
printf "%s\n" "/* confdefs.h */" > confdefs.h
# Predefined preprocessor variables.
printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
# 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
ac_site_files="$CONFIG_SITE"
elif test "x$prefix" != xNONE; then
ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
else
ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
fi
for ac_site_file in $ac_site_files
do
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;}
sed 's/^/| /' "$ac_site_file" >&5
. "$ac_site_file" \
|| { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "failed to load site script $ac_site_file
See \`config.log' for more details" "$LINENO" 5; }
fi
done
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
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
case $cache_file in
[\\/]* | ?:[\\/]* ) . "$cache_file";;
*) . "./$cache_file";;
esac
fi
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
# 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);
static char *e (p, i)
char **p;
int i;
{
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;
}
/* 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='
// Does the compiler advertise C99 conformance?
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
# error "Compiler does not advertise C99 conformance"
#endif
#include <stdbool.h>
extern int puts (const char *);
extern int printf (const char *, ...);
extern int dprintf (int, const char *, ...);
extern void *malloc (size_t);
// 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)
{
// See if C++-style comments work.
// 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;
// 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='
// Does the compiler advertise C11 conformance?
#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;
}
"
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"
# 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;
}
"
# Auxiliary files required by this configure script.
ac_aux_files="config.guess config.sub"
# Locations in which to look for auxiliary files.
ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
# 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 :
else $as_nop
as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
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,)
{ 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;}
ac_cache_corrupted=: ;;
,set)
{ 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;}
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
{ 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;}
ac_cache_corrupted=:
else
{ 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;}
eval $ac_var=\$ac_old_val
fi
{ 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;}
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
done
if $ac_cache_corrupted; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
{ 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;}
as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
and start over" "$LINENO" 5
fi
## -------------------- ##
## Main body of script. ##
## -------------------- ##
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
if test -n "$BUILD_TYPE"; then
as_fn_error $? "You have sourced config_host.mk in this shell. This may lead to trouble, please run in a fresh (login) shell." "$LINENO" 5
fi
save_CC=$CC
save_CXX=$CXX
first_arg_basename()
{
for i in $1; do
basename "$i"
break
done
}
CC_BASE=`first_arg_basename "$CC"`
CXX_BASE=`first_arg_basename "$CXX"`
BUILD_TYPE="LibO"
SCPDEFS=""
GIT_NEEDED_SUBMODULES=""
LO_PATH= # used by path_munge to construct a PATH variable
FilterLibs()
{
# Return value: $filteredlibs
filteredlibs=
if test "$COM" = "MSC"; then
for f in $1; do
if test "x$f" != "x${f#-L}"; then
filteredlibs="$filteredlibs -LIBPATH:${f:2}"
elif test "x$f" != "x${f#-l}"; then
filteredlibs="$filteredlibs ${f:2}.lib"
else
filteredlibs="$filteredlibs $f"
fi
done
else
for f in $1; do
case "$f" in
# let's start with Fedora's paths for now
-L/lib|-L/lib/|-L/lib64|-L/lib64/|-L/usr/lib|-L/usr/lib/|-L/usr/lib64|-L/usr/lib64/)
# ignore it: on UNIXoids it is searched by default anyway
# but if it's given explicitly then it may override other paths
# (on macOS it would be an error to use it instead of SDK)
;;
*)
filteredlibs="$filteredlibs $f"
;;
esac
done
fi
}
PathFormat()
{
# Args: $1: A pathname. On Cygwin and WSL, in either the Unix or the Windows format. Note that this
# function is called also on Unix.
#
# Return value: $formatted_path and $formatted_path_unix.
#
# $formatted_path is the argument in Windows format, but using forward slashes instead of
# backslashes, using 8.3 pathname components if necessary (if it otherwise would contains spaces
# or shell metacharacters).
#
# $formatted_path_unix is the argument in a form usable in Cygwin or WSL, using 8.3 components if
# necessary. On Cygwin, it is the same as $formatted_path, but on WSL it is $formatted_path as a
# Unix pathname.
#
# Errors out if 8.3 names are needed but aren't present for some of the path components.
# Examples:
#
# /home/tml/lo/master-optimised => C:/cygwin64/home/tml/lo/master-optimised
#
# C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe => C:/PROGRA~2/MICROS~3/INSTAL~1/vswhere.exe
#
# C:\Program Files (x86)\Microsoft Visual Studio\2019\Community => C:/PROGRA~2/MICROS~3/2019/COMMUN~1
#
# C:/PROGRA~2/WI3CF2~1/10/Include/10.0.18362.0/ucrt => C:/PROGRA~2/WI3CF2~1/10/Include/10.0.18362.0/ucrt
#
# /cygdrive/c/PROGRA~2/WI3CF2~1/10 => C:/PROGRA~2/WI3CF2~1/10
#
# C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\ => C:/PROGRA~2/WI3CF2~1/NETFXSDK/4.8/
#
# /usr/bin/find.exe => C:/cygwin64/bin/find.exe
if test -z "$1"; then
formatted_path=""
formatted_path_unix=""
return
fi
if test -n "$UNITTEST_WSL_PATHFORMAT"; then
printf "PathFormat $1 ==> "
fi
formatted_path="$1"
if test "$build_os" = "cygwin" -o "$build_os" = "wsl"; then
if test "$build_os" = "wsl"; then
formatted_path=$(echo "$formatted_path" | tr -d '\r')
fi
pf_conv_to_dos=
# spaces,parentheses,brackets,braces are problematic in pathname
# so are backslashes
case "$formatted_path" in
*\ * | *\)* | *\(* | *\{* | *\}* | *\* | *\* | *\\* )
pf_conv_to_dos="yes"
;;
esac
if test "$pf_conv_to_dos" = "yes"; then
if test "$build_os" = "wsl"; then
case "$formatted_path" in
/*)
formatted_path=$(wslpath -w "$formatted_path")
;;
esac
formatted_path=$($WSL_LO_HELPER --8.3 "$formatted_path")
elif test "$GNUMAKE_WIN_NATIVE" = "TRUE" ; then
formatted_path=`cygpath -sm "$formatted_path"`
else
formatted_path=`cygpath -d "$formatted_path"`
fi
if test $? -ne 0; then
as_fn_error $? "path conversion failed for \"$1\"." "$LINENO" 5
fi
fi
fp_count_colon=`echo "$formatted_path" | $GREP -c ":"`
fp_count_slash=`echo "$formatted_path" | $GREP -c "/"`
if test "$fp_count_slash$fp_count_colon" != "00"; then
if test "$fp_count_colon" = "0"; then
new_formatted_path=`realpath "$formatted_path"`
if test $? -ne 0; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: realpath failed for \"$formatted_path\", not necessarily a problem." >&5
printf "%s\n" "$as_me: WARNING: realpath failed for \"$formatted_path\", not necessarily a problem." >&2;}
else
formatted_path="$new_formatted_path"
fi
fi
if test "$build_os" = "wsl"; then
if test "$fp_count_colon" != "0"; then
formatted_path=$(wslpath "$formatted_path")
local final_slash=
case "$formatted_path" in
*/)
final_slash=/
;;
esac
formatted_path=$(wslpath -m $formatted_path)
case "$formatted_path" in
*/)
;;
*)
formatted_path="$formatted_path"$final_slash
;;
esac
else
formatted_path=$(wslpath -m "$formatted_path")
fi
else
formatted_path=`cygpath -m "$formatted_path"`
fi
if test $? -ne 0; then
as_fn_error $? "path conversion failed for \"$1\"." "$LINENO" 5
fi
fi
fp_count_space=`echo "$formatted_path" | $GREP -c " "`
if test "$fp_count_space" != "0"; then
as_fn_error $? "converted path \"$formatted_path\" still contains spaces. Short filenames (8.3 filenames) support was disabled on this system?" "$LINENO" 5
fi
fi
if test "$build_os" = "wsl"; then
# WSL can't run Windows binaries from Windows pathnames so we need a separate return value in Unix format
formatted_path_unix=$(wslpath "$formatted_path")
else
# But Cygwin can
formatted_path_unix="$formatted_path"
fi
if test -n "$WSL_ONLY_AS_HELPER"; then
# if already in unix format, switch to windows format to create shortened path
case "$formatted_path" in
/*)
formatted_path=$(wslpath -m "$formatted_path")
;;
esac
# cd to /mnt/c to avoid wsl/cmd complaining about not supporting UNC paths/the current working directory
formatted_path_unix=$(wslpath -u "$(cd /mnt/c; cmd.exe /c $shortpath_cmd "$formatted_path" | tr -d '\r')")
# WSL can't run Windows binaries from Windows pathnames so we need a separate return value in Unix format
formatted_path=$(wslpath -m "$formatted_path_unix")
fi
}
AbsolutePath()
{
# There appears to be no simple and portable method to get an absolute and
# canonical path, so we try creating the directory if does not exist and
# utilizing the shell and pwd.
# Args: $1: A possibly relative pathname
# Return value: $absolute_path
# Convert to unix path, mkdir would treat c:/path as a relative path.
PathFormat "$1"
local rel="$formatted_path_unix"
absolute_path=""
test ! -e "$rel" && mkdir -p "$rel"
if test -d "$rel" ; then
cd "$rel" || as_fn_error $? "absolute path resolution failed for \"$rel\"." "$LINENO" 5
absolute_path="$(pwd)"
cd - > /dev/null
else
as_fn_error $? "Failed to resolve absolute path. \"$rel\" does not exist or is not a directory." "$LINENO" 5
fi
}
WARNINGS_FILE=config.warn
WARNINGS_FILE_FOR_BUILD=config.Build.warn
rm -f "$WARNINGS_FILE" "$WARNINGS_FILE_FOR_BUILD"
have_WARNINGS="no"
add_warning()
{
if test "$have_WARNINGS" = "no"; then
echo "*************************************" > "$WARNINGS_FILE"
have_WARNINGS="yes"
if command -v tput >/dev/null && test "`tput colors 2>/dev/null || echo 0`" -ge 8; then
COLORWARN='*[1;33;40m WARNING [0m:'
else
COLORWARN="* WARNING :"
fi
fi
echo "$COLORWARN $@" >> "$WARNINGS_FILE"
}
mac_sanitize_path()
{
mac_path="$LODE_HOME/opt/bin:/usr/bin:/bin:/usr/sbin:/sbin"
mac_git_path=`command -v git`
if test -n "$mac_git_path" -a -x "$mac_git_path" -a "$mac_git_path" != "/usr/bin/git" ; then
mac_path="$mac_path:`dirname $mac_git_path`"
fi
mac_gpg_path=`command -v gpg`
if test -n "$mac_gpg_path" -a -x "$mac_gpg_path" -a "$mac_gpg_path" != "/usr/bin/gpg" ; then
mac_path="$mac_path:`dirname $mac_gpg_path`"
fi
PATH="$mac_path"
unset mac_path
unset mac_git_path
unset mac_gpg_path
}
check_semantic_version_three()
{
test "$4" -gt "$1" \
-o \( "$4" -eq "$1" -a "$5" -gt "$2" \) \
-o \( "$4" -eq "$1" -a "$5" -eq "$2" -a "$6" -ge "$3" \)
return $?
}
check_semantic_version_three_prefixed()
{
eval local MIN_MAJOR="\$${1}_${2}_MAJOR"
eval local MIN_MINOR="\$${1}_${2}_MINOR"
eval local MIN_TINY="\$${1}_${2}_TINY"
eval local CUR_MAJOR="\$${1}_MAJOR"
eval local CUR_MINOR="\$${1}_MINOR"
eval local CUR_TINY="\$${1}_TINY"
check_semantic_version_three $MIN_MAJOR $MIN_MINOR $MIN_TINY $CUR_MAJOR $CUR_MINOR $CUR_TINY
return $?
}
echo "********************************************************************"
echo "*"
echo "* Running ${PACKAGE_NAME} build configuration."
echo "*"
echo "********************************************************************"
echo ""
# are we running in wsl but are called from git-bash/env with mingw64 or clangarm64 in path?
# if so, we aim to run nearly everything in the Windows realm, and only run autogen/configure
# in wsl and run a few tools via wsl
WSL_ONLY_AS_HELPER=
if test -n "$WSL_DISTRO_NAME" && $(echo $PATH |grep -q -e mingw64 -e clangarm64); then
WSL_ONLY_AS_HELPER=TRUE
# Check whether --with-strawberry-perl-portable was given.
if test ${with_strawberry_perl_portable+y}
then :
withval=$with_strawberry_perl_portable;
else $as_nop
as_fn_error $? "for the moment strawberry-perl-portable is a requirement, feel free to replace it" "$LINENO" 5
fi
shortpath_cmd=$(wslpath -m $srcdir/solenv/bin/shortpath.cmd)
PathFormat "$with_strawberry_perl_portable"
if test ! -f "$formatted_path_unix/perl/bin/perl.exe" -o ! -d "$formatted_path_unix/c/bin"; then
as_fn_error $? "$formatted_path doesn't contain perl or the utilities - sure you provided the base path?" "$LINENO" 5
fi
STRAWBERRY_TOOLS="$formatted_path/c/bin"
STRAWBERRY_PERL="$formatted_path/perl/bin/perl.exe"
STRAWBERRY_PERL_UNIX="$formatted_path_unix/perl/bin/perl.exe"
# Check whether --with-wsl-command was given.
if test ${with_wsl_command+y}
then :
withval=$with_wsl_command;
else $as_nop
with_wsl_command="wsl.exe"
fi
WSL="$with_wsl_command"
fi
# Check for WSL (version 2, at least). But if --host is explicitly specified (to really do build for
# Linux on WSL) trust that.
if test -z "$host" -a -z "$build" -a "`wslsys -v 2>/dev/null`" != ""; then
ac_cv_host="x86_64-pc-wsl"
ac_cv_host_cpu="x86_64"
ac_cv_host_os="wsl"
ac_cv_build="$ac_cv_host"
ac_cv_build_cpu="$ac_cv_host_cpu"
ac_cv_build_os="$ac_cv_host_os"
# Emulation of Cygwin's cygpath command for WSL.
cygpath()
{
if test -n "$UNITTEST_WSL_CYGPATH"; then
echo -n cygpath "$@" "==> "
fi
# Cygwin's real cygpath has a plethora of options but we use only a few here.
local args="$@"
local opt
local opt_d opt_m opt_u opt_w opt_l opt_s opt_p
OPTIND=1
while getopts dmuwlsp opt; do
case "$opt" in
\?)
as_fn_error $? "Unimplemented cygpath emulation option in invocation: cygpath $args" "$LINENO" 5
;;
?)
eval opt_$opt=yes
;;
esac
done
shift $((OPTIND-1))
if test $# -ne 1; then
as_fn_error $? "Invalid cygpath emulation invocation: Pathname missing" "$LINENO" 5;
fi
local input="$1"
local result
if test -n "$opt_d" -o -n "$opt_m" -o -n "$opt_w"; then
# Print Windows path, possibly in 8.3 form (-d) or with forward slashes (-m)
if test -n "$opt_u"; then
as_fn_error $? "Invalid cygpath invocation: Both Windows and Unix path output requested" "$LINENO" 5
fi
case "$input" in
/mnt/*)
# A Windows file in WSL format
input=$(wslpath -w "$input")
;;
[a-zA-Z]:\\* | \\* | [a-zA-Z]:/* | /*)
# Already in Windows format
;;
/*)
input=$(wslpath -w "$input")
;;
*)
as_fn_error $? "Invalid cygpath invocation: Path '$input' is not absolute" "$LINENO" 5
;;
esac
if test -n "$opt_d" -o -n "$opt_s"; then
input=$($WSL_LO_HELPER --8.3 "$input")
fi
if test -n "$opt_m"; then
input="${input//\\//}"
fi
echo "$input"
else
# Print Unix path
case "$input" in
[a-zA-Z]:\\* | \\* | [a-zA-Z]:/* | /*)
wslpath -u "$input"
;;
/)
echo "$input"
;;
*)
as_fn_error $? "Invalid cygpath invocation: Path '$input' is not absolute" "$LINENO" 5
;;
esac
fi
}
if test -n "$UNITTEST_WSL_CYGPATH"; then
BUILDDIR=.
# Nothing special with these file names, just arbitrary ones picked to test with
cygpath -d /usr/lib64/ld-linux-x86-64.so.2
cygpath -w /usr/lib64/ld-linux-x86-64.so.2
cygpath -m /usr/lib64/ld-linux-x86-64.so.2
cygpath -m -s /usr/lib64/ld-linux-x86-64.so.2
# At least on my machine for instance this file does have an 8.3 name
cygpath -d /mnt/c/windows/WindowsUpdate.log
# But for instance this one doesn't
cygpath -w /mnt/c/windows/system32/AboutSettingsHandlers.dll
cygpath -ws /mnt/c/windows/WindowsUpdate.log
cygpath -m /mnt/c/windows/system32/AboutSettingsHandlers.dll
cygpath -ms /mnt/c/windows/WindowsUpdate.log
cygpath -u 'c:\windows\system32\AboutSettingsHandlers.dll'
cygpath -u 'c:/windows/system32/AboutSettingsHandlers.dll'
exit 0
fi
if test -z "$WSL_LO_HELPER"; then
if test -n "$LODE_HOME" -a -x "$LODE_HOME/opt/bin/wsl-lo-helper" ; then
WSL_LO_HELPER="$LODE_HOME/opt/bin/wsl-lo-helper"
elif test -x "/opt/lo/bin/wsl-lo-helper"; then
WSL_LO_HELPER="/opt/lo/bin/wsl-lo-helper"
fi
fi
if test -z "$WSL_LO_HELPER"; then
as_fn_error $? "wsl-lo-helper not found. See solenv/wsl/README." "$LINENO" 5
fi
fi
# 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
else $as_nop
ac_build_alias=$build_alias
test "x$ac_build_alias" = x &&
ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
test "x$ac_build_alias" = x &&
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
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
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
printf "%s\n" "$ac_cv_build" >&6; }
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
{ 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
else $as_nop
if test "x$host_alias" = x; then
ac_cv_host=$ac_cv_build
else
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
fi
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
printf "%s\n" "$ac_cv_host" >&6; }
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
if test -n "$UNITTEST_WSL_PATHFORMAT"; then
BUILDDIR=.
GREP=grep
# Use of PathFormat must be after AC_CANONICAL_BUILD above
PathFormat /
printf "$formatted_path , $formatted_path_unix\n"
PathFormat $PWD
printf "$formatted_path , $formatted_path_unix\n"
PathFormat "$PROGRAMFILESX86"
printf "$formatted_path , $formatted_path_unix\n"
exit 0
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for product name" >&5
printf %s "checking for product name... " >&6; }
PRODUCTNAME="LibreOffice"
if test -n "$with_product_name" -a "$with_product_name" != no; then
PRODUCTNAME="$with_product_name"
fi
if test "$enable_release_build" = "" -o "$enable_release_build" = "no"; then
PRODUCTNAME="${PRODUCTNAME}Dev"
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRODUCTNAME" >&5
printf "%s\n" "$PRODUCTNAME" >&6; }
PRODUCTNAME_WITHOUT_SPACES=$(printf %s "$PRODUCTNAME" | sed 's/ //g')
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for package version" >&5
printf %s "checking for package version... " >&6; }
if test -n "$with_package_version" -a "$with_package_version" != no; then
PACKAGE_VERSION="$with_package_version"
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PACKAGE_VERSION" >&5
printf "%s\n" "$PACKAGE_VERSION" >&6; }
set `echo "$PACKAGE_VERSION" | sed "s/\./ /g"`
LIBO_VERSION_MAJOR=$1
LIBO_VERSION_MINOR=$2
LIBO_VERSION_MICRO=$3
LIBO_VERSION_PATCH=$4
LIBO_VERSION_SUFFIX=$5
# Split out LIBO_VERSION_SUFFIX_SUFFIX... horrible crack. But apparently wanted separately in
# openoffice.lst as ABOUTBOXPRODUCTVERSIONSUFFIX. Note that the double brackets are for m4's sake,
# they get undoubled before actually passed to sed.
LIBO_VERSION_SUFFIX_SUFFIX=`echo "$LIBO_VERSION_SUFFIX" | sed -e 's/.*[a-zA-Z0-9]\([^a-zA-Z0-9]*\)$/\1/'`
test -n "$LIBO_VERSION_SUFFIX_SUFFIX" && LIBO_VERSION_SUFFIX="${LIBO_VERSION_SUFFIX%${LIBO_VERSION_SUFFIX_SUFFIX}}"
# LIBO_VERSION_SUFFIX, if non-empty, should include the period separator
test -n "$LIBO_VERSION_SUFFIX" && LIBO_VERSION_SUFFIX=".$LIBO_VERSION_SUFFIX"
# The value for key CFBundleVersion in the Info.plist file must be a period-separated list of at most
# three non-negative integers. Please find more information about CFBundleVersion at
# https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion
# The value for key CFBundleShortVersionString in the Info.plist file must be a period-separated list
# of at most three non-negative integers. Please find more information about
# CFBundleShortVersionString at
# https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring
# But that is enforced only in the App Store, and we apparently want to break the rules otherwise.
if test "$enable_macosx_sandbox" = yes; then
MACOSX_BUNDLE_SHORTVERSION=$LIBO_VERSION_MAJOR.$LIBO_VERSION_MINOR.`expr $LIBO_VERSION_MICRO '*' 1000 + $LIBO_VERSION_PATCH`
MACOSX_BUNDLE_VERSION=$MACOSX_BUNDLE_SHORTVERSION
else
MACOSX_BUNDLE_SHORTVERSION=$LIBO_VERSION_MAJOR.$LIBO_VERSION_MINOR.$LIBO_VERSION_MICRO.$LIBO_VERSION_PATCH
MACOSX_BUNDLE_VERSION=$MACOSX_BUNDLE_SHORTVERSION$LIBO_VERSION_SUFFIX
fi
printf "%s\n" "#define LIBO_VERSION_MAJOR $LIBO_VERSION_MAJOR" >>confdefs.h
printf "%s\n" "#define LIBO_VERSION_MINOR $LIBO_VERSION_MINOR" >>confdefs.h
printf "%s\n" "#define LIBO_VERSION_MICRO $LIBO_VERSION_MICRO" >>confdefs.h
printf "%s\n" "#define LIBO_VERSION_PATCH $LIBO_VERSION_PATCH" >>confdefs.h
git_date=`git log -1 --pretty=format:"%cd" --date=format:'%Y' 2>/dev/null`
LIBO_THIS_YEAR=${git_date:-2025}
printf "%s\n" "#define LIBO_THIS_YEAR $LIBO_THIS_YEAR" >>confdefs.h
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for product version" >&5
printf %s "checking for product version... " >&6; }
PRODUCTVERSION="$LIBO_VERSION_MAJOR.$LIBO_VERSION_MINOR"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRODUCTVERSION" >&5
printf "%s\n" "$PRODUCTVERSION" >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
printf %s "checking for grep that handles long lines and -e... " >&6; }
if test ${ac_cv_path_GREP+y}
then :
printf %s "(cached) " >&6
else $as_nop
if test -z "$GREP"; then
ac_path_GREP_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$PATH_SEPARATOR/usr/xpg4/bin
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
for ac_prog in grep ggrep
do
for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
as_fn_executable_p "$ac_path_GREP" || continue
# Check for GNU ac_path_GREP and select it if it is found.
# Check for GNU $ac_path_GREP
case `"$ac_path_GREP" --version 2>&1` in
*GNU*)
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
*)
ac_count=0
printf %s 0123456789 >"conftest.in"
while :
do
cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl"
printf "%s\n" 'GREP' >> "conftest.nl"
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "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_GREP_max-0}; then
# Best one so far, save it but keep looking for a better one
ac_cv_path_GREP="$ac_path_GREP"
ac_path_GREP_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;;
esac
$ac_path_GREP_found && break 3
done
done
done
IFS=$as_save_IFS
if test -z "$ac_cv_path_GREP"; then
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
fi
else
ac_cv_path_GREP=$GREP
fi
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
printf "%s\n" "$ac_cv_path_GREP" >&6; }
GREP="$ac_cv_path_GREP"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
printf %s "checking for egrep... " >&6; }
if test ${ac_cv_path_EGREP+y}
then :
printf %s "(cached) " >&6
else $as_nop
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
then ac_cv_path_EGREP="$GREP -E"
else
if test -z "$EGREP"; then
ac_path_EGREP_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$PATH_SEPARATOR/usr/xpg4/bin
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
for ac_prog in egrep
do
for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
as_fn_executable_p "$ac_path_EGREP" || continue
# Check for GNU ac_path_EGREP and select it if it is found.
# Check for GNU $ac_path_EGREP
case `"$ac_path_EGREP" --version 2>&1` in
*GNU*)
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
*)
ac_count=0
printf %s 0123456789 >"conftest.in"
while :
do
cat "conftest.in" "conftest.in" >"conftest.tmp"
mv "conftest.tmp" "conftest.in"
cp "conftest.in" "conftest.nl"
printf "%s\n" 'EGREP' >> "conftest.nl"
"$ac_path_EGREP" 'EGREP$' < "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_EGREP_max-0}; then
# Best one so far, save it but keep looking for a better one
ac_cv_path_EGREP="$ac_path_EGREP"
ac_path_EGREP_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;;
esac
$ac_path_EGREP_found && break 3
done
done
done
IFS=$as_save_IFS
if test -z "$ac_cv_path_EGREP"; then
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
fi
else
ac_cv_path_EGREP=$EGREP
fi
fi
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
printf "%s\n" "$ac_cv_path_EGREP" >&6; }
EGREP="$ac_cv_path_EGREP"
# AC_PROG_EGREP doesn't set GREP on all systems as well
# Extract the first word of "grep", so it can be a program name with args.
set dummy grep; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_path_GREP+y}
then :
printf %s "(cached) " >&6
else $as_nop
case $GREP in
[\\/]* | ?:[\\/]*)
ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
ac_cv_path_GREP="$as_dir$ac_word$ac_exec_ext"
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
GREP=$ac_cv_path_GREP
if test -n "$GREP"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GREP" >&5
printf "%s\n" "$GREP" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
BUILDDIR=`pwd`
cd $srcdir
SRC_ROOT=`pwd`
cd $BUILDDIR
x_Cygwin=\#
INTROSPECTION_REQUIRED_VERSION=1.32.0
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU Make" >&5
printf %s "checking for GNU Make... " >&6; }
# try to use our own make if it is available and GNUMAKE was not already defined
if test -z "$GNUMAKE"; then
if test -n "$LODE_HOME" -a -x "$LODE_HOME/opt/bin/make" ; then
GNUMAKE="$LODE_HOME/opt/bin/make"
elif test -x "/opt/lo/bin/make"; then
GNUMAKE="/opt/lo/bin/make"
fi
fi
GNUMAKE_WIN_NATIVE=
for a in "$MAKE" "$GNUMAKE" make gmake gnumake; do
if test -n "$a"; then
$a --version 2> /dev/null | grep GNU 2>&1 > /dev/null
if test $? -eq 0; then
if test "$build_os" = "cygwin"; then
if test -n "$($a -v | grep 'Built for Windows')" ; then
GNUMAKE="$(cygpath -m "$(command -v "$(cygpath -u $a)")")"
GNUMAKE_WIN_NATIVE="TRUE"
else
GNUMAKE=`command -v $a`
fi
else
GNUMAKE=`command -v $a`
fi
break
fi
fi
done
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GNUMAKE" >&5
printf "%s\n" "$GNUMAKE" >&6; }
if test -z "$GNUMAKE"; then
as_fn_error $? "not found. install GNU Make." "$LINENO" 5
else
if test "$GNUMAKE_WIN_NATIVE" = "TRUE" ; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using a native Win32 GNU Make version." >&5
printf "%s\n" "$as_me: Using a native Win32 GNU Make version." >&6;}
fi
fi
win_short_path_for_make()
{
local short_path="$1"
if test "$GNUMAKE_WIN_NATIVE" = "TRUE" ; then
cygpath -sm "$short_path"
elif test -n "$WSL_ONLY_AS_HELPER"; then
# when already unix-style path, wslpath doesn't return anything
case "$short_path" in
/*)
echo $short_path
exit
;;
esac
wslpath -m "$(wslpath -u "$short_path")"
else
cygpath -u "$(cygpath -d "$short_path")"
fi
}
if test "$build_os" = "cygwin"; then
PathFormat "$SRC_ROOT"
SRC_ROOT="$formatted_path"
PathFormat "$BUILDDIR"
BUILDDIR="$formatted_path"
x_Cygwin=
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit COMSPEC" >&5
printf %s "checking for explicit COMSPEC... " >&6; }
if test -z "$COMSPEC"; then
as_fn_error $? "COMSPEC not set in environment, please set it and rerun" "$LINENO" 5
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found: $COMSPEC" >&5
printf "%s\n" "found: $COMSPEC" >&6; }
fi
fi
printf "%s\n" "#define SRCDIR \"$SRC_ROOT\"" >>confdefs.h
printf "%s\n" "#define SRC_ROOT \"$SRC_ROOT\"" >>confdefs.h
printf "%s\n" "#define BUILDDIR \"$BUILDDIR\"" >>confdefs.h
if test "z$EUID" = "z0" -a "`uname -o 2>/dev/null`" = "Cygwin"; then
as_fn_error $? "You must build LibreOffice as a normal user - not using an administrative account" "$LINENO" 5
fi
# need sed in os checks...
for ac_prog in sed
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_path_SED+y}
then :
printf %s "(cached) " >&6
else $as_nop
case $SED in
[\\/]* | ?:[\\/]*)
ac_cv_path_SED="$SED" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
ac_cv_path_SED="$as_dir$ac_word$ac_exec_ext"
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
SED=$ac_cv_path_SED
if test -n "$SED"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
printf "%s\n" "$SED" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
test -n "$SED" && break
done
if test -z "$SED"; then
as_fn_error $? "install sed to run this script" "$LINENO" 5
fi
if test "$build_os" = "cygwin" -o -n "$WSL_ONLY_AS_HELPER"; then
# convenience check for a custom pkgconf used by meson - needs to be a version that uses windows
# style paths. Needs to be checked before the configure-switches that use PKG_CHECK_MODULES as
# that would already set the PKG_CONFIG var and then bypass/skip this autoselection
# Extract the first word of "pkgconf-2.4.3.exe", so it can be a program name with args.
set dummy pkgconf-2.4.3.exe; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_path_PKG_CONFIG+y}
then :
printf %s "(cached) " >&6
else $as_nop
case $PKG_CONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_dummy="$PATH:$LODE_HOME/opt/bin"
for as_dir in $as_dummy
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
if test -n "$PKG_CONFIG"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
printf "%s\n" "$PKG_CONFIG" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
if test -z "$PKG_CONFIG"; then
as_fn_error $? "
A windows version of pkgconf is required to build harfbuzz.
Add PKG_CONFIG=/path/to/pkgconf-2.4.3.exe to autogen.input or put it in PATH" "$LINENO" 5
fi
else
case "$build_os" in
darwin*)
# convenience check for LODE's custom pkgconf used by meson
# Needs to be checked before the configure-switches that use PKG_CHECK_MODULES as
# that would already set the PKG_CONFIG var and then bypass/skip this autoselection
# Extract the first word of "pkgconf", so it can be a program name with args.
set dummy pkgconf; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_path_PKG_CONFIG+y}
then :
printf %s "(cached) " >&6
else $as_nop
case $PKG_CONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_dummy="$PATH:$LODE_HOME/opt/bin"
for as_dir in $as_dummy
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
if test -n "$PKG_CONFIG"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
printf "%s\n" "$PKG_CONFIG" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
if test -z "$PKG_CONFIG"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkgconf not found - pkgconf is required to build harfbuzz" >&5
printf "%s\n" "$as_me: WARNING: pkgconf not found - pkgconf is required to build harfbuzz" >&2;}
add_warning "please add PKG_CONFIG=/path/to/pkgconf to autogen.input or put it in PATH, pkgconf is required to build harfbuzz"
fi
;;
esac
fi
# Set the ENABLE_LTO variable
# ===================================================================
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use link-time optimization" >&5
printf %s "checking whether to use link-time optimization... " >&6; }
if test -n "$enable_lto" -a "$enable_lto" != "no"; then
ENABLE_LTO="TRUE"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
else
ENABLE_LTO=""
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
# Check whether --enable-fuzz-options was given.
if test ${enable_fuzz_options+y}
then :
enableval=$enable_fuzz_options;
fi
# Check whether --with-android-ndk was given.
if test ${with_android_ndk+y}
then :
withval=$with_android_ndk;
fi
# Check whether --with-android-sdk was given.
if test ${with_android_sdk+y}
then :
withval=$with_android_sdk;
fi
# Check whether --with-android-api-level was given.
if test ${with_android_api_level+y}
then :
withval=$with_android_api_level;
fi
ANDROID_NDK_DIR=
if test -z "$with_android_ndk" -a -e "$SRC_ROOT/external/android-ndk" -a "$build" != "$host"; then
with_android_ndk="$SRC_ROOT/external/android-ndk"
fi
if test -n "$with_android_ndk"; then
eval ANDROID_NDK_DIR=$with_android_ndk
ANDROID_API_LEVEL=21
if test -n "$with_android_api_level" ; then
ANDROID_API_LEVEL="$with_android_api_level"
fi
if test $host_cpu = arm; then
LLVM_TRIPLE=armv7a-linux-androideabi
ANDROID_SYSROOT_PLATFORM=arm-linux-androideabi
ANDROID_APP_ABI=armeabi-v7a
ANDROIDCFLAGS="-mthumb -march=armv7-a -mfloat-abi=softfp -mfpu=neon -Wl,--fix-cortex-a8"
elif test $host_cpu = aarch64; then
LLVM_TRIPLE=aarch64-linux-android
ANDROID_SYSROOT_PLATFORM=$LLVM_TRIPLE
ANDROID_APP_ABI=arm64-v8a
elif test $host_cpu = x86_64; then
LLVM_TRIPLE=x86_64-linux-android
ANDROID_SYSROOT_PLATFORM=$LLVM_TRIPLE
ANDROID_APP_ABI=x86_64
else
# host_cpu is something like "i386" or "i686" I guess, NDK uses
# "x86" in some contexts
LLVM_TRIPLE=i686-linux-android
ANDROID_SYSROOT_PLATFORM=$LLVM_TRIPLE
ANDROID_APP_ABI=x86
fi
# Set up a lot of pre-canned defaults
if test ! -f $ANDROID_NDK_DIR/RELEASE.TXT; then
if test ! -f $ANDROID_NDK_DIR/source.properties; then
as_fn_error $? "Unrecognized Android NDK. Missing RELEASE.TXT or source.properties file in $ANDROID_NDK_DIR." "$LINENO" 5
fi
ANDROID_NDK_VERSION=`sed -n -e 's/Pkg.Revision = //p' $ANDROID_NDK_DIR/source.properties`
else
ANDROID_NDK_VERSION=`cut -f1 -d' ' <$ANDROID_NDK_DIR/RELEASE.TXT`
fi
if test -z "$ANDROID_NDK_VERSION"; then
as_fn_error $? "Failed to determine Android NDK version. Please check your installation." "$LINENO" 5
fi
case $ANDROID_NDK_VERSION in
r9*|r10*)
as_fn_error $? "Building for Android requires NDK version >= 27.*" "$LINENO" 5
;;
11.1.*|12.1.*|13.1.*|14.1.*|16.*|17.*|18.*|19.*|20.*|21.*|22.*|23.*|24.*|25.*|26.*)
as_fn_error $? "Building for Android requires NDK version >= 27.*" "$LINENO" 5
;;
27.*|28.*)
;;
*)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Untested Android NDK version $ANDROID_NDK_VERSION, only versions 27.* to 28.* have been used successfully. Proceed at your own risk." >&5
printf "%s\n" "$as_me: WARNING: Untested Android NDK version $ANDROID_NDK_VERSION, only versions 27.* to 28.* have been used successfully. Proceed at your own risk." >&2;}
add_warning "Untested Android NDK version $ANDROID_NDK_VERSION, only versions 27.* to 28.* have been used successfully. Proceed at your own risk."
;;
esac
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: using the Android API level... $ANDROID_API_LEVEL" >&5
printf "%s\n" "$as_me: using the Android API level... $ANDROID_API_LEVEL" >&6;}
# NDK 15 or later toolchain is 64bit-only, except for Windows that we don't support. Using a 64-bit
# linker is required if you compile large parts of the code with -g. A 32-bit linker just won't
# manage to link the (app-specific) single huge .so that is built for the app in
# android/source/ if there is debug information in a significant part of the object files.
# (A 64-bit ld.gold grows too much over 10 gigabytes of virtual space when linking such a .so if
# all objects have been built with debug information.)
case $build_os in
linux-gnu*)
android_HOST_TAG=linux-x86_64
;;
darwin*)
android_HOST_TAG=darwin-x86_64
;;
*)
as_fn_error $? "We only support building for Android from Linux or macOS" "$LINENO" 5
# ndk would also support windows and windows-x86_64
;;
esac
ANDROID_TOOLCHAIN=$ANDROID_NDK_DIR/toolchains/llvm/prebuilt/$android_HOST_TAG
ANDROID_COMPILER_BIN=$ANDROID_TOOLCHAIN/bin
test -z "$AR" && AR=$ANDROID_COMPILER_BIN/llvm-ar
test -z "$NM" && NM=$ANDROID_COMPILER_BIN/llvm-nm
test -z "$OBJDUMP" && OBJDUMP=$ANDROID_COMPILER_BIN/llvm-objdump
test -z "$RANLIB" && RANLIB=$ANDROID_COMPILER_BIN/llvm-ranlib
test -z "$STRIP" && STRIP=$ANDROID_COMPILER_BIN/llvm-strip
ANDROIDCFLAGS="$ANDROIDCFLAGS -target ${LLVM_TRIPLE}${ANDROID_API_LEVEL}"
ANDROIDCFLAGS="$ANDROIDCFLAGS -no-canonical-prefixes -ffunction-sections -fdata-sections -Qunused-arguments"
if test "$ENABLE_LTO" = TRUE; then
# -flto comes from com_GCC_defs.mk, too, but we need to make sure it gets passed as part of
# $CC and $CXX when building external libraries
ANDROIDCFLAGS="$ANDROIDCFLAGS -flto -fuse-linker-plugin -O2"
fi
ANDROIDCXXFLAGS="$ANDROIDCFLAGS -stdlib=libc++"
if test -z "$CC"; then
CC="$ANDROID_COMPILER_BIN/clang $ANDROIDCFLAGS"
CC_BASE="clang"
fi
if test -z "$CXX"; then
CXX="$ANDROID_COMPILER_BIN/clang++ $ANDROIDCXXFLAGS"
CXX_BASE="clang++"
fi
fi
ANDROID_SDK_DIR=
if test -z "$with_android_sdk" -a -e "$SRC_ROOT/external/android-sdk-linux" -a "$build" != "$host"; then
with_android_sdk="$SRC_ROOT/external/android-sdk-linux"
fi
if test -n "$with_android_sdk"; then
eval ANDROID_SDK_DIR=$with_android_sdk
PATH="$ANDROID_SDK_DIR/platform-tools:$ANDROID_SDK_DIR/tools:$PATH"
fi
# Check whether --enable-android-lok was given.
if test ${enable_android_lok+y}
then :
enableval=$enable_android_lok;
fi
ENABLE_ANDROID_LOK=
if test -n "$ANDROID_NDK_DIR" ; then
if test "$enable_android_lok" = yes; then
ENABLE_ANDROID_LOK=TRUE
printf "%s\n" "#define HAVE_FEATURE_ANDROID_LOK 1" >>confdefs.h
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: building the Android version... for the Online-based Android app" >&5
printf "%s\n" "$as_me: building the Android version... for the Online-based Android app" >&6;}
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: building the Android version... for the app from the android/ subdir" >&5
printf "%s\n" "$as_me: building the Android version... for the app from the android/ subdir" >&6;}
fi
fi
# Check whether --enable-android-editing was given.
if test ${enable_android_editing+y}
then :
enableval=$enable_android_editing;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_android_editing=yes
else
enable_android_editing=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-android-editing=$enable_android_editing" >&5
printf "%s\n" "$as_me: Randomly set --enable-android-editing=$enable_android_editing" >&6;}
libo_fuzzed_enable_android_editing=yes
libo_fuzz_list="$libo_fuzz_list --enable-android-editing="'$enable_android_editing'
fi
fi
ENABLE_ANDROID_EDITING=
if test "$enable_android_editing" = yes; then
ENABLE_ANDROID_EDITING=TRUE
fi
disable_database_connectivity_dependencies()
{
enable_evolution2=no
enable_firebird_sdbc=no
enable_mariadb_sdbc=no
enable_postgresql_sdbc=no
enable_report_builder=no
}
# ===================================================================
#
# Start initial platform setup
#
# The using_* variables reflect platform support and should not be
# changed after the "End initial platform setup" block.
# This is also true for most test_* variables.
# ===================================================================
build_crypto=yes
test_clucene=no
test_gdb_index=no
test_openldap=yes
test_split_debug=no
test_webdav=yes
usable_dlapi=yes
# There is currently just iOS not using salplug, so this explicitly enables it.
# must: using_freetype_fontconfig
# may: using_headless_plugin defaults to $using_freetype_fontconfig
# must: using_x11
# Default values, as such probably valid just for Linux, set
# differently below just for Mac OSX, but at least better than
# hardcoding these as we used to do. Much of this is duplicated also
# in solenv for old build system and for gbuild, ideally we should
# perhaps define stuff like this only here in configure.ac?
LINKFLAGSSHL="-shared"
PICSWITCH="-fpic"
DLLPOST=".so"
LINKFLAGSNOUNDEFS="-Wl,-z,defs"
INSTROOTBASESUFFIX=
INSTROOTCONTENTSUFFIX=
SDKDIRNAME=sdk
HOST_PLATFORM="$host"
host_cpu_for_clang="$host_cpu"
case "$host_os" in
solaris*)
using_freetype_fontconfig=yes
using_x11=yes
build_skia=yes
_os=SunOS
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the Solaris operating system release" >&5
printf %s "checking the Solaris operating system release... " >&6; }
_os_release=`echo $host_os | $SED -e s/solaris2\.//`
if test "$_os_release" -lt "10"; then
as_fn_error $? "use Solaris >= 10 to build LibreOffice" "$LINENO" 5
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok ($_os_release)" >&5
printf "%s\n" "ok ($_os_release)" >&6; }
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the processor type" >&5
printf %s "checking the processor type... " >&6; }
if test "$host_cpu" = "sparc" -o "$host_cpu" = "i386"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok ($host_cpu)" >&5
printf "%s\n" "ok ($host_cpu)" >&6; }
else
as_fn_error $? "only SPARC and i386 processors are supported" "$LINENO" 5
fi
;;
linux-gnu*|k*bsd*-gnu*|linux-musl*)
using_freetype_fontconfig=yes
using_x11=yes
build_skia=yes
test_gdb_index=yes
test_split_debug=yes
if test "$enable_fuzzers" = yes; then
test_system_freetype=no
fi
_os=Linux
;;
gnu)
using_freetype_fontconfig=yes
using_x11=no
_os=GNU
;;
cygwin*|wsl*)
# When building on Windows normally with MSVC under Cygwin,
# configure thinks that the host platform (the platform the
# built code will run on) is Cygwin, even if it obviously is
# Windows, which in Autoconf terminology is called
# "mingw32". (Which is misleading as MinGW is the name of the
# tool-chain, not an operating system.)
# Somewhat confusing, yes. But this configure script doesn't
# look at $host etc that much, it mostly uses its own $_os
# variable, set here in this case statement.
using_freetype_fontconfig=no
using_x11=no
test_unix_dlapi=no
test_openldap=no
enable_pagein=no
build_skia=yes
_os=WINNT
DLLPOST=".dll"
LINKFLAGSNOUNDEFS=
# bypass check for ninja, it is not in default path, but it can be used nevertheless by default
NINJA="assumed to be available from Visual Studio"
if test "$host_cpu" = "aarch64"; then
build_skia=yes
enable_gpgmepp=no
enable_coinmp=no
enable_firebird_sdbc=no
fi
;;
darwin*) # macOS
using_freetype_fontconfig=no
using_x11=no
build_skia=yes
enable_pagein=no
if test -n "$LODE_HOME" ; then
mac_sanitize_path
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: sanitized the PATH to $PATH" >&5
printf "%s\n" "$as_me: sanitized the PATH to $PATH" >&6;}
fi
_os=Darwin
INSTROOTBASESUFFIX=/$PRODUCTNAME_WITHOUT_SPACES.app
INSTROOTCONTENTSUFFIX=/Contents
SDKDIRNAME=${PRODUCTNAME_WITHOUT_SPACES}${PRODUCTVERSION}_SDK
# See "Default values, as such probably valid just for Linux" comment above the case "$host_os"
LINKFLAGSSHL="-dynamiclib"
# -fPIC is default
PICSWITCH=""
DLLPOST=".dylib"
# -undefined error is the default
LINKFLAGSNOUNDEFS=""
case "$host_cpu" in
aarch64|arm64)
# Apple's Clang uses "arm64"
host_cpu_for_clang=arm64
esac
;;
ios*) # iOS
using_freetype_fontconfig=no
using_x11=no
build_crypto=no
test_libcmis=no
test_openldap=no
test_webdav=no
with_gssapi=no
if test -n "$LODE_HOME" ; then
mac_sanitize_path
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: sanitized the PATH to $PATH" >&5
printf "%s\n" "$as_me: sanitized the PATH to $PATH" >&6;}
fi
enable_gpgmepp=no
_os=iOS
enable_mpl_subset=yes
enable_lotuswordpro=no
disable_database_connectivity_dependencies
enable_coinmp=no
enable_lpsolve=no
enable_extension_integration=no
enable_xmlhelp=no
with_ppds=no
if test "$enable_ios_simulator" = "yes"; then
host=x86_64-apple-darwin
fi
# See "Default values, as such probably valid just for Linux" comment above the case "$host_os"
LINKFLAGSSHL="-dynamiclib"
# -fPIC is default
PICSWITCH=""
DLLPOST=".dylib"
# -undefined error is the default
LINKFLAGSNOUNDEFS=""
# HOST_PLATFORM is used for external projects and their configury typically doesn't like the "ios"
# part, so use aarch64-apple-darwin for now.
HOST_PLATFORM=aarch64-apple-darwin
# Apple's Clang uses "arm64"
host_cpu_for_clang=arm64
;;
freebsd*)
using_freetype_fontconfig=yes
using_x11=yes
build_skia=yes
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the FreeBSD operating system release" >&5
printf %s "checking the FreeBSD operating system release... " >&6; }
if test -n "$with_os_version"; then
OSVERSION="$with_os_version"
else
OSVERSION=`/sbin/sysctl -n kern.osreldate`
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found OSVERSION=$OSVERSION" >&5
printf "%s\n" "found OSVERSION=$OSVERSION" >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which thread library to use" >&5
printf %s "checking which thread library to use... " >&6; }
if test "$OSVERSION" -lt "500016"; then
PTHREAD_CFLAGS="-D_THREAD_SAFE"
PTHREAD_LIBS="-pthread"
elif test "$OSVERSION" -lt "502102"; then
PTHREAD_CFLAGS="-D_THREAD_SAFE"
PTHREAD_LIBS="-lc_r"
else
PTHREAD_CFLAGS=""
PTHREAD_LIBS="-pthread"
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_LIBS" >&5
printf "%s\n" "$PTHREAD_LIBS" >&6; }
_os=FreeBSD
;;
*netbsd*)
using_freetype_fontconfig=yes
using_x11=yes
test_gtk3_kde5=no
build_skia=yes
PTHREAD_LIBS="-pthread -lpthread"
_os=NetBSD
;;
openbsd*)
using_freetype_fontconfig=yes
using_x11=yes
PTHREAD_CFLAGS="-D_THREAD_SAFE"
PTHREAD_LIBS="-pthread"
_os=OpenBSD
;;
dragonfly*)
using_freetype_fontconfig=yes
using_x11=yes
build_skia=yes
PTHREAD_LIBS="-pthread"
_os=DragonFly
;;
linux-android*)
# API exists, but seems not really usable since Android 7 AFAIK
usable_dlapi=no
using_freetype_fontconfig=yes
using_headless_plugin=no
using_x11=no
build_crypto=no
test_openldap=no
test_system_freetype=no
test_webdav=no
with_gssapi=no
disable_database_connectivity_dependencies
enable_lotuswordpro=no
enable_mpl_subset=yes
enable_cairo_canvas=no
enable_coinmp=yes
enable_lpsolve=no
enable_odk=no
enable_python=no
enable_xmlhelp=no
_os=Android
;;
haiku*)
using_freetype_fontconfig=yes
using_x11=no
test_gtk3=no
test_gtk3_kde5=no
test_kf5=yes
test_kf6=yes
enable_odk=no
enable_coinmp=no
enable_pdfium=no
enable_sdremote=no
enable_postgresql_sdbc=no
enable_firebird_sdbc=no
_os=Haiku
;;
emscripten)
# API currently just exists in headers, not code
usable_dlapi=no
using_freetype_fontconfig=yes
using_x11=yes
test_openldap=no
test_qt5=yes
test_split_debug=yes
test_system_freetype=no
enable_compiler_plugins=no
enable_customtarget_components=yes
enable_split_debug=yes
enable_wasm_strip=yes
with_system_zlib=no
with_theme="colibre"
_os=Emscripten
;;
*)
as_fn_error $? "$host_os operating system is not suitable to build LibreOffice for!" "$LINENO" 5
;;
esac
if test -z "$using_x11" -o -z "$using_freetype_fontconfig"; then
as_fn_error $? "You must set \$using_freetype_fontconfig and \$using_x11 for your platform" "$LINENO" 5
fi
# Set defaults, if not set by platform
test "${test_cpdb+set}" = set || test_cpdb="$using_x11"
test "${test_cups+set}" = set || test_cups="$using_x11"
test "${test_dbus+set}" = set || test_dbus="$using_x11"
test "${test_gen+set}" = set || test_gen="$using_x11"
test "${test_gstreamer_1_0+set}" = set || test_gstreamer_1_0="$using_x11"
test "${test_gtk3+set}" = set || test_gtk3="$using_x11"
test "${test_gtk4+set}" = set || test_gtk4="$using_x11"
test "${test_kf5+set}" = set || test_kf5="$using_x11"
test "${test_kf6+set}" = set || test_kf6="$using_x11"
# don't handle test_qt5, so it can disable test_kf5 later
test "${test_qt6+set}" = set || test_qt6="$using_x11"
test "${test_randr+set}" = set || test_randr="$using_x11"
test "${test_xrender+set}" = set || test_xrender="$using_x11"
test "${using_headless_plugin+set}" = set || using_headless_plugin="$using_freetype_fontconfig"
test "${test_gtk3_kde5+set}" != set -a "$test_kf5" = yes -a "$test_gtk3" = yes && test_gtk3_kde5="yes"
# Make sure fontconfig and freetype test both either system or not
test "${test_system_fontconfig+set}" != set -a "${test_system_freetype+set}" = set && test_system_fontconfig="$test_system_freetype"
test "${test_system_freetype+set}" != set -a "${test_system_fontconfig+set}" = set && test_system_freetype="$test_system_fontconfig"
# convenience / platform overriding "fixes"
# Don't sort!
test "$test_kf5" = yes -a "$test_qt5" = no && test_kf5=no
test "$test_kf5" = yes && test_qt5=yes
test "$test_gtk3" != yes && enable_gtk3=no
test "$test_gtk3" != yes -o "$test_kf5" != yes && test_gtk3_kde5=no
test "$using_freetype_fontconfig" = no && using_headless_plugin=no
test "$using_freetype_fontconfig" = yes && test_cairo=yes
# Keep in sync with the above $using_x11 depending test default list
disable_x11_tests()
{
test_cpdb=no
test_cups=no
test_dbus=no
test_gen=no
test_gstreamer_1_0=no
test_gtk3_kde5=no
test_gtk3=no
test_gtk4=no
test_kf5=no
test_kf6=no
test_qt5=no
test_qt6=no
test_randr=no
test_xrender=no
}
test "$using_x11" = yes && USING_X11=TRUE
if test "$using_freetype_fontconfig" = yes; then
printf "%s\n" "#define USE_HEADLESS_CODE 1" >>confdefs.h
USE_HEADLESS_CODE=TRUE
if test "$using_headless_plugin" = yes; then
printf "%s\n" "#define ENABLE_HEADLESS 1" >>confdefs.h
ENABLE_HEADLESS=TRUE
fi
else
test_fontconfig=no
test_freetype=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: VCL platform has a usable dynamic loading API: $usable_dlapi" >&5
printf "%s\n" "$as_me: VCL platform has a usable dynamic loading API: $usable_dlapi" >&6;}
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: VCL platform uses freetype+fontconfig: $using_freetype_fontconfig" >&5
printf "%s\n" "$as_me: VCL platform uses freetype+fontconfig: $using_freetype_fontconfig" >&6;}
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: VCL platform uses headless plugin: $using_headless_plugin" >&5
printf "%s\n" "$as_me: VCL platform uses headless plugin: $using_headless_plugin" >&6;}
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: VCL platform uses X11: $using_x11" >&5
printf "%s\n" "$as_me: VCL platform uses X11: $using_x11" >&6;}
# ===================================================================
#
# End initial platform setup
#
# ===================================================================
if test "$_os" = "Android" ; then
# Verify that the NDK and SDK options are proper
if test -z "$with_android_ndk"; then
as_fn_error $? "the --with-android-ndk option is mandatory, unless it is available at external/android-ndk/." "$LINENO" 5
elif test ! -f "$ANDROID_NDK_DIR/meta/abis.json"; then
as_fn_error $? "the --with-android-ndk option does not point to an Android NDK" "$LINENO" 5
fi
if test -z "$ANDROID_SDK_DIR"; then
as_fn_error $? "the --with-android-sdk option is mandatory, unless it is available at external/android-sdk-linux/." "$LINENO" 5
elif test ! -d "$ANDROID_SDK_DIR/platforms"; then
as_fn_error $? "the --with-android-sdk option does not point to an Android SDK" "$LINENO" 5
fi
fi
# Check for explicit A/C/CXX/OBJC/OBJCXX/LDFLAGS.
# By default use the ones specified by our build system,
# but explicit override is possible.
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit AFLAGS" >&5
printf %s "checking for explicit AFLAGS... " >&6; }
if test -n "$AFLAGS"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AFLAGS" >&5
printf "%s\n" "$AFLAGS" >&6; }
x_AFLAGS=
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
x_AFLAGS=\#
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit CFLAGS" >&5
printf %s "checking for explicit CFLAGS... " >&6; }
if test -n "$CFLAGS"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CFLAGS" >&5
printf "%s\n" "$CFLAGS" >&6; }
x_CFLAGS=
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
x_CFLAGS=\#
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit CXXFLAGS" >&5
printf %s "checking for explicit CXXFLAGS... " >&6; }
if test -n "$CXXFLAGS"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXFLAGS" >&5
printf "%s\n" "$CXXFLAGS" >&6; }
x_CXXFLAGS=
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
x_CXXFLAGS=\#
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit OBJCFLAGS" >&5
printf %s "checking for explicit OBJCFLAGS... " >&6; }
if test -n "$OBJCFLAGS"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJCFLAGS" >&5
printf "%s\n" "$OBJCFLAGS" >&6; }
x_OBJCFLAGS=
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
x_OBJCFLAGS=\#
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit OBJCXXFLAGS" >&5
printf %s "checking for explicit OBJCXXFLAGS... " >&6; }
if test -n "$OBJCXXFLAGS"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJCXXFLAGS" >&5
printf "%s\n" "$OBJCXXFLAGS" >&6; }
x_OBJCXXFLAGS=
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
x_OBJCXXFLAGS=\#
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit LDFLAGS" >&5
printf %s "checking for explicit LDFLAGS... " >&6; }
if test -n "$LDFLAGS"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDFLAGS" >&5
printf "%s\n" "$LDFLAGS" >&6; }
x_LDFLAGS=
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
x_LDFLAGS=\#
fi
my_original_CFLAGS=$CFLAGS
my_original_CXXFLAGS=$CXXFLAGS
my_original_CPPFLAGS=$CPPFLAGS
if test "$_os" != "WINNT"; then
# AC_PROG_CC sets CFLAGS to -g -O2 if not set, avoid that (and avoid -O2 during AC_PROG_CC,
# Clang 12.0.1 occasionally SEGVs on some of the test invocations during AC_PROG_CC with -O2):
save_CFLAGS=$CFLAGS
CFLAGS=-g
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
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
set dummy ${ac_tool_prefix}gcc; ac_word=$2
{ 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_CC+y}
then :
printf %s "(cached) " >&6
else $as_nop
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="${ac_tool_prefix}gcc"
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
printf "%s\n" "$CC" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
fi
if test -z "$ac_cv_prog_CC"; then
ac_ct_CC=$CC
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
{ 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_ac_ct_CC+y}
then :
printf %s "(cached) " >&6
else $as_nop
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_CC="gcc"
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
printf "%s\n" "$ac_ct_CC" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
if test "x$ac_ct_CC" = x; then
CC=""
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
CC=$ac_ct_CC
fi
else
CC="$ac_cv_prog_CC"
fi
if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
set dummy ${ac_tool_prefix}cc; ac_word=$2
{ 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_CC+y}
then :
printf %s "(cached) " >&6
else $as_nop
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="${ac_tool_prefix}cc"
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
printf "%s\n" "$CC" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
fi
fi
if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
{ 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_CC+y}
then :
printf %s "(cached) " >&6
else $as_nop
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
ac_prog_rejected=no
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
ac_prog_rejected=yes
continue
fi
ac_cv_prog_CC="cc"
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
if test $ac_prog_rejected = yes; then
# We found a bogon in the path, so make sure we never use it.
set dummy $ac_cv_prog_CC
shift
if test $# != 0; then
# We chose a different compiler from the bogus one.
# However, it has the same basename, so the bogon will be chosen
# first if we set CC to just the basename; use the full file name.
shift
ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
fi
fi
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
printf "%s\n" "$CC" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
fi
if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then
for ac_prog in cl.exe
do
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
{ 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_CC+y}
then :
printf %s "(cached) " >&6
else $as_nop
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
printf "%s\n" "$CC" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
test -n "$CC" && break
done
fi
if test -z "$CC"; then
ac_ct_CC=$CC
for ac_prog in cl.exe
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ 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_ac_ct_CC+y}
then :
printf %s "(cached) " >&6
else $as_nop
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_CC="$ac_prog"
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
printf "%s\n" "$ac_ct_CC" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
test -n "$ac_ct_CC" && break
done
if test "x$ac_ct_CC" = x; then
CC=""
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
CC=$ac_ct_CC
fi
fi
fi
if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
set dummy ${ac_tool_prefix}clang; ac_word=$2
{ 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_CC+y}
then :
printf %s "(cached) " >&6
else $as_nop
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="${ac_tool_prefix}clang"
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
printf "%s\n" "$CC" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
fi
if test -z "$ac_cv_prog_CC"; then
ac_ct_CC=$CC
# Extract the first word of "clang", so it can be a program name with args.
set dummy clang; ac_word=$2
{ 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_ac_ct_CC+y}
then :
printf %s "(cached) " >&6
else $as_nop
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_CC="clang"
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
printf "%s\n" "$ac_ct_CC" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
if test "x$ac_ct_CC" = x; then
CC=""
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
CC=$ac_ct_CC
fi
else
CC="$ac_cv_prog_CC"
fi
fi
test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "no acceptable C compiler found in \$PATH
See \`config.log' for more details" "$LINENO" 5; }
# Provide some information about the compiler.
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
set X $ac_compile
ac_compiler=$2
for ac_option in --version -v -V -qversion -version; do
{ { ac_try="$ac_compiler $ac_option >&5"
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_compiler $ac_option >&5") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
sed '10a\
... rest of stderr output deleted ...
10q' conftest.err >conftest.er1
cat conftest.er1 >&5
fi
rm -f conftest.er1 conftest.err
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
done
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main (void)
{
;
return 0;
}
_ACEOF
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
# Try to create an executable without -o first, disregard a.out.
# It will help us diagnose broken compilers, and finding out an intuition
# of exeext.
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
printf %s "checking whether the C compiler works... " >&6; }
ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
# The possible output files:
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
ac_rmfiles=
for ac_file in $ac_files
do
case $ac_file in
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
esac
done
rm -f $ac_rmfiles
if { { ac_try="$ac_link_default"
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_default") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
then :
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
# in a Makefile. We should not override ac_cv_exeext if it was cached,
# so that the user can short-circuit this test for compilers unknown to
# Autoconf.
for ac_file in $ac_files ''
do
test -f "$ac_file" || continue
case $ac_file in
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
;;
[ab].out )
# We found the default executable, but exeext='' is most
# certainly right.
break;;
*.* )
if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
then :; else
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
fi
# We set ac_cv_exeext here because the later test for it is not
# safe: cross compilers may not add the suffix if given an `-o'
# argument, so we may need to know it at that point already.
# Even if this section looks crufty: it has the advantage of
# actually working.
break;;
* )
break;;
esac
done
test "$ac_cv_exeext" = no && ac_cv_exeext=
else $as_nop
ac_file=''
fi
if test -z "$ac_file"
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error 77 "C compiler cannot create executables
See \`config.log' for more details" "$LINENO" 5; }
else $as_nop
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
printf %s "checking for C compiler default output file name... " >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
printf "%s\n" "$ac_file" >&6; }
ac_exeext=$ac_cv_exeext
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
ac_clean_files=$ac_clean_files_save
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
printf %s "checking for suffix of executables... " >&6; }
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; }
then :
# If both `conftest.exe' and `conftest' are `present' (well, observable)
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
# work properly (i.e., refer to `conftest.exe'), while it won't with
# `rm'.
for ac_file in conftest.exe conftest conftest.*; do
test -f "$ac_file" || continue
case $ac_file in
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
break;;
* ) break;;
esac
done
else $as_nop
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
See \`config.log' for more details" "$LINENO" 5; }
fi
rm -f conftest conftest$ac_cv_exeext
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
printf "%s\n" "$ac_cv_exeext" >&6; }
rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
int
main (void)
{
FILE *f = fopen ("conftest.out", "w");
return ferror (f) || fclose (f) != 0;
;
return 0;
}
_ACEOF
ac_clean_files="$ac_clean_files conftest.out"
# Check that the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile.
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
printf %s "checking whether we are cross compiling... " >&6; }
if test "$cross_compiling" != yes; then
{ { 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; }
if { ac_try='./conftest$ac_cv_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
cross_compiling=no
else
if test "$cross_compiling" = maybe; then
cross_compiling=yes
else
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error 77 "cannot run C compiled programs.
If you meant to cross compile, use \`--host'.
See \`config.log' for more details" "$LINENO" 5; }
fi
fi
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
printf "%s\n" "$cross_compiling" >&6; }
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
ac_clean_files=$ac_clean_files_save
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
printf %s "checking for suffix of object files... " >&6; }
if test ${ac_cv_objext+y}
then :
printf %s "(cached) " >&6
else $as_nop
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main (void)
{
;
return 0;
}
_ACEOF
rm -f conftest.o conftest.obj
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\""
printf "%s\n" "$ac_try_echo"; } >&5
(eval "$ac_compile") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
then :
for ac_file in conftest.o conftest.obj conftest.*; do
test -f "$ac_file" || continue;
case $ac_file in
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
break;;
esac
done
else $as_nop
printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "cannot compute suffix of object files: cannot compile
See \`config.log' for more details" "$LINENO" 5; }
fi
rm -f conftest.$ac_cv_objext conftest.$ac_ext
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
printf "%s\n" "$ac_cv_objext" >&6; }
OBJEXT=$ac_cv_objext
ac_objext=$OBJEXT
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
printf %s "checking whether the compiler supports GNU C... " >&6; }
if test ${ac_cv_c_compiler_gnu+y}
then :
printf %s "(cached) " >&6
else $as_nop
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main (void)
{
#ifndef __GNUC__
choke me
#endif
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_compiler_gnu=yes
else $as_nop
ac_compiler_gnu=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test $ac_compiler_gnu = yes; then
GCC=yes
else
GCC=
fi
ac_test_CFLAGS=${CFLAGS+y}
ac_save_CFLAGS=$CFLAGS
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
printf %s "checking whether $CC accepts -g... " >&6; }
if test ${ac_cv_prog_cc_g+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_save_c_werror_flag=$ac_c_werror_flag
ac_c_werror_flag=yes
ac_cv_prog_cc_g=no
CFLAGS="-g"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main (void)
{
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_prog_cc_g=yes
else $as_nop
CFLAGS=""
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main (void)
{
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
else $as_nop
ac_c_werror_flag=$ac_save_c_werror_flag
CFLAGS="-g"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main (void)
{
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_prog_cc_g=yes
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
ac_c_werror_flag=$ac_save_c_werror_flag
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
if test $ac_test_CFLAGS; then
CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
CFLAGS="-g -O2"
else
CFLAGS="-g"
fi
else
if test "$GCC" = yes; then
CFLAGS="-O2"
else
CFLAGS=
fi
fi
ac_prog_cc_stdc=no
if test x$ac_prog_cc_stdc = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
printf %s "checking for $CC option to enable C11 features... " >&6; }
if test ${ac_cv_prog_cc_c11+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_cv_prog_cc_c11=no
ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_c_conftest_c11_program
_ACEOF
for ac_arg in '' -std=gnu11
do
CC="$ac_save_CC $ac_arg"
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_prog_cc_c11=$ac_arg
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam
test "x$ac_cv_prog_cc_c11" != "xno" && break
done
rm -f conftest.$ac_ext
CC=$ac_save_CC
fi
if test "x$ac_cv_prog_cc_c11" = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; }
else $as_nop
if test "x$ac_cv_prog_cc_c11" = x
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
else $as_nop
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
CC="$CC $ac_cv_prog_cc_c11"
fi
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
ac_prog_cc_stdc=c11
fi
fi
if test x$ac_prog_cc_stdc = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
printf %s "checking for $CC option to enable C99 features... " >&6; }
if test ${ac_cv_prog_cc_c99+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_cv_prog_cc_c99=no
ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_c_conftest_c99_program
_ACEOF
for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
do
CC="$ac_save_CC $ac_arg"
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_prog_cc_c99=$ac_arg
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam
test "x$ac_cv_prog_cc_c99" != "xno" && break
done
rm -f conftest.$ac_ext
CC=$ac_save_CC
fi
if test "x$ac_cv_prog_cc_c99" = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; }
else $as_nop
if test "x$ac_cv_prog_cc_c99" = x
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
else $as_nop
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
CC="$CC $ac_cv_prog_cc_c99"
fi
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
ac_prog_cc_stdc=c99
fi
fi
if test x$ac_prog_cc_stdc = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
printf %s "checking for $CC option to enable C89 features... " >&6; }
if test ${ac_cv_prog_cc_c89+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_cv_prog_cc_c89=no
ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_c_conftest_c89_program
_ACEOF
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do
CC="$ac_save_CC $ac_arg"
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_prog_cc_c89=$ac_arg
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam
test "x$ac_cv_prog_cc_c89" != "xno" && break
done
rm -f conftest.$ac_ext
CC=$ac_save_CC
fi
if test "x$ac_cv_prog_cc_c89" = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; }
else $as_nop
if test "x$ac_cv_prog_cc_c89" = x
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
else $as_nop
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
CC="$CC $ac_cv_prog_cc_c89"
fi
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
ac_prog_cc_stdc=c89
fi
fi
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
CFLAGS=$save_CFLAGS
if test -z "$CC_BASE"; then
CC_BASE=`first_arg_basename "$CC"`
fi
fi
if test "$_os" != "WINNT"; then
ac_header= ac_cache=
for ac_item in $ac_header_c_list
do
if test $ac_cache; then
ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
printf "%s\n" "#define $ac_item 1" >> confdefs.h
fi
ac_header= ac_cache=
elif test $ac_header; then
ac_cache=$ac_item
else
ac_header=$ac_item
fi
done
if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
then :
printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
printf %s "checking whether byte ordering is bigendian... " >&6; }
if test ${ac_cv_c_bigendian+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_cv_c_bigendian=unknown
# See if we're dealing with a universal compiler.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#ifndef __APPLE_CC__
not a universal capable compiler
#endif
typedef int dummy;
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
# Check for potential -arch flags. It is not universal unless
# there are at least two -arch flags with different values.
ac_arch=
ac_prev=
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
if test -n "$ac_prev"; then
case $ac_word in
i?86 | x86_64 | ppc | ppc64)
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
ac_arch=$ac_word
else
ac_cv_c_bigendian=universal
break
fi
;;
esac
ac_prev=
elif test "x$ac_word" = "x-arch"; then
ac_prev=arch
fi
done
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
if test $ac_cv_c_bigendian = unknown; then
# See if sys/param.h defines the BYTE_ORDER macro.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/param.h>
int
main (void)
{
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
&& LITTLE_ENDIAN)
bogus endian macros
#endif
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
# It does; now see whether it defined to BIG_ENDIAN or not.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/param.h>
int
main (void)
{
#if BYTE_ORDER != BIG_ENDIAN
not big endian
#endif
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_c_bigendian=yes
else $as_nop
ac_cv_c_bigendian=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
if test $ac_cv_c_bigendian = unknown; then
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <limits.h>
int
main (void)
{
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
bogus endian macros
#endif
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
# It does; now see whether it defined to _BIG_ENDIAN or not.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <limits.h>
int
main (void)
{
#ifndef _BIG_ENDIAN
not big endian
#endif
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
ac_cv_c_bigendian=yes
else $as_nop
ac_cv_c_bigendian=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
if test $ac_cv_c_bigendian = unknown; then
# Compile a test program.
if test "$cross_compiling" = yes
then :
# Try to guess by grepping values from an object file.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
unsigned short int ascii_mm[] =
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
unsigned short int ascii_ii[] =
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
int use_ascii (int i) {
return ascii_mm[i] + ascii_ii[i];
}
unsigned short int ebcdic_ii[] =
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
unsigned short int ebcdic_mm[] =
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
int use_ebcdic (int i) {
return ebcdic_mm[i] + ebcdic_ii[i];
}
extern int foo;
int
main (void)
{
return use_ascii (foo) == use_ebcdic (foo);
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
ac_cv_c_bigendian=yes
fi
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
if test "$ac_cv_c_bigendian" = unknown; then
ac_cv_c_bigendian=no
else
# finding both strings is unlikely to happen, but who knows?
ac_cv_c_bigendian=unknown
fi
fi
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
else $as_nop
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
$ac_includes_default
int
main (void)
{
/* Are we little or big endian? From Harbison&Steele. */
union
{
long int l;
char c[sizeof (long int)];
} u;
u.l = 1;
return u.c[sizeof (long int) - 1] == 1;
;
return 0;
}
_ACEOF
if ac_fn_c_try_run "$LINENO"
then :
ac_cv_c_bigendian=no
else $as_nop
ac_cv_c_bigendian=yes
fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
fi
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
printf "%s\n" "$ac_cv_c_bigendian" >&6; }
case $ac_cv_c_bigendian in #(
yes)
ENDIANNESS=big;; #(
no)
ENDIANNESS=little ;; #(
universal)
printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
;; #(
*)
as_fn_error $? "unknown endianness
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
esac
else
ENDIANNESS=little
fi
if test "$usable_dlapi" != no; then
printf "%s\n" "#define HAVE_DLAPI 1" >>confdefs.h
if test "$test_unix_dlapi" != no; then
save_LIBS="$LIBS"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
printf %s "checking for library containing dlsym... " >&6; }
if test ${ac_cv_search_dlsym+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* 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. */
char dlsym ();
int
main (void)
{
return dlsym ();
;
return 0;
}
_ACEOF
for ac_lib in '' dl
do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
fi
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_search_dlsym=$ac_res
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext
if test ${ac_cv_search_dlsym+y}
then :
break
fi
done
if test ${ac_cv_search_dlsym+y}
then :
else $as_nop
ac_cv_search_dlsym=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
printf "%s\n" "$ac_cv_search_dlsym" >&6; }
ac_res=$ac_cv_search_dlsym
if test "$ac_res" != no
then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
case "$ac_cv_search_dlsym" in -l*) UNIX_DLAPI_LIBS="$ac_cv_search_dlsym";; esac
else $as_nop
as_fn_error $? "dlsym not found in either libc nor libdl" "$LINENO" 5
fi
LIBS="$save_LIBS"
printf "%s\n" "#define HAVE_UNIX_DLAPI 1" >>confdefs.h
fi
fi
# Check for a (GNU) backtrace implementation
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_path_PKG_CONFIG+y}
then :
printf %s "(cached) " >&6
else $as_nop
case $PKG_CONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
if test -n "$PKG_CONFIG"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
printf "%s\n" "$PKG_CONFIG" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
fi
if test -z "$ac_cv_path_PKG_CONFIG"; then
ac_pt_PKG_CONFIG=$PKG_CONFIG
# Extract the first word of "pkg-config", so it can be a program name with args.
set dummy pkg-config; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
then :
printf %s "(cached) " >&6
else $as_nop
case $ac_pt_PKG_CONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
case $as_dir in #(((
'') as_dir=./ ;;
*/) ;;
*) as_dir=$as_dir/ ;;
esac
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
if test -n "$ac_pt_PKG_CONFIG"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
if test "x$ac_pt_PKG_CONFIG" = x; then
PKG_CONFIG=""
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
PKG_CONFIG=$ac_pt_PKG_CONFIG
fi
else
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
fi
fi
if test -n "$PKG_CONFIG"; then
_pkg_min_version=0.9.0
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
PKG_CONFIG=""
fi
fi
if test "x$BACKTRACE_LIBS$BACKTRACE_CFLAGS" = x
then :
save_LIBS="$LIBS"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
printf %s "checking for library containing backtrace... " >&6; }
if test ${ac_cv_search_backtrace+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* 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. */
char backtrace ();
int
main (void)
{
return backtrace ();
;
return 0;
}
_ACEOF
for ac_lib in '' libexecinfo
do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
fi
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_search_backtrace=$ac_res
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext
if test ${ac_cv_search_backtrace+y}
then :
break
fi
done
if test ${ac_cv_search_backtrace+y}
then :
else $as_nop
ac_cv_search_backtrace=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
printf "%s\n" "$ac_cv_search_backtrace" >&6; }
ac_res=$ac_cv_search_backtrace
if test "$ac_res" != no
then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
case "$ac_cv_search_backtrace" in -l*) BACKTRACE_LIBS="$ac_cv_search_backtrace";; esac
else $as_nop
pkg_failed=no
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BACKTRACE" >&5
printf %s "checking for BACKTRACE... " >&6; }
if test -n "$BACKTRACE_CFLAGS"; then
pkg_cv_BACKTRACE_CFLAGS="$BACKTRACE_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexecinfo\""; } >&5
($PKG_CONFIG --exists --print-errors "libexecinfo") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_BACKTRACE_CFLAGS=`$PKG_CONFIG --cflags "libexecinfo" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test -n "$BACKTRACE_LIBS"; then
pkg_cv_BACKTRACE_LIBS="$BACKTRACE_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexecinfo\""; } >&5
($PKG_CONFIG --exists --print-errors "libexecinfo") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_BACKTRACE_LIBS=`$PKG_CONFIG --libs "libexecinfo" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test $pkg_failed = yes; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
BACKTRACE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libexecinfo" 2>&1`
else
BACKTRACE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libexecinfo" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$BACKTRACE_PKG_ERRORS" >&5
:
elif test $pkg_failed = untried; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
:
else
BACKTRACE_CFLAGS=$pkg_cv_BACKTRACE_CFLAGS
BACKTRACE_LIBS=$pkg_cv_BACKTRACE_LIBS
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
ac_cv_search_backtrace=
fi
fi
LIBS="$save_LIBS"
fi
if test "x$ac_cv_search_backtrace" != xno
then :
printf "%s\n" "#define HAVE_FEATURE_BACKTRACE 1" >>confdefs.h
fi
EMSCRIPTEN_MIN_MAJOR=3
EMSCRIPTEN_MIN_MINOR=1
EMSCRIPTEN_MIN_TINY=46
EMSCRIPTEN_MIN_VERSION="${EMSCRIPTEN_MIN_MAJOR}.${EMSCRIPTEN_MIN_MINOR}.${EMSCRIPTEN_MIN_TINY}"
EMSCRIPTEN_WORKERJS=
if test "$_os" = "Emscripten"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Emscripten is at least $EMSCRIPTEN_MIN_VERSION" >&5
printf %s "checking if Emscripten is at least $EMSCRIPTEN_MIN_VERSION... " >&6; }
if test -z "$EMSCRIPTEN_VERSION_H"; then
if test -z "$EMSDK"
then :
as_fn_error $? "No \$EMSDK environment variable." "$LINENO" 5
fi
EMSCRIPTEN_VERSION_H=$EMSDK/upstream/emscripten/cache/sysroot/include/emscripten/version.h
if test ! -f "$EMSCRIPTEN_VERSION_H"; then
EMSCRIPTEN_VERSION_H=$EMSDK/emscripten/main/cache/sysroot/include/emscripten/version.h
fi
fi
if test -f "$EMSCRIPTEN_VERSION_H"; then
EMSCRIPTEN_MAJOR=$($GREP __EMSCRIPTEN_major__ "$EMSCRIPTEN_VERSION_H" | $SED -ne 's/.*__EMSCRIPTEN_major__ //p')
EMSCRIPTEN_MINOR=$($GREP __EMSCRIPTEN_minor__ "$EMSCRIPTEN_VERSION_H" | $SED -ne 's/.*__EMSCRIPTEN_minor__ //p')
EMSCRIPTEN_TINY=$($GREP __EMSCRIPTEN_tiny__ "$EMSCRIPTEN_VERSION_H" | $SED -ne 's/.*__EMSCRIPTEN_tiny__ //p')
else
EMSCRIPTEN_DEFINES=$(echo | emcc -dM -E - | $GREP __EMSCRIPTEN_)
EMSCRIPTEN_MAJOR=$(echo "$EMSCRIPTEN_DEFINES" | $SED -ne 's/.*__EMSCRIPTEN_major__ //p')
EMSCRIPTEN_MINOR=$(echo "$EMSCRIPTEN_DEFINES" | $SED -ne 's/.*__EMSCRIPTEN_minor__ //p')
EMSCRIPTEN_TINY=$(echo "$EMSCRIPTEN_DEFINES" | $SED -ne 's/.*__EMSCRIPTEN_tiny__ //p')
fi
EMSCRIPTEN_VERSION="${EMSCRIPTEN_MAJOR}.${EMSCRIPTEN_MINOR}.${EMSCRIPTEN_TINY}"
check_semantic_version_three_prefixed EMSCRIPTEN MIN
if test $? -eq 0; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($EMSCRIPTEN_VERSION)" >&5
printf "%s\n" "yes ($EMSCRIPTEN_VERSION)" >&6; }
else
as_fn_error $? "no, found $EMSCRIPTEN_VERSION" "$LINENO" 5
fi
EMSCRIPTEN_ERROR=0
if ! command -v emconfigure >/dev/null 2>&1; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: emconfigure must be in your \$PATH" >&5
printf "%s\n" "$as_me: WARNING: emconfigure must be in your \$PATH" >&2;}
EMSCRIPTEN_ERROR=1
fi
if test -z "$EMMAKEN_JUST_CONFIGURE"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: \"\$EMMAKEN_JUST_CONFIGURE wasn't set by emconfigure. Prefix configure or use autogen.sh" >&5
printf "%s\n" "$as_me: WARNING: \"\$EMMAKEN_JUST_CONFIGURE wasn't set by emconfigure. Prefix configure or use autogen.sh" >&2;}
EMSCRIPTEN_ERROR=1
fi
EMSDK_FILE_PACKAGER="$(em-config EMSCRIPTEN_ROOT)"/tools/file_packager
if ! test -x "$EMSDK_FILE_PACKAGER"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: No file_packager found in $(em-config EMSCRIPTEN_ROOT)/tools/file_packager." >&5
printf "%s\n" "$as_me: WARNING: No file_packager found in $(em-config EMSCRIPTEN_ROOT)/tools/file_packager." >&2;}
EMSCRIPTEN_ERROR=1
fi
if test $EMSCRIPTEN_ERROR -ne 0; then
as_fn_error $? "\"Please fix your EMSDK setup to build with Emscripten!\"" "$LINENO" 5
fi
BUILD_TYPE="$BUILD_TYPE EMSCRIPTEN"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Emscripten still depends on a separate .worker.js file" >&5
printf %s "checking if Emscripten still depends on a separate .worker.js file... " >&6; }
check_semantic_version_three 3 1 58 "$EMSCRIPTEN_MAJOR" "$EMSCRIPTEN_MINOR" "$EMSCRIPTEN_TINY"
if test $? -ne 0; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
EMSCRIPTEN_WORKERJS=TRUE
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
fi
###############################################################################
# Extensions switches --enable/--disable
###############################################################################
# By default these should be enabled unless having extra dependencies.
# If there is extra dependency over configure options then the enable should
# be automagic based on whether the requiring feature is enabled or not.
# All this options change anything only with --enable-extension-integration.
# The name of this option and its help string makes it sound as if
# extensions are built anyway, just not integrated in the installer,
# if you use --disable-extension-integration. Is that really the
# case?
# Check whether --enable-ios-simulator was given.
if test ${enable_ios_simulator+y}
then :
enableval=$enable_ios_simulator;
fi
# Check whether --enable-extension-integration was given.
if test ${enable_extension_integration+y}
then :
enableval=$enable_extension_integration;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_extension_integration=yes
else
enable_extension_integration=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-extension-integration=$enable_extension_integration" >&5
printf "%s\n" "$as_me: Randomly set --enable-extension-integration=$enable_extension_integration" >&6;}
libo_fuzzed_enable_extension_integration=yes
libo_fuzz_list="$libo_fuzz_list --enable-extension-integration="'$enable_extension_integration'
fi
fi
# Check whether --enable-avmedia was given.
if test ${enable_avmedia+y}
then :
enableval=$enable_avmedia;
else $as_nop
test "${enable_avmedia+set}" = set || enable_avmedia=yes
fi
# Check whether --enable-database-connectivity was given.
if test ${enable_database_connectivity+y}
then :
enableval=$enable_database_connectivity;
fi
# This doesn't mean not building (or "integrating") extensions
# (although it probably should; i.e. it should imply
# --disable-extension-integration I guess), it means not supporting
# any extension mechanism at all
# Check whether --enable-extensions was given.
if test ${enable_extensions+y}
then :
enableval=$enable_extensions;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_extensions=yes
else
enable_extensions=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-extensions=$enable_extensions" >&5
printf "%s\n" "$as_me: Randomly set --enable-extensions=$enable_extensions" >&6;}
libo_fuzzed_enable_extensions=yes
libo_fuzz_list="$libo_fuzz_list --enable-extensions="'$enable_extensions'
fi
fi
# Check whether --enable-scripting was given.
if test ${enable_scripting+y}
then :
enableval=$enable_scripting;
else $as_nop
test "${enable_scripting+set}" = set || enable_scripting=yes
fi
# This is mainly for Android and iOS, but could potentially be used in some
# special case otherwise, too, so factored out as a separate setting
# Check whether --enable-dynamic-loading was given.
if test ${enable_dynamic_loading+y}
then :
enableval=$enable_dynamic_loading;
fi
# Check whether --enable-report-builder was given.
if test ${enable_report_builder+y}
then :
enableval=$enable_report_builder;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_report_builder=yes
else
enable_report_builder=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-report-builder=$enable_report_builder" >&5
printf "%s\n" "$as_me: Randomly set --enable-report-builder=$enable_report_builder" >&6;}
libo_fuzzed_enable_report_builder=yes
libo_fuzz_list="$libo_fuzz_list --enable-report-builder="'$enable_report_builder'
fi
fi
# Check whether --enable-ext-wiki-publisher was given.
if test ${enable_ext_wiki_publisher+y}
then :
enableval=$enable_ext_wiki_publisher;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_ext_wiki_publisher=yes
else
enable_ext_wiki_publisher=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-ext-wiki-publisher=$enable_ext_wiki_publisher" >&5
printf "%s\n" "$as_me: Randomly set --enable-ext-wiki-publisher=$enable_ext_wiki_publisher" >&6;}
libo_fuzzed_enable_ext_wiki_publisher=yes
libo_fuzz_list="$libo_fuzz_list --enable-ext-wiki-publisher="'$enable_ext_wiki_publisher'
fi
fi
# Check whether --enable-lpsolve was given.
if test ${enable_lpsolve+y}
then :
enableval=$enable_lpsolve;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_lpsolve=yes
else
enable_lpsolve=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-lpsolve=$enable_lpsolve" >&5
printf "%s\n" "$as_me: Randomly set --enable-lpsolve=$enable_lpsolve" >&6;}
libo_fuzzed_enable_lpsolve=yes
libo_fuzz_list="$libo_fuzz_list --enable-lpsolve="'$enable_lpsolve'
fi
fi
# Check whether --enable-coinmp was given.
if test ${enable_coinmp+y}
then :
enableval=$enable_coinmp;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_coinmp=yes
else
enable_coinmp=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-coinmp=$enable_coinmp" >&5
printf "%s\n" "$as_me: Randomly set --enable-coinmp=$enable_coinmp" >&6;}
libo_fuzzed_enable_coinmp=yes
libo_fuzz_list="$libo_fuzz_list --enable-coinmp="'$enable_coinmp'
fi
fi
# Check whether --enable-pdfimport was given.
if test ${enable_pdfimport+y}
then :
enableval=$enable_pdfimport;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_pdfimport=yes
else
enable_pdfimport=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-pdfimport=$enable_pdfimport" >&5
printf "%s\n" "$as_me: Randomly set --enable-pdfimport=$enable_pdfimport" >&6;}
libo_fuzzed_enable_pdfimport=yes
libo_fuzz_list="$libo_fuzz_list --enable-pdfimport="'$enable_pdfimport'
fi
fi
# Check whether --enable-pdfium was given.
if test ${enable_pdfium+y}
then :
enableval=$enable_pdfium;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_pdfium=yes
else
enable_pdfium=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-pdfium=$enable_pdfium" >&5
printf "%s\n" "$as_me: Randomly set --enable-pdfium=$enable_pdfium" >&6;}
libo_fuzzed_enable_pdfium=yes
libo_fuzz_list="$libo_fuzz_list --enable-pdfium="'$enable_pdfium'
fi
fi
# Check whether --enable-skia was given.
if test ${enable_skia+y}
then :
enableval=$enable_skia;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_skia=yes
else
enable_skia=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-skia=$enable_skia" >&5
printf "%s\n" "$as_me: Randomly set --enable-skia=$enable_skia" >&6;}
libo_fuzzed_enable_skia=yes
libo_fuzz_list="$libo_fuzz_list --enable-skia="'$enable_skia'
fi
fi
# Check whether --enable-skia-vulkan-validation was given.
if test ${enable_skia_vulkan_validation+y}
then :
enableval=$enable_skia_vulkan_validation;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_skia_vulkan_validation=yes
else
enable_skia_vulkan_validation=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-skia-vulkan-validation=$enable_skia_vulkan_validation" >&5
printf "%s\n" "$as_me: Randomly set --enable-skia-vulkan-validation=$enable_skia_vulkan_validation" >&6;}
libo_fuzzed_enable_skia_vulkan_validation=yes
libo_fuzz_list="$libo_fuzz_list --enable-skia-vulkan-validation="'$enable_skia_vulkan_validation'
fi
fi
###############################################################################
# Check whether --enable-mergelibs was given.
if test ${enable_mergelibs+y}
then :
enableval=$enable_mergelibs;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_mergelibs=yes
else
enable_mergelibs=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-mergelibs=$enable_mergelibs" >&5
printf "%s\n" "$as_me: Randomly set --enable-mergelibs=$enable_mergelibs" >&6;}
libo_fuzzed_enable_mergelibs=yes
libo_fuzz_list="$libo_fuzz_list --enable-mergelibs="'$enable_mergelibs'
fi
fi
# Check whether --enable-breakpad was given.
if test ${enable_breakpad+y}
then :
enableval=$enable_breakpad;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_breakpad=yes
else
enable_breakpad=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-breakpad=$enable_breakpad" >&5
printf "%s\n" "$as_me: Randomly set --enable-breakpad=$enable_breakpad" >&6;}
libo_fuzzed_enable_breakpad=yes
libo_fuzz_list="$libo_fuzz_list --enable-breakpad="'$enable_breakpad'
fi
fi
# Check whether --enable-crashdump was given.
if test ${enable_crashdump+y}
then :
enableval=$enable_crashdump;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_crashdump=yes
else
enable_crashdump=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-crashdump=$enable_crashdump" >&5
printf "%s\n" "$as_me: Randomly set --enable-crashdump=$enable_crashdump" >&6;}
libo_fuzzed_enable_crashdump=yes
libo_fuzz_list="$libo_fuzz_list --enable-crashdump="'$enable_crashdump'
fi
fi
# Check whether --enable-fetch-external was given.
if test ${enable_fetch_external+y}
then :
enableval=$enable_fetch_external;
fi
# Check whether --enable-fuzzers was given.
if test ${enable_fuzzers+y}
then :
enableval=$enable_fuzzers;
fi
# Check whether --enable-pch was given.
if test ${enable_pch+y}
then :
enableval=$enable_pch;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_pch=yes
else
enable_pch=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-pch=$enable_pch" >&5
printf "%s\n" "$as_me: Randomly set --enable-pch=$enable_pch" >&6;}
libo_fuzzed_enable_pch=yes
libo_fuzz_list="$libo_fuzz_list --enable-pch="'$enable_pch'
fi
fi
# Check whether --enable-epm was given.
if test ${enable_epm+y}
then :
enableval=$enable_epm;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_epm=yes
else
enable_epm=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-epm=$enable_epm" >&5
printf "%s\n" "$as_me: Randomly set --enable-epm=$enable_epm" >&6;}
libo_fuzzed_enable_epm=yes
libo_fuzz_list="$libo_fuzz_list --enable-epm="'$enable_epm'
fi
fi
# Check whether --enable-odk was given.
if test ${enable_odk+y}
then :
enableval=$enable_odk;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_odk=yes
else
enable_odk=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-odk=$enable_odk" >&5
printf "%s\n" "$as_me: Randomly set --enable-odk=$enable_odk" >&6;}
libo_fuzzed_enable_odk=yes
libo_fuzz_list="$libo_fuzz_list --enable-odk="'$enable_odk'
fi
fi
# Check whether --enable-mpl-subset was given.
if test ${enable_mpl_subset+y}
then :
enableval=$enable_mpl_subset;
fi
# Check whether --enable-evolution2 was given.
if test ${enable_evolution2+y}
then :
enableval=$enable_evolution2;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_evolution2=yes
else
enable_evolution2=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-evolution2=$enable_evolution2" >&5
printf "%s\n" "$as_me: Randomly set --enable-evolution2=$enable_evolution2" >&6;}
libo_fuzzed_enable_evolution2=yes
libo_fuzz_list="$libo_fuzz_list --enable-evolution2="'$enable_evolution2'
fi
fi
# Check whether --enable-avahi was given.
if test ${enable_avahi+y}
then :
enableval=$enable_avahi;
fi
# Check whether --enable-msvc-analyze was given.
if test ${enable_msvc_analyze+y}
then :
enableval=$enable_msvc_analyze;
fi
# Check whether --enable-werror was given.
if test ${enable_werror+y}
then :
enableval=$enable_werror;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_werror=yes
else
enable_werror=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-werror=$enable_werror" >&5
printf "%s\n" "$as_me: Randomly set --enable-werror=$enable_werror" >&6;}
libo_fuzzed_enable_werror=yes
libo_fuzz_list="$libo_fuzz_list --enable-werror="'$enable_werror'
fi
fi
# Check whether --enable-assert-always-abort was given.
if test ${enable_assert_always_abort+y}
then :
enableval=$enable_assert_always_abort;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_assert_always_abort=yes
else
enable_assert_always_abort=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-assert-always-abort=$enable_assert_always_abort" >&5
printf "%s\n" "$as_me: Randomly set --enable-assert-always-abort=$enable_assert_always_abort" >&6;}
libo_fuzzed_enable_assert_always_abort=yes
libo_fuzz_list="$libo_fuzz_list --enable-assert-always-abort="'$enable_assert_always_abort'
fi
fi
# Check whether --enable-dbgutil was given.
if test ${enable_dbgutil+y}
then :
enableval=$enable_dbgutil;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_dbgutil=yes
else
enable_dbgutil=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-dbgutil=$enable_dbgutil" >&5
printf "%s\n" "$as_me: Randomly set --enable-dbgutil=$enable_dbgutil" >&6;}
libo_fuzzed_enable_dbgutil=yes
libo_fuzz_list="$libo_fuzz_list --enable-dbgutil="'$enable_dbgutil'
fi
fi
# Check whether --enable-debug was given.
if test ${enable_debug+y}
then :
enableval=$enable_debug;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_debug=yes
else
enable_debug=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-debug=$enable_debug" >&5
printf "%s\n" "$as_me: Randomly set --enable-debug=$enable_debug" >&6;}
libo_fuzzed_enable_debug=yes
libo_fuzz_list="$libo_fuzz_list --enable-debug="'$enable_debug'
fi
fi
# Check whether --enable-split-debug was given.
if test ${enable_split_debug+y}
then :
enableval=$enable_split_debug;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_split_debug=yes
else
enable_split_debug=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-split-debug=$enable_split_debug" >&5
printf "%s\n" "$as_me: Randomly set --enable-split-debug=$enable_split_debug" >&6;}
libo_fuzzed_enable_split_debug=yes
libo_fuzz_list="$libo_fuzz_list --enable-split-debug="'$enable_split_debug'
fi
fi
# Check whether --enable-gdb-index was given.
if test ${enable_gdb_index+y}
then :
enableval=$enable_gdb_index;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_gdb_index=yes
else
enable_gdb_index=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-gdb-index=$enable_gdb_index" >&5
printf "%s\n" "$as_me: Randomly set --enable-gdb-index=$enable_gdb_index" >&6;}
libo_fuzzed_enable_gdb_index=yes
libo_fuzz_list="$libo_fuzz_list --enable-gdb-index="'$enable_gdb_index'
fi
fi
# Check whether --enable-sal-log was given.
if test ${enable_sal_log+y}
then :
enableval=$enable_sal_log;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_sal_log=yes
else
enable_sal_log=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-sal-log=$enable_sal_log" >&5
printf "%s\n" "$as_me: Randomly set --enable-sal-log=$enable_sal_log" >&6;}
libo_fuzzed_enable_sal_log=yes
libo_fuzz_list="$libo_fuzz_list --enable-sal-log="'$enable_sal_log'
fi
fi
# Check whether --enable-symbols was given.
if test ${enable_symbols+y}
then :
enableval=$enable_symbols;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_symbols=yes
else
enable_symbols=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-symbols=$enable_symbols" >&5
printf "%s\n" "$as_me: Randomly set --enable-symbols=$enable_symbols" >&6;}
libo_fuzzed_enable_symbols=yes
libo_fuzz_list="$libo_fuzz_list --enable-symbols="'$enable_symbols'
fi
fi
# Check whether --enable-optimized was given.
if test ${enable_optimized+y}
then :
enableval=$enable_optimized;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_optimized=yes
else
enable_optimized=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-optimized=$enable_optimized" >&5
printf "%s\n" "$as_me: Randomly set --enable-optimized=$enable_optimized" >&6;}
libo_fuzzed_enable_optimized=yes
libo_fuzz_list="$libo_fuzz_list --enable-optimized="'$enable_optimized'
fi
fi
# Check whether --enable-runtime-optimizations was given.
if test ${enable_runtime_optimizations+y}
then :
enableval=$enable_runtime_optimizations;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_runtime_optimizations=yes
else
enable_runtime_optimizations=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-runtime-optimizations=$enable_runtime_optimizations" >&5
printf "%s\n" "$as_me: Randomly set --enable-runtime-optimizations=$enable_runtime_optimizations" >&6;}
libo_fuzzed_enable_runtime_optimizations=yes
libo_fuzz_list="$libo_fuzz_list --enable-runtime-optimizations="'$enable_runtime_optimizations'
fi
fi
# Check whether --with-valgrind was given.
if test ${with_valgrind+y}
then :
withval=$with_valgrind;
fi
# Check whether --enable-compiler-plugins was given.
if test ${enable_compiler_plugins+y}
then :
enableval=$enable_compiler_plugins;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_compiler_plugins=yes
else
enable_compiler_plugins=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-compiler-plugins=$enable_compiler_plugins" >&5
printf "%s\n" "$as_me: Randomly set --enable-compiler-plugins=$enable_compiler_plugins" >&6;}
libo_fuzzed_enable_compiler_plugins=yes
libo_fuzz_list="$libo_fuzz_list --enable-compiler-plugins="'$enable_compiler_plugins'
fi
fi
COMPILER_PLUGINS_DEBUG=
if test "$enable_compiler_plugins" = debug; then
enable_compiler_plugins=yes
COMPILER_PLUGINS_DEBUG=TRUE
fi
# Check whether --enable-compiler-plugins-analyzer-pch was given.
if test ${enable_compiler_plugins_analyzer_pch+y}
then :
enableval=$enable_compiler_plugins_analyzer_pch;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_compiler_plugins_analyzer_pch=yes
else
enable_compiler_plugins_analyzer_pch=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-compiler-plugins-analyzer-pch=$enable_compiler_plugins_analyzer_pch" >&5
printf "%s\n" "$as_me: Randomly set --enable-compiler-plugins-analyzer-pch=$enable_compiler_plugins_analyzer_pch" >&6;}
libo_fuzzed_enable_compiler_plugins_analyzer_pch=yes
libo_fuzz_list="$libo_fuzz_list --enable-compiler-plugins-analyzer-pch="'$enable_compiler_plugins_analyzer_pch'
fi
fi
# Check whether --enable-ooenv was given.
if test ${enable_ooenv+y}
then :
enableval=$enable_ooenv;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_ooenv=yes
else
enable_ooenv=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-ooenv=$enable_ooenv" >&5
printf "%s\n" "$as_me: Randomly set --enable-ooenv=$enable_ooenv" >&6;}
libo_fuzzed_enable_ooenv=yes
libo_fuzz_list="$libo_fuzz_list --enable-ooenv="'$enable_ooenv'
fi
fi
# Check whether --enable-lto was given.
if test ${enable_lto+y}
then :
enableval=$enable_lto;
fi
# Check whether --enable-python was given.
if test ${enable_python+y}
then :
enableval=$enable_python;
fi
# Check whether --enable-gtk3 was given.
if test ${enable_gtk3+y}
then :
enableval=$enable_gtk3;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_gtk3=yes
else
enable_gtk3=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-gtk3=$enable_gtk3" >&5
printf "%s\n" "$as_me: Randomly set --enable-gtk3=$enable_gtk3" >&6;}
libo_fuzzed_enable_gtk3=yes
libo_fuzz_list="$libo_fuzz_list --enable-gtk3="'$enable_gtk3'
fi
test "${test_gtk3}" = no -o "${enable_gtk3+set}" = set || enable_gtk3=yes
fi
# Check whether --enable-gtk4 was given.
if test ${enable_gtk4+y}
then :
enableval=$enable_gtk4;
fi
# Check whether --enable-atspi-tests was given.
if test ${enable_atspi_tests+y}
then :
enableval=$enable_atspi_tests;
fi
# Check whether --enable-introspection was given.
if test ${enable_introspection+y}
then :
enableval=$enable_introspection;
fi
# Check whether --enable-split-app-modules was given.
if test ${enable_split_app_modules+y}
then :
enableval=$enable_split_app_modules;
fi
# Check whether --enable-split-opt-features was given.
if test ${enable_split_opt_features+y}
then :
enableval=$enable_split_opt_features;
fi
# Check whether --enable-cairo-canvas was given.
if test ${enable_cairo_canvas+y}
then :
enableval=$enable_cairo_canvas;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_cairo_canvas=yes
else
enable_cairo_canvas=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-cairo-canvas=$enable_cairo_canvas" >&5
printf "%s\n" "$as_me: Randomly set --enable-cairo-canvas=$enable_cairo_canvas" >&6;}
libo_fuzzed_enable_cairo_canvas=yes
libo_fuzz_list="$libo_fuzz_list --enable-cairo-canvas="'$enable_cairo_canvas'
fi
fi
# Check whether --enable-dbus was given.
if test ${enable_dbus+y}
then :
enableval=$enable_dbus;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_dbus=yes
else
enable_dbus=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-dbus=$enable_dbus" >&5
printf "%s\n" "$as_me: Randomly set --enable-dbus=$enable_dbus" >&6;}
libo_fuzzed_enable_dbus=yes
libo_fuzz_list="$libo_fuzz_list --enable-dbus="'$enable_dbus'
fi
test "${enable_dbus+set}" = set || enable_dbus=yes
fi
# Check whether --enable-sdremote was given.
if test ${enable_sdremote+y}
then :
enableval=$enable_sdremote;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_sdremote=yes
else
enable_sdremote=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-sdremote=$enable_sdremote" >&5
printf "%s\n" "$as_me: Randomly set --enable-sdremote=$enable_sdremote" >&6;}
libo_fuzzed_enable_sdremote=yes
libo_fuzz_list="$libo_fuzz_list --enable-sdremote="'$enable_sdremote'
fi
test "${enable_sdremote+set}" = set || enable_sdremote=yes
fi
# Check whether --enable-sdremote-bluetooth was given.
if test ${enable_sdremote_bluetooth+y}
then :
enableval=$enable_sdremote_bluetooth;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_sdremote_bluetooth=yes
else
enable_sdremote_bluetooth=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-sdremote-bluetooth=$enable_sdremote_bluetooth" >&5
printf "%s\n" "$as_me: Randomly set --enable-sdremote-bluetooth=$enable_sdremote_bluetooth" >&6;}
libo_fuzzed_enable_sdremote_bluetooth=yes
libo_fuzz_list="$libo_fuzz_list --enable-sdremote-bluetooth="'$enable_sdremote_bluetooth'
fi
fi
# Check whether --enable-gio was given.
if test ${enable_gio+y}
then :
enableval=$enable_gio;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_gio=yes
else
enable_gio=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-gio=$enable_gio" >&5
printf "%s\n" "$as_me: Randomly set --enable-gio=$enable_gio" >&6;}
libo_fuzzed_enable_gio=yes
libo_fuzz_list="$libo_fuzz_list --enable-gio="'$enable_gio'
fi
test "${enable_gio+set}" = set || enable_gio=yes
fi
# Check whether --enable-qt5 was given.
if test ${enable_qt5+y}
then :
enableval=$enable_qt5;
fi
# Check whether --enable-qt6 was given.
if test ${enable_qt6+y}
then :
enableval=$enable_qt6;
fi
# Check whether --enable-qt6-multimedia was given.
if test ${enable_qt6_multimedia+y}
then :
enableval=$enable_qt6_multimedia;
fi
# Check whether --enable-kf5 was given.
if test ${enable_kf5+y}
then :
enableval=$enable_kf5;
fi
# Check whether --enable-kf6 was given.
if test ${enable_kf6+y}
then :
enableval=$enable_kf6;
fi
# Check whether --enable-gtk3_kde5 was given.
if test ${enable_gtk3_kde5+y}
then :
enableval=$enable_gtk3_kde5;
fi
# Check whether --enable-gen was given.
if test ${enable_gen+y}
then :
enableval=$enable_gen;
else $as_nop
test "${test_gen}" = no -o "${enable_gen+set}" = set || enable_gen=yes
fi
# Check whether --enable-gui was given.
if test ${enable_gui+y}
then :
enableval=$enable_gui;
else $as_nop
enable_gui=yes
fi
# Check whether --enable-randr was given.
if test ${enable_randr+y}
then :
enableval=$enable_randr;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_randr=yes
else
enable_randr=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-randr=$enable_randr" >&5
printf "%s\n" "$as_me: Randomly set --enable-randr=$enable_randr" >&6;}
libo_fuzzed_enable_randr=yes
libo_fuzz_list="$libo_fuzz_list --enable-randr="'$enable_randr'
fi
test "${enable_randr+set}" = set || enable_randr=yes
fi
# Check whether --enable-gstreamer-1-0 was given.
if test ${enable_gstreamer_1_0+y}
then :
enableval=$enable_gstreamer_1_0;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_gstreamer_1_0=yes
else
enable_gstreamer_1_0=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-gstreamer-1-0=$enable_gstreamer_1_0" >&5
printf "%s\n" "$as_me: Randomly set --enable-gstreamer-1-0=$enable_gstreamer_1_0" >&6;}
libo_fuzzed_enable_gstreamer_1_0=yes
libo_fuzz_list="$libo_fuzz_list --enable-gstreamer-1-0="'$enable_gstreamer_1_0'
fi
test "${enable_gstreamer_1_0+set}" = set || enable_gstreamer_1_0=yes
fi
# Enable by default on Linux and macOS only
if test $_os = Darwin -o $_os = Linux -o $_os = WINNT; then
# Check whether --enable-eot was given.
if test ${enable_eot+y}
then :
enableval=$enable_eot;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_eot=yes
else
enable_eot=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-eot=$enable_eot" >&5
printf "%s\n" "$as_me: Randomly set --enable-eot=$enable_eot" >&6;}
libo_fuzzed_enable_eot=yes
libo_fuzz_list="$libo_fuzz_list --enable-eot="'$enable_eot'
fi
test "${enable_eot+set}" = set || enable_eot=yes
fi
else
# Check whether --enable-eot was given.
if test ${enable_eot+y}
then :
enableval=$enable_eot;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_eot=yes
else
enable_eot=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-eot=$enable_eot" >&5
printf "%s\n" "$as_me: Randomly set --enable-eot=$enable_eot" >&6;}
libo_fuzzed_enable_eot=yes
libo_fuzz_list="$libo_fuzz_list --enable-eot="'$enable_eot'
fi
test "${enable_eot+set}" = set || enable_eot=no
fi
fi
# Check whether --enable-cve-tests was given.
if test ${enable_cve_tests+y}
then :
enableval=$enable_cve_tests;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_cve_tests=yes
else
enable_cve_tests=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-cve-tests=$enable_cve_tests" >&5
printf "%s\n" "$as_me: Randomly set --enable-cve-tests=$enable_cve_tests" >&6;}
libo_fuzzed_enable_cve_tests=yes
libo_fuzz_list="$libo_fuzz_list --enable-cve-tests="'$enable_cve_tests'
fi
fi
# Check whether --enable-nan-tests was given.
if test ${enable_nan_tests+y}
then :
enableval=$enable_nan_tests;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_nan_tests=yes
else
enable_nan_tests=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-nan-tests=$enable_nan_tests" >&5
printf "%s\n" "$as_me: Randomly set --enable-nan-tests=$enable_nan_tests" >&6;}
libo_fuzzed_enable_nan_tests=yes
libo_fuzz_list="$libo_fuzz_list --enable-nan-tests="'$enable_nan_tests'
fi
fi
# Check whether --enable-build-opensymbol was given.
if test ${enable_build_opensymbol+y}
then :
enableval=$enable_build_opensymbol;
fi
# Check whether --enable-dependency-tracking was given.
if test ${enable_dependency_tracking+y}
then :
enableval=$enable_dependency_tracking;
fi
# Check whether --enable-icecream was given.
if test ${enable_icecream+y}
then :
enableval=$enable_icecream;
fi
# Check whether --enable-ld was given.
if test ${enable_ld+y}
then :
enableval=$enable_ld;
fi
# Check whether --enable-cpdb was given.
if test ${enable_cpdb+y}
then :
enableval=$enable_cpdb;
fi
# Check whether --enable-cups was given.
if test ${enable_cups+y}
then :
enableval=$enable_cups;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_cups=yes
else
enable_cups=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-cups=$enable_cups" >&5
printf "%s\n" "$as_me: Randomly set --enable-cups=$enable_cups" >&6;}
libo_fuzzed_enable_cups=yes
libo_fuzz_list="$libo_fuzz_list --enable-cups="'$enable_cups'
fi
fi
# Check whether --enable-ccache was given.
if test ${enable_ccache+y}
then :
enableval=$enable_ccache;
fi
# Check whether --enable-z7-debug was given.
if test ${enable_z7_debug+y}
then :
enableval=$enable_z7_debug;
fi
# Check whether --enable-online-update was given.
if test ${enable_online_update+y}
then :
enableval=$enable_online_update;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_online_update=yes
else
enable_online_update=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-online-update=$enable_online_update" >&5
printf "%s\n" "$as_me: Randomly set --enable-online-update=$enable_online_update" >&6;}
libo_fuzzed_enable_online_update=yes
libo_fuzz_list="$libo_fuzz_list --enable-online-update="'$enable_online_update'
fi
fi
# Check whether --enable-online-update-mar was given.
if test ${enable_online_update_mar+y}
then :
enableval=$enable_online_update_mar;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_online_update_mar=yes
else
enable_online_update_mar=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-online-update-mar=$enable_online_update_mar" >&5
printf "%s\n" "$as_me: Randomly set --enable-online-update-mar=$enable_online_update_mar" >&6;}
libo_fuzzed_enable_online_update_mar=yes
libo_fuzz_list="$libo_fuzz_list --enable-online-update-mar="'$enable_online_update_mar'
fi
fi
# Check whether --with-online-update-mar-baseurl was given.
if test ${with_online_update_mar_baseurl+y}
then :
withval=$with_online_update_mar_baseurl;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
with_online_update_mar_baseurl=yes
else
with_online_update_mar_baseurl=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --with-online-update-mar-baseurl=$with_online_update_mar_baseurl" >&5
printf "%s\n" "$as_me: Randomly set --with-online-update-mar-baseurl=$with_online_update_mar_baseurl" >&6;}
libo_fuzzed_with_online_update_mar_baseurl=yes
libo_fuzz_list="$libo_fuzz_list --with-online-update-mar-baseurl="'$with_online_update_mar_baseurl'
fi
fi
# Check whether --with-online-update-mar-certificateder was given.
if test ${with_online_update_mar_certificateder+y}
then :
withval=$with_online_update_mar_certificateder;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
with_online_update_mar_certificateder=yes
else
with_online_update_mar_certificateder=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --with-online-update-mar-certificateder=$with_online_update_mar_certificateder" >&5
printf "%s\n" "$as_me: Randomly set --with-online-update-mar-certificateder=$with_online_update_mar_certificateder" >&6;}
libo_fuzzed_with_online_update_mar_certificateder=yes
libo_fuzz_list="$libo_fuzz_list --with-online-update-mar-certificateder="'$with_online_update_mar_certificateder'
fi
fi
# Check whether --with-online-update-mar-certificatename was given.
if test ${with_online_update_mar_certificatename+y}
then :
withval=$with_online_update_mar_certificatename;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
with_online_update_mar_certificatename=yes
else
with_online_update_mar_certificatename=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --with-online-update-mar-certificatename=$with_online_update_mar_certificatename" >&5
printf "%s\n" "$as_me: Randomly set --with-online-update-mar-certificatename=$with_online_update_mar_certificatename" >&6;}
libo_fuzzed_with_online_update_mar_certificatename=yes
libo_fuzz_list="$libo_fuzz_list --with-online-update-mar-certificatename="'$with_online_update_mar_certificatename'
fi
fi
# Check whether --with-online-update-mar-certificatepath was given.
if test ${with_online_update_mar_certificatepath+y}
then :
withval=$with_online_update_mar_certificatepath;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
with_online_update_mar_certificatepath=yes
else
with_online_update_mar_certificatepath=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --with-online-update-mar-certificatepath=$with_online_update_mar_certificatepath" >&5
printf "%s\n" "$as_me: Randomly set --with-online-update-mar-certificatepath=$with_online_update_mar_certificatepath" >&6;}
libo_fuzzed_with_online_update_mar_certificatepath=yes
libo_fuzz_list="$libo_fuzz_list --with-online-update-mar-certificatepath="'$with_online_update_mar_certificatepath'
fi
fi
# Check whether --enable-extension-update was given.
if test ${enable_extension_update+y}
then :
enableval=$enable_extension_update;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_extension_update=yes
else
enable_extension_update=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-extension-update=$enable_extension_update" >&5
printf "%s\n" "$as_me: Randomly set --enable-extension-update=$enable_extension_update" >&6;}
libo_fuzzed_enable_extension_update=yes
libo_fuzz_list="$libo_fuzz_list --enable-extension-update="'$enable_extension_update'
fi
fi
# Check whether --enable-release-build was given.
if test ${enable_release_build+y}
then :
enableval=$enable_release_build;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_release_build=yes
else
enable_release_build=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-release-build=$enable_release_build" >&5
printf "%s\n" "$as_me: Randomly set --enable-release-build=$enable_release_build" >&6;}
libo_fuzzed_enable_release_build=yes
libo_fuzz_list="$libo_fuzz_list --enable-release-build="'$enable_release_build'
fi
fi
# Check whether --enable-hardening-flags was given.
if test ${enable_hardening_flags+y}
then :
enableval=$enable_hardening_flags;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_hardening_flags=yes
else
enable_hardening_flags=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-hardening-flags=$enable_hardening_flags" >&5
printf "%s\n" "$as_me: Randomly set --enable-hardening-flags=$enable_hardening_flags" >&6;}
libo_fuzzed_enable_hardening_flags=yes
libo_fuzz_list="$libo_fuzz_list --enable-hardening-flags="'$enable_hardening_flags'
fi
fi
# Check whether --enable-windows-build-signing was given.
if test ${enable_windows_build_signing+y}
then :
enableval=$enable_windows_build_signing;
fi
# Check whether --enable-silent-msi was given.
if test ${enable_silent_msi+y}
then :
enableval=$enable_silent_msi;
fi
# Check whether --enable-wix was given.
if test ${enable_wix+y}
then :
enableval=$enable_wix;
fi
# Check whether --enable-macosx-code-signing was given.
if test ${enable_macosx_code_signing+y}
then :
enableval=$enable_macosx_code_signing;
fi
# Check whether --enable-macosx-package-signing was given.
if test ${enable_macosx_package_signing+y}
then :
enableval=$enable_macosx_package_signing;
fi
# Check whether --enable-macosx-sandbox was given.
if test ${enable_macosx_sandbox+y}
then :
enableval=$enable_macosx_sandbox;
fi
# Check whether --with-macosx-bundle-identifier was given.
if test ${with_macosx_bundle_identifier+y}
then :
withval=$with_macosx_bundle_identifier;
else $as_nop
with_macosx_bundle_identifier=org.libreoffice.script
fi
# Check whether --with-macosx-provisioning-profile was given.
if test ${with_macosx_provisioning_profile+y}
then :
withval=$with_macosx_provisioning_profile;
fi
# Check whether --with-product-name was given.
if test ${with_product_name+y}
then :
withval=$with_product_name;
else $as_nop
with_product_name=$PRODUCTNAME
fi
# Check whether --enable-community-flavor was given.
if test ${enable_community_flavor+y}
then :
enableval=$enable_community_flavor;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_community_flavor=yes
else
enable_community_flavor=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-community-flavor=$enable_community_flavor" >&5
printf "%s\n" "$as_me: Randomly set --enable-community-flavor=$enable_community_flavor" >&6;}
libo_fuzzed_enable_community_flavor=yes
libo_fuzz_list="$libo_fuzz_list --enable-community-flavor="'$enable_community_flavor'
fi
fi
# Check whether --with-package-version was given.
if test ${with_package_version+y}
then :
withval=$with_package_version;
fi
# Check whether --enable-readonly-installset was given.
if test ${enable_readonly_installset+y}
then :
enableval=$enable_readonly_installset;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_readonly_installset=yes
else
enable_readonly_installset=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-readonly-installset=$enable_readonly_installset" >&5
printf "%s\n" "$as_me: Randomly set --enable-readonly-installset=$enable_readonly_installset" >&6;}
libo_fuzzed_enable_readonly_installset=yes
libo_fuzz_list="$libo_fuzz_list --enable-readonly-installset="'$enable_readonly_installset'
fi
fi
# Check whether --enable-mariadb-sdbc was given.
if test ${enable_mariadb_sdbc+y}
then :
enableval=$enable_mariadb_sdbc;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_mariadb_sdbc=yes
else
enable_mariadb_sdbc=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-mariadb-sdbc=$enable_mariadb_sdbc" >&5
printf "%s\n" "$as_me: Randomly set --enable-mariadb-sdbc=$enable_mariadb_sdbc" >&6;}
libo_fuzzed_enable_mariadb_sdbc=yes
libo_fuzz_list="$libo_fuzz_list --enable-mariadb-sdbc="'$enable_mariadb_sdbc'
fi
fi
# Check whether --enable-postgresql-sdbc was given.
if test ${enable_postgresql_sdbc+y}
then :
enableval=$enable_postgresql_sdbc;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_postgresql_sdbc=yes
else
enable_postgresql_sdbc=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-postgresql-sdbc=$enable_postgresql_sdbc" >&5
printf "%s\n" "$as_me: Randomly set --enable-postgresql-sdbc=$enable_postgresql_sdbc" >&6;}
libo_fuzzed_enable_postgresql_sdbc=yes
libo_fuzz_list="$libo_fuzz_list --enable-postgresql-sdbc="'$enable_postgresql_sdbc'
fi
fi
# Check whether --enable-lotuswordpro was given.
if test ${enable_lotuswordpro+y}
then :
enableval=$enable_lotuswordpro;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_lotuswordpro=yes
else
enable_lotuswordpro=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-lotuswordpro=$enable_lotuswordpro" >&5
printf "%s\n" "$as_me: Randomly set --enable-lotuswordpro=$enable_lotuswordpro" >&6;}
libo_fuzzed_enable_lotuswordpro=yes
libo_fuzz_list="$libo_fuzz_list --enable-lotuswordpro="'$enable_lotuswordpro'
fi
test "${enable_lotuswordpro+set}" = set || enable_lotuswordpro=yes
fi
# Check whether --enable-firebird-sdbc was given.
if test ${enable_firebird_sdbc+y}
then :
enableval=$enable_firebird_sdbc;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_firebird_sdbc=yes
else
enable_firebird_sdbc=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-firebird-sdbc=$enable_firebird_sdbc" >&5
printf "%s\n" "$as_me: Randomly set --enable-firebird-sdbc=$enable_firebird_sdbc" >&6;}
libo_fuzzed_enable_firebird_sdbc=yes
libo_fuzz_list="$libo_fuzz_list --enable-firebird-sdbc="'$enable_firebird_sdbc'
fi
test "${enable_firebird_sdbc+set}" = set || enable_firebird_sdbc=yes
fi
# Check whether --enable-bogus-pkg-config was given.
if test ${enable_bogus_pkg_config+y}
then :
enableval=$enable_bogus_pkg_config;
fi
# Check whether --enable-openssl was given.
if test ${enable_openssl+y}
then :
enableval=$enable_openssl;
else $as_nop
enable_openssl=yes
fi
# Check whether --enable-cipher-openssl-backend was given.
if test ${enable_cipher_openssl_backend+y}
then :
enableval=$enable_cipher_openssl_backend;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_cipher_openssl_backend=yes
else
enable_cipher_openssl_backend=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-cipher-openssl-backend=$enable_cipher_openssl_backend" >&5
printf "%s\n" "$as_me: Randomly set --enable-cipher-openssl-backend=$enable_cipher_openssl_backend" >&6;}
libo_fuzzed_enable_cipher_openssl_backend=yes
libo_fuzz_list="$libo_fuzz_list --enable-cipher-openssl-backend="'$enable_cipher_openssl_backend'
fi
fi
# Check whether --enable-nss was given.
if test ${enable_nss+y}
then :
enableval=$enable_nss;
else $as_nop
enable_nss=yes
fi
# Check whether --enable-library-bin-tar was given.
if test ${enable_library_bin_tar+y}
then :
enableval=$enable_library_bin_tar;
fi
# Check whether --enable-dconf was given.
if test ${enable_dconf+y}
then :
enableval=$enable_dconf;
fi
# Check whether --enable-formula-logger was given.
if test ${enable_formula_logger+y}
then :
enableval=$enable_formula_logger;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_formula_logger=yes
else
enable_formula_logger=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-formula-logger=$enable_formula_logger" >&5
printf "%s\n" "$as_me: Randomly set --enable-formula-logger=$enable_formula_logger" >&6;}
libo_fuzzed_enable_formula_logger=yes
libo_fuzz_list="$libo_fuzz_list --enable-formula-logger="'$enable_formula_logger'
fi
fi
# Check whether --enable-ldap was given.
if test ${enable_ldap+y}
then :
enableval=$enable_ldap;
else $as_nop
enable_ldap=yes
fi
# Check whether --enable-opencl was given.
if test ${enable_opencl+y}
then :
enableval=$enable_opencl;
else $as_nop
enable_opencl=yes
fi
# Check whether --enable-librelogo was given.
if test ${enable_librelogo+y}
then :
enableval=$enable_librelogo;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_librelogo=yes
else
enable_librelogo=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-librelogo=$enable_librelogo" >&5
printf "%s\n" "$as_me: Randomly set --enable-librelogo=$enable_librelogo" >&6;}
libo_fuzzed_enable_librelogo=yes
libo_fuzz_list="$libo_fuzz_list --enable-librelogo="'$enable_librelogo'
fi
enable_librelogo=yes
fi
# Check whether --enable-wasm-strip was given.
if test ${enable_wasm_strip+y}
then :
enableval=$enable_wasm_strip;
fi
# Check whether --with-wasm-module was given.
if test ${with_wasm_module+y}
then :
withval=$with_wasm_module;
else $as_nop
with_wasm_module='calc writer'
fi
# Don't include impress by default. Debug builds become too large for Chromium
# with 'calc impress writer' enabled. (buffer source exceeds maximum size)
if test "$_os" = Emscripten; then
# Check whether --enable-emscripten-jspi was given.
if test ${enable_emscripten_jspi+y}
then :
enableval=$enable_emscripten_jspi;
fi
else
enable_emscripten_jspi=
fi
if test "$_os" = Emscripten; then
# Check whether --enable-emscripten-proxy-to-pthread was given.
if test ${enable_emscripten_proxy_to_pthread+y}
then :
enableval=$enable_emscripten_proxy_to_pthread;
else $as_nop
enable_emscripten_proxy_to_pthread=yes
fi
else
enable_emscripten_proxy_to_pthread=
fi
if test "$_os" = Emscripten; then
# Check whether --enable-emscripten-proxy-posix-sockets was given.
if test ${enable_emscripten_proxy_posix_sockets+y}
then :
enableval=$enable_emscripten_proxy_posix_sockets;
fi
else
enable_emscripten_proxy_posix_sockets=
fi
# Check whether --enable-xmlhelp was given.
if test ${enable_xmlhelp+y}
then :
enableval=$enable_xmlhelp;
else $as_nop
enable_xmlhelp=yes
fi
# Check whether --enable-customtarget-components was given.
if test ${enable_customtarget_components+y}
then :
enableval=$enable_customtarget_components;
fi
# Check whether --enable-cli was given.
if test ${enable_cli+y}
then :
enableval=$enable_cli;
else $as_nop
enable_cli=yes
fi
# Check whether --with-extra-cc-flags was given.
if test ${with_extra_cc_flags+y}
then :
withval=$with_extra_cc_flags;
fi
# Check whether --with-extra-cxx-flags was given.
if test ${with_extra_cxx_flags+y}
then :
withval=$with_extra_cxx_flags;
fi
# Check whether --with-gcc-home was given.
if test ${with_gcc_home+y}
then :
withval=$with_gcc_home;
fi
# Check whether --with-gnu-patch was given.
if test ${with_gnu_patch+y}
then :
withval=$with_gnu_patch;
fi
# Check whether --with-build-platform-configure-options was given.
if test ${with_build_platform_configure_options+y}
then :
withval=$with_build_platform_configure_options;
fi
# Check whether --with-gnu-cp was given.
if test ${with_gnu_cp+y}
then :
withval=$with_gnu_cp;
fi
# Check whether --with-external-tar was given.
if test ${with_external_tar+y}
then :
withval=$with_external_tar; TARFILE_LOCATION=$withval
fi
# Check whether --with-referenced-git was given.
if test ${with_referenced_git+y}
then :
withval=$with_referenced_git; GIT_REFERENCE_SRC=$withval
fi
# Check whether --with-linked-git was given.
if test ${with_linked_git+y}
then :
withval=$with_linked_git; GIT_LINK_SRC=$withval
fi
# Check whether --with-galleries was given.
if test ${with_galleries+y}
then :
withval=$with_galleries;
fi
# Check whether --with-templates was given.
if test ${with_templates+y}
then :
withval=$with_templates;
fi
# Check whether --with-theme was given.
if test ${with_theme+y}
then :
withval=$with_theme;
fi
# Check whether --with-helppack-integration was given.
if test ${with_helppack_integration+y}
then :
withval=$with_helppack_integration;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
with_helppack_integration=yes
else
with_helppack_integration=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --with-helppack-integration=$with_helppack_integration" >&5
printf "%s\n" "$as_me: Randomly set --with-helppack-integration=$with_helppack_integration" >&6;}
libo_fuzzed_with_helppack_integration=yes
libo_fuzz_list="$libo_fuzz_list --with-helppack-integration="'$with_helppack_integration'
fi
fi
# Check whether --with-fonts was given.
if test ${with_fonts+y}
then :
withval=$with_fonts;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
with_fonts=yes
else
with_fonts=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --with-fonts=$with_fonts" >&5
printf "%s\n" "$as_me: Randomly set --with-fonts=$with_fonts" >&6;}
libo_fuzzed_with_fonts=yes
libo_fuzz_list="$libo_fuzz_list --with-fonts="'$with_fonts'
fi
fi
# Check whether --with-docrepair-fonts was given.
if test ${with_docrepair_fonts+y}
then :
withval=$with_docrepair_fonts;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
with_docrepair_fonts=yes
else
with_docrepair_fonts=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --with-docrepair-fonts=$with_docrepair_fonts" >&5
printf "%s\n" "$as_me: Randomly set --with-docrepair-fonts=$with_docrepair_fonts" >&6;}
libo_fuzzed_with_docrepair_fonts=yes
libo_fuzz_list="$libo_fuzz_list --with-docrepair-fonts="'$with_docrepair_fonts'
fi
fi
# Check whether --with-epm was given.
if test ${with_epm+y}
then :
withval=$with_epm;
fi
# Check whether --with-package-format was given.
if test ${with_package_format+y}
then :
withval=$with_package_format;
fi
# Check whether --with-tls was given.
if test ${with_tls+y}
then :
withval=$with_tls;
fi
# Check whether --with-system-libs was given.
if test ${with_system_libs+y}
then :
withval=$with_system_libs;
fi
# Check whether --with-system-bzip2 was given.
if test ${with_system_bzip2+y}
then :
withval=$with_system_bzip2;
else $as_nop
with_system_bzip2="$with_system_libs"
fi
# Check whether --with-system-headers was given.
if test ${with_system_headers+y}
then :
withval=$with_system_headers;
else $as_nop
with_system_headers="$with_system_libs"
fi
# Check whether --with-system-jars was given.
if test ${with_system_jars+y}
then :
withval=$with_system_jars;
else $as_nop
with_system_jars="$with_system_libs"
fi
# Check whether --with-system-cairo was given.
if test ${with_system_cairo+y}
then :
withval=$with_system_cairo;
fi
# Check whether --with-system-epoxy was given.
if test ${with_system_epoxy+y}
then :
withval=$with_system_epoxy;
else $as_nop
with_system_epoxy="$with_system_libs"
fi
# Check whether --with-myspell-dicts was given.
if test ${with_myspell_dicts+y}
then :
withval=$with_myspell_dicts;
fi
# Check whether --with-system-dicts was given.
if test ${with_system_dicts+y}
then :
withval=$with_system_dicts;
fi
# Check whether --with-external-dict-dir was given.
if test ${with_external_dict_dir+y}
then :
withval=$with_external_dict_dir;
fi
# Check whether --with-external-hyph-dir was given.
if test ${with_external_hyph_dir+y}
then :
withval=$with_external_hyph_dir;
fi
# Check whether --with-external-thes-dir was given.
if test ${with_external_thes_dir+y}
then :
withval=$with_external_thes_dir;
fi
# Check whether --with-system-zlib was given.
if test ${with_system_zlib+y}
then :
withval=$with_system_zlib;
else $as_nop
with_system_zlib=auto
fi
# Check whether --with-system-zstd was given.
if test ${with_system_zstd+y}
then :
withval=$with_system_zstd;
else $as_nop
with_system_zstd=auto
fi
# Check whether --with-system-jpeg was given.
if test ${with_system_jpeg+y}
then :
withval=$with_system_jpeg;
else $as_nop
with_system_jpeg="$with_system_libs"
fi
# Check whether --with-system-expat was given.
if test ${with_system_expat+y}
then :
withval=$with_system_expat;
else $as_nop
with_system_expat="$with_system_libs"
fi
# Check whether --with-system-libxml was given.
if test ${with_system_libxml+y}
then :
withval=$with_system_libxml;
else $as_nop
with_system_libxml=auto
fi
# Check whether --with-system-openldap was given.
if test ${with_system_openldap+y}
then :
withval=$with_system_openldap;
else $as_nop
with_system_openldap="$with_system_libs"
fi
# Check whether --enable-poppler was given.
if test ${enable_poppler+y}
then :
enableval=$enable_poppler;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_poppler=yes
else
enable_poppler=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-poppler=$enable_poppler" >&5
printf "%s\n" "$as_me: Randomly set --enable-poppler=$enable_poppler" >&6;}
libo_fuzzed_enable_poppler=yes
libo_fuzz_list="$libo_fuzz_list --enable-poppler="'$enable_poppler'
fi
fi
# Check whether --with-system-poppler was given.
if test ${with_system_poppler+y}
then :
withval=$with_system_poppler;
else $as_nop
with_system_poppler="$with_system_libs"
fi
# Check whether --with-system-abseil was given.
if test ${with_system_abseil+y}
then :
withval=$with_system_abseil;
else $as_nop
with_system_abseil="$with_system_libs"
fi
# Check whether --with-system-openjpeg was given.
if test ${with_system_openjpeg+y}
then :
withval=$with_system_openjpeg;
else $as_nop
with_system_openjpeg="$with_system_libs"
fi
# Check whether --enable-gpgmepp was given.
if test ${enable_gpgmepp+y}
then :
enableval=$enable_gpgmepp;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_gpgmepp=yes
else
enable_gpgmepp=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-gpgmepp=$enable_gpgmepp" >&5
printf "%s\n" "$as_me: Randomly set --enable-gpgmepp=$enable_gpgmepp" >&6;}
libo_fuzzed_enable_gpgmepp=yes
libo_fuzz_list="$libo_fuzz_list --enable-gpgmepp="'$enable_gpgmepp'
fi
fi
# Check whether --with-system-gpgmepp was given.
if test ${with_system_gpgmepp+y}
then :
withval=$with_system_gpgmepp;
else $as_nop
with_system_gpgmepp="$with_system_libs"
fi
# Check whether --with-system-mariadb was given.
if test ${with_system_mariadb+y}
then :
withval=$with_system_mariadb;
else $as_nop
with_system_mariadb="$with_system_libs"
fi
# Check whether --enable-bundle-mariadb was given.
if test ${enable_bundle_mariadb+y}
then :
enableval=$enable_bundle_mariadb;
fi
# Check whether --with-system-postgresql was given.
if test ${with_system_postgresql+y}
then :
withval=$with_system_postgresql;
else $as_nop
with_system_postgresql="$with_system_libs"
fi
# Check whether --with-libpq-path was given.
if test ${with_libpq_path+y}
then :
withval=$with_libpq_path;
fi
# Check whether --with-system-firebird was given.
if test ${with_system_firebird+y}
then :
withval=$with_system_firebird;
else $as_nop
with_system_firebird="$with_system_libs"
fi
# Check whether --with-system-libtommath was given.
if test ${with_system_libtommath+y}
then :
withval=$with_system_libtommath;
else $as_nop
with_system_libtommath="$with_system_libs"
fi
# Check whether --with-system-hsqldb was given.
if test ${with_system_hsqldb+y}
then :
withval=$with_system_hsqldb;
fi
# Check whether --with-hsqldb-jar was given.
if test ${with_hsqldb_jar+y}
then :
withval=$with_hsqldb_jar; HSQLDB_JAR=$withval
fi
# Check whether --enable-scripting-beanshell was given.
if test ${enable_scripting_beanshell+y}
then :
enableval=$enable_scripting_beanshell;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_scripting_beanshell=yes
else
enable_scripting_beanshell=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-scripting-beanshell=$enable_scripting_beanshell" >&5
printf "%s\n" "$as_me: Randomly set --enable-scripting-beanshell=$enable_scripting_beanshell" >&6;}
libo_fuzzed_enable_scripting_beanshell=yes
libo_fuzz_list="$libo_fuzz_list --enable-scripting-beanshell="'$enable_scripting_beanshell'
fi
fi
# Check whether --with-system-beanshell was given.
if test ${with_system_beanshell+y}
then :
withval=$with_system_beanshell;
else $as_nop
with_system_beanshell="$with_system_jars"
fi
# Check whether --with-beanshell-jar was given.
if test ${with_beanshell_jar+y}
then :
withval=$with_beanshell_jar; BSH_JAR=$withval
fi
# Check whether --enable-scripting-javascript was given.
if test ${enable_scripting_javascript+y}
then :
enableval=$enable_scripting_javascript;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_scripting_javascript=yes
else
enable_scripting_javascript=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-scripting-javascript=$enable_scripting_javascript" >&5
printf "%s\n" "$as_me: Randomly set --enable-scripting-javascript=$enable_scripting_javascript" >&6;}
libo_fuzzed_enable_scripting_javascript=yes
libo_fuzz_list="$libo_fuzz_list --enable-scripting-javascript="'$enable_scripting_javascript'
fi
fi
# Check whether --with-system-rhino was given.
if test ${with_system_rhino+y}
then :
withval=$with_system_rhino;
else $as_nop
with_system_rhino="$with_system_jars"
fi
# Check whether --with-rhino-jar was given.
if test ${with_rhino_jar+y}
then :
withval=$with_rhino_jar; RHINO_JAR=$withval
fi
# Check whether --with-system-jfreereport was given.
if test ${with_system_jfreereport+y}
then :
withval=$with_system_jfreereport;
else $as_nop
with_system_jfreereport="$with_system_jars"
fi
# Check whether --with-sac-jar was given.
if test ${with_sac_jar+y}
then :
withval=$with_sac_jar; SAC_JAR=$withval
fi
# Check whether --with-libxml-jar was given.
if test ${with_libxml_jar+y}
then :
withval=$with_libxml_jar; LIBXML_JAR=$withval
fi
# Check whether --with-flute-jar was given.
if test ${with_flute_jar+y}
then :
withval=$with_flute_jar; FLUTE_JAR=$withval
fi
# Check whether --with-jfreereport-jar was given.
if test ${with_jfreereport_jar+y}
then :
withval=$with_jfreereport_jar; JFREEREPORT_JAR=$withval
fi
# Check whether --with-liblayout-jar was given.
if test ${with_liblayout_jar+y}
then :
withval=$with_liblayout_jar; LIBLAYOUT_JAR=$withval
fi
# Check whether --with-libloader-jar was given.
if test ${with_libloader_jar+y}
then :
withval=$with_libloader_jar; LIBLOADER_JAR=$withval
fi
# Check whether --with-libformula-jar was given.
if test ${with_libformula_jar+y}
then :
withval=$with_libformula_jar; LIBFORMULA_JAR=$withval
fi
# Check whether --with-librepository-jar was given.
if test ${with_librepository_jar+y}
then :
withval=$with_librepository_jar; LIBREPOSITORY_JAR=$withval
fi
# Check whether --with-libfonts-jar was given.
if test ${with_libfonts_jar+y}
then :
withval=$with_libfonts_jar; LIBFONTS_JAR=$withval
fi
# Check whether --with-libserializer-jar was given.
if test ${with_libserializer_jar+y}
then :
withval=$with_libserializer_jar; LIBSERIALIZER_JAR=$withval
fi
# Check whether --with-libbase-jar was given.
if test ${with_libbase_jar+y}
then :
withval=$with_libbase_jar; LIBBASE_JAR=$withval
fi
# Check whether --with-system-odbc was given.
if test ${with_system_odbc+y}
then :
withval=$with_system_odbc;
else $as_nop
with_system_odbc="auto"
fi
# Check whether --with-system-sane was given.
if test ${with_system_sane+y}
then :
withval=$with_system_sane;
else $as_nop
with_system_sane="$with_system_headers"
fi
# Check whether --with-system-bluez was given.
if test ${with_system_bluez+y}
then :
withval=$with_system_bluez;
else $as_nop
with_system_bluez="$with_system_headers"
fi
# Check whether --with-system-boost was given.
if test ${with_system_boost+y}
then :
withval=$with_system_boost;
else $as_nop
with_system_boost="$with_system_headers"
fi
# Check whether --with-system-dragonbox was given.
if test ${with_system_dragonbox+y}
then :
withval=$with_system_dragonbox;
else $as_nop
with_system_dragonbox="$with_system_headers"
fi
# Check whether --with-system-frozen was given.
if test ${with_system_frozen+y}
then :
withval=$with_system_frozen;
else $as_nop
with_system_frozen="$with_system_headers"
fi
# Check whether --with-system-libfixmath was given.
if test ${with_system_libfixmath+y}
then :
withval=$with_system_libfixmath;
else $as_nop
with_system_libfixmath="$with_system_libs"
fi
# Check whether --with-system-glm was given.
if test ${with_system_glm+y}
then :
withval=$with_system_glm;
else $as_nop
with_system_glm="$with_system_headers"
fi
# Check whether --with-system-hunspell was given.
if test ${with_system_hunspell+y}
then :
withval=$with_system_hunspell;
else $as_nop
with_system_hunspell="$with_system_libs"
fi
# Check whether --enable-cairo-rgba was given.
if test ${enable_cairo_rgba+y}
then :
enableval=$enable_cairo_rgba;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_cairo_rgba=yes
else
enable_cairo_rgba=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-cairo-rgba=$enable_cairo_rgba" >&5
printf "%s\n" "$as_me: Randomly set --enable-cairo-rgba=$enable_cairo_rgba" >&6;}
libo_fuzzed_enable_cairo_rgba=yes
libo_fuzz_list="$libo_fuzz_list --enable-cairo-rgba="'$enable_cairo_rgba'
fi
fi
# Check whether --enable-zxing was given.
if test ${enable_zxing+y}
then :
enableval=$enable_zxing;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
enable_zxing=yes
else
enable_zxing=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --enable-zxing=$enable_zxing" >&5
printf "%s\n" "$as_me: Randomly set --enable-zxing=$enable_zxing" >&6;}
libo_fuzzed_enable_zxing=yes
libo_fuzz_list="$libo_fuzz_list --enable-zxing="'$enable_zxing'
fi
fi
# Check whether --with-system-zxing was given.
if test ${with_system_zxing+y}
then :
withval=$with_system_zxing;
else $as_nop
with_system_zxing="$with_system_libs"
fi
# Check whether --with-system-zxcvbn was given.
if test ${with_system_zxcvbn+y}
then :
withval=$with_system_zxcvbn;
else $as_nop
with_system_zxcvbn="$with_system_libs"
fi
# Check whether --with-system-box2d was given.
if test ${with_system_box2d+y}
then :
withval=$with_system_box2d;
else $as_nop
with_system_box2d="$with_system_libs"
fi
# Check whether --with-system-mythes was given.
if test ${with_system_mythes+y}
then :
withval=$with_system_mythes;
else $as_nop
with_system_mythes="$with_system_libs"
fi
# Check whether --with-system-altlinuxhyph was given.
if test ${with_system_altlinuxhyph+y}
then :
withval=$with_system_altlinuxhyph;
else $as_nop
with_system_altlinuxhyph="$with_system_libs"
fi
# Check whether --with-system-lpsolve was given.
if test ${with_system_lpsolve+y}
then :
withval=$with_system_lpsolve;
else $as_nop
with_system_lpsolve="$with_system_libs"
fi
# Check whether --with-system-colamd was given.
if test ${with_system_colamd+y}
then :
withval=$with_system_colamd;
else $as_nop
with_system_colamd="$with_system_libs"
fi
# Check whether --with-system-coinmp was given.
if test ${with_system_coinmp+y}
then :
withval=$with_system_coinmp;
else $as_nop
with_system_coinmp="$with_system_libs"
fi
# Check whether --with-system-liblangtag was given.
if test ${with_system_liblangtag+y}
then :
withval=$with_system_liblangtag;
else $as_nop
with_system_liblangtag="$with_system_libs"
fi
# Check whether --with-system-lockfile was given.
if test ${with_system_lockfile+y}
then :
withval=$with_system_lockfile;
fi
# Check whether --with-webdav was given.
if test ${with_webdav+y}
then :
withval=$with_webdav;
fi
# Check whether --with-linker-hash-style was given.
if test ${with_linker_hash_style+y}
then :
withval=$with_linker_hash_style;
fi
# Check whether --with-jdk-home was given.
if test ${with_jdk_home+y}
then :
withval=$with_jdk_home;
fi
# Check whether --with-help was given.
if test ${with_help+y}
then :
withval=$with_help;
fi
# Check whether --with-omindex was given.
if test ${with_omindex+y}
then :
withval=$with_omindex;
fi
# Check whether --with-java was given.
if test ${with_java+y}
then :
withval=$with_java; test -z "$with_java" -o "$with_java" = "yes" && with_java=java
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
with_java=yes
else
with_java=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --with-java=$with_java" >&5
printf "%s\n" "$as_me: Randomly set --with-java=$with_java" >&6;}
libo_fuzzed_with_java=yes
libo_fuzz_list="$libo_fuzz_list --with-java="'$with_java'
fi
test -z "$with_java" -o "$with_java" = "yes" && with_java=java
fi
# Check whether --with-jvm-path was given.
if test ${with_jvm_path+y}
then :
withval=$with_jvm_path;
fi
# Check whether --with-ant-home was given.
if test ${with_ant_home+y}
then :
withval=$with_ant_home;
fi
# Check whether --with-symbol-config was given.
if test ${with_symbol_config+y}
then :
withval=$with_symbol_config;
else $as_nop
with_symbol_config=no
fi
# Check whether --with-export-validation was given.
if test ${with_export_validation+y}
then :
withval=$with_export_validation;
else $as_nop
with_export_validation=auto
fi
# Check whether --with-bffvalidator was given.
if test ${with_bffvalidator+y}
then :
withval=$with_bffvalidator;
else $as_nop
with_bffvalidator=no
fi
# Check whether --with-junit was given.
if test ${with_junit+y}
then :
withval=$with_junit;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
with_junit=yes
else
with_junit=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --with-junit=$with_junit" >&5
printf "%s\n" "$as_me: Randomly set --with-junit=$with_junit" >&6;}
libo_fuzzed_with_junit=yes
libo_fuzz_list="$libo_fuzz_list --with-junit="'$with_junit'
fi
with_junit=yes
fi
# Check whether --with-hamcrest was given.
if test ${with_hamcrest+y}
then :
withval=$with_hamcrest;
else $as_nop
with_hamcrest=yes
fi
# Check whether --with-yrs was given.
if test ${with_yrs+y}
then :
withval=$with_yrs; WITH_YRS=$withval
if test "x$withval" != "xno"; then
printf "%s\n" "#define ENABLE_YRS 1" >>confdefs.h
fi
fi
# Check whether --with-perl-home was given.
if test ${with_perl_home+y}
then :
withval=$with_perl_home;
fi
# Check whether --with-doxygen was given.
if test ${with_doxygen+y}
then :
withval=$with_doxygen;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
with_doxygen=yes
else
with_doxygen=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --with-doxygen=$with_doxygen" >&5
printf "%s\n" "$as_me: Randomly set --with-doxygen=$with_doxygen" >&6;}
libo_fuzzed_with_doxygen=yes
libo_fuzz_list="$libo_fuzz_list --with-doxygen="'$with_doxygen'
fi
with_doxygen=yes
fi
# Check whether --with-visual-studio was given.
if test ${with_visual_studio+y}
then :
withval=$with_visual_studio;
fi
# Check whether --with-windows-sdk was given.
if test ${with_windows_sdk+y}
then :
withval=$with_windows_sdk;
fi
# Check whether --with-lang was given.
if test ${with_lang+y}
then :
withval=$with_lang;
fi
# Check whether --with-locales was given.
if test ${with_locales+y}
then :
withval=$with_locales;
fi
# Kerberos and GSSAPI used only by PostgreSQL as of LibO 3.5
# and also by Mariadb/Mysql and libcurl since LibO 24.8
# Check whether --with-krb5 was given.
if test ${with_krb5+y}
then :
withval=$with_krb5;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
with_krb5=yes
else
with_krb5=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --with-krb5=$with_krb5" >&5
printf "%s\n" "$as_me: Randomly set --with-krb5=$with_krb5" >&6;}
libo_fuzzed_with_krb5=yes
libo_fuzz_list="$libo_fuzz_list --with-krb5="'$with_krb5'
fi
fi
# Check whether --with-gssapi was given.
if test ${with_gssapi+y}
then :
withval=$with_gssapi;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
with_gssapi=yes
else
with_gssapi=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --with-gssapi=$with_gssapi" >&5
printf "%s\n" "$as_me: Randomly set --with-gssapi=$with_gssapi" >&6;}
libo_fuzzed_with_gssapi=yes
libo_fuzz_list="$libo_fuzz_list --with-gssapi="'$with_gssapi'
fi
fi
# Check whether --with-lxml was given.
if test ${with_lxml+y}
then :
withval=$with_lxml;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
with_lxml=yes
else
with_lxml=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --with-lxml=$with_lxml" >&5
printf "%s\n" "$as_me: Randomly set --with-lxml=$with_lxml" >&6;}
libo_fuzzed_with_lxml=yes
libo_fuzz_list="$libo_fuzz_list --with-lxml="'$with_lxml'
fi
fi
# Check whether --with-latest-c++ was given.
if test ${with_latest_c__+y}
then :
withval=$with_latest_c__;
else $as_nop
if test "$enable_fuzz_options" = yes; then
if test `expr $RANDOM % 2` = 1; then
with_latest_c__=yes
else
with_latest_c__=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Randomly set --with-latest-c++=$with_latest_c__" >&5
printf "%s\n" "$as_me: Randomly set --with-latest-c++=$with_latest_c__" >&6;}
libo_fuzzed_with_latest_c__=yes
libo_fuzz_list="$libo_fuzz_list --with-latest-c++="'$with_latest_c__'
fi
with_latest_c__=no
fi
# Check whether --with-gtk3-build was given.
if test ${with_gtk3_build+y}
then :
withval=$with_gtk3_build;
fi
# Check whether --with-keep-awake was given.
if test ${with_keep_awake+y}
then :
withval=$with_keep_awake;
fi
# Check whether --with-dotnet was given.
if test ${with_dotnet+y}
then :
withval=$with_dotnet;
fi
# Check whether --with-branding was given.
if test ${with_branding+y}
then :
withval=$with_branding;
fi
# Check whether --with-extra-buildid was given.
if test ${with_extra_buildid+y}
then :
withval=$with_extra_buildid;
fi
# Check whether --with-vendor was given.
if test ${with_vendor+y}
then :
withval=$with_vendor;
fi
# Check whether --with-privacy-policy-url was given.
if test ${with_privacy_policy_url+y}
then :
withval=$with_privacy_policy_url; if test "x$with_privacy_policy_url" = "xyes"; then
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "you need to specify an argument when using --with-privacy-policy-url
See \`config.log' for more details" "$LINENO" 5; }
elif test "x$with_privacy_policy_url" = "xno"; then
with_privacy_policy_url="undefined"
fi
else $as_nop
with_privacy_policy_url="undefined"
fi
# Check whether --with-android-package-name was given.
if test ${with_android_package_name+y}
then :
withval=$with_android_package_name;
fi
# Check whether --with-compat-oowrappers was given.
if test ${with_compat_oowrappers+y}
then :
withval=$with_compat_oowrappers;
fi
# Check whether --with-os-version was given.
if test ${with_os_version+y}
then :
withval=$with_os_version;
fi
# Check whether --with-parallelism was given.
if test ${with_parallelism+y}
then :
withval=$with_parallelism;
fi
# Check whether --with-all-tarballs was given.
if test ${with_all_tarballs+y}
then :
withval=$with_all_tarballs;
fi
# Check whether --with-gdrive-client-id was given.
if test ${with_gdrive_client_id+y}
then :
withval=$with_gdrive_client_id;
fi
# Check whether --with-gdrive-client-secret was given.
if test ${with_gdrive_client_secret+y}
then :
withval=$with_gdrive_client_secret;
fi
# Check whether --with-alfresco-cloud-client-id was given.
if test ${with_alfresco_cloud_client_id+y}
then :
withval=$with_alfresco_cloud_client_id;
fi
# Check whether --with-alfresco-cloud-client-secret was given.
if test ${with_alfresco_cloud_client_secret+y}
then :
withval=$with_alfresco_cloud_client_secret;
fi
# Check whether --with-onedrive-client-id was given.
if test ${with_onedrive_client_id+y}
then :
withval=$with_onedrive_client_id;
fi
# Check whether --with-onedrive-client-secret was given.
if test ${with_onedrive_client_secret+y}
then :
withval=$with_onedrive_client_secret;
fi
# Check whether --with-coredumpctl was given.
if test ${with_coredumpctl+y}
then :
withval=$with_coredumpctl;
fi
# Check whether --with-buildconfig-recorded was given.
if test ${with_buildconfig_recorded+y}
then :
withval=$with_buildconfig_recorded;
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to record build config" >&5
printf %s "checking whether to record build config... " >&6; }
if test -z "$with_buildconfig_recorded"; then
with_buildconfig_recorded=no
fi
if test "$with_buildconfig_recorded" = no; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
# replace backslashes, to get a valid c++ string
config_args=$(echo $ac_configure_args | tr '\\' '/')
printf "%s\n" "#define BUILDCONFIG \"$config_args\"" >>confdefs.h
printf "%s\n" "#define BUILDCONFIG_RECORDED 1" >>confdefs.h
fi
if test "$enable_library_bin_tar" = "yes" ; then
USE_LIBRARY_BIN_TAR=TRUE
else
USE_LIBRARY_BIN_TAR=
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is Release Build" >&5
printf %s "checking whether build target is Release Build... " >&6; }
if test "$enable_release_build" = "" -o "$enable_release_build" = "no"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
ENABLE_RELEASE_BUILD=
GET_TASK_ALLOW_ENTITLEMENT='<!-- We want to be able to debug a hardened process when not building for release --><key>com.apple.security.get-task-allow</key><true/>'
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
ENABLE_RELEASE_BUILD=TRUE
GET_TASK_ALLOW_ENTITLEMENT=
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build should auto use hardening compiler flags" >&5
printf %s "checking whether build should auto use hardening compiler flags... " >&6; }
if test "$enable_hardening_flags" = "" -o "$enable_hardening_flags" = "no"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
ENABLE_HARDENING_FLAGS=
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
ENABLE_HARDENING_FLAGS=TRUE
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build a Community flavor" >&5 | | |