Skip to content

Commit 94fc671

Browse files
authored
Add subdir-objects option to automake (#386)
Reason: auparse/Makefile.am:92: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:92: but option 'subdir-objects' is disabled automake-1.16: warning: possible forward-incompatibility. automake-1.16: At least one source file is in a subdirectory, but the 'subdir-objects' automake-1.16: automake option hasn't been enabled. For now, the corresponding output automake-1.16: object file(s) will be placed in the top-level directory. However, this automake-1.16: behavior may change in a future Automake major version, with object automake-1.16: files being placed in the same subdirectory as the corresponding sources. automake-1.16: You are advised to start using 'subdir-objects' option throughout your automake-1.16: project, to avoid future incompatibilities.
1 parent f4c2e61 commit 94fc671

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ echo Configuring auditd $VERSION
3838

3939
AC_CONFIG_MACRO_DIR([m4])
4040
AC_CANONICAL_TARGET
41-
AM_INIT_AUTOMAKE
41+
AM_INIT_AUTOMAKE([subdir-objects])
4242
LT_INIT
4343
AC_SUBST(LIBTOOL_DEPS)
4444
OLDLIBS="$LIBS"
@@ -123,7 +123,7 @@ AC_MSG_RESULT($DEALLOC)
123123

124124
dnl; pthread_yield is used in zos-remote
125125
OLDLIBS="$LIBS"
126-
AC_SEARCH_LIBS(pthread_yield, pthread,
126+
AC_SEARCH_LIBS(pthread_yield, pthread,
127127
[AC_DEFINE(HAVE_PTHREAD_YIELD, 1, [Define to 1 if we have pthread_yield])], [])
128128
LIBS="$OLDLIBS"
129129

0 commit comments

Comments
 (0)