Subversion Repositories Scribus

Rev

Rev 2401 | Rev 2403 | 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,
2401 craig 112
			 libart2-config,
2400 craig 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
2401 craig 125
	 AC_MSG_ERROR([You need at least libart 2.3.8 . See the BUILDING file.])
779 fschmid 126
  fi
2400 craig 127
else
128
  libmissing libart
2401 craig 129
  AC_MSG_ERROR([You need at least libart 2.3.8 . See the BUILDING file.])
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,
2402 craig 141
			 freetype-config-xxx,
142
			 [],
2399 craig 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
2401 craig 155
		libmissing libfreetype
1599 craig 156
		AC_MSG_ERROR([You need at least freetype 2.1.0])
779 fschmid 157
	fi
1599 craig 158
 
2312 craig 159
	dnl Warn the user if they have less than freetype 2.1.9
160
	dnl Changed to fatal error
161
	AC_MSG_CHECKING(freetype version > 2.1.9)
1599 craig 162
	SAVE_CFLAGS="${CFLAGS}"
163
	CFLAGS=" ${LIBFREETYPE_CFLAGS} "
164
	AC_TRY_COMPILE([
165
	#include <ft2build.h>
166
	#include FT_FREETYPE_H
167
	],[
2312 craig 168
	#if FREETYPE_MAJOR == 2 && FREETYPE_MINOR == 1 && FREETYPE_PATCH < 9
169
	#error freetype 2.1 older than 2.1.9
1599 craig 170
	#endif
2312 craig 171
	], [hafree_post219=yes], [hafree_post219=no])
1599 craig 172
	CFLAGS="${SAVE_CFLAGS}"
2312 craig 173
	AC_MSG_RESULT($hafree_post219)
174
	if test hafree_post219 = no; then
175
		AC_MSG_WARN([Your libfreetype is too old - version 2.1.9 or newer strongly recommended])
1599 craig 176
	fi
177
 
178
	dnl Export the includes and lib path settings required to build with freetype.
779 fschmid 179
	AC_SUBST(LIBFREETYPE_LIBS)
180
	AC_SUBST(LIBFREETYPE_CFLAGS)
181
else
2401 craig 182
	libmissing libfreetype
183
	AC_MSG_ERROR([You need at least freetype 2.1.0])
779 fschmid 184
fi
185
 
1592 craig 186
dnl Try to find fontconfig using fontconfig-config or pkg-config.
1920 craig 187
hafontconfig=no
779 fschmid 188
LIBFONTCONFIG_LIBS=""
189
LIBFONTCONFIG_CFLAGS=""
190
FONTCONFIG_CONFIG=""
191
 
1920 craig 192
dnl Try to find fontconfig with pkg-config if we have pkg-config
193
AC_MSG_CHECKING([Checking for fontconfig with pkg-config])
194
if test -n "$PKG_CONFIG"; then
1592 craig 195
	LIBFONTCONFIG_LIBS="`$PKG_CONFIG fontconfig --libs`"
196
	LIBFONTCONFIG_CFLAGS="`$PKG_CONFIG fontconfig --cflags`"
1920 craig 197
	if test -n "$LIBFONTCONFIG_LIBS" || test -n "$LIBFONTCONFIG_CFLAGS"; then
198
		AC_MSG_RESULT([found])
199
	else
200
		AC_MSG_RESULT([not found])
201
	fi
779 fschmid 202
else
1920 craig 203
	AC_MSG_RESULT([failed: pkg-config not found])
779 fschmid 204
fi
1635 craig 205
 
1920 craig 206
dnl If fontconfig not found with pkg-config, try to find fontconfig-config
207
dnl and use that to look for fontconfig.
208
if test -z "$LIBFONTCONFIG_LIBS" && test -z "$LIBFONTCONFIG_CFLAGS"; then
2399 craig 209
	dnl Seems we didn't find fontconfig with pkg-config, so search for the old
210
	dnl fontconfig-config program instead.
211
	AC_PATH_PROG(FONTCONFIG_CONFIG,
212
				 fontconfig-config,
213
				 [],
214
				 [$PATH ${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin /usr/bin /usr/nekoware/bin /usr/X11/bin])
1920 craig 215
	if test -n "$FONTCONFIG_CONFIG"; then
216
		dnl found fontconfig-config, use it's results
217
		LIBFONTCONFIG_LIBS="`$FONTCONFIG_CONFIG --libs`"
218
		LIBFONTCONFIG_CFLAGS="`$FONTCONFIG_CONFIG --cflags`"
219
	else
220
		AC_MSG_WARN([Couldn't find fontconfig-config or find fontconfig with pkg-config])
221
	fi
222
fi
223
 
1635 craig 224
dnl Check to see if we can compile fontconfig
225
SAVE_CFLAGS="${CFLAGS}"
226
SAVE_LDFLAGS="${LDFLAGS}"
227
CFLAGS="${CFLAGS} ${LIBFONTCONFIG_CFLAGS}"
228
LDFLAGS="${LDFLAGS} ${LIBFONTCONFIG_LIBS}"
1592 craig 229
AC_CHECK_LIB(fontconfig, FcPatternBuild, [hafontconfig=yes],[hafontconfig=no])
1635 craig 230
CFLAGS="${SAVE_CFLAGS}"
231
LDFLAGS="${SAVE_LDFLAGS}"
1592 craig 232
if test $hafontconfig = yes; then
233
	AC_DEFINE_UNQUOTED(HAVE_FONTCONFIG, 1, [Defines if your system has the libfontconfig library])
234
else
235
	AC_MSG_WARN([Couldn't find a usable libfontconfig])
236
fi
237
AC_SUBST(LIBFONTCONFIG_LIBS)
238
AC_SUBST(LIBFONTCONFIG_CFLAGS)
779 fschmid 239
 
1592 craig 240
 
779 fschmid 241
XML_LIBS=""
242
XML_CFLAGS=""
243
 
244
XML_CONFIG=""
2399 craig 245
AC_PATH_PROG(XML_CONFIG,
246
			 xml2-config,
247
			 [AC_MSG_ERROR([Could not find libxml2 anywhere, check http://www.xmlsoft.org/])],
248
			 [${PATH} ${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin /usr/bin /usr/nekoware/bin /usr/X11/bin])
779 fschmid 249
 
1599 craig 250
dnl check for LibXML2
779 fschmid 251
haxml=no
2314 craig 252
haxml26=no
253
AC_ARG_ENABLE(xml, [  --disable-xml       Don't use libxml2 and turn off some Scribus features.], [disable_xml2="yes"])
254
if test "$disable_xml2" != "yes"; then
255
	if test -n "$XML_CONFIG"; then
256
		XML_LIBS="`$XML_CONFIG --libs`"
257
		XML_CFLAGS="`$XML_CONFIG --cflags`"
258
		AC_CHECK_LIB(xml2, attribute, [haxml=yes],[haxml=no])
259
		if test $haxml = yes; then
260
			AC_DEFINE_UNQUOTED(HAVE_XML, 1, [Defines if your system has the libxml2 library])
261
			AC_SUBST(XML_LIBS)
262
			AC_SUBST(XML_CFLAGS)
263
		fi
264
		vers=`$XML_CONFIG --version 2>/dev/null | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
265
		if test -n "$vers" && test "$vers" -ge 2006000
266
		then
267
			AC_DEFINE_UNQUOTED(HAVE_XML26, 1, [Defines if your system has the libxml2 library6])
268
			haxml26=yes
269
		fi
779 fschmid 270
	fi
271
fi
272
 
1599 craig 273
dnl check for -lsocket
779 fschmid 274
AC_CHECK_LIB(socket,socket,
275
if test "$uname" != "IRIX"; then
276
	LIBS="-lsocket $LIBS"
277
else
278
	echo "Not using -lsocket since you are running IRIX."
279
fi)
280
AC_CHECK_LIB(nsl,gethostbyaddr,
281
if test "$uname" != "IRIX"; then
282
	LIBS="-lnsl $LIBS"
283
else
284
	echo "Not using -lnsl since you are running IRIX."
285
fi)
286
 
1595 craig 287
dnl Check for lcms
288
dnl TODO look for lcms using pkg-config too
2310 craig 289
dnl TODO: convert to use --with-lcms= and AC_ARG_WITH(...)
779 fschmid 290
LIBLCMS=""
291
hacms=
2310 craig 292
AC_ARG_ENABLE(lcms, [  --disable-lcms     Don't use colour management (default=no)], [disable_lcms="yes"])
293
 
294
# If lcms hasn't been explicitly disabled, look for it and see
295
# if we can use it.
296
if test "$disable_lcms" != "yes"; then
297
	# See if liblcms.so is on our search path and looks vaguely valid
298
	AC_CHECK_LIB(lcms, _cmsChannelsOf, [LIBLCMS="-llcms";hacms=yes],[LIBLCMS="";hacms=no],[-lm])
299
	hacmsh=
300
	lcms_h=
301
	# and search for lcms.h, which may or may not be in an lcms/ subdir
302
	AC_CHECK_HEADER(lcms.h, [hacmsh=yes],[hacmsh=no])
303
	if test $hacmsh = no; then
304
		AC_CHECK_HEADER(lcms/lcms.h, [hacmsh=yes],[hacmsh=no])
305
		if test $hacmsh = yes; then
306
			AC_DEFINE_UNQUOTED(CMS_INC, "lcms/lcms.h", [ColorManagementInclude])
307
			lcms_h="lcms/lcms.h"
308
		fi
309
	else
310
		AC_DEFINE_UNQUOTED(CMS_INC, "lcms.h", [ColorManagementInclude])
311
		lcms_h="lcms.h"
779 fschmid 312
	fi
2310 craig 313
	if test $hacmsh = no; then
314
		# There's not much point finding -llcms if we can't find the header file...
315
		hacms=no
316
	fi
779 fschmid 317
fi
1595 craig 318
dnl Attempt to check that lcms is new enough
319
if test $hacms = yes; then
320
	AC_MSG_CHECKING(liblcms version > 1.1.2)
321
	AC_TRY_COMPILE([
322
	#include "$lcms_h"
1599 craig 323
	],[
1595 craig 324
	#if LCMS_VERSION < 112
325
	#error liblcms is too old, need LittleCMS 1.1.2 or newer
326
	#endif
1599 craig 327
	], [], [hacms=pre112])
1595 craig 328
	AC_MSG_RESULT($hacms)
329
fi
330
 
779 fschmid 331
AC_SUBST(LIBLCMS)
332
if test $hacms = yes && test $hacmsh = yes; then
333
 AC_DEFINE_UNQUOTED(HAVE_CMS, 1, [ColorManagement])
334
fi
1580 craig 335
 
336
dnl Checks for libtiff - library exists, tiffvers.h can be found, and new enough.
779 fschmid 337
LIBTIFF=""
338
hastif=
1580 craig 339
dnl Check if we have libtiff
779 fschmid 340
AC_CHECK_LIB(tiff, TIFFOpen, [LIBTIFF="-ltiff";hastif=yes],[LIBTIFF="";hastif=no],[-lm])
1585 craig 341
if test $hastif = yes; then
342
	dnl Check for tiffvers.h
343
	AC_CHECK_HEADER(tiffvers.h, [], [LIBTIFF="";hastif=no])
344
	if test $hastif = yes; then
345
		dnl Now attempt to check if libtiff is new enough
346
		AC_MSG_CHECKING(libtiff version > 3.6.0)
347
		AC_TRY_COMPILE([
348
		#include "tiffvers.h"
1599 craig 349
		],[
1585 craig 350
		#if TIFFLIB_VERSION < 20031007
351
		#error libtiff is too old, need libtiff 3.6.0 or newer.
352
		#endif
1599 craig 353
		], [], [LIBTIFF="";hastif=pre36])
1585 craig 354
		AC_MSG_RESULT($hastif)
355
	fi
356
fi
779 fschmid 357
AC_SUBST(LIBTIFF)
358
if test $hastif = yes; then
359
 AC_DEFINE_UNQUOTED(HAVE_TIFF, 1, [Tifflib])
360
fi
1580 craig 361
 
779 fschmid 362
LIBDL2=""
363
AC_CHECK_LIB(c, dlopen, [LIBDL2="-lc"],[LIBDL2=""])
364
AC_SUBST(LIBDL2)
365
 
366
dnl generate the config header
367
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
368
 
369
dnl Checks for programs.
370
AC_CHECK_COMPILERS
371
AC_ENABLE_SHARED(yes)
372
AC_ENABLE_STATIC(no)
373
KDE_PROG_LIBTOOL
374
 
375
hapython=yes
376
kde_python_link_found=no
377
KDE_CHECK_PYTHON(1.5)
378
COMPILE_PYTHON=no
379
AC_ARG_WITH(python, [  --without-python     Do not compile the Scripter Plugin],[ COMPILE_PYTHON=no ],[ COMPILE_PYTHON=yes ])
380
if test $kde_python_link_found = no; then
381
	COMPILE_PYTHON=no
382
fi
383
if test $kde_python_link_found = yes; then
384
  AC_CHECK_HEADER(python2.3/Python.h, [foo=""],[hapython=no])
385
   if test $hapython = yes; then
386
    AC_DEFINE_UNQUOTED(HAVE_PYTHON_23, 1, [Python])
387
   fi
388
fi
389
AM_CONDITIONAL(COMPILE_PYTHON, test x$COMPILE_PYTHON = xyes)
390
 
2311 craig 391
AC_ARG_ENABLE(cups, [  --disable-cups        Do not compile support for CUPS printing],[disable_cups=yes])
392
LIBCUPS=""
393
hacups=no
394
if test "$disable_cups" != "yes" ; then
395
	# Look for cups.h
396
	AC_CHECK_HEADER(cups/cups.h, [hacups_h=yes],[hacups_h=no])
397
	AC_CHECK_PROG(hacups_cfg, cups-config, yes, no)
398
	echo "'$hacups_cfg' '$hacups_h'" >/tmp/cfg
399
	if test "x$hacups_h" = "xyes" && test "x$hacups_cfg" = "xyes"; then
400
		# We have the CUPS libs and headers, so enable
401
		# the use of CUPS and tell the build where to
402
		# find it.
403
		LIBCUPS="`cups-config --libs`"
404
		AC_DEFINE_UNQUOTED(HAVE_CUPS, 1, [Cups])
405
		AC_SUBST(LIBCUPS)
406
		hacups=yes
407
	else
408
		AC_MSG_WARN([libcups could not be found. Printing functionality will be limited.])
409
		hacups=no
410
	fi
411
else
412
	hacups=no
779 fschmid 413
fi
414
 
415
COMPILE_DEBUG=no
2311 craig 416
AC_ARG_ENABLE(debug, [  --enable-debug     Enables debugging information (recommended for snapshots)],
1634 craig 417
[if test "x$enable_debug" = "xyes" || test "x$enable_debug" = "xfull"; then
779 fschmid 418
	COMPILE_DEBUG=yes
419
    CXXFLAGS="$CXXFLAGS -g3 -fno-inline -O0 "
420
    CFLAGS="$CFLAGS -g3 -fno-inline -O0 "
421
fi])
422
AM_CONDITIONAL(COMPILE_DEBUG, test x$COMPILE_DEBUG = xyes)
423
 
1689 craig 424
dnl Compile and link the gdk-pixbuf sources unless building
425
dnl a Mac-native build.
426
AM_CONDITIONAL(LINK_PIXBUF, test "$enable_mac" != "yes" )
427
 
1699 craig 428
build_mac_bundle=no
2311 craig 429
AC_ARG_ENABLE(bundle, [  --enable-bundle     Make an executable suitable for use in a .app bundle (INCOMPLETE)],
1699 craig 430
[if test "$enable_bundle" = "yes"; then
431
	build_mac_bundle=yes
432
	AC_DEFINE_UNQUOTED(BUILD_MAC_BUNDLE, 1, [Are we building an executable to be included in MacOS/X .app bundle?])
433
fi])
434
AM_CONDITIONAL(BUILD_MAC_BUNDLE, test "$build_mac_bundle" = "yes")
435
 
1732 craig 436
dnl Some platforms require special libtool flags to build dynamically loadable
437
dnl modules or plugins correctly. While libtool should take care of this with
438
dnl a fixed set of arguments, in case we need to change it later this is being
439
dnl made a configure-time substitution.
440
MODULE_LINK_FLAGS=" -module "
441
AC_SUBST(MODULE_LINK_FLAGS)
442
 
779 fschmid 443
all_libraries="$all_libraries $USER_LDFLAGS"
444
all_includes="$all_includes $USER_INCLUDES"
445
AC_SUBST(all_includes)
446
AC_SUBST(all_libraries)
447
 
448
AC_PATH_QT
449