1 diff -Nur enlightenment-0.16.2.orig/src/Makefile.in enlightenment-0.16.2/src/Makefile.in
2 --- enlightenment-0.16.2.orig/src/Makefile.in Sun Nov 7 02:23:57 1999
3 +++ enlightenment-0.16.2/src/Makefile.in Fri Nov 12 17:17:05 1999
6 INCLUDES = -I$(top_srcdir) $(ESD_CFLAGS) $(IMLIB_CFLAGS) -I$(includedir) -I..
8 -DEFS = -DENLIGHTENMENT_ROOT=\"@ENLIGHTENMENT_ROOT@\" -DENLIGHTENMENT_BIN=\"@ENLIGHTENMENT_BIN@\"
9 +DEFS = -DENLIGHTENMENT_ROOT=\"@ENLIGHTENMENT_ROOT@\" -DENLIGHTENMENT_BIN=\"@ENLIGHTENMENT_BIN@\" -DCONFIGDATADIR=\"$(configdatadir)\"
10 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
11 CONFIG_HEADER = ../econfig.h
13 diff -Nur enlightenment-0.16.2.orig/src/config.c enlightenment-0.16.2/src/config.c
14 --- enlightenment-0.16.2.orig/src/config.c Tue Oct 26 10:53:30 1999
15 +++ enlightenment-0.16.2/src/config.c Fri Nov 12 17:17:34 1999
20 - "-include %s/config/definitions "
21 + "-include %s/definitions "
25 "-D ENLIGHTENMENT_VERSION=%s "
26 "-D ENLIGHTENMENT_ROOT=%s "
27 "-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,
38 EDBUG_RETURN(duplicate(s));
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", __XOS2RedirRoot(ENLIGHTENMENT_ROOT), file);
47 EDBUG_RETURN(duplicate(s));
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", __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));
65 Alert("Enlightenment has just experienced some major problems in\n"
66 "attempting to load the theme you specified or the default\n"
67 "configuration directory:\n"
70 "This will prevent Enlightenment from loading any "
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);