home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-10-13 | 327.7 KB | 10,183 lines |
- This file contains patches that transform the baseline version into
- the amiga version. Assuming that you have unarchived the baseline
- version in the current directory, just run the command:
-
- patch -p1 -E -b .pbak <diff-file
-
- where 'diff-file' is this patch file. After running patch you should
- remove all the generated *.pbak files, and look for any *.rej files
- that indicate a problem patching the baseline source.
-
- diff -rup --new-file baseline/fsf/fileutils/BeOS.diffs amiga/fsf/fileutils/BeOS.diffs
- --- baseline/fsf/fileutils/BeOS.diffs Wed Dec 31 17:00:00 1969
- +++ amiga/fsf/fileutils/BeOS.diffs Sat Sep 28 00:00:00 1996
- @@ -0,0 +1,2320 @@
- +This patch works around current bugs in the BeOS shell that affect
- +configure, and also patch up some Makefile targets that are not
- +yet fully supported.
- +
- +============================================================================
- +
- +diff -rc fileutils-ref/configure fileutils/configure
- +*** fileutils-ref/configure Sat Sep 28 20:09:22 1996
- +--- fileutils/configure Sat Sep 28 16:40:03 1996
- +***************
- +*** 827,833 ****
- + yes;
- + #endif
- + EOF
- +! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
- + ac_cv_prog_gcc=yes
- + else
- + ac_cv_prog_gcc=no
- +--- 827,833 ----
- + yes;
- + #endif
- + EOF
- +! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:831: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; } | egrep yes >/dev/null 2>&1; then
- + ac_cv_prog_gcc=yes
- + else
- + ac_cv_prog_gcc=no
- +***************
- +*** 885,891 ****
- + Syntax Error
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + :
- +--- 885,891 ----
- + Syntax Error
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:889: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + :
- +***************
- +*** 900,906 ****
- + Syntax Error
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + :
- +--- 900,906 ----
- + Syntax Error
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:904: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + :
- +***************
- +*** 932,939 ****
- + #include <sgtty.h>
- + Autoconf TIOCGETP
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "$ac_pattern" >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_prog_gcc_traditional=yes
- + else
- +--- 932,939 ----
- + #include <sgtty.h>
- + Autoconf TIOCGETP
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "$ac_pattern" <conftest.tmp >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_prog_gcc_traditional=yes
- + else
- +***************
- +*** 950,957 ****
- + #include <termio.h>
- + Autoconf TCGETA
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "$ac_pattern" >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_prog_gcc_traditional=yes
- + fi
- +--- 950,957 ----
- + #include <termio.h>
- + Autoconf TCGETA
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "$ac_pattern" <conftest.tmp >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_prog_gcc_traditional=yes
- + fi
- +***************
- +*** 1229,1236 ****
- + #endif
- +
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "yes" >/dev/null 2>&1; then
- + rm -rf conftest*
- + echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
- + #define _ALL_SOURCE 1
- +--- 1229,1236 ----
- + #endif
- +
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "yes" <conftest.tmp >/dev/null 2>&1; then
- + rm -rf conftest*
- + echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
- + #define _ALL_SOURCE 1
- +***************
- +*** 1254,1260 ****
- + #include <minix/config.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:1258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +--- 1254,1260 ----
- + #include <minix/config.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:1258: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +***************
- +*** 1342,1348 ****
- + struct s2 {int (*f) (double a);};
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:1346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + rm -rf conftest*
- + ac_cv_prog_cc_stdc="$ac_arg"; break
- + fi
- +--- 1342,1348 ----
- + struct s2 {int (*f) (double a);};
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:1346: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + ac_cv_prog_cc_stdc="$ac_arg"; break
- + fi
- +***************
- +*** 1382,1393 ****
- + #line 1383 "configure"
- + #include "confdefs.h"
- + #include <sys/types.h>
- +! int main() { return 0; }
- + int t() {
- + return makedev(0, 0);
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:1391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + ac_cv_header_sys_types_h_makedev=yes
- + else
- +--- 1382,1393 ----
- + #line 1383 "configure"
- + #include "confdefs.h"
- + #include <sys/types.h>
- +! int main() { t(); return 0; }
- + int t() {
- + return makedev(0, 0);
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:1391: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + ac_cv_header_sys_types_h_makedev=yes
- + else
- +***************
- +*** 1413,1419 ****
- + #include <sys/mkdev.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:1417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +--- 1413,1419 ----
- + #include <sys/mkdev.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:1417: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +***************
- +*** 1448,1454 ****
- + #include <sys/sysmacros.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:1452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +--- 1448,1454 ----
- + #include <sys/sysmacros.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:1452: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +***************
- +*** 1491,1497 ****
- + DIR *dirp = 0;
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:1495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_header_dirent_$ac_safe=yes"
- + else
- +--- 1491,1497 ----
- + DIR *dirp = 0;
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:1495: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_header_dirent_$ac_safe=yes"
- + else
- +***************
- +*** 1529,1540 ****
- + builtin and then its argument prototype would still apply. */
- + char opendir();
- +
- +! int main() { return 0; }
- + int t() {
- + opendir()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:1538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +--- 1529,1540 ----
- + builtin and then its argument prototype would still apply. */
- + char opendir();
- +
- +! int main() { t(); return 0; }
- + int t() {
- + opendir()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:1538: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +***************
- +*** 1568,1579 ****
- + builtin and then its argument prototype would still apply. */
- + char opendir();
- +
- +! int main() { return 0; }
- + int t() {
- + opendir()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:1577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +--- 1568,1579 ----
- + builtin and then its argument prototype would still apply. */
- + char opendir();
- +
- +! int main() { t(); return 0; }
- + int t() {
- + opendir()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:1577: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +***************
- +*** 1606,1612 ****
- + #include "confdefs.h"
- + main(){return(0);}
- + EOF
- +! { (eval echo configure:1610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + ac_cv_c_cross=no
- + else
- +--- 1606,1612 ----
- + #include "confdefs.h"
- + main(){return(0);}
- + EOF
- +! { (eval echo configure:1610: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + ac_cv_c_cross=no
- + else
- +***************
- +*** 1633,1639 ****
- + #include <$ac_header_dirent>
- + int closedir(); main() { exit(closedir(opendir(".")) != 0); }
- + EOF
- +! { (eval echo configure:1637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + ac_cv_func_closedir_void=no
- + else
- +--- 1633,1639 ----
- + #include <$ac_header_dirent>
- + int closedir(); main() { exit(closedir(opendir(".")) != 0); }
- + EOF
- +! { (eval echo configure:1637: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + ac_cv_func_closedir_void=no
- + else
- +***************
- +*** 1661,1668 ****
- + #include "confdefs.h"
- + #include <sys/types.h>
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "uid_t" >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_type_uid_t=yes
- + else
- +--- 1661,1668 ----
- + #include "confdefs.h"
- + #include <sys/types.h>
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "uid_t" <conftest.tmp >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_type_uid_t=yes
- + else
- +***************
- +*** 1718,1724 ****
- + }
- +
- + EOF
- +! { (eval echo configure:1722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + ac_cv_type_getgroups=gid_t
- + else
- +--- 1718,1724 ----
- + }
- +
- + EOF
- +! { (eval echo configure:1722: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + ac_cv_type_getgroups=gid_t
- + else
- +***************
- +*** 1732,1739 ****
- + #include "confdefs.h"
- + #include <unistd.h>
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "getgroups.*int.*gid_t" >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_type_getgroups=gid_t
- + else
- +--- 1732,1739 ----
- + #include "confdefs.h"
- + #include <unistd.h>
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "getgroups.*int.*gid_t" <conftest.tmp >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_type_getgroups=gid_t
- + else
- +***************
- +*** 1764,1770 ****
- + #include <float.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:1768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +--- 1764,1770 ----
- + #include <float.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:1768: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +***************
- +*** 1783,1790 ****
- + #include "confdefs.h"
- + #include <string.h>
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "memchr" >/dev/null 2>&1; then
- + :
- + else
- + rm -rf conftest*
- +--- 1783,1790 ----
- + #include "confdefs.h"
- + #include <string.h>
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "memchr" <conftest.tmp >/dev/null 2>&1; then
- + :
- + else
- + rm -rf conftest*
- +***************
- +*** 1801,1808 ****
- + #include "confdefs.h"
- + #include <stdlib.h>
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "free" >/dev/null 2>&1; then
- + :
- + else
- + rm -rf conftest*
- +--- 1801,1808 ----
- + #include "confdefs.h"
- + #include <stdlib.h>
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "free" <conftest.tmp >/dev/null 2>&1; then
- + :
- + else
- + rm -rf conftest*
- +***************
- +*** 1829,1835 ****
- + exit (0); }
- +
- + EOF
- +! { (eval echo configure:1833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + :
- + else
- +--- 1829,1835 ----
- + exit (0); }
- +
- + EOF
- +! { (eval echo configure:1833: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + :
- + else
- +***************
- +*** 1860,1867 ****
- + #include <stdlib.h>
- + #endif
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "mode_t" >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_type_mode_t=yes
- + else
- +--- 1860,1867 ----
- + #include <stdlib.h>
- + #endif
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "mode_t" <conftest.tmp >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_type_mode_t=yes
- + else
- +***************
- +*** 1891,1898 ****
- + #include <stdlib.h>
- + #endif
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "off_t" >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_type_off_t=yes
- + else
- +--- 1891,1898 ----
- + #include <stdlib.h>
- + #endif
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "off_t" <conftest.tmp >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_type_off_t=yes
- + else
- +***************
- +*** 1933,1939 ****
- + int i;
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:1937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + rm -rf conftest*
- + ac_cv_type_signal=void
- + else
- +--- 1933,1939 ----
- + int i;
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:1937: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + ac_cv_type_signal=void
- + else
- +***************
- +*** 1962,1969 ****
- + #include <stdlib.h>
- + #endif
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "size_t" >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_type_size_t=yes
- + else
- +--- 1962,1969 ----
- + #include <stdlib.h>
- + #endif
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "size_t" <conftest.tmp >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_type_size_t=yes
- + else
- +***************
- +*** 1990,1997 ****
- + #include "confdefs.h"
- + #include <sys/types.h>
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "uid_t" >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_type_uid_t=yes
- + else
- +--- 1990,1997 ----
- + #include "confdefs.h"
- + #include <sys/types.h>
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "uid_t" <conftest.tmp >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_type_uid_t=yes
- + else
- +***************
- +*** 2026,2033 ****
- + #include <stdlib.h>
- + #endif
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "ino_t" >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_type_ino_t=yes
- + else
- +--- 2026,2033 ----
- + #include <stdlib.h>
- + #endif
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "ino_t" <conftest.tmp >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_type_ino_t=yes
- + else
- +***************
- +*** 2101,2107 ****
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + rm -rf conftest*
- + ac_cv_c_const=yes
- + else
- +--- 2101,2107 ----
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2105: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + ac_cv_c_const=yes
- + else
- +***************
- +*** 2133,2139 ****
- + #include <float.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:2137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +--- 2133,2139 ----
- + #include <float.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:2137: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +***************
- +*** 2152,2159 ****
- + #include "confdefs.h"
- + #include <string.h>
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "memchr" >/dev/null 2>&1; then
- + :
- + else
- + rm -rf conftest*
- +--- 2152,2159 ----
- + #include "confdefs.h"
- + #include <string.h>
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "memchr" <conftest.tmp >/dev/null 2>&1; then
- + :
- + else
- + rm -rf conftest*
- +***************
- +*** 2170,2177 ****
- + #include "confdefs.h"
- + #include <stdlib.h>
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "free" >/dev/null 2>&1; then
- + :
- + else
- + rm -rf conftest*
- +--- 2170,2177 ----
- + #include "confdefs.h"
- + #include <stdlib.h>
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "free" <conftest.tmp >/dev/null 2>&1; then
- + :
- + else
- + rm -rf conftest*
- +***************
- +*** 2198,2204 ****
- + exit (0); }
- +
- + EOF
- +! { (eval echo configure:2202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + :
- + else
- +--- 2198,2204 ----
- + exit (0); }
- +
- + EOF
- +! { (eval echo configure:2202: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + :
- + else
- +***************
- +*** 2231,2237 ****
- + struct tm *tp; tp->tm_sec;
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + rm -rf conftest*
- + ac_cv_struct_tm=time.h
- + else
- +--- 2231,2237 ----
- + struct tm *tp; tp->tm_sec;
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2235: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + ac_cv_struct_tm=time.h
- + else
- +***************
- +*** 2264,2270 ****
- + struct stat s; s.st_blocks;
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + rm -rf conftest*
- + ac_cv_struct_st_blocks=yes
- + else
- +--- 2264,2270 ----
- + struct stat s; s.st_blocks;
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2268: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + ac_cv_struct_st_blocks=yes
- + else
- +***************
- +*** 2300,2306 ****
- + struct tm *tp;
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + rm -rf conftest*
- + ac_cv_header_time=yes
- + else
- +--- 2300,2306 ----
- + struct tm *tp;
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2304: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + ac_cv_header_time=yes
- + else
- +***************
- +*** 2354,2361 ****
- + #endif
- +
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "You lose" >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_header_stat_broken=yes
- + else
- +--- 2354,2361 ----
- + #endif
- +
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "You lose" <conftest.tmp >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_header_stat_broken=yes
- + else
- +***************
- +*** 2391,2397 ****
- + #include <$ac_hdr>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:2395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +--- 2391,2397 ----
- + #include <$ac_hdr>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:2395: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +***************
- +*** 2434,2440 ****
- + builtin and then its argument prototype would still apply. */
- + char $ac_func();
- +
- +! int main() { return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +--- 2434,2440 ----
- + builtin and then its argument prototype would still apply. */
- + char $ac_func();
- +
- +! int main() { t(); return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +***************
- +*** 2448,2454 ****
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_$ac_func=yes"
- + else
- +--- 2448,2454 ----
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2452: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_$ac_func=yes"
- + else
- +***************
- +*** 2483,2489 ****
- + builtin and then its argument prototype would still apply. */
- + char getopt_long();
- +
- +! int main() { return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +--- 2483,2489 ----
- + builtin and then its argument prototype would still apply. */
- + char getopt_long();
- +
- +! int main() { t(); return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +***************
- +*** 2497,2503 ****
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_getopt_long=yes"
- + else
- +--- 2497,2503 ----
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2501: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_getopt_long=yes"
- + else
- +***************
- +*** 2535,2541 ****
- + builtin and then its argument prototype would still apply. */
- + char $ac_func();
- +
- +! int main() { return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +--- 2535,2541 ----
- + builtin and then its argument prototype would still apply. */
- + char $ac_func();
- +
- +! int main() { t(); return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +***************
- +*** 2549,2555 ****
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_$ac_func=yes"
- + else
- +--- 2549,2555 ----
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2553: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_$ac_func=yes"
- + else
- +***************
- +*** 2582,2594 ****
- + #include <sys/types.h>
- + #include <unistd.h>
- + #include <termios.h>
- +! int main() { return 0; }
- + int t() {
- + /* SunOS 4.0.3 has termios.h but not the library calls. */
- + tcgetattr(0, 0);
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + am_cv_sys_posix_termios=yes
- + else
- +--- 2582,2594 ----
- + #include <sys/types.h>
- + #include <unistd.h>
- + #include <termios.h>
- +! int main() { t(); return 0; }
- + int t() {
- + /* SunOS 4.0.3 has termios.h but not the library calls. */
- + tcgetattr(0, 0);
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2592: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + am_cv_sys_posix_termios=yes
- + else
- +***************
- +*** 2620,2627 ****
- + # endif
- +
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "yes" >/dev/null 2>&1; then
- + rm -rf conftest*
- + gwinsz_in_termios_h=yes
- + fi
- +--- 2620,2627 ----
- + # endif
- +
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "yes" <conftest.tmp >/dev/null 2>&1; then
- + rm -rf conftest*
- + gwinsz_in_termios_h=yes
- + fi
- +***************
- +*** 2640,2647 ****
- + # endif
- +
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "yes" >/dev/null 2>&1; then
- + rm -rf conftest*
- + am_cv_sys_tiocgwinsz_needs_sys_ioctl_h=yes
- + fi
- +--- 2640,2647 ----
- + # endif
- +
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "yes" <conftest.tmp >/dev/null 2>&1; then
- + rm -rf conftest*
- + am_cv_sys_tiocgwinsz_needs_sys_ioctl_h=yes
- + fi
- +***************
- +*** 2675,2681 ****
- + builtin and then its argument prototype would still apply. */
- + char vprintf();
- +
- +! int main() { return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +--- 2675,2681 ----
- + builtin and then its argument prototype would still apply. */
- + char vprintf();
- +
- +! int main() { t(); return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +***************
- +*** 2689,2695 ****
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_vprintf=yes"
- + else
- +--- 2689,2695 ----
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2693: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_vprintf=yes"
- + else
- +***************
- +*** 2725,2731 ****
- + builtin and then its argument prototype would still apply. */
- + char _doprnt();
- +
- +! int main() { return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +--- 2725,2731 ----
- + builtin and then its argument prototype would still apply. */
- + char _doprnt();
- +
- +! int main() { t(); return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +***************
- +*** 2739,2745 ****
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_func__doprnt=yes"
- + else
- +--- 2739,2745 ----
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2743: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_func__doprnt=yes"
- + else
- +***************
- +*** 2771,2782 ****
- + #line 2772 "configure"
- + #include "confdefs.h"
- + #include <alloca.h>
- +! int main() { return 0; }
- + int t() {
- + char *p = alloca(2 * sizeof(int));
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + ac_cv_header_alloca_h=yes
- + else
- +--- 2771,2782 ----
- + #line 2772 "configure"
- + #include "confdefs.h"
- + #include <alloca.h>
- +! int main() { t(); return 0; }
- + int t() {
- + char *p = alloca(2 * sizeof(int));
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2780: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + ac_cv_header_alloca_h=yes
- + else
- +***************
- +*** 2819,2830 ****
- + # endif
- + #endif
- +
- +! int main() { return 0; }
- + int t() {
- + char *p = (char *) alloca(1);
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + ac_cv_func_alloca=yes
- + else
- +--- 2819,2830 ----
- + # endif
- + #endif
- +
- +! int main() { t(); return 0; }
- + int t() {
- + char *p = (char *) alloca(1);
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2828: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + ac_cv_func_alloca=yes
- + else
- +***************
- +*** 2868,2875 ****
- + #endif
- +
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "webecray" >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_os_cray=yes
- + else
- +--- 2868,2875 ----
- + #endif
- +
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "webecray" <conftest.tmp >/dev/null 2>&1; then
- + rm -rf conftest*
- + ac_cv_os_cray=yes
- + else
- +***************
- +*** 2898,2904 ****
- + builtin and then its argument prototype would still apply. */
- + char $ac_func();
- +
- +! int main() { return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +--- 2898,2904 ----
- + builtin and then its argument prototype would still apply. */
- + char $ac_func();
- +
- +! int main() { t(); return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +***************
- +*** 2912,2918 ****
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_$ac_func=yes"
- + else
- +--- 2912,2918 ----
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:2916: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_$ac_func=yes"
- + else
- +***************
- +*** 2963,2969 ****
- + exit (find_stack_direction() < 0);
- + }
- + EOF
- +! { (eval echo configure:2967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + ac_cv_c_stack_direction=1
- + else
- +--- 2963,2969 ----
- + exit (find_stack_direction() < 0);
- + }
- + EOF
- +! { (eval echo configure:2967: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + ac_cv_c_stack_direction=1
- + else
- +***************
- +*** 3001,3007 ****
- + && t.st_mtime - s.st_mtime < 120));
- + }
- + EOF
- +! { (eval echo configure:3005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + ac_cv_func_utime_null=yes
- + else
- +--- 3001,3007 ----
- + && t.st_mtime - s.st_mtime < 120));
- + }
- + EOF
- +! { (eval echo configure:3005: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + ac_cv_func_utime_null=yes
- + else
- +***************
- +*** 3046,3052 ****
- + static struct utimbuf x; x.actime = x.modtime;
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:3050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + rm -rf conftest*
- + fu_cv_sys_struct_utimbuf=yes
- + else
- +--- 3046,3052 ----
- + static struct utimbuf x; x.actime = x.modtime;
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:3050: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + fu_cv_sys_struct_utimbuf=yes
- + else
- +***************
- +*** 3085,3091 ****
- + ? 0 : 1);
- + }
- + EOF
- +! { (eval echo configure:3089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + fu_cv_sys_working_fnmatch=yes
- + else
- +--- 3085,3091 ----
- + ? 0 : 1);
- + }
- + EOF
- +! { (eval echo configure:3089: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + fu_cv_sys_working_fnmatch=yes
- + else
- +***************
- +*** 3124,3135 ****
- + # endif /* HAVE_NDIR_H */
- + #endif /* HAVE_DIRENT_H */
- +
- +! int main() { return 0; }
- + int t() {
- + struct dirent dp; dp.d_ino = 0;
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:3133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + fu_cv_sys_d_ino_in_dirent=yes
- + else
- +--- 3124,3135 ----
- + # endif /* HAVE_NDIR_H */
- + #endif /* HAVE_DIRENT_H */
- +
- +! int main() { t(); return 0; }
- + int t() {
- + struct dirent dp; dp.d_ino = 0;
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:3133: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + fu_cv_sys_d_ino_in_dirent=yes
- + else
- +***************
- +*** 3169,3180 ****
- + builtin and then its argument prototype would still apply. */
- + char getmntent();
- +
- +! int main() { return 0; }
- + int t() {
- + getmntent()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:3178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +--- 3169,3180 ----
- + builtin and then its argument prototype would still apply. */
- + char getmntent();
- +
- +! int main() { t(); return 0; }
- + int t() {
- + getmntent()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:3178: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +***************
- +*** 3205,3216 ****
- + builtin and then its argument prototype would still apply. */
- + char getmntent();
- +
- +! int main() { return 0; }
- + int t() {
- + getmntent()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:3214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +--- 3205,3216 ----
- + builtin and then its argument prototype would still apply. */
- + char getmntent();
- +
- +! int main() { t(); return 0; }
- + int t() {
- + getmntent()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:3214: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +***************
- +*** 3241,3252 ****
- + builtin and then its argument prototype would still apply. */
- + char getmntent();
- +
- +! int main() { return 0; }
- + int t() {
- + getmntent()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:3250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +--- 3241,3252 ----
- + builtin and then its argument prototype would still apply. */
- + char getmntent();
- +
- +! int main() { t(); return 0; }
- + int t() {
- + getmntent()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:3250: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +***************
- +*** 3283,3289 ****
- + builtin and then its argument prototype would still apply. */
- + char getmntent();
- +
- +! int main() { return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +--- 3283,3289 ----
- + builtin and then its argument prototype would still apply. */
- + char getmntent();
- +
- +! int main() { t(); return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +***************
- +*** 3297,3303 ****
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:3301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_getmntent=yes"
- + else
- +--- 3297,3303 ----
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:3301: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_getmntent=yes"
- + else
- +***************
- +*** 3342,3349 ****
- + #endif
- +
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "yes" >/dev/null 2>&1; then
- + rm -rf conftest*
- + test $ac_cv_func_listmntent = yes \
- + && fu_cv_sys_mounted_cray_listmntent=yes
- +--- 3342,3349 ----
- + #endif
- +
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "yes" <conftest.tmp >/dev/null 2>&1; then
- + rm -rf conftest*
- + test $ac_cv_func_listmntent = yes \
- + && fu_cv_sys_mounted_cray_listmntent=yes
- +***************
- +*** 3402,3409 ****
- + #include "confdefs.h"
- + #include <sys/mnttab.h>
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "getmntent" >/dev/null 2>&1; then
- + rm -rf conftest*
- + fu_cv_sys_mounted_getmntent2=yes
- + else
- +--- 3402,3409 ----
- + #include "confdefs.h"
- + #include <sys/mnttab.h>
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "getmntent" <conftest.tmp >/dev/null 2>&1; then
- + rm -rf conftest*
- + fu_cv_sys_mounted_getmntent2=yes
- + else
- +***************
- +*** 3445,3457 ****
- + #include <sys/types.h>
- + #include <sys/mount.h>
- + #include <sys/fs_types.h>
- +! int main() { return 0; }
- + int t() {
- + struct statfs *stats;
- + numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT);
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:3455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + fu_cv_sys_mounted_getsstat=yes
- + else
- +--- 3445,3457 ----
- + #include <sys/types.h>
- + #include <sys/mount.h>
- + #include <sys/fs_types.h>
- +! int main() { t(); return 0; }
- + int t() {
- + struct statfs *stats;
- + numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT);
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:3455: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + fu_cv_sys_mounted_getsstat=yes
- + else
- +***************
- +*** 3484,3490 ****
- + #include <fshelp.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:3488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +--- 3484,3490 ----
- + #include <fshelp.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:3488: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +***************
- +*** 3522,3528 ****
- + #include <mnttab.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:3526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +--- 3522,3528 ----
- + #include <mnttab.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:3526: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +***************
- +*** 3559,3566 ****
- + #include "confdefs.h"
- + #include <sys/mount.h>
- + EOF
- +! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- +! egrep "f_type;" >/dev/null 2>&1; then
- + rm -rf conftest*
- + ok=yes
- + fi
- +--- 3559,3566 ----
- + #include "confdefs.h"
- + #include <sys/mount.h>
- + EOF
- +! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
- +! if egrep "f_type;" <conftest.tmp >/dev/null 2>&1; then
- + rm -rf conftest*
- + ok=yes
- + fi
- +***************
- +*** 3599,3605 ****
- + #include <sys/mount.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:3603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +--- 3599,3605 ----
- + #include <sys/mount.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:3603: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +***************
- +*** 3634,3640 ****
- + #include <mnttab.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:3638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +--- 3634,3640 ----
- + #include <mnttab.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:3638: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +***************
- +*** 3687,3693 ****
- + builtin and then its argument prototype would still apply. */
- + char $ac_func();
- +
- +! int main() { return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +--- 3687,3693 ----
- + builtin and then its argument prototype would still apply. */
- + char $ac_func();
- +
- +! int main() { t(); return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +***************
- +*** 3701,3707 ****
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:3705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_$ac_func=yes"
- + else
- +--- 3701,3707 ----
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:3705: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_$ac_func=yes"
- + else
- +***************
- +*** 3755,3761 ****
- + exit (statfs (".", &fsd, sizeof (struct statfs)));
- + }
- + EOF
- +! { (eval echo configure:3759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + fu_cv_sys_stat_statfs3_osf1=yes
- + else
- +--- 3755,3761 ----
- + exit (statfs (".", &fsd, sizeof (struct statfs)));
- + }
- + EOF
- +! { (eval echo configure:3759: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + fu_cv_sys_stat_statfs3_osf1=yes
- + else
- +***************
- +*** 3806,3812 ****
- + exit (statfs (".", &fsd));
- + }
- + EOF
- +! { (eval echo configure:3810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + fu_cv_sys_stat_statfs2_bsize=yes
- + else
- +--- 3806,3812 ----
- + exit (statfs (".", &fsd));
- + }
- + EOF
- +! { (eval echo configure:3810: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + fu_cv_sys_stat_statfs2_bsize=yes
- + else
- +***************
- +*** 3846,3852 ****
- + exit (statfs (".", &fsd, sizeof fsd, 0));
- + }
- + EOF
- +! { (eval echo configure:3850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + fu_cv_sys_stat_statfs4=yes
- + else
- +--- 3846,3852 ----
- + exit (statfs (".", &fsd, sizeof fsd, 0));
- + }
- + EOF
- +! { (eval echo configure:3850: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + fu_cv_sys_stat_statfs4=yes
- + else
- +***************
- +*** 3892,3898 ****
- + exit (statfs (".", &fsd));
- + }
- + EOF
- +! { (eval echo configure:3896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + fu_cv_sys_stat_statfs2_fsize=yes
- + else
- +--- 3892,3898 ----
- + exit (statfs (".", &fsd));
- + }
- + EOF
- +! { (eval echo configure:3896: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + fu_cv_sys_stat_statfs2_fsize=yes
- + else
- +***************
- +*** 3942,3948 ****
- + exit (statfs (".", &fsd) != 1);
- + }
- + EOF
- +! { (eval echo configure:3946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + fu_cv_sys_stat_fs_data=yes
- + else
- +--- 3942,3948 ----
- + exit (statfs (".", &fsd) != 1);
- + }
- + EOF
- +! { (eval echo configure:3946: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + fu_cv_sys_stat_fs_data=yes
- + else
- +***************
- +*** 3970,3976 ****
- + #include <sys/filsys.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:3974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +--- 3970,3976 ----
- + #include <sys/filsys.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:3974: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +***************
- +*** 4007,4013 ****
- + builtin and then its argument prototype would still apply. */
- + char $ac_func();
- +
- +! int main() { return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +--- 4007,4013 ----
- + builtin and then its argument prototype would still apply. */
- + char $ac_func();
- +
- +! int main() { t(); return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +***************
- +*** 4021,4027 ****
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_$ac_func=yes"
- + else
- +--- 4021,4027 ----
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4025: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_$ac_func=yes"
- + else
- +***************
- +*** 4056,4062 ****
- +
- + #include <sys/types.h>
- + #include <fcntl.h>
- +! int main() { return 0; }
- + int t() {
- +
- + #if !defined(F_CHSIZE) && !defined(F_FREESP)
- +--- 4056,4062 ----
- +
- + #include <sys/types.h>
- + #include <fcntl.h>
- +! int main() { t(); return 0; }
- + int t() {
- +
- + #if !defined(F_CHSIZE) && !defined(F_FREESP)
- +***************
- +*** 4065,4071 ****
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + fu_cv_sys_ftruncate_emulation=yes
- + else
- +--- 4065,4071 ----
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4069: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + fu_cv_sys_ftruncate_emulation=yes
- + else
- +***************
- +*** 4106,4112 ****
- + struct statfs t; long c = *(t.f_spare);
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + rm -rf conftest*
- + fu_cv_sys_truncating_statfs=yes
- + else
- +--- 4106,4112 ----
- + struct statfs t; long c = *(t.f_spare);
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4110: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + fu_cv_sys_truncating_statfs=yes
- + else
- +***************
- +*** 4142,4148 ****
- + builtin and then its argument prototype would still apply. */
- + char getgroups();
- +
- +! int main() { return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +--- 4142,4148 ----
- + builtin and then its argument prototype would still apply. */
- + char getgroups();
- +
- +! int main() { t(); return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +***************
- +*** 4156,4162 ****
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_getgroups=yes"
- + else
- +--- 4156,4162 ----
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4160: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_getgroups=yes"
- + else
- +***************
- +*** 4186,4197 ****
- + builtin and then its argument prototype would still apply. */
- + char getgroups();
- +
- +! int main() { return 0; }
- + int t() {
- + getgroups()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +--- 4186,4197 ----
- + builtin and then its argument prototype would still apply. */
- + char getgroups();
- +
- +! int main() { t(); return 0; }
- + int t() {
- + getgroups()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4195: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +***************
- +*** 4230,4241 ****
- + #line 4231 "configure"
- + #include "confdefs.h"
- +
- +! int main() { return 0; }
- + int t() {
- + main()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +--- 4230,4241 ----
- + #line 4231 "configure"
- + #include "confdefs.h"
- +
- +! int main() { t(); return 0; }
- + int t() {
- + main()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4239: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +***************
- +*** 4272,4283 ****
- + #line 4273 "configure"
- + #include "confdefs.h"
- +
- +! int main() { return 0; }
- + int t() {
- + main()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +--- 4272,4283 ----
- + #line 4273 "configure"
- + #include "confdefs.h"
- +
- +! int main() { t(); return 0; }
- + int t() {
- + main()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4281: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +***************
- +*** 4351,4357 ****
- + } $ac_kw foo() {
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- + rm -rf conftest*
- + ac_cv_c_inline=$ac_kw; break
- + fi
- +--- 4351,4357 ----
- + } $ac_kw foo() {
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4355: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + ac_cv_c_inline=$ac_kw; break
- + fi
- +***************
- +*** 4391,4397 ****
- + builtin and then its argument prototype would still apply. */
- + char $ac_func();
- +
- +! int main() { return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +--- 4391,4397 ----
- + builtin and then its argument prototype would still apply. */
- + char $ac_func();
- +
- +! int main() { t(); return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +***************
- +*** 4405,4411 ****
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_$ac_func=yes"
- + else
- +--- 4405,4411 ----
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4409: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_$ac_func=yes"
- + else
- +***************
- +*** 4504,4510 ****
- + }
- +
- + EOF
- +! { (eval echo configure:4508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + ac_cv_func_mmap=yes
- + else
- +--- 4504,4510 ----
- + }
- +
- + EOF
- +! { (eval echo configure:4508: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + if test -s conftest && (./conftest; exit) 2>/dev/null; then
- + ac_cv_func_mmap=yes
- + else
- +***************
- +*** 4537,4543 ****
- + #include <$ac_hdr>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:4541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +--- 4537,4543 ----
- + #include <$ac_hdr>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:4541: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +***************
- +*** 4579,4585 ****
- + builtin and then its argument prototype would still apply. */
- + char $ac_func();
- +
- +! int main() { return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +--- 4579,4585 ----
- + builtin and then its argument prototype would still apply. */
- + char $ac_func();
- +
- +! int main() { t(); return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +***************
- +*** 4593,4599 ****
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_$ac_func=yes"
- + else
- +--- 4593,4599 ----
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4597: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_$ac_func=yes"
- + else
- +***************
- +*** 4634,4640 ****
- + builtin and then its argument prototype would still apply. */
- + char $ac_func();
- +
- +! int main() { return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +--- 4634,4640 ----
- + builtin and then its argument prototype would still apply. */
- + char $ac_func();
- +
- +! int main() { t(); return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +***************
- +*** 4648,4654 ****
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_$ac_func=yes"
- + else
- +--- 4648,4654 ----
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4652: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_$ac_func=yes"
- + else
- +***************
- +*** 4687,4698 ****
- + #line 4688 "configure"
- + #include "confdefs.h"
- + #include <locale.h>
- +! int main() { return 0; }
- + int t() {
- + return LC_MESSAGES
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + ud_cv_val_LC_MESSAGES=yes
- + else
- +--- 4687,4698 ----
- + #line 4688 "configure"
- + #include "confdefs.h"
- + #include <locale.h>
- +! int main() { t(); return 0; }
- + int t() {
- + return LC_MESSAGES
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4696: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + ud_cv_val_LC_MESSAGES=yes
- + else
- +***************
- +*** 4758,4764 ****
- + #include <libintl.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:4762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +--- 4758,4764 ----
- + #include <libintl.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:4762: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +***************
- +*** 4787,4798 ****
- + builtin and then its argument prototype would still apply. */
- + char bindtextdomain();
- +
- +! int main() { return 0; }
- + int t() {
- + bindtextdomain()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +--- 4787,4798 ----
- + builtin and then its argument prototype would still apply. */
- + char bindtextdomain();
- +
- +! int main() { t(); return 0; }
- + int t() {
- + bindtextdomain()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4796: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +***************
- +*** 4831,4837 ****
- + builtin and then its argument prototype would still apply. */
- + char gettext();
- +
- +! int main() { return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +--- 4831,4837 ----
- + builtin and then its argument prototype would still apply. */
- + char gettext();
- +
- +! int main() { t(); return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +***************
- +*** 4845,4851 ****
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_gettext=yes"
- + else
- +--- 4845,4851 ----
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4849: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_gettext=yes"
- + else
- +***************
- +*** 4911,4917 ****
- + builtin and then its argument prototype would still apply. */
- + char $ac_func();
- +
- +! int main() { return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +--- 4911,4917 ----
- + builtin and then its argument prototype would still apply. */
- + char $ac_func();
- +
- +! int main() { t(); return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +***************
- +*** 4925,4931 ****
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_$ac_func=yes"
- + else
- +--- 4925,4931 ----
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:4929: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_$ac_func=yes"
- + else
- +***************
- +*** 5015,5027 ****
- + #line 5016 "configure"
- + #include "confdefs.h"
- +
- +! int main() { return 0; }
- + int t() {
- + extern int _nl_msg_cat_cntr;
- + return _nl_msg_cat_cntr
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:5025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + CATOBJEXT=.gmo
- + DATADIRNAME=share
- +--- 5015,5027 ----
- + #line 5016 "configure"
- + #include "confdefs.h"
- +
- +! int main() { t(); return 0; }
- + int t() {
- + extern int _nl_msg_cat_cntr;
- + return _nl_msg_cat_cntr
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:5025: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + CATOBJEXT=.gmo
- + DATADIRNAME=share
- +***************
- +*** 5067,5078 ****
- + #line 5068 "configure"
- + #include "confdefs.h"
- +
- +! int main() { return 0; }
- + int t() {
- + main()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:5076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +--- 5067,5078 ----
- + #line 5068 "configure"
- + #include "confdefs.h"
- +
- +! int main() { t(); return 0; }
- + int t() {
- + main()
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:5076: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_lib_$ac_lib_var=yes"
- + else
- +***************
- +*** 5111,5117 ****
- + builtin and then its argument prototype would still apply. */
- + char catgets();
- +
- +! int main() { return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +--- 5111,5117 ----
- + builtin and then its argument prototype would still apply. */
- + char catgets();
- +
- +! int main() { t(); return 0; }
- + int t() {
- +
- + /* The GNU C library defines this for functions which it implements
- +***************
- +*** 5125,5131 ****
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:5129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_catgets=yes"
- + else
- +--- 5125,5131 ----
- +
- + ; return 0; }
- + EOF
- +! if { (eval echo configure:5129: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
- + rm -rf conftest*
- + eval "ac_cv_func_catgets=yes"
- + else
- +***************
- +*** 5480,5486 ****
- + #include <linux/version.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:5484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +--- 5480,5486 ----
- + #include <linux/version.h>
- + EOF
- + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- +! { (eval echo configure:5484: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
- + ac_err=`grep -v '^ *+' conftest.out`
- + if test -z "$ac_err"; then
- + rm -rf conftest*
- +***************
- +*** 5561,5569 ****
- + EOF
- + # Ultrix sh set writes to stderr and can't be redirected directly,
- + # and sets the high bit in the cache file unless we assign to the vars.
- +! (set) 2>&1 |
- + sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
- +! >> confcache
- + if cmp -s $cache_file confcache; then
- + :
- + else
- +--- 5561,5569 ----
- + EOF
- + # Ultrix sh set writes to stderr and can't be redirected directly,
- + # and sets the high bit in the cache file unless we assign to the vars.
- +! (set) >cache.tmp 2>&1
- + sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
- +! <cache.tmp >> confcache
- + if cmp -s $cache_file confcache; then
- + :
- + else
- +***************
- +*** 5574,5580 ****
- + echo "not updating unwritable cache $cache_file"
- + fi
- + fi
- +! rm -f confcache
- +
- + trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
- +
- +--- 5574,5580 ----
- + echo "not updating unwritable cache $cache_file"
- + fi
- + fi
- +! rm -f confcache cache.tmp
- +
- + trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
- +
- +***************
- +*** 5916,5926 ****
- + *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
- + esac
- +
- +! # Make a symlink if possible; otherwise try a hard link.
- +! if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
- +! ln $srcdir/$ac_source $ac_dest; then :
- + else
- +! { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
- + fi
- + done
- +
- +--- 5916,5929 ----
- + *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
- + esac
- +
- +! # Make a symlink if possible; otherwise try a hard link,
- +! # otherwise just copy the damn file.
- +! # HACK - for BeOS, the current bash returns a success code
- +! # when it tries to run programs (like ln) that don't exist.
- +! # so force cp for now.
- +! if cp $srcdir/$ac_source $ac_dest; then :
- + else
- +! { echo "configure: error: can not link or copy $srcdir/$ac_source to $ac_dest" 1>&2; exit 1; }
- + fi
- + done
- +
- +diff -rc fileutils-ref/intl/Makefile.in fileutils/intl/Makefile.in
- +*** fileutils-ref/intl/Makefile.in Sat Sep 28 16:23:52 1996
- +--- fileutils/intl/Makefile.in Sat Sep 28 16:39:09 1996
- +***************
- +*** 40,47 ****
- + INSTALL_DATA = @INSTALL_DATA@
- + MKINSTALLDIRS = @MKINSTALLDIRS@
- +
- +! AR = @AR@
- +! AR_FLAGS = cru
- + CC = @CC@
- + RANLIB = @RANLIB@
- +
- +--- 40,47 ----
- + INSTALL_DATA = @INSTALL_DATA@
- + MKINSTALLDIRS = @MKINSTALLDIRS@
- +
- +! AR = mwcc
- +! AR_FLAGS = -xml -o
- + CC = @CC@
- + RANLIB = @RANLIB@
- +
- +diff -rc fileutils-ref/lib/Makefile.in fileutils/lib/Makefile.in
- +*** fileutils-ref/lib/Makefile.in Sat Sep 28 16:28:23 1996
- +--- fileutils/lib/Makefile.in Sat Sep 28 16:39:09 1996
- +***************
- +*** 81,94 ****
- + COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
- + LINK = $(CC) $(LDFLAGS) -o $@
- + fu_OBJECTS = getdate.o getline.o posixtm.o argmatch.o backupfile.o \
- +! dirname.o error.o fileblocks.o filemode.o full-write.o getversion.o \
- + idcache.o isdir.o long-options.o makepath.o modechange.o obstack.o \
- + safe-read.o save-cwd.o savedir.o stripslash.o userspec.o xgetcwd.o \
- + xmalloc.o xstrdup.o xstrtol.o xstrtoul.o yesno.o
- + EXTRA_fu_SOURCES =
- + LIBFILES = libfu.a
- +! AR = @AR@
- +! AR_FLAGS = cru
- + RANLIB = @RANLIB@
- + HEADERS = $(noinst_HEADERS)
- +
- +--- 81,94 ----
- + COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
- + LINK = $(CC) $(LDFLAGS) -o $@
- + fu_OBJECTS = getdate.o getline.o posixtm.o argmatch.o backupfile.o \
- +! dirname.o error.o filemode.o full-write.o getversion.o \
- + idcache.o isdir.o long-options.o makepath.o modechange.o obstack.o \
- + safe-read.o save-cwd.o savedir.o stripslash.o userspec.o xgetcwd.o \
- + xmalloc.o xstrdup.o xstrtol.o xstrtoul.o yesno.o
- + EXTRA_fu_SOURCES =
- + LIBFILES = libfu.a
- +! AR = mwcc
- +! AR_FLAGS = -xml -o
- + RANLIB = @RANLIB@
- + HEADERS = $(noinst_HEADERS)
- +
- +diff -rc fileutils-ref/src/Makefile.in fileutils/src/Makefile.in
- +*** fileutils-ref/src/Makefile.in Tue Aug 20 07:00:00 1996
- +--- fileutils/src/Makefile.in Sat Sep 28 16:39:10 1996
- +***************
- +*** 43,50 ****
- + EXTRAdir = $(bindir)
- + EXTRA_PROGRAMS = df mvdir
- +
- + bin_PROGRAMS = chgrp chown chmod cp dd dircolors du \
- +! ginstall ln dir vdir ls mkdir \
- + mkfifo mknod mv rm rmdir sync touch @DF_PROG@
- +
- + libexec_PROGRAMS = @MVDIR_PROG@
- +--- 43,51 ----
- + EXTRAdir = $(bindir)
- + EXTRA_PROGRAMS = df mvdir
- +
- ++ # BeOS hack - remove "ln".
- + bin_PROGRAMS = chgrp chown chmod cp dd dircolors du \
- +! ginstall dir vdir ls mkdir \
- + mkfifo mknod mv rm rmdir sync touch @DF_PROG@
- +
- + libexec_PROGRAMS = @MVDIR_PROG@
- diff -rup --new-file baseline/fsf/fileutils/ChangeLog amiga/fsf/fileutils/ChangeLog
- --- baseline/fsf/fileutils/ChangeLog Thu Jul 11 20:25:02 1996
- +++ amiga/fsf/fileutils/ChangeLog Sat Sep 28 00:00:00 1996
- @@ -1,3 +1,16 @@
- +Wed Aug 7 21:31:28 1996 GNU Emacs Lover <walter@pctc.chemie.uni-erlangen.de>
- +
- + * src/ls.c: The patch using isfunny() and isfunny2() should be
- + unnecessary. The original uses ISPRINT().
- +
- + * lib/fnmatch.h: The patch for FNM_PATHNAME is outdated. It is
- + done by default.
- +
- + * lib/backupfile.c: added comment at the change of
- + simple_backup_suffix.
- +
- + * all patches changing void main to main or int main are outdated.
- +
- Thu Jul 11 21:50:48 1996 Jim Meyering <meyering@na-net.ornl.gov>
-
- * Version 3.13.
- diff -rup --new-file baseline/fsf/fileutils/INSTALL amiga/fsf/fileutils/INSTALL
- --- baseline/fsf/fileutils/INSTALL Tue Apr 23 19:34:26 1996
- +++ amiga/fsf/fileutils/INSTALL Sat Sep 28 00:00:00 1996
- @@ -85,8 +85,8 @@ Installation Names
- ==================
-
- By default, `make install' will install the package's files in
- -`/usr/local/bin', `/usr/local/man', etc. You can specify an
- -installation prefix other than `/usr/local' by giving `configure' the
- +`/ade/bin', `/ade/man', etc. You can specify an
- +installation prefix other than `/ade' by giving `configure' the
- option `--prefix=PATH'.
-
- You can specify separate installation prefixes for
- diff -rup --new-file baseline/fsf/fileutils/Product-Info amiga/fsf/fileutils/Product-Info
- --- baseline/fsf/fileutils/Product-Info Wed Dec 31 17:00:00 1969
- +++ amiga/fsf/fileutils/Product-Info Sat Sep 28 00:00:00 1996
- @@ -0,0 +1,29 @@
- +.name
- +fileutils
- +.fullname
- +File management utilities
- +.type
- +Miscellaneous
- +.short
- +File management utilities.
- +.description
- +These are the GNU file management utilities. Most of these programs
- +have significant advantages over their Unix counterparts, such as
- +greater speed, additional options, and fewer arbitrary limits.
- +
- +The programs that can be built with this package are: chgrp, chown,
- +chmod, cp, dd, df, du, install, ln, dir, vdir, ls, mkdir, mvdir,
- +mkfifo, mknod, mv, rm, rmdir and touch. But mvdir is built only on
- +systems that lack the rename system call.
- +
- +The programs cat, cut, expand, head, paste, split, tac, tail and
- +unexpand, which used to be part of the fileutils, are now part of the
- +textutils. Cmp is now part of the diff distribution.
- +.version
- +3.13
- +.author
- +Free Software Foundation
- +.distribution
- +GNU Public License
- +.described-by
- +Fred Fish (fnf@ninemoons.com)
- diff -rup --new-file baseline/fsf/fileutils/config.guess amiga/fsf/fileutils/config.guess
- --- baseline/fsf/fileutils/config.guess Wed Dec 31 17:00:00 1969
- +++ amiga/fsf/fileutils/config.guess Sat Sep 28 00:00:00 1996
- @@ -0,0 +1,600 @@
- +#! /bin/sh
- +# Attempt to guess a canonical system name.
- +# Copyright (C) 1992, 93, 94, 95, 1996 Free Software Foundation, Inc.
- +#
- +# This file is free software; you can redistribute it and/or modify it
- +# under the terms of the GNU General Public License as published by
- +# the Free Software Foundation; either version 2 of the License, or
- +# (at your option) any later version.
- +#
- +# This program is distributed in the hope that it will be useful, but
- +# WITHOUT ANY WARRANTY; without even the implied warranty of
- +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- +# General Public License for more details.
- +#
- +# You should have received a copy of the GNU General Public License
- +# along with this program; if not, write to the Free Software
- +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- +#
- +# As a special exception to the GNU General Public License, if you
- +# distribute this file as part of a program that contains a
- +# configuration script generated by Autoconf, you may include it under
- +# the same distribution terms that you use for the rest of that program.
- +
- +# Written by Per Bothner <bothner@cygnus.com>.
- +# The master version of this file is at the FSF in /home/gd/gnu/lib.
- +#
- +# This script attempts to guess a canonical system name similar to
- +# config.sub. If it succeeds, it prints the system name on stdout, and
- +# exits with 0. Otherwise, it exits with 1.
- +#
- +# The plan is that this can be called by configure scripts if you
- +# don't specify an explicit system type (host/target name).
- +#
- +# Only a few systems have been added to this list; please add others
- +# (but try to keep the structure clean).
- +#
- +
- +# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
- +# (ghazi@noc.rutgers.edu 8/24/94.)
- +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
- + PATH=$PATH:/.attbin ; export PATH
- +fi
- +
- +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
- +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
- +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
- +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
- +
- +trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15
- +
- +# Note: order is significant - the case branches are not exclusive.
- +
- +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
- + alpha:OSF1:*:*)
- + # A Vn.n version is a released version.
- + # A Tn.n version is a released field test version.
- + # A Xn.n version is an unreleased experimental baselevel.
- + # 1.2 uses "1.2" for uname -r.
- + echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//'`
- + exit 0 ;;
- + 21064:Windows_NT:50:3)
- + echo alpha-dec-winnt3.5
- + exit 0 ;;
- + Amiga*:UNIX_System_V:4.0:*)
- + echo m68k-cbm-sysv4
- + exit 0;;
- + amiga:NetBSD:*:*)
- + echo m68k-cbm-netbsd${UNAME_RELEASE}
- + exit 0 ;;
- + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
- + echo arm-acorn-riscix${UNAME_RELEASE}
- + exit 0;;
- + Pyramid*:OSx*:*:*)
- + if test "`(/bin/universe) 2>/dev/null`" = att ; then
- + echo pyramid-pyramid-sysv3
- + else
- + echo pyramid-pyramid-bsd
- + fi
- + exit 0 ;;
- + sun4*:SunOS:5.*:*)
- + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- + exit 0 ;;
- + i86pc:SunOS:5.*:*)
- + echo i386-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- + exit 0 ;;
- + sun4*:SunOS:6*:*)
- + # According to config.sub, this is the proper way to canonicalize
- + # SunOS6. Hard to guess exactly what SunOS6 will be like, but
- + # it's likely to be more like Solaris than SunOS4.
- + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- + exit 0 ;;
- + sun4*:SunOS:*:*)
- + case "`/usr/bin/arch -k`" in
- + Series*|S4*)
- + UNAME_RELEASE=`uname -v`
- + ;;
- + esac
- + # Japanese Language versions have a version number like `4.1.3-JL'.
- + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
- + exit 0 ;;
- + sun3*:SunOS:*:*)
- + echo m68k-sun-sunos${UNAME_RELEASE}
- + exit 0 ;;
- + atari*:NetBSD:*:*)
- + echo m68k-atari-netbsd${UNAME_RELEASE}
- + exit 0 ;;
- + sun3*:NetBSD:*:*)
- + echo m68k-sun-netbsd${UNAME_RELEASE}
- + exit 0 ;;
- + mac68k:NetBSD:*:*)
- + echo m68k-apple-netbsd${UNAME_RELEASE}
- + exit 0 ;;
- + RISC*:ULTRIX:*:*)
- + echo mips-dec-ultrix${UNAME_RELEASE}
- + exit 0 ;;
- + VAX*:ULTRIX*:*:*)
- + echo vax-dec-ultrix${UNAME_RELEASE}
- + exit 0 ;;
- + mips:*:4*:UMIPS)
- + echo mips-mips-riscos4sysv
- + exit 0 ;;
- + mips:*:5*:RISCos)
- + echo mips-mips-riscos${UNAME_RELEASE}
- + exit 0 ;;
- + Night_Hawk:Power_UNIX:*:*)
- + echo powerpc-harris-powerunix
- + exit 0 ;;
- + m88k:CX/UX:7*:*)
- + echo m88k-harris-cxux7
- + exit 0 ;;
- + m88k:*:4*:R4*)
- + echo m88k-motorola-sysv4
- + exit 0 ;;
- + m88k:*:3*:R3*)
- + echo m88k-motorola-sysv3
- + exit 0 ;;
- + AViiON:dgux:*:*)
- + # DG/UX returns AViiON for all architectures
- + UNAME_PROCESSOR=`/usr/bin/uname -p`
- + if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88100 ] ; then
- + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \
- + -o ${TARGET_BINARY_INTERFACE}x = x ] ; then
- + echo m88k-dg-dgux${UNAME_RELEASE}
- + else
- + echo m88k-dg-dguxbcs${UNAME_RELEASE}
- + fi
- + else echo i586-dg-dgux${UNAME_RELEASE}
- + fi
- + exit 0 ;;
- + M88*:DolphinOS:*:*) # DolphinOS (SVR3)
- + echo m88k-dolphin-sysv3
- + exit 0 ;;
- + M88*:*:R3*:*)
- + # Delta 88k system running SVR3
- + echo m88k-motorola-sysv3
- + exit 0 ;;
- + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
- + echo m88k-tektronix-sysv3
- + exit 0 ;;
- + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
- + echo m68k-tektronix-bsd
- + exit 0 ;;
- + *:IRIX*:*:*)
- + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
- + exit 0 ;;
- + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
- + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
- + exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
- + i[34]86:AIX:*:*)
- + echo i386-ibm-aix
- + exit 0 ;;
- + *:AIX:2:3)
- + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
- + sed 's/^ //' << EOF >dummy.c
- + #include <sys/systemcfg.h>
- +
- + main()
- + {
- + if (!__power_pc())
- + exit(1);
- + puts("powerpc-ibm-aix3.2.5");
- + exit(0);
- + }
- +EOF
- + ${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
- + rm -f dummy.c dummy
- + echo rs6000-ibm-aix3.2.5
- + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
- + echo rs6000-ibm-aix3.2.4
- + else
- + echo rs6000-ibm-aix3.2
- + fi
- + exit 0 ;;
- + *:AIX:*:4)
- + if /usr/sbin/lsattr -EHl proc0 | grep POWER >/dev/null 2>&1; then
- + IBM_ARCH=rs6000
- + else
- + IBM_ARCH=powerpc
- + fi
- + if [ -x /usr/bin/oslevel ] ; then
- + IBM_REV=`/usr/bin/oslevel`
- + else
- + IBM_REV=4.${UNAME_RELEASE}
- + fi
- + echo ${IBM_ARCH}-ibm-aix${IBM_REV}
- + exit 0 ;;
- + *:AIX:*:*)
- + echo rs6000-ibm-aix
- + exit 0 ;;
- + ibmrt:4.4BSD:*|romp-ibm:BSD:*)
- + echo romp-ibm-bsd4.4
- + exit 0 ;;
- + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC NetBSD and
- + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
- + exit 0 ;; # report: romp-ibm BSD 4.3
- + *:BOSX:*:*)
- + echo rs6000-bull-bosx
- + exit 0 ;;
- + DPX/2?00:B.O.S.:*:*)
- + echo m68k-bull-sysv3
- + exit 0 ;;
- + 9000/[34]??:4.3bsd:1.*:*)
- + echo m68k-hp-bsd
- + exit 0 ;;
- + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
- + echo m68k-hp-bsd4.4
- + exit 0 ;;
- + 9000/[3478]??:HP-UX:*:*)
- + case "${UNAME_MACHINE}" in
- + 9000/31? ) HP_ARCH=m68000 ;;
- + 9000/[34]?? ) HP_ARCH=m68k ;;
- + 9000/7?? | 9000/8?[679] ) HP_ARCH=hppa1.1 ;;
- + 9000/8?? ) HP_ARCH=hppa1.0 ;;
- + esac
- + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
- + echo ${HP_ARCH}-hp-hpux${HPUX_REV}
- + exit 0 ;;
- + 3050*:HI-UX:*:*)
- + sed 's/^ //' << EOF >dummy.c
- + #include <unistd.h>
- + int
- + main ()
- + {
- + long cpu = sysconf (_SC_CPU_VERSION);
- + /* The order matters, because CPU_IS_HP_MC68K erroneously returns
- + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
- + results, however. */
- + if (CPU_IS_PA_RISC (cpu))
- + {
- + switch (cpu)
- + {
- + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
- + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
- + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
- + default: puts ("hppa-hitachi-hiuxwe2"); break;
- + }
- + }
- + else if (CPU_IS_HP_MC68K (cpu))
- + puts ("m68k-hitachi-hiuxwe2");
- + else puts ("unknown-hitachi-hiuxwe2");
- + exit (0);
- + }
- +EOF
- + ${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
- + rm -f dummy.c dummy
- + echo unknown-hitachi-hiuxwe2
- + exit 0 ;;
- + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
- + echo hppa1.1-hp-bsd
- + exit 0 ;;
- + 9000/8??:4.3bsd:*:*)
- + echo hppa1.0-hp-bsd
- + exit 0 ;;
- + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
- + echo hppa1.1-hp-osf
- + exit 0 ;;
- + hp8??:OSF1:*:*)
- + echo hppa1.0-hp-osf
- + exit 0 ;;
- + parisc*:Lites*:*:*)
- + echo hppa1.1-hp-lites
- + exit 0 ;;
- + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
- + echo c1-convex-bsd
- + exit 0 ;;
- + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
- + if getsysinfo -f scalar_acc
- + then echo c32-convex-bsd
- + else echo c2-convex-bsd
- + fi
- + exit 0 ;;
- + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
- + echo c34-convex-bsd
- + exit 0 ;;
- + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
- + echo c38-convex-bsd
- + exit 0 ;;
- + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
- + echo c4-convex-bsd
- + exit 0 ;;
- + CRAY*X-MP:*:*:*)
- + echo xmp-cray-unicos
- + exit 0 ;;
- + CRAY*Y-MP:*:*:*)
- + echo ymp-cray-unicos${UNAME_RELEASE}
- + exit 0 ;;
- + CRAY*C90:*:*:*)
- + echo c90-cray-unicos${UNAME_RELEASE}
- + exit 0 ;;
- + CRAY-2:*:*:*)
- + echo cray2-cray-unicos
- + exit 0 ;;
- + hp3[0-9][05]:NetBSD:*:*)
- + echo m68k-hp-netbsd${UNAME_RELEASE}
- + exit 0 ;;
- + i[34]86:BSD/386:*:* | *:BSD/OS:*:*)
- + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
- + exit 0 ;;
- + *:FreeBSD:*:*)
- + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
- + exit 0 ;;
- + *:NetBSD:*:*)
- + echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
- + exit 0 ;;
- + i*:CYGWIN*:*)
- + echo i386-unknown-cygwin32
- + exit 0 ;;
- + p*:CYGWIN*:*)
- + echo powerpcle-unknown-cygwin32
- + exit 0 ;;
- + prep*:SunOS:5.*:*)
- + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
- + exit 0 ;;
- + *:GNU:*:*)
- + echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
- + exit 0 ;;
- + *:Linux:*:*)
- + # The BFD linker knows what the default object file format is, so
- + # first see if it will tell us.
- + ld_help_string=`ld --help 2>&1`
- + if echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: elf_i[345]86"; then
- + echo "${UNAME_MACHINE}-unknown-linux" ; exit 0
- + elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i[345]86linux"; then
- + echo "${UNAME_MACHINE}-unknown-linuxaout" ; exit 0
- + elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: i[345]86coff"; then
- + echo "${UNAME_MACHINE}-unknown-linuxcoff" ; exit 0
- + elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68kelf"; then
- + echo "${UNAME_MACHINE}-unknown-linux" ; exit 0
- + elif echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations: m68klinux"; then
- + echo "${UNAME_MACHINE}-unknown-linuxaout" ; exit 0
- + elif test "${UNAME_MACHINE}" = "alpha" ; then
- + echo alpha-unknown-linux ; exit 0
- + else
- + # Either a pre-BFD a.out linker (linuxoldld) or one that does not give us
- + # useful --help. Gcc wants to distinguish between linuxoldld and linuxaout.
- + test ! -d /usr/lib/ldscripts/. \
- + && echo "${UNAME_MACHINE}-unknown-linuxoldld" && exit 0
- + # Determine whether the default compiler is a.out or elf
- + cat >dummy.c <<EOF
- +main(argc, argv)
- +int argc;
- +char *argv[];
- +{
- +#ifdef __ELF__
- + printf ("%s-unknown-linux\n", argv[1]);
- +#else
- + printf ("%s-unknown-linuxaout\n", argv[1]);
- +#endif
- + return 0;
- +}
- +EOF
- + ${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0
- + rm -f dummy.c dummy
- + fi ;;
- +# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions
- +# are messed up and put the nodename in both sysname and nodename.
- + i[34]86:DYNIX/ptx:4*:*)
- + echo i386-sequent-sysv4
- + exit 0 ;;
- + i[34]86:*:4.*:* | i[34]86:SYSTEM_V:4.*:*)
- + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
- + echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE}
- + else
- + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}
- + fi
- + exit 0 ;;
- + i[34]86:*:3.2:*)
- + if test -f /usr/options/cb.name; then
- + UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
- + echo ${UNAME_MACHINE}-unknown-isc$UNAME_REL
- + elif /bin/uname -X 2>/dev/null >/dev/null ; then
- + UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
- + (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
- + (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
- + && UNAME_MACHINE=i586
- + echo ${UNAME_MACHINE}-unknown-sco$UNAME_REL
- + else
- + echo ${UNAME_MACHINE}-unknown-sysv32
- + fi
- + exit 0 ;;
- + Intel:Mach:3*:*)
- + echo i386-unknown-mach3
- + exit 0 ;;
- + paragon:*:*:*)
- + echo i860-intel-osf1
- + exit 0 ;;
- + i860:*:4.*:*) # i860-SVR4
- + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
- + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
- + else # Add other i860-SVR4 vendors below as they are discovered.
- + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
- + fi
- + exit 0 ;;
- + mini*:CTIX:SYS*5:*)
- + # "miniframe"
- + echo m68010-convergent-sysv
- + exit 0 ;;
- + M680[234]0:*:R3V[567]*:*)
- + test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
- + 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0)
- + uname -p 2>/dev/null | grep 86 >/dev/null \
- + && echo i486-ncr-sysv4.3 && exit 0 ;;
- + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
- + uname -p 2>/dev/null | grep 86 >/dev/null \
- + && echo i486-ncr-sysv4 && exit 0 ;;
- + m680[234]0:LynxOS:2.[23]*:*)
- + echo m68k-lynx-lynxos${UNAME_RELEASE}
- + exit 0 ;;
- + mc68030:UNIX_System_V:4.*:*)
- + echo m68k-atari-sysv4
- + exit 0 ;;
- + i[34]86:LynxOS:2.[23]*:*)
- + echo i386-lynx-lynxos${UNAME_RELEASE}
- + exit 0 ;;
- + TSUNAMI:LynxOS:2.[23]*:*)
- + echo sparc-lynx-lynxos${UNAME_RELEASE}
- + exit 0 ;;
- + rs6000:LynxOS:2.[23]*:*)
- + echo rs6000-lynx-lynxos${UNAME_RELEASE}
- + exit 0 ;;
- + RM*:SINIX-*:*:*)
- + echo mips-sni-sysv4
- + exit 0 ;;
- + *:SINIX-*:*:*)
- + if uname -p 2>/dev/null >/dev/null ; then
- + UNAME_MACHINE=`(uname -p) 2>/dev/null`
- + echo ${UNAME_MACHINE}-sni-sysv4
- + else
- + echo ns32k-sni-sysv
- + fi
- + exit 0 ;;
- + mc68*:A/UX:*:*)
- + echo m68k-apple-aux${UNAME_RELEASE}
- + exit 0 ;;
- + R3000:*System_V*:*:*)
- + if [ -d /usr/nec ]; then
- + echo mips-nec-sysv${UNAME_RELEASE}
- + else
- + echo mips-unknown-sysv${UNAME_RELEASE}
- + fi
- + exit 0 ;;
- +esac
- +
- +#echo '(No uname command or uname output not recognized.)' 1>&2
- +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
- +
- +cat >dummy.c <<EOF
- +#ifdef _SEQUENT_
- +# include <sys/types.h>
- +# include <sys/utsname.h>
- +#endif
- +main ()
- +{
- +#if defined (sony)
- +#if defined (MIPSEB)
- + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
- + I don't know.... */
- + printf ("mips-sony-bsd\n"); exit (0);
- +#else
- +#include <sys/param.h>
- + printf ("m68k-sony-newsos%s\n",
- +#ifdef NEWSOS4
- + "4"
- +#else
- + ""
- +#endif
- + ); exit (0);
- +#endif
- +#endif
- +
- +#if defined (__arm) && defined (__acorn) && defined (__unix)
- + printf ("arm-acorn-riscix"); exit (0);
- +#endif
- +
- +#if defined (hp300) && !defined (hpux)
- + printf ("m68k-hp-bsd\n"); exit (0);
- +#endif
- +
- +#if defined (NeXT)
- +#if !defined (__ARCHITECTURE__)
- +#define __ARCHITECTURE__ "m68k"
- +#endif
- + int version;
- + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
- + printf ("%s-next-nextstep%s\n", __ARCHITECTURE__, version==2 ? "2" : "3");
- + exit (0);
- +#endif
- +
- +#if defined (MULTIMAX) || defined (n16)
- +#if defined (UMAXV)
- + printf ("ns32k-encore-sysv\n"); exit (0);
- +#else
- +#if defined (CMU)
- + printf ("ns32k-encore-mach\n"); exit (0);
- +#else
- + printf ("ns32k-encore-bsd\n"); exit (0);
- +#endif
- +#endif
- +#endif
- +
- +#if defined (__386BSD__)
- + printf ("i386-unknown-bsd\n"); exit (0);
- +#endif
- +
- +#if defined (sequent)
- +#if defined (i386)
- + printf ("i386-sequent-dynix\n"); exit (0);
- +#endif
- +#if defined (ns32000)
- + printf ("ns32k-sequent-dynix\n"); exit (0);
- +#endif
- +#endif
- +
- +#if defined (_SEQUENT_)
- + struct utsname un;
- +
- + uname(&un);
- +
- + if (strncmp(un.version, "V2", 2) == 0) {
- + printf ("i386-sequent-ptx2\n"); exit (0);
- + }
- + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
- + printf ("i386-sequent-ptx1\n"); exit (0);
- + }
- + printf ("i386-sequent-ptx\n"); exit (0);
- +
- +#endif
- +
- +#if defined (vax)
- +#if !defined (ultrix)
- + printf ("vax-dec-bsd\n"); exit (0);
- +#else
- + printf ("vax-dec-ultrix\n"); exit (0);
- +#endif
- +#endif
- +
- +#if defined (alliant) && defined (i860)
- + printf ("i860-alliant-bsd\n"); exit (0);
- +#endif
- +
- + exit (1);
- +}
- +EOF
- +
- +${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy && rm dummy.c dummy && exit 0
- +rm -f dummy.c dummy
- +
- +# Apollos put the system type in the environment.
- +
- +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
- +
- +# Convex versions that predate uname can use getsysinfo(1)
- +
- +if [ -x /usr/convex/getsysinfo ]
- +then
- + case `getsysinfo -f cpu_type` in
- + c1*)
- + echo c1-convex-bsd
- + exit 0 ;;
- + c2*)
- + if getsysinfo -f scalar_acc
- + then echo c32-convex-bsd
- + else echo c2-convex-bsd
- + fi
- + exit 0 ;;
- + c34*)
- + echo c34-convex-bsd
- + exit 0 ;;
- + c38*)
- + echo c38-convex-bsd
- + exit 0 ;;
- + c4*)
- + echo c4-convex-bsd
- + exit 0 ;;
- + esac
- +fi
- +
- +#echo '(Unable to guess system type)' 1>&2
- +
- +exit 1
- diff -rup --new-file baseline/fsf/fileutils/config.h.in amiga/fsf/fileutils/config.h.in
- --- baseline/fsf/fileutils/config.h.in Sun Jul 7 20:47:16 1996
- +++ amiga/fsf/fileutils/config.h.in Sat Sep 28 00:00:00 1996
- @@ -273,6 +273,9 @@
- /* Define if you have the listmntent function. */
- #undef HAVE_LISTMNTENT
-
- +/* Define if you have the lstat function. */
- +#undef HAVE_LSTAT
- +
- /* Define if you have the memcpy function. */
- #undef HAVE_MEMCPY
-
- @@ -311,6 +314,9 @@
-
- /* Define if you have the valloc function. */
- #undef HAVE_VALLOC
- +
- +/* Define if you have the vfork function. */
- +#undef HAVE_VFORK
-
- /* Define if you have the <argz.h> header file. */
- #undef HAVE_ARGZ_H
- diff -rup --new-file baseline/fsf/fileutils/config.sub amiga/fsf/fileutils/config.sub
- --- baseline/fsf/fileutils/config.sub Wed Dec 31 17:00:00 1969
- +++ amiga/fsf/fileutils/config.sub Sat Sep 28 00:00:00 1996
- @@ -0,0 +1,867 @@
- +#! /bin/sh
- +# Configuration validation subroutine script, version 1.1.
- +# Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
- +# This file is (in principle) common to ALL GNU software.
- +# The presence of a machine in this file suggests that SOME GNU software
- +# can handle that machine. It does not imply ALL GNU software can.
- +#
- +# This file is free software; you can redistribute it and/or modify
- +# it under the terms of the GNU General Public License as published by
- +# the Free Software Foundation; either version 2 of the License, or
- +# (at your option) any later version.
- +#
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY; without even the implied warranty of
- +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- +# GNU General Public License for more details.
- +#
- +# You should have received a copy of the GNU General Public License
- +# along with this program; if not, write to the Free Software
- +# Foundation, Inc., 59 Temple Place - Suite 330,
- +# Boston, MA 02111-1307, USA.
- +
- +# As a special exception to the GNU General Public License, if you
- +# distribute this file as part of a program that contains a
- +# configuration script generated by Autoconf, you may include it under
- +# the same distribution terms that you use for the rest of that program.
- +
- +# Configuration subroutine to validate and canonicalize a configuration type.
- +# Supply the specified configuration type as an argument.
- +# If it is invalid, we print an error message on stderr and exit with code 1.
- +# Otherwise, we print the canonical config type on stdout and succeed.
- +
- +# This file is supposed to be the same for all GNU packages
- +# and recognize all the CPU types, system types and aliases
- +# that are meaningful with *any* GNU software.
- +# Each package is responsible for reporting which valid configurations
- +# it does not support. The user should be able to distinguish
- +# a failure to support a valid configuration from a meaningless
- +# configuration.
- +
- +# The goal of this file is to map all the various variations of a given
- +# machine specification into a single specification in the form:
- +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
- +# It is wrong to echo any other type of specification.
- +
- +if [ x$1 = x ]
- +then
- + echo Configuration name missing. 1>&2
- + echo "Usage: $0 CPU-MFR-OPSYS" 1>&2
- + echo "or $0 ALIAS" 1>&2
- + echo where ALIAS is a recognized configuration type. 1>&2
- + exit 1
- +fi
- +
- +# First pass through any local machine types.
- +case $1 in
- + *local*)
- + echo $1
- + exit 0
- + ;;
- + *)
- + ;;
- +esac
- +
- +# Separate what the user gave into CPU-COMPANY and OS (if any).
- +basic_machine=`echo $1 | sed 's/-[^-]*$//'`
- +if [ $basic_machine != $1 ]
- +then os=`echo $1 | sed 's/.*-/-/'`
- +else os=; fi
- +
- +### Let's recognize common machines as not being operating systems so
- +### that things like config.sub decstation-3100 work. We also
- +### recognize some manufacturers as not being operating systems, so we
- +### can provide default operating systems below.
- +case $os in
- + -sun*os*)
- + # Prevent following clause from handling this invalid input.
- + ;;
- + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
- + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
- + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
- + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
- + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
- + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp )
- + os=
- + basic_machine=$1
- + ;;
- + -hiux*)
- + os=-hiuxwe2
- + ;;
- + -sco4)
- + os=-sco3.2v4
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
- + ;;
- + -sco3.2.[4-9]*)
- + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
- + ;;
- + -sco3.2v[4-9]*)
- + # Don't forget version if it is 3.2v4 or newer.
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
- + ;;
- + -sco*)
- + os=-sco3.2v2
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
- + ;;
- + -isc)
- + os=-isc2.2
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
- + ;;
- + -clix*)
- + basic_machine=clipper-intergraph
- + ;;
- + -isc*)
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
- + ;;
- + -lynx*)
- + os=-lynxos
- + ;;
- + -ptx*)
- + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
- + ;;
- + -windowsnt*)
- + os=`echo $os | sed -e 's/windowsnt/winnt/'`
- + ;;
- +esac
- +
- +# Decode aliases for certain CPU-COMPANY combinations.
- +case $basic_machine in
- + # Recognize the basic CPU types without company name.
- + # Some are omitted here because they have special meanings below.
- + tahoe | i[345]86 | i860 | m68k | m68000 | m88k | ns32k | arm \
- + | arme[lb] | pyramid \
- + | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \
- + | alpha | we32k | ns16k | clipper | sparclite | i370 | sh \
- + | powerpc | powerpcle | sparc64 | 1750a | dsp16xx | mips64 | mipsel \
- + | pdp11 | mips64el | mips64orion | mips64orionel \
- + | sparc)
- + basic_machine=$basic_machine-unknown
- + ;;
- + # Object if more than one company name word.
- + *-*-*)
- + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
- + exit 1
- + ;;
- + # Recognize the basic CPU types with company name.
- + vax-* | tahoe-* | i[345]86-* | i860-* | m68k-* | m68000-* | m88k-* \
- + | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \
- + | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* | power-* \
- + | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \
- + | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \
- + | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \
- + | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \
- + | mips64el-* | mips64orion-* | mips64orionel-*)
- + ;;
- + # Recognize the various machine names and aliases which stand
- + # for a CPU type and a company and sometimes even an OS.
- + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
- + basic_machine=m68000-att
- + ;;
- + 3b*)
- + basic_machine=we32k-att
- + ;;
- + alliant | fx80)
- + basic_machine=fx80-alliant
- + ;;
- + altos | altos3068)
- + basic_machine=m68k-altos
- + ;;
- + am29k)
- + basic_machine=a29k-none
- + os=-bsd
- + ;;
- + amdahl)
- + basic_machine=580-amdahl
- + os=-sysv
- + ;;
- + amiga | amiga-*)
- + basic_machine=m68k-unknown
- + ;;
- + amigaos)
- + basic_machine=m68k-unknown
- + os=-amigaos
- + ;;
- + amigaunix | amix)
- + basic_machine=m68k-cbm
- + os=-sysv4
- + ;;
- + apollo68)
- + basic_machine=m68k-apollo
- + os=-sysv
- + ;;
- + balance)
- + basic_machine=ns32k-sequent
- + os=-dynix
- + ;;
- + convex-c1)
- + basic_machine=c1-convex
- + os=-bsd
- + ;;
- + convex-c2)
- + basic_machine=c2-convex
- + os=-bsd
- + ;;
- + convex-c32)
- + basic_machine=c32-convex
- + os=-bsd
- + ;;
- + convex-c34)
- + basic_machine=c34-convex
- + os=-bsd
- + ;;
- + convex-c38)
- + basic_machine=c38-convex
- + os=-bsd
- + ;;
- + cray | ymp)
- + basic_machine=ymp-cray
- + os=-unicos
- + ;;
- + cray2)
- + basic_machine=cray2-cray
- + os=-unicos
- + ;;
- + crds | unos)
- + basic_machine=m68k-crds
- + ;;
- + da30 | da30-*)
- + basic_machine=m68k-da30
- + ;;
- + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
- + basic_machine=mips-dec
- + ;;
- + delta | 3300 | motorola-3300 | motorola-delta \
- + | 3300-motorola | delta-motorola)
- + basic_machine=m68k-motorola
- + ;;
- + delta88)
- + basic_machine=m88k-motorola
- + os=-sysv3
- + ;;
- + dpx20 | dpx20-*)
- + basic_machine=rs6000-bull
- + os=-bosx
- + ;;
- + dpx2* | dpx2*-bull)
- + basic_machine=m68k-bull
- + os=-sysv3
- + ;;
- + ebmon29k)
- + basic_machine=a29k-amd
- + os=-ebmon
- + ;;
- + elxsi)
- + basic_machine=elxsi-elxsi
- + os=-bsd
- + ;;
- + encore | umax | mmax)
- + basic_machine=ns32k-encore
- + ;;
- + fx2800)
- + basic_machine=i860-alliant
- + ;;
- + genix)
- + basic_machine=ns32k-ns
- + ;;
- + gmicro)
- + basic_machine=tron-gmicro
- + os=-sysv
- + ;;
- + h3050r* | hiux*)
- + basic_machine=hppa1.1-hitachi
- + os=-hiuxwe2
- + ;;
- + h8300hms)
- + basic_machine=h8300-hitachi
- + os=-hms
- + ;;
- + harris)
- + basic_machine=m88k-harris
- + os=-sysv3
- + ;;
- + hp300-*)
- + basic_machine=m68k-hp
- + ;;
- + hp300bsd)
- + basic_machine=m68k-hp
- + os=-bsd
- + ;;
- + hp300hpux)
- + basic_machine=m68k-hp
- + os=-hpux
- + ;;
- + hp9k2[0-9][0-9] | hp9k31[0-9])
- + basic_machine=m68000-hp
- + ;;
- + hp9k3[2-9][0-9])
- + basic_machine=m68k-hp
- + ;;
- + hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7)
- + basic_machine=hppa1.1-hp
- + ;;
- + hp9k8[0-9][0-9] | hp8[0-9][0-9])
- + basic_machine=hppa1.0-hp
- + ;;
- + i370-ibm* | ibm*)
- + basic_machine=i370-ibm
- + os=-mvs
- + ;;
- +# I'm not sure what "Sysv32" means. Should this be sysv3.2?
- + i[345]86v32)
- + basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
- + os=-sysv32
- + ;;
- + i[345]86v4*)
- + basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
- + os=-sysv4
- + ;;
- + i[345]86v)
- + basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
- + os=-sysv
- + ;;
- + i[345]86sol2)
- + basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
- + os=-solaris2
- + ;;
- + iris | iris4d)
- + basic_machine=mips-sgi
- + case $os in
- + -irix*)
- + ;;
- + *)
- + os=-irix4
- + ;;
- + esac
- + ;;
- + isi68 | isi)
- + basic_machine=m68k-isi
- + os=-sysv
- + ;;
- + m88k-omron*)
- + basic_machine=m88k-omron
- + ;;
- + magnum | m3230)
- + basic_machine=mips-mips
- + os=-sysv
- + ;;
- + merlin)
- + basic_machine=ns32k-utek
- + os=-sysv
- + ;;
- + miniframe)
- + basic_machine=m68000-convergent
- + ;;
- + mips3*-*)
- + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
- + ;;
- + mips3*)
- + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
- + ;;
- + ncr3000)
- + basic_machine=i486-ncr
- + os=-sysv4
- + ;;
- + news | news700 | news800 | news900)
- + basic_machine=m68k-sony
- + os=-newsos
- + ;;
- + news1000)
- + basic_machine=m68030-sony
- + os=-newsos
- + ;;
- + news-3600 | risc-news)
- + basic_machine=mips-sony
- + os=-newsos
- + ;;
- + next | m*-next )
- + basic_machine=m68k-next
- + case $os in
- + -nextstep* )
- + ;;
- + -ns2*)
- + os=-nextstep2
- + ;;
- + *)
- + os=-nextstep3
- + ;;
- + esac
- + ;;
- + nh3000)
- + basic_machine=m68k-harris
- + os=-cxux
- + ;;
- + nh[45]000)
- + basic_machine=m88k-harris
- + os=-cxux
- + ;;
- + nindy960)
- + basic_machine=i960-intel
- + os=-nindy
- + ;;
- + np1)
- + basic_machine=np1-gould
- + ;;
- + pa-hitachi)
- + basic_machine=hppa1.1-hitachi
- + os=-hiuxwe2
- + ;;
- + paragon)
- + basic_machine=i860-intel
- + os=-osf
- + ;;
- + pbd)
- + basic_machine=sparc-tti
- + ;;
- + pbb)
- + basic_machine=m68k-tti
- + ;;
- + pc532 | pc532-*)
- + basic_machine=ns32k-pc532
- + ;;
- + pentium | p5 | p6)
- + # We don't have specific support for the Intel Pentium (p6) followon yet, so just call it a Pentium
- + basic_machine=i586-intel
- + ;;
- + pentium-* | p5-* | p6-*)
- + # We don't have specific support for the Intel Pentium (p6) followon yet, so just call it a Pentium
- + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + k5)
- + # We don't have specific support for AMD's K5 yet, so just call it a Pentium
- + basic_machine=i586-amd
- + ;;
- + nexen)
- + # We don't have specific support for Nexgen yet, so just call it a Pentium
- + basic_machine=i586-nexgen
- + ;;
- + pn)
- + basic_machine=pn-gould
- + ;;
- + power) basic_machine=rs6000-ibm
- + ;;
- + ppc) basic_machine=powerpc-unknown
- + ;;
- + ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + ppcle | powerpclittle | ppc-le | powerpc-little)
- + basic_machine=powerpcle-unknown
- + ;;
- + ppcle-* | powerpclittle-*)
- + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
- + ;;
- + ps2)
- + basic_machine=i386-ibm
- + ;;
- + rm[46]00)
- + basic_machine=mips-siemens
- + ;;
- + rtpc | rtpc-*)
- + basic_machine=romp-ibm
- + ;;
- + sequent)
- + basic_machine=i386-sequent
- + ;;
- + sh)
- + basic_machine=sh-hitachi
- + os=-hms
- + ;;
- + sps7)
- + basic_machine=m68k-bull
- + os=-sysv2
- + ;;
- + spur)
- + basic_machine=spur-unknown
- + ;;
- + sun2)
- + basic_machine=m68000-sun
- + ;;
- + sun2os3)
- + basic_machine=m68000-sun
- + os=-sunos3
- + ;;
- + sun2os4)
- + basic_machine=m68000-sun
- + os=-sunos4
- + ;;
- + sun3os3)
- + basic_machine=m68k-sun
- + os=-sunos3
- + ;;
- + sun3os4)
- + basic_machine=m68k-sun
- + os=-sunos4
- + ;;
- + sun4os3)
- + basic_machine=sparc-sun
- + os=-sunos3
- + ;;
- + sun4os4)
- + basic_machine=sparc-sun
- + os=-sunos4
- + ;;
- + sun4sol2)
- + basic_machine=sparc-sun
- + os=-solaris2
- + ;;
- + sun3 | sun3-*)
- + basic_machine=m68k-sun
- + ;;
- + sun4)
- + basic_machine=sparc-sun
- + ;;
- + sun386 | sun386i | roadrunner)
- + basic_machine=i386-sun
- + ;;
- + symmetry)
- + basic_machine=i386-sequent
- + os=-dynix
- + ;;
- + tower | tower-32)
- + basic_machine=m68k-ncr
- + ;;
- + udi29k)
- + basic_machine=a29k-amd
- + os=-udi
- + ;;
- + ultra3)
- + basic_machine=a29k-nyu
- + os=-sym1
- + ;;
- + vaxv)
- + basic_machine=vax-dec
- + os=-sysv
- + ;;
- + vms)
- + basic_machine=vax-dec
- + os=-vms
- + ;;
- + vxworks960)
- + basic_machine=i960-wrs
- + os=-vxworks
- + ;;
- + vxworks68)
- + basic_machine=m68k-wrs
- + os=-vxworks
- + ;;
- + vxworks29k)
- + basic_machine=a29k-wrs
- + os=-vxworks
- + ;;
- + xmp)
- + basic_machine=xmp-cray
- + os=-unicos
- + ;;
- + xps | xps100)
- + basic_machine=xps100-honeywell
- + ;;
- + none)
- + basic_machine=none-none
- + os=-none
- + ;;
- +
- +# Here we handle the default manufacturer of certain CPU types. It is in
- +# some cases the only manufacturer, in others, it is the most popular.
- + mips)
- + basic_machine=mips-mips
- + ;;
- + romp)
- + basic_machine=romp-ibm
- + ;;
- + rs6000)
- + basic_machine=rs6000-ibm
- + ;;
- + vax)
- + basic_machine=vax-dec
- + ;;
- + pdp11)
- + basic_machine=pdp11-dec
- + ;;
- + we32k)
- + basic_machine=we32k-att
- + ;;
- + sparc)
- + basic_machine=sparc-sun
- + ;;
- + cydra)
- + basic_machine=cydra-cydrome
- + ;;
- + orion)
- + basic_machine=orion-highlevel
- + ;;
- + orion105)
- + basic_machine=clipper-highlevel
- + ;;
- + *)
- + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
- + exit 1
- + ;;
- +esac
- +
- +# Here we canonicalize certain aliases for manufacturers.
- +case $basic_machine in
- + *-digital*)
- + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
- + ;;
- + *-commodore*)
- + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
- + ;;
- + *)
- + ;;
- +esac
- +
- +# Decode manufacturer-specific aliases for certain operating systems.
- +
- +if [ x"$os" != x"" ]
- +then
- +case $os in
- + # -solaris* is a basic system type, with this one exception.
- + -solaris1 | -solaris1.*)
- + os=`echo $os | sed -e 's|solaris1|sunos4|'`
- + ;;
- + -solaris)
- + os=-solaris2
- + ;;
- + -unixware* | svr4*)
- + os=-sysv4
- + ;;
- + -gnu/linux*)
- + os=`echo $os | sed -e 's|gnu/linux|linux|'`
- + ;;
- + # First accept the basic system types.
- + # The portable systems comes first.
- + # Each alternative MUST END IN A *, to match a version number.
- + # -sysv* is not here because it comes later, after sysvr4.
- + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
- + | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[345]* \
- + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
- + | -amigaos* | -msdos* | -newsos* | -unicos* | -aos* \
- + | -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \
- + | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
- + | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* \
- + | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
- + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
- + | -udi* | -eabi* | -lites* )
- + # Remember, each alternative MUST END IN *, to match a version number.
- + ;;
- + -sunos5*)
- + os=`echo $os | sed -e 's|sunos5|solaris2|'`
- + ;;
- + -sunos6*)
- + os=`echo $os | sed -e 's|sunos6|solaris3|'`
- + ;;
- + -osfrose*)
- + os=-osfrose
- + ;;
- + -osf*)
- + os=-osf
- + ;;
- + -utek*)
- + os=-bsd
- + ;;
- + -dynix*)
- + os=-bsd
- + ;;
- + -acis*)
- + os=-aos
- + ;;
- + -ctix* | -uts*)
- + os=-sysv
- + ;;
- + # Preserve the version number of sinix5.
- + -sinix5.*)
- + os=`echo $os | sed -e 's|sinix|sysv|'`
- + ;;
- + -sinix*)
- + os=-sysv4
- + ;;
- + -triton*)
- + os=-sysv3
- + ;;
- + -oss*)
- + os=-sysv3
- + ;;
- + -svr4)
- + os=-sysv4
- + ;;
- + -svr3)
- + os=-sysv3
- + ;;
- + -sysvr4)
- + os=-sysv4
- + ;;
- + # This must come after -sysvr4.
- + -sysv*)
- + ;;
- + -xenix)
- + os=-xenix
- + ;;
- + -none)
- + ;;
- + *)
- + # Get rid of the `-' at the beginning of $os.
- + os=`echo $os | sed 's/[^-]*-//'`
- + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
- + exit 1
- + ;;
- +esac
- +else
- +
- +# Here we handle the default operating systems that come with various machines.
- +# The value should be what the vendor currently ships out the door with their
- +# machine or put another way, the most popular os provided with the machine.
- +
- +# Note that if you're going to try to match "-MANUFACTURER" here (say,
- +# "-sun"), then you have to tell the case statement up towards the top
- +# that MANUFACTURER isn't an operating system. Otherwise, code above
- +# will signal an error saying that MANUFACTURER isn't an operating
- +# system, and we'll never get to this point.
- +
- +case $basic_machine in
- + *-acorn)
- + os=-riscix1.2
- + ;;
- + arm*-semi)
- + os=-aout
- + ;;
- + pdp11-*)
- + os=-none
- + ;;
- + *-dec | vax-*)
- + os=-ultrix4.2
- + ;;
- + m68*-apollo)
- + os=-domain
- + ;;
- + i386-sun)
- + os=-sunos4.0.2
- + ;;
- + m68000-sun)
- + os=-sunos3
- + # This also exists in the configure program, but was not the
- + # default.
- + # os=-sunos4
- + ;;
- + *-tti) # must be before sparc entry or we get the wrong os.
- + os=-sysv3
- + ;;
- + sparc-* | *-sun)
- + os=-sunos4.1.1
- + ;;
- + *-ibm)
- + os=-aix
- + ;;
- + *-hp)
- + os=-hpux
- + ;;
- + *-hitachi)
- + os=-hiux
- + ;;
- + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
- + os=-sysv
- + ;;
- + *-cbm)
- + os=-amigaos
- + ;;
- + *-dg)
- + os=-dgux
- + ;;
- + *-dolphin)
- + os=-sysv3
- + ;;
- + m68k-ccur)
- + os=-rtu
- + ;;
- + m88k-omron*)
- + os=-luna
- + ;;
- + *-sequent)
- + os=-ptx
- + ;;
- + *-crds)
- + os=-unos
- + ;;
- + *-ns)
- + os=-genix
- + ;;
- + i370-*)
- + os=-mvs
- + ;;
- + *-next)
- + os=-nextstep3
- + ;;
- + *-gould)
- + os=-sysv
- + ;;
- + *-highlevel)
- + os=-bsd
- + ;;
- + *-encore)
- + os=-bsd
- + ;;
- + *-sgi)
- + os=-irix
- + ;;
- + *-siemens)
- + os=-sysv4
- + ;;
- + *-masscomp)
- + os=-rtu
- + ;;
- + *)
- + os=-none
- + ;;
- +esac
- +fi
- +
- +# Here we handle the case where we know the os, and the CPU type, but not the
- +# manufacturer. We pick the logical manufacturer.
- +vendor=unknown
- +case $basic_machine in
- + *-unknown)
- + case $os in
- + -riscix*)
- + vendor=acorn
- + ;;
- + -sunos*)
- + vendor=sun
- + ;;
- + -lynxos*)
- + vendor=lynx
- + ;;
- + -aix*)
- + vendor=ibm
- + ;;
- + -hpux*)
- + vendor=hp
- + ;;
- + -hiux*)
- + vendor=hitachi
- + ;;
- + -unos*)
- + vendor=crds
- + ;;
- + -dgux*)
- + vendor=dg
- + ;;
- + -luna*)
- + vendor=omron
- + ;;
- + -genix*)
- + vendor=ns
- + ;;
- + -mvs*)
- + vendor=ibm
- + ;;
- + -ptx*)
- + vendor=sequent
- + ;;
- + -vxworks*)
- + vendor=wrs
- + ;;
- + esac
- + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
- + ;;
- +esac
- +
- +echo $basic_machine$os
- diff -rup --new-file baseline/fsf/fileutils/configure amiga/fsf/fileutils/configure
- --- baseline/fsf/fileutils/configure Thu Jul 11 19:50:45 1996
- +++ amiga/fsf/fileutils/configure Mon Sep 30 22:40:21 1996
- @@ -53,6 +53,9 @@ libdir='${exec_prefix}/lib'
- includedir='${prefix}/include'
- oldincludedir='/usr/include'
- infodir='${prefix}/info'
- +guidedir='${prefix}/guide'
- +psdir='${prefix}/ps'
- +dvidir='${prefix}/dvi'
- mandir='${prefix}/man'
-
- # Initialize some other variables.
- @@ -167,6 +170,9 @@ Directory and file names:
- --includedir=DIR C header files in DIR [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
- --infodir=DIR info documentation in DIR [PREFIX/info]
- + --guidedir=DIR Amigaguide documentation in DIR [PREFIX/guide]
- + --psdir=DIR postscript documentation in DIR [PREFIX/ps]
- + --dvidir=DIR TeX dvi documentation in DIR [PREFIX/dvi]
- --mandir=DIR man documentation in DIR [PREFIX/man]
- --srcdir=DIR find the sources in DIR [configure dir or ..]
- --program-prefix=PREFIX prepend PREFIX to installed program names
- @@ -209,6 +215,18 @@ EOF
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir="$ac_optarg" ;;
-
- + -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
- + ac_prev=guidedir ;;
- + -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+ guidedir="$ac_optarg" ;;
- +
- + -psdir | --psdir | --psdi | --psd | --ps)
- + ac_prev=psdir ;;
- + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+ psdir="$ac_optarg" ;;
- +
- + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- + ac_prev=dvidir ;;
- + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+ dvidir="$ac_optarg" ;;
- +
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- @@ -827,7 +845,7 @@ else
- yes;
- #endif
- EOF
- -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
- +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_prog_gcc=yes
- else
- ac_cv_prog_gcc=no
- @@ -854,9 +872,9 @@ fi
-
- echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
- if test $ac_cv_prog_gcc_g = yes; then
- - CFLAGS="-g -O"
- + CFLAGS="-g -O2"
- else
- - CFLAGS="-O"
- + CFLAGS="-O2"
- fi
- fi
- else
- @@ -879,13 +897,13 @@ else
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp.
- cat > conftest.$ac_ext <<EOF
- -#line 883 "configure"
- +#line 901 "configure"
- #include "confdefs.h"
- #include <assert.h>
- Syntax Error
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- :
- @@ -894,13 +912,13 @@ else
- rm -rf conftest*
- CPP="${CC-cc} -E -traditional-cpp"
- cat > conftest.$ac_ext <<EOF
- -#line 898 "configure"
- +#line 916 "configure"
- #include "confdefs.h"
- #include <assert.h>
- Syntax Error
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- :
- @@ -927,7 +945,7 @@ if eval "test \"`echo '$''{'ac_cv_prog_g
- else
- ac_pattern="Autoconf.*'x'"
- cat > conftest.$ac_ext <<EOF
- -#line 931 "configure"
- +#line 949 "configure"
- #include "confdefs.h"
- #include <sgtty.h>
- Autoconf TIOCGETP
- @@ -945,7 +963,7 @@ rm -f conftest*
-
- if test $ac_cv_prog_gcc_traditional = no; then
- cat > conftest.$ac_ext <<EOF
- -#line 949 "configure"
- +#line 967 "configure"
- #include "confdefs.h"
- #include <termio.h>
- Autoconf TCGETA
- @@ -992,6 +1010,7 @@ ac_configure=$ac_aux_dir/configure # Thi
- # SunOS /usr/etc/install
- # IRIX /sbin/install
- # AIX /bin/install
- +# AmigaOS /c/install
- # AFS /usr/afsws/bin/install, which mishandles nonexistent args
- # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
- # ./install, which can be erroneously created by make from ./install.sh.
- @@ -1004,7 +1023,7 @@ else
- for ac_dir in $PATH; do
- # Account for people who put trailing slashes in PATH elements.
- case "$ac_dir/" in
- - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
- + /|./|.//|/etc/*|/c/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- for ac_prog in ginstall installbsd scoinst install; do
- @@ -1044,7 +1063,86 @@ test -z "$INSTALL_PROGRAM" && INSTALL_PR
-
- test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
- -# Extract the first word of "ranlib", so it can be a program name with args.
- +
- +# Make sure we can run config.sub.
- +if $ac_config_sub sun4 >/dev/null 2>&1; then :
- +else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
- +fi
- +
- +echo $ac_n "checking host system type""... $ac_c" 1>&6
- +
- +host_alias=$host
- +case "$host_alias" in
- +NONE)
- + case $nonopt in
- + NONE)
- + if host_alias=`$ac_config_guess`; then :
- + else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
- + fi ;;
- + *) host_alias=$nonopt ;;
- + esac ;;
- +esac
- +
- +host=`$ac_config_sub $host_alias`
- +host_cpu=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
- +host_vendor=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
- +host_os=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
- +echo "$ac_t""$host" 1>&6
- +
- +echo $ac_n "checking build system type""... $ac_c" 1>&6
- +
- +build_alias=$build
- +case "$build_alias" in
- +NONE)
- + case $nonopt in
- + NONE) build_alias=$host_alias ;;
- + *) build_alias=$nonopt ;;
- + esac ;;
- +esac
- +
- +build=`$ac_config_sub $build_alias`
- +build_cpu=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
- +build_vendor=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
- +build_os=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
- +echo "$ac_t""$build" 1>&6
- +
- +if test $host != $build; then
- + ac_tool_prefix=${host_alias}-
- +else
- + ac_tool_prefix=
- +fi
- +
- +# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
- +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
- +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + if test -n "$RANLIB"; then
- + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
- +else
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- + for ac_dir in $PATH; do
- + test -z "$ac_dir" && ac_dir=.
- + if test -f $ac_dir/$ac_word; then
- + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- + break
- + fi
- + done
- + IFS="$ac_save_ifs"
- +fi
- +fi
- +RANLIB="$ac_cv_prog_RANLIB"
- +if test -n "$RANLIB"; then
- + echo "$ac_t""$RANLIB" 1>&6
- +else
- + echo "$ac_t""no" 1>&6
- +fi
- +
- +
- +if test -z "$ac_cv_prog_RANLIB"; then
- +if test -n "$ac_tool_prefix"; then
- + # Extract the first word of "ranlib", so it can be a program name with args.
- set dummy ranlib; ac_word=$2
- echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
- @@ -1072,6 +1170,41 @@ else
- echo "$ac_t""no" 1>&6
- fi
-
- +else
- + RANLIB=":"
- +fi
- +fi
- +
- +# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
- +set dummy ${ac_tool_prefix}ar; ac_word=$2
- +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- +if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + if test -n "$AR"; then
- + ac_cv_prog_AR="$AR" # Let the user override the test.
- +else
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- + for ac_dir in $PATH; do
- + test -z "$ac_dir" && ac_dir=.
- + if test -f $ac_dir/$ac_word; then
- + ac_cv_prog_AR="${ac_tool_prefix}ar"
- + break
- + fi
- + done
- + IFS="$ac_save_ifs"
- + test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
- +fi
- +fi
- +AR="$ac_cv_prog_AR"
- +if test -n "$AR"; then
- + echo "$ac_t""$AR" 1>&6
- +else
- + echo "$ac_t""no" 1>&6
- +fi
- +
- +
- +
- for ac_prog in 'bison -y' byacc
- do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
- @@ -1107,7 +1240,7 @@ test -n "$YACC" || YACC="yacc"
-
- echo $ac_n "checking for AIX""... $ac_c" 1>&6
- cat > conftest.$ac_ext <<EOF
- -#line 1111 "configure"
- +#line 1244 "configure"
- #include "confdefs.h"
- #ifdef _AIX
- yes
- @@ -1134,12 +1267,12 @@ if eval "test \"`echo '$''{'ac_cv_header
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1138 "configure"
- +#line 1271 "configure"
- #include "confdefs.h"
- #include <minix/config.h>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:1143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:1276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -1211,7 +1344,7 @@ for ac_arg in "" -qlanglvl=ansi -std1 "-
- do
- CFLAGS="$ac_save_CFLAGS $ac_arg"
- cat > conftest.$ac_ext <<EOF
- -#line 1215 "configure"
- +#line 1348 "configure"
- #include "confdefs.h"
- #if !defined(__STDC__) || __STDC__ != 1
- choke me
- @@ -1227,7 +1360,7 @@ struct s1 {int (*f) (int a);};
- struct s2 {int (*f) (double a);};
- ; return 0; }
- EOF
- -if { (eval echo configure:1231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- +if { (eval echo configure:1364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_prog_cc_stdc="$ac_arg"; break
- fi
- @@ -1264,15 +1397,15 @@ if eval "test \"`echo '$''{'ac_cv_header
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1268 "configure"
- +#line 1401 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
- return makedev(0, 0);
- ; return 0; }
- EOF
- -if { (eval echo configure:1276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:1409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- ac_cv_header_sys_types_h_makedev=yes
- else
- @@ -1293,12 +1426,12 @@ if eval "test \"`echo '$''{'ac_cv_header
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1297 "configure"
- +#line 1430 "configure"
- #include "confdefs.h"
- #include <sys/mkdev.h>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:1302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:1435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -1328,12 +1461,12 @@ if eval "test \"`echo '$''{'ac_cv_header
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1332 "configure"
- +#line 1465 "configure"
- #include "confdefs.h"
- #include <sys/sysmacros.h>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:1337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:1470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -1367,7 +1500,7 @@ if eval "test \"`echo '$''{'ac_cv_header
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1371 "configure"
- +#line 1504 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <$ac_hdr>
- @@ -1376,7 +1509,7 @@ int t() {
- DIR *dirp = 0;
- ; return 0; }
- EOF
- -if { (eval echo configure:1380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- +if { (eval echo configure:1513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_header_dirent_$ac_safe=yes"
- else
- @@ -1407,19 +1540,19 @@ else
- ac_save_LIBS="$LIBS"
- LIBS="-ldir $LIBS"
- cat > conftest.$ac_ext <<EOF
- -#line 1411 "configure"
- +#line 1544 "configure"
- #include "confdefs.h"
- /* Override any gcc2 internal prototype to avoid an error. */
- /* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
- char opendir();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
- opendir()
- ; return 0; }
- EOF
- -if { (eval echo configure:1423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:1556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
- else
- @@ -1446,19 +1579,19 @@ else
- ac_save_LIBS="$LIBS"
- LIBS="-lx $LIBS"
- cat > conftest.$ac_ext <<EOF
- -#line 1450 "configure"
- +#line 1583 "configure"
- #include "confdefs.h"
- /* Override any gcc2 internal prototype to avoid an error. */
- /* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
- char opendir();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
- opendir()
- ; return 0; }
- EOF
- -if { (eval echo configure:1462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:1595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
- else
- @@ -1487,11 +1620,11 @@ else
- ac_cv_c_cross=yes
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1491 "configure"
- +#line 1624 "configure"
- #include "confdefs.h"
- main(){return(0);}
- EOF
- -{ (eval echo configure:1495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- +{ (eval echo configure:1628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ac_cv_c_cross=no
- else
- @@ -1512,13 +1645,13 @@ else
- ac_cv_func_closedir_void=yes
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1516 "configure"
- +#line 1649 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <$ac_header_dirent>
- int closedir(); main() { exit(closedir(opendir(".")) != 0); }
- EOF
- -{ (eval echo configure:1522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- +{ (eval echo configure:1655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ac_cv_func_closedir_void=no
- else
- @@ -1542,7 +1675,7 @@ if eval "test \"`echo '$''{'ac_cv_type_u
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1546 "configure"
- +#line 1679 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- EOF
- @@ -1578,7 +1711,7 @@ else
- ac_cv_type_getgroups=cross
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1582 "configure"
- +#line 1715 "configure"
- #include "confdefs.h"
-
- /* Thanks to Mike Rendell for this test. */
- @@ -1603,7 +1736,7 @@ main()
- }
-
- EOF
- -{ (eval echo configure:1607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- +{ (eval echo configure:1740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ac_cv_type_getgroups=gid_t
- else
- @@ -1613,7 +1746,7 @@ fi
- rm -fr conftest*
- if test $ac_cv_type_getgroups = cross; then
- cat > conftest.$ac_ext <<EOF
- -#line 1617 "configure"
- +#line 1750 "configure"
- #include "confdefs.h"
- #include <unistd.h>
- EOF
- @@ -1641,7 +1774,7 @@ if eval "test \"`echo '$''{'ac_cv_header
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1645 "configure"
- +#line 1778 "configure"
- #include "confdefs.h"
- #include <stdlib.h>
- #include <stdarg.h>
- @@ -1649,7 +1782,7 @@ else
- #include <float.h>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:1653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:1786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -1664,7 +1797,7 @@ rm -f conftest*
- if test $ac_cv_header_stdc = yes; then
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
- cat > conftest.$ac_ext <<EOF
- -#line 1668 "configure"
- +#line 1801 "configure"
- #include "confdefs.h"
- #include <string.h>
- EOF
- @@ -1682,7 +1815,7 @@ fi
- if test $ac_cv_header_stdc = yes; then
- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
- cat > conftest.$ac_ext <<EOF
- -#line 1686 "configure"
- +#line 1819 "configure"
- #include "confdefs.h"
- #include <stdlib.h>
- EOF
- @@ -1703,7 +1836,7 @@ if test "$cross_compiling" = yes; then
- :
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1707 "configure"
- +#line 1840 "configure"
- #include "confdefs.h"
- #include <ctype.h>
- #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
- @@ -1714,7 +1847,7 @@ if (XOR (islower (i), ISLOWER (i)) || to
- exit (0); }
-
- EOF
- -{ (eval echo configure:1718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- +{ (eval echo configure:1851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- :
- else
- @@ -1738,7 +1871,7 @@ if eval "test \"`echo '$''{'ac_cv_type_m
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1742 "configure"
- +#line 1875 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #if STDC_HEADERS
- @@ -1769,7 +1902,7 @@ if eval "test \"`echo '$''{'ac_cv_type_o
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1773 "configure"
- +#line 1906 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #if STDC_HEADERS
- @@ -1800,7 +1933,7 @@ if eval "test \"`echo '$''{'ac_cv_type_s
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1804 "configure"
- +#line 1937 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <signal.h>
- @@ -1818,7 +1951,7 @@ int t() {
- int i;
- ; return 0; }
- EOF
- -if { (eval echo configure:1822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- +if { (eval echo configure:1955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_type_signal=void
- else
- @@ -1840,7 +1973,7 @@ if eval "test \"`echo '$''{'ac_cv_type_s
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1844 "configure"
- +#line 1977 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #if STDC_HEADERS
- @@ -1871,7 +2004,7 @@ if eval "test \"`echo '$''{'ac_cv_type_u
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1875 "configure"
- +#line 2008 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- EOF
- @@ -1904,7 +2037,7 @@ if eval "test \"`echo '$''{'ac_cv_type_i
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1908 "configure"
- +#line 2041 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #if STDC_HEADERS
- @@ -1936,7 +2069,7 @@ if eval "test \"`echo '$''{'ac_cv_c_cons
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 1940 "configure"
- +#line 2073 "configure"
- #include "confdefs.h"
-
- int main() { return 0; }
- @@ -1986,7 +2119,7 @@ ccp = (char const *const *) p;
-
- ; return 0; }
- EOF
- -if { (eval echo configure:1990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- +if { (eval echo configure:2123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_c_const=yes
- else
- @@ -2010,7 +2143,7 @@ if eval "test \"`echo '$''{'ac_cv_header
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2014 "configure"
- +#line 2147 "configure"
- #include "confdefs.h"
- #include <stdlib.h>
- #include <stdarg.h>
- @@ -2018,7 +2151,7 @@ else
- #include <float.h>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:2022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:2155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -2033,7 +2166,7 @@ rm -f conftest*
- if test $ac_cv_header_stdc = yes; then
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
- cat > conftest.$ac_ext <<EOF
- -#line 2037 "configure"
- +#line 2170 "configure"
- #include "confdefs.h"
- #include <string.h>
- EOF
- @@ -2051,7 +2184,7 @@ fi
- if test $ac_cv_header_stdc = yes; then
- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
- cat > conftest.$ac_ext <<EOF
- -#line 2055 "configure"
- +#line 2188 "configure"
- #include "confdefs.h"
- #include <stdlib.h>
- EOF
- @@ -2072,7 +2205,7 @@ if test "$cross_compiling" = yes; then
- :
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2076 "configure"
- +#line 2209 "configure"
- #include "confdefs.h"
- #include <ctype.h>
- #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
- @@ -2083,7 +2216,7 @@ if (XOR (islower (i), ISLOWER (i)) || to
- exit (0); }
-
- EOF
- -{ (eval echo configure:2087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- +{ (eval echo configure:2220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- :
- else
- @@ -2107,7 +2240,7 @@ if eval "test \"`echo '$''{'ac_cv_struct
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2111 "configure"
- +#line 2244 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <time.h>
- @@ -2116,7 +2249,7 @@ int t() {
- struct tm *tp; tp->tm_sec;
- ; return 0; }
- EOF
- -if { (eval echo configure:2120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- +if { (eval echo configure:2253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_struct_tm=time.h
- else
- @@ -2140,7 +2273,7 @@ if eval "test \"`echo '$''{'ac_cv_struct
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2144 "configure"
- +#line 2277 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <sys/stat.h>
- @@ -2149,7 +2282,7 @@ int t() {
- struct stat s; s.st_blocks;
- ; return 0; }
- EOF
- -if { (eval echo configure:2153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- +if { (eval echo configure:2286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_struct_st_blocks=yes
- else
- @@ -2175,7 +2308,7 @@ if eval "test \"`echo '$''{'ac_cv_header
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2179 "configure"
- +#line 2312 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <sys/time.h>
- @@ -2185,7 +2318,7 @@ int t() {
- struct tm *tp;
- ; return 0; }
- EOF
- -if { (eval echo configure:2189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- +if { (eval echo configure:2322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_header_time=yes
- else
- @@ -2209,7 +2342,7 @@ if eval "test \"`echo '$''{'ac_cv_header
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2213 "configure"
- +#line 2346 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <sys/stat.h>
- @@ -2271,12 +2404,12 @@ if eval "test \"`echo '$''{'ac_cv_header
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2275 "configure"
- +#line 2408 "configure"
- #include "confdefs.h"
- #include <$ac_hdr>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:2280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:2413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -2309,7 +2442,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2313 "configure"
- +#line 2446 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
- @@ -2319,7 +2452,7 @@ else
- builtin and then its argument prototype would still apply. */
- char $ac_func();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
-
- /* The GNU C library defines this for functions which it implements
- @@ -2333,7 +2466,7 @@ $ac_func();
-
- ; return 0; }
- EOF
- -if { (eval echo configure:2337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:2470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
- else
- @@ -2358,7 +2491,7 @@ if eval "test \"`echo '$''{'ac_cv_func_g
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2362 "configure"
- +#line 2495 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char getopt_long(); below. */
- @@ -2368,7 +2501,7 @@ else
- builtin and then its argument prototype would still apply. */
- char getopt_long();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
-
- /* The GNU C library defines this for functions which it implements
- @@ -2382,7 +2515,7 @@ getopt_long();
-
- ; return 0; }
- EOF
- -if { (eval echo configure:2386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:2519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_func_getopt_long=yes"
- else
- @@ -2402,15 +2535,15 @@ fi
-
-
- for ac_func in bcopy endgrent endpwent fchdir ftime ftruncate \
- - getcwd getgroups getmntinfo gettimeofday isascii lchown \
- - listmntent memcpy mkfifo strchr strerror strrchr
- + getcwd getgroups getmntinfo gettimeofday isascii lchown lstat\
- + listmntent memcpy mkfifo strchr strerror strrchr vfork
- do
- echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
- if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2414 "configure"
- +#line 2547 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
- @@ -2420,7 +2553,7 @@ else
- builtin and then its argument prototype would still apply. */
- char $ac_func();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
-
- /* The GNU C library defines this for functions which it implements
- @@ -2434,7 +2567,7 @@ $ac_func();
-
- ; return 0; }
- EOF
- -if { (eval echo configure:2438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:2571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
- else
- @@ -2462,18 +2595,18 @@ if eval "test \"`echo '$''{'am_cv_sys_po
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2466 "configure"
- +#line 2599 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <unistd.h>
- #include <termios.h>
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
- /* SunOS 4.0.3 has termios.h but not the library calls. */
- tcgetattr(0, 0);
- ; return 0; }
- EOF
- -if { (eval echo configure:2477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:2610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- am_cv_sys_posix_termios=yes
- else
- @@ -2496,7 +2629,7 @@ else
- gwinsz_in_termios_h=no
- if test $am_cv_sys_posix_termios = yes; then
- cat > conftest.$ac_ext <<EOF
- -#line 2500 "configure"
- +#line 2633 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- # include <termios.h>
- @@ -2516,7 +2649,7 @@ rm -f conftest*
-
- if test $gwinsz_in_termios_h = no; then
- cat > conftest.$ac_ext <<EOF
- -#line 2520 "configure"
- +#line 2653 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- # include <sys/ioctl.h>
- @@ -2550,7 +2683,7 @@ if eval "test \"`echo '$''{'ac_cv_func_v
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2554 "configure"
- +#line 2687 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char vprintf(); below. */
- @@ -2560,7 +2693,7 @@ else
- builtin and then its argument prototype would still apply. */
- char vprintf();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
-
- /* The GNU C library defines this for functions which it implements
- @@ -2574,7 +2707,7 @@ vprintf();
-
- ; return 0; }
- EOF
- -if { (eval echo configure:2578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:2711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_func_vprintf=yes"
- else
- @@ -2600,7 +2733,7 @@ if eval "test \"`echo '$''{'ac_cv_func__
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2604 "configure"
- +#line 2737 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char _doprnt(); below. */
- @@ -2610,7 +2743,7 @@ else
- builtin and then its argument prototype would still apply. */
- char _doprnt();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
-
- /* The GNU C library defines this for functions which it implements
- @@ -2624,7 +2757,7 @@ _doprnt();
-
- ; return 0; }
- EOF
- -if { (eval echo configure:2628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:2761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_func__doprnt=yes"
- else
- @@ -2653,15 +2786,15 @@ if eval "test \"`echo '$''{'ac_cv_header
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2657 "configure"
- +#line 2790 "configure"
- #include "confdefs.h"
- #include <alloca.h>
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
- char *p = alloca(2 * sizeof(int));
- ; return 0; }
- EOF
- -if { (eval echo configure:2665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:2798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- ac_cv_header_alloca_h=yes
- else
- @@ -2685,7 +2818,7 @@ if eval "test \"`echo '$''{'ac_cv_func_a
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2689 "configure"
- +#line 2822 "configure"
- #include "confdefs.h"
-
- #ifdef __GNUC__
- @@ -2704,12 +2837,12 @@ char *alloca ();
- # endif
- #endif
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
- char *p = (char *) alloca(1);
- ; return 0; }
- EOF
- -if { (eval echo configure:2713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:2846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- ac_cv_func_alloca=yes
- else
- @@ -2744,7 +2877,7 @@ if eval "test \"`echo '$''{'ac_cv_os_cra
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2748 "configure"
- +#line 2881 "configure"
- #include "confdefs.h"
- #if defined(CRAY) && ! defined(CRAY2)
- webecray
- @@ -2773,7 +2906,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2777 "configure"
- +#line 2910 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
- @@ -2783,7 +2916,7 @@ else
- builtin and then its argument prototype would still apply. */
- char $ac_func();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
-
- /* The GNU C library defines this for functions which it implements
- @@ -2797,7 +2930,7 @@ $ac_func();
-
- ; return 0; }
- EOF
- -if { (eval echo configure:2801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:2934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
- else
- @@ -2829,7 +2962,7 @@ else
- ac_cv_c_stack_direction=0
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2833 "configure"
- +#line 2966 "configure"
- #include "confdefs.h"
- find_stack_direction ()
- {
- @@ -2848,7 +2981,7 @@ main ()
- exit (find_stack_direction() < 0);
- }
- EOF
- -{ (eval echo configure:2852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- +{ (eval echo configure:2985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ac_cv_c_stack_direction=1
- else
- @@ -2875,7 +3008,7 @@ if test "$cross_compiling" = yes; then
- ac_cv_func_utime_null=no
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2879 "configure"
- +#line 3012 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <sys/stat.h>
- @@ -2886,7 +3019,7 @@ exit(!(stat ("conftestdata", &s) == 0 &&
- && t.st_mtime - s.st_mtime < 120));
- }
- EOF
- -{ (eval echo configure:2890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- +{ (eval echo configure:3023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ac_cv_func_utime_null=yes
- else
- @@ -2911,7 +3044,7 @@ if eval "test \"`echo '$''{'fu_cv_sys_st
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2915 "configure"
- +#line 3048 "configure"
- #include "confdefs.h"
- #ifdef TIME_WITH_SYS_TIME
- #include <sys/time.h>
- @@ -2931,7 +3064,7 @@ int t() {
- static struct utimbuf x; x.actime = x.modtime;
- ; return 0; }
- EOF
- -if { (eval echo configure:2935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- +if { (eval echo configure:3068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- fu_cv_sys_struct_utimbuf=yes
- else
- @@ -2958,7 +3091,7 @@ else
- fu_cv_sys_working_fnmatch=no
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2962 "configure"
- +#line 3095 "configure"
- #include "confdefs.h"
-
- #include <fnmatch.h>
- @@ -2970,7 +3103,7 @@ main ()
- ? 0 : 1);
- }
- EOF
- -{ (eval echo configure:2974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- +{ (eval echo configure:3107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- fu_cv_sys_working_fnmatch=yes
- else
- @@ -2990,7 +3123,7 @@ if eval "test \"`echo '$''{'fu_cv_sys_d_
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 2994 "configure"
- +#line 3127 "configure"
- #include "confdefs.h"
-
- #include <sys/types.h>
- @@ -3009,12 +3142,12 @@ else
- # endif /* HAVE_NDIR_H */
- #endif /* HAVE_DIRENT_H */
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
- struct dirent dp; dp.d_ino = 0;
- ; return 0; }
- EOF
- -if { (eval echo configure:3018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:3151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- fu_cv_sys_d_ino_in_dirent=yes
- else
- @@ -3047,19 +3180,19 @@ else
- ac_save_LIBS="$LIBS"
- LIBS="-lsun $LIBS"
- cat > conftest.$ac_ext <<EOF
- -#line 3051 "configure"
- +#line 3184 "configure"
- #include "confdefs.h"
- /* Override any gcc2 internal prototype to avoid an error. */
- /* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
- char getmntent();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
- getmntent()
- ; return 0; }
- EOF
- -if { (eval echo configure:3063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:3196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
- else
- @@ -3083,19 +3216,19 @@ else
- ac_save_LIBS="$LIBS"
- LIBS="-lseq $LIBS"
- cat > conftest.$ac_ext <<EOF
- -#line 3087 "configure"
- +#line 3220 "configure"
- #include "confdefs.h"
- /* Override any gcc2 internal prototype to avoid an error. */
- /* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
- char getmntent();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
- getmntent()
- ; return 0; }
- EOF
- -if { (eval echo configure:3099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:3232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
- else
- @@ -3119,19 +3252,19 @@ else
- ac_save_LIBS="$LIBS"
- LIBS="-lgen $LIBS"
- cat > conftest.$ac_ext <<EOF
- -#line 3123 "configure"
- +#line 3256 "configure"
- #include "confdefs.h"
- /* Override any gcc2 internal prototype to avoid an error. */
- /* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
- char getmntent();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
- getmntent()
- ; return 0; }
- EOF
- -if { (eval echo configure:3135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:3268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
- else
- @@ -3158,7 +3291,7 @@ if eval "test \"`echo '$''{'ac_cv_func_g
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3162 "configure"
- +#line 3295 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char getmntent(); below. */
- @@ -3168,7 +3301,7 @@ else
- builtin and then its argument prototype would still apply. */
- char getmntent();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
-
- /* The GNU C library defines this for functions which it implements
- @@ -3182,7 +3315,7 @@ getmntent();
-
- ; return 0; }
- EOF
- -if { (eval echo configure:3186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:3319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_func_getmntent=yes"
- else
- @@ -3220,7 +3353,7 @@ if test -z "$list_mounted_fs"; then
- else
- fu_cv_sys_mounted_cray_listmntent=no
- cat > conftest.$ac_ext <<EOF
- -#line 3224 "configure"
- +#line 3357 "configure"
- #include "confdefs.h"
- #ifdef _CRAY
- yes
- @@ -3283,7 +3416,7 @@ EOF
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3287 "configure"
- +#line 3420 "configure"
- #include "confdefs.h"
- #include <sys/mnttab.h>
- EOF
- @@ -3310,7 +3443,9 @@ EOF
- fi
-
- if test -z "$list_mounted_fs"; then
- - { echo "configure: error: could not determine how to read list of mounted filesystems" 1>&2; exit 1; }
- + echo "configure: warning: could not determine how to read list of mounted filesystems" 1>&2
- + # FIXME -- no need to abort building the whole package
- + # Can't build mountlist.c or anything that needs its functions
- fi
-
- fi
- @@ -3322,19 +3457,19 @@ if test -z "$list_mounted_fs"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3326 "configure"
- +#line 3461 "configure"
- #include "confdefs.h"
-
- #include <sys/types.h>
- #include <sys/mount.h>
- #include <sys/fs_types.h>
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
- struct statfs *stats;
- numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT);
- ; return 0; }
- EOF
- -if { (eval echo configure:3338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:3473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- fu_cv_sys_mounted_getsstat=yes
- else
- @@ -3362,12 +3497,12 @@ if test -z "$list_mounted_fs"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3366 "configure"
- +#line 3501 "configure"
- #include "confdefs.h"
- #include <fshelp.h>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:3371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:3506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -3397,7 +3532,7 @@ if test -z "$list_mounted_fs"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3401 "configure"
- +#line 3536 "configure"
- #include "confdefs.h"
-
- #include <sys/statfs.h>
- @@ -3405,7 +3540,7 @@ else
- #include <mnttab.h>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:3409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:3544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -3438,7 +3573,7 @@ else
- ok=
- if test $ac_cv_func_getmntinfo = yes; then
- cat > conftest.$ac_ext <<EOF
- -#line 3442 "configure"
- +#line 3577 "configure"
- #include "confdefs.h"
- #include <sys/mount.h>
- EOF
- @@ -3475,14 +3610,14 @@ if test -z "$list_mounted_fs"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3479 "configure"
- +#line 3614 "configure"
- #include "confdefs.h"
-
- #include <sys/fs_types.h>
- #include <sys/mount.h>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:3486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:3621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -3512,12 +3647,12 @@ if test -z "$list_mounted_fs"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3516 "configure"
- +#line 3651 "configure"
- #include "confdefs.h"
- #include <mnttab.h>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:3521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:3656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -3541,7 +3676,7 @@ EOF
- fi
-
- if test -z "$list_mounted_fs"; then
- - { echo "configure: error: could not determine how to read list of mounted filesystems" 1>&2; exit 1; }
- + echo "configure: warning: could not determine how to read list of mounted filesystems" 1>&2
- # FIXME -- no need to abort building the whole package
- # Can't build mountlist.c or anything that needs its functions
- fi
- @@ -3560,7 +3695,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3564 "configure"
- +#line 3699 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
- @@ -3570,7 +3705,7 @@ else
- builtin and then its argument prototype would still apply. */
- char $ac_func();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
-
- /* The GNU C library defines this for functions which it implements
- @@ -3584,7 +3719,7 @@ $ac_func();
-
- ; return 0; }
- EOF
- -if { (eval echo configure:3588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:3723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
- else
- @@ -3625,7 +3760,7 @@ else
- fu_cv_sys_stat_statfs3_osf1=no
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3629 "configure"
- +#line 3764 "configure"
- #include "confdefs.h"
-
- #include <sys/param.h>
- @@ -3638,7 +3773,7 @@ cat > conftest.$ac_ext <<EOF
- exit (statfs (".", &fsd, sizeof (struct statfs)));
- }
- EOF
- -{ (eval echo configure:3642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- +{ (eval echo configure:3777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- fu_cv_sys_stat_statfs3_osf1=yes
- else
- @@ -3658,7 +3793,9 @@ EOF
- fi
- fi
-
- -if test $space = no; then
- +# Amiga hack - short circuit this test since it matches and prevents
- +# us from finding the 4.4 BSD case below that we really want.
- +if false; then
- # AIX
- echo $ac_n "checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)""... $ac_c" 1>&6
- if eval "test \"`echo '$''{'fu_cv_sys_stat_statfs2_bsize'+set}'`\" = set"; then
- @@ -3668,7 +3805,7 @@ else
- fu_cv_sys_stat_statfs2_bsize=no
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3672 "configure"
- +#line 3809 "configure"
- #include "confdefs.h"
-
- #ifdef HAVE_SYS_PARAM_H
- @@ -3687,7 +3824,7 @@ cat > conftest.$ac_ext <<EOF
- exit (statfs (".", &fsd));
- }
- EOF
- -{ (eval echo configure:3691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- +{ (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- fu_cv_sys_stat_statfs2_bsize=yes
- else
- @@ -3717,7 +3854,7 @@ else
- fu_cv_sys_stat_statfs4=no
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3721 "configure"
- +#line 3858 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <sys/statfs.h>
- @@ -3727,7 +3864,7 @@ cat > conftest.$ac_ext <<EOF
- exit (statfs (".", &fsd, sizeof fsd, 0));
- }
- EOF
- -{ (eval echo configure:3731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- +{ (eval echo configure:3868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- fu_cv_sys_stat_statfs4=yes
- else
- @@ -3757,7 +3894,7 @@ else
- fu_cv_sys_stat_statfs2_fsize=no
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3761 "configure"
- +#line 3898 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #ifdef HAVE_SYS_PARAM_H
- @@ -3773,7 +3910,7 @@ cat > conftest.$ac_ext <<EOF
- exit (statfs (".", &fsd));
- }
- EOF
- -{ (eval echo configure:3777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- +{ (eval echo configure:3914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- fu_cv_sys_stat_statfs2_fsize=yes
- else
- @@ -3803,7 +3940,7 @@ else
- fu_cv_sys_stat_fs_data=no
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3807 "configure"
- +#line 3944 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #ifdef HAVE_SYS_PARAM_H
- @@ -3823,7 +3960,7 @@ cat > conftest.$ac_ext <<EOF
- exit (statfs (".", &fsd) != 1);
- }
- EOF
- -{ (eval echo configure:3827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- +{ (eval echo configure:3964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- fu_cv_sys_stat_fs_data=yes
- else
- @@ -3846,12 +3983,12 @@ fi
- if test $space = no; then
- # SVR2
- cat > conftest.$ac_ext <<EOF
- -#line 3850 "configure"
- +#line 3987 "configure"
- #include "confdefs.h"
- #include <sys/filsys.h>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:3855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:3992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -3878,7 +4015,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3882 "configure"
- +#line 4019 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
- @@ -3888,7 +4025,7 @@ else
- builtin and then its argument prototype would still apply. */
- char $ac_func();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
-
- /* The GNU C library defines this for functions which it implements
- @@ -3902,7 +4039,7 @@ $ac_func();
-
- ; return 0; }
- EOF
- -if { (eval echo configure:3906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:4043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
- else
- @@ -3932,12 +4069,12 @@ if test "$ftruncate_missing" = yes; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3936 "configure"
- +#line 4073 "configure"
- #include "confdefs.h"
-
- #include <sys/types.h>
- #include <fcntl.h>
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
-
- #if !defined(F_CHSIZE) && !defined(F_FREESP)
- @@ -3946,7 +4083,7 @@ chsize();
-
- ; return 0; }
- EOF
- -if { (eval echo configure:3950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:4087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- fu_cv_sys_ftruncate_emulation=yes
- else
- @@ -3977,7 +4114,7 @@ if eval "test \"`echo '$''{'fu_cv_sys_tr
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 3981 "configure"
- +#line 4118 "configure"
- #include "confdefs.h"
-
- #include <sys/types.h>
- @@ -3987,7 +4124,7 @@ int t() {
- struct statfs t; long c = *(t.f_spare);
- ; return 0; }
- EOF
- -if { (eval echo configure:3991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- +if { (eval echo configure:4128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- fu_cv_sys_truncating_statfs=yes
- else
- @@ -4013,7 +4150,7 @@ if eval "test \"`echo '$''{'ac_cv_func_g
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 4017 "configure"
- +#line 4154 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char getgroups(); below. */
- @@ -4023,7 +4160,7 @@ else
- builtin and then its argument prototype would still apply. */
- char getgroups();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
-
- /* The GNU C library defines this for functions which it implements
- @@ -4037,7 +4174,7 @@ getgroups();
-
- ; return 0; }
- EOF
- -if { (eval echo configure:4041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:4178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_func_getgroups=yes"
- else
- @@ -4060,19 +4197,19 @@ else
- ac_save_LIBS="$LIBS"
- LIBS="-lbsd $LIBS"
- cat > conftest.$ac_ext <<EOF
- -#line 4064 "configure"
- +#line 4201 "configure"
- #include "confdefs.h"
- /* Override any gcc2 internal prototype to avoid an error. */
- /* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
- char getgroups();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
- getgroups()
- ; return 0; }
- EOF
- -if { (eval echo configure:4076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:4213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
- else
- @@ -4085,7 +4222,7 @@ LIBS="$ac_save_LIBS"
- fi
- if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- - ac_tr_lib=HAVE_LIB`echo bsd | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- + ac_tr_lib=HAVE_LIB`echo bsd | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
- cat >> confdefs.h <<EOF
- #define $ac_tr_lib 1
- EOF
- @@ -4108,15 +4245,15 @@ else
- ac_save_LIBS="$LIBS"
- LIBS="-lypsec $LIBS"
- cat > conftest.$ac_ext <<EOF
- -#line 4112 "configure"
- +#line 4249 "configure"
- #include "confdefs.h"
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
- main()
- ; return 0; }
- EOF
- -if { (eval echo configure:4120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:4257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
- else
- @@ -4129,7 +4266,7 @@ LIBS="$ac_save_LIBS"
- fi
- if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- - ac_tr_lib=HAVE_LIB`echo ypsec | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- + ac_tr_lib=HAVE_LIB`echo ypsec | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
- cat >> confdefs.h <<EOF
- #define $ac_tr_lib 1
- EOF
- @@ -4150,15 +4287,15 @@ else
- ac_save_LIBS="$LIBS"
- LIBS="-lldgc $LIBS"
- cat > conftest.$ac_ext <<EOF
- -#line 4154 "configure"
- +#line 4291 "configure"
- #include "confdefs.h"
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
- main()
- ; return 0; }
- EOF
- -if { (eval echo configure:4162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:4299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
- else
- @@ -4171,7 +4308,7 @@ LIBS="$ac_save_LIBS"
- fi
- if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- - ac_tr_lib=HAVE_LIB`echo ldgc | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- + ac_tr_lib=HAVE_LIB`echo ldgc | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
- cat >> confdefs.h <<EOF
- #define $ac_tr_lib 1
- EOF
- @@ -4184,11 +4321,39 @@ fi
-
-
- echo "checking for AFS" 1>&6
- -test -d /afs && cat >> confdefs.h <<\EOF
- +test -d /ade/afs && cat >> confdefs.h <<\EOF
- #define AFS 1
- EOF
-
-
- +# Extract the first word of "ranlib", so it can be a program name with args.
- +set dummy ranlib; ac_word=$2
- +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
- + echo $ac_n "(cached) $ac_c" 1>&6
- +else
- + if test -n "$RANLIB"; then
- + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
- +else
- + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- + for ac_dir in $PATH; do
- + test -z "$ac_dir" && ac_dir=.
- + if test -f $ac_dir/$ac_word; then
- + ac_cv_prog_RANLIB="ranlib"
- + break
- + fi
- + done
- + IFS="$ac_save_ifs"
- + test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
- +fi
- +fi
- +RANLIB="$ac_cv_prog_RANLIB"
- +if test -n "$RANLIB"; then
- + echo "$ac_t""$RANLIB" 1>&6
- +else
- + echo "$ac_t""no" 1>&6
- +fi
- +
- echo $ac_n "checking for inline""... $ac_c" 1>&6
- if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- @@ -4196,7 +4361,7 @@ else
- ac_cv_c_inline=no
- for ac_kw in inline __inline__ __inline; do
- cat > conftest.$ac_ext <<EOF
- -#line 4200 "configure"
- +#line 4365 "configure"
- #include "confdefs.h"
-
- int main() { return 0; }
- @@ -4204,7 +4369,7 @@ int t() {
- } $ac_kw foo() {
- ; return 0; }
- EOF
- -if { (eval echo configure:4208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- +if { (eval echo configure:4373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_c_inline=$ac_kw; break
- fi
- @@ -4234,7 +4399,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 4238 "configure"
- +#line 4403 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
- @@ -4244,7 +4409,7 @@ else
- builtin and then its argument prototype would still apply. */
- char $ac_func();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
-
- /* The GNU C library defines this for functions which it implements
- @@ -4258,7 +4423,7 @@ $ac_func();
-
- ; return 0; }
- EOF
- -if { (eval echo configure:4262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:4427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
- else
- @@ -4288,7 +4453,7 @@ else
- ac_cv_func_mmap=no
- else
- cat > conftest.$ac_ext <<EOF
- -#line 4292 "configure"
- +#line 4457 "configure"
- #include "confdefs.h"
-
- /* Thanks to Mike Haertel and Jim Avera for this test. */
- @@ -4357,7 +4522,7 @@ main()
- }
-
- EOF
- -{ (eval echo configure:4361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- +{ (eval echo configure:4526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
- if test -s conftest && (./conftest; exit) 2>/dev/null; then
- ac_cv_func_mmap=yes
- else
- @@ -4385,12 +4550,12 @@ if eval "test \"`echo '$''{'ac_cv_header
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 4389 "configure"
- +#line 4554 "configure"
- #include "confdefs.h"
- #include <$ac_hdr>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:4394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:4559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -4422,7 +4587,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 4426 "configure"
- +#line 4591 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
- @@ -4432,7 +4597,7 @@ else
- builtin and then its argument prototype would still apply. */
- char $ac_func();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
-
- /* The GNU C library defines this for functions which it implements
- @@ -4446,7 +4611,7 @@ $ac_func();
-
- ; return 0; }
- EOF
- -if { (eval echo configure:4450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:4615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
- else
- @@ -4477,7 +4642,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 4481 "configure"
- +#line 4646 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
- @@ -4487,7 +4652,7 @@ else
- builtin and then its argument prototype would still apply. */
- char $ac_func();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
-
- /* The GNU C library defines this for functions which it implements
- @@ -4501,7 +4666,7 @@ $ac_func();
-
- ; return 0; }
- EOF
- -if { (eval echo configure:4505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:4670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
- else
- @@ -4537,15 +4702,15 @@ if eval "test \"`echo '$''{'ud_cv_val_LC
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 4541 "configure"
- +#line 4706 "configure"
- #include "confdefs.h"
- #include <locale.h>
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
- return LC_MESSAGES
- ; return 0; }
- EOF
- -if { (eval echo configure:4549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:4714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- ud_cv_val_LC_MESSAGES=yes
- else
- @@ -4606,12 +4771,12 @@ if eval "test \"`echo '$''{'ac_cv_header
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 4610 "configure"
- +#line 4775 "configure"
- #include "confdefs.h"
- #include <libintl.h>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:4615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:4780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -4633,19 +4798,19 @@ else
- ac_save_LIBS="$LIBS"
- LIBS="-lintl $LIBS"
- cat > conftest.$ac_ext <<EOF
- -#line 4637 "configure"
- +#line 4802 "configure"
- #include "confdefs.h"
- /* Override any gcc2 internal prototype to avoid an error. */
- /* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
- char bindtextdomain();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
- bindtextdomain()
- ; return 0; }
- EOF
- -if { (eval echo configure:4649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:4814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
- else
- @@ -4658,7 +4823,7 @@ LIBS="$ac_save_LIBS"
- fi
- if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- - ac_tr_lib=HAVE_LIB`echo intl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- + ac_tr_lib=HAVE_LIB`echo intl | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
- cat >> confdefs.h <<EOF
- #define $ac_tr_lib 1
- EOF
- @@ -4674,7 +4839,7 @@ if eval "test \"`echo '$''{'ac_cv_func_g
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 4678 "configure"
- +#line 4843 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char gettext(); below. */
- @@ -4684,7 +4849,7 @@ else
- builtin and then its argument prototype would still apply. */
- char gettext();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
-
- /* The GNU C library defines this for functions which it implements
- @@ -4698,7 +4863,7 @@ gettext();
-
- ; return 0; }
- EOF
- -if { (eval echo configure:4702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:4867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_func_gettext=yes"
- else
- @@ -4754,7 +4919,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 4758 "configure"
- +#line 4923 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
- @@ -4764,7 +4929,7 @@ else
- builtin and then its argument prototype would still apply. */
- char $ac_func();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
-
- /* The GNU C library defines this for functions which it implements
- @@ -4778,7 +4943,7 @@ $ac_func();
-
- ; return 0; }
- EOF
- -if { (eval echo configure:4782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:4947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
- else
- @@ -4865,16 +5030,16 @@ else
- fi
-
- cat > conftest.$ac_ext <<EOF
- -#line 4869 "configure"
- +#line 5034 "configure"
- #include "confdefs.h"
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
- extern int _nl_msg_cat_cntr;
- return _nl_msg_cat_cntr
- ; return 0; }
- EOF
- -if { (eval echo configure:4878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:5043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- CATOBJEXT=.gmo
- DATADIRNAME=share
- @@ -4917,15 +5082,15 @@ else
- ac_save_LIBS="$LIBS"
- LIBS="-li $LIBS"
- cat > conftest.$ac_ext <<EOF
- -#line 4921 "configure"
- +#line 5086 "configure"
- #include "confdefs.h"
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
- main()
- ; return 0; }
- EOF
- -if { (eval echo configure:4929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:5094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
- else
- @@ -4938,7 +5103,7 @@ LIBS="$ac_save_LIBS"
- fi
- if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- - ac_tr_lib=HAVE_LIB`echo i | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- + ac_tr_lib=HAVE_LIB`echo i | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
- cat >> confdefs.h <<EOF
- #define $ac_tr_lib 1
- EOF
- @@ -4954,7 +5119,7 @@ if eval "test \"`echo '$''{'ac_cv_func_c
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 4958 "configure"
- +#line 5123 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char catgets(); below. */
- @@ -4964,7 +5129,7 @@ else
- builtin and then its argument prototype would still apply. */
- char catgets();
-
- -int main() { return 0; }
- +int main() { t(); return 0; }
- int t() {
-
- /* The GNU C library defines this for functions which it implements
- @@ -4978,7 +5143,7 @@ catgets();
-
- ; return 0; }
- EOF
- -if { (eval echo configure:4982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- +if { (eval echo configure:5147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
- rm -rf conftest*
- eval "ac_cv_func_catgets=yes"
- else
- @@ -5328,12 +5493,12 @@ if eval "test \"`echo '$''{'ac_cv_header
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- -#line 5332 "configure"
- +#line 5497 "configure"
- #include "confdefs.h"
- #include <linux/version.h>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:5337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- +{ (eval echo configure:5502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out`
- if test -z "$ac_err"; then
- rm -rf conftest*
- @@ -5450,7 +5615,9 @@ DEFS=-DHAVE_CONFIG_H
- : ${CONFIG_STATUS=./config.status}
-
- echo creating $CONFIG_STATUS
- -rm -f $CONFIG_STATUS
- +# Some systems, like AmigaOS, won't allow you to remove a script that is
- +# being executed, so just move it out of the way instead.
- +if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
- cat > $CONFIG_STATUS <<EOF
- #! /bin/sh
- # Generated automatically by configure.
- @@ -5512,6 +5679,9 @@ s%@libdir@%$libdir%g
- s%@includedir@%$includedir%g
- s%@oldincludedir@%$oldincludedir%g
- s%@infodir@%$infodir%g
- +s%@guidedir@%$guidedir%g
- +s%@psdir@%$psdir%g
- +s%@dvidir@%$dvidir%g
- s%@mandir@%$mandir%g
- s%@SET_MAKE@%$SET_MAKE%g
- s%@PACKAGE@%$PACKAGE%g
- @@ -5529,7 +5699,18 @@ s%@CC@%$CC%g
- s%@CPP@%$CPP%g
- s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
- s%@INSTALL_DATA@%$INSTALL_DATA%g
- +s%@host@%$host%g
- +s%@host_alias@%$host_alias%g
- +s%@host_cpu@%$host_cpu%g
- +s%@host_vendor@%$host_vendor%g
- +s%@host_os@%$host_os%g
- +s%@build@%$build%g
- +s%@build_alias@%$build_alias%g
- +s%@build_cpu@%$build_cpu%g
- +s%@build_vendor@%$build_vendor%g
- +s%@build_os@%$build_os%g
- s%@RANLIB@%$RANLIB%g
- +s%@AR@%$AR%g
- s%@YACC@%$YACC%g
- s%@U@%$U%g
- s%@ANSI2KNR@%$ANSI2KNR%g
- @@ -5769,6 +5950,7 @@ test -z "$CONFIG_HEADERS" || echo timest
- exit 0
- EOF
- chmod +x $CONFIG_STATUS
- +rm -f CONFIG.STATUS.old
- rm -fr confdefs* $ac_clean_files
- test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
-
- diff -rup --new-file baseline/fsf/fileutils/configure.in amiga/fsf/fileutils/configure.in
- --- baseline/fsf/fileutils/configure.in Thu Jul 11 19:50:19 1996
- +++ amiga/fsf/fileutils/configure.in Sat Sep 28 00:00:00 1996
- @@ -40,7 +40,8 @@ AC_PROG_CC
- AC_PROG_CPP
- AC_PROG_GCC_TRADITIONAL
- AC_PROG_INSTALL
- -AC_PROG_RANLIB
- +AC_CHECK_TOOL(RANLIB, ranlib, :)
- +AC_CHECK_TOOL(AR, ar)
- AC_PROG_YACC
- AC_AIX
- AC_MINIX
- @@ -79,8 +80,8 @@ AC_REPLACE_FUNCS(basename euidaccess gro
- strndup strstr strtol strtoul)
- AC_REPLACE_GNU_GETOPT
- AC_CHECK_FUNCS(bcopy endgrent endpwent fchdir ftime ftruncate \
- - getcwd getgroups getmntinfo gettimeofday isascii lchown \
- - listmntent memcpy mkfifo strchr strerror strrchr)
- + getcwd getgroups getmntinfo gettimeofday isascii lchown lstat\
- + listmntent memcpy mkfifo strchr strerror strrchr vfork)
-
- AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL
-
- @@ -228,7 +229,9 @@ if test $ac_cv_func_getmntent = yes; the
- fi
-
- if test -z "$list_mounted_fs"; then
- - AC_MSG_ERROR([could not determine how to read list of mounted filesystems])
- + AC_MSG_WARN([could not determine how to read list of mounted filesystems])
- + # FIXME -- no need to abort building the whole package
- + # Can't build mountlist.c or anything that needs its functions
- fi
-
- fi
- @@ -337,7 +340,7 @@ if test -z "$list_mounted_fs"; then
- fi
-
- if test -z "$list_mounted_fs"; then
- - AC_MSG_ERROR([could not determine how to read list of mounted filesystems])
- + AC_MSG_WARN([could not determine how to read list of mounted filesystems])
- # FIXME -- no need to abort building the whole package
- # Can't build mountlist.c or anything that needs its functions
- fi
- @@ -380,7 +383,9 @@ if test $space = no; then
- fi
- fi
-
- -if test $space = no; then
- +# Amiga hack - short circuit this test since it matches and prevents
- +# us from finding the 4.4 BSD case below that we really want.
- +if false; then
- # AIX
- AC_MSG_CHECKING([for two-argument statfs with statfs.bsize dnl
- member (AIX, 4.3BSD)])
- @@ -557,7 +562,7 @@ AC_CHECK_LIB(ypsec, main)
- AC_CHECK_LIB(ldgc, main)
-
- AC_CHECKING(for AFS)
- -test -d /afs && AC_DEFINE(AFS)
- +test -d /ade/afs && AC_DEFINE(AFS)
-
- ud_GNU_GETTEXT
-
- diff -rup --new-file baseline/fsf/fileutils/doc/Makefile.in amiga/fsf/fileutils/doc/Makefile.in
- --- baseline/fsf/fileutils/doc/Makefile.in Thu Jul 11 20:31:42 1996
- +++ amiga/fsf/fileutils/doc/Makefile.in Sat Sep 28 00:00:00 1996
- @@ -102,7 +102,7 @@ fileutils.info: fileutils.texi version.t
-
-
- .texi.info:
- - $(MAKEINFO) -I$(srcdir) $< -o $(srcdir)/$@
- + $(MAKEINFO) -I$(srcdir) $< -o $@
-
- .texi.dvi:
- TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
- @@ -156,8 +156,10 @@ install-exec:
-
- install-data: install-info
-
- -install: install-exec install-data all
- - @:
- +install: all installdirs
- + for file in fileutils.info*; do \
- + $(INSTALL_DATA) $$file $(infodir)/$$file; \
- + done
-
- uninstall: uninstall-info
-
- diff -rup --new-file baseline/fsf/fileutils/doc/fileutils.info amiga/fsf/fileutils/doc/fileutils.info
- --- baseline/fsf/fileutils/doc/fileutils.info Thu Jul 11 20:26:05 1996
- +++ amiga/fsf/fileutils/doc/fileutils.info Wed Dec 31 17:00:00 1969
- @@ -1,111 +0,0 @@
- -This is Info file ./fileutils.info, produced by Makeinfo-1.63 from the
- -input file fileutils.texi.
- -
- -START-INFO-DIR-ENTRY
- -* File utilities: (fileutils). GNU file utilities.
- -* chgrp: (fileutils)chgrp invocation. Change file groups.
- -* chown: (fileutils)chown invocation. Change file owners/groups.
- -* chmod: (fileutils)chmod invocation. Change file permissions.
- -* cp: (fileutils)cp invocation. Copy files.
- -* dd: (fileutils)dd invocation. Copy and convert a file.
- -* df: (fileutils)df invocation. Report filesystem disk usage.
- -* dir: (fileutils)dir invocation. List directories briefly.
- -* dircolors: (fileutils)dircolors invocation. Color setup for ls.
- -* du: (fileutils)du invocation. Report on disk usage.
- -* install: (fileutils)install invocation. Copy and change attributes.
- -* ln: (fileutils)ln invocation. Make links between files.
- -* ls: (fileutils)ls invocation. List directory contents.
- -* mkdir: (fileutils)mkdir invocation. Create directories.
- -* mkfifo: (fileutils)mkfifo invocation. Create FIFOs: (named pipes).
- -* mknod: (fileutils)mknod invocation. Create special files.
- -* mv: (fileutils)mv invocation. Rename files.
- -* rm: (fileutils)rm invocation. Remove files.
- -* rmdir: (fileutils)rmdir invocation. Remove empty directories.
- -* sync: (fileutils)sync invocation. Synchronize memory and disk.
- -* touch: (fileutils)touch invocation. Change file timestamps.
- -* vdir: (fileutils)vdir invocation. List directories verbosely.
- -END-INFO-DIR-ENTRY
- -
- - This file documents the GNU set of file utilities.
- -
- - Copyright (C) 1994, 95, 96 Free Software Foundation, Inc.
- -
- - Permission is granted to make and distribute verbatim copies of this
- -manual provided the copyright notice and this permission notice are
- -preserved on all copies.
- -
- - Permission is granted to copy and distribute modified versions of
- -this manual under the conditions for verbatim copying, provided that
- -the entire resulting derived work is distributed under the terms of a
- -permission notice identical to this one.
- -
- - Permission is granted to copy and distribute translations of this
- -manual into another language, under the above conditions for modified
- -versions, except that this permission notice may be stated in a
- -translation approved by the Foundation.
- -
- -
- -Indirect:
- -fileutils.info-1: 2469
- -fileutils.info-2: 49538
- -fileutils.info-3: 88043
- -
- -Tag Table:
- -(Indirect)
- -Node: Top2469
- -Node: Introduction3194
- -Node: Common options4386
- -Node: Backup options4958
- -Node: File permissions6555
- -Node: Mode Structure7142
- -Node: Symbolic Modes9275
- -Node: Setting Permissions10278
- -Node: Copying Permissions12820
- -Node: Changing Special Permissions13609
- -Node: Conditional Executability15450
- -Node: Multiple Changes16072
- -Node: Umask and Protection17725
- -Node: Numeric Modes18819
- -Node: Date input formats20654
- -Node: General date syntax21743
- -Node: Calendar date item23194
- -Node: Time of day item25149
- -Node: Timezone item26757
- -Node: Day of week item30048
- -Node: Relative item in date strings31032
- -Node: Pure numbers in date strings32963
- -Node: Authors of getdate33947
- -Node: Directory listing34684
- -Node: ls invocation35162
- -Node: Which files are listed36602
- -Node: What information is listed37794
- -Node: Sorting the output41531
- -Node: General output formatting43307
- -Node: Formatting the file names46265
- -Node: dir invocation46918
- -Node: vdir invocation47273
- -Node: dircolors invocation47595
- -Node: Basic operations48981
- -Node: cp invocation49538
- -Node: dd invocation54752
- -Node: install invocation57234
- -Node: mv invocation60021
- -Node: rm invocation62034
- -Node: Special file types63887
- -Node: ln invocation65171
- -Node: mkdir invocation68901
- -Node: mkfifo invocation70024
- -Node: mknod invocation70918
- -Node: rmdir invocation72474
- -Node: Changing file attributes73100
- -Node: chown invocation73911
- -Node: chgrp invocation75820
- -Node: chmod invocation76828
- -Node: touch invocation78145
- -Node: Disk usage79772
- -Node: df invocation80385
- -Node: du invocation84733
- -Node: sync invocation87222
- -Node: Index88043
- -
- -End Tag Table
- diff -rup --new-file baseline/fsf/fileutils/doc/fileutils.info-1 amiga/fsf/fileutils/doc/fileutils.info-1
- --- baseline/fsf/fileutils/doc/fileutils.info-1 Thu Jul 11 20:26:04 1996
- +++ amiga/fsf/fileutils/doc/fileutils.info-1 Wed Dec 31 17:00:00 1969
- @@ -1,1433 +0,0 @@
- -This is Info file ./fileutils.info, produced by Makeinfo-1.63 from the
- -input file fileutils.texi.
- -
- -START-INFO-DIR-ENTRY
- -* File utilities: (fileutils). GNU file utilities.
- -* chgrp: (fileutils)chgrp invocation. Change file groups.
- -* chown: (fileutils)chown invocation. Change file owners/groups.
- -* chmod: (fileutils)chmod invocation. Change file permissions.
- -* cp: (fileutils)cp invocation. Copy files.
- -* dd: (fileutils)dd invocation. Copy and convert a file.
- -* df: (fileutils)df invocation. Report filesystem disk usage.
- -* dir: (fileutils)dir invocation. List directories briefly.
- -* dircolors: (fileutils)dircolors invocation. Color setup for ls.
- -* du: (fileutils)du invocation. Report on disk usage.
- -* install: (fileutils)install invocation. Copy and change attributes.
- -* ln: (fileutils)ln invocation. Make links between files.
- -* ls: (fileutils)ls invocation. List directory contents.
- -* mkdir: (fileutils)mkdir invocation. Create directories.
- -* mkfifo: (fileutils)mkfifo invocation. Create FIFOs: (named pipes).
- -* mknod: (fileutils)mknod invocation. Create special files.
- -* mv: (fileutils)mv invocation. Rename files.
- -* rm: (fileutils)rm invocation. Remove files.
- -* rmdir: (fileutils)rmdir invocation. Remove empty directories.
- -* sync: (fileutils)sync invocation. Synchronize memory and disk.
- -* touch: (fileutils)touch invocation. Change file timestamps.
- -* vdir: (fileutils)vdir invocation. List directories verbosely.
- -END-INFO-DIR-ENTRY
- -
- - This file documents the GNU set of file utilities.
- -
- - Copyright (C) 1994, 95, 96 Free Software Foundation, Inc.
- -
- - Permission is granted to make and distribute verbatim copies of this
- -manual provided the copyright notice and this permission notice are
- -preserved on all copies.
- -
- - Permission is granted to copy and distribute modified versions of
- -this manual under the conditions for verbatim copying, provided that
- -the entire resulting derived work is distributed under the terms of a
- -permission notice identical to this one.
- -
- - Permission is granted to copy and distribute translations of this
- -manual into another language, under the above conditions for modified
- -versions, except that this permission notice may be stated in a
- -translation approved by the Foundation.
- -
- -
- -File: fileutils.info, Node: Top, Next: Introduction, Up: (dir)
- -
- -GNU file utilities
- -******************
- -
- - This manual minimally documents version 3.13 of the GNU file
- -utilities.
- -
- -* Menu:
- -
- -* Introduction:: Caveats, overview, and authors.
- -* Common options:: Common options.
- -* File permissions:: Access modes.
- -* Date input formats:: Specifying date strings.
- -* Directory listing:: ls dir vdir d v dircolors
- -* Basic operations:: cp dd install mv rm
- -* Special file types:: ln mkdir rmdir mkfifo mknod
- -* Changing file attributes:: chgrp chmod chown touch
- -* Disk usage:: df du sync
- -* Index:: General index.
- -
- -
- -File: fileutils.info, Node: Introduction, Next: Common options, Prev: Top, Up: Top
- -
- -Introduction
- -************
- -
- - This manual is incomplete: No attempt is made to explain basic file
- -concepts in a way suitable for novices. Thus, if you are interested,
- -please get involved in improving this manual. The entire GNU community
- -will benefit.
- -
- - The GNU file utilities are mostly compatible with the POSIX.2
- -standard.
- -
- - Please report bugs to `bug-gnu-utils@prep.ai.mit.edu'. Remember to
- -include the version number, machine architecture, input files, and any
- -other information needed to reproduce the bug: your input, what you
- -expected, what you got, and why it is wrong. Diffs are welcome, but
- -please include a description of the problem as well, since this is
- -sometimes difficult to infer. *Note Bugs: (gcc)Bugs.
- -
- - This manual is based on the Unix man pages in the distribution, which
- -were originally written by David MacKenzie and updated by Jim Meyering.
- -Franc,ois Pinard did the initial conversion to Texinfo format. Karl
- -Berry did the indexing, some reorganization, and editing of the results.
- -Richard Stallman contributed his usual invaluable insights to the
- -overall process.
- -
- -
- -File: fileutils.info, Node: Common options, Next: File permissions, Prev: Introduction, Up: Top
- -
- -Common options
- -**************
- -
- - Certain options are available in all of these programs (in fact,
- -every GNU program should accept them). Rather than writing identical
- -descriptions for each of the programs, they are described here.
- -
- -`--help'
- - Print a usage message listing all available options, then exit
- - successfully.
- -
- -`--version'
- - Print the version number, then exit successfully.
- -
- -* Menu:
- -
- -* Backup options:: -b -S -V, in some programs.
- -
- -
- -File: fileutils.info, Node: Backup options, Up: Common options
- -
- -Backup options
- -==============
- -
- - Some GNU programs (at least `cp', `install', `ln', and `mv')
- -optionally make backups of files before writing new versions. These
- -options control the details of these backups. The options are also
- -briefly mentioned in the descriptions of the particular programs.
- -
- -`-b'
- -`--backup'
- - Make backups of files that are about to be overwritten or removed.
- - Without this option, the original versions are destroyed.
- -
- -`-S SUFFIX'
- -`--suffix=SUFFIX'
- - Append SUFFIX to each backup file made with `-b'. If this option
- - is not specified, the value of the `SIMPLE_BACKUP_SUFFIX'
- - environment variable is used. And if `SIMPLE_BACKUP_SUFFIX' is not
- - set, the default is `~', just as in Emacs.
- -
- -`-V METHOD'
- -`--version-control=METHOD'
- - Use METHOD to determine the type of backups made with `-b'. If
- - this option is not specified, the value of the `VERSION_CONTROL'
- - environment variable is used. And if `VERSION_CONTROL' is not set,
- - the default backup type is `existing'.
- -
- - This option corresponds to the Emacs variable `version-control';
- - the same values for METHOD are accepted as in Emacs. This options
- - also more descriptive name. The valid METHODs (unique
- - abbreviations are accepted):
- -
- - `t'
- - `numbered'
- - Always make numbered backups.
- -
- - `nil'
- - `existing'
- - Make numbered backups of files that already have them, simple
- - backups of the others.
- -
- - `never'
- - `simple'
- - Always make simple backups.
- -
- -
- -File: fileutils.info, Node: File permissions, Next: Date input formats, Prev: Common options, Up: Top
- -
- -File permissions
- -****************
- -
- - Each file has a set of "permissions" that control the kinds of
- -access that users have to that file. The permissions for a file are
- -also called its "access mode". They can be represented either in
- -symbolic form or as an octal number.
- -
- -* Menu:
- -
- -* Mode Structure:: Structure of file permissions.
- -* Symbolic Modes:: Mnemonic permissions representation.
- -* Numeric Modes:: Permissions as octal numbers.
- -
- -
- -File: fileutils.info, Node: Mode Structure, Next: Symbolic Modes, Up: File permissions
- -
- -Structure of File Permissions
- -=============================
- -
- - There are three kinds of permissions that a user can have for a file:
- -
- - 1. permission to read the file. For directories, this means
- - permission to list the contents of the directory.
- -
- - 2. permission to write to (change) the file. For directories, this
- - means permission to create and remove files in the directory.
- -
- - 3. permission to execute the file (run it as a program). For
- - directories, this means permission to access files in the
- - directory.
- -
- - There are three categories of users who may have different
- -permissions to perform any of the above operations on a file:
- -
- - 1. the file's owner;
- -
- - 2. other users who are in the file's group;
- -
- - 3. everyone else.
- -
- - Files are given an owner and group when they are created. Usually
- -the owner is the current user and the group is the group of the
- -directory the file is in, but this varies with the operating system, the
- -filesystem the file is created on, and the way the file is created. You
- -can change the owner and group of a file by using the `chown' and
- -`chgrp' commands.
- -
- - In addition to the three sets of three permissions listed above, a
- -file's permissions have three special components, which affect only
- -executable files (programs) and, on some systems, directories:
- -
- - 1. set the process's effective user ID to that of the file upon
- - execution (called the "setuid bit"). No effect on directories.
- -
- - 2. set the process's effective group ID to that of the file upon
- - execution (called the "setgid bit"). For directories on some
- - systems, put files created in the directory into the same group as
- - the directory, no matter what group the user who creates them is
- - in.
- -
- - 3. save the program's text image on the swap device so it will load
- - more quickly when run (called the "sticky bit"). For directories
- - on some systems, prevent users from removing files that they do
- - not own in the directory; this is called making the directory
- - "append-only".
- -
- -
- -File: fileutils.info, Node: Symbolic Modes, Next: Numeric Modes, Prev: Mode Structure, Up: File permissions
- -
- -Symbolic Modes
- -==============
- -
- - "Symbolic modes" represent changes to files' permissions as
- -operations on single-character symbols. They allow you to modify either
- -all or selected parts of files' permissions, optionally based on their
- -previous values, and perhaps on the current `umask' as well (*note
- -Umask and Protection::.).
- -
- - The format of symbolic modes is:
- -
- - [ugoa...][[+-=][rwxXstugo...]...][,...]
- -
- - The following sections describe the operators and other details of
- -symbolic modes.
- -
- -* Menu:
- -
- -* Setting Permissions:: Basic operations on permissions.
- -* Copying Permissions:: Copying existing permissions.
- -* Changing Special Permissions:: Special permissions.
- -* Conditional Executability:: Conditionally affecting executability.
- -* Multiple Changes:: Making multiple changes.
- -* Umask and Protection:: The effect of the umask.
- -
- -
- -File: fileutils.info, Node: Setting Permissions, Next: Copying Permissions, Up: Symbolic Modes
- -
- -Setting Permissions
- --------------------
- -
- - The basic symbolic operations on a file's permissions are adding,
- -removing, and setting the permission that certain users have to read,
- -write, and execute the file. These operations have the following
- -format:
- -
- - USERS OPERATION PERMISSIONS
- -
- -The spaces between the three parts above are shown for readability only;
- -symbolic modes can not contain spaces.
- -
- - The USERS part tells which users' access to the file is changed. It
- -consists of one or more of the following letters (or it can be empty;
- -*note Umask and Protection::., for a description of what happens then).
- -When more than one of these letters is given, the order that they are
- -in does not matter.
- -
- -`u'
- - the user who owns the file;
- -
- -`g'
- - other users who are in the file's group;
- -
- -`o'
- - all other users;
- -
- -`a'
- - all users; the same as `ugo'.
- -
- - The OPERATION part tells how to change the affected users' access to
- -the file, and is one of the following symbols:
- -
- -`+'
- - to add the PERMISSIONS to whatever permissions the USERS already
- - have for the file;
- -
- -`-'
- - to remove the PERMISSIONS from whatever permissions the USERS
- - already have for the file;
- -
- -`='
- - to make the PERMISSIONS the only permissions that the USERS have
- - for the file.
- -
- - The PERMISSIONS part tells what kind of access to the file should be
- -changed; it is zero or more of the following letters. As with the
- -USERS part, the order does not matter when more than one letter is
- -given. Omitting the PERMISSIONS part is useful only with the `='
- -operation, where it gives the specified USERS no access at all to the
- -file.
- -
- -`r'
- - the permission the USERS have to read the file;
- -
- -`w'
- - the permission the USERS have to write to the file;
- -
- -`x'
- - the permission the USERS have to execute the file.
- -
- - For example, to give everyone permission to read and write a file,
- -but not to execute it, use:
- -
- - a=rw
- -
- - To remove write permission for from all users other than the file's
- -owner, use:
- -
- - go-w
- -
- -The above command does not affect the access that the owner of the file
- -has to it, nor does it affect whether other users can read or execute
- -the file.
- -
- - To give everyone except a file's owner no permission to do anything
- -with that file, use the mode below. Other users could still remove the
- -file, if they have write permission on the directory it is in.
- -
- - go=
- -
- -Another way to specify the same thing is:
- -
- - og-rxw
- -
- -
- -File: fileutils.info, Node: Copying Permissions, Next: Changing Special Permissions, Prev: Setting Permissions, Up: Symbolic Modes
- -
- -Copying Existing Permissions
- -----------------------------
- -
- - You can base a file's permissions on its existing permissions. To do
- -this, instead of using `r', `w', or `x' after the operator, you use the
- -letter `u', `g', or `o'. For example, the mode
- - o+g
- -
- -adds the permissions for users who are in a file's group to the
- -permissions that other users have for the file. Thus, if the file
- -started out as mode 664 (`rw-rw-r--'), the above mode would change it
- -to mode 666 (`rw-rw-rw-'). If the file had started out as mode 741
- -(`rwxr----x'), the above mode would change it to mode 745
- -(`rwxr--r-x'). The `-' and `=' operations work analogously.
- -
- -
- -File: fileutils.info, Node: Changing Special Permissions, Next: Conditional Executability, Prev: Copying Permissions, Up: Symbolic Modes
- -
- -Changing Special Permissions
- -----------------------------
- -
- - In addition to changing a file's read, write, and execute
- -permissions, you can change its special permissions. *Note Mode
- -Structure::, for a summary of these permissions.
- -
- - To change a file's permission to set the user ID on execution, use
- -`u' in the USERS part of the symbolic mode and `s' in the PERMISSIONS
- -part.
- -
- - To change a file's permission to set the group ID on execution, use
- -`g' in the USERS part of the symbolic mode and `s' in the PERMISSIONS
- -part.
- -
- - To change a file's permission to stay permanently on the swap device,
- -use `o' in the USERS part of the symbolic mode and `t' in the
- -PERMISSIONS part.
- -
- - For example, to add set user ID permission to a program, you can use
- -the mode:
- -
- - u+s
- -
- - To remove both set user ID and set group ID permission from it, you
- -can use the mode:
- -
- - ug-s
- -
- - To cause a program to be saved on the swap device, you can use the
- -mode:
- -
- - o+t
- -
- - Remember that the special permissions only affect files that are
- -executable, plus, on some systems, directories (on which they have
- -different meanings; *note Mode Structure::.). Using `a' in the USERS
- -part of a symbolic mode does not cause the special permissions to be
- -affected; thus,
- -
- - a+s
- -
- -has *no effect*. You must use `u', `g', and `o' explicitly to affect
- -the special permissions. Also, the combinations `u+t', `g+t', and
- -`o+s' have no effect.
- -
- - The `=' operator is not very useful with special permissions; for
- -example, the mode:
- -
- - o=t
- -
- -does cause the file to be saved on the swap device, but it also removes
- -all read, write, and execute permissions that users not in the file's
- -group might have had for it.
- -
- -
- -File: fileutils.info, Node: Conditional Executability, Next: Multiple Changes, Prev: Changing Special Permissions, Up: Symbolic Modes
- -
- -Conditional Executability
- --------------------------
- -
- - There is one more special type of symbolic permission: if you use
- -`X' instead of `x', execute permission is affected only if the file
- -already had execute permission or is a directory. It affects
- -directories' execute permission even if they did not initially have any
- -execute permissions set.
- -
- - For example, this mode:
- -
- - a+X
- -
- -gives all users permission to execute files (or search directories) if
- -anyone could before.
- -
- -
- -File: fileutils.info, Node: Multiple Changes, Next: Umask and Protection, Prev: Conditional Executability, Up: Symbolic Modes
- -
- -Making Multiple Changes
- ------------------------
- -
- - The format of symbolic modes is actually more complex than described
- -above (*note Setting Permissions::.). It provides two ways to make
- -multiple changes to files' permissions.
- -
- - The first way is to specify multiple OPERATION and PERMISSIONS parts
- -after a USERS part in the symbolic mode.
- -
- - For example, the mode:
- -
- - og+rX-w
- -
- -gives users other than the owner of the file read permission and, if it
- -is a directory or if someone already had execute permission to it,
- -gives them execute permission; and it also denies them write permission
- -to it file. It does not affect the permission that the owner of the
- -file has for it. The above mode is equivalent to the two modes:
- -
- - og+rX
- - og-w
- -
- - The second way to make multiple changes is to specify more than one
- -simple symbolic mode, separated by commas. For example, the mode:
- -
- - a+r,go-w
- -
- -gives everyone permission to read the file and removes write permission
- -on it for all users except its owner. Another example:
- -
- - u=rwx,g=rx,o=
- -
- -sets all of the non-special permissions for the file explicitly. (It
- -gives users who are not in the file's group no permission at all for
- -it.)
- -
- - The two methods can be combined. The mode:
- -
- - a+r,g+x-w
- -
- -gives all users permission to read the file, and gives users who are in
- -the file's group permission to execute it, as well, but not permission
- -to write to it. The above mode could be written in several different
- -ways; another is:
- -
- - u+r,g+rx,o+r,g-w
- -
- -
- -File: fileutils.info, Node: Umask and Protection, Prev: Multiple Changes, Up: Symbolic Modes
- -
- -The Umask and Protection
- -------------------------
- -
- - If the USERS part of a symbolic mode is omitted, it defaults to `a'
- -(affect all users), except that any permissions that are *set* in the
- -system variable `umask' are *not affected*. The value of `umask' can
- -be set using the `umask' command. Its default value varies from system
- -to system.
- -
- - Omitting the USERS part of a symbolic mode is generally not useful
- -with operations other than `+'. It is useful with `+' because it
- -allows you to use `umask' as an easily customizable protection against
- -giving away more permission to files than you intended to.
- -
- - As an example, if `umask' has the value 2, which removes write
- -permission for users who are not in the file's group, then the mode:
- -
- - +w
- -
- -adds permission to write to the file to its owner and to other users who
- -are in the file's group, but *not* to other users. In contrast, the
- -mode:
- -
- - a+w
- -
- -ignores `umask', and *does* give write permission for the file to all
- -users.
- -
- -
- -File: fileutils.info, Node: Numeric Modes, Prev: Symbolic Modes, Up: File permissions
- -
- -Numeric Modes
- -=============
- -
- - File permissions are stored internally as 16 bit integers. As an
- -alternative to giving a symbolic mode, you can give an octal (base 8)
- -number that corresponds to the internal representation of the new mode.
- -This number is always interpreted in octal; you do not have to add a
- -leading 0, as you do in C. Mode 0055 is the same as mode 55.
- -
- - A numeric mode is usually shorter than the corresponding symbolic
- -mode, but it is limited in that it can not take into account a file's
- -previous permissions; it can only set them absolutely.
- -
- - The permissions granted to the user, to other users in the file's
- -group, and to other users not in the file's group are each stored as
- -three bits, which are represented as one octal digit. The three special
- -permissions are also each stored as one bit, and they are as a group
- -represented as another octal digit. Here is how the bits are arranged
- -in the 16 bit integer, starting with the lowest valued bit:
- -
- - Value in Corresponding
- - Mode Permission
- -
- - Other users not in the file's group:
- - 1 Execute
- - 2 Write
- - 4 Read
- -
- - Other users in the file's group:
- - 10 Execute
- - 20 Write
- - 40 Read
- -
- - The file's owner:
- - 100 Execute
- - 200 Write
- - 400 Read
- -
- - Special permissions:
- - 1000 Save text image on swap device
- - 2000 Set group ID on execution
- - 4000 Set user ID on execution
- -
- - For example, numeric mode 4755 corresponds to symbolic mode
- -`u=rwxs,go=rx', and numeric mode 664 corresponds to symbolic mode
- -`ug=rw,o=r'. Numeric mode 0 corresponds to symbolic mode `ugo='.
- -
- -
- -File: fileutils.info, Node: Date input formats, Next: Directory listing, Prev: File permissions, Up: Top
- -
- -Date input formats
- -******************
- -
- - This section describes the textual date representations that GNU
- -programs accept. These are the strings you, as a user, can supply as
- -arguments to the various programs. The C interface (via the `getdate'
- -function) is not described here.
- -
- - Although the date syntax here can represent any possible time since
- -zero A.D., computer integers are not big enough for such a
- -(comparatively) long time. The earliest date semantically allowed on
- -Unix systems is midnight, 1 January 1970 UCT.
- -
- -* Menu:
- -
- -* General date syntax:: Common rules.
- -* Calendar date item:: 19 Dec 1994.
- -* Time of day item:: 9:20pm.
- -* Timezone item:: EST, DST, BST, UCT, AHST, ...
- -* Day of week item:: Monday and others.
- -* Relative item in date strings:: next tuesday, 2 years ago.
- -* Pure numbers in date strings:: 19931219, 1440.
- -* Authors of getdate:: Bellovin, Salz, Berets, et al.
- -
- -
- -File: fileutils.info, Node: General date syntax, Next: Calendar date item, Up: Date input formats
- -
- -General date syntax
- -===================
- -
- - A "date" is a string, possibly empty, containing many items
- -separated by whitespace. The whitespace may be omitted when no
- -ambiguity arises. The empty string means the beginning of today (i.e.,
- -midnight). Order of the items is immaterial. A date string may contain
- -many flavors of items:
- -
- - * calendar date items
- -
- - * time of the day items
- -
- - * time zone items
- -
- - * day of the week items
- -
- - * relative items
- -
- - * pure numbers.
- -
- -We describe each of these item types in turn, below.
- -
- - A few numbers may be written out in words in most contexts. This is
- -most useful for specifying day of the week items or relative items (see
- -below). Here is the list: `first' for 1, `next' for 2, `third' for 3,
- -`fourth' for 4, `fifth' for 5, `sixth' for 6, `seventh' for 7, `eighth'
- -for 8, `ninth' for 9, `tenth' for 10, `eleventh' for 11 and `twelfth'
- -for 12. Also, `last' means exactly -1.
- -
- - When a month is written this way, it is still considered to be
- -written numerically, instead of being "spelled in full"; this changes
- -the allowed strings.
- -
- - Alphabetic case is completely ignored in dates. Comments may be
- -introduced between round parentheses, as long as included parentheses
- -are properly nested. Hyphens not followed by a digit are currently
- -ignored. Leading zeros on numbers are ignored.
- -
- -
- -File: fileutils.info, Node: Calendar date item, Next: Time of day item, Prev: General date syntax, Up: Date input formats
- -
- -Calendar date item
- -==================
- -
- - A "calendar date item" specifies a day of the year. It is specified
- -differently, depending on whether the month is specified numerically or
- -literally. All these strings specify the same calendar date:
- -
- - 1970-09-17 # ISO 8601.
- - 70-9-17 # This century assumed by default.
- - 70-09-17 # Leading zeros are ignored.
- - 9/17/72 # Common U.S. writing.
- - 24 September 1972
- - 24 Sept 72 # September has a special abbreviation.
- - 24 Sep 72 # Three-letter abbreviations always allowed.
- - Sep 24, 1972
- - 24-sep-72
- - 24sep72
- -
- - The year can also be omitted. In this case, the last specified year
- -is used, or the current year if none. For example:
- -
- - 9/17
- - sep 17
- -
- - Here are the rules.
- -
- - For numeric months, the ISO 8601 format `YEAR-MONTH-DAY' is allowed,
- -where YEAR is any positive number, MONTH is a number between 01 and 12,
- -and DAY is a number between 01 and 31. A leading zero must be present
- -if a number is less than ten. If YEAR is less than 100, then 1900 is
- -added to it to force a date in this century. The construct
- -`MONTH/DAY/YEAR', popular in the United States, is accepted. Also
- -`MONTH/DAY', omitting the year.
- -
- - Literal months may be spelled out in full: `January', `February',
- -`March', `April', `May', `June', `July', `August', `September',
- -`October', `November' or `December'. Literal months may be abbreviated
- -to their first three letters, possibly followed by an abbreviating dot.
- -It is also permitted to write `Sept' instead of `September'.
- -
- - When months are written literally, the calendar date may be given as
- -any of the following:
- -
- - DAY MONTH YEAR
- - DAY MONTH
- - MONTH DAY YEAR
- - DAY-MONTH-YEAR
- -
- - Or, omitting the year:
- -
- - MONTH DAY
- -
- -
- -File: fileutils.info, Node: Time of day item, Next: Timezone item, Prev: Calendar date item, Up: Date input formats
- -
- -Time of day item
- -================
- -
- - A "time of day item" in date strings specifies the time on a given
- -day. Here are some examples, all of which represent the same time:
- -
- - 20:02:0
- - 20:02
- - 8:02pm
- - 20:02-0500 # In EST (Eastern U.S. Standard Time).
- -
- - More generally, the time of the day may be given as
- -`HOUR:MINUTE:SECOND', where HOUR is a number between 0 and 23, MINUTE
- -is a number between 0 and 59, and SECOND is a number between 0 and 59.
- -Alternatively, `:SECOND' can be omitted, in which case it is taken to
- -be zero.
- -
- - If the time is followed by `am' or `pm' (or `a.m.' or `p.m.'), HOUR
- -is restricted to run from 1 to 12, and `:MINUTE' may be omitted (taken
- -to be zero). `am' indicates the first half of the day, `pm' indicates
- -the second half of the day. In this notation, 12 is the predecessor of
- -1: midnight is `12am' while noon is `12pm'.
- -
- - The time may alternatively be followed by a timezone correction,
- -expressed as `SHHMM', where S is `+' or `-', HH is a number of zone
- -hours and MM is a number of zone minutes. When a timezone correction
- -is given this way, it forces interpretation of the time in UTC,
- -overriding any previous specification for the timezone or the local
- -timezone. The MINUTE part of the time of the day may not be elided
- -when a timezone correction is used. This is the only way to specify a
- -timezone correction by fractional parts of an hour.
- -
- - Either `am'/`pm' or a timezone correction may be specified, but not
- -both.
- -
- -
- -File: fileutils.info, Node: Timezone item, Next: Day of week item, Prev: Time of day item, Up: Date input formats
- -
- -Timezone item
- -=============
- -
- - A "timezone item" specifies an international timezone, indicated by
- -a small set of letters. Any included period is ignored. Military
- -timezone designations use a single letter. Currently, only integral
- -zone hours may be represented in a timezone item. See the previous
- -section for a finer control over the timezone correction.
- -
- - Here are many non-daylight-savings-time timezones, indexed by the
- -zone hour value.
- -
- -+000
- - `GMT' for Greenwich Mean, `UT' or `UTC' for Universal
- - (Coordinated), `WET' for Western European and `Z' for militaries.
- -
- -+100
- - `WAT' for West Africa and `A' for militaries.
- -
- -+200
- - `AT' for Azores and `B' for militaries.
- -
- -+300
- - `C' for militaries.
- -
- -+400
- - `AST' for Atlantic Standard and `D' for militaries.
- -
- -+500
- - `E' for militaries and `EST' for Eastern Standard.
- -
- -+600
- - `CST' for Central Standard and `F' for militaries.
- -
- -+700
- - `G' for militaries and `MST' for Mountain Standard.
- -
- -+800
- - `H' for militaries and `PST' for Pacific Standard.
- -
- -+900
- - `I' for militaries and `YST' for Yukon Standard.
- -
- -+1000
- - `AHST' for Alaska-Hawaii Standard, `CAT' for Central Alaska, `HST'
- - for Hawaii Standard and `K' for militaries.
- -
- -+1100
- - `L' for militaries and `NT' for Nome.
- -
- -+1200
- - `IDLW' for International Date Line West and `M' for militaries.
- -
- --100
- - `CET' for Central European, `FWT' for French Winter, `MET' for
- - Middle European, `MEWT' for Middle European Winter, `N' for
- - militaries and `SWT' for Swedish Winter.
- -
- --200
- - `EET' for Eastern European, USSR Zone 1 and `O' for militaries.
- -
- --300
- - `BT' for Baghdad, USSR Zone 2 and `P' for militaries.
- -
- --400
- - `Q' for militaries and `ZP4' for USSR Zone 3.
- -
- --500
- - `R' for militaries and `ZP5' for USSR Zone 4.
- -
- --600
- - `S' for militaries and `ZP6' for USSR Zone 5.
- -
- --700
- - `T' for militaries and `WAST' for West Australian Standard.
- -
- --800
- - `CCT' for China Coast, USSR Zone 7 and `U' for militaries.
- -
- --900
- - `JST' for Japan Standard, USSR Zone 8 and `V' for militaries.
- -
- --1000
- - `EAST' for East Australian Standard, `GST' for Guam Standard, USSR
- - Zone 9 and `W' for militaries.
- -
- --1100
- - `X' for militaries.
- -
- --1200
- - `IDLE' for International Date Line East, `NZST' for New Zealand
- - Standard, `NZT' for New Zealand and `Y' for militaries.
- -
- - Here are many DST timezones, indexed by the zone hour value. Also,
- -by following a non-DST timezone by the string `DST' in a separate word
- -(that is, separated by some whitespace), the corresponding DST timezone
- -may be specified.
- -
- -0
- - `BST' for British Summer.
- -
- -+400
- - `ADT' for Atlantic Daylight.
- -
- -+500
- - `EDT' for Eastern Daylight.
- -
- -+600
- - `CDT' for Central Daylight.
- -
- -+700
- - `MDT' for Mountain Daylight.
- -
- -+800
- - `PDT' for Pacific Daylight.
- -
- -+900
- - `YDT' for Yukon Daylight.
- -
- -+1000
- - `HDT' for Hawaii Daylight.
- -
- --100
- - `MEST' for Middle European Summer, `MESZ' for Middle European
- - Summer, `SST' for Swedish Summer and `FST' for French Summer.
- -
- --700
- - `WADT' for West Australian Daylight.
- -
- --1000
- - `EADT' for Eastern Australian Daylight.
- -
- --1200
- - `NZDT' for New Zealand Daylight.
- -
- -
- -File: fileutils.info, Node: Day of week item, Next: Relative item in date strings, Prev: Timezone item, Up: Date input formats
- -
- -Day of week item
- -================
- -
- - The explicit mention of a day of the week will forward the date
- -(only if necessary) to reach that day of the week in the future.
- -
- - Days of the week may be spelled out in full: `Sunday', `Monday',
- -`Tuesday', `Wednesday', `Thursday', `Friday' or `Saturday'. Days may
- -be abbreviated to their first three letters, optionally followed by a
- -period. The special abbreviations `Tues' for `Tuesday', `Wednes' for
- -`Wednesday' and `Thur' or `Thurs' for `Thursday' are also allowed.
- -
- - A number may precede a day of the week item to move forward
- -supplementary weeks. It is best used in expression like `third
- -monday'. In this context, `last DAY' or `next DAY' is also acceptable;
- -they move one week before or after the day that DAY by itself would
- -represent.
- -
- - A comma following a day of the week item is ignored.
- -
- -
- -File: fileutils.info, Node: Relative item in date strings, Next: Pure numbers in date strings, Prev: Day of week item, Up: Date input formats
- -
- -Relative item in date strings
- -=============================
- -
- - "Relative items" adjust a date (or the current date if none) forward
- -or backward. The effects of relative items accumulate. Here are some
- -examples:
- -
- - 1 year
- - 1 year ago
- - 3 years
- - 2 days
- -
- - The unit of time displacement may be selected by the string `year'
- -or `month' for moving by whole years or months. These are fuzzy units,
- -as years and months are not all of equal duration. More precise units
- -are `fortnight' which is worth 14 days, `week' worth 7 days, `day'
- -worth 24 hours, `hour' worth 60 minutes, `minute' or `min' worth 60
- -seconds, and `second' or `sec' worth one second. An `s' suffix on
- -these units is accepted and ignored.
- -
- - The unit of time may be preceded by a multiplier, given as an
- -optionally signed number. Unsigned numbers are taken as positively
- -signed. No number at all implies 1 for a multiplier. Following a
- -relative item by the string `ago' is equivalent to preceding the unit
- -by a multiplicator with value -1.
- -
- - The string `tomorrow' is worth one day in the future (equivalent to
- -`day'), the string `yesterday' is worth one day in the past (equivalent
- -to `day ago').
- -
- - The strings `now' or `today' are relative items corresponding to
- -zero-valued time displacement, these strings come from the fact a
- -zero-valued time displacement represents the current time when not
- -otherwise change by previous items. They may be used to stress other
- -items, like in `12:00 today'. The string `this' also has the meaning
- -of a zero-valued time displacement, but is preferred in date strings
- -like `this thursday'.
- -
- - When a relative item makes the resulting date to cross the boundary
- -between DST and non-DST (or vice-versa), the hour is adjusted according
- -to the local time.
- -
- -
- -File: fileutils.info, Node: Pure numbers in date strings, Next: Authors of getdate, Prev: Relative item in date strings, Up: Date input formats
- -
- -Pure numbers in date strings
- -============================
- -
- - The precise intepretation of a pure decimal number is dependent of
- -the context in the date string.
- -
- - If the decimal number is of the form YYYYMMDD and no other calendar
- -date item (*note Calendar date item::.) appears before it in the date
- -string, then YYYY is read as the year, MM as the month number and DD as
- -the day of the month, for the specified calendar date.
- -
- - If the decimal number is of the form HHMM and no other time of day
- -item appears before it in the date string, then HH is read as the hour
- -of the day and MM as the minute of the hour, for the specified time of
- -the day. MM can also be omitted.
- -
- - If both a calendar date and a time of day appear to the left of a
- -number in the date string, but no relative item, then the number
- -overrides the year.
- -
- -
- -File: fileutils.info, Node: Authors of getdate, Prev: Pure numbers in date strings, Up: Date input formats
- -
- -Authors of `getdate'
- -====================
- -
- - `getdate' was originally implemented by Steven M. Bellovin
- -(`smb@research.att.com') while at the University of North Carolina at
- -Chapel Hill. The code was later tweaked by a couple of people on
- -Usenet, then completely overhauled by Rich $alz (`rsalz@bbn.com') and
- -Jim Berets (`jberets@bbn.com') in August, 1990. Various revisions for
- -the GNU system were made by David MacKenzie, Jim Meyering, and others.
- -
- - This chapter was originally produced by Franc,ois Pinard
- -(`pinard@iro.umontreal.ca') from the `getdate.y' source code, and then
- -edited by K. Berry (`kb@cs.umb.edu').
- -
- -
- -File: fileutils.info, Node: Directory listing, Next: Basic operations, Prev: Date input formats, Up: Top
- -
- -Directory listing
- -*****************
- -
- - This chapter describes the `ls' command and its variants `dir' and
- -`vdir', which list information about files.
- -
- -* Menu:
- -
- -* ls invocation:: List directory contents.
- -* dir invocation:: Briefly ls.
- -* vdir invocation:: Verbosely ls.
- -* dircolors invocation:: Color setup for ls, etc.
- -
- -
- -File: fileutils.info, Node: ls invocation, Next: dir invocation, Up: Directory listing
- -
- -`ls': List directory contents
- -=============================
- -
- - The `ls' program lists information about files (of any type,
- -including directories). Options and file arguments can be intermixed
- -arbitrarily, as usual.
- -
- - For non-option command-line arguments that are directories, by
- -default `ls' lists the contents of directories, not recursively, and
- -omitting files with names beginning with `.'. For other non-option
- -arguments, by default `ls' lists just the file name. If no non-option
- -arguments are specified, `ls' lists the contents of the current
- -directory.
- -
- - By default, the output is sorted alphabetically. If standard output
- -is a terminal, the output is in columns (sorted vertically); otherwise,
- -they are listed one per line.
- -
- - Because `ls' is such a fundamental program, it has accumulated many
- -options over the years. They are described in the subsections below;
- -within each section, options are listed alphabetically (ignoring case).
- -The division of options into the subsections is not absolute, since some
- -options affect more than one aspect of `ls''s operation.
- -
- - The `-g' option is accepted but ignored, for compatibility with
- -Unix. Also see *Note Common options::.
- -
- -* Menu:
- -
- -* Which files are listed::
- -* What information is listed::
- -* Sorting the output::
- -* General output formatting::
- -* Formatting the file names::
- -
- -
- -File: fileutils.info, Node: Which files are listed, Next: What information is listed, Up: ls invocation
- -
- -Which files are listed
- -----------------------
- -
- - These options determine which files `ls' lists information for. By
- -default, any files and the contents of any directories on the command
- -line are shown.
- -
- -`-a'
- -`--all'
- - List all files in directories, including files that start with `.'.
- -
- -`-A'
- -`--almost-all'
- - List all files in directories except for `.' and `..'.
- -
- -`-B'
- -`--ignore-backups'
- - Do not list files that end with `~', unless they are given on the
- - command line.
- -
- -`-d'
- -`--directory'
- - List just the names of directories, as with other types of files,
- - rather than listing their contents.
- -
- -`-I'
- -`--ignore'
- - Do not list files whose names match the shell pattern (not regular
- - expression) PATTERN unless they are given on the command line. As
- - in the shell, an initial `.' in a file name does not match a
- - wildcard at the start of PATTERN.
- -
- -`-L'
- -`--dereference'
- - List the files linked to by symbolic links instead of listing the
- - contents of the links.
- -
- -`-R'
- -`--recursive'
- - List the contents of all directories recursively.
- -
- -
- -File: fileutils.info, Node: What information is listed, Next: Sorting the output, Prev: Which files are listed, Up: ls invocation
- -
- -What information is listed
- ---------------------------
- -
- - These options affect the information that `ls' displays. By
- -default, only file names are shown.
- -
- -`-D'
- -`--dired'
- - With the long listing (`-l') format, print an additional line after
- - the main output:
- -
- - //DIRED// BEG1 END1 BEG2 END2 ...
- -
- - The BEGN and ENDN are unsigned integers which record the byte
- - position of the beginning and end of each file name in the output.
- - This makes it easy for Emacs to find the names, even when they
- - contain unusual characters such as space or newline, without fancy
- - searching.
- -
- - If directories are being listed recursively (`-R'), output a
- - similar line after each subdirectory:
- - //SUBDIRED// BEG1 END1 ...
- -
- -`-G'
- -`--no-group'
- - Inhibit display of group information in a long format directory
- - listing. (This is the default in some non-GNU versions of `ls',
- - so we provide this option for compatibility.)
- -
- -`-i'
- -`--inode'
- - Print the inode number (also called the file serial number and
- - index number) of each file to the left of the file name. (This
- - number uniquely identifies each file within a particular
- - filesystem.)
- -
- -`-l'
- -`--format=long'
- -`--format=verbose'
- - In addition to the name of each file, print the file type,
- - permissions, number of hard links, owner name, group name, size in
- - bytes, and timestamp (by default, the modification time). For
- - files with a time more than six months old or more than one hour
- - into the future, the timestamp contains the year instead of the
- - time of day.
- -
- - For each directory that is listed, preface the files with a line
- - `total BLOCKS', where BLOCKS is the total disk space used by all
- - files in that directory. By default, 1024-byte blocks are used;
- - if the environment variable `POSIXLY_CORRECT' is set, 512-byte
- - blocks are used (unless the `-k' option is given). The BLOCKS
- - computed counts each hard link separately; this is arguably a
- - deficiency.
- -
- - The permissions listed are similar to symbolic mode specifications
- - (*note Symbolic Modes::.). But `ls' combines multiple bits into
- - the third character of each set of permissions as follows:
- - `s'
- - If the setuid or setgid bit and the corresponding executable
- - bit are both set.
- -
- - `S'
- - If the setuid or setgid bit is set but the corresponding
- - executable bit is not set.
- -
- - `t'
- - If the sticky bit and the other-executable bit are both set.
- -
- - `T'
- - If the sticky bit is set but the other-executable bit is not
- - set.
- -
- - `x'
- - If the executable bit is set and none of the above apply.
- -
- - `-'
- - Otherwise.
- -
- -`-o'
- - Produce long format directory listings, but don't display group
- - information. It is equivalent to using `--format=long' with
- - `--no-group' . This option is provided for compatibility with
- - other versions of `ls'.
- -
- -`-s'
- -`--size'
- - Print the size of each file in 1024-byte blocks to the left of the
- - file name. If the environment variable `POSIXLY_CORRECT' is set,
- - 512-byte blocks are used instead, unless the `-k' option is given
- - (*note General output formatting::.).
- -
- - For files that are NFS-mounted from an HP-UX system to a BSD
- - system, this option reports sizes that are half the correct
- - values. On HP-UX systems, it reports sizes that are twice the
- - correct values for files that are NFS-mounted from BSD systems.
- - This is due to a flaw in HP-UX; it also affects the HP-UX `ls'
- - program.
- -
- -
- -File: fileutils.info, Node: Sorting the output, Next: General output formatting, Prev: What information is listed, Up: ls invocation
- -
- -Sorting the output
- -------------------
- -
- - These options change the order in which `ls' sorts the information
- -it outputs. By default, sorting is done by character code (e.g., ASCII
- -order).
- -
- -`-c'
- -`--time=ctime'
- -`--time=status'
- - Sort according to the status change time (the `ctime' in the
- - inode). If the long listing format (`-l') is being used, print the
- - status change time instead of the modification time.
- -
- -`-f'
- - Primarily, like `-U'--do not sort; list the files in whatever
- - order they are stored in the directory. But also enable `-a' (list
- - all files) and disable `-l', `--color', and `-s' (if they were
- - specified before the `-f').
- -
- -`-r'
- -`--reverse'
- - Reverse whatever the sorting method is--e.g., list files in reverse
- - alphabetical order, youngest first, smallest first, or whatever.
- -
- -`-S'
- -`--sort=size'
- - Sort by file size, largest first.
- -
- -`-t'
- -`--sort=time'
- - Sort by modification time (the `mtime' in the inode), newest first.
- -
- -`-u'
- -`--time=atime'
- -`--time=access'
- -`--time=use'
- - Sort by access time (the `atime' in the inode). If the long
- - listing format is being used, print the last access time.
- -
- -`-U'
- -`--sort=none'
- - Do not sort; list the files in whatever order they are stored in
- - the directory. (Do not do any of the other unrelated things that
- - `-f' does.) This is especially useful when listing very large
- - directories, since not doing any sorting can be noticeably faster.
- -
- -`-X'
- -`--sort=extension'
- - Sort directory contents alphabetically by file extension
- - (characters after the last `.'); files with no extension are
- - sorted first.
- -
- -
- -File: fileutils.info, Node: General output formatting, Next: Formatting the file names, Prev: Sorting the output, Up: ls invocation
- -
- -General output formatting
- --------------------------
- -
- - These options affect the appearance of the overall output.
- -
- -`-1'
- -`--format=single-column'
- - List one file per line. This is the default for `ls' when standard
- - output is not a terminal.
- -
- -`-C'
- -`--format=vertical'
- - List files in columns, sorted vertically. This is the default for
- - `ls' if standard output is a terminal. It is always the default
- - for the `dir' and `d' programs.
- -
- -`--color [=WHEN]'
- - Specify whether to use color for distinguishing file types. WHEN
- - may be omitted, or one of:
- - * none Do not use color at all. This is the default.
- -
- - * auto Only use color if standard output is a terminal.
- -
- - * always Always use color. Specifying `--color' and no WHEN is
- - equivalent to `--color=always'.
- -
- -`-F'
- -`--classify'
- - Append a character to each file name indicating the file type.
- - Also, for regular files that are executable, append `*'. The file
- - type indicators are `/' for directories, `@' for symbolic links,
- - `|' for FIFOs, `=' for sockets, and nothing for regular files.
- -
- -`--full-time'
- - List times in full, rather than using the standard abbreviation
- - heuristics. The format is the same as `date''s default; it's not
- - possible to change this, but you can extract out the date string
- - with `cut' and then pass the result to `date -d'. *Note `date'
- - invocation: (sh-utils)date invocation.
- -
- - This is most useful because the time output includes the seconds.
- - (Unix filesystems store file timestamps only to the nearest
- - second, so this option shows all the information there is.) For
- - example, this can help when you have a Makefile that is not
- - regenerating files properly.
- -
- -`-k'
- -`--kilobytes'
- - If file sizes are being listed, print them in kilobytes. This
- - overrides the environment variable `POSIXLY_CORRECT'.
- -
- -`-m'
- -`--format=commas'
- - List files horizontally, with as many as will fit on each line,
- - separated by `, ' (a comma and a space).
- -
- -`-n'
- -`--numeric-uid-gid'
- - List the numeric UID and GID instead of the names.
- -
- -`-p'
- - Append a character to each file name indicating the file type.
- - This is like `-F', except that executables are not marked.
- -
- -`-x FORMAT'
- -`--format=across'
- -`--format=horizontal'
- - List the files in columns, sorted horizontally.
- -
- -`-T COLS'
- -`--tabsize=COLS'
- - Assume that each tabstop is COLS columns wide. The default is 8.
- - `ls' uses tabs where possible in the output, for efficiency. If
- - COLS is zero, do not use tabs at all.
- -
- -`-w'
- -`--width=COLS'
- - Assume the screen is COLS columns wide. The default is taken from
- - the terminal settings if possible; otherwise the environment
- - variable `COLUMNS' is used if it is set; otherwise the default is
- - 80.
- -
- -
- -File: fileutils.info, Node: Formatting the file names, Prev: General output formatting, Up: ls invocation
- -
- -Formatting the file names
- --------------------------
- -
- - These options change how file names themselves are printed.
- -
- -`-b'
- -`--escape'
- - Quote nongraphic characters in file names using alphabetic and
- - octal backslash sequences like those used in C.
- -
- -`-N'
- -`--literal'
- - Do not quote file names.
- -
- -`-q'
- -`--hide-control-chars'
- - Print question marks instead of nongraphic characters in file
- - names. This is the default.
- -
- -`-Q'
- -`--quote-name'
- - Enclose file names in double quotes and quote nongraphic
- - characters as in C.
- -
- -
- -File: fileutils.info, Node: dir invocation, Next: vdir invocation, Prev: ls invocation, Up: Directory listing
- -
- -`dir': Briefly list directory contents
- -======================================
- -
- - `dir' (also installed as `d') is equivalent to `ls -C'; that is,
- -files are by default listed in columns, sorted vertically.
- -
- - *Note `ls': ls invocation.
- -
- -
- -File: fileutils.info, Node: vdir invocation, Next: dircolors invocation, Prev: dir invocation, Up: Directory listing
- -
- -`vdir': Verbosely list directory contents
- -=========================================
- -
- - `vdir' (also installed as `v')is equivalent to `ls -l'; that is,
- -files are by default listed in long format.
- -
- -
- -File: fileutils.info, Node: dircolors invocation, Prev: vdir invocation, Up: Directory listing
- -
- -`dircolors': Color setup for `ls'
- -=================================
- -
- - `dircolors' outputs a sequence of shell commands to set up the
- -terminal for color output from `ls' (and `dir', etc.). Typical usage:
- -
- - eval `dircolors [OPTION]... [FILE]`
- -
- - If FILE is specified, `dircolors' reads it to determine which colors
- -to use for which file types and extensions. Otherwise, a precompiled
- -database is used. For details on the format of these files, run
- -`dircolors --print-data-base'.
- -
- - The output is a shell command to set the `LS_COLOR' environment
- -variable. You can specify the shell syntax to use on the command line,
- -or `dircolors' will guess it from the value of the `SHELL' environment
- -variable.
- -
- - The program accepts the following options. Also see *Note Common
- -options::.
- -
- -`-b'
- -`--sh'
- -`--bourne-shell'
- - Output Bourne shell commands. This is the default if the `SHELL'
- - environment variable is set and does not end with `csh' or `tcsh'.
- -
- -`-c'
- -`--csh'
- -`--c-shell'
- - Output C shell commands. This is the default if `SHELL' ends with
- - `csh' or `tcsh'.
- -
- -`-p'
- -`--print-data-base'
- - Print the (compiled-in) default color configuration database. This
- - output is itself a valid configuration file, and is fairly
- - descriptive of the possibilities.
- -
- -
- -File: fileutils.info, Node: Basic operations, Next: Special file types, Prev: Directory listing, Up: Top
- -
- -Basic operations
- -****************
- -
- - This chapter describes the commands for basic file manipulation:
- -copying, moving (renaming), and deleting (removing).
- -
- -* Menu:
- -
- -* cp invocation:: Copy files.
- -* dd invocation:: Convert and copy a file.
- -* install invocation:: Copy files and set attributes.
- -* mv invocation:: Move (rename) files.
- -* rm invocation:: Remove files or directories.
- -
- diff -rup --new-file baseline/fsf/fileutils/doc/fileutils.info-2 amiga/fsf/fileutils/doc/fileutils.info-2
- --- baseline/fsf/fileutils/doc/fileutils.info-2 Thu Jul 11 20:26:04 1996
- +++ amiga/fsf/fileutils/doc/fileutils.info-2 Wed Dec 31 17:00:00 1969
- @@ -1,1215 +0,0 @@
- -This is Info file ./fileutils.info, produced by Makeinfo-1.63 from the
- -input file fileutils.texi.
- -
- -START-INFO-DIR-ENTRY
- -* File utilities: (fileutils). GNU file utilities.
- -* chgrp: (fileutils)chgrp invocation. Change file groups.
- -* chown: (fileutils)chown invocation. Change file owners/groups.
- -* chmod: (fileutils)chmod invocation. Change file permissions.
- -* cp: (fileutils)cp invocation. Copy files.
- -* dd: (fileutils)dd invocation. Copy and convert a file.
- -* df: (fileutils)df invocation. Report filesystem disk usage.
- -* dir: (fileutils)dir invocation. List directories briefly.
- -* dircolors: (fileutils)dircolors invocation. Color setup for ls.
- -* du: (fileutils)du invocation. Report on disk usage.
- -* install: (fileutils)install invocation. Copy and change attributes.
- -* ln: (fileutils)ln invocation. Make links between files.
- -* ls: (fileutils)ls invocation. List directory contents.
- -* mkdir: (fileutils)mkdir invocation. Create directories.
- -* mkfifo: (fileutils)mkfifo invocation. Create FIFOs: (named pipes).
- -* mknod: (fileutils)mknod invocation. Create special files.
- -* mv: (fileutils)mv invocation. Rename files.
- -* rm: (fileutils)rm invocation. Remove files.
- -* rmdir: (fileutils)rmdir invocation. Remove empty directories.
- -* sync: (fileutils)sync invocation. Synchronize memory and disk.
- -* touch: (fileutils)touch invocation. Change file timestamps.
- -* vdir: (fileutils)vdir invocation. List directories verbosely.
- -END-INFO-DIR-ENTRY
- -
- - This file documents the GNU set of file utilities.
- -
- - Copyright (C) 1994, 95, 96 Free Software Foundation, Inc.
- -
- - Permission is granted to make and distribute verbatim copies of this
- -manual provided the copyright notice and this permission notice are
- -preserved on all copies.
- -
- - Permission is granted to copy and distribute modified versions of
- -this manual under the conditions for verbatim copying, provided that
- -the entire resulting derived work is distributed under the terms of a
- -permission notice identical to this one.
- -
- - Permission is granted to copy and distribute translations of this
- -manual into another language, under the above conditions for modified
- -versions, except that this permission notice may be stated in a
- -translation approved by the Foundation.
- -
- -
- -File: fileutils.info, Node: cp invocation, Next: dd invocation, Up: Basic operations
- -
- -`cp': Copy files and directories
- -================================
- -
- - `cp' copies files (or, optionally, directories). The copy is
- -completely independent of the original. You can either copy one file to
- -another, or copy arbitrarily many files to a destination directory.
- -Synopsis:
- -
- - cp [OPTION]... SOURCE DEST
- - cp [OPTION]... SOURCE... DIRECTORY
- -
- - If the last argument names an existing directory, `cp' copies each
- -SOURCE file into that directory (retaining the same name). Otherwise,
- -if only two files are given, it copies the first onto the second. It
- -is an error if the last argument is not a directory and more than two
- -non-option arguments are given.
- -
- - Generally, files are written just as they are read. For exceptions,
- -see the `--sparse' option below.
- -
- - By default, `cp' does not copy directories (see `-r' below).
- -
- - `cp' generally refuses to copy a file onto itself, with the
- -following exception: if `--force --backup' is specified with SOURCE and
- -DEST identical, and referring to a regular file, `cp' will make a
- -backup file, either regular or numbered, as specified in the usual ways
- -(*note Backup options::.). This is useful when you simply want to make
- -a backup of an existing file before changing it.
- -
- - The program accepts the following options. Also see *Note Common
- -options::.
- -
- -`-a'
- -`--archive'
- - Preserve as much as possible of the structure and attributes of the
- - original files in the copy (but do not preserve directory
- - structure). Equivalent to `-dpR'.
- -
- -`-b'
- -`--backup'
- - Make backups of files that are about to be overwritten or removed.
- - *Note Backup options::.
- -
- -`-d'
- -`--no-dereference'
- - Copy symbolic links as symbolic links rather than copying the
- - files that they point to, and preserve hard links between source
- - files in the copies.
- -
- -`-f'
- -`--force'
- - Remove existing destination files.
- -
- -`-i'
- -`--interactive'
- - Prompt whether to overwrite existing regular destination files.
- -
- -`-l'
- -`--link'
- - Make hard links instead of copies of non-directories.
- -
- -`-p'
- -`--preserve'
- - Preserve the original files' owner, group, permissions, and
- - timestamps.
- -
- -`-P'
- -`--parents'
- - Form the name of each destination file by appending to the target
- - directory a slash and the specified name of the source file. The
- - last argument given to `cp' must be the name of an existing
- - directory. For example, the command:
- -
- - cp --parents a/b/c existing_dir
- -
- - copies the file `a/b/c' to `existing_dir/a/b/c', creating any
- - missing intermediate directories.
- -
- -`-r'
- - Copy directories recursively, copying any non-directories and
- - non-symbolic links (that is, FIFOs and special files) as if they
- - were regular files. This means trying to read the data in each
- - source file and writing it to the destination. Thus, with this
- - option, `cp' may well hang indefinitely reading a FIFO, unless
- - something else happens to be writing it.
- -
- -`-R'
- -`--recursive'
- - Copy directories recursively, preserving non-directories (see `-r'
- - just above).
- -
- -`--sparse=WHEN'
- - A "sparse file" contains "holes"--a sequence of zero bytes that
- - does not occupy any physical disk blocks; the `read' system call
- - reads these as zeroes. This can both save considerable disk space
- - and increase speed, since many binary files contain lots of
- - consecutive zero bytes. By default, `cp' detects holes in input
- - source files via a crude heuristic and makes the corresponding
- - output file sparse as well.
- -
- - The WHEN value can be one of the following:
- - `auto'
- - The default behavior: the output file is sparse if the input
- - file is sparse.
- -
- - `always'
- - Always make the output file sparse. This is useful when the
- - input file resides on a filesystem that does not support
- - sparse files (the most notable example is `efs' filesystems
- - in SGI IRIX 5.3 and earlier), but the output file is on
- - another type of filesystem.
- -
- - `never'
- - Never make the output file sparse. If you find an
- - application for this option, let us know.
- -
- -`-s'
- -`--symbolic-link'
- - Make symbolic links instead of copies of non-directories. All
- - source file names must be absolute (starting with `/') unless the
- - destination files are in the current directory. This option merely
- - results in an error message on systems that do not support
- - symbolic links.
- -
- -`-S SUFFIX'
- -`--suffix=SUFFIX'
- - Append SUFFIX to each backup file made with `-b'. *Note Backup
- - options::.
- -
- -`-u'
- -`--update'
- - Do not copy a nondirectory that has an existing destination with
- - the same or newer modification time.
- -
- -`-v'
- -`--verbose'
- - Print the name of each file before copying it.
- -
- -`-V METHOD'
- -`--version-control=METHOD'
- - Change the type of backups made with `-b'. The METHOD argument
- - can be `numbered' (or `t'), `existing' (or `nil'), or `never' (or
- - `simple'). *Note Backup options::.
- -
- -`-x'
- -`--one-file-system'
- - Skip subdirectories that are on different filesystems from the one
- - that the copy started on.
- -
- -
- -File: fileutils.info, Node: dd invocation, Next: install invocation, Prev: cp invocation, Up: Basic operations
- -
- -`dd': Convert and copy a file
- -=============================
- -
- - `dd' copies a file (from standard input to standard output, by
- -default) with a changeable I/O blocksize, while optionally performing
- -conversions on it. Synopsis:
- -
- - dd [OPTION]...
- -
- - The program accepts the following options. Also see *Note Common
- -options::.
- -
- - The numeric-valued options below (BYTES and BLOCKS) can be followed
- -by a multiplier: `b'=512, `c'=1, `k'=1024, `w'=2, `xM'=M.
- -
- -`if=FILE'
- - Read from FILE instead of standard input.
- -
- -`of=FILE'
- - Write to FILE instead of standard output. Unless `conv=notrunc'
- - is given, `dd' truncates FILE to zero bytes (or the size specified
- - with `seek=').
- -
- -`ibs=BYTES'
- - Read BYTES bytes at a time.
- -
- -`obs=BYTES'
- - Write BYTES bytes at a time.
- -
- -`bs=BYTES'
- - Both read and write BYTES bytes at a time. This overrides `ibs'
- - and `obs'.
- -
- -`cbs=BYTES'
- - Convert BYTES bytes at a time.
- -
- -`skip=BLOCKS'
- - Skip BLOCKS `ibs'-byte blocks in the input file before copying.
- -
- -`seek=BLOCKS'
- - Skip BLOCKS `obs'-byte blocks in the output file before copying.
- -
- -`count=BLOCKS'
- - Copy BLOCKS `obs'-byte blocks from the input file, instead of
- - everything until the end of the file.
- -
- -`conv=CONVERSION[,CONVERSION]...'
- - Convert the file as specified by the CONVERSION argument(s). (No
- - spaces around any comma(s).)
- -
- - Conversions:
- -
- - `ascii'
- - Convert EBCDIC to ASCII.
- -
- - `ebcdic'
- - Convert ASCII to EBCDIC.
- -
- - `ibm'
- - Convert ASCII to alternate EBCDIC.
- -
- - `block'
- - For each line in the input, output `cbs' bytes, replacing the
- - input newline with a space and padding with spaces as
- - necessary.
- -
- - `unblock'
- - Replace trailing spaces in each `cbs'-sized input block with a
- - newline.
- -
- - `lcase'
- - Change uppercase letters to lowercase.
- -
- - `ucase'
- - Change lowercase letters to uppercase.
- -
- - `swab'
- - Swap every pair of input bytes. GNU `dd', unlike others,
- - works when an odd number of bytes are read--the last byte is
- - simply copied (since there is nothing to swap it with).
- -
- - `noerror'
- - Continue after read errors.
- -
- - `notrunc'
- - Do not truncate the output file.
- -
- - `sync'
- - Pad every input block to size of `ibs' with trailing zero
- - bytes.
- -
- -
- -File: fileutils.info, Node: install invocation, Next: mv invocation, Prev: dd invocation, Up: Basic operations
- -
- -`install': Copy files and set attributes
- -========================================
- -
- - `install' copies files while setting their permission modes and, if
- -possible, their owner and group. Synopses:
- -
- - install [OPTION]... SOURCE DEST
- - install [OPTION]... SOURCE... DIRECTORY
- - install -d [OPTION]... DIRECTORY...
- -
- - In the first of these, the SOURCE file is copied to the DEST target
- -file. In the second, each of the SOURCE files are copied to the
- -destination DIRECTORY. In the last, each DIRECTORY (and any missing
- -parent directories) is created.
- -
- - `install' is similar to `cp', but allows you to control the
- -attributes of destination files. It is typically used in Makefiles to
- -copy programs into their destination directories. It refuses to copy
- -files onto themselves.
- -
- - The program accepts the following options. Also see *Note Common
- -options::.
- -
- -`-b'
- -`--backup'
- - Make backups of files that are about to be overwritten or removed.
- - *Note Backup options::.
- -
- -`-c'
- - Ignored; for compatibility with old Unix versions of `install'.
- -
- -`-d'
- -`--directory'
- - Create each given directory and any missing parent directories,
- - setting the owner, group and mode as given on the command line or
- - to the defaults. It also gives any parent directories it creates
- - those attributes. (This is different from the SunOS 4.x
- - `install', which gives directories that it creates the default
- - attributes.)
- -
- -`-g GROUP'
- -`--group=GROUP'
- - Set the group ownership of installed files or directories to
- - GROUP. The default is the process's current group. GROUP may be
- - either a group name or a numeric group id.
- -
- -`-m MODE'
- -`--mode=MODE'
- - Set the permissions for the installed file or directory to MODE,
- - which can be either an octal number, or a symbolic mode as in
- - `chmod', with 0 as the point of departure (*note File
- - permissions::.). The default mode is 0755--read, write, and
- - execute for the owner, and read and execute for group and other.
- -
- -`-o OWNER'
- -`--owner=OWNER'
- - If `install' has appropriate privileges (is run as root), set the
- - ownership of installed files or directories to OWNER. The default
- - is `root'. OWNER may be either a user name or a numeric user ID.
- -
- -`-s'
- -`--strip'
- - Strip the symbol tables from installed binary executables.
- -
- -`-S SUFFIX'
- -`--suffix=SUFFIX'
- - Append SUFFIX to each backup file made with `-b'. *Note Backup
- - options::.
- -
- -`-V METHOD'
- -`--version-control=METHOD'
- - Change the type of backups made with `-b'. The METHOD argument
- - can be `numbered' (or `t'), `existing' (or `nil'), or `never' (or
- - `simple'). *Note Backup options::.
- -
- -
- -File: fileutils.info, Node: mv invocation, Next: rm invocation, Prev: install invocation, Up: Basic operations
- -
- -`mv': Move (rename) files
- -=========================
- -
- - `mv' moves or renames files (or directories). Synopsis:
- -
- - mv [OPTION]... SOURCE DEST
- - mv [OPTION]... SOURCE... DIRECTORY
- -
- - If the last argument names an existing directory, `mv' moves each
- -other given file into a file with the same name in that directory.
- -Otherwise, if only two files are given, it renames the first as the
- -second. It is an error if the last argument is not a directory and
- -more than two files are given.
- -
- - `mv' can move only regular files across filesystems.
- -
- - If a destination file exists but is normally unwritable, standard
- -input is a terminal, and the `-f' or `--force' option is not given,
- -`mv' prompts the user for whether to replace the file. (You might own
- -the file, or have write permission on its directory.) If the response
- -does not begin with `y' or `Y', the file is skipped.
- -
- - The program accepts the following options. Also see *Note Common
- -options::.
- -
- -`-b'
- -`--backup'
- - Make backups of files that are about to be overwritten or removed.
- - *Note Backup options::.
- -
- -`-f'
- -`--force'
- - Remove existing destination files and never prompt the user.
- -
- -`-i'
- -`--interactive'
- - Prompt whether to overwrite each existing destination file,
- - regardless of its permissions. If the response does not begin
- - with `y' or `Y', the file is skipped.
- -
- -`-u'
- -`--update'
- - Do not move a nondirectory that has an existing destination with
- - the same or newer modification time.
- -
- -`-v'
- -`--verbose'
- - Print the name of each file before moving it.
- -
- -`-S SUFFIX'
- -`--suffix=SUFFIX'
- - Append SUFFIX to each backup file made with `-b'. *Note Backup
- - options::.
- -
- -`-V METHOD'
- -`--version-control=METHOD'
- - Change the type of backups made with `-b'. The METHOD argument
- - can be `numbered' (or `t'), `existing' (or `nil'), or `never' (or
- - `simple'). *Note Backup options::.
- -
- -
- -File: fileutils.info, Node: rm invocation, Prev: mv invocation, Up: Basic operations
- -
- -`rm': Remove files or directories
- -=================================
- -
- - `rm' removes each given FILE. By default, it does not remove
- -directories. Synopsis:
- -
- - rm [OPTION]... [FILE]...
- -
- - If a file is unwritable, standard input is a terminal, and the `-f'
- -or `--force' option is not given, or the `-i' or `--interactive' option
- -*is* given, `rm' prompts the user for whether to remove the file. If
- -the response does not begin with `y' or `Y', the file is skipped.
- -
- - The program accepts the following options. Also see *Note Common
- -options::.
- -
- -`-d'
- -`--directory'
- - Remove directories with `unlink' instead of `rmdir', and don't
- - require a directory to be empty before trying to unlink it. Only
- - works if you have appropriate privileges. Because unlinking a
- - directory causes any files in the deleted directory to become
- - unreferenced, it is wise to `fsck' the filesystem after doing this.
- -
- -`-f'
- -`--force'
- - Ignore nonexistent files and never prompt the user.
- -
- -`-i'
- -`--interactive'
- - Prompt whether to remove each file. If the response does not begin
- - with `y' or `Y', the file is skipped.
- -
- -`-r'
- -`-R'
- -`--recursive'
- - Remove the contents of directories recursively.
- -
- -`-v'
- -`--verbose'
- - Print the name of each file before removing it.
- -
- - One common question is how to remove files whose names being with a
- -`-'. GNU `rm', like every program that uses the `getopt' function to
- -parse its arguments, lets you use the `--' option to indicate that all
- -following arguments are non-options. To remove a file called `-f' in
- -the current directory, you could type either:
- -
- - rm -- -f
- -
- -or:
- -
- - rm ./-f
- -
- - The Unix `rm' program's use of a single `-' for this purpose
- -predates the development of the getopt standard syntax.
- -
- -
- -File: fileutils.info, Node: Special file types, Next: Changing file attributes, Prev: Basic operations, Up: Top
- -
- -Special file types
- -******************
- -
- - This chapter describes commands which create special types of files
- -(and `rmdir', which removes directories, one special file type).
- -
- - Although Unix-like operating systems have markedly fewer special file
- -types than others, not *everything* can be treated only as the
- -undifferentiated byte stream of "normal files". For example, when a
- -file is created or removed, the system must record this information,
- -which it does in a "directory"--a special type of file. Although you
- -can read directories as normal files, if you're curious, in order for
- -the system to do its job it must impose a structure, a certain order,
- -on the bytes of the file. Thus it is a "special" type of file.
- -
- - Besides directories, other special file types include named pipes
- -(FIFOs), symbolic links, sockets, and so-called "special files".
- -
- -* Menu:
- -
- -* ln invocation:: Make links between files.
- -* mkdir invocation:: Make directories.
- -* mkfifo invocation:: Make FIFOs (named pipes).
- -* mknod invocation:: Make block or character special files.
- -* rmdir invocation:: Remove empty directories.
- -
- -
- -File: fileutils.info, Node: ln invocation, Next: mkdir invocation, Up: Special file types
- -
- -`ln': Make links between files
- -==============================
- -
- - `ln' makes links between files. By default, it makes hard links;
- -with the `-s' option, it makes symbolic (or "soft") links. Synopses:
- -
- - ln [OPTION]... SOURCE [DEST]
- - ln [OPTION]... SOURCE... DIRECTORY
- -
- - If the last argument names an existing directory, `ln' links each
- -SOURCE file into a file with the same name in that directory. (But see
- -the description of the `--no-dereference' option below.) If only one
- -file is given, it links that file into the current directory.
- -Otherwise, if only two files are given, it links the first onto the
- -second. It is an error if the last argument is not a directory and more
- -than two files are given. By default, it does not remove existing
- -files.
- -
- - A "hard link" is another name for an existing file; the link and the
- -original are indistinguishable. (Technically speaking, they share the
- -same inode, and the inode contains all the information about a
- -file--indeed, it is not incorrect to say that the inode *is* the file.)
- -On all existing implementations, you cannot make a hard links to
- -directories, and hard links cannot cross filesystem boundaries. (These
- -restrictions are not mandated by POSIX, however.)
- -
- - "Symbolic links" ("symlinks" for short), on the other hand, are a
- -special file type (which not all kernels support; in particular, system
- -V release 3 (and older) systems lack symlinks) in which the link file
- -actually refers to a different file, by name. When most operations
- -(opening, reading, writing, and so on) are passed the symbolic link
- -file, the kernel automatically "dereferences" the link and operates on
- -the target of the link. But some operations (e.g., removing) work on
- -the link file itself, rather than on its target. *Note Symbolic Links:
- -(library)Symbolic Links.
- -
- - The program accepts the following options. Also see *Note Common
- -options::.
- -
- -`-b'
- -`--backup'
- - Make backups of files that are about to be overwritten or removed.
- - *Note Backup options::.
- -
- -`-d'
- -`-F'
- -`--directory'
- - Allow the super-user to make hard links to directories.
- -
- -`-f'
- -`--force'
- - Remove existing destination files.
- -
- -`-i'
- -`--interactive'
- - Prompt whether to remove existing destination files.
- -
- -`-n'
- -`--no-dereference'
- - When given an explicit destination that is a symlink to a
- - directory, treat that destination as if it were a normal file.
- -
- - When the destination is an actual directory (not a symlink to one),
- - there is no ambiguity. The link is created in that directory.
- - But when the specified destination is a symlink to a directory,
- - there are two ways to treat the user's request. `ln' can treat
- - the destination just as it would a normal directory and create the
- - link in it. On the other hand, the destination can be viewed as a
- - non-directory--as the symlink itself. In that case, `ln' must
- - delete or backup that symlink before creating the new link. The
- - default is to treat a destination that is a symlink to a directory
- - just like a directory.
- -
- -`-s'
- -`--symbolic'
- - Make symbolic links instead of hard links. This option merely
- - produces an error message on systems that do not support symbolic
- - links.
- -
- -`-v'
- -`--verbose'
- - Print the name of each file before linking it.
- -
- -`-S SUFFIX'
- -`--suffix=SUFFIX'
- - Append SUFFIX to each backup file made with `-b'. *Note Backup
- - options::.
- -
- -`-V METHOD'
- -`--version-control=METHOD'
- - Change the type of backups made with `-b'. The METHOD argument
- - can be `numbered' (or `t'), `existing' (or `nil'), or `never' (or
- - `simple'). *Note Backup options::.
- -
- -
- -File: fileutils.info, Node: mkdir invocation, Next: mkfifo invocation, Prev: ln invocation, Up: Special file types
- -
- -`mkdir': Make directories
- -=========================
- -
- - `mkdir' creates directories with the specified names. Synopsis:
- -
- - mkdir [OPTION]... NAME...
- -
- - It is not an error if a NAME is already a directory; `mkdir' simply
- -proceeds. But if a NAME is an existing file and is anything but a
- -directory, `mkdir' complains.
- -
- - The program accepts the following options. Also see *Note Common
- -options::.
- -
- -`-m MODE'
- -`--mode=MODE'
- - Set the mode of created directories to MODE, which is symbolic as
- - in `chmod' and uses 0777 (read, write and execute allowed for
- - everyone) minus the bits set in the umask for the point of the
- - departure. *Note File permissions::.
- -
- -`-p'
- -`--parents'
- - Make any missing parent directories for each argument. The mode
- - for parent directories is set to the umask modified by `u+wx'.
- - Ignore arguments corresponding to existing directories.
- -
- -`--verbose'
- - Print a message for each created directory. This is most useful
- - with `--parents'.
- -
- -
- -File: fileutils.info, Node: mkfifo invocation, Next: mknod invocation, Prev: mkdir invocation, Up: Special file types
- -
- -`mkfifo': Make FIFOs (named pipes)
- -==================================
- -
- - `mkfifo' creates FIFOs (also called "named pipes") with the
- -specified names. Synopsis:
- -
- - mkfifo [OPTION] NAME...
- -
- - A "FIFO" is a special file type that permits independent processes
- -to communicate. One process opens the FIFO file for writing, and
- -another for reading, after which data can flow as with the usual
- -anonymous pipe in shells or elsewhere.
- -
- - The program accepts the following option. Also see *Note Common
- -options::.
- -
- -`-m MODE'
- -`--mode=MODE'
- - Set the mode of created FIFOs to MODE, which is symbolic as in
- - `chmod' and uses 0666 (read and write allowed for everyone) minus
- - the bits set in the umask for the point of departure. *Note File
- - permissions::.
- -
- -
- -File: fileutils.info, Node: mknod invocation, Next: rmdir invocation, Prev: mkfifo invocation, Up: Special file types
- -
- -`mknod': Make block or character special files
- -==============================================
- -
- - `mknod' creates a FIFO, character special file, or block special
- -file with the specified name. Synopsis:
- -
- - mknod [OPTION]... NAME TYPE [MAJOR MINOR]
- -
- - Unlike the phrase "special file type" above, the term "special file"
- -has a technical meaning on Unix: something that can generate or receive
- -data. Usually this corresponds to a physical piece of hardware, e.g.,
- -a printer or a disk. (These files are typically created at
- -system-configuration time.) The `mknod' command is what creates files
- -of this type. Such devices can be read either a character at a time or
- -a "block" (many characters) at a time, hence we say there are "block
- -special" files and "character special" files.
- -
- - The arguments after NAME specify the type of file to make:
- -
- -`p'
- - for a FIFO
- -
- -`b'
- - for a block (buffered) special file
- -
- -`c'
- - for a character (buffered) special file
- -
- -`u'
- - for a character (unbuffered) special file
- -
- - When making a block or character special file, the major and minor
- -device numbers must be given after the file type.
- -
- - The program accepts the following option. Also see *Note Common
- -options::.
- -
- -`-m MODE'
- -`--mode=MODE'
- - Set the mode of created files to MODE, which is symbolic as in
- - `chmod' and uses 0666 minus the bits set in the umask as the point
- - of departure. *Note File permissions::.
- -
- -
- -File: fileutils.info, Node: rmdir invocation, Prev: mknod invocation, Up: Special file types
- -
- -`rmdir': Remove empty directories
- -=================================
- -
- - `rmdir' removes empty directories. Synopsis:
- -
- - rmdir [OPTION]... DIRECTORY...
- -
- - If any DIRECTORY argument does not refer to an existing empty
- -directory, it is an error.
- -
- - The program accepts the following option. Also see *Note Common
- -options::.
- -
- -`-p'
- -`--parents'
- - Remove any parent directories that become empty after an argument
- - DIRECTORY is removed.
- -
- - *Note rm invocation::, for how to remove non-empty directories
- -(recursively).
- -
- -
- -File: fileutils.info, Node: Changing file attributes, Next: Disk usage, Prev: Special file types, Up: Top
- -
- -Changing file attributes
- -************************
- -
- - A file is not merely its contents, a name, and a file type (*note
- -Special file types::.). A file also has an owner (a userid), a group
- -(a group id), permissions (what the owner can do with the file, what
- -people in the group can do, and what everyone else can do), various
- -timestamps, and other information. Collectively, we call these a file's
- -"attributes".
- -
- - These commands change file attributes.
- -
- -* Menu:
- -
- -* chown invocation:: Change file owners and groups.
- -* chgrp invocation:: Change file groups.
- -* chmod invocation:: Change access permissions.
- -* touch invocation:: Change file timestamps.
- -
- -
- -File: fileutils.info, Node: chown invocation, Next: chgrp invocation, Up: Changing file attributes
- -
- -`chown': Change file owner and group
- -====================================
- -
- - `chown' changes the user and/or group ownership of each given file.
- -Synopsis:
- -
- - chown [OPTION]... NEW-OWNER FILE...
- -
- - The first non-option argument, NEW-OWNER, specifies the new owner
- -and/or group, as follows (with no embedded white space):
- -
- - [OWNER] [ [:.] [GROUP] ]
- -
- - Specifically:
- -
- -OWNER
- - If only an OWNER (a user name or numeric user id) is given, that
- - user is made the owner of each given file, and the files' group is
- - not changed.
- -
- -OWNER`.'GROUP
- -OWNER`:'GROUP
- - If the OWNER is followed by a colon or dot and a GROUP (a group
- - name or numeric group id), with no spaces between them, the group
- - ownership of the files is changed as well (to GROUP).
- -
- -OWNER`.'
- -OWNER`:'
- - If a colon or dot but no group name follows OWNER, that user is
- - made the owner of the files and the group of the files is changed
- - to OWNER's login group.
- -
- -`.'GROUP
- -`:'GROUP
- - If the colon or dot and following GROUP are given, but the owner
- - is omitted, only the group of the files is changed; in this case,
- - `chown' performs the same function as `chgrp'.
- -
- - The program accepts the following options. Also see *Note Common
- -options::.
- -
- -`-c'
- -`--changes'
- - Verbosely describe the action for each FILE whose ownership
- - actually changes.
- -
- -`-f'
- -`--silent'
- -`--quiet'
- - Do not print error messages about files whose ownership cannot be
- - changed.
- -
- -`-f'
- -`--no-dereference'
- - Act on symbolic links themselves instead of what they point to.
- - Only available if the `lchown' system call is provided.
- -
- -`-v'
- -`--verbose'
- - Verbosely describe the action (or non-action) taken for every FILE.
- -
- -`-R'
- -`--recursive'
- - Recursively change ownership of directories and their contents.
- -
- -
- -File: fileutils.info, Node: chgrp invocation, Next: chmod invocation, Prev: chown invocation, Up: Changing file attributes
- -
- -`chgrp': Change group ownership
- -===============================
- -
- - `chgrp' changes the group ownership of each given FILE to GROUP,
- -which can be either a group name or a numeric group id. Synopsis:
- -
- - chgrp [OPTION]... GROUP FILE...
- -
- - The program accepts the following options. Also see *Note Common
- -options::.
- -
- -`-c'
- -`--changes'
- - Verbosely describe the action for each FILE whose group actually
- - changes.
- -
- -`-f'
- -`--silent'
- -`--quiet'
- - Do not print error messages about files whose group cannot be
- - changed.
- -
- -`-f'
- -`--no-dereference'
- - Act on symbolic links themselves instead of what they point to.
- - Only available if the `lchown' system call is provided.
- -
- -`-v'
- -`--verbose'
- - Verbosely describe the action or non-action taken for every FILE.
- -
- -`-R'
- -`--recursive'
- - Recursively change the group ownership of directories and their
- - contents.
- -
- -
- -File: fileutils.info, Node: chmod invocation, Next: touch invocation, Prev: chgrp invocation, Up: Changing file attributes
- -
- -`chmod': Change access permissions
- -==================================
- -
- - `chmod' changes the access permissions of the named files. Synopsis:
- -
- - chmod [OPTION]... MODE FILE...
- -
- - `chmod' never changes the permissions of symbolic links, since the
- -`chmod' system call cannot change their permissions. This is not a
- -problem since the permissions of symbolic links are never used.
- -However, for each symbolic link listed on the command line, `chmod'
- -changes the permissions of the pointed-to file. In contrast, `chmod'
- -ignores symbolic links encountered during recursive directory
- -traversals.
- -
- - The first non-option argument, MODE, specifies the new permissions.
- -See the section below for details.
- -
- - The program accepts the following options. Also see *Note Common
- -options::.
- -
- -`-c'
- -`--changes'
- - Verbosely describe the action for each FILE whose permissions
- - actually changes.
- -
- -`-f'
- -`--silent'
- -`--quiet'
- - Do not print error messages about files whose permissions cannot be
- - changed.
- -
- -`-v'
- -`--verbose'
- - Verbosely describe the action or non-action taken for every FILE.
- -
- -`-R'
- -`--recursive'
- - Recursively change permissions of directories and their contents.
- -
- -
- -File: fileutils.info, Node: touch invocation, Prev: chmod invocation, Up: Changing file attributes
- -
- -`touch': Change file timestamps
- -===============================
- -
- - `touch' changes the access and/or modification times of the
- -specified files. Synopsis:
- -
- - touch [OPTION]... FILE...
- -
- - If the first FILE would be a valid argument to the `-t' option and
- -no timestamp is given with any of the `-d', `-r', or `-t' options and
- -the `--' argument is not given, that argument is interpreted as the
- -time for the other files instead of as a file name.
- -
- - Any FILE that does not exist is created empty.
- -
- - If changing both the access and modification times to the current
- -time, `touch' can change the timestamps for files that the user running
- -it does not own but has write permission for. Otherwise, the user must
- -own the files.
- -
- - The program accepts the following options. Also see *Note Common
- -options::.
- -
- -`-a'
- -`--time=atime'
- -`--time=access'
- -`--time=use'
- - Change the access time only.
- -
- -`-c'
- -`--no-create'
- - Do not create files that do not exist.
- -
- -`-d'
- -`--date=time'
- - Use TIME instead of the current time. It can contain month names,
- - timezones, `am' and `pm', etc. *Note Date input formats::.
- -
- -`-f'
- - Ignored; for compatibility with BSD versions of `touch'.
- -
- -`-m'
- -`--time=mtime'
- -`--time=modify'
- - Change the modification time only.
- -
- -`-r FILE'
- -`--reference=FILE'
- - Use the times of the reference FILE instead of the current time.
- -
- -`-t MMDDhhmm[[CC]YY][.ss]'
- - Use the argument (months, days, hours, minutes, optional century
- - and years, optional seconds) instead of the current time.
- -
- -
- -File: fileutils.info, Node: Disk usage, Next: Index, Prev: Changing file attributes, Up: Top
- -
- -Disk usage
- -**********
- -
- - No disk can hold an infinite amount of data. These commands report
- -on how much disk storage is in use or available. (This has nothing
- -much to do with how much *main memory*, i.e., RAM, a program is using
- -when it runs; for that, you want `ps' or `pstat' or `swap' or some such
- -command.)
- -
- -* Menu:
- -
- -* df invocation:: Report filesystem disk space usage.
- -* du invocation:: Estimate file space usage.
- -* sync invocation:: Synchronize memory and disk.
- -
- -
- -File: fileutils.info, Node: df invocation, Next: du invocation, Up: Disk usage
- -
- -`df': Report filesystem disk space usage
- -========================================
- -
- - `df' reports the amount of disk space used and available on
- -filesystems. Synopsis:
- -
- - df [OPTION]... [FILE]...
- -
- - With no arguments, `df' reports the space used and available on all
- -currently mounted filesystems (of all types). Otherwise, `df' reports
- -on the filesystem containing each argument FILE.
- -
- - Disk space is shown in 1024-byte blocks by default, unless the
- -environment variable `POSIXLY_CORRECT' is set, in which case 512-byte
- -blocks are used (unless the `-k' option is given).
- -
- - If an argument FILE is a disk device file containing a mounted
- -filesystem, `df' shows the space available on that filesystem rather
- -than on the filesystem containing the device node (i.e., the root
- -filesystem). GNU `df' does not attempt to determine the disk usage on
- -unmounted filesystems, because on most kinds of systems doing so
- -requires extremely nonportable intimate knowledge of filesystem
- -structures.
- -
- - The program accepts the following options. Also see *Note Common
- -options::.
- -
- -`-a'
- -`--all'
- - Include in the listing filesystems that have a size of 0 blocks,
- - which are omitted by default. Such filesystems are typically
- - special-purpose pseudo-filesystems, such as automounter entries.
- - Also, filesystems of type "ignore" or "auto", supported by some
- - operating systems, are only included if this option is specified.
- -
- -`-h'
- -`--human-readable'
- - Append a size letter such as `M' for megabytes to each size.
- -
- -`-i'
- -`--inodes'
- - List inode usage information instead of block usage. An inode
- - (short for index node) is contains information about a file such
- - as its owner, permissions, timestamps, and location on the disk.
- -
- -`-k'
- -`--kilobytes'
- - Print sizes in 1024-byte blocks. This overrides the environment
- - variable `POSIXLY_CORRECT'.
- -
- -`-m'
- -`--megabytes'
- - Print sizes in megabyte (that 1,048,576 bytes) blocks.
- -
- -`--no-sync'
- - Do not invoke the `sync' system call before getting any usage data.
- - This may make `df' run significantly faster on systems with many
- - disks, but on some systems (notably SunOS) the results may be
- - slightly out of date. This is the default.
- -
- -`-P'
- -`--portability'
- - Use the POSIX output format. This is like the default format
- - except that the information about each filesystem is always
- - printed on exactly one line; a mount device is never put on a line
- - by itself. This means that if the mount device name is more than
- - 20 characters long (e.g., for some network mounts), the columns
- - are misaligned.
- -
- -`--sync'
- - Invoke the `sync' system call before getting any usage data. On
- - some systems (notably SunOS), doing this yields more up to date
- - results, but in general this option makes `df' much slower,
- - especially when there are many or very busy filesystems.
- -
- -`-t FSTYPE'
- -`--type=FSTYPE'
- - Limit the listing to filesystems of type FSTYPE. Multiple
- - filesystem types can be specified by giving multiple `-t' options.
- - By default, nothing is omitted.
- -
- -`-T'
- -`--print-type'
- - Print each filesystem's type. The types printed here are the same
- - ones you can include or exclude with `-t' and `-x'. The particular
- - types printed are whatever is supported by the system. Here are
- - some of the common names (this list is certainly not exhaustive):
- -
- - `nfs'
- - An NFS filesystem, i.e., one mounted over a network from
- - another machine. This is the one type name which seems to be
- - used uniformly by all systems.
- -
- - `4.2, ufs, efs...'
- - A filesystem on a locally-mounted hard disk. (The system
- - might even support more than one type here; Linux does.)
- -
- - `hsfs, cdfs'
- - A filesystem on a CD-ROM drive. HP-UX uses `cdfs', most other
- - systems use `hsfs' (`hs' for `High Sierra').
- -
- - `pcfs'
- - An MS-DOS filesystem, usually on a diskette.
- -
- -`-x FSTYPE'
- -`--exclude-type=FSTYPE'
- - Limit the listing to filesystems not of type FSTYPE. Multiple
- - filesystem types can be eliminated by giving multiple `-x'
- - options. By default, no filesystem types are omitted.
- -
- -`-v'
- - Ignored; for compatibility with System V versions of `df'.
- -
- -
- -File: fileutils.info, Node: du invocation, Next: sync invocation, Prev: df invocation, Up: Disk usage
- -
- -`du': Estimate file space usage
- -===============================
- -
- - `du' reports the amount of disk space used by the specified files
- -and for each subdirectory (of directory arguments). Synopsis:
- -
- - du [OPTION]... [FILE]...
- -
- - With no arguments, `du' reports the disk space for the current
- -directory. The output is in 1024-byte units by default, unless the
- -environment variable `POSIXLY_CORRECT' is set, in which case 512-byte
- -blocks are used (unless `-k' is specified).
- -
- - The program accepts the following options. Also see *Note Common
- -options::.
- -
- -`-a'
- -`--all'
- - Show counts for all files, not just directories.
- -
- -`-b'
- -`--bytes'
- - Print sizes in bytes, instead of kilobytes.
- -
- -`-c'
- -`--total'
- - Print a grand total of all arguments after all arguments have been
- - processed. This can be used to find out the total disk usage of a
- - given set of files or directories.
- -
- -`-D'
- -`--dereference-args'
- - Dereference symbolic links that are command line arguments. Does
- - not affect other symbolic links. This is helpful for finding out
- - the disk usage of directories, such as `/usr/tmp', which are often
- - symbolic links.
- -
- -`-h'
- -`--human-readable'
- - Append a size letter, such as `M' for megabytes, to each size.
- -
- -`-k'
- -`--kilobytes'
- - Print sizes in kilobytes. This overrides the environment variable
- - `POSIXLY_CORRECT'.
- -
- -`-l'
- -`--count-links'
- - Count the size of all files, even if they have appeared already
- - (as a hard link).
- -
- -`-L'
- -`--dereference'
- - Dereference symbolic links (show the disk space used by the file
- - or directory that the link points to instead of the space used by
- - the link).
- -
- -`-m'
- -`--megabytes'
- - Print sizes in megabyte (that 1,048,576 bytes) blocks.
- -
- -`-s'
- -`--summarize'
- - Display only a total for each argument.
- -
- -`-S'
- -`--separate-dirs'
- - Report the size of each directory separately, not including the
- - sizes of subdirectories.
- -
- -`-x'
- -`--one-file-system'
- - Skip directories that are on different filesystems from the one
- - that the argument being processed is on.
- -
- - On BSD systems, `du' reports sizes that are half the correct values
- -for files that are NFS-mounted from HP-UX systems. On HP-UX systems,
- -it reports sizes that are twice the correct values for files that are
- -NFS-mounted from BSD systems. This is due to a flaw in HP-UX; it also
- -affects the HP-UX `du' program.
- -
- -
- -File: fileutils.info, Node: sync invocation, Prev: du invocation, Up: Disk usage
- -
- -`sync': Synchronize data on disk with memory
- -============================================
- -
- - `sync' writes any data buffered in memory out to disk. This can
- -include (but is not limited to) modified superblocks, modified inodes,
- -and delayed reads and writes. This must be implemented by the kernel;
- -The `sync' program does nothing but exercise the `sync' system call.
- -
- - The kernel keeps data in memory to avoid doing (relatively slow) disk
- -reads and writes. This improves performance, but if the computer
- -crashes, data may be lost or the filesystem corrupted as a result.
- -`sync' ensures everything in memory is written to disk.
- -
- - Any arguments are ignored, except for a lone `--help' or `--version'
- -(*note Common options::.).
- -
- diff -rup --new-file baseline/fsf/fileutils/doc/fileutils.info-3 amiga/fsf/fileutils/doc/fileutils.info-3
- --- baseline/fsf/fileutils/doc/fileutils.info-3 Thu Jul 11 20:26:05 1996
- +++ amiga/fsf/fileutils/doc/fileutils.info-3 Wed Dec 31 17:00:00 1969
- @@ -1,723 +0,0 @@
- -This is Info file ./fileutils.info, produced by Makeinfo-1.63 from the
- -input file fileutils.texi.
- -
- -START-INFO-DIR-ENTRY
- -* File utilities: (fileutils). GNU file utilities.
- -* chgrp: (fileutils)chgrp invocation. Change file groups.
- -* chown: (fileutils)chown invocation. Change file owners/groups.
- -* chmod: (fileutils)chmod invocation. Change file permissions.
- -* cp: (fileutils)cp invocation. Copy files.
- -* dd: (fileutils)dd invocation. Copy and convert a file.
- -* df: (fileutils)df invocation. Report filesystem disk usage.
- -* dir: (fileutils)dir invocation. List directories briefly.
- -* dircolors: (fileutils)dircolors invocation. Color setup for ls.
- -* du: (fileutils)du invocation. Report on disk usage.
- -* install: (fileutils)install invocation. Copy and change attributes.
- -* ln: (fileutils)ln invocation. Make links between files.
- -* ls: (fileutils)ls invocation. List directory contents.
- -* mkdir: (fileutils)mkdir invocation. Create directories.
- -* mkfifo: (fileutils)mkfifo invocation. Create FIFOs: (named pipes).
- -* mknod: (fileutils)mknod invocation. Create special files.
- -* mv: (fileutils)mv invocation. Rename files.
- -* rm: (fileutils)rm invocation. Remove files.
- -* rmdir: (fileutils)rmdir invocation. Remove empty directories.
- -* sync: (fileutils)sync invocation. Synchronize memory and disk.
- -* touch: (fileutils)touch invocation. Change file timestamps.
- -* vdir: (fileutils)vdir invocation. List directories verbosely.
- -END-INFO-DIR-ENTRY
- -
- - This file documents the GNU set of file utilities.
- -
- - Copyright (C) 1994, 95, 96 Free Software Foundation, Inc.
- -
- - Permission is granted to make and distribute verbatim copies of this
- -manual provided the copyright notice and this permission notice are
- -preserved on all copies.
- -
- - Permission is granted to copy and distribute modified versions of
- -this manual under the conditions for verbatim copying, provided that
- -the entire resulting derived work is distributed under the terms of a
- -permission notice identical to this one.
- -
- - Permission is granted to copy and distribute translations of this
- -manual into another language, under the above conditions for modified
- -versions, except that this permission notice may be stated in a
- -translation approved by the Foundation.
- -
- -
- -File: fileutils.info, Node: Index, Prev: Disk usage, Up: Top
- -
- -Index
- -*****
- -
- -* Menu:
- -
- -* - and Unix rm: rm invocation.
- -* -all <1>: du invocation.
- -* -all <1>: df invocation.
- -* -all: Which files are listed.
- -* -almost-all: Which files are listed.
- -* -archive: cp invocation.
- -* -backup <1>: ln invocation.
- -* -backup <1>: mv invocation.
- -* -backup <1>: install invocation.
- -* -backup <1>: cp invocation.
- -* -backup: Backup options.
- -* -bourne-shell: dircolors invocation.
- -* -bytes: du invocation.
- -* -c-shell: dircolors invocation.
- -* -changes <1>: chmod invocation.
- -* -changes <1>: chgrp invocation.
- -* -changes: chown invocation.
- -* -classify: General output formatting.
- -* -color: General output formatting.
- -* -count-links: du invocation.
- -* -csh: dircolors invocation.
- -* -date: touch invocation.
- -* -dereference <1>: du invocation.
- -* -dereference: Which files are listed.
- -* -dereference-args: du invocation.
- -* -directory <1>: ln invocation.
- -* -directory <1>: rm invocation.
- -* -directory <1>: install invocation.
- -* -directory: Which files are listed.
- -* -dired: What information is listed.
- -* -escape: Formatting the file names.
- -* -exclude-type: df invocation.
- -* -force <1>: ln invocation.
- -* -force <1>: rm invocation.
- -* -force <1>: mv invocation.
- -* -force: cp invocation.
- -* -format <1>: General output formatting.
- -* -format: What information is listed.
- -* -full-time: General output formatting.
- -* -group: install invocation.
- -* -help: Common options.
- -* -hide-control-chars: Formatting the file names.
- -* -human-readable <1>: du invocation.
- -* -human-readable: df invocation.
- -* -ignore-backups: Which files are listed.
- -* -ignore=PATTERN: Which files are listed.
- -* -inode: What information is listed.
- -* -inodes: df invocation.
- -* -interactive <1>: ln invocation.
- -* -interactive <1>: rm invocation.
- -* -interactive <1>: mv invocation.
- -* -interactive: cp invocation.
- -* -kilobytes <1>: du invocation.
- -* -kilobytes <1>: df invocation.
- -* -kilobytes: General output formatting.
- -* -link: cp invocation.
- -* -literal: Formatting the file names.
- -* -megabytes <1>: du invocation.
- -* -megabytes: df invocation.
- -* -mode <1>: mknod invocation.
- -* -mode <1>: mkfifo invocation.
- -* -mode <1>: mkdir invocation.
- -* -mode: install invocation.
- -* -no-create: touch invocation.
- -* -no-dereference <1>: chgrp invocation.
- -* -no-dereference <1>: chown invocation.
- -* -no-dereference <1>: ln invocation.
- -* -no-dereference: cp invocation.
- -* -no-group: What information is listed.
- -* -no-sync: df invocation.
- -* -numeric-uid-gid: General output formatting.
- -* -one-file-system <1>: du invocation.
- -* -one-file-system: cp invocation.
- -* -owner: install invocation.
- -* -parents <1>: rmdir invocation.
- -* -parents <1>: mkdir invocation.
- -* -parents: cp invocation.
- -* -portability: df invocation.
- -* -preserve: cp invocation.
- -* -print-data-base: dircolors invocation.
- -* -print-type: df invocation.
- -* -quiet <1>: chmod invocation.
- -* -quiet <1>: chgrp invocation.
- -* -quiet: chown invocation.
- -* -quote-name: Formatting the file names.
- -* -recursive <1>: chmod invocation.
- -* -recursive <1>: chgrp invocation.
- -* -recursive <1>: chown invocation.
- -* -recursive <1>: rm invocation.
- -* -recursive <1>: cp invocation.
- -* -recursive: Which files are listed.
- -* -reference: touch invocation.
- -* -reverse: Sorting the output.
- -* -separate-dirs: du invocation.
- -* -sh: dircolors invocation.
- -* -silent <1>: chmod invocation.
- -* -silent <1>: chgrp invocation.
- -* -silent: chown invocation.
- -* -size: What information is listed.
- -* -sort: Sorting the output.
- -* -sparse=WHEN: cp invocation.
- -* -strip: install invocation.
- -* -suffix <1>: ln invocation.
- -* -suffix <1>: mv invocation.
- -* -suffix <1>: install invocation.
- -* -suffix <1>: cp invocation.
- -* -suffix: Backup options.
- -* -summarize: du invocation.
- -* -symbolic: ln invocation.
- -* -symbolic-link: cp invocation.
- -* -sync: df invocation.
- -* -tabsize: General output formatting.
- -* -time <1>: touch invocation.
- -* -time: Sorting the output.
- -* -total: du invocation.
- -* -type: df invocation.
- -* -update <1>: mv invocation.
- -* -update: cp invocation.
- -* -verbose <1>: chmod invocation.
- -* -verbose <1>: chgrp invocation.
- -* -verbose <1>: chown invocation.
- -* -verbose <1>: mkdir invocation.
- -* -verbose <1>: ln invocation.
- -* -verbose <1>: rm invocation.
- -* -verbose <1>: mv invocation.
- -* -verbose: cp invocation.
- -* -version: Common options.
- -* -version-control <1>: ln invocation.
- -* -version-control <1>: mv invocation.
- -* -version-control <1>: install invocation.
- -* -version-control <1>: cp invocation.
- -* -version-control: Backup options.
- -* -width: General output formatting.
- -* -1: General output formatting.
- -* -a <1>: du invocation.
- -* -a <1>: df invocation.
- -* -a <1>: touch invocation.
- -* -a <1>: cp invocation.
- -* -a: Which files are listed.
- -* -b <1>: du invocation.
- -* -b <1>: ln invocation.
- -* -b <1>: mv invocation.
- -* -b <1>: install invocation.
- -* -b <1>: cp invocation.
- -* -b <1>: dircolors invocation.
- -* -b: Formatting the file names.
- -* -B: Which files are listed.
- -* -b: Backup options.
- -* -c <1>: du invocation.
- -* -c <1>: touch invocation.
- -* -c <1>: chmod invocation.
- -* -c <1>: chgrp invocation.
- -* -c <1>: chown invocation.
- -* -c <1>: install invocation.
- -* -c: dircolors invocation.
- -* -C: General output formatting.
- -* -c: Sorting the output.
- -* -D: du invocation.
- -* -d <1>: touch invocation.
- -* -d <1>: ln invocation.
- -* -d <1>: rm invocation.
- -* -d <1>: install invocation.
- -* -d: cp invocation.
- -* -D: What information is listed.
- -* -d: Which files are listed.
- -* -f <1>: touch invocation.
- -* -f <1>: chmod invocation.
- -* -f <1>: chgrp invocation.
- -* -f: chown invocation.
- -* -F: ln invocation.
- -* -f <1>: rm invocation.
- -* -f <1>: mv invocation.
- -* -f: cp invocation.
- -* -F: General output formatting.
- -* -f: Sorting the output.
- -* -g: install invocation.
- -* -G: What information is listed.
- -* -g (ignored): ls invocation.
- -* -h <1>: du invocation.
- -* -h: df invocation.
- -* -i <1>: df invocation.
- -* -i <1>: ln invocation.
- -* -i <1>: rm invocation.
- -* -i <1>: mv invocation.
- -* -i <1>: cp invocation.
- -* -i: What information is listed.
- -* -I: Which files are listed.
- -* -k <1>: du invocation.
- -* -k <1>: df invocation.
- -* -k: General output formatting.
- -* -l <1>: du invocation.
- -* -l <1>: cp invocation.
- -* -l: What information is listed.
- -* -L: Which files are listed.
- -* -m <1>: du invocation.
- -* -m <1>: df invocation.
- -* -m <1>: touch invocation.
- -* -m <1>: mknod invocation.
- -* -m <1>: mkfifo invocation.
- -* -m <1>: mkdir invocation.
- -* -m <1>: install invocation.
- -* -m: General output formatting.
- -* -n: ln invocation.
- -* -N: Formatting the file names.
- -* -n: General output formatting.
- -* -o <1>: install invocation.
- -* -o: What information is listed.
- -* -P: df invocation.
- -* -p <1>: rmdir invocation.
- -* -p <1>: mkdir invocation.
- -* -p <1>: cp invocation.
- -* -p: dircolors invocation.
- -* -q: Formatting the file names.
- -* -r: touch invocation.
- -* -R <1>: chmod invocation.
- -* -R <1>: chgrp invocation.
- -* -R: chown invocation.
- -* -r: rm invocation.
- -* -R: cp invocation.
- -* -r: Sorting the output.
- -* -R: Which files are listed.
- -* -s <1>: du invocation.
- -* -s: ln invocation.
- -* -S: mv invocation.
- -* -s <1>: install invocation.
- -* -s: cp invocation.
- -* -S: Sorting the output.
- -* -s: What information is listed.
- -* -S: Backup options.
- -* -t: df invocation.
- -* -T: General output formatting.
- -* -t: Sorting the output.
- -* -u <1>: mv invocation.
- -* -u <1>: cp invocation.
- -* -u: Sorting the output.
- -* -v <1>: chmod invocation.
- -* -v <1>: chgrp invocation.
- -* -v <1>: chown invocation.
- -* -v <1>: ln invocation.
- -* -v <1>: rm invocation.
- -* -v: mv invocation.
- -* -V: install invocation.
- -* -v: cp invocation.
- -* -V: Backup options.
- -* -w: General output formatting.
- -* -x <1>: du invocation.
- -* -x <1>: df invocation.
- -* -x <1>: cp invocation.
- -* -x: General output formatting.
- -* -X: Sorting the output.
- -* 4.2 filesystem type: df invocation.
- -* csh syntax for color setup: dircolors invocation.
- -* sh syntax for color setup: dircolors invocation.
- -* -, removing files beginning with: rm invocation.
- -* abbreviations for months: Calendar date item.
- -* access time, changing: touch invocation.
- -* access permissions, changing: chmod invocation.
- -* access time, sorting files by: Sorting the output.
- -* across, listing files: General output formatting.
- -* adding permissions: Setting Permissions.
- -* ago in date strings: Relative item in date strings.
- -* Alaska-Hawaii Time: Timezone item.
- -* alternate ebcdic, converting to: dd invocation.
- -* always color option: General output formatting.
- -* am in date strings: Time of day item.
- -* append-only directories: Mode Structure.
- -* appropriate privileges: install invocation.
- -* ascii, converting to: dd invocation.
- -* atime, changing: touch invocation.
- -* atime, sorting files by: Sorting the output.
- -* Atlantic Standard Time: Timezone item.
- -* attributes, file: Changing file attributes.
- -* authors of getdate: Authors of getdate.
- -* auto color option: General output formatting.
- -* automounter filesystems: df invocation.
- -* Azores Time: Timezone item.
- -* b for block special file: mknod invocation.
- -* backslash sequences for file names: Formatting the file names.
- -* backup files, ignoring: Which files are listed.
- -* backup files, type made: Backup options.
- -* backup options: Backup options.
- -* backup suffix: Backup options.
- -* backups, making <1>: ln invocation.
- -* backups, making <1>: mv invocation.
- -* backups, making <1>: install invocation.
- -* backups, making <1>: cp invocation.
- -* backups, making: Backup options.
- -* backups, making only: cp invocation.
- -* Baghdad Time: Timezone item.
- -* beginning of time, for Unix: Date input formats.
- -* Bellovin, Steven M.: Authors of getdate.
- -* Berets, Jim: Authors of getdate.
- -* Berry, K.: Authors of getdate.
- -* block (space-padding): dd invocation.
- -* block size: dd invocation.
- -* block size of conversion: dd invocation.
- -* block size of input: dd invocation.
- -* block size of output: dd invocation.
- -* block special files: mknod invocation.
- -* block special files, creating: mknod invocation.
- -* Bourne shell syntax for color setup: dircolors invocation.
- -* bs: dd invocation.
- -* BSD touch compatibility: touch invocation.
- -* buffered character file: mknod invocation.
- -* bugs, reporting: Introduction.
- -* byte-swapping: dd invocation.
- -* c for character special file: mknod invocation.
- -* C shell syntax for color setup: dircolors invocation.
- -* calendar date item: Calendar date item.
- -* case, ignored in dates: General date syntax.
- -* cbs: dd invocation.
- -* CD-ROM filesystem type: df invocation.
- -* cdfs filesystem type: df invocation.
- -* Central Alaska Time: Timezone item.
- -* Central European Time: Timezone item.
- -* Central Standard Time: Timezone item.
- -* changed files, verbosely describing: chgrp invocation.
- -* changed owners, verbosely describing: chown invocation.
- -* changing access permissions: chmod invocation.
- -* changing file attributes: Changing file attributes.
- -* changing file ownership: chown invocation.
- -* changing file timestamps: touch invocation.
- -* changing group ownership <1>: chgrp invocation.
- -* changing group ownership: chown invocation.
- -* changing special permissions: Changing Special Permissions.
- -* character special files: mknod invocation.
- -* character special files, creating: mknod invocation.
- -* chgrp: chgrp invocation.
- -* China Coast Time: Timezone item.
- -* chmod: chmod invocation.
- -* chown: chown invocation.
- -* color database, printing: dircolors invocation.
- -* color setup: dircolors invocation.
- -* color, distinguishing file types with: General output formatting.
- -* COLUMNS: General output formatting.
- -* commas, outputting between files: General output formatting.
- -* comments, in dates: General date syntax.
- -* common options: Common options.
- -* conditional executability: Conditional Executability.
- -* conv: dd invocation.
- -* converstion block size: dd invocation.
- -* converting while copying a file: dd invocation.
- -* copying directories recursively: cp invocation.
- -* copying existing permissions: Copying Permissions.
- -* copying files and directories: cp invocation.
- -* copying files and setting attributes: install invocation.
- -* count: dd invocation.
- -* cp: cp invocation.
- -* crashes and corruption: sync invocation.
- -* creating directories: mkdir invocation.
- -* creating FIFOs (named pipes): mkfifo invocation.
- -* creating links (hard or soft): ln invocation.
- -* ctime, sorting by: Sorting the output.
- -* database for color setup, printing: dircolors invocation.
- -* date format, ISO 8601: Calendar date item.
- -* date input formats: Date input formats.
- -* day in date strings: Relative item in date strings.
- -* day of week item: Day of week item.
- -* daylight savings time: Timezone item.
- -* dd: dd invocation.
- -* dereferencing symbolic links: ln invocation.
- -* device file, disk: df invocation.
- -* df: df invocation.
- -* dir: dir invocation.
- -* dircolors: dircolors invocation.
- -* directories, copying: cp invocation.
- -* directories, copying recursively: cp invocation.
- -* directories, creating: mkdir invocation.
- -* directories, creating with given attributes: install invocation.
- -* directories, removing (recursively): rm invocation.
- -* directories, removing empty: rmdir invocation.
- -* directories, removing with unlink: rm invocation.
- -* directory listing: ls invocation.
- -* directory listing, brief: dir invocation.
- -* directory listing, recursive: Which files are listed.
- -* directory listing, verbose: vdir invocation.
- -* directory order, listing by: Sorting the output.
- -* dired Emacs mode support: What information is listed.
- -* disk device file: df invocation.
- -* disk usage: Disk usage.
- -* disk usage by filesystem: df invocation.
- -* disk usage for files: du invocation.
- -* diskette filesystem: df invocation.
- -* displacement of dates: Relative item in date strings.
- -* DOS filesystem: df invocation.
- -* du: du invocation.
- -* East Australian Standard Time: Timezone item.
- -* Eastern European Time: Timezone item.
- -* Eastern Standard Time: Timezone item.
- -* ebcdic, converting to: dd invocation.
- -* efs filesystem type: df invocation.
- -* empty files, creating: touch invocation.
- -* epoch, for Unix: Date input formats.
- -* error messages, omitting <1>: chmod invocation.
- -* error messages, omitting <1>: chgrp invocation.
- -* error messages, omitting: chown invocation.
- -* executables and file type, marking: General output formatting.
- -* execute permission: Mode Structure.
- -* execute permission, symbolic: Setting Permissions.
- -* existing backup method: Backup options.
- -* extension, sorting files by: Sorting the output.
- -* FIFOs, creating: mkfifo invocation.
- -* file attributes, changing: Changing file attributes.
- -* file information, preserving: cp invocation.
- -* file ownership, changing: chown invocation.
- -* file permissions: File permissions.
- -* file permissions, numeric: Numeric Modes.
- -* file space usage: du invocation.
- -* file timestamps, changing: touch invocation.
- -* file type and executables, marking: General output formatting.
- -* file type, marking: General output formatting.
- -* file types: Special file types.
- -* file types, special: Special file types.
- -* file utilities: Top.
- -* files beginning with -, removing: rm invocation.
- -* files, copying: cp invocation.
- -* filesystem disk usage: df invocation.
- -* filesystem space, retrieving current data more slowly: df invocation.
- -* filesystem space, retrieving old data more quickly: df invocation.
- -* filesystem types, limiting output to certain: df invocation.
- -* filesystem types, printing: df invocation.
- -* filesystems and hard links: ln invocation.
- -* filesystems, omitting copying to different: cp invocation.
- -* first in date strings: General date syntax.
- -* fortnight in date strings: Relative item in date strings.
- -* French Winter Time: Timezone item.
- -* fsck: rm invocation.
- -* general date syntax: General date syntax.
- -* getdate: Date input formats.
- -* giving away permissions: Umask and Protection.
- -* grand total of disk space: du invocation.
- -* Greenwich Mean Time: Timezone item.
- -* group owner, default: Mode Structure.
- -* group ownership of installed files, setting: install invocation.
- -* group ownership, changing: chgrp invocation.
- -* group ownerships, changing: chown invocation.
- -* group, permissions for: Setting Permissions.
- -* Guam Standard Time: Timezone item.
- -* hard links to directories: ln invocation.
- -* hard links, counting in du: du invocation.
- -* hard links, creating: ln invocation.
- -* hard links, preserving: cp invocation.
- -* Hawaii Standard Time: Timezone item.
- -* help, online: Common options.
- -* High Sierra filesystem: df invocation.
- -* history: Introduction.
- -* holes, copying files with: cp invocation.
- -* horizontal, listing files: General output formatting.
- -* hour in date strings: Relative item in date strings.
- -* hsfs filesystem type: df invocation.
- -* human-readable df output <1>: du invocation.
- -* human-readable df output: df invocation.
- -* ibs: dd invocation.
- -* if: dd invocation.
- -* ignore filesystems: df invocation.
- -* inode number, printing: What information is listed.
- -* inode usage: df invocation.
- -* inodes, written buffered: sync invocation.
- -* input block size: dd invocation.
- -* install: install invocation.
- -* International Date Line East: Timezone item.
- -* International Date Line West: Timezone item.
- -* introduction: Introduction.
- -* ISO 8601 date format: Calendar date item.
- -* items in date strings: General date syntax.
- -* Japan Standard Time: Timezone item.
- -* kilobytes for filesystem sizes: df invocation.
- -* last in date strings: General date syntax.
- -* last DAY: Day of week item.
- -* lcase, converting to: dd invocation.
- -* lchown <1>: chgrp invocation.
- -* lchown: chown invocation.
- -* leading directories, creating missing: install invocation.
- -* links, creating: ln invocation.
- -* Linux filesystem types: df invocation.
- -* ln: ln invocation.
- -* local filesystem types: df invocation.
- -* long ls format: What information is listed.
- -* ls: ls invocation.
- -* LS_COLOR: dircolors invocation.
- -* MacKenzie, David: Authors of getdate.
- -* Makefiles, installing programs in: install invocation.
- -* manipulating files: Basic operations.
- -* megabytes for filesystem sizes <1>: du invocation.
- -* megabytes for filesystem sizes: df invocation.
- -* Meyering, Jim: Authors of getdate.
- -* Middle European Time: Timezone item.
- -* Middle European Winter Time: Timezone item.
- -* midnight in date strings: Time of day item.
- -* minute in date strings: Relative item in date strings.
- -* minutes, timezone correction by: Time of day item.
- -* mkdir: mkdir invocation.
- -* mkfifo: mkfifo invocation.
- -* mknod: mknod invocation.
- -* modes and umask: Umask and Protection.
- -* modes of created directories, setting: mkdir invocation.
- -* modes of created FIFOs, setting: mkfifo invocation.
- -* modification time, sorting files by: Sorting the output.
- -* modify time, changing: touch invocation.
- -* month in date strings: Relative item in date strings.
- -* month names in date strings: Calendar date item.
- -* months, written-out: General date syntax.
- -* Mountain Standard Time: Timezone item.
- -* MS-DOS filesystem: df invocation.
- -* mtime, changing: touch invocation.
- -* multiple changes to permissions: Multiple Changes.
- -* multipliers after numbers: dd invocation.
- -* mv: mv invocation.
- -* named pipes, creating: mkfifo invocation.
- -* New Zealand Standard Time: Timezone item.
- -* newer files, copying only: cp invocation.
- -* newer files, moving only: mv invocation.
- -* next in date strings: General date syntax.
- -* next DAY: Day of week item.
- -* NFS filesystem type: df invocation.
- -* NFS mounts from BSD to HP-UX <1>: du invocation.
- -* NFS mounts from BSD to HP-UX: What information is listed.
- -* noerror: dd invocation.
- -* Nome Standard Time: Timezone item.
- -* non-directories, copying as special files: cp invocation.
- -* none color option: General output formatting.
- -* none, sorting option for ls: Sorting the output.
- -* noon in date strings: Time of day item.
- -* notrunc: dd invocation.
- -* now in date strings: Relative item in date strings.
- -* numbered backup method: Backup options.
- -* numbers, written-out: General date syntax.
- -* numeric modes: Numeric Modes.
- -* numeric uid and gid: General output formatting.
- -* obs: dd invocation.
- -* octal numbers for file modes: Numeric Modes.
- -* of: dd invocation.
- -* one filesystem, restricting du to: du invocation.
- -* one-line output format: df invocation.
- -* ordinal numbers: General date syntax.
- -* other permissions: Setting Permissions.
- -* output block size: dd invocation.
- -* output format, portable: df invocation.
- -* owner of file, permissions for: Setting Permissions.
- -* owner, default: Mode Structure.
- -* ownership of installed files, setting: install invocation.
- -* p for FIFO file: mknod invocation.
- -* Pacific Standard Time: Timezone item.
- -* parent directories and cp: cp invocation.
- -* parent directories, creating: mkdir invocation.
- -* parent directories, creating missing: install invocation.
- -* parent directories, removing: rmdir invocation.
- -* PC filesystem: df invocation.
- -* pcfs: df invocation.
- -* permissions of files: File permissions.
- -* permissions of installed files, setting: install invocation.
- -* permissions, changing access: chmod invocation.
- -* permissions, copying existing: Copying Permissions.
- -* permissions, for changing file timestamps: touch invocation.
- -* permissions, output by ls: What information is listed.
- -* Pinard, F.: Authors of getdate.
- -* pm in date strings: Time of day item.
- -* portable output format: df invocation.
- -* POSIX output format: df invocation.
- -* POSIX.2: Introduction.
- -* POSIXLY_CORRECT: df invocation.
- -* POSIXLY_CORRECT, overridden by df -k: df invocation.
- -* POSIXLY_CORRECT, overridden by du -k: du invocation.
- -* POSIXLY_CORRECT, overridden by ls -k: General output formatting.
- -* POSIXLY_CORRECT, overrides ls -s: What information is listed.
- -* printing color database: dircolors invocation.
- -* prompting, and ln: ln invocation.
- -* prompting, and mv: mv invocation.
- -* prompting, and rm: rm invocation.
- -* prompts, forcing: mv invocation.
- -* prompts, omitting: mv invocation.
- -* pure numbers in date strings: Pure numbers in date strings.
- -* read system call, and holes: cp invocation.
- -* read errors, ignoring: dd invocation.
- -* read permission: Mode Structure.
- -* read permission, symbolic: Setting Permissions.
- -* recursive directory listing: Which files are listed.
- -* recursively changing access permissions: chmod invocation.
- -* recursively changing file ownership: chown invocation.
- -* recursively changing group ownership: chgrp invocation.
- -* recursively copying directories: cp invocation.
- -* relative items in date strings: Relative item in date strings.
- -* removing empty directories: rmdir invocation.
- -* removing files or directories: rm invocation.
- -* removing permissions: Setting Permissions.
- -* reverse sorting: Sorting the output.
- -* rm: rm invocation.
- -* rmdir: rmdir invocation.
- -* root as default owner: install invocation.
- -* Salz, Rich: Authors of getdate.
- -* seek: dd invocation.
- -* self-backups: cp invocation.
- -* setgid: Mode Structure.
- -* setting permissions: Setting Permissions.
- -* setuid: Mode Structure.
- -* setup for color: dircolors invocation.
- -* SHELL environment variable, and color: dircolors invocation.
- -* simple backup method: Backup options.
- -* SIMPLE_BACKUP_SUFFIX: Backup options.
- -* single-column output of files: General output formatting.
- -* size of files, reporting: What information is listed.
- -* size of files, sorting files by: Sorting the output.
- -* skip: dd invocation.
- -* sorting ls output: Sorting the output.
- -* sparse files, copying: cp invocation.
- -* special file types: Special file types.
- -* special files: mknod invocation.
- -* status time, sorting by: Sorting the output.
- -* sticky: Mode Structure.
- -* stripping symbol table information: install invocation.
- -* subtracting permissions: Setting Permissions.
- -* superblock, writing: sync invocation.
- -* swab (byte-swapping): dd invocation.
- -* swap space, saving text image in: Mode Structure.
- -* Swedish Winter Time: Timezone item.
- -* symbol table information, stripping: install invocation.
- -* symbolic (soft) links, creating: ln invocation.
- -* symbolic links, changing group: chgrp invocation.
- -* symbolic links, changing owner: chown invocation.
- -* symbolic links, copying: cp invocation.
- -* symbolic links, copying with: cp invocation.
- -* symbolic links, dereferencing: Which files are listed.
- -* symbolic links, permissions of: chmod invocation.
- -* symbolic modes: Symbolic Modes.
- -* sync: sync invocation.
- -* sync (padding with nulls): dd invocation.
- -* synchronize disk and memory: sync invocation.
- -* terminal, using color iff: General output formatting.
- -* text image, saving in swap space: Mode Structure.
- -* this in date strings: Relative item in date strings.
- -* time: touch invocation.
- -* time of day item: Time of day item.
- -* timestamps, changing file: touch invocation.
- -* timezone correction: Time of day item.
- -* timezone item: Timezone item.
- -* today in date strings: Relative item in date strings.
- -* tomorrow in date strings: Relative item in date strings.
- -* touch: touch invocation.
- -* truncating output file, avoiding: dd invocation.
- -* u for unbuffered character special file: mknod invocation.
- -* ucase, converting to: dd invocation.
- -* ufs filesystem type: df invocation.
- -* umask and modes: Umask and Protection.
- -* unblock: dd invocation.
- -* unbuffered character special file: mknod invocation.
- -* Universal Coordinated Time: Timezone item.
- -* unlink: rm invocation.
- -* unsorted directory listing: Sorting the output.
- -* use time, changing: touch invocation.
- -* use time, sorting files by: Sorting the output.
- -* USSR Zone: Timezone item.
- -* utilities for file handling: Top.
- -* vdir: vdir invocation.
- -* verbose ls format: What information is listed.
- -* version number, finding: Common options.
- -* version-control Emacs variable: Backup options.
- -* VERSION_CONTROL: Backup options.
- -* vertical sorted files in columns: General output formatting.
- -* week in date strings: Relative item in date strings.
- -* West African Time: Timezone item.
- -* West Australian Standard Time: Timezone item.
- -* Western European Time: Timezone item.
- -* write permission: Mode Structure.
- -* write permission, symbolic: Setting Permissions.
- -* year in date strings: Relative item in date strings.
- -* yesterday in date strings: Relative item in date strings.
- -* Yukon Standard Time: Timezone item.
- -
- -
- diff -rup --new-file baseline/fsf/fileutils/doc/fileutils.texi amiga/fsf/fileutils/doc/fileutils.texi
- --- baseline/fsf/fileutils/doc/fileutils.texi Tue Jul 9 20:28:12 1996
- +++ amiga/fsf/fileutils/doc/fileutils.texi Sat Sep 28 00:00:00 1996
- @@ -1296,6 +1296,15 @@ ownership of installed files or director
- is @code{root}. @var{owner} may be either a user name or a numeric user
- ID.
-
- +@item -l @var{logfile}
- +@itemx --log=@var{logile}
- +@opindex -l
- +@opindex --log
- +@cindex installlation log
- +@vindex
- +Create a log file with name, size and date of all installed files.
- +@var{logfile} should be a path like /var/install-logs/fileutils-3.13.
- +
- @item -s
- @itemx --strip
- @opindex -s
- diff -rup --new-file baseline/fsf/fileutils/intl/Makefile.in amiga/fsf/fileutils/intl/Makefile.in
- --- baseline/fsf/fileutils/intl/Makefile.in Fri Jul 5 20:04:23 1996
- +++ amiga/fsf/fileutils/intl/Makefile.in Sat Sep 28 00:00:00 1996
- @@ -40,7 +40,8 @@ INSTALL = @INSTALL@
- INSTALL_DATA = @INSTALL_DATA@
- MKINSTALLDIRS = @MKINSTALLDIRS@
-
- -AR = ar
- +AR = @AR@
- +AR_FLAGS = cru
- CC = @CC@
- RANLIB = @RANLIB@
-
- @@ -80,7 +81,7 @@ all-no:
-
- libintl.a: $(OBJECTS)
- rm -f $@
- - $(AR) cru $@ $(OBJECTS)
- + $(AR) $(AR_FLAGS) $@ $(OBJECTS)
- $(RANLIB) $@
-
- ../po/cat-id-tbl.o: ../po/cat-id-tbl.c $(top_srcdir)/po/$(PACKAGE).pot
- diff -rup --new-file baseline/fsf/fileutils/lib/Makefile.in amiga/fsf/fileutils/lib/Makefile.in
- --- baseline/fsf/fileutils/lib/Makefile.in Thu Jul 11 20:31:46 1996
- +++ amiga/fsf/fileutils/lib/Makefile.in Sat Sep 28 00:00:00 1996
- @@ -87,7 +87,8 @@ safe-read.o save-cwd.o savedir.o stripsl
- xmalloc.o xstrdup.o xstrtol.o xstrtoul.o yesno.o
- EXTRA_fu_SOURCES =
- LIBFILES = libfu.a
- -AR = ar
- +AR = @AR@
- +AR_FLAGS = cru
- RANLIB = @RANLIB@
- HEADERS = $(noinst_HEADERS)
-
- @@ -140,7 +141,7 @@ $(fu_OBJECTS): ../config.h
-
- libfu.a: $(fu_OBJECTS) $(fu_LIBADD)
- rm -f libfu.a
- - $(AR) cru libfu.a $(fu_OBJECTS) $(fu_LIBADD)
- + $(AR) $(AR_FLAGS) libfu.a $(fu_OBJECTS) $(fu_LIBADD)
- $(RANLIB) libfu.a
-
- ID: $(HEADERS) $(SOURCES)
- diff -rup --new-file baseline/fsf/fileutils/lib/backupfile.c amiga/fsf/fileutils/lib/backupfile.c
- --- baseline/fsf/fileutils/lib/backupfile.c Sat May 4 18:48:02 1996
- +++ amiga/fsf/fileutils/lib/backupfile.c Sat Sep 28 00:00:00 1996
- @@ -88,7 +88,13 @@ enum backup_type backup_type = none;
-
- /* The extension added to file names to produce a simple (as opposed
- to numbered) backup file name. */
- +/* If anybody change this, don't forget to do the same in the functions
- + find_backup_file_name(), make_version_name() and version_number() <t.walter> */
- +#ifdef __amigaos__
- +char *simple_backup_suffix = "!";
- +#else
- char *simple_backup_suffix = "~";
- +#endif
-
- char *basename ();
- char *dirname ();
- @@ -113,7 +119,11 @@ find_backup_file_name (file)
-
- if (backup_type == simple)
- return concat (file, simple_backup_suffix);
- +#ifdef __amigaos__
- + base_versions = concat (basename (file), ".!");
- +#else
- base_versions = concat (basename (file), ".~");
- +#endif
- if (base_versions == 0)
- return 0;
- dir = dirname (file);
- @@ -180,7 +190,11 @@ make_version_name (file, version)
- backup_name = malloc (strlen (file) + 16);
- if (backup_name == 0)
- return 0;
- +#ifdef __amigaos__
- + sprintf (backup_name, "%s.!%d!", file, version);
- +#else
- sprintf (backup_name, "%s.~%d~", file, version);
- +#endif
- return backup_name;
- }
-
- @@ -202,7 +216,11 @@ version_number (base, backup, base_lengt
- {
- for (p = &backup[base_length]; ISDIGIT (*p); ++p)
- version = version * 10 + *p - '0';
- +#ifdef __amigaos__
- + if (p[0] != '!' || p[1])
- +#else
- if (p[0] != '~' || p[1])
- +#endif
- version = 0;
- }
- return version;
- diff -rup --new-file baseline/fsf/fileutils/lib/euidaccess.c amiga/fsf/fileutils/lib/euidaccess.c
- --- baseline/fsf/fileutils/lib/euidaccess.c Tue May 21 05:04:28 1996
- +++ amiga/fsf/fileutils/lib/euidaccess.c Sat Sep 28 00:00:00 1996
- @@ -157,7 +157,13 @@ euidaccess (path, mode)
-
- mode &= (X_OK | W_OK | R_OK); /* Clear any bogus bits. */
- #if R_OK != S_IROTH || W_OK != S_IWOTH || X_OK != S_IXOTH
- +#ifdef __BEOS__
- + /* Just punt safely. Should never happen anyway until BeOS is multiuser. */
- + errno = EACCESS;
- + return -1;
- +#else
- ?error Oops, portability assumptions incorrect.
- +#endif
- #endif
-
- if (mode == F_OK)
- diff -rup --new-file baseline/fsf/fileutils/manifests/bin amiga/fsf/fileutils/manifests/bin
- --- baseline/fsf/fileutils/manifests/bin Wed Dec 31 17:00:00 1969
- +++ amiga/fsf/fileutils/manifests/bin Sat Sep 28 00:00:00 1996
- @@ -0,0 +1,49 @@
- +COPYING
- +COPYING.info
- +bin/chgrp
- +bin/chmod
- +bin/chown
- +bin/cp
- +bin/dd
- +bin/df
- +bin/dir
- +bin/dircolors
- +bin/du
- +bin/install
- +bin/ln
- +bin/ls
- +bin/mkdir
- +bin/mkfifo
- +bin/mknod
- +bin/mv
- +bin/rm
- +bin/rmdir
- +bin/sync
- +bin/touch
- +bin/vdir
- +info/fileutils.info
- +info/fileutils.info-1
- +info/fileutils.info-2
- +info/fileutils.info-3
- +man/man1/chgrp.1
- +man/man1/chmod.1
- +man/man1/chown.1
- +man/man1/cp.1
- +man/man1/dd.1
- +man/man1/df.1
- +man/man1/dircolors.1
- +man/man1/du.1
- +man/man1/install.1
- +man/man1/ln.1
- +man/man1/ls.1
- +man/man1/mkdir.1
- +man/man1/mkfifo.1
- +man/man1/mknod.1
- +man/man1/mv.1
- +man/man1/rm.1
- +man/man1/rmdir.1
- +man/man1/touch.1
- +share/locale/de/LC_MESSAGES/fileutils.mo
- +share/locale/fr/LC_MESSAGES/fileutils.mo
- +share/locale/pt/LC_MESSAGES/fileutils.mo
- +share/locale/sv/LC_MESSAGES/fileutils.mo
- diff -rup --new-file baseline/fsf/fileutils/manifests/src amiga/fsf/fileutils/manifests/src
- --- baseline/fsf/fileutils/manifests/src Wed Dec 31 17:00:00 1969
- +++ amiga/fsf/fileutils/manifests/src Mon Sep 30 13:02:43 1996
- @@ -0,0 +1,194 @@
- +fsf/fileutils/ABOUT-NLS
- +fsf/fileutils/AUTHORS
- +fsf/fileutils/BeOS.diffs
- +fsf/fileutils/COPYING
- +fsf/fileutils/ChangeLog
- +fsf/fileutils/INSTALL
- +fsf/fileutils/Makefile.am
- +fsf/fileutils/Makefile.in
- +fsf/fileutils/NEWS
- +fsf/fileutils/Product-Info
- +fsf/fileutils/README
- +fsf/fileutils/TODO
- +fsf/fileutils/acconfig.h
- +fsf/fileutils/aclocal.m4
- +fsf/fileutils/config.guess
- +fsf/fileutils/config.h.in
- +fsf/fileutils/config.sub
- +fsf/fileutils/configure
- +fsf/fileutils/configure.in
- +fsf/fileutils/doc/Makefile.am
- +fsf/fileutils/doc/Makefile.in
- +fsf/fileutils/doc/fileutils.texi
- +fsf/fileutils/doc/getdate.texi
- +fsf/fileutils/doc/mdate-sh
- +fsf/fileutils/doc/perm.texi
- +fsf/fileutils/doc/stamp-vti
- +fsf/fileutils/doc/texinfo.tex
- +fsf/fileutils/doc/version.texi
- +fsf/fileutils/install-sh
- +fsf/fileutils/intl/ChangeLog
- +fsf/fileutils/intl/Makefile.in
- +fsf/fileutils/intl/VERSION
- +fsf/fileutils/intl/bindtextdom.c
- +fsf/fileutils/intl/cat-compat.c
- +fsf/fileutils/intl/dcgettext.c
- +fsf/fileutils/intl/dgettext.c
- +fsf/fileutils/intl/explodename.c
- +fsf/fileutils/intl/finddomain.c
- +fsf/fileutils/intl/gettext.c
- +fsf/fileutils/intl/gettext.h
- +fsf/fileutils/intl/gettextP.h
- +fsf/fileutils/intl/hash-string.h
- +fsf/fileutils/intl/intl-compat.c
- +fsf/fileutils/intl/l10nflist.c
- +fsf/fileutils/intl/libgettext.h
- +fsf/fileutils/intl/linux-msg.sed
- +fsf/fileutils/intl/loadinfo.h
- +fsf/fileutils/intl/loadmsgcat.c
- +fsf/fileutils/intl/localealias.c
- +fsf/fileutils/intl/po2tbl.sed.in
- +fsf/fileutils/intl/textdomain.c
- +fsf/fileutils/intl/xopen-msg.sed
- +fsf/fileutils/lib/Makefile.am
- +fsf/fileutils/lib/Makefile.in
- +fsf/fileutils/lib/alloca.c
- +fsf/fileutils/lib/argmatch.c
- +fsf/fileutils/lib/argmatch.h
- +fsf/fileutils/lib/backupfile.c
- +fsf/fileutils/lib/backupfile.h
- +fsf/fileutils/lib/basename.c
- +fsf/fileutils/lib/dirname.c
- +fsf/fileutils/lib/error.c
- +fsf/fileutils/lib/error.h
- +fsf/fileutils/lib/euidaccess.c
- +fsf/fileutils/lib/fileblocks.c
- +fsf/fileutils/lib/filemode.c
- +fsf/fileutils/lib/fnmatch.c
- +fsf/fileutils/lib/fnmatch.h
- +fsf/fileutils/lib/fsusage.c
- +fsf/fileutils/lib/fsusage.h
- +fsf/fileutils/lib/ftruncate.c
- +fsf/fileutils/lib/full-write.c
- +fsf/fileutils/lib/getdate.c
- +fsf/fileutils/lib/getdate.y
- +fsf/fileutils/lib/getline.c
- +fsf/fileutils/lib/getline.h
- +fsf/fileutils/lib/getopt.c
- +fsf/fileutils/lib/getopt.h
- +fsf/fileutils/lib/getopt1.c
- +fsf/fileutils/lib/getversion.c
- +fsf/fileutils/lib/group-member.c
- +fsf/fileutils/lib/group-member.h
- +fsf/fileutils/lib/idcache.c
- +fsf/fileutils/lib/isdir.c
- +fsf/fileutils/lib/long-options.c
- +fsf/fileutils/lib/long-options.h
- +fsf/fileutils/lib/makepath.c
- +fsf/fileutils/lib/makepath.h
- +fsf/fileutils/lib/memcmp.c
- +fsf/fileutils/lib/memcpy.c
- +fsf/fileutils/lib/memset.c
- +fsf/fileutils/lib/mkdir.c
- +fsf/fileutils/lib/mktime.c
- +fsf/fileutils/lib/modechange.c
- +fsf/fileutils/lib/modechange.h
- +fsf/fileutils/lib/mountlist.c
- +fsf/fileutils/lib/mountlist.h
- +fsf/fileutils/lib/obstack.c
- +fsf/fileutils/lib/obstack.h
- +fsf/fileutils/lib/pathmax.h
- +fsf/fileutils/lib/posixtm.c
- +fsf/fileutils/lib/posixtm.y
- +fsf/fileutils/lib/rename.c
- +fsf/fileutils/lib/rmdir.c
- +fsf/fileutils/lib/safe-read.c
- +fsf/fileutils/lib/save-cwd.c
- +fsf/fileutils/lib/save-cwd.h
- +fsf/fileutils/lib/savedir.c
- +fsf/fileutils/lib/stpcpy.c
- +fsf/fileutils/lib/strcasecmp.c
- +fsf/fileutils/lib/strdup.c
- +fsf/fileutils/lib/stripslash.c
- +fsf/fileutils/lib/strndup.c
- +fsf/fileutils/lib/strstr.c
- +fsf/fileutils/lib/strtol.c
- +fsf/fileutils/lib/strtoul.c
- +fsf/fileutils/lib/userspec.c
- +fsf/fileutils/lib/xgetcwd.c
- +fsf/fileutils/lib/xmalloc.c
- +fsf/fileutils/lib/xstrdup.c
- +fsf/fileutils/lib/xstrtol.c
- +fsf/fileutils/lib/xstrtol.h
- +fsf/fileutils/lib/xstrtoul.c
- +fsf/fileutils/lib/xstrtoul.h
- +fsf/fileutils/lib/yesno.c
- +fsf/fileutils/man/Makefile.am
- +fsf/fileutils/man/Makefile.in
- +fsf/fileutils/man/chgrp.1
- +fsf/fileutils/man/chmod.1
- +fsf/fileutils/man/chown.1
- +fsf/fileutils/man/cp.1
- +fsf/fileutils/man/dd.1
- +fsf/fileutils/man/df.1
- +fsf/fileutils/man/dircolors.1
- +fsf/fileutils/man/du.1
- +fsf/fileutils/man/install.1
- +fsf/fileutils/man/ln.1
- +fsf/fileutils/man/ls.1
- +fsf/fileutils/man/mkdir.1
- +fsf/fileutils/man/mkfifo.1
- +fsf/fileutils/man/mknod.1
- +fsf/fileutils/man/mv.1
- +fsf/fileutils/man/rm.1
- +fsf/fileutils/man/rmdir.1
- +fsf/fileutils/man/touch.1
- +fsf/fileutils/manifests/bin
- +fsf/fileutils/manifests/src
- +fsf/fileutils/mkinstalldirs
- +fsf/fileutils/po/ChangeLog
- +fsf/fileutils/po/Makefile.in.in
- +fsf/fileutils/po/POTFILES.in
- +fsf/fileutils/po/cat-id-tbl.c
- +fsf/fileutils/po/de.po
- +fsf/fileutils/po/fileutils.pot
- +fsf/fileutils/po/fr.po
- +fsf/fileutils/po/pt.po
- +fsf/fileutils/po/stamp-cat-id
- +fsf/fileutils/po/sv.po
- +fsf/fileutils/src/Makefile.am
- +fsf/fileutils/src/Makefile.in
- +fsf/fileutils/src/ansi2knr.1
- +fsf/fileutils/src/ansi2knr.c
- +fsf/fileutils/src/chgrp.c
- +fsf/fileutils/src/chmod.c
- +fsf/fileutils/src/chown.c
- +fsf/fileutils/src/cp-aux.c
- +fsf/fileutils/src/cp-hash.c
- +fsf/fileutils/src/cp.c
- +fsf/fileutils/src/cp.h
- +fsf/fileutils/src/dcgen.pl
- +fsf/fileutils/src/dd.c
- +fsf/fileutils/src/df.c
- +fsf/fileutils/src/dircolors.c
- +fsf/fileutils/src/dircolors.h
- +fsf/fileutils/src/dircolors.hin
- +fsf/fileutils/src/du.c
- +fsf/fileutils/src/install.c
- +fsf/fileutils/src/ln.c
- +fsf/fileutils/src/ls-dir.c
- +fsf/fileutils/src/ls-ls.c
- +fsf/fileutils/src/ls-vdir.c
- +fsf/fileutils/src/ls.c
- +fsf/fileutils/src/ls.h
- +fsf/fileutils/src/mkdir.c
- +fsf/fileutils/src/mkfifo.c
- +fsf/fileutils/src/mknod.c
- +fsf/fileutils/src/mv.c
- +fsf/fileutils/src/mvdir.c
- +fsf/fileutils/src/rm.c
- +fsf/fileutils/src/rmdir.c
- +fsf/fileutils/src/sync.c
- +fsf/fileutils/src/system.h
- +fsf/fileutils/src/touch.c
- +fsf/fileutils/stamp-h.in
- diff -rup --new-file baseline/fsf/fileutils/po/Makefile.in.in amiga/fsf/fileutils/po/Makefile.in.in
- --- baseline/fsf/fileutils/po/Makefile.in.in Tue Jul 9 16:24:53 1996
- +++ amiga/fsf/fileutils/po/Makefile.in.in Sat Sep 28 00:00:00 1996
- @@ -78,7 +78,7 @@ INSTOBJEXT = @INSTOBJEXT@
- $(MSGFMT) -o $@ $<
-
- .po.gmo:
- - file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
- + file=`echo $* | sed 's,.*/,,'`.gmo \
- && rm -f $$file && $(GMSGFMT) -o $$file $<
-
- .po.cat:
- Binary files baseline/fsf/fileutils/po/de.gmo and amiga/fsf/fileutils/po/de.gmo differ
- Binary files baseline/fsf/fileutils/po/fr.gmo and amiga/fsf/fileutils/po/fr.gmo differ
- Binary files baseline/fsf/fileutils/po/pt.gmo and amiga/fsf/fileutils/po/pt.gmo differ
- Binary files baseline/fsf/fileutils/po/sv.gmo and amiga/fsf/fileutils/po/sv.gmo differ
- diff -rup --new-file baseline/fsf/fileutils/src/cp.c amiga/fsf/fileutils/src/cp.c
- --- baseline/fsf/fileutils/src/cp.c Fri Jun 21 08:29:55 1996
- +++ amiga/fsf/fileutils/src/cp.c Sat Sep 28 00:00:00 1996
- @@ -1274,8 +1274,10 @@ copy_reg (const char *src_path, const ch
- #endif
-
- /* Make a buffer with space for a sentinel at the end. */
- + /* This can be quite large in some circumstances, so get the
- + memory from malloc rather than alloca'ing a large stack */
-
- - buf = (char *) alloca (buf_size + sizeof (int));
- + buf = (char *) xmalloc (buf_size + sizeof (int));
-
- for (;;)
- {
- @@ -1376,5 +1378,6 @@ ret2:
- return_val = -1;
- }
-
- + free (buf);
- return return_val;
- }
- diff -rup --new-file baseline/fsf/fileutils/src/du.c amiga/fsf/fileutils/src/du.c
- --- baseline/fsf/fileutils/src/du.c Tue Apr 23 21:55:21 1996
- +++ amiga/fsf/fileutils/src/du.c Sat Sep 28 00:00:00 1996
- @@ -537,9 +537,13 @@ count_entry (char *ent, int top, dev_t l
- /* If we're dereferencing symlinks and we're about to chdir through
- a symlink, remember the current directory so we can return to it
- later. In other cases, chdir ("..") works fine. */
- +#ifndef HAVE_LSTAT
- + through_symlink = 0;
- +#else
- through_symlink = (xstat == stat
- && lstat (ent, &e_buf) == 0
- && S_ISLNK (e_buf.st_mode));
- +#endif
- if (through_symlink)
- if (save_cwd (&cwd))
- exit (1);
- diff -rup --new-file baseline/fsf/fileutils/src/install.c amiga/fsf/fileutils/src/install.c
- --- baseline/fsf/fileutils/src/install.c Tue Jul 9 18:19:12 1996
- +++ amiga/fsf/fileutils/src/install.c Sat Sep 28 00:00:00 1996
- @@ -50,6 +50,11 @@
- This is different from the SunOS 4.0 install, which gives
- directories that it creates the default attributes.
-
- + -l, --log=LOGFILE
- + Create a log file with name, size and date of all
- + installed files. LOGFILE should be a path like
- + /var/install-logs/fileutils-3.13. lhecking@nmrc.ucc.ie
- +
- David MacKenzie <djm@gnu.ai.mit.edu> */
-
- #include <config.h>
- @@ -79,7 +84,9 @@
- #endif
-
- struct passwd *getpwnam ();
- +#ifndef __BEOS__ /* BEOS has getgrnam but declared as "void *" in DR8 */
- struct group *getgrnam ();
- +#endif
-
- #ifndef _POSIX_VERSION
- uid_t getuid ();
- @@ -154,6 +161,12 @@ static int strip_files;
- /* If nonzero, install a directory instead of a regular file. */
- static int dir_arg;
-
- +/* File * to log file. */
- +static FILE *log_file;
- +
- +/* If nonzero, create installation log. */
- +static int install_log;
- +
- /* If nonzero, display usage information and exit. */
- static int show_help;
-
- @@ -167,6 +180,7 @@ static struct option const long_options[
- {"group", required_argument, NULL, 'g'},
- {"mode", required_argument, NULL, 'm'},
- {"owner", required_argument, NULL, 'o'},
- + {"log", required_argument, NULL, 'l'},
- {"backup", no_argument, NULL, 'b'},
- {"version-control", required_argument, NULL, 'V'},
- {"help", no_argument, &show_help, 1},
- @@ -182,6 +196,7 @@ main (int argc, char **argv)
- char *symbolic_mode = NULL;
- int make_backups = 0;
- char *version;
- + char *log_file_name = NULL;
-
- program_name = argv[0];
- setlocale (LC_ALL, "");
- @@ -200,7 +215,7 @@ main (int argc, char **argv)
- simple_backup_suffix = version;
- version = getenv ("VERSION_CONTROL");
-
- - while ((optc = getopt_long (argc, argv, "bcsdg:m:o:V:S:", long_options,
- + while ((optc = getopt_long (argc, argv, "bcsdg:m:o:l:V:S:", long_options,
- (int *) 0)) != EOF)
- {
- switch (optc)
- @@ -227,6 +242,9 @@ main (int argc, char **argv)
- case 'o':
- owner_name = optarg;
- break;
- + case 'l':
- + log_file_name = optarg;
- + install_log = 1;
- case 'S':
- simple_backup_suffix = optarg;
- break;
- @@ -273,6 +291,15 @@ main (int argc, char **argv)
-
- get_ids ();
-
- + if (install_log)
- + {
- + log_file = fopen (log_file_name, "a");
- +
- + if (log_file == NULL)
- + error (1, 0, _("cannot open log file `%s'"), log_file_name);
- +
- + }
- +
- if (dir_arg)
- {
- for (; optind < argc; ++optind)
- @@ -301,6 +328,9 @@ main (int argc, char **argv)
- }
- }
-
- + if (log_file)
- + fclose (log_file);
- +
- exit (errors);
- }
-
- @@ -452,6 +482,11 @@ copy_file (char *from, char *to, int *to
- }
- if (ret == 0)
- *to_created = target_created;
- +
- + if (log_file)
- + fprintf (log_file, "%s\t%-ld\t%-s", \
- + to, (long)from_stats.st_size, ctime (&(from_stats.st_mtime)));
- +
- return ret;
-
- copy_error:
- @@ -512,7 +547,11 @@ strip (char *path)
- {
- int pid, status;
-
- +#ifdef HAVE_VFORK
- + pid = vfork ();
- +#else
- pid = fork ();
- +#endif
- switch (pid)
- {
- case -1:
- @@ -601,6 +640,7 @@ format, make all components of the given
- -o, --owner=OWNER set ownership (super-user only)\n\
- -s, --strip strip symbol tables, only for 1st and 2nd formats\n\
- -b, --backup make backup before removal\n\
- + -l, --log=FILE create installation log\n\
- -S, --suffix=SUFFIX override the usual backup suffix\n\
- -V, --version-control=WORD override the usual version control\n\
- --help display this help and exit\n\
- diff -rup --new-file baseline/fsf/fileutils/src/ls.c amiga/fsf/fileutils/src/ls.c
- --- baseline/fsf/fileutils/src/ls.c Sun Jul 7 21:23:47 1996
- +++ amiga/fsf/fileutils/src/ls.c Sat Sep 28 00:00:00 1996
- @@ -2668,7 +2668,11 @@ attach (char *dest, const char *dirname,
- while (*dirnamep)
- *dest++ = *dirnamep++;
- /* Add '/' if `dirname' doesn't already end with it. */
- - if (dirnamep > dirname && dirnamep[-1] != '/')
- + if (dirnamep > dirname && dirnamep[-1] != '/'
- +#ifdef __amigaos__
- + && dirnamep[-1] != ':'
- +#endif
- + )
- *dest++ = '/';
- }
- while (*name)
- diff -rup --new-file baseline/fsf/fileutils/src/system.h amiga/fsf/fileutils/src/system.h
- --- baseline/fsf/fileutils/src/system.h Tue Jul 2 20:59:48 1996
- +++ amiga/fsf/fileutils/src/system.h Sat Sep 28 00:00:00 1996
- @@ -351,3 +351,9 @@ char *alloca ();
- #endif
-
- #define STREQ(a,b) (strcmp((a), (b)) == 0)
- +
- +/* On systems without lstat(), substitute stat */
- +
- +#ifndef HAVE_LSTAT
- +#define lstat stat
- +#endif
-