|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#! /bin/sh
|
|
|
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
|
|
|
# Generated by GNU Autoconf 2.69 for PSBLAS 3.5.
|
|
|
|
|
# Generated by GNU Autoconf 2.69 for PSBLAS 3.7.
|
|
|
|
|
#
|
|
|
|
|
# Report bugs to <https://github.com/sfilippone/psblas3/issues>.
|
|
|
|
|
#
|
|
|
|
@ -580,8 +580,8 @@ MAKEFLAGS=
|
|
|
|
|
# Identity of this package.
|
|
|
|
|
PACKAGE_NAME='PSBLAS'
|
|
|
|
|
PACKAGE_TARNAME='psblas'
|
|
|
|
|
PACKAGE_VERSION='3.5'
|
|
|
|
|
PACKAGE_STRING='PSBLAS 3.5'
|
|
|
|
|
PACKAGE_VERSION='3.7'
|
|
|
|
|
PACKAGE_STRING='PSBLAS 3.7'
|
|
|
|
|
PACKAGE_BUGREPORT='https://github.com/sfilippone/psblas3/issues'
|
|
|
|
|
PACKAGE_URL=''
|
|
|
|
|
|
|
|
|
@ -676,7 +676,6 @@ am__nodep
|
|
|
|
|
AMDEPBACKSLASH
|
|
|
|
|
AMDEP_FALSE
|
|
|
|
|
AMDEP_TRUE
|
|
|
|
|
am__quote
|
|
|
|
|
am__include
|
|
|
|
|
DEPDIR
|
|
|
|
|
am__untar
|
|
|
|
@ -753,7 +752,8 @@ PACKAGE_VERSION
|
|
|
|
|
PACKAGE_TARNAME
|
|
|
|
|
PACKAGE_NAME
|
|
|
|
|
PATH_SEPARATOR
|
|
|
|
|
SHELL'
|
|
|
|
|
SHELL
|
|
|
|
|
am__quote'
|
|
|
|
|
ac_subst_files=''
|
|
|
|
|
ac_user_opts='
|
|
|
|
|
enable_option_checking
|
|
|
|
@ -1336,7 +1336,7 @@ if test "$ac_init_help" = "long"; then
|
|
|
|
|
# Omit some internal or obsolete options to make the list less imposing.
|
|
|
|
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
|
|
|
|
cat <<_ACEOF
|
|
|
|
|
\`configure' configures PSBLAS 3.5 to adapt to many kinds of systems.
|
|
|
|
|
\`configure' configures PSBLAS 3.7 to adapt to many kinds of systems.
|
|
|
|
|
|
|
|
|
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
|
|
|
|
|
|
|
|
@ -1402,7 +1402,7 @@ fi
|
|
|
|
|
|
|
|
|
|
if test -n "$ac_init_help"; then
|
|
|
|
|
case $ac_init_help in
|
|
|
|
|
short | recursive ) echo "Configuration of PSBLAS 3.5:";;
|
|
|
|
|
short | recursive ) echo "Configuration of PSBLAS 3.7:";;
|
|
|
|
|
esac
|
|
|
|
|
cat <<\_ACEOF
|
|
|
|
|
|
|
|
|
@ -1544,7 +1544,7 @@ fi
|
|
|
|
|
test -n "$ac_init_help" && exit $ac_status
|
|
|
|
|
if $ac_init_version; then
|
|
|
|
|
cat <<\_ACEOF
|
|
|
|
|
PSBLAS configure 3.5
|
|
|
|
|
PSBLAS configure 3.7
|
|
|
|
|
generated by GNU Autoconf 2.69
|
|
|
|
|
|
|
|
|
|
Copyright (C) 2012 Free Software Foundation, Inc.
|
|
|
|
@ -2180,7 +2180,7 @@ cat >config.log <<_ACEOF
|
|
|
|
|
This file contains any messages produced by compilers while
|
|
|
|
|
running configure, to aid debugging if configure makes a mistake.
|
|
|
|
|
|
|
|
|
|
It was created by PSBLAS $as_me 3.5, which was
|
|
|
|
|
It was created by PSBLAS $as_me 3.7, which was
|
|
|
|
|
generated by GNU Autoconf 2.69. Invocation command line was
|
|
|
|
|
|
|
|
|
|
$ $0 $@
|
|
|
|
@ -2531,7 +2531,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
# VERSION is the file containing the PSBLAS version code
|
|
|
|
|
# FIXME
|
|
|
|
|
psblas_cv_version="3.5"
|
|
|
|
|
psblas_cv_version="3.7"
|
|
|
|
|
|
|
|
|
|
# A sample source file
|
|
|
|
|
|
|
|
|
@ -3515,6 +3515,68 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
# Expand $ac_aux_dir to an absolute path.
|
|
|
|
|
am_aux_dir=`cd "$ac_aux_dir" && pwd`
|
|
|
|
|
|
|
|
|
|
ac_ext=c
|
|
|
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
|
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
|
|
|
|
|
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
|
|
|
|
|
if ${am_cv_prog_cc_c_o+:} false; then :
|
|
|
|
|
$as_echo_n "(cached) " >&6
|
|
|
|
|
else
|
|
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
;
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
_ACEOF
|
|
|
|
|
# Make sure it works both with $CC and with simple cc.
|
|
|
|
|
# Following AC_PROG_CC_C_O, we do the test twice because some
|
|
|
|
|
# compilers refuse to overwrite an existing .o file with -o,
|
|
|
|
|
# though they will create one.
|
|
|
|
|
am_cv_prog_cc_c_o=yes
|
|
|
|
|
for am_i in 1 2; do
|
|
|
|
|
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
|
|
|
|
|
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
|
|
|
|
|
ac_status=$?
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); } \
|
|
|
|
|
&& test -f conftest2.$ac_objext; then
|
|
|
|
|
: OK
|
|
|
|
|
else
|
|
|
|
|
am_cv_prog_cc_c_o=no
|
|
|
|
|
break
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
rm -f core conftest*
|
|
|
|
|
unset am_i
|
|
|
|
|
fi
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
|
|
|
|
|
$as_echo "$am_cv_prog_cc_c_o" >&6; }
|
|
|
|
|
if test "$am_cv_prog_cc_c_o" != yes; then
|
|
|
|
|
# Losing compiler, so override with the script.
|
|
|
|
|
# FIXME: It is wrong to rewrite CC.
|
|
|
|
|
# But if we don't then we get into trouble of one sort or another.
|
|
|
|
|
# A longer-term fix would be to have automake use am__CC in this case,
|
|
|
|
|
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
|
|
|
|
|
CC="$am_aux_dir/compile $CC"
|
|
|
|
|
fi
|
|
|
|
|
ac_ext=c
|
|
|
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
|
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS="$save_CFLAGS";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -4942,7 +5004,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
am__api_version='1.13'
|
|
|
|
|
am__api_version='1.16'
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
|
|
|
|
$as_echo_n "checking whether build environment is sane... " >&6; }
|
|
|
|
@ -5021,9 +5083,6 @@ test "$program_suffix" != NONE &&
|
|
|
|
|
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
|
|
|
|
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
|
|
|
|
|
|
|
|
|
# expand $ac_aux_dir to an absolute path
|
|
|
|
|
am_aux_dir=`cd $ac_aux_dir && pwd`
|
|
|
|
|
|
|
|
|
|
if test x"${MISSING+set}" != xset; then
|
|
|
|
|
case $am_aux_dir in
|
|
|
|
|
*\ * | *\ *)
|
|
|
|
@ -5041,7 +5100,7 @@ else
|
|
|
|
|
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if test x"${install_sh}" != xset; then
|
|
|
|
|
if test x"${install_sh+set}" != xset; then
|
|
|
|
|
case $am_aux_dir in
|
|
|
|
|
*\ * | *\ *)
|
|
|
|
|
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
|
|
|
@ -5278,45 +5337,45 @@ DEPDIR="${am__leading_dot}deps"
|
|
|
|
|
|
|
|
|
|
ac_config_commands="$ac_config_commands depfiles"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
am_make=${MAKE-make}
|
|
|
|
|
cat > confinc << 'END'
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
|
|
|
|
|
$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
|
|
|
|
|
cat > confinc.mk << 'END'
|
|
|
|
|
am__doit:
|
|
|
|
|
@echo this is the am__doit target
|
|
|
|
|
@echo this is the am__doit target >confinc.out
|
|
|
|
|
.PHONY: am__doit
|
|
|
|
|
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__quote=
|
|
|
|
|
_am_result=none
|
|
|
|
|
# First try GNU make style include.
|
|
|
|
|
echo "include confinc" > confmf
|
|
|
|
|
# Ignore all kinds of additional output from 'make'.
|
|
|
|
|
case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
|
|
|
*the\ am__doit\ target*)
|
|
|
|
|
am__include=include
|
|
|
|
|
am__quote=
|
|
|
|
|
_am_result=GNU
|
|
|
|
|
# BSD make does it like this.
|
|
|
|
|
echo '.include "confinc.mk" # ignored' > confmf.BSD
|
|
|
|
|
# Other make implementations (GNU, Solaris 10, AIX) do it like this.
|
|
|
|
|
echo 'include confinc.mk # ignored' > confmf.GNU
|
|
|
|
|
_am_result=no
|
|
|
|
|
for s in GNU BSD; do
|
|
|
|
|
{ echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
|
|
|
|
|
(${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
|
|
|
|
|
ac_status=$?
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); }
|
|
|
|
|
case $?:`cat confinc.out 2>/dev/null` in #(
|
|
|
|
|
'0:this is the am__doit target') :
|
|
|
|
|
case $s in #(
|
|
|
|
|
BSD) :
|
|
|
|
|
am__include='.include' am__quote='"' ;; #(
|
|
|
|
|
*) :
|
|
|
|
|
am__include='include' am__quote='' ;;
|
|
|
|
|
esac ;; #(
|
|
|
|
|
*) :
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
# Now try BSD make style include.
|
|
|
|
|
if test "$am__include" = "#"; then
|
|
|
|
|
echo '.include "confinc"' > confmf
|
|
|
|
|
case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
|
|
|
*the\ am__doit\ target*)
|
|
|
|
|
am__include=.include
|
|
|
|
|
am__quote="\""
|
|
|
|
|
_am_result=BSD
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
|
|
|
|
$as_echo "$_am_result" >&6; }
|
|
|
|
|
rm -f confinc confmf
|
|
|
|
|
if test "$am__include" != "#"; then
|
|
|
|
|
_am_result="yes ($s style)"
|
|
|
|
|
break
|
|
|
|
|
fi
|
|
|
|
|
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.
|
|
|
|
|
if test "${enable_dependency_tracking+set}" = set; then :
|
|
|
|
@ -5398,7 +5457,7 @@ fi
|
|
|
|
|
|
|
|
|
|
# Define the identity of the package.
|
|
|
|
|
PACKAGE='psblas'
|
|
|
|
|
VERSION='3.5'
|
|
|
|
|
VERSION='3.7'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
|
|
@ -5428,12 +5487,12 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
|
|
|
|
|
|
|
|
|
# For better backward compatibility. To be removed once Automake 1.9.x
|
|
|
|
|
# dies out for good. For more background, see:
|
|
|
|
|
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
|
|
|
|
|
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
|
|
|
|
|
# <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. The system "awk" is bad on
|
|
|
|
|
# some platforms.
|
|
|
|
|
# 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}'
|
|
|
|
@ -5577,6 +5636,48 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
END
|
|
|
|
|
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -9872,7 +9973,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
|
|
|
# report actual input values of CONFIG_FILES etc. instead of their
|
|
|
|
|
# values after options handling.
|
|
|
|
|
ac_log="
|
|
|
|
|
This file was extended by PSBLAS $as_me 3.5, which was
|
|
|
|
|
This file was extended by PSBLAS $as_me 3.7, which was
|
|
|
|
|
generated by GNU Autoconf 2.69. Invocation command line was
|
|
|
|
|
|
|
|
|
|
CONFIG_FILES = $CONFIG_FILES
|
|
|
|
@ -9929,7 +10030,7 @@ _ACEOF
|
|
|
|
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
|
|
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
|
|
|
|
ac_cs_version="\\
|
|
|
|
|
PSBLAS config.status 3.5
|
|
|
|
|
PSBLAS config.status 3.7
|
|
|
|
|
configured by $0, generated by GNU Autoconf 2.69,
|
|
|
|
|
with options \\"\$ac_cs_config\\"
|
|
|
|
|
|
|
|
|
@ -10037,7 +10138,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
|
|
|
#
|
|
|
|
|
# INIT-COMMANDS
|
|
|
|
|
#
|
|
|
|
|
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
|
|
|
|
AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
|
|
|
|
|
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
@ -10482,29 +10583,35 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
|
|
|
|
|
# Older Autoconf quotes --file arguments for eval, but not when files
|
|
|
|
|
# are listed without --file. Let's play safe and only enable the eval
|
|
|
|
|
# if we detect the quoting.
|
|
|
|
|
case $CONFIG_FILES in
|
|
|
|
|
*\'*) eval set x "$CONFIG_FILES" ;;
|
|
|
|
|
*) set x $CONFIG_FILES ;;
|
|
|
|
|
esac
|
|
|
|
|
# TODO: see whether this extra hack can be removed once we start
|
|
|
|
|
# requiring Autoconf 2.70 or later.
|
|
|
|
|
case $CONFIG_FILES in #(
|
|
|
|
|
*\'*) :
|
|
|
|
|
eval set x "$CONFIG_FILES" ;; #(
|
|
|
|
|
*) :
|
|
|
|
|
set x $CONFIG_FILES ;; #(
|
|
|
|
|
*) :
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
shift
|
|
|
|
|
for mf
|
|
|
|
|
# Used to flag and report bootstrapping failures.
|
|
|
|
|
am_rc=0
|
|
|
|
|
for am_mf
|
|
|
|
|
do
|
|
|
|
|
# Strip MF so we end up with the name of the file.
|
|
|
|
|
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
|
|
|
|
# Check whether this is an Automake generated Makefile or not.
|
|
|
|
|
# We used to match only the files named 'Makefile.in', but
|
|
|
|
|
# some people rename them; so instead we look at the file content.
|
|
|
|
|
# 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
|
|
|
|
|
am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
|
|
|
|
|
# Check whether this is an Automake generated Makefile which includes
|
|
|
|
|
# dependency-tracking related rules and includes.
|
|
|
|
|
# Grep'ing the whole file directly is not great: AIX grep has a line
|
|
|
|
|
# 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; then
|
|
|
|
|
dirpart=`$as_dirname -- "$mf" ||
|
|
|
|
|
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
|
|
|
X"$mf" : 'X\(//\)[^/]' \| \
|
|
|
|
|
X"$mf" : 'X\(//\)$' \| \
|
|
|
|
|
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
|
|
|
|
$as_echo X"$mf" |
|
|
|
|
|
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
|
|
|
|
|
|| continue
|
|
|
|
|
am_dirpart=`$as_dirname -- "$am_mf" ||
|
|
|
|
|
$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
|
|
|
X"$am_mf" : 'X\(//\)[^/]' \| \
|
|
|
|
|
X"$am_mf" : 'X\(//\)$' \| \
|
|
|
|
|
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
|
|
|
|
|
$as_echo X"$am_mf" |
|
|
|
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
|
|
|
s//\1/
|
|
|
|
|
q
|
|
|
|
@ -10522,53 +10629,48 @@ $as_echo X"$mf" |
|
|
|
|
|
q
|
|
|
|
|
}
|
|
|
|
|
s/.*/./; q'`
|
|
|
|
|
else
|
|
|
|
|
continue
|
|
|
|
|
fi
|
|
|
|
|
# Extract the definition of DEPDIR, am__include, and am__quote
|
|
|
|
|
# from the Makefile without running 'make'.
|
|
|
|
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
|
|
|
|
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"`
|
|
|
|
|
# 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'`; 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\(\/\/\)[^/].*/{
|
|
|
|
|
am_filepart=`$as_basename -- "$am_mf" ||
|
|
|
|
|
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
|
|
|
|
|
X"$am_mf" : 'X\(//\)$' \| \
|
|
|
|
|
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
|
|
|
|
|
$as_echo X/"$am_mf" |
|
|
|
|
|
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|
|
|
|
s//\1/
|
|
|
|
|
q
|
|
|
|
|
}
|
|
|
|
|
/^X\(\/\/\)$/{
|
|
|
|
|
/^X\/\(\/\/\)$/{
|
|
|
|
|
s//\1/
|
|
|
|
|
q
|
|
|
|
|
}
|
|
|
|
|
/^X\(\/\).*/{
|
|
|
|
|
/^X\/\(\/\).*/{
|
|
|
|
|
s//\1/
|
|
|
|
|
q
|
|
|
|
|
}
|
|
|
|
|
s/.*/./; q'`
|
|
|
|
|
as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
|
|
|
|
# echo "creating $dirpart/$file"
|
|
|
|
|
echo '# dummy' > "$dirpart/$file"
|
|
|
|
|
done
|
|
|
|
|
{ echo "$as_me:$LINENO: cd "$am_dirpart" \
|
|
|
|
|
&& sed -e '/# am--include-marker/d' "$am_filepart" \
|
|
|
|
|
| $MAKE -f - am--depfiles" >&5
|
|
|
|
|
(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
|
|
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|