Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 639430 | Differences between
and this patch

Collapse All | Expand All

(-)a/configure.in (-1 / +6 lines)
Lines 144-147 fi Link Here
144
AC_SUBST(FL_LEX)
144
AC_SUBST(FL_LEX)
145
AC_SUBST(LIBS)
145
AC_SUBST(LIBS)
146
146
147
AC_OUTPUT(Makefile)
147
# Make sysconfdir available for substitution in es.c.
148
# Two "evals" are needed to squash out the extra $prefix.
149
AC_SUBST([_sysconfdir])
150
AC_CONFIG_COMMANDS_PRE([eval eval _sysconfdir=$sysconfdir])
151
152
AC_OUTPUT(Makefile es.c)
(-)a/es.c (-2 / +1 lines)
Lines 331-337 int settings_init() Link Here
331
  p = getenv("HOME");
331
  p = getenv("HOME");
332
  sprintf(buf, "%s/.es.conf", p);
332
  sprintf(buf, "%s/.es.conf", p);
333
  fp = fopen(buf, "r");
333
  fp = fopen(buf, "r");
334
  if (!fp) fp = fopen("/etc/es.conf", "r");
334
  if (!fp) fp = fopen("@_sysconfdir@/es.conf", "r");
335
  if (!fp) return 1;
335
  if (!fp) return 1;
336
  while (fgets(buf, 512, fp))
336
  while (fgets(buf, 512, fp))
337
  {
337
  {
338
- 

Return to bug 639430