gl/m4/.gitignore
author J. Ali Harlow <ali@juiblex.co.uk>
Sat Oct 04 18:12:58 2014 +0100 (2014-10-04)
changeset 454 56ff755c268c
parent 438 fab0b8a61dcb
permissions -rw-r--r--
Only export symbols starting with razor_ in dynamic library.

Apart from being good practice to avoid clashes with higher-level
libraries and the application, this also fixes an obscure bug: The
gnulib library is used both by librazor (the dynamic library) and
by razor (the executable). In doing so, we want to have two separate
copies of the library despite the code duplication this involves.
Without the explicit limit to export only razor_ symbols, the razor
executable under mingw64 was picking up the getopt_long function
from librazor and the optind variable from libgnu which meant that
it did not see optind changing. Hiding librazor's copy of getopt
causes the linker to find libgnu's copy and everything works.

Note that under mingw librazor-#.dll still contains undocumented
(private) razor_ symbols but these will do no harm as long as nobody
tries to use them.
ali@323
     1
/alloca.m4
ali@323
     2
/extensions.m4
ali@323
     3
/fnmatch.m4
ali@323
     4
/gnulib-common.m4
ali@323
     5
/gnulib-comp.m4
ali@323
     6
/gnulib-tool.m4
ali@323
     7
/include_next.m4
ali@323
     8
/mbstate_t.m4
ali@323
     9
/stdbool.m4
ali@323
    10
/wchar.m4
ali@323
    11
/wctype.m4
ali@323
    12
/wint_t.m4
ali@326
    13
/dirname.m4
ali@326
    14
/dos.m4
ali@326
    15
/double-slash-root.m4
ali@326
    16
/errno_h.m4
ali@326
    17
/error.m4
ali@326
    18
/exitfail.m4
ali@326
    19
/inline.m4
ali@326
    20
/mkdir-slash.m4
ali@326
    21
/stdlib_h.m4
ali@326
    22
/strerror.m4
ali@326
    23
/string_h.m4
ali@326
    24
/strndup.m4
ali@326
    25
/strnlen.m4
ali@326
    26
/sys_stat_h.m4
ali@326
    27
/unistd_h.m4
ali@326
    28
/xalloc.m4
ali@326
    29
/xstrndup.m4
ali@336
    30
/fsync.m4
ali@399
    31
/00gnulib.m4
ali@399
    32
/codeset.m4
ali@399
    33
/fcntl-o.m4
ali@399
    34
/glibc21.m4
ali@399
    35
/localcharset.m4
ali@399
    36
/locale-fr.m4
ali@399
    37
/locale-ja.m4
ali@399
    38
/locale-zh.m4
ali@399
    39
/longlong.m4
ali@399
    40
/malloc.m4
ali@399
    41
/mbrtowc.m4
ali@399
    42
/mbsinit.m4
ali@399
    43
/mbsrtowcs.m4
ali@399
    44
/memchr.m4
ali@399
    45
/mkdir.m4
ali@399
    46
/mmap-anon.m4
ali@399
    47
/multiarch.m4
ali@399
    48
/stddef_h.m4
ali@399
    49
/stdint.m4
ali@399
    50
/time_h.m4
ali@399
    51
/warn-on-use.m4
ali@399
    52
/wchar_t.m4
ali@401
    53
/configmake.m4
ali@401
    54
/wchar_h.m4
ali@401
    55
/wctype_h.m4
ali@415
    56
/gettimeofday.m4
ali@415
    57
/largefile.m4
ali@415
    58
/lstat.m4
ali@415
    59
/mkdtemp.m4
ali@415
    60
/stat.m4
ali@415
    61
/sys_time_h.m4
ali@415
    62
/tempname.m4
ali@438
    63
/absolute-header.m4
ali@438
    64
/extern-inline.m4
ali@438
    65
/fcntl_h.m4
ali@438
    66
/msvc-inval.m4
ali@438
    67
/msvc-nothrow.m4
ali@438
    68
/off_t.m4
ali@438
    69
/pathmax.m4
ali@438
    70
/secure_getenv.m4
ali@438
    71
/ssize_t.m4
ali@438
    72
/sys_socket_h.m4
ali@438
    73
/sys_types_h.m4
ali@445
    74
/getopt.m4
ali@445
    75
/nocrash.m4