[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
autoreconf behavior
From: |
Walter E. Brown |
Subject: |
autoreconf behavior |
Date: |
Sun, 02 Feb 2003 07:30:36 -0600 |
I am using autoconf 2.57 and automake 2.57 in a Cygwin environment. The
command:
autoreconf --install --verbose
terminates with diagnostic:
automake: no `Makefile.am' found or specified
I am puzzled by this, since there is indeed a Makefile.am in the toppkg
directory as well as in the subpkg directory.
Can someone offer a suggestion? My skeleton project's 5 small files may be
found below, in case someone might wish to try to reproduce the reported
behavior.
Thanks very much.
- WEB
--
Walter E. Brown, Ph.D. voice: +1 630 840-2784
CEPA Department, Mail Station 234
Fermi National Accelerator Laboratory
Batavia, IL 60510-0500
USA
############### cut here ###############
#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.2.1).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 2003-02-02 07:22 CST by <address@hidden>.
# Source directory was `/home/Administrator'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode name
# ------ ---------- ------------------------------------------
# 230 -rw-r--r-- toppkg/configure.ac
# 114 -rw-r--r-- toppkg/Makefile.am
# 246 -rw-r--r-- toppkg/subpkg/configure.ac
# 104 -rw-r--r-- toppkg/subpkg/Makefile.am
# 1051 -rwxr-xr-x toppkg/subpkg/pkg-config.ac
#
save_IFS="${IFS}"
IFS="${IFS}:"
gettext_dir=FAILED
locale_dir=FAILED
first_param="$1"
for dir in $PATH
do
if test "$gettext_dir" = FAILED && test -f $dir/gettext \
&& ($dir/gettext --version >/dev/null 2>&1)
then
set `$dir/gettext --version 2>&1`
if test "$3" = GNU
then
gettext_dir=$dir
fi
fi
if test "$locale_dir" = FAILED && test -f $dir/shar \
&& ($dir/shar --print-text-domain-dir >/dev/null 2>&1)
then
locale_dir=`$dir/shar --print-text-domain-dir`
fi
done
IFS="$save_IFS"
if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED
then
echo=echo
else
TEXTDOMAINDIR=$locale_dir
export TEXTDOMAINDIR
TEXTDOMAIN=sharutils
export TEXTDOMAIN
echo="$gettext_dir/gettext -s"
fi
if touch -am -t 200112312359.59 $$.touch >/dev/null 2>&1 && test ! -f
200112312359.59 -a -f $$.touch; then
shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"'
elif touch -am 123123592001.59 $$.touch >/dev/null 2>&1 && test ! -f
123123592001.59 -a ! -f 123123592001.5 -a -f $$.touch; then
shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"'
elif touch -am 1231235901 $$.touch >/dev/null 2>&1 && test ! -f
1231235901 -a -f $$.touch; then
shar_touch='touch -am $3$4$5$6$2 "$8"'
else
shar_touch=:
echo
$echo 'WARNING: not restoring timestamps. Consider getting and'
$echo "installing GNU \`touch', distributed in GNU File Utilities..."
echo
fi
rm -f 200112312359.59 123123592001.59 123123592001.5 1231235901 $$.touch
#
if mkdir _sh00992; then
$echo 'x -' 'creating lock directory'
else
$echo 'failed to create lock directory'
exit 1
fi
# ============= toppkg/configure.ac ==============
if test ! -d 'toppkg'; then
$echo 'x -' 'creating directory' 'toppkg'
mkdir 'toppkg'
fi
if test -f 'toppkg/configure.ac' && test "$first_param" != -c; then
$echo 'x -' SKIPPING 'toppkg/configure.ac' '(file already exists)'
else
$echo 'x -' extracting 'toppkg/configure.ac' '(text)'
sed 's/^X//' << 'SHAR_EOF' > 'toppkg/configure.ac' &&
AC_PREREQ(2.57)
AC_INIT(auto_top, 0.0, address@hidden)
X
AM_INIT_AUTOMAKE(1.7 foreign)
X
AC_CONFIG_HEADERS(defs.h)
X
AC_CONFIG_SRCDIR([configure.ac])
#AC_CONFIG_AUX_DIR(autotools)
X
AC_CONFIG_SUBDIRS(subpkg)
X
AC_OUTPUT[Makefile]
SHAR_EOF
(set 20 03 02 02 07 18 36 'toppkg/configure.ac'; eval "$shar_touch") &&
chmod 0644 'toppkg/configure.ac' ||
$echo 'restore of' 'toppkg/configure.ac' 'failed'
if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
&& ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
md5sum -c << SHAR_EOF >/dev/null 2>&1 \
|| $echo 'toppkg/configure.ac:' 'MD5 check failed'
185f2fe5c0f1d72bfc26d9facab99c62 toppkg/configure.ac
SHAR_EOF
else
shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'toppkg/configure.ac'`"
test 230 -eq "$shar_count" ||
$echo 'toppkg/configure.ac:' 'original size' '230,' 'current size'
"$shar_count!"
fi
fi
# ============= toppkg/Makefile.am ==============
if test -f 'toppkg/Makefile.am' && test "$first_param" != -c; then
$echo 'x -' SKIPPING 'toppkg/Makefile.am' '(file already exists)'
else
$echo 'x -' extracting 'toppkg/Makefile.am' '(text)'
sed 's/^X//' << 'SHAR_EOF' > 'toppkg/Makefile.am' &&
## Process this file with automake to produce Makefile.in
X
X
SUBDIRS = . @subdirs@
X
X
#bin_SCRIPTS = CLHEP-config
X~
SHAR_EOF
(set 20 03 02 02 06 51 48 'toppkg/Makefile.am'; eval "$shar_touch") &&
chmod 0644 'toppkg/Makefile.am' ||
$echo 'restore of' 'toppkg/Makefile.am' 'failed'
if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
&& ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
md5sum -c << SHAR_EOF >/dev/null 2>&1 \
|| $echo 'toppkg/Makefile.am:' 'MD5 check failed'
c082a0972e1ea4dac7a2ee912c229181 toppkg/Makefile.am
SHAR_EOF
else
shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'toppkg/Makefile.am'`"
test 114 -eq "$shar_count" ||
$echo 'toppkg/Makefile.am:' 'original size' '114,' 'current size'
"$shar_count!"
fi
fi
# ============= toppkg/subpkg/configure.ac ==============
if test ! -d 'toppkg/subpkg'; then
$echo 'x -' 'creating directory' 'toppkg/subpkg'
mkdir 'toppkg/subpkg'
fi
if test -f 'toppkg/subpkg/configure.ac' && test "$first_param" != -c; then
$echo 'x -' SKIPPING 'toppkg/subpkg/configure.ac' '(file already exists)'
else
$echo 'x -' extracting 'toppkg/subpkg/configure.ac' '(text)'
sed 's/^X//' << 'SHAR_EOF' > 'toppkg/subpkg/configure.ac' &&
AC_PREREQ(2.57)
AC_INIT(auto_top, 0.0, address@hidden)
X
AM_INIT_AUTOMAKE(1.7 foreign)
X
AC_CONFIG_HEADERS(defs.h)
X
AC_CONFIG_SRCDIR(configure.ac)
AC_CONFIG_AUX_DIR([../autotools])
X
AC_OUTPUT[Makefile @address@hidden:pkg-config.ac]
SHAR_EOF
(set 20 03 02 02 06 53 10 'toppkg/subpkg/configure.ac'; eval
"$shar_touch") &&
chmod 0644 'toppkg/subpkg/configure.ac' ||
$echo 'restore of' 'toppkg/subpkg/configure.ac' 'failed'
if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
&& ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
md5sum -c << SHAR_EOF >/dev/null 2>&1 \
|| $echo 'toppkg/subpkg/configure.ac:' 'MD5 check failed'
9f9b69e555b8c2ff54f9c79f0bbf4ca7 toppkg/subpkg/configure.ac
SHAR_EOF
else
shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c <
'toppkg/subpkg/configure.ac'`"
test 246 -eq "$shar_count" ||
$echo 'toppkg/subpkg/configure.ac:' 'original size' '246,' 'current
size' "$shar_count!"
fi
fi
# ============= toppkg/subpkg/Makefile.am ==============
if test -f 'toppkg/subpkg/Makefile.am' && test "$first_param" != -c; then
$echo 'x -' SKIPPING 'toppkg/subpkg/Makefile.am' '(file already exists)'
else
$echo 'x -' extracting 'toppkg/subpkg/Makefile.am' '(text)'
sed 's/^X//' << 'SHAR_EOF' > 'toppkg/subpkg/Makefile.am' &&
## Process this file with automake to produce Makefile.in
X
X
bin_SCRIPTS = @address@hidden
X~
SHAR_EOF
(set 20 03 02 02 06 56 34 'toppkg/subpkg/Makefile.am'; eval
"$shar_touch") &&
chmod 0644 'toppkg/subpkg/Makefile.am' ||
$echo 'restore of' 'toppkg/subpkg/Makefile.am' 'failed'
if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
&& ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
md5sum -c << SHAR_EOF >/dev/null 2>&1 \
|| $echo 'toppkg/subpkg/Makefile.am:' 'MD5 check failed'
44b60275b4893c8795982ea6d44e5396 toppkg/subpkg/Makefile.am
SHAR_EOF
else
shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c <
'toppkg/subpkg/Makefile.am'`"
test 104 -eq "$shar_count" ||
$echo 'toppkg/subpkg/Makefile.am:' 'original size' '104,' 'current
size' "$shar_count!"
fi
fi
# ============= toppkg/subpkg/pkg-config.ac ==============
if test -f 'toppkg/subpkg/pkg-config.ac' && test "$first_param" != -c; then
$echo 'x -' SKIPPING 'toppkg/subpkg/pkg-config.ac' '(file already
exists)'
else
$echo 'x -' extracting 'toppkg/subpkg/pkg-config.ac' '(text)'
sed 's/^X//' << 'SHAR_EOF' > 'toppkg/subpkg/pkg-config.ac' &&
#! /bin/sh
# @configure_input@
X
usage()
{
X cat >2 <<EOF
Usage: @PACKAGE_TARNAME@ [OPTION] ...
X
Known values for OPTION are:
X
X --cppflags print pre-processor flags
X --cxx print compilation command
X --cxxflags print C++ compiler flags
X --help display this help and exit
X --ldflags print linker flags
X --libs print libraries to link against
X --prefix show installation prefix
X --version output version information
X
EOF
X exit $1
} # usage
X
X
if test $# -eq 0; then
X usage 1
fi
X
while test $# -gt 0; do
X case "$1" in
X --cppflags) echo address@hidden@ @CPPFLAGS@ ;;
X --cxx ) echo @CXX@ ;;
X --cxxflags) echo @CXXFLAGS@ ;;
X --help ) usage 0 ;;
X --ldflags ) echo @LDFLAGS@ ;;
X --libs ) echo @LIBS@ ;;
X --prefix ) echo @prefix@ ;;
X --version ) echo @PACKAGE@ @VERSION@; exit 0 ;;
X * ) usage 1 ;;
X esac
X shift
done # while
X
Xexit 0
SHAR_EOF
(set 20 03 02 02 06 16 53 'toppkg/subpkg/pkg-config.ac'; eval
"$shar_touch") &&
chmod 0755 'toppkg/subpkg/pkg-config.ac' ||
$echo 'restore of' 'toppkg/subpkg/pkg-config.ac' 'failed'
if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
&& ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
md5sum -c << SHAR_EOF >/dev/null 2>&1 \
|| $echo 'toppkg/subpkg/pkg-config.ac:' 'MD5 check failed'
12f95eb38459c43259b37391d74d5396 toppkg/subpkg/pkg-config.ac
SHAR_EOF
else
shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c <
'toppkg/subpkg/pkg-config.ac'`"
test 1051 -eq "$shar_count" ||
$echo 'toppkg/subpkg/pkg-config.ac:' 'original size' '1051,' 'current
size' "$shar_count!"
fi
fi
rm -fr _sh00992
exit 0
- autoreconf behavior,
Walter E. Brown <=