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

Dependence on gengetopt #17

Open
bosilca opened this issue Feb 28, 2024 · 0 comments
Open

Dependence on gengetopt #17

bosilca opened this issue Feb 28, 2024 · 0 comments

Comments

@bosilca
Copy link
Member

bosilca commented Feb 28, 2024

I can't find this tool on any of the clusters I have access to. Here is a patch that will complain during configure about the missing tool instead of breaking during compilation.

diff --git a/configure.ac b/configure.ac
index 22b3943..507687d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,6 +90,10 @@ dnl AC_CHECK_FUNCS([kill memset snprintf strcasecmp strerror strstr setlinebuf g
 AC_CHECK_FUNCS([gethostname memset strcasecmp strerror strstr])


+AC_CHECK_PROG([GENGETOPT], [gengetopt], [yes], [no])
+AS_IF([test "$GENGETOPT" == "no"],
+      [AC_MSG_ERROR( [gengetopt is required but cannot be found])])
+
 AC_CONFIG_FILES([Makefile])

 AS_MKDIR_P([coll])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant