mirror of git://sourceware.org/git/glibc.git
* posix/Makefile (install-others): Add $(inst_libexecdir)/getconf.
(CFLAGS-sysconf.c): Add -D_GETCONF_DIR.
(CFLAGS-getconf.c): New.
($(inst_libexecdir)/getconf): New.
* posix/confstr.c (confstr): Use __sysconf to query specifications
that don't have _POSIX_V6_* macros defined. Use __*_{C,LD}FLAGS
macros defined in bits/environments.h.
* sysdeps/posix/sysconf.c: Include stdlib.h, string.h and
sys/stat.h.
(__sysconf_check_spec): New routine.
(__sysconf): Use it.
* posix/getconf.c (specs): Change into structure array.
(main): If -v is not given, try to get default from
$(libexecdir)/getconf/default. If specification is not
supported by this getconf, try to execute
$(libexecdir)/getconf/$(specification).
* sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: New file.
* sysdeps/unix/sysv/linux/s390/bits/environments.h: New file.
* sysdeps/unix/sysv/linux/powerpc/bits/environments.h: New file.
* sysdeps/unix/sysv/linux/sparc/bits/environments.h: New file.
* sysdeps/unix/sysv/linux/i386/bits/environments.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/environments.h: New file.
* sysdeps/generic/bits/environments.h (__ILP32_OFFBIG_CFLAGS):
Define.
2004-11-26 Jakub Jelinek <jakub@redhat.com>
|
||
|---|---|---|
| .. | ||
| atomic.h | ||
| byteswap.h | ||
| confname.h | ||
| dirent.h | ||
| dlfcn.h | ||
| elfclass.h | ||
| endian.h | ||
| environments.h | ||
| errno.h | ||
| fcntl.h | ||
| fenv.h | ||
| fenvinline.h | ||
| huge_val.h | ||
| huge_valf.h | ||
| huge_vall.h | ||
| in.h | ||
| inf.h | ||
| ioctl-types.h | ||
| ioctls.h | ||
| ipc.h | ||
| ipctypes.h | ||
| libc-lock.h | ||
| libc-tsd.h | ||
| link.h | ||
| local_lim.h | ||
| mathdef.h | ||
| mathinline.h | ||
| mman.h | ||
| mqueue.h | ||
| msq.h | ||
| nan.h | ||
| netdb.h | ||
| poll.h | ||
| posix_opt.h | ||
| pthreadtypes.h | ||
| resource.h | ||
| sched.h | ||
| select.h | ||
| sem.h | ||
| setjmp.h | ||
| shm.h | ||
| sigaction.h | ||
| sigcontext.h | ||
| siginfo.h | ||
| signum.h | ||
| sigset.h | ||
| sigstack.h | ||
| sigthread.h | ||
| sockaddr.h | ||
| socket.h | ||
| stat.h | ||
| statfs.h | ||
| statvfs.h | ||
| stdio-lock.h | ||
| string.h | ||
| stropts.h | ||
| sys_errlist.h | ||
| termios.h | ||
| time.h | ||
| types.h | ||
| typesizes.h | ||
| uio.h | ||
| ustat.h | ||
| utmp.h | ||
| utsname.h | ||
| waitflags.h | ||
| waitstatus.h | ||
| wchar.h | ||
| wordsize.h | ||
| xtitypes.h | ||