Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.61)
AC_INIT([procinfo-ng], [2.0], [tabrisnet@users.sourceforge.net])
AC_CONFIG_SRCDIR([procinfo.cpp])

# Checks for programs.
AC_PROG_CC
AC_PROG_CXX
AC_PROG_INSTALL

# Checks for libraries.

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([fcntl.h math.h sys/ioctl.h termios.h ncurses.h])
AC_HEADER_DIRENT
AC_HEADER_TIME

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_HEADER_TIME
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
AC_TYPE_INT32_T
AC_TYPE_INT64_T

# Checks for library functions.
AC_FUNC_SELECT_ARGTYPES
AC_FUNC_STRTOD
AC_CHECK_FUNCS([select strtol strtoul strtoull snprintf readdir64])

AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode	Enables debug symbols and disables optimizations [default=no]],
[ enable_maintainer_mode=yes ])

if test "$enable_maintainer_mode" = "yes"; then
	CFLAGS="$CFLAGS-O0 -g3 --pipe -Wall"
	LDFLAGS="$LDFLAGS -lncurses"
else
	CFLAGS="$CFLAGS -pipe -Wall"
	LDFLAGS="$LDFLAGS -s -lncurses"
fi

AC_OUTPUT(Makefile)
#AC_CONFIG_FILES([Makefile])
#AC_OUTPUT