Permalink
Browse files

Add configure script, all Makefile.in files, and other necessary by-p…

…roducts

of running autogen.sh.  Now it is no longer necessary to run "./autogen.sh"
after checking out SLURM; you can go straight to "./configure".
  • Loading branch information...
1 parent f30afee commit f5e5a8b62ce1af66d348b876b4b56d6bd72656c5 @morrone morrone committed May 25, 2006
Showing with 86,711 additions and 123 deletions.
  1. +786 −0 Makefile.in
  2. +7,030 −0 aclocal.m4
  3. +40 −23 autogen.sh
  4. +420 −0 auxdir/Makefile.in
  5. +7 −13 auxdir/acx_pthread.m4
  6. +1,449 −0 auxdir/config.guess
  7. +1,552 −0 auxdir/config.sub
  8. +522 −0 auxdir/depcomp
  9. +322 −0 auxdir/install-sh
  10. +6,402 −0 auxdir/ltmain.sh
  11. +360 −0 auxdir/missing
  12. +4 −9 auxdir/slurm.m4
  13. +2 −6 auxdir/type_socklen_t.m4
  14. +2 −4 auxdir/x_ac__system_configuration.m4
  15. +9 −15 auxdir/x_ac_affinity.m4
  16. +2 −3 auxdir/x_ac_aix.m4
  17. +3 −8 auxdir/x_ac_bluegene.m4
  18. +2 −3 auxdir/x_ac_debug.m4
  19. +1 −1 auxdir/x_ac_federation.m4
  20. +1 −3 auxdir/x_ac_munge.m4
  21. +1 −1 auxdir/x_ac_pam.m4
  22. +3 −6 auxdir/x_ac_ptrace.m4
  23. +5 −8 auxdir/x_ac_readline.m4
  24. +2 −4 auxdir/x_ac_setproctitle.m4
  25. +7 −11 auxdir/x_ac_slurm_ssl.m4
  26. +1 −1 auxdir/x_ac_xcpu.m4
  27. +339 −0 config.h.in
  28. +26,895 −0 configure
  29. +5 −4 configure.ac
  30. +561 −0 doc/Makefile.in
  31. +486 −0 doc/html/Makefile.in
  32. +690 −0 doc/man/Makefile.in
  33. +549 −0 src/Makefile.in
  34. +660 −0 src/api/Makefile.in
  35. +716 −0 src/common/Makefile.in
  36. +547 −0 src/plugins/Makefile.in
  37. +548 −0 src/plugins/auth/Makefile.in
  38. +555 −0 src/plugins/auth/authd/Makefile.in
  39. +556 −0 src/plugins/auth/munge/Makefile.in
  40. +550 −0 src/plugins/auth/none/Makefile.in
  41. +548 −0 src/plugins/checkpoint/Makefile.in
  42. +556 −0 src/plugins/checkpoint/aix/Makefile.in
  43. +550 −0 src/plugins/checkpoint/none/Makefile.in
  44. +548 −0 src/plugins/jobacct/Makefile.in
  45. +579 −0 src/plugins/jobacct/aix/Makefile.in
  46. +579 −0 src/plugins/jobacct/linux/Makefile.in
  47. +550 −0 src/plugins/jobacct/none/Makefile.in
  48. +548 −0 src/plugins/jobcomp/Makefile.in
  49. +550 −0 src/plugins/jobcomp/filetxt/Makefile.in
  50. +550 −0 src/plugins/jobcomp/none/Makefile.in
  51. +551 −0 src/plugins/jobcomp/script/Makefile.in
  52. +548 −0 src/plugins/mpi/Makefile.in
  53. +548 −0 src/plugins/mpi/lam/Makefile.in
  54. +571 −0 src/plugins/mpi/mpichgm/Makefile.in
  55. +571 −0 src/plugins/mpi/mvapich/Makefile.in
  56. +550 −0 src/plugins/mpi/none/Makefile.in
  57. +549 −0 src/plugins/proctrack/Makefile.in
  58. +552 −0 src/plugins/proctrack/aix/Makefile.in
  59. +556 −0 src/plugins/proctrack/linuxproc/Makefile.in
  60. +550 −0 src/plugins/proctrack/pgid/Makefile.in
  61. +551 −0 src/plugins/proctrack/rms/Makefile.in
  62. +548 −0 src/plugins/sched/Makefile.in
  63. +552 −0 src/plugins/sched/backfill/Makefile.in
  64. +548 −0 src/plugins/sched/builtin/Makefile.in
  65. +548 −0 src/plugins/sched/hold/Makefile.in
  66. +548 −0 src/plugins/sched/maui/Makefile.in
  67. +660 −0 src/plugins/sched/maui/wiki/Makefile.in
  68. +548 −0 src/plugins/select/Makefile.in
  69. +548 −0 src/plugins/select/bluegene/Makefile.in
  70. +545 −0 src/plugins/select/bluegene/block_allocator/Makefile.in
  71. +647 −0 src/plugins/select/bluegene/plugin/Makefile.in
  72. +552 −0 src/plugins/select/cons_res/Makefile.in
  73. +550 −0 src/plugins/select/linear/Makefile.in
  74. +548 −0 src/plugins/switch/Makefile.in
  75. +572 −0 src/plugins/switch/elan/Makefile.in
  76. +573 −0 src/plugins/switch/federation/Makefile.in
  77. +552 −0 src/plugins/switch/none/Makefile.in
  78. +548 −0 src/plugins/task/Makefile.in
  79. +575 −0 src/plugins/task/affinity/Makefile.in
  80. +552 −0 src/plugins/task/none/Makefile.in
  81. +559 −0 src/sacct/Makefile.in
  82. +557 −0 src/sbcast/Makefile.in
  83. +555 −0 src/scancel/Makefile.in
  84. +549 −0 src/scontrol/Makefile.in
  85. +559 −0 src/sinfo/Makefile.in
  86. +606 −0 src/slurmctld/Makefile.in
  87. +547 −0 src/slurmd/Makefile.in
  88. +719 −0 src/slurmd/slurmd/Makefile.in
  89. +679 −0 src/slurmd/slurmstepd/Makefile.in
  90. +578 −0 src/smap/Makefile.in
  91. +555 −0 src/squeue/Makefile.in
  92. +613 −0 src/srun/Makefile.in
  93. +595 −0 testsuite/Makefile.in
  94. +580 −0 testsuite/expect/Makefile.in
  95. +548 −0 testsuite/slurm_unit/Makefile.in
  96. +693 −0 testsuite/slurm_unit/api/Makefile.in
  97. +584 −0 testsuite/slurm_unit/api/manual/Makefile.in
  98. +677 −0 testsuite/slurm_unit/common/Makefile.in
  99. +498 −0 testsuite/slurm_unit/slurmctld/Makefile.in
  100. +499 −0 testsuite/slurm_unit/slurmd/Makefile.in
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
7,030 aclocal.m4

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -12,18 +12,22 @@
DIE=0
-# minimum required versions of autoconf/automake:
+# minimum required versions of autoconf/automake/libtool:
ACMAJOR=2
-ACMINOR=52
+ACMINOR=59
AMMAJOR=1
-AMMINOR=6
-AMPATCH=2
+AMMINOR=9
+AMPATCH=0
+
+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 "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
@@ -38,17 +42,32 @@ amtest="
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 "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
@@ -69,16 +88,16 @@ mkdir auxdir 2>/dev/null
# Remove config.h.in to make sure it is rebuilt
rm -f config.h.in
-echo "running aclocal $ACLOCAL_FLAGS ... "
-aclocal -I auxdir $ACLOCAL_FLAGS
-echo "running libtoolize --automake --copy ..."
-libtoolize --automake --copy
-echo "running autoheader ... "
-autoheader
-echo "running automake --copy --add-missing ... "
-automake --force --copy --add-missing
-echo "running autoconf ... "
-autoconf
+set -x
+rm -fr autom4te*.cache
+aclocal -I auxdir $ACLOCAL_FLAGS || exit 1
+libtoolize --automake --copy --force || exit 1
+autoheader || exit 1
+automake --add-missing --copy --force-missing || exit 1
+#autoconf --force --warnings=all || exit 1
+autoconf --force --warnings=no-obsolete || exit 1
+set +x
+
if [ -e config.status ]; then
echo "removing stale config.status."
rm -f config.status
@@ -88,10 +107,8 @@ if [ -e config.log ]; then
rm -f config.log
fi
-# touch slurm/slurm.h.in to avoid re-running autoheader
-# after aclocal.m4 is generated, which can fail on some
-# systems lacking the proper libtools. Note slurm/slurm.h
-# should be static (not build by autogen.sh).
-touch slurm/slurm.h.in
-
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 \"svn commit\"."
Oops, something went wrong.

0 comments on commit f5e5a8b

Please sign in to comment.