Changeset 834 in openpam for trunk/lib


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.

Location:
trunk/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Makefile.am

    r648 r834  
    11# $Id$
    22
    3 SUBDIRS = libpam
     3SUBDIRS =
     4
     5if !WITH_SYSTEM_LIBPAM
     6SUBDIRS += libpam
     7endif
    48
    59if WITH_OATH
     10if !WITH_SYSTEM_LIBOATH
    611SUBDIRS += liboath
    712endif
     13endif
  • trunk/lib/liboath/Makefile.am

    r833 r834  
    2222
    2323liboath_la_LDFLAGS = -no-undefined -version-info $(LIB_MAJ)
    24 liboath_la_LIBADD = $(top_builddir)/lib/libpam/libpam.la $(CRYPTO_LIBS)
     24if WITH_SYSTEM_LIBPAM
     25liboath_la_LIBADD = $(SYSTEM_LIBPAM)
     26else
     27liboath_la_LIBADD = $(top_builddir)/lib/libpam/libpam.la
     28endif
     29liboath_la_LIBADD += $(CRYPTO_LIBS)
Note: See TracChangeset for help on using the changeset viewer.