mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
2005-04-15 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Add --enable-symcryptrun, disabled by default. Define automake variable BUILD_SYMCRYPTRUN. Check for openpty -lutil, define LIBUTIL_LIBS. tools/ 2005-04-15 Marcus Brinkmann <marcus@g10code.de> * Makefile.am: Define symcryptrun make variable depending on BUILD_SYMCRYPTUN. (bin_PROGRAMS): Add ${symcryptrun} instead symcryptrun. (symcryptrun_LDADD): Use $(LIBUTIL_LIBS) instead of -lutil.
This commit is contained in:
parent
9f9a18c011
commit
f527f721d4
4 changed files with 33 additions and 2 deletions
12
configure.ac
12
configure.ac
|
@ -66,6 +66,7 @@ GNUPG_BUILD_PROGRAM(gpg, yes)
|
|||
GNUPG_BUILD_PROGRAM(gpgsm, yes)
|
||||
GNUPG_BUILD_PROGRAM(agent, yes)
|
||||
GNUPG_BUILD_PROGRAM(scdaemon, yes)
|
||||
GNUPG_BUILD_PROGRAM(symcryptrun, no)
|
||||
|
||||
|
||||
AC_SUBST(PACKAGE)
|
||||
|
@ -468,6 +469,16 @@ AC_CHECK_LIB(usb, usb_bulk_write,
|
|||
AC_SUBST(LIBUSB_LIBS)
|
||||
AC_CHECK_FUNCS(usb_create_match)
|
||||
|
||||
#
|
||||
# libutil has openpty() and login_tty().
|
||||
#
|
||||
AC_CHECK_LIB(util, openpty,
|
||||
[ LIBUTIL_LIBS="$LIBUTIL_LIBS -lutil"
|
||||
AC_DEFINE(HAVE_LIBUTIL,1,
|
||||
[defined if libutil is available])
|
||||
])
|
||||
AC_SUBST(LIBUTIL_LIBS)
|
||||
|
||||
#
|
||||
# Check wether it is necessary to link against libdl.
|
||||
#
|
||||
|
@ -1046,6 +1057,7 @@ AM_CONDITIONAL(BUILD_GPG, test "$build_gpg" = "yes")
|
|||
AM_CONDITIONAL(BUILD_GPGSM, test "$build_gpgsm" = "yes")
|
||||
AM_CONDITIONAL(BUILD_AGENT, test "$build_agent" = "yes")
|
||||
AM_CONDITIONAL(BUILD_SCDAEMON, test "$build_scdaemon" = "yes")
|
||||
AM_CONDITIONAL(BUILD_SYMCRYPTRUN, test "$build_symcryptrun" = "yes")
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue