1544
1548
--disable-option-checking ignore unrecognized --enable/--with options
1545
1549
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1546
1550
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1551
--enable-silent-rules less verbose build output (undo: "make V=1")
1552
--disable-silent-rules verbose build output (undo: "make V=0")
1547
1553
--enable-lsb LSB-compatible build configuration
1548
--disable-dependency-tracking speeds up one-time build
1549
--enable-dependency-tracking do not reject slow dependency extractors
1554
--enable-dependency-tracking
1555
do not reject slow dependency extractors
1556
--disable-dependency-tracking
1557
speeds up one-time build
1550
1558
--disable-nls do not use Native Language Support
1551
--enable-silent-rules less verbose build output (undo: `make V=1')
1552
--disable-silent-rules verbose build output (undo: `make V=0')
1553
1559
--enable-lcms enable LittleCms for color management
1554
1560
--enable-poppler-cairo Enable libpoppler-cairo for rendering PDF preview
1555
1561
--enable-binreloc compile with binary relocation support
2838
2847
case $srcdir in
2839
2848
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2840
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2849
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2843
# Do `set' in a subshell so we don't clobber the current shell's
2852
# Do 'set' in a subshell so we don't clobber the current shell's
2844
2853
# arguments. Must try -L first in case configure is actually a
2845
2854
# symlink; some systems play weird games with the mod time of symlinks
2846
2855
# (eg FreeBSD returns the mod time of the symlink's containing
2849
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2850
if test "$*" = "X"; then
2852
set X `ls -t "$srcdir/configure" conftest.file`
2855
if test "$*" != "X $srcdir/configure conftest.file" \
2856
&& test "$*" != "X conftest.file $srcdir/configure"; then
2858
# If neither matched, then we have a broken ls. This can happen
2859
# if, for instance, CONFIG_SHELL is bash and it inherits a
2860
# broken ls alias from the environment. This has actually
2861
# happened. Such a system could not be considered "sane".
2862
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2863
alias in your environment" "$LINENO" 5
2859
for am_try in 1 2; do
2860
echo "timestamp, slept: $am_has_slept" > conftest.file
2861
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2862
if test "$*" = "X"; then
2864
set X `ls -t "$srcdir/configure" conftest.file`
2866
if test "$*" != "X $srcdir/configure conftest.file" \
2867
&& test "$*" != "X conftest.file $srcdir/configure"; then
2869
# If neither matched, then we have a broken ls. This can happen
2870
# if, for instance, CONFIG_SHELL is bash and it inherits a
2871
# broken ls alias from the environment. This has actually
2872
# happened. Such a system could not be considered "sane".
2873
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2874
alias in your environment" "$LINENO" 5
2876
if test "$2" = conftest.file || test $am_try -eq 2; then
2866
2883
test "$2" = conftest.file
3144
3165
rmdir .tst 2>/dev/null
3167
# Check whether --enable-silent-rules was given.
3168
if test "${enable_silent_rules+set}" = set; then :
3169
enableval=$enable_silent_rules;
3172
case $enable_silent_rules in # (((
3173
yes) AM_DEFAULT_VERBOSITY=0;;
3174
no) AM_DEFAULT_VERBOSITY=1;;
3175
*) AM_DEFAULT_VERBOSITY=1;;
3177
am_make=${MAKE-make}
3178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3179
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3180
if ${am_cv_make_support_nested_variables+:} false; then :
3181
$as_echo_n "(cached) " >&6
3183
if $as_echo 'TRUE=$(BAR$(V))
3189
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3190
am_cv_make_support_nested_variables=yes
3192
am_cv_make_support_nested_variables=no
3195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3196
$as_echo "$am_cv_make_support_nested_variables" >&6; }
3197
if test $am_cv_make_support_nested_variables = yes; then
3199
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3201
AM_V=$AM_DEFAULT_VERBOSITY
3202
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3146
3206
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3147
3207
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3148
3208
# is not polluted with repeated "-I."
3200
3266
AMTAR='$${TAR-tar}'
3203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
3269
# We'll loop over all known methods to create a tar archive until one works.
3270
_am_tools='gnutar pax cpio none'
3274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
3204
3275
$as_echo_n "checking how to create a pax tar archive... " >&6; }
3205
# Loop over all known methods to create a tar archive until one works.
3206
_am_tools='gnutar pax cpio none'
3207
_am_tools=${am_cv_prog_tar_pax-$_am_tools}
3208
# Do not fold the above two line into one, because Tru64 sh and
3209
# Solaris sh will not grok spaces in the rhs of `-'.
3210
for _am_tool in $_am_tools
3214
for _am_tar in tar gnutar gtar;
3216
{ echo "$as_me:$LINENO: $_am_tar --version" >&5
3277
# Go ahead even if we have the value already cached. We do so because we
3278
# need to set the values for the 'am__tar' and 'am__untar' variables.
3279
_am_tools=${am_cv_prog_tar_pax-$_am_tools}
3281
for _am_tool in $_am_tools; do
3284
for _am_tar in tar gnutar gtar; do
3285
{ echo "$as_me:$LINENO: $_am_tar --version" >&5
3217
3286
($_am_tar --version) >&5 2>&5
3219
3288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220
3289
(exit $ac_status); } && break
3222
am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
3223
am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
3224
am__untar="$_am_tar -xf -"
3227
# Must skip GNU tar: if it does not support --format= it doesn't create
3228
# ustar tarball either.
3229
(tar --version) >/dev/null 2>&1 && continue
3230
am__tar='tar chf - "$$tardir"'
3231
am__tar_='tar chf - "$tardir"'
3232
am__untar='tar xf -'
3235
am__tar='pax -L -x pax -w "$$tardir"'
3236
am__tar_='pax -L -x pax -w "$tardir"'
3240
am__tar='find "$$tardir" -print | cpio -o -H pax -L'
3241
am__tar_='find "$tardir" -print | cpio -o -H pax -L'
3242
am__untar='cpio -i -H pax -d'
3251
# If the value was cached, stop now. We just wanted to have am__tar
3252
# and am__untar set.
3253
test -n "${am_cv_prog_tar_pax}" && break
3255
# tar/untar a dummy directory, and stop if the command works
3258
echo GrepMe > conftest.dir/file
3259
{ echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3291
am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
3292
am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
3293
am__untar="$_am_tar -xf -"
3296
# Must skip GNU tar: if it does not support --format= it doesn't create
3297
# ustar tarball either.
3298
(tar --version) >/dev/null 2>&1 && continue
3299
am__tar='tar chf - "$$tardir"'
3300
am__tar_='tar chf - "$tardir"'
3301
am__untar='tar xf -'
3304
am__tar='pax -L -x pax -w "$$tardir"'
3305
am__tar_='pax -L -x pax -w "$tardir"'
3309
am__tar='find "$$tardir" -print | cpio -o -H pax -L'
3310
am__tar_='find "$tardir" -print | cpio -o -H pax -L'
3311
am__untar='cpio -i -H pax -d'
3320
# If the value was cached, stop now. We just wanted to have am__tar
3321
# and am__untar set.
3322
test -n "${am_cv_prog_tar_pax}" && break
3324
# tar/untar a dummy directory, and stop if the command works.
3327
echo GrepMe > conftest.dir/file
3328
{ echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3260
3329
(tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3262
3331
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263
3332
(exit $ac_status); }
3265
if test -s conftest.tar; then
3266
{ echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3334
if test -s conftest.tar; then
3335
{ echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3267
3336
($am__untar <conftest.tar) >&5 2>&5
3269
3338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270
3339
(exit $ac_status); }
3271
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3340
{ echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3341
(cat conftest.dir/file) >&5 2>&5
3343
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344
(exit $ac_status); }
3345
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3276
if ${am_cv_prog_tar_pax+:} false; then :
3350
if ${am_cv_prog_tar_pax+:} false; then :
3277
3351
$as_echo_n "(cached) " >&6
3279
3353
am_cv_prog_tar_pax=$_am_tool
3282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3356
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3283
3357
$as_echo "$am_cv_prog_tar_pax" >&6; }
3364
# POSIX will say in a future version that running "rm -f" with no argument
3365
# is OK; and we want to be able to make that assumption in our Makefile
3366
# recipes. So use an aggressive probe to check that the usage we want is
3367
# actually supported "in the wild" to an acceptable degree.
3368
# See automake bug#10828.
3369
# To make any issue more visible, cause the running configure to be aborted
3370
# by default if the 'rm' program in use doesn't match our expectations; the
3371
# user can still override this though.
3372
if rm -f && rm -fr && rm -rf; then : OK; else
3376
Your 'rm' program seems unable to run without file operands specified
3377
on the command line, even when the '-f' option is present. This is contrary
3378
to the behaviour of most rm programs out there, and not conforming with
3379
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3381
Please tell bug-automake@gnu.org about your system, including the value
3382
of your $PATH and any error possibly output before this message. This
3383
can help us improve future automake versions.
3386
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3387
echo 'Configuration will proceed anyway, since you have set the' >&2
3388
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3392
Aborting the configuration process, to ensure you take notice of the issue.
3394
You can download and install GNU coreutils to get an 'rm' implementation
3395
that behaves properly: <http://www.gnu.org/software/coreutils/>.
3397
If you want to complete the configuration process using your problematic
3398
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3399
to "yes", and re-run configure.
3402
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3290
3406
# Check whether --enable-lsb was given.
3291
3407
if test "${enable_lsb+set}" = set; then :
3292
3408
enableval=$enable_lsb;
3925
4041
: > sub/conftest.c
3926
4042
for i in 1 2 3 4 5 6; do
3927
4043
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3928
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3929
# Solaris 8's {/usr,}/bin/sh.
3930
touch sub/conftst$i.h
4044
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4045
# Solaris 10 /bin/sh.
4046
echo '/* dummy */' > sub/conftst$i.h
3932
4048
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3934
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4050
# We check with '-c' and '-o' for the sake of the "dashmstdout"
3935
4051
# mode. It turns out that the SunPro C++ compiler does not properly
3936
# handle `-M -o', and we need to detect this. Also, some Intel
3937
# versions had trouble with output in subdirs
4052
# handle '-M -o', and we need to detect this. Also, some Intel
4053
# versions had trouble with output in subdirs.
3938
4054
am__obj=sub/conftest.${OBJEXT-o}
3939
4055
am__minus_obj="-o $am__obj"
3940
4056
case $depmode in
4367
4483
: > sub/conftest.c
4368
4484
for i in 1 2 3 4 5 6; do
4369
4485
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4370
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4371
# Solaris 8's {/usr,}/bin/sh.
4372
touch sub/conftst$i.h
4486
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4487
# Solaris 10 /bin/sh.
4488
echo '/* dummy */' > sub/conftst$i.h
4374
4490
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4376
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4492
# We check with '-c' and '-o' for the sake of the "dashmstdout"
4377
4493
# mode. It turns out that the SunPro C++ compiler does not properly
4378
# handle `-M -o', and we need to detect this. Also, some Intel
4379
# versions had trouble with output in subdirs
4494
# handle '-M -o', and we need to detect this. Also, some Intel
4495
# versions had trouble with output in subdirs.
4380
4496
am__obj=sub/conftest.${OBJEXT-o}
4381
4497
am__minus_obj="-o $am__obj"
4382
4498
case $depmode in
4987
5103
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4988
5104
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5107
ac_cpp='$CPP $CPPFLAGS'
5108
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5109
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5110
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5111
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5112
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5113
if ${am_cv_prog_cc_c_o+:} false; then :
5114
$as_echo_n "(cached) " >&6
5116
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5117
/* end confdefs.h. */
5127
# Make sure it works both with $CC and with simple cc.
5128
# Following AC_PROG_CC_C_O, we do the test twice because some
5129
# compilers refuse to overwrite an existing .o file with -o,
5130
# though they will create one.
5131
am_cv_prog_cc_c_o=yes
5133
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5134
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5136
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137
(exit $ac_status); } \
5138
&& test -f conftest2.$ac_objext; then
5141
am_cv_prog_cc_c_o=no
5145
rm -f core conftest*
5148
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5149
$as_echo "$am_cv_prog_cc_c_o" >&6; }
5150
if test "$am_cv_prog_cc_c_o" != yes; then
5151
# Losing compiler, so override with the script.
5152
# FIXME: It is wrong to rewrite CC.
5153
# But if we don't then we get into trouble of one sort or another.
5154
# A longer-term fix would be to have automake use am__CC in this case,
5155
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5156
CC="$am_aux_dir/compile $CC"
5159
ac_cpp='$CXXCPP $CPPFLAGS'
5160
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5161
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5162
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4990
5165
depcc="$CC" am_compiler_list=
4992
5167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5034
5209
: > sub/conftest.c
5035
5210
for i in 1 2 3 4 5 6; do
5036
5211
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5037
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5038
# Solaris 8's {/usr,}/bin/sh.
5039
touch sub/conftst$i.h
5212
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5213
# Solaris 10 /bin/sh.
5214
echo '/* dummy */' > sub/conftst$i.h
5041
5216
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5043
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5218
# We check with '-c' and '-o' for the sake of the "dashmstdout"
5044
5219
# mode. It turns out that the SunPro C++ compiler does not properly
5045
# handle `-M -o', and we need to detect this. Also, some Intel
5046
# versions had trouble with output in subdirs
5220
# handle '-M -o', and we need to detect this. Also, some Intel
5221
# versions had trouble with output in subdirs.
5047
5222
am__obj=sub/conftest.${OBJEXT-o}
5048
5223
am__minus_obj="-o $am__obj"
5049
5224
case $depmode in
5170
5344
: > sub/conftest.c
5171
5345
for i in 1 2 3 4 5 6; do
5172
5346
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5173
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5174
# Solaris 8's {/usr,}/bin/sh.
5175
touch sub/conftst$i.h
5347
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5348
# Solaris 10 /bin/sh.
5349
echo '/* dummy */' > sub/conftst$i.h
5177
5351
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5179
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5353
# We check with '-c' and '-o' for the sake of the "dashmstdout"
5180
5354
# mode. It turns out that the SunPro C++ compiler does not properly
5181
# handle `-M -o', and we need to detect this. Also, some Intel
5182
# versions had trouble with output in subdirs
5355
# handle '-M -o', and we need to detect this. Also, some Intel
5356
# versions had trouble with output in subdirs.
5183
5357
am__obj=sub/conftest.${OBJEXT-o}
5184
5358
am__minus_obj="-o $am__obj"
5185
5359
case $depmode in
6901
7075
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6902
7076
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7079
ac_cpp='$CPP $CPPFLAGS'
7080
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7081
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7082
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
7084
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
7085
if ${am_cv_prog_cc_c_o+:} false; then :
7086
$as_echo_n "(cached) " >&6
7088
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7089
/* end confdefs.h. */
7099
# Make sure it works both with $CC and with simple cc.
7100
# Following AC_PROG_CC_C_O, we do the test twice because some
7101
# compilers refuse to overwrite an existing .o file with -o,
7102
# though they will create one.
7103
am_cv_prog_cc_c_o=yes
7105
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
7106
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
7108
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7109
(exit $ac_status); } \
7110
&& test -f conftest2.$ac_objext; then
7113
am_cv_prog_cc_c_o=no
7117
rm -f core conftest*
7120
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
7121
$as_echo "$am_cv_prog_cc_c_o" >&6; }
7122
if test "$am_cv_prog_cc_c_o" != yes; then
7123
# Losing compiler, so override with the script.
7124
# FIXME: It is wrong to rewrite CC.
7125
# But if we don't then we get into trouble of one sort or another.
7126
# A longer-term fix would be to have automake use am__CC in this case,
7127
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
7128
CC="$am_aux_dir/compile $CC"
7131
ac_cpp='$CXXCPP $CPPFLAGS'
7132
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7133
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7134
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6904
7137
depcc="$CC" am_compiler_list=
6906
7139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6948
7181
: > sub/conftest.c
6949
7182
for i in 1 2 3 4 5 6; do
6950
7183
echo '#include "conftst'$i'.h"' >> sub/conftest.c
6951
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6952
# Solaris 8's {/usr,}/bin/sh.
6953
touch sub/conftst$i.h
7184
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
7185
# Solaris 10 /bin/sh.
7186
echo '/* dummy */' > sub/conftst$i.h
6955
7188
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6957
# We check with `-c' and `-o' for the sake of the "dashmstdout"
7190
# We check with '-c' and '-o' for the sake of the "dashmstdout"
6958
7191
# mode. It turns out that the SunPro C++ compiler does not properly
6959
# handle `-M -o', and we need to detect this. Also, some Intel
6960
# versions had trouble with output in subdirs
7192
# handle '-M -o', and we need to detect this. Also, some Intel
7193
# versions had trouble with output in subdirs.
6961
7194
am__obj=sub/conftest.${OBJEXT-o}
6962
7195
am__minus_obj="-o $am__obj"
6963
7196
case $depmode in
7032
if test "x$CC" != xcc; then
7033
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
7034
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
7036
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
7037
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
7039
set dummy $CC; ac_cc=`$as_echo "$2" |
7040
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
7041
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
7042
$as_echo_n "(cached) " >&6
7044
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7045
/* end confdefs.h. */
7055
# Make sure it works both with $CC and with simple cc.
7056
# We do the test twice because some compilers refuse to overwrite an
7057
# existing .o file with -o, though they will create one.
7058
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
7060
if { { case "(($ac_try" in
7061
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7062
*) ac_try_echo=$ac_try;;
7064
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7065
$as_echo "$ac_try_echo"; } >&5
7066
(eval "$ac_try") 2>&5
7068
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7069
test $ac_status = 0; } &&
7070
test -f conftest2.$ac_objext && { { case "(($ac_try" in
7071
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7072
*) ac_try_echo=$ac_try;;
7074
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7075
$as_echo "$ac_try_echo"; } >&5
7076
(eval "$ac_try") 2>&5
7078
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7079
test $ac_status = 0; };
7081
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
7082
if test "x$CC" != xcc; then
7083
# Test first that cc exists at all.
7084
if { ac_try='cc -c conftest.$ac_ext >&5'
7085
{ { case "(($ac_try" in
7086
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7087
*) ac_try_echo=$ac_try;;
7089
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7090
$as_echo "$ac_try_echo"; } >&5
7091
(eval "$ac_try") 2>&5
7093
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7094
test $ac_status = 0; }; }; then
7095
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
7097
if { { case "(($ac_try" in
7098
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7099
*) ac_try_echo=$ac_try;;
7101
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7102
$as_echo "$ac_try_echo"; } >&5
7103
(eval "$ac_try") 2>&5
7105
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7106
test $ac_status = 0; } &&
7107
test -f conftest2.$ac_objext && { { case "(($ac_try" in
7108
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7109
*) ac_try_echo=$ac_try;;
7111
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7112
$as_echo "$ac_try_echo"; } >&5
7113
(eval "$ac_try") 2>&5
7115
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7116
test $ac_status = 0; };
7121
# cc exists but doesn't like -o.
7122
eval ac_cv_prog_cc_${ac_cc}_c_o=no
7127
eval ac_cv_prog_cc_${ac_cc}_c_o=no
7129
rm -f core conftest*
7132
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
7133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7134
$as_echo "yes" >&6; }
7136
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137
$as_echo "no" >&6; }
7139
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
7143
# FIXME: we rely on the cache variable name because
7144
# there is no other way.
7146
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
7147
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
7148
if test "$am_t" != yes; then
7149
# Losing compiler, so override with the script.
7150
# FIXME: It is wrong to rewrite CC.
7151
# But if we don't then we get into trouble of one sort or another.
7152
# A longer-term fix would be to have automake use am__CC in this case,
7153
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
7154
CC="$am_aux_dir/compile $CC"
7158
7266
if test "$GCC" = "yes"; then
7159
7267
# Enable some warnings from gcc.
7477
7585
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
7479
if test "x$GXX" = "xyes"; then
7480
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking GNU compiler version" >&5
7481
$as_echo_n "checking GNU compiler version... " >&6; }
7483
# Don't pass CXXFLAGS to the following CXX command as some
7484
# of them can't be specified along with '-v'.
7485
cc_version="`$CXX -v 2>&1 </dev/null |grep 'gcc version' |\
7486
sed 's/.*gcc version \([-a-z0-9\.]*\).*/\1/'`"
7488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cc_version" >&5
7489
$as_echo "$cc_version" >&6; }
7491
# Some version numbers
7492
cc_vers_major=`echo $cc_version | cut -f1 -d.`
7493
cc_vers_minor=`echo $cc_version | cut -f2 -d.`
7494
cc_vers_patch=`echo $cc_version | cut -f3 -d.`
7495
test -n "$cc_vers_major" || cc_vers_major=0
7496
test -n "$cc_vers_minor" || cc_vers_minor=0
7497
test -n "$cc_vers_patch" || cc_vers_patch=0
7498
cc_vers_all=`expr $cc_vers_major '*' 1000000 + $cc_vers_minor '*' 1000 + $cc_vers_patch`
7500
if test $cc_vers_major -lt 3; then
7501
as_fn_error $? "gcc >= 3.0 is needed to compile inkscape" "$LINENO" 5
7505
7587
# Detect a working version of unordered containers.
7506
7588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking TR1 unordered_set usability" >&5
7507
7589
$as_echo_n "checking TR1 unordered_set usability... " >&6; }
10398
10483
$as_echo "no" >&6; }
10488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POPPLER_EVEN_NEWER_COLOR_SPACE_API" >&5
10489
$as_echo_n "checking for POPPLER_EVEN_NEWER_COLOR_SPACE_API... " >&6; }
10491
if test -n "$POPPLER_EVEN_NEWER_COLOR_SPACE_API_CFLAGS"; then
10492
pkg_cv_POPPLER_EVEN_NEWER_COLOR_SPACE_API_CFLAGS="$POPPLER_EVEN_NEWER_COLOR_SPACE_API_CFLAGS"
10493
elif test -n "$PKG_CONFIG"; then
10494
if test -n "$PKG_CONFIG" && \
10495
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler >= 0.26.0\""; } >&5
10496
($PKG_CONFIG --exists --print-errors "poppler >= 0.26.0") 2>&5
10498
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10499
test $ac_status = 0; }; then
10500
pkg_cv_POPPLER_EVEN_NEWER_COLOR_SPACE_API_CFLAGS=`$PKG_CONFIG --cflags "poppler >= 0.26.0" 2>/dev/null`
10501
test "x$?" != "x0" && pkg_failed=yes
10508
if test -n "$POPPLER_EVEN_NEWER_COLOR_SPACE_API_LIBS"; then
10509
pkg_cv_POPPLER_EVEN_NEWER_COLOR_SPACE_API_LIBS="$POPPLER_EVEN_NEWER_COLOR_SPACE_API_LIBS"
10510
elif test -n "$PKG_CONFIG"; then
10511
if test -n "$PKG_CONFIG" && \
10512
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler >= 0.26.0\""; } >&5
10513
($PKG_CONFIG --exists --print-errors "poppler >= 0.26.0") 2>&5
10515
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10516
test $ac_status = 0; }; then
10517
pkg_cv_POPPLER_EVEN_NEWER_COLOR_SPACE_API_LIBS=`$PKG_CONFIG --libs "poppler >= 0.26.0" 2>/dev/null`
10518
test "x$?" != "x0" && pkg_failed=yes
10528
if test $pkg_failed = yes; then
10529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10530
$as_echo "no" >&6; }
10532
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10533
_pkg_short_errors_supported=yes
10535
_pkg_short_errors_supported=no
10537
if test $_pkg_short_errors_supported = yes; then
10538
POPPLER_EVEN_NEWER_COLOR_SPACE_API_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "poppler >= 0.26.0" 2>&1`
10540
POPPLER_EVEN_NEWER_COLOR_SPACE_API_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "poppler >= 0.26.0" 2>&1`
10542
# Put the nasty error message in config.log where it belongs
10543
echo "$POPPLER_EVEN_NEWER_COLOR_SPACE_API_PKG_ERRORS" >&5
10545
popplernewercolorspaceapi=no
10546
elif test $pkg_failed = untried; then
10547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10548
$as_echo "no" >&6; }
10549
popplernewercolorspaceapi=no
10551
POPPLER_EVEN_NEWER_COLOR_SPACE_API_CFLAGS=$pkg_cv_POPPLER_EVEN_NEWER_COLOR_SPACE_API_CFLAGS
10552
POPPLER_EVEN_NEWER_COLOR_SPACE_API_LIBS=$pkg_cv_POPPLER_EVEN_NEWER_COLOR_SPACE_API_LIBS
10553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10554
$as_echo "yes" >&6; }
10555
popplernewercolorspaceapi=yes
10557
if test "x$popplernewercolorspaceapi" = "xyes"; then
10559
$as_echo "#define POPPLER_EVEN_NEWER_COLOR_SPACE_API 1" >>confdefs.h
10401
10563
# Poppler's b604a008 commit changes this
10402
10564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Poppler's GfxPatch no longer uses GfxColor" >&5
10403
10565
$as_echo_n "checking whether Poppler's GfxPatch no longer uses GfxColor... " >&6; }
10824
10981
pkg_cv_INKSCAPE_CFLAGS="$INKSCAPE_CFLAGS"
10825
10982
elif test -n "$PKG_CONFIG"; then
10826
10983
if test -n "$PKG_CONFIG" && \
10827
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= \$min_sigc_version \$ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl\""; } >&5
10828
($PKG_CONFIG --exists --print-errors "gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= $min_sigc_version $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl") 2>&5
10984
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 pangoft2 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= 2.0.12 \$ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl\""; } >&5
10985
($PKG_CONFIG --exists --print-errors "gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 pangoft2 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= 2.0.12 $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl") 2>&5
10830
10987
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10831
10988
test $ac_status = 0; }; then
10832
pkg_cv_INKSCAPE_CFLAGS=`$PKG_CONFIG --cflags "gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= $min_sigc_version $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl" 2>/dev/null`
10989
pkg_cv_INKSCAPE_CFLAGS=`$PKG_CONFIG --cflags "gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 pangoft2 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= 2.0.12 $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl" 2>/dev/null`
10833
10990
test "x$?" != "x0" && pkg_failed=yes
10835
10992
pkg_failed=yes
10841
10998
pkg_cv_INKSCAPE_LIBS="$INKSCAPE_LIBS"
10842
10999
elif test -n "$PKG_CONFIG"; then
10843
11000
if test -n "$PKG_CONFIG" && \
10844
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= \$min_sigc_version \$ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl\""; } >&5
10845
($PKG_CONFIG --exists --print-errors "gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= $min_sigc_version $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl") 2>&5
11001
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 pangoft2 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= 2.0.12 \$ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl\""; } >&5
11002
($PKG_CONFIG --exists --print-errors "gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 pangoft2 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= 2.0.12 $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl") 2>&5
10847
11004
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10848
11005
test $ac_status = 0; }; then
10849
pkg_cv_INKSCAPE_LIBS=`$PKG_CONFIG --libs "gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= $min_sigc_version $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl" 2>/dev/null`
11006
pkg_cv_INKSCAPE_LIBS=`$PKG_CONFIG --libs "gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 pangoft2 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= 2.0.12 $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl" 2>/dev/null`
10850
11007
test "x$?" != "x0" && pkg_failed=yes
10852
11009
pkg_failed=yes
10867
11024
_pkg_short_errors_supported=no
10869
11026
if test $_pkg_short_errors_supported = yes; then
10870
INKSCAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= $min_sigc_version $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl" 2>&1`
11027
INKSCAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 pangoft2 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= 2.0.12 $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl" 2>&1`
10872
INKSCAPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= $min_sigc_version $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl" 2>&1`
11029
INKSCAPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 pangoft2 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= 2.0.12 $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl" 2>&1`
10874
11031
# Put the nasty error message in config.log where it belongs
10875
11032
echo "$INKSCAPE_PKG_ERRORS" >&5
10877
as_fn_error $? "Package requirements (gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= $min_sigc_version $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl) were not met:
11034
as_fn_error $? "Package requirements (gdkmm-2.4 glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 pangoft2 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= 2.0.12 $ink_spell_pkg gthread-2.0 >= 2.0 libpng >= 1.2 gsl) were not met:
10879
11036
$INKSCAPE_PKG_ERRORS
13701
13865
# Extract the definition of DEPDIR, am__include, and am__quote
13702
# from the Makefile without running `make'.
13866
# from the Makefile without running 'make'.
13703
13867
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13704
13868
test -z "$DEPDIR" && continue
13705
13869
am__include=`sed -n 's/^am__include = //p' < "$mf"`
13706
test -z "am__include" && continue
13870
test -z "$am__include" && continue
13707
13871
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13708
# When using ansi2knr, U may be empty or an underscore; expand it
13709
U=`sed -n 's/^U = //p' < "$mf"`
13710
13872
# Find all dependency output files, they are included files with
13711
13873
# $(DEPDIR) in their names. We invoke sed twice because it is the
13712
13874
# simplest approach to changing $(DEPDIR) to its actual value in the
13714
13876
for file in `sed -n "
13715
13877
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13716
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13878
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13717
13879
# Make sure the directory exists.
13718
13880
test -f "$dirpart/$file" && continue
13719
13881
fdir=`$as_dirname -- "$file" ||