Skip to content

Commit b2c58c5

Browse files
committed
Revert to autoconf 2.69 for tests
1 parent 5ce8a2b commit b2c58c5

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

configure.ac

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AC_INIT([DRMAA for Slurm],[m4_esyscmd_s(./m4/ac_version.sh)],[nate@bx.psu.edu],[slurm-drmaa])
2-
AC_PREREQ([2.72])
2+
AC_PREREQ([2.69])
33
AC_REVISION([m4_esyscmd_s([git rev-parse HEAD])])
44
AC_COPYRIGHT([
55
DRMAA for Slurm
@@ -43,13 +43,17 @@ AC_ARG_ENABLE(development, AS_HELP_STRING([--enable-development],[enable develop
4343

4444
# programs:
4545
AC_PROG_CC
46+
AC_PROG_CC_C99
4647
AC_PROG_CPP
4748
AC_PROG_INSTALL
4849
LT_INIT
4950
AC_PROG_MAKE_SET
5051
AC_PROG_LN_S
5152

5253
# check compiler / set basic flags:
54+
if test x$ac_cv_prog_cc_c99 = xno; then
55+
AC_MSG_ERROR([C99 compiler is required])
56+
fi
5357

5458
if test x$GCC = xyes; then
5559
CFLAGS="-pedantic -std=c99 ${CFLAGS}"

drmaa_utils

0 commit comments

Comments
 (0)