diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-05-17 09:28:47 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-05-17 09:28:47 +0000 |
commit | 27c54ef60b171c2bee3cbeddd3f8d8ce4eaaaf9a (patch) | |
tree | 15fb3c3a1717cc5418b8226243f791cd44ddb989 /lib/libgnutls-config.in | |
parent | 2fff04cf8061b27e10072a3f8cbdac6895839364 (diff) | |
download | gnutls-27c54ef60b171c2bee3cbeddd3f8d8ce4eaaaf9a.tar.gz |
Added --modules option to libgnutls-config. This option prints the extra modules that have been enabled into the library.
Diffstat (limited to 'lib/libgnutls-config.in')
-rwxr-xr-x | lib/libgnutls-config.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libgnutls-config.in b/lib/libgnutls-config.in index c0f83ed2e7..b83682bcb3 100755 --- a/lib/libgnutls-config.in +++ b/lib/libgnutls-config.in @@ -6,7 +6,7 @@ exec_prefix_set=no gnutls_libs="@LIBGNUTLS_LIBS@" gnutls_cflags="@LIBGNUTLS_CFLAGS@" - +gnutls_modules="@LIBGNUTLS_MODULES@" usage() { @@ -18,6 +18,7 @@ Options: [--version] [--libs] [--cflags] + [--modules] EOF exit $1 } @@ -59,6 +60,9 @@ while test $# -gt 0; do --libs) echo_libs=yes ;; + --modules) + echo_modules=yes + ;; *) usage 1 1>&2 ;; @@ -90,4 +94,8 @@ if test "$echo_libs" = "yes"; then echo ${gnutls_libs} fi +if test "$echo_modules" = "yes"; then + echo ${gnutls_modules} +fi + |