| 1 | | |
| | 1 | {{{ |
| | 2 | |
| | 3 | Copy the appropriate config.* files to ./build-aux |
| | 4 | |
| | 5 | For the following directories, |
| | 6 | gettext-0.1.17/ |
| | 7 | gettext-0.1.17/autoconf-lib-link |
| | 8 | gettext-0.1.17/gettext-runtime |
| | 9 | gettext-0.1.17/gettext-tools |
| | 10 | 1) add `AC_CONFIG_MACRO_DIR([m4])' to configure.ac |
| | 11 | --This must be insterted after any lines containing *_INIT* |
| | 12 | 2) libtoolize --force --copy |
| | 13 | in gettext-0.17/gettext-runtime/libasprintf , |
| | 14 | libtoolize --force --copy as well |
| | 15 | Note: libasprintf does NOT need the AC_CONFIG_MACRO_DIR([m4]) edit |
| | 16 | |
| | 17 | in gettext-0.1.17, |
| | 18 | export EXTRA_CONF="--disable-java" |
| | 19 | export LDFLAGS="-lnetwork" |
| | 20 | |
| | 21 | edit gettext-0.17/gettext-tools/gnulib-lib/binary-io.h |
| | 22 | line 33: |
| | 23 | #ifdef __BEOS__ |
| | 24 | becomes : |
| | 25 | #if defined __BEOS__ || defined __HAIKU__ |
| | 26 | |
| | 27 | Same thing in ./gettext-runtime/intl/loadmsgcat.c (line 493) and ./gettext-tools/gnu-lib/fcntl.in.h (line 108) |
| | 28 | |
| | 29 | edit ./gettext-runtime/intl/vasnprintf.c |
| | 30 | line 189 |
| | 31 | add Haiku |
| | 32 | |
| | 33 | edit ./gettext-runtime/libasprintf/vasnfrintf.c |
| | 34 | line 189 |
| | 35 | add Haiku |
| | 36 | |
| | 37 | edit ./gettext-tools/gnulib-lib/float.in.h |
| | 38 | line 27 |
| | 39 | add Haiku |
| | 40 | |
| | 41 | edit ./gettext-tools/gnulib-lib/term-ostream.c |
| | 42 | line 1783 |
| | 43 | add Haiku |
| | 44 | |
| | 45 | edit ./gettext-tools/tests/gettext-4-prg.c |
| | 46 | line 56 |
| | 47 | add Haiku |
| | 48 | |
| | 49 | edit ./gnulib-local/lib/term-ostream.oo.c |
| | 50 | line 1806 |
| | 51 | add Haiku |
| | 52 | |
| | 53 | |
| | 54 | |
| | 55 | ./autogen.sh --quick --skip-gnulib |
| | 56 | ./configure --prefix=/boot/common |
| | 57 | make |
| | 58 | make install |
| | 59 | |
| | 60 | }}} |