• Mike Frysinger's avatar
    ptsname_r: leverage AC_HEADER_MAJOR · b799aee9
    Mike Frysinger authored
    Like the mountlist module, ptsname_r uses makedev/major/minor,
    so use the existing autoconf macro which will probe some headers
    for use and set up some defines.
    
    * lib/ptsname_r.c: Likewise.
    [__sun]: Delete sys/sysmacros.h include.
    [_AIX || __osf__]: Likewise.
    * m4/ptsname_r.m4 (gl_FUNC_PTSNAME_R): Depend on AC_HEADER_MAJOR.
    b799aee9
ptsname_r.m4 2.66 KB