]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Properly define TSS_TROUSERS in configure script
authorTobias Brunner <tobias@strongswan.org>
Mon, 12 Nov 2012 09:34:04 +0000 (10:34 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 12 Nov 2012 09:34:04 +0000 (10:34 +0100)
configure.in
src/libpts/Makefile.am

index ce09a02d1110401f8eabb8dab3c8475a2c191e9a..c65fa5e94fc09b235794ef4fd17b16afffc1fd16 100644 (file)
@@ -634,6 +634,7 @@ fi
 if test x$tss = xtrousers; then
        AC_HAVE_LIBRARY([tspi],[LIBS="$LIBS"],[AC_MSG_ERROR([TrouSerS library libtspi not found])])
        AC_CHECK_HEADER([trousers/tss.h],,[AC_MSG_ERROR([TrouSerS header trousers/tss.h not found!])])
+       AC_DEFINE([TSS_TROUSERS], [], [use TrouSerS library libtspi as TSS implementation])
 fi
 
 if test x$dumm = xtrue; then
index a36e346c3c9b522c1d82ee78957be5ef31549214..edf3f7416c33b823135fb5096d51d5e95892dc14 100644 (file)
@@ -7,7 +7,6 @@ libpts_la_LIBADD = $(top_builddir)/src/libimcv/libimcv.la
 
 if USE_TROUSERS
   libpts_la_LIBADD += -ltspi
-  AM_CFLAGS = -DTSS_TROUSERS
 endif
 
 libpts_la_SOURCES = \