2016-02-12 11:04:30 +00:00
|
|
|
---
|
|
|
|
Makefile | 6 +++++-
|
|
|
|
local.h.linux | 41 ++++++++++++++++++++++++++++++++++++-----
|
|
|
|
2 files changed, 41 insertions(+), 6 deletions(-)
|
|
|
|
|
2007-06-03 19:25:29 +00:00
|
|
|
--- Makefile
|
2016-02-12 11:04:30 +00:00
|
|
|
+++ Makefile 2016-02-12 10:10:01.744028132 +0000
|
2022-10-07 11:48:14 +00:00
|
|
|
@@ -267,6 +267,10 @@ EXTRADICT = Use_config.sh
|
2007-06-03 19:25:29 +00:00
|
|
|
SHELL = /bin/sh
|
|
|
|
MAKE = make
|
|
|
|
|
|
|
|
+ifeq ($(RPM_OPT_FLAGS),)
|
|
|
|
+RPM_OPT_FLAGS = -O2
|
|
|
|
+endif
|
|
|
|
+
|
|
|
|
#
|
2016-02-12 11:04:30 +00:00
|
|
|
# Prefix to apply to installation directories. This is not controlled
|
|
|
|
# by config.X; if you want to make a global change of that sort you
|
2022-10-07 11:48:14 +00:00
|
|
|
@@ -672,7 +676,7 @@ config.h: config.X local.h
|
2007-06-03 19:25:29 +00:00
|
|
|
# Create a sample local.h if no such file currently exists
|
|
|
|
local.h:
|
|
|
|
set +e; \
|
|
|
|
- [ -r local.h ] || (cp local.h.generic local.h; chmod u+w local.h)
|
|
|
|
+ sed "s/.[{(]\?RPM_OPT_FLAGS[})]\?/$(RPM_OPT_FLAGS)/" < local.h.linux > local.h
|
|
|
|
|
|
|
|
msgs.h: config.sh FRC
|
|
|
|
@. ./config.sh; \
|
|
|
|
--- local.h.linux
|
2016-02-12 11:04:30 +00:00
|
|
|
+++ local.h.linux 2016-02-12 10:07:16.443263742 +0000
|
|
|
|
@@ -69,6 +69,8 @@
|
2007-06-03 19:25:29 +00:00
|
|
|
#define EGREPCMD "grep -Ei"
|
|
|
|
#define HAS_RENAME
|
2016-02-12 11:04:30 +00:00
|
|
|
#define YACC "bison -y" /* Not all linuxes have yacc, but all have bison */
|
|
|
|
+#undef NO_FCNTL_H /* Define if you get compile errors on fcntl.h */
|
|
|
|
+#undef NO_MKSTEMP /* Define if you get compile or link errors */
|
2007-06-03 19:25:29 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Important directory paths. If you change MAN45DIR from man5 to
|
2016-02-12 11:04:30 +00:00
|
|
|
@@ -76,14 +78,43 @@
|
2007-06-03 19:25:29 +00:00
|
|
|
* MAN45EXT (but not if you keep the man pages in section 5 and just
|
|
|
|
* store them in a different place).
|
|
|
|
*/
|
|
|
|
-#define BINDIR "/usr/local/bin"
|
|
|
|
-#define LIBDIR "/usr/local/lib"
|
|
|
|
-#define MAN1DIR "/usr/local/man/man1"
|
|
|
|
-#define MAN45DIR "/usr/local/man/man5"
|
|
|
|
-#define MAN45EXT ".5"
|
|
|
|
+#define BINDIR "/usr/bin"
|
|
|
|
+#define LIBDIR "/usr/lib/ispell"
|
|
|
|
+#define MAN1DIR "/usr/share/man/man1"
|
|
|
|
+#define MAN45DIR "/usr/share/man/man5"
|
|
|
|
+#define MAN45EXT ".5"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Place any locally-required #include statements here
|
|
|
|
*/
|
|
|
|
|
|
|
|
+#define WORDS "/usr/share/dict/words"
|
|
|
|
+#define CC "gcc"
|
|
|
|
+#define CFLAGS "$RPM_OPT_FLAGS -pipe"
|
|
|
|
+#define TERMLIB "-lncurses"
|
|
|
|
+#define LINK "ln -s"
|
|
|
|
+#define LANGUAGES "{american,MASTERDICTS=american.xlg,HASHFILES=americanxlg.hash,EXTRADICT=} {british,MASTERDICTS=british.xlg,HASHFILES=britishxlg.hash,EXTRADICT=} {american,MASTERDICTS=american.med,HASHFILES=americanmed.hash,EXTRADICT=} {british,MASTERDICTS=british.med,HASHFILES=britishmed.hash,EXTRADICT=}"
|
|
|
|
+
|
|
|
|
+/*
|
|
|
|
+ * Settings
|
|
|
|
+ */
|
|
|
|
+
|
|
|
|
+#define COMMANDFORSPACE
|
|
|
|
+#define MASKBITS 64
|
|
|
|
+#define INPUTWORDLEN 256
|
|
|
|
+#define MAXAFFIXLEN 48
|
|
|
|
+#define MAXSTRINGCHARS 512
|
|
|
|
+#define MASTERHASH "britishxlg.hash"
|
|
|
|
+#define DEFNOBACKUPFLAG 0
|
|
|
|
+#define BAKEX "~"
|
|
|
|
+#define DEFTEXFLAG DEFORMAT_TEX
|
|
|
|
+#undef EGREPCMD
|
|
|
|
+#define EGREPCMD "/bin/grep -iE"
|
|
|
|
+#define LOOK "/usr/bin/look -df"
|
|
|
|
+#define MAKE_SORTTMP "-T ${TMPDIR-/var/tmp}"
|
|
|
|
+#define SORTPERSONAL 6000
|
|
|
|
+#define USESH
|
|
|
|
+#undef TIB_XREF
|
|
|
|
+#define TIB_XREF ".IR tib (not\\ available),"
|
|
|
|
+
|
|
|
|
#endif /* LOCAL_H_INCLUDED */
|