diff options
author | Juergen Kahrs <Juergen.Kahrs@googlemail.com> | 2013-06-01 18:12:23 +0200 |
---|---|---|
committer | Juergen Kahrs <Juergen.Kahrs@googlemail.com> | 2013-06-01 18:12:23 +0200 |
commit | 37be8a17ee9e955dec8bbddb8cd2b31487e44a0c (patch) | |
tree | af9323636c991634144ddb5532d975f08ac56282 /doc/gawktexi.in | |
parent | 1a4fe61b7ad390740a0c70a0175b82301c083704 (diff) | |
parent | 5482bf19246965d6839fe9df1aec0785f0b1a329 (diff) | |
download | egawk-37be8a17ee9e955dec8bbddb8cd2b31487e44a0c.tar.gz egawk-37be8a17ee9e955dec8bbddb8cd2b31487e44a0c.tar.bz2 egawk-37be8a17ee9e955dec8bbddb8cd2b31487e44a0c.zip |
Merge remote-tracking branch 'origin/master' into cmake
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r-- | doc/gawktexi.in | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in index d79093bf..d0356991 100644 --- a/doc/gawktexi.in +++ b/doc/gawktexi.in @@ -30746,6 +30746,15 @@ filesystem. @item "symlink" The file is a symbolic link. @end table + +@c 5/2013: Thanks to Corinna Vinschen for this information. +@item "devbsize" +The size of a block for the element indexed by @code{"blocks"}. +This information is derived from either the @code{DEV_BSIZE} +constant defined in @code{<sys/param.h>} on most systems, +or the @code{S_BLKSIZE} constant in @code{<sys/stat.h>} on BSD systems. +For some other systems, @dfn{a priori} knowledge is used to provide +a value. Where no value can be determined, it defaults to 512. @end table Several additional elements may be present depending upon the operating @@ -31005,9 +31014,9 @@ certain members and/or the type of the file. It then returns zero, for success: @example -#ifdef HAVE_ST_BLKSIZE +#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE array_set_numeric(array, "blksize", sbuf->st_blksize); -#endif /* HAVE_ST_BLKSIZE */ +#endif /* HAVE_STRUCT_STAT_ST_BLKSIZE */ pmode = format_mode(sbuf->st_mode); array_set(array, "pmode", make_const_string(pmode, strlen(pmode), @@ -33366,6 +33375,15 @@ check the files in the @file{README_d} directory to see if you've found a known problem. If the failure is not described there, please send in a bug report (@pxref{Bugs}). +Of course, once you've built @command{gawk}, it is likely that you will +wish to install it. To do so, you need to run the command @samp{make +check}, as a user with the appropriate permissions. How to do this +varies by system, but on many systems you can use the @command{sudo} +command to do so. The command then becomes @samp{sudo make install}. It +is likely that you will be asked for your password, and you will have +to have been set up previously as a user who is allowed to run the +@command{sudo} command. + @node Additional Configuration Options @appendixsubsec Additional Configuration Options @cindex @command{gawk}, configuring, options @@ -33440,7 +33458,7 @@ they can be correctly included, what (supposedly) standard functions are actually available in your C libraries, and various miscellaneous facts about your operating system. For example, there may not be an @code{st_blksize} element in the @code{stat} structure. In this case, -@samp{HAVE_ST_BLKSIZE} is undefined. +@samp{HAVE_STRUCT_STAT_ST_BLKSIZE} is undefined. @cindex @code{custom.h} file It is possible for your C compiler to lie to @command{configure}. It may |