From: Todd C. Miller Date: Wed, 17 Mar 2010 22:48:19 +0000 (-0400) Subject: Set the sudoers plugin name in configure so we get the extension right. X-Git-Tag: SUDO_1_8_0~798 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a2a2d193f82b762744136c4f76bd6e25ceb562a;p=sudo Set the sudoers plugin name in configure so we get the extension right. --- diff --git a/config.h.in b/config.h.in index 586753a8c..01a26bffb 100644 --- a/config.h.in +++ b/config.h.in @@ -25,6 +25,9 @@ /* Define to 1 if using `alloca.c'. */ #undef C_ALLOCA +/* The name of the sudoers plugin, including extension. */ +#undef SUDOERS_PLUGIN + /* Define to 1 if you want sudo to display "command not allowed" instead of "command not found" when a command cannot be found. */ #undef DONT_LEAK_PATH_INFO diff --git a/configure b/configure index 6f0c44811..edb414de6 100755 --- a/configure +++ b/configure @@ -26287,6 +26287,10 @@ _ACEOF eval PLUGINDIR="$with_plugindir" cat >>confdefs.h <>confdefs.h <symbol_name = "sudoers"; - info->path = "sudoers_policy"; + info->symbol_name = "sudoers_policy"; + info->path = SUDOERS_PLUGIN; info->prev = info; info->next = NULL; tq_append(&pil, info);