Fix DNIe UI integration (#1280)
This commit is contained in:
parent
a97fc86cc9
commit
5d5caecfab
11
configure.ac
11
configure.ac
|
@ -446,10 +446,13 @@ if test "${enable_dnie_ui}" = "yes"; then
|
||||||
AC_DEFINE([ENABLE_DNIE_UI], [1], [Enable the use of external user interface program to request DNIe user pin])
|
AC_DEFINE([ENABLE_DNIE_UI], [1], [Enable the use of external user interface program to request DNIe user pin])
|
||||||
|
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
*-*-darwin)
|
*-*-darwin*)
|
||||||
if test "${enable_dnie_ui}" = "yes"; then
|
LDFLAGS="${LDFLAGS} -framework Carbon"
|
||||||
LDFLAGS="${LDFLAGS} -framework Carbon"
|
;;
|
||||||
fi
|
esac
|
||||||
|
case "${host}" in
|
||||||
|
*-apple-*)
|
||||||
|
LDFLAGS="${LDFLAGS} -framework CoreFoundation"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -163,6 +163,7 @@ const char *user_consent_message="Esta a punto de realizar una firma digital\nco
|
||||||
*/
|
*/
|
||||||
char *user_consent_msgs[] = { "SETTITLE", "SETDESC", "CONFIRM", "BYE" };
|
char *user_consent_msgs[] = { "SETTITLE", "SETDESC", "CONFIRM", "BYE" };
|
||||||
|
|
||||||
|
#ifdef linux
|
||||||
/**
|
/**
|
||||||
* Do fgets() without interruptions.
|
* Do fgets() without interruptions.
|
||||||
*
|
*
|
||||||
|
@ -181,6 +182,7 @@ static char *nointr_fgets(char *s, int size, FILE *stream)
|
||||||
}
|
}
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ask for user consent.
|
* Ask for user consent.
|
||||||
|
|
Loading…
Reference in New Issue