Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

now check for sed and ncgen in configure.ac #207

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
now check for sed and ncgen in configure.ac
  • Loading branch information
edhartnett committed Nov 6, 2019
commit 88532efef50ccebea7a979d8e6bf33a59ce14128
12 changes: 12 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,18 @@ if test -z "$FMS_BATS"; then
AC_MSG_ERROR([Cannot find bats utility. Install bats and try again.])
fi

# Is sed installed? It is required for testing.
AC_CHECK_PROGS([FMS_SED], [sed])
if test -z "$FMS_SED"; then
AC_MSG_ERROR([Cannot find sed. Install sed and try again.])
fi

# Is bats installed? It is required for testing.
AC_CHECK_PROGS([FMS_NCGEN], [ncgen])
if test -z "$FMS_NCGEN"; then
AC_MSG_ERROR([Cannot find ncgen. Install ncgen and try again.])
fi

# Check to see if any macros must be set to enable large (>2GB) files.
AC_SYS_LARGEFILE

Expand Down