Update of /cvsroot/srm/srm
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv5509
Added Files:
configure.ac
Removed Files:
configure.in
Log Message:
update autotools stuff
--- NEW FILE: configure.ac ---
dnl Process this file with autoconf to produce a configure script.
AC_INIT(srm, 1.2.12)
AC_CONFIG_SRCDIR([src/rename_unlink.c])
AM_INIT_AUTOMAKE
AC_CONFIG_HEADER(config.h)
dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_RANLIB
dnl enable 64bit file ops
AC_SYS_LARGEFILE
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(sys/vfs.h sys/param.h sys/mount.h varargs.h stdarg.h linux/ext2_fs.h linux/ext3_fs.h attr/xattr.h sys/extattr.h sys/xattr.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_DIAGNOSE([obsolete],[AC_STRUCT_ST_BLKSIZE:
your code should no longer depend upon `HAVE_ST_BLKSIZE', but
`HAVE_STRUCT_STAT_ST_BLKSIZE'. Remove this warning and
the `AC_DEFINE' when you adjust the code.])
AC_CHECK_MEMBERS([struct stat.st_blksize],[AC_DEFINE(HAVE_ST_BLKSIZE, 1,
[Define to 1 if your `struct stat' has
`st_blksize'. Deprecated, use
`HAVE_STRUCT_STAT_ST_BLKSIZE' instead.])])
dnl Checks for library functions.
AC_CHECK_FUNCS(fts_open nftw fdatasync chflags snprintf vsnprintf lrand48)
dnl Check if we have enable debug support.
AC_MSG_CHECKING(whether to enable debugging)
debug_default="no"
AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging
[default=$debug_default]],, enable_debug=$debug_default)
if test "x$enable_debug" = "xyes"; then
CFLAGS="$CFLAGS -g"
AC_MSG_RESULT(yes)
else
CFLAGS="$CFLAGS -DNDEBUG"
AC_MSG_RESULT(no)
fi
AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile lib/Makefile win/Makefile srm.spec])
AC_OUTPUT
--- configure.in DELETED ---
|