diff options
Diffstat (limited to 'posix/getconf.c')
-rw-r--r-- | posix/getconf.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/posix/getconf.c b/posix/getconf.c index 5b67a281df..c6371cb60b 100644 --- a/posix/getconf.c +++ b/posix/getconf.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1995, 1996 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1995, 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -31,7 +31,7 @@ struct conf const enum { SYSCONF, CONFSTR, PATHCONF } call; }; -static struct conf vars[] = +static const struct conf vars[] = { { "LINK_MAX", _PC_LINK_MAX, PATHCONF }, { "_POSIX_LINK_MAX", _PC_LINK_MAX, PATHCONF }, @@ -188,6 +188,16 @@ static struct conf vars[] = { "PATH", _CS_PATH, CONFSTR }, { "CS_PATH", _CS_PATH, CONFSTR }, + /* LFS */ + { "LFS_CFLAGS", _CS_LFS_CFLAGS, CONFSTR }, + { "LFS_LDFLAGS", _CS_LFS_LDFLAGS, CONFSTR }, + { "LFS_LIBS", _CS_LFS_LIBS, CONFSTR }, + { "LFS_LINTFLAGS", _CS_LFS_LINTFLAGS, CONFSTR }, + { "LFS64_CFLAGS", _CS_LFS64_CFLAGS, CONFSTR }, + { "LFS64_LDFLAGS", _CS_LFS64_LDFLAGS, CONFSTR }, + { "LFS64_LIBS", _CS_LFS64_LIBS, CONFSTR }, + { "LFS64_LINTFLAGS", _CS_LFS64_LINTFLAGS, CONFSTR }, + { NULL, 0, SYSCONF } }; |