Subversion Repositories Scribus

Rev

Rev 2399 | Rev 2401 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2398 craig 1
dnl Process this file with autoconf to produce a configure script.
2
 
779 fschmid 3
# Original Author was Kalle@kde.org
4
# I lifted it in some mater. (Stephan Kulow)
5
# I used much code from Janos Farkas
2398 craig 6
# Heavily tweaked and modified for Scribus by Craig Ringer
779 fschmid 7
 
2398 craig 8
dnl Quick `configure.in.in' survival guide:
9
dnl
10
dnl AC_MSG_WARN([warning message])
11
dnl     prints the warning and continues
12
dnl AC_MSG_ERROR([error message])
13
dnl     prints the error and stops configure
2400 craig 14
dnl AC_PATH_PROG([VARNAME],[programname],[notfoundvalue],[search path])
15
dnl     Searches for programname along search path or default path and sets
16
dnl     VARNAME to the path to the program, if found. If not found and
17
dnl     notfoundvalue provided, sets VARNAME to notfoundvalue, otherwise "".
2398 craig 18
dnl AC_CHECK_LIB(lib_basename, lib_symbol, [command_if_success], [command_if_fail])
19
dnl     Looks for a library with basename lib_basename, ie libfreetype.so.3.0.0
20
dnl     might be found for lib_basename=libfreetype, and checks for the lib_symbol
21
dnl     symbol inside. The symbol is usually an important function, a version symbol,
22
dnl     etc. Runs the specified commands on failure (lib not found OR symbol not found)
23
dnl     or success, as appropriate.
24
dnl AC_CHECK_HEADER(headerfilename.h, [successcommand], [failcommand])
25
dnl     Search for headerfilename.h. If found, run successcommand, otherwise
26
dnl     run failcommand.
27
dnl AC_SUBST(VARNAME)
28
dnl     "export" VARNAME so that it's defined in the Makefile.in with the value
29
dnl     it was set to in this script. Thus:
30
dnl         LIBFRED=" -lfred "
31
dnl         AC_SUBST(LIBFRED)
32
dnl     will let you use $(LIBFRED) in the Makefile.am .
33
dnl AC_DEFINE_UNQUOTED(VARNAME, VALUE, [comment in config.h])
34
dnl     Sets VARNAME to VALUE in config.h, so it can be tested for in preprocessor
35
dnl     macros in the source. The supplied comment is included in config.h .
36
dnl
37
dnl configure.in.in is written in shell script, plus M4 macros that expand into
38
dnl yet more shell script. Some M4 macros are provided by autoconf and automake,
39
dnl some by libtool, and some are provided by KDE. In general, if its
40
dnl UPPER_CASE(WITH_BRACKETS) it'll be an M4 macro, and if it looks like shell
41
dnl script it probably is. Variables are boring old shell variables unless exported
42
dnl to somewhere using AC_SUBST(...) or AC_DEFINE_UNQUOTED(...) and friends.
43
dnl
2399 craig 44
dnl `dnl' is an M4 comment, # is a shell comment. The only differences are that
45
dnl M4 macros in shell comments still get expanded so if you want to "comment out"
46
dnl code with M4 macros you must use dnl, and that dnl comments are omitted from
47
dnl configure.in .
48
dnl
49
dnl Note that you should NOT assume the user has bash. Ensure that you TEST YOUR CODE
50
dnl with ash or a similar "primitive" shell before committing.
51
dnl
2398 craig 52
dnl Blame any errors in the above entirely on Craig Ringer. Please see the
53
dnl autoconf documentation (ha!) for details on these and more.
779 fschmid 54
 
55
AC_INIT(acinclude.m4) dnl a source file from your sub dir
56
 
57
dnl This is so we can use kde-common
58
AC_CONFIG_AUX_DIR(admin)
59
 
60
AC_CANONICAL_SYSTEM
61
AC_ARG_PROGRAM
62
 
63
dnl Automake doc recommends to do this only here. (Janos)
64
AM_INIT_AUTOMAKE(scribus,1.3.0cvs)
65
 
66
dnl KDE_SET_PREFIX
67
 
68
AC_PREFIX_DEFAULT(/usr/local)
69
if test "x$prefix" = "xNONE"; then
70
  prefix=$ac_default_prefix
71
  ac_configure_args="$ac_configure_args --prefix $prefix"
72
fi
73
 
1592 craig 74
dnl Look for pkg-config, which we use to find fontconfig and
75
dnl will probably need for other things in future.
76
PKG_CONFIG=""
77
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
779 fschmid 78
 
2399 craig 79
dnl Define a handy function to print a message for when libraries
80
dnl can't be found. This can be called from configure.in.in, and from
81
dnl configure.in.bot (which is, after all, just tacked on the bottom
82
dnl during the generation of configure).
83
 
84
missing_libs=""
85
 
86
function libmissing() {
2400 craig 87
	AC_MSG_WARN([
88
-------------------------------------------------------------------------------
2399 craig 89
One or more libraries were not found. You may need to install some additional
90
libraries or packages.  If you think you have the library installed already, on
91
Linux check to make sure there is a -dev or -devel package for it installed as
92
well. Without the -dev or -devel package Scribus will not be able to find and
93
use the library. Once you have installed the library or the -dev or -devel
2400 craig 94
package, you must re-run this configure script. If it's still not found, check
95
your CPATH, PATH, and LD_LIBRARY_PATH.
96
See the BUILDING file for details.
2399 craig 97
Note that some libraries are OPTIONAL and Scribus will work fine without them
2400 craig 98
though with reduced functionality.
99
-------------------------------------------------------------------------------
100
])
2399 craig 101
	if test -n "${1}"; then
102
		missing_libs="${missing_libs} ${1}"
103
	fi
104
}
105
 
106
 
779 fschmid 107
LIBART_LIBS=""
108
LIBART_CFLAGS=""
109
LIBART_CONFIG=""
2399 craig 110
 
111
AC_PATH_PROG(LIBART_CONFIG,
2400 craig 112
			 libart2-config-xxx,
113
			 [],
2399 craig 114
			 [$PATH ${prefix}/bin ${exec_prefix}/bin /usr/local/bin /usr/nekoware/bin /opt/local/bin])
115
 
779 fschmid 116
if test -n "$LIBART_CONFIG"; then
117
  vers=`$LIBART_CONFIG --version 2>/dev/null | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
118
  if test -n "$vers" && test "$vers" -ge 2003008
119
  then
120
     LIBART_LIBS="`$LIBART_CONFIG --libs`"
121
     LIBART_CFLAGS="`$LIBART_CONFIG --cflags`"
122
     AC_DEFINE_UNQUOTED(HAVE_LIBART, 1, [Defines if your system has the libart library])
123
  else
2400 craig 124
     libmissing libart
779 fschmid 125
     AC_MSG_ERROR([You need at least libart 2.3.8])
126
  fi
2400 craig 127
else
128
  libmissing libart
129
  AC_MSG_ERROR([You need at least libart 2.3.8])
779 fschmid 130
fi
131
AC_SUBST(LIBART_LIBS)
132
AC_SUBST(LIBART_CFLAGS)
133
AC_C_BIGENDIAN
134
 
1599 craig 135
dnl Check for freetype, which Scribus *requires* to build
779 fschmid 136
LIBFREETYPE_LIBS=""
137
LIBFREETYPE_CFLAGS=""
138
 
139
FREETYPE_CONFIG=""
2399 craig 140
AC_PATH_PROG(FREETYPE_CONFIG,
141
			 freetype-config,
142
			 [AC_MSG_ERROR([Could not find libfreetype anywhere, check http://www.freetype.org/])],
143
			 [$PATH ${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin /usr/bin /usr/nekoware/bin /usr/X11/bin])
779 fschmid 144
 
145
hafree=no
2312 craig 146
hafree_post219=
779 fschmid 147
if test -n "$FREETYPE_CONFIG"; then
148
	LIBFREETYPE_LIBS="`$FREETYPE_CONFIG --libs`"
1599 craig 149
	LIBFREETYPE_CFLAGS="`$FREETYPE_CONFIG --cflags`"
779 fschmid 150
	AC_CHECK_LIB(freetype, FT_Get_First_Char, [hafree=yes],[hafree=no], "$LIBFREETYPE_LIBS")
151
	AC_CHECK_LIB(freetype, FT_Get_Next_Char, [hafree=yes],[hafree=no], "$LIBFREETYPE_LIBS")
152
	if test $hafree = yes; then
153
		AC_DEFINE_UNQUOTED(HAVE_FREETYPE, 1, [Defines if your system has the libfreetype library])
154
	else
1599 craig 155
		AC_MSG_ERROR([You need at least freetype 2.1.0])
779 fschmid 156
	fi
1599 craig 157
 
2312 craig 158
	dnl Warn the user if they have less than freetype 2.1.9
159
	dnl Changed to fatal error
160
	AC_MSG_CHECKING(freetype version > 2.1.9)
1599 craig 161
	SAVE_CFLAGS="${CFLAGS}"
162
	CFLAGS=" ${LIBFREETYPE_CFLAGS} "
163
	AC_TRY_COMPILE([
164
	#include <ft2build.h>
165
	#include FT_FREETYPE_H
166
	],[
2312 craig 167
	#if FREETYPE_MAJOR == 2 && FREETYPE_MINOR == 1 && FREETYPE_PATCH < 9
168
	#error freetype 2.1 older than 2.1.9
1599 craig 169
	#endif
2312 craig 170
	], [hafree_post219=yes], [hafree_post219=no])
1599 craig 171
	CFLAGS="${SAVE_CFLAGS}"
2312 craig 172
	AC_MSG_RESULT($hafree_post219)
173
	if test hafree_post219 = no; then
174
		AC_MSG_WARN([Your libfreetype is too old - version 2.1.9 or newer strongly recommended])
1599 craig 175
	fi
176
 
177
	dnl Export the includes and lib path settings required to build with freetype.
779 fschmid 178
	AC_SUBST(LIBFREETYPE_LIBS)
179
	AC_SUBST(LIBFREETYPE_CFLAGS)
180
else
181
  AC_MSG_ERROR([You need at least freetype 2.1.0])
182
fi
183
 
1592 craig 184
dnl Try to find fontconfig using fontconfig-config or pkg-config.
1920 craig 185
hafontconfig=no
779 fschmid 186
LIBFONTCONFIG_LIBS=""
187
LIBFONTCONFIG_CFLAGS=""
188
FONTCONFIG_CONFIG=""
189
 
1920 craig 190
dnl Try to find fontconfig with pkg-config if we have pkg-config
191
AC_MSG_CHECKING([Checking for fontconfig with pkg-config])
192
if test -n "$PKG_CONFIG"; then
1592 craig 193
	LIBFONTCONFIG_LIBS="`$PKG_CONFIG fontconfig --libs`"
194
	LIBFONTCONFIG_CFLAGS="`$PKG_CONFIG fontconfig --cflags`"
1920 craig 195
	if test -n "$LIBFONTCONFIG_LIBS" || test -n "$LIBFONTCONFIG_CFLAGS"; then
196
		AC_MSG_RESULT([found])
197
	else
198
		AC_MSG_RESULT([not found])
199
	fi
779 fschmid 200
else
1920 craig 201
	AC_MSG_RESULT([failed: pkg-config not found])
779 fschmid 202
fi
1635 craig 203
 
1920 craig 204
dnl If fontconfig not found with pkg-config, try to find fontconfig-config
205
dnl and use that to look for fontconfig.
206
if test -z "$LIBFONTCONFIG_LIBS" && test -z "$LIBFONTCONFIG_CFLAGS"; then
2399 craig 207
	dnl Seems we didn't find fontconfig with pkg-config, so search for the old
208
	dnl fontconfig-config program instead.
209
	AC_PATH_PROG(FONTCONFIG_CONFIG,
210
				 fontconfig-config,
211
				 [],
212
				 [$PATH ${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin /usr/bin /usr/nekoware/bin /usr/X11/bin])
1920 craig 213
	if test -n "$FONTCONFIG_CONFIG"; then
214
		dnl found fontconfig-config, use it's results
215
		LIBFONTCONFIG_LIBS="`$FONTCONFIG_CONFIG --libs`"
216
		LIBFONTCONFIG_CFLAGS="`$FONTCONFIG_CONFIG --cflags`"
217
	else
218
		AC_MSG_WARN([Couldn't find fontconfig-config or find fontconfig with pkg-config])
219
	fi
220
fi
221
 
1635 craig 222
dnl Check to see if we can compile fontconfig
223
SAVE_CFLAGS="${CFLAGS}"
224
SAVE_LDFLAGS="${LDFLAGS}"
225
CFLAGS="${CFLAGS} ${LIBFONTCONFIG_CFLAGS}"
226
LDFLAGS="${LDFLAGS} ${LIBFONTCONFIG_LIBS}"
1592 craig 227
AC_CHECK_LIB(fontconfig, FcPatternBuild, [hafontconfig=yes],[hafontconfig=no])
1635 craig 228
CFLAGS="${SAVE_CFLAGS}"
229
LDFLAGS="${SAVE_LDFLAGS}"
1592 craig 230
if test $hafontconfig = yes; then
231
	AC_DEFINE_UNQUOTED(HAVE_FONTCONFIG, 1, [Defines if your system has the libfontconfig library])
232
else
233
	AC_MSG_WARN([Couldn't find a usable libfontconfig])
234
fi
235
AC_SUBST(LIBFONTCONFIG_LIBS)
236
AC_SUBST(LIBFONTCONFIG_CFLAGS)
779 fschmid 237
 
1592 craig 238
 
779 fschmid 239
XML_LIBS=""
240
XML_CFLAGS=""
241
 
242
XML_CONFIG=""
2399 craig 243
AC_PATH_PROG(XML_CONFIG,
244
			 xml2-config,
245
			 [AC_MSG_ERROR([Could not find libxml2 anywhere, check http://www.xmlsoft.org/])],
246
			 [${PATH} ${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin /usr/bin /usr/nekoware/bin /usr/X11/bin])
779 fschmid 247
 
1599 craig 248
dnl check for LibXML2
779 fschmid 249
haxml=no
2314 craig 250
haxml26=no
251
AC_ARG_ENABLE(xml, [  --disable-xml       Don't use libxml2 and turn off some Scribus features.], [disable_xml2="yes"])
252
if test "$disable_xml2" != "yes"; then
253
	if test -n "$XML_CONFIG"; then
254
		XML_LIBS="`$XML_CONFIG --libs`"
255
		XML_CFLAGS="`$XML_CONFIG --cflags`"
256
		AC_CHECK_LIB(xml2, attribute, [haxml=yes],[haxml=no])
257
		if test $haxml = yes; then
258
			AC_DEFINE_UNQUOTED(HAVE_XML, 1, [Defines if your system has the libxml2 library])
259
			AC_SUBST(XML_LIBS)
260
			AC_SUBST(XML_CFLAGS)
261
		fi
262
		vers=`$XML_CONFIG --version 2>/dev/null | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
263
		if test -n "$vers" && test "$vers" -ge 2006000
264
		then
265
			AC_DEFINE_UNQUOTED(HAVE_XML26, 1, [Defines if your system has the libxml2 library6])
266
			haxml26=yes
267
		fi
779 fschmid 268
	fi
269
fi
270
 
1599 craig 271
dnl check for -lsocket
779 fschmid 272
AC_CHECK_LIB(socket,socket,
273
if test "$uname" != "IRIX"; then
274
	LIBS="-lsocket $LIBS"
275
else
276
	echo "Not using -lsocket since you are running IRIX."
277
fi)
278
AC_CHECK_LIB(nsl,gethostbyaddr,
279
if test "$uname" != "IRIX"; then
280
	LIBS="-lnsl $LIBS"
281
else
282
	echo "Not using -lnsl since you are running IRIX."
283
fi)
284
 
1595 craig 285
dnl Check for lcms
286
dnl TODO look for lcms using pkg-config too
2310 craig 287
dnl TODO: convert to use --with-lcms= and AC_ARG_WITH(...)
779 fschmid 288
LIBLCMS=""
289
hacms=
2310 craig 290
AC_ARG_ENABLE(lcms, [  --disable-lcms     Don't use colour management (default=no)], [disable_lcms="yes"])
291
 
292
# If lcms hasn't been explicitly disabled, look for it and see
293
# if we can use it.
294
if test "$disable_lcms" != "yes"; then
295
	# See if liblcms.so is on our search path and looks vaguely valid
296
	AC_CHECK_LIB(lcms, _cmsChannelsOf, [LIBLCMS="-llcms";hacms=yes],[LIBLCMS="";hacms=no],[-lm])
297
	hacmsh=
298
	lcms_h=
299
	# and search for lcms.h, which may or may not be in an lcms/ subdir
300
	AC_CHECK_HEADER(lcms.h, [hacmsh=yes],[hacmsh=no])
301
	if test $hacmsh = no; then
302
		AC_CHECK_HEADER(lcms/lcms.h, [hacmsh=yes],[hacmsh=no])
303
		if test $hacmsh = yes; then
304
			AC_DEFINE_UNQUOTED(CMS_INC, "lcms/lcms.h", [ColorManagementInclude])
305
			lcms_h="lcms/lcms.h"
306
		fi
307
	else
308
		AC_DEFINE_UNQUOTED(CMS_INC, "lcms.h", [ColorManagementInclude])
309
		lcms_h="lcms.h"
779 fschmid 310
	fi
2310 craig 311
	if test $hacmsh = no; then
312
		# There's not much point finding -llcms if we can't find the header file...
313
		hacms=no
314
	fi
779 fschmid 315
fi
1595 craig 316
dnl Attempt to check that lcms is new enough
317
if test $hacms = yes; then
318
	AC_MSG_CHECKING(liblcms version > 1.1.2)
319
	AC_TRY_COMPILE([
320
	#include "$lcms_h"
1599 craig 321
	],[
1595 craig 322
	#if LCMS_VERSION < 112
323
	#error liblcms is too old, need LittleCMS 1.1.2 or newer
324
	#endif
1599 craig 325
	], [], [hacms=pre112])
1595 craig 326
	AC_MSG_RESULT($hacms)
327
fi
328
 
779 fschmid 329
AC_SUBST(LIBLCMS)
330
if test $hacms = yes && test $hacmsh = yes; then
331
 AC_DEFINE_UNQUOTED(HAVE_CMS, 1, [ColorManagement])
332
fi
1580 craig 333
 
334
dnl Checks for libtiff - library exists, tiffvers.h can be found, and new enough.
779 fschmid 335
LIBTIFF=""
336
hastif=
1580 craig 337
dnl Check if we have libtiff
779 fschmid 338
AC_CHECK_LIB(tiff, TIFFOpen, [LIBTIFF="-ltiff";hastif=yes],[LIBTIFF="";hastif=no],[-lm])
1585 craig 339
if test $hastif = yes; then
340
	dnl Check for tiffvers.h
341
	AC_CHECK_HEADER(tiffvers.h, [], [LIBTIFF="";hastif=no])
342
	if test $hastif = yes; then
343
		dnl Now attempt to check if libtiff is new enough
344
		AC_MSG_CHECKING(libtiff version > 3.6.0)
345
		AC_TRY_COMPILE([
346
		#include "tiffvers.h"
1599 craig 347
		],[
1585 craig 348
		#if TIFFLIB_VERSION < 20031007
349
		#error libtiff is too old, need libtiff 3.6.0 or newer.
350
		#endif
1599 craig 351
		], [], [LIBTIFF="";hastif=pre36])
1585 craig 352
		AC_MSG_RESULT($hastif)
353
	fi
354
fi
779 fschmid 355
AC_SUBST(LIBTIFF)
356
if test $hastif = yes; then
357
 AC_DEFINE_UNQUOTED(HAVE_TIFF, 1, [Tifflib])
358
fi
1580 craig 359
 
779 fschmid 360
LIBDL2=""
361
AC_CHECK_LIB(c, dlopen, [LIBDL2="-lc"],[LIBDL2=""])
362
AC_SUBST(LIBDL2)
363
 
364
dnl generate the config header
365
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
366
 
367
dnl Checks for programs.
368
AC_CHECK_COMPILERS
369
AC_ENABLE_SHARED(yes)
370
AC_ENABLE_STATIC(no)
371
KDE_PROG_LIBTOOL
372
 
373
hapython=yes
374
kde_python_link_found=no
375
KDE_CHECK_PYTHON(1.5)
376
COMPILE_PYTHON=no
377
AC_ARG_WITH(python, [  --without-python     Do not compile the Scripter Plugin],[ COMPILE_PYTHON=no ],[ COMPILE_PYTHON=yes ])
378
if test $kde_python_link_found = no; then
379
	COMPILE_PYTHON=no
380
fi
381
if test $kde_python_link_found = yes; then
382
  AC_CHECK_HEADER(python2.3/Python.h, [foo=""],[hapython=no])
383
   if test $hapython = yes; then
384
    AC_DEFINE_UNQUOTED(HAVE_PYTHON_23, 1, [Python])
385
   fi
386
fi
387
AM_CONDITIONAL(COMPILE_PYTHON, test x$COMPILE_PYTHON = xyes)
388
 
2311 craig 389
AC_ARG_ENABLE(cups, [  --disable-cups        Do not compile support for CUPS printing],[disable_cups=yes])
390
LIBCUPS=""
391
hacups=no
392
if test "$disable_cups" != "yes" ; then
393
	# Look for cups.h
394
	AC_CHECK_HEADER(cups/cups.h, [hacups_h=yes],[hacups_h=no])
395
	AC_CHECK_PROG(hacups_cfg, cups-config, yes, no)
396
	echo "'$hacups_cfg' '$hacups_h'" >/tmp/cfg
397
	if test "x$hacups_h" = "xyes" && test "x$hacups_cfg" = "xyes"; then
398
		# We have the CUPS libs and headers, so enable
399
		# the use of CUPS and tell the build where to
400
		# find it.
401
		LIBCUPS="`cups-config --libs`"
402
		AC_DEFINE_UNQUOTED(HAVE_CUPS, 1, [Cups])
403
		AC_SUBST(LIBCUPS)
404
		hacups=yes
405
	else
406
		AC_MSG_WARN([libcups could not be found. Printing functionality will be limited.])
407
		hacups=no
408
	fi
409
else
410
	hacups=no
779 fschmid 411
fi
412
 
413
COMPILE_DEBUG=no
2311 craig 414
AC_ARG_ENABLE(debug, [  --enable-debug     Enables debugging information (recommended for snapshots)],
1634 craig 415
[if test "x$enable_debug" = "xyes" || test "x$enable_debug" = "xfull"; then
779 fschmid 416
	COMPILE_DEBUG=yes
417
    CXXFLAGS="$CXXFLAGS -g3 -fno-inline -O0 "
418
    CFLAGS="$CFLAGS -g3 -fno-inline -O0 "
419
fi])
420
AM_CONDITIONAL(COMPILE_DEBUG, test x$COMPILE_DEBUG = xyes)
421
 
1689 craig 422
dnl Compile and link the gdk-pixbuf sources unless building
423
dnl a Mac-native build.
424
AM_CONDITIONAL(LINK_PIXBUF, test "$enable_mac" != "yes" )
425
 
1699 craig 426
build_mac_bundle=no
2311 craig 427
AC_ARG_ENABLE(bundle, [  --enable-bundle     Make an executable suitable for use in a .app bundle (INCOMPLETE)],
1699 craig 428
[if test "$enable_bundle" = "yes"; then
429
	build_mac_bundle=yes
430
	AC_DEFINE_UNQUOTED(BUILD_MAC_BUNDLE, 1, [Are we building an executable to be included in MacOS/X .app bundle?])
431
fi])
432
AM_CONDITIONAL(BUILD_MAC_BUNDLE, test "$build_mac_bundle" = "yes")
433
 
1732 craig 434
dnl Some platforms require special libtool flags to build dynamically loadable
435
dnl modules or plugins correctly. While libtool should take care of this with
436
dnl a fixed set of arguments, in case we need to change it later this is being
437
dnl made a configure-time substitution.
438
MODULE_LINK_FLAGS=" -module "
439
AC_SUBST(MODULE_LINK_FLAGS)
440
 
779 fschmid 441
all_libraries="$all_libraries $USER_LDFLAGS"
442
all_includes="$all_includes $USER_INCLUDES"
443
AC_SUBST(all_includes)
444
AC_SUBST(all_libraries)
445
 
446
AC_PATH_QT
447