003 File Manager
Current Path:
/usr/src/contrib/file
usr
/
src
/
contrib
/
file
/
📁
..
📄
AUTHORS
(13 B)
📄
COPYING
(1.61 KB)
📄
ChangeLog
(55.06 KB)
📄
INSTALL
(15.21 KB)
📄
MAINT
(1.46 KB)
📄
Makefile.am
(289 B)
📄
Makefile.in
(27.65 KB)
📄
NEWS
(15 B)
📄
README
(6.99 KB)
📄
TODO
(2.02 KB)
📄
acinclude.m4
(1.97 KB)
📄
aclocal.m4
(44.27 KB)
📄
compile
(7.21 KB)
📄
config.guess
(43.92 KB)
📄
config.h.in
(11.26 KB)
📄
config.sub
(30.82 KB)
📄
configure
(498.38 KB)
📄
configure.ac
(6.47 KB)
📄
depcomp
(23.02 KB)
📁
doc
📄
install-sh
(6.6 KB)
📄
libmagic.pc.in
(210 B)
📄
ltmain.sh
(316.83 KB)
📁
m4
📁
magic
📄
missing
(6.72 KB)
📁
python
📁
src
📁
tests
Editing: acinclude.m4
dnl from autoconf 2.13 acspecific.m4, with changes to check for daylight AC_DEFUN([AC_STRUCT_TIMEZONE_DAYLIGHT], [AC_REQUIRE([AC_STRUCT_TM])dnl AC_CACHE_CHECK([for tm_zone in struct tm], ac_cv_struct_tm_zone, [AC_TRY_COMPILE([#include <sys/types.h> #include <$ac_cv_struct_tm>], [struct tm tm; tm.tm_zone;], ac_cv_struct_tm_zone=yes, ac_cv_struct_tm_zone=no)]) if test "$ac_cv_struct_tm_zone" = yes; then AC_DEFINE(HAVE_TM_ZONE,1,[HAVE_TM_ZONE]) fi # On SGI, apparently tzname is a #define, but that's ok, AC_CHECK_DECL will # consider it declared and we won't give our own extern. AC_CHECK_DECLS([tzname], , , [#include <time.h>]) AC_CACHE_CHECK(for tzname, ac_cv_var_tzname, [AC_TRY_LINK( [#include <time.h> #if !HAVE_DECL_TZNAME extern char *tzname[]; #endif], [return tzname[0][0];], [ac_cv_var_tzname=yes], [ac_cv_var_tzname=no])]) if test $ac_cv_var_tzname = yes; then AC_DEFINE(HAVE_TZNAME,1,[HAVE_TZNAME]) fi AC_CACHE_CHECK([for tm_isdst in struct tm], ac_cv_struct_tm_isdst, [AC_TRY_COMPILE([#include <sys/types.h> #include <$ac_cv_struct_tm>], [struct tm tm; tm.tm_isdst;], ac_cv_struct_tm_isdst=yes, ac_cv_struct_tm_isdst=no)]) if test "$ac_cv_struct_tm_isdst" = yes; then AC_DEFINE(HAVE_TM_ISDST,1,[HAVE_TM_ISDST]) fi AC_CHECK_DECLS([daylight], , , [#include <time.h>]) AC_CACHE_CHECK(for daylight, ac_cv_var_daylight, [AC_TRY_LINK( changequote(<<, >>)dnl <<#include <time.h> #if !HAVE_DECL_DAYLIGHT extern int daylight; #endif>>, changequote([, ])dnl [atoi(daylight);], ac_cv_var_daylight=yes, ac_cv_var_daylight=no)]) if test $ac_cv_var_daylight = yes; then AC_DEFINE(HAVE_DAYLIGHT,1,[HAVE_DAYLIGHT]) fi ]) AC_DEFUN([AC_STRUCT_OPTION_GETOPT_H], [AC_CACHE_CHECK([for struct option in getopt], ac_cv_struct_option_getopt_h, [AC_TRY_COMPILE([#include <getopt.h>], [struct option op; op.name;], ac_cv_struct_option_getopt_h=yes, ac_cv_struct_option_getopt_h=no)]) if test "$ac_cv_struct_option_getopt_h" = yes; then AC_DEFINE(HAVE_STRUCT_OPTION,1,[HAVE_STRUCT_OPTION]) fi ])
Upload File
Create Folder