configure (fstransform-0.9.3-src) | : | configure (fstransform-0.9.4) | ||
---|---|---|---|---|
#! /bin/sh | #! /bin/sh | |||
# Guess values for system-dependent variables and create Makefiles. | # Guess values for system-dependent variables and create Makefiles. | |||
# Generated by GNU Autoconf 2.68 for fstransform 0.9.3. | # Generated by GNU Autoconf 2.69 for fstransform 0.9.4. | |||
# | # | |||
# Report bugs to <BUG-REPORT-ADDRESS>. | # Report bugs to <BUG-REPORT-ADDRESS>. | |||
# | # | |||
# | # | |||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | |||
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | ||||
# Foundation, Inc. | ||||
# | # | |||
# | # | |||
# This configure script is free software; the Free Software Foundation | # This configure script is free software; the Free Software Foundation | |||
# gives unlimited permission to copy, distribute and modify it. | # gives unlimited permission to copy, distribute and modify it. | |||
## -------------------- ## | ## -------------------- ## | |||
## M4sh Initialization. ## | ## M4sh Initialization. ## | |||
## -------------------- ## | ## -------------------- ## | |||
# Be more Bourne compatible | # Be more Bourne compatible | |||
DUALCASE=1; export DUALCASE # for MKS sh | DUALCASE=1; export DUALCASE # for MKS sh | |||
skipping to change at line 137 | skipping to change at line 135 | |||
# NLS nuisances. | # NLS nuisances. | |||
LC_ALL=C | LC_ALL=C | |||
export LC_ALL | export LC_ALL | |||
LANGUAGE=C | LANGUAGE=C | |||
export LANGUAGE | export LANGUAGE | |||
# CDPATH. | # CDPATH. | |||
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |||
# 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'. | ||||
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | ||||
as_fn_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 | if test "x$CONFIG_SHELL" = x; then | |||
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev /null 2>&1; then : | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev /null 2>&1; then : | |||
emulate sh | emulate sh | |||
NULLCMD=: | NULLCMD=: | |||
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |||
# is contrary to our usage. Disable this feature. | # is contrary to our usage. Disable this feature. | |||
alias -g '\${1+\"\$@\"}'='\"\$@\"' | alias -g '\${1+\"\$@\"}'='\"\$@\"' | |||
setopt NO_GLOB_SUBST | setopt NO_GLOB_SUBST | |||
else | else | |||
case \`(set -o) 2>/dev/null\` in #( | case \`(set -o) 2>/dev/null\` in #( | |||
skipping to change at line 170 | skipping to change at line 193 | |||
exitcode=0 | exitcode=0 | |||
as_fn_success || { exitcode=1; echo as_fn_success failed.; } | as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |||
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | 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_success || { exitcode=1; echo as_fn_ret_success failed.; } | |||
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |||
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |||
else | else | |||
exitcode=1; echo positional parameters were not saved. | exitcode=1; echo positional parameters were not saved. | |||
fi | fi | |||
test x\$exitcode = x0 || exit 1" | test x\$exitcode = x0 || exit 1 | |||
test -x / || exit 1" | ||||
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$ as_suggested" as_lineno_1a=\$LINENO | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$ as_suggested" as_lineno_1a=\$LINENO | |||
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as _lineno_2a=\$LINENO | 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'\" && | 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 \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | |||
test \$(( 1 + 1 )) = 2 || exit 1" | test \$(( 1 + 1 )) = 2 || exit 1" | |||
if (eval "$as_required") 2>/dev/null; then : | if (eval "$as_required") 2>/dev/null; then : | |||
as_have_required=yes | as_have_required=yes | |||
else | else | |||
as_have_required=no | as_have_required=no | |||
fi | fi | |||
skipping to change at line 214 | skipping to change at line 238 | |||
esac | esac | |||
as_found=false | as_found=false | |||
done | done | |||
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |||
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL "; } 2>/dev/null; then : | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL "; } 2>/dev/null; then : | |||
CONFIG_SHELL=$SHELL as_have_required=yes | CONFIG_SHELL=$SHELL as_have_required=yes | |||
fi; } | fi; } | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
if test "x$CONFIG_SHELL" != x; then : | if test "x$CONFIG_SHELL" != x; then : | |||
# We cannot yet assume a decent shell, so we have to provide a | export CONFIG_SHELL | |||
# neutralization value for shells without unset; and this also | # We cannot yet assume a decent shell, so we have to provide a | |||
# works around shells that cannot unset nonexistent variables. | # neutralization value for shells without unset; and this also | |||
# Preserve -v and -x to the replacement shell. | # works around shells that cannot unset nonexistent variables. | |||
BASH_ENV=/dev/null | # Preserve -v and -x to the replacement shell. | |||
ENV=/dev/null | BASH_ENV=/dev/null | |||
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | ENV=/dev/null | |||
export CONFIG_SHELL | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |||
case $- in # (((( | case $- in # (((( | |||
*v*x* | *x*v* ) as_opts=-vx ;; | *v*x* | *x*v* ) as_opts=-vx ;; | |||
*v* ) as_opts=-v ;; | *v* ) as_opts=-v ;; | |||
*x* ) as_opts=-x ;; | *x* ) as_opts=-x ;; | |||
* ) as_opts= ;; | * ) as_opts= ;; | |||
esac | esac | |||
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |||
# Admittedly, this is quite paranoid, since all the known shells bail | ||||
# out after a failed `exec'. | ||||
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | ||||
exit 255 | ||||
fi | fi | |||
if test x$as_have_required = xno; then : | if test x$as_have_required = xno; then : | |||
$as_echo "$0: This script requires a shell more modern than all" | $as_echo "$0: This script requires a shell more modern than all" | |||
$as_echo "$0: the shells that I found on your system." | $as_echo "$0: the shells that I found on your system." | |||
if test x${ZSH_VERSION+set} = xset ; then | if test x${ZSH_VERSION+set} = xset ; then | |||
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |||
$as_echo "$0: be upgraded to zsh 4.3.4 or later." | $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |||
else | else | |||
$as_echo "$0: Please tell bug-autoconf@gnu.org and BUG-REPORT-ADDRESS | $as_echo "$0: Please tell bug-autoconf@gnu.org and BUG-REPORT-ADDRESS | |||
skipping to change at line 330 | skipping to change at line 358 | |||
s//\1/ | s//\1/ | |||
q | q | |||
} | } | |||
s/.*/./; q'` | s/.*/./; q'` | |||
test -d "$as_dir" && break | test -d "$as_dir" && break | |||
done | done | |||
test -z "$as_dirs" || eval "mkdir $as_dirs" | test -z "$as_dirs" || eval "mkdir $as_dirs" | |||
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |||
} # as_fn_mkdir_p | } # 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 | # as_fn_append VAR VALUE | |||
# ---------------------- | # ---------------------- | |||
# Append the text in VALUE to the end of the definition contained in VAR. Take | # 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 | # advantage of any shell optimizations that allow amortized linear growth over | |||
# repeated appends, instead of the typical quadratic growth present in naive | # repeated appends, instead of the typical quadratic growth present in naive | |||
# implementations. | # implementations. | |||
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |||
eval 'as_fn_append () | eval 'as_fn_append () | |||
{ | { | |||
eval $1+=\$2 | eval $1+=\$2 | |||
skipping to change at line 449 | skipping to change at line 485 | |||
:lineno | :lineno | |||
N | N | |||
:loop | :loop | |||
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |||
t loop | t loop | |||
s/-\n.*// | s/-\n.*// | |||
' >$as_me.lineno && | ' >$as_me.lineno && | |||
chmod +x "$as_me.lineno" || | chmod +x "$as_me.lineno" || | |||
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX s hell" >&2; as_fn_exit 1; } | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX s hell" >&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 | # 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 | # (the dirname of $[0] is not the place where we might find the | |||
# original and so on. Autoconf is especially sensitive to this). | # original and so on. Autoconf is especially sensitive to this). | |||
. "./$as_me.lineno" | . "./$as_me.lineno" | |||
# Exit status is that of the last command. | # Exit status is that of the last command. | |||
exit | exit | |||
} | } | |||
ECHO_C= ECHO_N= ECHO_T= | ECHO_C= ECHO_N= ECHO_T= | |||
case `echo -n x` in #((((( | case `echo -n x` in #((((( | |||
skipping to change at line 483 | skipping to change at line 523 | |||
else | else | |||
rm -f conf$$.dir | rm -f conf$$.dir | |||
mkdir conf$$.dir 2>/dev/null | mkdir conf$$.dir 2>/dev/null | |||
fi | fi | |||
if (echo >conf$$.file) 2>/dev/null; then | if (echo >conf$$.file) 2>/dev/null; then | |||
if ln -s conf$$.file conf$$ 2>/dev/null; then | if ln -s conf$$.file conf$$ 2>/dev/null; then | |||
as_ln_s='ln -s' | as_ln_s='ln -s' | |||
# ... but there are two gotchas: | # ... but there are two gotchas: | |||
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | # 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. | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |||
# In both cases, we have to default to `cp -p'. | # In both cases, we have to default to `cp -pR'. | |||
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |||
as_ln_s='cp -p' | as_ln_s='cp -pR' | |||
elif ln conf$$.file conf$$ 2>/dev/null; then | elif ln conf$$.file conf$$ 2>/dev/null; then | |||
as_ln_s=ln | as_ln_s=ln | |||
else | else | |||
as_ln_s='cp -p' | as_ln_s='cp -pR' | |||
fi | fi | |||
else | else | |||
as_ln_s='cp -p' | as_ln_s='cp -pR' | |||
fi | fi | |||
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |||
rmdir conf$$.dir 2>/dev/null | rmdir conf$$.dir 2>/dev/null | |||
if mkdir -p . 2>/dev/null; then | if mkdir -p . 2>/dev/null; then | |||
as_mkdir_p='mkdir -p "$as_dir"' | as_mkdir_p='mkdir -p "$as_dir"' | |||
else | else | |||
test -d ./-p && rmdir ./-p | test -d ./-p && rmdir ./-p | |||
as_mkdir_p=false | as_mkdir_p=false | |||
fi | fi | |||
if test -x / >/dev/null 2>&1; then | as_test_x='test -x' | |||
as_test_x='test -x' | as_executable_p=as_fn_executable_p | |||
else | ||||
if ls -dL / >/dev/null 2>&1; then | ||||
as_ls_L_option=L | ||||
else | ||||
as_ls_L_option= | ||||
fi | ||||
as_test_x=' | ||||
eval sh -c '\'' | ||||
if test -d "$1"; then | ||||
test -d "$1/."; | ||||
else | ||||
case $1 in #( | ||||
-*)set "./$1";; | ||||
esac; | ||||
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | ||||
???[sx]*):;;*)false;;esac;fi | ||||
'\'' sh | ||||
' | ||||
fi | ||||
as_executable_p=$as_test_x | ||||
# Sed expression to map a string onto a valid CPP name. | # 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'" | 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. | # Sed expression to map a string onto a valid variable name. | |||
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |||
test -n "$DJDIR" || exec 7<&0 </dev/null | test -n "$DJDIR" || exec 7<&0 </dev/null | |||
exec 6>&1 | exec 6>&1 | |||
skipping to change at line 556 | skipping to change at line 576 | |||
ac_config_libobj_dir=. | ac_config_libobj_dir=. | |||
LIBOBJS= | LIBOBJS= | |||
cross_compiling=no | cross_compiling=no | |||
subdirs= | subdirs= | |||
MFLAGS= | MFLAGS= | |||
MAKEFLAGS= | MAKEFLAGS= | |||
# Identity of this package. | # Identity of this package. | |||
PACKAGE_NAME='fstransform' | PACKAGE_NAME='fstransform' | |||
PACKAGE_TARNAME='fstransform' | PACKAGE_TARNAME='fstransform' | |||
PACKAGE_VERSION='0.9.3' | PACKAGE_VERSION='0.9.4' | |||
PACKAGE_STRING='fstransform 0.9.3' | PACKAGE_STRING='fstransform 0.9.4' | |||
PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS' | PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS' | |||
PACKAGE_URL='' | PACKAGE_URL='' | |||
ac_unique_file="fsremap/src/remap.cc" | ac_unique_file="fsremap/src/remap.cc" | |||
# Factoring default headers for most tests. | # Factoring default headers for most tests. | |||
ac_includes_default="\ | ac_includes_default="\ | |||
#include <stdio.h> | #include <stdio.h> | |||
#ifdef HAVE_SYS_TYPES_H | #ifdef HAVE_SYS_TYPES_H | |||
# include <sys/types.h> | # include <sys/types.h> | |||
#endif | #endif | |||
skipping to change at line 602 | skipping to change at line 622 | |||
# include <stdint.h> | # include <stdint.h> | |||
#endif | #endif | |||
#ifdef HAVE_UNISTD_H | #ifdef HAVE_UNISTD_H | |||
# include <unistd.h> | # include <unistd.h> | |||
#endif" | #endif" | |||
ac_header_list= | ac_header_list= | |||
ac_subst_vars='am__EXEEXT_FALSE | ac_subst_vars='am__EXEEXT_FALSE | |||
am__EXEEXT_TRUE | am__EXEEXT_TRUE | |||
LTLIBOBJS | LTLIBOBJS | |||
LD_LIBEXT2FS | ||||
LD_LIBCOM_ERR | ||||
LIBOBJS | LIBOBJS | |||
EGREP | EGREP | |||
GREP | GREP | |||
CXXCPP | CXXCPP | |||
am__fastdepCXX_FALSE | am__fastdepCXX_FALSE | |||
am__fastdepCXX_TRUE | am__fastdepCXX_TRUE | |||
CXXDEPMODE | CXXDEPMODE | |||
am__nodep | ||||
AMDEPBACKSLASH | AMDEPBACKSLASH | |||
AMDEP_FALSE | AMDEP_FALSE | |||
AMDEP_TRUE | AMDEP_TRUE | |||
am__quote | ||||
am__include | am__include | |||
DEPDIR | DEPDIR | |||
OBJEXT | OBJEXT | |||
EXEEXT | EXEEXT | |||
ac_ct_CXX | ac_ct_CXX | |||
CPPFLAGS | CPPFLAGS | |||
LDFLAGS | LDFLAGS | |||
CXXFLAGS | CXXFLAGS | |||
CXX | CXX | |||
AM_BACKSLASH | ||||
AM_DEFAULT_VERBOSITY | ||||
AM_DEFAULT_V | ||||
AM_V | ||||
am__untar | am__untar | |||
am__tar | am__tar | |||
AMTAR | AMTAR | |||
am__leading_dot | am__leading_dot | |||
SET_MAKE | SET_MAKE | |||
AWK | AWK | |||
mkdir_p | mkdir_p | |||
MKDIR_P | MKDIR_P | |||
INSTALL_STRIP_PROGRAM | INSTALL_STRIP_PROGRAM | |||
STRIP | STRIP | |||
skipping to change at line 664 | skipping to change at line 690 | |||
localedir | localedir | |||
libdir | libdir | |||
psdir | psdir | |||
pdfdir | pdfdir | |||
dvidir | dvidir | |||
htmldir | htmldir | |||
infodir | infodir | |||
docdir | docdir | |||
oldincludedir | oldincludedir | |||
includedir | includedir | |||
runstatedir | ||||
localstatedir | localstatedir | |||
sharedstatedir | sharedstatedir | |||
sysconfdir | sysconfdir | |||
datadir | datadir | |||
datarootdir | datarootdir | |||
libexecdir | libexecdir | |||
sbindir | sbindir | |||
bindir | bindir | |||
program_transform_name | program_transform_name | |||
prefix | prefix | |||
exec_prefix | exec_prefix | |||
PACKAGE_URL | PACKAGE_URL | |||
PACKAGE_BUGREPORT | PACKAGE_BUGREPORT | |||
PACKAGE_STRING | PACKAGE_STRING | |||
PACKAGE_VERSION | PACKAGE_VERSION | |||
PACKAGE_TARNAME | PACKAGE_TARNAME | |||
PACKAGE_NAME | PACKAGE_NAME | |||
PATH_SEPARATOR | PATH_SEPARATOR | |||
SHELL' | SHELL | |||
am__quote' | ||||
ac_subst_files='' | ac_subst_files='' | |||
ac_user_opts=' | ac_user_opts=' | |||
enable_option_checking | enable_option_checking | |||
enable_silent_rules | ||||
enable_dependency_tracking | enable_dependency_tracking | |||
' | ' | |||
ac_precious_vars='build_alias | ac_precious_vars='build_alias | |||
host_alias | host_alias | |||
target_alias | target_alias | |||
CXX | CXX | |||
CXXFLAGS | CXXFLAGS | |||
LDFLAGS | LDFLAGS | |||
LIBS | LIBS | |||
CPPFLAGS | CPPFLAGS | |||
skipping to change at line 735 | skipping to change at line 764 | |||
# Use braces instead of parens because sh, perl, etc. also accept them. | # Use braces instead of parens because sh, perl, etc. also accept them. | |||
# (The list follows the same order as the GNU Coding Standards.) | # (The list follows the same order as the GNU Coding Standards.) | |||
bindir='${exec_prefix}/bin' | bindir='${exec_prefix}/bin' | |||
sbindir='${exec_prefix}/sbin' | sbindir='${exec_prefix}/sbin' | |||
libexecdir='${exec_prefix}/libexec' | libexecdir='${exec_prefix}/libexec' | |||
datarootdir='${prefix}/share' | datarootdir='${prefix}/share' | |||
datadir='${datarootdir}' | datadir='${datarootdir}' | |||
sysconfdir='${prefix}/etc' | sysconfdir='${prefix}/etc' | |||
sharedstatedir='${prefix}/com' | sharedstatedir='${prefix}/com' | |||
localstatedir='${prefix}/var' | localstatedir='${prefix}/var' | |||
runstatedir='${localstatedir}/run' | ||||
includedir='${prefix}/include' | includedir='${prefix}/include' | |||
oldincludedir='/usr/include' | oldincludedir='/usr/include' | |||
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | |||
infodir='${datarootdir}/info' | infodir='${datarootdir}/info' | |||
htmldir='${docdir}' | htmldir='${docdir}' | |||
dvidir='${docdir}' | dvidir='${docdir}' | |||
pdfdir='${docdir}' | pdfdir='${docdir}' | |||
psdir='${docdir}' | psdir='${docdir}' | |||
libdir='${exec_prefix}/lib' | libdir='${exec_prefix}/lib' | |||
localedir='${datarootdir}/locale' | localedir='${datarootdir}/locale' | |||
skipping to change at line 987 | skipping to change at line 1017 | |||
-psdir | --psdir | --psdi | --psd | --ps) | -psdir | --psdir | --psdi | --psd | --ps) | |||
ac_prev=psdir ;; | ac_prev=psdir ;; | |||
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |||
psdir=$ac_optarg ;; | psdir=$ac_optarg ;; | |||
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |||
| -silent | --silent | --silen | --sile | --sil) | | -silent | --silent | --silen | --sile | --sil) | |||
silent=yes ;; | 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) | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |||
ac_prev=sbindir ;; | ac_prev=sbindir ;; | |||
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |||
| --sbi=* | --sb=*) | | --sbi=* | --sb=*) | |||
sbindir=$ac_optarg ;; | sbindir=$ac_optarg ;; | |||
-sharedstatedir | --sharedstatedir | --sharedstatedi \ | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |||
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |||
| --sharedst | --shareds | --shared | --share | --shar \ | | --sharedst | --shareds | --shared | --share | --shar \ | |||
| --sha | --sh) | | --sha | --sh) | |||
skipping to change at line 1124 | skipping to change at line 1163 | |||
no) ;; | no) ;; | |||
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |||
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opt s" >&2 ;; | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opt s" >&2 ;; | |||
esac | esac | |||
fi | fi | |||
# Check all directory arguments for consistency. | # Check all directory arguments for consistency. | |||
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |||
datadir sysconfdir sharedstatedir localstatedir includedir \ | datadir sysconfdir sharedstatedir localstatedir includedir \ | |||
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |||
libdir localedir mandir | libdir localedir mandir runstatedir | |||
do | do | |||
eval ac_val=\$$ac_var | eval ac_val=\$$ac_var | |||
# Remove trailing slashes. | # Remove trailing slashes. | |||
case $ac_val in | case $ac_val in | |||
*/ ) | */ ) | |||
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |||
eval $ac_var=\$ac_val;; | eval $ac_var=\$ac_val;; | |||
esac | esac | |||
# Be sure to have absolute directory names. | # Be sure to have absolute directory names. | |||
case $ac_val in | case $ac_val in | |||
skipping to change at line 1152 | skipping to change at line 1191 | |||
# used to hold the argument of --host etc. | # used to hold the argument of --host etc. | |||
# FIXME: To remove some day. | # FIXME: To remove some day. | |||
build=$build_alias | build=$build_alias | |||
host=$host_alias | host=$host_alias | |||
target=$target_alias | target=$target_alias | |||
# FIXME: To remove some day. | # FIXME: To remove some day. | |||
if test "x$host_alias" != x; then | if test "x$host_alias" != x; then | |||
if test "x$build_alias" = x; then | if test "x$build_alias" = x; then | |||
cross_compiling=maybe | cross_compiling=maybe | |||
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use | ||||
--host. | ||||
If a cross compiler is detected then cross compile mode will be used" >&2 | ||||
elif test "x$build_alias" != "x$host_alias"; then | elif test "x$build_alias" != "x$host_alias"; then | |||
cross_compiling=yes | cross_compiling=yes | |||
fi | fi | |||
fi | fi | |||
ac_tool_prefix= | ac_tool_prefix= | |||
test -n "$host_alias" && ac_tool_prefix=$host_alias- | test -n "$host_alias" && ac_tool_prefix=$host_alias- | |||
test "$silent" = yes && exec 6>/dev/null | test "$silent" = yes && exec 6>/dev/null | |||
skipping to change at line 1237 | skipping to change at line 1274 | |||
eval ac_cv_env_${ac_var}_value=\$${ac_var} | eval ac_cv_env_${ac_var}_value=\$${ac_var} | |||
done | done | |||
# | # | |||
# Report the --help message. | # Report the --help message. | |||
# | # | |||
if test "$ac_init_help" = "long"; then | if test "$ac_init_help" = "long"; then | |||
# Omit some internal or obsolete options to make the list less imposing. | # 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. | # This message is too long to be a string in the A/UX 3.1 sh. | |||
cat <<_ACEOF | cat <<_ACEOF | |||
\`configure' configures fstransform 0.9.3 to adapt to many kinds of systems. | \`configure' configures fstransform 0.9.4 to adapt to many kinds of systems. | |||
Usage: $0 [OPTION]... [VAR=VALUE]... | Usage: $0 [OPTION]... [VAR=VALUE]... | |||
To assign environment variables (e.g., CC, CFLAGS...), specify them as | To assign environment variables (e.g., CC, CFLAGS...), specify them as | |||
VAR=VALUE. See below for descriptions of some of the useful variables. | VAR=VALUE. See below for descriptions of some of the useful variables. | |||
Defaults for the options are specified in brackets. | Defaults for the options are specified in brackets. | |||
Configuration: | Configuration: | |||
-h, --help display this help and exit | -h, --help display this help and exit | |||
skipping to change at line 1277 | skipping to change at line 1314 | |||
For better control, use the options below. | For better control, use the options below. | |||
Fine tuning of the installation directories: | Fine tuning of the installation directories: | |||
--bindir=DIR user executables [EPREFIX/bin] | --bindir=DIR user executables [EPREFIX/bin] | |||
--sbindir=DIR system admin executables [EPREFIX/sbin] | --sbindir=DIR system admin executables [EPREFIX/sbin] | |||
--libexecdir=DIR program executables [EPREFIX/libexec] | --libexecdir=DIR program executables [EPREFIX/libexec] | |||
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |||
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |||
--localstatedir=DIR modifiable single-machine data [PREFIX/var] | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |||
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] | ||||
--libdir=DIR object code libraries [EPREFIX/lib] | --libdir=DIR object code libraries [EPREFIX/lib] | |||
--includedir=DIR C header files [PREFIX/include] | --includedir=DIR C header files [PREFIX/include] | |||
--oldincludedir=DIR C header files for non-gcc [/usr/include] | --oldincludedir=DIR C header files for non-gcc [/usr/include] | |||
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |||
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |||
--infodir=DIR info documentation [DATAROOTDIR/info] | --infodir=DIR info documentation [DATAROOTDIR/info] | |||
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |||
--mandir=DIR man documentation [DATAROOTDIR/man] | --mandir=DIR man documentation [DATAROOTDIR/man] | |||
--docdir=DIR documentation root [DATAROOTDIR/doc/fstransform] | --docdir=DIR documentation root [DATAROOTDIR/doc/fstransform] | |||
--htmldir=DIR html documentation [DOCDIR] | --htmldir=DIR html documentation [DOCDIR] | |||
skipping to change at line 1303 | skipping to change at line 1341 | |||
Program names: | Program names: | |||
--program-prefix=PREFIX prepend PREFIX to installed program names | --program-prefix=PREFIX prepend PREFIX to installed program names | |||
--program-suffix=SUFFIX append SUFFIX to installed program names | --program-suffix=SUFFIX append SUFFIX to installed program names | |||
--program-transform-name=PROGRAM run sed PROGRAM on installed program names | --program-transform-name=PROGRAM run sed PROGRAM on installed program names | |||
_ACEOF | _ACEOF | |||
fi | fi | |||
if test -n "$ac_init_help"; then | if test -n "$ac_init_help"; then | |||
case $ac_init_help in | case $ac_init_help in | |||
short | recursive ) echo "Configuration of fstransform 0.9.3:";; | short | recursive ) echo "Configuration of fstransform 0.9.4:";; | |||
esac | esac | |||
cat <<\_ACEOF | cat <<\_ACEOF | |||
Optional Features: | Optional Features: | |||
--disable-option-checking ignore unrecognized --enable/--with options | --disable-option-checking ignore unrecognized --enable/--with options | |||
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |||
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |||
--disable-dependency-tracking speeds up one-time build | --enable-silent-rules less verbose build output (undo: "make V=1") | |||
--enable-dependency-tracking do not reject slow dependency extractors | --disable-silent-rules verbose build output (undo: "make V=0") | |||
--enable-dependency-tracking | ||||
do not reject slow dependency extractors | ||||
--disable-dependency-tracking | ||||
speeds up one-time build | ||||
Some influential environment variables: | Some influential environment variables: | |||
CXX C++ compiler command | CXX C++ compiler command | |||
CXXFLAGS C++ compiler flags | CXXFLAGS C++ compiler flags | |||
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |||
nonstandard directory <lib dir> | nonstandard directory <lib dir> | |||
LIBS libraries to pass to the linker, e.g. -l<library> | LIBS libraries to pass to the linker, e.g. -l<library> | |||
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | |||
you have headers in a nonstandard directory <include dir> | you have headers in a nonstandard directory <include dir> | |||
CXXCPP C++ preprocessor | CXXCPP C++ preprocessor | |||
skipping to change at line 1390 | skipping to change at line 1432 | |||
else | else | |||
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |||
fi || ac_status=$? | fi || ac_status=$? | |||
cd "$ac_pwd" || { ac_status=$?; break; } | cd "$ac_pwd" || { ac_status=$?; break; } | |||
done | done | |||
fi | fi | |||
test -n "$ac_init_help" && exit $ac_status | test -n "$ac_init_help" && exit $ac_status | |||
if $ac_init_version; then | if $ac_init_version; then | |||
cat <<\_ACEOF | cat <<\_ACEOF | |||
fstransform configure 0.9.3 | fstransform configure 0.9.4 | |||
generated by GNU Autoconf 2.68 | generated by GNU Autoconf 2.69 | |||
Copyright (C) 2010 Free Software Foundation, Inc. | Copyright (C) 2012 Free Software Foundation, Inc. | |||
This configure script is free software; the Free Software Foundation | This configure script is free software; the Free Software Foundation | |||
gives unlimited permission to copy, distribute and modify it. | gives unlimited permission to copy, distribute and modify it. | |||
_ACEOF | _ACEOF | |||
exit | exit | |||
fi | fi | |||
## ------------------------ ## | ## ------------------------ ## | |||
## Autoconf initialization. ## | ## Autoconf initialization. ## | |||
## ------------------------ ## | ## ------------------------ ## | |||
skipping to change at line 1697 | skipping to change at line 1739 | |||
fi | fi | |||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |||
fi | fi | |||
eval ac_res=\$$3 | eval ac_res=\$$3 | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |||
$as_echo "$ac_res" >&6; } | $as_echo "$ac_res" >&6; } | |||
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |||
} # ac_fn_cxx_check_type | } # ac_fn_cxx_check_type | |||
# ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES | # ac_fn_c_find_uintX_t LINENO BITS VAR | |||
# ------------------------------------------------------ | # ------------------------------------ | |||
# Tries to find if the field MEMBER exists in type AGGR, after including | # Finds an unsigned integer type with width BITS, setting cache variable VAR | |||
# INCLUDES, setting cache variable VAR accordingly. | # accordingly. | |||
ac_fn_cxx_check_member () | ac_fn_c_find_uintX_t () | |||
{ | { | |||
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 | |||
$as_echo_n "checking for $2.$3... " >&6; } | $as_echo_n "checking for uint$2_t... " >&6; } | |||
if eval \${$4+:} false; then : | if eval \${$3+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | eval "$3=no" | |||
/* end confdefs.h. */ | # Order is important - never check a type that is potentially smaller | |||
$5 | # than half of the expected target width. | |||
int | for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ | |||
main () | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do | |||
{ | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
static $2 ac_aggr; | ||||
if (ac_aggr.$3) | ||||
return 0; | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_cxx_try_compile "$LINENO"; then : | ||||
eval "$4=yes" | ||||
else | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | /* end confdefs.h. */ | |||
$5 | $ac_includes_default | |||
int | int | |||
main () | main () | |||
{ | { | |||
static $2 ac_aggr; | static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) | |||
if (sizeof ac_aggr.$3) | == 3)]; | |||
return 0; | test_array [0] = 0; | |||
return test_array [0]; | ||||
; | ; | |||
return 0; | return 0; | |||
} | } | |||
_ACEOF | _ACEOF | |||
if ac_fn_cxx_try_compile "$LINENO"; then : | if ac_fn_cxx_try_compile "$LINENO"; then : | |||
eval "$4=yes" | case $ac_type in #( | |||
else | uint$2_t) : | |||
eval "$4=no" | eval "$3=yes" ;; #( | |||
*) : | ||||
eval "$3=\$ac_type" ;; | ||||
esac | ||||
fi | fi | |||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |||
if eval test \"x\$"$3"\" = x"no"; then : | ||||
else | ||||
break | ||||
fi | fi | |||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | done | |||
fi | fi | |||
eval ac_res=\$$4 | eval ac_res=\$$3 | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |||
$as_echo "$ac_res" >&6; } | $as_echo "$ac_res" >&6; } | |||
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |||
} # ac_fn_cxx_check_member | } # ac_fn_c_find_uintX_t | |||
# ac_fn_c_find_uintX_t LINENO BITS VAR | # ac_fn_c_find_intX_t LINENO BITS VAR | |||
# ------------------------------------ | # ----------------------------------- | |||
# Finds an unsigned integer type with width BITS, setting cache variable VAR | # Finds a signed integer type with width BITS, setting cache variable VAR | |||
# accordingly. | # accordingly. | |||
ac_fn_c_find_uintX_t () | ac_fn_c_find_intX_t () | |||
{ | { | |||
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 | |||
$as_echo_n "checking for uint$2_t... " >&6; } | $as_echo_n "checking for int$2_t... " >&6; } | |||
if eval \${$3+:} false; then : | if eval \${$3+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
eval "$3=no" | eval "$3=no" | |||
# Order is important - never check a type that is potentially smaller | # Order is important - never check a type that is potentially smaller | |||
# than half of the expected target width. | # than half of the expected target width. | |||
for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ | for ac_type in int$2_t 'int' 'long int' \ | |||
'unsigned long long int' 'unsigned short int' 'unsigned char'; do | 'long long int' 'short int' 'signed char'; do | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
/* end confdefs.h. */ | /* end confdefs.h. */ | |||
$ac_includes_default | $ac_includes_default | |||
enum { N = $2 / 2 - 1 }; | ||||
int | int | |||
main () | main () | |||
{ | { | |||
static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) | static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1 | |||
== 3)]; | ) * 2 + 1))]; | |||
test_array [0] = 0 | test_array [0] = 0; | |||
return test_array [0]; | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_cxx_try_compile "$LINENO"; then : | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
$ac_includes_default | ||||
enum { N = $2 / 2 - 1 }; | ||||
int | ||||
main () | ||||
{ | ||||
static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * | ||||
2 + 1) | ||||
< ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; | ||||
test_array [0] = 0; | ||||
return test_array [0]; | ||||
; | ; | |||
return 0; | return 0; | |||
} | } | |||
_ACEOF | _ACEOF | |||
if ac_fn_cxx_try_compile "$LINENO"; then : | if ac_fn_cxx_try_compile "$LINENO"; then : | |||
else | ||||
case $ac_type in #( | case $ac_type in #( | |||
uint$2_t) : | int$2_t) : | |||
eval "$3=yes" ;; #( | eval "$3=yes" ;; #( | |||
*) : | *) : | |||
eval "$3=\$ac_type" ;; | eval "$3=\$ac_type" ;; | |||
esac | esac | |||
fi | fi | |||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |||
fi | ||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||||
if eval test \"x\$"$3"\" = x"no"; then : | if eval test \"x\$"$3"\" = x"no"; then : | |||
else | else | |||
break | break | |||
fi | fi | |||
done | done | |||
fi | fi | |||
eval ac_res=\$$3 | eval ac_res=\$$3 | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |||
$as_echo "$ac_res" >&6; } | $as_echo "$ac_res" >&6; } | |||
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |||
} # ac_fn_c_find_uintX_t | } # ac_fn_c_find_intX_t | |||
# ac_fn_cxx_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_cxx_check_member () | ||||
{ | ||||
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | ||||
$as_echo_n "checking for $2.$3... " >&6; } | ||||
if eval \${$4+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
$5 | ||||
int | ||||
main () | ||||
{ | ||||
static $2 ac_aggr; | ||||
if (ac_aggr.$3) | ||||
return 0; | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_cxx_try_compile "$LINENO"; then : | ||||
eval "$4=yes" | ||||
else | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
$5 | ||||
int | ||||
main () | ||||
{ | ||||
static $2 ac_aggr; | ||||
if (sizeof ac_aggr.$3) | ||||
return 0; | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_cxx_try_compile "$LINENO"; then : | ||||
eval "$4=yes" | ||||
else | ||||
eval "$4=no" | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||||
fi | ||||
eval ac_res=\$$4 | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||||
$as_echo "$ac_res" >&6; } | ||||
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||||
} # ac_fn_cxx_check_member | ||||
# ac_fn_cxx_try_link LINENO | # ac_fn_cxx_try_link LINENO | |||
# ------------------------- | # ------------------------- | |||
# Try to link conftest.$ac_ext, and return whether this succeeded. | # Try to link conftest.$ac_ext, and return whether this succeeded. | |||
ac_fn_cxx_try_link () | ac_fn_cxx_try_link () | |||
{ | { | |||
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |||
rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext | |||
if { { ac_try="$ac_link" | if { { ac_try="$ac_link" | |||
case "(($ac_try" in | case "(($ac_try" in | |||
skipping to change at line 1834 | skipping to change at line 1953 | |||
grep -v '^ *+' conftest.err >conftest.er1 | grep -v '^ *+' conftest.err >conftest.er1 | |||
cat conftest.er1 >&5 | cat conftest.er1 >&5 | |||
mv -f conftest.er1 conftest.err | mv -f conftest.er1 conftest.err | |||
fi | fi | |||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |||
test $ac_status = 0; } && { | test $ac_status = 0; } && { | |||
test -z "$ac_cxx_werror_flag" || | test -z "$ac_cxx_werror_flag" || | |||
test ! -s conftest.err | test ! -s conftest.err | |||
} && test -s conftest$ac_exeext && { | } && test -s conftest$ac_exeext && { | |||
test "$cross_compiling" = yes || | test "$cross_compiling" = yes || | |||
$as_test_x conftest$ac_exeext | test -x conftest$ac_exeext | |||
}; then : | }; then : | |||
ac_retval=0 | ac_retval=0 | |||
else | else | |||
$as_echo "$as_me: failed program was:" >&5 | $as_echo "$as_me: failed program was:" >&5 | |||
sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 | |||
ac_retval=1 | ac_retval=1 | |||
fi | fi | |||
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |||
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |||
skipping to change at line 1923 | skipping to change at line 2042 | |||
eval ac_res=\$$3 | eval ac_res=\$$3 | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |||
$as_echo "$ac_res" >&6; } | $as_echo "$ac_res" >&6; } | |||
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |||
} # ac_fn_cxx_check_func | } # ac_fn_cxx_check_func | |||
cat >config.log <<_ACEOF | cat >config.log <<_ACEOF | |||
This file contains any messages produced by compilers while | This file contains any messages produced by compilers while | |||
running configure, to aid debugging if configure makes a mistake. | running configure, to aid debugging if configure makes a mistake. | |||
It was created by fstransform $as_me 0.9.3, which was | It was created by fstransform $as_me 0.9.4, which was | |||
generated by GNU Autoconf 2.68. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was | |||
$ $0 $@ | $ $0 $@ | |||
_ACEOF | _ACEOF | |||
exec 5>>config.log | exec 5>>config.log | |||
{ | { | |||
cat <<_ASUNAME | cat <<_ASUNAME | |||
## --------- ## | ## --------- ## | |||
## Platform. ## | ## Platform. ## | |||
## --------- ## | ## --------- ## | |||
skipping to change at line 2300 | skipping to change at line 2419 | |||
fi | fi | |||
# These three variables are undocumented and unsupported, | # These three variables are undocumented and unsupported, | |||
# and are intended to be withdrawn in a future Autoconf release. | # 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 | # They can cause serious problems if a builder's source tree is in a directory | |||
# whose full name contains unusual characters. | # whose full name contains unusual characters. | |||
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |||
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |||
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |||
am__api_version='1.11' | am__api_version='1.16' | |||
# Find a good install program. We prefer a C program (faster), | # Find a good install program. We prefer a C program (faster), | |||
# so one script is as good as another. But avoid the broken or | # so one script is as good as another. But avoid the broken or | |||
# incompatible versions: | # incompatible versions: | |||
# SysV /etc/install, /usr/sbin/install | # SysV /etc/install, /usr/sbin/install | |||
# SunOS /usr/etc/install | # SunOS /usr/etc/install | |||
# IRIX /sbin/install | # IRIX /sbin/install | |||
# AIX /bin/install | # AIX /bin/install | |||
# AmigaOS /C/install, which installs bootblocks on floppy discs | # AmigaOS /C/install, which installs bootblocks on floppy discs | |||
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |||
skipping to change at line 2339 | skipping to change at line 2458 | |||
./ | .// | /[cC]/* | \ | ./ | .// | /[cC]/* | \ | |||
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |||
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | |||
/usr/ucb/* ) ;; | /usr/ucb/* ) ;; | |||
*) | *) | |||
# OSF1 and SCO ODT 3.0 have their own names for install. | # OSF1 and SCO ODT 3.0 have their own names for install. | |||
# Don't use installbsd from OSF since it installs stuff as root | # Don't use installbsd from OSF since it installs stuff as root | |||
# by default. | # by default. | |||
for ac_prog in ginstall scoinst install; do | for ac_prog in ginstall scoinst install; do | |||
for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do | |||
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_pr og$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | |||
if test $ac_prog = install && | if test $ac_prog = install && | |||
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |||
# AIX install. It has an incompatible calling convention. | # AIX install. It has an incompatible calling convention. | |||
: | : | |||
elif test $ac_prog = install && | elif test $ac_prog = install && | |||
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |||
# program-specific install script used by HP pwplus--don't use. | # program-specific install script used by HP pwplus--don't use. | |||
: | : | |||
else | else | |||
rm -rf conftest.one conftest.two conftest.dir | rm -rf conftest.one conftest.two conftest.dir | |||
skipping to change at line 2397 | skipping to change at line 2516 | |||
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |||
# It thinks the first close brace ends the variable substitution. | # It thinks the first close brace ends the variable substitution. | |||
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |||
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |||
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is s ane" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is s ane" >&5 | |||
$as_echo_n "checking whether build environment is sane... " >&6; } | $as_echo_n "checking whether build environment is sane... " >&6; } | |||
# Just in case | ||||
sleep 1 | ||||
echo timestamp > conftest.file | ||||
# Reject unsafe characters in $srcdir or the absolute working directory | # Reject unsafe characters in $srcdir or the absolute working directory | |||
# name. Accept space and tab only in the latter. | # name. Accept space and tab only in the latter. | |||
am_lf=' | am_lf=' | |||
' | ' | |||
case `pwd` in | case `pwd` in | |||
*[\\\"\#\$\&\'\`$am_lf]*) | *[\\\"\#\$\&\'\`$am_lf]*) | |||
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | |||
esac | esac | |||
case $srcdir in | case $srcdir in | |||
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) | |||
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; | |||
esac | esac | |||
# Do `set' in a subshell so we don't clobber the current shell's | # Do 'set' in a subshell so we don't clobber the current shell's | |||
# arguments. Must try -L first in case configure is actually a | # arguments. Must try -L first in case configure is actually a | |||
# symlink; some systems play weird games with the mod time of symlinks | # symlink; some systems play weird games with the mod time of symlinks | |||
# (eg FreeBSD returns the mod time of the symlink's containing | # (eg FreeBSD returns the mod time of the symlink's containing | |||
# directory). | # directory). | |||
if ( | if ( | |||
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | am_has_slept=no | |||
if test "$*" = "X"; then | for am_try in 1 2; do | |||
# -L didn't work. | echo "timestamp, slept: $am_has_slept" > conftest.file | |||
set X `ls -t "$srcdir/configure" conftest.file` | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |||
fi | if test "$*" = "X"; then | |||
rm -f conftest.file | # -L didn't work. | |||
if test "$*" != "X $srcdir/configure conftest.file" \ | set X `ls -t "$srcdir/configure" conftest.file` | |||
&& test "$*" != "X conftest.file $srcdir/configure"; then | fi | |||
if test "$*" != "X $srcdir/configure conftest.file" \ | ||||
# If neither matched, then we have a broken ls. This can happen | && test "$*" != "X conftest.file $srcdir/configure"; then | |||
# if, for instance, CONFIG_SHELL is bash and it inherits a | ||||
# broken ls alias from the environment. This has actually | # If neither matched, then we have a broken ls. This can happen | |||
# happened. Such a system could not be considered "sane". | # if, for instance, CONFIG_SHELL is bash and it inherits a | |||
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | # broken ls alias from the environment. This has actually | |||
alias in your environment" "$LINENO" 5 | # happened. Such a system could not be considered "sane". | |||
fi | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |||
alias in your environment" "$LINENO" 5 | ||||
fi | ||||
if test "$2" = conftest.file || test $am_try -eq 2; then | ||||
break | ||||
fi | ||||
# Just in case. | ||||
sleep 1 | ||||
am_has_slept=yes | ||||
done | ||||
test "$2" = conftest.file | test "$2" = conftest.file | |||
) | ) | |||
then | then | |||
# Ok. | # Ok. | |||
: | : | |||
else | else | |||
as_fn_error $? "newly created file is older than distributed files! | as_fn_error $? "newly created file is older than distributed files! | |||
Check your system clock" "$LINENO" 5 | Check your system clock" "$LINENO" 5 | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |||
$as_echo "yes" >&6; } | $as_echo "yes" >&6; } | |||
# If we didn't sleep, we still need to ensure time stamps of config.status and | ||||
# generated files are strictly newer. | ||||
am_sleep_pid= | ||||
if grep 'slept: no' conftest.file >/dev/null 2>&1; then | ||||
( sleep 1 ) & | ||||
am_sleep_pid=$! | ||||
fi | ||||
rm -f conftest.file | ||||
test "$program_prefix" != NONE && | test "$program_prefix" != NONE && | |||
program_transform_name="s&^&$program_prefix&;$program_transform_name" | program_transform_name="s&^&$program_prefix&;$program_transform_name" | |||
# Use a double $ so make ignores it. | # Use a double $ so make ignores it. | |||
test "$program_suffix" != NONE && | test "$program_suffix" != NONE && | |||
program_transform_name="s&\$&$program_suffix&;$program_transform_name" | program_transform_name="s&\$&$program_suffix&;$program_transform_name" | |||
# Double any \ or $. | # Double any \ or $. | |||
# By default was `s,x,x', remove it if useless. | # By default was `s,x,x', remove it if useless. | |||
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | |||
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | |||
# expand $ac_aux_dir to an absolute path | # Expand $ac_aux_dir to an absolute path. | |||
am_aux_dir=`cd $ac_aux_dir && pwd` | am_aux_dir=`cd "$ac_aux_dir" && pwd` | |||
if test x"${MISSING+set}" != xset; then | if test x"${MISSING+set}" != xset; then | |||
case $am_aux_dir in | case $am_aux_dir in | |||
*\ * | *\ *) | *\ * | *\ *) | |||
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |||
*) | *) | |||
MISSING="\${SHELL} $am_aux_dir/missing" ;; | MISSING="\${SHELL} $am_aux_dir/missing" ;; | |||
esac | esac | |||
fi | fi | |||
# Use eval to expand $SHELL | # Use eval to expand $SHELL | |||
if eval "$MISSING --run true"; then | if eval "$MISSING --is-lightweight"; then | |||
am_missing_run="$MISSING --run " | am_missing_run="$MISSING " | |||
else | else | |||
am_missing_run= | am_missing_run= | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old | |||
or missing" >&5 | or missing" >&5 | |||
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} | |||
fi | fi | |||
if test x"${install_sh}" != xset; then | if test x"${install_sh+set}" != xset; then | |||
case $am_aux_dir in | case $am_aux_dir in | |||
*\ * | *\ *) | *\ * | *\ *) | |||
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |||
*) | *) | |||
install_sh="\${SHELL} $am_aux_dir/install-sh" | install_sh="\${SHELL} $am_aux_dir/install-sh" | |||
esac | esac | |||
fi | fi | |||
# Installed binaries are usually stripped using `strip' when the user | # Installed binaries are usually stripped using 'strip' when the user | |||
# run `make install-strip'. However `strip' might not be the right | # run "make install-strip". However 'strip' might not be the right | |||
# tool to use in cross-compilation environments, therefore Automake | # tool to use in cross-compilation environments, therefore Automake | |||
# will honor the `STRIP' environment variable to overrule this program. | # will honor the 'STRIP' environment variable to overrule this program. | |||
if test "$cross_compiling" != no; then | if test "$cross_compiling" != no; then | |||
if test -n "$ac_tool_prefix"; then | if test -n "$ac_tool_prefix"; then | |||
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program n ame with args. | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program n ame with args. | |||
set dummy ${ac_tool_prefix}strip; ac_word=$2 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |||
$as_echo_n "checking for $ac_word... " >&6; } | $as_echo_n "checking for $ac_word... " >&6; } | |||
if ${ac_cv_prog_STRIP+:} false; then : | if ${ac_cv_prog_STRIP+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
if test -n "$STRIP"; then | if test -n "$STRIP"; then | |||
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |||
else | else | |||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |||
for as_dir in $PATH | for as_dir in $PATH | |||
do | do | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. | |||
for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do | |||
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |||
ac_cv_prog_STRIP="${ac_tool_prefix}strip" | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 | |||
break 2 | break 2 | |||
fi | fi | |||
done | done | |||
done | done | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
fi | fi | |||
fi | fi | |||
skipping to change at line 2547 | skipping to change at line 2681 | |||
else | else | |||
if test -n "$ac_ct_STRIP"; then | if test -n "$ac_ct_STRIP"; then | |||
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |||
else | else | |||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |||
for as_dir in $PATH | for as_dir in $PATH | |||
do | do | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. | |||
for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do | |||
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |||
ac_cv_prog_ac_ct_STRIP="strip" | ac_cv_prog_ac_ct_STRIP="strip" | |||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 | |||
break 2 | break 2 | |||
fi | fi | |||
done | done | |||
done | done | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
fi | fi | |||
fi | fi | |||
skipping to change at line 2598 | skipping to change at line 2732 | |||
if ${ac_cv_path_mkdir+:} false; then : | if ${ac_cv_path_mkdir+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |||
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | |||
do | do | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. | |||
for ac_prog in mkdir gmkdir; do | for ac_prog in mkdir gmkdir; do | |||
for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do | |||
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_pr og$ac_exec_ext"; } || continue | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue | |||
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | |||
'mkdir (GNU coreutils) '* | \ | 'mkdir (GNU coreutils) '* | \ | |||
'mkdir (coreutils) '* | \ | 'mkdir (coreutils) '* | \ | |||
'mkdir (fileutils) '4.1*) | 'mkdir (fileutils) '4.1*) | |||
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | |||
break 3;; | break 3;; | |||
esac | esac | |||
done | done | |||
done | done | |||
done | done | |||
skipping to change at line 2627 | skipping to change at line 2761 | |||
# As a last resort, use the slow shell script. Don't cache a | # As a last resort, use the slow shell script. Don't cache a | |||
# value for MKDIR_P within a source directory, because that will | # value for MKDIR_P within a source directory, because that will | |||
# break other packages using the cache if that directory is | # break other packages using the cache if that directory is | |||
# removed, or if the value is a relative name. | # removed, or if the value is a relative name. | |||
MKDIR_P="$ac_install_sh -d" | MKDIR_P="$ac_install_sh -d" | |||
fi | fi | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | |||
$as_echo "$MKDIR_P" >&6; } | $as_echo "$MKDIR_P" >&6; } | |||
mkdir_p="$MKDIR_P" | ||||
case $mkdir_p in | ||||
[\\/$]* | ?:[\\/]*) ;; | ||||
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | ||||
esac | ||||
for ac_prog in gawk mawk nawk awk | for ac_prog in gawk mawk nawk awk | |||
do | do | |||
# Extract the first word of "$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_prog", so it can be a program name with args. | |||
set dummy $ac_prog; ac_word=$2 | set dummy $ac_prog; ac_word=$2 | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |||
$as_echo_n "checking for $ac_word... " >&6; } | $as_echo_n "checking for $ac_word... " >&6; } | |||
if ${ac_cv_prog_AWK+:} false; then : | if ${ac_cv_prog_AWK+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
if test -n "$AWK"; then | if test -n "$AWK"; then | |||
ac_cv_prog_AWK="$AWK" # Let the user override the test. | ac_cv_prog_AWK="$AWK" # Let the user override the test. | |||
else | else | |||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |||
for as_dir in $PATH | for as_dir in $PATH | |||
do | do | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. | |||
for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do | |||
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |||
ac_cv_prog_AWK="$ac_prog" | ac_cv_prog_AWK="$ac_prog" | |||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 | |||
break 2 | break 2 | |||
fi | fi | |||
done | done | |||
done | done | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
fi | fi | |||
fi | fi | |||
skipping to change at line 2714 | skipping to change at line 2842 | |||
rm -rf .tst 2>/dev/null | rm -rf .tst 2>/dev/null | |||
mkdir .tst 2>/dev/null | mkdir .tst 2>/dev/null | |||
if test -d .tst; then | if test -d .tst; then | |||
am__leading_dot=. | am__leading_dot=. | |||
else | else | |||
am__leading_dot=_ | am__leading_dot=_ | |||
fi | fi | |||
rmdir .tst 2>/dev/null | rmdir .tst 2>/dev/null | |||
# Check whether --enable-silent-rules was given. | ||||
if test "${enable_silent_rules+set}" = set; then : | ||||
enableval=$enable_silent_rules; | ||||
fi | ||||
case $enable_silent_rules in # ((( | ||||
yes) AM_DEFAULT_VERBOSITY=0;; | ||||
no) AM_DEFAULT_VERBOSITY=1;; | ||||
*) AM_DEFAULT_VERBOSITY=1;; | ||||
esac | ||||
am_make=${MAKE-make} | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nest | ||||
ed variables" >&5 | ||||
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } | ||||
if ${am_cv_make_support_nested_variables+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
if $as_echo 'TRUE=$(BAR$(V)) | ||||
BAR0=false | ||||
BAR1=true | ||||
V=1 | ||||
am__doit: | ||||
@$(TRUE) | ||||
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then | ||||
am_cv_make_support_nested_variables=yes | ||||
else | ||||
am_cv_make_support_nested_variables=no | ||||
fi | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_vari | ||||
ables" >&5 | ||||
$as_echo "$am_cv_make_support_nested_variables" >&6; } | ||||
if test $am_cv_make_support_nested_variables = yes; then | ||||
AM_V='$(V)' | ||||
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | ||||
else | ||||
AM_V=$AM_DEFAULT_VERBOSITY | ||||
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | ||||
fi | ||||
AM_BACKSLASH='\' | ||||
if test "`cd $srcdir && pwd`" != "`pwd`"; then | if test "`cd $srcdir && pwd`" != "`pwd`"; then | |||
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |||
# is not polluted with repeated "-I." | # is not polluted with repeated "-I." | |||
am__isrc=' -I$(srcdir)' | am__isrc=' -I$(srcdir)' | |||
# test to see if srcdir already configured | # test to see if srcdir already configured | |||
if test -f $srcdir/config.status; then | if test -f $srcdir/config.status; then | |||
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | |||
fi | fi | |||
fi | fi | |||
skipping to change at line 2735 | skipping to change at line 2902 | |||
if test -z "$CYGPATH_W"; then | if test -z "$CYGPATH_W"; then | |||
if (cygpath --version) >/dev/null 2>/dev/null; then | if (cygpath --version) >/dev/null 2>/dev/null; then | |||
CYGPATH_W='cygpath -w' | CYGPATH_W='cygpath -w' | |||
else | else | |||
CYGPATH_W=echo | CYGPATH_W=echo | |||
fi | fi | |||
fi | fi | |||
# Define the identity of the package. | # Define the identity of the package. | |||
PACKAGE='fstransform' | PACKAGE='fstransform' | |||
VERSION='0.9.3' | VERSION='0.9.4' | |||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define PACKAGE "$PACKAGE" | #define PACKAGE "$PACKAGE" | |||
_ACEOF | _ACEOF | |||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define VERSION "$VERSION" | #define VERSION "$VERSION" | |||
_ACEOF | _ACEOF | |||
# Some tools Automake needs. | # Some tools Automake needs. | |||
skipping to change at line 2757 | skipping to change at line 2924 | |||
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | |||
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | |||
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | |||
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | |||
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | |||
# We need awk for the "check" target. The system "awk" is bad on | # For better backward compatibility. To be removed once Automake 1.9.x | |||
# some platforms. | # dies out for good. For more background, see: | |||
# Always define AMTAR for backward compatibility. | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |||
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | ||||
mkdir_p='$(MKDIR_P)' | ||||
# We need awk for the "check" target (and possibly the TAP driver). The | ||||
# system "awk" is bad on some platforms. | ||||
# Always define AMTAR for backward compatibility. Yes, it's still used | ||||
# in the wild :-( We should find a proper way to deprecate it ... | ||||
AMTAR='$${TAR-tar}' | ||||
# We'll loop over all known methods to create a tar archive until one works. | ||||
_am_tools='gnutar pax cpio none' | ||||
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' | ||||
# POSIX will say in a future version that running "rm -f" with no argument | ||||
# is OK; and we want to be able to make that assumption in our Makefile | ||||
# recipes. So use an aggressive probe to check that the usage we want is | ||||
# actually supported "in the wild" to an acceptable degree. | ||||
# See automake bug#10828. | ||||
# To make any issue more visible, cause the running configure to be aborted | ||||
# by default if the 'rm' program in use doesn't match our expectations; the | ||||
# user can still override this though. | ||||
if rm -f && rm -fr && rm -rf; then : OK; else | ||||
cat >&2 <<'END' | ||||
Oops! | ||||
Your 'rm' program seems unable to run without file operands specified | ||||
on the command line, even when the '-f' option is present. This is contrary | ||||
to the behaviour of most rm programs out there, and not conforming with | ||||
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | ||||
Please tell bug-automake@gnu.org about your system, including the value | ||||
of your $PATH and any error possibly output before this message. This | ||||
can help us improve future automake versions. | ||||
AMTAR=${AMTAR-"${am_missing_run}tar"} | END | |||
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | ||||
echo 'Configuration will proceed anyway, since you have set the' >&2 | ||||
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | ||||
echo >&2 | ||||
else | ||||
cat >&2 <<'END' | ||||
Aborting the configuration process, to ensure you take notice of the issue. | ||||
You can download and install GNU coreutils to get an 'rm' implementation | ||||
that behaves properly: <https://www.gnu.org/software/coreutils/>. | ||||
If you want to complete the configuration process using your problematic | ||||
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | ||||
to "yes", and re-run configure. | ||||
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | END | |||
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 | ||||
fi | ||||
fi | ||||
# Checks for programs. | # Checks for programs. | |||
ac_ext=cpp | ac_ext=cpp | |||
ac_cpp='$CXXCPP $CPPFLAGS' | ac_cpp='$CXXCPP $CPPFLAGS' | |||
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |||
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex t $LIBS >&5' | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex t $LIBS >&5' | |||
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |||
if test -z "$CXX"; then | if test -z "$CXX"; then | |||
if test -n "$CCC"; then | if test -n "$CCC"; then | |||
CXX=$CCC | CXX=$CCC | |||
skipping to change at line 2794 | skipping to change at line 3012 | |||
else | else | |||
if test -n "$CXX"; then | if test -n "$CXX"; then | |||
ac_cv_prog_CXX="$CXX" # Let the user override the test. | ac_cv_prog_CXX="$CXX" # Let the user override the test. | |||
else | else | |||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |||
for as_dir in $PATH | for as_dir in $PATH | |||
do | do | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. | |||
for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do | |||
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |||
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | |||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 | |||
break 2 | break 2 | |||
fi | fi | |||
done | done | |||
done | done | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
fi | fi | |||
fi | fi | |||
skipping to change at line 2837 | skipping to change at line 3055 | |||
else | else | |||
if test -n "$ac_ct_CXX"; then | if test -n "$ac_ct_CXX"; then | |||
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | |||
else | else | |||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |||
for as_dir in $PATH | for as_dir in $PATH | |||
do | do | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. | |||
for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do | |||
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |||
ac_cv_prog_ac_ct_CXX="$ac_prog" | ac_cv_prog_ac_ct_CXX="$ac_prog" | |||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 | |||
break 2 | break 2 | |||
fi | fi | |||
done | done | |||
done | done | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
fi | fi | |||
fi | fi | |||
skipping to change at line 3274 | skipping to change at line 3492 | |||
fi | fi | |||
ac_ext=c | ac_ext=c | |||
ac_cpp='$CPP $CPPFLAGS' | ac_cpp='$CPP $CPPFLAGS' | |||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 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_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' | |||
ac_compiler_gnu=$ac_cv_c_compiler_gnu | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
DEPDIR="${am__leading_dot}deps" | DEPDIR="${am__leading_dot}deps" | |||
ac_config_commands="$ac_config_commands depfiles" | ac_config_commands="$ac_config_commands depfiles" | |||
am_make=${MAKE-make} | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports | |||
cat > confinc << 'END' | the include directive" >&5 | |||
$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >& | ||||
6; } | ||||
cat > confinc.mk << 'END' | ||||
am__doit: | am__doit: | |||
@echo this is the am__doit target | @echo this is the am__doit target >confinc.out | |||
.PHONY: am__doit | .PHONY: am__doit | |||
END | END | |||
# If we don't find an include directive, just comment out the code. | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $ | ||||
am_make" >&5 | ||||
$as_echo_n "checking for style of include used by $am_make... " >&6; } | ||||
am__include="#" | am__include="#" | |||
am__quote= | am__quote= | |||
_am_result=none | # BSD make does it like this. | |||
# First try GNU make style include. | echo '.include "confinc.mk" # ignored' > confmf.BSD | |||
echo "include confinc" > confmf | # Other make implementations (GNU, Solaris 10, AIX) do it like this. | |||
# Ignore all kinds of additional output from `make'. | echo 'include confinc.mk # ignored' > confmf.GNU | |||
case `$am_make -s -f confmf 2> /dev/null` in #( | _am_result=no | |||
*the\ am__doit\ target*) | for s in GNU BSD; do | |||
am__include=include | { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 | |||
am__quote= | (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 | |||
_am_result=GNU | ac_status=$? | |||
;; | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |||
esac | (exit $ac_status); } | |||
# Now try BSD make style include. | case $?:`cat confinc.out 2>/dev/null` in #( | |||
if test "$am__include" = "#"; then | '0:this is the am__doit target') : | |||
echo '.include "confinc"' > confmf | case $s in #( | |||
case `$am_make -s -f confmf 2> /dev/null` in #( | BSD) : | |||
*the\ am__doit\ target*) | am__include='.include' am__quote='"' ;; #( | |||
am__include=.include | *) : | |||
am__quote="\"" | am__include='include' am__quote='' ;; | |||
_am_result=BSD | esac ;; #( | |||
*) : | ||||
;; | ;; | |||
esac | esac | |||
fi | if test "$am__include" != "#"; then | |||
_am_result="yes ($s style)" | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | break | |||
$as_echo "$_am_result" >&6; } | fi | |||
rm -f confinc confmf | done | |||
rm -f confinc.* confmf.* | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 | ||||
$as_echo "${_am_result}" >&6; } | ||||
# Check whether --enable-dependency-tracking was given. | # Check whether --enable-dependency-tracking was given. | |||
if test "${enable_dependency_tracking+set}" = set; then : | if test "${enable_dependency_tracking+set}" = set; then : | |||
enableval=$enable_dependency_tracking; | enableval=$enable_dependency_tracking; | |||
fi | fi | |||
if test "x$enable_dependency_tracking" != xno; then | if test "x$enable_dependency_tracking" != xno; then | |||
am_depcomp="$ac_aux_dir/depcomp" | am_depcomp="$ac_aux_dir/depcomp" | |||
AMDEPBACKSLASH='\' | AMDEPBACKSLASH='\' | |||
am__nodep='_no' | ||||
fi | fi | |||
if test "x$enable_dependency_tracking" != xno; then | if test "x$enable_dependency_tracking" != xno; then | |||
AMDEP_TRUE= | AMDEP_TRUE= | |||
AMDEP_FALSE='#' | AMDEP_FALSE='#' | |||
else | else | |||
AMDEP_TRUE='#' | AMDEP_TRUE='#' | |||
AMDEP_FALSE= | AMDEP_FALSE= | |||
fi | fi | |||
depcc="$CXX" am_compiler_list= | depcc="$CXX" am_compiler_list= | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >& 5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >& 5 | |||
$as_echo_n "checking dependency style of $depcc... " >&6; } | $as_echo_n "checking dependency style of $depcc... " >&6; } | |||
if ${am_cv_CXX_dependencies_compiler_type+:} false; then : | if ${am_cv_CXX_dependencies_compiler_type+:} false; then : | |||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |||
# We make a subdir and do the tests there. Otherwise we can end up | # We make a subdir and do the tests there. Otherwise we can end up | |||
# making bogus files that we don't know about and never remove. For | # making bogus files that we don't know about and never remove. For | |||
# instance it was reported that on HP-UX the gcc test will end up | # instance it was reported that on HP-UX the gcc test will end up | |||
# making a dummy file named `D' -- because `-MD' means `put the output | # making a dummy file named 'D' -- because '-MD' means "put the output | |||
# in D'. | # in D". | |||
rm -rf conftest.dir | ||||
mkdir conftest.dir | mkdir conftest.dir | |||
# Copy depcomp to subdir because otherwise we won't find it if we're | # Copy depcomp to subdir because otherwise we won't find it if we're | |||
# using a relative directory. | # using a relative directory. | |||
cp "$am_depcomp" conftest.dir | cp "$am_depcomp" conftest.dir | |||
cd conftest.dir | cd conftest.dir | |||
# We will build objects and dependencies in a subdirectory because | # We will build objects and dependencies in a subdirectory because | |||
# it helps to detect inapplicable dependency modes. For instance | # it helps to detect inapplicable dependency modes. For instance | |||
# both Tru64's cc and ICC support -MD to output dependencies as a | # both Tru64's cc and ICC support -MD to output dependencies as a | |||
# side effect of compilation, but ICC will put the dependencies in | # side effect of compilation, but ICC will put the dependencies in | |||
# the current directory while Tru64 will put them in the object | # the current directory while Tru64 will put them in the object | |||
skipping to change at line 3375 | skipping to change at line 3597 | |||
# Setup a source with many dependencies, because some compilers | # Setup a source with many dependencies, because some compilers | |||
# like to wrap large dependency lists on column 80 (with \), and | # like to wrap large dependency lists on column 80 (with \), and | |||
# we should not choose a depcomp mode which is confused by this. | # we should not choose a depcomp mode which is confused by this. | |||
# | # | |||
# We need to recreate these files for each test, as the compiler may | # We need to recreate these files for each test, as the compiler may | |||
# overwrite some of them when testing with obscure command lines. | # overwrite some of them when testing with obscure command lines. | |||
# This happens at least with the AIX C compiler. | # This happens at least with the AIX C compiler. | |||
: > sub/conftest.c | : > sub/conftest.c | |||
for i in 1 2 3 4 5 6; do | for i in 1 2 3 4 5 6; do | |||
echo '#include "conftst'$i'.h"' >> sub/conftest.c | echo '#include "conftst'$i'.h"' >> sub/conftest.c | |||
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |||
# Solaris 8's {/usr,}/bin/sh. | # Solaris 10 /bin/sh. | |||
touch sub/conftst$i.h | echo '/* dummy */' > sub/conftst$i.h | |||
done | done | |||
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |||
# We check with `-c' and `-o' for the sake of the "dashmstdout" | # We check with '-c' and '-o' for the sake of the "dashmstdout" | |||
# mode. It turns out that the SunPro C++ compiler does not properly | # mode. It turns out that the SunPro C++ compiler does not properly | |||
# handle `-M -o', and we need to detect this. Also, some Intel | # handle '-M -o', and we need to detect this. Also, some Intel | |||
# versions had trouble with output in subdirs | # versions had trouble with output in subdirs. | |||
am__obj=sub/conftest.${OBJEXT-o} | am__obj=sub/conftest.${OBJEXT-o} | |||
am__minus_obj="-o $am__obj" | am__minus_obj="-o $am__obj" | |||
case $depmode in | case $depmode in | |||
gcc) | gcc) | |||
# This depmode causes a compiler race in universal mode. | # This depmode causes a compiler race in universal mode. | |||
test "$am__universal" = false || continue | test "$am__universal" = false || continue | |||
;; | ;; | |||
nosideeffect) | nosideeffect) | |||
# after this tag, mechanisms are not by side-effect, so they'll | # After this tag, mechanisms are not by side-effect, so they'll | |||
# only be used when explicitly requested | # only be used when explicitly requested. | |||
if test "x$enable_dependency_tracking" = xyes; then | if test "x$enable_dependency_tracking" = xyes; then | |||
continue | continue | |||
else | else | |||
break | break | |||
fi | fi | |||
;; | ;; | |||
msvisualcpp | msvcmsys) | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | |||
# This compiler won't grok `-c -o', but also, the minuso test has | # This compiler won't grok '-c -o', but also, the minuso test has | |||
# not run yet. These depmodes are late enough in the game, and | # not run yet. These depmodes are late enough in the game, and | |||
# so weak that their functioning should not be impacted. | # so weak that their functioning should not be impacted. | |||
am__obj=conftest.${OBJEXT-o} | am__obj=conftest.${OBJEXT-o} | |||
am__minus_obj= | am__minus_obj= | |||
;; | ;; | |||
none) break ;; | none) break ;; | |||
esac | esac | |||
if depmode=$depmode \ | if depmode=$depmode \ | |||
source=sub/conftest.c object=$am__obj \ | source=sub/conftest.c object=$am__obj \ | |||
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |||
skipping to change at line 3463 | skipping to change at line 3685 | |||
fi | fi | |||
ac_ext=cpp | ac_ext=cpp | |||
ac_cpp='$CXXCPP $CPPFLAGS' | ac_cpp='$CXXCPP $CPPFLAGS' | |||
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |||
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex t $LIBS >&5' | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex t $LIBS >&5' | |||
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |||
# Checks for compiler characteristics | # Checks for compiler characteristics | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $ac_cv_prog_ac_ct_CXX | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wall" >& | |||
supports explicit template instantiation" >&5 | 5 | |||
$as_echo_n "checking whether $ac_cv_prog_ac_ct_CXX supports explicit template in | $as_echo_n "checking whether $CXX accepts -Wall... " >&6; } | |||
stantiation... " >&6; } | if ${ac_cv_cxx_flag_Wall+:} false; then : | |||
if ${ac_cv_cxx_have_template_instantiation+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | save_CXXFLAGS="$CXXFLAGS" | |||
CXXFLAGS="$CXXFLAGS -Wall" | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | /* end confdefs.h. */ | |||
template<typename T> | int | |||
class ft_my_class { | main () | |||
public: | { | |||
void apply(T *); | ||||
}; | ||||
template<typename T> | return 0; | |||
void ft_my_class<T>::apply(T * arg) | ||||
{ } | ||||
template class ft_my_class<int>; | ; | |||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_cxx_try_compile "$LINENO"; then : | ||||
ac_cv_cxx_flag_Wall=yes | ||||
else | ||||
ac_cv_cxx_flag_Wall=no | ||||
CXXFLAGS="$save_CXXFLAGS" | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_flag_Wall" >&5 | ||||
$as_echo "$ac_cv_cxx_flag_Wall" >&6; } | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wextra | ||||
" >&5 | ||||
$as_echo_n "checking whether $CXX accepts -Wextra... " >&6; } | ||||
if ${ac_cv_cxx_flag_Wextra+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
save_CXXFLAGS="$CXXFLAGS" | ||||
CXXFLAGS="$CXXFLAGS -Wextra" | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
int | int | |||
main () | main () | |||
{ | { | |||
ft_my_class<int> dummy; | return 0; | |||
; | ; | |||
return 0; | return 0; | |||
} | } | |||
_ACEOF | _ACEOF | |||
if ac_fn_cxx_try_compile "$LINENO"; then : | if ac_fn_cxx_try_compile "$LINENO"; then : | |||
ac_cv_cxx_have_template_instantiation=yes | ac_cv_cxx_flag_Wextra=yes | |||
else | else | |||
ac_cv_cxx_have_template_instantiation=no | ac_cv_cxx_flag_Wextra=no | |||
CXXFLAGS="$save_CXXFLAGS" | ||||
fi | fi | |||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_template_instan | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_flag_Wextra" >&5 | |||
tiation" >&5 | $as_echo "$ac_cv_cxx_flag_Wextra" >&6; } | |||
$as_echo "$ac_cv_cxx_have_template_instantiation" >&6; } | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $ac_cv_prog_ac_ct_CX | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -W" >&5 | |||
X supports inhibiting template instantiation" >&5 | $as_echo_n "checking whether $CXX accepts -W... " >&6; } | |||
$as_echo_n "checking whether $ac_cv_prog_ac_ct_CXX supports inhibiting template | if ${ac_cv_cxx_flag_W+:} false; then : | |||
instantiation... " >&6; } | ||||
if ${ac_cv_cxx_have_template_inhibition+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | $as_echo_n "(cached) " >&6 | |||
else | else | |||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | save_CXXFLAGS="$CXXFLAGS" | |||
CXXFLAGS="$CXXFLAGS -W" | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | /* end confdefs.h. */ | |||
template<typename T> | ||||
class ft_my_class { | ||||
public: | ||||
void apply(T *); | ||||
}; | ||||
extern template class ft_my_class<int>; | ||||
int | int | |||
main () | main () | |||
{ | { | |||
ft_my_class<int> dummy; | return 0; | |||
; | ; | |||
return 0; | return 0; | |||
} | } | |||
_ACEOF | _ACEOF | |||
if ac_fn_cxx_try_compile "$LINENO"; then : | if ac_fn_cxx_try_compile "$LINENO"; then : | |||
ac_cv_cxx_have_template_inhibition=yes | ac_cv_cxx_flag_W=yes | |||
else | else | |||
ac_cv_cxx_have_template_inhibition=no | ac_cv_cxx_flag_W=no | |||
CXXFLAGS="$save_CXXFLAGS" | ||||
fi | fi | |||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_template_inhibi | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_flag_W" >&5 | |||
tion" >&5 | $as_echo "$ac_cv_cxx_flag_W" >&6; } | |||
$as_echo "$ac_cv_cxx_have_template_inhibition" >&6; } | ||||
if test "$ac_cv_cxx_have_template_instantiation" = yes -a "$ac_cv_cxx_have_temp | ||||
late_inhibition" = yes; then | ||||
$as_echo "#define HAVE_EXTERN_TEMPLATE 1" >>confdefs.h | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wno-mi | |||
ssing-field-initializers" >&5 | ||||
$as_echo_n "checking whether $CXX accepts -Wno-missing-field-initializers... " > | ||||
&6; } | ||||
if ${ac_cv_cxx_flag_Wno_missing_field_initializers+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
save_CXXFLAGS="$CXXFLAGS" | ||||
CXXFLAGS="$CXXFLAGS -Wno-missing-field-initializers" | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
int | ||||
main () | ||||
{ | ||||
return 0; | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_cxx_try_compile "$LINENO"; then : | ||||
ac_cv_cxx_flag_Wno_missing_field_initializers=yes | ||||
else | ||||
ac_cv_cxx_flag_Wno_missing_field_initializers=no | ||||
CXXFLAGS="$save_CXXFLAGS" | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_flag_Wno_missing_fie | ||||
ld_initializers" >&5 | ||||
$as_echo "$ac_cv_cxx_flag_Wno_missing_field_initializers" >&6; } | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports explic | ||||
it template instantiation" >&5 | ||||
$as_echo_n "checking whether $CXX supports explicit template instantiation... " | ||||
>&6; } | ||||
if ${ac_cv_cxx_have_template_instantiation+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
template<typename T> | ||||
class ft_my_class { | ||||
public: | ||||
void apply(T *); | ||||
}; | ||||
template<typename T> | ||||
void ft_my_class<T>::apply(T * arg) | ||||
{ } | ||||
template class ft_my_class<int>; | ||||
int | ||||
main () | ||||
{ | ||||
ft_my_class<int> dummy; | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_cxx_try_compile "$LINENO"; then : | ||||
ac_cv_cxx_have_template_instantiation=yes | ||||
else | ||||
ac_cv_cxx_have_template_instantiation=no | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_template_instan | ||||
tiation" >&5 | ||||
$as_echo "$ac_cv_cxx_have_template_instantiation" >&6; } | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports inhibi | ||||
ting template instantiation" >&5 | ||||
$as_echo_n "checking whether $CXX supports inhibiting template instantiation... | ||||
" >&6; } | ||||
if ${ac_cv_cxx_have_template_inhibition+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
template<typename T> | ||||
class ft_my_class { | ||||
public: | ||||
void apply(T *); | ||||
}; | ||||
extern template class ft_my_class<int>; | ||||
int | ||||
main () | ||||
{ | ||||
ft_my_class<int> dummy; | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_cxx_try_compile "$LINENO"; then : | ||||
ac_cv_cxx_have_template_inhibition=yes | ||||
else | ||||
ac_cv_cxx_have_template_inhibition=no | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_template_inhibi | ||||
tion" >&5 | ||||
$as_echo "$ac_cv_cxx_have_template_inhibition" >&6; } | ||||
if test "$ac_cv_cxx_have_template_instantiation" = yes -a "$ac_cv_cxx_have_temp | ||||
late_inhibition" = yes; then | ||||
$as_echo "#define HAVE_EXTERN_TEMPLATE 1" >>confdefs.h | ||||
fi | fi | |||
# Checks for header files. | # Checks for header files. | |||
ac_ext=cpp | ac_ext=cpp | |||
ac_cpp='$CXXCPP $CPPFLAGS' | ac_cpp='$CXXCPP $CPPFLAGS' | |||
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |||
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex t $LIBS >&5' | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex t $LIBS >&5' | |||
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocesso r" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocesso r" >&5 | |||
skipping to change at line 3698 | skipping to change at line 4052 | |||
ac_path_GREP_found=false | ac_path_GREP_found=false | |||
# Loop through the user's path and test for each of PROGNAME-LIST | # Loop through the user's path and test for each of PROGNAME-LIST | |||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |||
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |||
do | do | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. | |||
for ac_prog in grep ggrep; do | for ac_prog in grep ggrep; do | |||
for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do | |||
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |||
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 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 and select it if it is found. | |||
# Check for GNU $ac_path_GREP | # Check for GNU $ac_path_GREP | |||
case `"$ac_path_GREP" --version 2>&1` in | case `"$ac_path_GREP" --version 2>&1` in | |||
*GNU*) | *GNU*) | |||
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |||
*) | *) | |||
ac_count=0 | ac_count=0 | |||
$as_echo_n 0123456789 >"conftest.in" | $as_echo_n 0123456789 >"conftest.in" | |||
while : | while : | |||
do | do | |||
skipping to change at line 3763 | skipping to change at line 4117 | |||
ac_path_EGREP_found=false | ac_path_EGREP_found=false | |||
# Loop through the user's path and test for each of PROGNAME-LIST | # Loop through the user's path and test for each of PROGNAME-LIST | |||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |||
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |||
do | do | |||
IFS=$as_save_IFS | IFS=$as_save_IFS | |||
test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. | |||
for ac_prog in egrep; do | for ac_prog in egrep; do | |||
for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do | |||
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |||
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 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 and select it if it is found. | |||
# Check for GNU $ac_path_EGREP | # Check for GNU $ac_path_EGREP | |||
case `"$ac_path_EGREP" --version 2>&1` in | case `"$ac_path_EGREP" --version 2>&1` in | |||
*GNU*) | *GNU*) | |||
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |||
*) | *) | |||
ac_count=0 | ac_count=0 | |||
$as_echo_n 0123456789 >"conftest.in" | $as_echo_n 0123456789 >"conftest.in" | |||
while : | while : | |||
do | do | |||
skipping to change at line 3941 | skipping to change at line 4295 | |||
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |||
_ACEOF | _ACEOF | |||
fi | fi | |||
done | done | |||
for ac_header in cerrno climits cmath cstdarg cstdio cstdlib cstring ctim e \ | for ac_header in cerrno climits cmath cstdarg cstdio cstdlib cstring ctim e \ | |||
errno.h limits.h math.h stdarg.h stdio.h stdlib.h string.h tim e.h \ | errno.h limits.h math.h stdarg.h stdio.h stdlib.h string.h tim e.h \ | |||
dirent.h fcntl.h features.h stddef.h stdint.h \ | dirent.h fcntl.h features.h stddef.h stdint.h \ | |||
linux/fiemap.h linux/fs.h sys/ioctl.h sys/mman.h sys/stat.h \ | ext2fs/ext2fs.h linux/fiemap.h linux/fs.h \ | |||
sys/disklabel.h sys/ioctl.h sys/mman.h sys/mount.h sys/stat.h | ||||
\ | ||||
sys/statvfs.h sys/time.h sys/types.h sys/wait.h \ | sys/statvfs.h sys/time.h sys/types.h sys/wait.h \ | |||
termios.h time.h unistd.h utime.h | termios.h time.h unistd.h utime.h \ | |||
tr1/unordered_map unordered_map zlib.h | ||||
do : | do : | |||
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |||
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_inclu des_default" | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_inclu des_default" | |||
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |||
_ACEOF | _ACEOF | |||
fi | fi | |||
done | done | |||
# Checks for libraries. | ||||
# Checks for typedefs, and structures | # Checks for typedefs, and structures | |||
ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_defaul t" | ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_defaul t" | |||
if test "x$ac_cv_type_mode_t" = xyes; then : | if test "x$ac_cv_type_mode_t" = xyes; then : | |||
else | else | |||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define mode_t int | #define mode_t int | |||
_ACEOF | _ACEOF | |||
skipping to change at line 4014 | skipping to change at line 4368 | |||
if test "x$ac_cv_type_ssize_t" = xyes; then : | if test "x$ac_cv_type_ssize_t" = xyes; then : | |||
else | else | |||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define ssize_t int | #define ssize_t int | |||
_ACEOF | _ACEOF | |||
fi | fi | |||
ac_fn_cxx_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_st | ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" | |||
at_st_rdev" "$ac_includes_default" | case $ac_cv_c_uint8_t in #( | |||
if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then : | no|yes) ;; #( | |||
*) | ||||
cat >>confdefs.h <<_ACEOF | ||||
#define HAVE_STRUCT_STAT_ST_RDEV 1 | ||||
_ACEOF | ||||
fi | ||||
ac_fn_cxx_check_member "$LINENO" "struct stat" "st_atim.tv_nsec" "ac_cv_member_s | ||||
truct_stat_st_atim_tv_nsec" "$ac_includes_default" | ||||
if test "x$ac_cv_member_struct_stat_st_atim_tv_nsec" = xyes; then : | ||||
cat >>confdefs.h <<_ACEOF | ||||
#define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1 | ||||
_ACEOF | ||||
fi | ||||
ac_fn_cxx_check_member "$LINENO" "struct stat" "st_mtim.tv_nsec" "ac_cv_member_s | $as_echo "#define _UINT8_T 1" >>confdefs.h | |||
truct_stat_st_mtim_tv_nsec" "$ac_includes_default" | ||||
if test "x$ac_cv_member_struct_stat_st_mtim_tv_nsec" = xyes; then : | ||||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 | #define uint8_t $ac_cv_c_uint8_t | |||
_ACEOF | _ACEOF | |||
;; | ||||
esac | ||||
fi | ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" | |||
case $ac_cv_c_uint16_t in #( | ||||
ac_fn_cxx_check_member "$LINENO" "struct stat" "st_atimensec" "ac_cv_member_stru | no|yes) ;; #( | |||
ct_stat_st_atimensec" "$ac_includes_default" | *) | |||
if test "x$ac_cv_member_struct_stat_st_atimensec" = xyes; then : | ||||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define HAVE_STRUCT_STAT_ST_ATIMENSEC 1 | #define uint16_t $ac_cv_c_uint16_t | |||
_ACEOF | _ACEOF | |||
;; | ||||
esac | ||||
fi | ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" | |||
case $ac_cv_c_int32_t in #( | ||||
ac_fn_cxx_check_member "$LINENO" "struct stat" "st_mtimensec" "ac_cv_member_stru | no|yes) ;; #( | |||
ct_stat_st_mtimensec" "$ac_includes_default" | *) | |||
if test "x$ac_cv_member_struct_stat_st_mtimensec" = xyes; then : | ||||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1 | #define int32_t $ac_cv_c_int32_t | |||
_ACEOF | _ACEOF | |||
;; | ||||
fi | esac | |||
ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" | ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" | |||
case $ac_cv_c_uint32_t in #( | case $ac_cv_c_uint32_t in #( | |||
no|yes) ;; #( | no|yes) ;; #( | |||
*) | *) | |||
$as_echo "#define _UINT32_T 1" >>confdefs.h | $as_echo "#define _UINT32_T 1" >>confdefs.h | |||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define uint32_t $ac_cv_c_uint32_t | #define uint32_t $ac_cv_c_uint32_t | |||
skipping to change at line 4103 | skipping to change at line 4447 | |||
ac_fn_cxx_check_type "$LINENO" "unsigned long long" "ac_cv_type_unsigned_long_lo ng" "$ac_includes_default" | ac_fn_cxx_check_type "$LINENO" "unsigned long long" "ac_cv_type_unsigned_long_lo ng" "$ac_includes_default" | |||
if test "x$ac_cv_type_unsigned_long_long" = xyes; then : | if test "x$ac_cv_type_unsigned_long_long" = xyes; then : | |||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define HAVE_UNSIGNED_LONG_LONG 1 | #define HAVE_UNSIGNED_LONG_LONG 1 | |||
_ACEOF | _ACEOF | |||
fi | fi | |||
# Checks for library functions. | ac_fn_cxx_check_member "$LINENO" "struct disklabel" "d_secsize" "ac_cv_member_st | |||
ruct_disklabel_d_secsize" "$ac_includes_default | ||||
#ifdef HAVE_SYS_DISKLABEL_H | ||||
#include <sys/disklabel.h> | ||||
#endif | ||||
" | ||||
if test "x$ac_cv_member_struct_disklabel_d_secsize" = xyes; then : | ||||
cat >>confdefs.h <<_ACEOF | ||||
#define HAVE_STRUCT_DISKLABEL_D_SECSIZE 1 | ||||
_ACEOF | ||||
fi | ||||
ac_fn_cxx_check_member "$LINENO" "struct disklabel" "d_secperunit" "ac_cv_member | ||||
_struct_disklabel_d_secperunit" "$ac_includes_default | ||||
#ifdef HAVE_SYS_DISKLABEL_H | ||||
#include <sys/disklabel.h> | ||||
#endif | ||||
" | ||||
if test "x$ac_cv_member_struct_disklabel_d_secperunit" = xyes; then : | ||||
cat >>confdefs.h <<_ACEOF | ||||
#define HAVE_STRUCT_DISKLABEL_D_SECPERUNIT 1 | ||||
_ACEOF | ||||
fi | ||||
ac_fn_cxx_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_st | ||||
at_st_rdev" "$ac_includes_default" | ||||
if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then : | ||||
cat >>confdefs.h <<_ACEOF | ||||
#define HAVE_STRUCT_STAT_ST_RDEV 1 | ||||
_ACEOF | ||||
fi | ||||
ac_fn_cxx_check_member "$LINENO" "struct stat" "st_atim.tv_nsec" "ac_cv_member_s | ||||
truct_stat_st_atim_tv_nsec" "$ac_includes_default" | ||||
if test "x$ac_cv_member_struct_stat_st_atim_tv_nsec" = xyes; then : | ||||
cat >>confdefs.h <<_ACEOF | ||||
#define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1 | ||||
_ACEOF | ||||
fi | ||||
ac_fn_cxx_check_member "$LINENO" "struct stat" "st_mtim.tv_nsec" "ac_cv_member_s | ||||
truct_stat_st_mtim_tv_nsec" "$ac_includes_default" | ||||
if test "x$ac_cv_member_struct_stat_st_mtim_tv_nsec" = xyes; then : | ||||
cat >>confdefs.h <<_ACEOF | ||||
#define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 | ||||
_ACEOF | ||||
fi | ||||
ac_fn_cxx_check_member "$LINENO" "struct stat" "st_atimensec" "ac_cv_member_stru | ||||
ct_stat_st_atimensec" "$ac_includes_default" | ||||
if test "x$ac_cv_member_struct_stat_st_atimensec" = xyes; then : | ||||
cat >>confdefs.h <<_ACEOF | ||||
#define HAVE_STRUCT_STAT_ST_ATIMENSEC 1 | ||||
_ACEOF | ||||
fi | ||||
ac_fn_cxx_check_member "$LINENO" "struct stat" "st_mtimensec" "ac_cv_member_stru | ||||
ct_stat_st_mtimensec" "$ac_includes_default" | ||||
if test "x$ac_cv_member_struct_stat_st_mtimensec" = xyes; then : | ||||
cat >>confdefs.h <<_ACEOF | ||||
#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1 | ||||
_ACEOF | ||||
fi | ||||
# Checks for C library functions. | ||||
for ac_header in vfork.h | for ac_header in vfork.h | |||
do : | do : | |||
ac_fn_cxx_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac _includes_default" | ac_fn_cxx_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac _includes_default" | |||
if test "x$ac_cv_header_vfork_h" = xyes; then : | if test "x$ac_cv_header_vfork_h" = xyes; then : | |||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define HAVE_VFORK_H 1 | #define HAVE_VFORK_H 1 | |||
_ACEOF | _ACEOF | |||
fi | fi | |||
skipping to change at line 4612 | skipping to change at line 5022 | |||
*(data2 + i) = *(data2 + i) + 1; | *(data2 + i) = *(data2 + i) + 1; | |||
data3 = (char *) malloc (pagesize); | data3 = (char *) malloc (pagesize); | |||
if (!data3) | if (!data3) | |||
return 12; | return 12; | |||
if (read (fd, data3, pagesize) != pagesize) | if (read (fd, data3, pagesize) != pagesize) | |||
return 13; | return 13; | |||
for (i = 0; i < pagesize; ++i) | for (i = 0; i < pagesize; ++i) | |||
if (*(data + i) != *(data3 + i)) | if (*(data + i) != *(data3 + i)) | |||
return 14; | return 14; | |||
close (fd); | close (fd); | |||
free (data); | ||||
free (data3); | ||||
return 0; | return 0; | |||
} | } | |||
_ACEOF | _ACEOF | |||
if ac_fn_cxx_try_run "$LINENO"; then : | if ac_fn_cxx_try_run "$LINENO"; then : | |||
ac_cv_func_mmap_fixed_mapped=yes | ac_cv_func_mmap_fixed_mapped=yes | |||
else | else | |||
ac_cv_func_mmap_fixed_mapped=no | ac_cv_func_mmap_fixed_mapped=no | |||
fi | fi | |||
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |||
conftest.$ac_objext conftest.beam conftest.$ac_ext | conftest.$ac_objext conftest.beam conftest.$ac_ext | |||
skipping to change at line 4634 | skipping to change at line 5046 | |||
fi | fi | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 | |||
$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } | $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } | |||
if test $ac_cv_func_mmap_fixed_mapped = yes; then | if test $ac_cv_func_mmap_fixed_mapped = yes; then | |||
$as_echo "#define HAVE_MMAP 1" >>confdefs.h | $as_echo "#define HAVE_MMAP 1" >>confdefs.h | |||
fi | fi | |||
rm -f conftest.mmap conftest.txt | rm -f conftest.mmap conftest.txt | |||
for ac_func in execvp fallocate posix_fallocate fdatasync fileno fsync ftruncate | for ac_func in execvp fallocate posix_fallocate fdatasync fileno fsync ftruncate | |||
gettimeofday getuid \ | \ | |||
lchown chown localtime_r localtime memmove memset mkdir mkfifo ml | getpagesize gettimeofday getuid lchown chown isatty localtime_r l | |||
ock msync munmap \ | ocaltime \ | |||
random remove srandom strerror strftime sync time tzset utimes ut | memmove memset mkdir mkfifo mlock mount msync munmap random remov | |||
imensat waitpid | e \ | |||
srandom strerror strftime sync sysconf time tzset utimes utimensa | ||||
t \ | ||||
waitpid | ||||
do : | do : | |||
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |||
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" | ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" | |||
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |||
cat >>confdefs.h <<_ACEOF | cat >>confdefs.h <<_ACEOF | |||
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |||
_ACEOF | _ACEOF | |||
fi | fi | |||
done | done | |||
# Checks for C++ library features. | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ library implements | ||||
std::unordered_map<K,V>" >&5 | ||||
$as_echo_n "checking whether C++ library implements std::unordered_map<K,V>... " | ||||
>&6; } | ||||
if ${ac_cv_cxx_have_std_unordered_map+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
#ifdef HAVE_UNORDERED_MAP | ||||
#include <unordered_map> | ||||
#endif | ||||
int | ||||
main () | ||||
{ | ||||
std::unordered_map<int,int> my_map; | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_cxx_try_compile "$LINENO"; then : | ||||
ac_cv_cxx_have_std_unordered_map=yes | ||||
else | ||||
ac_cv_cxx_have_std_unordered_map=no | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_std_unordered_m | ||||
ap" >&5 | ||||
$as_echo "$ac_cv_cxx_have_std_unordered_map" >&6; } | ||||
if test "$ac_cv_cxx_have_std_unordered_map" = yes; then | ||||
$as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ library implements | ||||
std::tr1::unordered_map<K,V>" >&5 | ||||
$as_echo_n "checking whether C++ library implements std::tr1::unordered_map<K,V> | ||||
... " >&6; } | ||||
if ${ac_cv_cxx_have_std_tr1_unordered_map+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||||
/* end confdefs.h. */ | ||||
#ifdef HAVE_TR1_UNORDERED_MAP | ||||
#include <tr1/unordered_map> | ||||
#endif | ||||
int | ||||
main () | ||||
{ | ||||
std::tr1::unordered_map<int,int> my_map; | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_cxx_try_compile "$LINENO"; then : | ||||
ac_cv_cxx_have_std_tr1_unordered_map=yes | ||||
else | ||||
ac_cv_cxx_have_std_tr1_unordered_map=no | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_std_tr1_unorder | ||||
ed_map" >&5 | ||||
$as_echo "$ac_cv_cxx_have_std_tr1_unordered_map" >&6; } | ||||
if test "$ac_cv_cxx_have_std_tr1_unordered_map" = yes; then | ||||
$as_echo "#define HAVE_STD_TR1_UNORDERED_MAP 1" >>confdefs.h | ||||
fi | ||||
# Checks for libraries. | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err | ||||
" >&5 | ||||
$as_echo_n "checking for error_message in -lcom_err... " >&6; } | ||||
if ${ac_cv_lib_com_err_error_message+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
ac_check_lib_save_LIBS=$LIBS | ||||
LIBS="-lcom_err $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. */ | ||||
#ifdef __cplusplus | ||||
extern "C" | ||||
#endif | ||||
char error_message (); | ||||
int | ||||
main () | ||||
{ | ||||
return error_message (); | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_cxx_try_link "$LINENO"; then : | ||||
ac_cv_lib_com_err_error_message=yes | ||||
else | ||||
ac_cv_lib_com_err_error_message=no | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext \ | ||||
conftest$ac_exeext conftest.$ac_ext | ||||
LIBS=$ac_check_lib_save_LIBS | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_messag | ||||
e" >&5 | ||||
$as_echo "$ac_cv_lib_com_err_error_message" >&6; } | ||||
if test "x$ac_cv_lib_com_err_error_message" = xyes; then : | ||||
$as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h | ||||
LD_LIBCOM_ERR=-lcom_err | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext2fs_extent_replace in - | ||||
lext2fs" >&5 | ||||
$as_echo_n "checking for ext2fs_extent_replace in -lext2fs... " >&6; } | ||||
if ${ac_cv_lib_ext2fs_ext2fs_extent_replace+:} false; then : | ||||
$as_echo_n "(cached) " >&6 | ||||
else | ||||
ac_check_lib_save_LIBS=$LIBS | ||||
LIBS="-lext2fs $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. */ | ||||
#ifdef __cplusplus | ||||
extern "C" | ||||
#endif | ||||
char ext2fs_extent_replace (); | ||||
int | ||||
main () | ||||
{ | ||||
return ext2fs_extent_replace (); | ||||
; | ||||
return 0; | ||||
} | ||||
_ACEOF | ||||
if ac_fn_cxx_try_link "$LINENO"; then : | ||||
ac_cv_lib_ext2fs_ext2fs_extent_replace=yes | ||||
else | ||||
ac_cv_lib_ext2fs_ext2fs_extent_replace=no | ||||
fi | ||||
rm -f core conftest.err conftest.$ac_objext \ | ||||
conftest$ac_exeext conftest.$ac_ext | ||||
LIBS=$ac_check_lib_save_LIBS | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ext2fs_ext2fs_extent | ||||
_replace" >&5 | ||||
$as_echo "$ac_cv_lib_ext2fs_ext2fs_extent_replace" >&6; } | ||||
if test "x$ac_cv_lib_ext2fs_ext2fs_extent_replace" = xyes; then : | ||||
$as_echo "#define HAVE_LIBEXT2FS 1" >>confdefs.h | ||||
LD_LIBEXT2FS=-lext2fs | ||||
fi | ||||
ft_funcs_missing= | ft_funcs_missing= | |||
for ft_func in execvp fileno ftruncate memmove memset mkdir mkfifo msync munma p \ | for ft_func in execvp fileno ftruncate memmove memset mkdir mkfifo mount msync munmap \ | |||
remove strerror strftime sync time waitpid | remove strerror strftime sync time waitpid | |||
do : | do : | |||
if test "`eval echo '$ac_cv_func_'$ft_func`" != "yes" | if test "`eval echo '$ac_cv_func_'$ft_func`" != "yes" | |||
then | then | |||
ft_funcs_missing="$ft_funcs_missing$ft_func " | ft_funcs_missing="$ft_funcs_missing$ft_func " | |||
fi | fi | |||
done | done | |||
if test "x$ft_funcs_missing" != "x" | if test "x$ft_funcs_missing" != "x" | |||
then | then | |||
as_fn_error 1 "missing required functions: $ft_funcs_missing" | as_fn_error $? "missing required functions: $ft_funcs_missing" | |||
fi | fi | |||
ft_funcs_missing= | ft_funcs_missing= | |||
ft_funcs_found= | ft_funcs_found= | |||
for ft_func in localtime_r localtime | for ft_func in localtime_r localtime | |||
do : | do : | |||
ft_funcs_missing="$ft_funcs_missing$ft_func " | ft_funcs_missing="$ft_funcs_missing$ft_func " | |||
if test "`eval echo '$ac_cv_func_'$ft_func`" == "yes" | if test "`eval echo '$ac_cv_func_'$ft_func`" = "yes" | |||
then | then | |||
ft_funcs_found=1 | ft_funcs_found=1 | |||
fi | fi | |||
done | done | |||
if test "x$ft_funcs_found" = "x" | if test "x$ft_funcs_found" = "x" | |||
then | then | |||
as_fn_error 1 "least one of the following functions is required: $ft_funcs_m issing" | as_fn_error $? "least one of the following functions is required: $ft_funcs_ missing" | |||
fi | fi | |||
ft_funcs_missing= | ft_funcs_missing= | |||
ft_funcs_found= | ft_funcs_found= | |||
for ft_func in lchown chown | for ft_func in lchown chown | |||
do : | do : | |||
ft_funcs_missing="$ft_funcs_missing$ft_func " | ft_funcs_missing="$ft_funcs_missing$ft_func " | |||
if test "`eval echo '$ac_cv_func_'$ft_func`" == "yes" | if test "`eval echo '$ac_cv_func_'$ft_func`" = "yes" | |||
then | then | |||
ft_funcs_found=1 | ft_funcs_found=1 | |||
fi | fi | |||
done | done | |||
if test "x$ft_funcs_found" = "x" | if test "x$ft_funcs_found" = "x" | |||
then | then | |||
as_fn_error 1 "least one of the following functions is required: $ft_funcs_m issing" | as_fn_error $? "least one of the following functions is required: $ft_funcs_ missing" | |||
fi | fi | |||
ac_config_files="$ac_config_files Makefile fsremap/build/Makefile fsmove/build/M | if test "$ac_cv_func_fallocate" != "yes" | |||
akefile fstransform/build/Makefile" | then | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: missing function fallocate() | ||||
, experimental files preallocation will NOT be compiled" >&5 | ||||
$as_echo "$as_me: WARNING: missing function fallocate(), experimental files prea | ||||
llocation will NOT be compiled" >&2;} | ||||
elif test "$ac_cv_lib_com_err_error_message" != "yes" | ||||
then | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: missing function error_messa | ||||
ge() in -lcom_err, experimental files preallocation will NOT be compiled" >&5 | ||||
$as_echo "$as_me: WARNING: missing function error_message() in -lcom_err, experi | ||||
mental files preallocation will NOT be compiled" >&2;} | ||||
elif test "$ac_cv_lib_ext2fs_ext2fs_extent_replace" != "yes" | ||||
then | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: missing function ext2fs_exte | ||||
nt_replace() in -lext2fs, experimental files preallocation will NOT be compiled" | ||||
>&5 | ||||
$as_echo "$as_me: WARNING: missing function ext2fs_extent_replace() in -lext2fs, | ||||
experimental files preallocation will NOT be compiled" >&2;} | ||||
else | ||||
$as_echo "#define HAVE_IO_PREALLOC 1" >>confdefs.h | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: support for experimental files preall | ||||
ocation will be compiled" >&5 | ||||
$as_echo "$as_me: support for experimental files preallocation will be compiled" | ||||
>&6;} | ||||
fi | ||||
ac_config_files="$ac_config_files Makefile fsattr/build/Makefile fsremap/build/M | ||||
akefile fsmove/build/Makefile fsmount_kernel/build/Makefile fstransform/build/Ma | ||||
kefile" | ||||
cat >confcache <<\_ACEOF | cat >confcache <<\_ACEOF | |||
# This file is a shell script that caches the results of configure | # This file is a shell script that caches the results of configure | |||
# tests run on this system so they can be shared between configure | # tests run on this system so they can be shared between configure | |||
# scripts and configure runs, see configure's option --config-cache. | # scripts and configure runs, see configure's option --config-cache. | |||
# It is not useful on other systems. If it contains results you don't | # It is not useful on other systems. If it contains results you don't | |||
# want to keep, you may remove or edit it. | # want to keep, you may remove or edit it. | |||
# | # | |||
# config.status only pays attention to the cache file if you give it | # config.status only pays attention to the cache file if you give it | |||
# the --recheck option to rerun configure. | # the --recheck option to rerun configure. | |||
skipping to change at line 4804 | skipping to change at line 5407 | |||
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | |||
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | |||
# will be set to the directory where LIBOBJS objects are built. | # will be set to the directory where LIBOBJS objects are built. | |||
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |||
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | |||
done | done | |||
LIBOBJS=$ac_libobjs | LIBOBJS=$ac_libobjs | |||
LTLIBOBJS=$ac_ltlibobjs | LTLIBOBJS=$ac_ltlibobjs | |||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer | ||||
than configure" >&5 | ||||
$as_echo_n "checking that generated files are newer than configure... " >&6; } | ||||
if test -n "$am_sleep_pid"; then | ||||
# Hide warnings about reused PIDs. | ||||
wait $am_sleep_pid 2>/dev/null | ||||
fi | ||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 | ||||
$as_echo "done" >&6; } | ||||
if test -n "$EXEEXT"; then | if test -n "$EXEEXT"; then | |||
am__EXEEXT_TRUE= | am__EXEEXT_TRUE= | |||
am__EXEEXT_FALSE='#' | am__EXEEXT_FALSE='#' | |||
else | else | |||
am__EXEEXT_TRUE='#' | am__EXEEXT_TRUE='#' | |||
am__EXEEXT_FALSE= | am__EXEEXT_FALSE= | |||
fi | fi | |||
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | |||
as_fn_error $? "conditional \"AMDEP\" was never defined. | as_fn_error $? "conditional \"AMDEP\" was never defined. | |||
skipping to change at line 5113 | skipping to change at line 5724 | |||
else | else | |||
rm -f conf$$.dir | rm -f conf$$.dir | |||
mkdir conf$$.dir 2>/dev/null | mkdir conf$$.dir 2>/dev/null | |||
fi | fi | |||
if (echo >conf$$.file) 2>/dev/null; then | if (echo >conf$$.file) 2>/dev/null; then | |||
if ln -s conf$$.file conf$$ 2>/dev/null; then | if ln -s conf$$.file conf$$ 2>/dev/null; then | |||
as_ln_s='ln -s' | as_ln_s='ln -s' | |||
# ... but there are two gotchas: | # ... but there are two gotchas: | |||
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | # 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. | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |||
# In both cases, we have to default to `cp -p'. | # In both cases, we have to default to `cp -pR'. | |||
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |||
as_ln_s='cp -p' | as_ln_s='cp -pR' | |||
elif ln conf$$.file conf$$ 2>/dev/null; then | elif ln conf$$.file conf$$ 2>/dev/null; then | |||
as_ln_s=ln | as_ln_s=ln | |||
else | else | |||
as_ln_s='cp -p' | as_ln_s='cp -pR' | |||
fi | fi | |||
else | else | |||
as_ln_s='cp -p' | as_ln_s='cp -pR' | |||
fi | fi | |||
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |||
rmdir conf$$.dir 2>/dev/null | rmdir conf$$.dir 2>/dev/null | |||
# as_fn_mkdir_p | # as_fn_mkdir_p | |||
# ------------- | # ------------- | |||
# Create "$as_dir" as a directory, including parents if necessary. | # Create "$as_dir" as a directory, including parents if necessary. | |||
as_fn_mkdir_p () | as_fn_mkdir_p () | |||
{ | { | |||
skipping to change at line 5180 | skipping to change at line 5791 | |||
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |||
} # as_fn_mkdir_p | } # as_fn_mkdir_p | |||
if mkdir -p . 2>/dev/null; then | if mkdir -p . 2>/dev/null; then | |||
as_mkdir_p='mkdir -p "$as_dir"' | as_mkdir_p='mkdir -p "$as_dir"' | |||
else | else | |||
test -d ./-p && rmdir ./-p | test -d ./-p && rmdir ./-p | |||
as_mkdir_p=false | as_mkdir_p=false | |||
fi | fi | |||
if test -x / >/dev/null 2>&1; then | # as_fn_executable_p FILE | |||
as_test_x='test -x' | # ----------------------- | |||
else | # Test if FILE is an executable regular file. | |||
if ls -dL / >/dev/null 2>&1; then | as_fn_executable_p () | |||
as_ls_L_option=L | { | |||
else | test -f "$1" && test -x "$1" | |||
as_ls_L_option= | } # as_fn_executable_p | |||
fi | as_test_x='test -x' | |||
as_test_x=' | as_executable_p=as_fn_executable_p | |||
eval sh -c '\'' | ||||
if test -d "$1"; then | ||||
test -d "$1/."; | ||||
else | ||||
case $1 in #( | ||||
-*)set "./$1";; | ||||
esac; | ||||
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | ||||
???[sx]*):;;*)false;;esac;fi | ||||
'\'' sh | ||||
' | ||||
fi | ||||
as_executable_p=$as_test_x | ||||
# Sed expression to map a string onto a valid CPP name. | # 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'" | 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. | # Sed expression to map a string onto a valid variable name. | |||
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |||
exec 6>&1 | exec 6>&1 | |||
## ----------------------------------- ## | ## ----------------------------------- ## | |||
## Main body of $CONFIG_STATUS script. ## | ## Main body of $CONFIG_STATUS script. ## | |||
## ----------------------------------- ## | ## ----------------------------------- ## | |||
_ASEOF | _ASEOF | |||
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |||
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |||
# Save the log message, to keep $0 and so on meaningful, and to | # Save the log message, to keep $0 and so on meaningful, and to | |||
# report actual input values of CONFIG_FILES etc. instead of their | # report actual input values of CONFIG_FILES etc. instead of their | |||
# values after options handling. | # values after options handling. | |||
ac_log=" | ac_log=" | |||
This file was extended by fstransform $as_me 0.9.3, which was | This file was extended by fstransform $as_me 0.9.4, which was | |||
generated by GNU Autoconf 2.68. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was | |||
CONFIG_FILES = $CONFIG_FILES | CONFIG_FILES = $CONFIG_FILES | |||
CONFIG_HEADERS = $CONFIG_HEADERS | CONFIG_HEADERS = $CONFIG_HEADERS | |||
CONFIG_LINKS = $CONFIG_LINKS | CONFIG_LINKS = $CONFIG_LINKS | |||
CONFIG_COMMANDS = $CONFIG_COMMANDS | CONFIG_COMMANDS = $CONFIG_COMMANDS | |||
$ $0 $@ | $ $0 $@ | |||
on `(hostname || uname -n) 2>/dev/null | sed 1q` | on `(hostname || uname -n) 2>/dev/null | sed 1q` | |||
" | " | |||
skipping to change at line 5286 | skipping to change at line 5884 | |||
Configuration commands: | Configuration commands: | |||
$config_commands | $config_commands | |||
Report bugs to <BUG-REPORT-ADDRESS>." | Report bugs to <BUG-REPORT-ADDRESS>." | |||
_ACEOF | _ACEOF | |||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g '`" | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g '`" | |||
ac_cs_version="\\ | ac_cs_version="\\ | |||
fstransform config.status 0.9.3 | fstransform config.status 0.9.4 | |||
configured by $0, generated by GNU Autoconf 2.68, | configured by $0, generated by GNU Autoconf 2.69, | |||
with options \\"\$ac_cs_config\\" | with options \\"\$ac_cs_config\\" | |||
Copyright (C) 2010 Free Software Foundation, Inc. | Copyright (C) 2012 Free Software Foundation, Inc. | |||
This config.status script is free software; the Free Software Foundation | This config.status script is free software; the Free Software Foundation | |||
gives unlimited permission to copy, distribute and modify it." | gives unlimited permission to copy, distribute and modify it." | |||
ac_pwd='$ac_pwd' | ac_pwd='$ac_pwd' | |||
srcdir='$srcdir' | srcdir='$srcdir' | |||
INSTALL='$INSTALL' | INSTALL='$INSTALL' | |||
MKDIR_P='$MKDIR_P' | MKDIR_P='$MKDIR_P' | |||
AWK='$AWK' | AWK='$AWK' | |||
test -n "\$AWK" || AWK=awk | test -n "\$AWK" || AWK=awk | |||
_ACEOF | _ACEOF | |||
skipping to change at line 5381 | skipping to change at line 5979 | |||
ac_configure_extra_args= | ac_configure_extra_args= | |||
if $ac_cs_silent; then | if $ac_cs_silent; then | |||
exec 6>/dev/null | exec 6>/dev/null | |||
ac_configure_extra_args="$ac_configure_extra_args --silent" | ac_configure_extra_args="$ac_configure_extra_args --silent" | |||
fi | fi | |||
_ACEOF | _ACEOF | |||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
if \$ac_cs_recheck; then | if \$ac_cs_recheck; then | |||
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create - -no-recursion | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --n o-recursion | |||
shift | shift | |||
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |||
CONFIG_SHELL='$SHELL' | CONFIG_SHELL='$SHELL' | |||
export CONFIG_SHELL | export CONFIG_SHELL | |||
exec "\$@" | exec "\$@" | |||
fi | fi | |||
_ACEOF | _ACEOF | |||
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |||
exec 5>>config.log | exec 5>>config.log | |||
skipping to change at line 5405 | skipping to change at line 6003 | |||
## Running $as_me. ## | ## Running $as_me. ## | |||
_ASBOX | _ASBOX | |||
$as_echo "$ac_log" | $as_echo "$ac_log" | |||
} >&5 | } >&5 | |||
_ACEOF | _ACEOF | |||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
# | # | |||
# INIT-COMMANDS | # INIT-COMMANDS | |||
# | # | |||
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" | |||
_ACEOF | _ACEOF | |||
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |||
# Handling of arguments. | # Handling of arguments. | |||
for ac_config_target in $ac_config_targets | for ac_config_target in $ac_config_targets | |||
do | do | |||
case $ac_config_target in | case $ac_config_target in | |||
"fsremap/src/config.hh") CONFIG_HEADERS="$CONFIG_HEADERS fsremap/src/config. hh" ;; | "fsremap/src/config.hh") CONFIG_HEADERS="$CONFIG_HEADERS fsremap/src/config. hh" ;; | |||
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | |||
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |||
"fsattr/build/Makefile") CONFIG_FILES="$CONFIG_FILES fsattr/build/Makefile" ;; | ||||
"fsremap/build/Makefile") CONFIG_FILES="$CONFIG_FILES fsremap/build/Makefile " ;; | "fsremap/build/Makefile") CONFIG_FILES="$CONFIG_FILES fsremap/build/Makefile " ;; | |||
"fsmove/build/Makefile") CONFIG_FILES="$CONFIG_FILES fsmove/build/Makefile" ;; | "fsmove/build/Makefile") CONFIG_FILES="$CONFIG_FILES fsmove/build/Makefile" ;; | |||
"fsmount_kernel/build/Makefile") CONFIG_FILES="$CONFIG_FILES fsmount_kernel/ build/Makefile" ;; | ||||
"fstransform/build/Makefile") CONFIG_FILES="$CONFIG_FILES fstransform/build/ Makefile" ;; | "fstransform/build/Makefile") CONFIG_FILES="$CONFIG_FILES fstransform/build/ Makefile" ;; | |||
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |||
esac | esac | |||
done | done | |||
# If the user did not use the arguments to specify the items to instantiate, | # If the user did not use the arguments to specify the items to instantiate, | |||
# then the envvar interface is used. Set only those that are not. | # then the envvar interface is used. Set only those that are not. | |||
# We use the long form for the default assignment because of an extremely | # We use the long form for the default assignment because of an extremely | |||
# bizarre bug on SunOS 4.1.3. | # bizarre bug on SunOS 4.1.3. | |||
skipping to change at line 6011 | skipping to change at line 6611 | |||
s/.*/./; q'`/stamp-h$_am_stamp_count | s/.*/./; q'`/stamp-h$_am_stamp_count | |||
;; | ;; | |||
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | |||
$as_echo "$as_me: executing $ac_file commands" >&6;} | $as_echo "$as_me: executing $ac_file commands" >&6;} | |||
;; | ;; | |||
esac | esac | |||
case $ac_file$ac_mode in | case $ac_file$ac_mode in | |||
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | |||
# Autoconf 2.62 quotes --file arguments for eval, but not when files | # Older Autoconf quotes --file arguments for eval, but not when files | |||
# are listed without --file. Let's play safe and only enable the eval | # are listed without --file. Let's play safe and only enable the eval | |||
# if we detect the quoting. | # if we detect the quoting. | |||
case $CONFIG_FILES in | # TODO: see whether this extra hack can be removed once we start | |||
*\'*) eval set x "$CONFIG_FILES" ;; | # requiring Autoconf 2.70 or later. | |||
*) set x $CONFIG_FILES ;; | case $CONFIG_FILES in #( | |||
esac | *\'*) : | |||
eval set x "$CONFIG_FILES" ;; #( | ||||
*) : | ||||
set x $CONFIG_FILES ;; #( | ||||
*) : | ||||
;; | ||||
esac | ||||
shift | shift | |||
for mf | # Used to flag and report bootstrapping failures. | |||
am_rc=0 | ||||
for am_mf | ||||
do | do | |||
# Strip MF so we end up with the name of the file. | # Strip MF so we end up with the name of the file. | |||
mf=`echo "$mf" | sed -e 's/:.*$//'` | am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` | |||
# Check whether this is an Automake generated Makefile or not. | # Check whether this is an Automake generated Makefile which includes | |||
# We used to match only the files named `Makefile.in', but | # dependency-tracking related rules and includes. | |||
# some people rename them; so instead we look at the file content. | # Grep'ing the whole file directly is not great: AIX grep has a line | |||
# Grep'ing the first line is not enough: some people post-process | ||||
# each Makefile.in and add a new line on top of each file to say so. | ||||
# Grep'ing the whole file is not good either: AIX grep has a line | ||||
# limit of 2048, but all sed's we know have understand at least 4000. | # limit of 2048, but all sed's we know have understand at least 4000. | |||
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1 | sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ | |||
; then | || continue | |||
dirpart=`$as_dirname -- "$mf" || | am_dirpart=`$as_dirname -- "$am_mf" || | |||
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |||
X"$mf" : 'X\(//\)[^/]' \| \ | X"$am_mf" : 'X\(//\)[^/]' \| \ | |||
X"$mf" : 'X\(//\)$' \| \ | X"$am_mf" : 'X\(//\)$' \| \ | |||
X"$mf" : 'X\(/\)' \| . 2>/dev/null || | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || | |||
$as_echo X"$mf" | | $as_echo X"$am_mf" | | |||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |||
s//\1/ | s//\1/ | |||
q | q | |||
} | } | |||
/^X\(\/\/\)[^/].*/{ | /^X\(\/\/\)[^/].*/{ | |||
s//\1/ | s//\1/ | |||
q | q | |||
} | } | |||
/^X\(\/\/\)$/{ | /^X\(\/\/\)$/{ | |||
s//\1/ | s//\1/ | |||
q | q | |||
} | } | |||
/^X\(\/\).*/{ | /^X\(\/\).*/{ | |||
s//\1/ | s//\1/ | |||
q | q | |||
} | } | |||
s/.*/./; q'` | s/.*/./; q'` | |||
else | am_filepart=`$as_basename -- "$am_mf" || | |||
continue | $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ | |||
fi | X"$am_mf" : 'X\(//\)$' \| \ | |||
# Extract the definition of DEPDIR, am__include, and am__quote | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || | |||
# from the Makefile without running `make'. | $as_echo X/"$am_mf" | | |||
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | sed '/^.*\/\([^/][^/]*\)\/*$/{ | |||
test -z "$DEPDIR" && continue | ||||
am__include=`sed -n 's/^am__include = //p' < "$mf"` | ||||
test -z "am__include" && continue | ||||
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | ||||
# When using ansi2knr, U may be empty or an underscore; expand it | ||||
U=`sed -n 's/^U = //p' < "$mf"` | ||||
# Find all dependency output files, they are included files with | ||||
# $(DEPDIR) in their names. We invoke sed twice because it is the | ||||
# simplest approach to changing $(DEPDIR) to its actual value in the | ||||
# expansion. | ||||
for file in `sed -n " | ||||
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | ||||
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | ||||
# Make sure the directory exists. | ||||
test -f "$dirpart/$file" && continue | ||||
fdir=`$as_dirname -- "$file" || | ||||
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||||
X"$file" : 'X\(//\)[^/]' \| \ | ||||
X"$file" : 'X\(//\)$' \| \ | ||||
X"$file" : 'X\(/\)' \| . 2>/dev/null || | ||||
$as_echo X"$file" | | ||||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||||
s//\1/ | ||||
q | ||||
} | ||||
/^X\(\/\/\)[^/].*/{ | ||||
s//\1/ | s//\1/ | |||
q | q | |||
} | } | |||
/^X\(\/\/\)$/{ | /^X\/\(\/\/\)$/{ | |||
s//\1/ | s//\1/ | |||
q | q | |||
} | } | |||
/^X\(\/\).*/{ | /^X\/\(\/\).*/{ | |||
s//\1/ | s//\1/ | |||
q | q | |||
} | } | |||
s/.*/./; q'` | s/.*/./; q'` | |||
as_dir=$dirpart/$fdir; as_fn_mkdir_p | { echo "$as_me:$LINENO: cd "$am_dirpart" \ | |||
# echo "creating $dirpart/$file" | && sed -e '/# am--include-marker/d' "$am_filepart" \ | |||
echo '# dummy' > "$dirpart/$file" | | $MAKE -f - am--depfiles" >&5 | |||
done | (cd "$am_dirpart" \ | |||
&& sed -e '/# am--include-marker/d' "$am_filepart" \ | ||||
| $MAKE -f - am--depfiles) >&5 2>&5 | ||||
ac_status=$? | ||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||||
(exit $ac_status); } || am_rc=$? | ||||
done | done | |||
if test $am_rc -ne 0; then | ||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||||
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||||
as_fn_error $? "Something went wrong bootstrapping makefile fragments | ||||
for automatic dependency tracking. Try re-running configure with the | ||||
'--disable-dependency-tracking' option to at least be able to build | ||||
the package (albeit without support for automatic dependency tracking). | ||||
See \`config.log' for more details" "$LINENO" 5; } | ||||
fi | ||||
{ am_dirpart=; unset am_dirpart;} | ||||
{ am_filepart=; unset am_filepart;} | ||||
{ am_mf=; unset am_mf;} | ||||
{ am_rc=; unset am_rc;} | ||||
rm -f conftest-deps.mk | ||||
} | } | |||
;; | ;; | |||
esac | esac | |||
done # for ac_tag | done # for ac_tag | |||
as_fn_exit 0 | as_fn_exit 0 | |||
_ACEOF | _ACEOF | |||
ac_clean_files=$ac_clean_files_save | ac_clean_files=$ac_clean_files_save | |||
End of changes. 155 change blocks. | ||||
403 lines changed or deleted | 1035 lines changed or added |