root/ossie/trunk/ossie/configure.ac @ 2863

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 
1AC_INIT(ossie, 0.6.0)
2AC_PREREQ(2.59)
3
4AM_INIT_AUTOMAKE(nostdinc)
5
6AC_PROG_CXX
7AC_PROG_INSTALL
8AC_PROG_MAKE_SET
9AC_PROG_LIBTOOL
10
11AC_LANG_PUSH([C++])
12AC_CHECK_LIB([xerces-c], [main], [], [AC_MSG_ERROR([cannot find xerce-c library.])])
13AC_CHECK_HEADERS([xercesc/util/PlatformUtils.hpp], [], [AC_MSG_ERROR([cannot find xerces-c header file.])])
14
15AC_CHECK_LIB([omniORB4], [main], [], [AC_MSG_ERROR([cannot find omniORB library])])
16AC_CHECK_HEADERS([omniORB4/CORBA.h], [], [AC_MSG_ERROR([cannot find omniORB4 header files])])
17AC_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], )
21AC_LANG_POP
22
23AC_HEADER_SYS_WAIT
24AC_CHECK_HEADERS(time.h)
25AC_HEADER_DIRENT
26
27AC_FUNC_FORK
28
29if test "$ac_cv_func_fork_works" != yes; then
30   AC_MSG_ERROR([working fork test failed. Try running /sbin/ldconfig.])
31fi
32
33AC_CONFIG_FILES(Makefile ossie.pc idl/Makefile parser/Makefile framework/Makefile include/Makefile include/ossie/Makefile)
34AC_OUTPUT
Note: See TracBrowser for help on using the browser.