| [92] | 1 | dnl Process this file with autoconf to produce a configure script.
|
|---|
| 2 | AC_INIT(configure.in)
|
|---|
| 3 |
|
|---|
| 4 | # Process this file with autoconf to produce a configure script.
|
|---|
| 5 | # require autoconf 2.54
|
|---|
| 6 | AC_PREREQ(2.54)
|
|---|
| 7 |
|
|---|
| 8 | # Before making a release, the LT_VERSION string should be modified.
|
|---|
| 9 | # The string is of the form C:R:A.
|
|---|
| 10 | # - If interfaces have been changed or added, but binary compatibility has
|
|---|
| 11 | # been preserved, change to C+1:0:A+1
|
|---|
| 12 | # - If binary compatibility has been broken (eg removed or changed interfaces)
|
|---|
| 13 | # change to C+1:0:0
|
|---|
| 14 | # - If the interface is the same as the previous version, change to C:R+1:A
|
|---|
| 15 |
|
|---|
| 16 | LT_VERSION=1:0:1
|
|---|
| 17 | AC_SUBST(LT_VERSION)
|
|---|
| 18 |
|
|---|
| 19 | ORBIT_MAJOR_VERSION=2
|
|---|
| 20 | ORBIT_MINOR_VERSION=14
|
|---|
| 21 | ORBIT_MICRO_VERSION=0
|
|---|
| 22 | ORBIT_VERSION=$ORBIT_MAJOR_VERSION.$ORBIT_MINOR_VERSION.$ORBIT_MICRO_VERSION
|
|---|
| 23 | AC_SUBST(ORBIT_MAJOR_VERSION)
|
|---|
| 24 | AC_SUBST(ORBIT_MINOR_VERSION)
|
|---|
| 25 | AC_SUBST(ORBIT_MICRO_VERSION)
|
|---|
| 26 | AC_SUBST(ORBIT_VERSION)
|
|---|
| 27 |
|
|---|
| 28 | # Increment this every time a feature is added in the .idl compiler
|
|---|
| 29 | # that needs help from the main libraries.
|
|---|
| 30 | ORBIT_SERIAL=20
|
|---|
| 31 | AC_SUBST(ORBIT_SERIAL)
|
|---|
| 32 |
|
|---|
| 33 | # For automake.
|
|---|
| 34 |
|
|---|
| 35 | AM_CONFIG_HEADER(config.h)
|
|---|
| 36 |
|
|---|
| 37 | dnl Initialize automake stuff
|
|---|
| 38 | AM_INIT_AUTOMAKE(ORBit2, $ORBIT_VERSION, no-define)
|
|---|
| 39 |
|
|---|
| 40 | AC_CANONICAL_HOST
|
|---|
| 41 | AC_MSG_CHECKING([for Win32])
|
|---|
| 42 | case "$host" in
|
|---|
| 43 | *-*-mingw*)
|
|---|
| 44 | os_win32=yes
|
|---|
| 45 | LIBM=
|
|---|
| 46 | MINGW_LDFLAGS="-Wl,--enable-runtime-pseudo-reloc"
|
|---|
| 47 | ;;
|
|---|
| 48 | *)
|
|---|
| 49 | os_win32=no
|
|---|
| 50 | LIBM=-lm
|
|---|
| 51 | MINGW_LDFLAGS=
|
|---|
| 52 | ;;
|
|---|
| 53 | esac
|
|---|
| 54 | AC_MSG_RESULT([$os_win32])
|
|---|
| 55 |
|
|---|
| 56 | AM_CONDITIONAL(OS_WIN32, [test "$os_win32" = "yes"])
|
|---|
| 57 |
|
|---|
| 58 | AC_SUBST(LIBM)
|
|---|
| 59 | AC_SUBST(MINGW_LDFLAGS)
|
|---|
| 60 | LDFLAGS="$MINGW_LDFLAGS $LDFLAGS"
|
|---|
| 61 |
|
|---|
| 62 | if test "$os_win32" = "yes"; then
|
|---|
| 63 | if test x$enable_static = xyes -o x$enable_static = x; then
|
|---|
| 64 | AC_MSG_WARN([Disabling static library build, must build as DLL on Windows.])
|
|---|
| 65 | enable_static=no
|
|---|
| 66 | fi
|
|---|
| 67 | if test x$enable_shared = xno; then
|
|---|
| 68 | AC_MSG_WARN([Enabling shared library build, must build as DLL on Windows.])
|
|---|
| 69 | fi
|
|---|
| 70 | enable_shared=yes
|
|---|
| 71 | fi
|
|---|
| 72 |
|
|---|
| 73 | dnl Checks for programs.
|
|---|
| 74 | AC_PROG_CC
|
|---|
| 75 | AC_PROG_INSTALL
|
|---|
| 76 |
|
|---|
| 77 | AC_LIBTOOL_DLOPEN
|
|---|
| 78 | AC_LIBTOOL_WIN32_DLL
|
|---|
| 79 | AM_PROG_LIBTOOL
|
|---|
| 80 | AM_MAINTAINER_MODE
|
|---|
| 81 |
|
|---|
| 82 | dnl Useful for automating stuff
|
|---|
| 83 | AC_CACHE_CHECK([for aclocal flags], ac_cv_orbit_aclocal_flags,[
|
|---|
| 84 | ac_cv_orbit_aclocal_flags="$ACLOCAL_FLAGS"
|
|---|
| 85 | ])
|
|---|
| 86 | ACLOCAL="$ACLOCAL $ac_cv_orbit_aclocal_flags"
|
|---|
| 87 |
|
|---|
| 88 | AC_ARG_ENABLE(http, [--enable-http enables http connections],, enable_http=no)
|
|---|
| 89 | AM_CONDITIONAL(ENABLE_HTTP, test x"$enable_http" = xyes)
|
|---|
| 90 | if test x"$enable_http" = xyes ; then
|
|---|
| 91 | AC_DEFINE(ENABLE_HTTP, 1, [Define if HTTP connections are available])
|
|---|
| 92 | fi
|
|---|
| 93 | dnl --enable-compile-warnings
|
|---|
| 94 | AC_ARG_ENABLE(compile-warnings, [ --enable-compile-warnings=[no/yes] Turn on compiler warnings.], [enable_compile_warnings="$enableval"],[enable_compile_warnings="yes"])
|
|---|
| 95 |
|
|---|
| 96 | dnl --enable-debug=(yes|minimum|no)
|
|---|
| 97 | AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging [default=no]],,enable_debug=minimum)
|
|---|
| 98 | if test "$enable_debug" = "yes"; then
|
|---|
| 99 | ORBIT_DEBUG_CFLAGS="-DG_ENABLE_DEBUG"
|
|---|
| 100 | else
|
|---|
| 101 | if test "x$enable_debug" = "xno"; then
|
|---|
| 102 | ORBIT_DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
|
|---|
| 103 | else
|
|---|
| 104 | ORBIT_DEBUG_CFLAGS=""
|
|---|
| 105 | fi
|
|---|
| 106 | fi
|
|---|
| 107 | AC_SUBST(ORBIT_DEBUG_CFLAGS)
|
|---|
| 108 |
|
|---|
| 109 | AC_ARG_ENABLE(purify, [ --enable-purify be clean for memory debuggers], enable_purify=yes, enable_purify=no)
|
|---|
| 110 | if test z$enable_purify = zyes; then
|
|---|
| 111 | AC_DEFINE(ORBIT_PURIFY, 1, [defined if purify is enabled])
|
|---|
| 112 | fi
|
|---|
| 113 |
|
|---|
| 114 | AC_PROG_AWK
|
|---|
| 115 |
|
|---|
| 116 | GLIB_REQUIRED=2.6.0
|
|---|
| 117 | LIBIDL_REQUIRED=0.8.2
|
|---|
| 118 | AC_SUBST(GLIB_REQUIRED)
|
|---|
| 119 | AC_SUBST(LIBIDL_REQUIRED)
|
|---|
| 120 |
|
|---|
| 121 | dnl Check for pkg-config version; want >= 0.14.0 because of -pthread bug
|
|---|
| 122 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
|---|
| 123 | if test "$PKG_CONFIG" = "no" ; then
|
|---|
| 124 | echo "*** The pkg-config script could not be found. Make sure it is"
|
|---|
| 125 | echo "*** in your path, or set the PKG_CONFIG environment variable"
|
|---|
| 126 | echo "*** to the full path to pkg-config."
|
|---|
| 127 | echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
|
|---|
| 128 | AC_MSG_ERROR(You need to install pkg-config or set the PKG_CONFIG environment variable to build ORBit2)
|
|---|
| 129 | fi
|
|---|
| 130 | xPKG_CONFIG_MIN_VERSION=0.14.0
|
|---|
| 131 | AC_MSG_CHECKING([for pkg-config >= $xPKG_CONFIG_MIN_VERSION])
|
|---|
| 132 | if $PKG_CONFIG --atleast-pkgconfig-version $xPKG_CONFIG_MIN_VERSION; then
|
|---|
| 133 | AC_MSG_RESULT(found)
|
|---|
| 134 | else
|
|---|
| 135 | AC_MSG_ERROR(You need at least version $xPKG_CONFIG_MIN_VERSION of pkg-config)
|
|---|
| 136 | fi
|
|---|
| 137 |
|
|---|
| 138 | LOCAL_LINC_LIBS='$(top_builddir)/linc2/src/liblinc.la'
|
|---|
| 139 | LOCAL_LINC_CFLAGS='-I$(top_srcdir)/linc2/include -I$(top_builddir)/linc2/include'
|
|---|
| 140 | AC_SUBST(LOCAL_LINC_LIBS)
|
|---|
| 141 | AC_SUBST(LOCAL_LINC_CFLAGS)
|
|---|
| 142 |
|
|---|
| 143 | dnl Checks for libraries.
|
|---|
| 144 | PKG_CHECK_MODULES(ORBIT, \
|
|---|
| 145 | glib-2.0 >= $GLIB_REQUIRED \
|
|---|
| 146 | gobject-2.0 >= $GLIB_REQUIRED \
|
|---|
| 147 | gthread-2.0 >= $GLIB_REQUIRED \
|
|---|
| 148 | gmodule-2.0 >= $GLIB_REQUIRED)
|
|---|
| 149 | AC_SUBST(ORBIT_LIBS)
|
|---|
| 150 | AC_SUBST(ORBIT_CFLAGS)
|
|---|
| 151 |
|
|---|
| 152 | PKG_CHECK_MODULES(ORBIT_IDL, \
|
|---|
| 153 | libIDL-2.0 >= $LIBIDL_REQUIRED \
|
|---|
| 154 | glib-2.0 >= $GLIB_REQUIRED \
|
|---|
| 155 | gobject-2.0 >= $GLIB_REQUIRED \
|
|---|
| 156 | gmodule-2.0 >= $GLIB_REQUIRED)
|
|---|
| 157 | AC_SUBST(ORBIT_IDL_LIBS)
|
|---|
| 158 | AC_SUBST(ORBIT_IDL_CFLAGS)
|
|---|
| 159 |
|
|---|
| 160 | PKG_CHECK_MODULES(ORBIT_NAME,
|
|---|
| 161 | glib-2.0 >= $GLIB_REQUIRED \
|
|---|
| 162 | gobject-2.0 >= $GLIB_REQUIRED \
|
|---|
| 163 | gthread-2.0 >= $GLIB_REQUIRED \
|
|---|
| 164 | gmodule-2.0 >= $GLIB_REQUIRED)
|
|---|
| 165 | AC_SUBST(ORBIT_NAME_LIBS)
|
|---|
| 166 | AC_SUBST(ORBIT_NAME_CFLAGS)
|
|---|
| 167 |
|
|---|
| 168 | dnl Checks for header files.
|
|---|
| 169 | AC_HEADER_STDC
|
|---|
| 170 | AC_CHECK_HEADERS(fcntl.h unistd.h sys/endian.h endian.h machine/endian.h)
|
|---|
| 171 | AC_CHECK_HEADERS(sys/machine.h sys/isa_defs.h sys/poll.h sys/select.h)
|
|---|
| 172 | AC_CHECK_HEADERS(sys/time.h netinet/in.h sys/socket.h arpa/inet.h)
|
|---|
| 173 | AC_CHECK_HEADERS(stddef.h wchar.h wcstr.h wctype.h machine/types.h)
|
|---|
| 174 | AC_CHECK_HEADERS(sys/un.h openssl/ssl.h sys/uio.h syslog.h)
|
|---|
| 175 | AC_CHECK_HEADERS(sys/wait.h netdb.h)
|
|---|
| 176 | AC_CHECK_HEADERS(utime.h sys/utime.h)
|
|---|
| 177 | AC_CHECK_HEADERS([linux/socket.h])
|
|---|
| 178 | AC_CHECK_HEADERS(sys/sockio.h)
|
|---|
| 179 |
|
|---|
| 180 | if test "$os_win32" = "yes"; then
|
|---|
| 181 | AC_CHECK_HEADERS(winsock2.h)
|
|---|
| 182 | if test $ac_cv_header_winsock2_h = yes; then
|
|---|
| 183 | dnl If we have <winsock2.h>, assume we find the functions
|
|---|
| 184 | dnl in -lws2_32.
|
|---|
| 185 | LIBS="-lws2_32 $LIBS"
|
|---|
| 186 | fi
|
|---|
| 187 | fi
|
|---|
| 188 |
|
|---|
| 189 | if test $ac_cv_header_openssl_ssl_h = yes; then
|
|---|
| 190 | HAVE_ORBIT_SSL_SUPPORT=1
|
|---|
| 191 | fi
|
|---|
| 192 | AC_SUBST(HAVE_ORBIT_SSL_SUPPORT)
|
|---|
| 193 |
|
|---|
| 194 | dnl Checks for typedefs, structures, and compiler characteristics.
|
|---|
| 195 | AC_C_CONST
|
|---|
| 196 | AC_C_INLINE
|
|---|
| 197 | AC_TYPE_SIZE_T
|
|---|
| 198 |
|
|---|
| 199 | dnl Checks for library functions.
|
|---|
| 200 | AC_FUNC_VPRINTF
|
|---|
| 201 |
|
|---|
| 202 | AC_CHECK_FUNC(socket,,[AC_CHECK_LIB(socket,socket)])
|
|---|
| 203 | AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname)])
|
|---|
| 204 | AC_CHECK_FUNC(sigaction)
|
|---|
| 205 | AC_CHECK_FUNC(syslog)
|
|---|
| 206 |
|
|---|
| 207 | AC_CHECK_LIB(popt, poptStrippedArgv, POPT_LIBS=-lpopt, AC_MSG_ERROR([You must have popt version 1.5 or greater installed.]))
|
|---|
| 208 | AC_SUBST(POPT_LIBS)
|
|---|
| 209 | AC_CHECK_HEADER(popt.h,,AC_MSG_ERROR([Failed to find popt.h - you may have to adjust your environment]))
|
|---|
| 210 |
|
|---|
| 211 | dnl This generates warnings from autoconf...
|
|---|
| 212 | AC_C_BIGENDIAN
|
|---|
| 213 |
|
|---|
| 214 |
|
|---|
| 215 | dnl
|
|---|
| 216 | dnl So many people with broken linking setups asked about this
|
|---|
| 217 | dnl it turned out to be necessary to check for this.
|
|---|
| 218 | dnl
|
|---|
| 219 | dofus_save_libs="$LIBS"
|
|---|
| 220 | LIBS="$ORBIT_LIBS $LIBS"
|
|---|
| 221 | AC_TRY_RUN([ #include <stdio.h>
|
|---|
| 222 | main ()
|
|---|
| 223 | {
|
|---|
| 224 | return 0;
|
|---|
| 225 | } ],,
|
|---|
| 226 | AC_MSG_ERROR([
|
|---|
| 227 | Linking is badly borked on your system. Please ensure your library path is correct
|
|---|
| 228 | Check config.log for details - check near the end of the log above 'failed program was'
|
|---|
| 229 | Alternatively ensure that your /etc/ld.so.conf (and/or LD_LIBRARY_PATH) includes the
|
|---|
| 230 | prefix you're compiling on: '${prefix}' ]))
|
|---|
| 231 | LIBS="$dofus_save_libs"
|
|---|
| 232 |
|
|---|
| 233 | orig_CPPFLAGS=$CPPFLAGS
|
|---|
| 234 | CPPFLAGS="$CPPFLAGS $ORBIT_CFLAGS"
|
|---|
| 235 | AC_CHECK_ALIGNOF(CORBA_octet)
|
|---|
| 236 | AC_CHECK_ALIGNOF(CORBA_boolean)
|
|---|
| 237 | AC_CHECK_ALIGNOF(CORBA_char)
|
|---|
| 238 | AC_CHECK_ALIGNOF(CORBA_wchar)
|
|---|
| 239 | AC_CHECK_ALIGNOF(CORBA_short)
|
|---|
| 240 | AC_CHECK_ALIGNOF(CORBA_long)
|
|---|
| 241 | AC_CHECK_ALIGNOF(CORBA_long_long)
|
|---|
| 242 | AC_CHECK_ALIGNOF(CORBA_float)
|
|---|
| 243 | AC_CHECK_ALIGNOF(CORBA_double)
|
|---|
| 244 | AC_CHECK_ALIGNOF(CORBA_long_double)
|
|---|
| 245 | AC_CHECK_ALIGNOF(CORBA_struct)
|
|---|
| 246 | AC_CHECK_ALIGNOF(CORBA_pointer)
|
|---|
| 247 | CPPFLAGS=$orig_CPPFLAGS
|
|---|
| 248 |
|
|---|
| 249 | if test "x$GCC" = "xyes" -a "x$enable_compile_warnings" != "xno"; then
|
|---|
| 250 | WARN_CFLAGS="-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations"
|
|---|
| 251 | else
|
|---|
| 252 | WARN_CFLAGS=
|
|---|
| 253 | fi
|
|---|
| 254 |
|
|---|
| 255 | AC_MSG_CHECKING(what warning flags to pass to the C compiler)
|
|---|
| 256 | AC_MSG_RESULT($WARN_CFLAGS)
|
|---|
| 257 | AC_SUBST(WARN_CFLAGS)
|
|---|
| 258 |
|
|---|
| 259 | AC_SUBST(pkglibdir)
|
|---|
| 260 |
|
|---|
| 261 | DISABLE_DEPRECATED_CFLAGS=" \
|
|---|
| 262 | -DG_DISABLE_DEPRECATED"
|
|---|
| 263 | AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
|
|---|
| 264 |
|
|---|
| 265 |
|
|---|
| 266 | dnl
|
|---|
| 267 | dnl --------- start linc bits ---------
|
|---|
| 268 | dnl
|
|---|
| 269 |
|
|---|
| 270 | dnl Checks for libraries.
|
|---|
| 271 | PKG_CHECK_MODULES(LINC, glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gthread-2.0 >= $GLIB_REQUIRED)
|
|---|
| 272 | AC_SUBST(LINC_LIBS)
|
|---|
| 273 | AC_SUBST(LINC_CFLAGS)
|
|---|
| 274 |
|
|---|
| 275 | LINC_SSL_SUPPORT=0
|
|---|
| 276 | AC_SUBST(LINC_SSL_SUPPORT)
|
|---|
| 277 | AC_SUBST(SSL_LIBS)
|
|---|
| 278 | AC_SUBST(SSL_CFLAGS)
|
|---|
| 279 |
|
|---|
| 280 | dnl Checks for header files.
|
|---|
| 281 | AC_HEADER_STDC
|
|---|
| 282 | AC_CHECK_HEADERS(fcntl.h unistd.h sys/endian.h endian.h machine/endian.h sys/machine.h sys/isa_defs.h sys/poll.h)
|
|---|
| 283 | AC_CHECK_HEADERS(stddef.h wchar.h wcstr.h wctype.h machine/types.h)
|
|---|
| 284 | AC_CHECK_HEADERS(netinet/in.h netinet/tcp.h sys/un.h)
|
|---|
| 285 | AC_CHECK_HEADERS(arpa/nameser.h resolv.h)
|
|---|
| 286 | dnl AC_CHECK_HEADERS(linux/irda.h)
|
|---|
| 287 |
|
|---|
| 288 | dnl Checks for library functions.
|
|---|
| 289 | AC_CHECK_FUNCS(poll basename)
|
|---|
| 290 | AC_CHECK_FUNC(res_init,,[AC_CHECK_LIB(resolv,res_init)])
|
|---|
| 291 | AC_CHECK_LIB(resolv,res_9_init)
|
|---|
| 292 | AC_CHECK_FUNC(socket,,[AC_CHECK_LIB(socket,socket)])
|
|---|
| 293 | AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname)])
|
|---|
| 294 | AC_CHECK_FUNC(getaddrinfo,,[AC_CHECK_LIB(nsl,getaddrinfo)])
|
|---|
| 295 | if test x"$ac_cv_func_getaddrinfo" = "xyes" ; then
|
|---|
| 296 | AC_DEFINE(HAVE_GETADDRINFO, 1, [Define if getaddrinfo() is available])
|
|---|
| 297 | fi
|
|---|
| 298 | AC_CHECK_FUNC(getnameinfo,,[AC_CHECK_LIB(nsl,getnameinfo)])
|
|---|
| 299 | if test x"$ac_cv_func_getnameinfo" = "xyes" ; then
|
|---|
| 300 | AC_DEFINE(HAVE_GETNAMEINFO, 1, [Define if getnameinfo() is available])
|
|---|
| 301 | fi
|
|---|
| 302 | have_inet_pton=no
|
|---|
| 303 | AC_CHECK_FUNC(inet_pton,,)
|
|---|
| 304 | if test x"$ac_cv_func_inet_pton" = "xyes" ; then
|
|---|
| 305 | have_inet_pton=yes
|
|---|
| 306 | AC_DEFINE(HAVE_INET_PTON, 1, [Define if inet_pton() is available])
|
|---|
| 307 | fi
|
|---|
| 308 |
|
|---|
| 309 | # AC_CHECK_TYPE doesn't work here.
|
|---|
| 310 | AC_MSG_CHECKING([for socklen_t])
|
|---|
| 311 | AC_TRY_COMPILE(
|
|---|
| 312 | [#ifdef _WIN32
|
|---|
| 313 | #include <ws2tcpip.h>
|
|---|
| 314 | #else
|
|---|
| 315 | #include <sys/types.h>
|
|---|
| 316 | #include <sys/socket.h>
|
|---|
| 317 | #endif],
|
|---|
| 318 | [socklen_t len;],
|
|---|
| 319 | [AC_MSG_RESULT(yes)],
|
|---|
| 320 | [AC_DEFINE(socklen_t, size_t, [Define socklen_t to be of type size_t])
|
|---|
| 321 | AC_MSG_RESULT(no)])
|
|---|
| 322 |
|
|---|
| 323 | # Blatantly stolen from configure.in in the sample code from
|
|---|
| 324 | # "UNIX Network Programming, Volume 1" by W. Richard Stevens
|
|---|
| 325 | AC_CACHE_CHECK(if sockaddr has sa_len member,
|
|---|
| 326 | ac_cv_sockaddr_has_sa_len,
|
|---|
| 327 | AC_TRY_COMPILE([
|
|---|
| 328 | # include <sys/types.h>
|
|---|
| 329 | # include <sys/socket.h>],
|
|---|
| 330 | [unsigned int i = sizeof(((struct sockaddr *)0)->sa_len)],
|
|---|
| 331 | ac_cv_sockaddr_has_sa_len=yes,
|
|---|
| 332 | ac_cv_sockaddr_has_sa_len=no))
|
|---|
| 333 | if test x"$ac_cv_sockaddr_has_sa_len" = "xyes" ; then
|
|---|
| 334 | AC_DEFINE(HAVE_SOCKADDR_SA_LEN, 1, [Define if sockaddr has sa_len member])
|
|---|
| 335 | fi
|
|---|
| 336 |
|
|---|
| 337 | dnl
|
|---|
| 338 | dnl --------- end linc bits ---------
|
|---|
| 339 | dnl
|
|---|
| 340 |
|
|---|
| 341 | dnl
|
|---|
| 342 | dnl --------- set additional gcc flags to catch errors ---------
|
|---|
| 343 | dnl
|
|---|
| 344 | CFLAGS="-Werror-implicit-function-declaration -std=gnu89 $CFLAGS"
|
|---|
| 345 | AC_SUBST(CFLAGS)
|
|---|
| 346 |
|
|---|
| 347 |
|
|---|
| 348 | dnl ----- gtk-doc ------
|
|---|
| 349 | GTK_DOC_CHECK([1.0])
|
|---|
| 350 |
|
|---|
| 351 |
|
|---|
| 352 | AC_OUTPUT([
|
|---|
| 353 | Makefile
|
|---|
| 354 | orbit2-config
|
|---|
| 355 | ORBit-2.0.pc
|
|---|
| 356 | ORBit-CosNaming-2.0.pc
|
|---|
| 357 | ORBit-imodule-2.0.pc
|
|---|
| 358 | ORBit.spec
|
|---|
| 359 | orbit2-zip
|
|---|
| 360 | src/Makefile
|
|---|
| 361 | src/idl-compiler/Makefile
|
|---|
| 362 | src/idl-compiler/ORBit-idl-2.0.pc
|
|---|
| 363 | src/idl/Makefile
|
|---|
| 364 | src/idl/CORBA/Makefile
|
|---|
| 365 | src/idl/CORBA_PIDL/Makefile
|
|---|
| 366 | src/idl/interop/Makefile
|
|---|
| 367 | src/idl/misc/Makefile
|
|---|
| 368 | src/orb/Makefile
|
|---|
| 369 | src/orb/include/Makefile
|
|---|
| 370 | src/orb/util/Makefile
|
|---|
| 371 | src/orb/GIOP/Makefile
|
|---|
| 372 | src/orb/orb-core/Makefile
|
|---|
| 373 | src/orb/dynamic/Makefile
|
|---|
| 374 | src/orb/poa/Makefile
|
|---|
| 375 | src/services/Makefile
|
|---|
| 376 | src/services/name/Makefile
|
|---|
| 377 | src/services/imodule/Makefile
|
|---|
| 378 | include/Makefile
|
|---|
| 379 | include/orbit/Makefile
|
|---|
| 380 | include/orbit/orbit-config.h
|
|---|
| 381 | include/orbit/GIOP/Makefile
|
|---|
| 382 | include/orbit/util/Makefile
|
|---|
| 383 | include/orbit/orb-core/Makefile
|
|---|
| 384 | include/orbit/poa/Makefile
|
|---|
| 385 | include/orbit/dynamic/Makefile
|
|---|
| 386 | test/Makefile
|
|---|
| 387 | test/everything/Makefile
|
|---|
| 388 | test/inhibit/Makefile
|
|---|
| 389 | test/poa/Makefile
|
|---|
| 390 | docs/Makefile
|
|---|
| 391 | docs/devel/Makefile
|
|---|
| 392 | docs/internals/Makefile
|
|---|
| 393 | docs/api/Makefile
|
|---|
| 394 |
|
|---|
| 395 | linc2/Makefile
|
|---|
| 396 | linc2/src/Makefile
|
|---|
| 397 | linc2/test/Makefile
|
|---|
| 398 | linc2/include/Makefile
|
|---|
| 399 | linc2/include/linc/Makefile
|
|---|
| 400 | linc2/include/linc/linc-config.h
|
|---|
| 401 | ])
|
|---|
| 402 |
|
|---|
| 403 | echo "ORBit configuration:
|
|---|
| 404 |
|
|---|
| 405 | Source code location: ${srcdir}
|
|---|
| 406 | Compiler: ${CC}
|
|---|
| 407 |
|
|---|
| 408 | Purify cleanliness: ${enable_purify}
|
|---|
| 409 |
|
|---|
| 410 | This is the Development branch of ORBit2, if
|
|---|
| 411 | you want something more stable checkout -r gnome-2-10.
|
|---|
| 412 | "
|
|---|