source: git/resources/configure.ac @ 20e3062

spielwiese
Last change on this file since 20e3062 was ba5e9e, checked in by Oleksandr Motsak <motsak@…>, 11 years ago
Changed configure-scripts to generate individual public config files for each package: resources, libpolys, singular (main) fix: sources should include correct corresponding config headers.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1AC_INIT([libresources], [3.1.4.sw])
2
3AC_CONFIG_MACRO_DIR([../m4])
4AC_CONFIG_AUX_DIR([.])
5AC_CONFIG_SRCDIR([omFindExec.h])
6AC_CONFIG_HEADER([resourcesconfig.h])
7
8AM_MAINTAINER_MODE
9AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) # -Wno-extra-portability -Werror silent-rules
10m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
11m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
12
13dnl Check if build env is sane
14AM_SANITY_CHECK
15
16# Add pre'prefixed config
17AX_PREFIX_CONFIG_H([resourcesconfig.h],[],[resourcesconfig.h])
18
19SING_RESET_FLAGS()
20SING_CHECK_SET_ARGS()
21
22AM_PROG_CC_C_O
23# AM_PROG_AR
24
25AC_PROG_LN_S
26AC_PROG_INSTALL
27
28AC_FUNC_MALLOC
29AC_HEADER_STDC
30AC_CHECK_HEADERS([stdlib.h string.h unistd.h pwd.h sys/param.h sys/stat.h sys/types.h])
31AC_CHECK_FUNCS(readlink getcwd getwd getpwnam setenv putenv)
32
33# Checks for typedefs, structures, and compiler characteristics.
34AC_C_CONST
35AC_C_INLINE
36AC_HEADER_STDBOOL
37AC_TYPE_SIZE_T
38
39# Turn off shared libraries during beta-testing, since they
40# make the build process take too long.
41LT_INIT
42# ([shared])
43# LT_INIT(dlopen disable-static) # doesn't work on PowerPC!
44
45# SING_CHECK_PIPE
46
47AC_CONFIG_FILES([Makefile])
48AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.