|
Revision 2863, 1.1 KB
(checked in by balister, 6 years ago)
|
|
Try really hard to have configure script fail if HAVE_WORKING_FORK does not get set.
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | AC_INIT(ossie, 0.6.0) |
|---|
| 2 | AC_PREREQ(2.59) |
|---|
| 3 | |
|---|
| 4 | AM_INIT_AUTOMAKE(nostdinc) |
|---|
| 5 | |
|---|
| 6 | AC_PROG_CXX |
|---|
| 7 | AC_PROG_INSTALL |
|---|
| 8 | AC_PROG_MAKE_SET |
|---|
| 9 | AC_PROG_LIBTOOL |
|---|
| 10 | |
|---|
| 11 | AC_LANG_PUSH([C++]) |
|---|
| 12 | AC_CHECK_LIB([xerces-c], [main], [], [AC_MSG_ERROR([cannot find xerce-c library.])]) |
|---|
| 13 | AC_CHECK_HEADERS([xercesc/util/PlatformUtils.hpp], [], [AC_MSG_ERROR([cannot find xerces-c header file.])]) |
|---|
| 14 | |
|---|
| 15 | AC_CHECK_LIB([omniORB4], [main], [], [AC_MSG_ERROR([cannot find omniORB library])]) |
|---|
| 16 | AC_CHECK_HEADERS([omniORB4/CORBA.h], [], [AC_MSG_ERROR([cannot find omniORB4 header files])]) |
|---|
| 17 | AC_CHECK_PROG([IDL], [omniidl], [omniidl], [AC_MSG_ERROR([cannot find omniidl prgram])]) |
|---|
| 18 | |
|---|
| 19 | # OmniEvents is optional |
|---|
| 20 | #AC_ARG_WITH(omniEvents, AS_HELP_STRING([--with-omniEvents], [Check for omniEvents and use if it is installed]), [AC_CORBA_OMNIEVENTS], ) |
|---|
| 21 | AC_LANG_POP |
|---|
| 22 | |
|---|
| 23 | AC_HEADER_SYS_WAIT |
|---|
| 24 | AC_CHECK_HEADERS(time.h) |
|---|
| 25 | AC_HEADER_DIRENT |
|---|
| 26 | |
|---|
| 27 | AC_FUNC_FORK |
|---|
| 28 | |
|---|
| 29 | if test "$ac_cv_func_fork_works" != yes; then |
|---|
| 30 | AC_MSG_ERROR([working fork test failed. Try running /sbin/ldconfig.]) |
|---|
| 31 | fi |
|---|
| 32 | |
|---|
| 33 | AC_CONFIG_FILES(Makefile ossie.pc idl/Makefile parser/Makefile framework/Makefile include/Makefile include/ossie/Makefile) |
|---|
| 34 | AC_OUTPUT |
|---|