21623
# If possible, warn if C99isms are used
21626
for flag in '-Wdeclaration-after-statement'; do
21627
if test -z "$extra_warnings"; then
21628
extra_warnings_save_CFLAGS="$CFLAGS"
21629
CFLAGS="$CFLAGS $flag"
21630
{ echo "$as_me:$LINENO: checking whether $CC understands $flag" >&5
21631
echo $ECHO_N "checking whether $CC understands $flag... $ECHO_C" >&6; }
21632
cat >conftest.$ac_ext <<_ACEOF
21635
cat confdefs.h >>conftest.$ac_ext
21636
cat >>conftest.$ac_ext <<_ACEOF
21637
/* end confdefs.h. */
21647
rm -f conftest.$ac_objext
21648
if { (ac_try="$ac_compile"
21649
case "(($ac_try" in
21650
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21651
*) ac_try_echo=$ac_try;;
21653
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21654
(eval "$ac_compile") 2>conftest.er1
21656
grep -v '^ *+' conftest.er1 >conftest.err
21658
cat conftest.err >&5
21659
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21660
(exit $ac_status); } && {
21661
test -z "$ac_c_werror_flag" ||
21662
test ! -s conftest.err
21663
} && test -s conftest.$ac_objext; then
21664
extra_warnings_works=yes
21666
echo "$as_me: failed program was:" >&5
21667
sed 's/^/| /' conftest.$ac_ext >&5
21669
extra_warnings_works=no
21672
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21673
{ echo "$as_me:$LINENO: result: $extra_warnings_works" >&5
21674
echo "${ECHO_T}$extra_warnings_works" >&6; }
21675
CFLAGS="$extra_warnings_save_CFLAGS"
21676
if test "x$extra_warnings_works" = "xyes"; then
21677
extra_warnings="$flag"
21682
CFLAGS="$CFLAGS $extra_warnings"
21686
for flag in '-Wmissing-prototypes'; do
21687
if test -z "$extra_warnings"; then
21688
extra_warnings_save_CFLAGS="$CFLAGS"
21689
CFLAGS="$CFLAGS $flag"
21690
{ echo "$as_me:$LINENO: checking whether $CC understands $flag" >&5
21691
echo $ECHO_N "checking whether $CC understands $flag... $ECHO_C" >&6; }
21692
cat >conftest.$ac_ext <<_ACEOF
21695
cat confdefs.h >>conftest.$ac_ext
21696
cat >>conftest.$ac_ext <<_ACEOF
21697
/* end confdefs.h. */
21707
rm -f conftest.$ac_objext
21708
if { (ac_try="$ac_compile"
21709
case "(($ac_try" in
21710
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21711
*) ac_try_echo=$ac_try;;
21713
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21714
(eval "$ac_compile") 2>conftest.er1
21716
grep -v '^ *+' conftest.er1 >conftest.err
21718
cat conftest.err >&5
21719
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720
(exit $ac_status); } && {
21721
test -z "$ac_c_werror_flag" ||
21722
test ! -s conftest.err
21723
} && test -s conftest.$ac_objext; then
21724
extra_warnings_works=yes
21726
echo "$as_me: failed program was:" >&5
21727
sed 's/^/| /' conftest.$ac_ext >&5
21729
extra_warnings_works=no
21732
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21733
{ echo "$as_me:$LINENO: result: $extra_warnings_works" >&5
21734
echo "${ECHO_T}$extra_warnings_works" >&6; }
21735
CFLAGS="$extra_warnings_save_CFLAGS"
21736
if test "x$extra_warnings_works" = "xyes"; then
21737
extra_warnings="$flag"
21742
CFLAGS="$CFLAGS $extra_warnings"
21746
for flag in '-Wmissing-declarations'; do
21747
if test -z "$extra_warnings"; then
21748
extra_warnings_save_CFLAGS="$CFLAGS"
21749
CFLAGS="$CFLAGS $flag"
21750
{ echo "$as_me:$LINENO: checking whether $CC understands $flag" >&5
21751
echo $ECHO_N "checking whether $CC understands $flag... $ECHO_C" >&6; }
21752
cat >conftest.$ac_ext <<_ACEOF
21755
cat confdefs.h >>conftest.$ac_ext
21756
cat >>conftest.$ac_ext <<_ACEOF
21757
/* end confdefs.h. */
21767
rm -f conftest.$ac_objext
21768
if { (ac_try="$ac_compile"
21769
case "(($ac_try" in
21770
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21771
*) ac_try_echo=$ac_try;;
21773
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21774
(eval "$ac_compile") 2>conftest.er1
21776
grep -v '^ *+' conftest.er1 >conftest.err
21778
cat conftest.err >&5
21779
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780
(exit $ac_status); } && {
21781
test -z "$ac_c_werror_flag" ||
21782
test ! -s conftest.err
21783
} && test -s conftest.$ac_objext; then
21784
extra_warnings_works=yes
21786
echo "$as_me: failed program was:" >&5
21787
sed 's/^/| /' conftest.$ac_ext >&5
21789
extra_warnings_works=no
21792
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21793
{ echo "$as_me:$LINENO: result: $extra_warnings_works" >&5
21794
echo "${ECHO_T}$extra_warnings_works" >&6; }
21795
CFLAGS="$extra_warnings_save_CFLAGS"
21796
if test "x$extra_warnings_works" = "xyes"; then
21797
extra_warnings="$flag"
21802
CFLAGS="$CFLAGS $extra_warnings"
21806
for flag in '-Winit-self'; do
21807
if test -z "$extra_warnings"; then
21808
extra_warnings_save_CFLAGS="$CFLAGS"
21809
CFLAGS="$CFLAGS $flag"
21810
{ echo "$as_me:$LINENO: checking whether $CC understands $flag" >&5
21811
echo $ECHO_N "checking whether $CC understands $flag... $ECHO_C" >&6; }
21812
cat >conftest.$ac_ext <<_ACEOF
21815
cat confdefs.h >>conftest.$ac_ext
21816
cat >>conftest.$ac_ext <<_ACEOF
21817
/* end confdefs.h. */
21827
rm -f conftest.$ac_objext
21828
if { (ac_try="$ac_compile"
21829
case "(($ac_try" in
21830
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21831
*) ac_try_echo=$ac_try;;
21833
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21834
(eval "$ac_compile") 2>conftest.er1
21836
grep -v '^ *+' conftest.er1 >conftest.err
21838
cat conftest.err >&5
21839
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840
(exit $ac_status); } && {
21841
test -z "$ac_c_werror_flag" ||
21842
test ! -s conftest.err
21843
} && test -s conftest.$ac_objext; then
21844
extra_warnings_works=yes
21846
echo "$as_me: failed program was:" >&5
21847
sed 's/^/| /' conftest.$ac_ext >&5
21849
extra_warnings_works=no
21852
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21853
{ echo "$as_me:$LINENO: result: $extra_warnings_works" >&5
21854
echo "${ECHO_T}$extra_warnings_works" >&6; }
21855
CFLAGS="$extra_warnings_save_CFLAGS"
21856
if test "x$extra_warnings_works" = "xyes"; then
21857
extra_warnings="$flag"
21862
CFLAGS="$CFLAGS $extra_warnings"
21866
for flag in '-Wpointer-arith'; do
21867
if test -z "$extra_warnings"; then
21868
extra_warnings_save_CFLAGS="$CFLAGS"
21869
CFLAGS="$CFLAGS $flag"
21870
{ echo "$as_me:$LINENO: checking whether $CC understands $flag" >&5
21871
echo $ECHO_N "checking whether $CC understands $flag... $ECHO_C" >&6; }
21872
cat >conftest.$ac_ext <<_ACEOF
21875
cat confdefs.h >>conftest.$ac_ext
21876
cat >>conftest.$ac_ext <<_ACEOF
21877
/* end confdefs.h. */
21887
rm -f conftest.$ac_objext
21888
if { (ac_try="$ac_compile"
21889
case "(($ac_try" in
21890
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21891
*) ac_try_echo=$ac_try;;
21893
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21894
(eval "$ac_compile") 2>conftest.er1
21896
grep -v '^ *+' conftest.er1 >conftest.err
21898
cat conftest.err >&5
21899
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900
(exit $ac_status); } && {
21901
test -z "$ac_c_werror_flag" ||
21902
test ! -s conftest.err
21903
} && test -s conftest.$ac_objext; then
21904
extra_warnings_works=yes
21906
echo "$as_me: failed program was:" >&5
21907
sed 's/^/| /' conftest.$ac_ext >&5
21909
extra_warnings_works=no
21912
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21913
{ echo "$as_me:$LINENO: result: $extra_warnings_works" >&5
21914
echo "${ECHO_T}$extra_warnings_works" >&6; }
21915
CFLAGS="$extra_warnings_save_CFLAGS"
21916
if test "x$extra_warnings_works" = "xyes"; then
21917
extra_warnings="$flag"
21922
CFLAGS="$CFLAGS $extra_warnings"
22271
21925
# Ensure MSVC-compatible struct packing convention is used when
22272
21926
# compiling for Win32 with gcc.
22273
21927
# What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
23422
# Check whether --enable-binreloc was given.
23423
if test "${enable_binreloc+set}" = set; then
23424
enableval=$enable_binreloc; enable_binreloc=$enableval
23430
# Check whether --enable-binreloc-threads was given.
23431
if test "${enable_binreloc_threads+set}" = set; then
23432
enableval=$enable_binreloc_threads; enable_binreloc_threads=$enableval
23434
enable_binreloc_threads=yes
23440
if test "x$enable_binreloc" = "xauto"; then
23441
{ echo "$as_me:$LINENO: checking for /proc/self/maps" >&5
23442
echo $ECHO_N "checking for /proc/self/maps... $ECHO_C" >&6; }
23443
if test "${ac_cv_file__proc_self_maps+set}" = set; then
23444
echo $ECHO_N "(cached) $ECHO_C" >&6
23446
test "$cross_compiling" = yes &&
23447
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
23448
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
23449
{ (exit 1); exit 1; }; }
23450
if test -r "/proc/self/maps"; then
23451
ac_cv_file__proc_self_maps=yes
23453
ac_cv_file__proc_self_maps=no
23456
{ echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_maps" >&5
23457
echo "${ECHO_T}$ac_cv_file__proc_self_maps" >&6; }
23459
{ echo "$as_me:$LINENO: checking whether everything is installed to the same prefix" >&5
23460
echo $ECHO_N "checking whether everything is installed to the same prefix... $ECHO_C" >&6; }
23461
if test "${br_cv_valid_prefixes+set}" = set; then
23462
echo $ECHO_N "(cached) $ECHO_C" >&6
23465
if test "$bindir" = '${exec_prefix}/bin' -a "$sbindir" = '${exec_prefix}/sbin' -a \
23466
"$datadir" = '${prefix}/share' -a "$libdir" = '${exec_prefix}/lib' -a \
23467
"$libexecdir" = '${exec_prefix}/libexec' -a "$sysconfdir" = '${prefix}/etc'
23469
br_cv_valid_prefixes=yes
23471
br_cv_valid_prefixes=no
23475
{ echo "$as_me:$LINENO: result: $br_cv_valid_prefixes" >&5
23476
echo "${ECHO_T}$br_cv_valid_prefixes" >&6; }
23478
{ echo "$as_me:$LINENO: checking whether binary relocation support should be enabled" >&5
23479
echo $ECHO_N "checking whether binary relocation support should be enabled... $ECHO_C" >&6; }
23480
if test "${br_cv_binreloc+set}" = set; then
23481
echo $ECHO_N "(cached) $ECHO_C" >&6
23483
if test "x$enable_binreloc" = "xyes"; then
23485
elif test "x$enable_binreloc" = "xauto"; then
23486
if test "x$br_cv_valid_prefixes" = "xyes" -a \
23487
"x$ac_cv_file__proc_self_maps" = "xyes"; then
23496
{ echo "$as_me:$LINENO: result: $br_cv_binreloc" >&5
23497
echo "${ECHO_T}$br_cv_binreloc" >&6; }
23499
if test "x$br_cv_binreloc" = "xyes"; then
23500
BINRELOC_CFLAGS="-DENABLE_BINRELOC"
23501
if test "x$enable_binreloc_threads" = "xyes"; then
23503
{ echo "$as_me:$LINENO: checking for pthread_getspecific in -lpthread" >&5
23504
echo $ECHO_N "checking for pthread_getspecific in -lpthread... $ECHO_C" >&6; }
23505
if test "${ac_cv_lib_pthread_pthread_getspecific+set}" = set; then
23506
echo $ECHO_N "(cached) $ECHO_C" >&6
23508
ac_check_lib_save_LIBS=$LIBS
23509
LIBS="-lpthread $LIBS"
23510
cat >conftest.$ac_ext <<_ACEOF
23513
cat confdefs.h >>conftest.$ac_ext
23514
cat >>conftest.$ac_ext <<_ACEOF
23515
/* end confdefs.h. */
23517
/* Override any GCC internal prototype to avoid an error.
23518
Use char because int might match the return type of a GCC
23519
builtin and then its argument prototype would still apply. */
23523
char pthread_getspecific ();
23527
return pthread_getspecific ();
23532
rm -f conftest.$ac_objext conftest$ac_exeext
23533
if { (ac_try="$ac_link"
23534
case "(($ac_try" in
23535
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23536
*) ac_try_echo=$ac_try;;
23538
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23539
(eval "$ac_link") 2>conftest.er1
23541
grep -v '^ *+' conftest.er1 >conftest.err
23543
cat conftest.err >&5
23544
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545
(exit $ac_status); } && {
23546
test -z "$ac_c_werror_flag" ||
23547
test ! -s conftest.err
23548
} && test -s conftest$ac_exeext &&
23549
$as_test_x conftest$ac_exeext; then
23550
ac_cv_lib_pthread_pthread_getspecific=yes
23552
echo "$as_me: failed program was:" >&5
23553
sed 's/^/| /' conftest.$ac_ext >&5
23555
ac_cv_lib_pthread_pthread_getspecific=no
23558
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23559
conftest$ac_exeext conftest.$ac_ext
23560
LIBS=$ac_check_lib_save_LIBS
23562
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_getspecific" >&5
23563
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_getspecific" >&6; }
23564
if test $ac_cv_lib_pthread_pthread_getspecific = yes; then
23565
cat >>confdefs.h <<_ACEOF
23566
#define HAVE_LIBPTHREAD 1
23569
LIBS="-lpthread $LIBS"
23575
{ echo "$as_me:$LINENO: checking whether binary relocation should use threads" >&5
23576
echo $ECHO_N "checking whether binary relocation should use threads... $ECHO_C" >&6; }
23577
if test "${br_cv_binreloc_threads+set}" = set; then
23578
echo $ECHO_N "(cached) $ECHO_C" >&6
23580
if test "x$enable_binreloc_threads" = "xyes"; then
23581
if test "x$ac_cv_lib_pthread_pthread_getspecific" = "xyes"; then
23582
br_cv_binreloc_threads=yes
23584
br_cv_binreloc_threads=no
23587
br_cv_binreloc_threads=no
23590
{ echo "$as_me:$LINENO: result: $br_cv_binreloc_threads" >&5
23591
echo "${ECHO_T}$br_cv_binreloc_threads" >&6; }
23593
if test "x$br_cv_binreloc_threads" = "xyes"; then
23594
BINRELOC_LIBS="-lpthread"
23596
BINRELOC_CFLAGS="$BINRELOC_CFLAGS -DBR_PTHREADS=0"
23603
if test x$br_cv_binreloc = xyes; then
23605
USE_BINRELOC_FALSE='#'
23607
USE_BINRELOC_TRUE='#'
23608
USE_BINRELOC_FALSE=
23614
# _NL_MEASUREMENT_MEASUREMENT is an enum and not a define
23615
{ echo "$as_me:$LINENO: checking for _NL_MEASUREMENT_MEASUREMENT" >&5
23616
echo $ECHO_N "checking for _NL_MEASUREMENT_MEASUREMENT... $ECHO_C" >&6; }
23617
cat >conftest.$ac_ext <<_ACEOF
23620
cat confdefs.h >>conftest.$ac_ext
23621
cat >>conftest.$ac_ext <<_ACEOF
23622
/* end confdefs.h. */
23623
#include <langinfo.h>
23628
char c = *((unsigned char *) nl_langinfo(_NL_MEASUREMENT_MEASUREMENT));
23634
rm -f conftest.$ac_objext conftest$ac_exeext
23635
if { (ac_try="$ac_link"
23636
case "(($ac_try" in
23637
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23638
*) ac_try_echo=$ac_try;;
23640
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23641
(eval "$ac_link") 2>conftest.er1
23643
grep -v '^ *+' conftest.er1 >conftest.err
23645
cat conftest.err >&5
23646
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647
(exit $ac_status); } && {
23648
test -z "$ac_c_werror_flag" ||
23649
test ! -s conftest.err
23650
} && test -s conftest$ac_exeext &&
23651
$as_test_x conftest$ac_exeext; then
23654
echo "$as_me: failed program was:" >&5
23655
sed 's/^/| /' conftest.$ac_ext >&5
23660
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23661
conftest$ac_exeext conftest.$ac_ext
23662
{ echo "$as_me:$LINENO: result: $nl_ok" >&5
23663
echo "${ECHO_T}$nl_ok" >&6; }
23664
if test "$nl_ok" = "yes"; then
23666
cat >>confdefs.h <<\_ACEOF
23667
#define HAVE__NL_MEASUREMENT_MEASUREMENT 1
24025
23673
######################
24026
23674
# Internationalisation
24027
23675
######################
24029
ALL_LINGUAS="bg ca cs da de el en_CA en_GB es eu fi fr ga gl he hu hr id it ja ko lt mk ms nb nl no pa pl pt pt_BR ro ru sk sr sr@Latn sv tr uk vi yi zh_CN zh_TW"
23677
ALL_LINGUAS="ar bg ca cs da de dz el en_CA en_GB eo es et eu fi fr ga gl gu he hu hr id it ja km ko lt mk ms nb ne nl pa pl pt pt_BR ro ru rw sk sr sr@Latn sv tr tt uk vi xh yi zh_CN zh_TW"
24032
23680
case "$am__api_version" in
24332
23980
# Substitute ALL_LINGUAS so we can use it in po/Makefile
23983
# Set DATADIRNAME correctly if it is not set yet
23984
# (copied from glib-gettext.m4)
23985
if test -z "$DATADIRNAME"; then
23986
cat >conftest.$ac_ext <<_ACEOF
23989
cat confdefs.h >>conftest.$ac_ext
23990
cat >>conftest.$ac_ext <<_ACEOF
23991
/* end confdefs.h. */
23996
extern int _nl_msg_cat_cntr;
23997
return _nl_msg_cat_cntr
24002
rm -f conftest.$ac_objext conftest$ac_exeext
24003
if { (ac_try="$ac_link"
24004
case "(($ac_try" in
24005
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24006
*) ac_try_echo=$ac_try;;
24008
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24009
(eval "$ac_link") 2>conftest.er1
24011
grep -v '^ *+' conftest.er1 >conftest.err
24013
cat conftest.err >&5
24014
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24015
(exit $ac_status); } && {
24016
test -z "$ac_c_werror_flag" ||
24017
test ! -s conftest.err
24018
} && test -s conftest$ac_exeext &&
24019
$as_test_x conftest$ac_exeext; then
24022
echo "$as_me: failed program was:" >&5
24023
sed 's/^/| /' conftest.$ac_ext >&5
24027
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
24028
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
24029
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
24030
echo $ECHO_N "(cached) $ECHO_C" >&6
24032
cat >conftest.$ac_ext <<_ACEOF
24035
cat confdefs.h >>conftest.$ac_ext
24036
cat >>conftest.$ac_ext <<_ACEOF
24037
/* end confdefs.h. */
24038
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
24039
For example, HP-UX 11i <limits.h> declares gettimeofday. */
24040
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
24042
/* System header to define __stub macros and hopefully few prototypes,
24043
which can conflict with char bind_textdomain_codeset (); below.
24044
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24045
<limits.h> exists even on freestanding compilers. */
24048
# include <limits.h>
24050
# include <assert.h>
24053
#undef bind_textdomain_codeset
24055
/* Override any GCC internal prototype to avoid an error.
24056
Use char because int might match the return type of a GCC
24057
builtin and then its argument prototype would still apply. */
24061
char bind_textdomain_codeset ();
24062
/* The GNU C library defines this for functions which it implements
24063
to always fail with ENOSYS. Some functions are actually named
24064
something starting with __ and the normal name is an alias. */
24065
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
24072
return bind_textdomain_codeset ();
24077
rm -f conftest.$ac_objext conftest$ac_exeext
24078
if { (ac_try="$ac_link"
24079
case "(($ac_try" in
24080
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24081
*) ac_try_echo=$ac_try;;
24083
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24084
(eval "$ac_link") 2>conftest.er1
24086
grep -v '^ *+' conftest.er1 >conftest.err
24088
cat conftest.err >&5
24089
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24090
(exit $ac_status); } && {
24091
test -z "$ac_c_werror_flag" ||
24092
test ! -s conftest.err
24093
} && test -s conftest$ac_exeext &&
24094
$as_test_x conftest$ac_exeext; then
24095
ac_cv_func_bind_textdomain_codeset=yes
24097
echo "$as_me: failed program was:" >&5
24098
sed 's/^/| /' conftest.$ac_ext >&5
24100
ac_cv_func_bind_textdomain_codeset=no
24103
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24104
conftest$ac_exeext conftest.$ac_ext
24106
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
24107
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
24108
if test $ac_cv_func_bind_textdomain_codeset = yes; then
24121
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24122
conftest$ac_exeext conftest.$ac_ext
25737
if test -z "$ac_cv_path_PKG_CONFIG"; then
25738
ac_pt_PKG_CONFIG=$PKG_CONFIG
25739
# Extract the first word of "pkg-config", so it can be a program name with args.
25740
set dummy pkg-config; ac_word=$2
25741
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25742
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25743
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
25744
echo $ECHO_N "(cached) $ECHO_C" >&6
25746
case $ac_pt_PKG_CONFIG in
25748
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25751
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25752
for as_dir in $PATH
25755
test -z "$as_dir" && as_dir=.
25756
for ac_exec_ext in '' $ac_executable_extensions; do
25757
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25758
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25759
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25769
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25770
if test -n "$ac_pt_PKG_CONFIG"; then
25771
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
25772
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
25774
{ echo "$as_me:$LINENO: result: no" >&5
25775
echo "${ECHO_T}no" >&6; }
25778
if test "x$ac_pt_PKG_CONFIG" = x; then
25781
case $cross_compiling:$ac_tool_warned in
25783
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
25784
whose name does not start with the host triplet. If you think this
25785
configuration is useful to you, please write to autoconf@gnu.org." >&5
25786
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
25787
whose name does not start with the host triplet. If you think this
25788
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
25789
ac_tool_warned=yes ;;
25791
PKG_CONFIG=$ac_pt_PKG_CONFIG
25794
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25798
if test -n "$PKG_CONFIG"; then
25799
_pkg_min_version=0.7
25800
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
25801
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
25802
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25803
{ echo "$as_me:$LINENO: result: yes" >&5
25804
echo "${ECHO_T}yes" >&6; }
25806
{ echo "$as_me:$LINENO: result: no" >&5
25807
echo "${ECHO_T}no" >&6; }
26172
if test x$PKG_CONFIG != xno ; then
26173
if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
26176
echo *** pkg-config too old; version 0.7 or better required.
25815
if test "x$PKG_CONFIG" = x ; then
26184
min_glib_version=2.4.5
25820
min_glib_version=2.12.3
26185
25821
{ echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
26186
25822
echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6; }
26453
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26454
if test -n "$ac_tool_prefix"; then
26455
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26456
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26457
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26458
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26459
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26460
echo $ECHO_N "(cached) $ECHO_C" >&6
26462
case $PKG_CONFIG in
26464
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26467
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26468
for as_dir in $PATH
26471
test -z "$as_dir" && as_dir=.
26472
for ac_exec_ext in '' $ac_executable_extensions; do
26473
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26474
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26475
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26485
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26486
if test -n "$PKG_CONFIG"; then
26487
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26488
echo "${ECHO_T}$PKG_CONFIG" >&6; }
26490
{ echo "$as_me:$LINENO: result: no" >&5
26491
echo "${ECHO_T}no" >&6; }
26496
if test -z "$ac_cv_path_PKG_CONFIG"; then
26497
ac_pt_PKG_CONFIG=$PKG_CONFIG
26498
# Extract the first word of "pkg-config", so it can be a program name with args.
26499
set dummy pkg-config; ac_word=$2
26500
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26501
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26502
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
26503
echo $ECHO_N "(cached) $ECHO_C" >&6
26505
case $ac_pt_PKG_CONFIG in
26507
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26510
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26511
for as_dir in $PATH
26514
test -z "$as_dir" && as_dir=.
26515
for ac_exec_ext in '' $ac_executable_extensions; do
26516
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26517
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26518
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26528
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26529
if test -n "$ac_pt_PKG_CONFIG"; then
26530
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
26531
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
26533
{ echo "$as_me:$LINENO: result: no" >&5
26534
echo "${ECHO_T}no" >&6; }
26537
if test "x$ac_pt_PKG_CONFIG" = x; then
26540
case $cross_compiling:$ac_tool_warned in
26542
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
26543
whose name does not start with the host triplet. If you think this
26544
configuration is useful to you, please write to autoconf@gnu.org." >&5
26545
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
26546
whose name does not start with the host triplet. If you think this
26547
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
26548
ac_tool_warned=yes ;;
26550
PKG_CONFIG=$ac_pt_PKG_CONFIG
26553
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26557
if test -n "$PKG_CONFIG"; then
26558
_pkg_min_version=0.9.0
26559
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
26560
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
26561
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26562
{ echo "$as_me:$LINENO: result: yes" >&5
26563
echo "${ECHO_T}yes" >&6; }
26565
{ echo "$as_me:$LINENO: result: no" >&5
26566
echo "${ECHO_T}no" >&6; }
26572
26072
pkg_failed=no
26573
{ echo "$as_me:$LINENO: checking for GMODULE" >&5
26574
echo $ECHO_N "checking for GMODULE... $ECHO_C" >&6; }
26073
{ echo "$as_me:$LINENO: checking for GMODULE_NO_EXPORT" >&5
26074
echo $ECHO_N "checking for GMODULE_NO_EXPORT... $ECHO_C" >&6; }
26576
26076
if test -n "$PKG_CONFIG"; then
26577
if test -n "$GMODULE_CFLAGS"; then
26578
pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
26077
if test -n "$GMODULE_NO_EXPORT_CFLAGS"; then
26078
pkg_cv_GMODULE_NO_EXPORT_CFLAGS="$GMODULE_NO_EXPORT_CFLAGS"
26580
26080
if test -n "$PKG_CONFIG" && \
26581
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 gobject-2.0\"") >&5
26582
($PKG_CONFIG --exists --print-errors "gmodule-2.0 gobject-2.0") 2>&5
26081
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gmodule-no-export-2.0\"") >&5
26082
($PKG_CONFIG --exists --print-errors "gmodule-no-export-2.0") 2>&5
26584
26084
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585
26085
(exit $ac_status); }; then
26586
pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0 gobject-2.0" 2>/dev/null`
26086
pkg_cv_GMODULE_NO_EXPORT_CFLAGS=`$PKG_CONFIG --cflags "gmodule-no-export-2.0" 2>/dev/null`
26588
26088
pkg_failed=yes
30845
29771
if test "x$enable_altivec" = xyes; then
30847
{ echo "$as_me:$LINENO: checking whether we can compile Altivec code" >&5
30848
echo $ECHO_N "checking whether we can compile Altivec code... $ECHO_C" >&6; }
30850
cat >conftest.$ac_ext <<_ACEOF
29775
for flag in '-faltivec' '-maltivec -mabi=altivec'; do
29776
if test -z "$altivec_flag"; then
29777
altivec_flag_save_CFLAGS="$CFLAGS"
29778
CFLAGS="$CFLAGS $flag"
29779
{ echo "$as_me:$LINENO: checking whether $CC understands $flag" >&5
29780
echo $ECHO_N "checking whether $CC understands $flag... $ECHO_C" >&6; }
29781
cat >conftest.$ac_ext <<_ACEOF
29784
cat confdefs.h >>conftest.$ac_ext
29785
cat >>conftest.$ac_ext <<_ACEOF
29786
/* end confdefs.h. */
29796
rm -f conftest.$ac_objext
29797
if { (ac_try="$ac_compile"
29798
case "(($ac_try" in
29799
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29800
*) ac_try_echo=$ac_try;;
29802
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29803
(eval "$ac_compile") 2>conftest.er1
29805
grep -v '^ *+' conftest.er1 >conftest.err
29807
cat conftest.err >&5
29808
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809
(exit $ac_status); } && {
29810
test -z "$ac_c_werror_flag" ||
29811
test ! -s conftest.err
29812
} && test -s conftest.$ac_objext; then
29813
altivec_flag_works=yes
29815
echo "$as_me: failed program was:" >&5
29816
sed 's/^/| /' conftest.$ac_ext >&5
29818
altivec_flag_works=no
29821
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29822
{ echo "$as_me:$LINENO: result: $altivec_flag_works" >&5
29823
echo "${ECHO_T}$altivec_flag_works" >&6; }
29824
CFLAGS="$altivec_flag_save_CFLAGS"
29825
if test "x$altivec_flag_works" = "xyes"; then
29826
altivec_flag="$flag"
29832
ALTIVEC_EXTRA_CFLAGS=
29833
case "$altivec_flag" in
29835
altivec_save_CPPFLAGS="$CPPFLAGS"
29836
CPPFLAGS="$altivec_save_CPPFLAGS $altivec_flag"
29838
for ac_header in altivec.h
29840
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29841
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29842
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
29843
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29844
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29845
echo $ECHO_N "(cached) $ECHO_C" >&6
29847
ac_res=`eval echo '${'$as_ac_Header'}'`
29848
{ echo "$as_me:$LINENO: result: $ac_res" >&5
29849
echo "${ECHO_T}$ac_res" >&6; }
29851
# Is the header compilable?
29852
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
29853
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
29854
cat >conftest.$ac_ext <<_ACEOF
29857
cat confdefs.h >>conftest.$ac_ext
29858
cat >>conftest.$ac_ext <<_ACEOF
29859
/* end confdefs.h. */
29860
$ac_includes_default
29861
#include <$ac_header>
29863
rm -f conftest.$ac_objext
29864
if { (ac_try="$ac_compile"
29865
case "(($ac_try" in
29866
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29867
*) ac_try_echo=$ac_try;;
29869
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29870
(eval "$ac_compile") 2>conftest.er1
29872
grep -v '^ *+' conftest.er1 >conftest.err
29874
cat conftest.err >&5
29875
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29876
(exit $ac_status); } && {
29877
test -z "$ac_c_werror_flag" ||
29878
test ! -s conftest.err
29879
} && test -s conftest.$ac_objext; then
29880
ac_header_compiler=yes
29882
echo "$as_me: failed program was:" >&5
29883
sed 's/^/| /' conftest.$ac_ext >&5
29885
ac_header_compiler=no
29888
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29889
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29890
echo "${ECHO_T}$ac_header_compiler" >&6; }
29892
# Is the header present?
29893
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
29894
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
29895
cat >conftest.$ac_ext <<_ACEOF
29898
cat confdefs.h >>conftest.$ac_ext
29899
cat >>conftest.$ac_ext <<_ACEOF
29900
/* end confdefs.h. */
29901
#include <$ac_header>
29903
if { (ac_try="$ac_cpp conftest.$ac_ext"
29904
case "(($ac_try" in
29905
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29906
*) ac_try_echo=$ac_try;;
29908
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29909
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29911
grep -v '^ *+' conftest.er1 >conftest.err
29913
cat conftest.err >&5
29914
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29915
(exit $ac_status); } >/dev/null && {
29916
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29917
test ! -s conftest.err
29919
ac_header_preproc=yes
29921
echo "$as_me: failed program was:" >&5
29922
sed 's/^/| /' conftest.$ac_ext >&5
29924
ac_header_preproc=no
29927
rm -f conftest.err conftest.$ac_ext
29928
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29929
echo "${ECHO_T}$ac_header_preproc" >&6; }
29931
# So? What about this header?
29932
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29934
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29935
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29936
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29937
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29938
ac_header_preproc=yes
29941
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29942
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29943
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29944
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29945
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29946
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29947
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29948
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29949
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29950
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29951
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29952
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29954
## ------------------------------------------------------------------- ##
29955
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP ##
29956
## ------------------------------------------------------------------- ##
29958
) | sed "s/^/$as_me: WARNING: /" >&2
29961
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
29962
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29963
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29964
echo $ECHO_N "(cached) $ECHO_C" >&6
29966
eval "$as_ac_Header=\$ac_header_preproc"
29968
ac_res=`eval echo '${'$as_ac_Header'}'`
29969
{ echo "$as_me:$LINENO: result: $ac_res" >&5
29970
echo "${ECHO_T}$ac_res" >&6; }
29973
if test `eval echo '${'$as_ac_Header'}'` = yes; then
29974
cat >>confdefs.h <<_ACEOF
29975
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29977
ALTIVEC_EXTRA_CFLAGS="$altivec_flag"
29982
CPPFLAGS="$altivec_save_CPPFLAGS"
29985
ALTIVEC_EXTRA_CFLAGS="$altivec_flag"
29990
{ echo "$as_me:$LINENO: checking whether we can compile AltiVec code" >&5
29991
echo $ECHO_N "checking whether we can compile AltiVec code... $ECHO_C" >&6; }
29994
if test -z "$ALTIVEC_EXTRA_CFLAGS"; then
29995
{ echo "$as_me:$LINENO: result: no" >&5
29996
echo "${ECHO_T}no" >&6; }
29997
{ echo "$as_me:$LINENO: WARNING: The compiler does not support the AltiVec command set." >&5
29998
echo "$as_me: WARNING: The compiler does not support the AltiVec command set." >&2;}
30000
case "$target_or_host" in
30002
can_use_altivec=yes
30004
cat >>confdefs.h <<\_ACEOF
30005
#define HAVE_ALTIVEC_SYSCTL 1
30010
cat >conftest.$ac_ext <<_ACEOF
30851
30011
asm ("vand %v0, %v0, %v0");
30853
30013
rm -f conftest.$ac_objext
31952
30980
# Threads and multi processor
31953
30981
#############################
31960
30983
# Check whether --enable-mp was given.
31961
30984
if test "${enable_mp+set}" = set; then
31962
30985
enableval=$enable_mp;
31965
if test "x$enable_mp" = "xyes"; then
31966
{ echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5
31967
echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6; }
31968
if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then
31969
echo $ECHO_N "(cached) $ECHO_C" >&6
31971
ac_check_lib_save_LIBS=$LIBS
31972
LIBS="-lpthread $LIBS"
31973
cat >conftest.$ac_ext <<_ACEOF
31976
cat confdefs.h >>conftest.$ac_ext
31977
cat >>conftest.$ac_ext <<_ACEOF
31978
/* end confdefs.h. */
31980
/* Override any GCC internal prototype to avoid an error.
31981
Use char because int might match the return type of a GCC
31982
builtin and then its argument prototype would still apply. */
31986
char pthread_attr_init ();
31990
return pthread_attr_init ();
31995
rm -f conftest.$ac_objext conftest$ac_exeext
31996
if { (ac_try="$ac_link"
31997
case "(($ac_try" in
31998
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31999
*) ac_try_echo=$ac_try;;
32001
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32002
(eval "$ac_link") 2>conftest.er1
32004
grep -v '^ *+' conftest.er1 >conftest.err
32006
cat conftest.err >&5
32007
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32008
(exit $ac_status); } &&
32009
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32010
{ (case "(($ac_try" in
32011
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32012
*) ac_try_echo=$ac_try;;
32014
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32015
(eval "$ac_try") 2>&5
32017
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32018
(exit $ac_status); }; } &&
32019
{ ac_try='test -s conftest$ac_exeext'
32020
{ (case "(($ac_try" in
32021
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32022
*) ac_try_echo=$ac_try;;
32024
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32025
(eval "$ac_try") 2>&5
32027
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32028
(exit $ac_status); }; }; then
32029
ac_cv_lib_pthread_pthread_attr_init=yes
32031
echo "$as_me: failed program was:" >&5
32032
sed 's/^/| /' conftest.$ac_ext >&5
32034
ac_cv_lib_pthread_pthread_attr_init=no
32037
rm -f core conftest.err conftest.$ac_objext \
32038
conftest$ac_exeext conftest.$ac_ext
32039
LIBS=$ac_check_lib_save_LIBS
32041
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
32042
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6; }
32043
if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
30988
if test "x$enable_mp" != "xno"; then
30991
{ echo "$as_me:$LINENO: checking for GTHREAD" >&5
30992
echo $ECHO_N "checking for GTHREAD... $ECHO_C" >&6; }
30994
if test -n "$PKG_CONFIG"; then
30995
if test -n "$GTHREAD_CFLAGS"; then
30996
pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
30998
if test -n "$PKG_CONFIG" && \
30999
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\"") >&5
31000
($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
31002
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31003
(exit $ac_status); }; then
31004
pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
31012
if test -n "$PKG_CONFIG"; then
31013
if test -n "$GTHREAD_LIBS"; then
31014
pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
31016
if test -n "$PKG_CONFIG" && \
31017
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\"") >&5
31018
($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
31020
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021
(exit $ac_status); }; then
31022
pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
31033
if test $pkg_failed = yes; then
31035
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31036
_pkg_short_errors_supported=yes
31038
_pkg_short_errors_supported=no
31040
if test $_pkg_short_errors_supported = yes; then
31041
GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread-2.0"`
31043
GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0"`
31045
# Put the nasty error message in config.log where it belongs
31046
echo "$GTHREAD_PKG_ERRORS" >&5
31048
{ { echo "$as_me:$LINENO: error: Package requirements (gthread-2.0) were not met:
31050
$GTHREAD_PKG_ERRORS
31052
Consider adjusting the PKG_CONFIG_PATH environment variable if you
31053
installed software in a non-standard prefix.
31055
Alternatively, you may set the environment variables GTHREAD_CFLAGS
31056
and GTHREAD_LIBS to avoid the need to call pkg-config.
31057
See the pkg-config man page for more details.
31059
echo "$as_me: error: Package requirements (gthread-2.0) were not met:
31061
$GTHREAD_PKG_ERRORS
31063
Consider adjusting the PKG_CONFIG_PATH environment variable if you
31064
installed software in a non-standard prefix.
31066
Alternatively, you may set the environment variables GTHREAD_CFLAGS
31067
and GTHREAD_LIBS to avoid the need to call pkg-config.
31068
See the pkg-config man page for more details.
31070
{ (exit 1); exit 1; }; }
31071
elif test $pkg_failed = untried; then
31072
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
31073
is in your PATH or set the PKG_CONFIG environment variable to the full
31074
path to pkg-config.
31076
Alternatively, you may set the environment variables GTHREAD_CFLAGS
31077
and GTHREAD_LIBS to avoid the need to call pkg-config.
31078
See the pkg-config man page for more details.
31080
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
31081
See \`config.log' for more details." >&5
31082
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
31083
is in your PATH or set the PKG_CONFIG environment variable to the full
31084
path to pkg-config.
31086
Alternatively, you may set the environment variables GTHREAD_CFLAGS
31087
and GTHREAD_LIBS to avoid the need to call pkg-config.
31088
See the pkg-config man page for more details.
31090
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
31091
See \`config.log' for more details." >&2;}
31092
{ (exit 1); exit 1; }; }
31094
GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
31095
GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
31096
{ echo "$as_me:$LINENO: result: yes" >&5
31097
echo "${ECHO_T}yes" >&6; }
32045
31099
cat >>confdefs.h <<\_ACEOF
32046
31100
#define ENABLE_MP 1
32049
GIMP_MP_LIBS="-lpthread"
32050
GIMP_MP_FLAGS="-D_REENTRANT"
32052
# AIX has libpthreads, cause they're special. Special friends (TM)
32053
{ echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthreads" >&5
32054
echo $ECHO_N "checking for pthread_attr_init in -lpthreads... $ECHO_C" >&6; }
32055
if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then
32056
echo $ECHO_N "(cached) $ECHO_C" >&6
32058
ac_check_lib_save_LIBS=$LIBS
32059
LIBS="-lpthreads $LIBS"
32060
cat >conftest.$ac_ext <<_ACEOF
32063
cat confdefs.h >>conftest.$ac_ext
32064
cat >>conftest.$ac_ext <<_ACEOF
32065
/* end confdefs.h. */
32067
/* Override any GCC internal prototype to avoid an error.
32068
Use char because int might match the return type of a GCC
32069
builtin and then its argument prototype would still apply. */
32073
char pthread_attr_init ();
32077
return pthread_attr_init ();
32082
rm -f conftest.$ac_objext conftest$ac_exeext
32083
if { (ac_try="$ac_link"
32084
case "(($ac_try" in
32085
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32086
*) ac_try_echo=$ac_try;;
32088
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32089
(eval "$ac_link") 2>conftest.er1
32091
grep -v '^ *+' conftest.er1 >conftest.err
32093
cat conftest.err >&5
32094
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32095
(exit $ac_status); } &&
32096
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32097
{ (case "(($ac_try" in
32098
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32099
*) ac_try_echo=$ac_try;;
32101
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32102
(eval "$ac_try") 2>&5
32104
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32105
(exit $ac_status); }; } &&
32106
{ ac_try='test -s conftest$ac_exeext'
32107
{ (case "(($ac_try" in
32108
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32109
*) ac_try_echo=$ac_try;;
32111
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32112
(eval "$ac_try") 2>&5
32114
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32115
(exit $ac_status); }; }; then
32116
ac_cv_lib_pthreads_pthread_attr_init=yes
32118
echo "$as_me: failed program was:" >&5
32119
sed 's/^/| /' conftest.$ac_ext >&5
32121
ac_cv_lib_pthreads_pthread_attr_init=no
32124
rm -f core conftest.err conftest.$ac_objext \
32125
conftest$ac_exeext conftest.$ac_ext
32126
LIBS=$ac_check_lib_save_LIBS
32128
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5
32129
echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6; }
32130
if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then
32131
cat >>confdefs.h <<\_ACEOF
32132
#define ENABLE_MP 1
32135
GIMP_MP_LIBS="-lpthreads"
32136
GIMP_MP_FLAGS="-D_REENTRANT -D_THREAD_SAFE"
32147
31108
################################
32148
31109
# Some plug-ins are X11 specific
32149
31110
################################
31112
GIMP_COMMAND='gimp-2.3'
32151
31114
gdk_target=`$PKG_CONFIG --variable=target gtk+-2.0`
32152
31115
if test "$gdk_target" = x11; then
32153
if test -z "$LIBXMU"; then
32154
gimp_save_CFLAGS="$CFLAGS"
32155
gimp_save_LDFLAGS="$LDFLAGS"
32156
CFLAGS="$CFLAGS $GTK_CFLAGS"
32157
LDFLAGS="$LDFLAGS $X_LIBS"
31116
LIBSCREENSHOT="$X_LIBS -lX11"
31118
DOC_SHOOTER=doc-shooter
31120
gimp_save_CFLAGS="$CFLAGS"
31121
gimp_save_LDFLAGS="$LDFLAGS"
31122
CFLAGS="$CFLAGS $GTK_CFLAGS"
31123
LDFLAGS="$LDFLAGS $X_LIBS"
31125
enable_gimp_remote=yes
31126
if test -z "$LIBXMU"; then
32158
31127
{ echo "$as_me:$LINENO: checking for XmuClientWindow in -lXmu" >&5
32159
31128
echo $ECHO_N "checking for XmuClientWindow in -lXmu... $ECHO_C" >&6; }
32160
31129
if test "${ac_cv_lib_Xmu_XmuClientWindow+set}" = set; then
32303
31239
cat >>confdefs.h <<_ACEOF
32304
31240
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32306
GIMP_REMOTE='gimp-remote-2.2$(EXEEXT)';
31242
GIMP_REMOTE='gimp-remote-2.3$(EXEEXT)';
31243
GIMP_COMMAND='gimp-remote-2.3'
32307
31244
have_libxmu=yes
32308
31245
LIBXMU="$X_LIBS $X_PRE_LIBS -lX11 -lXmu -lXt"
32310
{ echo "$as_me:$LINENO: WARNING: *** gimp-remote will not be built (XMU header file not found) ***" >&5
32311
echo "$as_me: WARNING: *** gimp-remote will not be built (XMU header file not found) ***" >&2;}
32317
{ echo "$as_me:$LINENO: WARNING: *** gimp-remote will not be built (XMU library not found) ***" >&5
32318
echo "$as_me: WARNING: *** gimp-remote will not be built (XMU library not found) ***" >&2;}
32321
CFLAGS="$gimp_save_CFLAGS"
32322
LDFLAGS="$gimp_save_LDFLAGS"
32325
LIBSCREENSHOT="$X_LIBS -lX11"
31247
enable_gimp_remote="no (XMU header file not found)"
31253
enable_gimp_remote="no (XMU library not found)"
31256
LIBSCREENSHOT="$LIBXMU"
31259
{ echo "$as_me:$LINENO: checking for XShapeGetRectangles in -lXext" >&5
31260
echo $ECHO_N "checking for XShapeGetRectangles in -lXext... $ECHO_C" >&6; }
31261
if test "${ac_cv_lib_Xext_XShapeGetRectangles+set}" = set; then
31262
echo $ECHO_N "(cached) $ECHO_C" >&6
31264
ac_check_lib_save_LIBS=$LIBS
31265
LIBS="-lXext -lX11 -lXext $LIBS"
31266
cat >conftest.$ac_ext <<_ACEOF
31269
cat confdefs.h >>conftest.$ac_ext
31270
cat >>conftest.$ac_ext <<_ACEOF
31271
/* end confdefs.h. */
31273
/* Override any GCC internal prototype to avoid an error.
31274
Use char because int might match the return type of a GCC
31275
builtin and then its argument prototype would still apply. */
31279
char XShapeGetRectangles ();
31283
return XShapeGetRectangles ();
31288
rm -f conftest.$ac_objext conftest$ac_exeext
31289
if { (ac_try="$ac_link"
31290
case "(($ac_try" in
31291
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31292
*) ac_try_echo=$ac_try;;
31294
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31295
(eval "$ac_link") 2>conftest.er1
31297
grep -v '^ *+' conftest.er1 >conftest.err
31299
cat conftest.err >&5
31300
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31301
(exit $ac_status); } && {
31302
test -z "$ac_c_werror_flag" ||
31303
test ! -s conftest.err
31304
} && test -s conftest$ac_exeext &&
31305
$as_test_x conftest$ac_exeext; then
31306
ac_cv_lib_Xext_XShapeGetRectangles=yes
31308
echo "$as_me: failed program was:" >&5
31309
sed 's/^/| /' conftest.$ac_ext >&5
31311
ac_cv_lib_Xext_XShapeGetRectangles=no
31314
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31315
conftest$ac_exeext conftest.$ac_ext
31316
LIBS=$ac_check_lib_save_LIBS
31318
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeGetRectangles" >&5
31319
echo "${ECHO_T}$ac_cv_lib_Xext_XShapeGetRectangles" >&6; }
31320
if test $ac_cv_lib_Xext_XShapeGetRectangles = yes; then
31322
for ac_header in X11/extensions/shape.h
31324
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31325
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
31326
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31327
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31328
echo $ECHO_N "(cached) $ECHO_C" >&6
31330
cat >conftest.$ac_ext <<_ACEOF
31333
cat confdefs.h >>conftest.$ac_ext
31334
cat >>conftest.$ac_ext <<_ACEOF
31335
/* end confdefs.h. */
31336
#include <gdk/gdkx.h>
31338
#include <$ac_header>
31340
rm -f conftest.$ac_objext
31341
if { (ac_try="$ac_compile"
31342
case "(($ac_try" in
31343
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31344
*) ac_try_echo=$ac_try;;
31346
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31347
(eval "$ac_compile") 2>conftest.er1
31349
grep -v '^ *+' conftest.er1 >conftest.err
31351
cat conftest.err >&5
31352
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31353
(exit $ac_status); } && {
31354
test -z "$ac_c_werror_flag" ||
31355
test ! -s conftest.err
31356
} && test -s conftest.$ac_objext; then
31357
eval "$as_ac_Header=yes"
31359
echo "$as_me: failed program was:" >&5
31360
sed 's/^/| /' conftest.$ac_ext >&5
31362
eval "$as_ac_Header=no"
31365
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31367
ac_res=`eval echo '${'$as_ac_Header'}'`
31368
{ echo "$as_me:$LINENO: result: $ac_res" >&5
31369
echo "${ECHO_T}$ac_res" >&6; }
31370
if test `eval echo '${'$as_ac_Header'}'` = yes; then
31371
cat >>confdefs.h <<_ACEOF
31372
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31374
LIBSCREENSHOT="$LIBSCREENSHOT -lXext"
31382
CFLAGS="$gimp_save_CFLAGS"
31383
LDFLAGS="$gimp_save_LDFLAGS"
31385
enable_gimp_remote="no (building for $gdk_target)"
33623
32481
# Check for libpng
33624
32482
##################
33627
32486
# Check whether --with-libpng was given.
33628
32487
if test "${with_libpng+set}" = set; then
33629
32488
withval=$with_libpng;
33632
if test x$with_libpng != xno && test -z "$LIBPNG" && test -n "$LIBZ"; then
33633
{ echo "$as_me:$LINENO: checking for png_read_info in -lpng" >&5
33634
echo $ECHO_N "checking for png_read_info in -lpng... $ECHO_C" >&6; }
33635
if test "${ac_cv_lib_png_png_read_info+set}" = set; then
33636
echo $ECHO_N "(cached) $ECHO_C" >&6
33638
ac_check_lib_save_LIBS=$LIBS
33639
LIBS="-lpng -lz -lm $LIBS"
33640
cat >conftest.$ac_ext <<_ACEOF
33643
cat confdefs.h >>conftest.$ac_ext
33644
cat >>conftest.$ac_ext <<_ACEOF
33645
/* end confdefs.h. */
33647
/* Override any GCC internal prototype to avoid an error.
33648
Use char because int might match the return type of a GCC
33649
builtin and then its argument prototype would still apply. */
33653
char png_read_info ();
33657
return png_read_info ();
33662
rm -f conftest.$ac_objext conftest$ac_exeext
33663
if { (ac_try="$ac_link"
33664
case "(($ac_try" in
33665
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33666
*) ac_try_echo=$ac_try;;
33668
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33669
(eval "$ac_link") 2>conftest.er1
33671
grep -v '^ *+' conftest.er1 >conftest.err
33673
cat conftest.err >&5
33674
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33675
(exit $ac_status); } &&
33676
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33677
{ (case "(($ac_try" in
33678
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33679
*) ac_try_echo=$ac_try;;
33681
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33682
(eval "$ac_try") 2>&5
33684
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33685
(exit $ac_status); }; } &&
33686
{ ac_try='test -s conftest$ac_exeext'
33687
{ (case "(($ac_try" in
33688
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33689
*) ac_try_echo=$ac_try;;
33691
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33692
(eval "$ac_try") 2>&5
33694
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33695
(exit $ac_status); }; }; then
33696
ac_cv_lib_png_png_read_info=yes
33698
echo "$as_me: failed program was:" >&5
33699
sed 's/^/| /' conftest.$ac_ext >&5
33701
ac_cv_lib_png_png_read_info=no
33704
rm -f core conftest.err conftest.$ac_objext \
33705
conftest$ac_exeext conftest.$ac_ext
33706
LIBS=$ac_check_lib_save_LIBS
33708
{ echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_read_info" >&5
33709
echo "${ECHO_T}$ac_cv_lib_png_png_read_info" >&6; }
33710
if test $ac_cv_lib_png_png_read_info = yes; then
33711
if test "${ac_cv_header_png_h+set}" = set; then
33712
{ echo "$as_me:$LINENO: checking for png.h" >&5
33713
echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
33714
if test "${ac_cv_header_png_h+set}" = set; then
33715
echo $ECHO_N "(cached) $ECHO_C" >&6
33717
{ echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
33718
echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
33720
# Is the header compilable?
33721
{ echo "$as_me:$LINENO: checking png.h usability" >&5
33722
echo $ECHO_N "checking png.h usability... $ECHO_C" >&6; }
33723
cat >conftest.$ac_ext <<_ACEOF
33726
cat confdefs.h >>conftest.$ac_ext
33727
cat >>conftest.$ac_ext <<_ACEOF
33728
/* end confdefs.h. */
33729
$ac_includes_default
33732
rm -f conftest.$ac_objext
33733
if { (ac_try="$ac_compile"
33734
case "(($ac_try" in
33735
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33736
*) ac_try_echo=$ac_try;;
33738
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33739
(eval "$ac_compile") 2>conftest.er1
33741
grep -v '^ *+' conftest.er1 >conftest.err
33743
cat conftest.err >&5
33744
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33745
(exit $ac_status); } &&
33746
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33747
{ (case "(($ac_try" in
33748
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33749
*) ac_try_echo=$ac_try;;
33751
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33752
(eval "$ac_try") 2>&5
33754
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33755
(exit $ac_status); }; } &&
33756
{ ac_try='test -s conftest.$ac_objext'
33757
{ (case "(($ac_try" in
33758
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33759
*) ac_try_echo=$ac_try;;
33761
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33762
(eval "$ac_try") 2>&5
33764
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765
(exit $ac_status); }; }; then
33766
ac_header_compiler=yes
33768
echo "$as_me: failed program was:" >&5
33769
sed 's/^/| /' conftest.$ac_ext >&5
33771
ac_header_compiler=no
33774
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33775
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33776
echo "${ECHO_T}$ac_header_compiler" >&6; }
33778
# Is the header present?
33779
{ echo "$as_me:$LINENO: checking png.h presence" >&5
33780
echo $ECHO_N "checking png.h presence... $ECHO_C" >&6; }
33781
cat >conftest.$ac_ext <<_ACEOF
33784
cat confdefs.h >>conftest.$ac_ext
33785
cat >>conftest.$ac_ext <<_ACEOF
33786
/* end confdefs.h. */
33789
if { (ac_try="$ac_cpp conftest.$ac_ext"
33790
case "(($ac_try" in
33791
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33792
*) ac_try_echo=$ac_try;;
33794
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33795
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33797
grep -v '^ *+' conftest.er1 >conftest.err
33799
cat conftest.err >&5
33800
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801
(exit $ac_status); } >/dev/null; then
33802
if test -s conftest.err; then
33803
ac_cpp_err=$ac_c_preproc_warn_flag
33804
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33811
if test -z "$ac_cpp_err"; then
33812
ac_header_preproc=yes
33814
echo "$as_me: failed program was:" >&5
33815
sed 's/^/| /' conftest.$ac_ext >&5
33817
ac_header_preproc=no
33820
rm -f conftest.err conftest.$ac_ext
33821
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33822
echo "${ECHO_T}$ac_header_preproc" >&6; }
33824
# So? What about this header?
33825
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33827
{ echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
33828
echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33829
{ echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
33830
echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
33831
ac_header_preproc=yes
33834
{ echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
33835
echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
33836
{ echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
33837
echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
33838
{ echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
33839
echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
33840
{ echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
33841
echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
33842
{ echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
33843
echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
33844
{ echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
33845
echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
33847
## ------------------------------------------------------------------- ##
33848
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP ##
33849
## ------------------------------------------------------------------- ##
33851
) | sed "s/^/$as_me: WARNING: /" >&2
33854
{ echo "$as_me:$LINENO: checking for png.h" >&5
33855
echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
33856
if test "${ac_cv_header_png_h+set}" = set; then
33857
echo $ECHO_N "(cached) $ECHO_C" >&6
33859
ac_cv_header_png_h=$ac_header_preproc
33861
{ echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
33862
echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
33865
if test $ac_cv_header_png_h = yes; then
33873
{ echo "$as_me:$LINENO: WARNING: *** PNG plug-in will not be built (PNG library not found) ***" >&5
33874
echo "$as_me: WARNING: *** PNG plug-in will not be built (PNG library not found) ***" >&2;}
33877
if test "$png_ok" = yes; then
33878
{ echo "$as_me:$LINENO: checking for png_structp in png.h" >&5
33879
echo $ECHO_N "checking for png_structp in png.h... $ECHO_C" >&6; }
33880
cat >conftest.$ac_ext <<_ACEOF
33883
cat confdefs.h >>conftest.$ac_ext
33884
cat >>conftest.$ac_ext <<_ACEOF
33885
/* end confdefs.h. */
33890
png_structp pp; png_infop info; png_colorp cmap; png_create_read_struct;
33895
rm -f conftest.$ac_objext
33896
if { (ac_try="$ac_compile"
33897
case "(($ac_try" in
33898
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33899
*) ac_try_echo=$ac_try;;
33901
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33902
(eval "$ac_compile") 2>conftest.er1
33904
grep -v '^ *+' conftest.er1 >conftest.err
33906
cat conftest.err >&5
33907
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33908
(exit $ac_status); } &&
33909
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33910
{ (case "(($ac_try" in
33911
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33912
*) ac_try_echo=$ac_try;;
33914
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33915
(eval "$ac_try") 2>&5
33917
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33918
(exit $ac_status); }; } &&
33919
{ ac_try='test -s conftest.$ac_objext'
33920
{ (case "(($ac_try" in
33921
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33922
*) ac_try_echo=$ac_try;;
33924
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33925
(eval "$ac_try") 2>&5
33927
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33928
(exit $ac_status); }; }; then
33931
echo "$as_me: failed program was:" >&5
33932
sed 's/^/| /' conftest.$ac_ext >&5
33937
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33938
{ echo "$as_me:$LINENO: result: $png_ok" >&5
33939
echo "${ECHO_T}$png_ok" >&6; }
33940
if test "$png_ok" = yes; then
33941
PNG='png$(EXEEXT)'; LIBPNG="-lpng $LIBZ"
33943
{ echo "$as_me:$LINENO: WARNING: *** PNG plug-in will not be built (PNG library is too old) ***" >&5
33944
echo "$as_me: WARNING: *** PNG plug-in will not be built (PNG library is too old) ***" >&2;}
33947
{ echo "$as_me:$LINENO: WARNING: *** PNG plug-in will not be built (PNG header file not found) ***" >&5
33948
echo "$as_me: WARNING: *** PNG plug-in will not be built (PNG header file not found) ***" >&2;}
33952
if test x$with_libpng != xno && test -z "$LIBPNG"; then
33953
{ { echo "$as_me:$LINENO: error:
33954
*** Checks for PNG library failed. You can build without it by passing
33955
*** --without-libpng to configure but you won't be able to use PNGs then." >&5
33956
echo "$as_me: error:
33957
*** Checks for PNG library failed. You can build without it by passing
33958
*** --without-libpng to configure but you won't be able to use PNGs then." >&2;}
33959
{ (exit 1); exit 1; }; }
32491
if test x$with_libpng != xno; then
32495
{ echo "$as_me:$LINENO: checking for PNG" >&5
32496
echo $ECHO_N "checking for PNG... $ECHO_C" >&6; }
32498
if test -n "$PKG_CONFIG"; then
32499
if test -n "$PNG_CFLAGS"; then
32500
pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
32502
if test -n "$PKG_CONFIG" && \
32503
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng\"") >&5
32504
($PKG_CONFIG --exists --print-errors "libpng") 2>&5
32506
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507
(exit $ac_status); }; then
32508
pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng" 2>/dev/null`
32516
if test -n "$PKG_CONFIG"; then
32517
if test -n "$PNG_LIBS"; then
32518
pkg_cv_PNG_LIBS="$PNG_LIBS"
32520
if test -n "$PKG_CONFIG" && \
32521
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng\"") >&5
32522
($PKG_CONFIG --exists --print-errors "libpng") 2>&5
32524
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32525
(exit $ac_status); }; then
32526
pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng" 2>/dev/null`
32537
if test $pkg_failed = yes; then
32539
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32540
_pkg_short_errors_supported=yes
32542
_pkg_short_errors_supported=no
32544
if test $_pkg_short_errors_supported = yes; then
32545
PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng"`
32547
PNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng"`
32549
# Put the nasty error message in config.log where it belongs
32550
echo "$PNG_PKG_ERRORS" >&5
32552
{ echo "$as_me:$LINENO: result: no" >&5
32553
echo "${ECHO_T}no" >&6; }
32554
have_libpng="no (libpng not found)"
32555
{ { echo "$as_me:$LINENO: error:
32556
*** Checks for PNG library failed. You can build without it by passing
32557
*** --without-libpng to configure but you won't be able to use PNGs then." >&5
32558
echo "$as_me: error:
32559
*** Checks for PNG library failed. You can build without it by passing
32560
*** --without-libpng to configure but you won't be able to use PNGs then." >&2;}
32561
{ (exit 1); exit 1; }; }
32562
elif test $pkg_failed = untried; then
32563
have_libpng="no (libpng not found)"
32564
{ { echo "$as_me:$LINENO: error:
32565
*** Checks for PNG library failed. You can build without it by passing
32566
*** --without-libpng to configure but you won't be able to use PNGs then." >&5
32567
echo "$as_me: error:
32568
*** Checks for PNG library failed. You can build without it by passing
32569
*** --without-libpng to configure but you won't be able to use PNGs then." >&2;}
32570
{ (exit 1); exit 1; }; }
32572
PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
32573
PNG_LIBS=$pkg_cv_PNG_LIBS
32574
{ echo "$as_me:$LINENO: result: yes" >&5
32575
echo "${ECHO_T}yes" >&6; }
32586
if test x$have_libpng = xyes; then
35047
33573
LIBSVG=$SVG_LIBS
35050
{ echo "$as_me:$LINENO: WARNING: *** SVG import plug-in will not be built (librsvg support disabled) ***" >&5
35051
echo "$as_me: WARNING: *** SVG import plug-in will not be built (librsvg support disabled) ***" >&2;}
35059
######################
35060
# Check for gimp-print
35061
######################
35063
# Check whether --enable-print was given.
35064
if test "${enable_print+set}" = set; then
35065
enableval=$enable_print;
35070
if test "x$enable_print" != "xno"; then
35072
# Check whether --with-gimpprint-prefix was given.
35073
if test "${with_gimpprint_prefix+set}" = set; then
35074
withval=$with_gimpprint_prefix; gimpprint_config_prefix="$withval"
35076
gimpprint_config_prefix=""
35080
# Check whether --with-gimpprint-exec-prefix was given.
35081
if test "${with_gimpprint_exec_prefix+set}" = set; then
35082
withval=$with_gimpprint_exec_prefix; gimpprint_config_exec_prefix="$withval"
35084
gimpprint_config_exec_prefix=""
35087
# Check whether --enable-gimpprinttest was given.
35088
if test "${enable_gimpprinttest+set}" = set; then
35089
enableval=$enable_gimpprinttest;
35091
enable_gimpprinttest=yes
35095
if test x$gimpprint_config_exec_prefix != x ; then
35096
gimpprint_config_args="$gimpprint_config_args --exec-prefix=$gimpprint_config_exec_prefix"
35097
if test x${GIMPPRINT_CONFIG+set} != xset ; then
35098
GIMPPRINT_CONFIG=$gimpprint_config_exec_prefix/bin/gimpprint-config
35101
if test x$gimpprint_config_prefix != x ; then
35102
gimpprint_config_args="$gimpprint_config_args --prefix=$gimpprint_config_prefix"
35103
if test x${GIMPPRINT_CONFIG+set} != xset ; then
35104
GIMPPRINT_CONFIG=$gimpprint_config_prefix/bin/gimpprint-config
35108
# Extract the first word of "gimpprint-config", so it can be a program name with args.
35109
set dummy gimpprint-config; ac_word=$2
35110
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
35111
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35112
if test "${ac_cv_path_GIMPPRINT_CONFIG+set}" = set; then
35113
echo $ECHO_N "(cached) $ECHO_C" >&6
35115
case $GIMPPRINT_CONFIG in
35117
ac_cv_path_GIMPPRINT_CONFIG="$GIMPPRINT_CONFIG" # Let the user override the test with a path.
35120
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35121
for as_dir in $PATH
35124
test -z "$as_dir" && as_dir=.
35125
for ac_exec_ext in '' $ac_executable_extensions; do
35126
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
35127
ac_cv_path_GIMPPRINT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35128
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35135
test -z "$ac_cv_path_GIMPPRINT_CONFIG" && ac_cv_path_GIMPPRINT_CONFIG="no"
35139
GIMPPRINT_CONFIG=$ac_cv_path_GIMPPRINT_CONFIG
35140
if test -n "$GIMPPRINT_CONFIG"; then
35141
{ echo "$as_me:$LINENO: result: $GIMPPRINT_CONFIG" >&5
35142
echo "${ECHO_T}$GIMPPRINT_CONFIG" >&6; }
35144
{ echo "$as_me:$LINENO: result: no" >&5
35145
echo "${ECHO_T}no" >&6; }
35149
min_gimpprint_version=4.2.0
35150
{ echo "$as_me:$LINENO: checking for GIMP-PRINT - version >= $min_gimpprint_version" >&5
35151
echo $ECHO_N "checking for GIMP-PRINT - version >= $min_gimpprint_version... $ECHO_C" >&6; }
35153
if test "$GIMPPRINT_CONFIG" = "no" ; then
35156
GIMPPRINT_CFLAGS=`$GIMPPRINT_CONFIG $gimpprint_config_args --cflags`
35157
GIMPPRINT_LIBS=`$GIMPPRINT_CONFIG $gimpprint_config_args --libs`
35158
gimpprint_config_major_version=`$GIMPPRINT_CONFIG $gimpprint_config_args --version | \
35159
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
35160
gimpprint_config_minor_version=`$GIMPPRINT_CONFIG $gimpprint_config_args --version | \
35161
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
35162
gimpprint_config_micro_version=`$GIMPPRINT_CONFIG $gimpprint_config_args --version | \
35163
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
35164
if test "x$enable_gimpprinttest" = "xyes" ; then
35165
ac_save_CFLAGS="$CFLAGS"
35166
ac_save_LIBS="$LIBS"
35167
CFLAGS="$CFLAGS $GIMPPRINT_CFLAGS"
35168
LIBS="$GIMPPRINT_LIBS $LIBS"
35169
rm -f conf.gimpprinttest
35170
if test "$cross_compiling" = yes; then
35171
echo $ac_n "cross compiling; assumed OK... $ac_c"
35173
cat >conftest.$ac_ext <<_ACEOF
35176
cat confdefs.h >>conftest.$ac_ext
35177
cat >>conftest.$ac_ext <<_ACEOF
35178
/* end confdefs.h. */
35180
#include <gimp-print/gimp-print.h>
35182
#include <stdlib.h>
35183
#include <string.h>
35188
int major, minor, micro;
35191
system ("touch conf.gimpprinttest");
35193
/* HP/UX 9 (%@#!) writes to sscanf strings */
35194
tmp_version = strdup("$min_gimpprint_version");
35195
if (!tmp_version) {
35198
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
35199
printf("%s, bad version string\n", "$min_gimpprint_version");
35203
if ((gimpprint_major_version != $gimpprint_config_major_version) ||
35204
(gimpprint_minor_version != $gimpprint_config_minor_version) ||
35205
(gimpprint_micro_version != $gimpprint_config_micro_version))
35207
printf("\n*** 'gimpprint-config --version' returned %d.%d.%d, but GIMP-PRINT (%d.%d.%d)\n",
35208
$gimpprint_config_major_version, $gimpprint_config_minor_version, $gimpprint_config_micro_version,
35209
gimpprint_major_version, gimpprint_minor_version, gimpprint_micro_version);
35210
printf ("*** was found! If gimpprint-config was correct, then it is best\n");
35211
printf ("*** to remove the old version of GIMP-PRINT. You may also be able to fix the\n");
35212
printf("*** error by modifying your LD_LIBRARY_PATH enviroment variable, or by\n");
35213
printf("*** editing /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
35214
printf("*** required on your system.\n");
35215
printf("*** If gimpprint-config was wrong, set the environment variable GIMPPRINT_CONFIG\n");
35216
printf("*** to point to the correct copy of gimpprint-config, and remove the file\n");
35217
printf("*** config.cache before re-running configure\n");
35219
#if defined (GIMPPRINT_MAJOR_VERSION) && defined (GIMPPRINT_MINOR_VERSION) && defined (GIMPPRINT_MICRO_VERSION)
35220
else if ((gimpprint_major_version != GIMPPRINT_MAJOR_VERSION) ||
35221
(gimpprint_minor_version != GIMPPRINT_MINOR_VERSION) ||
35222
(gimpprint_micro_version != GIMPPRINT_MICRO_VERSION))
35224
printf("\n*** GIMP-PRINT header files (version %d.%d.%d) do not match\n",
35225
GIMPPRINT_MAJOR_VERSION, GIMPPRINT_MINOR_VERSION, GIMPPRINT_MICRO_VERSION);
35226
printf("*** library (version %d.%d.%d)\n",
35227
gimpprint_major_version, gimpprint_minor_version, gimpprint_micro_version);
35229
#endif /* defined (GIMPPRINT_MAJOR_VERSION) ... */
35232
if ((gimpprint_major_version > major) ||
35233
((gimpprint_major_version == major) && (gimpprint_minor_version > minor)) ||
35234
((gimpprint_major_version == major) && (gimpprint_minor_version == minor) && (gimpprint_micro_version >= micro)))
35240
printf("\n*** An old version of GIMP-PRINT (%d.%d.%d) was found.\n",
35241
gimpprint_major_version, gimpprint_minor_version, gimpprint_micro_version);
35242
printf("*** You need a version of GIMP-PRINT newer than %d.%d.%d. The latest version of\n",
35243
major, minor, micro);
35244
printf("*** GIMP-PRINT is always available from\n");
35245
printf("*** http://sourceforge.net/project/showfiles.php?group_id=1537.\n");
35247
printf("*** If you have already installed a sufficiently new version, this error\n");
35248
printf("*** probably means that the wrong copy of the gimpprint-config shell script is\n");
35249
printf("*** being found. The easiest way to fix this is to remove the old version\n");
35250
printf("*** of GIMP-PRINT, but you can also set the GIMPPRINT_CONFIG environment to\n");
35251
printf("*** point to the correct copy of gimpprint-config. (In this case, you will have\n");
35252
printf("*** to modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
35253
printf("*** so that the correct libraries are found at run-time))\n");
35260
rm -f conftest$ac_exeext
35261
if { (ac_try="$ac_link"
35262
case "(($ac_try" in
35263
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35264
*) ac_try_echo=$ac_try;;
35266
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35267
(eval "$ac_link") 2>&5
35269
echo "$as_me:$LINENO: \$? = $ac_status" >&5
35270
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35271
{ (case "(($ac_try" in
35272
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35273
*) ac_try_echo=$ac_try;;
35275
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35276
(eval "$ac_try") 2>&5
35278
echo "$as_me:$LINENO: \$? = $ac_status" >&5
35279
(exit $ac_status); }; }; then
35282
echo "$as_me: program exited with status $ac_status" >&5
35283
echo "$as_me: failed program was:" >&5
35284
sed 's/^/| /' conftest.$ac_ext >&5
35286
( exit $ac_status )
35289
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35293
CFLAGS="$ac_save_CFLAGS"
35294
LIBS="$ac_save_LIBS"
35297
if test "x$no_gimpprint" = x ; then
35298
{ echo "$as_me:$LINENO: result: yes" >&5
35299
echo "${ECHO_T}yes" >&6; }
35300
print_version=`$GIMPPRINT_CONFIG --version`
35301
if expr $print_version \>= 4.3.0 >/dev/null; then
35302
{ echo "$as_me:$LINENO: WARNING:
35303
*** libgimpprint version $print_version is too new.
35304
*** It is likely an unstable development version.
35305
*** You need a version before 4.3.0." >&5
35306
echo "$as_me: WARNING:
35307
*** libgimpprint version $print_version is too new.
35308
*** It is likely an unstable development version.
35309
*** You need a version before 4.3.0." >&2;}
35311
have_gimp_print=yes
35312
if expr $print_version \< 4.2.6 >/dev/null; then
35313
{ echo "$as_me:$LINENO: WARNING:
35314
*** libgimpprint version $print_version causes problems under certain locales.
35315
*** We strongly suggest you upgrade to version 4.2.6." >&5
35316
echo "$as_me: WARNING:
35317
*** libgimpprint version $print_version causes problems under certain locales.
35318
*** We strongly suggest you upgrade to version 4.2.6." >&2;}
35323
{ echo "$as_me:$LINENO: result: no" >&5
35324
echo "${ECHO_T}no" >&6; }
35325
if test "$GIMPPRINT_CONFIG" = "no" ; then
35326
echo "*** The gimpprint-config script installed by GIMP-PRINT could not be found"
35327
echo "*** If GIMP-PRINT was installed in PREFIX, make sure PREFIX/bin is in"
35328
echo "*** your path, or set the GIMPPRINT_CONFIG environment variable to the"
35329
echo "*** full path to gimpprint-config."
35331
if test -f conf.gimpprinttest ; then
35334
echo "*** Could not run GIMP-PRINT test program, checking why..."
35335
CFLAGS="$CFLAGS $GIMPPRINT_CFLAGS"
35336
LIBS="$LIBS $GIMPPRINT_LIBS"
35337
cat >conftest.$ac_ext <<_ACEOF
35340
cat confdefs.h >>conftest.$ac_ext
35341
cat >>conftest.$ac_ext <<_ACEOF
35342
/* end confdefs.h. */
35344
#include <gimp-print/gimp-print.h>
35346
#include <string.h>
35351
return ((gimpprint_major_version) || (gimpprint_minor_version) || (gimpprint_micro_version));
35356
rm -f conftest.$ac_objext conftest$ac_exeext
35357
if { (ac_try="$ac_link"
35358
case "(($ac_try" in
35359
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35360
*) ac_try_echo=$ac_try;;
35362
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35363
(eval "$ac_link") 2>conftest.er1
35365
grep -v '^ *+' conftest.er1 >conftest.err
35367
cat conftest.err >&5
35368
echo "$as_me:$LINENO: \$? = $ac_status" >&5
35369
(exit $ac_status); } &&
35370
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35371
{ (case "(($ac_try" in
35372
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35373
*) ac_try_echo=$ac_try;;
35375
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35376
(eval "$ac_try") 2>&5
35378
echo "$as_me:$LINENO: \$? = $ac_status" >&5
35379
(exit $ac_status); }; } &&
35380
{ ac_try='test -s conftest$ac_exeext'
35381
{ (case "(($ac_try" in
35382
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35383
*) ac_try_echo=$ac_try;;
35385
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35386
(eval "$ac_try") 2>&5
35388
echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389
(exit $ac_status); }; }; then
35390
echo "*** The test program compiled, but did not run. This usually means"
35391
echo "*** that the run-time linker is not finding GIMP-PRINT or finding the wrong"
35392
echo "*** version of GIMP-PRINT. If it is not finding GIMP-PRINT, you'll need to set"
35393
echo "*** your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
35394
echo "*** to the installed location Also, make sure you have run ldconfig if that"
35395
echo "*** is required on your system"
35397
echo "*** If you have an old version installed, it is best to remove it, although"
35398
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
35400
echo "$as_me: failed program was:" >&5
35401
sed 's/^/| /' conftest.$ac_ext >&5
35403
echo "*** The test program failed to compile or link. See the file config.log for the"
35404
echo "*** exact error that occured. This usually means GIMP-PRINT was incorrectly"
35405
echo "*** installed or that you have moved GIMP-PRINT since it was installed. In the"
35406
echo "*** latter case, you may want to edit the gimpprint-config script:"
35407
echo "*** $GIMPPRINT_CONFIG"
35410
rm -f core conftest.err conftest.$ac_objext \
35411
conftest$ac_exeext conftest.$ac_ext
35412
CFLAGS="$ac_save_CFLAGS"
35413
LIBS="$ac_save_LIBS"
35416
GIMPPRINT_CFLAGS=""
35422
rm -f conf.gimpprinttest
35426
if test x$enable_print != xno && test x$have_gimp_print != xyes; then
35427
{ { echo "$as_me:$LINENO: error:
35428
*** Check for libgimpprint failed. You can download it from
35429
*** http://gimp-print.sourceforge.net/ or you can build without it by passing
35430
*** --disable-print to configure (but you won't be able to print then)." >&5
35431
echo "$as_me: error:
35432
*** Check for libgimpprint failed. You can download it from
35433
*** http://gimp-print.sourceforge.net/ or you can build without it by passing
35434
*** --disable-print to configure (but you won't be able to print then)." >&2;}
35435
{ (exit 1); exit 1; }; }
35442
if test x$enable_print != xno && test x$have_gimp_print = xyes; then
33576
have_librsvg="no (librsvg support disabled)"
33583
####################################
33584
# Allow to disable the print plug-in
33585
####################################
33587
enable_print="no (disabled)"
33589
# Check whether --with-print was given.
33590
if test "${with_print+set}" = set; then
33591
withval=$with_print;
33595
if test "x$with_print" != xno; then
33600
if test "x$enable_print" == xyes; then
35443
33601
BUILD_PRINT_TRUE=
35444
33602
BUILD_PRINT_FALSE='#'
33610
######################
33611
# Check for libpoppler
33612
######################
33616
# Check whether --with-poppler was given.
33617
if test "${with_poppler+set}" = set; then
33618
withval=$with_poppler;
33622
if test "x$with_poppler" != xno; then
33625
{ echo "$as_me:$LINENO: checking for POPPLER" >&5
33626
echo $ECHO_N "checking for POPPLER... $ECHO_C" >&6; }
33628
if test -n "$PKG_CONFIG"; then
33629
if test -n "$POPPLER_CFLAGS"; then
33630
pkg_cv_POPPLER_CFLAGS="$POPPLER_CFLAGS"
33632
if test -n "$PKG_CONFIG" && \
33633
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.3.1 gthread-2.0\"") >&5
33634
($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.3.1 gthread-2.0") 2>&5
33636
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33637
(exit $ac_status); }; then
33638
pkg_cv_POPPLER_CFLAGS=`$PKG_CONFIG --cflags "poppler-glib >= 0.3.1 gthread-2.0" 2>/dev/null`
33646
if test -n "$PKG_CONFIG"; then
33647
if test -n "$POPPLER_LIBS"; then
33648
pkg_cv_POPPLER_LIBS="$POPPLER_LIBS"
33650
if test -n "$PKG_CONFIG" && \
33651
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.3.1 gthread-2.0\"") >&5
33652
($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.3.1 gthread-2.0") 2>&5
33654
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33655
(exit $ac_status); }; then
33656
pkg_cv_POPPLER_LIBS=`$PKG_CONFIG --libs "poppler-glib >= 0.3.1 gthread-2.0" 2>/dev/null`
33667
if test $pkg_failed = yes; then
33669
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33670
_pkg_short_errors_supported=yes
33672
_pkg_short_errors_supported=no
33674
if test $_pkg_short_errors_supported = yes; then
33675
POPPLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "poppler-glib >= 0.3.1 gthread-2.0"`
33677
POPPLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "poppler-glib >= 0.3.1 gthread-2.0"`
33679
# Put the nasty error message in config.log where it belongs
33680
echo "$POPPLER_PKG_ERRORS" >&5
33682
{ echo "$as_me:$LINENO: result: no" >&5
33683
echo "${ECHO_T}no" >&6; }
33684
{ echo "$as_me:$LINENO: result: no" >&5
33685
echo "${ECHO_T}no" >&6; }
33686
have_poppler="Using PostScript plug-in (libpoppler not found)"
33687
elif test $pkg_failed = untried; then
33688
{ echo "$as_me:$LINENO: result: no" >&5
33689
echo "${ECHO_T}no" >&6; }
33690
have_poppler="Using PostScript plug-in (libpoppler not found)"
33692
POPPLER_CFLAGS=$pkg_cv_POPPLER_CFLAGS
33693
POPPLER_LIBS=$pkg_cv_POPPLER_LIBS
33694
{ echo "$as_me:$LINENO: result: yes" >&5
33695
echo "${ECHO_T}yes" >&6; }
33696
POPPLER='poppler$(EXEEXT)'
33697
LIBPOPPLER=$POPPLER_LIBS
33699
cat >>confdefs.h <<\_ACEOF
33700
#define HAVE_POPPLER 1
33706
have_poppler="Using PostScript plug-in (libpoppler support disabled)"
33712
if test "x$have_poppler" = xyes; then
33713
if $PKG_CONFIG --atleast-version=0.4 poppler-glib; then
33715
cat >>confdefs.h <<\_ACEOF
33716
#define HAVE_POPPLER_0_4 1
33721
if $PKG_CONFIG --atleast-version=0.4.1 poppler-glib; then
33723
cat >>confdefs.h <<\_ACEOF
33724
#define HAVE_POPPLER_0_4_1 1
33731
###############################################################################
33732
# Check for gnome-vfs and libcurl (and optionally libgnomeui and gnome-keyring)
33733
###############################################################################
33736
gnome_vfs_modules="gnome-vfs-2.0 >= 2.10.0"
33739
# Check whether --with-gnomevfs was given.
33740
if test "${with_gnomevfs+set}" = set; then
33741
withval=$with_gnomevfs;
33745
have_gnomeui="no (disabled)"
33746
have_gnome_keyring="no (disabled)"
33747
have_gnomevfs="no (disabled)"
33749
if test x$with_gnomevfs != xno; then
33751
if $PKG_CONFIG --atleast-version=2.10.0 libgnomeui-2.0; then
33753
gnome_vfs_modules="$gnome_vfs_modules libgnomeui-2.0"
33755
have_gnomeui="no (libgnomeui-2.0 not found)"
33758
if $PKG_CONFIG --atleast-version=0.4.5 gnome-keyring-1; then
33759
have_gnome_keyring=yes
33760
gnome_vfs_modules="$gnome_vfs_modules gnome-keyring-1"
33762
have_gnome_keyring="no (gnome-keyring-1 not found)"
33767
{ echo "$as_me:$LINENO: checking for URI_GNOME_VFS" >&5
33768
echo $ECHO_N "checking for URI_GNOME_VFS... $ECHO_C" >&6; }
33770
if test -n "$PKG_CONFIG"; then
33771
if test -n "$URI_GNOME_VFS_CFLAGS"; then
33772
pkg_cv_URI_GNOME_VFS_CFLAGS="$URI_GNOME_VFS_CFLAGS"
33774
if test -n "$PKG_CONFIG" && \
33775
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$gnome_vfs_modules\"") >&5
33776
($PKG_CONFIG --exists --print-errors "$gnome_vfs_modules") 2>&5
33778
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33779
(exit $ac_status); }; then
33780
pkg_cv_URI_GNOME_VFS_CFLAGS=`$PKG_CONFIG --cflags "$gnome_vfs_modules" 2>/dev/null`
33788
if test -n "$PKG_CONFIG"; then
33789
if test -n "$URI_GNOME_VFS_LIBS"; then
33790
pkg_cv_URI_GNOME_VFS_LIBS="$URI_GNOME_VFS_LIBS"
33792
if test -n "$PKG_CONFIG" && \
33793
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$gnome_vfs_modules\"") >&5
33794
($PKG_CONFIG --exists --print-errors "$gnome_vfs_modules") 2>&5
33796
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33797
(exit $ac_status); }; then
33798
pkg_cv_URI_GNOME_VFS_LIBS=`$PKG_CONFIG --libs "$gnome_vfs_modules" 2>/dev/null`
33809
if test $pkg_failed = yes; then
33811
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33812
_pkg_short_errors_supported=yes
33814
_pkg_short_errors_supported=no
33816
if test $_pkg_short_errors_supported = yes; then
33817
URI_GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gnome_vfs_modules"`
33819
URI_GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gnome_vfs_modules"`
33821
# Put the nasty error message in config.log where it belongs
33822
echo "$URI_GNOME_VFS_PKG_ERRORS" >&5
33824
{ echo "$as_me:$LINENO: result: no" >&5
33825
echo "${ECHO_T}no" >&6; }
33826
{ echo "$as_me:$LINENO: result: no" >&5
33827
echo "${ECHO_T}no" >&6; }
33828
have_gnomevfs="no (gnome-vfs-2.0 not found)"
33829
elif test $pkg_failed = untried; then
33830
{ echo "$as_me:$LINENO: result: no" >&5
33831
echo "${ECHO_T}no" >&6; }
33832
have_gnomevfs="no (gnome-vfs-2.0 not found)"
33834
URI_GNOME_VFS_CFLAGS=$pkg_cv_URI_GNOME_VFS_CFLAGS
33835
URI_GNOME_VFS_LIBS=$pkg_cv_URI_GNOME_VFS_LIBS
33836
{ echo "$as_me:$LINENO: result: yes" >&5
33837
echo "${ECHO_T}yes" >&6; }
33845
if test x"$have_gnomevfs" = xyes; then
33846
HAVE_GNOMEVFS_TRUE=
33847
HAVE_GNOMEVFS_FALSE='#'
33849
HAVE_GNOMEVFS_TRUE='#'
33850
HAVE_GNOMEVFS_FALSE=
33854
libcurl_modules="libcurl >= 7.15.1"
33857
# Check whether --with-libcurl was given.
33858
if test "${with_libcurl+set}" = set; then
33859
withval=$with_libcurl;
33863
have_libcurl="no (disabled)"
33865
if test x$with_libcurl != xno; then
33869
{ echo "$as_me:$LINENO: checking for URI_LIBCURL" >&5
33870
echo $ECHO_N "checking for URI_LIBCURL... $ECHO_C" >&6; }
33872
if test -n "$PKG_CONFIG"; then
33873
if test -n "$URI_LIBCURL_CFLAGS"; then
33874
pkg_cv_URI_LIBCURL_CFLAGS="$URI_LIBCURL_CFLAGS"
33876
if test -n "$PKG_CONFIG" && \
33877
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$libcurl_modules\"") >&5
33878
($PKG_CONFIG --exists --print-errors "$libcurl_modules") 2>&5
33880
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33881
(exit $ac_status); }; then
33882
pkg_cv_URI_LIBCURL_CFLAGS=`$PKG_CONFIG --cflags "$libcurl_modules" 2>/dev/null`
33890
if test -n "$PKG_CONFIG"; then
33891
if test -n "$URI_LIBCURL_LIBS"; then
33892
pkg_cv_URI_LIBCURL_LIBS="$URI_LIBCURL_LIBS"
33894
if test -n "$PKG_CONFIG" && \
33895
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$libcurl_modules\"") >&5
33896
($PKG_CONFIG --exists --print-errors "$libcurl_modules") 2>&5
33898
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33899
(exit $ac_status); }; then
33900
pkg_cv_URI_LIBCURL_LIBS=`$PKG_CONFIG --libs "$libcurl_modules" 2>/dev/null`
33911
if test $pkg_failed = yes; then
33913
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33914
_pkg_short_errors_supported=yes
33916
_pkg_short_errors_supported=no
33918
if test $_pkg_short_errors_supported = yes; then
33919
URI_LIBCURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$libcurl_modules"`
33921
URI_LIBCURL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$libcurl_modules"`
33923
# Put the nasty error message in config.log where it belongs
33924
echo "$URI_LIBCURL_PKG_ERRORS" >&5
33926
{ echo "$as_me:$LINENO: result: no" >&5
33927
echo "${ECHO_T}no" >&6; }
33928
{ echo "$as_me:$LINENO: result: no" >&5
33929
echo "${ECHO_T}no" >&6; }
33930
have_libcurl="no (libcurl not found)"
33931
elif test $pkg_failed = untried; then
33932
{ echo "$as_me:$LINENO: result: no" >&5
33933
echo "${ECHO_T}no" >&6; }
33934
have_libcurl="no (libcurl not found)"
33936
URI_LIBCURL_CFLAGS=$pkg_cv_URI_LIBCURL_CFLAGS
33937
URI_LIBCURL_LIBS=$pkg_cv_URI_LIBCURL_LIBS
33938
{ echo "$as_me:$LINENO: result: yes" >&5
33939
echo "${ECHO_T}yes" >&6; }
33947
if test "x$have_libcurl" = xyes; then
33949
HAVE_LIBCURL_FALSE='#'
33951
HAVE_LIBCURL_TRUE='#'
33952
HAVE_LIBCURL_FALSE=
33956
if test "x$have_gnomevfs" = xyes; then
33957
uri_plugin="yes (using gnome-vfs)"
33958
elif test x"$have_libcurl" = xyes; then
33959
uri_plugin="yes (using libcurl)"
33960
elif test x"$os_win32" = xno; then
33961
uri_plugin="yes (using wget)"
33964
if test "x$have_gnomeui" = xyes; then
33966
cat >>confdefs.h <<\_ACEOF
33967
#define HAVE_GNOMEUI 1
33972
if test "x$have_gnome_keyring" = xyes; then
33974
cat >>confdefs.h <<\_ACEOF
33975
#define HAVE_GNOME_KEYRING 1
35452
33983
###################
35453
33984
# Check for libwmf2
35454
33985
###################
35456
33988
# Extract the first word of "libwmf-config", so it can be a program name with args.
35457
33989
set dummy libwmf-config; ac_word=$2
35458
33990
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34865
###############################
34866
# Check for DirectX DirectInput
34867
###############################
34870
# Check whether --with-directx-sdk was given.
34871
if test "${with_directx_sdk+set}" = set; then
34872
withval=$with_directx_sdk;
34877
if test x"$os_win32" = xyes; then
34878
case "$with_directx_sdk" in
34879
*" "*) { echo "$as_me:$LINENO: WARNING: The DirectX SDK should be accessible through a path without spaces. Use MSYS mounts. Ignoring your --with-directx-sdk switch." >&5
34880
echo "$as_me: WARNING: The DirectX SDK should be accessible through a path without spaces. Use MSYS mounts. Ignoring your --with-directx-sdk switch." >&2;}
34881
with_directx_sdk=;;
34882
*\\*) { echo "$as_me:$LINENO: WARNING: Use plain (forward) slashes only in your --with-directx-sdk switch. Ignoring your --with-directx-sdk switch." >&5
34883
echo "$as_me: WARNING: Use plain (forward) slashes only in your --with-directx-sdk switch. Ignoring your --with-directx-sdk switch." >&2;}
34884
with_directx_sdk=;;
34887
dinput_save_CPPFLAGS="$CPPFLAGS"
34888
dinput_save_LDFLAGS="$CPPFLAGS"
34889
if test "x$with_directx_sdk" != x; then
34890
CPPFLAGS="-I $with_directx_sdk/Include $CPPFLAGS"
34891
LDFLAGS="-L$with_directx_sdk/Lib/x86 $LDFLAGS"
34892
if test "${ac_cv_header_dinput_h+set}" = set; then
34893
{ echo "$as_me:$LINENO: checking for dinput.h" >&5
34894
echo $ECHO_N "checking for dinput.h... $ECHO_C" >&6; }
34895
if test "${ac_cv_header_dinput_h+set}" = set; then
34896
echo $ECHO_N "(cached) $ECHO_C" >&6
34898
{ echo "$as_me:$LINENO: result: $ac_cv_header_dinput_h" >&5
34899
echo "${ECHO_T}$ac_cv_header_dinput_h" >&6; }
34901
# Is the header compilable?
34902
{ echo "$as_me:$LINENO: checking dinput.h usability" >&5
34903
echo $ECHO_N "checking dinput.h usability... $ECHO_C" >&6; }
34904
cat >conftest.$ac_ext <<_ACEOF
34907
cat confdefs.h >>conftest.$ac_ext
34908
cat >>conftest.$ac_ext <<_ACEOF
34909
/* end confdefs.h. */
34910
$ac_includes_default
34911
#include <dinput.h>
34913
rm -f conftest.$ac_objext
34914
if { (ac_try="$ac_compile"
34915
case "(($ac_try" in
34916
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34917
*) ac_try_echo=$ac_try;;
34919
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34920
(eval "$ac_compile") 2>conftest.er1
34922
grep -v '^ *+' conftest.er1 >conftest.err
34924
cat conftest.err >&5
34925
echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926
(exit $ac_status); } && {
34927
test -z "$ac_c_werror_flag" ||
34928
test ! -s conftest.err
34929
} && test -s conftest.$ac_objext; then
34930
ac_header_compiler=yes
34932
echo "$as_me: failed program was:" >&5
34933
sed 's/^/| /' conftest.$ac_ext >&5
34935
ac_header_compiler=no
34938
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34939
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34940
echo "${ECHO_T}$ac_header_compiler" >&6; }
34942
# Is the header present?
34943
{ echo "$as_me:$LINENO: checking dinput.h presence" >&5
34944
echo $ECHO_N "checking dinput.h presence... $ECHO_C" >&6; }
34945
cat >conftest.$ac_ext <<_ACEOF
34948
cat confdefs.h >>conftest.$ac_ext
34949
cat >>conftest.$ac_ext <<_ACEOF
34950
/* end confdefs.h. */
34951
#include <dinput.h>
34953
if { (ac_try="$ac_cpp conftest.$ac_ext"
34954
case "(($ac_try" in
34955
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34956
*) ac_try_echo=$ac_try;;
34958
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34959
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34961
grep -v '^ *+' conftest.er1 >conftest.err
34963
cat conftest.err >&5
34964
echo "$as_me:$LINENO: \$? = $ac_status" >&5
34965
(exit $ac_status); } >/dev/null && {
34966
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34967
test ! -s conftest.err
34969
ac_header_preproc=yes
34971
echo "$as_me: failed program was:" >&5
34972
sed 's/^/| /' conftest.$ac_ext >&5
34974
ac_header_preproc=no
34977
rm -f conftest.err conftest.$ac_ext
34978
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34979
echo "${ECHO_T}$ac_header_preproc" >&6; }
34981
# So? What about this header?
34982
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34984
{ echo "$as_me:$LINENO: WARNING: dinput.h: accepted by the compiler, rejected by the preprocessor!" >&5
34985
echo "$as_me: WARNING: dinput.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34986
{ echo "$as_me:$LINENO: WARNING: dinput.h: proceeding with the compiler's result" >&5
34987
echo "$as_me: WARNING: dinput.h: proceeding with the compiler's result" >&2;}
34988
ac_header_preproc=yes
34991
{ echo "$as_me:$LINENO: WARNING: dinput.h: present but cannot be compiled" >&5
34992
echo "$as_me: WARNING: dinput.h: present but cannot be compiled" >&2;}
34993
{ echo "$as_me:$LINENO: WARNING: dinput.h: check for missing prerequisite headers?" >&5
34994
echo "$as_me: WARNING: dinput.h: check for missing prerequisite headers?" >&2;}
34995
{ echo "$as_me:$LINENO: WARNING: dinput.h: see the Autoconf documentation" >&5
34996
echo "$as_me: WARNING: dinput.h: see the Autoconf documentation" >&2;}
34997
{ echo "$as_me:$LINENO: WARNING: dinput.h: section \"Present But Cannot Be Compiled\"" >&5
34998
echo "$as_me: WARNING: dinput.h: section \"Present But Cannot Be Compiled\"" >&2;}
34999
{ echo "$as_me:$LINENO: WARNING: dinput.h: proceeding with the preprocessor's result" >&5
35000
echo "$as_me: WARNING: dinput.h: proceeding with the preprocessor's result" >&2;}
35001
{ echo "$as_me:$LINENO: WARNING: dinput.h: in the future, the compiler will take precedence" >&5
35002
echo "$as_me: WARNING: dinput.h: in the future, the compiler will take precedence" >&2;}
35004
## ------------------------------------------------------------------- ##
35005
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP ##
35006
## ------------------------------------------------------------------- ##
35008
) | sed "s/^/$as_me: WARNING: /" >&2
35011
{ echo "$as_me:$LINENO: checking for dinput.h" >&5
35012
echo $ECHO_N "checking for dinput.h... $ECHO_C" >&6; }
35013
if test "${ac_cv_header_dinput_h+set}" = set; then
35014
echo $ECHO_N "(cached) $ECHO_C" >&6
35016
ac_cv_header_dinput_h=$ac_header_preproc
35018
{ echo "$as_me:$LINENO: result: $ac_cv_header_dinput_h" >&5
35019
echo "${ECHO_T}$ac_cv_header_dinput_h" >&6; }
35022
if test $ac_cv_header_dinput_h = yes; then
35023
{ echo "$as_me:$LINENO: checking for GUID_XAxis in -ldxguid" >&5
35024
echo $ECHO_N "checking for GUID_XAxis in -ldxguid... $ECHO_C" >&6; }
35025
if test "${ac_cv_lib_dxguid_GUID_XAxis+set}" = set; then
35026
echo $ECHO_N "(cached) $ECHO_C" >&6
35028
ac_check_lib_save_LIBS=$LIBS
35029
LIBS="-ldxguid $LIBS"
35030
cat >conftest.$ac_ext <<_ACEOF
35033
cat confdefs.h >>conftest.$ac_ext
35034
cat >>conftest.$ac_ext <<_ACEOF
35035
/* end confdefs.h. */
35037
/* Override any GCC internal prototype to avoid an error.
35038
Use char because int might match the return type of a GCC
35039
builtin and then its argument prototype would still apply. */
35043
char GUID_XAxis ();
35047
return GUID_XAxis ();
35052
rm -f conftest.$ac_objext conftest$ac_exeext
35053
if { (ac_try="$ac_link"
35054
case "(($ac_try" in
35055
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35056
*) ac_try_echo=$ac_try;;
35058
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35059
(eval "$ac_link") 2>conftest.er1
35061
grep -v '^ *+' conftest.er1 >conftest.err
35063
cat conftest.err >&5
35064
echo "$as_me:$LINENO: \$? = $ac_status" >&5
35065
(exit $ac_status); } && {
35066
test -z "$ac_c_werror_flag" ||
35067
test ! -s conftest.err
35068
} && test -s conftest$ac_exeext &&
35069
$as_test_x conftest$ac_exeext; then
35070
ac_cv_lib_dxguid_GUID_XAxis=yes
35072
echo "$as_me: failed program was:" >&5
35073
sed 's/^/| /' conftest.$ac_ext >&5
35075
ac_cv_lib_dxguid_GUID_XAxis=no
35078
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35079
conftest$ac_exeext conftest.$ac_ext
35080
LIBS=$ac_check_lib_save_LIBS
35082
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dxguid_GUID_XAxis" >&5
35083
echo "${ECHO_T}$ac_cv_lib_dxguid_GUID_XAxis" >&6; }
35084
if test $ac_cv_lib_dxguid_GUID_XAxis = yes; then
35093
if test "x$have_dx_dinput" = xyes; then
35095
cat >>confdefs.h <<\_ACEOF
35096
#define HAVE_DX_DINPUT 1
35100
CPPFLAGS="$dinput_save_CPPFLAGS"
35101
LDFLAGS="$dinput_save_LDFLAGS"
35107
if test $have_dx_dinput = yes; then
35108
HAVE_DX_DINPUT_TRUE=
35109
HAVE_DX_DINPUT_FALSE='#'
35111
HAVE_DX_DINPUT_TRUE='#'
35112
HAVE_DX_DINPUT_FALSE=
35117
###############################
35118
# Check for D-Bus GLib bindings
35119
###############################
35122
# Check whether --with-dbus was given.
35123
if test "${with_dbus+set}" = set; then
35124
withval=$with_dbus;
35128
have_dbus_glib="no (disabled)"
35130
if test x$with_dbus != xno; then
35134
{ echo "$as_me:$LINENO: checking for DBUS_GLIB" >&5
35135
echo $ECHO_N "checking for DBUS_GLIB... $ECHO_C" >&6; }
35137
if test -n "$PKG_CONFIG"; then
35138
if test -n "$DBUS_GLIB_CFLAGS"; then
35139
pkg_cv_DBUS_GLIB_CFLAGS="$DBUS_GLIB_CFLAGS"
35141
if test -n "$PKG_CONFIG" && \
35142
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.70\"") >&5
35143
($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.70") 2>&5
35145
echo "$as_me:$LINENO: \$? = $ac_status" >&5
35146
(exit $ac_status); }; then
35147
pkg_cv_DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= 0.70" 2>/dev/null`
35155
if test -n "$PKG_CONFIG"; then
35156
if test -n "$DBUS_GLIB_LIBS"; then
35157
pkg_cv_DBUS_GLIB_LIBS="$DBUS_GLIB_LIBS"
35159
if test -n "$PKG_CONFIG" && \
35160
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.70\"") >&5
35161
($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.70") 2>&5
35163
echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164
(exit $ac_status); }; then
35165
pkg_cv_DBUS_GLIB_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= 0.70" 2>/dev/null`
35176
if test $pkg_failed = yes; then
35178
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35179
_pkg_short_errors_supported=yes
35181
_pkg_short_errors_supported=no
35183
if test $_pkg_short_errors_supported = yes; then
35184
DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1 >= 0.70"`
35186
DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1 >= 0.70"`
35188
# Put the nasty error message in config.log where it belongs
35189
echo "$DBUS_GLIB_PKG_ERRORS" >&5
35191
{ echo "$as_me:$LINENO: result: no" >&5
35192
echo "${ECHO_T}no" >&6; }
35193
{ echo "$as_me:$LINENO: result: no" >&5
35194
echo "${ECHO_T}no" >&6; }
35196
elif test $pkg_failed = untried; then
35197
{ echo "$as_me:$LINENO: result: no" >&5
35198
echo "${ECHO_T}no" >&6; }
35201
DBUS_GLIB_CFLAGS=$pkg_cv_DBUS_GLIB_CFLAGS
35202
DBUS_GLIB_LIBS=$pkg_cv_DBUS_GLIB_LIBS
35203
{ echo "$as_me:$LINENO: result: yes" >&5
35204
echo "${ECHO_T}yes" >&6; }
35210
if test "x$have_dbus_glib" = xyes; then
35211
# Extract the first word of "dbus-binding-tool", so it can be a program name with args.
35212
set dummy dbus-binding-tool; ac_word=$2
35213
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
35214
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35215
if test "${ac_cv_path_DBUS_BINDING_TOOL+set}" = set; then
35216
echo $ECHO_N "(cached) $ECHO_C" >&6
35218
case $DBUS_BINDING_TOOL in
35220
ac_cv_path_DBUS_BINDING_TOOL="$DBUS_BINDING_TOOL" # Let the user override the test with a path.
35223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35224
for as_dir in $PATH
35227
test -z "$as_dir" && as_dir=.
35228
for ac_exec_ext in '' $ac_executable_extensions; do
35229
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35230
ac_cv_path_DBUS_BINDING_TOOL="$as_dir/$ac_word$ac_exec_ext"
35231
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35238
test -z "$ac_cv_path_DBUS_BINDING_TOOL" && ac_cv_path_DBUS_BINDING_TOOL="no"
35242
DBUS_BINDING_TOOL=$ac_cv_path_DBUS_BINDING_TOOL
35243
if test -n "$DBUS_BINDING_TOOL"; then
35244
{ echo "$as_me:$LINENO: result: $DBUS_BINDING_TOOL" >&5
35245
echo "${ECHO_T}$DBUS_BINDING_TOOL" >&6; }
35247
{ echo "$as_me:$LINENO: result: no" >&5
35248
echo "${ECHO_T}no" >&6; }
35252
if test x$DBUS_BINDING_TOOL = xno; then
35253
{ echo "$as_me:$LINENO: WARNING: Could not find dbus-binding-tool in your PATH" >&5
35254
echo "$as_me: WARNING: Could not find dbus-binding-tool in your PATH" >&2;}
35255
have_dbus_glib="no (dbus-binding-tool not found)"
35259
if test "x$have_dbus_glib" = xyes; then
35261
cat >>confdefs.h <<\_ACEOF
35262
#define HAVE_DBUS_GLIB 1
35265
GIMP_COMMAND='gimp-2.3'
35269
###############################################
35270
# Check for libhal (Hardware Abstraction Layer)
35271
###############################################
35275
if test "x$have_linux_input" = xyes && test "x$have_dbus_glib" = xyes; then
35278
{ echo "$as_me:$LINENO: checking for HAL" >&5
35279
echo $ECHO_N "checking for HAL... $ECHO_C" >&6; }
35281
if test -n "$PKG_CONFIG"; then
35282
if test -n "$HAL_CFLAGS"; then
35283
pkg_cv_HAL_CFLAGS="$HAL_CFLAGS"
35285
if test -n "$PKG_CONFIG" && \
35286
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal >= 0.5.7\"") >&5
35287
($PKG_CONFIG --exists --print-errors "hal >= 0.5.7") 2>&5
35289
echo "$as_me:$LINENO: \$? = $ac_status" >&5
35290
(exit $ac_status); }; then
35291
pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "hal >= 0.5.7" 2>/dev/null`
35299
if test -n "$PKG_CONFIG"; then
35300
if test -n "$HAL_LIBS"; then
35301
pkg_cv_HAL_LIBS="$HAL_LIBS"
35303
if test -n "$PKG_CONFIG" && \
35304
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal >= 0.5.7\"") >&5
35305
($PKG_CONFIG --exists --print-errors "hal >= 0.5.7") 2>&5
35307
echo "$as_me:$LINENO: \$? = $ac_status" >&5
35308
(exit $ac_status); }; then
35309
pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "hal >= 0.5.7" 2>/dev/null`
35320
if test $pkg_failed = yes; then
35322
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35323
_pkg_short_errors_supported=yes
35325
_pkg_short_errors_supported=no
35327
if test $_pkg_short_errors_supported = yes; then
35328
HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hal >= 0.5.7"`
35330
HAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hal >= 0.5.7"`
35332
# Put the nasty error message in config.log where it belongs
35333
echo "$HAL_PKG_ERRORS" >&5
35335
{ echo "$as_me:$LINENO: result: no" >&5
35336
echo "${ECHO_T}no" >&6; }
35337
{ echo "$as_me:$LINENO: result: no" >&5
35338
echo "${ECHO_T}no" >&6; }
35339
have_libhal="no (libhal not found)"
35341
elif test $pkg_failed = untried; then
35342
{ echo "$as_me:$LINENO: result: no" >&5
35343
echo "${ECHO_T}no" >&6; }
35344
have_libhal="no (libhal not found)"
35347
HAL_CFLAGS=$pkg_cv_HAL_CFLAGS
35348
HAL_LIBS=$pkg_cv_HAL_LIBS
35349
{ echo "$as_me:$LINENO: result: yes" >&5
35350
echo "${ECHO_T}yes" >&6; }
35355
if test "x$have_libhal" = xyes; then
35357
cat >>confdefs.h <<\_ACEOF
35358
#define HAVE_LIBHAL 1
36448
35364
############################################################
36449
35365
# GIF compression: Allow builder to specify at compile time
36450
35366
# which compression style she wants to use for GIFs.
36929
35872
_pkg_short_errors_supported=no
36931
35874
if test $_pkg_short_errors_supported = yes; then
36932
PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygtk-2.0 >= 1.99.15"`
35875
PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygtk-2.0 >= 2.10.4"`
36934
PYGTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygtk-2.0 >= 1.99.15"`
35877
PYGTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygtk-2.0 >= 2.10.4"`
36936
35879
# Put the nasty error message in config.log where it belongs
36937
35880
echo "$PYGTK_PKG_ERRORS" >&5
36939
{ { echo "$as_me:$LINENO: error: Package requirements (pygtk-2.0 >= 1.99.15) were not met:
36943
Consider adjusting the PKG_CONFIG_PATH environment variable if you
36944
installed software in a non-standard prefix.
36946
Alternatively, you may set the environment variables PYGTK_CFLAGS
36947
and PYGTK_LIBS to avoid the need to call pkg-config.
36948
See the pkg-config man page for more details.
36950
echo "$as_me: error: Package requirements (pygtk-2.0 >= 1.99.15) were not met:
36954
Consider adjusting the PKG_CONFIG_PATH environment variable if you
36955
installed software in a non-standard prefix.
36957
Alternatively, you may set the environment variables PYGTK_CFLAGS
36958
and PYGTK_LIBS to avoid the need to call pkg-config.
36959
See the pkg-config man page for more details.
35882
{ echo "$as_me:$LINENO: result: no" >&5
35883
echo "${ECHO_T}no" >&6; }
35884
{ { echo "$as_me:$LINENO: error:
35885
*** Could not find PyGTK.
35886
*** Please install it, or skip building the python scripting extension by
35887
*** passing --disable-python to configure (but then you will not be able
35888
*** to use scripts for GIMP that are written in Python)." >&5
35889
echo "$as_me: error:
35890
*** Could not find PyGTK.
35891
*** Please install it, or skip building the python scripting extension by
35892
*** passing --disable-python to configure (but then you will not be able
35893
*** to use scripts for GIMP that are written in Python)." >&2;}
36961
35894
{ (exit 1); exit 1; }; }
36962
35895
elif test $pkg_failed = untried; then
36963
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
36964
is in your PATH or set the PKG_CONFIG environment variable to the full
36965
path to pkg-config.
36967
Alternatively, you may set the environment variables PYGTK_CFLAGS
36968
and PYGTK_LIBS to avoid the need to call pkg-config.
36969
See the pkg-config man page for more details.
36971
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
36972
See \`config.log' for more details." >&5
36973
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
36974
is in your PATH or set the PKG_CONFIG environment variable to the full
36975
path to pkg-config.
36977
Alternatively, you may set the environment variables PYGTK_CFLAGS
36978
and PYGTK_LIBS to avoid the need to call pkg-config.
36979
See the pkg-config man page for more details.
36981
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
36982
See \`config.log' for more details." >&2;}
35896
{ { echo "$as_me:$LINENO: error:
35897
*** Could not find PyGTK.
35898
*** Please install it, or skip building the python scripting extension by
35899
*** passing --disable-python to configure (but then you will not be able
35900
*** to use scripts for GIMP that are written in Python)." >&5
35901
echo "$as_me: error:
35902
*** Could not find PyGTK.
35903
*** Please install it, or skip building the python scripting extension by
35904
*** passing --disable-python to configure (but then you will not be able
35905
*** to use scripts for GIMP that are written in Python)." >&2;}
36983
35906
{ (exit 1); exit 1; }; }
36985
35908
PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS
38767
37819
INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim
38768
37820
INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim
38769
37821
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
37822
DATADIRNAME!$DATADIRNAME$ac_delim
38770
37823
USE_NLS!$USE_NLS$ac_delim
38771
37824
MSGFMT!$MSGFMT$ac_delim
37825
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
38772
37826
GMSGFMT!$GMSGFMT$ac_delim
38773
37827
XGETTEXT!$XGETTEXT$ac_delim
38774
37828
CATALOGS!$CATALOGS$ac_delim
38775
37829
CATOBJEXT!$CATOBJEXT$ac_delim
38776
DATADIRNAME!$DATADIRNAME$ac_delim
38777
37830
GMOFILES!$GMOFILES$ac_delim
38778
37831
INSTOBJEXT!$INSTOBJEXT$ac_delim
37834
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
37836
elif $ac_last_try; then
37837
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
37838
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
37839
{ (exit 1); exit 1; }; }
37841
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
37845
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
37846
if test -n "$ac_eof"; then
37847
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
37848
ac_eof=`expr $ac_eof + 1`
37851
cat >>$CONFIG_STATUS <<_ACEOF
37852
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
37853
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
37856
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
37857
s/^/s,@/; s/!/@,|#_!!_#|/
37860
s/'"$ac_delim"'$/,g/; t
37862
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
37863
' >>$CONFIG_STATUS <conf$$subs.sed
37864
rm -f conf$$subs.sed
37865
cat >>$CONFIG_STATUS <<_ACEOF
37871
for ac_last_try in false false false false false :; do
37872
cat >conf$$subs.sed <<_ACEOF
38779
37873
INTLLIBS!$INTLLIBS$ac_delim
38780
37874
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
38781
37875
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
38782
37876
POFILES!$POFILES$ac_delim
38785
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
38787
elif $ac_last_try; then
38788
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
38789
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
38790
{ (exit 1); exit 1; }; }
38792
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
38796
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
38797
if test -n "$ac_eof"; then
38798
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
38799
ac_eof=`expr $ac_eof + 1`
38802
cat >>$CONFIG_STATUS <<_ACEOF
38803
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
38804
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
38807
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
38808
s/^/s,@/; s/!/@,|#_!!_#|/
38811
s/'"$ac_delim"'$/,g/; t
38813
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
38814
' >>$CONFIG_STATUS <conf$$subs.sed
38815
rm -f conf$$subs.sed
38816
cat >>$CONFIG_STATUS <<_ACEOF
38822
for ac_last_try in false false false false false :; do
38823
cat >conf$$subs.sed <<_ACEOF
38824
37877
POSUB!$POSUB$ac_delim
38825
37878
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
38826
37879
PKG_CONFIG!$PKG_CONFIG$ac_delim
38892
37950
SVG_LIBS!$SVG_LIBS$ac_delim
38893
37951
SVG!$SVG$ac_delim
38894
37952
LIBSVG!$LIBSVG$ac_delim
38895
GIMPPRINT_CONFIG!$GIMPPRINT_CONFIG$ac_delim
38896
GIMPPRINT_CFLAGS!$GIMPPRINT_CFLAGS$ac_delim
38897
GIMPPRINT_LIBS!$GIMPPRINT_LIBS$ac_delim
38898
PRINT_LIBS!$PRINT_LIBS$ac_delim
38899
PRINT_CFLAGS!$PRINT_CFLAGS$ac_delim
38900
37953
BUILD_PRINT_TRUE!$BUILD_PRINT_TRUE$ac_delim
38901
37954
BUILD_PRINT_FALSE!$BUILD_PRINT_FALSE$ac_delim
37955
POPPLER_CFLAGS!$POPPLER_CFLAGS$ac_delim
37956
POPPLER_LIBS!$POPPLER_LIBS$ac_delim
37957
POPPLER!$POPPLER$ac_delim
37958
LIBPOPPLER!$LIBPOPPLER$ac_delim
37959
URI_GNOME_VFS_CFLAGS!$URI_GNOME_VFS_CFLAGS$ac_delim
37960
URI_GNOME_VFS_LIBS!$URI_GNOME_VFS_LIBS$ac_delim
37961
HAVE_GNOMEVFS_TRUE!$HAVE_GNOMEVFS_TRUE$ac_delim
37962
HAVE_GNOMEVFS_FALSE!$HAVE_GNOMEVFS_FALSE$ac_delim
37963
URI_LIBCURL_CFLAGS!$URI_LIBCURL_CFLAGS$ac_delim
37964
URI_LIBCURL_LIBS!$URI_LIBCURL_LIBS$ac_delim
37965
HAVE_LIBCURL_TRUE!$HAVE_LIBCURL_TRUE$ac_delim
37966
HAVE_LIBCURL_FALSE!$HAVE_LIBCURL_FALSE$ac_delim
38902
37967
WMF_CONFIG!$WMF_CONFIG$ac_delim
38903
37968
LIBWMF!$LIBWMF$ac_delim
38904
37969
WMF_CFLAGS!$WMF_CFLAGS$ac_delim
38905
LCMS_LIBS!$LCMS_LIBS$ac_delim
37972
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
37974
elif $ac_last_try; then
37975
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
37976
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
37977
{ (exit 1); exit 1; }; }
37979
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
37983
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
37984
if test -n "$ac_eof"; then
37985
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
37986
ac_eof=`expr $ac_eof + 1`
37989
cat >>$CONFIG_STATUS <<_ACEOF
37990
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
37991
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
37994
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
37995
s/^/s,@/; s/!/@,|#_!!_#|/
37998
s/'"$ac_delim"'$/,g/; t
38000
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
38001
' >>$CONFIG_STATUS <conf$$subs.sed
38002
rm -f conf$$subs.sed
38003
cat >>$CONFIG_STATUS <<_ACEOF
38009
for ac_last_try in false false false false false :; do
38010
cat >conf$$subs.sed <<_ACEOF
38012
LCMS!$LCMS$ac_delim
38013
LIBLCMS!$LIBLCMS$ac_delim
38906
38014
HAVE_LCMS_TRUE!$HAVE_LCMS_TRUE$ac_delim
38907
38015
HAVE_LCMS_FALSE!$HAVE_LCMS_FALSE$ac_delim
38908
38016
ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim
38909
38017
ALSA_LIBS!$ALSA_LIBS$ac_delim
38910
38018
HAVE_LINUX_INPUT_TRUE!$HAVE_LINUX_INPUT_TRUE$ac_delim
38911
38019
HAVE_LINUX_INPUT_FALSE!$HAVE_LINUX_INPUT_FALSE$ac_delim
38020
HAVE_DX_DINPUT_TRUE!$HAVE_DX_DINPUT_TRUE$ac_delim
38021
HAVE_DX_DINPUT_FALSE!$HAVE_DX_DINPUT_FALSE$ac_delim
38022
DBUS_GLIB_CFLAGS!$DBUS_GLIB_CFLAGS$ac_delim
38023
DBUS_GLIB_LIBS!$DBUS_GLIB_LIBS$ac_delim
38024
DBUS_BINDING_TOOL!$DBUS_BINDING_TOOL$ac_delim
38025
HAL_CFLAGS!$HAL_CFLAGS$ac_delim
38026
HAL_LIBS!$HAL_LIBS$ac_delim
38912
38027
SENDMAIL!$SENDMAIL$ac_delim
38913
38028
PERL!$PERL$ac_delim
38914
38029
WITH_PDBGEN_TRUE!$WITH_PDBGEN_TRUE$ac_delim