2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.69 for GIMP 2.8.2.
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP>.
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in #(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
94
*[\\/]* ) as_myself=$0 ;;
95
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99
test -z "$as_dir" && as_dir=.
100
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
# in which case we are not to be found in the path.
108
if test "x$as_myself" = x; then
111
if test ! -f "$as_myself"; then
112
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116
# Unset variables that we do not need and which cause bugs (e.g. in
117
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118
# suppresses any "Segmentation fault" message there. '((' could
119
# trigger a bug in pdksh 5.2.14.
120
for as_var in BASH_ENV ENV MAIL MAILPATH
121
do eval test x\${$as_var+set} = xset \
122
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
# Use a proper internal environment variable to ensure we don't fall
138
# into an infinite loop, continuously re-executing ourselves.
139
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
_as_can_reexec=no; export _as_can_reexec;
141
# We cannot yet assume a decent shell, so we have to provide a
142
# neutralization value for shells without unset; and this also
143
# works around shells that cannot unset nonexistent variables.
144
# Preserve -v and -x to the replacement shell.
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149
*v*x* | *x*v* ) as_opts=-vx ;;
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
# Admittedly, this is quite paranoid, since all the known shells bail
156
# out after a failed `exec'.
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160
# We don't want this to propagate to other subprocesses.
161
{ _as_can_reexec=; unset _as_can_reexec;}
162
if test "x$CONFIG_SHELL" = x; then
163
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167
# is contrary to our usage. Disable this feature.
168
alias -g '\${1+\"\$@\"}'='\"\$@\"'
171
case \`(set -o) 2>/dev/null\` in #(
179
as_required="as_fn_return () { (exit \$1); }
180
as_fn_success () { as_fn_return 0; }
181
as_fn_failure () { as_fn_return 1; }
182
as_fn_ret_success () { return 0; }
183
as_fn_ret_failure () { return 1; }
186
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193
exitcode=1; echo positional parameters were not saved.
195
test x\$exitcode = x0 || exit 1
197
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206
PATH=/empty FPATH=/empty; export PATH FPATH
207
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209
test \$(( 1 + 1 )) = 2 || exit 1"
210
if (eval "$as_required") 2>/dev/null; then :
215
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
test -z "$as_dir" && as_dir=.
227
for as_base in sh bash ksh sh5; do
228
# Try only shells that exist, to save several forks.
229
as_shell=$as_dir/$as_base
230
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232
CONFIG_SHELL=$as_shell as_have_required=yes
233
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243
CONFIG_SHELL=$SHELL as_have_required=yes
248
if test "x$CONFIG_SHELL" != x; then :
250
# We cannot yet assume a decent shell, so we have to provide a
251
# neutralization value for shells without unset; and this also
252
# works around shells that cannot unset nonexistent variables.
253
# Preserve -v and -x to the replacement shell.
256
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258
*v*x* | *x*v* ) as_opts=-vx ;;
263
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264
# Admittedly, this is quite paranoid, since all the known shells bail
265
# out after a failed `exec'.
266
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270
if test x$as_have_required = xno; then :
271
$as_echo "$0: This script requires a shell more modern than all"
272
$as_echo "$0: the shells that I found on your system."
273
if test x${ZSH_VERSION+set} = xset ; then
274
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
277
$as_echo "$0: Please tell bug-autoconf@gnu.org and
278
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP
279
$0: about your system, including any error possibly output
280
$0: before this message. Then install a modern shell, or
281
$0: manually run the script under such a shell if you do
288
SHELL=${CONFIG_SHELL-/bin/sh}
290
# Unset more variables known to interfere with behavior of common tools.
291
CLICOLOR_FORCE= GREP_OPTIONS=
292
unset CLICOLOR_FORCE GREP_OPTIONS
294
## --------------------- ##
295
## M4sh Shell Functions. ##
296
## --------------------- ##
299
# Portably unset VAR.
302
{ eval $1=; unset $1;}
306
# as_fn_set_status STATUS
307
# -----------------------
308
# Set $? to STATUS, without forking.
316
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326
# Create "$as_dir" as a directory, including parents if necessary.
331
-*) as_dir=./$as_dir;;
333
test -d "$as_dir" || eval $as_mkdir_p || {
337
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340
as_dirs="'$as_qdir' $as_dirs"
341
as_dir=`$as_dirname -- "$as_dir" ||
342
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343
X"$as_dir" : 'X\(//\)[^/]' \| \
344
X"$as_dir" : 'X\(//\)$' \| \
345
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346
$as_echo X"$as_dir" |
347
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364
test -d "$as_dir" && break
366
test -z "$as_dirs" || eval "mkdir $as_dirs"
367
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372
# as_fn_executable_p FILE
373
# -----------------------
374
# Test if FILE is an executable regular file.
375
as_fn_executable_p ()
377
test -f "$1" && test -x "$1"
378
} # as_fn_executable_p
379
# as_fn_append VAR VALUE
380
# ----------------------
381
# Append the text in VALUE to the end of the definition contained in VAR. Take
382
# advantage of any shell optimizations that allow amortized linear growth over
383
# repeated appends, instead of the typical quadratic growth present in naive
385
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386
eval 'as_fn_append ()
399
# Perform arithmetic evaluation on the ARGs, and store the result in the
400
# global $as_val. Take advantage of shells that can avoid forks. The arguments
401
# must be portable across $(()) and expr.
402
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410
as_val=`expr "$@" || test $? -eq 1`
415
# as_fn_error STATUS ERROR [LINENO LOG_FD]
416
# ----------------------------------------
417
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419
# script with STATUS, using 1 if that was 0.
422
as_status=$1; test $as_status -eq 0 && as_status=1
424
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427
$as_echo "$as_me: error: $2" >&2
428
as_fn_exit $as_status
431
if expr a : '\(a\)' >/dev/null 2>&1 &&
432
test "X`expr 00001 : '.*\(...\)'`" = X001; then
438
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450
as_me=`$as_basename -- "$0" ||
451
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452
X"$0" : 'X\(//\)$' \| \
453
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455
sed '/^.*\/\([^/][^/]*\)\/*$/{
469
# Avoid depending upon Character Ranges.
470
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473
as_cr_digits='0123456789'
474
as_cr_alnum=$as_cr_Letters$as_cr_digits
477
as_lineno_1=$LINENO as_lineno_1a=$LINENO
478
as_lineno_2=$LINENO as_lineno_2a=$LINENO
479
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497
chmod +x "$as_me.lineno" ||
498
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501
# already done that, so ensure we don't try to do so again and fall
502
# in an infinite loop. This has already happened in practice.
503
_as_can_reexec=no; export _as_can_reexec
504
# Don't try to exec as it changes $[0], causing all sort of problems
505
# (the dirname of $[0] is not the place where we might find the
506
# original and so on. Autoconf is especially sensitive to this).
508
# Exit status is that of the last command.
512
ECHO_C= ECHO_N= ECHO_T=
513
case `echo -n x` in #(((((
515
case `echo 'xy\c'` in
516
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
518
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525
rm -f conf$$ conf$$.exe conf$$.file
526
if test -d conf$$.dir; then
527
rm -f conf$$.dir/conf$$.file
530
mkdir conf$$.dir 2>/dev/null
532
if (echo >conf$$.file) 2>/dev/null; then
533
if ln -s conf$$.file conf$$ 2>/dev/null; then
535
# ... but there are two gotchas:
536
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538
# In both cases, we have to default to `cp -pR'.
539
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541
elif ln conf$$.file conf$$ 2>/dev/null; then
549
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550
rmdir conf$$.dir 2>/dev/null
552
if mkdir -p . 2>/dev/null; then
553
as_mkdir_p='mkdir -p "$as_dir"'
555
test -d ./-p && rmdir ./-p
560
as_executable_p=as_fn_executable_p
562
# Sed expression to map a string onto a valid CPP name.
563
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565
# Sed expression to map a string onto a valid variable name.
566
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568
SHELL=${CONFIG_SHELL-/bin/sh}
571
test -n "$DJDIR" || exec 7<&0 </dev/null
575
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576
# so uname gets run too.
577
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
ac_default_prefix=/usr/local
584
ac_config_libobj_dir=.
591
# Identity of this package.
593
PACKAGE_TARNAME='gimp'
594
PACKAGE_VERSION='2.8.2'
595
PACKAGE_STRING='GIMP 2.8.2'
596
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP'
599
ac_unique_file="app/core/gimp.c"
600
# Factoring default headers for most tests.
601
ac_includes_default="\
603
#ifdef HAVE_SYS_TYPES_H
604
# include <sys/types.h>
606
#ifdef HAVE_SYS_STAT_H
607
# include <sys/stat.h>
613
# ifdef HAVE_STDLIB_H
618
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623
#ifdef HAVE_STRINGS_H
624
# include <strings.h>
626
#ifdef HAVE_INTTYPES_H
627
# include <inttypes.h>
636
ac_subst_vars='am__EXEEXT_FALSE
651
ENABLE_GIMP_CONSOLE_FALSE
652
ENABLE_GIMP_CONSOLE_TRUE
655
ENABLE_GTK_DOC_APP_FALSE
656
ENABLE_GTK_DOC_APP_TRUE
657
GTK_DOC_USE_REBASE_FALSE
658
GTK_DOC_USE_REBASE_TRUE
659
GTK_DOC_USE_LIBTOOL_FALSE
660
GTK_DOC_USE_LIBTOOL_TRUE
661
GTK_DOC_BUILD_PDF_FALSE
662
GTK_DOC_BUILD_PDF_TRUE
663
GTK_DOC_BUILD_HTML_FALSE
664
GTK_DOC_BUILD_HTML_TRUE
683
DESKTOP_DATADIR_FALSE
691
BUILD_SCRIPT_FU_FALSE
723
HAVE_LINUX_INPUT_FALSE
724
HAVE_LINUX_INPUT_TRUE
834
GMODULE_NO_EXPORT_LIBS
835
GMODULE_NO_EXPORT_CFLAGS
836
GLIB_COMPILE_RESOURCES
869
INTLTOOL_SERVICE_RULE
871
INTLTOOL_SCHEMAS_RULE
873
INTLTOOL_XML_NOMERGE_RULE
878
INTLTOOL_SOUNDLIST_RULE
885
INTLTOOL_DIRECTORY_RULE
886
INTLTOOL_DESKTOP_RULE
887
intltool__v_merge_options_0
888
intltool__v_merge_options_
889
INTLTOOL_V_MERGE_OPTIONS
904
MS_LIB_AVAILABLE_FALSE
905
MS_LIB_AVAILABLE_TRUE
913
WIN32_LARGE_ADDRESS_AWARE
920
MAINTAINER_MODE_FALSE
922
am__fastdepCCAS_FALSE
980
CAIRO_REQUIRED_VERSION
982
GDK_PIXBUF_REQUIRED_VERSION
983
GLIB_REQUIRED_VERSION
989
GIMP_PKGCONFIG_VERSION
1002
AM_DEFAULT_VERBOSITY
1013
INSTALL_STRIP_PROGRAM
1055
program_transform_name
1068
enable_option_checking
1070
enable_dependency_tracking
1078
enable_maintainer_mode
1084
enable_binreloc_threads
1116
with_alsa_inc_prefix
1122
with_gif_compression
1135
enable_default_binary
1139
ac_precious_vars='build_alias
1159
GMODULE_NO_EXPORT_CFLAGS
1160
GMODULE_NO_EXPORT_LIBS
1203
# Initialize some variables set by options.
1205
ac_init_version=false
1206
ac_unrecognized_opts=
1207
ac_unrecognized_sep=
1208
# The variables have the same names as the options, with
1209
# dashes changed to underlines.
1210
cache_file=/dev/null
1217
program_transform_name=s,x,x,
1225
# Installation directory options.
1226
# These are left unexpanded so users can "make install exec_prefix=/foo"
1227
# and all the variables that are supposed to be based on exec_prefix
1228
# by default will actually change.
1229
# Use braces instead of parens because sh, perl, etc. also accept them.
1230
# (The list follows the same order as the GNU Coding Standards.)
1231
bindir='${exec_prefix}/bin'
1232
sbindir='${exec_prefix}/sbin'
1233
libexecdir='${exec_prefix}/libexec'
1234
datarootdir='${prefix}/share'
1235
datadir='${datarootdir}'
1236
sysconfdir='${prefix}/etc'
1237
sharedstatedir='${prefix}/com'
1238
localstatedir='${prefix}/var'
1239
includedir='${prefix}/include'
1240
oldincludedir='/usr/include'
1241
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1242
infodir='${datarootdir}/info'
1247
libdir='${exec_prefix}/lib'
1248
localedir='${datarootdir}/locale'
1249
mandir='${datarootdir}/man'
1255
# If the previous option needs an argument, assign it.
1256
if test -n "$ac_prev"; then
1257
eval $ac_prev=\$ac_option
1263
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1268
# Accept the important Cygnus configure options, so we can diagnose typos.
1270
case $ac_dashdash$ac_option in
1274
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1276
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1277
bindir=$ac_optarg ;;
1279
-build | --build | --buil | --bui | --bu)
1280
ac_prev=build_alias ;;
1281
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1282
build_alias=$ac_optarg ;;
1284
-cache-file | --cache-file | --cache-fil | --cache-fi \
1285
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1286
ac_prev=cache_file ;;
1287
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1288
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1289
cache_file=$ac_optarg ;;
1291
--config-cache | -C)
1292
cache_file=config.cache ;;
1294
-datadir | --datadir | --datadi | --datad)
1296
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1297
datadir=$ac_optarg ;;
1299
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1300
| --dataroo | --dataro | --datar)
1301
ac_prev=datarootdir ;;
1302
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1303
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1304
datarootdir=$ac_optarg ;;
1306
-disable-* | --disable-*)
1307
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1308
# Reject names that are not valid shell variable names.
1309
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1310
as_fn_error $? "invalid feature name: $ac_useropt"
1311
ac_useropt_orig=$ac_useropt
1312
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1313
case $ac_user_opts in
1315
"enable_$ac_useropt"
1317
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1318
ac_unrecognized_sep=', ';;
1320
eval enable_$ac_useropt=no ;;
1322
-docdir | --docdir | --docdi | --doc | --do)
1324
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1325
docdir=$ac_optarg ;;
1327
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1329
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1330
dvidir=$ac_optarg ;;
1332
-enable-* | --enable-*)
1333
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1334
# Reject names that are not valid shell variable names.
1335
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1336
as_fn_error $? "invalid feature name: $ac_useropt"
1337
ac_useropt_orig=$ac_useropt
1338
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1339
case $ac_user_opts in
1341
"enable_$ac_useropt"
1343
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1344
ac_unrecognized_sep=', ';;
1346
eval enable_$ac_useropt=\$ac_optarg ;;
1348
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1349
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1350
| --exec | --exe | --ex)
1351
ac_prev=exec_prefix ;;
1352
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1353
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1354
| --exec=* | --exe=* | --ex=*)
1355
exec_prefix=$ac_optarg ;;
1357
-gas | --gas | --ga | --g)
1358
# Obsolete; use --with-gas.
1361
-help | --help | --hel | --he | -h)
1362
ac_init_help=long ;;
1363
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1364
ac_init_help=recursive ;;
1365
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1366
ac_init_help=short ;;
1368
-host | --host | --hos | --ho)
1369
ac_prev=host_alias ;;
1370
-host=* | --host=* | --hos=* | --ho=*)
1371
host_alias=$ac_optarg ;;
1373
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1375
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1377
htmldir=$ac_optarg ;;
1379
-includedir | --includedir | --includedi | --included | --include \
1380
| --includ | --inclu | --incl | --inc)
1381
ac_prev=includedir ;;
1382
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1383
| --includ=* | --inclu=* | --incl=* | --inc=*)
1384
includedir=$ac_optarg ;;
1386
-infodir | --infodir | --infodi | --infod | --info | --inf)
1388
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1389
infodir=$ac_optarg ;;
1391
-libdir | --libdir | --libdi | --libd)
1393
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1394
libdir=$ac_optarg ;;
1396
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1397
| --libexe | --libex | --libe)
1398
ac_prev=libexecdir ;;
1399
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1400
| --libexe=* | --libex=* | --libe=*)
1401
libexecdir=$ac_optarg ;;
1403
-localedir | --localedir | --localedi | --localed | --locale)
1404
ac_prev=localedir ;;
1405
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1406
localedir=$ac_optarg ;;
1408
-localstatedir | --localstatedir | --localstatedi | --localstated \
1409
| --localstate | --localstat | --localsta | --localst | --locals)
1410
ac_prev=localstatedir ;;
1411
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1412
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1413
localstatedir=$ac_optarg ;;
1415
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1417
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1418
mandir=$ac_optarg ;;
1420
-nfp | --nfp | --nf)
1421
# Obsolete; use --without-fp.
1424
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1425
| --no-cr | --no-c | -n)
1428
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1429
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1432
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1433
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1434
| --oldin | --oldi | --old | --ol | --o)
1435
ac_prev=oldincludedir ;;
1436
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1437
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1438
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1439
oldincludedir=$ac_optarg ;;
1441
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1443
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1444
prefix=$ac_optarg ;;
1446
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1447
| --program-pre | --program-pr | --program-p)
1448
ac_prev=program_prefix ;;
1449
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1450
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1451
program_prefix=$ac_optarg ;;
1453
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1454
| --program-suf | --program-su | --program-s)
1455
ac_prev=program_suffix ;;
1456
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1457
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1458
program_suffix=$ac_optarg ;;
1460
-program-transform-name | --program-transform-name \
1461
| --program-transform-nam | --program-transform-na \
1462
| --program-transform-n | --program-transform- \
1463
| --program-transform | --program-transfor \
1464
| --program-transfo | --program-transf \
1465
| --program-trans | --program-tran \
1466
| --progr-tra | --program-tr | --program-t)
1467
ac_prev=program_transform_name ;;
1468
-program-transform-name=* | --program-transform-name=* \
1469
| --program-transform-nam=* | --program-transform-na=* \
1470
| --program-transform-n=* | --program-transform-=* \
1471
| --program-transform=* | --program-transfor=* \
1472
| --program-transfo=* | --program-transf=* \
1473
| --program-trans=* | --program-tran=* \
1474
| --progr-tra=* | --program-tr=* | --program-t=*)
1475
program_transform_name=$ac_optarg ;;
1477
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1479
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1480
pdfdir=$ac_optarg ;;
1482
-psdir | --psdir | --psdi | --psd | --ps)
1484
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1487
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1488
| -silent | --silent | --silen | --sile | --sil)
1491
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1493
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1495
sbindir=$ac_optarg ;;
1497
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1498
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1499
| --sharedst | --shareds | --shared | --share | --shar \
1501
ac_prev=sharedstatedir ;;
1502
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1503
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1504
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1506
sharedstatedir=$ac_optarg ;;
1508
-site | --site | --sit)
1510
-site=* | --site=* | --sit=*)
1513
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1515
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1516
srcdir=$ac_optarg ;;
1518
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1519
| --syscon | --sysco | --sysc | --sys | --sy)
1520
ac_prev=sysconfdir ;;
1521
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1522
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1523
sysconfdir=$ac_optarg ;;
1525
-target | --target | --targe | --targ | --tar | --ta | --t)
1526
ac_prev=target_alias ;;
1527
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1528
target_alias=$ac_optarg ;;
1530
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1533
-version | --version | --versio | --versi | --vers | -V)
1534
ac_init_version=: ;;
1537
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1538
# Reject names that are not valid shell variable names.
1539
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1540
as_fn_error $? "invalid package name: $ac_useropt"
1541
ac_useropt_orig=$ac_useropt
1542
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1543
case $ac_user_opts in
1547
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1548
ac_unrecognized_sep=', ';;
1550
eval with_$ac_useropt=\$ac_optarg ;;
1552
-without-* | --without-*)
1553
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1554
# Reject names that are not valid shell variable names.
1555
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1556
as_fn_error $? "invalid package name: $ac_useropt"
1557
ac_useropt_orig=$ac_useropt
1558
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1559
case $ac_user_opts in
1563
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1564
ac_unrecognized_sep=', ';;
1566
eval with_$ac_useropt=no ;;
1569
# Obsolete; use --with-x.
1572
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1573
| --x-incl | --x-inc | --x-in | --x-i)
1574
ac_prev=x_includes ;;
1575
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1576
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1577
x_includes=$ac_optarg ;;
1579
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1580
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1581
ac_prev=x_libraries ;;
1582
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1583
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1584
x_libraries=$ac_optarg ;;
1586
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1587
Try \`$0 --help' for more information"
1591
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1592
# Reject names that are not valid shell variable names.
1593
case $ac_envvar in #(
1594
'' | [0-9]* | *[!_$as_cr_alnum]* )
1595
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1597
eval $ac_envvar=\$ac_optarg
1598
export $ac_envvar ;;
1601
# FIXME: should be removed in autoconf 3.0.
1602
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1603
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1604
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1605
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1611
if test -n "$ac_prev"; then
1612
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1613
as_fn_error $? "missing argument to $ac_option"
1616
if test -n "$ac_unrecognized_opts"; then
1617
case $enable_option_checking in
1619
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1620
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1624
# Check all directory arguments for consistency.
1625
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1626
datadir sysconfdir sharedstatedir localstatedir includedir \
1627
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1628
libdir localedir mandir
1630
eval ac_val=\$$ac_var
1631
# Remove trailing slashes.
1634
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1635
eval $ac_var=\$ac_val;;
1637
# Be sure to have absolute directory names.
1639
[\\/$]* | ?:[\\/]* ) continue;;
1640
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1642
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1645
# There might be people who depend on the old broken behavior: `$host'
1646
# used to hold the argument of --host etc.
1647
# FIXME: To remove some day.
1650
target=$target_alias
1652
# FIXME: To remove some day.
1653
if test "x$host_alias" != x; then
1654
if test "x$build_alias" = x; then
1655
cross_compiling=maybe
1656
elif test "x$build_alias" != "x$host_alias"; then
1662
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1664
test "$silent" = yes && exec 6>/dev/null
1667
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1668
ac_ls_di=`ls -di .` &&
1669
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1670
as_fn_error $? "working directory cannot be determined"
1671
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1672
as_fn_error $? "pwd does not report name of working directory"
1675
# Find the source files, if location was not specified.
1676
if test -z "$srcdir"; then
1677
ac_srcdir_defaulted=yes
1678
# Try the directory containing this script, then the parent directory.
1679
ac_confdir=`$as_dirname -- "$as_myself" ||
1680
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1681
X"$as_myself" : 'X\(//\)[^/]' \| \
1682
X"$as_myself" : 'X\(//\)$' \| \
1683
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1684
$as_echo X"$as_myself" |
1685
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1703
if test ! -r "$srcdir/$ac_unique_file"; then
1707
ac_srcdir_defaulted=no
1709
if test ! -r "$srcdir/$ac_unique_file"; then
1710
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1711
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1713
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1715
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1717
# When building in place, set srcdir=.
1718
if test "$ac_abs_confdir" = "$ac_pwd"; then
1721
# Remove unnecessary trailing slashes from srcdir.
1722
# Double slashes in file names in object file debugging info
1723
# mess up M-x gdb in Emacs.
1725
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1727
for ac_var in $ac_precious_vars; do
1728
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1729
eval ac_env_${ac_var}_value=\$${ac_var}
1730
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1731
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1735
# Report the --help message.
1737
if test "$ac_init_help" = "long"; then
1738
# Omit some internal or obsolete options to make the list less imposing.
1739
# This message is too long to be a string in the A/UX 3.1 sh.
1741
\`configure' configures GIMP 2.8.2 to adapt to many kinds of systems.
1743
Usage: $0 [OPTION]... [VAR=VALUE]...
1745
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1746
VAR=VALUE. See below for descriptions of some of the useful variables.
1748
Defaults for the options are specified in brackets.
1751
-h, --help display this help and exit
1752
--help=short display options specific to this package
1753
--help=recursive display the short help of all the included packages
1754
-V, --version display version information and exit
1755
-q, --quiet, --silent do not print \`checking ...' messages
1756
--cache-file=FILE cache test results in FILE [disabled]
1757
-C, --config-cache alias for \`--cache-file=config.cache'
1758
-n, --no-create do not create output files
1759
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1761
Installation directories:
1762
--prefix=PREFIX install architecture-independent files in PREFIX
1763
[$ac_default_prefix]
1764
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1767
By default, \`make install' will install all the files in
1768
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1769
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1770
for instance \`--prefix=\$HOME'.
1772
For better control, use the options below.
1774
Fine tuning of the installation directories:
1775
--bindir=DIR user executables [EPREFIX/bin]
1776
--sbindir=DIR system admin executables [EPREFIX/sbin]
1777
--libexecdir=DIR program executables [EPREFIX/libexec]
1778
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1779
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1780
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1781
--libdir=DIR object code libraries [EPREFIX/lib]
1782
--includedir=DIR C header files [PREFIX/include]
1783
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1784
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1785
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1786
--infodir=DIR info documentation [DATAROOTDIR/info]
1787
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1788
--mandir=DIR man documentation [DATAROOTDIR/man]
1789
--docdir=DIR documentation root [DATAROOTDIR/doc/gimp]
1790
--htmldir=DIR html documentation [DOCDIR]
1791
--dvidir=DIR dvi documentation [DOCDIR]
1792
--pdfdir=DIR pdf documentation [DOCDIR]
1793
--psdir=DIR ps documentation [DOCDIR]
1799
--program-prefix=PREFIX prepend PREFIX to installed program names
1800
--program-suffix=SUFFIX append SUFFIX to installed program names
1801
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1804
--x-includes=DIR X include files are in DIR
1805
--x-libraries=DIR X library files are in DIR
1808
--build=BUILD configure for building on BUILD [guessed]
1809
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1813
if test -n "$ac_init_help"; then
1814
case $ac_init_help in
1815
short | recursive ) echo "Configuration of GIMP 2.8.2:";;
1820
--disable-option-checking ignore unrecognized --enable/--with options
1821
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1822
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1823
--enable-silent-rules less verbose build output (undo: `make V=1')
1824
--disable-silent-rules verbose build output (undo: `make V=0')
1825
--disable-dependency-tracking speeds up one-time build
1826
--enable-dependency-tracking do not reject slow dependency extractors
1827
--enable-static[=PKGS] build static libraries [default=no]
1828
--enable-shared[=PKGS] build shared libraries [default=yes]
1829
--enable-fast-install[=PKGS]
1830
optimize for fast installation [default=yes]
1831
--disable-libtool-lock avoid locking (might break parallel builds)
1832
--disable-maintainer-mode disable make rules and dependencies not useful
1833
(and sometimes confusing) to the casual installer
1834
--disable-largefile omit support for large files
1835
--enable-debug turn on debugging (default=no)
1836
--enable-profile turn on profiling (default=no)
1837
--enable-ansi turn on strict ansi (default=no)
1838
--enable-binreloc compile with binary relocation support
1840
--enable-binreloc-threads compile binary relocation with threads support
1842
--disable-nls do not use Native Language Support
1843
--disable-glibtest do not try to compile and run a test GLIB program
1844
--disable-gtktest do not try to compile and run a test GTK+ program
1845
--enable-mmx enable MMX support (default=auto)
1846
--enable-sse enable SSE support (default=auto)
1847
--enable-altivec enable AltiVec support (default=auto)
1848
--disable-mp disable support for multiple processors
1849
--disable-alsatest Do not try to compile and run a test Alsa program
1850
--disable-python do not build the python extension
1851
--enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1852
--enable-gtk-doc-html build documentation in html format [[default=yes]]
1853
--enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1854
--enable-gtk-doc-app build developer documentation for app (default=no)
1855
--enable-default-binary install this as the default gimp binary (default=yes)
1856
--enable-gimp-console build a console-only binary which does not link GTK+
1859
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1860
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1861
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1863
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1864
--with-sysroot=DIR Search for dependent libraries within DIR
1865
(or the compiler's sysroot if not specified).
1866
--with-x use the X Window System
1867
--with-shm=none|sysv|posix|auto shared memory transport type (default=auto)
1868
--without-libtiff build without TIFF support
1869
--without-libjpeg build without JPEG support
1870
--without-bzip2 build without bzip2 support
1871
--without-gs build without Ghostscript support
1872
--without-libpng build without PNG support
1873
--without-libmng build without MNG support
1874
--without-libexif build without EXIF support
1875
--without-aa do not build the AA plug-in
1876
--without-libxpm build without XPM support
1877
--without-webkit don't build the help-browser plug-in
1878
--without-librsvg build without librsvg support
1879
--without-print build without print support
1880
--without-poppler build without poppler support
1881
--without-cairo-pdf build without cairo-pdf support
1882
--without-gvfs build without GIO/GVfs support
1883
--without-libcurl build without curl support
1884
--without-wmf build without WMF support
1885
--without-libjasper build without JPEG-2000 support
1886
--without-lcms build without lcms support
1887
--without-xmc build without Xcursor support
1888
--without-alsa disable alsa support in midi input controller
1889
--with-alsa-prefix=PFX Prefix where Alsa library is installed(optional)
1890
--with-alsa-inc-prefix=PFX Prefix where include libraries are (optional)
1891
--without-linux-input don't build linux input event controller module
1892
--with-directx-sdk=PFX prefix where the DirectX SDK is installed(optional)
1893
--without-dbus build without D-Bus support
1894
--without-gudev build without GUdev support
1895
--with-gif-compression=lzw|rle|none GIF compression style (default=lzw)
1896
--with-sendmail=DIR set sendmail command location
1897
--with-pdbgen use 'pdbgen' code generation tool
1898
--without-script-fu do not build the script-fu extension
1899
--without-mac-twain don't build the Mac TWAIN plug-in
1900
--with-desktop-dir=PATH where to install desktop files (default=PREFIX/share)
1901
--without-xvfb-run do not use xvfb-run for UI-dependent automatic tests
1902
--with-html-dir=PATH path to installed docs
1903
--with-gimpdir=DIR change default gimpdir from .gimp-2.8 to DIR
1905
Some influential environment variables:
1906
CC C compiler command
1907
CFLAGS C compiler flags
1908
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1909
nonstandard directory <lib dir>
1910
LIBS libraries to pass to the linker, e.g. -l<library>
1911
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1912
you have headers in a nonstandard directory <include dir>
1914
CCAS assembler compiler command (defaults to CC)
1915
CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1916
PKG_CONFIG path to pkg-config utility
1918
directories to add to pkg-config's search path
1920
path overriding pkg-config's built-in search path
1921
BABL_CFLAGS C compiler flags for BABL, overriding pkg-config
1922
BABL_LIBS linker flags for BABL, overriding pkg-config
1923
GEGL_CFLAGS C compiler flags for GEGL, overriding pkg-config
1924
GEGL_LIBS linker flags for GEGL, overriding pkg-config
1925
ATK_CFLAGS C compiler flags for ATK, overriding pkg-config
1926
ATK_LIBS linker flags for ATK, overriding pkg-config
1927
GMODULE_NO_EXPORT_CFLAGS
1928
C compiler flags for GMODULE_NO_EXPORT, overriding pkg-config
1929
GMODULE_NO_EXPORT_LIBS
1930
linker flags for GMODULE_NO_EXPORT, overriding pkg-config
1931
GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1932
GIO_LIBS linker flags for GIO, overriding pkg-config
1933
XMKMF Path to xmkmf, Makefile generator for X Window System
1935
C compiler flags for GDK_PIXBUF, overriding pkg-config
1937
linker flags for GDK_PIXBUF, overriding pkg-config
1939
C compiler flags for CAIRO, overriding pkg-config
1940
CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1942
C compiler flags for PANGOCAIRO, overriding pkg-config
1944
linker flags for PANGOCAIRO, overriding pkg-config
1946
C compiler flags for FONTCONFIG, overriding pkg-config
1948
linker flags for FONTCONFIG, overriding pkg-config
1950
C compiler flags for XFIXES, overriding pkg-config
1951
XFIXES_LIBS linker flags for XFIXES, overriding pkg-config
1952
PNG_CFLAGS C compiler flags for PNG, overriding pkg-config
1953
PNG_LIBS linker flags for PNG, overriding pkg-config
1954
EXIF_CFLAGS C compiler flags for EXIF, overriding pkg-config
1955
EXIF_LIBS linker flags for EXIF, overriding pkg-config
1957
C compiler flags for WEBKIT, overriding pkg-config
1958
WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1959
SVG_CFLAGS C compiler flags for SVG, overriding pkg-config
1960
SVG_LIBS linker flags for SVG, overriding pkg-config
1962
C compiler flags for POPPLER, overriding pkg-config
1964
linker flags for POPPLER, overriding pkg-config
1966
C compiler flags for CAIRO_PDF, overriding pkg-config
1968
linker flags for CAIRO_PDF, overriding pkg-config
1969
CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1970
CURL_LIBS linker flags for CURL, overriding pkg-config
1971
LCMS_CFLAGS C compiler flags for LCMS, overriding pkg-config
1972
LCMS_LIBS linker flags for LCMS, overriding pkg-config
1973
XMC_CFLAGS C compiler flags for XMC, overriding pkg-config
1974
XMC_LIBS linker flags for XMC, overriding pkg-config
1976
C compiler flags for DBUS_GLIB, overriding pkg-config
1978
linker flags for DBUS_GLIB, overriding pkg-config
1980
C compiler flags for GUDEV, overriding pkg-config
1981
GUDEV_LIBS linker flags for GUDEV, overriding pkg-config
1982
PYTHON the Python interpreter
1984
C compiler flags for PYGTK, overriding pkg-config
1985
PYGTK_LIBS linker flags for PYGTK, overriding pkg-config
1987
C compiler flags for GTKDOC_DEPS, overriding pkg-config
1989
linker flags for GTKDOC_DEPS, overriding pkg-config
1991
Use these variables to override the choices made by `configure' or to help
1992
it to find libraries and programs with nonstandard names/locations.
1994
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP>.
1999
if test "$ac_init_help" = "recursive"; then
2000
# If there are subdirs, report their specific --help.
2001
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2002
test -d "$ac_dir" ||
2003
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2008
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2010
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2011
# A ".." for each directory in $ac_dir_suffix.
2012
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2013
case $ac_top_builddir_sub in
2014
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2015
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2018
ac_abs_top_builddir=$ac_pwd
2019
ac_abs_builddir=$ac_pwd$ac_dir_suffix
2020
# for backward compatibility:
2021
ac_top_builddir=$ac_top_build_prefix
2024
.) # We are building in place.
2026
ac_top_srcdir=$ac_top_builddir_sub
2027
ac_abs_top_srcdir=$ac_pwd ;;
2028
[\\/]* | ?:[\\/]* ) # Absolute name.
2029
ac_srcdir=$srcdir$ac_dir_suffix;
2030
ac_top_srcdir=$srcdir
2031
ac_abs_top_srcdir=$srcdir ;;
2033
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2034
ac_top_srcdir=$ac_top_build_prefix$srcdir
2035
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2037
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2039
cd "$ac_dir" || { ac_status=$?; continue; }
2040
# Check for guested configure.
2041
if test -f "$ac_srcdir/configure.gnu"; then
2043
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
2044
elif test -f "$ac_srcdir/configure"; then
2046
$SHELL "$ac_srcdir/configure" --help=recursive
2048
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2050
cd "$ac_pwd" || { ac_status=$?; break; }
2054
test -n "$ac_init_help" && exit $ac_status
2055
if $ac_init_version; then
2057
GIMP configure 2.8.2
2058
generated by GNU Autoconf 2.69
2060
Copyright (C) 2012 Free Software Foundation, Inc.
2061
This configure script is free software; the Free Software Foundation
2062
gives unlimited permission to copy, distribute and modify it.
2067
## ------------------------ ##
2068
## Autoconf initialization. ##
2069
## ------------------------ ##
2071
# ac_fn_c_try_compile LINENO
2072
# --------------------------
2073
# Try to compile conftest.$ac_ext, and return whether this succeeded.
2074
ac_fn_c_try_compile ()
2076
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2077
rm -f conftest.$ac_objext
2078
if { { ac_try="$ac_compile"
2080
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2081
*) ac_try_echo=$ac_try;;
2083
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2084
$as_echo "$ac_try_echo"; } >&5
2085
(eval "$ac_compile") 2>conftest.err
2087
if test -s conftest.err; then
2088
grep -v '^ *+' conftest.err >conftest.er1
2089
cat conftest.er1 >&5
2090
mv -f conftest.er1 conftest.err
2092
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2093
test $ac_status = 0; } && {
2094
test -z "$ac_c_werror_flag" ||
2095
test ! -s conftest.err
2096
} && test -s conftest.$ac_objext; then :
2099
$as_echo "$as_me: failed program was:" >&5
2100
sed 's/^/| /' conftest.$ac_ext >&5
2104
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2105
as_fn_set_status $ac_retval
2107
} # ac_fn_c_try_compile
2109
# ac_fn_c_try_link LINENO
2110
# -----------------------
2111
# Try to link conftest.$ac_ext, and return whether this succeeded.
2114
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2115
rm -f conftest.$ac_objext conftest$ac_exeext
2116
if { { ac_try="$ac_link"
2118
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2119
*) ac_try_echo=$ac_try;;
2121
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2122
$as_echo "$ac_try_echo"; } >&5
2123
(eval "$ac_link") 2>conftest.err
2125
if test -s conftest.err; then
2126
grep -v '^ *+' conftest.err >conftest.er1
2127
cat conftest.er1 >&5
2128
mv -f conftest.er1 conftest.err
2130
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2131
test $ac_status = 0; } && {
2132
test -z "$ac_c_werror_flag" ||
2133
test ! -s conftest.err
2134
} && test -s conftest$ac_exeext && {
2135
test "$cross_compiling" = yes ||
2136
test -x conftest$ac_exeext
2140
$as_echo "$as_me: failed program was:" >&5
2141
sed 's/^/| /' conftest.$ac_ext >&5
2145
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2146
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2147
# interfere with the next link command; also delete a directory that is
2148
# left behind by Apple's compiler. We do this before executing the actions.
2149
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2150
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2151
as_fn_set_status $ac_retval
2153
} # ac_fn_c_try_link
2155
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2156
# -------------------------------------------------------
2157
# Tests whether HEADER exists and can be compiled using the include files in
2158
# INCLUDES, setting the cache variable VAR accordingly.
2159
ac_fn_c_check_header_compile ()
2161
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2162
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2163
$as_echo_n "checking for $2... " >&6; }
2164
if eval \${$3+:} false; then :
2165
$as_echo_n "(cached) " >&6
2167
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2168
/* end confdefs.h. */
2172
if ac_fn_c_try_compile "$LINENO"; then :
2177
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2181
$as_echo "$ac_res" >&6; }
2182
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2184
} # ac_fn_c_check_header_compile
2186
# ac_fn_c_try_cpp LINENO
2187
# ----------------------
2188
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2191
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2192
if { { ac_try="$ac_cpp conftest.$ac_ext"
2194
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2195
*) ac_try_echo=$ac_try;;
2197
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2198
$as_echo "$ac_try_echo"; } >&5
2199
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2201
if test -s conftest.err; then
2202
grep -v '^ *+' conftest.err >conftest.er1
2203
cat conftest.er1 >&5
2204
mv -f conftest.er1 conftest.err
2206
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2207
test $ac_status = 0; } > conftest.i && {
2208
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2209
test ! -s conftest.err
2213
$as_echo "$as_me: failed program was:" >&5
2214
sed 's/^/| /' conftest.$ac_ext >&5
2218
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2219
as_fn_set_status $ac_retval
2223
# ac_fn_c_try_run LINENO
2224
# ----------------------
2225
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2226
# that executables *can* be run.
2229
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2230
if { { ac_try="$ac_link"
2232
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2233
*) ac_try_echo=$ac_try;;
2235
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2236
$as_echo "$ac_try_echo"; } >&5
2237
(eval "$ac_link") 2>&5
2239
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2240
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2241
{ { case "(($ac_try" in
2242
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2243
*) ac_try_echo=$ac_try;;
2245
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2246
$as_echo "$ac_try_echo"; } >&5
2247
(eval "$ac_try") 2>&5
2249
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2250
test $ac_status = 0; }; }; then :
2253
$as_echo "$as_me: program exited with status $ac_status" >&5
2254
$as_echo "$as_me: failed program was:" >&5
2255
sed 's/^/| /' conftest.$ac_ext >&5
2257
ac_retval=$ac_status
2259
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2260
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2261
as_fn_set_status $ac_retval
2265
# ac_fn_c_check_func LINENO FUNC VAR
2266
# ----------------------------------
2267
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2268
ac_fn_c_check_func ()
2270
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2272
$as_echo_n "checking for $2... " >&6; }
2273
if eval \${$3+:} false; then :
2274
$as_echo_n "(cached) " >&6
2276
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277
/* end confdefs.h. */
2278
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2279
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2280
#define $2 innocuous_$2
2282
/* System header to define __stub macros and hopefully few prototypes,
2283
which can conflict with char $2 (); below.
2284
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2285
<limits.h> exists even on freestanding compilers. */
2288
# include <limits.h>
2290
# include <assert.h>
2295
/* Override any GCC internal prototype to avoid an error.
2296
Use char because int might match the return type of a GCC
2297
builtin and then its argument prototype would still apply. */
2302
/* The GNU C library defines this for functions which it implements
2303
to always fail with ENOSYS. Some functions are actually named
2304
something starting with __ and the normal name is an alias. */
2305
#if defined __stub_$2 || defined __stub___$2
2317
if ac_fn_c_try_link "$LINENO"; then :
2322
rm -f core conftest.err conftest.$ac_objext \
2323
conftest$ac_exeext conftest.$ac_ext
2326
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2327
$as_echo "$ac_res" >&6; }
2328
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2330
} # ac_fn_c_check_func
2332
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2333
# -------------------------------------------------------
2334
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2335
# the include files in INCLUDES and setting the cache variable VAR
2337
ac_fn_c_check_header_mongrel ()
2339
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2340
if eval \${$3+:} false; then :
2341
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2342
$as_echo_n "checking for $2... " >&6; }
2343
if eval \${$3+:} false; then :
2344
$as_echo_n "(cached) " >&6
2347
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2348
$as_echo "$ac_res" >&6; }
2350
# Is the header compilable?
2351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2352
$as_echo_n "checking $2 usability... " >&6; }
2353
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2354
/* end confdefs.h. */
2358
if ac_fn_c_try_compile "$LINENO"; then :
2359
ac_header_compiler=yes
2361
ac_header_compiler=no
2363
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2365
$as_echo "$ac_header_compiler" >&6; }
2367
# Is the header present?
2368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2369
$as_echo_n "checking $2 presence... " >&6; }
2370
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371
/* end confdefs.h. */
2374
if ac_fn_c_try_cpp "$LINENO"; then :
2375
ac_header_preproc=yes
2377
ac_header_preproc=no
2379
rm -f conftest.err conftest.i conftest.$ac_ext
2380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2381
$as_echo "$ac_header_preproc" >&6; }
2383
# So? What about this header?
2384
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2386
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2387
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2388
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2389
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2392
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2393
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2394
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2395
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2396
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2397
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2398
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2399
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2400
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2401
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2402
( $as_echo "## ------------------------------------------------------------------- ##
2403
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP ##
2404
## ------------------------------------------------------------------- ##"
2405
) | sed "s/^/$as_me: WARNING: /" >&2
2408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2409
$as_echo_n "checking for $2... " >&6; }
2410
if eval \${$3+:} false; then :
2411
$as_echo_n "(cached) " >&6
2413
eval "$3=\$ac_header_compiler"
2416
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2417
$as_echo "$ac_res" >&6; }
2419
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2421
} # ac_fn_c_check_header_mongrel
2423
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2424
# -------------------------------------------
2425
# Tests whether TYPE exists after having included INCLUDES, setting cache
2426
# variable VAR accordingly.
2427
ac_fn_c_check_type ()
2429
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2431
$as_echo_n "checking for $2... " >&6; }
2432
if eval \${$3+:} false; then :
2433
$as_echo_n "(cached) " >&6
2436
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2437
/* end confdefs.h. */
2448
if ac_fn_c_try_compile "$LINENO"; then :
2449
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2450
/* end confdefs.h. */
2461
if ac_fn_c_try_compile "$LINENO"; then :
2466
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2468
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2471
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2472
$as_echo "$ac_res" >&6; }
2473
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2475
} # ac_fn_c_check_type
2476
cat >config.log <<_ACEOF
2477
This file contains any messages produced by compilers while
2478
running configure, to aid debugging if configure makes a mistake.
2480
It was created by GIMP $as_me 2.8.2, which was
2481
generated by GNU Autoconf 2.69. Invocation command line was
2493
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2494
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2495
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2496
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2497
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2499
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2500
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2502
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2503
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2504
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2505
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2506
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2507
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2508
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2512
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2516
test -z "$as_dir" && as_dir=.
2517
$as_echo "PATH: $as_dir"
2533
# Keep a trace of the command line.
2534
# Strip out --no-create and --no-recursion so they do not pile up.
2535
# Strip out --silent because we don't want to record it for future runs.
2536
# Also quote any args containing shell meta-characters.
2537
# Make two passes to allow for proper duplicate-argument suppression.
2541
ac_must_keep_next=false
2547
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2548
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2549
| -silent | --silent | --silen | --sile | --sil)
2552
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2555
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2557
as_fn_append ac_configure_args1 " '$ac_arg'"
2558
if test $ac_must_keep_next = true; then
2559
ac_must_keep_next=false # Got value, back to normal.
2562
*=* | --config-cache | -C | -disable-* | --disable-* \
2563
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2564
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2565
| -with-* | --with-* | -without-* | --without-* | --x)
2566
case "$ac_configure_args0 " in
2567
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2570
-* ) ac_must_keep_next=true ;;
2573
as_fn_append ac_configure_args " '$ac_arg'"
2578
{ ac_configure_args0=; unset ac_configure_args0;}
2579
{ ac_configure_args1=; unset ac_configure_args1;}
2581
# When interrupted or exit'd, cleanup temporary files, and complete
2582
# config.log. We remove comments because anyway the quotes in there
2583
# would cause problems or look ugly.
2584
# WARNING: Use '\'' to represent an apostrophe within the trap.
2585
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2586
trap 'exit_status=$?
2587
# Save into config.log some information that might help in debugging.
2591
$as_echo "## ---------------- ##
2592
## Cache variables. ##
2593
## ---------------- ##"
2595
# The following way of writing the cache mishandles newlines in values,
2597
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2598
eval ac_val=\$$ac_var
2602
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2603
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2606
_ | IFS | as_nl) ;; #(
2607
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2608
*) { eval $ac_var=; unset $ac_var;} ;;
2613
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2614
*${as_nl}ac_space=\ *)
2616
"s/'\''/'\''\\\\'\'''\''/g;
2617
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2620
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2627
$as_echo "## ----------------- ##
2628
## Output variables. ##
2629
## ----------------- ##"
2631
for ac_var in $ac_subst_vars
2633
eval ac_val=\$$ac_var
2635
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2637
$as_echo "$ac_var='\''$ac_val'\''"
2641
if test -n "$ac_subst_files"; then
2642
$as_echo "## ------------------- ##
2643
## File substitutions. ##
2644
## ------------------- ##"
2646
for ac_var in $ac_subst_files
2648
eval ac_val=\$$ac_var
2650
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2652
$as_echo "$ac_var='\''$ac_val'\''"
2657
if test -s confdefs.h; then
2658
$as_echo "## ----------- ##
2665
test "$ac_signal" != 0 &&
2666
$as_echo "$as_me: caught signal $ac_signal"
2667
$as_echo "$as_me: exit $exit_status"
2669
rm -f core *.core core.conftest.* &&
2670
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2673
for ac_signal in 1 2 13 15; do
2674
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2678
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2679
rm -f -r conftest* confdefs.h
2681
$as_echo "/* confdefs.h */" > confdefs.h
2683
# Predefined preprocessor variables.
2685
cat >>confdefs.h <<_ACEOF
2686
#define PACKAGE_NAME "$PACKAGE_NAME"
2689
cat >>confdefs.h <<_ACEOF
2690
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2693
cat >>confdefs.h <<_ACEOF
2694
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2697
cat >>confdefs.h <<_ACEOF
2698
#define PACKAGE_STRING "$PACKAGE_STRING"
2701
cat >>confdefs.h <<_ACEOF
2702
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2705
cat >>confdefs.h <<_ACEOF
2706
#define PACKAGE_URL "$PACKAGE_URL"
2710
# Let the site file select an alternate cache file if it wants to.
2711
# Prefer an explicitly selected file to automatically selected ones.
2714
if test -n "$CONFIG_SITE"; then
2715
# We do not want a PATH search for config.site.
2716
case $CONFIG_SITE in #((
2717
-*) ac_site_file1=./$CONFIG_SITE;;
2718
*/*) ac_site_file1=$CONFIG_SITE;;
2719
*) ac_site_file1=./$CONFIG_SITE;;
2721
elif test "x$prefix" != xNONE; then
2722
ac_site_file1=$prefix/share/config.site
2723
ac_site_file2=$prefix/etc/config.site
2725
ac_site_file1=$ac_default_prefix/share/config.site
2726
ac_site_file2=$ac_default_prefix/etc/config.site
2728
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2730
test "x$ac_site_file" = xNONE && continue
2731
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2732
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2733
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2734
sed 's/^/| /' "$ac_site_file" >&5
2736
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2737
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2738
as_fn_error $? "failed to load site script $ac_site_file
2739
See \`config.log' for more details" "$LINENO" 5; }
2743
if test -r "$cache_file"; then
2744
# Some versions of bash will fail to source /dev/null (special files
2745
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2746
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2747
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2748
$as_echo "$as_me: loading cache $cache_file" >&6;}
2750
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2751
*) . "./$cache_file";;
2755
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2756
$as_echo "$as_me: creating cache $cache_file" >&6;}
2760
# Check that the precious variables saved in the cache have kept the same
2762
ac_cache_corrupted=false
2763
for ac_var in $ac_precious_vars; do
2764
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2765
eval ac_new_set=\$ac_env_${ac_var}_set
2766
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2767
eval ac_new_val=\$ac_env_${ac_var}_value
2768
case $ac_old_set,$ac_new_set in
2770
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2771
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2772
ac_cache_corrupted=: ;;
2774
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2775
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2776
ac_cache_corrupted=: ;;
2779
if test "x$ac_old_val" != "x$ac_new_val"; then
2780
# differences in whitespace do not lead to failure.
2781
ac_old_val_w=`echo x $ac_old_val`
2782
ac_new_val_w=`echo x $ac_new_val`
2783
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2784
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2785
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2786
ac_cache_corrupted=:
2788
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2789
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2790
eval $ac_var=\$ac_old_val
2792
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2793
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2794
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2795
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2798
# Pass precious variables to config.status.
2799
if test "$ac_new_set" = set; then
2801
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2802
*) ac_arg=$ac_var=$ac_new_val ;;
2804
case " $ac_configure_args " in
2805
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2806
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2810
if $ac_cache_corrupted; then
2811
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2812
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2813
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2814
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2815
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2817
## -------------------- ##
2818
## Main body of script. ##
2819
## -------------------- ##
2822
ac_cpp='$CPP $CPPFLAGS'
2823
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2824
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2825
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2829
ac_config_headers="$ac_config_headers config.h"
2834
am__api_version='1.11'
2837
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2838
if test -f "$ac_dir/install-sh"; then
2840
ac_install_sh="$ac_aux_dir/install-sh -c"
2842
elif test -f "$ac_dir/install.sh"; then
2844
ac_install_sh="$ac_aux_dir/install.sh -c"
2846
elif test -f "$ac_dir/shtool"; then
2848
ac_install_sh="$ac_aux_dir/shtool install -c"
2852
if test -z "$ac_aux_dir"; then
2853
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2856
# These three variables are undocumented and unsupported,
2857
# and are intended to be withdrawn in a future Autoconf release.
2858
# They can cause serious problems if a builder's source tree is in a directory
2859
# whose full name contains unusual characters.
2860
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2861
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2862
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2865
# Find a good install program. We prefer a C program (faster),
2866
# so one script is as good as another. But avoid the broken or
2867
# incompatible versions:
2868
# SysV /etc/install, /usr/sbin/install
2869
# SunOS /usr/etc/install
2870
# IRIX /sbin/install
2872
# AmigaOS /C/install, which installs bootblocks on floppy discs
2873
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2874
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2875
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2876
# OS/2's system install, which has a completely different semantic
2877
# ./install, which can be erroneously created by make from ./install.sh.
2878
# Reject install programs that cannot install multiple files.
2879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2880
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2881
if test -z "$INSTALL"; then
2882
if ${ac_cv_path_install+:} false; then :
2883
$as_echo_n "(cached) " >&6
2885
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2889
test -z "$as_dir" && as_dir=.
2890
# Account for people who put trailing slashes in PATH elements.
2891
case $as_dir/ in #((
2892
./ | .// | /[cC]/* | \
2893
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2894
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2897
# OSF1 and SCO ODT 3.0 have their own names for install.
2898
# Don't use installbsd from OSF since it installs stuff as root
2900
for ac_prog in ginstall scoinst install; do
2901
for ac_exec_ext in '' $ac_executable_extensions; do
2902
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2903
if test $ac_prog = install &&
2904
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2905
# AIX install. It has an incompatible calling convention.
2907
elif test $ac_prog = install &&
2908
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2909
# program-specific install script used by HP pwplus--don't use.
2912
rm -rf conftest.one conftest.two conftest.dir
2913
echo one > conftest.one
2914
echo two > conftest.two
2916
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2917
test -s conftest.one && test -s conftest.two &&
2918
test -s conftest.dir/conftest.one &&
2919
test -s conftest.dir/conftest.two
2921
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2934
rm -rf conftest.one conftest.two conftest.dir
2937
if test "${ac_cv_path_install+set}" = set; then
2938
INSTALL=$ac_cv_path_install
2940
# As a last resort, use the slow shell script. Don't cache a
2941
# value for INSTALL within a source directory, because that will
2942
# break other packages using the cache if that directory is
2943
# removed, or if the value is a relative name.
2944
INSTALL=$ac_install_sh
2947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2948
$as_echo "$INSTALL" >&6; }
2950
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2951
# It thinks the first close brace ends the variable substitution.
2952
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2954
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2956
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2959
$as_echo_n "checking whether build environment is sane... " >&6; }
2962
echo timestamp > conftest.file
2963
# Reject unsafe characters in $srcdir or the absolute working directory
2964
# name. Accept space and tab only in the latter.
2968
*[\\\"\#\$\&\'\`$am_lf]*)
2969
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2972
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2973
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2976
# Do `set' in a subshell so we don't clobber the current shell's
2977
# arguments. Must try -L first in case configure is actually a
2978
# symlink; some systems play weird games with the mod time of symlinks
2979
# (eg FreeBSD returns the mod time of the symlink's containing
2982
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2983
if test "$*" = "X"; then
2985
set X `ls -t "$srcdir/configure" conftest.file`
2988
if test "$*" != "X $srcdir/configure conftest.file" \
2989
&& test "$*" != "X conftest.file $srcdir/configure"; then
2991
# If neither matched, then we have a broken ls. This can happen
2992
# if, for instance, CONFIG_SHELL is bash and it inherits a
2993
# broken ls alias from the environment. This has actually
2994
# happened. Such a system could not be considered "sane".
2995
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2996
alias in your environment" "$LINENO" 5
2999
test "$2" = conftest.file
3005
as_fn_error $? "newly created file is older than distributed files!
3006
Check your system clock" "$LINENO" 5
3008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3009
$as_echo "yes" >&6; }
3010
test "$program_prefix" != NONE &&
3011
program_transform_name="s&^&$program_prefix&;$program_transform_name"
3012
# Use a double $ so make ignores it.
3013
test "$program_suffix" != NONE &&
3014
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3015
# Double any \ or $.
3016
# By default was `s,x,x', remove it if useless.
3017
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3018
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3020
# expand $ac_aux_dir to an absolute path
3021
am_aux_dir=`cd $ac_aux_dir && pwd`
3023
if test x"${MISSING+set}" != xset; then
3026
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3028
MISSING="\${SHELL} $am_aux_dir/missing" ;;
3031
# Use eval to expand $SHELL
3032
if eval "$MISSING --run true"; then
3033
am_missing_run="$MISSING --run "
3036
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3037
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3040
if test x"${install_sh}" != xset; then
3043
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3045
install_sh="\${SHELL} $am_aux_dir/install-sh"
3049
# Installed binaries are usually stripped using `strip' when the user
3050
# run `make install-strip'. However `strip' might not be the right
3051
# tool to use in cross-compilation environments, therefore Automake
3052
# will honor the `STRIP' environment variable to overrule this program.
3053
if test "$cross_compiling" != no; then
3054
if test -n "$ac_tool_prefix"; then
3055
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3056
set dummy ${ac_tool_prefix}strip; ac_word=$2
3057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058
$as_echo_n "checking for $ac_word... " >&6; }
3059
if ${ac_cv_prog_STRIP+:} false; then :
3060
$as_echo_n "(cached) " >&6
3062
if test -n "$STRIP"; then
3063
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3065
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3069
test -z "$as_dir" && as_dir=.
3070
for ac_exec_ext in '' $ac_executable_extensions; do
3071
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3072
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3073
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3082
STRIP=$ac_cv_prog_STRIP
3083
if test -n "$STRIP"; then
3084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3085
$as_echo "$STRIP" >&6; }
3087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088
$as_echo "no" >&6; }
3093
if test -z "$ac_cv_prog_STRIP"; then
3095
# Extract the first word of "strip", so it can be a program name with args.
3096
set dummy strip; ac_word=$2
3097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098
$as_echo_n "checking for $ac_word... " >&6; }
3099
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3100
$as_echo_n "(cached) " >&6
3102
if test -n "$ac_ct_STRIP"; then
3103
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3105
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3109
test -z "$as_dir" && as_dir=.
3110
for ac_exec_ext in '' $ac_executable_extensions; do
3111
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3112
ac_cv_prog_ac_ct_STRIP="strip"
3113
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3122
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3123
if test -n "$ac_ct_STRIP"; then
3124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3125
$as_echo "$ac_ct_STRIP" >&6; }
3127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3128
$as_echo "no" >&6; }
3131
if test "x$ac_ct_STRIP" = x; then
3134
case $cross_compiling:$ac_tool_warned in
3136
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3137
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3138
ac_tool_warned=yes ;;
3143
STRIP="$ac_cv_prog_STRIP"
3147
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3150
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3151
if test -z "$MKDIR_P"; then
3152
if ${ac_cv_path_mkdir+:} false; then :
3153
$as_echo_n "(cached) " >&6
3155
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3156
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3159
test -z "$as_dir" && as_dir=.
3160
for ac_prog in mkdir gmkdir; do
3161
for ac_exec_ext in '' $ac_executable_extensions; do
3162
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3163
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3164
'mkdir (GNU coreutils) '* | \
3165
'mkdir (coreutils) '* | \
3166
'mkdir (fileutils) '4.1*)
3167
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3177
test -d ./--version && rmdir ./--version
3178
if test "${ac_cv_path_mkdir+set}" = set; then
3179
MKDIR_P="$ac_cv_path_mkdir -p"
3181
# As a last resort, use the slow shell script. Don't cache a
3182
# value for MKDIR_P within a source directory, because that will
3183
# break other packages using the cache if that directory is
3184
# removed, or if the value is a relative name.
3185
MKDIR_P="$ac_install_sh -d"
3188
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3189
$as_echo "$MKDIR_P" >&6; }
3193
[\\/$]* | ?:[\\/]*) ;;
3194
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3197
for ac_prog in gawk mawk nawk awk
3199
# Extract the first word of "$ac_prog", so it can be a program name with args.
3200
set dummy $ac_prog; ac_word=$2
3201
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3202
$as_echo_n "checking for $ac_word... " >&6; }
3203
if ${ac_cv_prog_AWK+:} false; then :
3204
$as_echo_n "(cached) " >&6
3206
if test -n "$AWK"; then
3207
ac_cv_prog_AWK="$AWK" # Let the user override the test.
3209
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3213
test -z "$as_dir" && as_dir=.
3214
for ac_exec_ext in '' $ac_executable_extensions; do
3215
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3216
ac_cv_prog_AWK="$ac_prog"
3217
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3227
if test -n "$AWK"; then
3228
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3229
$as_echo "$AWK" >&6; }
3231
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3232
$as_echo "no" >&6; }
3236
test -n "$AWK" && break
3239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3240
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3242
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3243
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3244
$as_echo_n "(cached) " >&6
3246
cat >conftest.make <<\_ACEOF
3249
@echo '@@@%%%=$(MAKE)=@@@%%%'
3251
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3252
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3254
eval ac_cv_prog_make_${ac_make}_set=yes;;
3256
eval ac_cv_prog_make_${ac_make}_set=no;;
3260
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3262
$as_echo "yes" >&6; }
3265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3266
$as_echo "no" >&6; }
3267
SET_MAKE="MAKE=${MAKE-make}"
3270
rm -rf .tst 2>/dev/null
3271
mkdir .tst 2>/dev/null
3272
if test -d .tst; then
3277
rmdir .tst 2>/dev/null
3279
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3280
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3281
# is not polluted with repeated "-I."
3282
am__isrc=' -I$(srcdir)'
3283
# test to see if srcdir already configured
3284
if test -f $srcdir/config.status; then
3285
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3289
# test whether we have cygpath
3290
if test -z "$CYGPATH_W"; then
3291
if (cygpath --version) >/dev/null 2>/dev/null; then
3292
CYGPATH_W='cygpath -w'
3299
# Define the identity of the package.
3304
# Some tools Automake needs.
3306
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3309
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3312
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3315
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3318
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3320
# We need awk for the "check" target. The system "awk" is bad on
3322
# Always define AMTAR for backward compatibility. Yes, it's still used
3323
# in the wild :-( We should find a proper way to deprecate it ...
3326
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3333
# Enable silent build rules by default, requires at least
3334
# Automake-1.11. Disable by either passing --disable-silent-rules to
3335
# configure or passing V=1 to make
3336
# Check whether --enable-silent-rules was given.
3337
if test "${enable_silent_rules+set}" = set; then :
3338
enableval=$enable_silent_rules;
3341
case $enable_silent_rules in
3342
yes) AM_DEFAULT_VERBOSITY=0;;
3343
no) AM_DEFAULT_VERBOSITY=1;;
3344
*) AM_DEFAULT_VERBOSITY=0;;
3346
am_make=${MAKE-make}
3347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3348
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3349
if ${am_cv_make_support_nested_variables+:} false; then :
3350
$as_echo_n "(cached) " >&6
3352
if $as_echo 'TRUE=$(BAR$(V))
3358
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3359
am_cv_make_support_nested_variables=yes
3361
am_cv_make_support_nested_variables=no
3364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3365
$as_echo "$am_cv_make_support_nested_variables" >&6; }
3366
if test $am_cv_make_support_nested_variables = yes; then
3368
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3370
AM_V=$AM_DEFAULT_VERBOSITY
3371
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3376
GIMP_MAJOR_VERSION=2
3377
GIMP_MINOR_VERSION=8
3378
GIMP_MICRO_VERSION=2
3379
GIMP_INTERFACE_AGE=2
3382
GIMP_REAL_VERSION=2.8.2
3383
GIMP_API_VERSION=2.0
3384
GIMP_APP_VERSION=2.8
3385
GIMP_PLUGIN_VERSION=2.0
3386
GIMP_TOOL_VERSION=2.0
3387
GIMP_PKGCONFIG_VERSION=2.0
3388
GIMP_DATA_VERSION=2.0
3389
GIMP_SYSCONF_VERSION=2.0
3390
GIMP_USER_VERSION=2.8
3392
GIMP_FULL_NAME="GNU Image Manipulation Program"
3412
# These are used in the .pc files
3413
GLIB_REQUIRED_VERSION=2.30.2
3414
GDK_PIXBUF_REQUIRED_VERSION=2.24.1
3415
GTK_REQUIRED_VERSION=2.24.10
3416
CAIRO_REQUIRED_VERSION=1.10.2
3422
# The symbol GIMP_UNSTABLE is defined above for substitution in
3423
# Makefiles and conditionally defined here as a preprocessor symbol
3424
# and automake conditional.
3425
if test "x$GIMP_UNSTABLE" = "xyes"; then
3427
$as_echo "#define GIMP_UNSTABLE 1" >>confdefs.h
3430
if test "x$GIMP_UNSTABLE" = "xyes"; then
3432
GIMP_UNSTABLE_FALSE='#'
3434
GIMP_UNSTABLE_TRUE='#'
3435
GIMP_UNSTABLE_FALSE=
3440
# libtool versioning
3444
LT_VERSION_INFO="800:2:800"
3445
LT_CURRENT_MINUS_AGE=0
3450
# gettext i18n support
3451
GETTEXT_PACKAGE=gimp20
3454
cat >>confdefs.h <<_ACEOF
3455
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
3459
# Determine a C compiler to use
3461
ac_cpp='$CPP $CPPFLAGS'
3462
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3463
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3464
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3465
if test -n "$ac_tool_prefix"; then
3466
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3467
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3469
$as_echo_n "checking for $ac_word... " >&6; }
3470
if ${ac_cv_prog_CC+:} false; then :
3471
$as_echo_n "(cached) " >&6
3473
if test -n "$CC"; then
3474
ac_cv_prog_CC="$CC" # Let the user override the test.
3476
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3480
test -z "$as_dir" && as_dir=.
3481
for ac_exec_ext in '' $ac_executable_extensions; do
3482
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3483
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3484
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3494
if test -n "$CC"; then
3495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3496
$as_echo "$CC" >&6; }
3498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3499
$as_echo "no" >&6; }
3504
if test -z "$ac_cv_prog_CC"; then
3506
# Extract the first word of "gcc", so it can be a program name with args.
3507
set dummy gcc; ac_word=$2
3508
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3509
$as_echo_n "checking for $ac_word... " >&6; }
3510
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3511
$as_echo_n "(cached) " >&6
3513
if test -n "$ac_ct_CC"; then
3514
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3516
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3520
test -z "$as_dir" && as_dir=.
3521
for ac_exec_ext in '' $ac_executable_extensions; do
3522
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3523
ac_cv_prog_ac_ct_CC="gcc"
3524
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3533
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3534
if test -n "$ac_ct_CC"; then
3535
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3536
$as_echo "$ac_ct_CC" >&6; }
3538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3539
$as_echo "no" >&6; }
3542
if test "x$ac_ct_CC" = x; then
3545
case $cross_compiling:$ac_tool_warned in
3547
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3548
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3549
ac_tool_warned=yes ;;
3557
if test -z "$CC"; then
3558
if test -n "$ac_tool_prefix"; then
3559
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3560
set dummy ${ac_tool_prefix}cc; ac_word=$2
3561
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3562
$as_echo_n "checking for $ac_word... " >&6; }
3563
if ${ac_cv_prog_CC+:} false; then :
3564
$as_echo_n "(cached) " >&6
3566
if test -n "$CC"; then
3567
ac_cv_prog_CC="$CC" # Let the user override the test.
3569
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3573
test -z "$as_dir" && as_dir=.
3574
for ac_exec_ext in '' $ac_executable_extensions; do
3575
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3576
ac_cv_prog_CC="${ac_tool_prefix}cc"
3577
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3587
if test -n "$CC"; then
3588
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3589
$as_echo "$CC" >&6; }
3591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3592
$as_echo "no" >&6; }
3598
if test -z "$CC"; then
3599
# Extract the first word of "cc", so it can be a program name with args.
3600
set dummy cc; ac_word=$2
3601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3602
$as_echo_n "checking for $ac_word... " >&6; }
3603
if ${ac_cv_prog_CC+:} false; then :
3604
$as_echo_n "(cached) " >&6
3606
if test -n "$CC"; then
3607
ac_cv_prog_CC="$CC" # Let the user override the test.
3610
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614
test -z "$as_dir" && as_dir=.
3615
for ac_exec_ext in '' $ac_executable_extensions; do
3616
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3617
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3618
ac_prog_rejected=yes
3622
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3629
if test $ac_prog_rejected = yes; then
3630
# We found a bogon in the path, so make sure we never use it.
3631
set dummy $ac_cv_prog_CC
3633
if test $# != 0; then
3634
# We chose a different compiler from the bogus one.
3635
# However, it has the same basename, so the bogon will be chosen
3636
# first if we set CC to just the basename; use the full file name.
3638
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3644
if test -n "$CC"; then
3645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3646
$as_echo "$CC" >&6; }
3648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3649
$as_echo "no" >&6; }
3654
if test -z "$CC"; then
3655
if test -n "$ac_tool_prefix"; then
3656
for ac_prog in cl.exe
3658
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3659
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3661
$as_echo_n "checking for $ac_word... " >&6; }
3662
if ${ac_cv_prog_CC+:} false; then :
3663
$as_echo_n "(cached) " >&6
3665
if test -n "$CC"; then
3666
ac_cv_prog_CC="$CC" # Let the user override the test.
3668
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3672
test -z "$as_dir" && as_dir=.
3673
for ac_exec_ext in '' $ac_executable_extensions; do
3674
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3675
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3676
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3686
if test -n "$CC"; then
3687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3688
$as_echo "$CC" >&6; }
3690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3691
$as_echo "no" >&6; }
3695
test -n "$CC" && break
3698
if test -z "$CC"; then
3700
for ac_prog in cl.exe
3702
# Extract the first word of "$ac_prog", so it can be a program name with args.
3703
set dummy $ac_prog; ac_word=$2
3704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3705
$as_echo_n "checking for $ac_word... " >&6; }
3706
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3707
$as_echo_n "(cached) " >&6
3709
if test -n "$ac_ct_CC"; then
3710
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3712
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3716
test -z "$as_dir" && as_dir=.
3717
for ac_exec_ext in '' $ac_executable_extensions; do
3718
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3719
ac_cv_prog_ac_ct_CC="$ac_prog"
3720
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3729
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3730
if test -n "$ac_ct_CC"; then
3731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3732
$as_echo "$ac_ct_CC" >&6; }
3734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735
$as_echo "no" >&6; }
3739
test -n "$ac_ct_CC" && break
3742
if test "x$ac_ct_CC" = x; then
3745
case $cross_compiling:$ac_tool_warned in
3747
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3748
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3749
ac_tool_warned=yes ;;
3758
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3759
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3760
as_fn_error $? "no acceptable C compiler found in \$PATH
3761
See \`config.log' for more details" "$LINENO" 5; }
3763
# Provide some information about the compiler.
3764
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3767
for ac_option in --version -v -V -qversion; do
3768
{ { ac_try="$ac_compiler $ac_option >&5"
3770
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3771
*) ac_try_echo=$ac_try;;
3773
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3774
$as_echo "$ac_try_echo"; } >&5
3775
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3777
if test -s conftest.err; then
3779
... rest of stderr output deleted ...
3780
10q' conftest.err >conftest.er1
3781
cat conftest.er1 >&5
3783
rm -f conftest.er1 conftest.err
3784
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3785
test $ac_status = 0; }
3788
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789
/* end confdefs.h. */
3799
ac_clean_files_save=$ac_clean_files
3800
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3801
# Try to create an executable without -o first, disregard a.out.
3802
# It will help us diagnose broken compilers, and finding out an intuition
3804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3805
$as_echo_n "checking whether the C compiler works... " >&6; }
3806
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3808
# The possible output files:
3809
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3812
for ac_file in $ac_files
3815
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3816
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3821
if { { ac_try="$ac_link_default"
3823
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3824
*) ac_try_echo=$ac_try;;
3826
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3827
$as_echo "$ac_try_echo"; } >&5
3828
(eval "$ac_link_default") 2>&5
3830
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3831
test $ac_status = 0; }; then :
3832
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3833
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3834
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3835
# so that the user can short-circuit this test for compilers unknown to
3837
for ac_file in $ac_files ''
3839
test -f "$ac_file" || continue
3841
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3844
# We found the default executable, but exeext='' is most
3848
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3850
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3852
# We set ac_cv_exeext here because the later test for it is not
3853
# safe: cross compilers may not add the suffix if given an `-o'
3854
# argument, so we may need to know it at that point already.
3855
# Even if this section looks crufty: it has the advantage of
3862
test "$ac_cv_exeext" = no && ac_cv_exeext=
3867
if test -z "$ac_file"; then :
3868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3869
$as_echo "no" >&6; }
3870
$as_echo "$as_me: failed program was:" >&5
3871
sed 's/^/| /' conftest.$ac_ext >&5
3873
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3874
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3875
as_fn_error 77 "C compiler cannot create executables
3876
See \`config.log' for more details" "$LINENO" 5; }
3878
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3879
$as_echo "yes" >&6; }
3881
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3882
$as_echo_n "checking for C compiler default output file name... " >&6; }
3883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3884
$as_echo "$ac_file" >&6; }
3885
ac_exeext=$ac_cv_exeext
3887
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3888
ac_clean_files=$ac_clean_files_save
3889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3890
$as_echo_n "checking for suffix of executables... " >&6; }
3891
if { { ac_try="$ac_link"
3893
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3894
*) ac_try_echo=$ac_try;;
3896
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3897
$as_echo "$ac_try_echo"; } >&5
3898
(eval "$ac_link") 2>&5
3900
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3901
test $ac_status = 0; }; then :
3902
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3903
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3904
# work properly (i.e., refer to `conftest.exe'), while it won't with
3906
for ac_file in conftest.exe conftest conftest.*; do
3907
test -f "$ac_file" || continue
3909
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3910
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3916
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3917
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3918
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3919
See \`config.log' for more details" "$LINENO" 5; }
3921
rm -f conftest conftest$ac_cv_exeext
3922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3923
$as_echo "$ac_cv_exeext" >&6; }
3925
rm -f conftest.$ac_ext
3926
EXEEXT=$ac_cv_exeext
3928
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3929
/* end confdefs.h. */
3934
FILE *f = fopen ("conftest.out", "w");
3935
return ferror (f) || fclose (f) != 0;
3941
ac_clean_files="$ac_clean_files conftest.out"
3942
# Check that the compiler produces executables we can run. If not, either
3943
# the compiler is broken, or we cross compile.
3944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3945
$as_echo_n "checking whether we are cross compiling... " >&6; }
3946
if test "$cross_compiling" != yes; then
3947
{ { ac_try="$ac_link"
3949
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950
*) ac_try_echo=$ac_try;;
3952
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3953
$as_echo "$ac_try_echo"; } >&5
3954
(eval "$ac_link") 2>&5
3956
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3957
test $ac_status = 0; }
3958
if { ac_try='./conftest$ac_cv_exeext'
3959
{ { case "(($ac_try" in
3960
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961
*) ac_try_echo=$ac_try;;
3963
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3964
$as_echo "$ac_try_echo"; } >&5
3965
(eval "$ac_try") 2>&5
3967
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3968
test $ac_status = 0; }; }; then
3971
if test "$cross_compiling" = maybe; then
3974
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3975
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3976
as_fn_error $? "cannot run C compiled programs.
3977
If you meant to cross compile, use \`--host'.
3978
See \`config.log' for more details" "$LINENO" 5; }
3982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3983
$as_echo "$cross_compiling" >&6; }
3985
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3986
ac_clean_files=$ac_clean_files_save
3987
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3988
$as_echo_n "checking for suffix of object files... " >&6; }
3989
if ${ac_cv_objext+:} false; then :
3990
$as_echo_n "(cached) " >&6
3992
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3993
/* end confdefs.h. */
4003
rm -f conftest.o conftest.obj
4004
if { { ac_try="$ac_compile"
4006
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4007
*) ac_try_echo=$ac_try;;
4009
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4010
$as_echo "$ac_try_echo"; } >&5
4011
(eval "$ac_compile") 2>&5
4013
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4014
test $ac_status = 0; }; then :
4015
for ac_file in conftest.o conftest.obj conftest.*; do
4016
test -f "$ac_file" || continue;
4018
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4019
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4024
$as_echo "$as_me: failed program was:" >&5
4025
sed 's/^/| /' conftest.$ac_ext >&5
4027
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4028
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4029
as_fn_error $? "cannot compute suffix of object files: cannot compile
4030
See \`config.log' for more details" "$LINENO" 5; }
4032
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4035
$as_echo "$ac_cv_objext" >&6; }
4036
OBJEXT=$ac_cv_objext
4038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4039
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4040
if ${ac_cv_c_compiler_gnu+:} false; then :
4041
$as_echo_n "(cached) " >&6
4043
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044
/* end confdefs.h. */
4057
if ac_fn_c_try_compile "$LINENO"; then :
4062
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4063
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4067
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4068
if test $ac_compiler_gnu = yes; then
4073
ac_test_CFLAGS=${CFLAGS+set}
4074
ac_save_CFLAGS=$CFLAGS
4075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4076
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4077
if ${ac_cv_prog_cc_g+:} false; then :
4078
$as_echo_n "(cached) " >&6
4080
ac_save_c_werror_flag=$ac_c_werror_flag
4081
ac_c_werror_flag=yes
4084
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4085
/* end confdefs.h. */
4095
if ac_fn_c_try_compile "$LINENO"; then :
4099
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100
/* end confdefs.h. */
4110
if ac_fn_c_try_compile "$LINENO"; then :
4113
ac_c_werror_flag=$ac_save_c_werror_flag
4115
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4116
/* end confdefs.h. */
4126
if ac_fn_c_try_compile "$LINENO"; then :
4129
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4131
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4133
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4134
ac_c_werror_flag=$ac_save_c_werror_flag
4136
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4137
$as_echo "$ac_cv_prog_cc_g" >&6; }
4138
if test "$ac_test_CFLAGS" = set; then
4139
CFLAGS=$ac_save_CFLAGS
4140
elif test $ac_cv_prog_cc_g = yes; then
4141
if test "$GCC" = yes; then
4147
if test "$GCC" = yes; then
4153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4154
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4155
if ${ac_cv_prog_cc_c89+:} false; then :
4156
$as_echo_n "(cached) " >&6
4158
ac_cv_prog_cc_c89=no
4160
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161
/* end confdefs.h. */
4165
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4166
struct buf { int x; };
4167
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4168
static char *e (p, i)
4174
static char *f (char * (*g) (char **, int), char **p, ...)
4179
s = g (p, va_arg (v,int));
4184
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4185
function prototypes and stuff, but not '\xHH' hex character constants.
4186
These don't provoke an error unfortunately, instead are silently treated
4187
as 'x'. The following induces an error, until -std is added to get
4188
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4189
array size at least. It's necessary to write '\x00'==0 to get something
4190
that's true only with -std. */
4191
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4193
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4194
inside strings and character constants. */
4196
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4198
int test (int i, double x);
4199
struct s1 {int (*f) (int a);};
4200
struct s2 {int (*f) (double a);};
4201
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4207
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4212
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4213
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4215
CC="$ac_save_CC $ac_arg"
4216
if ac_fn_c_try_compile "$LINENO"; then :
4217
ac_cv_prog_cc_c89=$ac_arg
4219
rm -f core conftest.err conftest.$ac_objext
4220
test "x$ac_cv_prog_cc_c89" != "xno" && break
4222
rm -f conftest.$ac_ext
4227
case "x$ac_cv_prog_cc_c89" in
4229
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4230
$as_echo "none needed" >&6; } ;;
4232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4233
$as_echo "unsupported" >&6; } ;;
4235
CC="$CC $ac_cv_prog_cc_c89"
4236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4237
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4239
if test "x$ac_cv_prog_cc_c89" != xno; then :
4244
ac_cpp='$CPP $CPPFLAGS'
4245
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4246
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4247
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4248
DEPDIR="${am__leading_dot}deps"
4250
ac_config_commands="$ac_config_commands depfiles"
4253
am_make=${MAKE-make}
4254
cat > confinc << 'END'
4256
@echo this is the am__doit target
4259
# If we don't find an include directive, just comment out the code.
4260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4261
$as_echo_n "checking for style of include used by $am_make... " >&6; }
4265
# First try GNU make style include.
4266
echo "include confinc" > confmf
4267
# Ignore all kinds of additional output from `make'.
4268
case `$am_make -s -f confmf 2> /dev/null` in #(
4269
*the\ am__doit\ target*)
4275
# Now try BSD make style include.
4276
if test "$am__include" = "#"; then
4277
echo '.include "confinc"' > confmf
4278
case `$am_make -s -f confmf 2> /dev/null` in #(
4279
*the\ am__doit\ target*)
4280
am__include=.include
4288
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4289
$as_echo "$_am_result" >&6; }
4290
rm -f confinc confmf
4292
# Check whether --enable-dependency-tracking was given.
4293
if test "${enable_dependency_tracking+set}" = set; then :
4294
enableval=$enable_dependency_tracking;
4297
if test "x$enable_dependency_tracking" != xno; then
4298
am_depcomp="$ac_aux_dir/depcomp"
4302
if test "x$enable_dependency_tracking" != xno; then
4312
depcc="$CC" am_compiler_list=
4314
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4315
$as_echo_n "checking dependency style of $depcc... " >&6; }
4316
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4317
$as_echo_n "(cached) " >&6
4319
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4320
# We make a subdir and do the tests there. Otherwise we can end up
4321
# making bogus files that we don't know about and never remove. For
4322
# instance it was reported that on HP-UX the gcc test will end up
4323
# making a dummy file named `D' -- because `-MD' means `put the output
4327
# Copy depcomp to subdir because otherwise we won't find it if we're
4328
# using a relative directory.
4329
cp "$am_depcomp" conftest.dir
4331
# We will build objects and dependencies in a subdirectory because
4332
# it helps to detect inapplicable dependency modes. For instance
4333
# both Tru64's cc and ICC support -MD to output dependencies as a
4334
# side effect of compilation, but ICC will put the dependencies in
4335
# the current directory while Tru64 will put them in the object
4339
am_cv_CC_dependencies_compiler_type=none
4340
if test "$am_compiler_list" = ""; then
4341
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4344
case " $depcc " in #(
4345
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4348
for depmode in $am_compiler_list; do
4349
# Setup a source with many dependencies, because some compilers
4350
# like to wrap large dependency lists on column 80 (with \), and
4351
# we should not choose a depcomp mode which is confused by this.
4353
# We need to recreate these files for each test, as the compiler may
4354
# overwrite some of them when testing with obscure command lines.
4355
# This happens at least with the AIX C compiler.
4357
for i in 1 2 3 4 5 6; do
4358
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4359
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4360
# Solaris 8's {/usr,}/bin/sh.
4361
touch sub/conftst$i.h
4363
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4365
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4366
# mode. It turns out that the SunPro C++ compiler does not properly
4367
# handle `-M -o', and we need to detect this. Also, some Intel
4368
# versions had trouble with output in subdirs
4369
am__obj=sub/conftest.${OBJEXT-o}
4370
am__minus_obj="-o $am__obj"
4373
# This depmode causes a compiler race in universal mode.
4374
test "$am__universal" = false || continue
4377
# after this tag, mechanisms are not by side-effect, so they'll
4378
# only be used when explicitly requested
4379
if test "x$enable_dependency_tracking" = xyes; then
4385
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4386
# This compiler won't grok `-c -o', but also, the minuso test has
4387
# not run yet. These depmodes are late enough in the game, and
4388
# so weak that their functioning should not be impacted.
4389
am__obj=conftest.${OBJEXT-o}
4394
if depmode=$depmode \
4395
source=sub/conftest.c object=$am__obj \
4396
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4397
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4398
>/dev/null 2>conftest.err &&
4399
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4400
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4401
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4402
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4403
# icc doesn't choke on unknown options, it will just issue warnings
4404
# or remarks (even with -Werror). So we grep stderr for any message
4405
# that says an option was ignored or not supported.
4406
# When given -MP, icc 7.0 and 7.1 complain thusly:
4407
# icc: Command line warning: ignoring option '-M'; no argument required
4408
# The diagnosis changed in icc 8.0:
4409
# icc: Command line remark: option '-MP' not supported
4410
if (grep 'ignoring option' conftest.err ||
4411
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4412
am_cv_CC_dependencies_compiler_type=$depmode
4421
am_cv_CC_dependencies_compiler_type=none
4425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4426
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4427
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4430
test "x$enable_dependency_tracking" != xno \
4431
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4433
am__fastdepCC_FALSE='#'
4435
am__fastdepCC_TRUE='#'
4436
am__fastdepCC_FALSE=
4440
if test "x$CC" != xcc; then
4441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4442
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4445
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4447
set dummy $CC; ac_cc=`$as_echo "$2" |
4448
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4449
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4450
$as_echo_n "(cached) " >&6
4452
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4453
/* end confdefs.h. */
4463
# Make sure it works both with $CC and with simple cc.
4464
# We do the test twice because some compilers refuse to overwrite an
4465
# existing .o file with -o, though they will create one.
4466
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4468
if { { case "(($ac_try" in
4469
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4470
*) ac_try_echo=$ac_try;;
4472
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4473
$as_echo "$ac_try_echo"; } >&5
4474
(eval "$ac_try") 2>&5
4476
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4477
test $ac_status = 0; } &&
4478
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4479
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4480
*) ac_try_echo=$ac_try;;
4482
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4483
$as_echo "$ac_try_echo"; } >&5
4484
(eval "$ac_try") 2>&5
4486
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4487
test $ac_status = 0; };
4489
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4490
if test "x$CC" != xcc; then
4491
# Test first that cc exists at all.
4492
if { ac_try='cc -c conftest.$ac_ext >&5'
4493
{ { case "(($ac_try" in
4494
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4495
*) ac_try_echo=$ac_try;;
4497
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4498
$as_echo "$ac_try_echo"; } >&5
4499
(eval "$ac_try") 2>&5
4501
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4502
test $ac_status = 0; }; }; then
4503
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4505
if { { case "(($ac_try" in
4506
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4507
*) ac_try_echo=$ac_try;;
4509
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4510
$as_echo "$ac_try_echo"; } >&5
4511
(eval "$ac_try") 2>&5
4513
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4514
test $ac_status = 0; } &&
4515
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4516
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517
*) ac_try_echo=$ac_try;;
4519
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4520
$as_echo "$ac_try_echo"; } >&5
4521
(eval "$ac_try") 2>&5
4523
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4524
test $ac_status = 0; };
4529
# cc exists but doesn't like -o.
4530
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4535
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4537
rm -f core conftest*
4540
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4541
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4542
$as_echo "yes" >&6; }
4544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4545
$as_echo "no" >&6; }
4547
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4551
# FIXME: we rely on the cache variable name because
4552
# there is no other way.
4554
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4555
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4556
if test "$am_t" != yes; then
4557
# Losing compiler, so override with the script.
4558
# FIXME: It is wrong to rewrite CC.
4559
# But if we don't then we get into trouble of one sort or another.
4560
# A longer-term fix would be to have automake use am__CC in this case,
4561
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4562
CC="$am_aux_dir/compile $CC"
4567
# Initialize libtool
4571
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4572
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4577
macro_version='2.4.2'
4578
macro_revision='1.3337'
4592
ltmain="$ac_aux_dir/ltmain.sh"
4594
# Make sure we can run config.sub.
4595
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4596
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4598
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4599
$as_echo_n "checking build system type... " >&6; }
4600
if ${ac_cv_build+:} false; then :
4601
$as_echo_n "(cached) " >&6
4603
ac_build_alias=$build_alias
4604
test "x$ac_build_alias" = x &&
4605
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4606
test "x$ac_build_alias" = x &&
4607
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4608
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4609
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4613
$as_echo "$ac_cv_build" >&6; }
4614
case $ac_cv_build in
4616
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4619
ac_save_IFS=$IFS; IFS='-'
4625
# Remember, the first character of IFS is used to create $*,
4626
# except with old shells:
4629
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4633
$as_echo_n "checking host system type... " >&6; }
4634
if ${ac_cv_host+:} false; then :
4635
$as_echo_n "(cached) " >&6
4637
if test "x$host_alias" = x; then
4638
ac_cv_host=$ac_cv_build
4640
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4641
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4646
$as_echo "$ac_cv_host" >&6; }
4649
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4652
ac_save_IFS=$IFS; IFS='-'
4658
# Remember, the first character of IFS is used to create $*,
4659
# except with old shells:
4662
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4665
# Backslashify metacharacters that are still active within
4666
# double-quoted strings.
4667
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4669
# Same as above, but do not quote variable references.
4670
double_quote_subst='s/\(["`\\]\)/\\\1/g'
4672
# Sed substitution to delay expansion of an escaped shell variable in a
4673
# double_quote_subst'ed string.
4674
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4676
# Sed substitution to delay expansion of an escaped single quote.
4677
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4679
# Sed substitution to avoid accidental globbing in evaled expressions
4680
no_glob_subst='s/\*/\\\*/g'
4682
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4683
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4684
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4686
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4687
$as_echo_n "checking how to print strings... " >&6; }
4688
# Test print first, because it will be a builtin if present.
4689
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4690
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4692
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4695
# Use this function as a fallback that always works.
4696
func_fallback_echo ()
4698
eval 'cat <<_LTECHO_EOF
4702
ECHO='func_fallback_echo'
4705
# func_echo_all arg...
4706
# Invoke $ECHO with all args, space-separated.
4713
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4714
$as_echo "printf" >&6; } ;;
4715
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4716
$as_echo "print -r" >&6; } ;;
4717
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4718
$as_echo "cat" >&6; } ;;
4734
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4735
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4736
if ${ac_cv_path_SED+:} false; then :
4737
$as_echo_n "(cached) " >&6
4739
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4740
for ac_i in 1 2 3 4 5 6 7; do
4741
ac_script="$ac_script$as_nl$ac_script"
4743
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4744
{ ac_script=; unset ac_script;}
4745
if test -z "$SED"; then
4746
ac_path_SED_found=false
4747
# Loop through the user's path and test for each of PROGNAME-LIST
4748
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4752
test -z "$as_dir" && as_dir=.
4753
for ac_prog in sed gsed; do
4754
for ac_exec_ext in '' $ac_executable_extensions; do
4755
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4756
as_fn_executable_p "$ac_path_SED" || continue
4757
# Check for GNU ac_path_SED and select it if it is found.
4758
# Check for GNU $ac_path_SED
4759
case `"$ac_path_SED" --version 2>&1` in
4761
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4764
$as_echo_n 0123456789 >"conftest.in"
4767
cat "conftest.in" "conftest.in" >"conftest.tmp"
4768
mv "conftest.tmp" "conftest.in"
4769
cp "conftest.in" "conftest.nl"
4770
$as_echo '' >> "conftest.nl"
4771
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4772
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4773
as_fn_arith $ac_count + 1 && ac_count=$as_val
4774
if test $ac_count -gt ${ac_path_SED_max-0}; then
4775
# Best one so far, save it but keep looking for a better one
4776
ac_cv_path_SED="$ac_path_SED"
4777
ac_path_SED_max=$ac_count
4779
# 10*(2^10) chars as input seems more than enough
4780
test $ac_count -gt 10 && break
4782
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4785
$ac_path_SED_found && break 3
4790
if test -z "$ac_cv_path_SED"; then
4791
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4798
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4799
$as_echo "$ac_cv_path_SED" >&6; }
4800
SED="$ac_cv_path_SED"
4803
test -z "$SED" && SED=sed
4804
Xsed="$SED -e 1s/^X//"
4816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4817
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4818
if ${ac_cv_path_GREP+:} false; then :
4819
$as_echo_n "(cached) " >&6
4821
if test -z "$GREP"; then
4822
ac_path_GREP_found=false
4823
# Loop through the user's path and test for each of PROGNAME-LIST
4824
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4828
test -z "$as_dir" && as_dir=.
4829
for ac_prog in grep ggrep; do
4830
for ac_exec_ext in '' $ac_executable_extensions; do
4831
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4832
as_fn_executable_p "$ac_path_GREP" || continue
4833
# Check for GNU ac_path_GREP and select it if it is found.
4834
# Check for GNU $ac_path_GREP
4835
case `"$ac_path_GREP" --version 2>&1` in
4837
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4840
$as_echo_n 0123456789 >"conftest.in"
4843
cat "conftest.in" "conftest.in" >"conftest.tmp"
4844
mv "conftest.tmp" "conftest.in"
4845
cp "conftest.in" "conftest.nl"
4846
$as_echo 'GREP' >> "conftest.nl"
4847
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4848
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4849
as_fn_arith $ac_count + 1 && ac_count=$as_val
4850
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4851
# Best one so far, save it but keep looking for a better one
4852
ac_cv_path_GREP="$ac_path_GREP"
4853
ac_path_GREP_max=$ac_count
4855
# 10*(2^10) chars as input seems more than enough
4856
test $ac_count -gt 10 && break
4858
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4861
$ac_path_GREP_found && break 3
4866
if test -z "$ac_cv_path_GREP"; then
4867
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4870
ac_cv_path_GREP=$GREP
4874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4875
$as_echo "$ac_cv_path_GREP" >&6; }
4876
GREP="$ac_cv_path_GREP"
4879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4880
$as_echo_n "checking for egrep... " >&6; }
4881
if ${ac_cv_path_EGREP+:} false; then :
4882
$as_echo_n "(cached) " >&6
4884
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4885
then ac_cv_path_EGREP="$GREP -E"
4887
if test -z "$EGREP"; then
4888
ac_path_EGREP_found=false
4889
# Loop through the user's path and test for each of PROGNAME-LIST
4890
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4891
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4894
test -z "$as_dir" && as_dir=.
4895
for ac_prog in egrep; do
4896
for ac_exec_ext in '' $ac_executable_extensions; do
4897
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4898
as_fn_executable_p "$ac_path_EGREP" || continue
4899
# Check for GNU ac_path_EGREP and select it if it is found.
4900
# Check for GNU $ac_path_EGREP
4901
case `"$ac_path_EGREP" --version 2>&1` in
4903
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4906
$as_echo_n 0123456789 >"conftest.in"
4909
cat "conftest.in" "conftest.in" >"conftest.tmp"
4910
mv "conftest.tmp" "conftest.in"
4911
cp "conftest.in" "conftest.nl"
4912
$as_echo 'EGREP' >> "conftest.nl"
4913
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4914
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4915
as_fn_arith $ac_count + 1 && ac_count=$as_val
4916
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4917
# Best one so far, save it but keep looking for a better one
4918
ac_cv_path_EGREP="$ac_path_EGREP"
4919
ac_path_EGREP_max=$ac_count
4921
# 10*(2^10) chars as input seems more than enough
4922
test $ac_count -gt 10 && break
4924
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4927
$ac_path_EGREP_found && break 3
4932
if test -z "$ac_cv_path_EGREP"; then
4933
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4936
ac_cv_path_EGREP=$EGREP
4941
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4942
$as_echo "$ac_cv_path_EGREP" >&6; }
4943
EGREP="$ac_cv_path_EGREP"
4946
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4947
$as_echo_n "checking for fgrep... " >&6; }
4948
if ${ac_cv_path_FGREP+:} false; then :
4949
$as_echo_n "(cached) " >&6
4951
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4952
then ac_cv_path_FGREP="$GREP -F"
4954
if test -z "$FGREP"; then
4955
ac_path_FGREP_found=false
4956
# Loop through the user's path and test for each of PROGNAME-LIST
4957
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4961
test -z "$as_dir" && as_dir=.
4962
for ac_prog in fgrep; do
4963
for ac_exec_ext in '' $ac_executable_extensions; do
4964
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4965
as_fn_executable_p "$ac_path_FGREP" || continue
4966
# Check for GNU ac_path_FGREP and select it if it is found.
4967
# Check for GNU $ac_path_FGREP
4968
case `"$ac_path_FGREP" --version 2>&1` in
4970
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4973
$as_echo_n 0123456789 >"conftest.in"
4976
cat "conftest.in" "conftest.in" >"conftest.tmp"
4977
mv "conftest.tmp" "conftest.in"
4978
cp "conftest.in" "conftest.nl"
4979
$as_echo 'FGREP' >> "conftest.nl"
4980
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4981
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4982
as_fn_arith $ac_count + 1 && ac_count=$as_val
4983
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4984
# Best one so far, save it but keep looking for a better one
4985
ac_cv_path_FGREP="$ac_path_FGREP"
4986
ac_path_FGREP_max=$ac_count
4988
# 10*(2^10) chars as input seems more than enough
4989
test $ac_count -gt 10 && break
4991
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4994
$ac_path_FGREP_found && break 3
4999
if test -z "$ac_cv_path_FGREP"; then
5000
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5003
ac_cv_path_FGREP=$FGREP
5008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5009
$as_echo "$ac_cv_path_FGREP" >&6; }
5010
FGREP="$ac_cv_path_FGREP"
5013
test -z "$GREP" && GREP=grep
5033
# Check whether --with-gnu-ld was given.
5034
if test "${with_gnu_ld+set}" = set; then :
5035
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5041
if test "$GCC" = yes; then
5042
# Check if gcc -print-prog-name=ld gives a path.
5043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5044
$as_echo_n "checking for ld used by $CC... " >&6; }
5047
# gcc leaves a trailing carriage return which upsets mingw
5048
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5050
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5053
# Accept absolute paths.
5055
re_direlt='/[^/][^/]*/\.\./'
5056
# Canonicalize the pathname of ld
5057
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5058
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5059
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5061
test -z "$LD" && LD="$ac_prog"
5064
# If it fails, then pretend we aren't using GCC.
5068
# If it is relative, then search for the first ld in PATH.
5072
elif test "$with_gnu_ld" = yes; then
5073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5074
$as_echo_n "checking for GNU ld... " >&6; }
5076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5077
$as_echo_n "checking for non-GNU ld... " >&6; }
5079
if ${lt_cv_path_LD+:} false; then :
5080
$as_echo_n "(cached) " >&6
5082
if test -z "$LD"; then
5083
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5084
for ac_dir in $PATH; do
5086
test -z "$ac_dir" && ac_dir=.
5087
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5088
lt_cv_path_LD="$ac_dir/$ac_prog"
5089
# Check to see if the program is GNU ld. I'd rather use --version,
5090
# but apparently some variants of GNU ld only accept -v.
5091
# Break only if it was the GNU/non-GNU ld that we prefer.
5092
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5093
*GNU* | *'with BFD'*)
5094
test "$with_gnu_ld" != no && break
5097
test "$with_gnu_ld" != yes && break
5104
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5109
if test -n "$LD"; then
5110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5111
$as_echo "$LD" >&6; }
5113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114
$as_echo "no" >&6; }
5116
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5117
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5118
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5119
if ${lt_cv_prog_gnu_ld+:} false; then :
5120
$as_echo_n "(cached) " >&6
5122
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5123
case `$LD -v 2>&1 </dev/null` in
5124
*GNU* | *'with BFD'*)
5125
lt_cv_prog_gnu_ld=yes
5128
lt_cv_prog_gnu_ld=no
5132
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5133
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5134
with_gnu_ld=$lt_cv_prog_gnu_ld
5144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5145
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5146
if ${lt_cv_path_NM+:} false; then :
5147
$as_echo_n "(cached) " >&6
5149
if test -n "$NM"; then
5150
# Let the user override the test.
5153
lt_nm_to_check="${ac_tool_prefix}nm"
5154
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5155
lt_nm_to_check="$lt_nm_to_check nm"
5157
for lt_tmp_nm in $lt_nm_to_check; do
5158
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5159
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5161
test -z "$ac_dir" && ac_dir=.
5162
tmp_nm="$ac_dir/$lt_tmp_nm"
5163
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5164
# Check to see if the nm accepts a BSD-compat flag.
5165
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5166
# nm: unknown option "B" ignored
5167
# Tru64's nm complains that /dev/null is an invalid object file
5168
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5169
*/dev/null* | *'Invalid file or object type'*)
5170
lt_cv_path_NM="$tmp_nm -B"
5174
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5176
lt_cv_path_NM="$tmp_nm -p"
5180
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5181
continue # so that we can try to find one that supports BSD flags
5190
: ${lt_cv_path_NM=no}
5193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5194
$as_echo "$lt_cv_path_NM" >&6; }
5195
if test "$lt_cv_path_NM" != "no"; then
5198
# Didn't find any BSD compatible name lister, look for dumpbin.
5199
if test -n "$DUMPBIN"; then :
5200
# Let the user override the test.
5202
if test -n "$ac_tool_prefix"; then
5203
for ac_prog in dumpbin "link -dump"
5205
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5206
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5207
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208
$as_echo_n "checking for $ac_word... " >&6; }
5209
if ${ac_cv_prog_DUMPBIN+:} false; then :
5210
$as_echo_n "(cached) " >&6
5212
if test -n "$DUMPBIN"; then
5213
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5215
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5219
test -z "$as_dir" && as_dir=.
5220
for ac_exec_ext in '' $ac_executable_extensions; do
5221
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5223
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232
DUMPBIN=$ac_cv_prog_DUMPBIN
5233
if test -n "$DUMPBIN"; then
5234
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5235
$as_echo "$DUMPBIN" >&6; }
5237
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238
$as_echo "no" >&6; }
5242
test -n "$DUMPBIN" && break
5245
if test -z "$DUMPBIN"; then
5246
ac_ct_DUMPBIN=$DUMPBIN
5247
for ac_prog in dumpbin "link -dump"
5249
# Extract the first word of "$ac_prog", so it can be a program name with args.
5250
set dummy $ac_prog; ac_word=$2
5251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252
$as_echo_n "checking for $ac_word... " >&6; }
5253
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5254
$as_echo_n "(cached) " >&6
5256
if test -n "$ac_ct_DUMPBIN"; then
5257
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5259
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5263
test -z "$as_dir" && as_dir=.
5264
for ac_exec_ext in '' $ac_executable_extensions; do
5265
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5266
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5267
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5276
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5277
if test -n "$ac_ct_DUMPBIN"; then
5278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5279
$as_echo "$ac_ct_DUMPBIN" >&6; }
5281
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282
$as_echo "no" >&6; }
5286
test -n "$ac_ct_DUMPBIN" && break
5289
if test "x$ac_ct_DUMPBIN" = x; then
5292
case $cross_compiling:$ac_tool_warned in
5294
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5295
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5296
ac_tool_warned=yes ;;
5298
DUMPBIN=$ac_ct_DUMPBIN
5302
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5304
DUMPBIN="$DUMPBIN -symbols"
5312
if test "$DUMPBIN" != ":"; then
5316
test -z "$NM" && NM=nm
5323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5324
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5325
if ${lt_cv_nm_interface+:} false; then :
5326
$as_echo_n "(cached) " >&6
5328
lt_cv_nm_interface="BSD nm"
5329
echo "int some_variable = 0;" > conftest.$ac_ext
5330
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5331
(eval "$ac_compile" 2>conftest.err)
5332
cat conftest.err >&5
5333
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5334
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5335
cat conftest.err >&5
5336
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
5337
cat conftest.out >&5
5338
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5339
lt_cv_nm_interface="MS dumpbin"
5343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5344
$as_echo "$lt_cv_nm_interface" >&6; }
5346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5347
$as_echo_n "checking whether ln -s works... " >&6; }
5349
if test "$LN_S" = "ln -s"; then
5350
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5351
$as_echo "yes" >&6; }
5353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5354
$as_echo "no, using $LN_S" >&6; }
5357
# find the maximum length of command line arguments
5358
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5359
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5360
if ${lt_cv_sys_max_cmd_len+:} false; then :
5361
$as_echo_n "(cached) " >&6
5368
# On DJGPP, this test can blow up pretty badly due to problems in libc
5369
# (any single argument exceeding 2000 bytes causes a buffer overrun
5370
# during glob expansion). Even if it were fixed, the result of this
5371
# check would be larger than it should be.
5372
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5376
# Under GNU Hurd, this test is not required because there is
5377
# no limit to the length of command line arguments.
5378
# Libtool will interpret -1 as no limit whatsoever
5379
lt_cv_sys_max_cmd_len=-1;
5382
cygwin* | mingw* | cegcc*)
5383
# On Win9x/ME, this test blows up -- it succeeds, but takes
5384
# about 5 minutes as the teststring grows exponentially.
5385
# Worse, since 9x/ME are not pre-emptively multitasking,
5386
# you end up with a "frozen" computer, even though with patience
5387
# the test eventually succeeds (with a max line length of 256k).
5388
# Instead, let's just punt: use the minimum linelength reported by
5389
# all of the supported platforms: 8192 (on NT/2K/XP).
5390
lt_cv_sys_max_cmd_len=8192;
5394
# On MiNT this can take a long time and run out of memory.
5395
lt_cv_sys_max_cmd_len=8192;
5399
# On AmigaOS with pdksh, this test takes hours, literally.
5400
# So we just punt and use a minimum line length of 8192.
5401
lt_cv_sys_max_cmd_len=8192;
5404
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5405
# This has been around since 386BSD, at least. Likely further.
5406
if test -x /sbin/sysctl; then
5407
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5408
elif test -x /usr/sbin/sysctl; then
5409
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5411
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5413
# And add a safety zone
5414
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5415
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5419
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5420
lt_cv_sys_max_cmd_len=196608
5424
# The test takes a long time on OS/2.
5425
lt_cv_sys_max_cmd_len=8192
5429
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5430
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5431
# nice to cause kernel panics so lets avoid the loop below.
5432
# First set a reasonable default.
5433
lt_cv_sys_max_cmd_len=16384
5435
if test -x /sbin/sysconfig; then
5436
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5437
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5442
lt_cv_sys_max_cmd_len=102400
5444
sysv5* | sco5v6* | sysv4.2uw2*)
5445
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5446
if test -n "$kargmax"; then
5447
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5449
lt_cv_sys_max_cmd_len=32768
5453
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5454
if test -n "$lt_cv_sys_max_cmd_len"; then
5455
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5456
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5458
# Make teststring a little bigger before we do anything with it.
5459
# a 1K string should be a reasonable start.
5460
for i in 1 2 3 4 5 6 7 8 ; do
5461
teststring=$teststring$teststring
5463
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5464
# If test is not a shell built-in, we'll probably end up computing a
5465
# maximum length that is only half of the actual maximum length, but
5467
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5468
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
5469
test $i != 17 # 1/2 MB should be enough
5472
teststring=$teststring$teststring
5474
# Only check the string length outside the loop.
5475
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5477
# Add a significant safety factor because C++ compilers can tack on
5478
# massive amounts of additional arguments before passing them to the
5479
# linker. It appears as though 1/2 is a usable value.
5480
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5487
if test -n $lt_cv_sys_max_cmd_len ; then
5488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5489
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5492
$as_echo "none" >&6; }
5494
max_cmd_len=$lt_cv_sys_max_cmd_len
5505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5506
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5507
# Try some XSI features
5510
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5512
&& eval 'test $(( 1 + 1 )) -eq 2 \
5513
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5515
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5516
$as_echo "$xsi_shell" >&6; }
5519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5520
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5522
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5524
&& lt_shell_append=yes
5525
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5526
$as_echo "$lt_shell_append" >&6; }
5529
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5539
# test EBCDIC or ASCII
5540
case `echo X|tr X '\101'` in
5541
A) # ASCII based system
5542
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5543
lt_SP2NL='tr \040 \012'
5544
lt_NL2SP='tr \015\012 \040\040'
5546
*) # EBCDIC based system
5547
lt_SP2NL='tr \100 \n'
5548
lt_NL2SP='tr \r\n \100\100'
5560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5561
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5562
if ${lt_cv_to_host_file_cmd+:} false; then :
5563
$as_echo_n "(cached) " >&6
5568
*-*-mingw* ) # actually msys
5569
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5572
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5574
* ) # otherwise, assume *nix
5575
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5581
*-*-mingw* ) # actually msys
5582
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5585
lt_cv_to_host_file_cmd=func_convert_file_noop
5587
* ) # otherwise, assume *nix
5588
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5592
* ) # unhandled hosts (and "normal" native builds)
5593
lt_cv_to_host_file_cmd=func_convert_file_noop
5599
to_host_file_cmd=$lt_cv_to_host_file_cmd
5600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5601
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5608
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5609
if ${lt_cv_to_tool_file_cmd+:} false; then :
5610
$as_echo_n "(cached) " >&6
5612
#assume ordinary cross tools, or native build.
5613
lt_cv_to_tool_file_cmd=func_convert_file_noop
5617
*-*-mingw* ) # actually msys
5618
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5626
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5627
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5628
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5635
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5636
if ${lt_cv_ld_reload_flag+:} false; then :
5637
$as_echo_n "(cached) " >&6
5639
lt_cv_ld_reload_flag='-r'
5641
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5642
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5643
reload_flag=$lt_cv_ld_reload_flag
5644
case $reload_flag in
5646
*) reload_flag=" $reload_flag" ;;
5648
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5650
cygwin* | mingw* | pw32* | cegcc*)
5651
if test "$GCC" != yes; then
5656
if test "$GCC" = yes; then
5657
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5659
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5672
if test -n "$ac_tool_prefix"; then
5673
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5674
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5676
$as_echo_n "checking for $ac_word... " >&6; }
5677
if ${ac_cv_prog_OBJDUMP+:} false; then :
5678
$as_echo_n "(cached) " >&6
5680
if test -n "$OBJDUMP"; then
5681
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5683
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5687
test -z "$as_dir" && as_dir=.
5688
for ac_exec_ext in '' $ac_executable_extensions; do
5689
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5690
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5691
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5700
OBJDUMP=$ac_cv_prog_OBJDUMP
5701
if test -n "$OBJDUMP"; then
5702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5703
$as_echo "$OBJDUMP" >&6; }
5705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706
$as_echo "no" >&6; }
5711
if test -z "$ac_cv_prog_OBJDUMP"; then
5712
ac_ct_OBJDUMP=$OBJDUMP
5713
# Extract the first word of "objdump", so it can be a program name with args.
5714
set dummy objdump; ac_word=$2
5715
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5716
$as_echo_n "checking for $ac_word... " >&6; }
5717
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5718
$as_echo_n "(cached) " >&6
5720
if test -n "$ac_ct_OBJDUMP"; then
5721
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5723
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727
test -z "$as_dir" && as_dir=.
5728
for ac_exec_ext in '' $ac_executable_extensions; do
5729
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5730
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5731
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5740
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5741
if test -n "$ac_ct_OBJDUMP"; then
5742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5743
$as_echo "$ac_ct_OBJDUMP" >&6; }
5745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746
$as_echo "no" >&6; }
5749
if test "x$ac_ct_OBJDUMP" = x; then
5752
case $cross_compiling:$ac_tool_warned in
5754
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5755
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5756
ac_tool_warned=yes ;;
5758
OBJDUMP=$ac_ct_OBJDUMP
5761
OBJDUMP="$ac_cv_prog_OBJDUMP"
5764
test -z "$OBJDUMP" && OBJDUMP=objdump
5771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5772
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5773
if ${lt_cv_deplibs_check_method+:} false; then :
5774
$as_echo_n "(cached) " >&6
5776
lt_cv_file_magic_cmd='$MAGIC_CMD'
5777
lt_cv_file_magic_test_file=
5778
lt_cv_deplibs_check_method='unknown'
5779
# Need to set the preceding variable on all platforms that support
5780
# interlibrary dependencies.
5781
# 'none' -- dependencies not supported.
5782
# `unknown' -- same as none, but documents that we really don't know.
5783
# 'pass_all' -- all dependencies passed with no checks.
5784
# 'test_compile' -- check by making test program.
5785
# 'file_magic [[regex]]' -- check by looking for files in library path
5786
# which responds to the $file_magic_cmd with a given extended regex.
5787
# If you have `file' or equivalent on your system and you're not sure
5788
# whether `pass_all' will *always* work, you probably want this one.
5792
lt_cv_deplibs_check_method=pass_all
5796
lt_cv_deplibs_check_method=pass_all
5800
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5801
lt_cv_file_magic_cmd='/usr/bin/file -L'
5802
lt_cv_file_magic_test_file=/shlib/libc.so
5806
# func_win32_libid is a shell function defined in ltmain.sh
5807
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5808
lt_cv_file_magic_cmd='func_win32_libid'
5812
# Base MSYS/MinGW do not provide the 'file' command needed by
5813
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5814
# unless we find 'file', for example because we are cross-compiling.
5815
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5816
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5817
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5818
lt_cv_file_magic_cmd='func_win32_libid'
5820
# Keep this pattern in sync with the one in func_win32_libid.
5821
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5822
lt_cv_file_magic_cmd='$OBJDUMP -f'
5827
# use the weaker test based on 'objdump'. See mingw*.
5828
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5829
lt_cv_file_magic_cmd='$OBJDUMP -f'
5832
darwin* | rhapsody*)
5833
lt_cv_deplibs_check_method=pass_all
5836
freebsd* | dragonfly*)
5837
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5840
# Not sure whether the presence of OpenBSD here was a mistake.
5841
# Let's accept both of them until this is cleared up.
5842
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5843
lt_cv_file_magic_cmd=/usr/bin/file
5844
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5848
lt_cv_deplibs_check_method=pass_all
5853
lt_cv_deplibs_check_method=pass_all
5856
hpux10.20* | hpux11*)
5857
lt_cv_file_magic_cmd=/usr/bin/file
5860
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5861
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5864
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5865
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5868
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5869
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5875
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5876
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5879
irix5* | irix6* | nonstopux*)
5881
*-32|*"-32 ") libmagic=32-bit;;
5882
*-n32|*"-n32 ") libmagic=N32;;
5883
*-64|*"-64 ") libmagic=64-bit;;
5884
*) libmagic=never-match;;
5886
lt_cv_deplibs_check_method=pass_all
5889
# This must be glibc/ELF.
5890
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5891
lt_cv_deplibs_check_method=pass_all
5894
netbsd* | netbsdelf*-gnu)
5895
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5896
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5898
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5903
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5904
lt_cv_file_magic_cmd=/usr/bin/file
5905
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5909
lt_cv_deplibs_check_method=pass_all
5913
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5914
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5916
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5920
osf3* | osf4* | osf5*)
5921
lt_cv_deplibs_check_method=pass_all
5925
lt_cv_deplibs_check_method=pass_all
5929
lt_cv_deplibs_check_method=pass_all
5932
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5933
lt_cv_deplibs_check_method=pass_all
5937
case $host_vendor in
5939
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5940
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5943
lt_cv_deplibs_check_method=pass_all
5946
lt_cv_file_magic_cmd='/bin/file'
5947
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5950
lt_cv_file_magic_cmd='/bin/file'
5951
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5952
lt_cv_file_magic_test_file=/lib/libc.so
5955
lt_cv_deplibs_check_method=pass_all
5958
lt_cv_deplibs_check_method=pass_all
5964
lt_cv_deplibs_check_method=pass_all
5969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5970
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5974
if test "$build" = "$host"; then
5977
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5980
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5986
file_magic_cmd=$lt_cv_file_magic_cmd
5987
deplibs_check_method=$lt_cv_deplibs_check_method
5988
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6011
if test -n "$ac_tool_prefix"; then
6012
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6013
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015
$as_echo_n "checking for $ac_word... " >&6; }
6016
if ${ac_cv_prog_DLLTOOL+:} false; then :
6017
$as_echo_n "(cached) " >&6
6019
if test -n "$DLLTOOL"; then
6020
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6022
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026
test -z "$as_dir" && as_dir=.
6027
for ac_exec_ext in '' $ac_executable_extensions; do
6028
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6029
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6030
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039
DLLTOOL=$ac_cv_prog_DLLTOOL
6040
if test -n "$DLLTOOL"; then
6041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6042
$as_echo "$DLLTOOL" >&6; }
6044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045
$as_echo "no" >&6; }
6050
if test -z "$ac_cv_prog_DLLTOOL"; then
6051
ac_ct_DLLTOOL=$DLLTOOL
6052
# Extract the first word of "dlltool", so it can be a program name with args.
6053
set dummy dlltool; ac_word=$2
6054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6055
$as_echo_n "checking for $ac_word... " >&6; }
6056
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6057
$as_echo_n "(cached) " >&6
6059
if test -n "$ac_ct_DLLTOOL"; then
6060
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6062
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6066
test -z "$as_dir" && as_dir=.
6067
for ac_exec_ext in '' $ac_executable_extensions; do
6068
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6069
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6070
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6079
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6080
if test -n "$ac_ct_DLLTOOL"; then
6081
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6082
$as_echo "$ac_ct_DLLTOOL" >&6; }
6084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6085
$as_echo "no" >&6; }
6088
if test "x$ac_ct_DLLTOOL" = x; then
6091
case $cross_compiling:$ac_tool_warned in
6093
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6094
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6095
ac_tool_warned=yes ;;
6097
DLLTOOL=$ac_ct_DLLTOOL
6100
DLLTOOL="$ac_cv_prog_DLLTOOL"
6103
test -z "$DLLTOOL" && DLLTOOL=dlltool
6111
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6112
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6113
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6114
$as_echo_n "(cached) " >&6
6116
lt_cv_sharedlib_from_linklib_cmd='unknown'
6119
cygwin* | mingw* | pw32* | cegcc*)
6120
# two different shell functions defined in ltmain.sh
6121
# decide which to use based on capabilities of $DLLTOOL
6122
case `$DLLTOOL --help 2>&1` in
6123
*--identify-strict*)
6124
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6127
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6132
# fallback: assume linklib IS sharedlib
6133
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6139
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6140
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6141
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6150
if test -n "$ac_tool_prefix"; then
6153
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6154
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6155
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6156
$as_echo_n "checking for $ac_word... " >&6; }
6157
if ${ac_cv_prog_AR+:} false; then :
6158
$as_echo_n "(cached) " >&6
6160
if test -n "$AR"; then
6161
ac_cv_prog_AR="$AR" # Let the user override the test.
6163
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6167
test -z "$as_dir" && as_dir=.
6168
for ac_exec_ext in '' $ac_executable_extensions; do
6169
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6170
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6171
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181
if test -n "$AR"; then
6182
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6183
$as_echo "$AR" >&6; }
6185
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6186
$as_echo "no" >&6; }
6190
test -n "$AR" && break
6193
if test -z "$AR"; then
6197
# Extract the first word of "$ac_prog", so it can be a program name with args.
6198
set dummy $ac_prog; ac_word=$2
6199
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6200
$as_echo_n "checking for $ac_word... " >&6; }
6201
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6202
$as_echo_n "(cached) " >&6
6204
if test -n "$ac_ct_AR"; then
6205
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6207
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6211
test -z "$as_dir" && as_dir=.
6212
for ac_exec_ext in '' $ac_executable_extensions; do
6213
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6214
ac_cv_prog_ac_ct_AR="$ac_prog"
6215
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6224
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6225
if test -n "$ac_ct_AR"; then
6226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6227
$as_echo "$ac_ct_AR" >&6; }
6229
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6230
$as_echo "no" >&6; }
6234
test -n "$ac_ct_AR" && break
6237
if test "x$ac_ct_AR" = x; then
6240
case $cross_compiling:$ac_tool_warned in
6242
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6243
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6244
ac_tool_warned=yes ;;
6263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6264
$as_echo_n "checking for archiver @FILE support... " >&6; }
6265
if ${lt_cv_ar_at_file+:} false; then :
6266
$as_echo_n "(cached) " >&6
6269
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6270
/* end confdefs.h. */
6280
if ac_fn_c_try_compile "$LINENO"; then :
6281
echo conftest.$ac_objext > conftest.lst
6282
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6283
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6284
(eval $lt_ar_try) 2>&5
6286
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6287
test $ac_status = 0; }
6288
if test "$ac_status" -eq 0; then
6289
# Ensure the archiver fails upon bogus file names.
6290
rm -f conftest.$ac_objext libconftest.a
6291
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6292
(eval $lt_ar_try) 2>&5
6294
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6295
test $ac_status = 0; }
6296
if test "$ac_status" -ne 0; then
6300
rm -f conftest.* libconftest.a
6303
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6307
$as_echo "$lt_cv_ar_at_file" >&6; }
6309
if test "x$lt_cv_ar_at_file" = xno; then
6312
archiver_list_spec=$lt_cv_ar_at_file
6321
if test -n "$ac_tool_prefix"; then
6322
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6323
set dummy ${ac_tool_prefix}strip; ac_word=$2
6324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6325
$as_echo_n "checking for $ac_word... " >&6; }
6326
if ${ac_cv_prog_STRIP+:} false; then :
6327
$as_echo_n "(cached) " >&6
6329
if test -n "$STRIP"; then
6330
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6332
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336
test -z "$as_dir" && as_dir=.
6337
for ac_exec_ext in '' $ac_executable_extensions; do
6338
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6339
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6340
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6349
STRIP=$ac_cv_prog_STRIP
6350
if test -n "$STRIP"; then
6351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6352
$as_echo "$STRIP" >&6; }
6354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6355
$as_echo "no" >&6; }
6360
if test -z "$ac_cv_prog_STRIP"; then
6362
# Extract the first word of "strip", so it can be a program name with args.
6363
set dummy strip; ac_word=$2
6364
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6365
$as_echo_n "checking for $ac_word... " >&6; }
6366
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6367
$as_echo_n "(cached) " >&6
6369
if test -n "$ac_ct_STRIP"; then
6370
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6372
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6376
test -z "$as_dir" && as_dir=.
6377
for ac_exec_ext in '' $ac_executable_extensions; do
6378
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6379
ac_cv_prog_ac_ct_STRIP="strip"
6380
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6389
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6390
if test -n "$ac_ct_STRIP"; then
6391
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6392
$as_echo "$ac_ct_STRIP" >&6; }
6394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6395
$as_echo "no" >&6; }
6398
if test "x$ac_ct_STRIP" = x; then
6401
case $cross_compiling:$ac_tool_warned in
6403
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6404
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6405
ac_tool_warned=yes ;;
6410
STRIP="$ac_cv_prog_STRIP"
6413
test -z "$STRIP" && STRIP=:
6420
if test -n "$ac_tool_prefix"; then
6421
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6422
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6424
$as_echo_n "checking for $ac_word... " >&6; }
6425
if ${ac_cv_prog_RANLIB+:} false; then :
6426
$as_echo_n "(cached) " >&6
6428
if test -n "$RANLIB"; then
6429
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6431
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435
test -z "$as_dir" && as_dir=.
6436
for ac_exec_ext in '' $ac_executable_extensions; do
6437
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6438
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6439
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6448
RANLIB=$ac_cv_prog_RANLIB
6449
if test -n "$RANLIB"; then
6450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6451
$as_echo "$RANLIB" >&6; }
6453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6454
$as_echo "no" >&6; }
6459
if test -z "$ac_cv_prog_RANLIB"; then
6460
ac_ct_RANLIB=$RANLIB
6461
# Extract the first word of "ranlib", so it can be a program name with args.
6462
set dummy ranlib; ac_word=$2
6463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6464
$as_echo_n "checking for $ac_word... " >&6; }
6465
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6466
$as_echo_n "(cached) " >&6
6468
if test -n "$ac_ct_RANLIB"; then
6469
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6471
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475
test -z "$as_dir" && as_dir=.
6476
for ac_exec_ext in '' $ac_executable_extensions; do
6477
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6478
ac_cv_prog_ac_ct_RANLIB="ranlib"
6479
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6488
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6489
if test -n "$ac_ct_RANLIB"; then
6490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6491
$as_echo "$ac_ct_RANLIB" >&6; }
6493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6494
$as_echo "no" >&6; }
6497
if test "x$ac_ct_RANLIB" = x; then
6500
case $cross_compiling:$ac_tool_warned in
6502
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6503
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6504
ac_tool_warned=yes ;;
6506
RANLIB=$ac_ct_RANLIB
6509
RANLIB="$ac_cv_prog_RANLIB"
6512
test -z "$RANLIB" && RANLIB=:
6519
# Determine commands to create old-style static archives.
6520
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6521
old_postinstall_cmds='chmod 644 $oldlib'
6522
old_postuninstall_cmds=
6524
if test -n "$RANLIB"; then
6527
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6530
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6533
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6538
lock_old_archive_extraction=yes ;;
6540
lock_old_archive_extraction=no ;;
6581
# If no C compiler was specified, use CC.
6584
# If no C compiler flags were specified, use CFLAGS.
6585
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6587
# Allow CC to be a program name with arguments.
6591
# Check for command to grab the raw symbol name followed by C symbol from nm.
6592
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6593
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6594
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6595
$as_echo_n "(cached) " >&6
6598
# These are sane defaults that work on at least a few old systems.
6599
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6601
# Character class describing NM global symbol codes.
6602
symcode='[BCDEGRST]'
6604
# Regexp to match symbols that can be accessed directly from C.
6605
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6607
# Define system-specific variables.
6612
cygwin* | mingw* | pw32* | cegcc*)
6613
symcode='[ABCDGISTW]'
6616
if test "$host_cpu" = ia64; then
6617
symcode='[ABCDEGRST]'
6621
symcode='[BCDEGRST]'
6624
symcode='[BCDEGQRST]'
6635
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6643
# If we're using GNU nm, then use its standard symbol codes.
6644
case `$NM -V 2>&1` in
6645
*GNU* | *'with BFD'*)
6646
symcode='[ABCDGIRSTW]' ;;
6649
# Transform an extracted symbol line into a proper C declaration.
6650
# Some systems (esp. on ia64) link data and code symbols differently,
6651
# so use this general approach.
6652
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6654
# Transform an extracted symbol line into symbol name and symbol address
6655
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6656
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6658
# Handle CRLF in mingw tool chain
6662
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6666
# Try without a prefix underscore, then with it.
6667
for ac_symprfx in "" "_"; do
6669
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6670
symxfrm="\\1 $ac_symprfx\\2 \\2"
6672
# Write the raw and C identifiers.
6673
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6674
# Fake it for dumpbin and say T for any non-static function
6675
# and D for any global variable.
6676
# Also find C++ and __fastcall symbols from MSVC++,
6677
# which start with @ or ?.
6678
lt_cv_sys_global_symbol_pipe="$AWK '"\
6679
" {last_section=section; section=\$ 3};"\
6680
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6681
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6682
" \$ 0!~/External *\|/{next};"\
6683
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6684
" {if(hide[section]) next};"\
6685
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6686
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6687
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6688
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6689
" ' prfx=^$ac_symprfx"
6691
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6693
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6695
# Check to see that the pipe works correctly.
6699
cat > conftest.$ac_ext <<_LT_EOF
6704
void nm_test_func(void);
6705
void nm_test_func(void){}
6709
int main(){nm_test_var='a';nm_test_func();return(0);}
6712
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6713
(eval $ac_compile) 2>&5
6715
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6716
test $ac_status = 0; }; then
6717
# Now try to grab the symbols.
6719
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6720
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6722
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6723
test $ac_status = 0; } && test -s "$nlist"; then
6724
# Try sorting and uniquifying the output.
6725
if sort "$nlist" | uniq > "$nlist"T; then
6726
mv -f "$nlist"T "$nlist"
6731
# Make sure that we snagged all the symbols we need.
6732
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6733
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6734
cat <<_LT_EOF > conftest.$ac_ext
6735
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6736
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6737
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6738
relocations are performed -- see ld's documentation on pseudo-relocs. */
6739
# define LT_DLSYM_CONST
6740
#elif defined(__osf__)
6741
/* This system does not cope well with relocations in const data. */
6742
# define LT_DLSYM_CONST
6744
# define LT_DLSYM_CONST const
6752
# Now generate the symbol file.
6753
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6755
cat <<_LT_EOF >> conftest.$ac_ext
6757
/* The mapping between symbol names and symbols. */
6758
LT_DLSYM_CONST struct {
6762
lt__PROGRAM__LTX_preloaded_symbols[] =
6764
{ "@PROGRAM@", (void *) 0 },
6766
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6767
cat <<\_LT_EOF >> conftest.$ac_ext
6771
/* This works around a problem in FreeBSD linker */
6772
#ifdef FREEBSD_WORKAROUND
6773
static const void *lt_preloaded_setup() {
6774
return lt__PROGRAM__LTX_preloaded_symbols;
6782
# Now try linking the two files.
6783
mv conftest.$ac_objext conftstm.$ac_objext
6784
lt_globsym_save_LIBS=$LIBS
6785
lt_globsym_save_CFLAGS=$CFLAGS
6786
LIBS="conftstm.$ac_objext"
6787
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6788
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6789
(eval $ac_link) 2>&5
6791
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6792
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6795
LIBS=$lt_globsym_save_LIBS
6796
CFLAGS=$lt_globsym_save_CFLAGS
6798
echo "cannot find nm_test_func in $nlist" >&5
6801
echo "cannot find nm_test_var in $nlist" >&5
6804
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6807
echo "$progname: failed program was:" >&5
6808
cat conftest.$ac_ext >&5
6810
rm -rf conftest* conftst*
6812
# Do not use the global_symbol_pipe unless it works.
6813
if test "$pipe_works" = yes; then
6816
lt_cv_sys_global_symbol_pipe=
6822
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6823
lt_cv_sys_global_symbol_to_cdecl=
6825
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6827
$as_echo "failed" >&6; }
6829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6830
$as_echo "ok" >&6; }
6833
# Response file support.
6834
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6835
nm_file_list_spec='@'
6836
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6837
nm_file_list_spec='@'
6866
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6867
$as_echo_n "checking for sysroot... " >&6; }
6869
# Check whether --with-sysroot was given.
6870
if test "${with_sysroot+set}" = set; then :
6871
withval=$with_sysroot;
6878
case ${with_sysroot} in #(
6880
if test "$GCC" = yes; then
6881
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6885
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6891
$as_echo "${with_sysroot}" >&6; }
6892
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6897
$as_echo "${lt_sysroot:-no}" >&6; }
6903
# Check whether --enable-libtool-lock was given.
6904
if test "${enable_libtool_lock+set}" = set; then :
6905
enableval=$enable_libtool_lock;
6908
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6910
# Some flags need to be propagated to the compiler or linker for good
6914
# Find out which ABI we are using.
6915
echo 'int i;' > conftest.$ac_ext
6916
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6917
(eval $ac_compile) 2>&5
6919
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6920
test $ac_status = 0; }; then
6921
case `/usr/bin/file conftest.$ac_objext` in
6933
# Find out which ABI we are using.
6934
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6935
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6936
(eval $ac_compile) 2>&5
6938
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6939
test $ac_status = 0; }; then
6940
if test "$lt_cv_prog_gnu_ld" = yes; then
6941
case `/usr/bin/file conftest.$ac_objext` in
6943
LD="${LD-ld} -melf32bsmip"
6946
LD="${LD-ld} -melf32bmipn32"
6949
LD="${LD-ld} -melf64bmip"
6953
case `/usr/bin/file conftest.$ac_objext` in
6969
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6970
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6971
# Find out which ABI we are using.
6972
echo 'int i;' > conftest.$ac_ext
6973
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6974
(eval $ac_compile) 2>&5
6976
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6977
test $ac_status = 0; }; then
6978
case `/usr/bin/file conftest.o` in
6981
x86_64-*kfreebsd*-gnu)
6982
LD="${LD-ld} -m elf_i386_fbsd"
6985
LD="${LD-ld} -m elf_i386"
6987
ppc64-*linux*|powerpc64-*linux*)
6988
LD="${LD-ld} -m elf32ppclinux"
6991
LD="${LD-ld} -m elf_s390"
6994
LD="${LD-ld} -m elf32_sparc"
7000
x86_64-*kfreebsd*-gnu)
7001
LD="${LD-ld} -m elf_x86_64_fbsd"
7004
LD="${LD-ld} -m elf_x86_64"
7006
ppc*-*linux*|powerpc*-*linux*)
7007
LD="${LD-ld} -m elf64ppc"
7009
s390*-*linux*|s390*-*tpf*)
7010
LD="${LD-ld} -m elf64_s390"
7013
LD="${LD-ld} -m elf64_sparc"
7023
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
7024
SAVE_CFLAGS="$CFLAGS"
7025
CFLAGS="$CFLAGS -belf"
7026
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7027
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7028
if ${lt_cv_cc_needs_belf+:} false; then :
7029
$as_echo_n "(cached) " >&6
7032
ac_cpp='$CPP $CPPFLAGS'
7033
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7034
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7035
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7037
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7038
/* end confdefs.h. */
7048
if ac_fn_c_try_link "$LINENO"; then :
7049
lt_cv_cc_needs_belf=yes
7051
lt_cv_cc_needs_belf=no
7053
rm -f core conftest.err conftest.$ac_objext \
7054
conftest$ac_exeext conftest.$ac_ext
7056
ac_cpp='$CPP $CPPFLAGS'
7057
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7058
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7059
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7063
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7064
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7065
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7066
CFLAGS="$SAVE_CFLAGS"
7070
# Find out which ABI we are using.
7071
echo 'int i;' > conftest.$ac_ext
7072
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7073
(eval $ac_compile) 2>&5
7075
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7076
test $ac_status = 0; }; then
7077
case `/usr/bin/file conftest.o` in
7079
case $lt_cv_prog_gnu_ld in
7083
LD="${LD-ld} -m elf_x86_64"
7086
LD="${LD-ld} -m elf64_sparc"
7089
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7090
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7095
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7107
need_locks="$enable_libtool_lock"
7109
if test -n "$ac_tool_prefix"; then
7110
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7111
set dummy ${ac_tool_prefix}mt; ac_word=$2
7112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7113
$as_echo_n "checking for $ac_word... " >&6; }
7114
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7115
$as_echo_n "(cached) " >&6
7117
if test -n "$MANIFEST_TOOL"; then
7118
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7120
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7124
test -z "$as_dir" && as_dir=.
7125
for ac_exec_ext in '' $ac_executable_extensions; do
7126
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7127
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7128
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7137
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7138
if test -n "$MANIFEST_TOOL"; then
7139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7140
$as_echo "$MANIFEST_TOOL" >&6; }
7142
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7143
$as_echo "no" >&6; }
7148
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7149
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7150
# Extract the first word of "mt", so it can be a program name with args.
7151
set dummy mt; ac_word=$2
7152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7153
$as_echo_n "checking for $ac_word... " >&6; }
7154
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7155
$as_echo_n "(cached) " >&6
7157
if test -n "$ac_ct_MANIFEST_TOOL"; then
7158
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7160
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7164
test -z "$as_dir" && as_dir=.
7165
for ac_exec_ext in '' $ac_executable_extensions; do
7166
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7167
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7168
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7177
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7178
if test -n "$ac_ct_MANIFEST_TOOL"; then
7179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7180
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7182
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7183
$as_echo "no" >&6; }
7186
if test "x$ac_ct_MANIFEST_TOOL" = x; then
7189
case $cross_compiling:$ac_tool_warned in
7191
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7192
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7193
ac_tool_warned=yes ;;
7195
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7198
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7201
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7203
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7204
if ${lt_cv_path_mainfest_tool+:} false; then :
7205
$as_echo_n "(cached) " >&6
7207
lt_cv_path_mainfest_tool=no
7208
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7209
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7210
cat conftest.err >&5
7211
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7212
lt_cv_path_mainfest_tool=yes
7216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7217
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7218
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7228
rhapsody* | darwin*)
7229
if test -n "$ac_tool_prefix"; then
7230
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7231
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7232
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7233
$as_echo_n "checking for $ac_word... " >&6; }
7234
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7235
$as_echo_n "(cached) " >&6
7237
if test -n "$DSYMUTIL"; then
7238
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7240
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7244
test -z "$as_dir" && as_dir=.
7245
for ac_exec_ext in '' $ac_executable_extensions; do
7246
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7247
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7248
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7257
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7258
if test -n "$DSYMUTIL"; then
7259
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7260
$as_echo "$DSYMUTIL" >&6; }
7262
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7263
$as_echo "no" >&6; }
7268
if test -z "$ac_cv_prog_DSYMUTIL"; then
7269
ac_ct_DSYMUTIL=$DSYMUTIL
7270
# Extract the first word of "dsymutil", so it can be a program name with args.
7271
set dummy dsymutil; ac_word=$2
7272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7273
$as_echo_n "checking for $ac_word... " >&6; }
7274
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7275
$as_echo_n "(cached) " >&6
7277
if test -n "$ac_ct_DSYMUTIL"; then
7278
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7280
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7284
test -z "$as_dir" && as_dir=.
7285
for ac_exec_ext in '' $ac_executable_extensions; do
7286
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7287
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7288
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7297
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7298
if test -n "$ac_ct_DSYMUTIL"; then
7299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7300
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7303
$as_echo "no" >&6; }
7306
if test "x$ac_ct_DSYMUTIL" = x; then
7309
case $cross_compiling:$ac_tool_warned in
7311
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7312
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7313
ac_tool_warned=yes ;;
7315
DSYMUTIL=$ac_ct_DSYMUTIL
7318
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7321
if test -n "$ac_tool_prefix"; then
7322
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7323
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325
$as_echo_n "checking for $ac_word... " >&6; }
7326
if ${ac_cv_prog_NMEDIT+:} false; then :
7327
$as_echo_n "(cached) " >&6
7329
if test -n "$NMEDIT"; then
7330
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7332
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7336
test -z "$as_dir" && as_dir=.
7337
for ac_exec_ext in '' $ac_executable_extensions; do
7338
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7339
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7340
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7349
NMEDIT=$ac_cv_prog_NMEDIT
7350
if test -n "$NMEDIT"; then
7351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7352
$as_echo "$NMEDIT" >&6; }
7354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355
$as_echo "no" >&6; }
7360
if test -z "$ac_cv_prog_NMEDIT"; then
7361
ac_ct_NMEDIT=$NMEDIT
7362
# Extract the first word of "nmedit", so it can be a program name with args.
7363
set dummy nmedit; ac_word=$2
7364
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7365
$as_echo_n "checking for $ac_word... " >&6; }
7366
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7367
$as_echo_n "(cached) " >&6
7369
if test -n "$ac_ct_NMEDIT"; then
7370
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7372
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7376
test -z "$as_dir" && as_dir=.
7377
for ac_exec_ext in '' $ac_executable_extensions; do
7378
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7379
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7380
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7389
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7390
if test -n "$ac_ct_NMEDIT"; then
7391
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7392
$as_echo "$ac_ct_NMEDIT" >&6; }
7394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7395
$as_echo "no" >&6; }
7398
if test "x$ac_ct_NMEDIT" = x; then
7401
case $cross_compiling:$ac_tool_warned in
7403
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7404
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7405
ac_tool_warned=yes ;;
7407
NMEDIT=$ac_ct_NMEDIT
7410
NMEDIT="$ac_cv_prog_NMEDIT"
7413
if test -n "$ac_tool_prefix"; then
7414
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7415
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417
$as_echo_n "checking for $ac_word... " >&6; }
7418
if ${ac_cv_prog_LIPO+:} false; then :
7419
$as_echo_n "(cached) " >&6
7421
if test -n "$LIPO"; then
7422
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7424
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7428
test -z "$as_dir" && as_dir=.
7429
for ac_exec_ext in '' $ac_executable_extensions; do
7430
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7431
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7432
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7441
LIPO=$ac_cv_prog_LIPO
7442
if test -n "$LIPO"; then
7443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7444
$as_echo "$LIPO" >&6; }
7446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7447
$as_echo "no" >&6; }
7452
if test -z "$ac_cv_prog_LIPO"; then
7454
# Extract the first word of "lipo", so it can be a program name with args.
7455
set dummy lipo; ac_word=$2
7456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7457
$as_echo_n "checking for $ac_word... " >&6; }
7458
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7459
$as_echo_n "(cached) " >&6
7461
if test -n "$ac_ct_LIPO"; then
7462
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7464
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7468
test -z "$as_dir" && as_dir=.
7469
for ac_exec_ext in '' $ac_executable_extensions; do
7470
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7471
ac_cv_prog_ac_ct_LIPO="lipo"
7472
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7481
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7482
if test -n "$ac_ct_LIPO"; then
7483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7484
$as_echo "$ac_ct_LIPO" >&6; }
7486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7487
$as_echo "no" >&6; }
7490
if test "x$ac_ct_LIPO" = x; then
7493
case $cross_compiling:$ac_tool_warned in
7495
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7496
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7497
ac_tool_warned=yes ;;
7502
LIPO="$ac_cv_prog_LIPO"
7505
if test -n "$ac_tool_prefix"; then
7506
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7507
set dummy ${ac_tool_prefix}otool; ac_word=$2
7508
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7509
$as_echo_n "checking for $ac_word... " >&6; }
7510
if ${ac_cv_prog_OTOOL+:} false; then :
7511
$as_echo_n "(cached) " >&6
7513
if test -n "$OTOOL"; then
7514
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7516
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7520
test -z "$as_dir" && as_dir=.
7521
for ac_exec_ext in '' $ac_executable_extensions; do
7522
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7523
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7524
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7533
OTOOL=$ac_cv_prog_OTOOL
7534
if test -n "$OTOOL"; then
7535
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7536
$as_echo "$OTOOL" >&6; }
7538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7539
$as_echo "no" >&6; }
7544
if test -z "$ac_cv_prog_OTOOL"; then
7546
# Extract the first word of "otool", so it can be a program name with args.
7547
set dummy otool; ac_word=$2
7548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7549
$as_echo_n "checking for $ac_word... " >&6; }
7550
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7551
$as_echo_n "(cached) " >&6
7553
if test -n "$ac_ct_OTOOL"; then
7554
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7556
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560
test -z "$as_dir" && as_dir=.
7561
for ac_exec_ext in '' $ac_executable_extensions; do
7562
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7563
ac_cv_prog_ac_ct_OTOOL="otool"
7564
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7573
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7574
if test -n "$ac_ct_OTOOL"; then
7575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7576
$as_echo "$ac_ct_OTOOL" >&6; }
7578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7579
$as_echo "no" >&6; }
7582
if test "x$ac_ct_OTOOL" = x; then
7585
case $cross_compiling:$ac_tool_warned in
7587
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7588
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7589
ac_tool_warned=yes ;;
7594
OTOOL="$ac_cv_prog_OTOOL"
7597
if test -n "$ac_tool_prefix"; then
7598
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7599
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7600
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7601
$as_echo_n "checking for $ac_word... " >&6; }
7602
if ${ac_cv_prog_OTOOL64+:} false; then :
7603
$as_echo_n "(cached) " >&6
7605
if test -n "$OTOOL64"; then
7606
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7608
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7612
test -z "$as_dir" && as_dir=.
7613
for ac_exec_ext in '' $ac_executable_extensions; do
7614
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7615
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7616
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7625
OTOOL64=$ac_cv_prog_OTOOL64
7626
if test -n "$OTOOL64"; then
7627
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7628
$as_echo "$OTOOL64" >&6; }
7630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7631
$as_echo "no" >&6; }
7636
if test -z "$ac_cv_prog_OTOOL64"; then
7637
ac_ct_OTOOL64=$OTOOL64
7638
# Extract the first word of "otool64", so it can be a program name with args.
7639
set dummy otool64; ac_word=$2
7640
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7641
$as_echo_n "checking for $ac_word... " >&6; }
7642
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7643
$as_echo_n "(cached) " >&6
7645
if test -n "$ac_ct_OTOOL64"; then
7646
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7648
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7652
test -z "$as_dir" && as_dir=.
7653
for ac_exec_ext in '' $ac_executable_extensions; do
7654
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7655
ac_cv_prog_ac_ct_OTOOL64="otool64"
7656
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7665
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7666
if test -n "$ac_ct_OTOOL64"; then
7667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7668
$as_echo "$ac_ct_OTOOL64" >&6; }
7670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7671
$as_echo "no" >&6; }
7674
if test "x$ac_ct_OTOOL64" = x; then
7677
case $cross_compiling:$ac_tool_warned in
7679
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7680
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7681
ac_tool_warned=yes ;;
7683
OTOOL64=$ac_ct_OTOOL64
7686
OTOOL64="$ac_cv_prog_OTOOL64"
7715
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7716
$as_echo_n "checking for -single_module linker flag... " >&6; }
7717
if ${lt_cv_apple_cc_single_mod+:} false; then :
7718
$as_echo_n "(cached) " >&6
7720
lt_cv_apple_cc_single_mod=no
7721
if test -z "${LT_MULTI_MODULE}"; then
7722
# By default we will add the -single_module flag. You can override
7723
# by either setting the environment variable LT_MULTI_MODULE
7724
# non-empty at configure time, or by adding -multi_module to the
7726
rm -rf libconftest.dylib*
7727
echo "int foo(void){return 1;}" > conftest.c
7728
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7729
-dynamiclib -Wl,-single_module conftest.c" >&5
7730
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7731
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7733
# If there is a non-empty error log, and "single_module"
7734
# appears in it, assume the flag caused a linker warning
7735
if test -s conftest.err && $GREP single_module conftest.err; then
7736
cat conftest.err >&5
7737
# Otherwise, if the output was created with a 0 exit code from
7738
# the compiler, it worked.
7739
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7740
lt_cv_apple_cc_single_mod=yes
7742
cat conftest.err >&5
7744
rm -rf libconftest.dylib*
7748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7749
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7751
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7752
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7753
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7754
$as_echo_n "(cached) " >&6
7756
lt_cv_ld_exported_symbols_list=no
7757
save_LDFLAGS=$LDFLAGS
7758
echo "_main" > conftest.sym
7759
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7760
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7761
/* end confdefs.h. */
7771
if ac_fn_c_try_link "$LINENO"; then :
7772
lt_cv_ld_exported_symbols_list=yes
7774
lt_cv_ld_exported_symbols_list=no
7776
rm -f core conftest.err conftest.$ac_objext \
7777
conftest$ac_exeext conftest.$ac_ext
7778
LDFLAGS="$save_LDFLAGS"
7781
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7782
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7785
$as_echo_n "checking for -force_load linker flag... " >&6; }
7786
if ${lt_cv_ld_force_load+:} false; then :
7787
$as_echo_n "(cached) " >&6
7789
lt_cv_ld_force_load=no
7790
cat > conftest.c << _LT_EOF
7791
int forced_loaded() { return 2;}
7793
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7794
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7795
echo "$AR cru libconftest.a conftest.o" >&5
7796
$AR cru libconftest.a conftest.o 2>&5
7797
echo "$RANLIB libconftest.a" >&5
7798
$RANLIB libconftest.a 2>&5
7799
cat > conftest.c << _LT_EOF
7800
int main() { return 0;}
7802
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7803
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7805
if test -s conftest.err && $GREP force_load conftest.err; then
7806
cat conftest.err >&5
7807
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7808
lt_cv_ld_force_load=yes
7810
cat conftest.err >&5
7812
rm -f conftest.err libconftest.a conftest conftest.c
7813
rm -rf conftest.dSYM
7816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7817
$as_echo "$lt_cv_ld_force_load" >&6; }
7819
rhapsody* | darwin1.[012])
7820
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7822
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7823
darwin*) # darwin 5.x on
7824
# if running on 10.5 or later, the deployment target defaults
7825
# to the OS version, if on x86, and 10.4, the deployment
7826
# target defaults to 10.4. Don't you love it?
7827
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7828
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7829
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7831
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7833
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7837
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7838
_lt_dar_single_mod='$single_module'
7840
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7841
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7843
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7845
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7846
_lt_dsymutil='~$DSYMUTIL $lib || :'
7854
ac_cpp='$CPP $CPPFLAGS'
7855
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7856
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7857
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7859
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7860
# On Suns, sometimes $CPP names a directory.
7861
if test -n "$CPP" && test -d "$CPP"; then
7864
if test -z "$CPP"; then
7865
if ${ac_cv_prog_CPP+:} false; then :
7866
$as_echo_n "(cached) " >&6
7868
# Double quotes because CPP needs to be expanded
7869
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7872
for ac_c_preproc_warn_flag in '' yes
7874
# Use a header file that comes with gcc, so configuring glibc
7875
# with a fresh cross-compiler works.
7876
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7877
# <limits.h> exists even on freestanding compilers.
7878
# On the NeXT, cc -E runs the code through the compiler's parser,
7879
# not just through cpp. "Syntax error" is here to catch this case.
7880
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7881
/* end confdefs.h. */
7883
# include <limits.h>
7885
# include <assert.h>
7889
if ac_fn_c_try_cpp "$LINENO"; then :
7892
# Broken: fails on valid input.
7895
rm -f conftest.err conftest.i conftest.$ac_ext
7897
# OK, works on sane cases. Now check whether nonexistent headers
7898
# can be detected and how.
7899
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7900
/* end confdefs.h. */
7901
#include <ac_nonexistent.h>
7903
if ac_fn_c_try_cpp "$LINENO"; then :
7904
# Broken: success on invalid input.
7907
# Passes both tests.
7911
rm -f conftest.err conftest.i conftest.$ac_ext
7914
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7915
rm -f conftest.i conftest.err conftest.$ac_ext
7916
if $ac_preproc_ok; then :
7928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7929
$as_echo "$CPP" >&6; }
7931
for ac_c_preproc_warn_flag in '' yes
7933
# Use a header file that comes with gcc, so configuring glibc
7934
# with a fresh cross-compiler works.
7935
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7936
# <limits.h> exists even on freestanding compilers.
7937
# On the NeXT, cc -E runs the code through the compiler's parser,
7938
# not just through cpp. "Syntax error" is here to catch this case.
7939
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7940
/* end confdefs.h. */
7942
# include <limits.h>
7944
# include <assert.h>
7948
if ac_fn_c_try_cpp "$LINENO"; then :
7951
# Broken: fails on valid input.
7954
rm -f conftest.err conftest.i conftest.$ac_ext
7956
# OK, works on sane cases. Now check whether nonexistent headers
7957
# can be detected and how.
7958
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7959
/* end confdefs.h. */
7960
#include <ac_nonexistent.h>
7962
if ac_fn_c_try_cpp "$LINENO"; then :
7963
# Broken: success on invalid input.
7966
# Passes both tests.
7970
rm -f conftest.err conftest.i conftest.$ac_ext
7973
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7974
rm -f conftest.i conftest.err conftest.$ac_ext
7975
if $ac_preproc_ok; then :
7978
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7979
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7980
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7981
See \`config.log' for more details" "$LINENO" 5; }
7985
ac_cpp='$CPP $CPPFLAGS'
7986
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7987
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7988
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7992
$as_echo_n "checking for ANSI C header files... " >&6; }
7993
if ${ac_cv_header_stdc+:} false; then :
7994
$as_echo_n "(cached) " >&6
7996
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7997
/* end confdefs.h. */
8011
if ac_fn_c_try_compile "$LINENO"; then :
8012
ac_cv_header_stdc=yes
8014
ac_cv_header_stdc=no
8016
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8018
if test $ac_cv_header_stdc = yes; then
8019
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8020
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8021
/* end confdefs.h. */
8025
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8026
$EGREP "memchr" >/dev/null 2>&1; then :
8029
ac_cv_header_stdc=no
8035
if test $ac_cv_header_stdc = yes; then
8036
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8037
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8038
/* end confdefs.h. */
8042
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8043
$EGREP "free" >/dev/null 2>&1; then :
8046
ac_cv_header_stdc=no
8052
if test $ac_cv_header_stdc = yes; then
8053
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8054
if test "$cross_compiling" = yes; then :
8057
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8058
/* end confdefs.h. */
8061
#if ((' ' & 0x0FF) == 0x020)
8062
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8063
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8065
# define ISLOWER(c) \
8066
(('a' <= (c) && (c) <= 'i') \
8067
|| ('j' <= (c) && (c) <= 'r') \
8068
|| ('s' <= (c) && (c) <= 'z'))
8069
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8072
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8077
for (i = 0; i < 256; i++)
8078
if (XOR (islower (i), ISLOWER (i))
8079
|| toupper (i) != TOUPPER (i))
8084
if ac_fn_c_try_run "$LINENO"; then :
8087
ac_cv_header_stdc=no
8089
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8090
conftest.$ac_objext conftest.beam conftest.$ac_ext
8095
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8096
$as_echo "$ac_cv_header_stdc" >&6; }
8097
if test $ac_cv_header_stdc = yes; then
8099
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8103
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8104
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8105
inttypes.h stdint.h unistd.h
8107
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8108
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8110
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8111
cat >>confdefs.h <<_ACEOF
8112
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8120
for ac_header in dlfcn.h
8122
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8124
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8125
cat >>confdefs.h <<_ACEOF
8126
#define HAVE_DLFCN_H 1
8138
# Check whether --enable-static was given.
8139
if test "${enable_static+set}" = set; then :
8140
enableval=$enable_static; p=${PACKAGE-default}
8142
yes) enable_static=yes ;;
8143
no) enable_static=no ;;
8146
# Look at the argument we got. We use all the common list separators.
8147
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8148
for pkg in $enableval; do
8150
if test "X$pkg" = "X$p"; then
8167
enable_win32_dll=yes
8170
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8171
if test -n "$ac_tool_prefix"; then
8172
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8173
set dummy ${ac_tool_prefix}as; ac_word=$2
8174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8175
$as_echo_n "checking for $ac_word... " >&6; }
8176
if ${ac_cv_prog_AS+:} false; then :
8177
$as_echo_n "(cached) " >&6
8179
if test -n "$AS"; then
8180
ac_cv_prog_AS="$AS" # Let the user override the test.
8182
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8186
test -z "$as_dir" && as_dir=.
8187
for ac_exec_ext in '' $ac_executable_extensions; do
8188
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8189
ac_cv_prog_AS="${ac_tool_prefix}as"
8190
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8200
if test -n "$AS"; then
8201
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8202
$as_echo "$AS" >&6; }
8204
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8205
$as_echo "no" >&6; }
8210
if test -z "$ac_cv_prog_AS"; then
8212
# Extract the first word of "as", so it can be a program name with args.
8213
set dummy as; ac_word=$2
8214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8215
$as_echo_n "checking for $ac_word... " >&6; }
8216
if ${ac_cv_prog_ac_ct_AS+:} false; then :
8217
$as_echo_n "(cached) " >&6
8219
if test -n "$ac_ct_AS"; then
8220
ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8222
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8226
test -z "$as_dir" && as_dir=.
8227
for ac_exec_ext in '' $ac_executable_extensions; do
8228
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8229
ac_cv_prog_ac_ct_AS="as"
8230
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8239
ac_ct_AS=$ac_cv_prog_ac_ct_AS
8240
if test -n "$ac_ct_AS"; then
8241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8242
$as_echo "$ac_ct_AS" >&6; }
8244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8245
$as_echo "no" >&6; }
8248
if test "x$ac_ct_AS" = x; then
8251
case $cross_compiling:$ac_tool_warned in
8253
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8254
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8255
ac_tool_warned=yes ;;
8263
if test -n "$ac_tool_prefix"; then
8264
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8265
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8266
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8267
$as_echo_n "checking for $ac_word... " >&6; }
8268
if ${ac_cv_prog_DLLTOOL+:} false; then :
8269
$as_echo_n "(cached) " >&6
8271
if test -n "$DLLTOOL"; then
8272
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8274
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8278
test -z "$as_dir" && as_dir=.
8279
for ac_exec_ext in '' $ac_executable_extensions; do
8280
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8281
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8282
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8291
DLLTOOL=$ac_cv_prog_DLLTOOL
8292
if test -n "$DLLTOOL"; then
8293
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8294
$as_echo "$DLLTOOL" >&6; }
8296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8297
$as_echo "no" >&6; }
8302
if test -z "$ac_cv_prog_DLLTOOL"; then
8303
ac_ct_DLLTOOL=$DLLTOOL
8304
# Extract the first word of "dlltool", so it can be a program name with args.
8305
set dummy dlltool; ac_word=$2
8306
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8307
$as_echo_n "checking for $ac_word... " >&6; }
8308
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8309
$as_echo_n "(cached) " >&6
8311
if test -n "$ac_ct_DLLTOOL"; then
8312
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8314
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8318
test -z "$as_dir" && as_dir=.
8319
for ac_exec_ext in '' $ac_executable_extensions; do
8320
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8321
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8322
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8331
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8332
if test -n "$ac_ct_DLLTOOL"; then
8333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8334
$as_echo "$ac_ct_DLLTOOL" >&6; }
8336
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8337
$as_echo "no" >&6; }
8340
if test "x$ac_ct_DLLTOOL" = x; then
8343
case $cross_compiling:$ac_tool_warned in
8345
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8346
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8347
ac_tool_warned=yes ;;
8349
DLLTOOL=$ac_ct_DLLTOOL
8352
DLLTOOL="$ac_cv_prog_DLLTOOL"
8355
if test -n "$ac_tool_prefix"; then
8356
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8357
set dummy ${ac_tool_prefix}objdump; ac_word=$2
8358
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8359
$as_echo_n "checking for $ac_word... " >&6; }
8360
if ${ac_cv_prog_OBJDUMP+:} false; then :
8361
$as_echo_n "(cached) " >&6
8363
if test -n "$OBJDUMP"; then
8364
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8366
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8370
test -z "$as_dir" && as_dir=.
8371
for ac_exec_ext in '' $ac_executable_extensions; do
8372
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8373
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8374
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8383
OBJDUMP=$ac_cv_prog_OBJDUMP
8384
if test -n "$OBJDUMP"; then
8385
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8386
$as_echo "$OBJDUMP" >&6; }
8388
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8389
$as_echo "no" >&6; }
8394
if test -z "$ac_cv_prog_OBJDUMP"; then
8395
ac_ct_OBJDUMP=$OBJDUMP
8396
# Extract the first word of "objdump", so it can be a program name with args.
8397
set dummy objdump; ac_word=$2
8398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8399
$as_echo_n "checking for $ac_word... " >&6; }
8400
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8401
$as_echo_n "(cached) " >&6
8403
if test -n "$ac_ct_OBJDUMP"; then
8404
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8406
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8410
test -z "$as_dir" && as_dir=.
8411
for ac_exec_ext in '' $ac_executable_extensions; do
8412
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8413
ac_cv_prog_ac_ct_OBJDUMP="objdump"
8414
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8423
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8424
if test -n "$ac_ct_OBJDUMP"; then
8425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8426
$as_echo "$ac_ct_OBJDUMP" >&6; }
8428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8429
$as_echo "no" >&6; }
8432
if test "x$ac_ct_OBJDUMP" = x; then
8435
case $cross_compiling:$ac_tool_warned in
8437
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8438
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8439
ac_tool_warned=yes ;;
8441
OBJDUMP=$ac_ct_OBJDUMP
8444
OBJDUMP="$ac_cv_prog_OBJDUMP"
8450
test -z "$AS" && AS=as
8456
test -z "$DLLTOOL" && DLLTOOL=dlltool
8462
test -z "$OBJDUMP" && OBJDUMP=objdump
8474
# Check whether --enable-shared was given.
8475
if test "${enable_shared+set}" = set; then :
8476
enableval=$enable_shared; p=${PACKAGE-default}
8478
yes) enable_shared=yes ;;
8479
no) enable_shared=no ;;
8482
# Look at the argument we got. We use all the common list separators.
8483
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8484
for pkg in $enableval; do
8486
if test "X$pkg" = "X$p"; then
8507
# Check whether --with-pic was given.
8508
if test "${with_pic+set}" = set; then :
8509
withval=$with_pic; lt_p=${PACKAGE-default}
8511
yes|no) pic_mode=$withval ;;
8514
# Look at the argument we got. We use all the common list separators.
8515
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8516
for lt_pkg in $withval; do
8518
if test "X$lt_pkg" = "X$lt_p"; then
8530
test -z "$pic_mode" && pic_mode=default
8538
# Check whether --enable-fast-install was given.
8539
if test "${enable_fast_install+set}" = set; then :
8540
enableval=$enable_fast_install; p=${PACKAGE-default}
8542
yes) enable_fast_install=yes ;;
8543
no) enable_fast_install=no ;;
8545
enable_fast_install=no
8546
# Look at the argument we got. We use all the common list separators.
8547
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8548
for pkg in $enableval; do
8550
if test "X$pkg" = "X$p"; then
8551
enable_fast_install=yes
8558
enable_fast_install=yes
8571
# This can be used to rebuild libtool when needed
8572
LIBTOOL_DEPS="$ltmain"
8574
# Always use our own libtool.
8575
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8606
test -z "$LN_S" && LN_S="ln -s"
8621
if test -n "${ZSH_VERSION+set}" ; then
8622
setopt NO_GLOB_SUBST
8625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8626
$as_echo_n "checking for objdir... " >&6; }
8627
if ${lt_cv_objdir+:} false; then :
8628
$as_echo_n "(cached) " >&6
8630
rm -f .libs 2>/dev/null
8631
mkdir .libs 2>/dev/null
8632
if test -d .libs; then
8635
# MS-DOS does not allow filenames that begin with a dot.
8638
rmdir .libs 2>/dev/null
8640
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8641
$as_echo "$lt_cv_objdir" >&6; }
8642
objdir=$lt_cv_objdir
8648
cat >>confdefs.h <<_ACEOF
8649
#define LT_OBJDIR "$lt_cv_objdir/"
8657
# AIX sometimes has problems with the GCC collect2 program. For some
8658
# reason, if we set the COLLECT_NAMES environment variable, the problems
8659
# vanish in a puff of smoke.
8660
if test "X${COLLECT_NAMES+set}" != Xset; then
8662
export COLLECT_NAMES
8669
can_build_shared=yes
8671
# All known linkers require a `.a' archive for static linking (except MSVC,
8672
# which needs '.lib').
8675
with_gnu_ld="$lt_cv_prog_gnu_ld"
8678
old_CFLAGS="$CFLAGS"
8680
# Set sane defaults for various variables
8681
test -z "$CC" && CC=cc
8682
test -z "$LTCC" && LTCC=$CC
8683
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8684
test -z "$LD" && LD=ld
8685
test -z "$ac_objext" && ac_objext=o
8687
for cc_temp in $compiler""; do
8689
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8690
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8695
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8698
# Only perform the check for file, if the check method requires it
8699
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8700
case $deplibs_check_method in
8702
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8704
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8705
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8706
$as_echo_n "(cached) " >&6
8710
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8713
lt_save_MAGIC_CMD="$MAGIC_CMD"
8714
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8715
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8716
for ac_dir in $ac_dummy; do
8718
test -z "$ac_dir" && ac_dir=.
8719
if test -f $ac_dir/${ac_tool_prefix}file; then
8720
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8721
if test -n "$file_magic_test_file"; then
8722
case $deplibs_check_method in
8724
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8725
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8726
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8727
$EGREP "$file_magic_regex" > /dev/null; then
8732
*** Warning: the command libtool uses to detect shared libraries,
8733
*** $file_magic_cmd, produces output that libtool cannot recognize.
8734
*** The result is that libtool may fail to recognize shared libraries
8735
*** as such. This will affect the creation of libtool libraries that
8736
*** depend on shared libraries, but programs linked with such libtool
8737
*** libraries will work regardless of this problem. Nevertheless, you
8738
*** may want to report the problem to your system manager and/or to
8739
*** bug-libtool@gnu.org
8749
MAGIC_CMD="$lt_save_MAGIC_CMD"
8754
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8755
if test -n "$MAGIC_CMD"; then
8756
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8757
$as_echo "$MAGIC_CMD" >&6; }
8759
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8760
$as_echo "no" >&6; }
8767
if test -z "$lt_cv_path_MAGIC_CMD"; then
8768
if test -n "$ac_tool_prefix"; then
8769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8770
$as_echo_n "checking for file... " >&6; }
8771
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8772
$as_echo_n "(cached) " >&6
8776
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8779
lt_save_MAGIC_CMD="$MAGIC_CMD"
8780
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8781
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8782
for ac_dir in $ac_dummy; do
8784
test -z "$ac_dir" && ac_dir=.
8785
if test -f $ac_dir/file; then
8786
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8787
if test -n "$file_magic_test_file"; then
8788
case $deplibs_check_method in
8790
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8791
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8792
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8793
$EGREP "$file_magic_regex" > /dev/null; then
8798
*** Warning: the command libtool uses to detect shared libraries,
8799
*** $file_magic_cmd, produces output that libtool cannot recognize.
8800
*** The result is that libtool may fail to recognize shared libraries
8801
*** as such. This will affect the creation of libtool libraries that
8802
*** depend on shared libraries, but programs linked with such libtool
8803
*** libraries will work regardless of this problem. Nevertheless, you
8804
*** may want to report the problem to your system manager and/or to
8805
*** bug-libtool@gnu.org
8815
MAGIC_CMD="$lt_save_MAGIC_CMD"
8820
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8821
if test -n "$MAGIC_CMD"; then
8822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8823
$as_echo "$MAGIC_CMD" >&6; }
8825
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8826
$as_echo "no" >&6; }
8839
# Use C for the default configuration in the libtool script
8843
ac_cpp='$CPP $CPPFLAGS'
8844
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8845
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8846
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8849
# Source file extension for C test sources.
8852
# Object file extension for compiled C test sources.
8856
# Code to be used in simple compile tests
8857
lt_simple_compile_test_code="int some_variable = 0;"
8859
# Code to be used in simple link tests
8860
lt_simple_link_test_code='int main(){return(0);}'
8868
# If no C compiler was specified, use CC.
8871
# If no C compiler flags were specified, use CFLAGS.
8872
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8874
# Allow CC to be a program name with arguments.
8877
# Save the default compiler, since it gets overwritten when the other
8878
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8879
compiler_DEFAULT=$CC
8881
# save warnings/boilerplate of simple test code
8882
ac_outfile=conftest.$ac_objext
8883
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8884
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8885
_lt_compiler_boilerplate=`cat conftest.err`
8888
ac_outfile=conftest.$ac_objext
8889
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8890
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8891
_lt_linker_boilerplate=`cat conftest.err`
8895
if test -n "$compiler"; then
8897
lt_prog_compiler_no_builtin_flag=
8899
if test "$GCC" = yes; then
8900
case $cc_basename in
8902
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8904
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8908
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8909
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8910
$as_echo_n "(cached) " >&6
8912
lt_cv_prog_compiler_rtti_exceptions=no
8913
ac_outfile=conftest.$ac_objext
8914
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8915
lt_compiler_flag="-fno-rtti -fno-exceptions"
8916
# Insert the option either (1) after the last *FLAGS variable, or
8917
# (2) before a word containing "conftest.", or (3) at the end.
8918
# Note that $ac_compile itself does not contain backslashes and begins
8919
# with a dollar sign (not a hyphen), so the echo should work correctly.
8920
# The option is referenced via a variable to avoid confusing sed.
8921
lt_compile=`echo "$ac_compile" | $SED \
8922
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8923
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8924
-e 's:$: $lt_compiler_flag:'`
8925
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8926
(eval "$lt_compile" 2>conftest.err)
8928
cat conftest.err >&5
8929
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930
if (exit $ac_status) && test -s "$ac_outfile"; then
8931
# The compiler can only warn and ignore the option if not recognized
8932
# So say no if there are warnings other than the usual output.
8933
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8934
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8935
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8936
lt_cv_prog_compiler_rtti_exceptions=yes
8942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8943
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8945
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8946
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8958
lt_prog_compiler_wl=
8959
lt_prog_compiler_pic=
8960
lt_prog_compiler_static=
8963
if test "$GCC" = yes; then
8964
lt_prog_compiler_wl='-Wl,'
8965
lt_prog_compiler_static='-static'
8969
# All AIX code is PIC.
8970
if test "$host_cpu" = ia64; then
8971
# AIX 5 now supports IA64 processor
8972
lt_prog_compiler_static='-Bstatic'
8979
# see comment about AmigaOS4 .so support
8980
lt_prog_compiler_pic='-fPIC'
8983
# FIXME: we need at least 68020 code to build shared libraries, but
8984
# adding the `-m68020' flag to GCC prevents building anything better,
8986
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8991
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8992
# PIC is the default for these OSes.
8995
mingw* | cygwin* | pw32* | os2* | cegcc*)
8996
# This hack is so that the source file can tell whether it is being
8997
# built for inclusion in a dll (and should export symbols for example).
8998
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8999
# (--disable-auto-import) libraries
9000
lt_prog_compiler_pic='-DDLL_EXPORT'
9003
darwin* | rhapsody*)
9004
# PIC is the default on this platform
9005
# Common symbols not allowed in MH_DYLIB files
9006
lt_prog_compiler_pic='-fno-common'
9010
# PIC is the default for Haiku.
9011
# The "-static" flag exists, but is broken.
9012
lt_prog_compiler_static=
9016
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9017
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9018
# sets the default TLS model and affects inlining.
9024
lt_prog_compiler_pic='-fPIC'
9030
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
9031
# Instead, we relocate shared libraries at runtime.
9035
# Just because we use GCC doesn't mean we suddenly get shared libraries
9036
# on systems that don't support them.
9037
lt_prog_compiler_can_build_shared=no
9042
# QNX uses GNU C++, but need to define -shared option too, otherwise
9044
lt_prog_compiler_pic='-fPIC -shared'
9048
if test -d /usr/nec; then
9049
lt_prog_compiler_pic=-Kconform_pic
9054
lt_prog_compiler_pic='-fPIC'
9058
case $cc_basename in
9059
nvcc*) # Cuda Compiler Driver 2.2
9060
lt_prog_compiler_wl='-Xlinker '
9061
if test -n "$lt_prog_compiler_pic"; then
9062
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9067
# PORTME Check for flag to pass linker flags through the system compiler.
9070
lt_prog_compiler_wl='-Wl,'
9071
if test "$host_cpu" = ia64; then
9072
# AIX 5 now supports IA64 processor
9073
lt_prog_compiler_static='-Bstatic'
9075
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9079
mingw* | cygwin* | pw32* | os2* | cegcc*)
9080
# This hack is so that the source file can tell whether it is being
9081
# built for inclusion in a dll (and should export symbols for example).
9082
lt_prog_compiler_pic='-DDLL_EXPORT'
9085
hpux9* | hpux10* | hpux11*)
9086
lt_prog_compiler_wl='-Wl,'
9087
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9094
lt_prog_compiler_pic='+Z'
9097
# Is there a better lt_prog_compiler_static that works with the bundled CC?
9098
lt_prog_compiler_static='${wl}-a ${wl}archive'
9101
irix5* | irix6* | nonstopux*)
9102
lt_prog_compiler_wl='-Wl,'
9103
# PIC (with -KPIC) is the default.
9104
lt_prog_compiler_static='-non_shared'
9107
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9108
case $cc_basename in
9109
# old Intel for x86_64 which still supported -KPIC.
9111
lt_prog_compiler_wl='-Wl,'
9112
lt_prog_compiler_pic='-KPIC'
9113
lt_prog_compiler_static='-static'
9115
# icc used to be incompatible with GCC.
9116
# ICC 10 doesn't accept -KPIC any more.
9118
lt_prog_compiler_wl='-Wl,'
9119
lt_prog_compiler_pic='-fPIC'
9120
lt_prog_compiler_static='-static'
9122
# Lahey Fortran 8.1.
9124
lt_prog_compiler_wl='-Wl,'
9125
lt_prog_compiler_pic='--shared'
9126
lt_prog_compiler_static='--static'
9129
# NAG Fortran compiler
9130
lt_prog_compiler_wl='-Wl,-Wl,,'
9131
lt_prog_compiler_pic='-PIC'
9132
lt_prog_compiler_static='-Bstatic'
9134
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9135
# Portland Group compilers (*not* the Pentium gcc compiler,
9136
# which looks to be a dead project)
9137
lt_prog_compiler_wl='-Wl,'
9138
lt_prog_compiler_pic='-fpic'
9139
lt_prog_compiler_static='-Bstatic'
9142
lt_prog_compiler_wl='-Wl,'
9143
# All Alpha code is PIC.
9144
lt_prog_compiler_static='-non_shared'
9146
xl* | bgxl* | bgf* | mpixl*)
9147
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9148
lt_prog_compiler_wl='-Wl,'
9149
lt_prog_compiler_pic='-qpic'
9150
lt_prog_compiler_static='-qstaticlink'
9153
case `$CC -V 2>&1 | sed 5q` in
9154
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9155
# Sun Fortran 8.3 passes all unrecognized flags to the linker
9156
lt_prog_compiler_pic='-KPIC'
9157
lt_prog_compiler_static='-Bstatic'
9158
lt_prog_compiler_wl=''
9160
*Sun\ F* | *Sun*Fortran*)
9161
lt_prog_compiler_pic='-KPIC'
9162
lt_prog_compiler_static='-Bstatic'
9163
lt_prog_compiler_wl='-Qoption ld '
9167
lt_prog_compiler_pic='-KPIC'
9168
lt_prog_compiler_static='-Bstatic'
9169
lt_prog_compiler_wl='-Wl,'
9171
*Intel*\ [CF]*Compiler*)
9172
lt_prog_compiler_wl='-Wl,'
9173
lt_prog_compiler_pic='-fPIC'
9174
lt_prog_compiler_static='-static'
9177
lt_prog_compiler_wl='-Wl,'
9178
lt_prog_compiler_pic='-fpic'
9179
lt_prog_compiler_static='-Bstatic'
9187
lt_prog_compiler_pic='-KPIC'
9188
lt_prog_compiler_static='-Bstatic'
9192
# QNX uses GNU C++, but need to define -shared option too, otherwise
9194
lt_prog_compiler_pic='-fPIC -shared'
9197
osf3* | osf4* | osf5*)
9198
lt_prog_compiler_wl='-Wl,'
9199
# All OSF/1 code is PIC.
9200
lt_prog_compiler_static='-non_shared'
9204
lt_prog_compiler_static='-non_shared'
9208
lt_prog_compiler_pic='-KPIC'
9209
lt_prog_compiler_static='-Bstatic'
9210
case $cc_basename in
9211
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9212
lt_prog_compiler_wl='-Qoption ld ';;
9214
lt_prog_compiler_wl='-Wl,';;
9219
lt_prog_compiler_wl='-Qoption ld '
9220
lt_prog_compiler_pic='-PIC'
9221
lt_prog_compiler_static='-Bstatic'
9224
sysv4 | sysv4.2uw2* | sysv4.3*)
9225
lt_prog_compiler_wl='-Wl,'
9226
lt_prog_compiler_pic='-KPIC'
9227
lt_prog_compiler_static='-Bstatic'
9231
if test -d /usr/nec ;then
9232
lt_prog_compiler_pic='-Kconform_pic'
9233
lt_prog_compiler_static='-Bstatic'
9237
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9238
lt_prog_compiler_wl='-Wl,'
9239
lt_prog_compiler_pic='-KPIC'
9240
lt_prog_compiler_static='-Bstatic'
9244
lt_prog_compiler_wl='-Wl,'
9245
lt_prog_compiler_can_build_shared=no
9249
lt_prog_compiler_pic='-pic'
9250
lt_prog_compiler_static='-Bstatic'
9254
lt_prog_compiler_can_build_shared=no
9260
# For platforms which do not support PIC, -DPIC is meaningless:
9262
lt_prog_compiler_pic=
9265
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9270
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9271
if ${lt_cv_prog_compiler_pic+:} false; then :
9272
$as_echo_n "(cached) " >&6
9274
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9277
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9278
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9281
# Check to make sure the PIC flag actually works.
9283
if test -n "$lt_prog_compiler_pic"; then
9284
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9285
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9286
if ${lt_cv_prog_compiler_pic_works+:} false; then :
9287
$as_echo_n "(cached) " >&6
9289
lt_cv_prog_compiler_pic_works=no
9290
ac_outfile=conftest.$ac_objext
9291
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9292
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9293
# Insert the option either (1) after the last *FLAGS variable, or
9294
# (2) before a word containing "conftest.", or (3) at the end.
9295
# Note that $ac_compile itself does not contain backslashes and begins
9296
# with a dollar sign (not a hyphen), so the echo should work correctly.
9297
# The option is referenced via a variable to avoid confusing sed.
9298
lt_compile=`echo "$ac_compile" | $SED \
9299
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9300
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9301
-e 's:$: $lt_compiler_flag:'`
9302
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9303
(eval "$lt_compile" 2>conftest.err)
9305
cat conftest.err >&5
9306
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307
if (exit $ac_status) && test -s "$ac_outfile"; then
9308
# The compiler can only warn and ignore the option if not recognized
9309
# So say no if there are warnings other than the usual output.
9310
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9311
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9312
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9313
lt_cv_prog_compiler_pic_works=yes
9319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9320
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9322
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9323
case $lt_prog_compiler_pic in
9325
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9328
lt_prog_compiler_pic=
9329
lt_prog_compiler_can_build_shared=no
9345
# Check to make sure the static flag actually works.
9347
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9348
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9349
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9350
if ${lt_cv_prog_compiler_static_works+:} false; then :
9351
$as_echo_n "(cached) " >&6
9353
lt_cv_prog_compiler_static_works=no
9354
save_LDFLAGS="$LDFLAGS"
9355
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9356
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9357
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9358
# The linker can only warn and ignore the option if not recognized
9359
# So say no if there are warnings
9360
if test -s conftest.err; then
9361
# Append any errors to the config.log.
9362
cat conftest.err 1>&5
9363
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9364
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9365
if diff conftest.exp conftest.er2 >/dev/null; then
9366
lt_cv_prog_compiler_static_works=yes
9369
lt_cv_prog_compiler_static_works=yes
9373
LDFLAGS="$save_LDFLAGS"
9376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9377
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9379
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9382
lt_prog_compiler_static=
9391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9392
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9393
if ${lt_cv_prog_compiler_c_o+:} false; then :
9394
$as_echo_n "(cached) " >&6
9396
lt_cv_prog_compiler_c_o=no
9397
$RM -r conftest 2>/dev/null
9401
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9403
lt_compiler_flag="-o out/conftest2.$ac_objext"
9404
# Insert the option either (1) after the last *FLAGS variable, or
9405
# (2) before a word containing "conftest.", or (3) at the end.
9406
# Note that $ac_compile itself does not contain backslashes and begins
9407
# with a dollar sign (not a hyphen), so the echo should work correctly.
9408
lt_compile=`echo "$ac_compile" | $SED \
9409
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9410
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9411
-e 's:$: $lt_compiler_flag:'`
9412
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9413
(eval "$lt_compile" 2>out/conftest.err)
9415
cat out/conftest.err >&5
9416
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9417
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9419
# The compiler can only warn and ignore the option if not recognized
9420
# So say no if there are warnings
9421
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9422
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9423
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9424
lt_cv_prog_compiler_c_o=yes
9429
# SGI C++ compiler will create directory out/ii_files/ for
9430
# template instantiation
9431
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9432
$RM out/* && rmdir out
9438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9439
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9447
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9448
if ${lt_cv_prog_compiler_c_o+:} false; then :
9449
$as_echo_n "(cached) " >&6
9451
lt_cv_prog_compiler_c_o=no
9452
$RM -r conftest 2>/dev/null
9456
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9458
lt_compiler_flag="-o out/conftest2.$ac_objext"
9459
# Insert the option either (1) after the last *FLAGS variable, or
9460
# (2) before a word containing "conftest.", or (3) at the end.
9461
# Note that $ac_compile itself does not contain backslashes and begins
9462
# with a dollar sign (not a hyphen), so the echo should work correctly.
9463
lt_compile=`echo "$ac_compile" | $SED \
9464
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9465
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9466
-e 's:$: $lt_compiler_flag:'`
9467
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9468
(eval "$lt_compile" 2>out/conftest.err)
9470
cat out/conftest.err >&5
9471
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9472
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9474
# The compiler can only warn and ignore the option if not recognized
9475
# So say no if there are warnings
9476
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9477
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9478
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9479
lt_cv_prog_compiler_c_o=yes
9484
# SGI C++ compiler will create directory out/ii_files/ for
9485
# template instantiation
9486
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9487
$RM out/* && rmdir out
9493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9494
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9499
hard_links="nottested"
9500
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9501
# do not overwrite the value of need_locks provided by the user
9502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9503
$as_echo_n "checking if we can lock with hard links... " >&6; }
9506
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9508
ln conftest.a conftest.b 2>&5 || hard_links=no
9509
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9511
$as_echo "$hard_links" >&6; }
9512
if test "$hard_links" = no; then
9513
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9514
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9526
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9527
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9530
allow_undefined_flag=
9531
always_export_symbols=no
9533
archive_expsym_cmds=
9534
compiler_needs_object=no
9535
enable_shared_with_static_runtimes=no
9536
export_dynamic_flag_spec=
9537
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9538
hardcode_automatic=no
9540
hardcode_direct_absolute=no
9541
hardcode_libdir_flag_spec=
9542
hardcode_libdir_separator=
9544
hardcode_shlibpath_var=unsupported
9546
link_all_deplibs=unknown
9549
old_archive_from_new_cmds=
9550
old_archive_from_expsyms_cmds=
9551
thread_safe_flag_spec=
9552
whole_archive_flag_spec=
9553
# include_expsyms should be a list of space-separated symbols to be *always*
9554
# included in the symbol list
9556
# exclude_expsyms can be an extended regexp of symbols to exclude
9557
# it will be wrapped by ` (' and `)$', so one must not match beginning or
9558
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9559
# as well as any symbol that contains `d'.
9560
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9561
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9562
# platforms (ab)use it in PIC code, but their linkers get confused if
9563
# the symbol is explicitly referenced. Since portable code cannot
9564
# rely on this symbol name, it's probably fine to never include it in
9565
# preloaded symbol tables.
9566
# Exclude shared library initialization/finalization symbols.
9567
extract_expsyms_cmds=
9570
cygwin* | mingw* | pw32* | cegcc*)
9571
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9572
# When not using gcc, we currently assume that we are using
9573
# Microsoft Visual C++.
9574
if test "$GCC" != yes; then
9579
# we just hope/assume this is gcc and not c89 (= MSVC++)
9585
linux* | k*bsd*-gnu | gnu*)
9592
# On some targets, GNU ld is compatible enough with the native linker
9593
# that we're better off using the native interface for both.
9594
lt_use_gnu_ld_interface=no
9595
if test "$with_gnu_ld" = yes; then
9598
# The AIX port of GNU ld has always aspired to compatibility
9599
# with the native linker. However, as the warning in the GNU ld
9600
# block says, versions before 2.19.5* couldn't really create working
9601
# shared libraries, regardless of the interface used.
9602
case `$LD -v 2>&1` in
9603
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9604
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9605
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
9607
lt_use_gnu_ld_interface=yes
9612
lt_use_gnu_ld_interface=yes
9617
if test "$lt_use_gnu_ld_interface" = yes; then
9618
# If archive_cmds runs LD, not CC, wlarc should be empty
9621
# Set some defaults for GNU ld with shared library support. These
9622
# are reset later if shared libraries are not supported. Putting them
9623
# here allows them to be overridden if necessary.
9624
runpath_var=LD_RUN_PATH
9625
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9626
export_dynamic_flag_spec='${wl}--export-dynamic'
9627
# ancient GNU ld didn't support --whole-archive et. al.
9628
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9629
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9631
whole_archive_flag_spec=
9633
supports_anon_versioning=no
9634
case `$LD -v 2>&1` in
9635
*GNU\ gold*) supports_anon_versioning=yes ;;
9636
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9637
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9638
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9639
*\ 2.11.*) ;; # other 2.11 versions
9640
*) supports_anon_versioning=yes ;;
9643
# See if GNU ld supports shared libraries.
9646
# On AIX/PPC, the GNU linker is very broken
9647
if test "$host_cpu" != ia64; then
9651
*** Warning: the GNU linker, at least up to release 2.19, is reported
9652
*** to be unable to reliably create shared libraries on AIX.
9653
*** Therefore, libtool is disabling shared libraries support. If you
9654
*** really care for shared libraries, you may want to install binutils
9655
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9656
*** You will then need to restart the configuration process.
9665
# see comment about AmigaOS4 .so support
9666
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9667
archive_expsym_cmds=''
9670
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9671
hardcode_libdir_flag_spec='-L$libdir'
9672
hardcode_minus_L=yes
9678
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9679
allow_undefined_flag=unsupported
9680
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9681
# support --undefined. This deserves some investigation. FIXME
9682
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9688
cygwin* | mingw* | pw32* | cegcc*)
9689
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9690
# as there is no search path for DLLs.
9691
hardcode_libdir_flag_spec='-L$libdir'
9692
export_dynamic_flag_spec='${wl}--export-all-symbols'
9693
allow_undefined_flag=unsupported
9694
always_export_symbols=no
9695
enable_shared_with_static_runtimes=yes
9696
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9697
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9699
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9700
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9701
# If the export-symbols file already is a .def file (1st line
9702
# is EXPORTS), use it as is; otherwise, prepend...
9703
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9704
cp $export_symbols $output_objdir/$soname.def;
9706
echo EXPORTS > $output_objdir/$soname.def;
9707
cat $export_symbols >> $output_objdir/$soname.def;
9709
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9716
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9717
link_all_deplibs=yes
9722
hardcode_shlibpath_var=no
9723
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9724
export_dynamic_flag_spec='${wl}-E'
9725
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9726
# Instead, shared libraries are loaded at an image base (0x10000000 by
9727
# default) and relocated if they conflict, which is a slow very memory
9728
# consuming and fragmenting process. To avoid this, we pick a random,
9729
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9730
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9731
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9732
archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9735
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9737
if test "$host_os" = linux-dietlibc; then
9738
case $cc_basename in
9739
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9742
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9743
&& test "$tmp_diet" = no
9745
tmp_addflag=' $pic_flag'
9746
tmp_sharedflag='-shared'
9747
case $cc_basename,$host_cpu in
9748
pgcc*) # Portland Group C compiler
9749
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9750
tmp_addflag=' $pic_flag'
9752
pgf77* | pgf90* | pgf95* | pgfortran*)
9753
# Portland Group f77 and f90 compilers
9754
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9755
tmp_addflag=' $pic_flag -Mnomain' ;;
9756
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9757
tmp_addflag=' -i_dynamic' ;;
9758
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9759
tmp_addflag=' -i_dynamic -nofor_main' ;;
9760
ifc* | ifort*) # Intel Fortran compiler
9761
tmp_addflag=' -nofor_main' ;;
9762
lf95*) # Lahey Fortran 8.1
9763
whole_archive_flag_spec=
9764
tmp_sharedflag='--shared' ;;
9765
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9766
tmp_sharedflag='-qmkshrobj'
9768
nvcc*) # Cuda Compiler Driver 2.2
9769
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9770
compiler_needs_object=yes
9773
case `$CC -V 2>&1 | sed 5q` in
9774
*Sun\ C*) # Sun C 5.9
9775
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9776
compiler_needs_object=yes
9777
tmp_sharedflag='-G' ;;
9778
*Sun\ F*) # Sun Fortran 8.3
9779
tmp_sharedflag='-G' ;;
9781
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9783
if test "x$supports_anon_versioning" = xyes; then
9784
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9785
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9786
echo "local: *; };" >> $output_objdir/$libname.ver~
9787
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9790
case $cc_basename in
9791
xlf* | bgf* | bgxlf* | mpixlf*)
9792
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9793
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9794
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9795
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9796
if test "x$supports_anon_versioning" = xyes; then
9797
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9798
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9799
echo "local: *; };" >> $output_objdir/$libname.ver~
9800
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9809
netbsd* | netbsdelf*-gnu)
9810
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9811
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9814
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9815
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9820
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9824
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9825
*** create shared libraries on Solaris systems. Therefore, libtool
9826
*** is disabling shared libraries support. We urge you to upgrade GNU
9827
*** binutils to release 2.9.1 or newer. Another option is to modify
9828
*** your PATH or compiler configuration so that the native linker is
9829
*** used, and then restart.
9832
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9833
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9834
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9840
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9841
case `$LD -v 2>&1` in
9842
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9846
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9847
*** reliably create shared libraries on SCO systems. Therefore, libtool
9848
*** is disabling shared libraries support. We urge you to upgrade GNU
9849
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9850
*** your PATH or compiler configuration so that the native linker is
9851
*** used, and then restart.
9856
# For security reasons, it is highly recommended that you always
9857
# use absolute paths for naming shared libraries, and exclude the
9858
# DT_RUNPATH tag from executables and libraries. But doing so
9859
# requires that you compile everything twice, which is a pain.
9860
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9861
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9862
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9863
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9872
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9875
hardcode_shlibpath_var=no
9879
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9880
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9881
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9888
if test "$ld_shlibs" = no; then
9890
hardcode_libdir_flag_spec=
9891
export_dynamic_flag_spec=
9892
whole_archive_flag_spec=
9895
# PORTME fill in a description of your system's linker (not GNU ld)
9898
allow_undefined_flag=unsupported
9899
always_export_symbols=yes
9900
archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9901
# Note: this linker hardcodes the directories in LIBPATH if there
9902
# are no directories specified by -L.
9903
hardcode_minus_L=yes
9904
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9905
# Neither direct hardcoding nor static linking is supported with a
9907
hardcode_direct=unsupported
9912
if test "$host_cpu" = ia64; then
9913
# On IA64, the linker does run time linking by default, so we don't
9914
# have to do anything special.
9915
aix_use_runtimelinking=no
9916
exp_sym_flag='-Bexport'
9919
# If we're using GNU nm, then we don't want the "-C" option.
9920
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9921
# Also, AIX nm treats weak defined symbols like other global
9922
# defined symbols, whereas GNU nm marks them as "W".
9923
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9924
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9926
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9928
aix_use_runtimelinking=no
9930
# Test if we are trying to use run time linking or normal
9931
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9932
# need to do runtime linking.
9933
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9934
for ld_flag in $LDFLAGS; do
9935
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9936
aix_use_runtimelinking=yes
9943
exp_sym_flag='-bexport'
9944
no_entry_flag='-bnoentry'
9947
# When large executables or shared objects are built, AIX ld can
9948
# have problems creating the table of contents. If linking a library
9949
# or program results in "error TOC overflow" add -mminimal-toc to
9950
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9951
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9955
hardcode_direct_absolute=yes
9956
hardcode_libdir_separator=':'
9957
link_all_deplibs=yes
9958
file_list_spec='${wl}-f,'
9960
if test "$GCC" = yes; then
9961
case $host_os in aix4.[012]|aix4.[012].*)
9962
# We only want to do this on AIX 4.2 and lower, the check
9963
# below for broken collect2 doesn't work under 4.3+
9964
collect2name=`${CC} -print-prog-name=collect2`
9965
if test -f "$collect2name" &&
9966
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9968
# We have reworked collect2
9971
# We have old collect2
9972
hardcode_direct=unsupported
9973
# It fails to find uninstalled libraries when the uninstalled
9974
# path is not listed in the libpath. Setting hardcode_minus_L
9975
# to unsupported forces relinking
9976
hardcode_minus_L=yes
9977
hardcode_libdir_flag_spec='-L$libdir'
9978
hardcode_libdir_separator=
9982
shared_flag='-shared'
9983
if test "$aix_use_runtimelinking" = yes; then
9984
shared_flag="$shared_flag "'${wl}-G'
9989
if test "$host_cpu" = ia64; then
9990
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9991
# chokes on -Wl,-G. The following line is correct:
9994
if test "$aix_use_runtimelinking" = yes; then
9995
shared_flag='${wl}-G'
9997
shared_flag='${wl}-bM:SRE'
10002
export_dynamic_flag_spec='${wl}-bexpall'
10003
# It seems that -bexpall does not export symbols beginning with
10004
# underscore (_), so it is better to generate a list of symbols to export.
10005
always_export_symbols=yes
10006
if test "$aix_use_runtimelinking" = yes; then
10007
# Warning - without using the other runtime loading flags (-brtl),
10008
# -berok will link without error, but may produce a broken library.
10009
allow_undefined_flag='-berok'
10010
# Determine the default libpath from the value encoded in an
10011
# empty executable.
10012
if test "${lt_cv_aix_libpath+set}" = set; then
10013
aix_libpath=$lt_cv_aix_libpath
10015
if ${lt_cv_aix_libpath_+:} false; then :
10016
$as_echo_n "(cached) " >&6
10018
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10019
/* end confdefs.h. */
10029
if ac_fn_c_try_link "$LINENO"; then :
10031
lt_aix_libpath_sed='
10032
/Import File Strings/,/^$/ {
10034
s/^0 *\([^ ]*\) *$/\1/
10038
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10039
# Check for a 64-bit object if we didn't find anything.
10040
if test -z "$lt_cv_aix_libpath_"; then
10041
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10044
rm -f core conftest.err conftest.$ac_objext \
10045
conftest$ac_exeext conftest.$ac_ext
10046
if test -z "$lt_cv_aix_libpath_"; then
10047
lt_cv_aix_libpath_="/usr/lib:/lib"
10052
aix_libpath=$lt_cv_aix_libpath_
10055
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10056
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10058
if test "$host_cpu" = ia64; then
10059
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10060
allow_undefined_flag="-z nodefs"
10061
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10063
# Determine the default libpath from the value encoded in an
10064
# empty executable.
10065
if test "${lt_cv_aix_libpath+set}" = set; then
10066
aix_libpath=$lt_cv_aix_libpath
10068
if ${lt_cv_aix_libpath_+:} false; then :
10069
$as_echo_n "(cached) " >&6
10071
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10072
/* end confdefs.h. */
10082
if ac_fn_c_try_link "$LINENO"; then :
10084
lt_aix_libpath_sed='
10085
/Import File Strings/,/^$/ {
10087
s/^0 *\([^ ]*\) *$/\1/
10091
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10092
# Check for a 64-bit object if we didn't find anything.
10093
if test -z "$lt_cv_aix_libpath_"; then
10094
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10097
rm -f core conftest.err conftest.$ac_objext \
10098
conftest$ac_exeext conftest.$ac_ext
10099
if test -z "$lt_cv_aix_libpath_"; then
10100
lt_cv_aix_libpath_="/usr/lib:/lib"
10105
aix_libpath=$lt_cv_aix_libpath_
10108
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10109
# Warning - without using the other run time loading flags,
10110
# -berok will link without error, but may produce a broken library.
10111
no_undefined_flag=' ${wl}-bernotok'
10112
allow_undefined_flag=' ${wl}-berok'
10113
if test "$with_gnu_ld" = yes; then
10114
# We only use this code for GNU lds that support --whole-archive.
10115
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10117
# Exported symbols can be pulled into shared objects from archives
10118
whole_archive_flag_spec='$convenience'
10120
archive_cmds_need_lc=yes
10121
# This is similar to how AIX traditionally builds its shared libraries.
10122
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10130
# see comment about AmigaOS4 .so support
10131
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10132
archive_expsym_cmds=''
10135
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10136
hardcode_libdir_flag_spec='-L$libdir'
10137
hardcode_minus_L=yes
10143
export_dynamic_flag_spec=-rdynamic
10146
cygwin* | mingw* | pw32* | cegcc*)
10147
# When not using gcc, we currently assume that we are using
10148
# Microsoft Visual C++.
10149
# hardcode_libdir_flag_spec is actually meaningless, as there is
10150
# no search path for DLLs.
10151
case $cc_basename in
10154
hardcode_libdir_flag_spec=' '
10155
allow_undefined_flag=unsupported
10156
always_export_symbols=yes
10158
# Tell ltmain to make .lib files, not .a files.
10160
# Tell ltmain to make .dll files, not .so files.
10162
# FIXME: Setting linknames here is a bad hack.
10163
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10164
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10165
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10167
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10169
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10171
# The linker will not automatically build a static lib if we build a DLL.
10172
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10173
enable_shared_with_static_runtimes=yes
10174
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10175
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10177
old_postinstall_cmds='chmod 644 $oldlib'
10178
postlink_cmds='lt_outputfile="@OUTPUT@"~
10179
lt_tool_outputfile="@TOOL_OUTPUT@"~
10180
case $lt_outputfile in
10183
lt_outputfile="$lt_outputfile.exe"
10184
lt_tool_outputfile="$lt_tool_outputfile.exe"
10187
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10188
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10189
$RM "$lt_outputfile.manifest";
10193
# Assume MSVC wrapper
10194
hardcode_libdir_flag_spec=' '
10195
allow_undefined_flag=unsupported
10196
# Tell ltmain to make .lib files, not .a files.
10198
# Tell ltmain to make .dll files, not .so files.
10200
# FIXME: Setting linknames here is a bad hack.
10201
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10202
# The linker will automatically build a .lib file if we build a DLL.
10203
old_archive_from_new_cmds='true'
10204
# FIXME: Should let the user specify the lib program.
10205
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10206
enable_shared_with_static_runtimes=yes
10211
darwin* | rhapsody*)
10214
archive_cmds_need_lc=no
10216
hardcode_automatic=yes
10217
hardcode_shlibpath_var=unsupported
10218
if test "$lt_cv_ld_force_load" = "yes"; then
10219
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10222
whole_archive_flag_spec=''
10224
link_all_deplibs=yes
10225
allow_undefined_flag="$_lt_dar_allow_undefined"
10226
case $cc_basename in
10227
ifort*) _lt_dar_can_shared=yes ;;
10228
*) _lt_dar_can_shared=$GCC ;;
10230
if test "$_lt_dar_can_shared" = "yes"; then
10231
output_verbose_link_cmd=func_echo_all
10232
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10233
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10234
archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10235
module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10244
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10245
hardcode_libdir_flag_spec='-L$libdir'
10246
hardcode_shlibpath_var=no
10249
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10250
# support. Future versions do this automatically, but an explicit c++rt0.o
10251
# does not break anything, and helps significantly (at the cost of a little
10254
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10255
hardcode_libdir_flag_spec='-R$libdir'
10256
hardcode_direct=yes
10257
hardcode_shlibpath_var=no
10260
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
10262
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10263
hardcode_direct=yes
10264
hardcode_minus_L=yes
10265
hardcode_shlibpath_var=no
10268
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10269
freebsd* | dragonfly*)
10270
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10271
hardcode_libdir_flag_spec='-R$libdir'
10272
hardcode_direct=yes
10273
hardcode_shlibpath_var=no
10277
if test "$GCC" = yes; then
10278
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10280
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10282
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10283
hardcode_libdir_separator=:
10284
hardcode_direct=yes
10286
# hardcode_minus_L: Not really in the search PATH,
10287
# but as the default location of the library.
10288
hardcode_minus_L=yes
10289
export_dynamic_flag_spec='${wl}-E'
10293
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10294
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10296
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10298
if test "$with_gnu_ld" = no; then
10299
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10300
hardcode_libdir_separator=:
10301
hardcode_direct=yes
10302
hardcode_direct_absolute=yes
10303
export_dynamic_flag_spec='${wl}-E'
10304
# hardcode_minus_L: Not really in the search PATH,
10305
# but as the default location of the library.
10306
hardcode_minus_L=yes
10311
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10314
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10317
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10320
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10326
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10329
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10333
# Older versions of the 11.00 compiler do not understand -b yet
10334
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10335
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10336
$as_echo_n "checking if $CC understands -b... " >&6; }
10337
if ${lt_cv_prog_compiler__b+:} false; then :
10338
$as_echo_n "(cached) " >&6
10340
lt_cv_prog_compiler__b=no
10341
save_LDFLAGS="$LDFLAGS"
10342
LDFLAGS="$LDFLAGS -b"
10343
echo "$lt_simple_link_test_code" > conftest.$ac_ext
10344
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10345
# The linker can only warn and ignore the option if not recognized
10346
# So say no if there are warnings
10347
if test -s conftest.err; then
10348
# Append any errors to the config.log.
10349
cat conftest.err 1>&5
10350
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10351
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10352
if diff conftest.exp conftest.er2 >/dev/null; then
10353
lt_cv_prog_compiler__b=yes
10356
lt_cv_prog_compiler__b=yes
10360
LDFLAGS="$save_LDFLAGS"
10363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10364
$as_echo "$lt_cv_prog_compiler__b" >&6; }
10366
if test x"$lt_cv_prog_compiler__b" = xyes; then
10367
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10369
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10375
if test "$with_gnu_ld" = no; then
10376
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10377
hardcode_libdir_separator=:
10382
hardcode_shlibpath_var=no
10385
hardcode_direct=yes
10386
hardcode_direct_absolute=yes
10387
export_dynamic_flag_spec='${wl}-E'
10389
# hardcode_minus_L: Not really in the search PATH,
10390
# but as the default location of the library.
10391
hardcode_minus_L=yes
10397
irix5* | irix6* | nonstopux*)
10398
if test "$GCC" = yes; then
10399
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10400
# Try to use the -exported_symbol ld option, if it does not
10401
# work, assume that -exports_file does not work either and
10402
# implicitly export all symbols.
10403
# This should be the same for all languages, so no per-tag cache variable.
10404
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10405
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10406
if ${lt_cv_irix_exported_symbol+:} false; then :
10407
$as_echo_n "(cached) " >&6
10409
save_LDFLAGS="$LDFLAGS"
10410
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10411
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10412
/* end confdefs.h. */
10413
int foo (void) { return 0; }
10415
if ac_fn_c_try_link "$LINENO"; then :
10416
lt_cv_irix_exported_symbol=yes
10418
lt_cv_irix_exported_symbol=no
10420
rm -f core conftest.err conftest.$ac_objext \
10421
conftest$ac_exeext conftest.$ac_ext
10422
LDFLAGS="$save_LDFLAGS"
10424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10425
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10426
if test "$lt_cv_irix_exported_symbol" = yes; then
10427
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10430
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10431
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10433
archive_cmds_need_lc='no'
10434
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10435
hardcode_libdir_separator=:
10437
link_all_deplibs=yes
10440
netbsd* | netbsdelf*-gnu)
10441
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10442
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10444
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10446
hardcode_libdir_flag_spec='-R$libdir'
10447
hardcode_direct=yes
10448
hardcode_shlibpath_var=no
10452
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10453
hardcode_direct=yes
10454
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10455
hardcode_libdir_separator=:
10456
hardcode_shlibpath_var=no
10463
if test -f /usr/libexec/ld.so; then
10464
hardcode_direct=yes
10465
hardcode_shlibpath_var=no
10466
hardcode_direct_absolute=yes
10467
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10468
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10469
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10470
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10471
export_dynamic_flag_spec='${wl}-E'
10474
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10475
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10476
hardcode_libdir_flag_spec='-R$libdir'
10479
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10480
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10490
hardcode_libdir_flag_spec='-L$libdir'
10491
hardcode_minus_L=yes
10492
allow_undefined_flag=unsupported
10493
archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10494
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10498
if test "$GCC" = yes; then
10499
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10500
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10502
allow_undefined_flag=' -expect_unresolved \*'
10503
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10505
archive_cmds_need_lc='no'
10506
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10507
hardcode_libdir_separator=:
10510
osf4* | osf5*) # as osf3* with the addition of -msym flag
10511
if test "$GCC" = yes; then
10512
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10513
archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10514
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10516
allow_undefined_flag=' -expect_unresolved \*'
10517
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10518
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10519
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10521
# Both c and cxx compiler support -rpath directly
10522
hardcode_libdir_flag_spec='-rpath $libdir'
10524
archive_cmds_need_lc='no'
10525
hardcode_libdir_separator=:
10529
no_undefined_flag=' -z defs'
10530
if test "$GCC" = yes; then
10532
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10533
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10534
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10536
case `$CC -V 2>&1` in
10539
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10540
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10541
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10545
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10546
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10547
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10551
hardcode_libdir_flag_spec='-R$libdir'
10552
hardcode_shlibpath_var=no
10554
solaris2.[0-5] | solaris2.[0-5].*) ;;
10556
# The compiler driver will combine and reorder linker options,
10557
# but understands `-z linker_flag'. GCC discards it without `$wl',
10558
# but is careful enough not to reorder.
10559
# Supported since Solaris 2.6 (maybe 2.5.1?)
10560
if test "$GCC" = yes; then
10561
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10563
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10567
link_all_deplibs=yes
10571
if test "x$host_vendor" = xsequent; then
10572
# Use $CC to link under sequent, because it throws in some extra .o
10573
# files that make .init and .fini sections work.
10574
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10576
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10578
hardcode_libdir_flag_spec='-L$libdir'
10579
hardcode_direct=yes
10580
hardcode_minus_L=yes
10581
hardcode_shlibpath_var=no
10585
case $host_vendor in
10587
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10588
hardcode_direct=yes # is this really true???
10591
## LD is ld it makes a PLAMLIB
10592
## CC just makes a GrossModule.
10593
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10594
reload_cmds='$CC -r -o $output$reload_objs'
10598
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10599
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10602
runpath_var='LD_RUN_PATH'
10603
hardcode_shlibpath_var=no
10607
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10608
hardcode_shlibpath_var=no
10609
export_dynamic_flag_spec='-Bexport'
10613
if test -d /usr/nec; then
10614
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10615
hardcode_shlibpath_var=no
10616
runpath_var=LD_RUN_PATH
10617
hardcode_runpath_var=yes
10622
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10623
no_undefined_flag='${wl}-z,text'
10624
archive_cmds_need_lc=no
10625
hardcode_shlibpath_var=no
10626
runpath_var='LD_RUN_PATH'
10628
if test "$GCC" = yes; then
10629
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10630
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10632
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10633
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10637
sysv5* | sco3.2v5* | sco5v6*)
10638
# Note: We can NOT use -z defs as we might desire, because we do not
10639
# link with -lc, and that would cause any symbols used from libc to
10640
# always be unresolved, which means just about no library would
10641
# ever link correctly. If we're not using GNU ld we use -z text
10642
# though, which does catch some bad symbols but isn't as heavy-handed
10644
no_undefined_flag='${wl}-z,text'
10645
allow_undefined_flag='${wl}-z,nodefs'
10646
archive_cmds_need_lc=no
10647
hardcode_shlibpath_var=no
10648
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10649
hardcode_libdir_separator=':'
10650
link_all_deplibs=yes
10651
export_dynamic_flag_spec='${wl}-Bexport'
10652
runpath_var='LD_RUN_PATH'
10654
if test "$GCC" = yes; then
10655
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10656
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10658
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10659
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10664
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10665
hardcode_libdir_flag_spec='-L$libdir'
10666
hardcode_shlibpath_var=no
10674
if test x$host_vendor = xsni; then
10676
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10677
export_dynamic_flag_spec='${wl}-Blargedynsym'
10683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10684
$as_echo "$ld_shlibs" >&6; }
10685
test "$ld_shlibs" = no && can_build_shared=no
10687
with_gnu_ld=$with_gnu_ld
10704
# Do we need to explicitly link libc?
10706
case "x$archive_cmds_need_lc" in
10708
# Assume -lc should be added
10709
archive_cmds_need_lc=yes
10711
if test "$enable_shared" = yes && test "$GCC" = yes; then
10712
case $archive_cmds in
10714
# FIXME: we may have to deal with multi-command sequences.
10717
# Test whether the compiler implicitly links with -lc since on some
10718
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10719
# to ld, don't add -lc before -lgcc.
10720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10721
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10722
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10723
$as_echo_n "(cached) " >&6
10726
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10728
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10729
(eval $ac_compile) 2>&5
10731
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10732
test $ac_status = 0; } 2>conftest.err; then
10735
libobjs=conftest.$ac_objext
10737
wl=$lt_prog_compiler_wl
10738
pic_flag=$lt_prog_compiler_pic
10744
lt_save_allow_undefined_flag=$allow_undefined_flag
10745
allow_undefined_flag=
10746
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10747
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10749
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10750
test $ac_status = 0; }
10752
lt_cv_archive_cmds_need_lc=no
10754
lt_cv_archive_cmds_need_lc=yes
10756
allow_undefined_flag=$lt_save_allow_undefined_flag
10758
cat conftest.err 1>&5
10763
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10764
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10765
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10924
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10926
if test "$GCC" = yes; then
10928
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10929
*) lt_awk_arg="/^libraries:/" ;;
10932
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10933
*) lt_sed_strip_eq="s,=/,/,g" ;;
10935
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10936
case $lt_search_path_spec in
10938
# if the path contains ";" then we assume it to be the separator
10939
# otherwise default to the standard path separator (i.e. ":") - it is
10940
# assumed that no part of a normal pathname contains ";" but that should
10941
# okay in the real world where ";" in dirpaths is itself problematic.
10942
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10945
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10948
# Ok, now we have the path, separated by spaces, we can step through it
10949
# and add multilib dir if necessary.
10950
lt_tmp_lt_search_path_spec=
10951
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10952
for lt_sys_path in $lt_search_path_spec; do
10953
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10954
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10956
test -d "$lt_sys_path" && \
10957
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10960
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10961
BEGIN {RS=" "; FS="/|\n";} {
10964
for (lt_i = NF; lt_i > 0; lt_i--) {
10965
if ($lt_i != "" && $lt_i != ".") {
10966
if ($lt_i == "..") {
10969
if (lt_count == 0) {
10970
lt_foo="/" $lt_i lt_foo;
10977
if (lt_foo != "") { lt_freq[lt_foo]++; }
10978
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10980
# AWK program above erroneously prepends '/' to C:/dos/paths
10983
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10984
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
10986
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10988
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10990
library_names_spec=
10991
libname_spec='lib$name'
10995
postuninstall_cmds=
10999
shlibpath_overrides_runpath=unknown
11001
dynamic_linker="$host_os ld.so"
11002
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11003
need_lib_prefix=unknown
11004
hardcode_into_libs=no
11006
# when you set need_version to no, make sure it does not cause -set_version
11007
# flags to be left without arguments
11008
need_version=unknown
11012
version_type=linux # correct to gnu/linux during the next big refactor
11013
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11014
shlibpath_var=LIBPATH
11016
# AIX 3 has no versioning support, so we append a major version to the name.
11017
soname_spec='${libname}${release}${shared_ext}$major'
11021
version_type=linux # correct to gnu/linux during the next big refactor
11024
hardcode_into_libs=yes
11025
if test "$host_cpu" = ia64; then
11026
# AIX 5 supports IA64
11027
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11028
shlibpath_var=LD_LIBRARY_PATH
11030
# With GCC up to 2.95.x, collect2 would create an import file
11031
# for dependence libraries. The import file would start with
11032
# the line `#! .'. This would cause the generated library to
11033
# depend on `.', always an invalid library. This was fixed in
11034
# development snapshots of GCC prior to 3.0.
11036
aix4 | aix4.[01] | aix4.[01].*)
11037
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11039
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11042
can_build_shared=no
11046
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11047
# soname into executable. Probably we can add versioning support to
11048
# collect2, so additional links can be useful in future.
11049
if test "$aix_use_runtimelinking" = yes; then
11050
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
11051
# instead of lib<name>.a to let people know that these are not
11052
# typical AIX shared libraries.
11053
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11055
# We preserve .a as extension for shared libraries through AIX4.2
11056
# and later when we are not doing run time linking.
11057
library_names_spec='${libname}${release}.a $libname.a'
11058
soname_spec='${libname}${release}${shared_ext}$major'
11060
shlibpath_var=LIBPATH
11067
# Since July 2007 AmigaOS4 officially supports .so libraries.
11068
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11069
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11072
library_names_spec='$libname.ixlibrary $libname.a'
11073
# Create ${libname}_ixlibrary.a entries in /sys/libs.
11074
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11080
library_names_spec='${libname}${shared_ext}'
11081
dynamic_linker="$host_os ld.so"
11082
shlibpath_var=LIBRARY_PATH
11086
version_type=linux # correct to gnu/linux during the next big refactor
11088
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11089
soname_spec='${libname}${release}${shared_ext}$major'
11090
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11091
shlibpath_var=LD_LIBRARY_PATH
11092
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11093
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11094
# the default ld.so.conf also contains /usr/contrib/lib and
11095
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11096
# libtool to hard-code these into programs
11099
cygwin* | mingw* | pw32* | cegcc*)
11100
version_type=windows
11105
case $GCC,$cc_basename in
11108
library_names_spec='$libname.dll.a'
11109
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11110
postinstall_cmds='base_file=`basename \${file}`~
11111
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11112
dldir=$destdir/`dirname \$dlpath`~
11113
test -d \$dldir || mkdir -p \$dldir~
11114
$install_prog $dir/$dlname \$dldir/$dlname~
11115
chmod a+x \$dldir/$dlname~
11116
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11117
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11119
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11120
dlpath=$dir/\$dldll~
11122
shlibpath_overrides_runpath=yes
11126
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
11127
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11129
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11132
# MinGW DLLs use traditional 'lib' prefix
11133
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11136
# pw32 DLLs use 'pw' prefix rather than 'lib'
11137
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11140
dynamic_linker='Win32 ld.exe'
11145
libname_spec='$name'
11146
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11147
library_names_spec='${libname}.dll.lib'
11151
sys_lib_search_path_spec=
11154
for lt_path in $LIB
11157
# Let DOS variable expansion print the short 8.3 style file name.
11158
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11159
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11162
# Convert to MSYS style.
11163
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11166
# Convert to unix form, then to dos form, then back to unix form
11167
# but this time dos style (no spaces!) so that the unix form looks
11168
# like /cygdrive/c/PROGRA~1:/cygdr...
11169
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11170
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11171
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11174
sys_lib_search_path_spec="$LIB"
11175
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11176
# It is most probably a Windows format PATH.
11177
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11179
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11181
# FIXME: find the short name or the path components, as spaces are
11182
# common. (e.g. "Program Files" -> "PROGRA~1")
11186
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11187
postinstall_cmds='base_file=`basename \${file}`~
11188
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11189
dldir=$destdir/`dirname \$dlpath`~
11190
test -d \$dldir || mkdir -p \$dldir~
11191
$install_prog $dir/$dlname \$dldir/$dlname'
11192
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11193
dlpath=$dir/\$dldll~
11195
shlibpath_overrides_runpath=yes
11196
dynamic_linker='Win32 link.exe'
11200
# Assume MSVC wrapper
11201
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11202
dynamic_linker='Win32 ld.exe'
11205
# FIXME: first we should search . and the directory the executable is in
11209
darwin* | rhapsody*)
11210
dynamic_linker="$host_os dyld"
11211
version_type=darwin
11214
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11215
soname_spec='${libname}${release}${major}$shared_ext'
11216
shlibpath_overrides_runpath=yes
11217
shlibpath_var=DYLD_LIBRARY_PATH
11218
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11220
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11221
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11225
version_type=linux # correct to gnu/linux during the next big refactor
11228
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11229
soname_spec='${libname}${release}${shared_ext}$major'
11230
shlibpath_var=LD_LIBRARY_PATH
11233
freebsd* | dragonfly*)
11234
# DragonFly does not have aout. When/if they implement a new
11235
# versioning mechanism, adjust this.
11236
if test -x /usr/bin/objformat; then
11237
objformat=`/usr/bin/objformat`
11240
freebsd[23].*) objformat=aout ;;
11241
*) objformat=elf ;;
11244
version_type=freebsd-$objformat
11245
case $version_type in
11247
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11252
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11256
shlibpath_var=LD_LIBRARY_PATH
11259
shlibpath_overrides_runpath=yes
11261
freebsd3.[01]* | freebsdelf3.[01]*)
11262
shlibpath_overrides_runpath=yes
11263
hardcode_into_libs=yes
11265
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11266
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11267
shlibpath_overrides_runpath=no
11268
hardcode_into_libs=yes
11270
*) # from 4.6 on, and DragonFly
11271
shlibpath_overrides_runpath=yes
11272
hardcode_into_libs=yes
11278
version_type=linux # correct to gnu/linux during the next big refactor
11281
dynamic_linker="$host_os runtime_loader"
11282
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11283
soname_spec='${libname}${release}${shared_ext}$major'
11284
shlibpath_var=LIBRARY_PATH
11285
shlibpath_overrides_runpath=yes
11286
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11287
hardcode_into_libs=yes
11290
hpux9* | hpux10* | hpux11*)
11291
# Give a soname corresponding to the major version so that dld.sl refuses to
11292
# link against other versions.
11299
hardcode_into_libs=yes
11300
dynamic_linker="$host_os dld.so"
11301
shlibpath_var=LD_LIBRARY_PATH
11302
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11303
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11304
soname_spec='${libname}${release}${shared_ext}$major'
11305
if test "X$HPUX_IA64_MODE" = X32; then
11306
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11308
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11310
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11314
hardcode_into_libs=yes
11315
dynamic_linker="$host_os dld.sl"
11316
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11317
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11318
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11319
soname_spec='${libname}${release}${shared_ext}$major'
11320
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11321
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11325
dynamic_linker="$host_os dld.sl"
11326
shlibpath_var=SHLIB_PATH
11327
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11328
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11329
soname_spec='${libname}${release}${shared_ext}$major'
11332
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11333
postinstall_cmds='chmod 555 $lib'
11334
# or fails outright, so override atomically:
11335
install_override_mode=555
11339
version_type=linux # correct to gnu/linux during the next big refactor
11342
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11343
soname_spec='${libname}${release}${shared_ext}$major'
11344
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11345
shlibpath_var=LD_LIBRARY_PATH
11346
shlibpath_overrides_runpath=no
11347
hardcode_into_libs=yes
11350
irix5* | irix6* | nonstopux*)
11352
nonstopux*) version_type=nonstopux ;;
11354
if test "$lt_cv_prog_gnu_ld" = yes; then
11355
version_type=linux # correct to gnu/linux during the next big refactor
11362
soname_spec='${libname}${release}${shared_ext}$major'
11363
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11365
irix5* | nonstopux*)
11366
libsuff= shlibsuff=
11369
case $LD in # libtool.m4 will add one of these switches to LD
11370
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11371
libsuff= shlibsuff= libmagic=32-bit;;
11372
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11373
libsuff=32 shlibsuff=N32 libmagic=N32;;
11374
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11375
libsuff=64 shlibsuff=64 libmagic=64-bit;;
11376
*) libsuff= shlibsuff= libmagic=never-match;;
11380
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11381
shlibpath_overrides_runpath=no
11382
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11383
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11384
hardcode_into_libs=yes
11387
# No shared lib support for Linux oldld, aout, or coff.
11388
linux*oldld* | linux*aout* | linux*coff*)
11392
# This must be glibc/ELF.
11393
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11394
version_type=linux # correct to gnu/linux during the next big refactor
11397
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11398
soname_spec='${libname}${release}${shared_ext}$major'
11399
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11400
shlibpath_var=LD_LIBRARY_PATH
11401
shlibpath_overrides_runpath=no
11403
# Some binutils ld are patched to set DT_RUNPATH
11404
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11405
$as_echo_n "(cached) " >&6
11407
lt_cv_shlibpath_overrides_runpath=no
11408
save_LDFLAGS=$LDFLAGS
11409
save_libdir=$libdir
11410
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11411
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11412
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413
/* end confdefs.h. */
11423
if ac_fn_c_try_link "$LINENO"; then :
11424
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11425
lt_cv_shlibpath_overrides_runpath=yes
11428
rm -f core conftest.err conftest.$ac_objext \
11429
conftest$ac_exeext conftest.$ac_ext
11430
LDFLAGS=$save_LDFLAGS
11431
libdir=$save_libdir
11435
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11437
# This implies no fast_install, which is unacceptable.
11438
# Some rework will be needed to allow for fast_install
11439
# before this can be enabled.
11440
hardcode_into_libs=yes
11442
# Append ld.so.conf contents to the search path
11443
if test -f /etc/ld.so.conf; then
11444
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11445
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11448
# We used to test for /lib/ld.so.1 and disable shared libraries on
11449
# powerpc, because MkLinux only supported shared libraries with the
11450
# GNU dynamic linker. Since this was broken with cross compilers,
11451
# most powerpc-linux boxes support dynamic linking these days and
11452
# people can always --disable-shared, the test was removed, and we
11453
# assume the GNU/Linux dynamic linker is in use.
11454
dynamic_linker='GNU/Linux ld.so'
11461
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11462
soname_spec='${libname}${release}${shared_ext}$major'
11463
shlibpath_var=LD_LIBRARY_PATH
11464
shlibpath_overrides_runpath=no
11465
hardcode_into_libs=yes
11466
dynamic_linker='NetBSD ld.elf_so'
11473
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11474
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11475
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11476
dynamic_linker='NetBSD (a.out) ld.so'
11478
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11479
soname_spec='${libname}${release}${shared_ext}$major'
11480
dynamic_linker='NetBSD ld.elf_so'
11482
shlibpath_var=LD_LIBRARY_PATH
11483
shlibpath_overrides_runpath=yes
11484
hardcode_into_libs=yes
11488
version_type=linux # correct to gnu/linux during the next big refactor
11489
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11490
shlibpath_var=LD_LIBRARY_PATH
11491
shlibpath_overrides_runpath=yes
11498
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11499
soname_spec='${libname}${release}${shared_ext}$major'
11500
shlibpath_var=LD_LIBRARY_PATH
11501
shlibpath_overrides_runpath=no
11502
hardcode_into_libs=yes
11503
dynamic_linker='ldqnx.so'
11508
sys_lib_dlsearch_path_spec="/usr/lib"
11510
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11512
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11513
*) need_version=no ;;
11515
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11516
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11517
shlibpath_var=LD_LIBRARY_PATH
11518
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11520
openbsd2.[89] | openbsd2.[89].*)
11521
shlibpath_overrides_runpath=no
11524
shlibpath_overrides_runpath=yes
11528
shlibpath_overrides_runpath=yes
11533
libname_spec='$name'
11536
library_names_spec='$libname${shared_ext} $libname.a'
11537
dynamic_linker='OS/2 ld.exe'
11538
shlibpath_var=LIBPATH
11541
osf3* | osf4* | osf5*)
11545
soname_spec='${libname}${release}${shared_ext}$major'
11546
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11547
shlibpath_var=LD_LIBRARY_PATH
11548
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11549
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11557
version_type=linux # correct to gnu/linux during the next big refactor
11560
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11561
soname_spec='${libname}${release}${shared_ext}$major'
11562
shlibpath_var=LD_LIBRARY_PATH
11563
shlibpath_overrides_runpath=yes
11564
hardcode_into_libs=yes
11565
# ldd complains unless libraries are executable
11566
postinstall_cmds='chmod +x $lib'
11571
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11572
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11573
shlibpath_var=LD_LIBRARY_PATH
11574
shlibpath_overrides_runpath=yes
11575
if test "$with_gnu_ld" = yes; then
11582
version_type=linux # correct to gnu/linux during the next big refactor
11583
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11584
soname_spec='${libname}${release}${shared_ext}$major'
11585
shlibpath_var=LD_LIBRARY_PATH
11586
case $host_vendor in
11588
shlibpath_overrides_runpath=no
11590
runpath_var=LD_RUN_PATH
11598
shlibpath_overrides_runpath=no
11599
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11605
if test -d /usr/nec ;then
11606
version_type=linux # correct to gnu/linux during the next big refactor
11607
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11608
soname_spec='$libname${shared_ext}.$major'
11609
shlibpath_var=LD_LIBRARY_PATH
11613
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11614
version_type=freebsd-elf
11617
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11618
soname_spec='${libname}${release}${shared_ext}$major'
11619
shlibpath_var=LD_LIBRARY_PATH
11620
shlibpath_overrides_runpath=yes
11621
hardcode_into_libs=yes
11622
if test "$with_gnu_ld" = yes; then
11623
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11625
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11628
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11632
sys_lib_dlsearch_path_spec='/usr/lib'
11636
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11637
version_type=linux # correct to gnu/linux during the next big refactor
11640
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11641
shlibpath_var=LD_LIBRARY_PATH
11642
shlibpath_overrides_runpath=no
11643
hardcode_into_libs=yes
11647
version_type=linux # correct to gnu/linux during the next big refactor
11648
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11649
soname_spec='${libname}${release}${shared_ext}$major'
11650
shlibpath_var=LD_LIBRARY_PATH
11657
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11658
$as_echo "$dynamic_linker" >&6; }
11659
test "$dynamic_linker" = no && can_build_shared=no
11661
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11662
if test "$GCC" = yes; then
11663
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11666
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11667
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11669
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11670
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11764
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11765
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11767
if test -n "$hardcode_libdir_flag_spec" ||
11768
test -n "$runpath_var" ||
11769
test "X$hardcode_automatic" = "Xyes" ; then
11771
# We can hardcode non-existent directories.
11772
if test "$hardcode_direct" != no &&
11773
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11774
# have to relink, otherwise we might link with an installed library
11775
# when we should be linking with a yet-to-be-installed one
11776
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11777
test "$hardcode_minus_L" != no; then
11778
# Linking always hardcodes the temporary library directory.
11779
hardcode_action=relink
11781
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11782
hardcode_action=immediate
11785
# We cannot hardcode anything, or else we can only hardcode existing
11787
hardcode_action=unsupported
11789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11790
$as_echo "$hardcode_action" >&6; }
11792
if test "$hardcode_action" = relink ||
11793
test "$inherit_rpath" = yes; then
11794
# Fast installation is not supported
11795
enable_fast_install=no
11796
elif test "$shlibpath_overrides_runpath" = yes ||
11797
test "$enable_shared" = no; then
11798
# Fast installation is not necessary
11799
enable_fast_install=needless
11807
if test "x$enable_dlopen" != xyes; then
11808
enable_dlopen=unknown
11809
enable_dlopen_self=unknown
11810
enable_dlopen_self_static=unknown
11817
lt_cv_dlopen="load_add_on"
11819
lt_cv_dlopen_self=yes
11822
mingw* | pw32* | cegcc*)
11823
lt_cv_dlopen="LoadLibrary"
11828
lt_cv_dlopen="dlopen"
11833
# if libdl is installed we need to link against it
11834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11835
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11836
if ${ac_cv_lib_dl_dlopen+:} false; then :
11837
$as_echo_n "(cached) " >&6
11839
ac_check_lib_save_LIBS=$LIBS
11841
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11842
/* end confdefs.h. */
11844
/* Override any GCC internal prototype to avoid an error.
11845
Use char because int might match the return type of a GCC
11846
builtin and then its argument prototype would still apply. */
11859
if ac_fn_c_try_link "$LINENO"; then :
11860
ac_cv_lib_dl_dlopen=yes
11862
ac_cv_lib_dl_dlopen=no
11864
rm -f core conftest.err conftest.$ac_objext \
11865
conftest$ac_exeext conftest.$ac_ext
11866
LIBS=$ac_check_lib_save_LIBS
11868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11869
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11870
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11871
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11874
lt_cv_dlopen="dyld"
11876
lt_cv_dlopen_self=yes
11883
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11884
if test "x$ac_cv_func_shl_load" = xyes; then :
11885
lt_cv_dlopen="shl_load"
11887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11888
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11889
if ${ac_cv_lib_dld_shl_load+:} false; then :
11890
$as_echo_n "(cached) " >&6
11892
ac_check_lib_save_LIBS=$LIBS
11894
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11895
/* end confdefs.h. */
11897
/* Override any GCC internal prototype to avoid an error.
11898
Use char because int might match the return type of a GCC
11899
builtin and then its argument prototype would still apply. */
11907
return shl_load ();
11912
if ac_fn_c_try_link "$LINENO"; then :
11913
ac_cv_lib_dld_shl_load=yes
11915
ac_cv_lib_dld_shl_load=no
11917
rm -f core conftest.err conftest.$ac_objext \
11918
conftest$ac_exeext conftest.$ac_ext
11919
LIBS=$ac_check_lib_save_LIBS
11921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11922
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11923
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11924
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11926
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11927
if test "x$ac_cv_func_dlopen" = xyes; then :
11928
lt_cv_dlopen="dlopen"
11930
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11931
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11932
if ${ac_cv_lib_dl_dlopen+:} false; then :
11933
$as_echo_n "(cached) " >&6
11935
ac_check_lib_save_LIBS=$LIBS
11937
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11938
/* end confdefs.h. */
11940
/* Override any GCC internal prototype to avoid an error.
11941
Use char because int might match the return type of a GCC
11942
builtin and then its argument prototype would still apply. */
11955
if ac_fn_c_try_link "$LINENO"; then :
11956
ac_cv_lib_dl_dlopen=yes
11958
ac_cv_lib_dl_dlopen=no
11960
rm -f core conftest.err conftest.$ac_objext \
11961
conftest$ac_exeext conftest.$ac_ext
11962
LIBS=$ac_check_lib_save_LIBS
11964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11965
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11966
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11967
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11970
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11971
if ${ac_cv_lib_svld_dlopen+:} false; then :
11972
$as_echo_n "(cached) " >&6
11974
ac_check_lib_save_LIBS=$LIBS
11975
LIBS="-lsvld $LIBS"
11976
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11977
/* end confdefs.h. */
11979
/* Override any GCC internal prototype to avoid an error.
11980
Use char because int might match the return type of a GCC
11981
builtin and then its argument prototype would still apply. */
11994
if ac_fn_c_try_link "$LINENO"; then :
11995
ac_cv_lib_svld_dlopen=yes
11997
ac_cv_lib_svld_dlopen=no
11999
rm -f core conftest.err conftest.$ac_objext \
12000
conftest$ac_exeext conftest.$ac_ext
12001
LIBS=$ac_check_lib_save_LIBS
12003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12004
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12005
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12006
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12009
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12010
if ${ac_cv_lib_dld_dld_link+:} false; then :
12011
$as_echo_n "(cached) " >&6
12013
ac_check_lib_save_LIBS=$LIBS
12015
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12016
/* end confdefs.h. */
12018
/* Override any GCC internal prototype to avoid an error.
12019
Use char because int might match the return type of a GCC
12020
builtin and then its argument prototype would still apply. */
12028
return dld_link ();
12033
if ac_fn_c_try_link "$LINENO"; then :
12034
ac_cv_lib_dld_dld_link=yes
12036
ac_cv_lib_dld_dld_link=no
12038
rm -f core conftest.err conftest.$ac_objext \
12039
conftest$ac_exeext conftest.$ac_ext
12040
LIBS=$ac_check_lib_save_LIBS
12042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12043
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12044
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12045
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12066
if test "x$lt_cv_dlopen" != xno; then
12072
case $lt_cv_dlopen in
12074
save_CPPFLAGS="$CPPFLAGS"
12075
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12077
save_LDFLAGS="$LDFLAGS"
12078
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12081
LIBS="$lt_cv_dlopen_libs $LIBS"
12083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12084
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12085
if ${lt_cv_dlopen_self+:} false; then :
12086
$as_echo_n "(cached) " >&6
12088
if test "$cross_compiling" = yes; then :
12089
lt_cv_dlopen_self=cross
12091
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12092
lt_status=$lt_dlunknown
12093
cat > conftest.$ac_ext <<_LT_EOF
12094
#line $LINENO "configure"
12095
#include "confdefs.h"
12104
# define LT_DLGLOBAL RTLD_GLOBAL
12107
# define LT_DLGLOBAL DL_GLOBAL
12109
# define LT_DLGLOBAL 0
12113
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12114
find out it does not work in some platform. */
12115
#ifndef LT_DLLAZY_OR_NOW
12117
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12120
# define LT_DLLAZY_OR_NOW DL_LAZY
12123
# define LT_DLLAZY_OR_NOW RTLD_NOW
12126
# define LT_DLLAZY_OR_NOW DL_NOW
12128
# define LT_DLLAZY_OR_NOW 0
12135
/* When -fvisbility=hidden is used, assume the code has been annotated
12136
correspondingly for the symbols needed. */
12137
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12138
int fnord () __attribute__((visibility("default")));
12141
int fnord () { return 42; }
12144
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12145
int status = $lt_dlunknown;
12149
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12152
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12153
else puts (dlerror ());
12155
/* dlclose (self); */
12163
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12164
(eval $ac_link) 2>&5
12166
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12167
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12168
(./conftest; exit; ) >&5 2>/dev/null
12170
case x$lt_status in
12171
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12172
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12173
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12176
# compilation failed
12177
lt_cv_dlopen_self=no
12184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12185
$as_echo "$lt_cv_dlopen_self" >&6; }
12187
if test "x$lt_cv_dlopen_self" = xyes; then
12188
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12190
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12191
if ${lt_cv_dlopen_self_static+:} false; then :
12192
$as_echo_n "(cached) " >&6
12194
if test "$cross_compiling" = yes; then :
12195
lt_cv_dlopen_self_static=cross
12197
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12198
lt_status=$lt_dlunknown
12199
cat > conftest.$ac_ext <<_LT_EOF
12200
#line $LINENO "configure"
12201
#include "confdefs.h"
12210
# define LT_DLGLOBAL RTLD_GLOBAL
12213
# define LT_DLGLOBAL DL_GLOBAL
12215
# define LT_DLGLOBAL 0
12219
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12220
find out it does not work in some platform. */
12221
#ifndef LT_DLLAZY_OR_NOW
12223
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12226
# define LT_DLLAZY_OR_NOW DL_LAZY
12229
# define LT_DLLAZY_OR_NOW RTLD_NOW
12232
# define LT_DLLAZY_OR_NOW DL_NOW
12234
# define LT_DLLAZY_OR_NOW 0
12241
/* When -fvisbility=hidden is used, assume the code has been annotated
12242
correspondingly for the symbols needed. */
12243
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12244
int fnord () __attribute__((visibility("default")));
12247
int fnord () { return 42; }
12250
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12251
int status = $lt_dlunknown;
12255
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12258
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12259
else puts (dlerror ());
12261
/* dlclose (self); */
12269
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12270
(eval $ac_link) 2>&5
12272
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12273
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12274
(./conftest; exit; ) >&5 2>/dev/null
12276
case x$lt_status in
12277
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12278
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12279
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12282
# compilation failed
12283
lt_cv_dlopen_self_static=no
12290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12291
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12294
CPPFLAGS="$save_CPPFLAGS"
12295
LDFLAGS="$save_LDFLAGS"
12300
case $lt_cv_dlopen_self in
12301
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12302
*) enable_dlopen_self=unknown ;;
12305
case $lt_cv_dlopen_self_static in
12306
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12307
*) enable_dlopen_self_static=unknown ;;
12329
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12330
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12331
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12332
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12333
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12334
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12335
$as_echo "yes" >&6; }
12337
# FIXME - insert some real tests, host_os isn't really good enough
12340
if test -n "$STRIP" ; then
12341
striplib="$STRIP -x"
12342
old_striplib="$STRIP -S"
12343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12344
$as_echo "yes" >&6; }
12346
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12347
$as_echo "no" >&6; }
12351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12352
$as_echo "no" >&6; }
12368
# Report which library types will actually be built
12369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12370
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12372
$as_echo "$can_build_shared" >&6; }
12374
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12375
$as_echo_n "checking whether to build shared libraries... " >&6; }
12376
test "$can_build_shared" = "no" && enable_shared=no
12378
# On AIX, shared libraries and static libraries use the same namespace, and
12379
# are all built from PIC.
12382
test "$enable_shared" = yes && enable_static=no
12383
if test -n "$RANLIB"; then
12384
archive_cmds="$archive_cmds~\$RANLIB \$lib"
12385
postinstall_cmds='$RANLIB $lib'
12390
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12391
test "$enable_shared" = yes && enable_static=no
12395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12396
$as_echo "$enable_shared" >&6; }
12398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12399
$as_echo_n "checking whether to build static libraries... " >&6; }
12400
# Make sure either enable_shared or enable_static is yes.
12401
test "$enable_shared" = yes || enable_static=yes
12402
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12403
$as_echo "$enable_static" >&6; }
12410
ac_cpp='$CPP $CPPFLAGS'
12411
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12412
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12413
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12431
ac_config_commands="$ac_config_commands libtool"
12436
# Only expand once:
12440
# By default we simply use the C compiler to build assembly code.
12442
test "${CCAS+set}" = set || CCAS=$CC
12443
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
12447
depcc="$CCAS" am_compiler_list=
12449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12450
$as_echo_n "checking dependency style of $depcc... " >&6; }
12451
if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
12452
$as_echo_n "(cached) " >&6
12454
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12455
# We make a subdir and do the tests there. Otherwise we can end up
12456
# making bogus files that we don't know about and never remove. For
12457
# instance it was reported that on HP-UX the gcc test will end up
12458
# making a dummy file named `D' -- because `-MD' means `put the output
12460
rm -rf conftest.dir
12462
# Copy depcomp to subdir because otherwise we won't find it if we're
12463
# using a relative directory.
12464
cp "$am_depcomp" conftest.dir
12466
# We will build objects and dependencies in a subdirectory because
12467
# it helps to detect inapplicable dependency modes. For instance
12468
# both Tru64's cc and ICC support -MD to output dependencies as a
12469
# side effect of compilation, but ICC will put the dependencies in
12470
# the current directory while Tru64 will put them in the object
12474
am_cv_CCAS_dependencies_compiler_type=none
12475
if test "$am_compiler_list" = ""; then
12476
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12478
am__universal=false
12481
for depmode in $am_compiler_list; do
12482
# Setup a source with many dependencies, because some compilers
12483
# like to wrap large dependency lists on column 80 (with \), and
12484
# we should not choose a depcomp mode which is confused by this.
12486
# We need to recreate these files for each test, as the compiler may
12487
# overwrite some of them when testing with obscure command lines.
12488
# This happens at least with the AIX C compiler.
12490
for i in 1 2 3 4 5 6; do
12491
echo '#include "conftst'$i'.h"' >> sub/conftest.c
12492
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12493
# Solaris 8's {/usr,}/bin/sh.
12494
touch sub/conftst$i.h
12496
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12498
# We check with `-c' and `-o' for the sake of the "dashmstdout"
12499
# mode. It turns out that the SunPro C++ compiler does not properly
12500
# handle `-M -o', and we need to detect this. Also, some Intel
12501
# versions had trouble with output in subdirs
12502
am__obj=sub/conftest.${OBJEXT-o}
12503
am__minus_obj="-o $am__obj"
12506
# This depmode causes a compiler race in universal mode.
12507
test "$am__universal" = false || continue
12510
# after this tag, mechanisms are not by side-effect, so they'll
12511
# only be used when explicitly requested
12512
if test "x$enable_dependency_tracking" = xyes; then
12518
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12519
# This compiler won't grok `-c -o', but also, the minuso test has
12520
# not run yet. These depmodes are late enough in the game, and
12521
# so weak that their functioning should not be impacted.
12522
am__obj=conftest.${OBJEXT-o}
12527
if depmode=$depmode \
12528
source=sub/conftest.c object=$am__obj \
12529
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12530
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12531
>/dev/null 2>conftest.err &&
12532
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12533
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12534
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12535
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12536
# icc doesn't choke on unknown options, it will just issue warnings
12537
# or remarks (even with -Werror). So we grep stderr for any message
12538
# that says an option was ignored or not supported.
12539
# When given -MP, icc 7.0 and 7.1 complain thusly:
12540
# icc: Command line warning: ignoring option '-M'; no argument required
12541
# The diagnosis changed in icc 8.0:
12542
# icc: Command line remark: option '-MP' not supported
12543
if (grep 'ignoring option' conftest.err ||
12544
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12545
am_cv_CCAS_dependencies_compiler_type=$depmode
12552
rm -rf conftest.dir
12554
am_cv_CCAS_dependencies_compiler_type=none
12558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
12559
$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
12560
CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
12563
test "x$enable_dependency_tracking" != xno \
12564
&& test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
12565
am__fastdepCCAS_TRUE=
12566
am__fastdepCCAS_FALSE='#'
12568
am__fastdepCCAS_TRUE='#'
12569
am__fastdepCCAS_FALSE=
12574
# Initialize maintainer mode
12576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12577
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12578
# Check whether --enable-maintainer-mode was given.
12579
if test "${enable_maintainer_mode+set}" = set; then :
12580
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
12582
USE_MAINTAINER_MODE=yes
12585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12586
$as_echo "$USE_MAINTAINER_MODE" >&6; }
12587
if test $USE_MAINTAINER_MODE = yes; then
12588
MAINTAINER_MODE_TRUE=
12589
MAINTAINER_MODE_FALSE='#'
12591
MAINTAINER_MODE_TRUE='#'
12592
MAINTAINER_MODE_FALSE=
12595
MAINT=$MAINTAINER_MODE_TRUE
12599
# Check for pkg-config
12607
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12608
if test -n "$ac_tool_prefix"; then
12609
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12610
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12612
$as_echo_n "checking for $ac_word... " >&6; }
12613
if ${ac_cv_path_PKG_CONFIG+:} false; then :
12614
$as_echo_n "(cached) " >&6
12616
case $PKG_CONFIG in
12618
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12621
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12622
for as_dir in $PATH
12625
test -z "$as_dir" && as_dir=.
12626
for ac_exec_ext in '' $ac_executable_extensions; do
12627
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12628
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12629
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12639
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12640
if test -n "$PKG_CONFIG"; then
12641
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12642
$as_echo "$PKG_CONFIG" >&6; }
12644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12645
$as_echo "no" >&6; }
12650
if test -z "$ac_cv_path_PKG_CONFIG"; then
12651
ac_pt_PKG_CONFIG=$PKG_CONFIG
12652
# Extract the first word of "pkg-config", so it can be a program name with args.
12653
set dummy pkg-config; ac_word=$2
12654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12655
$as_echo_n "checking for $ac_word... " >&6; }
12656
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12657
$as_echo_n "(cached) " >&6
12659
case $ac_pt_PKG_CONFIG in
12661
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12664
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12665
for as_dir in $PATH
12668
test -z "$as_dir" && as_dir=.
12669
for ac_exec_ext in '' $ac_executable_extensions; do
12670
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12671
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12672
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12682
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12683
if test -n "$ac_pt_PKG_CONFIG"; then
12684
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12685
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12688
$as_echo "no" >&6; }
12691
if test "x$ac_pt_PKG_CONFIG" = x; then
12694
case $cross_compiling:$ac_tool_warned in
12696
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12697
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12698
ac_tool_warned=yes ;;
12700
PKG_CONFIG=$ac_pt_PKG_CONFIG
12703
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12707
if test -n "$PKG_CONFIG"; then
12708
_pkg_min_version=0.16
12709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12710
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12711
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12713
$as_echo "yes" >&6; }
12715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12716
$as_echo "no" >&6; }
12722
###########################
12723
# Check target architecture
12724
###########################
12726
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for target architecture" >&5
12727
$as_echo_n "checking for target architecture... " >&6; }
12730
target_or_host="$host" ;;
12732
target_or_host="$target" ;;
12734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_or_host" >&5
12735
$as_echo "$target_or_host" >&6; }
12737
case "$target_or_host" in
12741
$as_echo "#define ARCH_X86 1" >>confdefs.h
12747
$as_echo "#define ARCH_X86 1" >>confdefs.h
12750
$as_echo "#define ARCH_X86_64 1" >>confdefs.h
12753
ppc-*-* | powerpc-*)
12756
$as_echo "#define ARCH_PPC 1" >>confdefs.h
12759
ppc64-*-* | powerpc64-*)
12762
$as_echo "#define ARCH_PPC 1" >>confdefs.h
12765
$as_echo "#define ARCH_PPC64 1" >>confdefs.h
12777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
12778
$as_echo_n "checking for some Win32 platform... " >&6; }
12779
case "$target_or_host" in
12780
*-*-mingw* | *-*-cygwin*)
12787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
12788
$as_echo "$platform_win32" >&6; }
12789
if test "$platform_win32" = "yes"; then
12790
PLATFORM_WIN32_TRUE=
12791
PLATFORM_WIN32_FALSE='#'
12793
PLATFORM_WIN32_TRUE='#'
12794
PLATFORM_WIN32_FALSE=
12798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
12799
$as_echo_n "checking for native Win32... " >&6; }
12800
case "$target_or_host" in
12807
WIN32_LARGE_ADDRESS_AWARE='-Wl,--large-address-aware'
12817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
12818
$as_echo "$os_win32" >&6; }
12821
if test "$os_win32" = "yes"; then
12829
if test "$os_win32" != "yes"; then
12838
if test "$os_win32" = "yes"; then
12839
# Extract the first word of "lib.exe", so it can be a program name with args.
12840
set dummy lib.exe; ac_word=$2
12841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12842
$as_echo_n "checking for $ac_word... " >&6; }
12843
if ${ac_cv_prog_ms_librarian+:} false; then :
12844
$as_echo_n "(cached) " >&6
12846
if test -n "$ms_librarian"; then
12847
ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
12849
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12850
for as_dir in $PATH
12853
test -z "$as_dir" && as_dir=.
12854
for ac_exec_ext in '' $ac_executable_extensions; do
12855
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12856
ac_cv_prog_ms_librarian="yes"
12857
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12864
test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
12867
ms_librarian=$ac_cv_prog_ms_librarian
12868
if test -n "$ms_librarian"; then
12869
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
12870
$as_echo "$ms_librarian" >&6; }
12872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12873
$as_echo "no" >&6; }
12877
if test -n "$ac_tool_prefix"; then
12878
# Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
12879
set dummy ${ac_tool_prefix}windres; ac_word=$2
12880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12881
$as_echo_n "checking for $ac_word... " >&6; }
12882
if ${ac_cv_prog_WINDRES+:} false; then :
12883
$as_echo_n "(cached) " >&6
12885
if test -n "$WINDRES"; then
12886
ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
12888
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12889
for as_dir in $PATH
12892
test -z "$as_dir" && as_dir=.
12893
for ac_exec_ext in '' $ac_executable_extensions; do
12894
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12895
ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
12896
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12905
WINDRES=$ac_cv_prog_WINDRES
12906
if test -n "$WINDRES"; then
12907
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
12908
$as_echo "$WINDRES" >&6; }
12910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12911
$as_echo "no" >&6; }
12916
if test -z "$ac_cv_prog_WINDRES"; then
12917
ac_ct_WINDRES=$WINDRES
12918
# Extract the first word of "windres", so it can be a program name with args.
12919
set dummy windres; ac_word=$2
12920
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12921
$as_echo_n "checking for $ac_word... " >&6; }
12922
if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
12923
$as_echo_n "(cached) " >&6
12925
if test -n "$ac_ct_WINDRES"; then
12926
ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
12928
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12929
for as_dir in $PATH
12932
test -z "$as_dir" && as_dir=.
12933
for ac_exec_ext in '' $ac_executable_extensions; do
12934
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12935
ac_cv_prog_ac_ct_WINDRES="windres"
12936
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12945
ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
12946
if test -n "$ac_ct_WINDRES"; then
12947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
12948
$as_echo "$ac_ct_WINDRES" >&6; }
12950
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12951
$as_echo "no" >&6; }
12954
if test "x$ac_ct_WINDRES" = x; then
12957
case $cross_compiling:$ac_tool_warned in
12959
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12960
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12961
ac_tool_warned=yes ;;
12963
WINDRES=$ac_ct_WINDRES
12966
WINDRES="$ac_cv_prog_WINDRES"
12973
if test "x$ms_librarian" = xyes; then
12974
MS_LIB_AVAILABLE_TRUE=
12975
MS_LIB_AVAILABLE_FALSE='#'
12977
MS_LIB_AVAILABLE_TRUE='#'
12978
MS_LIB_AVAILABLE_FALSE=
12981
if test "x$WINDRES" != "x:"; then
12983
HAVE_WINDRES_FALSE='#'
12985
HAVE_WINDRES_TRUE='#'
12986
HAVE_WINDRES_FALSE=
12997
# Checks for programs.
12999
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
13000
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
13002
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
13003
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
13004
$as_echo_n "(cached) " >&6
13006
cat >conftest.make <<\_ACEOF
13009
@echo '@@@%%%=$(MAKE)=@@@%%%'
13011
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13012
case `${MAKE-make} -f conftest.make 2>/dev/null` in
13013
*@@@%%%=?*=@@@%%%*)
13014
eval ac_cv_prog_make_${ac_make}_set=yes;;
13016
eval ac_cv_prog_make_${ac_make}_set=no;;
13018
rm -f conftest.make
13020
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
13021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13022
$as_echo "yes" >&6; }
13025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13026
$as_echo "no" >&6; }
13027
SET_MAKE="MAKE=${MAKE-make}"
13031
# Large file support for the swap file
13032
# Check whether --enable-largefile was given.
13033
if test "${enable_largefile+set}" = set; then :
13034
enableval=$enable_largefile;
13037
if test "$enable_largefile" != no; then
13039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
13040
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
13041
if ${ac_cv_sys_largefile_CC+:} false; then :
13042
$as_echo_n "(cached) " >&6
13044
ac_cv_sys_largefile_CC=no
13045
if test "$GCC" != yes; then
13048
# IRIX 6.2 and later do not support large files by default,
13049
# so use the C compiler's -n32 option if that helps.
13050
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13051
/* end confdefs.h. */
13052
#include <sys/types.h>
13053
/* Check that off_t can represent 2**63 - 1 correctly.
13054
We can't simply define LARGE_OFF_T to be 9223372036854775807,
13055
since some C++ compilers masquerading as C compilers
13056
incorrectly reject 9223372036854775807. */
13057
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13058
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13059
&& LARGE_OFF_T % 2147483647 == 1)
13069
if ac_fn_c_try_compile "$LINENO"; then :
13072
rm -f core conftest.err conftest.$ac_objext
13074
if ac_fn_c_try_compile "$LINENO"; then :
13075
ac_cv_sys_largefile_CC=' -n32'; break
13077
rm -f core conftest.err conftest.$ac_objext
13081
rm -f conftest.$ac_ext
13084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
13085
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
13086
if test "$ac_cv_sys_largefile_CC" != no; then
13087
CC=$CC$ac_cv_sys_largefile_CC
13090
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13091
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
13092
if ${ac_cv_sys_file_offset_bits+:} false; then :
13093
$as_echo_n "(cached) " >&6
13096
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13097
/* end confdefs.h. */
13098
#include <sys/types.h>
13099
/* Check that off_t can represent 2**63 - 1 correctly.
13100
We can't simply define LARGE_OFF_T to be 9223372036854775807,
13101
since some C++ compilers masquerading as C compilers
13102
incorrectly reject 9223372036854775807. */
13103
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13104
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13105
&& LARGE_OFF_T % 2147483647 == 1)
13115
if ac_fn_c_try_compile "$LINENO"; then :
13116
ac_cv_sys_file_offset_bits=no; break
13118
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13119
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13120
/* end confdefs.h. */
13121
#define _FILE_OFFSET_BITS 64
13122
#include <sys/types.h>
13123
/* Check that off_t can represent 2**63 - 1 correctly.
13124
We can't simply define LARGE_OFF_T to be 9223372036854775807,
13125
since some C++ compilers masquerading as C compilers
13126
incorrectly reject 9223372036854775807. */
13127
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13128
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13129
&& LARGE_OFF_T % 2147483647 == 1)
13139
if ac_fn_c_try_compile "$LINENO"; then :
13140
ac_cv_sys_file_offset_bits=64; break
13142
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13143
ac_cv_sys_file_offset_bits=unknown
13147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
13148
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
13149
case $ac_cv_sys_file_offset_bits in #(
13152
cat >>confdefs.h <<_ACEOF
13153
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13158
if test $ac_cv_sys_file_offset_bits = unknown; then
13159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
13160
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
13161
if ${ac_cv_sys_large_files+:} false; then :
13162
$as_echo_n "(cached) " >&6
13165
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13166
/* end confdefs.h. */
13167
#include <sys/types.h>
13168
/* Check that off_t can represent 2**63 - 1 correctly.
13169
We can't simply define LARGE_OFF_T to be 9223372036854775807,
13170
since some C++ compilers masquerading as C compilers
13171
incorrectly reject 9223372036854775807. */
13172
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13173
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13174
&& LARGE_OFF_T % 2147483647 == 1)
13184
if ac_fn_c_try_compile "$LINENO"; then :
13185
ac_cv_sys_large_files=no; break
13187
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13188
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13189
/* end confdefs.h. */
13190
#define _LARGE_FILES 1
13191
#include <sys/types.h>
13192
/* Check that off_t can represent 2**63 - 1 correctly.
13193
We can't simply define LARGE_OFF_T to be 9223372036854775807,
13194
since some C++ compilers masquerading as C compilers
13195
incorrectly reject 9223372036854775807. */
13196
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13197
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13198
&& LARGE_OFF_T % 2147483647 == 1)
13208
if ac_fn_c_try_compile "$LINENO"; then :
13209
ac_cv_sys_large_files=1; break
13211
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13212
ac_cv_sys_large_files=unknown
13216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
13217
$as_echo "$ac_cv_sys_large_files" >&6; }
13218
case $ac_cv_sys_large_files in #(
13221
cat >>confdefs.h <<_ACEOF
13222
#define _LARGE_FILES $ac_cv_sys_large_files
13233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to turn on debugging" >&5
13234
$as_echo_n "checking whether to turn on debugging... " >&6; }
13235
# Check whether --enable-debug was given.
13236
if test "${enable_debug+set}" = set; then :
13237
enableval=$enable_debug; if eval "test x$enable_debug = xyes"; then
13243
if test -n "$DEBUGFLAG"; then
13244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13245
$as_echo "yes" >&6; }
13246
CFLAGS="$DEBUGFLAG $CFLAGS"
13248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13249
$as_echo "no" >&6; }
13252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to turn on profiling" >&5
13253
$as_echo_n "checking whether to turn on profiling... " >&6; }
13254
# Check whether --enable-profile was given.
13255
if test "${enable_profile+set}" = set; then :
13256
enableval=$enable_profile; if eval "test x$enable_profile = xyes"; then
13262
if test -n "$PROFFLAG"; then
13263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13264
$as_echo "yes" >&6; }
13265
CFLAGS="$PROFFLAG $CFLAGS"
13267
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13268
$as_echo "no" >&6; }
13271
# Check whether --enable-ansi was given.
13272
if test "${enable_ansi+set}" = set; then :
13273
enableval=$enable_ansi;
13279
if eval "test x$GCC = xyes"; then
13280
case " $CFLAGS " in
13281
*[\ \ ]-Wall[\ \ ]*) ;;
13282
*) CFLAGS="$CFLAGS -Wall" ;;
13285
if test "x$enable_ansi" = "xyes"; then
13286
case " $CFLAGS " in
13287
*[\ \ ]-ansi[\ \ ]*) ;;
13288
*) CFLAGS="$CFLAGS -ansi" ;;
13291
case " $CFLAGS " in
13292
*[\ \ ]-pedantic[\ \ ]*) ;;
13293
*) CFLAGS="$CFLAGS -pedantic" ;;
13299
# If possible, warn if C99isms are used
13302
for flag in '-Wdeclaration-after-statement'; do
13303
if test -z "$extra_warnings"; then
13304
extra_warnings_save_CFLAGS="$CFLAGS"
13305
CFLAGS="$CFLAGS $flag"
13306
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
13307
$as_echo_n "checking whether $CC understands $flag... " >&6; }
13308
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13309
/* end confdefs.h. */
13319
if ac_fn_c_try_compile "$LINENO"; then :
13320
extra_warnings_works=yes
13322
extra_warnings_works=no
13324
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $extra_warnings_works" >&5
13326
$as_echo "$extra_warnings_works" >&6; }
13327
CFLAGS="$extra_warnings_save_CFLAGS"
13328
if test "x$extra_warnings_works" = "xyes"; then
13329
extra_warnings="$flag"
13334
CFLAGS="$CFLAGS $extra_warnings"
13338
for flag in '-Wmissing-prototypes'; do
13339
if test -z "$extra_warnings"; then
13340
extra_warnings_save_CFLAGS="$CFLAGS"
13341
CFLAGS="$CFLAGS $flag"
13342
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
13343
$as_echo_n "checking whether $CC understands $flag... " >&6; }
13344
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13345
/* end confdefs.h. */
13355
if ac_fn_c_try_compile "$LINENO"; then :
13356
extra_warnings_works=yes
13358
extra_warnings_works=no
13360
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $extra_warnings_works" >&5
13362
$as_echo "$extra_warnings_works" >&6; }
13363
CFLAGS="$extra_warnings_save_CFLAGS"
13364
if test "x$extra_warnings_works" = "xyes"; then
13365
extra_warnings="$flag"
13370
CFLAGS="$CFLAGS $extra_warnings"
13372
# We really don't want anyone using code with missing prototypes, which
13373
# can cause random behavior. If compile breaks due to the following,
13374
# come to us and we will point you to a newer version which works.
13377
for flag in '-Werror=missing-prototypes'; do
13378
if test -z "$extra_warnings"; then
13379
extra_warnings_save_CFLAGS="$CFLAGS"
13380
CFLAGS="$CFLAGS $flag"
13381
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
13382
$as_echo_n "checking whether $CC understands $flag... " >&6; }
13383
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13384
/* end confdefs.h. */
13394
if ac_fn_c_try_compile "$LINENO"; then :
13395
extra_warnings_works=yes
13397
extra_warnings_works=no
13399
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $extra_warnings_works" >&5
13401
$as_echo "$extra_warnings_works" >&6; }
13402
CFLAGS="$extra_warnings_save_CFLAGS"
13403
if test "x$extra_warnings_works" = "xyes"; then
13404
extra_warnings="$flag"
13409
CFLAGS="$CFLAGS $extra_warnings"
13413
for flag in '-Wstrict-prototypes'; do
13414
if test -z "$extra_warnings"; then
13415
extra_warnings_save_CFLAGS="$CFLAGS"
13416
CFLAGS="$CFLAGS $flag"
13417
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
13418
$as_echo_n "checking whether $CC understands $flag... " >&6; }
13419
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13420
/* end confdefs.h. */
13430
if ac_fn_c_try_compile "$LINENO"; then :
13431
extra_warnings_works=yes
13433
extra_warnings_works=no
13435
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $extra_warnings_works" >&5
13437
$as_echo "$extra_warnings_works" >&6; }
13438
CFLAGS="$extra_warnings_save_CFLAGS"
13439
if test "x$extra_warnings_works" = "xyes"; then
13440
extra_warnings="$flag"
13445
CFLAGS="$CFLAGS $extra_warnings"
13449
for flag in '-Wmissing-declarations'; do
13450
if test -z "$extra_warnings"; then
13451
extra_warnings_save_CFLAGS="$CFLAGS"
13452
CFLAGS="$CFLAGS $flag"
13453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
13454
$as_echo_n "checking whether $CC understands $flag... " >&6; }
13455
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13456
/* end confdefs.h. */
13466
if ac_fn_c_try_compile "$LINENO"; then :
13467
extra_warnings_works=yes
13469
extra_warnings_works=no
13471
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13472
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $extra_warnings_works" >&5
13473
$as_echo "$extra_warnings_works" >&6; }
13474
CFLAGS="$extra_warnings_save_CFLAGS"
13475
if test "x$extra_warnings_works" = "xyes"; then
13476
extra_warnings="$flag"
13481
CFLAGS="$CFLAGS $extra_warnings"
13485
for flag in '-Winit-self'; do
13486
if test -z "$extra_warnings"; then
13487
extra_warnings_save_CFLAGS="$CFLAGS"
13488
CFLAGS="$CFLAGS $flag"
13489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
13490
$as_echo_n "checking whether $CC understands $flag... " >&6; }
13491
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13492
/* end confdefs.h. */
13502
if ac_fn_c_try_compile "$LINENO"; then :
13503
extra_warnings_works=yes
13505
extra_warnings_works=no
13507
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $extra_warnings_works" >&5
13509
$as_echo "$extra_warnings_works" >&6; }
13510
CFLAGS="$extra_warnings_save_CFLAGS"
13511
if test "x$extra_warnings_works" = "xyes"; then
13512
extra_warnings="$flag"
13517
CFLAGS="$CFLAGS $extra_warnings"
13521
for flag in '-Wpointer-arith'; do
13522
if test -z "$extra_warnings"; then
13523
extra_warnings_save_CFLAGS="$CFLAGS"
13524
CFLAGS="$CFLAGS $flag"
13525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
13526
$as_echo_n "checking whether $CC understands $flag... " >&6; }
13527
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13528
/* end confdefs.h. */
13538
if ac_fn_c_try_compile "$LINENO"; then :
13539
extra_warnings_works=yes
13541
extra_warnings_works=no
13543
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $extra_warnings_works" >&5
13545
$as_echo "$extra_warnings_works" >&6; }
13546
CFLAGS="$extra_warnings_save_CFLAGS"
13547
if test "x$extra_warnings_works" = "xyes"; then
13548
extra_warnings="$flag"
13553
CFLAGS="$CFLAGS $extra_warnings"
13557
for flag in '-Wold-style-definition'; do
13558
if test -z "$extra_warnings"; then
13559
extra_warnings_save_CFLAGS="$CFLAGS"
13560
CFLAGS="$CFLAGS $flag"
13561
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
13562
$as_echo_n "checking whether $CC understands $flag... " >&6; }
13563
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13564
/* end confdefs.h. */
13574
if ac_fn_c_try_compile "$LINENO"; then :
13575
extra_warnings_works=yes
13577
extra_warnings_works=no
13579
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $extra_warnings_works" >&5
13581
$as_echo "$extra_warnings_works" >&6; }
13582
CFLAGS="$extra_warnings_save_CFLAGS"
13583
if test "x$extra_warnings_works" = "xyes"; then
13584
extra_warnings="$flag"
13589
CFLAGS="$CFLAGS $extra_warnings"
13593
for flag in '-Wmissing-format-attribute'; do
13594
if test -z "$extra_warnings"; then
13595
extra_warnings_save_CFLAGS="$CFLAGS"
13596
CFLAGS="$CFLAGS $flag"
13597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
13598
$as_echo_n "checking whether $CC understands $flag... " >&6; }
13599
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13600
/* end confdefs.h. */
13610
if ac_fn_c_try_compile "$LINENO"; then :
13611
extra_warnings_works=yes
13613
extra_warnings_works=no
13615
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $extra_warnings_works" >&5
13617
$as_echo "$extra_warnings_works" >&6; }
13618
CFLAGS="$extra_warnings_save_CFLAGS"
13619
if test "x$extra_warnings_works" = "xyes"; then
13620
extra_warnings="$flag"
13625
CFLAGS="$CFLAGS $extra_warnings"
13629
for flag in '-Wformat-security'; do
13630
if test -z "$extra_warnings"; then
13631
extra_warnings_save_CFLAGS="$CFLAGS"
13632
CFLAGS="$CFLAGS $flag"
13633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
13634
$as_echo_n "checking whether $CC understands $flag... " >&6; }
13635
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13636
/* end confdefs.h. */
13646
if ac_fn_c_try_compile "$LINENO"; then :
13647
extra_warnings_works=yes
13649
extra_warnings_works=no
13651
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13652
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $extra_warnings_works" >&5
13653
$as_echo "$extra_warnings_works" >&6; }
13654
CFLAGS="$extra_warnings_save_CFLAGS"
13655
if test "x$extra_warnings_works" = "xyes"; then
13656
extra_warnings="$flag"
13661
CFLAGS="$CFLAGS $extra_warnings"
13665
for flag in '-Wformat-non-literal'; do
13666
if test -z "$extra_warnings"; then
13667
extra_warnings_save_CFLAGS="$CFLAGS"
13668
CFLAGS="$CFLAGS $flag"
13669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
13670
$as_echo_n "checking whether $CC understands $flag... " >&6; }
13671
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13672
/* end confdefs.h. */
13682
if ac_fn_c_try_compile "$LINENO"; then :
13683
extra_warnings_works=yes
13685
extra_warnings_works=no
13687
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $extra_warnings_works" >&5
13689
$as_echo "$extra_warnings_works" >&6; }
13690
CFLAGS="$extra_warnings_save_CFLAGS"
13691
if test "x$extra_warnings_works" = "xyes"; then
13692
extra_warnings="$flag"
13697
CFLAGS="$CFLAGS $extra_warnings"
13701
for flag in '-fno-common'; do
13702
if test -z "$extra_warnings"; then
13703
extra_warnings_save_CFLAGS="$CFLAGS"
13704
CFLAGS="$CFLAGS $flag"
13705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
13706
$as_echo_n "checking whether $CC understands $flag... " >&6; }
13707
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13708
/* end confdefs.h. */
13718
if ac_fn_c_try_compile "$LINENO"; then :
13719
extra_warnings_works=yes
13721
extra_warnings_works=no
13723
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $extra_warnings_works" >&5
13725
$as_echo "$extra_warnings_works" >&6; }
13726
CFLAGS="$extra_warnings_save_CFLAGS"
13727
if test "x$extra_warnings_works" = "xyes"; then
13728
extra_warnings="$flag"
13733
CFLAGS="$CFLAGS $extra_warnings"
13737
for flag in '-fdiagnostics-show-option'; do
13738
if test -z "$extra_warnings"; then
13739
extra_warnings_save_CFLAGS="$CFLAGS"
13740
CFLAGS="$CFLAGS $flag"
13741
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
13742
$as_echo_n "checking whether $CC understands $flag... " >&6; }
13743
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13744
/* end confdefs.h. */
13754
if ac_fn_c_try_compile "$LINENO"; then :
13755
extra_warnings_works=yes
13757
extra_warnings_works=no
13759
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $extra_warnings_works" >&5
13761
$as_echo "$extra_warnings_works" >&6; }
13762
CFLAGS="$extra_warnings_save_CFLAGS"
13763
if test "x$extra_warnings_works" = "xyes"; then
13764
extra_warnings="$flag"
13769
CFLAGS="$CFLAGS $extra_warnings"
13772
# Extra optimization flags for super performance
13775
for flag in '--omg-optimized'; do
13776
if test -z "$extra_warnings"; then
13777
extra_warnings_save_CFLAGS="$CFLAGS"
13778
CFLAGS="$CFLAGS $flag"
13779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
13780
$as_echo_n "checking whether $CC understands $flag... " >&6; }
13781
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782
/* end confdefs.h. */
13792
if ac_fn_c_try_compile "$LINENO"; then :
13793
extra_warnings_works=yes
13795
extra_warnings_works=no
13797
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13798
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $extra_warnings_works" >&5
13799
$as_echo "$extra_warnings_works" >&6; }
13800
CFLAGS="$extra_warnings_save_CFLAGS"
13801
if test "x$extra_warnings_works" = "xyes"; then
13802
extra_warnings="$flag"
13807
CFLAGS="$CFLAGS $extra_warnings"
13811
for flag in '--disable-instructions'; do
13812
if test -z "$extra_warnings"; then
13813
extra_warnings_save_CFLAGS="$CFLAGS"
13814
CFLAGS="$CFLAGS $flag"
13815
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
13816
$as_echo_n "checking whether $CC understands $flag... " >&6; }
13817
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13818
/* end confdefs.h. */
13828
if ac_fn_c_try_compile "$LINENO"; then :
13829
extra_warnings_works=yes
13831
extra_warnings_works=no
13833
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13834
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $extra_warnings_works" >&5
13835
$as_echo "$extra_warnings_works" >&6; }
13836
CFLAGS="$extra_warnings_save_CFLAGS"
13837
if test "x$extra_warnings_works" = "xyes"; then
13838
extra_warnings="$flag"
13843
CFLAGS="$CFLAGS $extra_warnings"
13846
# Ensure MSVC-compatible struct packing convention is used when
13847
# compiling for Win32 with gcc.
13848
# What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
13849
# gcc2 uses "-fnative-struct".
13850
if test "x$os_win32" = xyes; then
13851
if test "x$GCC" = xyes; then
13853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get MSVC-compatible struct packing" >&5
13854
$as_echo_n "checking how to get MSVC-compatible struct packing... " >&6; }
13855
if test -z "$ac_cv_prog_CC"; then
13858
our_gcc="$ac_cv_prog_CC"
13860
case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in
13862
if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then
13863
msnative_struct='-fnative-struct'
13867
if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then
13868
msnative_struct='-mms-bitfields'
13872
if test "x$msnative_struct" = x ; then
13873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no way" >&5
13874
$as_echo "no way" >&6; }
13875
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: build will be incompatible with GTK+ DLLs" >&5
13876
$as_echo "$as_me: WARNING: build will be incompatible with GTK+ DLLs" >&2;}
13878
CFLAGS="$CFLAGS $msnative_struct"
13879
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${msnative_struct}" >&5
13880
$as_echo "${msnative_struct}" >&6; }
13886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13887
$as_echo_n "checking for ANSI C header files... " >&6; }
13888
if ${ac_cv_header_stdc+:} false; then :
13889
$as_echo_n "(cached) " >&6
13891
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13892
/* end confdefs.h. */
13893
#include <stdlib.h>
13894
#include <stdarg.h>
13895
#include <string.h>
13906
if ac_fn_c_try_compile "$LINENO"; then :
13907
ac_cv_header_stdc=yes
13909
ac_cv_header_stdc=no
13911
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13913
if test $ac_cv_header_stdc = yes; then
13914
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13915
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13916
/* end confdefs.h. */
13917
#include <string.h>
13920
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13921
$EGREP "memchr" >/dev/null 2>&1; then :
13924
ac_cv_header_stdc=no
13930
if test $ac_cv_header_stdc = yes; then
13931
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13932
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13933
/* end confdefs.h. */
13934
#include <stdlib.h>
13937
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13938
$EGREP "free" >/dev/null 2>&1; then :
13941
ac_cv_header_stdc=no
13947
if test $ac_cv_header_stdc = yes; then
13948
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13949
if test "$cross_compiling" = yes; then :
13952
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13953
/* end confdefs.h. */
13955
#include <stdlib.h>
13956
#if ((' ' & 0x0FF) == 0x020)
13957
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13958
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13960
# define ISLOWER(c) \
13961
(('a' <= (c) && (c) <= 'i') \
13962
|| ('j' <= (c) && (c) <= 'r') \
13963
|| ('s' <= (c) && (c) <= 'z'))
13964
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13967
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13972
for (i = 0; i < 256; i++)
13973
if (XOR (islower (i), ISLOWER (i))
13974
|| toupper (i) != TOUPPER (i))
13979
if ac_fn_c_try_run "$LINENO"; then :
13982
ac_cv_header_stdc=no
13984
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13985
conftest.$ac_objext conftest.beam conftest.$ac_ext
13990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13991
$as_echo "$ac_cv_header_stdc" >&6; }
13992
if test $ac_cv_header_stdc = yes; then
13994
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
13998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
13999
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
14000
if ${ac_cv_header_sys_wait_h+:} false; then :
14001
$as_echo_n "(cached) " >&6
14003
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14004
/* end confdefs.h. */
14005
#include <sys/types.h>
14006
#include <sys/wait.h>
14007
#ifndef WEXITSTATUS
14008
# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
14011
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
14019
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
14024
if ac_fn_c_try_compile "$LINENO"; then :
14025
ac_cv_header_sys_wait_h=yes
14027
ac_cv_header_sys_wait_h=no
14029
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
14032
$as_echo "$ac_cv_header_sys_wait_h" >&6; }
14033
if test $ac_cv_header_sys_wait_h = yes; then
14035
$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
14039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14040
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14041
if ${ac_cv_header_time+:} false; then :
14042
$as_echo_n "(cached) " >&6
14044
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14045
/* end confdefs.h. */
14046
#include <sys/types.h>
14047
#include <sys/time.h>
14053
if ((struct tm *) 0)
14059
if ac_fn_c_try_compile "$LINENO"; then :
14060
ac_cv_header_time=yes
14062
ac_cv_header_time=no
14064
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14067
$as_echo "$ac_cv_header_time" >&6; }
14068
if test $ac_cv_header_time = yes; then
14070
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14075
for ac_header in sys/param.h sys/time.h sys/times.h sys/wait.h unistd.h
14077
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14078
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14079
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14080
cat >>confdefs.h <<_ACEOF
14081
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14089
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14090
if test "x$ac_cv_type_pid_t" = xyes; then :
14094
cat >>confdefs.h <<_ACEOF
14100
for ac_func in vprintf
14102
ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
14103
if test "x$ac_cv_func_vprintf" = xyes; then :
14104
cat >>confdefs.h <<_ACEOF
14105
#define HAVE_VPRINTF 1
14108
ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
14109
if test "x$ac_cv_func__doprnt" = xyes; then :
14111
$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
14120
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14121
if test "x$ac_cv_type_size_t" = xyes; then :
14125
cat >>confdefs.h <<_ACEOF
14126
#define size_t unsigned int
14131
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14132
# for constant arguments. Useless!
14133
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
14134
$as_echo_n "checking for working alloca.h... " >&6; }
14135
if ${ac_cv_working_alloca_h+:} false; then :
14136
$as_echo_n "(cached) " >&6
14138
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14139
/* end confdefs.h. */
14140
#include <alloca.h>
14144
char *p = (char *) alloca (2 * sizeof (int));
14150
if ac_fn_c_try_link "$LINENO"; then :
14151
ac_cv_working_alloca_h=yes
14153
ac_cv_working_alloca_h=no
14155
rm -f core conftest.err conftest.$ac_objext \
14156
conftest$ac_exeext conftest.$ac_ext
14158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
14159
$as_echo "$ac_cv_working_alloca_h" >&6; }
14160
if test $ac_cv_working_alloca_h = yes; then
14162
$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
14166
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
14167
$as_echo_n "checking for alloca... " >&6; }
14168
if ${ac_cv_func_alloca_works+:} false; then :
14169
$as_echo_n "(cached) " >&6
14171
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14172
/* end confdefs.h. */
14174
# define alloca __builtin_alloca
14177
# include <malloc.h>
14178
# define alloca _alloca
14180
# ifdef HAVE_ALLOCA_H
14181
# include <alloca.h>
14186
# ifndef alloca /* predefined by HP cc +Olibcalls */
14187
void *alloca (size_t);
14197
char *p = (char *) alloca (1);
14203
if ac_fn_c_try_link "$LINENO"; then :
14204
ac_cv_func_alloca_works=yes
14206
ac_cv_func_alloca_works=no
14208
rm -f core conftest.err conftest.$ac_objext \
14209
conftest$ac_exeext conftest.$ac_ext
14211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
14212
$as_echo "$ac_cv_func_alloca_works" >&6; }
14214
if test $ac_cv_func_alloca_works = yes; then
14216
$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
14219
# The SVR3 libPW and SVR4 libucb both contain incompatible functions
14220
# that cause trouble. Some versions do not even contain alloca or
14221
# contain a buggy version. If you still want to use their alloca,
14222
# use ar to extract alloca.o from them instead of compiling alloca.c.
14224
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
14226
$as_echo "#define C_ALLOCA 1" >>confdefs.h
14229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
14230
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
14231
if ${ac_cv_os_cray+:} false; then :
14232
$as_echo_n "(cached) " >&6
14234
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14235
/* end confdefs.h. */
14236
#if defined CRAY && ! defined CRAY2
14243
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14244
$EGREP "webecray" >/dev/null 2>&1; then :
14252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
14253
$as_echo "$ac_cv_os_cray" >&6; }
14254
if test $ac_cv_os_cray = yes; then
14255
for ac_func in _getb67 GETB67 getb67; do
14256
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14257
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14258
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14260
cat >>confdefs.h <<_ACEOF
14261
#define CRAY_STACKSEG_END $ac_func
14270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
14271
$as_echo_n "checking stack direction for C alloca... " >&6; }
14272
if ${ac_cv_c_stack_direction+:} false; then :
14273
$as_echo_n "(cached) " >&6
14275
if test "$cross_compiling" = yes; then :
14276
ac_cv_c_stack_direction=0
14278
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14279
/* end confdefs.h. */
14280
$ac_includes_default
14282
find_stack_direction (int *addr, int depth)
14284
int dir, dummy = 0;
14287
*addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
14288
dir = depth ? find_stack_direction (addr, depth - 1) : 0;
14289
return dir + dummy;
14293
main (int argc, char **argv)
14295
return find_stack_direction (0, argc + !argv + 20) < 0;
14298
if ac_fn_c_try_run "$LINENO"; then :
14299
ac_cv_c_stack_direction=1
14301
ac_cv_c_stack_direction=-1
14303
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14304
conftest.$ac_objext conftest.beam conftest.$ac_ext
14308
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
14309
$as_echo "$ac_cv_c_stack_direction" >&6; }
14310
cat >>confdefs.h <<_ACEOF
14311
#define STACK_DIRECTION $ac_cv_c_stack_direction
14318
# check some more funcs
14319
for ac_func in fsync
14321
ac_fn_c_check_func "$LINENO" "fsync" "ac_cv_func_fsync"
14322
if test "x$ac_cv_func_fsync" = xyes; then :
14323
cat >>confdefs.h <<_ACEOF
14324
#define HAVE_FSYNC 1
14330
for ac_func in difftime mmap
14332
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14333
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14334
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14335
cat >>confdefs.h <<_ACEOF
14336
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14345
# Check whether --enable-binreloc was given.
14346
if test "${enable_binreloc+set}" = set; then :
14347
enableval=$enable_binreloc; enable_binreloc=$enableval
14353
# Check whether --enable-binreloc-threads was given.
14354
if test "${enable_binreloc_threads+set}" = set; then :
14355
enableval=$enable_binreloc_threads; enable_binreloc_threads=$enableval
14357
enable_binreloc_threads=yes
14363
if test "x$enable_binreloc" = "xauto"; then
14364
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/self/maps" >&5
14365
$as_echo_n "checking for /proc/self/maps... " >&6; }
14366
if ${ac_cv_file__proc_self_maps+:} false; then :
14367
$as_echo_n "(cached) " >&6
14369
test "$cross_compiling" = yes &&
14370
as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
14371
if test -r "/proc/self/maps"; then
14372
ac_cv_file__proc_self_maps=yes
14374
ac_cv_file__proc_self_maps=no
14377
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__proc_self_maps" >&5
14378
$as_echo "$ac_cv_file__proc_self_maps" >&6; }
14379
if test "x$ac_cv_file__proc_self_maps" = xyes; then :
14383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether everything is installed to the same prefix" >&5
14384
$as_echo_n "checking whether everything is installed to the same prefix... " >&6; }
14385
if ${br_cv_valid_prefixes+:} false; then :
14386
$as_echo_n "(cached) " >&6
14389
if test "$bindir" = '${exec_prefix}/bin' -a "$sbindir" = '${exec_prefix}/sbin' -a \
14390
"$datadir" = '${prefix}/share' -a "$libdir" = '${exec_prefix}/lib' -a \
14391
"$libexecdir" = '${exec_prefix}/libexec' -a "$sysconfdir" = '${prefix}/etc'
14393
br_cv_valid_prefixes=yes
14395
br_cv_valid_prefixes=no
14399
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $br_cv_valid_prefixes" >&5
14400
$as_echo "$br_cv_valid_prefixes" >&6; }
14402
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether binary relocation support should be enabled" >&5
14403
$as_echo_n "checking whether binary relocation support should be enabled... " >&6; }
14404
if ${br_cv_binreloc+:} false; then :
14405
$as_echo_n "(cached) " >&6
14407
if test "x$enable_binreloc" = "xyes"; then
14409
elif test "x$enable_binreloc" = "xauto"; then
14410
if test "x$br_cv_valid_prefixes" = "xyes" -a \
14411
"x$ac_cv_file__proc_self_maps" = "xyes"; then
14420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $br_cv_binreloc" >&5
14421
$as_echo "$br_cv_binreloc" >&6; }
14423
if test "x$br_cv_binreloc" = "xyes"; then
14424
BINRELOC_CFLAGS="-DENABLE_BINRELOC"
14425
if test "x$enable_binreloc_threads" = "xyes"; then
14426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_getspecific in -lpthread" >&5
14427
$as_echo_n "checking for pthread_getspecific in -lpthread... " >&6; }
14428
if ${ac_cv_lib_pthread_pthread_getspecific+:} false; then :
14429
$as_echo_n "(cached) " >&6
14431
ac_check_lib_save_LIBS=$LIBS
14432
LIBS="-lpthread $LIBS"
14433
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14434
/* end confdefs.h. */
14436
/* Override any GCC internal prototype to avoid an error.
14437
Use char because int might match the return type of a GCC
14438
builtin and then its argument prototype would still apply. */
14442
char pthread_getspecific ();
14446
return pthread_getspecific ();
14451
if ac_fn_c_try_link "$LINENO"; then :
14452
ac_cv_lib_pthread_pthread_getspecific=yes
14454
ac_cv_lib_pthread_pthread_getspecific=no
14456
rm -f core conftest.err conftest.$ac_objext \
14457
conftest$ac_exeext conftest.$ac_ext
14458
LIBS=$ac_check_lib_save_LIBS
14460
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_getspecific" >&5
14461
$as_echo "$ac_cv_lib_pthread_pthread_getspecific" >&6; }
14462
if test "x$ac_cv_lib_pthread_pthread_getspecific" = xyes; then :
14463
cat >>confdefs.h <<_ACEOF
14464
#define HAVE_LIBPTHREAD 1
14467
LIBS="-lpthread $LIBS"
14473
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether binary relocation should use threads" >&5
14474
$as_echo_n "checking whether binary relocation should use threads... " >&6; }
14475
if ${br_cv_binreloc_threads+:} false; then :
14476
$as_echo_n "(cached) " >&6
14478
if test "x$enable_binreloc_threads" = "xyes"; then
14479
if test "x$ac_cv_lib_pthread_pthread_getspecific" = "xyes"; then
14480
br_cv_binreloc_threads=yes
14482
br_cv_binreloc_threads=no
14485
br_cv_binreloc_threads=no
14488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $br_cv_binreloc_threads" >&5
14489
$as_echo "$br_cv_binreloc_threads" >&6; }
14491
if test "x$br_cv_binreloc_threads" = "xyes"; then
14492
BINRELOC_LIBS="-lpthread"
14494
BINRELOC_CFLAGS="$BINRELOC_CFLAGS -DBR_PTHREADS=0"
14499
if test x$br_cv_binreloc = xyes; then
14501
USE_BINRELOC_FALSE='#'
14503
USE_BINRELOC_TRUE='#'
14504
USE_BINRELOC_FALSE=
14510
# _NL_MEASUREMENT_MEASUREMENT is an enum and not a define
14511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _NL_MEASUREMENT_MEASUREMENT" >&5
14512
$as_echo_n "checking for _NL_MEASUREMENT_MEASUREMENT... " >&6; }
14513
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14514
/* end confdefs.h. */
14515
#include <langinfo.h>
14519
char c = *((unsigned char *) nl_langinfo(_NL_MEASUREMENT_MEASUREMENT));
14524
if ac_fn_c_try_link "$LINENO"; then :
14529
rm -f core conftest.err conftest.$ac_objext \
14530
conftest$ac_exeext conftest.$ac_ext
14531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_ok" >&5
14532
$as_echo "$nl_ok" >&6; }
14533
if test "$nl_ok" = "yes"; then
14535
$as_echo "#define HAVE__NL_MEASUREMENT_MEASUREMENT 1" >>confdefs.h
14540
######################
14541
# Internationalisation
14542
######################
14545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14546
$as_echo_n "checking whether NLS is requested... " >&6; }
14547
# Check whether --enable-nls was given.
14548
if test "${enable_nls+set}" = set; then :
14549
enableval=$enable_nls; USE_NLS=$enableval
14554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14555
$as_echo "$USE_NLS" >&6; }
14560
case "$am__api_version" in
14562
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
14568
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
14569
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
14570
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
14571
if test -n "0.40.1"; then
14572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.1" >&5
14573
$as_echo_n "checking for intltool >= 0.40.1... " >&6; }
14574
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
14575
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
14576
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
14577
as_fn_error $? "Your intltool is too old. You need intltool 0.40.1 or later." "$LINENO" 5
14580
# Extract the first word of "intltool-update", so it can be a program name with args.
14581
set dummy intltool-update; ac_word=$2
14582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14583
$as_echo_n "checking for $ac_word... " >&6; }
14584
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
14585
$as_echo_n "(cached) " >&6
14587
case $INTLTOOL_UPDATE in
14589
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
14592
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14593
for as_dir in $PATH
14596
test -z "$as_dir" && as_dir=.
14597
for ac_exec_ext in '' $ac_executable_extensions; do
14598
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14599
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
14600
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14610
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
14611
if test -n "$INTLTOOL_UPDATE"; then
14612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
14613
$as_echo "$INTLTOOL_UPDATE" >&6; }
14615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14616
$as_echo "no" >&6; }
14620
# Extract the first word of "intltool-merge", so it can be a program name with args.
14621
set dummy intltool-merge; ac_word=$2
14622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14623
$as_echo_n "checking for $ac_word... " >&6; }
14624
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
14625
$as_echo_n "(cached) " >&6
14627
case $INTLTOOL_MERGE in
14629
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
14632
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14633
for as_dir in $PATH
14636
test -z "$as_dir" && as_dir=.
14637
for ac_exec_ext in '' $ac_executable_extensions; do
14638
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14639
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
14640
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14650
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
14651
if test -n "$INTLTOOL_MERGE"; then
14652
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
14653
$as_echo "$INTLTOOL_MERGE" >&6; }
14655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14656
$as_echo "no" >&6; }
14660
# Extract the first word of "intltool-extract", so it can be a program name with args.
14661
set dummy intltool-extract; ac_word=$2
14662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14663
$as_echo_n "checking for $ac_word... " >&6; }
14664
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
14665
$as_echo_n "(cached) " >&6
14667
case $INTLTOOL_EXTRACT in
14669
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
14672
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14673
for as_dir in $PATH
14676
test -z "$as_dir" && as_dir=.
14677
for ac_exec_ext in '' $ac_executable_extensions; do
14678
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14679
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
14680
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14690
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
14691
if test -n "$INTLTOOL_EXTRACT"; then
14692
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
14693
$as_echo "$INTLTOOL_EXTRACT" >&6; }
14695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14696
$as_echo "no" >&6; }
14700
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
14701
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
14704
if test -z "$AM_DEFAULT_VERBOSITY"; then
14705
AM_DEFAULT_VERBOSITY=1
14709
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
14710
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
14711
INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
14716
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
14717
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
14718
intltool__v_merge_options_0='-q'
14723
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14724
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14725
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14726
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14727
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
14728
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14729
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14730
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14731
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14732
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14733
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14734
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
14735
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
14737
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
14739
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14740
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14741
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14742
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14743
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14744
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14745
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
14843
# Check the gettext tools to make sure they are GNU
14844
# Extract the first word of "xgettext", so it can be a program name with args.
14845
set dummy xgettext; ac_word=$2
14846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14847
$as_echo_n "checking for $ac_word... " >&6; }
14848
if ${ac_cv_path_XGETTEXT+:} false; then :
14849
$as_echo_n "(cached) " >&6
14853
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14856
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14857
for as_dir in $PATH
14860
test -z "$as_dir" && as_dir=.
14861
for ac_exec_ext in '' $ac_executable_extensions; do
14862
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14863
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
14864
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14874
XGETTEXT=$ac_cv_path_XGETTEXT
14875
if test -n "$XGETTEXT"; then
14876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14877
$as_echo "$XGETTEXT" >&6; }
14879
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14880
$as_echo "no" >&6; }
14884
# Extract the first word of "msgmerge", so it can be a program name with args.
14885
set dummy msgmerge; ac_word=$2
14886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14887
$as_echo_n "checking for $ac_word... " >&6; }
14888
if ${ac_cv_path_MSGMERGE+:} false; then :
14889
$as_echo_n "(cached) " >&6
14893
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
14896
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14897
for as_dir in $PATH
14900
test -z "$as_dir" && as_dir=.
14901
for ac_exec_ext in '' $ac_executable_extensions; do
14902
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14903
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
14904
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14914
MSGMERGE=$ac_cv_path_MSGMERGE
14915
if test -n "$MSGMERGE"; then
14916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14917
$as_echo "$MSGMERGE" >&6; }
14919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14920
$as_echo "no" >&6; }
14924
# Extract the first word of "msgfmt", so it can be a program name with args.
14925
set dummy msgfmt; ac_word=$2
14926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14927
$as_echo_n "checking for $ac_word... " >&6; }
14928
if ${ac_cv_path_MSGFMT+:} false; then :
14929
$as_echo_n "(cached) " >&6
14933
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14936
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14937
for as_dir in $PATH
14940
test -z "$as_dir" && as_dir=.
14941
for ac_exec_ext in '' $ac_executable_extensions; do
14942
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14943
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
14944
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14954
MSGFMT=$ac_cv_path_MSGFMT
14955
if test -n "$MSGFMT"; then
14956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14957
$as_echo "$MSGFMT" >&6; }
14959
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14960
$as_echo "no" >&6; }
14964
# Extract the first word of "gmsgfmt", so it can be a program name with args.
14965
set dummy gmsgfmt; ac_word=$2
14966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14967
$as_echo_n "checking for $ac_word... " >&6; }
14968
if ${ac_cv_path_GMSGFMT+:} false; then :
14969
$as_echo_n "(cached) " >&6
14973
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14976
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14977
for as_dir in $PATH
14980
test -z "$as_dir" && as_dir=.
14981
for ac_exec_ext in '' $ac_executable_extensions; do
14982
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14983
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14984
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14991
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14995
GMSGFMT=$ac_cv_path_GMSGFMT
14996
if test -n "$GMSGFMT"; then
14997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14998
$as_echo "$GMSGFMT" >&6; }
15000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15001
$as_echo "no" >&6; }
15005
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
15006
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
15008
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
15009
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
15010
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
15011
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
15012
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
15015
# Extract the first word of "perl", so it can be a program name with args.
15016
set dummy perl; ac_word=$2
15017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15018
$as_echo_n "checking for $ac_word... " >&6; }
15019
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
15020
$as_echo_n "(cached) " >&6
15022
case $INTLTOOL_PERL in
15024
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
15027
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15028
for as_dir in $PATH
15031
test -z "$as_dir" && as_dir=.
15032
for ac_exec_ext in '' $ac_executable_extensions; do
15033
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15034
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
15035
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15045
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
15046
if test -n "$INTLTOOL_PERL"; then
15047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
15048
$as_echo "$INTLTOOL_PERL" >&6; }
15050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15051
$as_echo "no" >&6; }
15055
if test -z "$INTLTOOL_PERL"; then
15056
as_fn_error $? "perl not found" "$LINENO" 5
15058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
15059
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
15060
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
15061
if test $? -ne 0; then
15062
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
15064
IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
15065
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
15066
$as_echo "$IT_PERL_VERSION" >&6; }
15068
if test "x" != "xno-xml"; then
15069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
15070
$as_echo_n "checking for XML::Parser... " >&6; }
15071
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
15072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
15073
$as_echo "ok" >&6; }
15075
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
15079
# Substitute ALL_LINGUAS so we can use it in po/Makefile
15082
# Set DATADIRNAME correctly if it is not set yet
15083
# (copied from glib-gettext.m4)
15084
if test -z "$DATADIRNAME"; then
15085
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15086
/* end confdefs.h. */
15091
extern int _nl_msg_cat_cntr;
15092
return _nl_msg_cat_cntr
15097
if ac_fn_c_try_link "$LINENO"; then :
15102
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15103
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15115
rm -f core conftest.err conftest.$ac_objext \
15116
conftest$ac_exeext conftest.$ac_ext
15124
for ac_header in locale.h
15126
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
15127
if test "x$ac_cv_header_locale_h" = xyes; then :
15128
cat >>confdefs.h <<_ACEOF
15129
#define HAVE_LOCALE_H 1
15136
if test $ac_cv_header_locale_h = yes; then
15137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
15138
$as_echo_n "checking for LC_MESSAGES... " >&6; }
15139
if ${am_cv_val_LC_MESSAGES+:} false; then :
15140
$as_echo_n "(cached) " >&6
15142
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15143
/* end confdefs.h. */
15144
#include <locale.h>
15153
if ac_fn_c_try_link "$LINENO"; then :
15154
am_cv_val_LC_MESSAGES=yes
15156
am_cv_val_LC_MESSAGES=no
15158
rm -f core conftest.err conftest.$ac_objext \
15159
conftest$ac_exeext conftest.$ac_ext
15161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
15162
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
15163
if test $am_cv_val_LC_MESSAGES = yes; then
15165
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
15172
gt_cv_have_gettext=no
15178
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15179
if test "x$ac_cv_header_libintl_h" = xyes; then :
15180
gt_cv_func_dgettext_libintl="no"
15181
libintl_extra_libs=""
15184
# First check in libc
15186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
15187
$as_echo_n "checking for ngettext in libc... " >&6; }
15188
if ${gt_cv_func_ngettext_libc+:} false; then :
15189
$as_echo_n "(cached) " >&6
15191
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15192
/* end confdefs.h. */
15194
#include <libintl.h>
15199
return !ngettext ("","", 1)
15204
if ac_fn_c_try_link "$LINENO"; then :
15205
gt_cv_func_ngettext_libc=yes
15207
gt_cv_func_ngettext_libc=no
15209
rm -f core conftest.err conftest.$ac_objext \
15210
conftest$ac_exeext conftest.$ac_ext
15213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
15214
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
15216
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15217
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
15218
$as_echo_n "checking for dgettext in libc... " >&6; }
15219
if ${gt_cv_func_dgettext_libc+:} false; then :
15220
$as_echo_n "(cached) " >&6
15222
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15223
/* end confdefs.h. */
15225
#include <libintl.h>
15230
return !dgettext ("","")
15235
if ac_fn_c_try_link "$LINENO"; then :
15236
gt_cv_func_dgettext_libc=yes
15238
gt_cv_func_dgettext_libc=no
15240
rm -f core conftest.err conftest.$ac_objext \
15241
conftest$ac_exeext conftest.$ac_ext
15244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
15245
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
15248
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15249
for ac_func in bind_textdomain_codeset
15251
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15252
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15253
cat >>confdefs.h <<_ACEOF
15254
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
15263
# If we don't have everything we want, check in libintl
15265
if test "$gt_cv_func_dgettext_libc" != "yes" \
15266
|| test "$gt_cv_func_ngettext_libc" != "yes" \
15267
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
15269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
15270
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
15271
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
15272
$as_echo_n "(cached) " >&6
15274
ac_check_lib_save_LIBS=$LIBS
15275
LIBS="-lintl $LIBS"
15276
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277
/* end confdefs.h. */
15279
/* Override any GCC internal prototype to avoid an error.
15280
Use char because int might match the return type of a GCC
15281
builtin and then its argument prototype would still apply. */
15285
char bindtextdomain ();
15289
return bindtextdomain ();
15294
if ac_fn_c_try_link "$LINENO"; then :
15295
ac_cv_lib_intl_bindtextdomain=yes
15297
ac_cv_lib_intl_bindtextdomain=no
15299
rm -f core conftest.err conftest.$ac_objext \
15300
conftest$ac_exeext conftest.$ac_ext
15301
LIBS=$ac_check_lib_save_LIBS
15303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
15304
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
15305
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
15306
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15307
$as_echo_n "checking for ngettext in -lintl... " >&6; }
15308
if ${ac_cv_lib_intl_ngettext+:} false; then :
15309
$as_echo_n "(cached) " >&6
15311
ac_check_lib_save_LIBS=$LIBS
15312
LIBS="-lintl $LIBS"
15313
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15314
/* end confdefs.h. */
15316
/* Override any GCC internal prototype to avoid an error.
15317
Use char because int might match the return type of a GCC
15318
builtin and then its argument prototype would still apply. */
15326
return ngettext ();
15331
if ac_fn_c_try_link "$LINENO"; then :
15332
ac_cv_lib_intl_ngettext=yes
15334
ac_cv_lib_intl_ngettext=no
15336
rm -f core conftest.err conftest.$ac_objext \
15337
conftest$ac_exeext conftest.$ac_ext
15338
LIBS=$ac_check_lib_save_LIBS
15340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15341
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15342
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
15344
$as_echo_n "checking for dgettext in -lintl... " >&6; }
15345
if ${ac_cv_lib_intl_dgettext+:} false; then :
15346
$as_echo_n "(cached) " >&6
15348
ac_check_lib_save_LIBS=$LIBS
15349
LIBS="-lintl $LIBS"
15350
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15351
/* end confdefs.h. */
15353
/* Override any GCC internal prototype to avoid an error.
15354
Use char because int might match the return type of a GCC
15355
builtin and then its argument prototype would still apply. */
15363
return dgettext ();
15368
if ac_fn_c_try_link "$LINENO"; then :
15369
ac_cv_lib_intl_dgettext=yes
15371
ac_cv_lib_intl_dgettext=no
15373
rm -f core conftest.err conftest.$ac_objext \
15374
conftest$ac_exeext conftest.$ac_ext
15375
LIBS=$ac_check_lib_save_LIBS
15377
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
15378
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
15379
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
15380
gt_cv_func_dgettext_libintl=yes
15388
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
15389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
15390
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
15391
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
15393
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15394
$as_echo_n "checking for ngettext in -lintl... " >&6; }
15395
if ${ac_cv_lib_intl_ngettext+:} false; then :
15396
$as_echo_n "(cached) " >&6
15398
ac_check_lib_save_LIBS=$LIBS
15399
LIBS="-lintl -liconv $LIBS"
15400
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15401
/* end confdefs.h. */
15403
/* Override any GCC internal prototype to avoid an error.
15404
Use char because int might match the return type of a GCC
15405
builtin and then its argument prototype would still apply. */
15413
return ngettext ();
15418
if ac_fn_c_try_link "$LINENO"; then :
15419
ac_cv_lib_intl_ngettext=yes
15421
ac_cv_lib_intl_ngettext=no
15423
rm -f core conftest.err conftest.$ac_objext \
15424
conftest$ac_exeext conftest.$ac_ext
15425
LIBS=$ac_check_lib_save_LIBS
15427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15428
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15429
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
15431
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
15432
if ${ac_cv_lib_intl_dcgettext+:} false; then :
15433
$as_echo_n "(cached) " >&6
15435
ac_check_lib_save_LIBS=$LIBS
15436
LIBS="-lintl -liconv $LIBS"
15437
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15438
/* end confdefs.h. */
15440
/* Override any GCC internal prototype to avoid an error.
15441
Use char because int might match the return type of a GCC
15442
builtin and then its argument prototype would still apply. */
15450
return dcgettext ();
15455
if ac_fn_c_try_link "$LINENO"; then :
15456
ac_cv_lib_intl_dcgettext=yes
15458
ac_cv_lib_intl_dcgettext=no
15460
rm -f core conftest.err conftest.$ac_objext \
15461
conftest$ac_exeext conftest.$ac_ext
15462
LIBS=$ac_check_lib_save_LIBS
15464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
15465
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
15466
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
15467
gt_cv_func_dgettext_libintl=yes
15468
libintl_extra_libs=-liconv
15480
# If we found libintl, then check in it for bind_textdomain_codeset();
15481
# we'll prefer libc if neither have bind_textdomain_codeset(),
15482
# and both have dgettext and ngettext
15484
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
15485
glib_save_LIBS="$LIBS"
15486
LIBS="$LIBS -lintl $libintl_extra_libs"
15487
unset ac_cv_func_bind_textdomain_codeset
15488
for ac_func in bind_textdomain_codeset
15490
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15491
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15492
cat >>confdefs.h <<_ACEOF
15493
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
15499
LIBS="$glib_save_LIBS"
15501
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
15502
gt_cv_func_dgettext_libc=no
15504
if test "$gt_cv_func_dgettext_libc" = "yes" \
15505
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
15506
gt_cv_func_dgettext_libintl=no
15512
if test "$gt_cv_func_dgettext_libc" = "yes" \
15513
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
15514
gt_cv_have_gettext=yes
15517
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
15518
INTLLIBS="-lintl $libintl_extra_libs"
15521
if test "$gt_cv_have_gettext" = "yes"; then
15523
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15525
# Extract the first word of "msgfmt", so it can be a program name with args.
15526
set dummy msgfmt; ac_word=$2
15527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15528
$as_echo_n "checking for $ac_word... " >&6; }
15529
if ${ac_cv_path_MSGFMT+:} false; then :
15530
$as_echo_n "(cached) " >&6
15534
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15537
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15538
for ac_dir in $PATH; do
15539
test -z "$ac_dir" && ac_dir=.
15540
if test -f $ac_dir/$ac_word; then
15541
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
15542
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
15548
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
15552
MSGFMT="$ac_cv_path_MSGFMT"
15553
if test "$MSGFMT" != "no"; then
15554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15555
$as_echo "$MSGFMT" >&6; }
15557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15558
$as_echo "no" >&6; }
15560
if test "$MSGFMT" != "no"; then
15561
glib_save_LIBS="$LIBS"
15562
LIBS="$LIBS $INTLLIBS"
15563
for ac_func in dcgettext
15565
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
15566
if test "x$ac_cv_func_dcgettext" = xyes; then :
15567
cat >>confdefs.h <<_ACEOF
15568
#define HAVE_DCGETTEXT 1
15575
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15576
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
15577
cat >conftest.foo <<_ACEOF
15581
"Content-Type: text/plain; charset=UTF-8\n"
15582
"Project-Id-Version: test 1.0\n"
15583
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
15584
"Last-Translator: test <foo@bar.xx>\n"
15585
"Language-Team: C <LL@li.org>\n"
15586
"MIME-Version: 1.0\n"
15587
"Content-Transfer-Encoding: 8bit\n"
15590
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
15591
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15593
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15594
test $ac_status = 0; }; then
15595
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15596
$as_echo "yes" >&6; }
15597
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15598
$as_echo "no" >&6; }
15599
echo "$as_me: failed input was:" >&5
15600
sed 's/^/| /' conftest.foo >&5
15603
# Extract the first word of "gmsgfmt", so it can be a program name with args.
15604
set dummy gmsgfmt; ac_word=$2
15605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15606
$as_echo_n "checking for $ac_word... " >&6; }
15607
if ${ac_cv_path_GMSGFMT+:} false; then :
15608
$as_echo_n "(cached) " >&6
15612
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15615
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15616
for as_dir in $PATH
15619
test -z "$as_dir" && as_dir=.
15620
for ac_exec_ext in '' $ac_executable_extensions; do
15621
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15622
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15623
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15630
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15634
GMSGFMT=$ac_cv_path_GMSGFMT
15635
if test -n "$GMSGFMT"; then
15636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15637
$as_echo "$GMSGFMT" >&6; }
15639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15640
$as_echo "no" >&6; }
15644
# Extract the first word of "xgettext", so it can be a program name with args.
15645
set dummy xgettext; ac_word=$2
15646
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15647
$as_echo_n "checking for $ac_word... " >&6; }
15648
if ${ac_cv_path_XGETTEXT+:} false; then :
15649
$as_echo_n "(cached) " >&6
15651
case "$XGETTEXT" in
15653
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15656
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15657
for ac_dir in $PATH; do
15658
test -z "$ac_dir" && ac_dir=.
15659
if test -f $ac_dir/$ac_word; then
15660
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15661
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15667
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15671
XGETTEXT="$ac_cv_path_XGETTEXT"
15672
if test "$XGETTEXT" != ":"; then
15673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15674
$as_echo "$XGETTEXT" >&6; }
15676
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15677
$as_echo "no" >&6; }
15680
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15681
/* end confdefs.h. */
15686
extern int _nl_msg_cat_cntr;
15687
return _nl_msg_cat_cntr
15692
if ac_fn_c_try_link "$LINENO"; then :
15698
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15699
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15718
rm -f core conftest.err conftest.$ac_objext \
15719
conftest$ac_exeext conftest.$ac_ext
15720
LIBS="$glib_save_LIBS"
15723
gt_cv_have_gettext=no
15731
if test "$gt_cv_have_gettext" = "yes" ; then
15733
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15737
if test "$XGETTEXT" != ":"; then
15738
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15742
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15747
# We need to process the po/ directory.
15750
ac_config_commands="$ac_config_commands default-1"
15753
for lang in $ALL_LINGUAS; do
15754
GMOFILES="$GMOFILES $lang.gmo"
15755
POFILES="$POFILES $lang.po"
15770
if test "$gt_cv_have_gettext" = "yes"; then
15771
if test "x$ALL_LINGUAS" = "x"; then
15774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15775
$as_echo_n "checking for catalogs to be installed... " >&6; }
15777
for presentlang in $ALL_LINGUAS; do
15779
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15780
desiredlanguages="$LINGUAS"
15782
desiredlanguages="$ALL_LINGUAS"
15784
for desiredlang in $desiredlanguages; do
15785
# Use the presentlang catalog if desiredlang is
15786
# a. equal to presentlang, or
15787
# b. a variant of presentlang (because in this case,
15788
# presentlang can be used as a fallback for messages
15789
# which are not translated in the desiredlang catalog).
15790
case "$desiredlang" in
15791
"$presentlang"*) useit=yes;;
15794
if test $useit = yes; then
15795
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15798
LINGUAS=$NEW_LINGUAS
15799
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15800
$as_echo "$LINGUAS" >&6; }
15803
if test -n "$LINGUAS"; then
15804
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15809
if test -n "$ac_aux_dir"; then
15810
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15812
if test -z "$MKINSTALLDIRS"; then
15813
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15817
test -d po || mkdir po
15818
if test "x$srcdir" != "x."; then
15819
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15820
posrcprefix="$srcdir/"
15822
posrcprefix="../$srcdir/"
15828
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15829
< $srcdir/po/POTFILES.in > po/POTFILES
15837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iso-codes" >&5
15838
$as_echo_n "checking for iso-codes... " >&6; }
15839
if test -n "$PKG_CONFIG" && \
15840
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iso-codes\""; } >&5
15841
($PKG_CONFIG --exists --print-errors "iso-codes") 2>&5
15843
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15844
test $ac_status = 0; }; then
15845
have_iso_codes="yes"
15847
$as_echo "#define HAVE_ISO_CODES 1" >>confdefs.h
15849
ISO_CODES_PREFIX=`$PKG_CONFIG --variable=prefix iso-codes`
15850
ISO_CODES_LOCATION="$ISO_CODES_PREFIX/share/xml/iso-codes"
15851
ISO_CODES_LOCALEDIR="$ISO_CODES_PREFIX/$DATADIRNAME/locale"
15853
have_iso_codes="no (iso-codes package not found)"
15855
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_iso_codes" >&5
15856
$as_echo "$have_iso_codes" >&6; }
15862
###############################
15863
# Checks for required libraries
15864
###############################
15868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BABL" >&5
15869
$as_echo_n "checking for BABL... " >&6; }
15871
if test -n "$BABL_CFLAGS"; then
15872
pkg_cv_BABL_CFLAGS="$BABL_CFLAGS"
15873
elif test -n "$PKG_CONFIG"; then
15874
if test -n "$PKG_CONFIG" && \
15875
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"babl >= 0.1.10\""; } >&5
15876
($PKG_CONFIG --exists --print-errors "babl >= 0.1.10") 2>&5
15878
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15879
test $ac_status = 0; }; then
15880
pkg_cv_BABL_CFLAGS=`$PKG_CONFIG --cflags "babl >= 0.1.10" 2>/dev/null`
15881
test "x$?" != "x0" && pkg_failed=yes
15888
if test -n "$BABL_LIBS"; then
15889
pkg_cv_BABL_LIBS="$BABL_LIBS"
15890
elif test -n "$PKG_CONFIG"; then
15891
if test -n "$PKG_CONFIG" && \
15892
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"babl >= 0.1.10\""; } >&5
15893
($PKG_CONFIG --exists --print-errors "babl >= 0.1.10") 2>&5
15895
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15896
test $ac_status = 0; }; then
15897
pkg_cv_BABL_LIBS=`$PKG_CONFIG --libs "babl >= 0.1.10" 2>/dev/null`
15898
test "x$?" != "x0" && pkg_failed=yes
15908
if test $pkg_failed = yes; then
15909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15910
$as_echo "no" >&6; }
15912
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15913
_pkg_short_errors_supported=yes
15915
_pkg_short_errors_supported=no
15917
if test $_pkg_short_errors_supported = yes; then
15918
BABL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "babl >= 0.1.10" 2>&1`
15920
BABL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "babl >= 0.1.10" 2>&1`
15922
# Put the nasty error message in config.log where it belongs
15923
echo "$BABL_PKG_ERRORS" >&5
15925
as_fn_error $? "Package requirements (babl >= 0.1.10) were not met:
15929
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15930
installed software in a non-standard prefix.
15932
Alternatively, you may set the environment variables BABL_CFLAGS
15933
and BABL_LIBS to avoid the need to call pkg-config.
15934
See the pkg-config man page for more details." "$LINENO" 5
15935
elif test $pkg_failed = untried; then
15936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15937
$as_echo "no" >&6; }
15938
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15939
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15940
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15941
is in your PATH or set the PKG_CONFIG environment variable to the full
15942
path to pkg-config.
15944
Alternatively, you may set the environment variables BABL_CFLAGS
15945
and BABL_LIBS to avoid the need to call pkg-config.
15946
See the pkg-config man page for more details.
15948
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15949
See \`config.log' for more details" "$LINENO" 5; }
15951
BABL_CFLAGS=$pkg_cv_BABL_CFLAGS
15952
BABL_LIBS=$pkg_cv_BABL_LIBS
15953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15954
$as_echo "yes" >&6; }
15959
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GEGL" >&5
15960
$as_echo_n "checking for GEGL... " >&6; }
15962
if test -n "$GEGL_CFLAGS"; then
15963
pkg_cv_GEGL_CFLAGS="$GEGL_CFLAGS"
15964
elif test -n "$PKG_CONFIG"; then
15965
if test -n "$PKG_CONFIG" && \
15966
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gegl-0.2 >= 0.2.0\""; } >&5
15967
($PKG_CONFIG --exists --print-errors "gegl-0.2 >= 0.2.0") 2>&5
15969
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15970
test $ac_status = 0; }; then
15971
pkg_cv_GEGL_CFLAGS=`$PKG_CONFIG --cflags "gegl-0.2 >= 0.2.0" 2>/dev/null`
15972
test "x$?" != "x0" && pkg_failed=yes
15979
if test -n "$GEGL_LIBS"; then
15980
pkg_cv_GEGL_LIBS="$GEGL_LIBS"
15981
elif test -n "$PKG_CONFIG"; then
15982
if test -n "$PKG_CONFIG" && \
15983
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gegl-0.2 >= 0.2.0\""; } >&5
15984
($PKG_CONFIG --exists --print-errors "gegl-0.2 >= 0.2.0") 2>&5
15986
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15987
test $ac_status = 0; }; then
15988
pkg_cv_GEGL_LIBS=`$PKG_CONFIG --libs "gegl-0.2 >= 0.2.0" 2>/dev/null`
15989
test "x$?" != "x0" && pkg_failed=yes
15999
if test $pkg_failed = yes; then
16000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16001
$as_echo "no" >&6; }
16003
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16004
_pkg_short_errors_supported=yes
16006
_pkg_short_errors_supported=no
16008
if test $_pkg_short_errors_supported = yes; then
16009
GEGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gegl-0.2 >= 0.2.0" 2>&1`
16011
GEGL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gegl-0.2 >= 0.2.0" 2>&1`
16013
# Put the nasty error message in config.log where it belongs
16014
echo "$GEGL_PKG_ERRORS" >&5
16016
as_fn_error $? "Package requirements (gegl-0.2 >= 0.2.0) were not met:
16020
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16021
installed software in a non-standard prefix.
16023
Alternatively, you may set the environment variables GEGL_CFLAGS
16024
and GEGL_LIBS to avoid the need to call pkg-config.
16025
See the pkg-config man page for more details." "$LINENO" 5
16026
elif test $pkg_failed = untried; then
16027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16028
$as_echo "no" >&6; }
16029
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16030
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16031
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16032
is in your PATH or set the PKG_CONFIG environment variable to the full
16033
path to pkg-config.
16035
Alternatively, you may set the environment variables GEGL_CFLAGS
16036
and GEGL_LIBS to avoid the need to call pkg-config.
16037
See the pkg-config man page for more details.
16039
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16040
See \`config.log' for more details" "$LINENO" 5; }
16042
GEGL_CFLAGS=$pkg_cv_GEGL_CFLAGS
16043
GEGL_LIBS=$pkg_cv_GEGL_LIBS
16044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16045
$as_echo "yes" >&6; }
16050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATK" >&5
16051
$as_echo_n "checking for ATK... " >&6; }
16053
if test -n "$ATK_CFLAGS"; then
16054
pkg_cv_ATK_CFLAGS="$ATK_CFLAGS"
16055
elif test -n "$PKG_CONFIG"; then
16056
if test -n "$PKG_CONFIG" && \
16057
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atk >= 2.2.0\""; } >&5
16058
($PKG_CONFIG --exists --print-errors "atk >= 2.2.0") 2>&5
16060
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16061
test $ac_status = 0; }; then
16062
pkg_cv_ATK_CFLAGS=`$PKG_CONFIG --cflags "atk >= 2.2.0" 2>/dev/null`
16063
test "x$?" != "x0" && pkg_failed=yes
16070
if test -n "$ATK_LIBS"; then
16071
pkg_cv_ATK_LIBS="$ATK_LIBS"
16072
elif test -n "$PKG_CONFIG"; then
16073
if test -n "$PKG_CONFIG" && \
16074
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atk >= 2.2.0\""; } >&5
16075
($PKG_CONFIG --exists --print-errors "atk >= 2.2.0") 2>&5
16077
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16078
test $ac_status = 0; }; then
16079
pkg_cv_ATK_LIBS=`$PKG_CONFIG --libs "atk >= 2.2.0" 2>/dev/null`
16080
test "x$?" != "x0" && pkg_failed=yes
16090
if test $pkg_failed = yes; then
16091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16092
$as_echo "no" >&6; }
16094
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16095
_pkg_short_errors_supported=yes
16097
_pkg_short_errors_supported=no
16099
if test $_pkg_short_errors_supported = yes; then
16100
ATK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "atk >= 2.2.0" 2>&1`
16102
ATK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "atk >= 2.2.0" 2>&1`
16104
# Put the nasty error message in config.log where it belongs
16105
echo "$ATK_PKG_ERRORS" >&5
16107
as_fn_error $? "Package requirements (atk >= 2.2.0) were not met:
16111
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16112
installed software in a non-standard prefix.
16114
Alternatively, you may set the environment variables ATK_CFLAGS
16115
and ATK_LIBS to avoid the need to call pkg-config.
16116
See the pkg-config man page for more details." "$LINENO" 5
16117
elif test $pkg_failed = untried; then
16118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16119
$as_echo "no" >&6; }
16120
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16121
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16122
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16123
is in your PATH or set the PKG_CONFIG environment variable to the full
16124
path to pkg-config.
16126
Alternatively, you may set the environment variables ATK_CFLAGS
16127
and ATK_LIBS to avoid the need to call pkg-config.
16128
See the pkg-config man page for more details.
16130
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16131
See \`config.log' for more details" "$LINENO" 5; }
16133
ATK_CFLAGS=$pkg_cv_ATK_CFLAGS
16134
ATK_LIBS=$pkg_cv_ATK_LIBS
16135
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16136
$as_echo "yes" >&6; }
16140
# Check whether --enable-glibtest was given.
16141
if test "${enable_glibtest+set}" = set; then :
16142
enableval=$enable_glibtest;
16144
enable_glibtest=yes
16148
pkg_config_args=glib-2.0
16149
for module in . gobject gthread
16153
pkg_config_args="$pkg_config_args gmodule-2.0"
16156
pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
16159
pkg_config_args="$pkg_config_args gobject-2.0"
16162
pkg_config_args="$pkg_config_args gthread-2.0"
16165
pkg_config_args="$pkg_config_args $module-2.0"
16177
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16178
if test -n "$ac_tool_prefix"; then
16179
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16180
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16181
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16182
$as_echo_n "checking for $ac_word... " >&6; }
16183
if ${ac_cv_path_PKG_CONFIG+:} false; then :
16184
$as_echo_n "(cached) " >&6
16186
case $PKG_CONFIG in
16188
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16191
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16192
for as_dir in $PATH
16195
test -z "$as_dir" && as_dir=.
16196
for ac_exec_ext in '' $ac_executable_extensions; do
16197
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16198
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16199
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16209
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16210
if test -n "$PKG_CONFIG"; then
16211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16212
$as_echo "$PKG_CONFIG" >&6; }
16214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16215
$as_echo "no" >&6; }
16220
if test -z "$ac_cv_path_PKG_CONFIG"; then
16221
ac_pt_PKG_CONFIG=$PKG_CONFIG
16222
# Extract the first word of "pkg-config", so it can be a program name with args.
16223
set dummy pkg-config; ac_word=$2
16224
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16225
$as_echo_n "checking for $ac_word... " >&6; }
16226
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16227
$as_echo_n "(cached) " >&6
16229
case $ac_pt_PKG_CONFIG in
16231
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16234
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16235
for as_dir in $PATH
16238
test -z "$as_dir" && as_dir=.
16239
for ac_exec_ext in '' $ac_executable_extensions; do
16240
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16241
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16242
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16252
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16253
if test -n "$ac_pt_PKG_CONFIG"; then
16254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16255
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
16257
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16258
$as_echo "no" >&6; }
16261
if test "x$ac_pt_PKG_CONFIG" = x; then
16264
case $cross_compiling:$ac_tool_warned in
16266
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16267
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16268
ac_tool_warned=yes ;;
16270
PKG_CONFIG=$ac_pt_PKG_CONFIG
16273
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16277
if test -n "$PKG_CONFIG"; then
16278
_pkg_min_version=0.16
16279
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16280
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16281
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16283
$as_echo "yes" >&6; }
16285
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16286
$as_echo "no" >&6; }
16293
if test "x$PKG_CONFIG" = x ; then
16298
min_glib_version=2.30.2
16299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
16300
$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
16302
if test x$PKG_CONFIG != xno ; then
16303
## don't try to run the test against uninstalled libtool libs
16304
if $PKG_CONFIG --uninstalled $pkg_config_args; then
16305
echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
16309
if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
16316
if test x"$no_glib" = x ; then
16317
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
16318
GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
16319
GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
16320
GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
16322
GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
16323
GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
16324
glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
16325
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
16326
glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
16327
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
16328
glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
16329
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
16330
if test "x$enable_glibtest" = "xyes" ; then
16331
ac_save_CFLAGS="$CFLAGS"
16332
ac_save_LIBS="$LIBS"
16333
CFLAGS="$CFLAGS $GLIB_CFLAGS"
16334
LIBS="$GLIB_LIBS $LIBS"
16335
rm -f conf.glibtest
16336
if test "$cross_compiling" = yes; then :
16337
echo $ac_n "cross compiling; assumed OK... $ac_c"
16339
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16340
/* end confdefs.h. */
16344
#include <stdlib.h>
16349
unsigned int major, minor, micro;
16352
fclose (fopen ("conf.glibtest", "w"));
16354
/* HP/UX 9 (%@#!) writes to sscanf strings */
16355
tmp_version = g_strdup("$min_glib_version");
16356
if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, µ) != 3) {
16357
printf("%s, bad version string\n", "$min_glib_version");
16361
if ((glib_major_version != $glib_config_major_version) ||
16362
(glib_minor_version != $glib_config_minor_version) ||
16363
(glib_micro_version != $glib_config_micro_version))
16365
printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
16366
$glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
16367
glib_major_version, glib_minor_version, glib_micro_version);
16368
printf ("*** was found! If pkg-config was correct, then it is best\n");
16369
printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
16370
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
16371
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
16372
printf("*** required on your system.\n");
16373
printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
16374
printf("*** to point to the correct configuration files\n");
16376
else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
16377
(glib_minor_version != GLIB_MINOR_VERSION) ||
16378
(glib_micro_version != GLIB_MICRO_VERSION))
16380
printf("*** GLIB header files (version %d.%d.%d) do not match\n",
16381
GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
16382
printf("*** library (version %d.%d.%d)\n",
16383
glib_major_version, glib_minor_version, glib_micro_version);
16387
if ((glib_major_version > major) ||
16388
((glib_major_version == major) && (glib_minor_version > minor)) ||
16389
((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
16395
printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
16396
glib_major_version, glib_minor_version, glib_micro_version);
16397
printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
16398
major, minor, micro);
16399
printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
16401
printf("*** If you have already installed a sufficiently new version, this error\n");
16402
printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
16403
printf("*** being found. The easiest way to fix this is to remove the old version\n");
16404
printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
16405
printf("*** correct copy of pkg-config. (In this case, you will have to\n");
16406
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
16407
printf("*** so that the correct libraries are found at run-time))\n");
16414
if ac_fn_c_try_run "$LINENO"; then :
16419
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16420
conftest.$ac_objext conftest.beam conftest.$ac_ext
16423
CFLAGS="$ac_save_CFLAGS"
16424
LIBS="$ac_save_LIBS"
16427
if test "x$no_glib" = x ; then
16428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
16429
$as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
16432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16433
$as_echo "no" >&6; }
16434
if test "$PKG_CONFIG" = "no" ; then
16435
echo "*** A new enough version of pkg-config was not found."
16436
echo "*** See http://www.freedesktop.org/software/pkgconfig/"
16438
if test -f conf.glibtest ; then
16441
echo "*** Could not run GLIB test program, checking why..."
16442
ac_save_CFLAGS="$CFLAGS"
16443
ac_save_LIBS="$LIBS"
16444
CFLAGS="$CFLAGS $GLIB_CFLAGS"
16445
LIBS="$LIBS $GLIB_LIBS"
16446
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16447
/* end confdefs.h. */
16455
return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
16460
if ac_fn_c_try_link "$LINENO"; then :
16461
echo "*** The test program compiled, but did not run. This usually means"
16462
echo "*** that the run-time linker is not finding GLIB or finding the wrong"
16463
echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
16464
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
16465
echo "*** to the installed location Also, make sure you have run ldconfig if that"
16466
echo "*** is required on your system"
16468
echo "*** If you have an old version installed, it is best to remove it, although"
16469
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
16471
echo "*** The test program failed to compile or link. See the file config.log for the"
16472
echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
16474
rm -f core conftest.err conftest.$ac_objext \
16475
conftest$ac_exeext conftest.$ac_ext
16476
CFLAGS="$ac_save_CFLAGS"
16477
LIBS="$ac_save_LIBS"
16485
GLIB_COMPILE_RESOURCES=""
16486
as_fn_error $? "Test for GLIB failed. See the file 'INSTALL' for help." "$LINENO" 5
16494
rm -f conf.glibtest
16499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE_NO_EXPORT" >&5
16500
$as_echo_n "checking for GMODULE_NO_EXPORT... " >&6; }
16502
if test -n "$GMODULE_NO_EXPORT_CFLAGS"; then
16503
pkg_cv_GMODULE_NO_EXPORT_CFLAGS="$GMODULE_NO_EXPORT_CFLAGS"
16504
elif test -n "$PKG_CONFIG"; then
16505
if test -n "$PKG_CONFIG" && \
16506
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-no-export-2.0\""; } >&5
16507
($PKG_CONFIG --exists --print-errors "gmodule-no-export-2.0") 2>&5
16509
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16510
test $ac_status = 0; }; then
16511
pkg_cv_GMODULE_NO_EXPORT_CFLAGS=`$PKG_CONFIG --cflags "gmodule-no-export-2.0" 2>/dev/null`
16512
test "x$?" != "x0" && pkg_failed=yes
16519
if test -n "$GMODULE_NO_EXPORT_LIBS"; then
16520
pkg_cv_GMODULE_NO_EXPORT_LIBS="$GMODULE_NO_EXPORT_LIBS"
16521
elif test -n "$PKG_CONFIG"; then
16522
if test -n "$PKG_CONFIG" && \
16523
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-no-export-2.0\""; } >&5
16524
($PKG_CONFIG --exists --print-errors "gmodule-no-export-2.0") 2>&5
16526
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16527
test $ac_status = 0; }; then
16528
pkg_cv_GMODULE_NO_EXPORT_LIBS=`$PKG_CONFIG --libs "gmodule-no-export-2.0" 2>/dev/null`
16529
test "x$?" != "x0" && pkg_failed=yes
16539
if test $pkg_failed = yes; then
16540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16541
$as_echo "no" >&6; }
16543
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16544
_pkg_short_errors_supported=yes
16546
_pkg_short_errors_supported=no
16548
if test $_pkg_short_errors_supported = yes; then
16549
GMODULE_NO_EXPORT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-no-export-2.0" 2>&1`
16551
GMODULE_NO_EXPORT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-no-export-2.0" 2>&1`
16553
# Put the nasty error message in config.log where it belongs
16554
echo "$GMODULE_NO_EXPORT_PKG_ERRORS" >&5
16556
as_fn_error $? "Package requirements (gmodule-no-export-2.0) were not met:
16558
$GMODULE_NO_EXPORT_PKG_ERRORS
16560
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16561
installed software in a non-standard prefix.
16563
Alternatively, you may set the environment variables GMODULE_NO_EXPORT_CFLAGS
16564
and GMODULE_NO_EXPORT_LIBS to avoid the need to call pkg-config.
16565
See the pkg-config man page for more details." "$LINENO" 5
16566
elif test $pkg_failed = untried; then
16567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16568
$as_echo "no" >&6; }
16569
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16570
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16571
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16572
is in your PATH or set the PKG_CONFIG environment variable to the full
16573
path to pkg-config.
16575
Alternatively, you may set the environment variables GMODULE_NO_EXPORT_CFLAGS
16576
and GMODULE_NO_EXPORT_LIBS to avoid the need to call pkg-config.
16577
See the pkg-config man page for more details.
16579
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16580
See \`config.log' for more details" "$LINENO" 5; }
16582
GMODULE_NO_EXPORT_CFLAGS=$pkg_cv_GMODULE_NO_EXPORT_CFLAGS
16583
GMODULE_NO_EXPORT_LIBS=$pkg_cv_GMODULE_NO_EXPORT_LIBS
16584
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16585
$as_echo "yes" >&6; }
16591
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
16592
$as_echo_n "checking for GIO... " >&6; }
16594
if test -n "$GIO_CFLAGS"; then
16595
pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
16596
elif test -n "$PKG_CONFIG"; then
16597
if test -n "$PKG_CONFIG" && \
16598
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
16599
($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
16601
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16602
test $ac_status = 0; }; then
16603
pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
16604
test "x$?" != "x0" && pkg_failed=yes
16611
if test -n "$GIO_LIBS"; then
16612
pkg_cv_GIO_LIBS="$GIO_LIBS"
16613
elif test -n "$PKG_CONFIG"; then
16614
if test -n "$PKG_CONFIG" && \
16615
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
16616
($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
16618
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16619
test $ac_status = 0; }; then
16620
pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
16621
test "x$?" != "x0" && pkg_failed=yes
16631
if test $pkg_failed = yes; then
16632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16633
$as_echo "no" >&6; }
16635
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16636
_pkg_short_errors_supported=yes
16638
_pkg_short_errors_supported=no
16640
if test $_pkg_short_errors_supported = yes; then
16641
GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0" 2>&1`
16643
GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0" 2>&1`
16645
# Put the nasty error message in config.log where it belongs
16646
echo "$GIO_PKG_ERRORS" >&5
16648
as_fn_error $? "Package requirements (gio-2.0) were not met:
16652
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16653
installed software in a non-standard prefix.
16655
Alternatively, you may set the environment variables GIO_CFLAGS
16656
and GIO_LIBS to avoid the need to call pkg-config.
16657
See the pkg-config man page for more details." "$LINENO" 5
16658
elif test $pkg_failed = untried; then
16659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16660
$as_echo "no" >&6; }
16661
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16662
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16663
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16664
is in your PATH or set the PKG_CONFIG environment variable to the full
16665
path to pkg-config.
16667
Alternatively, you may set the environment variables GIO_CFLAGS
16668
and GIO_LIBS to avoid the need to call pkg-config.
16669
See the pkg-config man page for more details.
16671
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16672
See \`config.log' for more details" "$LINENO" 5; }
16674
GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
16675
GIO_LIBS=$pkg_cv_GIO_LIBS
16676
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16677
$as_echo "yes" >&6; }
16681
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if GLib is version 2.31.0 or newer" >&5
16682
$as_echo_n "checking if GLib is version 2.31.0 or newer... " >&6; }
16683
if $PKG_CONFIG --atleast-version=2.31.0 glib-2.0; then
16688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_glib_2_31" >&5
16689
$as_echo "$have_glib_2_31" >&6; }
16692
# Check for bind_textdomain_codeset, including -lintl if GLib brings it in.
16693
gimp_save_LIBS=$LIBS
16694
LIBS="$LIBS $GLIB_LIBS"
16695
for ac_func in bind_textdomain_codeset
16697
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
16698
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
16699
cat >>confdefs.h <<_ACEOF
16700
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
16705
*** Check for bind_textdomain_codeset() failed! This is required.
16710
LIBS=$gimp_save_LIBS
16713
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
16714
$as_echo_n "checking for X... " >&6; }
16717
# Check whether --with-x was given.
16718
if test "${with_x+set}" = set; then :
16722
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
16723
if test "x$with_x" = xno; then
16724
# The user explicitly disabled X.
16727
case $x_includes,$x_libraries in #(
16728
*\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
16729
*,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
16730
$as_echo_n "(cached) " >&6
16732
# One or both of the vars are not set, and there is no cached value.
16733
ac_x_includes=no ac_x_libraries=no
16734
rm -f -r conftest.dir
16735
if mkdir conftest.dir; then
16737
cat >Imakefile <<'_ACEOF'
16739
@echo incroot='${INCROOT}'
16741
@echo usrlibdir='${USRLIBDIR}'
16743
@echo libdir='${LIBDIR}'
16745
if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
16746
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
16747
for ac_var in incroot usrlibdir libdir; do
16748
eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
16750
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
16751
for ac_extension in a so sl dylib la dll; do
16752
if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
16753
test -f "$ac_im_libdir/libX11.$ac_extension"; then
16754
ac_im_usrlibdir=$ac_im_libdir; break
16757
# Screen out bogus values from the imake configuration. They are
16758
# bogus both because they are the default anyway, and because
16759
# using them would break gcc on systems where it needs fixed includes.
16760
case $ac_im_incroot in
16761
/usr/include) ac_x_includes= ;;
16762
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
16764
case $ac_im_usrlibdir in
16765
/usr/lib | /usr/lib64 | /lib | /lib64) ;;
16766
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
16770
rm -f -r conftest.dir
16773
# Standard set of common directories for X headers.
16774
# Check X11 before X11Rn because it is often a symlink to the current release.
16788
/usr/local/X11/include
16789
/usr/local/X11R7/include
16790
/usr/local/X11R6/include
16791
/usr/local/X11R5/include
16792
/usr/local/X11R4/include
16794
/usr/local/include/X11
16795
/usr/local/include/X11R7
16796
/usr/local/include/X11R6
16797
/usr/local/include/X11R5
16798
/usr/local/include/X11R4
16802
/usr/XFree86/include/X11
16806
/usr/unsupported/include
16807
/usr/athena/include
16808
/usr/local/x11r5/include
16809
/usr/lpp/Xamples/include
16811
/usr/openwin/include
16812
/usr/openwin/share/include'
16814
if test "$ac_x_includes" = no; then
16815
# Guess where to find include files, by looking for Xlib.h.
16816
# First, try using that file with no special directory specified.
16817
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16818
/* end confdefs.h. */
16819
#include <X11/Xlib.h>
16821
if ac_fn_c_try_cpp "$LINENO"; then :
16822
# We can compile using X headers with no special include directory.
16825
for ac_dir in $ac_x_header_dirs; do
16826
if test -r "$ac_dir/X11/Xlib.h"; then
16827
ac_x_includes=$ac_dir
16832
rm -f conftest.err conftest.i conftest.$ac_ext
16833
fi # $ac_x_includes = no
16835
if test "$ac_x_libraries" = no; then
16836
# Check for the libraries.
16837
# See if we find them without any special options.
16838
# Don't add to $LIBS permanently.
16841
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16842
/* end confdefs.h. */
16843
#include <X11/Xlib.h>
16852
if ac_fn_c_try_link "$LINENO"; then :
16854
# We can link X programs with no special library path.
16858
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
16860
# Don't even attempt the hair of trying to link an X program!
16861
for ac_extension in a so sl dylib la dll; do
16862
if test -r "$ac_dir/libX11.$ac_extension"; then
16863
ac_x_libraries=$ac_dir
16869
rm -f core conftest.err conftest.$ac_objext \
16870
conftest$ac_exeext conftest.$ac_ext
16871
fi # $ac_x_libraries = no
16873
case $ac_x_includes,$ac_x_libraries in #(
16874
no,* | *,no | *\'*)
16875
# Didn't find X, or a directory has "'" in its name.
16876
ac_cv_have_x="have_x=no";; #(
16878
# Record where we found X for the cache.
16879
ac_cv_have_x="have_x=yes\
16880
ac_x_includes='$ac_x_includes'\
16881
ac_x_libraries='$ac_x_libraries'"
16887
eval "$ac_cv_have_x"
16890
if test "$have_x" != yes; then
16891
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
16892
$as_echo "$have_x" >&6; }
16895
# If each of the values was on the command line, it overrides each guess.
16896
test "x$x_includes" = xNONE && x_includes=$ac_x_includes
16897
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
16898
# Update the cache value to reflect the command line values.
16899
ac_cv_have_x="have_x=yes\
16900
ac_x_includes='$x_includes'\
16901
ac_x_libraries='$x_libraries'"
16902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
16903
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
16906
if test "$no_x" = yes; then
16907
# Not all programs may use this symbol, but it does not hurt to define it.
16909
$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
16911
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
16913
if test -n "$x_includes"; then
16914
X_CFLAGS="$X_CFLAGS -I$x_includes"
16917
# It would also be nice to do this for all -L options, not just this one.
16918
if test -n "$x_libraries"; then
16919
X_LIBS="$X_LIBS -L$x_libraries"
16920
# For Solaris; some versions of Sun CC require a space after -R and
16921
# others require no space. Words are not sufficient . . . .
16922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
16923
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
16924
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
16925
ac_xsave_c_werror_flag=$ac_c_werror_flag
16926
ac_c_werror_flag=yes
16927
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16928
/* end confdefs.h. */
16938
if ac_fn_c_try_link "$LINENO"; then :
16939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16940
$as_echo "no" >&6; }
16941
X_LIBS="$X_LIBS -R$x_libraries"
16943
LIBS="$ac_xsave_LIBS -R $x_libraries"
16944
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945
/* end confdefs.h. */
16955
if ac_fn_c_try_link "$LINENO"; then :
16956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16957
$as_echo "yes" >&6; }
16958
X_LIBS="$X_LIBS -R $x_libraries"
16960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
16961
$as_echo "neither works" >&6; }
16963
rm -f core conftest.err conftest.$ac_objext \
16964
conftest$ac_exeext conftest.$ac_ext
16966
rm -f core conftest.err conftest.$ac_objext \
16967
conftest$ac_exeext conftest.$ac_ext
16968
ac_c_werror_flag=$ac_xsave_c_werror_flag
16969
LIBS=$ac_xsave_LIBS
16972
# Check for system-dependent libraries X programs must link with.
16973
# Do this before checking for the system-independent R6 libraries
16974
# (-lICE), since we may need -lsocket or whatever for X linking.
16976
if test "$ISC" = yes; then
16977
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
16979
# Martyn Johnson says this is needed for Ultrix, if the X
16980
# libraries were built with DECnet support. And Karl Berry says
16981
# the Alpha needs dnet_stub (dnet does not exist).
16982
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
16983
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16984
/* end confdefs.h. */
16986
/* Override any GCC internal prototype to avoid an error.
16987
Use char because int might match the return type of a GCC
16988
builtin and then its argument prototype would still apply. */
16992
char XOpenDisplay ();
16996
return XOpenDisplay ();
17001
if ac_fn_c_try_link "$LINENO"; then :
17004
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
17005
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
17006
if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
17007
$as_echo_n "(cached) " >&6
17009
ac_check_lib_save_LIBS=$LIBS
17010
LIBS="-ldnet $LIBS"
17011
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17012
/* end confdefs.h. */
17014
/* Override any GCC internal prototype to avoid an error.
17015
Use char because int might match the return type of a GCC
17016
builtin and then its argument prototype would still apply. */
17024
return dnet_ntoa ();
17029
if ac_fn_c_try_link "$LINENO"; then :
17030
ac_cv_lib_dnet_dnet_ntoa=yes
17032
ac_cv_lib_dnet_dnet_ntoa=no
17034
rm -f core conftest.err conftest.$ac_objext \
17035
conftest$ac_exeext conftest.$ac_ext
17036
LIBS=$ac_check_lib_save_LIBS
17038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
17039
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
17040
if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
17041
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
17044
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
17045
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
17046
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
17047
if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
17048
$as_echo_n "(cached) " >&6
17050
ac_check_lib_save_LIBS=$LIBS
17051
LIBS="-ldnet_stub $LIBS"
17052
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17053
/* end confdefs.h. */
17055
/* Override any GCC internal prototype to avoid an error.
17056
Use char because int might match the return type of a GCC
17057
builtin and then its argument prototype would still apply. */
17065
return dnet_ntoa ();
17070
if ac_fn_c_try_link "$LINENO"; then :
17071
ac_cv_lib_dnet_stub_dnet_ntoa=yes
17073
ac_cv_lib_dnet_stub_dnet_ntoa=no
17075
rm -f core conftest.err conftest.$ac_objext \
17076
conftest$ac_exeext conftest.$ac_ext
17077
LIBS=$ac_check_lib_save_LIBS
17079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
17080
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
17081
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
17082
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
17087
rm -f core conftest.err conftest.$ac_objext \
17088
conftest$ac_exeext conftest.$ac_ext
17089
LIBS="$ac_xsave_LIBS"
17091
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
17092
# to get the SysV transport functions.
17093
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
17095
# The nsl library prevents programs from opening the X display
17096
# on Irix 5.2, according to T.E. Dickey.
17097
# The functions gethostbyname, getservbyname, and inet_addr are
17098
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
17099
ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
17100
if test "x$ac_cv_func_gethostbyname" = xyes; then :
17104
if test $ac_cv_func_gethostbyname = no; then
17105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
17106
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
17107
if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
17108
$as_echo_n "(cached) " >&6
17110
ac_check_lib_save_LIBS=$LIBS
17112
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113
/* end confdefs.h. */
17115
/* Override any GCC internal prototype to avoid an error.
17116
Use char because int might match the return type of a GCC
17117
builtin and then its argument prototype would still apply. */
17121
char gethostbyname ();
17125
return gethostbyname ();
17130
if ac_fn_c_try_link "$LINENO"; then :
17131
ac_cv_lib_nsl_gethostbyname=yes
17133
ac_cv_lib_nsl_gethostbyname=no
17135
rm -f core conftest.err conftest.$ac_objext \
17136
conftest$ac_exeext conftest.$ac_ext
17137
LIBS=$ac_check_lib_save_LIBS
17139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
17140
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
17141
if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
17142
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
17145
if test $ac_cv_lib_nsl_gethostbyname = no; then
17146
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
17147
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
17148
if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
17149
$as_echo_n "(cached) " >&6
17151
ac_check_lib_save_LIBS=$LIBS
17153
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17154
/* end confdefs.h. */
17156
/* Override any GCC internal prototype to avoid an error.
17157
Use char because int might match the return type of a GCC
17158
builtin and then its argument prototype would still apply. */
17162
char gethostbyname ();
17166
return gethostbyname ();
17171
if ac_fn_c_try_link "$LINENO"; then :
17172
ac_cv_lib_bsd_gethostbyname=yes
17174
ac_cv_lib_bsd_gethostbyname=no
17176
rm -f core conftest.err conftest.$ac_objext \
17177
conftest$ac_exeext conftest.$ac_ext
17178
LIBS=$ac_check_lib_save_LIBS
17180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
17181
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
17182
if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
17183
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
17189
# lieder@skyler.mavd.honeywell.com says without -lsocket,
17190
# socket/setsockopt and other routines are undefined under SCO ODT
17191
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
17192
# on later versions), says Simon Leinen: it contains gethostby*
17193
# variants that don't use the name server (or something). -lsocket
17194
# must be given before -lnsl if both are needed. We assume that
17195
# if connect needs -lnsl, so does gethostbyname.
17196
ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
17197
if test "x$ac_cv_func_connect" = xyes; then :
17201
if test $ac_cv_func_connect = no; then
17202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
17203
$as_echo_n "checking for connect in -lsocket... " >&6; }
17204
if ${ac_cv_lib_socket_connect+:} false; then :
17205
$as_echo_n "(cached) " >&6
17207
ac_check_lib_save_LIBS=$LIBS
17208
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
17209
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17210
/* end confdefs.h. */
17212
/* Override any GCC internal prototype to avoid an error.
17213
Use char because int might match the return type of a GCC
17214
builtin and then its argument prototype would still apply. */
17227
if ac_fn_c_try_link "$LINENO"; then :
17228
ac_cv_lib_socket_connect=yes
17230
ac_cv_lib_socket_connect=no
17232
rm -f core conftest.err conftest.$ac_objext \
17233
conftest$ac_exeext conftest.$ac_ext
17234
LIBS=$ac_check_lib_save_LIBS
17236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
17237
$as_echo "$ac_cv_lib_socket_connect" >&6; }
17238
if test "x$ac_cv_lib_socket_connect" = xyes; then :
17239
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
17244
# Guillermo Gomez says -lposix is necessary on A/UX.
17245
ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
17246
if test "x$ac_cv_func_remove" = xyes; then :
17250
if test $ac_cv_func_remove = no; then
17251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
17252
$as_echo_n "checking for remove in -lposix... " >&6; }
17253
if ${ac_cv_lib_posix_remove+:} false; then :
17254
$as_echo_n "(cached) " >&6
17256
ac_check_lib_save_LIBS=$LIBS
17257
LIBS="-lposix $LIBS"
17258
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17259
/* end confdefs.h. */
17261
/* Override any GCC internal prototype to avoid an error.
17262
Use char because int might match the return type of a GCC
17263
builtin and then its argument prototype would still apply. */
17276
if ac_fn_c_try_link "$LINENO"; then :
17277
ac_cv_lib_posix_remove=yes
17279
ac_cv_lib_posix_remove=no
17281
rm -f core conftest.err conftest.$ac_objext \
17282
conftest$ac_exeext conftest.$ac_ext
17283
LIBS=$ac_check_lib_save_LIBS
17285
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
17286
$as_echo "$ac_cv_lib_posix_remove" >&6; }
17287
if test "x$ac_cv_lib_posix_remove" = xyes; then :
17288
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
17293
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
17294
ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
17295
if test "x$ac_cv_func_shmat" = xyes; then :
17299
if test $ac_cv_func_shmat = no; then
17300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
17301
$as_echo_n "checking for shmat in -lipc... " >&6; }
17302
if ${ac_cv_lib_ipc_shmat+:} false; then :
17303
$as_echo_n "(cached) " >&6
17305
ac_check_lib_save_LIBS=$LIBS
17307
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308
/* end confdefs.h. */
17310
/* Override any GCC internal prototype to avoid an error.
17311
Use char because int might match the return type of a GCC
17312
builtin and then its argument prototype would still apply. */
17325
if ac_fn_c_try_link "$LINENO"; then :
17326
ac_cv_lib_ipc_shmat=yes
17328
ac_cv_lib_ipc_shmat=no
17330
rm -f core conftest.err conftest.$ac_objext \
17331
conftest$ac_exeext conftest.$ac_ext
17332
LIBS=$ac_check_lib_save_LIBS
17334
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
17335
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
17336
if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
17337
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
17343
# Check for libraries that X11R6 Xt/Xaw programs need.
17344
ac_save_LDFLAGS=$LDFLAGS
17345
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
17346
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
17347
# check for ICE first), but we must link in the order -lSM -lICE or
17348
# we get undefined symbols. So assume we have SM if we have ICE.
17349
# These have to be linked with before -lX11, unlike the other
17350
# libraries we check for below, so use a different variable.
17351
# John Interrante, Karl Berry
17352
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
17353
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
17354
if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
17355
$as_echo_n "(cached) " >&6
17357
ac_check_lib_save_LIBS=$LIBS
17358
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
17359
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17360
/* end confdefs.h. */
17362
/* Override any GCC internal prototype to avoid an error.
17363
Use char because int might match the return type of a GCC
17364
builtin and then its argument prototype would still apply. */
17368
char IceConnectionNumber ();
17372
return IceConnectionNumber ();
17377
if ac_fn_c_try_link "$LINENO"; then :
17378
ac_cv_lib_ICE_IceConnectionNumber=yes
17380
ac_cv_lib_ICE_IceConnectionNumber=no
17382
rm -f core conftest.err conftest.$ac_objext \
17383
conftest$ac_exeext conftest.$ac_ext
17384
LIBS=$ac_check_lib_save_LIBS
17386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
17387
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
17388
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
17389
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
17392
LDFLAGS=$ac_save_LDFLAGS
17397
# Check whether --enable-gtktest was given.
17398
if test "${enable_gtktest+set}" = set; then :
17399
enableval=$enable_gtktest;
17405
pkg_config_args=gtk+-2.0
17406
for module in . gthread
17410
pkg_config_args="$pkg_config_args gthread-2.0"
17417
# Extract the first word of "pkg-config", so it can be a program name with args.
17418
set dummy pkg-config; ac_word=$2
17419
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17420
$as_echo_n "checking for $ac_word... " >&6; }
17421
if ${ac_cv_path_PKG_CONFIG+:} false; then :
17422
$as_echo_n "(cached) " >&6
17424
case $PKG_CONFIG in
17426
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17429
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17430
for as_dir in $PATH
17433
test -z "$as_dir" && as_dir=.
17434
for ac_exec_ext in '' $ac_executable_extensions; do
17435
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17436
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17437
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17444
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
17448
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17449
if test -n "$PKG_CONFIG"; then
17450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17451
$as_echo "$PKG_CONFIG" >&6; }
17453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17454
$as_echo "no" >&6; }
17459
if test x$PKG_CONFIG != xno ; then
17460
if pkg-config --atleast-pkgconfig-version 0.7 ; then
17463
echo "*** pkg-config too old; version 0.7 or better required."
17471
min_gtk_version=2.24.10
17472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
17473
$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
17475
if test x$PKG_CONFIG != xno ; then
17476
## don't try to run the test against uninstalled libtool libs
17477
if $PKG_CONFIG --uninstalled $pkg_config_args; then
17478
echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
17482
if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
17489
if test x"$no_gtk" = x ; then
17490
GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
17491
GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
17492
gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
17493
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
17494
gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
17495
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
17496
gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
17497
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
17498
if test "x$enable_gtktest" = "xyes" ; then
17499
ac_save_CFLAGS="$CFLAGS"
17500
ac_save_LIBS="$LIBS"
17501
CFLAGS="$CFLAGS $GTK_CFLAGS"
17502
LIBS="$GTK_LIBS $LIBS"
17504
if test "$cross_compiling" = yes; then :
17505
echo $ac_n "cross compiling; assumed OK... $ac_c"
17507
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508
/* end confdefs.h. */
17510
#include <gtk/gtk.h>
17512
#include <stdlib.h>
17517
int major, minor, micro;
17520
fclose (fopen ("conf.gtktest", "w"));
17522
/* HP/UX 9 (%@#!) writes to sscanf strings */
17523
tmp_version = g_strdup("$min_gtk_version");
17524
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
17525
printf("%s, bad version string\n", "$min_gtk_version");
17529
if ((gtk_major_version != $gtk_config_major_version) ||
17530
(gtk_minor_version != $gtk_config_minor_version) ||
17531
(gtk_micro_version != $gtk_config_micro_version))
17533
printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
17534
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
17535
gtk_major_version, gtk_minor_version, gtk_micro_version);
17536
printf ("*** was found! If pkg-config was correct, then it is best\n");
17537
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
17538
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
17539
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
17540
printf("*** required on your system.\n");
17541
printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
17542
printf("*** to point to the correct configuration files\n");
17544
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
17545
(gtk_minor_version != GTK_MINOR_VERSION) ||
17546
(gtk_micro_version != GTK_MICRO_VERSION))
17548
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
17549
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
17550
printf("*** library (version %d.%d.%d)\n",
17551
gtk_major_version, gtk_minor_version, gtk_micro_version);
17555
if ((gtk_major_version > major) ||
17556
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
17557
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
17563
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
17564
gtk_major_version, gtk_minor_version, gtk_micro_version);
17565
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
17566
major, minor, micro);
17567
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
17569
printf("*** If you have already installed a sufficiently new version, this error\n");
17570
printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
17571
printf("*** being found. The easiest way to fix this is to remove the old version\n");
17572
printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
17573
printf("*** correct copy of pkg-config. (In this case, you will have to\n");
17574
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
17575
printf("*** so that the correct libraries are found at run-time))\n");
17582
if ac_fn_c_try_run "$LINENO"; then :
17587
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17588
conftest.$ac_objext conftest.beam conftest.$ac_ext
17591
CFLAGS="$ac_save_CFLAGS"
17592
LIBS="$ac_save_LIBS"
17595
if test "x$no_gtk" = x ; then
17596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
17597
$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
17600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17601
$as_echo "no" >&6; }
17602
if test "$PKG_CONFIG" = "no" ; then
17603
echo "*** A new enough version of pkg-config was not found."
17604
echo "*** See http://pkgconfig.sourceforge.net"
17606
if test -f conf.gtktest ; then
17609
echo "*** Could not run GTK+ test program, checking why..."
17610
ac_save_CFLAGS="$CFLAGS"
17611
ac_save_LIBS="$LIBS"
17612
CFLAGS="$CFLAGS $GTK_CFLAGS"
17613
LIBS="$LIBS $GTK_LIBS"
17614
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615
/* end confdefs.h. */
17617
#include <gtk/gtk.h>
17623
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
17628
if ac_fn_c_try_link "$LINENO"; then :
17629
echo "*** The test program compiled, but did not run. This usually means"
17630
echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
17631
echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
17632
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
17633
echo "*** to the installed location Also, make sure you have run ldconfig if that"
17634
echo "*** is required on your system"
17636
echo "*** If you have an old version installed, it is best to remove it, although"
17637
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
17639
echo "*** The test program failed to compile or link. See the file config.log for the"
17640
echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
17642
rm -f core conftest.err conftest.$ac_objext \
17643
conftest$ac_exeext conftest.$ac_ext
17644
CFLAGS="$ac_save_CFLAGS"
17645
LIBS="$ac_save_LIBS"
17650
as_fn_error $? "Test for GTK+ failed. See the file 'INSTALL' for help." "$LINENO" 5
17657
# GTK+ 2.26.0 will never be released, we keep the check around anyway
17658
# because we will need it again after the switch to GTK+ 3.x
17659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version 2.26.0 or newer (bogus placeholder check)" >&5
17660
$as_echo_n "checking if GTK+ is version 2.26.0 or newer (bogus placeholder check)... " >&6; }
17661
if $PKG_CONFIG --atleast-version=2.26.0 gtk+-2.0; then
17666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_2_26" >&5
17667
$as_echo "$have_gtk_2_26" >&6; }
17671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5
17672
$as_echo_n "checking for GDK_PIXBUF... " >&6; }
17674
if test -n "$GDK_PIXBUF_CFLAGS"; then
17675
pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS"
17676
elif test -n "$PKG_CONFIG"; then
17677
if test -n "$PKG_CONFIG" && \
17678
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.24.1\""; } >&5
17679
($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.24.1") 2>&5
17681
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17682
test $ac_status = 0; }; then
17683
pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.24.1" 2>/dev/null`
17684
test "x$?" != "x0" && pkg_failed=yes
17691
if test -n "$GDK_PIXBUF_LIBS"; then
17692
pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS"
17693
elif test -n "$PKG_CONFIG"; then
17694
if test -n "$PKG_CONFIG" && \
17695
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0 >= 2.24.1\""; } >&5
17696
($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0 >= 2.24.1") 2>&5
17698
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17699
test $ac_status = 0; }; then
17700
pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.24.1" 2>/dev/null`
17701
test "x$?" != "x0" && pkg_failed=yes
17711
if test $pkg_failed = yes; then
17712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17713
$as_echo "no" >&6; }
17715
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17716
_pkg_short_errors_supported=yes
17718
_pkg_short_errors_supported=no
17720
if test $_pkg_short_errors_supported = yes; then
17721
GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.24.1" 2>&1`
17723
GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0 >= 2.24.1" 2>&1`
17725
# Put the nasty error message in config.log where it belongs
17726
echo "$GDK_PIXBUF_PKG_ERRORS" >&5
17728
as_fn_error $? "Package requirements (gdk-pixbuf-2.0 >= 2.24.1) were not met:
17730
$GDK_PIXBUF_PKG_ERRORS
17732
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17733
installed software in a non-standard prefix.
17735
Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
17736
and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
17737
See the pkg-config man page for more details." "$LINENO" 5
17738
elif test $pkg_failed = untried; then
17739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17740
$as_echo "no" >&6; }
17741
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17742
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17743
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17744
is in your PATH or set the PKG_CONFIG environment variable to the full
17745
path to pkg-config.
17747
Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
17748
and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
17749
See the pkg-config man page for more details.
17751
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17752
See \`config.log' for more details" "$LINENO" 5; }
17754
GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS
17755
GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS
17756
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17757
$as_echo "yes" >&6; }
17761
# Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
17762
set dummy gdk-pixbuf-csource; ac_word=$2
17763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17764
$as_echo_n "checking for $ac_word... " >&6; }
17765
if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
17766
$as_echo_n "(cached) " >&6
17768
case $GDK_PIXBUF_CSOURCE in
17770
ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
17773
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17774
for as_dir in $PATH
17777
test -z "$as_dir" && as_dir=.
17778
for ac_exec_ext in '' $ac_executable_extensions; do
17779
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17780
ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
17781
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17788
test -z "$ac_cv_path_GDK_PIXBUF_CSOURCE" && ac_cv_path_GDK_PIXBUF_CSOURCE="no"
17792
GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
17793
if test -n "$GDK_PIXBUF_CSOURCE"; then
17794
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
17795
$as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
17797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17798
$as_echo "no" >&6; }
17802
if test "x$GDK_PIXBUF_CSOURCE" = xno; then
17803
as_fn_error $? "Could not find gdk-pixbuf-csource in your PATH" "$LINENO" 5
17806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if GdkPixbuf is version 2.26.0 or newer" >&5
17807
$as_echo_n "checking if GdkPixbuf is version 2.26.0 or newer... " >&6; }
17808
if $PKG_CONFIG --atleast-version=2.26.0 gdk-pixbuf-2.0; then
17809
have_gdk_pixbuf_2_26=yes
17811
have_gdk_pixbuf_2_26=no
17813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gdk_pixbuf_2_26" >&5
17814
$as_echo "$have_gdk_pixbuf_2_26" >&6; }
17818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
17819
$as_echo_n "checking for CAIRO... " >&6; }
17821
if test -n "$CAIRO_CFLAGS"; then
17822
pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
17823
elif test -n "$PKG_CONFIG"; then
17824
if test -n "$PKG_CONFIG" && \
17825
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.10.2\""; } >&5
17826
($PKG_CONFIG --exists --print-errors "cairo >= 1.10.2") 2>&5
17828
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17829
test $ac_status = 0; }; then
17830
pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.10.2" 2>/dev/null`
17831
test "x$?" != "x0" && pkg_failed=yes
17838
if test -n "$CAIRO_LIBS"; then
17839
pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
17840
elif test -n "$PKG_CONFIG"; then
17841
if test -n "$PKG_CONFIG" && \
17842
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.10.2\""; } >&5
17843
($PKG_CONFIG --exists --print-errors "cairo >= 1.10.2") 2>&5
17845
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17846
test $ac_status = 0; }; then
17847
pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.10.2" 2>/dev/null`
17848
test "x$?" != "x0" && pkg_failed=yes
17858
if test $pkg_failed = yes; then
17859
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17860
$as_echo "no" >&6; }
17862
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17863
_pkg_short_errors_supported=yes
17865
_pkg_short_errors_supported=no
17867
if test $_pkg_short_errors_supported = yes; then
17868
CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo >= 1.10.2" 2>&1`
17870
CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo >= 1.10.2" 2>&1`
17872
# Put the nasty error message in config.log where it belongs
17873
echo "$CAIRO_PKG_ERRORS" >&5
17875
as_fn_error $? "Package requirements (cairo >= 1.10.2) were not met:
17879
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17880
installed software in a non-standard prefix.
17882
Alternatively, you may set the environment variables CAIRO_CFLAGS
17883
and CAIRO_LIBS to avoid the need to call pkg-config.
17884
See the pkg-config man page for more details." "$LINENO" 5
17885
elif test $pkg_failed = untried; then
17886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17887
$as_echo "no" >&6; }
17888
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17889
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17890
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17891
is in your PATH or set the PKG_CONFIG environment variable to the full
17892
path to pkg-config.
17894
Alternatively, you may set the environment variables CAIRO_CFLAGS
17895
and CAIRO_LIBS to avoid the need to call pkg-config.
17896
See the pkg-config man page for more details.
17898
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17899
See \`config.log' for more details" "$LINENO" 5; }
17901
CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
17902
CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
17903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17904
$as_echo "yes" >&6; }
17910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOCAIRO" >&5
17911
$as_echo_n "checking for PANGOCAIRO... " >&6; }
17913
if test -n "$PANGOCAIRO_CFLAGS"; then
17914
pkg_cv_PANGOCAIRO_CFLAGS="$PANGOCAIRO_CFLAGS"
17915
elif test -n "$PKG_CONFIG"; then
17916
if test -n "$PKG_CONFIG" && \
17917
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangocairo >= 1.29.4 pangoft2\""; } >&5
17918
($PKG_CONFIG --exists --print-errors "pangocairo >= 1.29.4 pangoft2") 2>&5
17920
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17921
test $ac_status = 0; }; then
17922
pkg_cv_PANGOCAIRO_CFLAGS=`$PKG_CONFIG --cflags "pangocairo >= 1.29.4 pangoft2" 2>/dev/null`
17923
test "x$?" != "x0" && pkg_failed=yes
17930
if test -n "$PANGOCAIRO_LIBS"; then
17931
pkg_cv_PANGOCAIRO_LIBS="$PANGOCAIRO_LIBS"
17932
elif test -n "$PKG_CONFIG"; then
17933
if test -n "$PKG_CONFIG" && \
17934
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangocairo >= 1.29.4 pangoft2\""; } >&5
17935
($PKG_CONFIG --exists --print-errors "pangocairo >= 1.29.4 pangoft2") 2>&5
17937
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17938
test $ac_status = 0; }; then
17939
pkg_cv_PANGOCAIRO_LIBS=`$PKG_CONFIG --libs "pangocairo >= 1.29.4 pangoft2" 2>/dev/null`
17940
test "x$?" != "x0" && pkg_failed=yes
17950
if test $pkg_failed = yes; then
17951
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17952
$as_echo "no" >&6; }
17954
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17955
_pkg_short_errors_supported=yes
17957
_pkg_short_errors_supported=no
17959
if test $_pkg_short_errors_supported = yes; then
17960
PANGOCAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pangocairo >= 1.29.4 pangoft2" 2>&1`
17962
PANGOCAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pangocairo >= 1.29.4 pangoft2" 2>&1`
17964
# Put the nasty error message in config.log where it belongs
17965
echo "$PANGOCAIRO_PKG_ERRORS" >&5
17967
as_fn_error $? "Test for PangoCairo failed.
17968
*** We require Pango with the optional support for Cairo compiled in.
17969
*** See the file 'INSTALL' for more help." "$LINENO" 5
17970
elif test $pkg_failed = untried; then
17971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17972
$as_echo "no" >&6; }
17973
as_fn_error $? "Test for PangoCairo failed.
17974
*** We require Pango with the optional support for Cairo compiled in.
17975
*** See the file 'INSTALL' for more help." "$LINENO" 5
17977
PANGOCAIRO_CFLAGS=$pkg_cv_PANGOCAIRO_CFLAGS
17978
PANGOCAIRO_LIBS=$pkg_cv_PANGOCAIRO_LIBS
17979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17980
$as_echo "yes" >&6; }
17984
gimp_save_CFLAGS=$CFLAGS
17985
CFLAGS="$PANGOCAIRO_CFLAGS $CFLAGS"
17989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
17990
$as_echo_n "checking for FONTCONFIG... " >&6; }
17992
if test -n "$FONTCONFIG_CFLAGS"; then
17993
pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
17994
elif test -n "$PKG_CONFIG"; then
17995
if test -n "$PKG_CONFIG" && \
17996
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.2.0\""; } >&5
17997
($PKG_CONFIG --exists --print-errors "fontconfig >= 2.2.0") 2>&5
17999
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18000
test $ac_status = 0; }; then
18001
pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0" 2>/dev/null`
18002
test "x$?" != "x0" && pkg_failed=yes
18009
if test -n "$FONTCONFIG_LIBS"; then
18010
pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
18011
elif test -n "$PKG_CONFIG"; then
18012
if test -n "$PKG_CONFIG" && \
18013
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.2.0\""; } >&5
18014
($PKG_CONFIG --exists --print-errors "fontconfig >= 2.2.0") 2>&5
18016
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18017
test $ac_status = 0; }; then
18018
pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0" 2>/dev/null`
18019
test "x$?" != "x0" && pkg_failed=yes
18029
if test $pkg_failed = yes; then
18030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18031
$as_echo "no" >&6; }
18033
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18034
_pkg_short_errors_supported=yes
18036
_pkg_short_errors_supported=no
18038
if test $_pkg_short_errors_supported = yes; then
18039
FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontconfig >= 2.2.0" 2>&1`
18041
FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontconfig >= 2.2.0" 2>&1`
18043
# Put the nasty error message in config.log where it belongs
18044
echo "$FONTCONFIG_PKG_ERRORS" >&5
18046
as_fn_error $? "Package requirements (fontconfig >= 2.2.0) were not met:
18048
$FONTCONFIG_PKG_ERRORS
18050
Consider adjusting the PKG_CONFIG_PATH environment variable if you
18051
installed software in a non-standard prefix.
18053
Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
18054
and FONTCONFIG_LIBS to avoid the need to call pkg-config.
18055
See the pkg-config man page for more details." "$LINENO" 5
18056
elif test $pkg_failed = untried; then
18057
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18058
$as_echo "no" >&6; }
18059
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18060
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18061
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18062
is in your PATH or set the PKG_CONFIG environment variable to the full
18063
path to pkg-config.
18065
Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
18066
and FONTCONFIG_LIBS to avoid the need to call pkg-config.
18067
See the pkg-config man page for more details.
18069
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18070
See \`config.log' for more details" "$LINENO" 5; }
18072
FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
18073
FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
18074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18075
$as_echo "yes" >&6; }
18079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if Pango is version 1.32.0 or newer" >&5
18080
$as_echo_n "checking if Pango is version 1.32.0 or newer... " >&6; }
18081
if $PKG_CONFIG --atleast-version=1.32.0 pango; then
18082
have_pango_1_32=yes
18086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pango_1_32" >&5
18087
$as_echo "$have_pango_1_32" >&6; }
18089
CFLAGS="$PANGOCAIRO_CFLAGS $CFLAGS"
18091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if Pango is built with a recent fontconfig" >&5
18092
$as_echo_n "checking if Pango is built with a recent fontconfig... " >&6; }
18093
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18094
/* end confdefs.h. */
18095
#include <fontconfig/fontconfig.h>
18099
FcObjectSet *os; os = FcObjectSetBuild (FC_FAMILY, FC_WIDTH);
18104
if ac_fn_c_try_compile "$LINENO"; then :
18109
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fontconfig_ok" >&5
18111
$as_echo "$fontconfig_ok" >&6; }
18113
CFLAGS=$gimp_save_CFLAGS
18115
if test "x$fontconfig_ok" = xno; then
18117
*** You have a fontconfig >= 2.2.0 installed on your system, but your
18118
*** Pango library is using an older version. This old version is probably in
18119
*** /usr/X11R6. Look at the above output, and note that the result for
18120
*** FONTCONFIG_CFLAGS is not in the result for PANGOCAIRO_CFLAGS, and that
18121
*** there is likely an extra -I line, other than the ones for GLIB,
18122
*** Freetype, and Pango itself. That's where your old fontconfig files are.
18123
*** Rebuild pango, and make sure that it uses the newer fontconfig. The
18124
*** easiest way be sure of this is to simply get rid of the old fontconfig.
18125
*** When you rebuild pango, make sure the result for FONTCONFIG_CFLAGS is
18126
*** the same as the result here." "$LINENO" 5
18130
# Extract the first word of "freetype-config", so it can be a program name with args.
18131
set dummy freetype-config; ac_word=$2
18132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18133
$as_echo_n "checking for $ac_word... " >&6; }
18134
if ${ac_cv_path_FREETYPE_CONFIG+:} false; then :
18135
$as_echo_n "(cached) " >&6
18137
case $FREETYPE_CONFIG in
18139
ac_cv_path_FREETYPE_CONFIG="$FREETYPE_CONFIG" # Let the user override the test with a path.
18142
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18143
for as_dir in $PATH
18146
test -z "$as_dir" && as_dir=.
18147
for ac_exec_ext in '' $ac_executable_extensions; do
18148
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18149
ac_cv_path_FREETYPE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18150
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18157
test -z "$ac_cv_path_FREETYPE_CONFIG" && ac_cv_path_FREETYPE_CONFIG="no"
18161
FREETYPE_CONFIG=$ac_cv_path_FREETYPE_CONFIG
18162
if test -n "$FREETYPE_CONFIG"; then
18163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE_CONFIG" >&5
18164
$as_echo "$FREETYPE_CONFIG" >&6; }
18166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18167
$as_echo "no" >&6; }
18171
if test "x$FREETYPE_CONFIG" != "xno" ; then
18172
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype libraries" >&5
18173
$as_echo_n "checking for freetype libraries... " >&6; }
18174
FREETYPE_LIBS=`$FREETYPE_CONFIG --libs`
18175
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE_LIBS" >&5
18176
$as_echo "$FREETYPE_LIBS" >&6; }
18181
##########################################
18182
# Check for some special functions we need
18183
##########################################
18185
for ac_header in math.h ieeefp.h
18187
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18188
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18189
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18190
cat >>confdefs.h <<_ACEOF
18191
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18199
# DU4 native cc currently needs -std1 for ANSI mode (instead of K&R)
18200
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra flags to get ANSI library prototypes" >&5
18201
$as_echo_n "checking for extra flags to get ANSI library prototypes... " >&6; }
18202
gimp_save_LIBS=$LIBS
18204
if test "$cross_compiling" = yes; then :
18205
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
18208
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18209
/* end confdefs.h. */
18212
int main (void) { return (log(1) != log(1.)); }
18214
if ac_fn_c_try_run "$LINENO"; then :
18215
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18216
$as_echo "none needed" >&6; }
18218
gimp_save_CFLAGS=$CFLAGS
18219
CFLAGS="$CFLAGS -std1"
18220
if test "$cross_compiling" = yes; then :
18221
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
18224
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18225
/* end confdefs.h. */
18228
int main (void) { return (log(1) != log(1.)); }
18230
if ac_fn_c_try_run "$LINENO"; then :
18231
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -std1" >&5
18232
$as_echo "-std1" >&6; }
18234
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
18236
CFLAGS=$gimp_save_CFLAGS
18237
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)" >&5
18238
$as_echo "$as_me: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)" >&2;}
18240
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18241
conftest.$ac_objext conftest.beam conftest.$ac_ext
18245
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18246
conftest.$ac_objext conftest.beam conftest.$ac_ext
18250
# Check for finite or isfinite
18251
for ac_func in finite
18253
ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
18254
if test "x$ac_cv_func_finite" = xyes; then :
18255
cat >>confdefs.h <<_ACEOF
18256
#define HAVE_FINITE 1
18261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite in <math.h>" >&5
18262
$as_echo_n "checking for finite in <math.h>... " >&6; }
18263
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18264
/* end confdefs.h. */
18269
double f = 0.0; finite (f)
18274
if ac_fn_c_try_link "$LINENO"; then :
18275
$as_echo "#define HAVE_FINITE 1" >>confdefs.h
18277
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18278
$as_echo "yes" >&6; }
18280
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18281
$as_echo "no" >&6; }
18282
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite in <math.h>" >&5
18283
$as_echo_n "checking for isfinite in <math.h>... " >&6; }
18284
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18285
/* end confdefs.h. */
18290
float f = 0.0; isfinite(f)
18295
if ac_fn_c_try_link "$LINENO"; then :
18297
$as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18300
$as_echo "yes" >&6; }
18302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18303
$as_echo "no" >&6; }
18305
rm -f core conftest.err conftest.$ac_objext \
18306
conftest$ac_exeext conftest.$ac_ext
18308
rm -f core conftest.err conftest.$ac_objext \
18309
conftest$ac_exeext conftest.$ac_ext
18316
LIBS=$gimp_save_LIBS
18320
ac_fn_c_check_func "$LINENO" "rint" "ac_cv_func_rint"
18321
if test "x$ac_cv_func_rint" = xyes; then :
18323
$as_echo "#define HAVE_RINT 1" >>confdefs.h
18327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rint in -lm" >&5
18328
$as_echo_n "checking for rint in -lm... " >&6; }
18329
if ${ac_cv_lib_m_rint+:} false; then :
18330
$as_echo_n "(cached) " >&6
18332
ac_check_lib_save_LIBS=$LIBS
18334
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18335
/* end confdefs.h. */
18337
/* Override any GCC internal prototype to avoid an error.
18338
Use char because int might match the return type of a GCC
18339
builtin and then its argument prototype would still apply. */
18352
if ac_fn_c_try_link "$LINENO"; then :
18353
ac_cv_lib_m_rint=yes
18355
ac_cv_lib_m_rint=no
18357
rm -f core conftest.err conftest.$ac_objext \
18358
conftest$ac_exeext conftest.$ac_ext
18359
LIBS=$ac_check_lib_save_LIBS
18361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_rint" >&5
18362
$as_echo "$ac_cv_lib_m_rint" >&6; }
18363
if test "x$ac_cv_lib_m_rint" = xyes; then :
18365
$as_echo "#define HAVE_RINT 1" >>confdefs.h
18373
#####################################################################
18374
# Check for extra libs needed for getaddrinfo, getnameinfo and socket
18375
#####################################################################
18377
gimp_save_LIBS=$LIBS
18380
for ac_func in getaddrinfo
18382
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
18383
if test "x$ac_cv_func_getaddrinfo" = xyes; then :
18384
cat >>confdefs.h <<_ACEOF
18385
#define HAVE_GETADDRINFO 1
18389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -lnsl" >&5
18390
$as_echo_n "checking for getaddrinfo in -lnsl... " >&6; }
18391
if ${ac_cv_lib_nsl_getaddrinfo+:} false; then :
18392
$as_echo_n "(cached) " >&6
18394
ac_check_lib_save_LIBS=$LIBS
18396
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18397
/* end confdefs.h. */
18399
/* Override any GCC internal prototype to avoid an error.
18400
Use char because int might match the return type of a GCC
18401
builtin and then its argument prototype would still apply. */
18405
char getaddrinfo ();
18409
return getaddrinfo ();
18414
if ac_fn_c_try_link "$LINENO"; then :
18415
ac_cv_lib_nsl_getaddrinfo=yes
18417
ac_cv_lib_nsl_getaddrinfo=no
18419
rm -f core conftest.err conftest.$ac_objext \
18420
conftest$ac_exeext conftest.$ac_ext
18421
LIBS=$ac_check_lib_save_LIBS
18423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_getaddrinfo" >&5
18424
$as_echo "$ac_cv_lib_nsl_getaddrinfo" >&6; }
18425
if test "x$ac_cv_lib_nsl_getaddrinfo" = xyes; then :
18426
cat >>confdefs.h <<_ACEOF
18427
#define HAVE_LIBNSL 1
18437
for ac_func in getnameinfo
18439
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
18440
if test "x$ac_cv_func_getnameinfo" = xyes; then :
18441
cat >>confdefs.h <<_ACEOF
18442
#define HAVE_GETNAMEINFO 1
18446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getnameinfo in -lnsl" >&5
18447
$as_echo_n "checking for getnameinfo in -lnsl... " >&6; }
18448
if ${ac_cv_lib_nsl_getnameinfo+:} false; then :
18449
$as_echo_n "(cached) " >&6
18451
ac_check_lib_save_LIBS=$LIBS
18453
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18454
/* end confdefs.h. */
18456
/* Override any GCC internal prototype to avoid an error.
18457
Use char because int might match the return type of a GCC
18458
builtin and then its argument prototype would still apply. */
18462
char getnameinfo ();
18466
return getnameinfo ();
18471
if ac_fn_c_try_link "$LINENO"; then :
18472
ac_cv_lib_nsl_getnameinfo=yes
18474
ac_cv_lib_nsl_getnameinfo=no
18476
rm -f core conftest.err conftest.$ac_objext \
18477
conftest$ac_exeext conftest.$ac_ext
18478
LIBS=$ac_check_lib_save_LIBS
18480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_getnameinfo" >&5
18481
$as_echo "$ac_cv_lib_nsl_getnameinfo" >&6; }
18482
if test "x$ac_cv_lib_nsl_getnameinfo" = xyes; then :
18483
cat >>confdefs.h <<_ACEOF
18484
#define HAVE_LIBNSL 1
18494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
18495
$as_echo_n "checking for socket in -lsocket... " >&6; }
18496
if ${ac_cv_lib_socket_socket+:} false; then :
18497
$as_echo_n "(cached) " >&6
18499
ac_check_lib_save_LIBS=$LIBS
18500
LIBS="-lsocket $LIBS"
18501
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18502
/* end confdefs.h. */
18504
/* Override any GCC internal prototype to avoid an error.
18505
Use char because int might match the return type of a GCC
18506
builtin and then its argument prototype would still apply. */
18519
if ac_fn_c_try_link "$LINENO"; then :
18520
ac_cv_lib_socket_socket=yes
18522
ac_cv_lib_socket_socket=no
18524
rm -f core conftest.err conftest.$ac_objext \
18525
conftest$ac_exeext conftest.$ac_ext
18526
LIBS=$ac_check_lib_save_LIBS
18528
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
18529
$as_echo "$ac_cv_lib_socket_socket" >&6; }
18530
if test "x$ac_cv_lib_socket_socket" = xyes; then :
18531
cat >>confdefs.h <<_ACEOF
18532
#define HAVE_LIBSOCKET 1
18535
LIBS="-lsocket $LIBS"
18540
SOCKET_LIBS="$LIBS"
18541
LIBS=$gimp_save_LIBS
18546
########################
18547
# Check for MMX assembly
18548
########################
18550
# Check whether --enable-mmx was given.
18551
if test "${enable_mmx+set}" = set; then :
18552
enableval=$enable_mmx;
18554
enable_mmx=$have_x86
18558
# Check whether --enable-sse was given.
18559
if test "${enable_sse+set}" = set; then :
18560
enableval=$enable_sse;
18562
enable_sse=$enable_mmx
18566
if test "x$enable_mmx" = xyes; then
18569
for flag in '-mmmx'; do
18570
if test -z "$MMX_EXTRA_CFLAGS"; then
18571
MMX_EXTRA_CFLAGS_save_CFLAGS="$CFLAGS"
18572
CFLAGS="$CFLAGS $flag"
18573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
18574
$as_echo_n "checking whether $CC understands $flag... " >&6; }
18575
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18576
/* end confdefs.h. */
18586
if ac_fn_c_try_compile "$LINENO"; then :
18587
MMX_EXTRA_CFLAGS_works=yes
18589
MMX_EXTRA_CFLAGS_works=no
18591
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMX_EXTRA_CFLAGS_works" >&5
18593
$as_echo "$MMX_EXTRA_CFLAGS_works" >&6; }
18594
CFLAGS="$MMX_EXTRA_CFLAGS_save_CFLAGS"
18595
if test "x$MMX_EXTRA_CFLAGS_works" = "xyes"; then
18596
MMX_EXTRA_CFLAGS="$flag"
18603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can compile MMX code" >&5
18604
$as_echo_n "checking whether we can compile MMX code... " >&6; }
18606
mmx_save_CFLAGS="$CFLAGS"
18607
CFLAGS="$mmx_save_CFLAGS $MMX_EXTRA_CFLAGS"
18609
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18610
/* end confdefs.h. */
18615
asm ("movq 0, %mm0");
18620
if ac_fn_c_try_compile "$LINENO"; then :
18622
$as_echo "#define USE_MMX 1" >>confdefs.h
18624
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18625
$as_echo "yes" >&6; }
18627
if test "x$enable_sse" = xyes; then
18630
for flag in '-msse'; do
18631
if test -z "$sse_flag"; then
18632
sse_flag_save_CFLAGS="$CFLAGS"
18633
CFLAGS="$CFLAGS $flag"
18634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
18635
$as_echo_n "checking whether $CC understands $flag... " >&6; }
18636
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18637
/* end confdefs.h. */
18647
if ac_fn_c_try_compile "$LINENO"; then :
18652
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18653
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sse_flag_works" >&5
18654
$as_echo "$sse_flag_works" >&6; }
18655
CFLAGS="$sse_flag_save_CFLAGS"
18656
if test "x$sse_flag_works" = "xyes"; then
18662
SSE_EXTRA_CFLAGS="$MMX_EXTRA_CFLAGS $sse_flag"
18664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can compile SSE code" >&5
18665
$as_echo_n "checking whether we can compile SSE code... " >&6; }
18667
CFLAGS="$CFLAGS $sse_flag"
18669
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18670
/* end confdefs.h. */
18675
asm ("movntps %xmm0, 0");
18680
if ac_fn_c_try_compile "$LINENO"; then :
18682
$as_echo "#define USE_SSE 1" >>confdefs.h
18684
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18685
$as_echo "yes" >&6; }
18689
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18690
$as_echo "no" >&6; }
18691
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The assembler does not support the SSE command set." >&5
18692
$as_echo "$as_me: WARNING: The assembler does not support the SSE command set." >&2;}
18695
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18702
$as_echo "no" >&6; }
18703
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The assembler does not support the MMX command set." >&5
18704
$as_echo "$as_me: WARNING: The assembler does not support the MMX command set." >&2;}
18707
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18709
CFLAGS="$mmx_save_CFLAGS"
18716
############################
18717
# Check for AltiVec assembly
18718
############################
18720
# Check whether --enable-altivec was given.
18721
if test "${enable_altivec+set}" = set; then :
18722
enableval=$enable_altivec;
18724
enable_altivec=$have_ppc
18728
if test "x$enable_altivec" = xyes; then
18732
for flag in '-faltivec' '-maltivec -mabi=altivec'; do
18733
if test -z "$altivec_flag"; then
18734
altivec_flag_save_CFLAGS="$CFLAGS"
18735
CFLAGS="$CFLAGS $flag"
18736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
18737
$as_echo_n "checking whether $CC understands $flag... " >&6; }
18738
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18739
/* end confdefs.h. */
18749
if ac_fn_c_try_compile "$LINENO"; then :
18750
altivec_flag_works=yes
18752
altivec_flag_works=no
18754
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $altivec_flag_works" >&5
18756
$as_echo "$altivec_flag_works" >&6; }
18757
CFLAGS="$altivec_flag_save_CFLAGS"
18758
if test "x$altivec_flag_works" = "xyes"; then
18759
altivec_flag="$flag"
18765
ALTIVEC_EXTRA_CFLAGS=
18766
case "$altivec_flag" in
18768
altivec_save_CPPFLAGS="$CPPFLAGS"
18769
CPPFLAGS="$altivec_save_CPPFLAGS $altivec_flag"
18770
for ac_header in altivec.h
18772
ac_fn_c_check_header_mongrel "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default"
18773
if test "x$ac_cv_header_altivec_h" = xyes; then :
18774
cat >>confdefs.h <<_ACEOF
18775
#define HAVE_ALTIVEC_H 1
18777
ALTIVEC_EXTRA_CFLAGS="$altivec_flag"
18782
CPPFLAGS="$altivec_save_CPPFLAGS"
18785
ALTIVEC_EXTRA_CFLAGS="$altivec_flag"
18790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can compile AltiVec code" >&5
18791
$as_echo_n "checking whether we can compile AltiVec code... " >&6; }
18794
if test -z "$ALTIVEC_EXTRA_CFLAGS"; then
18795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18796
$as_echo "no" >&6; }
18797
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The compiler does not support the AltiVec command set." >&5
18798
$as_echo "$as_me: WARNING: The compiler does not support the AltiVec command set." >&2;}
18800
case "$target_or_host" in
18802
can_use_altivec=yes
18804
$as_echo "#define HAVE_ALTIVEC_SYSCTL 1" >>confdefs.h
18808
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809
/* end confdefs.h. */
18814
asm ("vand %v0, %v0, %v0");
18819
if ac_fn_c_try_compile "$LINENO"; then :
18820
can_use_altivec=yes
18824
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_use_altivec" >&5
18828
$as_echo "$can_use_altivec" >&6; }
18830
if test "x$can_use_altivec" = "xyes"; then
18832
$as_echo "#define USE_ALTIVEC 1" >>confdefs.h
18836
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The assembler does not support the AltiVec command set." >&5
18837
$as_echo "$as_me: WARNING: The assembler does not support the AltiVec command set." >&2;}
18841
enable_altivec="$can_use_altivec"
18845
###################################
18846
# Checks for shared memory handling
18847
###################################
18849
# MacOS X has broken SysV shm
18850
case "$target_or_host" in
18851
*-*-darwin* | *-*-rhapsody* | *-*-machten*)
18861
# Check whether --with-shm was given.
18862
if test "${with_shm+set}" = set; then :
18863
withval=$with_shm; shmtype=$with_shm
18868
none|sysv|posix) ;;
18869
auto) shmtype=$shmdefault ;;
18870
*) as_fn_error $? "Invalid shared memory transport type: use none, sysv, posix, or auto." "$LINENO" 5;;
18874
if test "x$platform_win32" = "xyes"; then
18876
elif test "x$shmtype" = "xsysv"; then
18877
ac_fn_c_check_header_mongrel "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
18878
if test "x$ac_cv_header_sys_ipc_h" = xyes; then :
18880
$as_echo "#define HAVE_IPC_H 1" >>confdefs.h
18887
ac_fn_c_check_header_mongrel "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
18888
if test "x$ac_cv_header_sys_shm_h" = xyes; then :
18890
$as_echo "#define HAVE_SHM_H 1" >>confdefs.h
18898
if test "$ac_cv_header_sys_shm_h" = "yes"; then
18899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shmctl IPC_RMID allowes subsequent attaches" >&5
18900
$as_echo_n "checking whether shmctl IPC_RMID allowes subsequent attaches... " >&6; }
18901
if test "$cross_compiling" = yes; then :
18902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming no" >&5
18903
$as_echo "assuming no" >&6; }
18905
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18906
/* end confdefs.h. */
18908
#include <sys/types.h>
18909
#include <sys/ipc.h>
18910
#include <sys/shm.h>
18915
id = shmget (IPC_PRIVATE, 4, IPC_CREAT | 0600);
18918
shmaddr = shmat (id, 0, 0);
18919
shmctl (id, IPC_RMID, 0);
18920
if ((char*) shmat (id, 0, 0) == (char*) -1)
18931
if ac_fn_c_try_run "$LINENO"; then :
18933
$as_echo "#define IPC_RMID_DEFERRED_RELEASE 1" >>confdefs.h
18935
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18936
$as_echo "yes" >&6; }
18938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18939
$as_echo "no" >&6; }
18941
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18942
conftest.$ac_objext conftest.beam conftest.$ac_ext
18947
$as_echo "#define USE_SYSV_SHM 1" >>confdefs.h
18952
elif test "x$shmtype" = "xposix"; then
18955
ac_fn_c_check_func "$LINENO" "shm_open" "ac_cv_func_shm_open"
18956
if test "x$ac_cv_func_shm_open" = xyes; then :
18962
if test "$have_shm_open" != "yes"; then
18963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
18964
$as_echo_n "checking for shm_open in -lrt... " >&6; }
18965
if ${ac_cv_lib_rt_shm_open+:} false; then :
18966
$as_echo_n "(cached) " >&6
18968
ac_check_lib_save_LIBS=$LIBS
18970
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18971
/* end confdefs.h. */
18973
/* Override any GCC internal prototype to avoid an error.
18974
Use char because int might match the return type of a GCC
18975
builtin and then its argument prototype would still apply. */
18983
return shm_open ();
18988
if ac_fn_c_try_link "$LINENO"; then :
18989
ac_cv_lib_rt_shm_open=yes
18991
ac_cv_lib_rt_shm_open=no
18993
rm -f core conftest.err conftest.$ac_objext \
18994
conftest$ac_exeext conftest.$ac_ext
18995
LIBS=$ac_check_lib_save_LIBS
18997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
18998
$as_echo "$ac_cv_lib_rt_shm_open" >&6; }
18999
if test "x$ac_cv_lib_rt_shm_open" = xyes; then :
19000
RT_LIBS="-lrt" have_shm_open=yes
19006
ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
19007
if test "x$ac_cv_header_sys_mman_h" = xyes; then :
19009
$as_echo "#define HAVE_MMAN_H 1" >>confdefs.h
19017
if test "$ac_cv_func_mmap" = "yes" &&
19018
test "$ac_cv_header_sys_mman_h" = "yes" &&
19019
test "$have_shm_open" = "yes"; then
19021
$as_echo "#define USE_POSIX_SHM 1" >>confdefs.h
19028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared memory transport type" >&5
19029
$as_echo_n "checking for shared memory transport type... " >&6; }
19030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $shmtype" >&5
19031
$as_echo "$shmtype" >&6; }
19034
########################
19035
# Define a symbol prefix
19036
########################
19038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbols are prefixed" >&5
19039
$as_echo_n "checking whether symbols are prefixed... " >&6; }
19043
case "$host_cpu" in
19044
x86_64) SYMPREFIX='' ;;
19045
*) SYMPREFIX='_' ;;
19048
darwin* | rhapsody* | machten*)
19055
if test -n "$SYMPREFIX"; then
19056
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with a $SYMPREFIX" >&5
19057
$as_echo "yes, with a $SYMPREFIX" >&6; }
19059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19060
$as_echo "no" >&6; }
19066
############################
19067
# Check for select and fdset
19068
############################
19070
if test "x$os_win32" != xyes; then
19071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking fd_set and sys/select" >&5
19072
$as_echo_n "checking fd_set and sys/select... " >&6; }
19073
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074
/* end confdefs.h. */
19075
#include <sys/types.h>
19079
fd_set readMask, writeMask;
19084
if ac_fn_c_try_compile "$LINENO"; then :
19089
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19090
if test "x$gimp_ok" = xno; then
19091
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19092
/* end confdefs.h. */
19093
#include <sys/select.h>
19096
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19097
$EGREP "fd_mask" >/dev/null 2>&1; then :
19102
if test "x$gimp_ok" = xyes; then
19104
$as_echo "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
19108
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gimp_ok" >&5
19109
$as_echo "$gimp_ok" >&6; }
19110
if test "x$gimp_ok" = xno; then
19112
$as_echo "#define NO_FD_SET 1" >>confdefs.h
19118
#############################
19119
# Threads and multi processor
19120
#############################
19122
# Check whether --enable-mp was given.
19123
if test "${enable_mp+set}" = set; then :
19124
enableval=$enable_mp;
19128
if test "x$enable_mp" != "xno"; then
19130
$as_echo "#define ENABLE_MP 1" >>confdefs.h
19135
################################
19136
# Some plug-ins are X11 specific
19137
################################
19139
# Check if building for GTK+-X11
19140
gdk_target=`$PKG_CONFIG --variable=target gtk+-2.0`
19142
have_libxmu="no (building for $gdk_target)"
19144
if test "$gdk_target" = x11; then
19146
# doc-shooter is X11 specific
19147
DOC_SHOOTER=doc-shooter
19149
# screenshot plug-in needs to link to X11 explicitely
19150
SCREENSHOT_LIBS="$X_LIBS -lX11"
19152
gimp_save_CFLAGS="$CFLAGS"
19153
gimp_save_LDFLAGS="$LDFLAGS"
19154
CFLAGS="$CFLAGS $GTK_CFLAGS"
19155
LDFLAGS="$LDFLAGS $X_LIBS"
19158
if test -z "$XMU_LIBS"; then
19159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuClientWindow in -lXmu" >&5
19160
$as_echo_n "checking for XmuClientWindow in -lXmu... " >&6; }
19161
if ${ac_cv_lib_Xmu_XmuClientWindow+:} false; then :
19162
$as_echo_n "(cached) " >&6
19164
ac_check_lib_save_LIBS=$LIBS
19165
LIBS="-lXmu -lXt -lX11 $LIBS"
19166
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19167
/* end confdefs.h. */
19169
/* Override any GCC internal prototype to avoid an error.
19170
Use char because int might match the return type of a GCC
19171
builtin and then its argument prototype would still apply. */
19175
char XmuClientWindow ();
19179
return XmuClientWindow ();
19184
if ac_fn_c_try_link "$LINENO"; then :
19185
ac_cv_lib_Xmu_XmuClientWindow=yes
19187
ac_cv_lib_Xmu_XmuClientWindow=no
19189
rm -f core conftest.err conftest.$ac_objext \
19190
conftest$ac_exeext conftest.$ac_ext
19191
LIBS=$ac_check_lib_save_LIBS
19193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuClientWindow" >&5
19194
$as_echo "$ac_cv_lib_Xmu_XmuClientWindow" >&6; }
19195
if test "x$ac_cv_lib_Xmu_XmuClientWindow" = xyes; then :
19196
for ac_header in X11/Xmu/WinUtil.h
19198
ac_fn_c_check_header_compile "$LINENO" "X11/Xmu/WinUtil.h" "ac_cv_header_X11_Xmu_WinUtil_h" "#include <gdk/gdkx.h>
19200
if test "x$ac_cv_header_X11_Xmu_WinUtil_h" = xyes; then :
19201
cat >>confdefs.h <<_ACEOF
19202
#define HAVE_X11_XMU_WINUTIL_H 1
19205
XMU_LIBS="$X_LIBS $X_PRE_LIBS -lX11 -lXmu -lXt"
19206
SCREENSHOT_LIBS="$XMU_LIBS"
19208
have_libxmu="no (XMU header file not found)"
19214
have_libxmu="no (XMU library not found)"
19219
# Check for shaped window extension
19220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeGetRectangles in -lXext" >&5
19221
$as_echo_n "checking for XShapeGetRectangles in -lXext... " >&6; }
19222
if ${ac_cv_lib_Xext_XShapeGetRectangles+:} false; then :
19223
$as_echo_n "(cached) " >&6
19225
ac_check_lib_save_LIBS=$LIBS
19226
LIBS="-lXext -lX11 -lXext $LIBS"
19227
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19228
/* end confdefs.h. */
19230
/* Override any GCC internal prototype to avoid an error.
19231
Use char because int might match the return type of a GCC
19232
builtin and then its argument prototype would still apply. */
19236
char XShapeGetRectangles ();
19240
return XShapeGetRectangles ();
19245
if ac_fn_c_try_link "$LINENO"; then :
19246
ac_cv_lib_Xext_XShapeGetRectangles=yes
19248
ac_cv_lib_Xext_XShapeGetRectangles=no
19250
rm -f core conftest.err conftest.$ac_objext \
19251
conftest$ac_exeext conftest.$ac_ext
19252
LIBS=$ac_check_lib_save_LIBS
19254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeGetRectangles" >&5
19255
$as_echo "$ac_cv_lib_Xext_XShapeGetRectangles" >&6; }
19256
if test "x$ac_cv_lib_Xext_XShapeGetRectangles" = xyes; then :
19257
for ac_header in X11/extensions/shape.h
19259
ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#include <gdk/gdkx.h>
19261
if test "x$ac_cv_header_X11_extensions_shape_h" = xyes; then :
19262
cat >>confdefs.h <<_ACEOF
19263
#define HAVE_X11_EXTENSIONS_SHAPE_H 1
19265
SCREENSHOT_LIBS="$SCREENSHOT_LIBS -lXext"
19273
CFLAGS="$gimp_save_CFLAGS"
19274
LDFLAGS="$gimp_save_LDFLAGS"
19276
# check for the XFixes extension
19279
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFIXES" >&5
19280
$as_echo_n "checking for XFIXES... " >&6; }
19282
if test -n "$XFIXES_CFLAGS"; then
19283
pkg_cv_XFIXES_CFLAGS="$XFIXES_CFLAGS"
19284
elif test -n "$PKG_CONFIG"; then
19285
if test -n "$PKG_CONFIG" && \
19286
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes\""; } >&5
19287
($PKG_CONFIG --exists --print-errors "xfixes") 2>&5
19289
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19290
test $ac_status = 0; }; then
19291
pkg_cv_XFIXES_CFLAGS=`$PKG_CONFIG --cflags "xfixes" 2>/dev/null`
19292
test "x$?" != "x0" && pkg_failed=yes
19299
if test -n "$XFIXES_LIBS"; then
19300
pkg_cv_XFIXES_LIBS="$XFIXES_LIBS"
19301
elif test -n "$PKG_CONFIG"; then
19302
if test -n "$PKG_CONFIG" && \
19303
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes\""; } >&5
19304
($PKG_CONFIG --exists --print-errors "xfixes") 2>&5
19306
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19307
test $ac_status = 0; }; then
19308
pkg_cv_XFIXES_LIBS=`$PKG_CONFIG --libs "xfixes" 2>/dev/null`
19309
test "x$?" != "x0" && pkg_failed=yes
19319
if test $pkg_failed = yes; then
19320
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19321
$as_echo "no" >&6; }
19323
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19324
_pkg_short_errors_supported=yes
19326
_pkg_short_errors_supported=no
19328
if test $_pkg_short_errors_supported = yes; then
19329
XFIXES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xfixes" 2>&1`
19331
XFIXES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xfixes" 2>&1`
19333
# Put the nasty error message in config.log where it belongs
19334
echo "$XFIXES_PKG_ERRORS" >&5
19337
elif test $pkg_failed = untried; then
19338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19339
$as_echo "no" >&6; }
19342
XFIXES_CFLAGS=$pkg_cv_XFIXES_CFLAGS
19343
XFIXES_LIBS=$pkg_cv_XFIXES_LIBS
19344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19345
$as_echo "yes" >&6; }
19347
$as_echo "#define HAVE_XFIXES 1" >>confdefs.h
19349
SCREENSHOT_LIBS="$SCREENSHOT_LIBS $XFIXES_LIBS"
19359
GIMP_COMMAND='gimp-2.8'
19368
# The list of MIME types that are supported by plug-ins that are compiled
19370
MIME_TYPES="application/postscript;application/pdf;image/bmp;image/g3fax;image/gif;image/x-fits;image/pcx;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-psd;image/x-sgi;image/x-tga;image/x-xbitmap;image/x-xwindowdump;image/x-xcf;image/x-compressed-xcf;image/x-gimp-gbr;image/x-gimp-pat;image/x-gimp-gih"
19373
###################
19374
# Check for libtiff
19375
###################
19378
# Check whether --with-libtiff was given.
19379
if test "${with_libtiff+set}" = set; then :
19380
withval=$with_libtiff;
19385
if test "x$with_libtiff" != xno && test -z "$TIFF_LIBS"; then
19387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff" >&5
19388
$as_echo_n "checking for TIFFReadScanline in -ltiff... " >&6; }
19389
if ${ac_cv_lib_tiff_TIFFReadScanline+:} false; then :
19390
$as_echo_n "(cached) " >&6
19392
ac_check_lib_save_LIBS=$LIBS
19393
LIBS="-ltiff -lm $LIBS"
19394
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19395
/* end confdefs.h. */
19397
/* Override any GCC internal prototype to avoid an error.
19398
Use char because int might match the return type of a GCC
19399
builtin and then its argument prototype would still apply. */
19403
char TIFFReadScanline ();
19407
return TIFFReadScanline ();
19412
if ac_fn_c_try_link "$LINENO"; then :
19413
ac_cv_lib_tiff_TIFFReadScanline=yes
19415
ac_cv_lib_tiff_TIFFReadScanline=no
19417
rm -f core conftest.err conftest.$ac_objext \
19418
conftest$ac_exeext conftest.$ac_ext
19419
LIBS=$ac_check_lib_save_LIBS
19421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadScanline" >&5
19422
$as_echo "$ac_cv_lib_tiff_TIFFReadScanline" >&6; }
19423
if test "x$ac_cv_lib_tiff_TIFFReadScanline" = xyes; then :
19424
ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
19425
if test "x$ac_cv_header_tiffio_h" = xyes; then :
19426
FILE_TIFF_LOAD='file-tiff-load$(EXEEXT)'; FILE_TIFF_SAVE='file-tiff-save$(EXEEXT)'; TIFF_LIBS='-ltiff'
19428
have_libtiff="no (TIFF header files not found)"
19433
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFWriteScanline in -ltiff" >&5
19434
$as_echo_n "checking for TIFFWriteScanline in -ltiff... " >&6; }
19435
if ${ac_cv_lib_tiff_TIFFWriteScanline+:} false; then :
19436
$as_echo_n "(cached) " >&6
19438
ac_check_lib_save_LIBS=$LIBS
19439
LIBS="-ltiff -ljpeg -lz -lm $LIBS"
19440
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19441
/* end confdefs.h. */
19443
/* Override any GCC internal prototype to avoid an error.
19444
Use char because int might match the return type of a GCC
19445
builtin and then its argument prototype would still apply. */
19449
char TIFFWriteScanline ();
19453
return TIFFWriteScanline ();
19458
if ac_fn_c_try_link "$LINENO"; then :
19459
ac_cv_lib_tiff_TIFFWriteScanline=yes
19461
ac_cv_lib_tiff_TIFFWriteScanline=no
19463
rm -f core conftest.err conftest.$ac_objext \
19464
conftest$ac_exeext conftest.$ac_ext
19465
LIBS=$ac_check_lib_save_LIBS
19467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFWriteScanline" >&5
19468
$as_echo "$ac_cv_lib_tiff_TIFFWriteScanline" >&6; }
19469
if test "x$ac_cv_lib_tiff_TIFFWriteScanline" = xyes; then :
19470
ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
19471
if test "x$ac_cv_header_tiffio_h" = xyes; then :
19472
FILE_TIFF_LOAD='file-tiff-load$(EXEEXT)'; FILE_TIFF_SAVE='file-tiff-save$(EXEEXT)'; TIFF_LIBS='-ltiff -ljpeg -lz'
19474
have_libtiff="no (TIFF header files not found)"
19479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFFlushData in -ltiff34" >&5
19480
$as_echo_n "checking for TIFFFlushData in -ltiff34... " >&6; }
19481
if ${ac_cv_lib_tiff34_TIFFFlushData+:} false; then :
19482
$as_echo_n "(cached) " >&6
19484
ac_check_lib_save_LIBS=$LIBS
19485
LIBS="-ltiff34 -ljpeg -lz -lm $LIBS"
19486
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19487
/* end confdefs.h. */
19489
/* Override any GCC internal prototype to avoid an error.
19490
Use char because int might match the return type of a GCC
19491
builtin and then its argument prototype would still apply. */
19495
char TIFFFlushData ();
19499
return TIFFFlushData ();
19504
if ac_fn_c_try_link "$LINENO"; then :
19505
ac_cv_lib_tiff34_TIFFFlushData=yes
19507
ac_cv_lib_tiff34_TIFFFlushData=no
19509
rm -f core conftest.err conftest.$ac_objext \
19510
conftest$ac_exeext conftest.$ac_ext
19511
LIBS=$ac_check_lib_save_LIBS
19513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff34_TIFFFlushData" >&5
19514
$as_echo "$ac_cv_lib_tiff34_TIFFFlushData" >&6; }
19515
if test "x$ac_cv_lib_tiff34_TIFFFlushData" = xyes; then :
19516
ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
19517
if test "x$ac_cv_header_tiffio_h" = xyes; then :
19518
FILE_TIFF_LOAD='file-tiff-load$(EXEEXT)'; FILE_TIFF_SAVE='file-tiff-save$(EXEEXT)'; TIFF_LIBS='-ltiff34 -ljpeg -lz'
19520
have_libtiff="no (TIFF header files not found)"
19525
have_libtiff="no (TIFF library not found)"
19534
if test "x$with_libtiff" != xno && test -z "$TIFF_LIBS"; then
19536
*** Checks for TIFF libary failed. You can build without it by passing
19537
*** --without-libtiff to configure but you won't be able to use TIFFs then." "$LINENO" 5
19540
if test "x$have_libtiff" = xyes; then
19541
MIME_TYPES="$MIME_TYPES;image/tiff"
19549
###################
19550
# Check for libjpeg
19551
###################
19554
# Check whether --with-libjpeg was given.
19555
if test "${with_libjpeg+set}" = set; then :
19556
withval=$with_libjpeg;
19561
if test "x$with_libjpeg" != xno && test -z "$JPEG_LIBS"; then
19562
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5
19563
$as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; }
19564
if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then :
19565
$as_echo_n "(cached) " >&6
19567
ac_check_lib_save_LIBS=$LIBS
19568
LIBS="-ljpeg $LIBS"
19569
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19570
/* end confdefs.h. */
19572
/* Override any GCC internal prototype to avoid an error.
19573
Use char because int might match the return type of a GCC
19574
builtin and then its argument prototype would still apply. */
19578
char jpeg_destroy_decompress ();
19582
return jpeg_destroy_decompress ();
19587
if ac_fn_c_try_link "$LINENO"; then :
19588
ac_cv_lib_jpeg_jpeg_destroy_decompress=yes
19590
ac_cv_lib_jpeg_jpeg_destroy_decompress=no
19592
rm -f core conftest.err conftest.$ac_objext \
19593
conftest$ac_exeext conftest.$ac_ext
19594
LIBS=$ac_check_lib_save_LIBS
19596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5
19597
$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; }
19598
if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then :
19601
jpeg_ok="no (JPEG library not found)"
19602
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** XJT plug-in will not be built (JPEG library not found) ***" >&5
19603
$as_echo "$as_me: WARNING: *** XJT plug-in will not be built (JPEG library not found) ***" >&2;}
19606
if test "$jpeg_ok" = yes; then
19607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
19608
$as_echo_n "checking for jpeglib.h... " >&6; }
19609
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19610
/* end confdefs.h. */
19613
#undef HAVE_STDDEF_H
19614
#undef HAVE_STDLIB_H
19617
#include <jpeglib.h>
19619
if ac_fn_c_try_cpp "$LINENO"; then :
19622
jpeg_ok="no (Can't include jpeglib.h)"
19624
rm -f conftest.err conftest.i conftest.$ac_ext
19625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $jpeg_ok" >&5
19626
$as_echo "$jpeg_ok" >&6; }
19627
if test "$jpeg_ok" = yes; then
19628
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_save_markers in -ljpeg" >&5
19629
$as_echo_n "checking for jpeg_save_markers in -ljpeg... " >&6; }
19630
if ${ac_cv_lib_jpeg_jpeg_save_markers+:} false; then :
19631
$as_echo_n "(cached) " >&6
19633
ac_check_lib_save_LIBS=$LIBS
19634
LIBS="-ljpeg $LIBS"
19635
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19636
/* end confdefs.h. */
19638
/* Override any GCC internal prototype to avoid an error.
19639
Use char because int might match the return type of a GCC
19640
builtin and then its argument prototype would still apply. */
19644
char jpeg_save_markers ();
19648
return jpeg_save_markers ();
19653
if ac_fn_c_try_link "$LINENO"; then :
19654
ac_cv_lib_jpeg_jpeg_save_markers=yes
19656
ac_cv_lib_jpeg_jpeg_save_markers=no
19658
rm -f core conftest.err conftest.$ac_objext \
19659
conftest$ac_exeext conftest.$ac_ext
19660
LIBS=$ac_check_lib_save_LIBS
19662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_save_markers" >&5
19663
$as_echo "$ac_cv_lib_jpeg_jpeg_save_markers" >&6; }
19664
if test "x$ac_cv_lib_jpeg_jpeg_save_markers" = xyes; then :
19665
JPEG='jpeg$(EXEEXT)'; JPEG_LIBS='-ljpeg'
19667
jpeg_ok="no (JPEG library is too old)"
19671
jpeg_ok="no (JPEG header file not found)"
19676
if test "x$with_libjpeg" != xno && test -z "$JPEG_LIBS"; then
19678
*** Checks for JPEG library failed. You can build without it by passing
19679
*** --without-libjpeg to configure but you won't be able to use JPEGs then." "$LINENO" 5
19682
if test "x$jpeg_ok" = xyes; then
19683
MIME_TYPES="$MIME_TYPES;image/jpeg"
19686
if test "x$jpeg_ok" = xyes; then
19688
BUILD_JPEG_FALSE='#'
19690
BUILD_JPEG_TRUE='#'
19697
## xjt does build, but it is more confusing than useful on Win32,
19698
## as it wants to run tar, mv and bzip2, which seldom are available
19699
if test "x$jpeg_ok" = xyes && test "x$os_win32" = xno; then
19701
BUILD_XJT_FALSE='#'
19707
if test "x$jpeg_ok" != xyes; then
19708
have_xjt="no (no JPEG library)"
19709
elif test "x$os_win32" = xyes; then
19710
have_xjt="no (not built on Windows)"
19721
if test -z "$Z_LIBS"; then
19722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzsetparams in -lz" >&5
19723
$as_echo_n "checking for gzsetparams in -lz... " >&6; }
19724
if ${ac_cv_lib_z_gzsetparams+:} false; then :
19725
$as_echo_n "(cached) " >&6
19727
ac_check_lib_save_LIBS=$LIBS
19729
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19730
/* end confdefs.h. */
19732
/* Override any GCC internal prototype to avoid an error.
19733
Use char because int might match the return type of a GCC
19734
builtin and then its argument prototype would still apply. */
19738
char gzsetparams ();
19742
return gzsetparams ();
19747
if ac_fn_c_try_link "$LINENO"; then :
19748
ac_cv_lib_z_gzsetparams=yes
19750
ac_cv_lib_z_gzsetparams=no
19752
rm -f core conftest.err conftest.$ac_objext \
19753
conftest$ac_exeext conftest.$ac_ext
19754
LIBS=$ac_check_lib_save_LIBS
19756
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzsetparams" >&5
19757
$as_echo "$ac_cv_lib_z_gzsetparams" >&6; }
19758
if test "x$ac_cv_lib_z_gzsetparams" = xyes; then :
19759
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
19760
if test "x$ac_cv_header_zlib_h" = xyes; then :
19761
FILE_PSP='file-psp$(EXEEXT)'; Z_LIBS='-lz'
19763
have_zlib="no (ZLIB header files not found)"
19768
have_zlib="no (ZLIB library not found)"
19773
if test "x$have_zlib" = xyes; then
19774
MIME_TYPES="$MIME_TYPES;image/x-psp"
19779
if test "x$have_zlib" = xyes; then
19790
####################
19791
# Check for libbzip2
19792
####################
19795
# Check whether --with-bzip2 was given.
19796
if test "${with_bzip2+set}" = set; then :
19797
withval=$with_bzip2;
19802
if test "x$with_bzip2" != xno; then
19804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzCompress in -lbz2" >&5
19805
$as_echo_n "checking for BZ2_bzCompress in -lbz2... " >&6; }
19806
if ${ac_cv_lib_bz2_BZ2_bzCompress+:} false; then :
19807
$as_echo_n "(cached) " >&6
19809
ac_check_lib_save_LIBS=$LIBS
19811
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19812
/* end confdefs.h. */
19814
/* Override any GCC internal prototype to avoid an error.
19815
Use char because int might match the return type of a GCC
19816
builtin and then its argument prototype would still apply. */
19820
char BZ2_bzCompress ();
19824
return BZ2_bzCompress ();
19829
if ac_fn_c_try_link "$LINENO"; then :
19830
ac_cv_lib_bz2_BZ2_bzCompress=yes
19832
ac_cv_lib_bz2_BZ2_bzCompress=no
19834
rm -f core conftest.err conftest.$ac_objext \
19835
conftest$ac_exeext conftest.$ac_ext
19836
LIBS=$ac_check_lib_save_LIBS
19838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzCompress" >&5
19839
$as_echo "$ac_cv_lib_bz2_BZ2_bzCompress" >&6; }
19840
if test "x$ac_cv_lib_bz2_BZ2_bzCompress" = xyes; then :
19841
ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
19842
if test "x$ac_cv_header_bzlib_h" = xyes; then :
19845
have_libbzip2="no (libbzip2 header files not found)"
19850
have_libbzip2="no (libbzip2 library not found)"
19853
if test "x$have_libbzip2" != xyes -a "x$with_bzip2" = xyes; then
19855
*** Checks for bzip2 library failed. You can build without it by passing
19856
*** --without-bzip2 to configure but you won't be able to use compressed files then." "$LINENO" 5
19860
if test "x$have_libbzip2" = xyes; then
19862
HAVE_BZIP2_FALSE='#'
19864
HAVE_BZIP2_TRUE='#'
19871
if test "x$have_zlib" = xyes && test "x$have_libbzip2" = xyes; then
19872
have_compressor=yes
19876
###############################
19877
# Check for Ghostscript library
19878
###############################
19881
# Check whether --with-gs was given.
19882
if test "${with_gs+set}" = set; then :
19888
if test "x$with_gs" != xno; then
19890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsapi_new_instance in -lgs" >&5
19891
$as_echo_n "checking for gsapi_new_instance in -lgs... " >&6; }
19892
if ${ac_cv_lib_gs_gsapi_new_instance+:} false; then :
19893
$as_echo_n "(cached) " >&6
19895
ac_check_lib_save_LIBS=$LIBS
19897
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19898
/* end confdefs.h. */
19900
/* Override any GCC internal prototype to avoid an error.
19901
Use char because int might match the return type of a GCC
19902
builtin and then its argument prototype would still apply. */
19906
char gsapi_new_instance ();
19910
return gsapi_new_instance ();
19915
if ac_fn_c_try_link "$LINENO"; then :
19916
ac_cv_lib_gs_gsapi_new_instance=yes
19918
ac_cv_lib_gs_gsapi_new_instance=no
19920
rm -f core conftest.err conftest.$ac_objext \
19921
conftest$ac_exeext conftest.$ac_ext
19922
LIBS=$ac_check_lib_save_LIBS
19924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gs_gsapi_new_instance" >&5
19925
$as_echo "$ac_cv_lib_gs_gsapi_new_instance" >&6; }
19926
if test "x$ac_cv_lib_gs_gsapi_new_instance" = xyes; then :
19927
ac_fn_c_check_header_mongrel "$LINENO" "ghostscript/iapi.h" "ac_cv_header_ghostscript_iapi_h" "$ac_includes_default"
19928
if test "x$ac_cv_header_ghostscript_iapi_h" = xyes; then :
19929
FILE_PS='file-ps$(EXEEXT)'; GS_LIBS='-lgs'
19931
have_gs="no (Ghostscript header files not found)"
19936
have_gs="no (Ghostscript library not found)"
19939
if test "x$have_gs" != xyes -a "x$with_gs" = xyes; then
19941
*** Checks for Ghostscript library failed. You can build without it by passing
19942
*** --without-gs to configure but you won't be able to use Postscript files then." "$LINENO" 5
19947
if test "x$have_gs" = xyes; then
19963
# Check whether --with-libpng was given.
19964
if test "${with_libpng+set}" = set; then :
19965
withval=$with_libpng;
19970
if test "x$with_libpng" != xno; then
19974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
19975
$as_echo_n "checking for PNG... " >&6; }
19977
if test -n "$PNG_CFLAGS"; then
19978
pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
19979
elif test -n "$PKG_CONFIG"; then
19980
if test -n "$PKG_CONFIG" && \
19981
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.37\""; } >&5
19982
($PKG_CONFIG --exists --print-errors "libpng >= 1.2.37") 2>&5
19984
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19985
test $ac_status = 0; }; then
19986
pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng >= 1.2.37" 2>/dev/null`
19987
test "x$?" != "x0" && pkg_failed=yes
19994
if test -n "$PNG_LIBS"; then
19995
pkg_cv_PNG_LIBS="$PNG_LIBS"
19996
elif test -n "$PKG_CONFIG"; then
19997
if test -n "$PKG_CONFIG" && \
19998
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.37\""; } >&5
19999
($PKG_CONFIG --exists --print-errors "libpng >= 1.2.37") 2>&5
20001
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20002
test $ac_status = 0; }; then
20003
pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng >= 1.2.37" 2>/dev/null`
20004
test "x$?" != "x0" && pkg_failed=yes
20014
if test $pkg_failed = yes; then
20015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20016
$as_echo "no" >&6; }
20018
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20019
_pkg_short_errors_supported=yes
20021
_pkg_short_errors_supported=no
20023
if test $_pkg_short_errors_supported = yes; then
20024
PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng >= 1.2.37" 2>&1`
20026
PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng >= 1.2.37" 2>&1`
20028
# Put the nasty error message in config.log where it belongs
20029
echo "$PNG_PKG_ERRORS" >&5
20031
have_libpng="no (libpng not found)"
20033
*** Checks for PNG library failed. You can build without it by passing
20034
*** --without-libpng to configure but you won't be able to use PNGs then." "$LINENO" 5
20035
elif test $pkg_failed = untried; then
20036
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20037
$as_echo "no" >&6; }
20038
have_libpng="no (libpng not found)"
20040
*** Checks for PNG library failed. You can build without it by passing
20041
*** --without-libpng to configure but you won't be able to use PNGs then." "$LINENO" 5
20043
PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
20044
PNG_LIBS=$pkg_cv_PNG_LIBS
20045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20046
$as_echo "yes" >&6; }
20047
FILE_PNG='file-png$(EXEEXT)'
20051
if test "x$have_libpng" = xyes; then
20052
MIME_TYPES="$MIME_TYPES;image/png;image/x-icon"
20053
PNG_CFLAGS="$PNG_CFLAGS -DPNG_PEDANTIC_WARNINGS"
20058
if test "x$have_libpng" = xyes; then
20073
# Check whether --with-libmng was given.
20074
if test "${with_libmng+set}" = set; then :
20075
withval=$with_libmng;
20080
if test "x$with_libmng" != xno && test -z "$MNG_LIBS" &&
20081
test -n "$PNG_LIBS" && test -n "$JPEG_LIBS" && test -n "$Z_LIBS"; then
20082
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mng_create in -lmng" >&5
20083
$as_echo_n "checking for mng_create in -lmng... " >&6; }
20084
if ${ac_cv_lib_mng_mng_create+:} false; then :
20085
$as_echo_n "(cached) " >&6
20087
ac_check_lib_save_LIBS=$LIBS
20088
LIBS="-lmng -lz -lm $LIBS"
20089
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20090
/* end confdefs.h. */
20092
/* Override any GCC internal prototype to avoid an error.
20093
Use char because int might match the return type of a GCC
20094
builtin and then its argument prototype would still apply. */
20098
char mng_create ();
20102
return mng_create ();
20107
if ac_fn_c_try_link "$LINENO"; then :
20108
ac_cv_lib_mng_mng_create=yes
20110
ac_cv_lib_mng_mng_create=no
20112
rm -f core conftest.err conftest.$ac_objext \
20113
conftest$ac_exeext conftest.$ac_ext
20114
LIBS=$ac_check_lib_save_LIBS
20116
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mng_mng_create" >&5
20117
$as_echo "$ac_cv_lib_mng_mng_create" >&6; }
20118
if test "x$ac_cv_lib_mng_mng_create" = xyes; then :
20119
ac_fn_c_check_header_mongrel "$LINENO" "libmng.h" "ac_cv_header_libmng_h" "$ac_includes_default"
20120
if test "x$ac_cv_header_libmng_h" = xyes; then :
20126
have_libmng="no (MNG library not found)"
20129
if test "$mng_ok" = yes; then
20131
FILE_MNG='file-mng$(EXEEXT)'; MNG_LIBS="-lmng $JPEG_LIBS $PNG_LIBS"; MNG_CFLAGS="$PNG_CFLAGS"
20133
have_libmng="no (MNG header file not found)"
20142
############################################################
20143
# libexif: Library to allow exif tags to be read from, and
20144
# saved to, jpeg files. Currently, this permits exif data to
20145
# avoid destruction, but no data modification is performed.
20146
############################################################
20149
# Check whether --with-libexif was given.
20150
if test "${with_libexif+set}" = set; then :
20151
withval=$with_libexif;
20156
if test "x$with_libexif" != xno && test -z "$EXIF_LIBS" && test -n "$JPEG_LIBS"; then
20160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXIF" >&5
20161
$as_echo_n "checking for EXIF... " >&6; }
20163
if test -n "$EXIF_CFLAGS"; then
20164
pkg_cv_EXIF_CFLAGS="$EXIF_CFLAGS"
20165
elif test -n "$PKG_CONFIG"; then
20166
if test -n "$PKG_CONFIG" && \
20167
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexif >= 0.6.15\""; } >&5
20168
($PKG_CONFIG --exists --print-errors "libexif >= 0.6.15") 2>&5
20170
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20171
test $ac_status = 0; }; then
20172
pkg_cv_EXIF_CFLAGS=`$PKG_CONFIG --cflags "libexif >= 0.6.15" 2>/dev/null`
20173
test "x$?" != "x0" && pkg_failed=yes
20180
if test -n "$EXIF_LIBS"; then
20181
pkg_cv_EXIF_LIBS="$EXIF_LIBS"
20182
elif test -n "$PKG_CONFIG"; then
20183
if test -n "$PKG_CONFIG" && \
20184
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexif >= 0.6.15\""; } >&5
20185
($PKG_CONFIG --exists --print-errors "libexif >= 0.6.15") 2>&5
20187
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20188
test $ac_status = 0; }; then
20189
pkg_cv_EXIF_LIBS=`$PKG_CONFIG --libs "libexif >= 0.6.15" 2>/dev/null`
20190
test "x$?" != "x0" && pkg_failed=yes
20200
if test $pkg_failed = yes; then
20201
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20202
$as_echo "no" >&6; }
20204
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20205
_pkg_short_errors_supported=yes
20207
_pkg_short_errors_supported=no
20209
if test $_pkg_short_errors_supported = yes; then
20210
EXIF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libexif >= 0.6.15" 2>&1`
20212
EXIF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libexif >= 0.6.15" 2>&1`
20214
# Put the nasty error message in config.log where it belongs
20215
echo "$EXIF_PKG_ERRORS" >&5
20217
have_libexif="no (libexif not found or too old)"
20218
elif test $pkg_failed = untried; then
20219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20220
$as_echo "no" >&6; }
20221
have_libexif="no (libexif not found or too old)"
20223
EXIF_CFLAGS=$pkg_cv_EXIF_CFLAGS
20224
EXIF_LIBS=$pkg_cv_EXIF_LIBS
20225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20226
$as_echo "yes" >&6; }
20228
$as_echo "#define HAVE_LIBEXIF 1" >>confdefs.h
20236
if test "x$have_libexif" = xyes; then
20238
HAVE_LIBEXIF_FALSE='#'
20240
HAVE_LIBEXIF_TRUE='#'
20241
HAVE_LIBEXIF_FALSE=
20251
# Check whether --with-aa was given.
20252
if test "${with_aa+set}" = set; then :
20258
if test "x$with_aa" != xno && test -z "$AA_LIBS"; then
20260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for aa_printf in -laa" >&5
20261
$as_echo_n "checking for aa_printf in -laa... " >&6; }
20262
if ${ac_cv_lib_aa_aa_printf+:} false; then :
20263
$as_echo_n "(cached) " >&6
20265
ac_check_lib_save_LIBS=$LIBS
20267
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20268
/* end confdefs.h. */
20270
/* Override any GCC internal prototype to avoid an error.
20271
Use char because int might match the return type of a GCC
20272
builtin and then its argument prototype would still apply. */
20280
return aa_printf ();
20285
if ac_fn_c_try_link "$LINENO"; then :
20286
ac_cv_lib_aa_aa_printf=yes
20288
ac_cv_lib_aa_aa_printf=no
20290
rm -f core conftest.err conftest.$ac_objext \
20291
conftest$ac_exeext conftest.$ac_ext
20292
LIBS=$ac_check_lib_save_LIBS
20294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aa_aa_printf" >&5
20295
$as_echo "$ac_cv_lib_aa_aa_printf" >&6; }
20296
if test "x$ac_cv_lib_aa_aa_printf" = xyes; then :
20297
ac_fn_c_check_header_mongrel "$LINENO" "aalib.h" "ac_cv_header_aalib_h" "$ac_includes_default"
20298
if test "x$ac_cv_header_aalib_h" = xyes; then :
20299
FILE_AA='file-aa$(EXEEXT)'; AA_LIBS='-laa'
20301
have_libaa="no (AA header file not found)"
20306
have_libaa="no (AA library not found)"
20320
# Check whether --with-libxpm was given.
20321
if test "${with_libxpm+set}" = set; then :
20322
withval=$with_libxpm;
20326
gimp_save_CFLAGS="$CFLAGS"
20327
CFLAGS="$CFLAGS $X_CFLAGS"
20328
gimp_save_LDFLAGS="$LDFLAGS"
20329
LDFLAGS="$LDFLAGS $X_LIBS"
20330
if test "$gdk_target" = x11; then
20334
if test "x$with_libxpm" != xno && test -z "$XPM_LIBS"; then
20336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToXpmImage in -lXpm" >&5
20337
$as_echo_n "checking for XpmReadFileToXpmImage in -lXpm... " >&6; }
20338
if ${ac_cv_lib_Xpm_XpmReadFileToXpmImage+:} false; then :
20339
$as_echo_n "(cached) " >&6
20341
ac_check_lib_save_LIBS=$LIBS
20342
LIBS="-lXpm $X_PRE_LIBS $lib_X11 $LIBS"
20343
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20344
/* end confdefs.h. */
20346
/* Override any GCC internal prototype to avoid an error.
20347
Use char because int might match the return type of a GCC
20348
builtin and then its argument prototype would still apply. */
20352
char XpmReadFileToXpmImage ();
20356
return XpmReadFileToXpmImage ();
20361
if ac_fn_c_try_link "$LINENO"; then :
20362
ac_cv_lib_Xpm_XpmReadFileToXpmImage=yes
20364
ac_cv_lib_Xpm_XpmReadFileToXpmImage=no
20366
rm -f core conftest.err conftest.$ac_objext \
20367
conftest$ac_exeext conftest.$ac_ext
20368
LIBS=$ac_check_lib_save_LIBS
20370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToXpmImage" >&5
20371
$as_echo "$ac_cv_lib_Xpm_XpmReadFileToXpmImage" >&6; }
20372
if test "x$ac_cv_lib_Xpm_XpmReadFileToXpmImage" = xyes; then :
20373
ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default"
20374
if test "x$ac_cv_header_X11_xpm_h" = xyes; then :
20375
FILE_XPM='file-xpm$(EXEEXT)'; XPM_LIBS="$X_LIBS $X_PRE_LIBS $lib_X11 -lXpm"
20377
have_libxpm="no (XPM header file not found)"
20382
have_libxpm="no (XPM library not found)"
20386
CFLAGS="$gimp_save_CFLAGS"
20387
LDFLAGS="$gimp_save_LDFLAGS"
20389
if test "x$have_libxpm" = xyes; then
20390
MIME_TYPES="$MIME_TYPES;image/x-xpixmap"
20402
# Check whether --with-webkit was given.
20403
if test "${with_webkit+set}" = set; then :
20404
withval=$with_webkit;
20409
if test "x$with_webkit" != xno; then
20412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
20413
$as_echo_n "checking for WEBKIT... " >&6; }
20415
if test -n "$WEBKIT_CFLAGS"; then
20416
pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
20417
elif test -n "$PKG_CONFIG"; then
20418
if test -n "$PKG_CONFIG" && \
20419
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0 >= 1.6.1\""; } >&5
20420
($PKG_CONFIG --exists --print-errors "webkit-1.0 >= 1.6.1") 2>&5
20422
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20423
test $ac_status = 0; }; then
20424
pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0 >= 1.6.1" 2>/dev/null`
20425
test "x$?" != "x0" && pkg_failed=yes
20432
if test -n "$WEBKIT_LIBS"; then
20433
pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
20434
elif test -n "$PKG_CONFIG"; then
20435
if test -n "$PKG_CONFIG" && \
20436
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0 >= 1.6.1\""; } >&5
20437
($PKG_CONFIG --exists --print-errors "webkit-1.0 >= 1.6.1") 2>&5
20439
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20440
test $ac_status = 0; }; then
20441
pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0 >= 1.6.1" 2>/dev/null`
20442
test "x$?" != "x0" && pkg_failed=yes
20452
if test $pkg_failed = yes; then
20453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20454
$as_echo "no" >&6; }
20456
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20457
_pkg_short_errors_supported=yes
20459
_pkg_short_errors_supported=no
20461
if test $_pkg_short_errors_supported = yes; then
20462
WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "webkit-1.0 >= 1.6.1" 2>&1`
20464
WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "webkit-1.0 >= 1.6.1" 2>&1`
20466
# Put the nasty error message in config.log where it belongs
20467
echo "$WEBKIT_PKG_ERRORS" >&5
20469
have_webkit="no (WebKit not found)"
20470
elif test $pkg_failed = untried; then
20471
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20472
$as_echo "no" >&6; }
20473
have_webkit="no (WebKit not found)"
20475
WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
20476
WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
20477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20478
$as_echo "yes" >&6; }
20479
WEB_PAGE='web-page$(EXEEXT)'
20483
have_webkit="no (WebKit support disabled)"
20487
if test "x$have_webkit" = xyes; then
20489
HAVE_WEBKIT_FALSE='#'
20491
HAVE_WEBKIT_TRUE='#'
20497
###################
20498
# Check for librsvg
20499
###################
20502
# Check whether --with-librsvg was given.
20503
if test "${with_librsvg+set}" = set; then :
20504
withval=$with_librsvg;
20509
if test "x$with_librsvg" != xno; then
20513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVG" >&5
20514
$as_echo_n "checking for SVG... " >&6; }
20516
if test -n "$SVG_CFLAGS"; then
20517
pkg_cv_SVG_CFLAGS="$SVG_CFLAGS"
20518
elif test -n "$PKG_CONFIG"; then
20519
if test -n "$PKG_CONFIG" && \
20520
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.36.0\""; } >&5
20521
($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.36.0") 2>&5
20523
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20524
test $ac_status = 0; }; then
20525
pkg_cv_SVG_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0 >= 2.36.0" 2>/dev/null`
20526
test "x$?" != "x0" && pkg_failed=yes
20533
if test -n "$SVG_LIBS"; then
20534
pkg_cv_SVG_LIBS="$SVG_LIBS"
20535
elif test -n "$PKG_CONFIG"; then
20536
if test -n "$PKG_CONFIG" && \
20537
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.36.0\""; } >&5
20538
($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.36.0") 2>&5
20540
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20541
test $ac_status = 0; }; then
20542
pkg_cv_SVG_LIBS=`$PKG_CONFIG --libs "librsvg-2.0 >= 2.36.0" 2>/dev/null`
20543
test "x$?" != "x0" && pkg_failed=yes
20553
if test $pkg_failed = yes; then
20554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20555
$as_echo "no" >&6; }
20557
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20558
_pkg_short_errors_supported=yes
20560
_pkg_short_errors_supported=no
20562
if test $_pkg_short_errors_supported = yes; then
20563
SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "librsvg-2.0 >= 2.36.0" 2>&1`
20565
SVG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "librsvg-2.0 >= 2.36.0" 2>&1`
20567
# Put the nasty error message in config.log where it belongs
20568
echo "$SVG_PKG_ERRORS" >&5
20570
have_librsvg="no (librsvg not found)"
20571
elif test $pkg_failed = untried; then
20572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20573
$as_echo "no" >&6; }
20574
have_librsvg="no (librsvg not found)"
20576
SVG_CFLAGS=$pkg_cv_SVG_CFLAGS
20577
SVG_LIBS=$pkg_cv_SVG_LIBS
20578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20579
$as_echo "yes" >&6; }
20580
FILE_SVG='file-svg$(EXEEXT)'
20583
have_librsvg="no (librsvg support disabled)"
20586
if test "x$have_librsvg" = xyes; then
20587
MIME_TYPES="$MIME_TYPES;image/svg+xml"
20593
####################################
20594
# Allow to disable the print plug-in
20595
####################################
20598
# Check whether --with-print was given.
20599
if test "${with_print+set}" = set; then :
20600
withval=$with_print;
20604
enable_print="no (disabled)"
20605
if test "x$with_print" != xno; then
20609
if test "x$enable_print" = xyes; then
20611
BUILD_PRINT_FALSE='#'
20613
BUILD_PRINT_TRUE='#'
20619
######################
20620
# Check for libpoppler
20621
######################
20624
# Check whether --with-poppler was given.
20625
if test "${with_poppler+set}" = set; then :
20626
withval=$with_poppler;
20631
if test "x$with_poppler" != xno; then
20634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POPPLER" >&5
20635
$as_echo_n "checking for POPPLER... " >&6; }
20637
if test -n "$POPPLER_CFLAGS"; then
20638
pkg_cv_POPPLER_CFLAGS="$POPPLER_CFLAGS"
20639
elif test -n "$PKG_CONFIG"; then
20640
if test -n "$PKG_CONFIG" && \
20641
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.12.4 gthread-2.0\""; } >&5
20642
($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.12.4 gthread-2.0") 2>&5
20644
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20645
test $ac_status = 0; }; then
20646
pkg_cv_POPPLER_CFLAGS=`$PKG_CONFIG --cflags "poppler-glib >= 0.12.4 gthread-2.0" 2>/dev/null`
20647
test "x$?" != "x0" && pkg_failed=yes
20654
if test -n "$POPPLER_LIBS"; then
20655
pkg_cv_POPPLER_LIBS="$POPPLER_LIBS"
20656
elif test -n "$PKG_CONFIG"; then
20657
if test -n "$PKG_CONFIG" && \
20658
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.12.4 gthread-2.0\""; } >&5
20659
($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.12.4 gthread-2.0") 2>&5
20661
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20662
test $ac_status = 0; }; then
20663
pkg_cv_POPPLER_LIBS=`$PKG_CONFIG --libs "poppler-glib >= 0.12.4 gthread-2.0" 2>/dev/null`
20664
test "x$?" != "x0" && pkg_failed=yes
20674
if test $pkg_failed = yes; then
20675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20676
$as_echo "no" >&6; }
20678
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20679
_pkg_short_errors_supported=yes
20681
_pkg_short_errors_supported=no
20683
if test $_pkg_short_errors_supported = yes; then
20684
POPPLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "poppler-glib >= 0.12.4 gthread-2.0" 2>&1`
20686
POPPLER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "poppler-glib >= 0.12.4 gthread-2.0" 2>&1`
20688
# Put the nasty error message in config.log where it belongs
20689
echo "$POPPLER_PKG_ERRORS" >&5
20691
have_poppler="Using PostScript plug-in (libpoppler not found)"
20692
elif test $pkg_failed = untried; then
20693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20694
$as_echo "no" >&6; }
20695
have_poppler="Using PostScript plug-in (libpoppler not found)"
20697
POPPLER_CFLAGS=$pkg_cv_POPPLER_CFLAGS
20698
POPPLER_LIBS=$pkg_cv_POPPLER_LIBS
20699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20700
$as_echo "yes" >&6; }
20701
FILE_PDF_LOAD='file-pdf-load$(EXEEXT)'
20703
$as_echo "#define HAVE_POPPLER 1" >>confdefs.h
20708
have_poppler="Using PostScript plug-in (libpoppler support disabled)"
20714
#####################
20715
# Check for cairo-pdf
20716
#####################
20719
# Check whether --with-cairo_pdf was given.
20720
if test "${with_cairo_pdf+set}" = set; then :
20721
withval=$with_cairo_pdf;
20725
if test "x$with_cairo_pdf" != xno; then
20729
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_PDF" >&5
20730
$as_echo_n "checking for CAIRO_PDF... " >&6; }
20732
if test -n "$CAIRO_PDF_CFLAGS"; then
20733
pkg_cv_CAIRO_PDF_CFLAGS="$CAIRO_PDF_CFLAGS"
20734
elif test -n "$PKG_CONFIG"; then
20735
if test -n "$PKG_CONFIG" && \
20736
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-pdf >= 1.10.2\""; } >&5
20737
($PKG_CONFIG --exists --print-errors "cairo-pdf >= 1.10.2") 2>&5
20739
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20740
test $ac_status = 0; }; then
20741
pkg_cv_CAIRO_PDF_CFLAGS=`$PKG_CONFIG --cflags "cairo-pdf >= 1.10.2" 2>/dev/null`
20742
test "x$?" != "x0" && pkg_failed=yes
20749
if test -n "$CAIRO_PDF_LIBS"; then
20750
pkg_cv_CAIRO_PDF_LIBS="$CAIRO_PDF_LIBS"
20751
elif test -n "$PKG_CONFIG"; then
20752
if test -n "$PKG_CONFIG" && \
20753
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-pdf >= 1.10.2\""; } >&5
20754
($PKG_CONFIG --exists --print-errors "cairo-pdf >= 1.10.2") 2>&5
20756
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20757
test $ac_status = 0; }; then
20758
pkg_cv_CAIRO_PDF_LIBS=`$PKG_CONFIG --libs "cairo-pdf >= 1.10.2" 2>/dev/null`
20759
test "x$?" != "x0" && pkg_failed=yes
20769
if test $pkg_failed = yes; then
20770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20771
$as_echo "no" >&6; }
20773
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20774
_pkg_short_errors_supported=yes
20776
_pkg_short_errors_supported=no
20778
if test $_pkg_short_errors_supported = yes; then
20779
CAIRO_PDF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo-pdf >= 1.10.2" 2>&1`
20781
CAIRO_PDF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo-pdf >= 1.10.2" 2>&1`
20783
# Put the nasty error message in config.log where it belongs
20784
echo "$CAIRO_PDF_PKG_ERRORS" >&5
20786
have_cairo_pdf="no (cairo-pdf not found)"
20787
elif test $pkg_failed = untried; then
20788
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20789
$as_echo "no" >&6; }
20790
have_cairo_pdf="no (cairo-pdf not found)"
20792
CAIRO_PDF_CFLAGS=$pkg_cv_CAIRO_PDF_CFLAGS
20793
CAIRO_PDF_LIBS=$pkg_cv_CAIRO_PDF_LIBS
20794
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20795
$as_echo "yes" >&6; }
20796
FILE_PDF_SAVE='file-pdf-save$(EXEEXT)'
20799
have_cairo_pdf="no (cairo-pdf support disabled)"
20804
## If both poppler and cairo-pdf are enabled then we have complete PDF support
20805
if test "x$have_cairo_pdf" = xyes && test "x$have_poppler" = xyes; then
20806
MIME_TYPES="$MIME_TYPES;application/pdf"
20810
################################
20811
# Check for gio/gvfs and libcurl
20812
################################
20818
# Check whether --with-gvfs was given.
20819
if test "${with_gvfs+set}" = set; then :
20820
withval=$with_gvfs;
20824
if test "x$with_gvfs" != xno; then
20826
HAVE_GVFS_FALSE='#'
20835
# Check whether --with-libcurl was given.
20836
if test "${with_libcurl+set}" = set; then :
20837
withval=$with_libcurl;
20841
have_libcurl="no (disabled)"
20843
if test "x$with_libcurl" != xno; then
20847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
20848
$as_echo_n "checking for CURL... " >&6; }
20850
if test -n "$CURL_CFLAGS"; then
20851
pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
20852
elif test -n "$PKG_CONFIG"; then
20853
if test -n "$PKG_CONFIG" && \
20854
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.15.1\""; } >&5
20855
($PKG_CONFIG --exists --print-errors "libcurl >= 7.15.1") 2>&5
20857
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20858
test $ac_status = 0; }; then
20859
pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.15.1" 2>/dev/null`
20860
test "x$?" != "x0" && pkg_failed=yes
20867
if test -n "$CURL_LIBS"; then
20868
pkg_cv_CURL_LIBS="$CURL_LIBS"
20869
elif test -n "$PKG_CONFIG"; then
20870
if test -n "$PKG_CONFIG" && \
20871
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.15.1\""; } >&5
20872
($PKG_CONFIG --exists --print-errors "libcurl >= 7.15.1") 2>&5
20874
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20875
test $ac_status = 0; }; then
20876
pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.15.1" 2>/dev/null`
20877
test "x$?" != "x0" && pkg_failed=yes
20887
if test $pkg_failed = yes; then
20888
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20889
$as_echo "no" >&6; }
20891
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20892
_pkg_short_errors_supported=yes
20894
_pkg_short_errors_supported=no
20896
if test $_pkg_short_errors_supported = yes; then
20897
CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl >= 7.15.1" 2>&1`
20899
CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl >= 7.15.1" 2>&1`
20901
# Put the nasty error message in config.log where it belongs
20902
echo "$CURL_PKG_ERRORS" >&5
20904
have_libcurl="no (libcurl not found)"
20905
elif test $pkg_failed = untried; then
20906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20907
$as_echo "no" >&6; }
20908
have_libcurl="no (libcurl not found)"
20910
CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
20911
CURL_LIBS=$pkg_cv_CURL_LIBS
20912
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20913
$as_echo "yes" >&6; }
20919
if test "x$have_libcurl" = xyes; then
20921
HAVE_LIBCURL_FALSE='#'
20923
HAVE_LIBCURL_TRUE='#'
20924
HAVE_LIBCURL_FALSE=
20929
if test "x$with_gvfs" != xno; then
20930
uri_plugin="yes (using GIO/GVfs)"
20931
elif test "x$have_libcurl" = xyes; then
20932
uri_plugin="yes (using libcurl)"
20933
elif test "x$os_win32" = xno; then
20934
uri_plugin="yes (using wget)"
20938
###################
20939
# Check for libwmf2
20940
###################
20943
# Check whether --with-wmf was given.
20944
if test "${with_wmf+set}" = set; then :
20950
if test "x$with_wmf" != xno; then
20951
# Extract the first word of "libwmf-config", so it can be a program name with args.
20952
set dummy libwmf-config; ac_word=$2
20953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20954
$as_echo_n "checking for $ac_word... " >&6; }
20955
if ${ac_cv_path_WMF_CONFIG+:} false; then :
20956
$as_echo_n "(cached) " >&6
20958
case $WMF_CONFIG in
20960
ac_cv_path_WMF_CONFIG="$WMF_CONFIG" # Let the user override the test with a path.
20963
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20964
for as_dir in $PATH
20967
test -z "$as_dir" && as_dir=.
20968
for ac_exec_ext in '' $ac_executable_extensions; do
20969
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20970
ac_cv_path_WMF_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20971
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20978
test -z "$ac_cv_path_WMF_CONFIG" && ac_cv_path_WMF_CONFIG="no"
20982
WMF_CONFIG=$ac_cv_path_WMF_CONFIG
20983
if test -n "$WMF_CONFIG"; then
20984
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $WMF_CONFIG" >&5
20985
$as_echo "$WMF_CONFIG" >&6; }
20987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20988
$as_echo "no" >&6; }
20992
if test "x$WMF_CONFIG" != "xno" ; then
20994
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libwmf >= 0.2.8" >&5
20995
$as_echo_n "checking for libwmf >= 0.2.8... " >&6; }
20996
wmf_version=`$WMF_CONFIG --version`
20997
if expr $wmf_version \>= 0.2.8 >/dev/null; then
20998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $wmf_version)" >&5
20999
$as_echo "yes (version $wmf_version)" >&6; }
21000
FILE_WMF='file-wmf$(EXEEXT)'
21001
WMF_LIBS=`$WMF_CONFIG --libs`
21002
WMF_CFLAGS=`$WMF_CONFIG --cflags`
21004
have_libwmf="no (libwmf is too old)"
21007
have_libwmf="no (libwmf not found)"
21011
if test "x$have_libwmf" = xyes; then
21012
MIME_TYPES="$MIME_TYPES;image/x-wmf"
21020
#####################
21021
# Check for libjasper
21022
#####################
21025
# Check whether --with-libjasper was given.
21026
if test "${with_libjasper+set}" = set; then :
21027
withval=$with_libjasper;
21032
if test "x$with_libjasper" != xno && test -z "$JASPER_LIBS"; then
21034
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jas_init in -ljasper" >&5
21035
$as_echo_n "checking for jas_init in -ljasper... " >&6; }
21036
if ${ac_cv_lib_jasper_jas_init+:} false; then :
21037
$as_echo_n "(cached) " >&6
21039
ac_check_lib_save_LIBS=$LIBS
21040
LIBS="-ljasper $LIBS"
21041
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21042
/* end confdefs.h. */
21044
/* Override any GCC internal prototype to avoid an error.
21045
Use char because int might match the return type of a GCC
21046
builtin and then its argument prototype would still apply. */
21054
return jas_init ();
21059
if ac_fn_c_try_link "$LINENO"; then :
21060
ac_cv_lib_jasper_jas_init=yes
21062
ac_cv_lib_jasper_jas_init=no
21064
rm -f core conftest.err conftest.$ac_objext \
21065
conftest$ac_exeext conftest.$ac_ext
21066
LIBS=$ac_check_lib_save_LIBS
21068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jasper_jas_init" >&5
21069
$as_echo "$ac_cv_lib_jasper_jas_init" >&6; }
21070
if test "x$ac_cv_lib_jasper_jas_init" = xyes; then :
21071
FILE_JP2_LOAD='file-jp2-load$(EXEEXT)' ; JP2_LIBS=-ljasper
21073
have_jp2="no (JasPer library not found)"
21074
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** JP2 plug-in will not be built (JasPer library not found) ***" >&5
21075
$as_echo "$as_me: WARNING: *** JP2 plug-in will not be built (JasPer library not found) ***" >&2;}
21079
have_jp2="no (JasPer support disabled)"
21082
if test "x$have_jp2" = xyes; then
21083
MIME_TYPES="$MIME_TYPES;image/jp2;image/jpeg2000;image/jpx"
21086
if test "x$have_jp2" = xyes; then
21088
BUILD_JP2_FALSE='#'
21103
# Check whether --with-lcms was given.
21104
if test "${with_lcms+set}" = set; then :
21105
withval=$with_lcms;
21109
have_lcms="no (lcms support disabled)"
21110
if test "x$with_lcms" != xno; then
21114
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LCMS" >&5
21115
$as_echo_n "checking for LCMS... " >&6; }
21117
if test -n "$LCMS_CFLAGS"; then
21118
pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
21119
elif test -n "$PKG_CONFIG"; then
21120
if test -n "$PKG_CONFIG" && \
21121
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.16\""; } >&5
21122
($PKG_CONFIG --exists --print-errors "lcms >= 1.16") 2>&5
21124
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21125
test $ac_status = 0; }; then
21126
pkg_cv_LCMS_CFLAGS=`$PKG_CONFIG --cflags "lcms >= 1.16" 2>/dev/null`
21127
test "x$?" != "x0" && pkg_failed=yes
21134
if test -n "$LCMS_LIBS"; then
21135
pkg_cv_LCMS_LIBS="$LCMS_LIBS"
21136
elif test -n "$PKG_CONFIG"; then
21137
if test -n "$PKG_CONFIG" && \
21138
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.16\""; } >&5
21139
($PKG_CONFIG --exists --print-errors "lcms >= 1.16") 2>&5
21141
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21142
test $ac_status = 0; }; then
21143
pkg_cv_LCMS_LIBS=`$PKG_CONFIG --libs "lcms >= 1.16" 2>/dev/null`
21144
test "x$?" != "x0" && pkg_failed=yes
21154
if test $pkg_failed = yes; then
21155
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21156
$as_echo "no" >&6; }
21158
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21159
_pkg_short_errors_supported=yes
21161
_pkg_short_errors_supported=no
21163
if test $_pkg_short_errors_supported = yes; then
21164
LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms >= 1.16" 2>&1`
21166
LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms >= 1.16" 2>&1`
21168
# Put the nasty error message in config.log where it belongs
21169
echo "$LCMS_PKG_ERRORS" >&5
21171
have_lcms="no (lcms not found or unusable)"
21172
elif test $pkg_failed = untried; then
21173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21174
$as_echo "no" >&6; }
21175
have_lcms="no (lcms not found or unusable)"
21177
LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
21178
LCMS_LIBS=$pkg_cv_LCMS_LIBS
21179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21180
$as_echo "yes" >&6; }
21182
$as_echo "#define HAVE_LCMS 1" >>confdefs.h
21184
LCMS='lcms$(EXEEXT)'
21189
if test "x$have_lcms" = xyes; then
21191
HAVE_LCMS_FALSE='#'
21199
######################
21200
# Check for libXcursor
21201
######################
21204
# Check whether --with-xmc was given.
21205
if test "${with_xmc+set}" = set; then :
21211
if test "x$with_xmc" != xno; then
21215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XMC" >&5
21216
$as_echo_n "checking for XMC... " >&6; }
21218
if test -n "$XMC_CFLAGS"; then
21219
pkg_cv_XMC_CFLAGS="$XMC_CFLAGS"
21220
elif test -n "$PKG_CONFIG"; then
21221
if test -n "$PKG_CONFIG" && \
21222
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcursor\""; } >&5
21223
($PKG_CONFIG --exists --print-errors "xcursor") 2>&5
21225
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21226
test $ac_status = 0; }; then
21227
pkg_cv_XMC_CFLAGS=`$PKG_CONFIG --cflags "xcursor" 2>/dev/null`
21228
test "x$?" != "x0" && pkg_failed=yes
21235
if test -n "$XMC_LIBS"; then
21236
pkg_cv_XMC_LIBS="$XMC_LIBS"
21237
elif test -n "$PKG_CONFIG"; then
21238
if test -n "$PKG_CONFIG" && \
21239
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcursor\""; } >&5
21240
($PKG_CONFIG --exists --print-errors "xcursor") 2>&5
21242
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21243
test $ac_status = 0; }; then
21244
pkg_cv_XMC_LIBS=`$PKG_CONFIG --libs "xcursor" 2>/dev/null`
21245
test "x$?" != "x0" && pkg_failed=yes
21255
if test $pkg_failed = yes; then
21256
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21257
$as_echo "no" >&6; }
21259
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21260
_pkg_short_errors_supported=yes
21262
_pkg_short_errors_supported=no
21264
if test $_pkg_short_errors_supported = yes; then
21265
XMC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcursor" 2>&1`
21267
XMC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcursor" 2>&1`
21269
# Put the nasty error message in config.log where it belongs
21270
echo "$XMC_PKG_ERRORS" >&5
21272
have_xmc="no (libXcursor not found)"
21273
elif test $pkg_failed = untried; then
21274
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21275
$as_echo "no" >&6; }
21276
have_xmc="no (libXcursor not found)"
21278
XMC_CFLAGS=$pkg_cv_XMC_CFLAGS
21279
XMC_LIBS=$pkg_cv_XMC_LIBS
21280
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21281
$as_echo "yes" >&6; }
21282
FILE_XMC='file-xmc$(EXEEXT)'
21285
have_xmc="no (libXcursor support disabled)"
21288
if test "x$have_xmc" = xyes; then
21289
MIME_TYPES="$MIME_TYPES;image/x-xcursor"
21300
# Check whether --with-alsa was given.
21301
if test "${with_alsa+set}" = set; then :
21302
withval=$with_alsa;
21306
have_alsa="no (alsa support disabled)"
21307
if test "x$with_alsa" != xno; then
21309
alsa_save_CFLAGS="$CFLAGS"
21310
alsa_save_LDFLAGS="$LDFLAGS"
21311
alsa_save_LIBS="$LIBS"
21315
# Check whether --with-alsa-prefix was given.
21316
if test "${with_alsa_prefix+set}" = set; then :
21317
withval=$with_alsa_prefix; alsa_prefix="$withval"
21324
# Check whether --with-alsa-inc-prefix was given.
21325
if test "${with_alsa_inc_prefix+set}" = set; then :
21326
withval=$with_alsa_inc_prefix; alsa_inc_prefix="$withval"
21332
# Check whether --enable-alsatest was given.
21333
if test "${enable_alsatest+set}" = set; then :
21334
enableval=$enable_alsatest; enable_alsatest="$enableval"
21336
enable_alsatest=yes
21340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA CFLAGS" >&5
21341
$as_echo_n "checking for ALSA CFLAGS... " >&6; }
21342
if test "$alsa_inc_prefix" != "" ; then
21343
ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix"
21344
CFLAGS="$CFLAGS -I$alsa_inc_prefix"
21346
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5
21347
$as_echo "$ALSA_CFLAGS" >&6; }
21348
CFLAGS="$alsa_save_CFLAGS"
21350
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA LDFLAGS" >&5
21351
$as_echo_n "checking for ALSA LDFLAGS... " >&6; }
21352
if test "$alsa_prefix" != "" ; then
21353
ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix"
21354
LDFLAGS="$LDFLAGS $ALSA_LIBS"
21357
ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
21358
LIBS="$ALSA_LIBS $LIBS"
21359
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5
21360
$as_echo "$ALSA_LIBS" >&6; }
21362
min_alsa_version=1.0.0
21363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libasound headers version >= $min_alsa_version" >&5
21364
$as_echo_n "checking for libasound headers version >= $min_alsa_version... " >&6; }
21366
alsa_min_major_version=`echo $min_alsa_version | \
21367
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21368
alsa_min_minor_version=`echo $min_alsa_version | \
21369
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21370
alsa_min_micro_version=`echo $min_alsa_version | \
21371
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21375
ac_cpp='$CPP $CPPFLAGS'
21376
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21377
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21378
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21380
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21381
/* end confdefs.h. */
21383
#include <alsa/asoundlib.h>
21389
/* ensure backward compatibility */
21390
#if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
21391
#define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR
21393
#if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR)
21394
#define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR
21396
#if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR)
21397
#define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR
21400
# if(SND_LIB_MAJOR > $alsa_min_major_version)
21403
# if(SND_LIB_MAJOR < $alsa_min_major_version)
21404
# error not present
21407
# if(SND_LIB_MINOR > $alsa_min_minor_version)
21410
# if(SND_LIB_MINOR < $alsa_min_minor_version)
21411
# error not present
21414
# if(SND_LIB_SUBMINOR < $alsa_min_micro_version)
21415
# error not present
21425
if ac_fn_c_try_compile "$LINENO"; then :
21426
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found." >&5
21427
$as_echo "found." >&6; }
21429
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not present." >&5
21430
$as_echo "not present." >&6; }
21435
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21437
ac_cpp='$CPP $CPPFLAGS'
21438
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21439
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21440
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21443
if test "x$enable_alsatest" = "xyes"; then
21444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_ctl_open in -lasound" >&5
21445
$as_echo_n "checking for snd_ctl_open in -lasound... " >&6; }
21446
if ${ac_cv_lib_asound_snd_ctl_open+:} false; then :
21447
$as_echo_n "(cached) " >&6
21449
ac_check_lib_save_LIBS=$LIBS
21450
LIBS="-lasound $LIBS"
21451
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21452
/* end confdefs.h. */
21454
/* Override any GCC internal prototype to avoid an error.
21455
Use char because int might match the return type of a GCC
21456
builtin and then its argument prototype would still apply. */
21460
char snd_ctl_open ();
21464
return snd_ctl_open ();
21469
if ac_fn_c_try_link "$LINENO"; then :
21470
ac_cv_lib_asound_snd_ctl_open=yes
21472
ac_cv_lib_asound_snd_ctl_open=no
21474
rm -f core conftest.err conftest.$ac_objext \
21475
conftest$ac_exeext conftest.$ac_ext
21476
LIBS=$ac_check_lib_save_LIBS
21478
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_ctl_open" >&5
21479
$as_echo "$ac_cv_lib_asound_snd_ctl_open" >&6; }
21480
if test "x$ac_cv_lib_asound_snd_ctl_open" = xyes; then :
21481
cat >>confdefs.h <<_ACEOF
21482
#define HAVE_LIBASOUND 1
21485
LIBS="-lasound $LIBS"
21495
LDFLAGS="$alsa_save_LDFLAGS"
21496
LIBS="$alsa_save_LIBS"
21498
if test "x$alsa_found" = "xyes" ; then
21500
$as_echo "#define HAVE_ALSA 1" >>confdefs.h
21505
have_alsa="no (libasound not found or unusable)"
21514
#######################
21515
# Check for Linux Input
21516
#######################
21519
# Check whether --with-linux-input was given.
21520
if test "${with_linux_input+set}" = set; then :
21521
withval=$with_linux_input;
21525
have_linux_input="no (linux input support disabled)"
21526
if test "x$with_linux_input" != "xno"; then
21527
ac_fn_c_check_header_mongrel "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
21528
if test "x$ac_cv_header_linux_input_h" = xyes; then :
21530
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
21531
# ---------------------------------------------
21532
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
21534
ac_fn_c_check_decl ()
21536
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21537
as_decl_name=`echo $2|sed 's/ *(.*//'`
21538
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
21539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
21540
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
21541
if eval \${$3+:} false; then :
21542
$as_echo_n "(cached) " >&6
21544
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21545
/* end confdefs.h. */
21550
#ifndef $as_decl_name
21552
(void) $as_decl_use;
21554
(void) $as_decl_name;
21562
if ac_fn_c_try_compile "$LINENO"; then :
21567
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21571
$as_echo "$ac_res" >&6; }
21572
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
21574
} # ac_fn_c_check_decl
21575
ac_fn_c_check_decl "$LINENO" "KEY_OK" "ac_cv_have_decl_KEY_OK" "#include <linux/input.h>
21577
if test "x$ac_cv_have_decl_KEY_OK" = xyes; then :
21578
have_linux_input=yes
21580
have_linux_input="no (needs Linux 2.6)"
21588
if test "x$have_linux_input" = xyes; then
21589
HAVE_LINUX_INPUT_TRUE=
21590
HAVE_LINUX_INPUT_FALSE='#'
21592
HAVE_LINUX_INPUT_TRUE='#'
21593
HAVE_LINUX_INPUT_FALSE=
21598
###############################
21599
# Check for DirectX DirectInput
21600
###############################
21603
# Check whether --with-directx-sdk was given.
21604
if test "${with_directx_sdk+set}" = set; then :
21605
withval=$with_directx_sdk;
21610
if test "x$os_win32" = xyes; then
21611
case "$with_directx_sdk" in
21612
*" "*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The DirectX SDK should be accessible through a path without spaces. Use MSYS mounts. Ignoring your --with-directx-sdk switch." >&5
21613
$as_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;}
21614
with_directx_sdk=;;
21615
*\\*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Use plain (forward) slashes only in your --with-directx-sdk switch. Ignoring your --with-directx-sdk switch." >&5
21616
$as_echo "$as_me: WARNING: Use plain (forward) slashes only in your --with-directx-sdk switch. Ignoring your --with-directx-sdk switch." >&2;}
21617
with_directx_sdk=;;
21620
dinput_save_CPPFLAGS="$CPPFLAGS"
21621
dinput_save_LDFLAGS="$LDFLAGS"
21622
if test "x$with_directx_sdk" != x; then
21623
CPPFLAGS="-I $with_directx_sdk/Include $CPPFLAGS"
21624
LDFLAGS="-L$with_directx_sdk/Lib/x86 $LDFLAGS"
21625
ac_fn_c_check_header_mongrel "$LINENO" "dinput.h" "ac_cv_header_dinput_h" "$ac_includes_default"
21626
if test "x$ac_cv_header_dinput_h" = xyes; then :
21627
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUID_XAxis in -ldxguid" >&5
21628
$as_echo_n "checking for GUID_XAxis in -ldxguid... " >&6; }
21629
if ${ac_cv_lib_dxguid_GUID_XAxis+:} false; then :
21630
$as_echo_n "(cached) " >&6
21632
ac_check_lib_save_LIBS=$LIBS
21633
LIBS="-ldxguid $LIBS"
21634
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21635
/* end confdefs.h. */
21637
/* Override any GCC internal prototype to avoid an error.
21638
Use char because int might match the return type of a GCC
21639
builtin and then its argument prototype would still apply. */
21643
char GUID_XAxis ();
21647
return GUID_XAxis ();
21652
if ac_fn_c_try_link "$LINENO"; then :
21653
ac_cv_lib_dxguid_GUID_XAxis=yes
21655
ac_cv_lib_dxguid_GUID_XAxis=no
21657
rm -f core conftest.err conftest.$ac_objext \
21658
conftest$ac_exeext conftest.$ac_ext
21659
LIBS=$ac_check_lib_save_LIBS
21661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dxguid_GUID_XAxis" >&5
21662
$as_echo "$ac_cv_lib_dxguid_GUID_XAxis" >&6; }
21663
if test "x$ac_cv_lib_dxguid_GUID_XAxis" = xyes; then :
21672
if test "x$have_dx_dinput" = xyes; then
21674
$as_echo "#define HAVE_DX_DINPUT 1" >>confdefs.h
21677
CPPFLAGS="$dinput_save_CPPFLAGS"
21678
LDFLAGS="$dinput_save_LDFLAGS"
21682
if test "x$have_dx_dinput" = xyes; then
21683
HAVE_DX_DINPUT_TRUE=
21684
HAVE_DX_DINPUT_FALSE='#'
21686
HAVE_DX_DINPUT_TRUE='#'
21687
HAVE_DX_DINPUT_FALSE=
21692
###############################
21693
# Check for D-Bus GLib bindings
21694
###############################
21697
# Check whether --with-dbus was given.
21698
if test "${with_dbus+set}" = set; then :
21699
withval=$with_dbus;
21703
have_dbus_glib="no (disabled)"
21705
if test "x$with_dbus" != xno; then
21708
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_GLIB" >&5
21709
$as_echo_n "checking for DBUS_GLIB... " >&6; }
21711
if test -n "$DBUS_GLIB_CFLAGS"; then
21712
pkg_cv_DBUS_GLIB_CFLAGS="$DBUS_GLIB_CFLAGS"
21713
elif test -n "$PKG_CONFIG"; then
21714
if test -n "$PKG_CONFIG" && \
21715
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.70\""; } >&5
21716
($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.70") 2>&5
21718
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21719
test $ac_status = 0; }; then
21720
pkg_cv_DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= 0.70" 2>/dev/null`
21721
test "x$?" != "x0" && pkg_failed=yes
21728
if test -n "$DBUS_GLIB_LIBS"; then
21729
pkg_cv_DBUS_GLIB_LIBS="$DBUS_GLIB_LIBS"
21730
elif test -n "$PKG_CONFIG"; then
21731
if test -n "$PKG_CONFIG" && \
21732
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.70\""; } >&5
21733
($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.70") 2>&5
21735
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21736
test $ac_status = 0; }; then
21737
pkg_cv_DBUS_GLIB_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= 0.70" 2>/dev/null`
21738
test "x$?" != "x0" && pkg_failed=yes
21748
if test $pkg_failed = yes; then
21749
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21750
$as_echo "no" >&6; }
21752
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21753
_pkg_short_errors_supported=yes
21755
_pkg_short_errors_supported=no
21757
if test $_pkg_short_errors_supported = yes; then
21758
DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-glib-1 >= 0.70" 2>&1`
21760
DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-glib-1 >= 0.70" 2>&1`
21762
# Put the nasty error message in config.log where it belongs
21763
echo "$DBUS_GLIB_PKG_ERRORS" >&5
21766
elif test $pkg_failed = untried; then
21767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21768
$as_echo "no" >&6; }
21771
DBUS_GLIB_CFLAGS=$pkg_cv_DBUS_GLIB_CFLAGS
21772
DBUS_GLIB_LIBS=$pkg_cv_DBUS_GLIB_LIBS
21773
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21774
$as_echo "yes" >&6; }
21779
if test "x$have_dbus_glib" = xyes; then
21780
# Extract the first word of "dbus-binding-tool", so it can be a program name with args.
21781
set dummy dbus-binding-tool; ac_word=$2
21782
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21783
$as_echo_n "checking for $ac_word... " >&6; }
21784
if ${ac_cv_path_DBUS_BINDING_TOOL+:} false; then :
21785
$as_echo_n "(cached) " >&6
21787
case $DBUS_BINDING_TOOL in
21789
ac_cv_path_DBUS_BINDING_TOOL="$DBUS_BINDING_TOOL" # Let the user override the test with a path.
21792
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21793
for as_dir in $PATH
21796
test -z "$as_dir" && as_dir=.
21797
for ac_exec_ext in '' $ac_executable_extensions; do
21798
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21799
ac_cv_path_DBUS_BINDING_TOOL="$as_dir/$ac_word$ac_exec_ext"
21800
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21807
test -z "$ac_cv_path_DBUS_BINDING_TOOL" && ac_cv_path_DBUS_BINDING_TOOL="no"
21811
DBUS_BINDING_TOOL=$ac_cv_path_DBUS_BINDING_TOOL
21812
if test -n "$DBUS_BINDING_TOOL"; then
21813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_BINDING_TOOL" >&5
21814
$as_echo "$DBUS_BINDING_TOOL" >&6; }
21816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21817
$as_echo "no" >&6; }
21821
if test "x$DBUS_BINDING_TOOL" = xno; then
21822
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find dbus-binding-tool in your PATH" >&5
21823
$as_echo "$as_me: WARNING: Could not find dbus-binding-tool in your PATH" >&2;}
21824
have_dbus_glib="no (dbus-binding-tool not found)"
21828
if test "x$have_dbus_glib" = xyes; then
21830
$as_echo "#define HAVE_DBUS_GLIB 1" >>confdefs.h
21832
GIMP_COMMAND='gimp-2.8'
21836
####################
21837
# Check for libgudev
21838
####################
21841
# Check whether --with-gudev was given.
21842
if test "${with_gudev+set}" = set; then :
21843
withval=$with_gudev;
21849
if test "x$with_gudev" = xno; then
21850
have_libgudev="no (disabled)"
21853
if test "x$have_linux_input" = xyes && test "x$have_dbus_glib" = xyes &&
21854
test "x$with_gudev" != xno; then
21857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUDEV" >&5
21858
$as_echo_n "checking for GUDEV... " >&6; }
21860
if test -n "$GUDEV_CFLAGS"; then
21861
pkg_cv_GUDEV_CFLAGS="$GUDEV_CFLAGS"
21862
elif test -n "$PKG_CONFIG"; then
21863
if test -n "$PKG_CONFIG" && \
21864
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 >= 167\""; } >&5
21865
($PKG_CONFIG --exists --print-errors "gudev-1.0 >= 167") 2>&5
21867
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21868
test $ac_status = 0; }; then
21869
pkg_cv_GUDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0 >= 167" 2>/dev/null`
21870
test "x$?" != "x0" && pkg_failed=yes
21877
if test -n "$GUDEV_LIBS"; then
21878
pkg_cv_GUDEV_LIBS="$GUDEV_LIBS"
21879
elif test -n "$PKG_CONFIG"; then
21880
if test -n "$PKG_CONFIG" && \
21881
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 >= 167\""; } >&5
21882
($PKG_CONFIG --exists --print-errors "gudev-1.0 >= 167") 2>&5
21884
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21885
test $ac_status = 0; }; then
21886
pkg_cv_GUDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0 >= 167" 2>/dev/null`
21887
test "x$?" != "x0" && pkg_failed=yes
21897
if test $pkg_failed = yes; then
21898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21899
$as_echo "no" >&6; }
21901
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21902
_pkg_short_errors_supported=yes
21904
_pkg_short_errors_supported=no
21906
if test $_pkg_short_errors_supported = yes; then
21907
GUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gudev-1.0 >= 167" 2>&1`
21909
GUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gudev-1.0 >= 167" 2>&1`
21911
# Put the nasty error message in config.log where it belongs
21912
echo "$GUDEV_PKG_ERRORS" >&5
21914
have_libgudev="no (libgudev not found)"
21915
elif test $pkg_failed = untried; then
21916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21917
$as_echo "no" >&6; }
21918
have_libgudev="no (libgudev not found)"
21920
GUDEV_CFLAGS=$pkg_cv_GUDEV_CFLAGS
21921
GUDEV_LIBS=$pkg_cv_GUDEV_LIBS
21922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21923
$as_echo "yes" >&6; }
21928
if test "x$have_libgudev" = xyes; then
21930
$as_echo "#define HAVE_LIBGUDEV 1" >>confdefs.h
21935
############################################################
21936
# GIF compression: Allow builder to specify at compile time
21937
# which compression style she wants to use for GIFs.
21938
# LZW: Unisys patented Lempel-Ziff encoding.
21939
# RLE: Runlength encoding (produces files about twice as big
21940
# as the LZW compressed equivalent).
21942
############################################################
21945
# Check whether --with-gif-compression was given.
21946
if test "${with_gif_compression+set}" = set; then :
21947
withval=$with_gif_compression;
21951
case x"$with_gif_compression" in
21954
$as_echo "#define GIF_UN 1" >>confdefs.h
21958
$as_echo "#define GIF_RLE 1" >>confdefs.h
21963
####################
21964
# Check for sendmail
21965
####################
21968
# Check whether --with-sendmail was given.
21969
if test "${with_sendmail+set}" = set; then :
21970
withval=$with_sendmail;
21974
if test "x$with_sendmail" != "x"; then
21975
sendmail_path=$with_sendmail
21977
sendmail_path=$PATH:/usr/sbin:/usr/lib
21980
# Extract the first word of "sendmail", so it can be a program name with args.
21981
set dummy sendmail; ac_word=$2
21982
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21983
$as_echo_n "checking for $ac_word... " >&6; }
21984
if ${ac_cv_path_SENDMAIL+:} false; then :
21985
$as_echo_n "(cached) " >&6
21989
ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a path.
21992
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21993
for as_dir in $sendmail_path
21996
test -z "$as_dir" && as_dir=.
21997
for ac_exec_ext in '' $ac_executable_extensions; do
21998
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21999
ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext"
22000
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22010
SENDMAIL=$ac_cv_path_SENDMAIL
22011
if test -n "$SENDMAIL"; then
22012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
22013
$as_echo "$SENDMAIL" >&6; }
22015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22016
$as_echo "no" >&6; }
22020
if test "x$SENDMAIL" != "x"; then
22022
cat >>confdefs.h <<_ACEOF
22023
#define SENDMAIL "$SENDMAIL"
22033
for ac_prog in perl5 perl perl5.005 perl5.004
22035
# Extract the first word of "$ac_prog", so it can be a program name with args.
22036
set dummy $ac_prog; ac_word=$2
22037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22038
$as_echo_n "checking for $ac_word... " >&6; }
22039
if ${ac_cv_path_PERL+:} false; then :
22040
$as_echo_n "(cached) " >&6
22044
ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
22047
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22048
for as_dir in $PATH
22051
test -z "$as_dir" && as_dir=.
22052
for ac_exec_ext in '' $ac_executable_extensions; do
22053
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22054
ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
22055
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22065
PERL=$ac_cv_path_PERL
22066
if test -n "$PERL"; then
22067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
22068
$as_echo "$PERL" >&6; }
22070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22071
$as_echo "no" >&6; }
22075
test -n "$PERL" && break
22077
test -n "$PERL" || PERL="perl"
22082
# Check whether --with-pdbgen was given.
22083
if test "${with_pdbgen+set}" = set; then :
22084
withval=$with_pdbgen;
22086
with_pdbgen=$USE_MAINTAINER_MODE
22090
if test "x$with_pdbgen" = xyes; then
22092
WITH_PDBGEN_FALSE='#'
22094
WITH_PDBGEN_TRUE='#'
22104
# Pygimp configure stuff ...
22105
# Check whether --enable-python was given.
22106
if test "${enable_python+set}" = set; then :
22107
enableval=$enable_python;
22113
if test "x$enable_python" != xno; then
22114
enable_python="yes"
22122
if test -n "$PYTHON"; then
22123
# If the user set $PYTHON, use it and don't search something else.
22124
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5.0" >&5
22125
$as_echo_n "checking whether $PYTHON version >= 2.5.0... " >&6; }
22127
# split strings by '.' and convert to numeric. Append some zeros
22128
# because we need at least 4 digits for the hex conversion.
22129
# map returns an iterator in Python 3.0 and a list in 2.x
22130
minver = list(map(int, '2.5.0'.split('.'))) + [0, 0, 0]
22132
# xrange is not present in Python 3.0 and range returns an iterator
22133
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
22134
sys.exit(sys.hexversion < minverhex)"
22135
if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
22136
($PYTHON -c "$prog") >&5 2>&5
22138
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139
(exit $ac_status); }; then :
22140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22141
$as_echo "yes" >&6; }
22143
as_fn_error $? "too old" "$LINENO" 5
22145
am_display_PYTHON=$PYTHON
22147
# Otherwise, try each interpreter until we find one that satisfies
22149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5.0" >&5
22150
$as_echo_n "checking for a Python interpreter with version >= 2.5.0... " >&6; }
22151
if ${am_cv_pathless_PYTHON+:} false; then :
22152
$as_echo_n "(cached) " >&6
22155
for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
22156
test "$am_cv_pathless_PYTHON" = none && break
22158
# split strings by '.' and convert to numeric. Append some zeros
22159
# because we need at least 4 digits for the hex conversion.
22160
# map returns an iterator in Python 3.0 and a list in 2.x
22161
minver = list(map(int, '2.5.0'.split('.'))) + [0, 0, 0]
22163
# xrange is not present in Python 3.0 and range returns an iterator
22164
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
22165
sys.exit(sys.hexversion < minverhex)"
22166
if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
22167
($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
22169
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170
(exit $ac_status); }; then :
22175
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
22176
$as_echo "$am_cv_pathless_PYTHON" >&6; }
22177
# Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
22178
if test "$am_cv_pathless_PYTHON" = none; then
22181
# Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
22182
set dummy $am_cv_pathless_PYTHON; ac_word=$2
22183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22184
$as_echo_n "checking for $ac_word... " >&6; }
22185
if ${ac_cv_path_PYTHON+:} false; then :
22186
$as_echo_n "(cached) " >&6
22190
ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
22193
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22194
for as_dir in $PATH
22197
test -z "$as_dir" && as_dir=.
22198
for ac_exec_ext in '' $ac_executable_extensions; do
22199
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22200
ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
22201
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22211
PYTHON=$ac_cv_path_PYTHON
22212
if test -n "$PYTHON"; then
22213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
22214
$as_echo "$PYTHON" >&6; }
22216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22217
$as_echo "no" >&6; }
22222
am_display_PYTHON=$am_cv_pathless_PYTHON
22226
if test "$PYTHON" = :; then
22228
*** Could not find Python 2.5.0 or newer.
22229
*** Please install it, or skip building the python scripting extension by
22230
*** passing --disable-python to configure (but then you will not be able
22231
*** to use scripts for GIMP that are written in Python)." "$LINENO" 5
22235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
22236
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
22237
if ${am_cv_python_version+:} false; then :
22238
$as_echo_n "(cached) " >&6
22240
am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
22242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
22243
$as_echo "$am_cv_python_version" >&6; }
22244
PYTHON_VERSION=$am_cv_python_version
22248
PYTHON_PREFIX='${prefix}'
22250
PYTHON_EXEC_PREFIX='${exec_prefix}'
22254
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
22255
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
22256
if ${am_cv_python_platform+:} false; then :
22257
$as_echo_n "(cached) " >&6
22259
am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
22261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
22262
$as_echo "$am_cv_python_platform" >&6; }
22263
PYTHON_PLATFORM=$am_cv_python_platform
22268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
22269
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
22270
if ${am_cv_python_pythondir+:} false; then :
22271
$as_echo_n "(cached) " >&6
22273
if test "x$prefix" = xNONE
22275
am_py_prefix=$ac_default_prefix
22277
am_py_prefix=$prefix
22279
am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
22280
case $am_cv_python_pythondir in
22282
am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
22283
am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
22286
case $am_py_prefix in
22289
am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
22296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
22297
$as_echo "$am_cv_python_pythondir" >&6; }
22298
pythondir=$am_cv_python_pythondir
22302
pkgpythondir=\${pythondir}/$PACKAGE
22305
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
22306
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
22307
if ${am_cv_python_pyexecdir+:} false; then :
22308
$as_echo_n "(cached) " >&6
22310
if test "x$exec_prefix" = xNONE
22312
am_py_exec_prefix=$am_py_prefix
22314
am_py_exec_prefix=$exec_prefix
22316
am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
22317
case $am_cv_python_pyexecdir in
22318
$am_py_exec_prefix*)
22319
am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
22320
am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
22323
case $am_py_exec_prefix in
22326
am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
22333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
22334
$as_echo "$am_cv_python_pyexecdir" >&6; }
22335
pyexecdir=$am_cv_python_pyexecdir
22339
pkgpyexecdir=\${pyexecdir}/$PACKAGE
22347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
22348
$as_echo_n "checking for headers required to compile python extensions... " >&6; }
22349
if test "$PYTHON_PLATFORM" != "win32"; then
22350
py_versiondir="/python${PYTHON_VERSION}"
22354
py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
22355
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
22356
PYTHON_INCLUDES="-I${py_prefix}/include${py_versiondir}"
22357
if test "$py_prefix" != "$py_exec_prefix"; then
22358
PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include${py_versiondir}"
22361
save_CPPFLAGS="$CPPFLAGS"
22362
CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
22363
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22364
/* end confdefs.h. */
22365
#include <Python.h>
22367
if ac_fn_c_try_cpp "$LINENO"; then :
22368
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
22369
$as_echo "found" >&6; }
22372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
22373
$as_echo "not found" >&6; }
22375
*** Could not find Python headers.
22376
*** Please install them, or skip building the python scripting extension by
22377
*** passing --disable-python to configure (but then you will not be able
22378
*** to use scripts for GIMP that are written in Python)." "$LINENO" 5
22380
rm -f conftest.err conftest.i conftest.$ac_ext
22381
CPPFLAGS="$save_CPPFLAGS"
22384
# Win32 needs all symbols resolved for linking, even for DLLs
22385
# Assume the link library is in $exec_prefix/libs
22386
# This might be able to be figured out from distutils, but it's
22387
# not documented so we won't rely on internal implementation
22389
if test "x$platform_win32" = "xyes"; then
22390
PYBIN_PATH="$py_exec_prefix\pythonw.exe"
22391
PYTHON_INCLUDES=`echo "$PYTHON_INCLUDES" | sed -e 's/\\\\/\\//g'`
22392
py_exec_prefix=`echo "$py_exec_prefix" | sed -e 's/\\\\/\\//g'`
22393
pylibversion=`echo $PYTHON_VERSION | sed -e 's/\\.//'`
22394
PYLINK_LIBS="-L${py_exec_prefix}/libs -lpython${pylibversion}"
22396
PYBIN_PATH="$PYTHON"
22404
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGTK" >&5
22405
$as_echo_n "checking for PYGTK... " >&6; }
22407
if test -n "$PYGTK_CFLAGS"; then
22408
pkg_cv_PYGTK_CFLAGS="$PYGTK_CFLAGS"
22409
elif test -n "$PKG_CONFIG"; then
22410
if test -n "$PKG_CONFIG" && \
22411
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.10.4\""; } >&5
22412
($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.10.4") 2>&5
22414
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22415
test $ac_status = 0; }; then
22416
pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "pygtk-2.0 >= 2.10.4" 2>/dev/null`
22417
test "x$?" != "x0" && pkg_failed=yes
22424
if test -n "$PYGTK_LIBS"; then
22425
pkg_cv_PYGTK_LIBS="$PYGTK_LIBS"
22426
elif test -n "$PKG_CONFIG"; then
22427
if test -n "$PKG_CONFIG" && \
22428
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.10.4\""; } >&5
22429
($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.10.4") 2>&5
22431
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22432
test $ac_status = 0; }; then
22433
pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "pygtk-2.0 >= 2.10.4" 2>/dev/null`
22434
test "x$?" != "x0" && pkg_failed=yes
22444
if test $pkg_failed = yes; then
22445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22446
$as_echo "no" >&6; }
22448
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22449
_pkg_short_errors_supported=yes
22451
_pkg_short_errors_supported=no
22453
if test $_pkg_short_errors_supported = yes; then
22454
PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pygtk-2.0 >= 2.10.4" 2>&1`
22456
PYGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pygtk-2.0 >= 2.10.4" 2>&1`
22458
# Put the nasty error message in config.log where it belongs
22459
echo "$PYGTK_PKG_ERRORS" >&5
22462
*** Could not find PyGTK 2.10.4 or newer.
22463
*** Please install it, or skip building the python scripting extension by
22464
*** passing --disable-python to configure (but then you will not be able
22465
*** to use scripts for GIMP that are written in Python)." "$LINENO" 5
22466
elif test $pkg_failed = untried; then
22467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22468
$as_echo "no" >&6; }
22470
*** Could not find PyGTK 2.10.4 or newer.
22471
*** Please install it, or skip building the python scripting extension by
22472
*** passing --disable-python to configure (but then you will not be able
22473
*** to use scripts for GIMP that are written in Python)." "$LINENO" 5
22475
PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS
22476
PYGTK_LIBS=$pkg_cv_PYGTK_LIBS
22477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22478
$as_echo "yes" >&6; }
22482
# Extract the first word of "pygtk-codegen-2.0", so it can be a program name with args.
22483
set dummy pygtk-codegen-2.0; ac_word=$2
22484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22485
$as_echo_n "checking for $ac_word... " >&6; }
22486
if ${ac_cv_path_PYGTK_CODEGEN+:} false; then :
22487
$as_echo_n "(cached) " >&6
22489
case $PYGTK_CODEGEN in
22491
ac_cv_path_PYGTK_CODEGEN="$PYGTK_CODEGEN" # Let the user override the test with a path.
22494
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22495
for as_dir in $PATH
22498
test -z "$as_dir" && as_dir=.
22499
for ac_exec_ext in '' $ac_executable_extensions; do
22500
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22501
ac_cv_path_PYGTK_CODEGEN="$as_dir/$ac_word$ac_exec_ext"
22502
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22509
test -z "$ac_cv_path_PYGTK_CODEGEN" && ac_cv_path_PYGTK_CODEGEN="no"
22513
PYGTK_CODEGEN=$ac_cv_path_PYGTK_CODEGEN
22514
if test -n "$PYGTK_CODEGEN"; then
22515
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYGTK_CODEGEN" >&5
22516
$as_echo "$PYGTK_CODEGEN" >&6; }
22518
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22519
$as_echo "no" >&6; }
22523
if test "x$PYGTK_CODEGEN" = xno; then
22525
*** Could not find pygtk-codegen-2.0 script.
22526
*** Please install it, or skip building the python scripting extension by
22527
*** passing --disable-python to configure (but then you will not be able
22528
*** to use scripts for GIMP that are written in Python)." "$LINENO" 5
22531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pygtk defs" >&5
22532
$as_echo_n "checking for pygtk defs... " >&6; }
22533
PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
22535
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYGTK_DEFSDIR" >&5
22536
$as_echo "$PYGTK_DEFSDIR" >&6; }
22539
PYGIMP_EXTRA_CFLAGS=
22540
for flag in '-fno-strict-aliasing'; do
22541
if test -z "$PYGIMP_EXTRA_CFLAGS"; then
22542
PYGIMP_EXTRA_CFLAGS_save_CFLAGS="$CFLAGS"
22543
CFLAGS="$CFLAGS $flag"
22544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $flag" >&5
22545
$as_echo_n "checking whether $CC understands $flag... " >&6; }
22546
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22547
/* end confdefs.h. */
22557
if ac_fn_c_try_compile "$LINENO"; then :
22558
PYGIMP_EXTRA_CFLAGS_works=yes
22560
PYGIMP_EXTRA_CFLAGS_works=no
22562
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYGIMP_EXTRA_CFLAGS_works" >&5
22564
$as_echo "$PYGIMP_EXTRA_CFLAGS_works" >&6; }
22565
CFLAGS="$PYGIMP_EXTRA_CFLAGS_save_CFLAGS"
22566
if test "x$PYGIMP_EXTRA_CFLAGS_works" = "xyes"; then
22567
PYGIMP_EXTRA_CFLAGS="$flag"
22574
if test "x$enable_python" != xno; then
22576
BUILD_PYTHON_FALSE='#'
22578
BUILD_PYTHON_TRUE='#'
22579
BUILD_PYTHON_FALSE=
22584
#########################################
22585
# Check whether Script-Fu should be built
22586
#########################################
22590
# Check whether --with-script-fu was given.
22591
if test "${with_script_fu+set}" = set; then :
22592
withval=$with_script_fu;
22596
if test "x$with_script_fu" = "xno"; then
22597
have_script_fu="no (script-fu extension disabled)"
22599
if test "x$with_script_fu" != "xno"; then
22600
BUILD_SCRIPT_FU_TRUE=
22601
BUILD_SCRIPT_FU_FALSE='#'
22603
BUILD_SCRIPT_FU_TRUE='#'
22604
BUILD_SCRIPT_FU_FALSE=
22609
###########################################################
22610
# Some plug-ins don't build on Win32, others are Win32-only
22611
###########################################################
22613
if test "x$os_win32" = xno; then
22614
MAIL='mail$(EXEEXT)'
22615
SCREENSHOT='screenshot$(EXEEXT)'
22622
####################
22623
# Check for Mac OS X
22624
####################
22627
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiling for Mac OS X" >&5
22628
$as_echo_n "checking if compiling for Mac OS X... " >&6; }
22629
case "$target_or_host" in
22631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22632
$as_echo "yes" >&6; }
22634
$as_echo "#define PLATFORM_OSX 1" >>confdefs.h
22639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22640
$as_echo "no" >&6; }
22644
if test "x$platform_osx" = xyes; then
22646
PLATFORM_OSX_FALSE='#'
22648
PLATFORM_OSX_TRUE='#'
22649
PLATFORM_OSX_FALSE=
22654
####################################
22655
# Check for Mac OS X TWAIN framework
22656
####################################
22659
# Check whether --with-mac-twain was given.
22660
if test "${with_mac_twain+set}" = set; then :
22661
withval=$with_mac_twain;
22666
if test "x$with_mac_twain" != xno; then
22667
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mac OS X TWAIN support" >&5
22668
$as_echo_n "checking for Mac OS X TWAIN support... " >&6; }
22669
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22670
/* end confdefs.h. */
22672
#include <Carbon/Carbon.h>
22673
#include <TWAIN/TWAIN.h>
22675
#error Please somebody port this to non-deprecated and non-removed APIs
22678
if ac_fn_c_try_cpp "$LINENO"; then :
22681
rm -f conftest.err conftest.i conftest.$ac_ext
22682
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mac_twain_ok" >&5
22683
$as_echo "$mac_twain_ok" >&6; }
22686
if test "x$mac_twain_ok" = xyes; then
22687
HAVE_MAC_TWAIN_TRUE=
22688
HAVE_MAC_TWAIN_FALSE='#'
22690
HAVE_MAC_TWAIN_TRUE='#'
22691
HAVE_MAC_TWAIN_FALSE=
22696
##########################################################
22697
# Determine where to install the desktop & mime info files
22698
##########################################################
22701
# Check whether --with-desktop-dir was given.
22702
if test "${with_desktop_dir+set}" = set; then :
22703
withval=$with_desktop_dir;
22707
if test "x$with_desktop_dir" != x; then
22708
DESKTOP_DATADIR=$with_desktop_dir
22710
DESKTOP_DATADIR="$datadir"
22713
if test "x$with_desktop_dir" != xno; then
22714
DESKTOP_DATADIR_TRUE=
22715
DESKTOP_DATADIR_FALSE='#'
22717
DESKTOP_DATADIR_TRUE='#'
22718
DESKTOP_DATADIR_FALSE=
22724
#####################
22725
# Check for XML tools
22726
#####################
22728
# Extract the first word of "xmllint", so it can be a program name with args.
22729
set dummy xmllint; ac_word=$2
22730
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22731
$as_echo_n "checking for $ac_word... " >&6; }
22732
if ${ac_cv_path_XMLLINT+:} false; then :
22733
$as_echo_n "(cached) " >&6
22737
ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
22740
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22741
for as_dir in $PATH
22744
test -z "$as_dir" && as_dir=.
22745
for ac_exec_ext in '' $ac_executable_extensions; do
22746
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22747
ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
22748
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22755
test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="no"
22759
XMLLINT=$ac_cv_path_XMLLINT
22760
if test -n "$XMLLINT"; then
22761
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
22762
$as_echo "$XMLLINT" >&6; }
22764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22765
$as_echo "no" >&6; }
22769
if test "x$XMLLINT" != "xno"; then
22771
HAVE_XMLLINT_FALSE='#'
22773
HAVE_XMLLINT_TRUE='#'
22774
HAVE_XMLLINT_FALSE=
22778
# Extract the first word of "xsltproc", so it can be a program name with args.
22779
set dummy xsltproc; ac_word=$2
22780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22781
$as_echo_n "checking for $ac_word... " >&6; }
22782
if ${ac_cv_path_XSLTPROC+:} false; then :
22783
$as_echo_n "(cached) " >&6
22787
ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
22790
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22791
for as_dir in $PATH
22794
test -z "$as_dir" && as_dir=.
22795
for ac_exec_ext in '' $ac_executable_extensions; do
22796
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22797
ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
22798
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22805
test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="no"
22809
XSLTPROC=$ac_cv_path_XSLTPROC
22810
if test -n "$XSLTPROC"; then
22811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
22812
$as_echo "$XSLTPROC" >&6; }
22814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22815
$as_echo "no" >&6; }
22819
if test "x$XSLTPROC" != "xno"; then
22820
HAVE_XSLTPROC_TRUE=
22821
HAVE_XSLTPROC_FALSE='#'
22823
HAVE_XSLTPROC_TRUE='#'
22824
HAVE_XSLTPROC_FALSE=
22829
####################
22830
# Check for xvfb-run
22831
####################
22834
# Check whether --with-xvfb-run was given.
22835
if test "${with_xvfb_run+set}" = set; then :
22836
withval=$with_xvfb_run;
22840
have_xvfb_run="no (disabled)"
22841
if test "x$with_xvfb_run" != "xno"; then
22842
# Extract the first word of "xvfb-run", so it can be a program name with args.
22843
set dummy xvfb-run; ac_word=$2
22844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22845
$as_echo_n "checking for $ac_word... " >&6; }
22846
if ${ac_cv_path_XVFB_RUN+:} false; then :
22847
$as_echo_n "(cached) " >&6
22851
ac_cv_path_XVFB_RUN="$XVFB_RUN" # Let the user override the test with a path.
22854
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22855
for as_dir in $PATH
22858
test -z "$as_dir" && as_dir=.
22859
for ac_exec_ext in '' $ac_executable_extensions; do
22860
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22861
ac_cv_path_XVFB_RUN="$as_dir/$ac_word$ac_exec_ext"
22862
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22869
test -z "$ac_cv_path_XVFB_RUN" && ac_cv_path_XVFB_RUN="no"
22873
XVFB_RUN=$ac_cv_path_XVFB_RUN
22874
if test -n "$XVFB_RUN"; then
22875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XVFB_RUN" >&5
22876
$as_echo "$XVFB_RUN" >&6; }
22878
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22879
$as_echo "no" >&6; }
22883
if test "x$XVFB_RUN" != "xno"; then
22884
have_xvfb_run="yes"
22886
have_xvfb_run="no (not found)"
22889
if test "x$have_xvfb_run" == "xyes"; then
22890
HAVE_XVFB_RUN_TRUE=
22891
HAVE_XVFB_RUN_FALSE='#'
22893
HAVE_XVFB_RUN_TRUE='#'
22894
HAVE_XVFB_RUN_FALSE=
22899
######################################
22900
# Checks for gtk-doc and docbook-tools
22901
######################################
22903
# Check for GTK_DOC_CHECK availability. The GTK_DOC_CHECK invocation
22904
# must be on its own line, gtkdocize relies on it
22909
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
22910
set dummy gtkdoc-check; ac_word=$2
22911
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22912
$as_echo_n "checking for $ac_word... " >&6; }
22913
if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
22914
$as_echo_n "(cached) " >&6
22916
case $GTKDOC_CHECK in
22918
ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
22921
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22922
for as_dir in $PATH
22925
test -z "$as_dir" && as_dir=.
22926
for ac_exec_ext in '' $ac_executable_extensions; do
22927
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22928
ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
22929
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22939
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
22940
if test -n "$GTKDOC_CHECK"; then
22941
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
22942
$as_echo "$GTKDOC_CHECK" >&6; }
22944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22945
$as_echo "no" >&6; }
22949
for ac_prog in gtkdoc-rebase
22951
# Extract the first word of "$ac_prog", so it can be a program name with args.
22952
set dummy $ac_prog; ac_word=$2
22953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22954
$as_echo_n "checking for $ac_word... " >&6; }
22955
if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
22956
$as_echo_n "(cached) " >&6
22958
case $GTKDOC_REBASE in
22960
ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
22963
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22964
for as_dir in $PATH
22967
test -z "$as_dir" && as_dir=.
22968
for ac_exec_ext in '' $ac_executable_extensions; do
22969
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22970
ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
22971
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22981
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
22982
if test -n "$GTKDOC_REBASE"; then
22983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
22984
$as_echo "$GTKDOC_REBASE" >&6; }
22986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22987
$as_echo "no" >&6; }
22991
test -n "$GTKDOC_REBASE" && break
22993
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
22995
# Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
22996
set dummy gtkdoc-mkpdf; ac_word=$2
22997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22998
$as_echo_n "checking for $ac_word... " >&6; }
22999
if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
23000
$as_echo_n "(cached) " >&6
23002
case $GTKDOC_MKPDF in
23004
ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
23007
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23008
for as_dir in $PATH
23011
test -z "$as_dir" && as_dir=.
23012
for ac_exec_ext in '' $ac_executable_extensions; do
23013
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23014
ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
23015
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23025
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
23026
if test -n "$GTKDOC_MKPDF"; then
23027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
23028
$as_echo "$GTKDOC_MKPDF" >&6; }
23030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23031
$as_echo "no" >&6; }
23037
# Check whether --with-html-dir was given.
23038
if test "${with_html_dir+set}" = set; then :
23039
withval=$with_html_dir;
23041
with_html_dir='${datadir}/gtk-doc/html'
23044
HTML_DIR="$with_html_dir"
23047
# Check whether --enable-gtk-doc was given.
23048
if test "${enable_gtk_doc+set}" = set; then :
23049
enableval=$enable_gtk_doc;
23055
if test x$enable_gtk_doc = xyes; then
23056
if test -n "$PKG_CONFIG" && \
23057
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
23058
($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
23060
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23061
test $ac_status = 0; }; then
23064
as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
23066
if test "x$PACKAGE_NAME" != "xglib"; then
23069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
23070
$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
23072
if test -n "$GTKDOC_DEPS_CFLAGS"; then
23073
pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
23074
elif test -n "$PKG_CONFIG"; then
23075
if test -n "$PKG_CONFIG" && \
23076
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
23077
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
23079
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23080
test $ac_status = 0; }; then
23081
pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
23082
test "x$?" != "x0" && pkg_failed=yes
23089
if test -n "$GTKDOC_DEPS_LIBS"; then
23090
pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
23091
elif test -n "$PKG_CONFIG"; then
23092
if test -n "$PKG_CONFIG" && \
23093
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
23094
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
23096
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23097
test $ac_status = 0; }; then
23098
pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
23099
test "x$?" != "x0" && pkg_failed=yes
23109
if test $pkg_failed = yes; then
23110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23111
$as_echo "no" >&6; }
23113
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23114
_pkg_short_errors_supported=yes
23116
_pkg_short_errors_supported=no
23118
if test $_pkg_short_errors_supported = yes; then
23119
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
23121
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
23123
# Put the nasty error message in config.log where it belongs
23124
echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
23126
as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
23128
$GTKDOC_DEPS_PKG_ERRORS
23130
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23131
installed software in a non-standard prefix.
23133
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
23134
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
23135
See the pkg-config man page for more details." "$LINENO" 5
23136
elif test $pkg_failed = untried; then
23137
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23138
$as_echo "no" >&6; }
23139
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23140
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23141
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
23142
is in your PATH or set the PKG_CONFIG environment variable to the full
23143
path to pkg-config.
23145
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
23146
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
23147
See the pkg-config man page for more details.
23149
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23150
See \`config.log' for more details" "$LINENO" 5; }
23152
GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
23153
GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
23154
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23155
$as_echo "yes" >&6; }
23161
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
23162
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
23163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
23164
$as_echo "$enable_gtk_doc" >&6; }
23166
# Check whether --enable-gtk-doc-html was given.
23167
if test "${enable_gtk_doc_html+set}" = set; then :
23168
enableval=$enable_gtk_doc_html;
23170
enable_gtk_doc_html=yes
23173
# Check whether --enable-gtk-doc-pdf was given.
23174
if test "${enable_gtk_doc_pdf+set}" = set; then :
23175
enableval=$enable_gtk_doc_pdf;
23177
enable_gtk_doc_pdf=no
23181
if test -z "$GTKDOC_MKPDF"; then
23182
enable_gtk_doc_pdf=no
23186
if test x$enable_gtk_doc = xyes; then
23187
ENABLE_GTK_DOC_TRUE=
23188
ENABLE_GTK_DOC_FALSE='#'
23190
ENABLE_GTK_DOC_TRUE='#'
23191
ENABLE_GTK_DOC_FALSE=
23194
if test x$enable_gtk_doc_html = xyes; then
23195
GTK_DOC_BUILD_HTML_TRUE=
23196
GTK_DOC_BUILD_HTML_FALSE='#'
23198
GTK_DOC_BUILD_HTML_TRUE='#'
23199
GTK_DOC_BUILD_HTML_FALSE=
23202
if test x$enable_gtk_doc_pdf = xyes; then
23203
GTK_DOC_BUILD_PDF_TRUE=
23204
GTK_DOC_BUILD_PDF_FALSE='#'
23206
GTK_DOC_BUILD_PDF_TRUE='#'
23207
GTK_DOC_BUILD_PDF_FALSE=
23210
if test -n "$LIBTOOL"; then
23211
GTK_DOC_USE_LIBTOOL_TRUE=
23212
GTK_DOC_USE_LIBTOOL_FALSE='#'
23214
GTK_DOC_USE_LIBTOOL_TRUE='#'
23215
GTK_DOC_USE_LIBTOOL_FALSE=
23218
if test -n "$GTKDOC_REBASE"; then
23219
GTK_DOC_USE_REBASE_TRUE=
23220
GTK_DOC_USE_REBASE_FALSE='#'
23222
GTK_DOC_USE_REBASE_TRUE='#'
23223
GTK_DOC_USE_REBASE_FALSE=
23229
# NOTE: We need to use a separate automake conditional for this
23230
# to make this work with the tarballs.
23231
if test "x$enable_gtk_doc" = xyes; then
23232
ENABLE_GTK_DOC_TRUE=
23233
ENABLE_GTK_DOC_FALSE='#'
23235
ENABLE_GTK_DOC_TRUE='#'
23236
ENABLE_GTK_DOC_FALSE=
23240
# Check whether --enable-gtk-doc-app was given.
23241
if test "${enable_gtk_doc_app+set}" = set; then :
23242
enableval=$enable_gtk_doc_app;
23244
enable_gtk_doc_app=no
23247
if test "x$enable_gtk_doc_app" = xyes; then
23248
ENABLE_GTK_DOC_APP_TRUE=
23249
ENABLE_GTK_DOC_APP_FALSE='#'
23251
ENABLE_GTK_DOC_APP_TRUE='#'
23252
ENABLE_GTK_DOC_APP_FALSE=
23257
#########################################
23258
# Allow to configure the GIMP environment
23259
#########################################
23261
# Check whether --enable-default-binary was given.
23262
if test "${enable_default_binary+set}" = set; then :
23263
enableval=$enable_default_binary;
23265
enable_default_binary=yes
23269
if test "x$enable_default_binary" = xyes; then
23270
DEFAULT_BINARY_TRUE=
23271
DEFAULT_BINARY_FALSE='#'
23273
DEFAULT_BINARY_TRUE='#'
23274
DEFAULT_BINARY_FALSE=
23279
# Check whether --enable-gimp-console was given.
23280
if test "${enable_gimp_console+set}" = set; then :
23281
enableval=$enable_gimp_console;
23283
enable_gimp_console=yes
23287
if test "x$enable_gimp_console" != xno; then
23288
ENABLE_GIMP_CONSOLE_TRUE=
23289
ENABLE_GIMP_CONSOLE_FALSE='#'
23291
ENABLE_GIMP_CONSOLE_TRUE='#'
23292
ENABLE_GIMP_CONSOLE_FALSE=
23297
# Possibly change default gimpdir from .gimp-major.minor
23300
# Check whether --with-gimpdir was given.
23301
if test "${with_gimpdir+set}" = set; then :
23302
withval=$with_gimpdir; if eval "test x$with_gimpdir != x"; then
23303
if eval "test x$with_gimpdir != xyes"; then
23304
gimpdir=$with_gimpdir
23310
gimpdatadir="$datadir/$PACKAGE/2.0"
23311
gimpplugindir="$libdir/$PACKAGE/2.0"
23312
gimpsysconfdir="$sysconfdir/$PACKAGE/2.0"
23320
# GNU format message catalogs go into $datadir/locale,
23321
# standard location is $libdir/locale. DATADIRNAME set accordingly.
23323
gimplocaledir="$datadir/locale"
23324
if test "$DATADIRNAME" = "lib"; then
23325
gimplocaledir="$libdir/locale"
23331
############################
23332
# Some defines for the build
23333
############################
23335
if test "x$enable_static" = xyes; then
23337
STATICLIBS_FALSE='#'
23339
STATICLIBS_TRUE='#'
23344
# a tuned version of glib-mkenums
23345
GIMP_MKENUMS="\$(PERL) \$(top_srcdir)/tools/gimp-mkenums"
23348
#Add required trailing ; to list
23349
MIME_TYPES="$MIME_TYPES;"
23354
#########################
23355
# Disable deprecated APIs
23356
#########################
23358
CPPFLAGS="${CPPFLAGS} -DGIMP_DISABLE_DEPRECATED -DBABL_DISABLE_DEPRECATED -DGSEAL_ENABLE"
23360
# Make sure not to disable deprecated APIs for unreleased versions.
23361
# We must build without problems with future releases of libraries
23362
# and disabling deprecated API risks breaking the build
23364
if test "x$have_glib_2_31" != "xyes"; then
23365
CPPFLAGS="${CPPFLAGS} -DG_DISABLE_DEPRECATED"
23368
if test "x$have_gtk_2_26" != "xyes"; then
23369
CPPFLAGS="${CPPFLAGS} -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
23372
if test "x$have_gdk_pixbuf_2_26" != "xyes"; then
23373
CPPFLAGS="${CPPFLAGS} -DGDK_PIXBUF_DISABLE_DEPRECATED"
23376
if test "x$have_pango_1_32" != "xyes"; then
23377
CPPFLAGS="${CPPFLAGS} -DPANGO_DISABLE_DEPRECATED"
23381
############################
23382
# Require multihead safe API
23383
############################
23385
CPPFLAGS="${CPPFLAGS} -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE"
23392
# easy way to skip the plug-in build
23393
GIMP_PLUGINS=plug-ins
23394
GIMP_MODULES=modules
23398
ac_config_commands="$ac_config_commands libgimpbase/gimpversion.h"
23401
ac_config_files="$ac_config_files tools/Makefile tools/pdbgen/Makefile libgimp/Makefile libgimpbase/Makefile libgimpconfig/Makefile libgimpcolor/Makefile libgimpmath/Makefile libgimpmodule/Makefile libgimpthumb/Makefile libgimpwidgets/Makefile app/Makefile app/actions/Makefile app/base/Makefile app/config/Makefile app/core/Makefile app/gegl/Makefile app/dialogs/Makefile app/display/Makefile app/file/Makefile app/gui/Makefile app/menus/Makefile app/paint/Makefile app/paint-funcs/Makefile app/composite/Makefile app/pdb/Makefile app/plug-in/Makefile app/text/Makefile app/tools/Makefile app/vectors/Makefile app/widgets/Makefile app/xcf/Makefile app/tests/Makefile app/tests/files/Makefile app/tests/gimpdir-empty/Makefile app/tests/gimpdir-empty/brushes/Makefile app/tests/gimpdir-empty/gradients/Makefile app/tests/gimpdir-empty/patterns/Makefile app/tests/gimpdir/Makefile app/tests/gimpdir/brushes/Makefile app/tests/gimpdir/gradients/Makefile app/tests/gimpdir/patterns/Makefile build/Makefile build/windows/Makefile build/windows/gimp.rc build/windows/gimp-plug-ins.rc plug-ins/Makefile plug-ins/color-rotate/Makefile plug-ins/color-rotate/images/Makefile plug-ins/file-bmp/Makefile plug-ins/file-compressor/Makefile plug-ins/file-faxg3/Makefile plug-ins/file-fits/Makefile plug-ins/file-fli/Makefile plug-ins/file-ico/Makefile plug-ins/file-jpeg/Makefile plug-ins/file-psd/Makefile plug-ins/file-sgi/Makefile plug-ins/file-uri/Makefile plug-ins/file-xjt/Makefile plug-ins/flame/Makefile plug-ins/fractal-explorer/Makefile plug-ins/fractal-explorer/examples/Makefile plug-ins/gfig/Makefile plug-ins/gfig/gfig-examples/Makefile plug-ins/gfig/images/Makefile plug-ins/ui/Makefile plug-ins/gimpressionist/Brushes/Makefile plug-ins/gimpressionist/Makefile plug-ins/gimpressionist/Paper/Makefile plug-ins/gimpressionist/Presets/Makefile plug-ins/gradient-flare/Makefile plug-ins/gradient-flare/flares/Makefile plug-ins/help-browser/Makefile plug-ins/help/Makefile plug-ins/ifs-compose/Makefile plug-ins/imagemap/Makefile plug-ins/imagemap/images/Makefile plug-ins/lighting/Makefile plug-ins/lighting/images/Makefile plug-ins/map-object/Makefile plug-ins/maze/Makefile plug-ins/metadata/Makefile plug-ins/pagecurl/Makefile plug-ins/print/Makefile plug-ins/pygimp/Makefile plug-ins/pygimp/plug-ins/Makefile plug-ins/script-fu/Makefile plug-ins/script-fu/ftx/Makefile plug-ins/script-fu/scripts/Makefile plug-ins/script-fu/scripts/images/Makefile plug-ins/script-fu/tinyscheme/Makefile plug-ins/selection-to-path/Makefile plug-ins/twain/Makefile plug-ins/win-snap/Makefile plug-ins/common/Makefile modules/Makefile devel-docs/Makefile devel-docs/app/Makefile devel-docs/app/version devel-docs/libgimp/Makefile devel-docs/libgimp/version devel-docs/libgimpbase/Makefile devel-docs/libgimpbase/version devel-docs/libgimpconfig/Makefile devel-docs/libgimpconfig/version devel-docs/libgimpcolor/Makefile devel-docs/libgimpcolor/version devel-docs/libgimpmath/Makefile devel-docs/libgimpmath/version devel-docs/libgimpmodule/Makefile devel-docs/libgimpmodule/version devel-docs/libgimpthumb/Makefile devel-docs/libgimpthumb/version devel-docs/libgimpwidgets/Makefile devel-docs/libgimpwidgets/version devel-docs/tools/Makefile docs/Makefile menus/Makefile cursors/Makefile themes/Makefile themes/Default/Makefile themes/Default/images/Makefile themes/Default/images/preferences/Makefile themes/Small/Makefile data/Makefile data/brushes/Makefile data/brushes/Basic/Makefile data/brushes/gimp-obsolete-files/Makefile data/brushes/Media/Makefile data/brushes/Legacy/Makefile data/brushes/Sketch/Makefile data/brushes/Splatters/Makefile data/brushes/Texture/Makefile data/dynamics/Makefile data/dynamics/Basic/Makefile data/dynamics/FX/Makefile data/environ/Makefile data/gradients/Makefile data/images/Makefile data/interpreters/Makefile data/palettes/Makefile data/patterns/Makefile data/tags/Makefile data/tips/Makefile data/tool-presets/Makefile data/tool-presets/FX/Makefile data/tool-presets/Paint/Makefile data/tool-presets/Selection/Makefile data/tool-presets/Sketch/Makefile desktop/Makefile desktop/gimp.desktop.in etc/Makefile m4macros/Makefile po/Makefile.in po-libgimp/Makefile.in po-plug-ins/Makefile.in po-python/Makefile.in po-script-fu/Makefile.in po-tips/Makefile.in gimp-zip Makefile"
23404
# Files with versions in their names
23405
ac_config_files="$ac_config_files docs/gimp-2.8.1:docs/gimp.1.in docs/gimprc-2.8.5:docs/gimprc.5.in docs/gimptool-2.0.1:docs/gimptool.1.in gimp-2.0.pc:gimp.pc.in gimpthumb-2.0.pc:gimpthumb.pc.in gimpui-2.0.pc:gimpui.pc.in"
23408
ac_config_commands="$ac_config_commands sed-po-makefiles"
23411
cat >confcache <<\_ACEOF
23412
# This file is a shell script that caches the results of configure
23413
# tests run on this system so they can be shared between configure
23414
# scripts and configure runs, see configure's option --config-cache.
23415
# It is not useful on other systems. If it contains results you don't
23416
# want to keep, you may remove or edit it.
23418
# config.status only pays attention to the cache file if you give it
23419
# the --recheck option to rerun configure.
23421
# `ac_cv_env_foo' variables (set or unset) will be overridden when
23422
# loading this file, other *unset* `ac_cv_foo' will be assigned the
23423
# following values.
23427
# The following way of writing the cache mishandles newlines in values,
23428
# but we know of no workaround that is simple, portable, and efficient.
23429
# So, we kill variables containing newlines.
23430
# Ultrix sh set writes to stderr and can't be redirected directly,
23431
# and sets the high bit in the cache file unless we assign to the vars.
23433
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23434
eval ac_val=\$$ac_var
23438
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
23439
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23442
_ | IFS | as_nl) ;; #(
23443
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
23444
*) { eval $ac_var=; unset $ac_var;} ;;
23450
case $as_nl`(ac_space=' '; set) 2>&1` in #(
23451
*${as_nl}ac_space=\ *)
23452
# `set' does not quote correctly, so add quotes: double-quote
23453
# substitution turns \\\\ into \\, and sed turns \\ into \.
23456
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23459
# `set' quotes correctly as required by POSIX, so do not add quotes.
23460
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23469
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23471
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23473
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23474
if test -w "$cache_file"; then
23475
if test "x$cache_file" != "x/dev/null"; then
23476
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23477
$as_echo "$as_me: updating cache $cache_file" >&6;}
23478
if test ! -f "$cache_file" || test -h "$cache_file"; then
23479
cat confcache >"$cache_file"
23481
case $cache_file in #(
23483
mv -f confcache "$cache_file"$$ &&
23484
mv -f "$cache_file"$$ "$cache_file" ;; #(
23486
mv -f confcache "$cache_file" ;;
23491
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23492
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23497
test "x$prefix" = xNONE && prefix=$ac_default_prefix
23498
# Let make expand exec_prefix.
23499
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23501
DEFS=-DHAVE_CONFIG_H
23506
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23507
# 1. Remove the extension, and $U if already installed.
23508
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23509
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
23510
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23511
# will be set to the directory where LIBOBJS objects are built.
23512
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23513
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23515
LIBOBJS=$ac_libobjs
23517
LTLIBOBJS=$ac_ltlibobjs
23520
if test -n "$EXEEXT"; then
23522
am__EXEEXT_FALSE='#'
23524
am__EXEEXT_TRUE='#'
23528
if test -z "${GIMP_UNSTABLE_TRUE}" && test -z "${GIMP_UNSTABLE_FALSE}"; then
23529
as_fn_error $? "conditional \"GIMP_UNSTABLE\" was never defined.
23530
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23532
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23533
as_fn_error $? "conditional \"AMDEP\" was never defined.
23534
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23536
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23537
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
23538
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23540
if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
23541
as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
23542
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23544
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23545
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
23546
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23548
if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
23549
as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
23550
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23552
if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
23553
as_fn_error $? "conditional \"OS_WIN32\" was never defined.
23554
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23556
if test -z "${OS_UNIX_TRUE}" && test -z "${OS_UNIX_FALSE}"; then
23557
as_fn_error $? "conditional \"OS_UNIX\" was never defined.
23558
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23560
if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
23561
as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
23562
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23564
if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then
23565
as_fn_error $? "conditional \"HAVE_WINDRES\" was never defined.
23566
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23568
if test -z "${USE_BINRELOC_TRUE}" && test -z "${USE_BINRELOC_FALSE}"; then
23569
as_fn_error $? "conditional \"USE_BINRELOC\" was never defined.
23570
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23573
ac_config_commands="$ac_config_commands po/stamp-it"
23576
if test -z "${BUILD_JPEG_TRUE}" && test -z "${BUILD_JPEG_FALSE}"; then
23577
as_fn_error $? "conditional \"BUILD_JPEG\" was never defined.
23578
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23580
if test -z "${BUILD_XJT_TRUE}" && test -z "${BUILD_XJT_FALSE}"; then
23581
as_fn_error $? "conditional \"BUILD_XJT\" was never defined.
23582
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23584
if test -z "${HAVE_Z_TRUE}" && test -z "${HAVE_Z_FALSE}"; then
23585
as_fn_error $? "conditional \"HAVE_Z\" was never defined.
23586
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23588
if test -z "${HAVE_BZIP2_TRUE}" && test -z "${HAVE_BZIP2_FALSE}"; then
23589
as_fn_error $? "conditional \"HAVE_BZIP2\" was never defined.
23590
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23592
if test -z "${HAVE_GS_TRUE}" && test -z "${HAVE_GS_FALSE}"; then
23593
as_fn_error $? "conditional \"HAVE_GS\" was never defined.
23594
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23596
if test -z "${HAVE_PNG_TRUE}" && test -z "${HAVE_PNG_FALSE}"; then
23597
as_fn_error $? "conditional \"HAVE_PNG\" was never defined.
23598
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23600
if test -z "${HAVE_LIBEXIF_TRUE}" && test -z "${HAVE_LIBEXIF_FALSE}"; then
23601
as_fn_error $? "conditional \"HAVE_LIBEXIF\" was never defined.
23602
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23604
if test -z "${HAVE_WEBKIT_TRUE}" && test -z "${HAVE_WEBKIT_FALSE}"; then
23605
as_fn_error $? "conditional \"HAVE_WEBKIT\" was never defined.
23606
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23608
if test -z "${BUILD_PRINT_TRUE}" && test -z "${BUILD_PRINT_FALSE}"; then
23609
as_fn_error $? "conditional \"BUILD_PRINT\" was never defined.
23610
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23612
if test -z "${HAVE_GVFS_TRUE}" && test -z "${HAVE_GVFS_FALSE}"; then
23613
as_fn_error $? "conditional \"HAVE_GVFS\" was never defined.
23614
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23616
if test -z "${HAVE_LIBCURL_TRUE}" && test -z "${HAVE_LIBCURL_FALSE}"; then
23617
as_fn_error $? "conditional \"HAVE_LIBCURL\" was never defined.
23618
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23620
if test -z "${BUILD_JP2_TRUE}" && test -z "${BUILD_JP2_FALSE}"; then
23621
as_fn_error $? "conditional \"BUILD_JP2\" was never defined.
23622
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23624
if test -z "${HAVE_LCMS_TRUE}" && test -z "${HAVE_LCMS_FALSE}"; then
23625
as_fn_error $? "conditional \"HAVE_LCMS\" was never defined.
23626
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23628
if test -z "${HAVE_LINUX_INPUT_TRUE}" && test -z "${HAVE_LINUX_INPUT_FALSE}"; then
23629
as_fn_error $? "conditional \"HAVE_LINUX_INPUT\" was never defined.
23630
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23632
if test -z "${HAVE_DX_DINPUT_TRUE}" && test -z "${HAVE_DX_DINPUT_FALSE}"; then
23633
as_fn_error $? "conditional \"HAVE_DX_DINPUT\" was never defined.
23634
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23636
if test -z "${WITH_PDBGEN_TRUE}" && test -z "${WITH_PDBGEN_FALSE}"; then
23637
as_fn_error $? "conditional \"WITH_PDBGEN\" was never defined.
23638
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23640
if test -z "${BUILD_PYTHON_TRUE}" && test -z "${BUILD_PYTHON_FALSE}"; then
23641
as_fn_error $? "conditional \"BUILD_PYTHON\" was never defined.
23642
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23644
if test -z "${BUILD_SCRIPT_FU_TRUE}" && test -z "${BUILD_SCRIPT_FU_FALSE}"; then
23645
as_fn_error $? "conditional \"BUILD_SCRIPT_FU\" was never defined.
23646
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23648
if test -z "${PLATFORM_OSX_TRUE}" && test -z "${PLATFORM_OSX_FALSE}"; then
23649
as_fn_error $? "conditional \"PLATFORM_OSX\" was never defined.
23650
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23652
if test -z "${HAVE_MAC_TWAIN_TRUE}" && test -z "${HAVE_MAC_TWAIN_FALSE}"; then
23653
as_fn_error $? "conditional \"HAVE_MAC_TWAIN\" was never defined.
23654
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23656
if test -z "${DESKTOP_DATADIR_TRUE}" && test -z "${DESKTOP_DATADIR_FALSE}"; then
23657
as_fn_error $? "conditional \"DESKTOP_DATADIR\" was never defined.
23658
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23660
if test -z "${HAVE_XMLLINT_TRUE}" && test -z "${HAVE_XMLLINT_FALSE}"; then
23661
as_fn_error $? "conditional \"HAVE_XMLLINT\" was never defined.
23662
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23664
if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
23665
as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
23666
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23668
if test -z "${HAVE_XVFB_RUN_TRUE}" && test -z "${HAVE_XVFB_RUN_FALSE}"; then
23669
as_fn_error $? "conditional \"HAVE_XVFB_RUN\" was never defined.
23670
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23672
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
23673
as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
23674
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23676
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
23677
as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
23678
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23680
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
23681
as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
23682
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23684
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
23685
as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
23686
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23688
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
23689
as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
23690
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23692
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
23693
as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
23694
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23696
if test -z "${ENABLE_GTK_DOC_APP_TRUE}" && test -z "${ENABLE_GTK_DOC_APP_FALSE}"; then
23697
as_fn_error $? "conditional \"ENABLE_GTK_DOC_APP\" was never defined.
23698
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23700
if test -z "${DEFAULT_BINARY_TRUE}" && test -z "${DEFAULT_BINARY_FALSE}"; then
23701
as_fn_error $? "conditional \"DEFAULT_BINARY\" was never defined.
23702
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23704
if test -z "${ENABLE_GIMP_CONSOLE_TRUE}" && test -z "${ENABLE_GIMP_CONSOLE_FALSE}"; then
23705
as_fn_error $? "conditional \"ENABLE_GIMP_CONSOLE\" was never defined.
23706
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23708
if test -z "${STATICLIBS_TRUE}" && test -z "${STATICLIBS_FALSE}"; then
23709
as_fn_error $? "conditional \"STATICLIBS\" was never defined.
23710
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23713
: "${CONFIG_STATUS=./config.status}"
23715
ac_clean_files_save=$ac_clean_files
23716
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23717
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23718
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
23720
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23722
# Generated by $as_me.
23723
# Run this file to recreate the current configuration.
23724
# Compiler output produced by configure, useful for debugging
23725
# configure, is in config.log if it exists.
23728
ac_cs_recheck=false
23731
SHELL=\${CONFIG_SHELL-$SHELL}
23734
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23735
## -------------------- ##
23736
## M4sh Initialization. ##
23737
## -------------------- ##
23739
# Be more Bourne compatible
23740
DUALCASE=1; export DUALCASE # for MKS sh
23741
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23744
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23745
# is contrary to our usage. Disable this feature.
23746
alias -g '${1+"$@"}'='"$@"'
23747
setopt NO_GLOB_SUBST
23749
case `(set -o) 2>/dev/null` in #(
23761
# Printing a long string crashes Solaris 7 /usr/bin/printf.
23762
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
23763
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
23764
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
23765
# Prefer a ksh shell builtin over an external printf program on Solaris,
23766
# but without wasting forks for bash or zsh.
23767
if test -z "$BASH_VERSION$ZSH_VERSION" \
23768
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
23769
as_echo='print -r --'
23770
as_echo_n='print -rn --'
23771
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
23772
as_echo='printf %s\n'
23773
as_echo_n='printf %s'
23775
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
23776
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
23777
as_echo_n='/usr/ucb/echo -n'
23779
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
23780
as_echo_n_body='eval
23784
expr "X$arg" : "X\\(.*\\)$as_nl";
23785
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
23787
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
23789
export as_echo_n_body
23790
as_echo_n='sh -c $as_echo_n_body as_echo'
23792
export as_echo_body
23793
as_echo='sh -c $as_echo_body as_echo'
23796
# The user is always right.
23797
if test "${PATH_SEPARATOR+set}" != set; then
23799
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23800
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23807
# We need space, tab and new line, in precisely that order. Quoting is
23808
# there to prevent editors from complaining about space-tab.
23809
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
23810
# splitting by setting IFS to empty value.)
23813
# Find who we are. Look in the path if we contain no directory separator.
23816
*[\\/]* ) as_myself=$0 ;;
23817
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23818
for as_dir in $PATH
23821
test -z "$as_dir" && as_dir=.
23822
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23828
# We did not find ourselves, most probably we were run as `sh COMMAND'
23829
# in which case we are not to be found in the path.
23830
if test "x$as_myself" = x; then
23833
if test ! -f "$as_myself"; then
23834
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23838
# Unset variables that we do not need and which cause bugs (e.g. in
23839
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
23840
# suppresses any "Segmentation fault" message there. '((' could
23841
# trigger a bug in pdksh 5.2.14.
23842
for as_var in BASH_ENV ENV MAIL MAILPATH
23843
do eval test x\${$as_var+set} = xset \
23844
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23857
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23860
# as_fn_error STATUS ERROR [LINENO LOG_FD]
23861
# ----------------------------------------
23862
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23863
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23864
# script with STATUS, using 1 if that was 0.
23867
as_status=$1; test $as_status -eq 0 && as_status=1
23869
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23870
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23872
$as_echo "$as_me: error: $2" >&2
23873
as_fn_exit $as_status
23877
# as_fn_set_status STATUS
23878
# -----------------------
23879
# Set $? to STATUS, without forking.
23880
as_fn_set_status ()
23883
} # as_fn_set_status
23885
# as_fn_exit STATUS
23886
# -----------------
23887
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23891
as_fn_set_status $1
23897
# Portably unset VAR.
23900
{ eval $1=; unset $1;}
23902
as_unset=as_fn_unset
23903
# as_fn_append VAR VALUE
23904
# ----------------------
23905
# Append the text in VALUE to the end of the definition contained in VAR. Take
23906
# advantage of any shell optimizations that allow amortized linear growth over
23907
# repeated appends, instead of the typical quadratic growth present in naive
23909
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
23910
eval 'as_fn_append ()
23921
# as_fn_arith ARG...
23922
# ------------------
23923
# Perform arithmetic evaluation on the ARGs, and store the result in the
23924
# global $as_val. Take advantage of shells that can avoid forks. The arguments
23925
# must be portable across $(()) and expr.
23926
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
23927
eval 'as_fn_arith ()
23934
as_val=`expr "$@" || test $? -eq 1`
23939
if expr a : '\(a\)' >/dev/null 2>&1 &&
23940
test "X`expr 00001 : '.*\(...\)'`" = X001; then
23946
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23947
as_basename=basename
23952
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23958
as_me=`$as_basename -- "$0" ||
23959
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23960
X"$0" : 'X\(//\)$' \| \
23961
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23963
sed '/^.*\/\([^/][^/]*\)\/*$/{
23977
# Avoid depending upon Character Ranges.
23978
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23979
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23980
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23981
as_cr_digits='0123456789'
23982
as_cr_alnum=$as_cr_Letters$as_cr_digits
23984
ECHO_C= ECHO_N= ECHO_T=
23985
case `echo -n x` in #(((((
23987
case `echo 'xy\c'` in
23988
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
23990
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23997
rm -f conf$$ conf$$.exe conf$$.file
23998
if test -d conf$$.dir; then
23999
rm -f conf$$.dir/conf$$.file
24002
mkdir conf$$.dir 2>/dev/null
24004
if (echo >conf$$.file) 2>/dev/null; then
24005
if ln -s conf$$.file conf$$ 2>/dev/null; then
24007
# ... but there are two gotchas:
24008
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24009
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24010
# In both cases, we have to default to `cp -pR'.
24011
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24013
elif ln conf$$.file conf$$ 2>/dev/null; then
24021
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24022
rmdir conf$$.dir 2>/dev/null
24027
# Create "$as_dir" as a directory, including parents if necessary.
24032
-*) as_dir=./$as_dir;;
24034
test -d "$as_dir" || eval $as_mkdir_p || {
24038
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24039
*) as_qdir=$as_dir;;
24041
as_dirs="'$as_qdir' $as_dirs"
24042
as_dir=`$as_dirname -- "$as_dir" ||
24043
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24044
X"$as_dir" : 'X\(//\)[^/]' \| \
24045
X"$as_dir" : 'X\(//\)$' \| \
24046
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24047
$as_echo X"$as_dir" |
24048
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24052
/^X\(\/\/\)[^/].*/{
24065
test -d "$as_dir" && break
24067
test -z "$as_dirs" || eval "mkdir $as_dirs"
24068
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
24072
if mkdir -p . 2>/dev/null; then
24073
as_mkdir_p='mkdir -p "$as_dir"'
24075
test -d ./-p && rmdir ./-p
24080
# as_fn_executable_p FILE
24081
# -----------------------
24082
# Test if FILE is an executable regular file.
24083
as_fn_executable_p ()
24085
test -f "$1" && test -x "$1"
24086
} # as_fn_executable_p
24087
as_test_x='test -x'
24088
as_executable_p=as_fn_executable_p
24090
# Sed expression to map a string onto a valid CPP name.
24091
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24093
# Sed expression to map a string onto a valid variable name.
24094
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24098
## ----------------------------------- ##
24099
## Main body of $CONFIG_STATUS script. ##
24100
## ----------------------------------- ##
24102
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
24104
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24105
# Save the log message, to keep $0 and so on meaningful, and to
24106
# report actual input values of CONFIG_FILES etc. instead of their
24107
# values after options handling.
24109
This file was extended by GIMP $as_me 2.8.2, which was
24110
generated by GNU Autoconf 2.69. Invocation command line was
24112
CONFIG_FILES = $CONFIG_FILES
24113
CONFIG_HEADERS = $CONFIG_HEADERS
24114
CONFIG_LINKS = $CONFIG_LINKS
24115
CONFIG_COMMANDS = $CONFIG_COMMANDS
24118
on `(hostname || uname -n) 2>/dev/null | sed 1q`
24123
case $ac_config_files in *"
24124
"*) set x $ac_config_files; shift; ac_config_files=$*;;
24127
case $ac_config_headers in *"
24128
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
24132
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24133
# Files that config.status was made for.
24134
config_files="$ac_config_files"
24135
config_headers="$ac_config_headers"
24136
config_commands="$ac_config_commands"
24140
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24142
\`$as_me' instantiates files and other configuration actions
24143
from templates according to the current configuration. Unless the files
24144
and actions are specified as TAGs, all are instantiated by default.
24146
Usage: $0 [OPTION]... [TAG]...
24148
-h, --help print this help, then exit
24149
-V, --version print version number and configuration settings, then exit
24150
--config print configuration, then exit
24151
-q, --quiet, --silent
24152
do not print progress messages
24153
-d, --debug don't remove temporary files
24154
--recheck update $as_me by reconfiguring in the same conditions
24155
--file=FILE[:TEMPLATE]
24156
instantiate the configuration file FILE
24157
--header=FILE[:TEMPLATE]
24158
instantiate the configuration header FILE
24160
Configuration files:
24163
Configuration headers:
24166
Configuration commands:
24169
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP>."
24172
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24173
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
24175
GIMP config.status 2.8.2
24176
configured by $0, generated by GNU Autoconf 2.69,
24177
with options \\"\$ac_cs_config\\"
24179
Copyright (C) 2012 Free Software Foundation, Inc.
24180
This config.status script is free software; the Free Software Foundation
24181
gives unlimited permission to copy, distribute and modify it."
24188
test -n "\$AWK" || AWK=awk
24191
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24192
# The default lists apply if the user does not specify any file.
24198
ac_option=`expr "X$1" : 'X\([^=]*\)='`
24199
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24203
ac_option=`expr "X$1" : 'X\([^=]*\)='`
24215
# Handling of the options.
24216
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24218
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24219
$as_echo "$ac_cs_version"; exit ;;
24220
--config | --confi | --conf | --con | --co | --c )
24221
$as_echo "$ac_cs_config"; exit ;;
24222
--debug | --debu | --deb | --de | --d | -d )
24224
--file | --fil | --fi | --f )
24227
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24228
'') as_fn_error $? "missing file argument" ;;
24230
as_fn_append CONFIG_FILES " '$ac_optarg'"
24231
ac_need_defaults=false;;
24232
--header | --heade | --head | --hea )
24235
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24237
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
24238
ac_need_defaults=false;;
24240
# Conflict between --help and --header
24241
as_fn_error $? "ambiguous option: \`$1'
24242
Try \`$0 --help' for more information.";;
24243
--help | --hel | -h )
24244
$as_echo "$ac_cs_usage"; exit ;;
24245
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
24246
| -silent | --silent | --silen | --sile | --sil | --si | --s)
24249
# This is an error.
24250
-*) as_fn_error $? "unrecognized option: \`$1'
24251
Try \`$0 --help' for more information." ;;
24253
*) as_fn_append ac_config_targets " $1"
24254
ac_need_defaults=false ;;
24260
ac_configure_extra_args=
24262
if $ac_cs_silent; then
24264
ac_configure_extra_args="$ac_configure_extra_args --silent"
24268
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24269
if \$ac_cs_recheck; then
24270
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24272
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
24273
CONFIG_SHELL='$SHELL'
24274
export CONFIG_SHELL
24279
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24283
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24284
## Running $as_me. ##
24290
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24294
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24297
# The HP-UX ksh and POSIX shell print the target directory to stdout
24298
# if CDPATH is set.
24299
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
24301
sed_quote_subst='$sed_quote_subst'
24302
double_quote_subst='$double_quote_subst'
24303
delay_variable_subst='$delay_variable_subst'
24304
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
24305
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
24306
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
24307
AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
24308
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
24309
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
24310
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
24311
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
24312
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
24313
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
24314
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
24315
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
24316
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
24317
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
24318
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
24319
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
24320
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
24321
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
24322
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
24323
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
24324
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
24325
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
24326
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
24327
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
24328
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
24329
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
24330
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
24331
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
24332
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
24333
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
24334
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
24335
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
24336
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
24337
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
24338
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
24339
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
24340
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
24341
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
24342
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
24343
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
24344
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
24345
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
24346
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
24347
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
24348
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
24349
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
24350
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24351
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24352
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
24353
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
24354
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
24355
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
24356
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
24357
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
24358
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
24359
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
24360
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
24361
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
24362
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
24363
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
24364
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
24365
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
24366
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
24367
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
24368
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
24369
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
24370
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
24371
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
24372
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
24373
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
24374
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
24375
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
24376
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
24377
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
24378
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
24379
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
24380
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
24381
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
24382
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
24383
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
24384
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
24385
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
24386
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
24387
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
24388
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
24389
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
24390
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
24391
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
24392
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
24393
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
24394
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
24395
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
24396
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
24397
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
24398
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
24399
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
24400
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
24401
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
24402
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
24403
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
24404
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
24405
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
24406
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
24407
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
24408
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
24409
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
24410
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
24411
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
24412
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
24413
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
24414
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
24415
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
24416
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
24417
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
24418
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
24419
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
24420
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
24421
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
24422
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24423
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24424
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
24425
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
24426
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
24427
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
24428
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
24429
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
24430
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
24431
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
24432
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
24433
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
24434
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
24437
LTCFLAGS='$LTCFLAGS'
24438
compiler='$compiler_DEFAULT'
24440
# A function that is used when there is no print builtin or printf.
24441
func_fallback_echo ()
24443
eval 'cat <<_LTECHO_EOF
24448
# Quote evaled strings.
24465
deplibs_check_method \
24469
sharedlib_from_linklib_cmd \
24472
archiver_list_spec \
24478
lt_cv_sys_global_symbol_pipe \
24479
lt_cv_sys_global_symbol_to_cdecl \
24480
lt_cv_sys_global_symbol_to_c_name_address \
24481
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
24482
nm_file_list_spec \
24483
lt_prog_compiler_no_builtin_flag \
24484
lt_prog_compiler_pic \
24485
lt_prog_compiler_wl \
24486
lt_prog_compiler_static \
24487
lt_cv_prog_compiler_c_o \
24496
export_dynamic_flag_spec \
24497
whole_archive_flag_spec \
24498
compiler_needs_object \
24500
allow_undefined_flag \
24501
no_undefined_flag \
24502
hardcode_libdir_flag_spec \
24503
hardcode_libdir_separator \
24507
variables_saved_for_relink \
24509
library_names_spec \
24511
install_override_mode \
24515
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24516
*[\\\\\\\`\\"\\\$]*)
24517
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
24520
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24525
# Double-quote double-evaled strings.
24526
for var in reload_cmds \
24527
old_postinstall_cmds \
24528
old_postuninstall_cmds \
24530
extract_expsyms_cmds \
24531
old_archive_from_new_cmds \
24532
old_archive_from_expsyms_cmds \
24534
archive_expsym_cmds \
24536
module_expsym_cmds \
24537
export_symbols_cmds \
24541
postuninstall_cmds \
24543
sys_lib_search_path_spec \
24544
sys_lib_dlsearch_path_spec; do
24545
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24546
*[\\\\\\\`\\"\\\$]*)
24547
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
24550
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24555
ac_aux_dir='$ac_aux_dir'
24556
xsi_shell='$xsi_shell'
24557
lt_shell_append='$lt_shell_append'
24559
# See if we are running on zsh, and set the options which allow our
24560
# commands through without removal of \ escapes INIT.
24561
if test -n "\${ZSH_VERSION+set}" ; then
24562
setopt NO_GLOB_SUBST
24568
TIMESTAMP='$TIMESTAMP'
24585
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24587
# Handling of arguments.
24588
for ac_config_target in $ac_config_targets
24590
case $ac_config_target in
24591
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24592
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24593
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
24594
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24595
"libgimpbase/gimpversion.h") CONFIG_COMMANDS="$CONFIG_COMMANDS libgimpbase/gimpversion.h" ;;
24596
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
24597
"tools/pdbgen/Makefile") CONFIG_FILES="$CONFIG_FILES tools/pdbgen/Makefile" ;;
24598
"libgimp/Makefile") CONFIG_FILES="$CONFIG_FILES libgimp/Makefile" ;;
24599
"libgimpbase/Makefile") CONFIG_FILES="$CONFIG_FILES libgimpbase/Makefile" ;;
24600
"libgimpconfig/Makefile") CONFIG_FILES="$CONFIG_FILES libgimpconfig/Makefile" ;;
24601
"libgimpcolor/Makefile") CONFIG_FILES="$CONFIG_FILES libgimpcolor/Makefile" ;;
24602
"libgimpmath/Makefile") CONFIG_FILES="$CONFIG_FILES libgimpmath/Makefile" ;;
24603
"libgimpmodule/Makefile") CONFIG_FILES="$CONFIG_FILES libgimpmodule/Makefile" ;;
24604
"libgimpthumb/Makefile") CONFIG_FILES="$CONFIG_FILES libgimpthumb/Makefile" ;;
24605
"libgimpwidgets/Makefile") CONFIG_FILES="$CONFIG_FILES libgimpwidgets/Makefile" ;;
24606
"app/Makefile") CONFIG_FILES="$CONFIG_FILES app/Makefile" ;;
24607
"app/actions/Makefile") CONFIG_FILES="$CONFIG_FILES app/actions/Makefile" ;;
24608
"app/base/Makefile") CONFIG_FILES="$CONFIG_FILES app/base/Makefile" ;;
24609
"app/config/Makefile") CONFIG_FILES="$CONFIG_FILES app/config/Makefile" ;;
24610
"app/core/Makefile") CONFIG_FILES="$CONFIG_FILES app/core/Makefile" ;;
24611
"app/gegl/Makefile") CONFIG_FILES="$CONFIG_FILES app/gegl/Makefile" ;;
24612
"app/dialogs/Makefile") CONFIG_FILES="$CONFIG_FILES app/dialogs/Makefile" ;;
24613
"app/display/Makefile") CONFIG_FILES="$CONFIG_FILES app/display/Makefile" ;;
24614
"app/file/Makefile") CONFIG_FILES="$CONFIG_FILES app/file/Makefile" ;;
24615
"app/gui/Makefile") CONFIG_FILES="$CONFIG_FILES app/gui/Makefile" ;;
24616
"app/menus/Makefile") CONFIG_FILES="$CONFIG_FILES app/menus/Makefile" ;;
24617
"app/paint/Makefile") CONFIG_FILES="$CONFIG_FILES app/paint/Makefile" ;;
24618
"app/paint-funcs/Makefile") CONFIG_FILES="$CONFIG_FILES app/paint-funcs/Makefile" ;;
24619
"app/composite/Makefile") CONFIG_FILES="$CONFIG_FILES app/composite/Makefile" ;;
24620
"app/pdb/Makefile") CONFIG_FILES="$CONFIG_FILES app/pdb/Makefile" ;;
24621
"app/plug-in/Makefile") CONFIG_FILES="$CONFIG_FILES app/plug-in/Makefile" ;;
24622
"app/text/Makefile") CONFIG_FILES="$CONFIG_FILES app/text/Makefile" ;;
24623
"app/tools/Makefile") CONFIG_FILES="$CONFIG_FILES app/tools/Makefile" ;;
24624
"app/vectors/Makefile") CONFIG_FILES="$CONFIG_FILES app/vectors/Makefile" ;;
24625
"app/widgets/Makefile") CONFIG_FILES="$CONFIG_FILES app/widgets/Makefile" ;;
24626
"app/xcf/Makefile") CONFIG_FILES="$CONFIG_FILES app/xcf/Makefile" ;;
24627
"app/tests/Makefile") CONFIG_FILES="$CONFIG_FILES app/tests/Makefile" ;;
24628
"app/tests/files/Makefile") CONFIG_FILES="$CONFIG_FILES app/tests/files/Makefile" ;;
24629
"app/tests/gimpdir-empty/Makefile") CONFIG_FILES="$CONFIG_FILES app/tests/gimpdir-empty/Makefile" ;;
24630
"app/tests/gimpdir-empty/brushes/Makefile") CONFIG_FILES="$CONFIG_FILES app/tests/gimpdir-empty/brushes/Makefile" ;;
24631
"app/tests/gimpdir-empty/gradients/Makefile") CONFIG_FILES="$CONFIG_FILES app/tests/gimpdir-empty/gradients/Makefile" ;;
24632
"app/tests/gimpdir-empty/patterns/Makefile") CONFIG_FILES="$CONFIG_FILES app/tests/gimpdir-empty/patterns/Makefile" ;;
24633
"app/tests/gimpdir/Makefile") CONFIG_FILES="$CONFIG_FILES app/tests/gimpdir/Makefile" ;;
24634
"app/tests/gimpdir/brushes/Makefile") CONFIG_FILES="$CONFIG_FILES app/tests/gimpdir/brushes/Makefile" ;;
24635
"app/tests/gimpdir/gradients/Makefile") CONFIG_FILES="$CONFIG_FILES app/tests/gimpdir/gradients/Makefile" ;;
24636
"app/tests/gimpdir/patterns/Makefile") CONFIG_FILES="$CONFIG_FILES app/tests/gimpdir/patterns/Makefile" ;;
24637
"build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
24638
"build/windows/Makefile") CONFIG_FILES="$CONFIG_FILES build/windows/Makefile" ;;
24639
"build/windows/gimp.rc") CONFIG_FILES="$CONFIG_FILES build/windows/gimp.rc" ;;
24640
"build/windows/gimp-plug-ins.rc") CONFIG_FILES="$CONFIG_FILES build/windows/gimp-plug-ins.rc" ;;
24641
"plug-ins/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/Makefile" ;;
24642
"plug-ins/color-rotate/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/color-rotate/Makefile" ;;
24643
"plug-ins/color-rotate/images/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/color-rotate/images/Makefile" ;;
24644
"plug-ins/file-bmp/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/file-bmp/Makefile" ;;
24645
"plug-ins/file-compressor/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/file-compressor/Makefile" ;;
24646
"plug-ins/file-faxg3/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/file-faxg3/Makefile" ;;
24647
"plug-ins/file-fits/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/file-fits/Makefile" ;;
24648
"plug-ins/file-fli/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/file-fli/Makefile" ;;
24649
"plug-ins/file-ico/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/file-ico/Makefile" ;;
24650
"plug-ins/file-jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/file-jpeg/Makefile" ;;
24651
"plug-ins/file-psd/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/file-psd/Makefile" ;;
24652
"plug-ins/file-sgi/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/file-sgi/Makefile" ;;
24653
"plug-ins/file-uri/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/file-uri/Makefile" ;;
24654
"plug-ins/file-xjt/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/file-xjt/Makefile" ;;
24655
"plug-ins/flame/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/flame/Makefile" ;;
24656
"plug-ins/fractal-explorer/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/fractal-explorer/Makefile" ;;
24657
"plug-ins/fractal-explorer/examples/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/fractal-explorer/examples/Makefile" ;;
24658
"plug-ins/gfig/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/gfig/Makefile" ;;
24659
"plug-ins/gfig/gfig-examples/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/gfig/gfig-examples/Makefile" ;;
24660
"plug-ins/gfig/images/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/gfig/images/Makefile" ;;
24661
"plug-ins/ui/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/ui/Makefile" ;;
24662
"plug-ins/gimpressionist/Brushes/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/gimpressionist/Brushes/Makefile" ;;
24663
"plug-ins/gimpressionist/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/gimpressionist/Makefile" ;;
24664
"plug-ins/gimpressionist/Paper/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/gimpressionist/Paper/Makefile" ;;
24665
"plug-ins/gimpressionist/Presets/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/gimpressionist/Presets/Makefile" ;;
24666
"plug-ins/gradient-flare/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/gradient-flare/Makefile" ;;
24667
"plug-ins/gradient-flare/flares/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/gradient-flare/flares/Makefile" ;;
24668
"plug-ins/help-browser/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/help-browser/Makefile" ;;
24669
"plug-ins/help/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/help/Makefile" ;;
24670
"plug-ins/ifs-compose/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/ifs-compose/Makefile" ;;
24671
"plug-ins/imagemap/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/imagemap/Makefile" ;;
24672
"plug-ins/imagemap/images/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/imagemap/images/Makefile" ;;
24673
"plug-ins/lighting/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/lighting/Makefile" ;;
24674
"plug-ins/lighting/images/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/lighting/images/Makefile" ;;
24675
"plug-ins/map-object/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/map-object/Makefile" ;;
24676
"plug-ins/maze/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/maze/Makefile" ;;
24677
"plug-ins/metadata/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/metadata/Makefile" ;;
24678
"plug-ins/pagecurl/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/pagecurl/Makefile" ;;
24679
"plug-ins/print/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/print/Makefile" ;;
24680
"plug-ins/pygimp/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/pygimp/Makefile" ;;
24681
"plug-ins/pygimp/plug-ins/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/pygimp/plug-ins/Makefile" ;;
24682
"plug-ins/script-fu/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/script-fu/Makefile" ;;
24683
"plug-ins/script-fu/ftx/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/script-fu/ftx/Makefile" ;;
24684
"plug-ins/script-fu/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/script-fu/scripts/Makefile" ;;
24685
"plug-ins/script-fu/scripts/images/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/script-fu/scripts/images/Makefile" ;;
24686
"plug-ins/script-fu/tinyscheme/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/script-fu/tinyscheme/Makefile" ;;
24687
"plug-ins/selection-to-path/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/selection-to-path/Makefile" ;;
24688
"plug-ins/twain/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/twain/Makefile" ;;
24689
"plug-ins/win-snap/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/win-snap/Makefile" ;;
24690
"plug-ins/common/Makefile") CONFIG_FILES="$CONFIG_FILES plug-ins/common/Makefile" ;;
24691
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
24692
"devel-docs/Makefile") CONFIG_FILES="$CONFIG_FILES devel-docs/Makefile" ;;
24693
"devel-docs/app/Makefile") CONFIG_FILES="$CONFIG_FILES devel-docs/app/Makefile" ;;
24694
"devel-docs/app/version") CONFIG_FILES="$CONFIG_FILES devel-docs/app/version" ;;
24695
"devel-docs/libgimp/Makefile") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimp/Makefile" ;;
24696
"devel-docs/libgimp/version") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimp/version" ;;
24697
"devel-docs/libgimpbase/Makefile") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpbase/Makefile" ;;
24698
"devel-docs/libgimpbase/version") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpbase/version" ;;
24699
"devel-docs/libgimpconfig/Makefile") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpconfig/Makefile" ;;
24700
"devel-docs/libgimpconfig/version") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpconfig/version" ;;
24701
"devel-docs/libgimpcolor/Makefile") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpcolor/Makefile" ;;
24702
"devel-docs/libgimpcolor/version") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpcolor/version" ;;
24703
"devel-docs/libgimpmath/Makefile") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpmath/Makefile" ;;
24704
"devel-docs/libgimpmath/version") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpmath/version" ;;
24705
"devel-docs/libgimpmodule/Makefile") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpmodule/Makefile" ;;
24706
"devel-docs/libgimpmodule/version") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpmodule/version" ;;
24707
"devel-docs/libgimpthumb/Makefile") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpthumb/Makefile" ;;
24708
"devel-docs/libgimpthumb/version") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpthumb/version" ;;
24709
"devel-docs/libgimpwidgets/Makefile") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpwidgets/Makefile" ;;
24710
"devel-docs/libgimpwidgets/version") CONFIG_FILES="$CONFIG_FILES devel-docs/libgimpwidgets/version" ;;
24711
"devel-docs/tools/Makefile") CONFIG_FILES="$CONFIG_FILES devel-docs/tools/Makefile" ;;
24712
"docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
24713
"menus/Makefile") CONFIG_FILES="$CONFIG_FILES menus/Makefile" ;;
24714
"cursors/Makefile") CONFIG_FILES="$CONFIG_FILES cursors/Makefile" ;;
24715
"themes/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Makefile" ;;
24716
"themes/Default/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Default/Makefile" ;;
24717
"themes/Default/images/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Default/images/Makefile" ;;
24718
"themes/Default/images/preferences/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Default/images/preferences/Makefile" ;;
24719
"themes/Small/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Small/Makefile" ;;
24720
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
24721
"data/brushes/Makefile") CONFIG_FILES="$CONFIG_FILES data/brushes/Makefile" ;;
24722
"data/brushes/Basic/Makefile") CONFIG_FILES="$CONFIG_FILES data/brushes/Basic/Makefile" ;;
24723
"data/brushes/gimp-obsolete-files/Makefile") CONFIG_FILES="$CONFIG_FILES data/brushes/gimp-obsolete-files/Makefile" ;;
24724
"data/brushes/Media/Makefile") CONFIG_FILES="$CONFIG_FILES data/brushes/Media/Makefile" ;;
24725
"data/brushes/Legacy/Makefile") CONFIG_FILES="$CONFIG_FILES data/brushes/Legacy/Makefile" ;;
24726
"data/brushes/Sketch/Makefile") CONFIG_FILES="$CONFIG_FILES data/brushes/Sketch/Makefile" ;;
24727
"data/brushes/Splatters/Makefile") CONFIG_FILES="$CONFIG_FILES data/brushes/Splatters/Makefile" ;;
24728
"data/brushes/Texture/Makefile") CONFIG_FILES="$CONFIG_FILES data/brushes/Texture/Makefile" ;;
24729
"data/dynamics/Makefile") CONFIG_FILES="$CONFIG_FILES data/dynamics/Makefile" ;;
24730
"data/dynamics/Basic/Makefile") CONFIG_FILES="$CONFIG_FILES data/dynamics/Basic/Makefile" ;;
24731
"data/dynamics/FX/Makefile") CONFIG_FILES="$CONFIG_FILES data/dynamics/FX/Makefile" ;;
24732
"data/environ/Makefile") CONFIG_FILES="$CONFIG_FILES data/environ/Makefile" ;;
24733
"data/gradients/Makefile") CONFIG_FILES="$CONFIG_FILES data/gradients/Makefile" ;;
24734
"data/images/Makefile") CONFIG_FILES="$CONFIG_FILES data/images/Makefile" ;;
24735
"data/interpreters/Makefile") CONFIG_FILES="$CONFIG_FILES data/interpreters/Makefile" ;;
24736
"data/palettes/Makefile") CONFIG_FILES="$CONFIG_FILES data/palettes/Makefile" ;;
24737
"data/patterns/Makefile") CONFIG_FILES="$CONFIG_FILES data/patterns/Makefile" ;;
24738
"data/tags/Makefile") CONFIG_FILES="$CONFIG_FILES data/tags/Makefile" ;;
24739
"data/tips/Makefile") CONFIG_FILES="$CONFIG_FILES data/tips/Makefile" ;;
24740
"data/tool-presets/Makefile") CONFIG_FILES="$CONFIG_FILES data/tool-presets/Makefile" ;;
24741
"data/tool-presets/FX/Makefile") CONFIG_FILES="$CONFIG_FILES data/tool-presets/FX/Makefile" ;;
24742
"data/tool-presets/Paint/Makefile") CONFIG_FILES="$CONFIG_FILES data/tool-presets/Paint/Makefile" ;;
24743
"data/tool-presets/Selection/Makefile") CONFIG_FILES="$CONFIG_FILES data/tool-presets/Selection/Makefile" ;;
24744
"data/tool-presets/Sketch/Makefile") CONFIG_FILES="$CONFIG_FILES data/tool-presets/Sketch/Makefile" ;;
24745
"desktop/Makefile") CONFIG_FILES="$CONFIG_FILES desktop/Makefile" ;;
24746
"desktop/gimp.desktop.in") CONFIG_FILES="$CONFIG_FILES desktop/gimp.desktop.in" ;;
24747
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
24748
"m4macros/Makefile") CONFIG_FILES="$CONFIG_FILES m4macros/Makefile" ;;
24749
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
24750
"po-libgimp/Makefile.in") CONFIG_FILES="$CONFIG_FILES po-libgimp/Makefile.in" ;;
24751
"po-plug-ins/Makefile.in") CONFIG_FILES="$CONFIG_FILES po-plug-ins/Makefile.in" ;;
24752
"po-python/Makefile.in") CONFIG_FILES="$CONFIG_FILES po-python/Makefile.in" ;;
24753
"po-script-fu/Makefile.in") CONFIG_FILES="$CONFIG_FILES po-script-fu/Makefile.in" ;;
24754
"po-tips/Makefile.in") CONFIG_FILES="$CONFIG_FILES po-tips/Makefile.in" ;;
24755
"gimp-zip") CONFIG_FILES="$CONFIG_FILES gimp-zip" ;;
24756
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24757
"docs/gimp-2.8.1") CONFIG_FILES="$CONFIG_FILES docs/gimp-2.8.1:docs/gimp.1.in" ;;
24758
"docs/gimprc-2.8.5") CONFIG_FILES="$CONFIG_FILES docs/gimprc-2.8.5:docs/gimprc.5.in" ;;
24759
"docs/gimptool-2.0.1") CONFIG_FILES="$CONFIG_FILES docs/gimptool-2.0.1:docs/gimptool.1.in" ;;
24760
"gimp-2.0.pc") CONFIG_FILES="$CONFIG_FILES gimp-2.0.pc:gimp.pc.in" ;;
24761
"gimpthumb-2.0.pc") CONFIG_FILES="$CONFIG_FILES gimpthumb-2.0.pc:gimpthumb.pc.in" ;;
24762
"gimpui-2.0.pc") CONFIG_FILES="$CONFIG_FILES gimpui-2.0.pc:gimpui.pc.in" ;;
24763
"sed-po-makefiles") CONFIG_COMMANDS="$CONFIG_COMMANDS sed-po-makefiles" ;;
24764
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
24766
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24771
# If the user did not use the arguments to specify the items to instantiate,
24772
# then the envvar interface is used. Set only those that are not.
24773
# We use the long form for the default assignment because of an extremely
24774
# bizarre bug on SunOS 4.1.3.
24775
if $ac_need_defaults; then
24776
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24777
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24778
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24781
# Have a temporary directory for convenience. Make it in the build tree
24782
# simply because there is no reason against having it here, and in addition,
24783
# creating and moving files from /tmp can sometimes cause problems.
24784
# Hook for its removal unless debugging.
24785
# Note that there is a small window in which the directory will not be cleaned:
24786
# after its creation but before its name has been assigned to `$tmp'.
24790
trap 'exit_status=$?
24791
: "${ac_tmp:=$tmp}"
24792
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24794
trap 'as_fn_exit 1' 1 2 13 15
24796
# Create a (secure) tmp directory for tmp files.
24799
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24803
tmp=./conf$$-$RANDOM
24804
(umask 077 && mkdir "$tmp")
24805
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
24808
# Set up the scripts for CONFIG_FILES section.
24809
# No need to generate them if there are no CONFIG_FILES.
24810
# This happens for instance with `./config.status config.h'.
24811
if test -n "$CONFIG_FILES"; then
24814
ac_cr=`echo X | tr X '\015'`
24815
# On cygwin, bash can eat \r inside `` if the user requested igncr.
24816
# But we know of no other shell where ac_cr would be empty at this
24817
# point, so we can use a bashism as a fallback.
24818
if test "x$ac_cr" = x; then
24819
eval ac_cr=\$\'\\r\'
24821
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
24822
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
24825
ac_cs_awk_cr=$ac_cr
24828
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
24833
echo "cat >conf$$subs.awk <<_ACEOF" &&
24834
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
24836
} >conf$$subs.sh ||
24837
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24838
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
24840
for ac_last_try in false false false false false :; do
24841
. ./conf$$subs.sh ||
24842
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24844
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
24845
if test $ac_delim_n = $ac_delim_num; then
24847
elif $ac_last_try; then
24848
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
24850
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24853
rm -f conf$$subs.sh
24855
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24856
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
24860
s/^/S["/; s/!.*/"]=/
24870
s/\(.\{148\}\)..*/\1/
24872
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
24877
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24884
s/\(.\{148\}\)..*/\1/
24886
s/["\\]/\\&/g; s/^/"/; s/$/"/
24890
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24895
' <conf$$subs.awk | sed '
24900
' >>$CONFIG_STATUS || ac_write_fail=1
24901
rm -f conf$$subs.awk
24902
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24904
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
24905
for (key in S) S_is_set[key] = 1
24911
nfields = split(line, field, "@")
24913
len = length(field[1])
24914
for (i = 2; i < nfields; i++) {
24916
keylen = length(key)
24917
if (S_is_set[key]) {
24919
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
24920
len += length(value) + length(field[++i])
24931
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24932
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
24933
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
24936
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
24937
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
24940
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
24941
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
24942
# trailing colons and then remove the whole line if VPATH becomes empty
24943
# (actually we leave an empty line to preserve line numbers).
24944
if test "x$srcdir" = x.; then
24945
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
24963
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24964
fi # test -n "$CONFIG_FILES"
24966
# Set up the scripts for CONFIG_HEADERS section.
24967
# No need to generate them if there are no CONFIG_HEADERS.
24968
# This happens for instance with `./config.status Makefile'.
24969
if test -n "$CONFIG_HEADERS"; then
24970
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24974
# Transform confdefs.h into an awk script `defines.awk', embedded as
24975
# here-document in config.status, that substitutes the proper values into
24976
# config.h.in to produce config.h.
24978
# Create a delimiter string that does not exist in confdefs.h, to ease
24979
# handling of long lines.
24981
for ac_last_try in false false :; do
24982
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
24983
if test -z "$ac_tt"; then
24985
elif $ac_last_try; then
24986
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
24988
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24992
# For the awk script, D is an array of macro values keyed by name,
24993
# likewise P contains macro parameters if any. Preserve backslash
24994
# newline sequences.
24996
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24998
s/.\{148\}/&'"$ac_delim"'/g
25001
s/^[ ]*#[ ]*define[ ][ ]*/ /
25008
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
25010
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
25014
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
25015
D["\1"]=" \3\\\\\\n"\\/p
25017
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
25022
s/.\{148\}/&'"$ac_delim"'/g
25027
s/["\\]/\\&/g; s/^/"/; s/$/"/p
25030
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
25032
' <confdefs.h | sed '
25033
s/'"$ac_delim"'/"\\\
25034
"/g' >>$CONFIG_STATUS || ac_write_fail=1
25036
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25037
for (key in D) D_is_set[key] = 1
25040
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
25042
split(line, arg, " ")
25043
if (arg[1] == "#") {
25047
defundef = substr(arg[1], 2)
25050
split(mac1, mac2, "(") #)
25052
prefix = substr(line, 1, index(line, defundef) - 1)
25053
if (D_is_set[macro]) {
25054
# Preserve the white space surrounding the "#".
25055
print prefix "define", macro P[macro] D[macro]
25058
# Replace #undef with comments. This is necessary, for example,
25059
# in the case of _POSIX_SOURCE, which is predefined and required
25060
# on some systems where configure will not decide to define it.
25061
if (defundef == "undef") {
25062
print "/*", prefix defundef, macro, "*/"
25070
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25071
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
25072
fi # test -n "$CONFIG_HEADERS"
25075
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
25080
:[FHLC]) ac_mode=$ac_tag; continue;;
25082
case $ac_mode$ac_tag in
25084
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
25085
:[FH]-) ac_tag=-:-;;
25086
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25103
-) ac_f="$ac_tmp/stdin";;
25104
*) # Look for the file first in the build tree, then in the source tree
25105
# (if the path is not absolute). The absolute path cannot be DOS-style,
25106
# because $ac_f cannot contain `:'.
25110
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25112
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
25114
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
25115
as_fn_append ac_file_inputs " '$ac_f'"
25118
# Let's still pretend it is `configure' which instantiates (i.e., don't
25119
# use $as_me), people would be surprised to read:
25120
# /* config.h. Generated by config.status. */
25121
configure_input='Generated from '`
25122
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
25124
if test x"$ac_file" != x-; then
25125
configure_input="$ac_file. $configure_input"
25126
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
25127
$as_echo "$as_me: creating $ac_file" >&6;}
25129
# Neutralize special characters interpreted by sed in replacement strings.
25130
case $configure_input in #(
25131
*\&* | *\|* | *\\* )
25132
ac_sed_conf_input=`$as_echo "$configure_input" |
25133
sed 's/[\\\\&|]/\\\\&/g'`;; #(
25134
*) ac_sed_conf_input=$configure_input;;
25138
*:-:* | *:-) cat >"$ac_tmp/stdin" \
25139
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
25144
ac_dir=`$as_dirname -- "$ac_file" ||
25145
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25146
X"$ac_file" : 'X\(//\)[^/]' \| \
25147
X"$ac_file" : 'X\(//\)$' \| \
25148
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25149
$as_echo X"$ac_file" |
25150
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25154
/^X\(\/\/\)[^/].*/{
25167
as_dir="$ac_dir"; as_fn_mkdir_p
25171
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25173
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
25174
# A ".." for each directory in $ac_dir_suffix.
25175
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
25176
case $ac_top_builddir_sub in
25177
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25178
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25181
ac_abs_top_builddir=$ac_pwd
25182
ac_abs_builddir=$ac_pwd$ac_dir_suffix
25183
# for backward compatibility:
25184
ac_top_builddir=$ac_top_build_prefix
25187
.) # We are building in place.
25189
ac_top_srcdir=$ac_top_builddir_sub
25190
ac_abs_top_srcdir=$ac_pwd ;;
25191
[\\/]* | ?:[\\/]* ) # Absolute name.
25192
ac_srcdir=$srcdir$ac_dir_suffix;
25193
ac_top_srcdir=$srcdir
25194
ac_abs_top_srcdir=$srcdir ;;
25195
*) # Relative name.
25196
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25197
ac_top_srcdir=$ac_top_build_prefix$srcdir
25198
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25200
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25210
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25211
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25213
ac_MKDIR_P=$MKDIR_P
25215
[\\/$]* | ?:[\\/]* ) ;;
25216
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
25220
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25221
# If the template does not know about datarootdir, expand it.
25222
# FIXME: This hack should be removed a few years after 2.60.
25223
ac_datarootdir_hack=; ac_datarootdir_seen=
25234
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
25235
*datarootdir*) ac_datarootdir_seen=yes;;
25236
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25237
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25238
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25240
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25241
ac_datarootdir_hack='
25242
s&@datadir@&$datadir&g
25243
s&@docdir@&$docdir&g
25244
s&@infodir@&$infodir&g
25245
s&@localedir@&$localedir&g
25246
s&@mandir@&$mandir&g
25247
s&\\\${datarootdir}&$datarootdir&g' ;;
25251
# Neutralize VPATH when `$srcdir' = `.'.
25252
# Shell code in configure.ac might set extrasub.
25253
# FIXME: do we really want to maintain this feature?
25254
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25255
ac_sed_extra="$ac_vpsub
25258
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25260
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25261
s|@configure_input@|$ac_sed_conf_input|;t t
25262
s&@top_builddir@&$ac_top_builddir_sub&;t t
25263
s&@top_build_prefix@&$ac_top_build_prefix&;t t
25264
s&@srcdir@&$ac_srcdir&;t t
25265
s&@abs_srcdir@&$ac_abs_srcdir&;t t
25266
s&@top_srcdir@&$ac_top_srcdir&;t t
25267
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25268
s&@builddir@&$ac_builddir&;t t
25269
s&@abs_builddir@&$ac_abs_builddir&;t t
25270
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25271
s&@INSTALL@&$ac_INSTALL&;t t
25272
s&@MKDIR_P@&$ac_MKDIR_P&;t t
25273
$ac_datarootdir_hack
25275
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
25276
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
25278
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25279
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
25280
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
25281
"$ac_tmp/out"`; test -z "$ac_out"; } &&
25282
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25283
which seems to be undefined. Please make sure it is defined" >&5
25284
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25285
which seems to be undefined. Please make sure it is defined" >&2;}
25287
rm -f "$ac_tmp/stdin"
25289
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
25290
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
25292
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
25298
if test x"$ac_file" != x-; then
25300
$as_echo "/* $configure_input */" \
25301
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
25302
} >"$ac_tmp/config.h" \
25303
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
25304
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
25305
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
25306
$as_echo "$as_me: $ac_file is unchanged" >&6;}
25309
mv "$ac_tmp/config.h" "$ac_file" \
25310
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
25313
$as_echo "/* $configure_input */" \
25314
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
25315
|| as_fn_error $? "could not create -" "$LINENO" 5
25317
# Compute "$ac_file"'s index in $config_headers.
25320
for _am_header in $config_headers :; do
25321
case $_am_header in
25322
$_am_arg | $_am_arg:* )
25325
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
25328
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
25329
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25330
X"$_am_arg" : 'X\(//\)[^/]' \| \
25331
X"$_am_arg" : 'X\(//\)$' \| \
25332
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
25333
$as_echo X"$_am_arg" |
25334
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25338
/^X\(\/\/\)[^/].*/{
25350
s/.*/./; q'`/stamp-h$_am_stamp_count
25353
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
25354
$as_echo "$as_me: executing $ac_file commands" >&6;}
25359
case $ac_file$ac_mode in
25360
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
25361
# Autoconf 2.62 quotes --file arguments for eval, but not when files
25362
# are listed without --file. Let's play safe and only enable the eval
25363
# if we detect the quoting.
25364
case $CONFIG_FILES in
25365
*\'*) eval set x "$CONFIG_FILES" ;;
25366
*) set x $CONFIG_FILES ;;
25371
# Strip MF so we end up with the name of the file.
25372
mf=`echo "$mf" | sed -e 's/:.*$//'`
25373
# Check whether this is an Automake generated Makefile or not.
25374
# We used to match only the files named `Makefile.in', but
25375
# some people rename them; so instead we look at the file content.
25376
# Grep'ing the first line is not enough: some people post-process
25377
# each Makefile.in and add a new line on top of each file to say so.
25378
# Grep'ing the whole file is not good either: AIX grep has a line
25379
# limit of 2048, but all sed's we know have understand at least 4000.
25380
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
25381
dirpart=`$as_dirname -- "$mf" ||
25382
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25383
X"$mf" : 'X\(//\)[^/]' \| \
25384
X"$mf" : 'X\(//\)$' \| \
25385
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25387
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25391
/^X\(\/\/\)[^/].*/{
25407
# Extract the definition of DEPDIR, am__include, and am__quote
25408
# from the Makefile without running `make'.
25409
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
25410
test -z "$DEPDIR" && continue
25411
am__include=`sed -n 's/^am__include = //p' < "$mf"`
25412
test -z "am__include" && continue
25413
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
25414
# When using ansi2knr, U may be empty or an underscore; expand it
25415
U=`sed -n 's/^U = //p' < "$mf"`
25416
# Find all dependency output files, they are included files with
25417
# $(DEPDIR) in their names. We invoke sed twice because it is the
25418
# simplest approach to changing $(DEPDIR) to its actual value in the
25420
for file in `sed -n "
25421
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25422
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25423
# Make sure the directory exists.
25424
test -f "$dirpart/$file" && continue
25425
fdir=`$as_dirname -- "$file" ||
25426
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25427
X"$file" : 'X\(//\)[^/]' \| \
25428
X"$file" : 'X\(//\)$' \| \
25429
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25430
$as_echo X"$file" |
25431
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25435
/^X\(\/\/\)[^/].*/{
25448
as_dir=$dirpart/$fdir; as_fn_mkdir_p
25449
# echo "creating $dirpart/$file"
25450
echo '# dummy' > "$dirpart/$file"
25457
# See if we are running on zsh, and set the options which allow our
25458
# commands through without removal of \ escapes.
25459
if test -n "${ZSH_VERSION+set}" ; then
25460
setopt NO_GLOB_SUBST
25463
cfgfile="${ofile}T"
25464
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
25467
cat <<_LT_EOF >> "$cfgfile"
25470
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
25471
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
25472
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25473
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
25475
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
25476
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
25478
# Written by Gordon Matzigkeit, 1996
25480
# This file is part of GNU Libtool.
25482
# GNU Libtool is free software; you can redistribute it and/or
25483
# modify it under the terms of the GNU General Public License as
25484
# published by the Free Software Foundation; either version 2 of
25485
# the License, or (at your option) any later version.
25487
# As a special exception to the GNU General Public License,
25488
# if you distribute this file as part of a program or library that
25489
# is built using GNU Libtool, you may include this file under the
25490
# same distribution terms that you use for the rest of that program.
25492
# GNU Libtool is distributed in the hope that it will be useful,
25493
# but WITHOUT ANY WARRANTY; without even the implied warranty of
25494
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25495
# GNU General Public License for more details.
25497
# You should have received a copy of the GNU General Public License
25498
# along with GNU Libtool; see the file COPYING. If not, a copy
25499
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
25500
# obtained by writing to the Free Software Foundation, Inc.,
25501
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25504
# The names of the tagged configurations supported by this script.
25507
# ### BEGIN LIBTOOL CONFIG
25509
# Which release of libtool.m4 was used?
25510
macro_version=$macro_version
25511
macro_revision=$macro_revision
25513
# Whether or not to build static libraries.
25514
build_old_libs=$enable_static
25516
# Assembler program.
25519
# DLL creation program.
25520
DLLTOOL=$lt_DLLTOOL
25522
# Object dumper program.
25523
OBJDUMP=$lt_OBJDUMP
25525
# Whether or not to build shared libraries.
25526
build_libtool_libs=$enable_shared
25528
# What type of objects to build.
25531
# Whether or not to optimize for fast installation.
25532
fast_install=$enable_fast_install
25534
# Shell to use when invoking shell scripts.
25537
# An echo program that protects backslashes.
25540
# The PATH separator for the build system.
25541
PATH_SEPARATOR=$lt_PATH_SEPARATOR
25544
host_alias=$host_alias
25548
# The build system.
25549
build_alias=$build_alias
25553
# A sed program that does not truncate output.
25556
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
25557
Xsed="\$SED -e 1s/^X//"
25559
# A grep program that handles long lines.
25565
# A literal string matcher.
25568
# A BSD- or MS-compatible name lister.
25571
# Whether we need soft or hard links.
25574
# What is the maximum length of a command?
25575
max_cmd_len=$max_cmd_len
25577
# Object file suffix (normally "o").
25580
# Executable file suffix (normally "").
25583
# whether the shell understands "unset".
25586
# turn spaces into newlines.
25589
# turn newlines into spaces.
25592
# convert \$build file names to \$host format.
25593
to_host_file_cmd=$lt_cv_to_host_file_cmd
25595
# convert \$build files to toolchain format.
25596
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
25598
# Method to check whether dependent libraries are shared objects.
25599
deplibs_check_method=$lt_deplibs_check_method
25601
# Command to use when deplibs_check_method = "file_magic".
25602
file_magic_cmd=$lt_file_magic_cmd
25604
# How to find potential files when deplibs_check_method = "file_magic".
25605
file_magic_glob=$lt_file_magic_glob
25607
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
25608
want_nocaseglob=$lt_want_nocaseglob
25610
# Command to associate shared and link libraries.
25611
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
25616
# Flags to create an archive.
25617
AR_FLAGS=$lt_AR_FLAGS
25619
# How to feed a file listing to the archiver.
25620
archiver_list_spec=$lt_archiver_list_spec
25622
# A symbol stripping program.
25625
# Commands used to install an old-style archive.
25627
old_postinstall_cmds=$lt_old_postinstall_cmds
25628
old_postuninstall_cmds=$lt_old_postuninstall_cmds
25630
# Whether to use a lock for old archive extraction.
25631
lock_old_archive_extraction=$lock_old_archive_extraction
25636
# LTCC compiler flags.
25637
LTCFLAGS=$lt_CFLAGS
25639
# Take the output of nm and produce a listing of raw symbols and C names.
25640
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25642
# Transform the output of nm in a proper C declaration.
25643
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25645
# Transform the output of nm in a C name address pair.
25646
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25648
# Transform the output of nm in a C name address pair when lib prefix is needed.
25649
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
25651
# Specify filename containing input files for \$NM.
25652
nm_file_list_spec=$lt_nm_file_list_spec
25654
# The root where to search for dependent libraries,and in which our libraries should be installed.
25655
lt_sysroot=$lt_sysroot
25657
# The name of the directory that contains temporary libtool files.
25660
# Used to examine libraries when file_magic_cmd begins with "file".
25661
MAGIC_CMD=$MAGIC_CMD
25663
# Must we lock files when doing compilation?
25664
need_locks=$lt_need_locks
25667
MANIFEST_TOOL=$lt_MANIFEST_TOOL
25669
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
25670
DSYMUTIL=$lt_DSYMUTIL
25672
# Tool to change global to local symbols on Mac OS X.
25675
# Tool to manipulate fat objects and archives on Mac OS X.
25678
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
25681
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
25682
OTOOL64=$lt_OTOOL64
25684
# Old archive suffix (normally "a").
25687
# Shared library suffix (normally ".so").
25688
shrext_cmds=$lt_shrext_cmds
25690
# The commands to extract the exported symbol list from a shared archive.
25691
extract_expsyms_cmds=$lt_extract_expsyms_cmds
25693
# Variables whose values should be saved in libtool wrapper scripts and
25694
# restored at link time.
25695
variables_saved_for_relink=$lt_variables_saved_for_relink
25697
# Do we need the "lib" prefix for modules?
25698
need_lib_prefix=$need_lib_prefix
25700
# Do we need a version for libraries?
25701
need_version=$need_version
25703
# Library versioning type.
25704
version_type=$version_type
25706
# Shared library runtime path variable.
25707
runpath_var=$runpath_var
25709
# Shared library path variable.
25710
shlibpath_var=$shlibpath_var
25712
# Is shlibpath searched before the hard-coded library search path?
25713
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25715
# Format of library name prefix.
25716
libname_spec=$lt_libname_spec
25718
# List of archive names. First name is the real one, the rest are links.
25719
# The last name is the one that the linker finds with -lNAME
25720
library_names_spec=$lt_library_names_spec
25722
# The coded name of the library, if different from the real name.
25723
soname_spec=$lt_soname_spec
25725
# Permission mode override for installation of shared libraries.
25726
install_override_mode=$lt_install_override_mode
25728
# Command to use after installation of a shared archive.
25729
postinstall_cmds=$lt_postinstall_cmds
25731
# Command to use after uninstallation of a shared archive.
25732
postuninstall_cmds=$lt_postuninstall_cmds
25734
# Commands used to finish a libtool library installation in a directory.
25735
finish_cmds=$lt_finish_cmds
25737
# As "finish_cmds", except a single script fragment to be evaled but
25739
finish_eval=$lt_finish_eval
25741
# Whether we should hardcode library paths into libraries.
25742
hardcode_into_libs=$hardcode_into_libs
25744
# Compile-time system search path for libraries.
25745
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25747
# Run-time system search path for libraries.
25748
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25750
# Whether dlopen is supported.
25751
dlopen_support=$enable_dlopen
25753
# Whether dlopen of programs is supported.
25754
dlopen_self=$enable_dlopen_self
25756
# Whether dlopen of statically linked programs is supported.
25757
dlopen_self_static=$enable_dlopen_self_static
25759
# Commands to strip libraries.
25760
old_striplib=$lt_old_striplib
25761
striplib=$lt_striplib
25764
# The linker used to build libraries.
25767
# How to create reloadable object files.
25768
reload_flag=$lt_reload_flag
25769
reload_cmds=$lt_reload_cmds
25771
# Commands used to build an old-style archive.
25772
old_archive_cmds=$lt_old_archive_cmds
25774
# A language specific compiler.
25777
# Is the compiler the GNU compiler?
25780
# Compiler flag to turn off builtin functions.
25781
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
25783
# Additional compiler flags for building library objects.
25784
pic_flag=$lt_lt_prog_compiler_pic
25786
# How to pass a linker flag through the compiler.
25787
wl=$lt_lt_prog_compiler_wl
25789
# Compiler flag to prevent dynamic linking.
25790
link_static_flag=$lt_lt_prog_compiler_static
25792
# Does compiler simultaneously support -c and -o options?
25793
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
25795
# Whether or not to add -lc for building shared libraries.
25796
build_libtool_need_lc=$archive_cmds_need_lc
25798
# Whether or not to disallow shared libs when runtime libs are static.
25799
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
25801
# Compiler flag to allow reflexive dlopens.
25802
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
25804
# Compiler flag to generate shared objects directly from archives.
25805
whole_archive_flag_spec=$lt_whole_archive_flag_spec
25807
# Whether the compiler copes with passing no objects directly.
25808
compiler_needs_object=$lt_compiler_needs_object
25810
# Create an old-style archive from a shared archive.
25811
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
25813
# Create a temporary old-style archive to link instead of a shared archive.
25814
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
25816
# Commands used to build a shared archive.
25817
archive_cmds=$lt_archive_cmds
25818
archive_expsym_cmds=$lt_archive_expsym_cmds
25820
# Commands used to build a loadable module if different from building
25821
# a shared archive.
25822
module_cmds=$lt_module_cmds
25823
module_expsym_cmds=$lt_module_expsym_cmds
25825
# Whether we are building with GNU ld or not.
25826
with_gnu_ld=$lt_with_gnu_ld
25828
# Flag that allows shared libraries with undefined symbols to be built.
25829
allow_undefined_flag=$lt_allow_undefined_flag
25831
# Flag that enforces no undefined symbols.
25832
no_undefined_flag=$lt_no_undefined_flag
25834
# Flag to hardcode \$libdir into a binary during linking.
25835
# This must work even if \$libdir does not exist
25836
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
25838
# Whether we need a single "-rpath" flag with a separated argument.
25839
hardcode_libdir_separator=$lt_hardcode_libdir_separator
25841
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25842
# DIR into the resulting binary.
25843
hardcode_direct=$hardcode_direct
25845
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25846
# DIR into the resulting binary and the resulting library dependency is
25847
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25848
# library is relocated.
25849
hardcode_direct_absolute=$hardcode_direct_absolute
25851
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25852
# into the resulting binary.
25853
hardcode_minus_L=$hardcode_minus_L
25855
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25856
# into the resulting binary.
25857
hardcode_shlibpath_var=$hardcode_shlibpath_var
25859
# Set to "yes" if building a shared library automatically hardcodes DIR
25860
# into the library and all subsequent libraries and executables linked
25862
hardcode_automatic=$hardcode_automatic
25864
# Set to yes if linker adds runtime paths of dependent libraries
25865
# to runtime path list.
25866
inherit_rpath=$inherit_rpath
25868
# Whether libtool must link a program against all its dependency libraries.
25869
link_all_deplibs=$link_all_deplibs
25871
# Set to "yes" if exported symbols are required.
25872
always_export_symbols=$always_export_symbols
25874
# The commands to list exported symbols.
25875
export_symbols_cmds=$lt_export_symbols_cmds
25877
# Symbols that should not be listed in the preloaded symbols.
25878
exclude_expsyms=$lt_exclude_expsyms
25880
# Symbols that must always be exported.
25881
include_expsyms=$lt_include_expsyms
25883
# Commands necessary for linking programs (against libraries) with templates.
25884
prelink_cmds=$lt_prelink_cmds
25886
# Commands necessary for finishing linking programs.
25887
postlink_cmds=$lt_postlink_cmds
25889
# Specify filename containing input files.
25890
file_list_spec=$lt_file_list_spec
25892
# How to hardcode a shared library path into an executable.
25893
hardcode_action=$hardcode_action
25895
# ### END LIBTOOL CONFIG
25901
cat <<\_LT_EOF >> "$cfgfile"
25902
# AIX sometimes has problems with the GCC collect2 program. For some
25903
# reason, if we set the COLLECT_NAMES environment variable, the problems
25904
# vanish in a puff of smoke.
25905
if test "X${COLLECT_NAMES+set}" != Xset; then
25907
export COLLECT_NAMES
25914
ltmain="$ac_aux_dir/ltmain.sh"
25917
# We use sed instead of cat because bash on DJGPP gets confused if
25918
# if finds mixed CR/LF and LF-only lines. Since sed operates in
25919
# text mode, it properly converts lines to CR/LF. This bash problem
25920
# is reportedly fixed, but why not run on old versions too?
25921
sed '$q' "$ltmain" >> "$cfgfile" \
25922
|| (rm -f "$cfgfile"; exit 1)
25924
if test x"$xsi_shell" = xyes; then
25925
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
25929
\ */*) func_dirname_result="${1%/*}${2}" ;;\
25930
\ * ) func_dirname_result="${3}" ;;\
25932
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
25933
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25934
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25935
test 0 -eq $? || _lt_function_replace_fail=:
25938
sed -e '/^func_basename ()$/,/^} # func_basename /c\
25941
\ func_basename_result="${1##*/}"\
25942
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
25943
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25944
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25945
test 0 -eq $? || _lt_function_replace_fail=:
25948
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
25949
func_dirname_and_basename ()\
25952
\ */*) func_dirname_result="${1%/*}${2}" ;;\
25953
\ * ) func_dirname_result="${3}" ;;\
25955
\ func_basename_result="${1##*/}"\
25956
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
25957
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25958
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25959
test 0 -eq $? || _lt_function_replace_fail=:
25962
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
25965
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
25966
\ # positional parameters, so assign one to ordinary parameter first.\
25967
\ func_stripname_result=${3}\
25968
\ func_stripname_result=${func_stripname_result#"${1}"}\
25969
\ func_stripname_result=${func_stripname_result%"${2}"}\
25970
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
25971
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25972
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25973
test 0 -eq $? || _lt_function_replace_fail=:
25976
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
25977
func_split_long_opt ()\
25979
\ func_split_long_opt_name=${1%%=*}\
25980
\ func_split_long_opt_arg=${1#*=}\
25981
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
25982
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25983
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25984
test 0 -eq $? || _lt_function_replace_fail=:
25987
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
25988
func_split_short_opt ()\
25990
\ func_split_short_opt_arg=${1#??}\
25991
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
25992
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
25993
&& mv -f "$cfgfile.tmp" "$cfgfile" \
25994
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25995
test 0 -eq $? || _lt_function_replace_fail=:
25998
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
26002
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
26003
\ *) func_lo2o_result=${1} ;;\
26005
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
26006
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26007
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26008
test 0 -eq $? || _lt_function_replace_fail=:
26011
sed -e '/^func_xform ()$/,/^} # func_xform /c\
26014
func_xform_result=${1%.*}.lo\
26015
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
26016
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26017
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26018
test 0 -eq $? || _lt_function_replace_fail=:
26021
sed -e '/^func_arith ()$/,/^} # func_arith /c\
26024
func_arith_result=$(( $* ))\
26025
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
26026
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26027
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26028
test 0 -eq $? || _lt_function_replace_fail=:
26031
sed -e '/^func_len ()$/,/^} # func_len /c\
26034
func_len_result=${#1}\
26035
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
26036
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26037
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26038
test 0 -eq $? || _lt_function_replace_fail=:
26042
if test x"$lt_shell_append" = xyes; then
26043
sed -e '/^func_append ()$/,/^} # func_append /c\
26046
eval "${1}+=\\${2}"\
26047
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
26048
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26049
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26050
test 0 -eq $? || _lt_function_replace_fail=:
26053
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
26054
func_append_quoted ()\
26056
\ func_quote_for_eval "${2}"\
26057
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
26058
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
26059
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26060
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26061
test 0 -eq $? || _lt_function_replace_fail=:
26064
# Save a `func_append' function call where possible by direct use of '+='
26065
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
26066
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26067
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26068
test 0 -eq $? || _lt_function_replace_fail=:
26070
# Save a `func_append' function call even when '+=' is not available
26071
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
26072
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26073
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26074
test 0 -eq $? || _lt_function_replace_fail=:
26077
if test x"$_lt_function_replace_fail" = x":"; then
26078
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
26079
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
26083
mv -f "$cfgfile" "$ofile" ||
26084
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
26088
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
26089
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
26091
"libgimpbase/gimpversion.h":C)
26092
outfile=gimpversion.h-tmp
26093
cat > $outfile <<\_______EOF
26096
* This is a generated file. Please modify 'configure.ac'
26099
#if !defined (__GIMP_BASE_H_INSIDE__) && !defined (GIMP_BASE_COMPILATION)
26100
#error "Only <libgimpbase/gimpbase.h> can be included directly."
26103
#ifndef __GIMP_VERSION_H__
26104
#define __GIMP_VERSION_H__
26110
* SECTION: gimpversion
26111
* @title: gimpversion
26112
* @short_description: Macros and constants useful for determining
26113
* GIMP's version number and capabilities.
26115
* Macros and constants useful for determining GIMP's version number and
26121
cat >>$outfile <<_______EOF
26123
* GIMP_MAJOR_VERSION:
26125
* The major GIMP version number.
26127
#define GIMP_MAJOR_VERSION ($gimp_major_ver)
26130
* GIMP_MINOR_VERSION:
26132
* The minor GIMP version number.
26134
#define GIMP_MINOR_VERSION ($gimp_minor_ver)
26137
* GIMP_MICRO_VERSION:
26139
* The micro GIMP version number.
26141
#define GIMP_MICRO_VERSION ($gimp_micro_ver)
26146
* The GIMP version as a string.
26148
#define GIMP_VERSION "$gimp_ver"
26151
* GIMP_API_VERSION:
26155
#define GIMP_API_VERSION "$gimp_api_ver"
26159
cat >>$outfile <<\_______EOF
26160
#define GIMP_CHECK_VERSION(major, minor, micro) \
26161
(GIMP_MAJOR_VERSION > (major) || \
26162
(GIMP_MAJOR_VERSION == (major) && GIMP_MINOR_VERSION > (minor)) || \
26163
(GIMP_MAJOR_VERSION == (major) && GIMP_MINOR_VERSION == (minor) && \
26164
GIMP_MICRO_VERSION >= (micro)))
26169
#endif /* __GIMP_VERSION_H__ */
26172
if cmp -s $outfile libgimpbase/gimpversion.h; then
26173
{ $as_echo "$as_me:${as_lineno-$LINENO}: libgimpbase/gimpversion.h is unchanged" >&5
26174
$as_echo "$as_me: libgimpbase/gimpversion.h is unchanged" >&6;}
26177
mv $outfile libgimpbase/gimpversion.h
26180
"sed-po-makefiles":C) sed -e "/POTFILES =/r po-libgimp/POTFILES" po-libgimp/Makefile.in > po-libgimp/Makefile && touch po-libgimp/stamp-it
26181
sed -e "/POTFILES =/r po-python/POTFILES" po-python/Makefile.in > po-python/Makefile && touch po-python/stamp-it
26182
sed -e "/POTFILES =/r po-plug-ins/POTFILES" po-plug-ins/Makefile.in > po-plug-ins/Makefile && touch po-plug-ins/stamp-it
26183
sed -e "/POTFILES =/r po-script-fu/POTFILES" po-script-fu/Makefile.in > po-script-fu/Makefile && touch po-script-fu/stamp-it
26184
sed -e "/POTFILES =/r po-tips/POTFILES" po-tips/Makefile.in > po-tips/Makefile && touch po-tips/stamp-it ;;
26186
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
26187
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
26189
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
26194
'"s|^| $ac_top_srcdir/|" \
26195
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
26197
sed '/^POTFILES =/,/[^\\]$/ {
26201
' "po/Makefile.in" >"po/Makefile"
26202
rm -f "po/Makefile.tmp"
26203
mv "po/stamp-it.tmp" "po/stamp-it"
26212
ac_clean_files=$ac_clean_files_save
26214
test $ac_write_fail = 0 ||
26215
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
26218
# configure is writing to config.log, and then calls config.status.
26219
# config.status does its own redirection, appending to config.log.
26220
# Unfortunately, on DOS this fails, as config.log is still kept open
26221
# by configure, so config.status won't be able to write to it; its
26222
# output is simply discarded. So we exec the FD to /dev/null,
26223
# effectively closing config.log, so it can be properly (re)opened and
26224
# appended to by config.status. When coming back to configure, we
26225
# need to make the FD available again.
26226
if test "$no_create" != yes; then
26228
ac_config_status_args=
26229
test "$silent" = yes &&
26230
ac_config_status_args="$ac_config_status_args --quiet"
26232
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
26234
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
26235
# would make configure fail if this is the last instruction.
26236
$ac_cs_success || as_fn_exit 1
26238
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
26239
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
26240
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
26244
# Print a summary of features enabled/disabled:
26245
{ $as_echo "$as_me:${as_lineno-$LINENO}: result:
26246
Building GIMP with prefix=$prefix, datarootdir=$datarootdir
26247
Desktop files install into $DESKTOP_DATADIR
26250
gimp-console: $enable_gimp_console
26253
D-Bus service: $have_dbus_glib
26254
Language selection: $have_iso_codes
26257
Ascii Art: $have_libaa
26258
Compressor: $have_compressor
26259
Ghostscript: $have_gs
26260
Help Browser: $have_webkit
26263
JPEG 2000: $have_jp2
26265
PDF (import): $have_poppler
26266
PDF (export): $have_cairo_pdf
26268
Print: $enable_print
26270
Python: $enable_python
26271
Script-Fu: $have_script_fu
26273
TIFF: $have_libtiff
26274
TWAIN (MacOS X): $mac_twain_ok
26275
TWAIN (Win32): $os_win32
26277
Webpage: $have_webkit
26278
Windows ICO: $have_libpng
26281
X11 Mouse Cursor: $have_xmc
26285
EXIF support: $have_libexif
26288
ALSA (MIDI Input): $have_alsa
26289
Linux Input: $have_linux_input (GUdev support: $have_libgudev)
26290
DirectInput (Win32): $have_dx_dinput
26291
Color Correction: $have_lcms
26292
Soft Proof: $have_lcms
26295
Use xvfb-run $have_xvfb_run
26298
Building GIMP with prefix=$prefix, datarootdir=$datarootdir
26299
Desktop files install into $DESKTOP_DATADIR
26302
gimp-console: $enable_gimp_console
26305
D-Bus service: $have_dbus_glib
26306
Language selection: $have_iso_codes
26309
Ascii Art: $have_libaa
26310
Compressor: $have_compressor
26311
Ghostscript: $have_gs
26312
Help Browser: $have_webkit
26315
JPEG 2000: $have_jp2
26317
PDF (import): $have_poppler
26318
PDF (export): $have_cairo_pdf
26320
Print: $enable_print
26322
Python: $enable_python
26323
Script-Fu: $have_script_fu
26325
TIFF: $have_libtiff
26326
TWAIN (MacOS X): $mac_twain_ok
26327
TWAIN (Win32): $os_win32
26329
Webpage: $have_webkit
26330
Windows ICO: $have_libpng
26333
X11 Mouse Cursor: $have_xmc
26337
EXIF support: $have_libexif
26340
ALSA (MIDI Input): $have_alsa
26341
Linux Input: $have_linux_input (GUdev support: $have_libgudev)
26342
DirectInput (Win32): $have_dx_dinput
26343
Color Correction: $have_lcms
26344
Soft Proof: $have_lcms
26347
Use xvfb-run $have_xvfb_run