1 --- ion3.orig/system.mk
10 # Unless you are creating a package conforming to some OS's standards, you
11 # probably do not want to modify the following directories:
15 # Configuration .lua files
16 -ETCDIR=$(PREFIX)/etc/ion3
18 # Some .lua files and ion-* shell scripts
19 SHAREDIR=$(PREFIX)/share/ion3
22 # Nothing at the moment
25 -MODULEDIR=$(LIBDIR)/ion3/mod
26 +MODULEDIR=$(LIBDIR)/ion3
27 # Compiled Lua source code
28 LCDIR=$(LIBDIR)/ion3/lc
29 # ion-completefile (does not belong in SHAREDIR being a binary file)
30 -EXTRABINDIR=$(LIBDIR)/ion3/bin
31 +EXTRABINDIR=$(LIBDIR)/ion3
32 # For ion-completeman system-wide cache
33 VARDIR=/var/cache/ion3
37 # If you have installed Lua 5.1 from the official tarball without changing
38 # paths, this should do it.
40 -LUA_LIBS = -L$(LUA_DIR)/lib -llua
41 -LUA_INCLUDES = -I$(LUA_DIR)/include
42 -LUA=$(LUA_DIR)/bin/lua
43 -LUAC=$(LUA_DIR)/bin/luac
45 +#LUA_LIBS = -L$(LUA_DIR)/lib -llua
46 +#LUA_INCLUDES = -I$(LUA_DIR)/include
47 +#LUA=$(LUA_DIR)/bin/lua
48 +#LUAC=$(LUA_DIR)/bin/luac
50 # If you are using the Debian packages, the following settings should be
52 -#LUA_LIBS=`pkg-config --libs lua5.1`
53 -#LUA_INCLUDES=`pkg-config --cflags lua5.1`
55 -#LUAC=/usr/bin/luac5.1
56 +LUA_LIBS=`pkg-config --libs lua5.1`
57 +LUA_INCLUDES=`pkg-config --cflags lua5.1`
64 # asprintf and vasprintf in the c library. (gnu libc has.)
65 # If HAS_SYSTEM_ASPRINTF is not defined, an implementation
66 # in sprintf_2.2/ is used.
67 -#HAS_SYSTEM_ASPRINTF=1
68 +HAS_SYSTEM_ASPRINTF=1
70 # If you're on an archaic system (such as relatively recent *BSD releases)
71 # without even dummy multibyte/widechar and localisation support, you may
76 -#POSIX_SOURCE=-D_POSIX_C_SOURCE=200112L
77 +POSIX_SOURCE=-D_POSIX_C_SOURCE=200112L
80 -#XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
81 +XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
83 #XOPEN_SOURCE=-D__EXTENSIONS__
85 -#C99_SOURCE=-std=c99 -DCF_HAS_VA_COPY
86 +C99_SOURCE=-std=c99 -DCF_HAS_VA_COPY
88 # The -DCF_HAS_VA_COPY option should allow for some optimisations, and
89 # in some cases simply defining