Last change
on this file was 35457, checked in by davidb, 3 years ago |
Addition of java-based solution to more cleanly determine Java version and bitness, rather than relying of it's 'version' minus argument and inspecting with 'file' the 'java' program. This commit for Unix OS. A later phase of work will be the updated win32.mak file for Windows. Then a final phase of work will be for the 'search4j' source code to be tied in with the generated jar files
|
File size:
614 bytes
|
Rev | Line | |
---|
[17496] | 1 | # -*- Autoconf -*-
|
---|
| 2 | # Process this file with autoconf to produce a configure script.
|
---|
| 3 |
|
---|
| 4 | AC_PREREQ(2.59)
|
---|
| 5 | AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
|
---|
| 6 | AC_CONFIG_SRCDIR([search4j.cpp])
|
---|
| 7 | AC_CONFIG_HEADER([config.h])
|
---|
| 8 |
|
---|
| 9 | # Checks for programs.
|
---|
| 10 | AC_PROG_CXX
|
---|
| 11 | AC_PROG_CC
|
---|
| 12 | AC_PROG_CPP
|
---|
| 13 | AC_PROG_INSTALL
|
---|
[35457] | 14 | AC_PROG_JAVAC
|
---|
[17496] | 15 |
|
---|
| 16 | # Checks for libraries.
|
---|
| 17 |
|
---|
| 18 | # Checks for header files.
|
---|
| 19 |
|
---|
| 20 | # Checks for typedefs, structures, and compiler characteristics.
|
---|
| 21 | AC_HEADER_STDBOOL
|
---|
| 22 | AC_C_CONST
|
---|
| 23 |
|
---|
| 24 | # Checks for library functions.
|
---|
| 25 | AC_HEADER_STDC
|
---|
| 26 | AC_CHECK_FUNCS([memset])
|
---|
| 27 |
|
---|
| 28 | AC_CONFIG_FILES([Makefile])
|
---|
| 29 | AC_OUTPUT
|
---|
Note:
See
TracBrowser
for help on using the repository browser.