Sam Steingold asked: > Bruno Haible wrote: > > configure.ac: > > gl_FUNC_UNAME > > gl_SYS_UTSNAME_MODULE_INDICATOR([uname]) > > just curious, since I will be using uname for clisp/syscalls: > what is gl_SYS_UTSNAME_MODULE_INDICATOR? > why does it take an argument?
gl_SYS_UTSNAME_MODULE_INDICATOR is a macro defined in m4/sys_utsname_h.m4. It ensures that the AC_SUBSTed variable GNULIB_UNAME has the value 1 when it gets substituted into lib/sys_utsname.in.h. For header files such as unistd.h or stdio.h, often the header file is used but a particular function-providing module is not. For 'uname' it's a bit pointless because no one needs <sys/utsname.h> if he does not want to use uname(). But I decided to stick with the same idiom for consistency. Bruno