spielwiese
Last change
on this file since f47f56 was
f47f56,
checked in by Mohamed Barakat <mohamed.barakat@…>, 13 years ago
|
- introduced libtools in libpolys/polys
- enables the compilation of the dynamic modules in libpolys/polys/templates
- replaced p_Procs_Dynamic.in by p_Procs.inc in templates/p_Procs_Lib.cc
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[6ed0df1] | 1 | # -*- Autoconf -*- |
---|
| 2 | # Process this file with autoconf to produce a configure script. |
---|
| 3 | |
---|
| 4 | AC_PREREQ([2.65]) |
---|
| 5 | AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS]) |
---|
[f47f56] | 6 | AC_CONFIG_AUX_DIR([.]) |
---|
[6bec87] | 7 | AM_INIT_AUTOMAKE |
---|
| 8 | AC_CONFIG_SRCDIR([polys.cc]) |
---|
[6ed0df1] | 9 | AC_CONFIG_HEADERS([config.h]) |
---|
[f47f56] | 10 | AC_CONFIG_MACRO_DIR([m4]) |
---|
[6ed0df1] | 11 | |
---|
| 12 | # Checks for programs. |
---|
| 13 | AC_PROG_CXX |
---|
| 14 | AC_PROG_CC |
---|
| 15 | AC_PROG_LN_S |
---|
[f47f56] | 16 | #AC_PROG_RANLIB |
---|
| 17 | AC_LIBTOOL_DLOPEN |
---|
| 18 | AC_PROG_LIBTOOL |
---|
[6ed0df1] | 19 | |
---|
| 20 | # Checks for libraries. |
---|
| 21 | |
---|
| 22 | # Checks for header files. |
---|
| 23 | AC_CHECK_HEADERS([stdlib.h string.h]) |
---|
| 24 | |
---|
| 25 | # Checks for typedefs, structures, and compiler characteristics. |
---|
| 26 | AC_HEADER_STDBOOL |
---|
| 27 | AC_C_INLINE |
---|
| 28 | |
---|
| 29 | # Checks for library functions. |
---|
| 30 | AC_FUNC_MALLOC |
---|
| 31 | AC_CHECK_FUNCS([memset]) |
---|
| 32 | |
---|
| 33 | AC_CONFIG_FILES([Makefile]) |
---|
[ce2120e] | 34 | |
---|
| 35 | case $DL_KERNEL in |
---|
| 36 | static) DL_KERNEL_OBJECT='p_Procs_Static.$(OBJEXT)' |
---|
| 37 | DL_KERNEL_OBJECT_DEBUG='p_Procs_Static.$(OBJEXT)g' ;; |
---|
| 38 | dynamic) DL_KERNEL_OBJECT='p_Procs_Dynamic.$(OBJEXT)' |
---|
| 39 | DL_KERNEL_OBJECT_DEBUG='p_Procs_Dynamic.$(OBJEXT)g' ;; |
---|
| 40 | esac |
---|
| 41 | |
---|
| 42 | AC_SUBST([DL_KERNEL_OBJECT]) |
---|
| 43 | AC_SUBST([DL_KERNEL_OBJECT_DEBUG]) |
---|
| 44 | |
---|
[6ed0df1] | 45 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.