Skip to content
Snippets Groups Projects
Commit a50691ea authored by Christopher J. Morrone's avatar Christopher J. Morrone
Browse files

Don't build proctrack/aix if a proper proctrackext.emp is not specified

but don't stop the rest of the build
parent c1086f4c
No related branches found
No related tags found
No related merge requests found
...@@ -43,8 +43,14 @@ AC_DEFUN([X_AC_AIX], ...@@ -43,8 +43,14 @@ AC_DEFUN([X_AC_AIX],
[ PROCTRACKDIR="$withval" ] [ PROCTRACKDIR="$withval" ]
) )
if test ! -d "$PROCTRACKDIR" -o ! -f "$PROCTRACKDIR/proctrackext.exp"; then if test ! -d "$PROCTRACKDIR" -o ! -f "$PROCTRACKDIR/proctrackext.exp"; then
AC_MSG_ERROR([$PROCTRACKDIR/proctrackext.exp is required and does not exist]) AC_MSG_WARN([proctrackext.exp is required for AIX proctrack support, specify location with --with-proctrack])
ac_have_aix_proctrack="no"
else
AC_SUBST(PROCTRACKDIR)
ac_have_aix_proctrack="yes"
fi fi
AC_SUBST(PROCTRACKDIR) else
ac_have_aix_proctrack="no"
fi fi
AM_CONDITIONAL(HAVE_AIX_PROCTRACK, test "x$ac_have_aix_proctrack" = "xyes")
]) ])
# $Id$ # $Id$
# Makefile for proctrack plugins # Makefile for proctrack plugins
if HAVE_AIX if HAVE_AIX_PROCTRACK
SUBDIRS = aix sid SUBDIRS = aix sid
else else
SUBDIRS = sid SUBDIRS = sid
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment