mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 18:14:24 +08:00
e8f0620258
very little has changed, but configure has lots of line numbers that have shift slightly 2002/07/05 17:07:48-00:00 !antona Better gcc detection in 'configure.in'. (Szakacsits Szabolcs) 2002/07/03 14:38:40-00:00 !antona Cleanup the build process a bit. 2002/07/02 23:47:10-00:00 !antona Global replacement of __[su]{8,16,32,64} with [su]{8,16,32,64} and layout.h define it. 2002/06/05 20:38:11-00:00 !antona update 2002/06/02 14:11:09-00:00 !antona . 2002/06/02 13:57:59-00:00 !antona Fix detection of read-only mounts in volume.c::ntfs_check_mnteent(). 2002/05/08 05:49:35-00:00 !mattjf Started work on ntfsinfo 2002/04/29 13:00:39-00:00 !antona Add check for mbsrtowcs 2002/04/24 23:47:40-00:00 !antona Hammer out the API for run list merging. Add calls for low level (using raw run lists and ATTR_RECORDs as parameters) run list merging, mappaing pairs decompression, and vcn to lcn conversion as well as high level (using ntfs_attr as parameter) calls for run list mapping and vcn to lcn conversion. 2002/04/18 18:15:45-00:00 !antona Define API for bootsect.[ch]: is_boot_sector_ntfs(). 2002/04/16 15:34:32-00:00 !antona Fix the library... 2002/04/14 14:15:47-00:00 !antona Cleanups and updates. 2002/04/12 15:23:47-00:00 !antona Cleanup ntfslabel, write a man page for it, integrate it all in the distribution properly, silence output from ntfs_mount() (conditional on running configure with --enable-debug), update all docs accordingly. Add Rich and Matt to AUTHORS. 2002/03/12 22:02:29-00:00 !antona Forgot to bump the version number. 2002/01/26 03:21:07-00:00 !antona Preparations for 1.5.1 release. 2001/12/15 05:13:08-00:00 !antona Remove atomic ops and add compiler version check. 2001/12/06 01:14:52-00:00 !antona Added mount flags to ntfs_mount and adapted utilities to new mount syntax. 2001/11/10 14:22:15-00:00 !antona Remove obsoleted disklabel.h stuff. 2001/11/10 14:17:39-00:00 !antona Enhance mkntfs' device size determination. 2001/11/09 23:38:38-00:00 !antona Change version to 1.4.0 (keep odd ones for development releases). 2001/11/09 21:30:51-00:00 !antona Considering added functionality change version number to 1.3.0, update docs and mkntfs man page. 2001/11/09 19:24:23-00:00 !antona With lots of luck this is going to be 1.2.3. 2001/11/09 18:24:32-00:00 !antona Updates to docs, layout.h and ntfsfix to support Windows XP NTFS 2001/08/27 16:58:07-00:00 !antona Updates. 2001/08/02 01:44:56-00:00 !antona Add ntfsfix man page and spell fixes. Update to 1.2.1 version and update all text files to go with it and the rpm spec file. 2001/07/25 23:11:49-00:00 !antona Update text files 2001/07/25 13:43:10-00:00 !antona 1.0.2 release. Mkntfs now in sbin and minor bugfix to mkntfs man page. 2001/07/24 17:41:01-00:00 !antona Minor updates and restructuring the distribution. See NEWS and ChangeLog for details. 2001/06/11 19:11:37-00:00 !antona Fix rpm generation. Circumvent configure bug by cheating in configure.in moving around nonopt to host and setting nonopt to NONE. 2001/06/11 04:02:08-00:00 !antona Linux-NTFS 1.0.0-pre-1 - FEATURE FREEZE ======================================= mkntfs complete with option parsing and more cool things. mkntfs man page complete. info files updated. TODO Before 1.0.0 final: - Test mkntfs options & mkntfs itself. - Test tar ball generation. - Test rpm generation. 2001/06/10 18:30:16-00:00 !antona Preparations for the 0.1.0 release. Updating documentation and information. Updating rpm generation and added mkntfs man page which currently is not accurate as it shows all the mke2fs options in it while mkntfs doesn't actually accept any options except for device at all but it is a good starting point. 2001/06/05 10:33:02-00:00 !antona Update automatic config/make process and mkntfs to use the cvs release tag for version reporting. 2001/06/01 02:07:23-00:00 !antona It has been a long time since last commit. At moment have done a lot of work on mkntfs but also at the moment ntfsfix and ntfsdump_logfile and libntfs are broken. Basically only mkntfs works and that is not complete either. 2001/02/03 02:03:35-00:00 !antona More files. 2001/02/02 00:16:18-00:00 !antona Changed make process to using autoconf/automake/libtool. Added necessary files for this and for the gnu standard. Inititial checkin. Probably still stuff missing. Will know soon... (Logical change 1.5)
140 lines
3.5 KiB
Plaintext
140 lines
3.5 KiB
Plaintext
AC_INIT(aclocal.m4)
|
|
|
|
dnl This is required to get past a stupid configure bug when making the rpm.
|
|
dnl Basically it is broken to specify the host as a command line argument to
|
|
dnl configure on its own, i.e. without giving --host=. It is supposed to work
|
|
dnl but doesn't. So this sets host and erases nonopt effectively moving the
|
|
dnl standalone command line option into the --host= form.
|
|
if test "x$nonopt" != "xNONE"; then
|
|
host="$nonopt"
|
|
nonopt="NONE"
|
|
fi
|
|
|
|
AC_CANONICAL_SYSTEM
|
|
|
|
AM_INIT_AUTOMAKE(linux-ntfs,1.6.99)
|
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
AM_CONFIG_HEADER(config.h)
|
|
|
|
AC_PREFIX_DEFAULT(/usr/local)
|
|
if test "x$prefix" = "xNONE"; then
|
|
prefix=$ac_default_prefix
|
|
ac_configure_args="$ac_configure_args --prefix $prefix"
|
|
fi
|
|
|
|
dnl Command-line options.
|
|
AC_ARG_ENABLE(debug,
|
|
[ --enable-debug enable debugging], ,
|
|
enable_debug=no
|
|
)
|
|
|
|
AC_ARG_ENABLE(really-static,
|
|
[ --enable-really-static completely static binaries], ,
|
|
enable_really_static=no
|
|
)
|
|
|
|
AM_CONDITIONAL(DEBUG, test "$enable_debug" = yes)
|
|
AM_CONDITIONAL(REALLYSTATIC, test "$enable_really_static" = yes)
|
|
|
|
dnl Checks for programs.
|
|
AC_PROG_CXX
|
|
AC_PROG_CC
|
|
AC_PROG_INSTALL
|
|
AC_PROG_LN_S
|
|
AC_PROG_MAKE_SET
|
|
|
|
dnl create a working libtool-script
|
|
if test -z "$LIBTOOL"; then
|
|
AC_LANG_SAVE
|
|
AC_LANG_C
|
|
AM_PROG_LIBTOOL
|
|
dnl LIBTOOL="$LIBTOOL --silent"
|
|
AC_LANG_RESTORE
|
|
AC_SUBST(LIBTOOL_DEPS)
|
|
LIBTOOL_SHELL='/bin/sh ./libtool'
|
|
else
|
|
LIBTOOL_SHELL=$LIBTOOL
|
|
fi
|
|
|
|
dnl add --with-extra-includes and --with-extra-libs switch to ./configure
|
|
all_libraries="$all_libraries $USER_LDFLAGS"
|
|
all_includes="$all_includes $USER_INCLUDES"
|
|
AC_SUBST(all_includes)
|
|
AC_SUBST(all_libraries)
|
|
|
|
AC_SUBST(AUTODIRS)
|
|
|
|
AC_SUBST(CFLAGS)
|
|
AC_SUBST(CPPFLAGS)
|
|
AC_SUBST(LDFLAGS)
|
|
|
|
dnl Get compiler name
|
|
if test ! -z "$CC"; then
|
|
_cc="$CC"
|
|
else
|
|
_cc="gcc"
|
|
fi
|
|
|
|
dnl Check for gcc version being >= 2.96.
|
|
AC_MSG_CHECKING(version of $_cc)
|
|
cc_version=`$_cc --version 2>&1`
|
|
cc_major=`echo $cc_version | sed 's/egcs-//' | cut -d'.' -f1`
|
|
cc_minor=`echo $cc_version | sed 's/egcs-//' | cut -d'.' -f2`
|
|
if test -z $cc_version; then
|
|
cc_version="v. ?.??"
|
|
cc_major=1
|
|
fi
|
|
if test $cc_major -lt 2 -o \( $cc_major -eq 2 -a $cc_minor -lt 96 \) ; then
|
|
cc_version="$cc_version, bad"
|
|
AC_MSG_RESULT($cc_version)
|
|
AC_MSG_ERROR(Please upgrade your gcc compiler to gcc-2.96+ or gcc-3+ version!\
|
|
Earlier compiler versions will NOT work as these do not support \
|
|
unnamed/annonymous structures and unions which are used heavily in linux-ntfs.)
|
|
fi
|
|
cc_version="$cc_version, ok"
|
|
AC_MSG_RESULT($cc_version)
|
|
|
|
dnl Checks for libraries.
|
|
|
|
dnl Checks for header files.
|
|
AC_HEADER_STDC
|
|
AC_CHECK_HEADERS(stdint.h stdlib.h fcntl.h unistd.h errno.h sys/stat.h \
|
|
sys/ioctl.h sys/types.h linux/types.h asm/byteorder.h sys/mount.h \
|
|
time.h mntent.h stdio.h stdarg.h string.h getopt.h linux/major.h \
|
|
limits.h linux/fd.h wchar.h)
|
|
|
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
|
AC_C_CONST
|
|
AC_C_INLINE
|
|
AC_C_LONG_DOUBLE
|
|
AC_TYPE_OFF_T
|
|
AC_TYPE_SIZE_T
|
|
|
|
dnl Checks for library functions.
|
|
AC_FUNC_MEMCMP
|
|
AC_CHECK_FUNCS(memset strdup puts printf fprintf vprintf vfprintf \
|
|
perror strerror malloc calloc free realloc open close read write \
|
|
lseek fdatasync ioctl fflush atexit exit time srandom random wcrtomb \
|
|
mbrtowc mbsrtowcs setmntent getmntent endmntent hasmntopt)
|
|
|
|
dnl Perform program name transformation.
|
|
AC_ARG_PROGRAM
|
|
|
|
dnl Makefiles to be created by configure.
|
|
AC_OUTPUT([
|
|
Makefile
|
|
doc/Makefile
|
|
include/Makefile
|
|
libntfs/Makefile
|
|
ntfstools/Makefile
|
|
ntfstools/mkntfs.8
|
|
ntfstools/ntfsfix.8
|
|
ntfstools/ntfslabel.8
|
|
ntfstools/ntfsinfo.8
|
|
ntfstools/ntfsundelete.8
|
|
linux-ntfs.spec
|
|
])
|
|
|