diff options
author | Pino Toscano <toscano.pino@tiscali.it> | 2023-05-08 18:39:36 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-05-11 05:16:06 +0000 |
commit | 5fa961fd3b5b8cf5ba1a0cf49b10ebf79e273e96 (patch) | |
tree | 453316edd9f722610ef84be25c7d4bc44269e1ae /Makefile.am | |
parent | b030a05e149c9c1a0855475ff690d849f720637f (diff) | |
download | pam-5fa961fd3b5b8cf5ba1a0cf49b10ebf79e273e96.tar.gz pam-5fa961fd3b5b8cf5ba1a0cf49b10ebf79e273e96.tar.bz2 pam-5fa961fd3b5b8cf5ba1a0cf49b10ebf79e273e96.zip |
configure.ac: add --enable-examples option
Allow the user to not build the examples through --disable-examples
(enabled by default); this can be useful:
- when cross-compiling, as the examples are not useful
- in distribution builds, not building stuff that is not used in any
way
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index deb25268..2e8fede7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,11 +4,14 @@ AUTOMAKE_OPTIONS = 1.9 gnu dist-xz no-dist-gzip check-news -SUBDIRS = libpam tests libpamc libpam_misc modules po conf examples xtests +SUBDIRS = libpam tests libpamc libpam_misc modules po conf xtests if HAVE_DOC SUBDIRS += doc endif +if HAVE_EXAMPLES +SUBDIRS += examples +endif CLEANFILES = *~ |