Files
reiserfsprogs/configure.in
T

49 lines
1.0 KiB
Plaintext

dnl Process this file with autoconf to produce a configure script.
AC_INIT(version.h)
AM_INIT_AUTOMAKE(reiserfsprogs, 3.x.0j)
dnl We install in /sbin, the utils are to be available on boot
AC_PREFIX_DEFAULT(/)
PRESET_CFLAGS=$CFLAGS
AC_PROG_CC
if test -z $PRESET_CFLAGS; then
dnl CFLAGS="${RPM_OPT_FLAGS} $CFLAGS -Wall"
CFLAGS="${RPM_OPT_FLAGS} -g -O2 -Wall"
fi
dnl Checks for programs.
AC_PROG_RANLIB
dnl AC_PROG_AWK
dnl AC_PROG_INSTALL
dnl AC_PROG_LN_S
dnl Checks for libraries.
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h limits.h malloc.h sys/ioctl.h unistd.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_STRUCT_ST_RDEV
dnl Checks for library functions.
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MEMCMP
AC_FUNC_STRFTIME
AC_FUNC_VPRINTF
AC_CHECK_FUNCS(strerror strstr strtol)
AC_OUTPUT(include/Makefile mkreiserfs/Makefile resize_reiserfs/Makefile fsck/Makefile lib/Makefile Makefile reiserfscore/Makefile debugreiserfs/Makefile)