"Fossies" - the Fresh Open Source Software Archive

Member "singular-4.2.1/resources/configure.ac" (9 Jun 2021, 2226 Bytes) of package /linux/misc/singular-4.2.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. 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": 4.2.0p3_vs_4.2.1.

    1 AC_INIT([singular_resources], [4.2.1])
    2 
    3 AC_CONFIG_MACRO_DIR([../m4])
    4 AC_CONFIG_AUX_DIR([../build-aux])
    5 AC_CONFIG_SRCDIR([omFindExec.h])
    6 AC_CONFIG_HEADER([_config.h])
    7 
    8 AM_MAINTAINER_MODE([enable])
    9 AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) # -Wno-extra-portability -Werror silent-rules
   10 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
   11 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
   12 
   13 dnl Check if build env is sane
   14 AM_SANITY_CHECK
   15 
   16 # Add pre'prefixed config
   17 AX_PREFIX_CONFIG_H([singular_resourcesconfig.h],[],[_config.h])
   18 
   19 AM_PROG_AR
   20 
   21 SING_RESET_FLAGS()
   22 SING_CHECK_SET_ARGS()
   23 
   24 AM_PROG_CC_C_O
   25 
   26 AC_PROG_LN_S
   27 AC_PROG_INSTALL
   28 
   29 AC_HEADER_STDC
   30 AC_CHECK_HEADERS([stdlib.h string.h unistd.h pwd.h sys/param.h sys/stat.h sys/types.h])
   31 AC_CHECK_FUNCS(readlink getcwd getwd getpwnam setenv putenv)
   32 
   33 # Checks for typedefs, structures, and compiler characteristics.
   34 AC_C_CONST
   35 AC_C_INLINE
   36 AC_HEADER_STDBOOL
   37 AC_TYPE_SIZE_T
   38 
   39 # Turn off shared libraries during beta-testing, since they
   40 # make the build process take too long.
   41 LT_INIT([win32-dll])
   42 # ([shared])
   43 # LT_INIT([win32-dll])(dlopen disable-static) # doesn't work on PowerPC!
   44 
   45 # SING_CHECK_PIPE
   46 
   47 SING_WIN_FLAGS
   48 
   49 ##### SEE http://www.gnu.org/prep/standards/html_node/Directory-Variables.html
   50 
   51 AX_RECURSIVE_EVAL([[$]prefix], [config_prefix])
   52 AX_NORMALIZE_PATH([config_prefix],['/'])
   53 AC_DEFINE_UNQUOTED([PREFIX],"$config_prefix",[prefix])
   54 
   55 AX_RECURSIVE_EVAL([[$]exec_prefix], [config_exec_prefix])
   56 AX_NORMALIZE_PATH([config_exec_prefix],['/'])
   57 AC_DEFINE_UNQUOTED([EXEC_PREFIX],"$config_exec_prefix",[exec_prefix])
   58 
   59 AX_RECURSIVE_EVAL([[$]libexecdir], [config_libexecdir])
   60 AX_NORMALIZE_PATH([config_libexecdir],['/'])
   61 AC_DEFINE_UNQUOTED([LIBEXEC_DIR],"$config_libexecdir",[libexecdir])
   62 
   63 AX_RECURSIVE_EVAL([[$]libdir], [config_libdir])
   64 AX_NORMALIZE_PATH([config_libdir],['/'])
   65 AC_DEFINE_UNQUOTED([LIB_DIR],"$config_libdir",[libdir])
   66 
   67 AX_RECURSIVE_EVAL([[$]bindir], [config_bindir])
   68 AX_NORMALIZE_PATH([config_bindir],['/'])
   69 AC_DEFINE_UNQUOTED([BIN_DIR],"$config_bindir",[bindir])
   70 
   71 AX_RECURSIVE_EVAL([[$]datadir], [config_datadir])
   72 AX_NORMALIZE_PATH([config_datadir],['/'])
   73 AC_DEFINE_UNQUOTED([DATA_DIR],"$config_datadir",[datadir])
   74 
   75 AC_CONFIG_FILES([singular_resources.pc Makefile])
   76 AC_OUTPUT