Commit bf9f8ea8 authored by Rob Latham's avatar Rob Latham
Browse files

some AM_INIT_AUTOMAKE invocations were missing subdir-objects

automake-1.14 will carp if the subdir-objects option is missing and it thinks
you should have specified this option, and since we treat warnings as errors we
need to specify this option.  MPICH requires a pretty new version of automake,
so it's doubtful we'll ever encounter the 1999-era automake that does not
understand 'subdir-objects'
parent 80e65b62
......@@ -7,7 +7,7 @@ AC_PREREQ(2.62)
AC_INIT([armci],[0])
AC_CONFIG_AUX_DIR(m4)
AC_CONFIG_MACRO_DIR(m4)
AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability-recursive foreign 1.12.3 color-tests parallel-tests])
AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability-recursive foreign 1.12.3 color-tests parallel-tests subdir-objects])
LT_PREREQ([2.2.6])
......
......@@ -11,7 +11,7 @@ AC_CONFIG_SRCDIR([src/mplstr.c])
AC_CONFIG_AUX_DIR(confdb)
AC_CONFIG_MACRO_DIR(confdb)
AM_INIT_AUTOMAKE([-Wall -Werror foreign 1.12.3])
AM_INIT_AUTOMAKE([subdir-objects] [-Wall -Werror foreign 1.12.3])
dnl must come before LT_INIT, which AC_REQUIREs AC_PROG_CC
PAC_PROG_CC
......
......@@ -12,7 +12,7 @@ dnl config.guess. It also contains autoconf macro files.
AC_CONFIG_AUX_DIR(confdb)
AC_CONFIG_MACRO_DIR([confdb])
AM_INIT_AUTOMAKE([-Wall -Werror foreign color-tests 1.12.3])
AM_INIT_AUTOMAKE([-Wall -Werror foreign color-tests 1.12.3 subdir-objects])
# automake 1.12 seems to require this, but automake 1.11 doesn't recognize it
# must come before LT_INIT
......
......@@ -32,7 +32,7 @@ AS_CASE([$host],
)
AM_INIT_AUTOMAKE([-Wall -Werror foreign 1.12.3])
AM_INIT_AUTOMAKE([-Wall -Werror foreign 1.12.3 subdir-objects])
AM_PROG_AR
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment