"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "procinfo-ng-2.0.217/configure.in" of archive procinfo-ng-2.0.217.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 #                                               -*- Autoconf -*-
    2 # Process this file with autoconf to produce a configure script.
    3 
    4 AC_PREREQ(2.61)
    5 AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
    6 AC_CONFIG_SRCDIR([procinfo.cpp])
    7 
    8 # Checks for programs.
    9 AC_PROG_CC
   10 AC_PROG_CXX
   11 AC_PROG_INSTALL
   12 
   13 # Checks for libraries.
   14 
   15 # Checks for header files.
   16 AC_HEADER_STDC
   17 AC_CHECK_HEADERS([fcntl.h stdlib.h sys/ioctl.h termios.h])
   18 
   19 # Checks for typedefs, structures, and compiler characteristics.
   20 AC_HEADER_STDBOOL
   21 AC_C_CONST
   22 AC_C_INLINE
   23 AC_TYPE_SIZE_T
   24 AC_HEADER_TIME
   25 
   26 # Checks for library functions.
   27 AC_FUNC_SELECT_ARGTYPES
   28 AC_FUNC_STRTOD
   29 AC_CHECK_FUNCS([select strtol strtoul strtoull])
   30 
   31 AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode	Enables debug symbols and disables optimizations [default=no]],
   32 [ enable_maintainer_mode=yes ])
   33 
   34 if test "$enable_maintainer_mode" = "yes"; then
   35 	CFLAGS="-O0 -g3 --pipe -Wall"
   36 	LDFLAGS="-lncurses"
   37 else
   38 	CFLAGS="$CFLAGS -pipe"
   39 	LDFLAGS="-s -lncurses"
   40 fi
   41 
   42 AC_OUTPUT(Makefile)
   43 #AC_CONFIG_FILES([Makefile])
   44 #AC_OUTPUT