Changeset 834 in openpam for trunk/t/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/t/Makefile.am

    r760 r834  
    2020
    2121# link with libpam and libt
    22 LDADD = libt.a $(top_builddir)/lib/libpam/libpam.la
     22LDADD = libt.a
     23if WITH_SYSTEM_LIBPAM
     24LDADD += $(SYSTEM_LIBPAM)
     25else
     26LDADD += $(top_builddir)/lib/libpam/libpam.la
     27endif
    2328if WITH_OATH
     29if WITH_SYSTEM_LIBOATH
     30LDADD += $(SYSTEM_LIBOATH)
     31else
    2432LDADD += $(top_builddir)/lib/liboath/liboath.la
    2533endif
     34endif
Note: See TracChangeset for help on using the changeset viewer.