Changeset View
Changeset View
Standalone View
Standalone View
configure.ac
Context not available. | |||||
dnl | dnl | ||||
dnl Check for EFL pinentry programs. | |||||
dnl | |||||
AC_ARG_ENABLE(pinentry-efl, | |||||
AC_HELP_STRING([--enable-pinentry-efl], [build EFL pinentry]), | |||||
pinentry_efl=$enableval, pinentry_efl=maybe) | |||||
dnl check for pkg-config | |||||
if test "$pinentry_efl" != "no"; then | |||||
AC_PATH_PROG(PKG_CONFIG, pkg-config, no) | |||||
if test x"${PKG_CONFIG}" = xno ; then | |||||
pinentry_efl=no | |||||
fi | |||||
fi | |||||
if test "$pinentry_efl" != "no"; then | |||||
AC_MSG_CHECKING([for efl]) | |||||
"${PKG_CONFIG}" --exists 'elementary >= 1.18' | |||||
if test $? -ne 0 ; then | |||||
AC_MSG_RESULT([no]) | |||||
AC_MSG_WARN([efl >= 1.18 is required for efl pinentry]) | |||||
pinentry_efl=no | |||||
else | |||||
AC_MSG_RESULT([yes]) | |||||
EFL_CFLAGS=`"${PKG_CONFIG}" --cflags ecore-x elementary` | |||||
EFL_LIBS=`"${PKG_CONFIG}" --libs ecore-x elementary` | |||||
AC_SUBST(EFL_CFLAGS) | |||||
AC_SUBST(EFL_LIBS) | |||||
if test "$pinentry_efl" != "no" | |||||
then | |||||
pinentry_efl=yes | |||||
fi | |||||
fi | |||||
fi | |||||
AM_CONDITIONAL(BUILD_PINENTRY_EFL, test "$pinentry_efl" = "yes") | |||||
dnl | |||||
dnl Check for GTK+-2 / GNOME3 pinentry programs. | dnl Check for GTK+-2 / GNOME3 pinentry programs. | ||||
dnl | dnl | ||||
AC_ARG_ENABLE(pinentry-gtk2, | AC_ARG_ENABLE(pinentry-gtk2, | ||||
Context not available. | |||||
if test "$pinentry_fltk" = "yes"; then | if test "$pinentry_fltk" = "yes"; then | ||||
PINENTRY_DEFAULT=pinentry-fltk | PINENTRY_DEFAULT=pinentry-fltk | ||||
else | else | ||||
AC_MSG_ERROR([[No pinentry enabled.]]) | if test "$pinentry_efl" = "yes"; then | ||||
PINENTRY_DEFAULT=pinentry-efl | |||||
else | |||||
AC_MSG_ERROR([[No pinentry enabled.]]) | |||||
fi | |||||
fi | fi | ||||
fi | fi | ||||
fi | fi | ||||
Context not available. | |||||
pinentry/Makefile | pinentry/Makefile | ||||
curses/Makefile | curses/Makefile | ||||
tty/Makefile | tty/Makefile | ||||
efl/Makefile | |||||
emacs/Makefile | emacs/Makefile | ||||
gtk+-2/Makefile | gtk+-2/Makefile | ||||
gnome3/Makefile | gnome3/Makefile | ||||
Context not available. | |||||
Curses Pinentry ..: $pinentry_curses | Curses Pinentry ..: $pinentry_curses | ||||
TTY Pinentry .....: $pinentry_tty | TTY Pinentry .....: $pinentry_tty | ||||
Emacs Pinentry ...: $pinentry_emacs | Emacs Pinentry ...: $pinentry_emacs | ||||
EFL Pinentry ...: $pinentry_efl | |||||
GTK+-2 Pinentry ..: $pinentry_gtk_2 | GTK+-2 Pinentry ..: $pinentry_gtk_2 | ||||
GNOME 3 Pinentry .: $pinentry_gnome_3 | GNOME 3 Pinentry .: $pinentry_gnome_3 | ||||
Qt Pinentry ......: $pinentry_qt $pinentry_qt_lib_version | Qt Pinentry ......: $pinentry_qt $pinentry_qt_lib_version | ||||
Context not available. |