Changeset 834 in openpam for trunk/modules/pam_oath/Makefile.am


Ignore:
Timestamp:
Oct 28, 2014, 10:25:58 AM (6 years ago)
Author:
Dag-Erling Smørgrav
Message:

Add configure options to build as much as possible using the system
libpam and / or liboath. Doing so disables building the corresponding
library and its documentation, but still builts the corresponding tools
and modules and runs the unit tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/pam_oath/Makefile.am

    r833 r834  
    1313pam_oath_la_LDFLAGS = -no-undefined -module -version-info $(LIB_MAJ) \
    1414        -export-symbols-regex '^pam_sm_'
    15 pam_oath_la_LIBADD = \
    16         $(top_builddir)/lib/libpam/libpam.la \
    17         $(top_builddir)/lib/liboath/liboath.la
     15pam_oath_la_LIBADD =
     16if WITH_SYSTEM_LIBOATH
     17pam_oath_la_LIBADD += $(SYSTEM_LIBOATH)
     18else
     19pam_oath_la_LIBADD += $(top_builddir)/lib/liboath/liboath.la
     20endif
     21if WITH_SYSTEM_LIBPAM
     22pam_oath_la_LIBADD += $(SYSTEM_LIBPAM)
     23else
     24pam_oath_la_LIBADD += $(top_builddir)/lib/libpam/libpam.la
     25endif
Note: See TracChangeset for help on using the changeset viewer.