3743
3743
ac_config_commands="$ac_config_commands depfiles"
3746
am_make=${MAKE-make}
3747
cat > confinc << 'END'
3745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3746
$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3747
cat > confinc.mk << 'END'
3749
@echo this is the am__doit target
3749
@echo this is the am__doit target >confinc.out
3750
3750
.PHONY: am__doit
3752
# If we don't find an include directive, just comment out the code.
3753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3754
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3755
3752
am__include="#"
3758
# First try GNU make style include.
3759
echo "include confinc" > confmf
3760
# Ignore all kinds of additional output from 'make'.
3761
case `$am_make -s -f confmf 2> /dev/null` in #(
3762
*the\ am__doit\ target*)
3754
# BSD make does it like this.
3755
echo '.include "confinc.mk" # ignored' > confmf.BSD
3756
# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3757
echo 'include confinc.mk # ignored' > confmf.GNU
3759
for s in GNU BSD; do
3760
{ echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3761
(${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3763
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764
(exit $ac_status); }
3765
case $?:`cat confinc.out 2>/dev/null` in #(
3766
'0:this is the am__doit target') :
3769
am__include='.include' am__quote='"' ;; #(
3771
am__include='include' am__quote='' ;;
3768
# Now try BSD make style include.
3769
if test "$am__include" = "#"; then
3770
echo '.include "confinc"' > confmf
3771
case `$am_make -s -f confmf 2> /dev/null` in #(
3772
*the\ am__doit\ target*)
3773
am__include=.include
3781
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3782
$as_echo "$_am_result" >&6; }
3783
rm -f confinc confmf
3776
if test "$am__include" != "#"; then
3777
_am_result="yes ($s style)"
3781
rm -f confinc.* confmf.*
3782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3783
$as_echo "${_am_result}" >&6; }
3785
3785
# Check whether --enable-dependency-tracking was given.
3786
3786
if test "${enable_dependency_tracking+set}" = set; then :
7090
7090
# Older Autoconf quotes --file arguments for eval, but not when files
7091
7091
# are listed without --file. Let's play safe and only enable the eval
7092
7092
# if we detect the quoting.
7093
case $CONFIG_FILES in
7094
*\'*) eval set x "$CONFIG_FILES" ;;
7095
*) set x $CONFIG_FILES ;;
7093
# TODO: see whether this extra hack can be removed once we start
7094
# requiring Autoconf 2.70 or later.
7095
case $CONFIG_FILES in #(
7097
eval set x "$CONFIG_FILES" ;; #(
7099
set x $CONFIG_FILES ;; #(
7104
# Used to flag and report bootstrapping failures.
7100
7108
# Strip MF so we end up with the name of the file.
7101
mf=`echo "$mf" | sed -e 's/:.*$//'`
7102
# Check whether this is an Automake generated Makefile or not.
7103
# We used to match only the files named 'Makefile.in', but
7104
# some people rename them; so instead we look at the file content.
7105
# Grep'ing the first line is not enough: some people post-process
7106
# each Makefile.in and add a new line on top of each file to say so.
7107
# Grep'ing the whole file is not good either: AIX grep has a line
7109
am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
7110
# Check whether this is an Automake generated Makefile which includes
7111
# dependency-tracking related rules and includes.
7112
# Grep'ing the whole file directly is not great: AIX grep has a line
7108
7113
# limit of 2048, but all sed's we know have understand at least 4000.
7109
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7110
dirpart=`$as_dirname -- "$mf" ||
7111
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7112
X"$mf" : 'X\(//\)[^/]' \| \
7113
X"$mf" : 'X\(//\)$' \| \
7114
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7116
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7136
# Extract the definition of DEPDIR, am__include, and am__quote
7137
# from the Makefile without running 'make'.
7138
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7139
test -z "$DEPDIR" && continue
7140
am__include=`sed -n 's/^am__include = //p' < "$mf"`
7141
test -z "$am__include" && continue
7142
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7143
# Find all dependency output files, they are included files with
7144
# $(DEPDIR) in their names. We invoke sed twice because it is the
7145
# simplest approach to changing $(DEPDIR) to its actual value in the
7147
for file in `sed -n "
7148
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7149
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7150
# Make sure the directory exists.
7151
test -f "$dirpart/$file" && continue
7152
fdir=`$as_dirname -- "$file" ||
7153
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7154
X"$file" : 'X\(//\)[^/]' \| \
7155
X"$file" : 'X\(//\)$' \| \
7156
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7158
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7175
as_dir=$dirpart/$fdir; as_fn_mkdir_p
7176
# echo "creating $dirpart/$file"
7177
echo '# dummy' > "$dirpart/$file"
7114
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
7116
am_dirpart=`$as_dirname -- "$am_mf" ||
7117
$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7118
X"$am_mf" : 'X\(//\)[^/]' \| \
7119
X"$am_mf" : 'X\(//\)$' \| \
7120
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7121
$as_echo X"$am_mf" |
7122
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7139
am_filepart=`$as_basename -- "$am_mf" ||
7140
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
7141
X"$am_mf" : 'X\(//\)$' \| \
7142
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7143
$as_echo X/"$am_mf" |
7144
sed '/^.*\/\([^/][^/]*\)\/*$/{
7157
{ echo "$as_me:$LINENO: cd "$am_dirpart" \
7158
&& sed -e '/# am--include-marker/d' "$am_filepart" \
7159
| $MAKE -f - am--depfiles" >&5
7161
&& sed -e '/# am--include-marker/d' "$am_filepart" \
7162
| $MAKE -f - am--depfiles) >&5 2>&5
7164
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7165
(exit $ac_status); } || am_rc=$?
7167
if test $am_rc -ne 0; then
7168
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7169
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7170
as_fn_error $? "Something went wrong bootstrapping makefile fragments
7171
for automatic dependency tracking. Try re-running configure with the
7172
'--disable-dependency-tracking' option to at least be able to build
7173
the package (albeit without support for automatic dependency tracking).
7174
See \`config.log' for more details" "$LINENO" 5; }
7176
{ am_dirpart=; unset am_dirpart;}
7177
{ am_filepart=; unset am_filepart;}
7178
{ am_mf=; unset am_mf;}
7179
{ am_rc=; unset am_rc;}
7180
rm -f conftest-deps.mk
7182
7183
"po/stamp-it":C)