Permalink
Switch branches/tags
start slurm-17-11-0-0rc3 slurm-17-11-0-0rc2 slurm-17-11-0-0rc1 slurm-17-11-0-0pre2 slurm-17-11-0-0pre1 slurm-17-02-9-1 slurm-17-02-8-1 slurm-17-02-7-1 slurm-17-02-6-1 slurm-17-02-5-1 slurm-17-02-4-1 slurm-17-02-3-1 slurm-17-02-2-1 slurm-17-02-1-2 slurm-17-02-1-1 slurm-17-02-0-1 slurm-17-02-0-0rc1 slurm-17-02-0-0pre4 slurm-17-02-0-0pre3 slurm-17-02-0-0pre2 slurm-17-02-0-0pre1 slurm-16-05-11-1 slurm-16-05-10-2 slurm-16-05-10-1 slurm-16-05-9-1 slurm-16-05-8-1 slurm-16-05-7-1 slurm-16-05-6-1 slurm-16-05-5-1 slurm-16-05-4-1 slurm-16-05-3-1 slurm-16-05-2-1 slurm-16-05-1-1 slurm-16-05-0-1 slurm-16-05-0-0rc2 slurm-16-05-0-0rc1 slurm-16-05-0-0pre2 slurm-16-05-0-0pre1 slurm-15-08-13-1 slurm-15-08-12-1 slurm-15-08-11-1 slurm-15-08-10-1 slurm-15-08-9-1 slurm-15-08-8-1 slurm-15-08-7-1 slurm-15-08-6-1 slurm-15-08-5-1 slurm-15-08-4-1 slurm-15-08-3-1 slurm-15-08-2-1 slurm-15-08-1-1 slurm-15-08-0-1 slurm-15-08-0-0rc1 slurm-15-08-0-0pre6 slurm-15-08-0-0pre5 slurm-15-08-0-0pre4 slurm-15-08-0-0pre3 slurm-15-08-0-0pre2 slurm-15-08-0-0pre1 slurm-14-11-11-1 slurm-14-11-10-1 slurm-14-11-9-1 slurm-14-11-8-1 slurm-14-11-7-1 slurm-14-11-6-1 slurm-14-11-5-1 slurm-14-11-4-1 slurm-14-11-3-1 slurm-14-11-2-1 slurm-14-11-1-1 slurm-14-11-0-1 slurm-14-11-0-0rc3 slurm-14-11-0-0rc2 slurm-14-11-0-0rc1 slurm-14-11-0-0pre5 slurm-14-11-0-0pre4 slurm-14-11-0-0pre3 slurm-14-11-0-0pre2 slurm-14-11-0-0pre1 slurm-14-03-11-1 slurm-14-03-10-1 slurm-14-03-9-1 slurm-14-03-8-1 slurm-14-03-7-1 slurm-14-03-6-1 slurm-14-03-5-1 slurm-14-03-4-2 slurm-14-03-4-1 slurm-14-03-3-2 slurm-14-03-3-1 slurm-14-03-2-1 slurm-14-03-1-2 slurm-14-03-1-1 slurm-14-03-0-1 slurm-14-03-0-0rc1 slurm-14-03-0-0pre6 slurm-14-03-0-0pre5 slurm-13-12-0-0pre4 slurm-13-12-0-0pre3
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 112 lines (94 sloc) 2.92 KB
#!/bin/sh
#
# Run this script to generate aclocal.m4, config.h.in,
# Makefile.in's, and ./configure...
#
# To specify extra flags to aclocal (include dirs for example),
# set ACLOCAL_FLAGS
#
DIE=0
# minimum required versions of autoconf/automake/libtool:
ACMAJOR=2
ACMINOR=59
AMMAJOR=1
AMMINOR=10
AMPATCH=2
LTMAJOR=1
LTMINOR=5
LTPATCH=8
(autoconf --version 2>&1 | \
perl -n0e "(/(\d+)\.(\d+)/ && \$1>=$ACMAJOR && \$2>=$ACMINOR) || exit 1") || {
echo
echo "Error: You must have 'autoconf' version $ACMAJOR.$ACMINOR or greater"
echo "installed to run $0. Get the latest version from"
echo "ftp://ftp.gnu.org/pub/gnu/autoconf/"
echo
NO_AUTOCONF=yes
DIE=1
}
amtest="
if (/(\d+)\.(\d+)((-p|\.)(\d+))*/) {
exit 1 if (\$1 < $AMMAJOR || \$2 < $AMMINOR);
exit 0 if (\$2 > $AMMINOR);
exit 1 if (\$5 < $AMPATCH);
}"
(automake --version 2>&1 | perl -n0e "$amtest" ) || {
echo
echo "Error: You must have 'automake' version $AMMAJOR.$AMMINOR.$AMPATCH or greater"
echo "installed to run $0. Get the latest version from"
echo "ftp://ftp.gnu.org/pub/gnu/automake/"
echo
NO_AUTOCONF=yes
DIE=1
}
lttest="
if (/(\d+)\.(\d+)((-p|\.)(\d+))*/) {
exit 1 if (\$1 < $LTMAJOR);
exit 1 if (\$1 == $LTMAJOR && \$2 < $LTMINOR);
exit 1 if (\$1 == $LTMAJOR && \$2 == $LTMINOR && \$5 < $LTPATCH);
}"
(libtool --version 2>&1 | perl -n0e "$lttest" ) || {
echo
echo "Error: You must have 'libtool' version $LTMAJOR.$LTMINOR.$LTPATCH or greater"
echo "installed to run $0. Get the latest version from"
echo "ftp://ftp.gnu.org/pub/gnu/libtool/"
echo
DIE=1
}
test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "Error: \`aclocal' appears to be missing. The installed version of"
echo "\`automake' may be too old. Get the most recent version from"
echo "ftp://ftp.gnu.org/pub/gnu/automake/"
NO_ACLOCAL=yes
DIE=1
}
if test $DIE -eq 1; then
exit 1
fi
# make sure that auxdir exists
mkdir auxdir 2>/dev/null
# Remove config.h.in to make sure it is rebuilt
rm -f config.h.in
set -x
rm -fr autom4te*.cache
${ACLOCAL:-aclocal} -I auxdir $ACLOCAL_FLAGS || exit 1
${LIBTOOLIZE:-libtoolize} --automake --copy --force || exit 1
${AUTOHEADER:-autoheader} || exit 1
${AUTOMAKE:-automake} --add-missing --copy --force-missing || exit 1
#${AUTOCONF:-autoconf} --force --warnings=all || exit 1
${AUTOCONF:-autoconf} --force --warnings=no-obsolete || exit 1
set +x
if [ -e config.status ]; then
echo "removing stale config.status."
rm -f config.status
fi
if [ -e config.log ]; then
echo "removing old config.log."
rm -f config.log
fi
echo "now run ./configure to configure slurm for your environment."
echo
echo "NOTE: This script has most likely just modified files that are under"
echo " version control. Make sure that you really want these changes"
echo " applied to the repository before you run \"git commit\"."