summaryrefslogtreecommitdiff
path: root/lib/poptALL.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/poptALL.c')
-rw-r--r--lib/poptALL.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/poptALL.c b/lib/poptALL.c
index cd973d899..444c31311 100644
--- a/lib/poptALL.c
+++ b/lib/poptALL.c
@@ -347,7 +347,9 @@ rpmcliInit(int argc, char *const argv[], struct poptOption * optionsTable)
optCon = poptGetContext(__progname, argc, (const char **)argv, optionsTable, 0);
(void) poptReadConfigFile(optCon, LIBRPMALIAS_FILENAME);
+#if RPM_USES_POPTREADDEFAULTCONFIG
(void) poptReadDefaultConfig(optCon, 1);
+#endif
poptSetExecPath(optCon, RPMCONFIGDIR, 1);
/* Process all options, whine if unknown. */