"Fossies" - the Fresh Open Source Software Archive

Member "srm-1.2.15/configure.ac" (26 Feb 2015, 1763 Bytes) of package /linux/privat/srm-1.2.15.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "configure.ac": 1.2.14_vs_1.2.15.

    1 dnl Process this file with autoconf to produce a configure script.
    2 AC_INIT(srm, 1.2.15)
    3 AC_CONFIG_SRCDIR([src/rename_unlink.c])
    4 AM_INIT_AUTOMAKE
    5 AC_CONFIG_HEADER(config.h)
    6 
    7 dnl Checks for programs.
    8 AC_PROG_CC
    9 
   10 AC_PROG_INSTALL
   11 AC_PROG_RANLIB
   12 
   13 dnl enable 64bit file ops
   14 AC_SYS_LARGEFILE
   15 
   16 dnl Checks for header files.
   17 AC_HEADER_STDC
   18 AC_CHECK_HEADERS([sys/vfs.h sys/param.h sys/mount.h varargs.h stdarg.h attr/xattr.h sys/extattr.h sys/xattr.h linux/fs.h linux/ext2_fs.h linux/ext3_fs.h],
   19  [], [], [[
   20 #ifdef HAVE_LINUX_FS_H
   21 #include <linux/fs.h>
   22 #endif
   23 ]])
   24 
   25 dnl Checks for typedefs, structures, and compiler characteristics.
   26 AC_C_CONST
   27 AC_DIAGNOSE([obsolete],[AC_STRUCT_ST_BLKSIZE:
   28         your code should no longer depend upon `HAVE_ST_BLKSIZE', but
   29         `HAVE_STRUCT_STAT_ST_BLKSIZE'.  Remove this warning and
   30         the `AC_DEFINE' when you adjust the code.])
   31 AC_CHECK_MEMBERS([struct stat.st_blksize],[AC_DEFINE(HAVE_ST_BLKSIZE, 1,
   32                             [Define to 1 if your `struct stat' has
   33                              `st_blksize'.  Deprecated, use
   34                              `HAVE_STRUCT_STAT_ST_BLKSIZE' instead.])])
   35 
   36 dnl Checks for library functions.
   37 AC_CHECK_FUNCS(fts_open nftw fdatasync chflags snprintf vsnprintf lrand48)
   38 
   39 dnl Check if we have enable debug support.
   40 AC_MSG_CHECKING(whether to enable debugging)
   41 debug_default="no"
   42 AC_ARG_ENABLE(debug, [  --enable-debug=[no/yes] turn on debugging
   43                        [default=$debug_default]],, enable_debug=$debug_default)
   44 if test "x$enable_debug" = "xyes"; then
   45   CFLAGS="$CFLAGS -g"
   46   AC_MSG_RESULT(yes)
   47 else
   48   CFLAGS="$CFLAGS -DNDEBUG"
   49   AC_MSG_RESULT(no)
   50 fi
   51 
   52 AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile lib/Makefile win/Makefile srm.spec doc/srm.1 test/Makefile])
   53 AC_OUTPUT