1 | AC_INIT(gnomemeeting, 1.0.2, http://bugzilla.gnome.org/enter_bug.cgi?product=gnomemeeting) |
---|
2 | AC_CANONICAL_TARGET |
---|
3 | AC_PREREQ(2.53) |
---|
4 | AC_CONFIG_SRCDIR(src/gnomemeeting.cpp) |
---|
5 | AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) |
---|
6 | |
---|
7 | AM_MAINTAINER_MODE |
---|
8 | AM_CONFIG_HEADER(config.h) |
---|
9 | |
---|
10 | |
---|
11 | dnl ########################################################################### |
---|
12 | dnl GnomeMeeting Version |
---|
13 | dnl ########################################################################### |
---|
14 | |
---|
15 | MAJOR_VERSION=1 |
---|
16 | MINOR_VERSION=0 |
---|
17 | BUILD_TYPE=ReleaseCode |
---|
18 | BUILD_NUMBER=2 |
---|
19 | |
---|
20 | AC_DEFINE_UNQUOTED(MAJOR_VERSION, $MAJOR_VERSION,[fix]) |
---|
21 | AC_DEFINE_UNQUOTED(MINOR_VERSION, $MINOR_VERSION,[fix]) |
---|
22 | AC_DEFINE_UNQUOTED(BUILD_TYPE, $BUILD_TYPE,[fix]) |
---|
23 | AC_DEFINE_UNQUOTED(BUILD_NUMBER, $BUILD_NUMBER,[fix]) |
---|
24 | |
---|
25 | |
---|
26 | dnl ########################################################################### |
---|
27 | dnl Misc |
---|
28 | dnl ########################################################################### |
---|
29 | |
---|
30 | AC_PROG_INTLTOOL([0.20]) |
---|
31 | |
---|
32 | AM_PROG_LIBTOOL |
---|
33 | |
---|
34 | AC_PROG_CC |
---|
35 | AC_PROG_CXX |
---|
36 | AC_ISC_POSIX |
---|
37 | AC_HEADER_STDC |
---|
38 | |
---|
39 | AC_CHECK_DECLS(strcasecmp) |
---|
40 | |
---|
41 | |
---|
42 | dnl ########################################################################### |
---|
43 | dnl This is to check correct gconf installation |
---|
44 | dnl ########################################################################### |
---|
45 | SCHEMA_AGE=47 |
---|
46 | AC_SUBST(SCHEMA_AGE) |
---|
47 | |
---|
48 | |
---|
49 | dnl ########################################################################### |
---|
50 | dnl GConf related settings |
---|
51 | dnl ########################################################################### |
---|
52 | AM_GCONF_SOURCE_2 |
---|
53 | |
---|
54 | |
---|
55 | dnl ########################################################################### |
---|
56 | dnl PKG_CONFIG and required versions |
---|
57 | dnl ########################################################################### |
---|
58 | PKG_CHECK_MODULES(GNOMEMEETING, gtk+-2.0 >= 2.0.6 esound >= 0.2.28 gconf-2.0 >= 1.2.1 libxml-2.0 >= 2.5.0 libgnome-2.0 >= 2.0.0 libgnomeui-2.0 >= 2.0.0) |
---|
59 | |
---|
60 | OPENH323_REC_VERSION="1.13.4" |
---|
61 | PWLIB_REC_VERSION="1.6.5" |
---|
62 | |
---|
63 | |
---|
64 | dnl ########################################################################### |
---|
65 | dnl Scrollkeeper |
---|
66 | dnl ########################################################################### |
---|
67 | AC_PATH_PROG(SK_CONFIG,scrollkeeper-config,no) |
---|
68 | if test x$SK_CONFIG = xno; then |
---|
69 | AC_MSG_ERROR(Couldn't find scrollkeeper-config. Please install the scrollkeeper package: http://scrollkeeper.sourceforge.net) |
---|
70 | fi |
---|
71 | |
---|
72 | |
---|
73 | dnl ########################################################################### |
---|
74 | dnl Set up Operating System specific parameters and endianess |
---|
75 | dnl ########################################################################### |
---|
76 | |
---|
77 | dnl Check the OS type (more types can be added) |
---|
78 | AC_MSG_CHECKING(whether OS type is supported) |
---|
79 | |
---|
80 | case $target_os in |
---|
81 | |
---|
82 | linux-gnu | linux | Linux) |
---|
83 | ARCH_OPENH323_CFLAGS="-DPTRACING -DNDEBUG -Wall -Os -g" |
---|
84 | ARCH_OPENH323_LIBS="-lopenh323 -ldl -lpt -lpthread" |
---|
85 | AC_MSG_RESULT([yes]) |
---|
86 | gm_platform="linux" |
---|
87 | |
---|
88 | dnl if debug add this and link to -lh323_linux_x86_d -lpt_linux_x86_d |
---|
89 | dnl -D_DEBUG -DPMEMORY_CHECK=1 -DPTRACING -g |
---|
90 | ;; |
---|
91 | |
---|
92 | FreeBSD* | freebsd* ) |
---|
93 | ARCH_OPENH323_CFLAGS="-Os -Wall -DPTRACING -DNDEBUG -DSTATIC_LIBS_USED" |
---|
94 | ARCH_OPENH323_LIBS="-lh323_FreeBSD_x86_r_s -lpt_FreeBSD_x86_r_s -pthread -lssl -lcrypto" |
---|
95 | AC_MSG_RESULT([yes]) |
---|
96 | gm_platform="freebsd" |
---|
97 | ;; |
---|
98 | |
---|
99 | darwin* ) |
---|
100 | ARCH_OPENH323_CFLAGS="-Os -Wall -DPTRACING -DNDEBUG -DNO_LONG_DOUBLE -DSTATIC_LIBS_USED" |
---|
101 | ARCH_OPENH323_LIBS="-multiply_defined suppress -lh323_Darwin_ppc_r_s -lpt_Darwin_ppc_r_s -lssl -lcrypto -lX11 -framework AudioToolbox -framework CoreAudio -framework CoreServices" |
---|
102 | AC_MSG_RESULT([yes]) |
---|
103 | gm_platform="macosx" |
---|
104 | ;; |
---|
105 | |
---|
106 | *) |
---|
107 | AC_MSG_ERROR(Only Linux, FreeBSD and Mac OS X are supported. Please contact the author to know how you can add more OS types.) |
---|
108 | ;; |
---|
109 | esac |
---|
110 | |
---|
111 | |
---|
112 | dnl ########################################################################### |
---|
113 | dnl Check for library path |
---|
114 | dnl ########################################################################### |
---|
115 | case $host in |
---|
116 | |
---|
117 | *-*-linux*) |
---|
118 | # Test if the compiler is 64bit |
---|
119 | echo 'int i;' > conftest.$ac_ext |
---|
120 | gnomemeeting_cv_cc_64bit_output=no |
---|
121 | |
---|
122 | if AC_TRY_EVAL(ac_compile); then |
---|
123 | case `/usr/bin/file conftest.$ac_objext` in |
---|
124 | |
---|
125 | *"ELF 64"*) |
---|
126 | gnomemeeting_cv_cc_64bit_output=yes |
---|
127 | ;; |
---|
128 | |
---|
129 | esac |
---|
130 | fi |
---|
131 | |
---|
132 | rm -rf conftest* |
---|
133 | ;; |
---|
134 | esac |
---|
135 | |
---|
136 | case $host_cpu:$gnomemeeting_cv_cc_64bit_output in |
---|
137 | powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) |
---|
138 | libname="lib64" |
---|
139 | ;; |
---|
140 | *:*) |
---|
141 | libname="lib" |
---|
142 | ;; |
---|
143 | esac |
---|
144 | |
---|
145 | |
---|
146 | dnl ########################################################################### |
---|
147 | dnl Check for pthreads library |
---|
148 | dnl ########################################################################### |
---|
149 | AC_CHECK_LIB(pthread, pthread_create, HAS_PTHREADS=yes, HAS_PTHREADS=no) |
---|
150 | if test ${HAS_PTHREADS} != yes ; then |
---|
151 | AC_MSG_ERROR(must have pthreads!) |
---|
152 | fi |
---|
153 | |
---|
154 | |
---|
155 | dnl ########################################################################### |
---|
156 | dnl Enable debugging support |
---|
157 | dnl ########################################################################### |
---|
158 | AC_ARG_ENABLE(enable_debug, |
---|
159 | [ --enable-debug Enable debugging in GnomeMeeting (OpenH323 and PWLib must be compiled with debugging enabled]) |
---|
160 | |
---|
161 | AC_MSG_CHECKING(whether debugging must be compiled in) |
---|
162 | if test x"$enable_debug" = xyes ; then |
---|
163 | H323_CFLAGS="$H323_CFLAGS -D_DEBUG" |
---|
164 | AC_MSG_RESULT([yes]) |
---|
165 | else |
---|
166 | H323_CFLAGS="$H323_CFLAGS -DNDEBUG" |
---|
167 | AC_MSG_RESULT([no]) |
---|
168 | fi |
---|
169 | |
---|
170 | |
---|
171 | dnl ########################################################################### |
---|
172 | dnl PWLib Headers and Libraries |
---|
173 | dnl ########################################################################### |
---|
174 | AC_ARG_WITH(pwlib-dir, [ --with-pwlib-dir=PFX Location of PWLib], with_pwlib_dir="$withval", with_pwlib_dir="/usr") |
---|
175 | |
---|
176 | dnl Check for the includes presence |
---|
177 | AC_MSG_CHECKING(for PWLib includes in ${with_pwlib_dir}/include/) |
---|
178 | AC_MSG_RESULT() |
---|
179 | |
---|
180 | CPPFLAGS_save="$CPPFLAGS" |
---|
181 | CPPFLAGS="$CPPFLAGS -I${with_pwlib_dir}/include/ptlib" |
---|
182 | AC_CHECK_FILE(${with_pwlib_dir}/include/ptlib/pprocess.h, pwlib_includes="yes", pwlib_includes="no") |
---|
183 | CPPFLAGS="$CPPFLAGS_save" |
---|
184 | |
---|
185 | if test "x${pwlib_includes}" != "xno" ; then |
---|
186 | PWLIB_CFLAGS="-I${with_pwlib_dir}/include/ptlib -I${with_pwlib_dir}/include/ptclib" |
---|
187 | if test "x${with_pwlib_dir}" != "x/usr"; then |
---|
188 | PWLIB_CFLAGS="${PWLIB_CFLAGS} -I${with_pwlib_dir}/include" |
---|
189 | fi |
---|
190 | else |
---|
191 | AC_MSG_ERROR(You need the PWLib headers to compile GnomeMeeting) |
---|
192 | fi |
---|
193 | |
---|
194 | dnl Checking for the library presence |
---|
195 | LIBS_save="$LIBS" |
---|
196 | LIBS="${LIBS} -L${with_pwlib_dir}/${libname}/" |
---|
197 | AC_CHECK_LIB(pt, main, pwlib_libs="yes", pwlib_libs="no") |
---|
198 | LIBS="${LIBS_save}" |
---|
199 | |
---|
200 | if test "x${pwlib_libs}" != "xno"; then |
---|
201 | if test "x${with_pwlib_dir}" != "x/usr"; then |
---|
202 | PWLIB_LIBS="-L${with_pwlib_dir}/${libname}" |
---|
203 | fi |
---|
204 | else |
---|
205 | AC_MSG_ERROR(You need the PWLib library to compile GnomeMeeting) |
---|
206 | fi |
---|
207 | |
---|
208 | dnl Checking for PWLib version |
---|
209 | AC_MSG_CHECKING(for PWLib version); |
---|
210 | PWLIB_VERSION=`cat ${with_pwlib_dir}/include/ptbuildopts.h | grep VERSION | cut -f2 -d ' ' | sed "s/\"//g"` |
---|
211 | AC_MSG_RESULT($PWLIB_VERSION) |
---|
212 | if test "x${PWLIB_VERSION}" != "x${PWLIB_REC_VERSION}"; then |
---|
213 | AC_MSG_ERROR(Sorry but the recommended PWLib version is ${PWLIB_REC_VERSION}); |
---|
214 | fi |
---|
215 | |
---|
216 | dnl Checking for OpenLDAP support in PWLIB |
---|
217 | AC_MSG_CHECKING(for OpenLDAP support in PWLIB); |
---|
218 | PWLIB_LDAP_SUPPORT=`cat ${with_pwlib_dir}/include/ptbuildopts.h | grep "#define P_LDAP 1" | cut -f3 -d ' '` |
---|
219 | if test "x${PWLIB_LDAP_SUPPORT}" != "x1"; then |
---|
220 | AC_MSG_RESULT(no); |
---|
221 | AC_MSG_ERROR(Sorry but the PWLib version you are using doesn't support LDAP); |
---|
222 | else |
---|
223 | AC_MSG_RESULT(yes); |
---|
224 | fi |
---|
225 | |
---|
226 | dnl Check for ptlib-config |
---|
227 | AC_CHECK_FILE(${with_pwlib_dir}/bin/ptlib-config, HAS_PTLIB_CONFIG=1) |
---|
228 | if test "x${HAS_PTLIB_CONFIG}" != "x1" ; then |
---|
229 | AC_MSG_ERROR(Sorry but ptlib-config can not be found, please check your installation); |
---|
230 | else |
---|
231 | AC_PATH_PROG(PTLIB_CONFIG, ptlib-config, , ${with_pwlib_dir}/bin/) |
---|
232 | fi |
---|
233 | ARCH_OPENH323_CFLAGS="$ARCH_OPENH323_CFLAGS `$PTLIB_CONFIG --ccflags`" |
---|
234 | |
---|
235 | |
---|
236 | dnl ########################################################################### |
---|
237 | dnl OpenH323 Headers and Libraries |
---|
238 | dnl ########################################################################### |
---|
239 | AC_ARG_WITH(openh323-dir, [ --with-openh323-dir=PFX Location of OpenH323], with_openh323_dir="$withval", with_openh323_dir="/usr") |
---|
240 | |
---|
241 | dnl Check for the includes presence |
---|
242 | AC_MSG_CHECKING(for Openh323 includes in ${with_openh323_dir}/include/) |
---|
243 | AC_MSG_RESULT() |
---|
244 | |
---|
245 | CPPFLAGS_save="$CPPFLAGS" |
---|
246 | CPPFLAGS="$CPPFLAGS -I${with_openh323_dir}/include" |
---|
247 | AC_CHECK_FILE(${with_openh323_dir}/include/openh323/h323.h, openh323_includes="yes", openh323_includes="no") |
---|
248 | CPPFLAGS="$CPPFLAGS_save" |
---|
249 | |
---|
250 | if test "x${openh323_includes}" != "xno" ; then |
---|
251 | OPENH323_CFLAGS="-I${with_openh323_dir}/include/openh323" |
---|
252 | else |
---|
253 | AC_MSG_ERROR(You need the Openh323 headers to compile GnomeMeeting) |
---|
254 | fi |
---|
255 | |
---|
256 | dnl Checking for the library presence |
---|
257 | LIBS_save="$LIBS" |
---|
258 | LIBS="${LIBS} -L${with_openh323_dir}/${libname}/ -L${with_pwlib_dir}/${libname}/ -lpt" |
---|
259 | AC_CHECK_LIB(openh323, main, openh323_libs="yes", openh323_libs="yes") |
---|
260 | LIBS="${LIBS_save}" |
---|
261 | |
---|
262 | if test "x${openh323_libs}" != "xno"; then |
---|
263 | if test "x${with_openh323_dir}" != "x/usr"; then |
---|
264 | OPENH323_LIBS="-L${with_openh323_dir}/lib" |
---|
265 | fi |
---|
266 | else |
---|
267 | AC_MSG_ERROR(You need the Openh323 library to compile GnomeMeeting) |
---|
268 | fi |
---|
269 | |
---|
270 | dnl Checking for Openh323 version |
---|
271 | AC_MSG_CHECKING(for Openh323 version); |
---|
272 | OPENH323_VERSION=`cat ${with_openh323_dir}/include/openh323/openh323buildopts.h | grep VERSION | cut -f2 -d ' ' | sed "s/\"//g"` |
---|
273 | AC_MSG_RESULT($OPENH323_VERSION) |
---|
274 | if test "x${OPENH323_VERSION}" != "x${OPENH323_REC_VERSION}"; then |
---|
275 | AC_MSG_ERROR(Sorry but the recommended Openh323 version is ${OPENH323_REC_VERSION}); |
---|
276 | fi |
---|
277 | |
---|
278 | dnl Checking for plugins support in PWLIB |
---|
279 | AC_MSG_CHECKING(for Quicknet support in OpenH323); |
---|
280 | OPENH323_IXJ_SUPPORT=`cat ${with_openh323_dir}/include/openh323/openh323buildopts.h | grep "HAS_IXJ 1" | cut -f2 -d ' '` |
---|
281 | if test "x${OPENH323_IXJ_SUPPORT}" != "x1"; then |
---|
282 | AC_MSG_RESULT(no); |
---|
283 | AC_MSG_ERROR(Sorry but the OpenH323 version you are using doesn't support Quicknet devices); |
---|
284 | else |
---|
285 | AC_MSG_RESULT(yes); |
---|
286 | HAS_IXJ="enabled"; |
---|
287 | fi |
---|
288 | |
---|
289 | |
---|
290 | dnl ########################################################################### |
---|
291 | dnl Check for SDL |
---|
292 | dnl ########################################################################### |
---|
293 | |
---|
294 | dnl SDL does not work on Mac OS X yet, so disable it |
---|
295 | if test ${gm_platform} = "macosx" ; then |
---|
296 | HAS_SDL="disabled" |
---|
297 | AC_MSG_WARN([*** SDL cannot be used on Mac OS X. Fullscreen mode will be disabled]) |
---|
298 | |
---|
299 | else |
---|
300 | |
---|
301 | SDL_VERSION=1.2.4 |
---|
302 | SDL_HAS_SDL= |
---|
303 | AM_PATH_SDL($SDL_VERSION, |
---|
304 | SDL_HAS_SDL="-DHAS_SDL", |
---|
305 | AC_MSG_WARN([*** SDL version $SDL_VERSION not found!. Fullscreen mode will be disabled])) |
---|
306 | SDL_CFLAGS="$SDL_CFLAGS $SDL_HAS_SDL" |
---|
307 | SDL_LDFLAGS="$LIBS $SDL_LIBS" |
---|
308 | |
---|
309 | if test "x${SDL_HAS_SDL}" = "x-DHAS_SDL" ; then |
---|
310 | HAS_SDL="enabled" |
---|
311 | else |
---|
312 | HAS_SDL="disabled" |
---|
313 | fi |
---|
314 | fi |
---|
315 | |
---|
316 | |
---|
317 | dnl ########################################################################### |
---|
318 | dnl LDAP Headers and Libraries |
---|
319 | dnl ########################################################################### |
---|
320 | AC_ARG_WITH(ldap-dir, [ --with-ldap-dir=PFX Location of LDAP], with_ldap_dir="$withval", with_ldap_dir="/usr") |
---|
321 | |
---|
322 | dnl Check for the includes presence |
---|
323 | AC_MSG_CHECKING(for LDAP includes in ${with_ldap_dir}/include/) |
---|
324 | AC_MSG_RESULT() |
---|
325 | |
---|
326 | CPPFLAGS_save="$CPPFLAGS" |
---|
327 | CPPFLAGS="$CPPFLAGS -I${with_ldap_dir}/include" |
---|
328 | AC_CHECK_FILE(${with_ldap_dir}/include/ldap.h, ldap_includes="yes", ldap_includes="no") |
---|
329 | CPPFLAGS="$CPPFLAGS_save" |
---|
330 | |
---|
331 | if test "x${ldap_includes}" != "xno" ; then |
---|
332 | LDAP_CFLAGS="-I${with_ldap_dir}/include" |
---|
333 | else |
---|
334 | AC_MSG_ERROR(You need the LDAP headers to compile GnomeMeeting) |
---|
335 | fi |
---|
336 | |
---|
337 | dnl Checking for the library presence |
---|
338 | LIBS_save="$LIBS" |
---|
339 | LIBS="${LIBS} -L${with_ldap_dir}/${libname}/ -llber" |
---|
340 | AC_CHECK_LIB(ldap, main, ldap_libs="yes", ldap_libs="no") |
---|
341 | LIBS="${LIBS_save}" |
---|
342 | |
---|
343 | if test "x${ldap_libs}" != "xno"; then |
---|
344 | LDAP_LIBS="-llber -lldap" |
---|
345 | if test "x${with_ldap_dir}" != "x/usr"; then |
---|
346 | LDAP_LIBS="-L${with_ldap_dir}/${libname} $LDAP_LIBS" |
---|
347 | fi |
---|
348 | else |
---|
349 | AC_MSG_ERROR(You need the LDAP library to compile GnomeMeeting) |
---|
350 | fi |
---|
351 | |
---|
352 | dnl Checking for libresolv |
---|
353 | if test ${gm_platform} = "linux" ; then |
---|
354 | AC_CHECK_LIB(resolv, res_gethostbyaddr, [LIBS="-lresolv $LIBS"], AC_MSG_ERROR([*** libresolv not found.]), -lresolv) |
---|
355 | LDAP_LIBS="${LDAP_LIBS} -lresolv" |
---|
356 | fi |
---|
357 | |
---|
358 | |
---|
359 | dnl ######################################################################### |
---|
360 | dnl Check for recent libxml2 which has xmlRegisterNodeDefault() |
---|
361 | dnl ######################################################################## |
---|
362 | AC_CHECK_LIB(xml2, xmlFreeDoc) |
---|
363 | AC_CHECK_FUNCS(xmlRegisterNodeDefault) |
---|
364 | |
---|
365 | |
---|
366 | dnl ######################################################################## |
---|
367 | dnl libxml path is in GNOMEMEETING_CFLAGS due to pkg-config |
---|
368 | dnl ######################################################################## |
---|
369 | CPPFLAGS_save="$CPPFLAGS" |
---|
370 | CPPFLAGS="$CPPFLAGS $GNOMEMEETING_CFLAGS" |
---|
371 | AC_CHECK_TYPES(xmlSAXHandlerV1,,, [#include <libxml/SAX.h>]) |
---|
372 | CPPFLAGS="$CPPFLAGS_save" |
---|
373 | |
---|
374 | |
---|
375 | dnl ########################################################################### |
---|
376 | dnl The various CFLAGS are merged into GNOMEMEETING_CFLAGS and |
---|
377 | dnl GNOMEMEETING_LIB_CFLAGS |
---|
378 | dnl ########################################################################### |
---|
379 | GNOMEMEETING_LIB_CFLAGS="$GNOMEMEETING_CFLAGS" |
---|
380 | GNOMEMEETING_CFLAGS="$GNOMEMEETING_CFLAGS $PWLIB_CFLAGS $LDAP_INCLUDES $OPENH323_CFLAGS $SDL_CFLAGS $LDAP_CFLAGS $ARCH_OPENH323_CFLAGS" |
---|
381 | GNOMEMEETING_LIBS="$GNOMEMEETING_LIBS $PWLIB_LIBS $OPENH323_LIBS $LDAP_LIBS $SDL_LDFLAGS $ARCH_OPENH323_LIBS" |
---|
382 | CFLAGS="" |
---|
383 | |
---|
384 | |
---|
385 | dnl ########################################################################### |
---|
386 | dnl For the static library |
---|
387 | dnl ########################################################################### |
---|
388 | AC_SUBST(GNOMEMEETING_LIB_CFLAGS) |
---|
389 | |
---|
390 | |
---|
391 | dnl ######################################################################### |
---|
392 | dnl Support for internationalization |
---|
393 | dnl ######################################################################## |
---|
394 | ALL_LINGUAS="am ar az be bn ca cs cy da de el en_CA en_GB es fi fr ga gl hi hr hu it ja ko lt lv mk ml mn mr ms nl no pa pl pt pt_BR ro ru sk sq sr sr@Latn sv ta tr uk vi wa zh_CN zh_TW" |
---|
395 | |
---|
396 | GETTEXT_PACKAGE=gnomemeeting |
---|
397 | AC_SUBST(GETTEXT_PACKAGE) |
---|
398 | AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",[fix]) |
---|
399 | AM_GLIB_GNU_GETTEXT |
---|
400 | |
---|
401 | |
---|
402 | AC_SUBST(GNOMEMEETING_LDADD) |
---|
403 | AC_SUBST(GNOMEMEETING_CFLAGS) |
---|
404 | |
---|
405 | |
---|
406 | dnl ######################################################################### |
---|
407 | dnl Set PACKAGE_LOCALE_DIR in config.h. |
---|
408 | dnl ######################################################################### |
---|
409 | if test "x${prefix}" = "xNONE"; then |
---|
410 | AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${ac_default_prefix}/${DATADIRNAME}/locale",[fix]) |
---|
411 | else |
---|
412 | AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${prefix}/${DATADIRNAME}/locale",[fix]) |
---|
413 | fi |
---|
414 | |
---|
415 | |
---|
416 | dnl ########################################################################### |
---|
417 | dnl Data and configuration directories for the system |
---|
418 | dnl ########################################################################### |
---|
419 | gnomedatadir=`eval "echo ${datadir}"` |
---|
420 | gnomeconfdir=`eval "echo ${sysconfdir}"` |
---|
421 | AC_SUBST(gnomedatadir) |
---|
422 | AC_SUBST(gnomeconfdir) |
---|
423 | |
---|
424 | dnl ########################################################################### |
---|
425 | dnl Output the different Makefiles |
---|
426 | dnl ########################################################################### |
---|
427 | AC_OUTPUT( |
---|
428 | Makefile |
---|
429 | src/gnomemeeting-config-tool |
---|
430 | gnomemeeting.schemas.in |
---|
431 | lib/Makefile |
---|
432 | lib/widgets/Makefile |
---|
433 | lib/xdap/Makefile |
---|
434 | po/Makefile.in |
---|
435 | man/Makefile |
---|
436 | src/Makefile |
---|
437 | pixmaps/Makefile |
---|
438 | sounds/Makefile |
---|
439 | xdap_data/Makefile |
---|
440 | help/Makefile |
---|
441 | help/C/Makefile) |
---|
442 | |
---|
443 | |
---|
444 | dnl ########################################################################### |
---|
445 | dnl Summary |
---|
446 | dnl ########################################################################### |
---|
447 | |
---|
448 | echo "" |
---|
449 | echo "================ Final configuration ===================" |
---|
450 | echo " Installing into prefix : $prefix" |
---|
451 | echo "" |
---|
452 | echo " OpenH323 Version is : $OPENH323_REC_VERSION" |
---|
453 | echo " OpenH323 Directory is : $with_openh323_dir" |
---|
454 | echo " PWLIB Version is : $PWLIB_REC_VERSION" |
---|
455 | echo " PWLIB Directory is : $with_pwlib_dir" |
---|
456 | echo " ptlib-config is : $with_pwlib_dir/bin/ptlib-config" |
---|
457 | echo "" |
---|
458 | echo " Quicknet support : $HAS_IXJ" |
---|
459 | echo " SDL Fullscreen support : $HAS_SDL" |
---|
460 | echo "" |
---|
461 | echo " OS Type : $target_os" |
---|
462 | echo " Machine Type : $target_cpu" |
---|
463 | echo "" |
---|
464 | echo " If all settings are OK, type make and make install " |
---|
465 | echo "========================================================" |
---|