1 diff -Nru enlightenment-0.16.4.orig/src/Makefile.in enlightenment-0.16.4/src/Makefile.in
2 --- enlightenment-0.16.4.orig/src/Makefile.in Tue Apr 11 01:23:14 2000
3 +++ enlightenment-0.16.4/src/Makefile.in Wed Jun 7 01:11:41 2000
6 INCLUDES = -I$(top_srcdir) $(ESD_CFLAGS) $(IMLIB_CFLAGS) -I$(includedir) -I.. -I../intl -I$(top_srcdir)/intl
8 -DEFS = -DENLIGHTENMENT_ROOT=\"@ENLIGHTENMENT_ROOT@\" -DENLIGHTENMENT_BIN=\"@ENLIGHTENMENT_BIN@\" -DLOCALEDIR=\"@LOCALEDIR@\"
9 +DEFS = -DENLIGHTENMENT_ROOT=\"@ENLIGHTENMENT_ROOT@\" -DENLIGHTENMENT_BIN=\"@ENLIGHTENMENT_BIN@\" -DLOCALEDIR=\"@LOCALEDIR@\" -DCONFIGDATADIR=\"$(configdatadir)\"
10 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
11 CONFIG_HEADER = ../econfig.h
13 diff -Nru enlightenment-0.16.4.orig/src/config.c enlightenment-0.16.4/src/config.c
14 --- enlightenment-0.16.4.orig/src/config.c Mon Apr 10 21:47:22 2000
15 +++ enlightenment-0.16.4/src/config.c Wed Jun 7 01:13:37 2000
18 Esnprintf(execline, sizeof(execline), "%s " "-P " "-nostdinc " "-undef "
20 - "-include %s/config/definitions "
21 + "-include %s/definitions "
25 "-D ENLIGHTENMENT_VERSION=%s "
26 "-D ENLIGHTENMENT_ROOT=%s " "-D ENLIGHTENMENT_BIN=%s "
29 "-D ENLIGHTENMENT_VERSION_015=1 "
30 "%s %s/cached/cfg/%s.preparsed",
32 - epp_path, ENLIGHTENMENT_ROOT, themepath, ENLIGHTENMENT_ROOT,
33 + epp_path, CONFIGDATADIR, themepath, CONFIGDATADIR,
34 ENLIGHTENMENT_VERSION, ENLIGHTENMENT_ROOT, ENLIGHTENMENT_BIN,
36 epp_path, x11root, ENLIGHTENMENT_ROOT,
39 /* look in system config dir */
41 - Esnprintf(s, sizeof(s), "%s/config/%s", ENLIGHTENMENT_ROOT, file);
42 + Esnprintf(s, sizeof(s), "%s/%s", CONFIGDATADIR, file);
44 Esnprintf(s, sizeof(s), "%s/config/%s",
45 __XOS2RedirRoot(ENLIGHTENMENT_ROOT), file);
48 /* look in system config dir */
50 - Esnprintf(s, sizeof(s), "%s/config/%s", ENLIGHTENMENT_ROOT, file);
51 + Esnprintf(s, sizeof(s), "%s/%s", CONFIGDATADIR, file);
53 Esnprintf(s, sizeof(s), "%s/config/%s",
54 __XOS2RedirRoot(ENLIGHTENMENT_ROOT), file);
56 Esnprintf(s, sizeof(s), "%s/", UserEDir());
59 - Esnprintf(s, sizeof(s), "%s/config/", ENLIGHTENMENT_ROOT);
60 + Esnprintf(s, sizeof(s), "%s/", CONFIGDATADIR);
62 Esnprintf(s, sizeof(s), "%s/config/", __XOS2RedirRoot(ENLIGHTENMENT_ROOT));
66 Alert(_("Enlightenment has just experienced some major problems in\n"
67 "attempting to load the theme you specified or the default\n"
68 - "configuration directory:\n" "%s/config/\n"
69 + "configuration directory:\n" "%s/\n"
70 "This will prevent Enlightenment from loading any "
71 "configuration\n" "files at all.\n"
72 "Since this couldn't be found Enlightenment is probably not\n"
75 "If you are the administrator of your own system please\n"
76 "consult the documentation that came with Enlightenment for\n"
77 - "additional information.\n"), ENLIGHTENMENT_ROOT);
78 + "additional information.\n"), CONFIGDATADIR);
81 strcpy(themepath, theme);