diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-05-17 12:06:47 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-05-17 12:06:47 -0400 |
commit | 2011c5c332083582d6b0dc8424dfc794a8f06cca (patch) | |
tree | a6ead43c87624855023217829e99386f4c60b3cb | |
parent | d6b65c36b2b0391a37a78963fd679460b5bba60a (diff) | |
download | sssd-2011c5c332083582d6b0dc8424dfc794a8f06cca.tar.gz sssd-2011c5c332083582d6b0dc8424dfc794a8f06cca.tar.bz2 sssd-2011c5c332083582d6b0dc8424dfc794a8f06cca.zip |
Build fixes
Comment out unused function in pam_sss
Add missing configure.ac to common/ini
-rw-r--r-- | common/ini/configure.ac | 20 | ||||
-rw-r--r-- | sss_client/pam_sss.c | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/common/ini/configure.ac b/common/ini/configure.ac new file mode 100644 index 00000000..503b3c67 --- /dev/null +++ b/common/ini/configure.ac @@ -0,0 +1,20 @@ +AC_INIT([ini_config], [0.3.3], [dpal@redhat.com]) +AC_CONFIG_SRCDIR([ini_config.c]) +AC_CONFIG_AUX_DIR([build]) +AM_INIT_AUTOMAKE([-Wall -Werror foreign]) +AC_PROG_CC +AC_PROG_LIBTOOL +AC_CONFIG_MACRO_DIR([m4]) +AC_PROG_INSTALL + +AC_CONFIG_HEADERS([config.h]) + +# Enable trace build +AC_ARG_ENABLE([trace], + [AS_HELP_STRING([--enable-trace[=LEVEL]],[build with low level tracing enabled])], + [trace_level="$enableval"], + [trace_level="0"]) +AS_IF([test ["$trace_level" -gt "0"] -a ["$trace_level" -lt "8"] ],[AC_SUBST([TRACE_VAR],["-DTRACE_LEVEL=$trace_level"])]) + +AC_CONFIG_FILES([Makefile ini_config.pc]) +AC_OUTPUT diff --git a/sss_client/pam_sss.c b/sss_client/pam_sss.c index 2b676f07..caf164b6 100644 --- a/sss_client/pam_sss.c +++ b/sss_client/pam_sss.c @@ -194,6 +194,7 @@ static int pack_message_v2(struct pam_items *pi, size_t *size, uint8_t **buffer) return 0; } +#if 0 static int pack_message(struct pam_items *pi, size_t *size, uint8_t **buffer) { int len; uint8_t *buf; @@ -262,6 +263,7 @@ static int pack_message(struct pam_items *pi, size_t *size, uint8_t **buffer) { return 0; } +#endif static int null_strcmp(const char *s1, const char *s2) { if (s1 == NULL && s2 == NULL) return 0; |