| 1 |
#! /bin/sh |
| 2 |
# Guess values for system-dependent variables and create Makefiles. |
| 3 |
# Generated by GNU Autoconf 2.72 for ibus 1.5.34. |
| 4 |
# |
| 5 |
# Report bugs to <https://github.com/ibus/ibus/issues>. |
| 6 |
# |
| 7 |
# |
| 8 |
# Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation, |
| 9 |
# Inc. |
| 10 |
# |
| 11 |
# |
| 12 |
# This configure script is free software; the Free Software Foundation |
| 13 |
# gives unlimited permission to copy, distribute and modify it. |
| 14 |
## -------------------- ## |
| 15 |
## M4sh Initialization. ## |
| 16 |
## -------------------- ## |
| 17 |
|
| 18 |
# Be more Bourne compatible |
| 19 |
DUALCASE=1; export DUALCASE # for MKS sh |
| 20 |
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 21 |
then : |
| 22 |
emulate sh |
| 23 |
NULLCMD=: |
| 24 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 25 |
# is contrary to our usage. Disable this feature. |
| 26 |
alias -g '${1+"$@"}'='"$@"' |
| 27 |
setopt NO_GLOB_SUBST |
| 28 |
else case e in #( |
| 29 |
e) case `(set -o) 2>/dev/null` in #( |
| 30 |
*posix*) : |
| 31 |
set -o posix ;; #( |
| 32 |
*) : |
| 33 |
;; |
| 34 |
esac ;; |
| 35 |
esac |
| 36 |
fi |
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
# Reset variables that may have inherited troublesome values from |
| 41 |
# the environment. |
| 42 |
|
| 43 |
# IFS needs to be set, to space, tab, and newline, in precisely that order. |
| 44 |
# (If _AS_PATH_WALK were called with IFS unset, it would have the |
| 45 |
# side effect of setting IFS to empty, thus disabling word splitting.) |
| 46 |
# Quoting is to prevent editors from complaining about space-tab. |
| 47 |
as_nl=' |
| 48 |
' |
| 49 |
export as_nl |
| 50 |
IFS=" "" $as_nl" |
| 51 |
|
| 52 |
PS1='$ ' |
| 53 |
PS2='> ' |
| 54 |
PS4='+ ' |
| 55 |
|
| 56 |
# Ensure predictable behavior from utilities with locale-dependent output. |
| 57 |
LC_ALL=C |
| 58 |
export LC_ALL |
| 59 |
LANGUAGE=C |
| 60 |
export LANGUAGE |
| 61 |
|
| 62 |
# We cannot yet rely on "unset" to work, but we need these variables |
| 63 |
# to be unset--not just set to an empty or harmless value--now, to |
| 64 |
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
| 65 |
# also avoids known problems related to "unset" and subshell syntax |
| 66 |
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
| 67 |
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
| 68 |
do eval test \${$as_var+y} \ |
| 69 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 70 |
done |
| 71 |
|
| 72 |
# Ensure that fds 0, 1, and 2 are open. |
| 73 |
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
| 74 |
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
| 75 |
if (exec 3>&2) ; then :; else exec 2>/dev/null; fi |
| 76 |
|
| 77 |
# The user is always right. |
| 78 |
if ${PATH_SEPARATOR+false} :; then |
| 79 |
PATH_SEPARATOR=: |
| 80 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 81 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 82 |
PATH_SEPARATOR=';' |
| 83 |
} |
| 84 |
fi |
| 85 |
|
| 86 |
|
| 87 |
# Find who we are. Look in the path if we contain no directory separator. |
| 88 |
as_myself= |
| 89 |
case $0 in #(( |
| 90 |
*[\\/]* ) as_myself=$0 ;; |
| 91 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 92 |
for as_dir in $PATH |
| 93 |
do |
| 94 |
IFS=$as_save_IFS |
| 95 |
case $as_dir in #((( |
| 96 |
'') as_dir=./ ;; |
| 97 |
*/) ;; |
| 98 |
*) as_dir=$as_dir/ ;; |
| 99 |
esac |
| 100 |
test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
| 101 |
done |
| 102 |
IFS=$as_save_IFS |
| 103 |
|
| 104 |
;; |
| 105 |
esac |
| 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 |
| 109 |
as_myself=$0 |
| 110 |
fi |
| 111 |
if test ! -f "$as_myself"; then |
| 112 |
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 113 |
exit 1 |
| 114 |
fi |
| 115 |
|
| 116 |
|
| 117 |
# Use a proper internal environment variable to ensure we don't fall |
| 118 |
# into an infinite loop, continuously re-executing ourselves. |
| 119 |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
| 120 |
_as_can_reexec=no; export _as_can_reexec; |
| 121 |
# We cannot yet assume a decent shell, so we have to provide a |
| 122 |
# neutralization value for shells without unset; and this also |
| 123 |
# works around shells that cannot unset nonexistent variables. |
| 124 |
# Preserve -v and -x to the replacement shell. |
| 125 |
BASH_ENV=/dev/null |
| 126 |
ENV=/dev/null |
| 127 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 128 |
case $- in # (((( |
| 129 |
*v*x* | *x*v* ) as_opts=-vx ;; |
| 130 |
*v* ) as_opts=-v ;; |
| 131 |
*x* ) as_opts=-x ;; |
| 132 |
* ) as_opts= ;; |
| 133 |
esac |
| 134 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 135 |
# Admittedly, this is quite paranoid, since all the known shells bail |
| 136 |
# out after a failed 'exec'. |
| 137 |
printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 138 |
exit 255 |
| 139 |
fi |
| 140 |
# We don't want this to propagate to other subprocesses. |
| 141 |
{ _as_can_reexec=; unset _as_can_reexec;} |
| 142 |
if test "x$CONFIG_SHELL" = x; then |
| 143 |
as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 144 |
then : |
| 145 |
emulate sh |
| 146 |
NULLCMD=: |
| 147 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
| 148 |
# is contrary to our usage. Disable this feature. |
| 149 |
alias -g '\${1+\"\$@\"}'='\"\$@\"' |
| 150 |
setopt NO_GLOB_SUBST |
| 151 |
else case e in #( |
| 152 |
e) case \`(set -o) 2>/dev/null\` in #( |
| 153 |
*posix*) : |
| 154 |
set -o posix ;; #( |
| 155 |
*) : |
| 156 |
;; |
| 157 |
esac ;; |
| 158 |
esac |
| 159 |
fi |
| 160 |
" |
| 161 |
as_required="as_fn_return () { (exit \$1); } |
| 162 |
as_fn_success () { as_fn_return 0; } |
| 163 |
as_fn_failure () { as_fn_return 1; } |
| 164 |
as_fn_ret_success () { return 0; } |
| 165 |
as_fn_ret_failure () { return 1; } |
| 166 |
|
| 167 |
exitcode=0 |
| 168 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
| 169 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
| 170 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
| 171 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
| 172 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ) |
| 173 |
then : |
| 174 |
|
| 175 |
else case e in #( |
| 176 |
e) exitcode=1; echo positional parameters were not saved. ;; |
| 177 |
esac |
| 178 |
fi |
| 179 |
test x\$exitcode = x0 || exit 1 |
| 180 |
blah=\$(echo \$(echo blah)) |
| 181 |
test x\"\$blah\" = xblah || exit 1 |
| 182 |
test -x / || exit 1" |
| 183 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
| 184 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
| 185 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
| 186 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
| 187 |
test \$(( 1 + 1 )) = 2 || exit 1 |
| 188 |
|
| 189 |
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
| 190 |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 191 |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
| 192 |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
| 193 |
PATH=/empty FPATH=/empty; export PATH FPATH |
| 194 |
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
| 195 |
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" |
| 196 |
if (eval "$as_required") 2>/dev/null |
| 197 |
then : |
| 198 |
as_have_required=yes |
| 199 |
else case e in #( |
| 200 |
e) as_have_required=no ;; |
| 201 |
esac |
| 202 |
fi |
| 203 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null |
| 204 |
then : |
| 205 |
|
| 206 |
else case e in #( |
| 207 |
e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 208 |
as_found=false |
| 209 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 210 |
do |
| 211 |
IFS=$as_save_IFS |
| 212 |
case $as_dir in #((( |
| 213 |
'') as_dir=./ ;; |
| 214 |
*/) ;; |
| 215 |
*) as_dir=$as_dir/ ;; |
| 216 |
esac |
| 217 |
as_found=: |
| 218 |
case $as_dir in #( |
| 219 |
/*) |
| 220 |
for as_base in sh bash ksh sh5; do |
| 221 |
# Try only shells that exist, to save several forks. |
| 222 |
as_shell=$as_dir$as_base |
| 223 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
| 224 |
as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null |
| 225 |
then : |
| 226 |
CONFIG_SHELL=$as_shell as_have_required=yes |
| 227 |
if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null |
| 228 |
then : |
| 229 |
break 2 |
| 230 |
fi |
| 231 |
fi |
| 232 |
done;; |
| 233 |
esac |
| 234 |
as_found=false |
| 235 |
done |
| 236 |
IFS=$as_save_IFS |
| 237 |
if $as_found |
| 238 |
then : |
| 239 |
|
| 240 |
else case e in #( |
| 241 |
e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
| 242 |
as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null |
| 243 |
then : |
| 244 |
CONFIG_SHELL=$SHELL as_have_required=yes |
| 245 |
fi ;; |
| 246 |
esac |
| 247 |
fi |
| 248 |
|
| 249 |
|
| 250 |
if test "x$CONFIG_SHELL" != x |
| 251 |
then : |
| 252 |
export CONFIG_SHELL |
| 253 |
# We cannot yet assume a decent shell, so we have to provide a |
| 254 |
# neutralization value for shells without unset; and this also |
| 255 |
# works around shells that cannot unset nonexistent variables. |
| 256 |
# Preserve -v and -x to the replacement shell. |
| 257 |
BASH_ENV=/dev/null |
| 258 |
ENV=/dev/null |
| 259 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 260 |
case $- in # (((( |
| 261 |
*v*x* | *x*v* ) as_opts=-vx ;; |
| 262 |
*v* ) as_opts=-v ;; |
| 263 |
*x* ) as_opts=-x ;; |
| 264 |
* ) as_opts= ;; |
| 265 |
esac |
| 266 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 267 |
# Admittedly, this is quite paranoid, since all the known shells bail |
| 268 |
# out after a failed 'exec'. |
| 269 |
printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 270 |
exit 255 |
| 271 |
fi |
| 272 |
|
| 273 |
if test x$as_have_required = xno |
| 274 |
then : |
| 275 |
printf "%s\n" "$0: This script requires a shell more modern than all" |
| 276 |
printf "%s\n" "$0: the shells that I found on your system." |
| 277 |
if test ${ZSH_VERSION+y} ; then |
| 278 |
printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| 279 |
printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." |
| 280 |
else |
| 281 |
printf "%s\n" "$0: Please tell [email protected] and |
| 282 |
$0: https://github.com/ibus/ibus/issues about your system, |
| 283 |
$0: including any error possibly output before this |
| 284 |
$0: message. Then install a modern shell, or manually run |
| 285 |
$0: the script under such a shell if you do have one." |
| 286 |
fi |
| 287 |
exit 1 |
| 288 |
fi ;; |
| 289 |
esac |
| 290 |
fi |
| 291 |
fi |
| 292 |
SHELL=${CONFIG_SHELL-/bin/sh} |
| 293 |
export SHELL |
| 294 |
# Unset more variables known to interfere with behavior of common tools. |
| 295 |
CLICOLOR_FORCE= GREP_OPTIONS= |
| 296 |
unset CLICOLOR_FORCE GREP_OPTIONS |
| 297 |
|
| 298 |
## --------------------- ## |
| 299 |
## M4sh Shell Functions. ## |
| 300 |
## --------------------- ## |
| 301 |
# as_fn_unset VAR |
| 302 |
# --------------- |
| 303 |
# Portably unset VAR. |
| 304 |
as_fn_unset () |
| 305 |
{ |
| 306 |
{ eval $1=; unset $1;} |
| 307 |
} |
| 308 |
as_unset=as_fn_unset |
| 309 |
|
| 310 |
|
| 311 |
# as_fn_set_status STATUS |
| 312 |
# ----------------------- |
| 313 |
# Set $? to STATUS, without forking. |
| 314 |
as_fn_set_status () |
| 315 |
{ |
| 316 |
return $1 |
| 317 |
} # as_fn_set_status |
| 318 |
|
| 319 |
# as_fn_exit STATUS |
| 320 |
# ----------------- |
| 321 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 322 |
as_fn_exit () |
| 323 |
{ |
| 324 |
set +e |
| 325 |
as_fn_set_status $1 |
| 326 |
exit $1 |
| 327 |
} # as_fn_exit |
| 328 |
|
| 329 |
# as_fn_mkdir_p |
| 330 |
# ------------- |
| 331 |
# Create "$as_dir" as a directory, including parents if necessary. |
| 332 |
as_fn_mkdir_p () |
| 333 |
{ |
| 334 |
|
| 335 |
case $as_dir in #( |
| 336 |
-*) as_dir=./$as_dir;; |
| 337 |
esac |
| 338 |
test -d "$as_dir" || eval $as_mkdir_p || { |
| 339 |
as_dirs= |
| 340 |
while :; do |
| 341 |
case $as_dir in #( |
| 342 |
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 343 |
*) as_qdir=$as_dir;; |
| 344 |
esac |
| 345 |
as_dirs="'$as_qdir' $as_dirs" |
| 346 |
as_dir=`$as_dirname -- "$as_dir" || |
| 347 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 348 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 349 |
X"$as_dir" : 'X\(//\)$' \| \ |
| 350 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 351 |
printf "%s\n" X"$as_dir" | |
| 352 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 353 |
s//\1/ |
| 354 |
q |
| 355 |
} |
| 356 |
/^X\(\/\/\)[^/].*/{ |
| 357 |
s//\1/ |
| 358 |
q |
| 359 |
} |
| 360 |
/^X\(\/\/\)$/{ |
| 361 |
s//\1/ |
| 362 |
q |
| 363 |
} |
| 364 |
/^X\(\/\).*/{ |
| 365 |
s//\1/ |
| 366 |
q |
| 367 |
} |
| 368 |
s/.*/./; q'` |
| 369 |
test -d "$as_dir" && break |
| 370 |
done |
| 371 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 372 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 373 |
|
| 374 |
|
| 375 |
} # as_fn_mkdir_p |
| 376 |
|
| 377 |
# as_fn_executable_p FILE |
| 378 |
# ----------------------- |
| 379 |
# Test if FILE is an executable regular file. |
| 380 |
as_fn_executable_p () |
| 381 |
{ |
| 382 |
test -f "$1" && test -x "$1" |
| 383 |
} # as_fn_executable_p |
| 384 |
# as_fn_append VAR VALUE |
| 385 |
# ---------------------- |
| 386 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
| 387 |
# advantage of any shell optimizations that allow amortized linear growth over |
| 388 |
# repeated appends, instead of the typical quadratic growth present in naive |
| 389 |
# implementations. |
| 390 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
| 391 |
then : |
| 392 |
eval 'as_fn_append () |
| 393 |
{ |
| 394 |
eval $1+=\$2 |
| 395 |
}' |
| 396 |
else case e in #( |
| 397 |
e) as_fn_append () |
| 398 |
{ |
| 399 |
eval $1=\$$1\$2 |
| 400 |
} ;; |
| 401 |
esac |
| 402 |
fi # as_fn_append |
| 403 |
|
| 404 |
# as_fn_arith ARG... |
| 405 |
# ------------------ |
| 406 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
| 407 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 408 |
# must be portable across $(()) and expr. |
| 409 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
| 410 |
then : |
| 411 |
eval 'as_fn_arith () |
| 412 |
{ |
| 413 |
as_val=$(( $* )) |
| 414 |
}' |
| 415 |
else case e in #( |
| 416 |
e) as_fn_arith () |
| 417 |
{ |
| 418 |
as_val=`expr "$@" || test $? -eq 1` |
| 419 |
} ;; |
| 420 |
esac |
| 421 |
fi # as_fn_arith |
| 422 |
|
| 423 |
|
| 424 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 425 |
# ---------------------------------------- |
| 426 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 427 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 428 |
# script with STATUS, using 1 if that was 0. |
| 429 |
as_fn_error () |
| 430 |
{ |
| 431 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
| 432 |
if test "$4"; then |
| 433 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 434 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 435 |
fi |
| 436 |
printf "%s\n" "$as_me: error: $2" >&2 |
| 437 |
as_fn_exit $as_status |
| 438 |
} # as_fn_error |
| 439 |
|
| 440 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 441 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 442 |
as_expr=expr |
| 443 |
else |
| 444 |
as_expr=false |
| 445 |
fi |
| 446 |
|
| 447 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 448 |
as_basename=basename |
| 449 |
else |
| 450 |
as_basename=false |
| 451 |
fi |
| 452 |
|
| 453 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 454 |
as_dirname=dirname |
| 455 |
else |
| 456 |
as_dirname=false |
| 457 |
fi |
| 458 |
|
| 459 |
as_me=`$as_basename -- "$0" || |
| 460 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 461 |
X"$0" : 'X\(//\)$' \| \ |
| 462 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 463 |
printf "%s\n" X/"$0" | |
| 464 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 465 |
s//\1/ |
| 466 |
q |
| 467 |
} |
| 468 |
/^X\/\(\/\/\)$/{ |
| 469 |
s//\1/ |
| 470 |
q |
| 471 |
} |
| 472 |
/^X\/\(\/\).*/{ |
| 473 |
s//\1/ |
| 474 |
q |
| 475 |
} |
| 476 |
s/.*/./; q'` |
| 477 |
|
| 478 |
# Avoid depending upon Character Ranges. |
| 479 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 480 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 481 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 482 |
as_cr_digits='0123456789' |
| 483 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 484 |
|
| 485 |
|
| 486 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO |
| 487 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO |
| 488 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
| 489 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
| 490 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
| 491 |
sed -n ' |
| 492 |
p |
| 493 |
/[$]LINENO/= |
| 494 |
' <$as_myself | |
| 495 |
sed ' |
| 496 |
t clear |
| 497 |
:clear |
| 498 |
s/[$]LINENO.*/&-/ |
| 499 |
t lineno |
| 500 |
b |
| 501 |
:lineno |
| 502 |
N |
| 503 |
:loop |
| 504 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 505 |
t loop |
| 506 |
s/-\n.*// |
| 507 |
' >$as_me.lineno && |
| 508 |
chmod +x "$as_me.lineno" || |
| 509 |
{ printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
| 510 |
|
| 511 |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
| 512 |
# already done that, so ensure we don't try to do so again and fall |
| 513 |
# in an infinite loop. This has already happened in practice. |
| 514 |
_as_can_reexec=no; export _as_can_reexec |
| 515 |
# Don't try to exec as it changes $[0], causing all sort of problems |
| 516 |
# (the dirname of $[0] is not the place where we might find the |
| 517 |
# original and so on. Autoconf is especially sensitive to this). |
| 518 |
. "./$as_me.lineno" |
| 519 |
# Exit status is that of the last command. |
| 520 |
exit |
| 521 |
} |
| 522 |
|
| 523 |
|
| 524 |
# Determine whether it's possible to make 'echo' print without a newline. |
| 525 |
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
| 526 |
# for compatibility with existing Makefiles. |
| 527 |
ECHO_C= ECHO_N= ECHO_T= |
| 528 |
case `echo -n x` in #((((( |
| 529 |
-n*) |
| 530 |
case `echo 'xy\c'` in |
| 531 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 532 |
xy) ECHO_C='\c';; |
| 533 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 534 |
ECHO_T=' ';; |
| 535 |
esac;; |
| 536 |
*) |
| 537 |
ECHO_N='-n';; |
| 538 |
esac |
| 539 |
|
| 540 |
# For backward compatibility with old third-party macros, we provide |
| 541 |
# the shell variables $as_echo and $as_echo_n. New code should use |
| 542 |
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
| 543 |
as_echo='printf %s\n' |
| 544 |
as_echo_n='printf %s' |
| 545 |
|
| 546 |
rm -f conf$$ conf$$.exe conf$$.file |
| 547 |
if test -d conf$$.dir; then |
| 548 |
rm -f conf$$.dir/conf$$.file |
| 549 |
else |
| 550 |
rm -f conf$$.dir |
| 551 |
mkdir conf$$.dir 2>/dev/null |
| 552 |
fi |
| 553 |
if (echo >conf$$.file) 2>/dev/null; then |
| 554 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 555 |
as_ln_s='ln -s' |
| 556 |
# ... but there are two gotchas: |
| 557 |
# 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. |
| 558 |
# 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. |
| 559 |
# In both cases, we have to default to 'cp -pR'. |
| 560 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 561 |
as_ln_s='cp -pR' |
| 562 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 563 |
as_ln_s=ln |
| 564 |
else |
| 565 |
as_ln_s='cp -pR' |
| 566 |
fi |
| 567 |
else |
| 568 |
as_ln_s='cp -pR' |
| 569 |
fi |
| 570 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 571 |
rmdir conf$$.dir 2>/dev/null |
| 572 |
|
| 573 |
if mkdir -p . 2>/dev/null; then |
| 574 |
as_mkdir_p='mkdir -p "$as_dir"' |
| 575 |
else |
| 576 |
test -d ./-p && rmdir ./-p |
| 577 |
as_mkdir_p=false |
| 578 |
fi |
| 579 |
|
| 580 |
as_test_x='test -x' |
| 581 |
as_executable_p=as_fn_executable_p |
| 582 |
|
| 583 |
# Sed expression to map a string onto a valid CPP name. |
| 584 |
as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
| 585 |
as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated |
| 586 |
|
| 587 |
# Sed expression to map a string onto a valid variable name. |
| 588 |
as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
| 589 |
as_tr_sh="eval sed '$as_sed_sh'" # deprecated |
| 590 |
|
| 591 |
as_awk_strverscmp=' |
| 592 |
# Use only awk features that work with 7th edition Unix awk (1978). |
| 593 |
# My, what an old awk you have, Mr. Solaris! |
| 594 |
END { |
| 595 |
while (length(v1) && length(v2)) { |
| 596 |
# Set d1 to be the next thing to compare from v1, and likewise for d2. |
| 597 |
# Normally this is a single character, but if v1 and v2 contain digits, |
| 598 |
# compare them as integers and fractions as strverscmp does. |
| 599 |
if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) { |
| 600 |
# Split v1 and v2 into their leading digit string components d1 and d2, |
| 601 |
# and advance v1 and v2 past the leading digit strings. |
| 602 |
for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue |
| 603 |
for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue |
| 604 |
d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1) |
| 605 |
d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1) |
| 606 |
if (d1 ~ /^0/) { |
| 607 |
if (d2 ~ /^0/) { |
| 608 |
# Compare two fractions. |
| 609 |
while (d1 ~ /^0/ && d2 ~ /^0/) { |
| 610 |
d1 = substr(d1, 2); len1-- |
| 611 |
d2 = substr(d2, 2); len2-- |
| 612 |
} |
| 613 |
if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) { |
| 614 |
# The two components differ in length, and the common prefix |
| 615 |
# contains only leading zeros. Consider the longer to be less. |
| 616 |
d1 = -len1 |
| 617 |
d2 = -len2 |
| 618 |
} else { |
| 619 |
# Otherwise, compare as strings. |
| 620 |
d1 = "x" d1 |
| 621 |
d2 = "x" d2 |
| 622 |
} |
| 623 |
} else { |
| 624 |
# A fraction is less than an integer. |
| 625 |
exit 1 |
| 626 |
} |
| 627 |
} else { |
| 628 |
if (d2 ~ /^0/) { |
| 629 |
# An integer is greater than a fraction. |
| 630 |
exit 2 |
| 631 |
} else { |
| 632 |
# Compare two integers. |
| 633 |
d1 += 0 |
| 634 |
d2 += 0 |
| 635 |
} |
| 636 |
} |
| 637 |
} else { |
| 638 |
# The normal case, without worrying about digits. |
| 639 |
d1 = substr(v1, 1, 1); v1 = substr(v1, 2) |
| 640 |
d2 = substr(v2, 1, 1); v2 = substr(v2, 2) |
| 641 |
} |
| 642 |
if (d1 < d2) exit 1 |
| 643 |
if (d1 > d2) exit 2 |
| 644 |
} |
| 645 |
# Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10), |
| 646 |
# which mishandles some comparisons of empty strings to integers. |
| 647 |
if (length(v2)) exit 1 |
| 648 |
if (length(v1)) exit 2 |
| 649 |
} |
| 650 |
' |
| 651 |
SHELL=${CONFIG_SHELL-/bin/sh} |
| 652 |
|
| 653 |
|
| 654 |
test -n "$DJDIR" || exec 7<&0 </dev/null |
| 655 |
exec 6>&1 |
| 656 |
|
| 657 |
# Name of the host. |
| 658 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
| 659 |
# so uname gets run too. |
| 660 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 661 |
|
| 662 |
# |
| 663 |
# Initializations. |
| 664 |
# |
| 665 |
ac_default_prefix=/usr/local |
| 666 |
ac_clean_files= |
| 667 |
ac_config_libobj_dir=. |
| 668 |
LIBOBJS= |
| 669 |
cross_compiling=no |
| 670 |
subdirs= |
| 671 |
MFLAGS= |
| 672 |
MAKEFLAGS= |
| 673 |
|
| 674 |
# Identity of this package. |
| 675 |
PACKAGE_NAME='ibus' |
| 676 |
PACKAGE_TARNAME='ibus' |
| 677 |
PACKAGE_VERSION='1.5.34' |
| 678 |
PACKAGE_STRING='ibus 1.5.34' |
| 679 |
PACKAGE_BUGREPORT='https://github.com/ibus/ibus/issues' |
| 680 |
PACKAGE_URL='' |
| 681 |
|
| 682 |
# Factoring default headers for most tests. |
| 683 |
ac_includes_default="\ |
| 684 |
#include <stddef.h> |
| 685 |
#ifdef HAVE_STDIO_H |
| 686 |
# include <stdio.h> |
| 687 |
#endif |
| 688 |
#ifdef HAVE_STDLIB_H |
| 689 |
# include <stdlib.h> |
| 690 |
#endif |
| 691 |
#ifdef HAVE_STRING_H |
| 692 |
# include <string.h> |
| 693 |
#endif |
| 694 |
#ifdef HAVE_INTTYPES_H |
| 695 |
# include <inttypes.h> |
| 696 |
#endif |
| 697 |
#ifdef HAVE_STDINT_H |
| 698 |
# include <stdint.h> |
| 699 |
#endif |
| 700 |
#ifdef HAVE_STRINGS_H |
| 701 |
# include <strings.h> |
| 702 |
#endif |
| 703 |
#ifdef HAVE_SYS_TYPES_H |
| 704 |
# include <sys/types.h> |
| 705 |
#endif |
| 706 |
#ifdef HAVE_SYS_STAT_H |
| 707 |
# include <sys/stat.h> |
| 708 |
#endif |
| 709 |
#ifdef HAVE_UNISTD_H |
| 710 |
# include <unistd.h> |
| 711 |
#endif" |
| 712 |
|
| 713 |
ac_header_c_list= |
| 714 |
gt_needs= |
| 715 |
ac_subst_vars='am__EXEEXT_FALSE |
| 716 |
am__EXEEXT_TRUE |
| 717 |
LTLIBOBJS |
| 718 |
LIBOBJS |
| 719 |
GDBUS_CODEGEN |
| 720 |
XKBCONFIG_BASE |
| 721 |
XKBCONFIG_LIBS |
| 722 |
XKBCONFIG_CFLAGS |
| 723 |
ISOCODES_PREFIX |
| 724 |
ISOCODES_LIBS |
| 725 |
ISOCODES_CFLAGS |
| 726 |
UCD_DIR |
| 727 |
ENABLE_UNICODE_DICT_FALSE |
| 728 |
ENABLE_UNICODE_DICT_TRUE |
| 729 |
EMOJI_ANNOTATION_DIR |
| 730 |
UNICODE_EMOJI_DIR |
| 731 |
ENABLE_EMOJI_DICT_FALSE |
| 732 |
ENABLE_EMOJI_DICT_TRUE |
| 733 |
ENABLE_INSTALL_TESTS_FALSE |
| 734 |
ENABLE_INSTALL_TESTS_TRUE |
| 735 |
XFIXES_LIBS |
| 736 |
XFIXES_CFLAGS |
| 737 |
ENABLE_LIBEVDEV_FALSE |
| 738 |
ENABLE_LIBEVDEV_TRUE |
| 739 |
LIBEVDEV_LIBS |
| 740 |
LIBEVDEV_CFLAGS |
| 741 |
LIBNOTIFY_LIBS |
| 742 |
LIBNOTIFY_CFLAGS |
| 743 |
ENABLE_LIBNOTIFY_FALSE |
| 744 |
ENABLE_LIBNOTIFY_TRUE |
| 745 |
ENABLE_ENGINE_FALSE |
| 746 |
ENABLE_ENGINE_TRUE |
| 747 |
DBUSMENU_GTK3_LIBS |
| 748 |
DBUSMENU_GTK3_CFLAGS |
| 749 |
DBUSMENU_GLIB_LIBS |
| 750 |
DBUSMENU_GLIB_CFLAGS |
| 751 |
ENABLE_UI_FALSE |
| 752 |
ENABLE_UI_TRUE |
| 753 |
IBUS_ICON_KEYBOARD |
| 754 |
DBUS_PYTHON_LIBS |
| 755 |
DBUS_PYTHON_CFLAGS |
| 756 |
ENABLE_PYGNOME_DESKTOP_FALSE |
| 757 |
ENABLE_PYGNOME_DESKTOP_TRUE |
| 758 |
GTK4_IM_MODULEDIR |
| 759 |
GTK3_IM_MODULEDIR |
| 760 |
GTK2_IM_MODULEDIR |
| 761 |
pkgpython2dir |
| 762 |
PYTHON_INCLUDES |
| 763 |
PYTHON_CONFIG |
| 764 |
ENABLE_PYGOBJECT_FALSE |
| 765 |
ENABLE_PYGOBJECT_TRUE |
| 766 |
py2overridesdir |
| 767 |
pyoverridesdir |
| 768 |
PYTHON_LIBS |
| 769 |
PYTHON_CFLAGS |
| 770 |
ENABLE_DAEMON_FALSE |
| 771 |
ENABLE_DAEMON_TRUE |
| 772 |
ENABLE_SETUP_FALSE |
| 773 |
ENABLE_SETUP_TRUE |
| 774 |
ENABLE_PYTHON_LIBRARY_FALSE |
| 775 |
ENABLE_PYTHON_LIBRARY_TRUE |
| 776 |
ENABLE_PYTHON2_FALSE |
| 777 |
ENABLE_PYTHON2_TRUE |
| 778 |
PYTHON2 |
| 779 |
pkgpyexecdir |
| 780 |
pyexecdir |
| 781 |
pkgpythondir |
| 782 |
pythondir |
| 783 |
PYTHON_EXEC_PREFIX |
| 784 |
PYTHON_PREFIX |
| 785 |
PYTHON_PLATFORM |
| 786 |
PYTHON_VERSION |
| 787 |
PYTHON |
| 788 |
ENV_IBUS_TEST |
| 789 |
SYSTEMD_USER_UNIT_DIR |
| 790 |
SYSTEMD_LIBS |
| 791 |
SYSTEMD_CFLAGS |
| 792 |
ENABLE_SYSTEMD_FALSE |
| 793 |
ENABLE_SYSTEMD_TRUE |
| 794 |
GSETTINGS_RULES |
| 795 |
GLIB_COMPILE_SCHEMAS |
| 796 |
gsettingsschemadir |
| 797 |
GSETTINGS_DISABLE_SCHEMAS_COMPILE |
| 798 |
DCONF_LIBS |
| 799 |
DCONF_CFLAGS |
| 800 |
ENABLE_DCONF_FALSE |
| 801 |
ENABLE_DCONF_TRUE |
| 802 |
ENABLE_MEMCONF_FALSE |
| 803 |
ENABLE_MEMCONF_TRUE |
| 804 |
DBUS_LIBS |
| 805 |
DBUS_CFLAGS |
| 806 |
GTK_DOC_USE_REBASE_FALSE |
| 807 |
GTK_DOC_USE_REBASE_TRUE |
| 808 |
GTK_DOC_USE_LIBTOOL_FALSE |
| 809 |
GTK_DOC_USE_LIBTOOL_TRUE |
| 810 |
GTK_DOC_BUILD_PDF_FALSE |
| 811 |
GTK_DOC_BUILD_PDF_TRUE |
| 812 |
GTK_DOC_BUILD_HTML_FALSE |
| 813 |
GTK_DOC_BUILD_HTML_TRUE |
| 814 |
ENABLE_GTK_DOC_FALSE |
| 815 |
ENABLE_GTK_DOC_TRUE |
| 816 |
HAVE_GTK_DOC_FALSE |
| 817 |
HAVE_GTK_DOC_TRUE |
| 818 |
GTKDOC_DEPS_LIBS |
| 819 |
GTKDOC_DEPS_CFLAGS |
| 820 |
HTML_DIR |
| 821 |
GTKDOC_MKPDF |
| 822 |
GTKDOC_REBASE |
| 823 |
GTKDOC_CHECK_PATH |
| 824 |
GTKDOC_CHECK |
| 825 |
ENABLE_VAPIGEN_FALSE |
| 826 |
ENABLE_VAPIGEN_TRUE |
| 827 |
VAPIGEN_MAKEFILE |
| 828 |
VAPIGEN_VAPIDIR |
| 829 |
VAPIGEN |
| 830 |
IBUS_GIR_SCANNERFLAGS |
| 831 |
HAVE_INTROSPECTION_FALSE |
| 832 |
HAVE_INTROSPECTION_TRUE |
| 833 |
INTROSPECTION_MAKEFILE |
| 834 |
INTROSPECTION_LIBS |
| 835 |
INTROSPECTION_CFLAGS |
| 836 |
INTROSPECTION_TYPELIBDIR |
| 837 |
INTROSPECTION_GIRDIR |
| 838 |
INTROSPECTION_GENERATE |
| 839 |
INTROSPECTION_COMPILER |
| 840 |
INTROSPECTION_SCANNER |
| 841 |
_GI_EXP_LIBDIR |
| 842 |
_GI_EXP_DATADIR |
| 843 |
wayland_scanner_rules |
| 844 |
wayland_protocoldir |
| 845 |
wayland_scanner |
| 846 |
WAYLAND_SCANNER_LIBS |
| 847 |
WAYLAND_SCANNER_CFLAGS |
| 848 |
WAYLAND_TEXT_PRTCL_SUBDIR |
| 849 |
WAYLAND_IM_PRTCL_SUBDIR |
| 850 |
WAYLAND_PRTCLS_DIR |
| 851 |
WAYLAND_LIBS |
| 852 |
WAYLAND_CFLAGS |
| 853 |
X11_LOCALEDATADIR |
| 854 |
X11_PREFIX |
| 855 |
XIM_CLI_ARG |
| 856 |
X11_LIBS |
| 857 |
X11_CFLAGS |
| 858 |
GTK4_LIBS |
| 859 |
GTK4_CFLAGS |
| 860 |
IBUS_UI_WAYLAND_DESKTOP |
| 861 |
ENABLE_GDK3_WAYLAND_FALSE |
| 862 |
ENABLE_GDK3_WAYLAND_TRUE |
| 863 |
GTK3_LIBS |
| 864 |
GTK3_CFLAGS |
| 865 |
GTK2_LIBS |
| 866 |
GTK2_CFLAGS |
| 867 |
ENABLE_APPINDICATOR_FALSE |
| 868 |
ENABLE_APPINDICATOR_TRUE |
| 869 |
ENABLE_WAYLAND_FALSE |
| 870 |
ENABLE_WAYLAND_TRUE |
| 871 |
ENABLE_XIM_FALSE |
| 872 |
ENABLE_XIM_TRUE |
| 873 |
ENABLE_GTK3_OR_4_FALSE |
| 874 |
ENABLE_GTK3_OR_4_TRUE |
| 875 |
ENABLE_GTK4_FALSE |
| 876 |
ENABLE_GTK4_TRUE |
| 877 |
ENABLE_GTK3_FALSE |
| 878 |
ENABLE_GTK3_TRUE |
| 879 |
ENABLE_GTK2_FALSE |
| 880 |
ENABLE_GTK2_TRUE |
| 881 |
ENABLE_TESTS_FALSE |
| 882 |
ENABLE_TESTS_TRUE |
| 883 |
GLIB_LIBS_FOR_BUILD |
| 884 |
GLIB_CFLAGS_FOR_BUILD |
| 885 |
PKG_CONFIG_FOR_BUILD |
| 886 |
GTHREAD2_LIBS |
| 887 |
GTHREAD2_CFLAGS |
| 888 |
GIO2_LIBS |
| 889 |
GIO2_CFLAGS |
| 890 |
GOBJECT2_LIBS |
| 891 |
GOBJECT2_CFLAGS |
| 892 |
GLIB2_LIBS |
| 893 |
GLIB2_CFLAGS |
| 894 |
GLIB_COMPILE_RESOURCES |
| 895 |
GLIB_MKENUMS |
| 896 |
GOBJECT_QUERY |
| 897 |
GLIB_GENMARSHAL |
| 898 |
GLIB_LIBS |
| 899 |
GLIB_CFLAGS |
| 900 |
PKG_CONFIG_LIBDIR |
| 901 |
PKG_CONFIG_PATH |
| 902 |
PKG_CONFIG |
| 903 |
ENDIAN |
| 904 |
CROSS_COMPILING_FALSE |
| 905 |
CROSS_COMPILING_TRUE |
| 906 |
LIBDL |
| 907 |
TEST_CFLAGS |
| 908 |
PRODUCT_LIB_CFLAGS |
| 909 |
LT_SYS_LIBRARY_PATH |
| 910 |
OTOOL64 |
| 911 |
OTOOL |
| 912 |
LIPO |
| 913 |
NMEDIT |
| 914 |
DSYMUTIL |
| 915 |
MANIFEST_TOOL |
| 916 |
RANLIB |
| 917 |
ac_ct_AR |
| 918 |
AR |
| 919 |
DLLTOOL |
| 920 |
OBJDUMP |
| 921 |
FILECMD |
| 922 |
LN_S |
| 923 |
NM |
| 924 |
ac_ct_DUMPBIN |
| 925 |
DUMPBIN |
| 926 |
LD |
| 927 |
FGREP |
| 928 |
EGREP |
| 929 |
GREP |
| 930 |
LIBTOOL |
| 931 |
POSUB |
| 932 |
LTLIBINTL |
| 933 |
LIBINTL |
| 934 |
INTLLIBS |
| 935 |
LTLIBICONV |
| 936 |
LIBICONV |
| 937 |
INTL_MACOSX_LIBS |
| 938 |
host_os |
| 939 |
host_vendor |
| 940 |
host_cpu |
| 941 |
host |
| 942 |
XGETTEXT_EXTRA_OPTIONS |
| 943 |
MSGMERGE |
| 944 |
XGETTEXT_015 |
| 945 |
XGETTEXT |
| 946 |
GMSGFMT_015 |
| 947 |
MSGFMT_015 |
| 948 |
GMSGFMT |
| 949 |
MSGFMT |
| 950 |
GETTEXT_MACRO_VERSION |
| 951 |
USE_NLS |
| 952 |
SED |
| 953 |
LDFLAGS_FOR_BUILD |
| 954 |
CPPFLAGS_FOR_BUILD |
| 955 |
CFLAGS_FOR_BUILD |
| 956 |
BUILD_OBJEXT |
| 957 |
BUILD_EXEEXT |
| 958 |
CPP_FOR_BUILD |
| 959 |
ac_ct_CC_FOR_BUILD |
| 960 |
CC_FOR_BUILD |
| 961 |
build_os |
| 962 |
build_vendor |
| 963 |
build_cpu |
| 964 |
build |
| 965 |
CPP |
| 966 |
VALAC |
| 967 |
DATE_DISPLAY |
| 968 |
GETTEXT_PACKAGE |
| 969 |
LT_CURRENT_MINUS_AGE |
| 970 |
LT_VERSION_INFO |
| 971 |
IBUS_BINARY_VERSION |
| 972 |
IBUS_VERSION |
| 973 |
IBUS_API_VERSION |
| 974 |
IBUS_ABI_AGE |
| 975 |
IBUS_ABI_REVISION |
| 976 |
IBUS_ABI_CURRENT |
| 977 |
IBUS_MICRO_VERSION |
| 978 |
IBUS_MINOR_VERSION |
| 979 |
IBUS_MAJOR_VERSION |
| 980 |
am__fastdepCC_FALSE |
| 981 |
am__fastdepCC_TRUE |
| 982 |
CCDEPMODE |
| 983 |
am__nodep |
| 984 |
AMDEPBACKSLASH |
| 985 |
AMDEP_FALSE |
| 986 |
AMDEP_TRUE |
| 987 |
am__include |
| 988 |
DEPDIR |
| 989 |
OBJEXT |
| 990 |
EXEEXT |
| 991 |
ac_ct_CC |
| 992 |
CPPFLAGS |
| 993 |
LDFLAGS |
| 994 |
CFLAGS |
| 995 |
CC |
| 996 |
MAINT |
| 997 |
MAINTAINER_MODE_FALSE |
| 998 |
MAINTAINER_MODE_TRUE |
| 999 |
am__xargs_n |
| 1000 |
am__rm_f_notfound |
| 1001 |
AM_BACKSLASH |
| 1002 |
AM_DEFAULT_VERBOSITY |
| 1003 |
AM_DEFAULT_V |
| 1004 |
AM_V |
| 1005 |
CSCOPE |
| 1006 |
ETAGS |
| 1007 |
CTAGS |
| 1008 |
am__untar |
| 1009 |
am__tar |
| 1010 |
AMTAR |
| 1011 |
am__leading_dot |
| 1012 |
SET_MAKE |
| 1013 |
AWK |
| 1014 |
mkdir_p |
| 1015 |
MKDIR_P |
| 1016 |
INSTALL_STRIP_PROGRAM |
| 1017 |
STRIP |
| 1018 |
install_sh |
| 1019 |
MAKEINFO |
| 1020 |
AUTOHEADER |
| 1021 |
AUTOMAKE |
| 1022 |
AUTOCONF |
| 1023 |
ACLOCAL |
| 1024 |
VERSION |
| 1025 |
PACKAGE |
| 1026 |
CYGPATH_W |
| 1027 |
am__isrc |
| 1028 |
INSTALL_DATA |
| 1029 |
INSTALL_SCRIPT |
| 1030 |
INSTALL_PROGRAM |
| 1031 |
VALA_TARGET_GLIB_VERSION |
| 1032 |
target_alias |
| 1033 |
host_alias |
| 1034 |
build_alias |
| 1035 |
LIBS |
| 1036 |
ECHO_T |
| 1037 |
ECHO_N |
| 1038 |
ECHO_C |
| 1039 |
DEFS |
| 1040 |
mandir |
| 1041 |
localedir |
| 1042 |
libdir |
| 1043 |
psdir |
| 1044 |
pdfdir |
| 1045 |
dvidir |
| 1046 |
htmldir |
| 1047 |
infodir |
| 1048 |
docdir |
| 1049 |
oldincludedir |
| 1050 |
includedir |
| 1051 |
runstatedir |
| 1052 |
localstatedir |
| 1053 |
sharedstatedir |
| 1054 |
sysconfdir |
| 1055 |
datadir |
| 1056 |
datarootdir |
| 1057 |
libexecdir |
| 1058 |
sbindir |
| 1059 |
bindir |
| 1060 |
program_transform_name |
| 1061 |
prefix |
| 1062 |
exec_prefix |
| 1063 |
PACKAGE_URL |
| 1064 |
PACKAGE_BUGREPORT |
| 1065 |
PACKAGE_STRING |
| 1066 |
PACKAGE_VERSION |
| 1067 |
PACKAGE_TARNAME |
| 1068 |
PACKAGE_NAME |
| 1069 |
PATH_SEPARATOR |
| 1070 |
SHELL |
| 1071 |
am__quote' |
| 1072 |
ac_subst_files='wayland_scanner_rules' |
| 1073 |
ac_user_opts=' |
| 1074 |
enable_option_checking |
| 1075 |
enable_silent_rules |
| 1076 |
enable_maintainer_mode |
| 1077 |
enable_dependency_tracking |
| 1078 |
enable_nls |
| 1079 |
with_gnu_ld |
| 1080 |
enable_rpath |
| 1081 |
with_libiconv_prefix |
| 1082 |
with_libintl_prefix |
| 1083 |
enable_static |
| 1084 |
enable_shared |
| 1085 |
enable_pic |
| 1086 |
with_pic |
| 1087 |
enable_fast_install |
| 1088 |
enable_aix_soname |
| 1089 |
with_aix_soname |
| 1090 |
with_sysroot |
| 1091 |
enable_libtool_lock |
| 1092 |
enable_product_build |
| 1093 |
enable_glibtest |
| 1094 |
enable_tests |
| 1095 |
enable_gtk2 |
| 1096 |
enable_gtk3 |
| 1097 |
enable_gtk4 |
| 1098 |
enable_xim |
| 1099 |
enable_wayland |
| 1100 |
enable_appindicator |
| 1101 |
enable_introspection |
| 1102 |
enable_vala |
| 1103 |
with_html_dir |
| 1104 |
enable_gtk_doc |
| 1105 |
enable_gtk_doc_html |
| 1106 |
enable_gtk_doc_pdf |
| 1107 |
enable_memconf |
| 1108 |
enable_dconf |
| 1109 |
enable_schemas_compile |
| 1110 |
enable_systemd_services |
| 1111 |
enable_python2 |
| 1112 |
enable_python_library |
| 1113 |
enable_setup |
| 1114 |
with_python |
| 1115 |
with_python_sys_prefix |
| 1116 |
with_python_prefix |
| 1117 |
with_python_exec_prefix |
| 1118 |
with_python_overrides_dir |
| 1119 |
with_gtk2_im_module_dir |
| 1120 |
with_gtk3_im_module_dir |
| 1121 |
with_gtk4_im_module_dir |
| 1122 |
enable_dbus_python_check |
| 1123 |
enable_key_snooper |
| 1124 |
with_no_snooper_apps |
| 1125 |
with_panel_icon_keyboard |
| 1126 |
enable_surrounding_text |
| 1127 |
enable_ui |
| 1128 |
enable_engine |
| 1129 |
enable_libnotify |
| 1130 |
enable_install_tests |
| 1131 |
enable_emoji_dict |
| 1132 |
with_unicode_emoji_dir |
| 1133 |
with_emoji_annotation_dir |
| 1134 |
enable_unicode_dict |
| 1135 |
with_ucd_dir |
| 1136 |
with_socket_dir |
| 1137 |
' |
| 1138 |
ac_precious_vars='build_alias |
| 1139 |
host_alias |
| 1140 |
target_alias |
| 1141 |
CC |
| 1142 |
CFLAGS |
| 1143 |
LDFLAGS |
| 1144 |
LIBS |
| 1145 |
CPPFLAGS |
| 1146 |
CPP |
| 1147 |
LT_SYS_LIBRARY_PATH |
| 1148 |
PKG_CONFIG |
| 1149 |
PKG_CONFIG_PATH |
| 1150 |
PKG_CONFIG_LIBDIR |
| 1151 |
GLIB_CFLAGS |
| 1152 |
GLIB_LIBS |
| 1153 |
GLIB_GENMARSHAL |
| 1154 |
GOBJECT_QUERY |
| 1155 |
GLIB_MKENUMS |
| 1156 |
GLIB_COMPILE_RESOURCES |
| 1157 |
GLIB2_CFLAGS |
| 1158 |
GLIB2_LIBS |
| 1159 |
GOBJECT2_CFLAGS |
| 1160 |
GOBJECT2_LIBS |
| 1161 |
GIO2_CFLAGS |
| 1162 |
GIO2_LIBS |
| 1163 |
GTHREAD2_CFLAGS |
| 1164 |
GTHREAD2_LIBS |
| 1165 |
PKG_CONFIG_FOR_BUILD |
| 1166 |
GTK2_CFLAGS |
| 1167 |
GTK2_LIBS |
| 1168 |
GTK3_CFLAGS |
| 1169 |
GTK3_LIBS |
| 1170 |
GTK4_CFLAGS |
| 1171 |
GTK4_LIBS |
| 1172 |
X11_CFLAGS |
| 1173 |
X11_LIBS |
| 1174 |
WAYLAND_CFLAGS |
| 1175 |
WAYLAND_LIBS |
| 1176 |
WAYLAND_SCANNER_CFLAGS |
| 1177 |
WAYLAND_SCANNER_LIBS |
| 1178 |
GTKDOC_DEPS_CFLAGS |
| 1179 |
GTKDOC_DEPS_LIBS |
| 1180 |
DBUS_CFLAGS |
| 1181 |
DBUS_LIBS |
| 1182 |
DCONF_CFLAGS |
| 1183 |
DCONF_LIBS |
| 1184 |
GLIB_COMPILE_SCHEMAS |
| 1185 |
SYSTEMD_CFLAGS |
| 1186 |
SYSTEMD_LIBS |
| 1187 |
PYTHON |
| 1188 |
PYTHON_CFLAGS |
| 1189 |
PYTHON_LIBS |
| 1190 |
DBUS_PYTHON_CFLAGS |
| 1191 |
DBUS_PYTHON_LIBS |
| 1192 |
DBUSMENU_GLIB_CFLAGS |
| 1193 |
DBUSMENU_GLIB_LIBS |
| 1194 |
DBUSMENU_GTK3_CFLAGS |
| 1195 |
DBUSMENU_GTK3_LIBS |
| 1196 |
LIBNOTIFY_CFLAGS |
| 1197 |
LIBNOTIFY_LIBS |
| 1198 |
LIBEVDEV_CFLAGS |
| 1199 |
LIBEVDEV_LIBS |
| 1200 |
XFIXES_CFLAGS |
| 1201 |
XFIXES_LIBS |
| 1202 |
ISOCODES_CFLAGS |
| 1203 |
ISOCODES_LIBS |
| 1204 |
XKBCONFIG_CFLAGS |
| 1205 |
XKBCONFIG_LIBS' |
| 1206 |
|
| 1207 |
|
| 1208 |
# Initialize some variables set by options. |
| 1209 |
ac_init_help= |
| 1210 |
ac_init_version=false |
| 1211 |
ac_unrecognized_opts= |
| 1212 |
ac_unrecognized_sep= |
| 1213 |
# The variables have the same names as the options, with |
| 1214 |
# dashes changed to underlines. |
| 1215 |
cache_file=/dev/null |
| 1216 |
exec_prefix=NONE |
| 1217 |
no_create= |
| 1218 |
no_recursion= |
| 1219 |
prefix=NONE |
| 1220 |
program_prefix=NONE |
| 1221 |
program_suffix=NONE |
| 1222 |
program_transform_name=s,x,x, |
| 1223 |
silent= |
| 1224 |
site= |
| 1225 |
srcdir= |
| 1226 |
verbose= |
| 1227 |
x_includes=NONE |
| 1228 |
x_libraries=NONE |
| 1229 |
|
| 1230 |
# Installation directory options. |
| 1231 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
| 1232 |
# and all the variables that are supposed to be based on exec_prefix |
| 1233 |
# by default will actually change. |
| 1234 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
| 1235 |
# (The list follows the same order as the GNU Coding Standards.) |
| 1236 |
bindir='${exec_prefix}/bin' |
| 1237 |
sbindir='${exec_prefix}/sbin' |
| 1238 |
libexecdir='${exec_prefix}/libexec' |
| 1239 |
datarootdir='${prefix}/share' |
| 1240 |
datadir='${datarootdir}' |
| 1241 |
sysconfdir='${prefix}/etc' |
| 1242 |
sharedstatedir='${prefix}/com' |
| 1243 |
localstatedir='${prefix}/var' |
| 1244 |
runstatedir='${localstatedir}/run' |
| 1245 |
includedir='${prefix}/include' |
| 1246 |
oldincludedir='/usr/include' |
| 1247 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 1248 |
infodir='${datarootdir}/info' |
| 1249 |
htmldir='${docdir}' |
| 1250 |
dvidir='${docdir}' |
| 1251 |
pdfdir='${docdir}' |
| 1252 |
psdir='${docdir}' |
| 1253 |
libdir='${exec_prefix}/lib' |
| 1254 |
localedir='${datarootdir}/locale' |
| 1255 |
mandir='${datarootdir}/man' |
| 1256 |
|
| 1257 |
ac_prev= |
| 1258 |
ac_dashdash= |
| 1259 |
for ac_option |
| 1260 |
do |
| 1261 |
# If the previous option needs an argument, assign it. |
| 1262 |
if test -n "$ac_prev"; then |
| 1263 |
eval $ac_prev=\$ac_option |
| 1264 |
ac_prev= |
| 1265 |
continue |
| 1266 |
fi |
| 1267 |
|
| 1268 |
case $ac_option in |
| 1269 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 1270 |
*=) ac_optarg= ;; |
| 1271 |
*) ac_optarg=yes ;; |
| 1272 |
esac |
| 1273 |
|
| 1274 |
case $ac_dashdash$ac_option in |
| 1275 |
--) |
| 1276 |
ac_dashdash=yes ;; |
| 1277 |
|
| 1278 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 1279 |
ac_prev=bindir ;; |
| 1280 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| 1281 |
bindir=$ac_optarg ;; |
| 1282 |
|
| 1283 |
-build | --build | --buil | --bui | --bu) |
| 1284 |
ac_prev=build_alias ;; |
| 1285 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 1286 |
build_alias=$ac_optarg ;; |
| 1287 |
|
| 1288 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 1289 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 1290 |
ac_prev=cache_file ;; |
| 1291 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 1292 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| 1293 |
cache_file=$ac_optarg ;; |
| 1294 |
|
| 1295 |
--config-cache | -C) |
| 1296 |
cache_file=config.cache ;; |
| 1297 |
|
| 1298 |
-datadir | --datadir | --datadi | --datad) |
| 1299 |
ac_prev=datadir ;; |
| 1300 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
| 1301 |
datadir=$ac_optarg ;; |
| 1302 |
|
| 1303 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
| 1304 |
| --dataroo | --dataro | --datar) |
| 1305 |
ac_prev=datarootdir ;; |
| 1306 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
| 1307 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
| 1308 |
datarootdir=$ac_optarg ;; |
| 1309 |
|
| 1310 |
-disable-* | --disable-*) |
| 1311 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 1312 |
# Reject names that are not valid shell variable names. |
| 1313 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1314 |
as_fn_error $? "invalid feature name: '$ac_useropt'" |
| 1315 |
ac_useropt_orig=$ac_useropt |
| 1316 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1317 |
case $ac_user_opts in |
| 1318 |
*" |
| 1319 |
"enable_$ac_useropt" |
| 1320 |
"*) ;; |
| 1321 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
| 1322 |
ac_unrecognized_sep=', ';; |
| 1323 |
esac |
| 1324 |
eval enable_$ac_useropt=no ;; |
| 1325 |
|
| 1326 |
-docdir | --docdir | --docdi | --doc | --do) |
| 1327 |
ac_prev=docdir ;; |
| 1328 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
| 1329 |
docdir=$ac_optarg ;; |
| 1330 |
|
| 1331 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
| 1332 |
ac_prev=dvidir ;; |
| 1333 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
| 1334 |
dvidir=$ac_optarg ;; |
| 1335 |
|
| 1336 |
-enable-* | --enable-*) |
| 1337 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 1338 |
# Reject names that are not valid shell variable names. |
| 1339 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1340 |
as_fn_error $? "invalid feature name: '$ac_useropt'" |
| 1341 |
ac_useropt_orig=$ac_useropt |
| 1342 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1343 |
case $ac_user_opts in |
| 1344 |
*" |
| 1345 |
"enable_$ac_useropt" |
| 1346 |
"*) ;; |
| 1347 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
| 1348 |
ac_unrecognized_sep=', ';; |
| 1349 |
esac |
| 1350 |
eval enable_$ac_useropt=\$ac_optarg ;; |
| 1351 |
|
| 1352 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 1353 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 1354 |
| --exec | --exe | --ex) |
| 1355 |
ac_prev=exec_prefix ;; |
| 1356 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| 1357 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| 1358 |
| --exec=* | --exe=* | --ex=*) |
| 1359 |
exec_prefix=$ac_optarg ;; |
| 1360 |
|
| 1361 |
-gas | --gas | --ga | --g) |
| 1362 |
# Obsolete; use --with-gas. |
| 1363 |
with_gas=yes ;; |
| 1364 |
|
| 1365 |
-help | --help | --hel | --he | -h) |
| 1366 |
ac_init_help=long ;; |
| 1367 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
| 1368 |
ac_init_help=recursive ;; |
| 1369 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
| 1370 |
ac_init_help=short ;; |
| 1371 |
|
| 1372 |
-host | --host | --hos | --ho) |
| 1373 |
ac_prev=host_alias ;; |
| 1374 |
-host=* | --host=* | --hos=* | --ho=*) |
| 1375 |
host_alias=$ac_optarg ;; |
| 1376 |
|
| 1377 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
| 1378 |
ac_prev=htmldir ;; |
| 1379 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
| 1380 |
| --ht=*) |
| 1381 |
htmldir=$ac_optarg ;; |
| 1382 |
|
| 1383 |
-includedir | --includedir | --includedi | --included | --include \ |
| 1384 |
| --includ | --inclu | --incl | --inc) |
| 1385 |
ac_prev=includedir ;; |
| 1386 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| 1387 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
| 1388 |
includedir=$ac_optarg ;; |
| 1389 |
|
| 1390 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
| 1391 |
ac_prev=infodir ;; |
| 1392 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| 1393 |
infodir=$ac_optarg ;; |
| 1394 |
|
| 1395 |
-libdir | --libdir | --libdi | --libd) |
| 1396 |
ac_prev=libdir ;; |
| 1397 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
| 1398 |
libdir=$ac_optarg ;; |
| 1399 |
|
| 1400 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| 1401 |
| --libexe | --libex | --libe) |
| 1402 |
ac_prev=libexecdir ;; |
| 1403 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| 1404 |
| --libexe=* | --libex=* | --libe=*) |
| 1405 |
libexecdir=$ac_optarg ;; |
| 1406 |
|
| 1407 |
-localedir | --localedir | --localedi | --localed | --locale) |
| 1408 |
ac_prev=localedir ;; |
| 1409 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
| 1410 |
localedir=$ac_optarg ;; |
| 1411 |
|
| 1412 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 1413 |
| --localstate | --localstat | --localsta | --localst | --locals) |
| 1414 |
ac_prev=localstatedir ;; |
| 1415 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 1416 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| 1417 |
localstatedir=$ac_optarg ;; |
| 1418 |
|
| 1419 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 1420 |
ac_prev=mandir ;; |
| 1421 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| 1422 |
mandir=$ac_optarg ;; |
| 1423 |
|
| 1424 |
-nfp | --nfp | --nf) |
| 1425 |
# Obsolete; use --without-fp. |
| 1426 |
with_fp=no ;; |
| 1427 |
|
| 1428 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 1429 |
| --no-cr | --no-c | -n) |
| 1430 |
no_create=yes ;; |
| 1431 |
|
| 1432 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 1433 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| 1434 |
no_recursion=yes ;; |
| 1435 |
|
| 1436 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
| 1437 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
| 1438 |
| --oldin | --oldi | --old | --ol | --o) |
| 1439 |
ac_prev=oldincludedir ;; |
| 1440 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| 1441 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| 1442 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| 1443 |
oldincludedir=$ac_optarg ;; |
| 1444 |
|
| 1445 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 1446 |
ac_prev=prefix ;; |
| 1447 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 1448 |
prefix=$ac_optarg ;; |
| 1449 |
|
| 1450 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| 1451 |
| --program-pre | --program-pr | --program-p) |
| 1452 |
ac_prev=program_prefix ;; |
| 1453 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| 1454 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| 1455 |
program_prefix=$ac_optarg ;; |
| 1456 |
|
| 1457 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| 1458 |
| --program-suf | --program-su | --program-s) |
| 1459 |
ac_prev=program_suffix ;; |
| 1460 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| 1461 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| 1462 |
program_suffix=$ac_optarg ;; |
| 1463 |
|
| 1464 |
-program-transform-name | --program-transform-name \ |
| 1465 |
| --program-transform-nam | --program-transform-na \ |
| 1466 |
| --program-transform-n | --program-transform- \ |
| 1467 |
| --program-transform | --program-transfor \ |
| 1468 |
| --program-transfo | --program-transf \ |
| 1469 |
| --program-trans | --program-tran \ |
| 1470 |
| --progr-tra | --program-tr | --program-t) |
| 1471 |
ac_prev=program_transform_name ;; |
| 1472 |
-program-transform-name=* | --program-transform-name=* \ |
| 1473 |
| --program-transform-nam=* | --program-transform-na=* \ |
| 1474 |
| --program-transform-n=* | --program-transform-=* \ |
| 1475 |
| --program-transform=* | --program-transfor=* \ |
| 1476 |
| --program-transfo=* | --program-transf=* \ |
| 1477 |
| --program-trans=* | --program-tran=* \ |
| 1478 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
| 1479 |
program_transform_name=$ac_optarg ;; |
| 1480 |
|
| 1481 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
| 1482 |
ac_prev=pdfdir ;; |
| 1483 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
| 1484 |
pdfdir=$ac_optarg ;; |
| 1485 |
|
| 1486 |
-psdir | --psdir | --psdi | --psd | --ps) |
| 1487 |
ac_prev=psdir ;; |
| 1488 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
| 1489 |
psdir=$ac_optarg ;; |
| 1490 |
|
| 1491 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1492 |
| -silent | --silent | --silen | --sile | --sil) |
| 1493 |
silent=yes ;; |
| 1494 |
|
| 1495 |
-runstatedir | --runstatedir | --runstatedi | --runstated \ |
| 1496 |
| --runstate | --runstat | --runsta | --runst | --runs \ |
| 1497 |
| --run | --ru | --r) |
| 1498 |
ac_prev=runstatedir ;; |
| 1499 |
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
| 1500 |
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
| 1501 |
| --run=* | --ru=* | --r=*) |
| 1502 |
runstatedir=$ac_optarg ;; |
| 1503 |
|
| 1504 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 1505 |
ac_prev=sbindir ;; |
| 1506 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 1507 |
| --sbi=* | --sb=*) |
| 1508 |
sbindir=$ac_optarg ;; |
| 1509 |
|
| 1510 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| 1511 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| 1512 |
| --sharedst | --shareds | --shared | --share | --shar \ |
| 1513 |
| --sha | --sh) |
| 1514 |
ac_prev=sharedstatedir ;; |
| 1515 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
| 1516 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| 1517 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| 1518 |
| --sha=* | --sh=*) |
| 1519 |
sharedstatedir=$ac_optarg ;; |
| 1520 |
|
| 1521 |
-site | --site | --sit) |
| 1522 |
ac_prev=site ;; |
| 1523 |
-site=* | --site=* | --sit=*) |
| 1524 |
site=$ac_optarg ;; |
| 1525 |
|
| 1526 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 1527 |
ac_prev=srcdir ;; |
| 1528 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 1529 |
srcdir=$ac_optarg ;; |
| 1530 |
|
| 1531 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| 1532 |
| --syscon | --sysco | --sysc | --sys | --sy) |
| 1533 |
ac_prev=sysconfdir ;; |
| 1534 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| 1535 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| 1536 |
sysconfdir=$ac_optarg ;; |
| 1537 |
|
| 1538 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
| 1539 |
ac_prev=target_alias ;; |
| 1540 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 1541 |
target_alias=$ac_optarg ;; |
| 1542 |
|
| 1543 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 1544 |
verbose=yes ;; |
| 1545 |
|
| 1546 |
-version | --version | --versio | --versi | --vers | -V) |
| 1547 |
ac_init_version=: ;; |
| 1548 |
|
| 1549 |
-with-* | --with-*) |
| 1550 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1551 |
# Reject names that are not valid shell variable names. |
| 1552 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1553 |
as_fn_error $? "invalid package name: '$ac_useropt'" |
| 1554 |
ac_useropt_orig=$ac_useropt |
| 1555 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1556 |
case $ac_user_opts in |
| 1557 |
*" |
| 1558 |
"with_$ac_useropt" |
| 1559 |
"*) ;; |
| 1560 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
| 1561 |
ac_unrecognized_sep=', ';; |
| 1562 |
esac |
| 1563 |
eval with_$ac_useropt=\$ac_optarg ;; |
| 1564 |
|
| 1565 |
-without-* | --without-*) |
| 1566 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1567 |
# Reject names that are not valid shell variable names. |
| 1568 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1569 |
as_fn_error $? "invalid package name: '$ac_useropt'" |
| 1570 |
ac_useropt_orig=$ac_useropt |
| 1571 |
ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1572 |
case $ac_user_opts in |
| 1573 |
*" |
| 1574 |
"with_$ac_useropt" |
| 1575 |
"*) ;; |
| 1576 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
| 1577 |
ac_unrecognized_sep=', ';; |
| 1578 |
esac |
| 1579 |
eval with_$ac_useropt=no ;; |
| 1580 |
|
| 1581 |
--x) |
| 1582 |
# Obsolete; use --with-x. |
| 1583 |
with_x=yes ;; |
| 1584 |
|
| 1585 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
| 1586 |
| --x-incl | --x-inc | --x-in | --x-i) |
| 1587 |
ac_prev=x_includes ;; |
| 1588 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| 1589 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| 1590 |
x_includes=$ac_optarg ;; |
| 1591 |
|
| 1592 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| 1593 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| 1594 |
ac_prev=x_libraries ;; |
| 1595 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| 1596 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1597 |
x_libraries=$ac_optarg ;; |
| 1598 |
|
| 1599 |
-*) as_fn_error $? "unrecognized option: '$ac_option' |
| 1600 |
Try '$0 --help' for more information" |
| 1601 |
;; |
| 1602 |
|
| 1603 |
*=*) |
| 1604 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
| 1605 |
# Reject names that are not valid shell variable names. |
| 1606 |
case $ac_envvar in #( |
| 1607 |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 1608 |
as_fn_error $? "invalid variable name: '$ac_envvar'" ;; |
| 1609 |
esac |
| 1610 |
eval $ac_envvar=\$ac_optarg |
| 1611 |
export $ac_envvar ;; |
| 1612 |
|
| 1613 |
*) |
| 1614 |
# FIXME: should be removed in autoconf 3.0. |
| 1615 |
printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1616 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1617 |
printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1618 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| 1619 |
;; |
| 1620 |
|
| 1621 |
esac |
| 1622 |
done |
| 1623 |
|
| 1624 |
if test -n "$ac_prev"; then |
| 1625 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1626 |
as_fn_error $? "missing argument to $ac_option" |
| 1627 |
fi |
| 1628 |
|
| 1629 |
if test -n "$ac_unrecognized_opts"; then |
| 1630 |
case $enable_option_checking in |
| 1631 |
no) ;; |
| 1632 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
| 1633 |
*) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1634 |
esac |
| 1635 |
fi |
| 1636 |
|
| 1637 |
# Check all directory arguments for consistency. |
| 1638 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 1639 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 1640 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 1641 |
libdir localedir mandir runstatedir |
| 1642 |
do |
| 1643 |
eval ac_val=\$$ac_var |
| 1644 |
# Remove trailing slashes. |
| 1645 |
case $ac_val in |
| 1646 |
*/ ) |
| 1647 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
| 1648 |
eval $ac_var=\$ac_val;; |
| 1649 |
esac |
| 1650 |
# Be sure to have absolute directory names. |
| 1651 |
case $ac_val in |
| 1652 |
[\\/$]* | ?:[\\/]* ) continue;; |
| 1653 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1654 |
esac |
| 1655 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
| 1656 |
done |
| 1657 |
|
| 1658 |
# There might be people who depend on the old broken behavior: '$host' |
| 1659 |
# used to hold the argument of --host etc. |
| 1660 |
# FIXME: To remove some day. |
| 1661 |
build=$build_alias |
| 1662 |
host=$host_alias |
| 1663 |
target=$target_alias |
| 1664 |
|
| 1665 |
# FIXME: To remove some day. |
| 1666 |
if test "x$host_alias" != x; then |
| 1667 |
if test "x$build_alias" = x; then |
| 1668 |
cross_compiling=maybe |
| 1669 |
elif test "x$build_alias" != "x$host_alias"; then |
| 1670 |
cross_compiling=yes |
| 1671 |
fi |
| 1672 |
fi |
| 1673 |
|
| 1674 |
ac_tool_prefix= |
| 1675 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 1676 |
|
| 1677 |
test "$silent" = yes && exec 6>/dev/null |
| 1678 |
|
| 1679 |
|
| 1680 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1681 |
ac_ls_di=`ls -di .` && |
| 1682 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1683 |
as_fn_error $? "working directory cannot be determined" |
| 1684 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1685 |
as_fn_error $? "pwd does not report name of working directory" |
| 1686 |
|
| 1687 |
|
| 1688 |
# Find the source files, if location was not specified. |
| 1689 |
if test -z "$srcdir"; then |
| 1690 |
ac_srcdir_defaulted=yes |
| 1691 |
# Try the directory containing this script, then the parent directory. |
| 1692 |
ac_confdir=`$as_dirname -- "$as_myself" || |
| 1693 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1694 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
| 1695 |
X"$as_myself" : 'X\(//\)$' \| \ |
| 1696 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
| 1697 |
printf "%s\n" X"$as_myself" | |
| 1698 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1699 |
s//\1/ |
| 1700 |
q |
| 1701 |
} |
| 1702 |
/^X\(\/\/\)[^/].*/{ |
| 1703 |
s//\1/ |
| 1704 |
q |
| 1705 |
} |
| 1706 |
/^X\(\/\/\)$/{ |
| 1707 |
s//\1/ |
| 1708 |
q |
| 1709 |
} |
| 1710 |
/^X\(\/\).*/{ |
| 1711 |
s//\1/ |
| 1712 |
q |
| 1713 |
} |
| 1714 |
s/.*/./; q'` |
| 1715 |
srcdir=$ac_confdir |
| 1716 |
if test ! -r "$srcdir/$ac_unique_file"; then |
| 1717 |
srcdir=.. |
| 1718 |
fi |
| 1719 |
else |
| 1720 |
ac_srcdir_defaulted=no |
| 1721 |
fi |
| 1722 |
if test ! -r "$srcdir/$ac_unique_file"; then |
| 1723 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1724 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
| 1725 |
fi |
| 1726 |
ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work" |
| 1727 |
ac_abs_confdir=`( |
| 1728 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
| 1729 |
pwd)` |
| 1730 |
# When building in place, set srcdir=. |
| 1731 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1732 |
srcdir=. |
| 1733 |
fi |
| 1734 |
# Remove unnecessary trailing slashes from srcdir. |
| 1735 |
# Double slashes in file names in object file debugging info |
| 1736 |
# mess up M-x gdb in Emacs. |
| 1737 |
case $srcdir in |
| 1738 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 1739 |
esac |
| 1740 |
for ac_var in $ac_precious_vars; do |
| 1741 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| 1742 |
eval ac_env_${ac_var}_value=\$${ac_var} |
| 1743 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| 1744 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| 1745 |
done |
| 1746 |
|
| 1747 |
# |
| 1748 |
# Report the --help message. |
| 1749 |
# |
| 1750 |
if test "$ac_init_help" = "long"; then |
| 1751 |
# Omit some internal or obsolete options to make the list less imposing. |
| 1752 |
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1753 |
cat <<_ACEOF |
| 1754 |
'configure' configures ibus 1.5.34 to adapt to many kinds of systems. |
| 1755 |
|
| 1756 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1757 |
|
| 1758 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
| 1759 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
| 1760 |
|
| 1761 |
Defaults for the options are specified in brackets. |
| 1762 |
|
| 1763 |
Configuration: |
| 1764 |
-h, --help display this help and exit |
| 1765 |
--help=short display options specific to this package |
| 1766 |
--help=recursive display the short help of all the included packages |
| 1767 |
-V, --version display version information and exit |
| 1768 |
-q, --quiet, --silent do not print 'checking ...' messages |
| 1769 |
--cache-file=FILE cache test results in FILE [disabled] |
| 1770 |
-C, --config-cache alias for '--cache-file=config.cache' |
| 1771 |
-n, --no-create do not create output files |
| 1772 |
--srcdir=DIR find the sources in DIR [configure dir or '..'] |
| 1773 |
|
| 1774 |
Installation directories: |
| 1775 |
--prefix=PREFIX install architecture-independent files in PREFIX |
| 1776 |
[$ac_default_prefix] |
| 1777 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 1778 |
[PREFIX] |
| 1779 |
|
| 1780 |
By default, 'make install' will install all the files in |
| 1781 |
'$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify |
| 1782 |
an installation prefix other than '$ac_default_prefix' using '--prefix', |
| 1783 |
for instance '--prefix=\$HOME'. |
| 1784 |
|
| 1785 |
For better control, use the options below. |
| 1786 |
|
| 1787 |
Fine tuning of the installation directories: |
| 1788 |
--bindir=DIR user executables [EPREFIX/bin] |
| 1789 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
| 1790 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
| 1791 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 1792 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 1793 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 1794 |
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
| 1795 |
--libdir=DIR object code libraries [EPREFIX/lib] |
| 1796 |
--includedir=DIR C header files [PREFIX/include] |
| 1797 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 1798 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| 1799 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
| 1800 |
--infodir=DIR info documentation [DATAROOTDIR/info] |
| 1801 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
| 1802 |
--mandir=DIR man documentation [DATAROOTDIR/man] |
| 1803 |
--docdir=DIR documentation root [DATAROOTDIR/doc/ibus] |
| 1804 |
--htmldir=DIR html documentation [DOCDIR] |
| 1805 |
--dvidir=DIR dvi documentation [DOCDIR] |
| 1806 |
--pdfdir=DIR pdf documentation [DOCDIR] |
| 1807 |
--psdir=DIR ps documentation [DOCDIR] |
| 1808 |
_ACEOF |
| 1809 |
|
| 1810 |
cat <<\_ACEOF |
| 1811 |
|
| 1812 |
Program names: |
| 1813 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
| 1814 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
| 1815 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
| 1816 |
|
| 1817 |
System types: |
| 1818 |
--build=BUILD configure for building on BUILD [guessed] |
| 1819 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
| 1820 |
_ACEOF |
| 1821 |
fi |
| 1822 |
|
| 1823 |
if test -n "$ac_init_help"; then |
| 1824 |
case $ac_init_help in |
| 1825 |
short | recursive ) echo "Configuration of ibus 1.5.34:";; |
| 1826 |
esac |
| 1827 |
cat <<\_ACEOF |
| 1828 |
|
| 1829 |
Optional Features: |
| 1830 |
--disable-option-checking ignore unrecognized --enable/--with options |
| 1831 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1832 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1833 |
--enable-silent-rules less verbose build output (undo: "make V=1") |
| 1834 |
--disable-silent-rules verbose build output (undo: "make V=0") |
| 1835 |
--disable-maintainer-mode |
| 1836 |
disable make rules and dependencies not useful (and |
| 1837 |
sometimes confusing) to the casual installer |
| 1838 |
--enable-dependency-tracking |
| 1839 |
do not reject slow dependency extractors |
| 1840 |
--disable-dependency-tracking |
| 1841 |
speeds up one-time build |
| 1842 |
--disable-nls do not use Native Language Support |
| 1843 |
--disable-rpath do not hardcode runtime library paths |
| 1844 |
--enable-static[=PKGS] build static libraries [default=no] |
| 1845 |
--enable-shared[=PKGS] build shared libraries [default=yes] |
| 1846 |
--enable-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
| 1847 |
both] |
| 1848 |
--enable-fast-install[=PKGS] |
| 1849 |
optimize for fast installation [default=yes] |
| 1850 |
--enable-aix-soname=aix|svr4|both |
| 1851 |
shared library versioning (aka "SONAME") variant to |
| 1852 |
provide on AIX, [default=aix]. |
| 1853 |
--disable-libtool-lock avoid locking (might break parallel builds) |
| 1854 |
--disable-product-build Disable CFLAGS for the product release |
| 1855 |
--disable-glibtest do not try to compile and run a test GLIB program |
| 1856 |
--disable-tests Do not run tests |
| 1857 |
--disable-gtk2 Do not build gtk2 im module |
| 1858 |
--disable-gtk3 Do not build gtk3 im module |
| 1859 |
--enable-gtk4 Build gtk4 im module |
| 1860 |
--disable-xim Do not build xim server |
| 1861 |
--enable-wayland Build wayland support |
| 1862 |
--enable-appindicator Build appindicator support |
| 1863 |
--enable-introspection=[no/auto/yes] |
| 1864 |
Enable introspection for this build |
| 1865 |
--enable-vala=[no/auto/yes] |
| 1866 |
build Vala bindings [default=auto] |
| 1867 |
--enable-gtk-doc use gtk-doc to build documentation [[default=no]] |
| 1868 |
--enable-gtk-doc-html build documentation in html format [[default=yes]] |
| 1869 |
--enable-gtk-doc-pdf build documentation in pdf format [[default=no]] |
| 1870 |
--enable-memconf Enable configure base on memory |
| 1871 |
--disable-dconf Disable configure base on dconf |
| 1872 |
--disable-schemas-compile |
| 1873 |
Disable regeneration of gschemas.compiled on install |
| 1874 |
--disable-systemd-services |
| 1875 |
Disable systemd services installation |
| 1876 |
--disable-python2 Do not install bindings/pygobject/gi and ibus for |
| 1877 |
python2. '--disable-python2' bring |
| 1878 |
'--disable-python-library'. |
| 1879 |
--enable-python-library Use ibus python library |
| 1880 |
--disable-setup Do not use setup ui. |
| 1881 |
--disable-dbus-python-check |
| 1882 |
Do not check dbus-python |
| 1883 |
--disable-key-snooper Always disable key snooper in gtk im module |
| 1884 |
--disable-surrounding-text |
| 1885 |
Disable surrounding-text support |
| 1886 |
--disable-ui Disable ibus default user interface |
| 1887 |
--disable-engine Disable ibus simple engine |
| 1888 |
--disable-libnotify Disable to link libnotify |
| 1889 |
--enable-install-tests Enable to install tests |
| 1890 |
--disable-emoji-dict Do not build Emoji dict files |
| 1891 |
--disable-unicode-dict Do not build Unicode dict files |
| 1892 |
|
| 1893 |
Optional Packages: |
| 1894 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1895 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 1896 |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
| 1897 |
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib |
| 1898 |
--without-libiconv-prefix don't search for libiconv in includedir and libdir |
| 1899 |
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib |
| 1900 |
--without-libintl-prefix don't search for libintl in includedir and libdir |
| 1901 |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
| 1902 |
--with-sysroot[=DIR] Search for dependent libraries within DIR (or the |
| 1903 |
compiler's sysroot if not specified). |
| 1904 |
--with-html-dir=PATH path to installed docs |
| 1905 |
--with-python=PATH Select python2 or python3 |
| 1906 |
--with-python-sys-prefix |
| 1907 |
use Python's sys.prefix and sys.exec_prefix values |
| 1908 |
--with-python_prefix override the default PYTHON_PREFIX |
| 1909 |
--with-python_exec_prefix |
| 1910 |
override the default PYTHON_EXEC_PREFIX |
| 1911 |
--with-python-overrides-dir=DIR |
| 1912 |
Select Python overrides dir |
| 1913 |
--with-gtk2-im-module-dir=DIR |
| 1914 |
Select gtk2 immodule dir |
| 1915 |
--with-gtk3-im-module-dir=DIR |
| 1916 |
Select gtk3 immodule dir |
| 1917 |
--with-gtk4-im-module-dir=DIR |
| 1918 |
Select gtk4 immodule dir |
| 1919 |
--with-no-snooper-apps=regex1,regex2 |
| 1920 |
Does not enable keyboard snooper in those |
| 1921 |
applications (like: .*chrome.*,firefox.*) |
| 1922 |
--with-panel-icon-keyboard=icon_name |
| 1923 |
Set the default panel icon (default: |
| 1924 |
"ibus-keyboard") |
| 1925 |
--with-unicode-emoji-dir=DIR |
| 1926 |
Set the directory of Unicode Emoji. (default: |
| 1927 |
"/usr/share/unicode/emoji") |
| 1928 |
--with-emoji-annotation-dir=DIR |
| 1929 |
Set the directory of CLDR annotation files. |
| 1930 |
(default: |
| 1931 |
"/usr/share/unicode/cldr/common/annotations") |
| 1932 |
--with-ucd-dir=DIR Set the directory of UCD (Unicode Character |
| 1933 |
Database) files. (default: "/usr/share/unicode/ucd") |
| 1934 |
--with-socket-dir=DIR Set the default socket directory to connect |
| 1935 |
ibus-daemon with D-Bus connections (default: |
| 1936 |
"$XDG_CACHE_HOME/ibus"). The best practice of the |
| 1937 |
socket directory would be unique per user not to |
| 1938 |
modify by malicious users but XDG_RUNTIME_DIR is not |
| 1939 |
integrated in BSD systems and the BSD's default is |
| 1940 |
"/tmp". XDG_RUMTIME_DIR is not useful now because |
| 1941 |
XDG_RUMTIME_DIR is available by login but not `su` |
| 1942 |
command but ibus-daemon can be run with su. |
| 1943 |
"$XDG_RUMTIME_DIR", "$XDG_CACHE_HOME", "$UID" are |
| 1944 |
extracted by ibus-daemon. ibus-daemon also runs |
| 1945 |
mkdir for the socket directory since BSD systems do |
| 1946 |
not support abstract socket paths. The socket path |
| 1947 |
on a NFS mount would not be a good idea likes |
| 1948 |
"/home/$USER" because the directory is not sometimes |
| 1949 |
accessible with the network condition. |
| 1950 |
|
| 1951 |
Some influential environment variables: |
| 1952 |
CC C compiler command |
| 1953 |
CFLAGS C compiler flags |
| 1954 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1955 |
nonstandard directory <lib dir> |
| 1956 |
LIBS libraries to pass to the linker, e.g. -l<library> |
| 1957 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 1958 |
you have headers in a nonstandard directory <include dir> |
| 1959 |
CPP C preprocessor |
| 1960 |
LT_SYS_LIBRARY_PATH |
| 1961 |
User-defined run-time library search path. |
| 1962 |
PKG_CONFIG path to pkg-config utility |
| 1963 |
PKG_CONFIG_PATH |
| 1964 |
directories to add to pkg-config's search path |
| 1965 |
PKG_CONFIG_LIBDIR |
| 1966 |
path overriding pkg-config's built-in search path |
| 1967 |
GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config |
| 1968 |
GLIB_LIBS linker flags for GLIB, overriding pkg-config |
| 1969 |
GLIB_GENMARSHAL |
| 1970 |
value of glib_genmarshal for glib-2.0, overriding pkg-config |
| 1971 |
GOBJECT_QUERY |
| 1972 |
value of gobject_query for glib-2.0, overriding pkg-config |
| 1973 |
GLIB_MKENUMS |
| 1974 |
value of glib_mkenums for glib-2.0, overriding pkg-config |
| 1975 |
GLIB_COMPILE_RESOURCES |
| 1976 |
value of glib_compile_resources for gio-2.0, overriding |
| 1977 |
pkg-config |
| 1978 |
GLIB2_CFLAGS |
| 1979 |
C compiler flags for GLIB2, overriding pkg-config |
| 1980 |
GLIB2_LIBS linker flags for GLIB2, overriding pkg-config |
| 1981 |
GOBJECT2_CFLAGS |
| 1982 |
C compiler flags for GOBJECT2, overriding pkg-config |
| 1983 |
GOBJECT2_LIBS |
| 1984 |
linker flags for GOBJECT2, overriding pkg-config |
| 1985 |
GIO2_CFLAGS C compiler flags for GIO2, overriding pkg-config |
| 1986 |
GIO2_LIBS linker flags for GIO2, overriding pkg-config |
| 1987 |
GTHREAD2_CFLAGS |
| 1988 |
C compiler flags for GTHREAD2, overriding pkg-config |
| 1989 |
GTHREAD2_LIBS |
| 1990 |
linker flags for GTHREAD2, overriding pkg-config |
| 1991 |
PKG_CONFIG_FOR_BUILD |
| 1992 |
path to build system's pkg-config utility |
| 1993 |
GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config |
| 1994 |
GTK2_LIBS linker flags for GTK2, overriding pkg-config |
| 1995 |
GTK3_CFLAGS C compiler flags for GTK3, overriding pkg-config |
| 1996 |
GTK3_LIBS linker flags for GTK3, overriding pkg-config |
| 1997 |
GTK4_CFLAGS C compiler flags for GTK4, overriding pkg-config |
| 1998 |
GTK4_LIBS linker flags for GTK4, overriding pkg-config |
| 1999 |
X11_CFLAGS C compiler flags for X11, overriding pkg-config |
| 2000 |
X11_LIBS linker flags for X11, overriding pkg-config |
| 2001 |
WAYLAND_CFLAGS |
| 2002 |
C compiler flags for WAYLAND, overriding pkg-config |
| 2003 |
WAYLAND_LIBS |
| 2004 |
linker flags for WAYLAND, overriding pkg-config |
| 2005 |
WAYLAND_SCANNER_CFLAGS |
| 2006 |
C compiler flags for WAYLAND_SCANNER, overriding pkg-config |
| 2007 |
WAYLAND_SCANNER_LIBS |
| 2008 |
linker flags for WAYLAND_SCANNER, overriding pkg-config |
| 2009 |
GTKDOC_DEPS_CFLAGS |
| 2010 |
C compiler flags for GTKDOC_DEPS, overriding pkg-config |
| 2011 |
GTKDOC_DEPS_LIBS |
| 2012 |
linker flags for GTKDOC_DEPS, overriding pkg-config |
| 2013 |
DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config |
| 2014 |
DBUS_LIBS linker flags for DBUS, overriding pkg-config |
| 2015 |
DCONF_CFLAGS |
| 2016 |
C compiler flags for DCONF, overriding pkg-config |
| 2017 |
DCONF_LIBS linker flags for DCONF, overriding pkg-config |
| 2018 |
GLIB_COMPILE_SCHEMAS |
| 2019 |
value of glib_compile_schemas for gio-2.0, overriding pkg-config |
| 2020 |
SYSTEMD_CFLAGS |
| 2021 |
C compiler flags for SYSTEMD, overriding pkg-config |
| 2022 |
SYSTEMD_LIBS |
| 2023 |
linker flags for SYSTEMD, overriding pkg-config |
| 2024 |
PYTHON the Python interpreter |
| 2025 |
PYTHON_CFLAGS |
| 2026 |
C compiler flags for PYTHON, overriding pkg-config |
| 2027 |
PYTHON_LIBS linker flags for PYTHON, overriding pkg-config |
| 2028 |
DBUS_PYTHON_CFLAGS |
| 2029 |
C compiler flags for DBUS_PYTHON, overriding pkg-config |
| 2030 |
DBUS_PYTHON_LIBS |
| 2031 |
linker flags for DBUS_PYTHON, overriding pkg-config |
| 2032 |
DBUSMENU_GLIB_CFLAGS |
| 2033 |
C compiler flags for DBUSMENU_GLIB, overriding pkg-config |
| 2034 |
DBUSMENU_GLIB_LIBS |
| 2035 |
linker flags for DBUSMENU_GLIB, overriding pkg-config |
| 2036 |
DBUSMENU_GTK3_CFLAGS |
| 2037 |
C compiler flags for DBUSMENU_GTK3, overriding pkg-config |
| 2038 |
DBUSMENU_GTK3_LIBS |
| 2039 |
linker flags for DBUSMENU_GTK3, overriding pkg-config |
| 2040 |
LIBNOTIFY_CFLAGS |
| 2041 |
C compiler flags for LIBNOTIFY, overriding pkg-config |
| 2042 |
LIBNOTIFY_LIBS |
| 2043 |
linker flags for LIBNOTIFY, overriding pkg-config |
| 2044 |
LIBEVDEV_CFLAGS |
| 2045 |
C compiler flags for LIBEVDEV, overriding pkg-config |
| 2046 |
LIBEVDEV_LIBS |
| 2047 |
linker flags for LIBEVDEV, overriding pkg-config |
| 2048 |
XFIXES_CFLAGS |
| 2049 |
C compiler flags for XFIXES, overriding pkg-config |
| 2050 |
XFIXES_LIBS linker flags for XFIXES, overriding pkg-config |
| 2051 |
ISOCODES_CFLAGS |
| 2052 |
C compiler flags for ISOCODES, overriding pkg-config |
| 2053 |
ISOCODES_LIBS |
| 2054 |
linker flags for ISOCODES, overriding pkg-config |
| 2055 |
XKBCONFIG_CFLAGS |
| 2056 |
C compiler flags for XKBCONFIG, overriding pkg-config |
| 2057 |
XKBCONFIG_LIBS |
| 2058 |
linker flags for XKBCONFIG, overriding pkg-config |
| 2059 |
|
| 2060 |
Use these variables to override the choices made by 'configure' or to help |
| 2061 |
it to find libraries and programs with nonstandard names/locations. |
| 2062 |
|
| 2063 |
Report bugs to <https://github.com/ibus/ibus/issues>. |
| 2064 |
_ACEOF |
| 2065 |
ac_status=$? |
| 2066 |
fi |
| 2067 |
|
| 2068 |
if test "$ac_init_help" = "recursive"; then |
| 2069 |
# If there are subdirs, report their specific --help. |
| 2070 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| 2071 |
test -d "$ac_dir" || |
| 2072 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
| 2073 |
continue |
| 2074 |
ac_builddir=. |
| 2075 |
|
| 2076 |
case "$ac_dir" in |
| 2077 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 2078 |
*) |
| 2079 |
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
| 2080 |
# A ".." for each directory in $ac_dir_suffix. |
| 2081 |
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 2082 |
case $ac_top_builddir_sub in |
| 2083 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 2084 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 2085 |
esac ;; |
| 2086 |
esac |
| 2087 |
ac_abs_top_builddir=$ac_pwd |
| 2088 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 2089 |
# for backward compatibility: |
| 2090 |
ac_top_builddir=$ac_top_build_prefix |
| 2091 |
|
| 2092 |
case $srcdir in |
| 2093 |
.) # We are building in place. |
| 2094 |
ac_srcdir=. |
| 2095 |
ac_top_srcdir=$ac_top_builddir_sub |
| 2096 |
ac_abs_top_srcdir=$ac_pwd ;; |
| 2097 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
| 2098 |
ac_srcdir=$srcdir$ac_dir_suffix; |
| 2099 |
ac_top_srcdir=$srcdir |
| 2100 |
ac_abs_top_srcdir=$srcdir ;; |
| 2101 |
*) # Relative name. |
| 2102 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 2103 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 2104 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 2105 |
esac |
| 2106 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 2107 |
|
| 2108 |
cd "$ac_dir" || { ac_status=$?; continue; } |
| 2109 |
# Check for configure.gnu first; this name is used for a wrapper for |
| 2110 |
# Metaconfig's "Configure" on case-insensitive file systems. |
| 2111 |
if test -f "$ac_srcdir/configure.gnu"; then |
| 2112 |
echo && |
| 2113 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 2114 |
elif test -f "$ac_srcdir/configure"; then |
| 2115 |
echo && |
| 2116 |
$SHELL "$ac_srcdir/configure" --help=recursive |
| 2117 |
else |
| 2118 |
printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 2119 |
fi || ac_status=$? |
| 2120 |
cd "$ac_pwd" || { ac_status=$?; break; } |
| 2121 |
done |
| 2122 |
fi |
| 2123 |
|
| 2124 |
test -n "$ac_init_help" && exit $ac_status |
| 2125 |
if $ac_init_version; then |
| 2126 |
cat <<\_ACEOF |
| 2127 |
ibus configure 1.5.34 |
| 2128 |
generated by GNU Autoconf 2.72 |
| 2129 |
|
| 2130 |
Copyright (C) 2023 Free Software Foundation, Inc. |
| 2131 |
This configure script is free software; the Free Software Foundation |
| 2132 |
gives unlimited permission to copy, distribute and modify it. |
| 2133 |
_ACEOF |
| 2134 |
exit |
| 2135 |
fi |
| 2136 |
|
| 2137 |
## ------------------------ ## |
| 2138 |
## Autoconf initialization. ## |
| 2139 |
## ------------------------ ## |
| 2140 |
|
| 2141 |
# ac_fn_c_try_compile LINENO |
| 2142 |
# -------------------------- |
| 2143 |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
| 2144 |
ac_fn_c_try_compile () |
| 2145 |
{ |
| 2146 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2147 |
rm -f conftest.$ac_objext conftest.beam |
| 2148 |
if { { ac_try="$ac_compile" |
| 2149 |
case "(($ac_try" in |
| 2150 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2151 |
*) ac_try_echo=$ac_try;; |
| 2152 |
esac |
| 2153 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2154 |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 2155 |
(eval "$ac_compile") 2>conftest.err |
| 2156 |
ac_status=$? |
| 2157 |
if test -s conftest.err; then |
| 2158 |
grep -v '^ *+' conftest.err >conftest.er1 |
| 2159 |
cat conftest.er1 >&5 |
| 2160 |
mv -f conftest.er1 conftest.err |
| 2161 |
fi |
| 2162 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2163 |
test $ac_status = 0; } && { |
| 2164 |
test -z "$ac_c_werror_flag" || |
| 2165 |
test ! -s conftest.err |
| 2166 |
} && test -s conftest.$ac_objext |
| 2167 |
then : |
| 2168 |
ac_retval=0 |
| 2169 |
else case e in #( |
| 2170 |
e) printf "%s\n" "$as_me: failed program was:" >&5 |
| 2171 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2172 |
|
| 2173 |
ac_retval=1 ;; |
| 2174 |
esac |
| 2175 |
fi |
| 2176 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2177 |
as_fn_set_status $ac_retval |
| 2178 |
|
| 2179 |
} # ac_fn_c_try_compile |
| 2180 |
|
| 2181 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
| 2182 |
# ------------------------------------------------------- |
| 2183 |
# Tests whether HEADER exists and can be compiled using the include files in |
| 2184 |
# INCLUDES, setting the cache variable VAR accordingly. |
| 2185 |
ac_fn_c_check_header_compile () |
| 2186 |
{ |
| 2187 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2188 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2189 |
printf %s "checking for $2... " >&6; } |
| 2190 |
if eval test \${$3+y} |
| 2191 |
then : |
| 2192 |
printf %s "(cached) " >&6 |
| 2193 |
else case e in #( |
| 2194 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2195 |
/* end confdefs.h. */ |
| 2196 |
$4 |
| 2197 |
#include <$2> |
| 2198 |
_ACEOF |
| 2199 |
if ac_fn_c_try_compile "$LINENO" |
| 2200 |
then : |
| 2201 |
eval "$3=yes" |
| 2202 |
else case e in #( |
| 2203 |
e) eval "$3=no" ;; |
| 2204 |
esac |
| 2205 |
fi |
| 2206 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 2207 |
esac |
| 2208 |
fi |
| 2209 |
eval ac_res=\$$3 |
| 2210 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2211 |
printf "%s\n" "$ac_res" >&6; } |
| 2212 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2213 |
|
| 2214 |
} # ac_fn_c_check_header_compile |
| 2215 |
|
| 2216 |
# ac_fn_c_try_cpp LINENO |
| 2217 |
# ---------------------- |
| 2218 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
| 2219 |
ac_fn_c_try_cpp () |
| 2220 |
{ |
| 2221 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2222 |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
| 2223 |
case "(($ac_try" in |
| 2224 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2225 |
*) ac_try_echo=$ac_try;; |
| 2226 |
esac |
| 2227 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2228 |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 2229 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
| 2230 |
ac_status=$? |
| 2231 |
if test -s conftest.err; then |
| 2232 |
grep -v '^ *+' conftest.err >conftest.er1 |
| 2233 |
cat conftest.er1 >&5 |
| 2234 |
mv -f conftest.er1 conftest.err |
| 2235 |
fi |
| 2236 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2237 |
test $ac_status = 0; } > conftest.i && { |
| 2238 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 2239 |
test ! -s conftest.err |
| 2240 |
} |
| 2241 |
then : |
| 2242 |
ac_retval=0 |
| 2243 |
else case e in #( |
| 2244 |
e) printf "%s\n" "$as_me: failed program was:" >&5 |
| 2245 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2246 |
|
| 2247 |
ac_retval=1 ;; |
| 2248 |
esac |
| 2249 |
fi |
| 2250 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2251 |
as_fn_set_status $ac_retval |
| 2252 |
|
| 2253 |
} # ac_fn_c_try_cpp |
| 2254 |
|
| 2255 |
# ac_fn_c_try_link LINENO |
| 2256 |
# ----------------------- |
| 2257 |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
| 2258 |
ac_fn_c_try_link () |
| 2259 |
{ |
| 2260 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2261 |
rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext |
| 2262 |
if { { ac_try="$ac_link" |
| 2263 |
case "(($ac_try" in |
| 2264 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2265 |
*) ac_try_echo=$ac_try;; |
| 2266 |
esac |
| 2267 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2268 |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 2269 |
(eval "$ac_link") 2>conftest.err |
| 2270 |
ac_status=$? |
| 2271 |
if test -s conftest.err; then |
| 2272 |
grep -v '^ *+' conftest.err >conftest.er1 |
| 2273 |
cat conftest.er1 >&5 |
| 2274 |
mv -f conftest.er1 conftest.err |
| 2275 |
fi |
| 2276 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2277 |
test $ac_status = 0; } && { |
| 2278 |
test -z "$ac_c_werror_flag" || |
| 2279 |
test ! -s conftest.err |
| 2280 |
} && test -s conftest$ac_exeext && { |
| 2281 |
test "$cross_compiling" = yes || |
| 2282 |
test -x conftest$ac_exeext |
| 2283 |
} |
| 2284 |
then : |
| 2285 |
ac_retval=0 |
| 2286 |
else case e in #( |
| 2287 |
e) printf "%s\n" "$as_me: failed program was:" >&5 |
| 2288 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2289 |
|
| 2290 |
ac_retval=1 ;; |
| 2291 |
esac |
| 2292 |
fi |
| 2293 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
| 2294 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
| 2295 |
# interfere with the next link command; also delete a directory that is |
| 2296 |
# left behind by Apple's compiler. We do this before executing the actions. |
| 2297 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 2298 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2299 |
as_fn_set_status $ac_retval |
| 2300 |
|
| 2301 |
} # ac_fn_c_try_link |
| 2302 |
|
| 2303 |
# ac_fn_c_try_run LINENO |
| 2304 |
# ---------------------- |
| 2305 |
# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that |
| 2306 |
# executables *can* be run. |
| 2307 |
ac_fn_c_try_run () |
| 2308 |
{ |
| 2309 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2310 |
if { { ac_try="$ac_link" |
| 2311 |
case "(($ac_try" in |
| 2312 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2313 |
*) ac_try_echo=$ac_try;; |
| 2314 |
esac |
| 2315 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2316 |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 2317 |
(eval "$ac_link") 2>&5 |
| 2318 |
ac_status=$? |
| 2319 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2320 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
| 2321 |
{ { case "(($ac_try" in |
| 2322 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2323 |
*) ac_try_echo=$ac_try;; |
| 2324 |
esac |
| 2325 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2326 |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 2327 |
(eval "$ac_try") 2>&5 |
| 2328 |
ac_status=$? |
| 2329 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2330 |
test $ac_status = 0; }; } |
| 2331 |
then : |
| 2332 |
ac_retval=0 |
| 2333 |
else case e in #( |
| 2334 |
e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5 |
| 2335 |
printf "%s\n" "$as_me: failed program was:" >&5 |
| 2336 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2337 |
|
| 2338 |
ac_retval=$ac_status ;; |
| 2339 |
esac |
| 2340 |
fi |
| 2341 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 2342 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2343 |
as_fn_set_status $ac_retval |
| 2344 |
|
| 2345 |
} # ac_fn_c_try_run |
| 2346 |
|
| 2347 |
# ac_fn_c_check_func LINENO FUNC VAR |
| 2348 |
# ---------------------------------- |
| 2349 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
| 2350 |
ac_fn_c_check_func () |
| 2351 |
{ |
| 2352 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2353 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2354 |
printf %s "checking for $2... " >&6; } |
| 2355 |
if eval test \${$3+y} |
| 2356 |
then : |
| 2357 |
printf %s "(cached) " >&6 |
| 2358 |
else case e in #( |
| 2359 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2360 |
/* end confdefs.h. */ |
| 2361 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
| 2362 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 2363 |
#define $2 innocuous_$2 |
| 2364 |
|
| 2365 |
/* System header to define __stub macros and hopefully few prototypes, |
| 2366 |
which can conflict with char $2 (void); below. */ |
| 2367 |
|
| 2368 |
#include <limits.h> |
| 2369 |
#undef $2 |
| 2370 |
|
| 2371 |
/* Override any GCC internal prototype to avoid an error. |
| 2372 |
Use char because int might match the return type of a GCC |
| 2373 |
builtin and then its argument prototype would still apply. */ |
| 2374 |
#ifdef __cplusplus |
| 2375 |
extern "C" |
| 2376 |
#endif |
| 2377 |
char $2 (void); |
| 2378 |
/* The GNU C library defines this for functions which it implements |
| 2379 |
to always fail with ENOSYS. Some functions are actually named |
| 2380 |
something starting with __ and the normal name is an alias. */ |
| 2381 |
#if defined __stub_$2 || defined __stub___$2 |
| 2382 |
choke me |
| 2383 |
#endif |
| 2384 |
|
| 2385 |
int |
| 2386 |
main (void) |
| 2387 |
{ |
| 2388 |
return $2 (); |
| 2389 |
; |
| 2390 |
return 0; |
| 2391 |
} |
| 2392 |
_ACEOF |
| 2393 |
if ac_fn_c_try_link "$LINENO" |
| 2394 |
then : |
| 2395 |
eval "$3=yes" |
| 2396 |
else case e in #( |
| 2397 |
e) eval "$3=no" ;; |
| 2398 |
esac |
| 2399 |
fi |
| 2400 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 2401 |
conftest$ac_exeext conftest.$ac_ext ;; |
| 2402 |
esac |
| 2403 |
fi |
| 2404 |
eval ac_res=\$$3 |
| 2405 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2406 |
printf "%s\n" "$ac_res" >&6; } |
| 2407 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2408 |
|
| 2409 |
} # ac_fn_c_check_func |
| 2410 |
ac_configure_args_raw= |
| 2411 |
for ac_arg |
| 2412 |
do |
| 2413 |
case $ac_arg in |
| 2414 |
*\'*) |
| 2415 |
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 2416 |
esac |
| 2417 |
as_fn_append ac_configure_args_raw " '$ac_arg'" |
| 2418 |
done |
| 2419 |
|
| 2420 |
case $ac_configure_args_raw in |
| 2421 |
*$as_nl*) |
| 2422 |
ac_safe_unquote= ;; |
| 2423 |
*) |
| 2424 |
ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. |
| 2425 |
ac_unsafe_a="$ac_unsafe_z#~" |
| 2426 |
ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" |
| 2427 |
ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; |
| 2428 |
esac |
| 2429 |
|
| 2430 |
cat >config.log <<_ACEOF |
| 2431 |
This file contains any messages produced by compilers while |
| 2432 |
running configure, to aid debugging if configure makes a mistake. |
| 2433 |
|
| 2434 |
It was created by ibus $as_me 1.5.34, which was |
| 2435 |
generated by GNU Autoconf 2.72. Invocation command line was |
| 2436 |
|
| 2437 |
$ $0$ac_configure_args_raw |
| 2438 |
|
| 2439 |
_ACEOF |
| 2440 |
exec 5>>config.log |
| 2441 |
{ |
| 2442 |
cat <<_ASUNAME |
| 2443 |
## --------- ## |
| 2444 |
## Platform. ## |
| 2445 |
## --------- ## |
| 2446 |
|
| 2447 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 2448 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
| 2449 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
| 2450 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
| 2451 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
| 2452 |
|
| 2453 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
| 2454 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
| 2455 |
|
| 2456 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
| 2457 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
| 2458 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
| 2459 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
| 2460 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
| 2461 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
| 2462 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
| 2463 |
|
| 2464 |
_ASUNAME |
| 2465 |
|
| 2466 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2467 |
for as_dir in $PATH |
| 2468 |
do |
| 2469 |
IFS=$as_save_IFS |
| 2470 |
case $as_dir in #((( |
| 2471 |
'') as_dir=./ ;; |
| 2472 |
*/) ;; |
| 2473 |
*) as_dir=$as_dir/ ;; |
| 2474 |
esac |
| 2475 |
printf "%s\n" "PATH: $as_dir" |
| 2476 |
done |
| 2477 |
IFS=$as_save_IFS |
| 2478 |
|
| 2479 |
} >&5 |
| 2480 |
|
| 2481 |
cat >&5 <<_ACEOF |
| 2482 |
|
| 2483 |
|
| 2484 |
## ----------- ## |
| 2485 |
## Core tests. ## |
| 2486 |
## ----------- ## |
| 2487 |
|
| 2488 |
_ACEOF |
| 2489 |
|
| 2490 |
|
| 2491 |
# Keep a trace of the command line. |
| 2492 |
# Strip out --no-create and --no-recursion so they do not pile up. |
| 2493 |
# Strip out --silent because we don't want to record it for future runs. |
| 2494 |
# Also quote any args containing shell meta-characters. |
| 2495 |
# Make two passes to allow for proper duplicate-argument suppression. |
| 2496 |
ac_configure_args= |
| 2497 |
ac_configure_args0= |
| 2498 |
ac_configure_args1= |
| 2499 |
ac_must_keep_next=false |
| 2500 |
for ac_pass in 1 2 |
| 2501 |
do |
| 2502 |
for ac_arg |
| 2503 |
do |
| 2504 |
case $ac_arg in |
| 2505 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| 2506 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 2507 |
| -silent | --silent | --silen | --sile | --sil) |
| 2508 |
continue ;; |
| 2509 |
*\'*) |
| 2510 |
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 2511 |
esac |
| 2512 |
case $ac_pass in |
| 2513 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
| 2514 |
2) |
| 2515 |
as_fn_append ac_configure_args1 " '$ac_arg'" |
| 2516 |
if test $ac_must_keep_next = true; then |
| 2517 |
ac_must_keep_next=false # Got value, back to normal. |
| 2518 |
else |
| 2519 |
case $ac_arg in |
| 2520 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
| 2521 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 2522 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 2523 |
| -with-* | --with-* | -without-* | --without-* | --x) |
| 2524 |
case "$ac_configure_args0 " in |
| 2525 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 2526 |
esac |
| 2527 |
;; |
| 2528 |
-* ) ac_must_keep_next=true ;; |
| 2529 |
esac |
| 2530 |
fi |
| 2531 |
as_fn_append ac_configure_args " '$ac_arg'" |
| 2532 |
;; |
| 2533 |
esac |
| 2534 |
done |
| 2535 |
done |
| 2536 |
{ ac_configure_args0=; unset ac_configure_args0;} |
| 2537 |
{ ac_configure_args1=; unset ac_configure_args1;} |
| 2538 |
|
| 2539 |
# When interrupted or exit'd, cleanup temporary files, and complete |
| 2540 |
# config.log. We remove comments because anyway the quotes in there |
| 2541 |
# would cause problems or look ugly. |
| 2542 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
| 2543 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 2544 |
trap 'exit_status=$? |
| 2545 |
# Sanitize IFS. |
| 2546 |
IFS=" "" $as_nl" |
| 2547 |
# Save into config.log some information that might help in debugging. |
| 2548 |
{ |
| 2549 |
echo |
| 2550 |
|
| 2551 |
printf "%s\n" "## ---------------- ## |
| 2552 |
## Cache variables. ## |
| 2553 |
## ---------------- ##" |
| 2554 |
echo |
| 2555 |
# The following way of writing the cache mishandles newlines in values, |
| 2556 |
( |
| 2557 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
| 2558 |
eval ac_val=\$$ac_var |
| 2559 |
case $ac_val in #( |
| 2560 |
*${as_nl}*) |
| 2561 |
case $ac_var in #( |
| 2562 |
*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 2563 |
printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 2564 |
esac |
| 2565 |
case $ac_var in #( |
| 2566 |
_ | IFS | as_nl) ;; #( |
| 2567 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 2568 |
*) { eval $ac_var=; unset $ac_var;} ;; |
| 2569 |
esac ;; |
| 2570 |
esac |
| 2571 |
done |
| 2572 |
(set) 2>&1 | |
| 2573 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 2574 |
*${as_nl}ac_space=\ *) |
| 2575 |
sed -n \ |
| 2576 |
"s/'\''/'\''\\\\'\'''\''/g; |
| 2577 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
| 2578 |
;; #( |
| 2579 |
*) |
| 2580 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 2581 |
;; |
| 2582 |
esac | |
| 2583 |
sort |
| 2584 |
) |
| 2585 |
echo |
| 2586 |
|
| 2587 |
printf "%s\n" "## ----------------- ## |
| 2588 |
## Output variables. ## |
| 2589 |
## ----------------- ##" |
| 2590 |
echo |
| 2591 |
for ac_var in $ac_subst_vars |
| 2592 |
do |
| 2593 |
eval ac_val=\$$ac_var |
| 2594 |
case $ac_val in |
| 2595 |
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 2596 |
esac |
| 2597 |
printf "%s\n" "$ac_var='\''$ac_val'\''" |
| 2598 |
done | sort |
| 2599 |
echo |
| 2600 |
|
| 2601 |
if test -n "$ac_subst_files"; then |
| 2602 |
printf "%s\n" "## ------------------- ## |
| 2603 |
## File substitutions. ## |
| 2604 |
## ------------------- ##" |
| 2605 |
echo |
| 2606 |
for ac_var in $ac_subst_files |
| 2607 |
do |
| 2608 |
eval ac_val=\$$ac_var |
| 2609 |
case $ac_val in |
| 2610 |
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 2611 |
esac |
| 2612 |
printf "%s\n" "$ac_var='\''$ac_val'\''" |
| 2613 |
done | sort |
| 2614 |
echo |
| 2615 |
fi |
| 2616 |
|
| 2617 |
if test -s confdefs.h; then |
| 2618 |
printf "%s\n" "## ----------- ## |
| 2619 |
## confdefs.h. ## |
| 2620 |
## ----------- ##" |
| 2621 |
echo |
| 2622 |
cat confdefs.h |
| 2623 |
echo |
| 2624 |
fi |
| 2625 |
test "$ac_signal" != 0 && |
| 2626 |
printf "%s\n" "$as_me: caught signal $ac_signal" |
| 2627 |
printf "%s\n" "$as_me: exit $exit_status" |
| 2628 |
} >&5 |
| 2629 |
rm -f core *.core core.conftest.* && |
| 2630 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 2631 |
exit $exit_status |
| 2632 |
' 0 |
| 2633 |
for ac_signal in 1 2 13 15; do |
| 2634 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
| 2635 |
done |
| 2636 |
ac_signal=0 |
| 2637 |
|
| 2638 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 2639 |
rm -f -r conftest* confdefs.h |
| 2640 |
|
| 2641 |
printf "%s\n" "/* confdefs.h */" > confdefs.h |
| 2642 |
|
| 2643 |
# Predefined preprocessor variables. |
| 2644 |
|
| 2645 |
printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h |
| 2646 |
|
| 2647 |
printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h |
| 2648 |
|
| 2649 |
printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h |
| 2650 |
|
| 2651 |
printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h |
| 2652 |
|
| 2653 |
printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h |
| 2654 |
|
| 2655 |
printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h |
| 2656 |
|
| 2657 |
|
| 2658 |
# Let the site file select an alternate cache file if it wants to. |
| 2659 |
# Prefer an explicitly selected file to automatically selected ones. |
| 2660 |
if test -n "$CONFIG_SITE"; then |
| 2661 |
ac_site_files="$CONFIG_SITE" |
| 2662 |
elif test "x$prefix" != xNONE; then |
| 2663 |
ac_site_files="$prefix/share/config.site $prefix/etc/config.site" |
| 2664 |
else |
| 2665 |
ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
| 2666 |
fi |
| 2667 |
|
| 2668 |
for ac_site_file in $ac_site_files |
| 2669 |
do |
| 2670 |
case $ac_site_file in #( |
| 2671 |
*/*) : |
| 2672 |
;; #( |
| 2673 |
*) : |
| 2674 |
ac_site_file=./$ac_site_file ;; |
| 2675 |
esac |
| 2676 |
if test -f "$ac_site_file" && test -r "$ac_site_file"; then |
| 2677 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 2678 |
printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} |
| 2679 |
sed 's/^/| /' "$ac_site_file" >&5 |
| 2680 |
. "$ac_site_file" \ |
| 2681 |
|| { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 2682 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 2683 |
as_fn_error $? "failed to load site script $ac_site_file |
| 2684 |
See 'config.log' for more details" "$LINENO" 5; } |
| 2685 |
fi |
| 2686 |
done |
| 2687 |
|
| 2688 |
if test -r "$cache_file"; then |
| 2689 |
# Some versions of bash will fail to source /dev/null (special files |
| 2690 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
| 2691 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
| 2692 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 2693 |
printf "%s\n" "$as_me: loading cache $cache_file" >&6;} |
| 2694 |
case $cache_file in |
| 2695 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 2696 |
*) . "./$cache_file";; |
| 2697 |
esac |
| 2698 |
fi |
| 2699 |
else |
| 2700 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
| 2701 |
printf "%s\n" "$as_me: creating cache $cache_file" >&6;} |
| 2702 |
>$cache_file |
| 2703 |
fi |
| 2704 |
|
| 2705 |
as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" |
| 2706 |
# Test code for whether the C compiler supports C89 (global declarations) |
| 2707 |
ac_c_conftest_c89_globals=' |
| 2708 |
/* Does the compiler advertise C89 conformance? |
| 2709 |
Do not test the value of __STDC__, because some compilers set it to 0 |
| 2710 |
while being otherwise adequately conformant. */ |
| 2711 |
#if !defined __STDC__ |
| 2712 |
# error "Compiler does not advertise C89 conformance" |
| 2713 |
#endif |
| 2714 |
|
| 2715 |
#include <stddef.h> |
| 2716 |
#include <stdarg.h> |
| 2717 |
struct stat; |
| 2718 |
/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ |
| 2719 |
struct buf { int x; }; |
| 2720 |
struct buf * (*rcsopen) (struct buf *, struct stat *, int); |
| 2721 |
static char *e (char **p, int i) |
| 2722 |
{ |
| 2723 |
return p[i]; |
| 2724 |
} |
| 2725 |
static char *f (char * (*g) (char **, int), char **p, ...) |
| 2726 |
{ |
| 2727 |
char *s; |
| 2728 |
va_list v; |
| 2729 |
va_start (v,p); |
| 2730 |
s = g (p, va_arg (v,int)); |
| 2731 |
va_end (v); |
| 2732 |
return s; |
| 2733 |
} |
| 2734 |
|
| 2735 |
/* C89 style stringification. */ |
| 2736 |
#define noexpand_stringify(a) #a |
| 2737 |
const char *stringified = noexpand_stringify(arbitrary+token=sequence); |
| 2738 |
|
| 2739 |
/* C89 style token pasting. Exercises some of the corner cases that |
| 2740 |
e.g. old MSVC gets wrong, but not very hard. */ |
| 2741 |
#define noexpand_concat(a,b) a##b |
| 2742 |
#define expand_concat(a,b) noexpand_concat(a,b) |
| 2743 |
extern int vA; |
| 2744 |
extern int vbee; |
| 2745 |
#define aye A |
| 2746 |
#define bee B |
| 2747 |
int *pvA = &expand_concat(v,aye); |
| 2748 |
int *pvbee = &noexpand_concat(v,bee); |
| 2749 |
|
| 2750 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 2751 |
function prototypes and stuff, but not \xHH hex character constants. |
| 2752 |
These do not provoke an error unfortunately, instead are silently treated |
| 2753 |
as an "x". The following induces an error, until -std is added to get |
| 2754 |
proper ANSI mode. Curiously \x00 != x always comes out true, for an |
| 2755 |
array size at least. It is necessary to write \x00 == 0 to get something |
| 2756 |
that is true only with -std. */ |
| 2757 |
int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; |
| 2758 |
|
| 2759 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 2760 |
inside strings and character constants. */ |
| 2761 |
#define FOO(x) '\''x'\'' |
| 2762 |
int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; |
| 2763 |
|
| 2764 |
int test (int i, double x); |
| 2765 |
struct s1 {int (*f) (int a);}; |
| 2766 |
struct s2 {int (*f) (double a);}; |
| 2767 |
int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), |
| 2768 |
int, int);' |
| 2769 |
|
| 2770 |
# Test code for whether the C compiler supports C89 (body of main). |
| 2771 |
ac_c_conftest_c89_main=' |
| 2772 |
ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); |
| 2773 |
' |
| 2774 |
|
| 2775 |
# Test code for whether the C compiler supports C99 (global declarations) |
| 2776 |
ac_c_conftest_c99_globals=' |
| 2777 |
/* Does the compiler advertise C99 conformance? */ |
| 2778 |
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L |
| 2779 |
# error "Compiler does not advertise C99 conformance" |
| 2780 |
#endif |
| 2781 |
|
| 2782 |
// See if C++-style comments work. |
| 2783 |
|
| 2784 |
#include <stdbool.h> |
| 2785 |
extern int puts (const char *); |
| 2786 |
extern int printf (const char *, ...); |
| 2787 |
extern int dprintf (int, const char *, ...); |
| 2788 |
extern void *malloc (size_t); |
| 2789 |
extern void free (void *); |
| 2790 |
|
| 2791 |
// Check varargs macros. These examples are taken from C99 6.10.3.5. |
| 2792 |
// dprintf is used instead of fprintf to avoid needing to declare |
| 2793 |
// FILE and stderr. |
| 2794 |
#define debug(...) dprintf (2, __VA_ARGS__) |
| 2795 |
#define showlist(...) puts (#__VA_ARGS__) |
| 2796 |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
| 2797 |
static void |
| 2798 |
test_varargs_macros (void) |
| 2799 |
{ |
| 2800 |
int x = 1234; |
| 2801 |
int y = 5678; |
| 2802 |
debug ("Flag"); |
| 2803 |
debug ("X = %d\n", x); |
| 2804 |
showlist (The first, second, and third items.); |
| 2805 |
report (x>y, "x is %d but y is %d", x, y); |
| 2806 |
} |
| 2807 |
|
| 2808 |
// Check long long types. |
| 2809 |
#define BIG64 18446744073709551615ull |
| 2810 |
#define BIG32 4294967295ul |
| 2811 |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
| 2812 |
#if !BIG_OK |
| 2813 |
#error "your preprocessor is broken" |
| 2814 |
#endif |
| 2815 |
#if BIG_OK |
| 2816 |
#else |
| 2817 |
#error "your preprocessor is broken" |
| 2818 |
#endif |
| 2819 |
static long long int bignum = -9223372036854775807LL; |
| 2820 |
static unsigned long long int ubignum = BIG64; |
| 2821 |
|
| 2822 |
struct incomplete_array |
| 2823 |
{ |
| 2824 |
int datasize; |
| 2825 |
double data[]; |
| 2826 |
}; |
| 2827 |
|
| 2828 |
struct named_init { |
| 2829 |
int number; |
| 2830 |
const wchar_t *name; |
| 2831 |
double average; |
| 2832 |
}; |
| 2833 |
|
| 2834 |
typedef const char *ccp; |
| 2835 |
|
| 2836 |
static inline int |
| 2837 |
test_restrict (ccp restrict text) |
| 2838 |
{ |
| 2839 |
// Iterate through items via the restricted pointer. |
| 2840 |
// Also check for declarations in for loops. |
| 2841 |
for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) |
| 2842 |
continue; |
| 2843 |
return 0; |
| 2844 |
} |
| 2845 |
|
| 2846 |
// Check varargs and va_copy. |
| 2847 |
static bool |
| 2848 |
test_varargs (const char *format, ...) |
| 2849 |
{ |
| 2850 |
va_list args; |
| 2851 |
va_start (args, format); |
| 2852 |
va_list args_copy; |
| 2853 |
va_copy (args_copy, args); |
| 2854 |
|
| 2855 |
const char *str = ""; |
| 2856 |
int number = 0; |
| 2857 |
float fnumber = 0; |
| 2858 |
|
| 2859 |
while (*format) |
| 2860 |
{ |
| 2861 |
switch (*format++) |
| 2862 |
{ |
| 2863 |
case '\''s'\'': // string |
| 2864 |
str = va_arg (args_copy, const char *); |
| 2865 |
break; |
| 2866 |
case '\''d'\'': // int |
| 2867 |
number = va_arg (args_copy, int); |
| 2868 |
break; |
| 2869 |
case '\''f'\'': // float |
| 2870 |
fnumber = va_arg (args_copy, double); |
| 2871 |
break; |
| 2872 |
default: |
| 2873 |
break; |
| 2874 |
} |
| 2875 |
} |
| 2876 |
va_end (args_copy); |
| 2877 |
va_end (args); |
| 2878 |
|
| 2879 |
return *str && number && fnumber; |
| 2880 |
} |
| 2881 |
' |
| 2882 |
|
| 2883 |
# Test code for whether the C compiler supports C99 (body of main). |
| 2884 |
ac_c_conftest_c99_main=' |
| 2885 |
// Check bool. |
| 2886 |
_Bool success = false; |
| 2887 |
success |= (argc != 0); |
| 2888 |
|
| 2889 |
// Check restrict. |
| 2890 |
if (test_restrict ("String literal") == 0) |
| 2891 |
success = true; |
| 2892 |
char *restrict newvar = "Another string"; |
| 2893 |
|
| 2894 |
// Check varargs. |
| 2895 |
success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); |
| 2896 |
test_varargs_macros (); |
| 2897 |
|
| 2898 |
// Check flexible array members. |
| 2899 |
struct incomplete_array *ia = |
| 2900 |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
| 2901 |
ia->datasize = 10; |
| 2902 |
for (int i = 0; i < ia->datasize; ++i) |
| 2903 |
ia->data[i] = i * 1.234; |
| 2904 |
// Work around memory leak warnings. |
| 2905 |
free (ia); |
| 2906 |
|
| 2907 |
// Check named initializers. |
| 2908 |
struct named_init ni = { |
| 2909 |
.number = 34, |
| 2910 |
.name = L"Test wide string", |
| 2911 |
.average = 543.34343, |
| 2912 |
}; |
| 2913 |
|
| 2914 |
ni.number = 58; |
| 2915 |
|
| 2916 |
int dynamic_array[ni.number]; |
| 2917 |
dynamic_array[0] = argv[0][0]; |
| 2918 |
dynamic_array[ni.number - 1] = 543; |
| 2919 |
|
| 2920 |
// work around unused variable warnings |
| 2921 |
ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' |
| 2922 |
|| dynamic_array[ni.number - 1] != 543); |
| 2923 |
' |
| 2924 |
|
| 2925 |
# Test code for whether the C compiler supports C11 (global declarations) |
| 2926 |
ac_c_conftest_c11_globals=' |
| 2927 |
/* Does the compiler advertise C11 conformance? */ |
| 2928 |
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L |
| 2929 |
# error "Compiler does not advertise C11 conformance" |
| 2930 |
#endif |
| 2931 |
|
| 2932 |
// Check _Alignas. |
| 2933 |
char _Alignas (double) aligned_as_double; |
| 2934 |
char _Alignas (0) no_special_alignment; |
| 2935 |
extern char aligned_as_int; |
| 2936 |
char _Alignas (0) _Alignas (int) aligned_as_int; |
| 2937 |
|
| 2938 |
// Check _Alignof. |
| 2939 |
enum |
| 2940 |
{ |
| 2941 |
int_alignment = _Alignof (int), |
| 2942 |
int_array_alignment = _Alignof (int[100]), |
| 2943 |
char_alignment = _Alignof (char) |
| 2944 |
}; |
| 2945 |
_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); |
| 2946 |
|
| 2947 |
// Check _Noreturn. |
| 2948 |
int _Noreturn does_not_return (void) { for (;;) continue; } |
| 2949 |
|
| 2950 |
// Check _Static_assert. |
| 2951 |
struct test_static_assert |
| 2952 |
{ |
| 2953 |
int x; |
| 2954 |
_Static_assert (sizeof (int) <= sizeof (long int), |
| 2955 |
"_Static_assert does not work in struct"); |
| 2956 |
long int y; |
| 2957 |
}; |
| 2958 |
|
| 2959 |
// Check UTF-8 literals. |
| 2960 |
#define u8 syntax error! |
| 2961 |
char const utf8_literal[] = u8"happens to be ASCII" "another string"; |
| 2962 |
|
| 2963 |
// Check duplicate typedefs. |
| 2964 |
typedef long *long_ptr; |
| 2965 |
typedef long int *long_ptr; |
| 2966 |
typedef long_ptr long_ptr; |
| 2967 |
|
| 2968 |
// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. |
| 2969 |
struct anonymous |
| 2970 |
{ |
| 2971 |
union { |
| 2972 |
struct { int i; int j; }; |
| 2973 |
struct { int k; long int l; } w; |
| 2974 |
}; |
| 2975 |
int m; |
| 2976 |
} v1; |
| 2977 |
' |
| 2978 |
|
| 2979 |
# Test code for whether the C compiler supports C11 (body of main). |
| 2980 |
ac_c_conftest_c11_main=' |
| 2981 |
_Static_assert ((offsetof (struct anonymous, i) |
| 2982 |
== offsetof (struct anonymous, w.k)), |
| 2983 |
"Anonymous union alignment botch"); |
| 2984 |
v1.i = 2; |
| 2985 |
v1.w.k = 5; |
| 2986 |
ok |= v1.i != 5; |
| 2987 |
' |
| 2988 |
|
| 2989 |
# Test code for whether the C compiler supports C11 (complete). |
| 2990 |
ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} |
| 2991 |
${ac_c_conftest_c99_globals} |
| 2992 |
${ac_c_conftest_c11_globals} |
| 2993 |
|
| 2994 |
int |
| 2995 |
main (int argc, char **argv) |
| 2996 |
{ |
| 2997 |
int ok = 0; |
| 2998 |
${ac_c_conftest_c89_main} |
| 2999 |
${ac_c_conftest_c99_main} |
| 3000 |
${ac_c_conftest_c11_main} |
| 3001 |
return ok; |
| 3002 |
} |
| 3003 |
" |
| 3004 |
|
| 3005 |
# Test code for whether the C compiler supports C99 (complete). |
| 3006 |
ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} |
| 3007 |
${ac_c_conftest_c99_globals} |
| 3008 |
|
| 3009 |
int |
| 3010 |
main (int argc, char **argv) |
| 3011 |
{ |
| 3012 |
int ok = 0; |
| 3013 |
${ac_c_conftest_c89_main} |
| 3014 |
${ac_c_conftest_c99_main} |
| 3015 |
return ok; |
| 3016 |
} |
| 3017 |
" |
| 3018 |
|
| 3019 |
# Test code for whether the C compiler supports C89 (complete). |
| 3020 |
ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} |
| 3021 |
|
| 3022 |
int |
| 3023 |
main (int argc, char **argv) |
| 3024 |
{ |
| 3025 |
int ok = 0; |
| 3026 |
${ac_c_conftest_c89_main} |
| 3027 |
return ok; |
| 3028 |
} |
| 3029 |
" |
| 3030 |
|
| 3031 |
as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" |
| 3032 |
as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" |
| 3033 |
as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" |
| 3034 |
as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" |
| 3035 |
as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" |
| 3036 |
as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" |
| 3037 |
as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" |
| 3038 |
as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" |
| 3039 |
as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" |
| 3040 |
as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" |
| 3041 |
gt_needs="$gt_needs " |
| 3042 |
|
| 3043 |
# Auxiliary files required by this configure script. |
| 3044 |
ac_aux_files="ltmain.sh config.rpath config.guess config.sub compile missing install-sh" |
| 3045 |
|
| 3046 |
# Locations in which to look for auxiliary files. |
| 3047 |
ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." |
| 3048 |
|
| 3049 |
# Search for a directory containing all of the required auxiliary files, |
| 3050 |
# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. |
| 3051 |
# If we don't find one directory that contains all the files we need, |
| 3052 |
# we report the set of missing files from the *first* directory in |
| 3053 |
# $ac_aux_dir_candidates and give up. |
| 3054 |
ac_missing_aux_files="" |
| 3055 |
ac_first_candidate=: |
| 3056 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 |
| 3057 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3058 |
as_found=false |
| 3059 |
for as_dir in $ac_aux_dir_candidates |
| 3060 |
do |
| 3061 |
IFS=$as_save_IFS |
| 3062 |
case $as_dir in #((( |
| 3063 |
'') as_dir=./ ;; |
| 3064 |
*/) ;; |
| 3065 |
*) as_dir=$as_dir/ ;; |
| 3066 |
esac |
| 3067 |
as_found=: |
| 3068 |
|
| 3069 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 |
| 3070 |
ac_aux_dir_found=yes |
| 3071 |
ac_install_sh= |
| 3072 |
for ac_aux in $ac_aux_files |
| 3073 |
do |
| 3074 |
# As a special case, if "install-sh" is required, that requirement |
| 3075 |
# can be satisfied by any of "install-sh", "install.sh", or "shtool", |
| 3076 |
# and $ac_install_sh is set appropriately for whichever one is found. |
| 3077 |
if test x"$ac_aux" = x"install-sh" |
| 3078 |
then |
| 3079 |
if test -f "${as_dir}install-sh"; then |
| 3080 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 |
| 3081 |
ac_install_sh="${as_dir}install-sh -c" |
| 3082 |
elif test -f "${as_dir}install.sh"; then |
| 3083 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 |
| 3084 |
ac_install_sh="${as_dir}install.sh -c" |
| 3085 |
elif test -f "${as_dir}shtool"; then |
| 3086 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 |
| 3087 |
ac_install_sh="${as_dir}shtool install -c" |
| 3088 |
else |
| 3089 |
ac_aux_dir_found=no |
| 3090 |
if $ac_first_candidate; then |
| 3091 |
ac_missing_aux_files="${ac_missing_aux_files} install-sh" |
| 3092 |
else |
| 3093 |
break |
| 3094 |
fi |
| 3095 |
fi |
| 3096 |
else |
| 3097 |
if test -f "${as_dir}${ac_aux}"; then |
| 3098 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 |
| 3099 |
else |
| 3100 |
ac_aux_dir_found=no |
| 3101 |
if $ac_first_candidate; then |
| 3102 |
ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" |
| 3103 |
else |
| 3104 |
break |
| 3105 |
fi |
| 3106 |
fi |
| 3107 |
fi |
| 3108 |
done |
| 3109 |
if test "$ac_aux_dir_found" = yes; then |
| 3110 |
ac_aux_dir="$as_dir" |
| 3111 |
break |
| 3112 |
fi |
| 3113 |
ac_first_candidate=false |
| 3114 |
|
| 3115 |
as_found=false |
| 3116 |
done |
| 3117 |
IFS=$as_save_IFS |
| 3118 |
if $as_found |
| 3119 |
then : |
| 3120 |
|
| 3121 |
else case e in #( |
| 3122 |
e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;; |
| 3123 |
esac |
| 3124 |
fi |
| 3125 |
|
| 3126 |
|
| 3127 |
# These three variables are undocumented and unsupported, |
| 3128 |
# and are intended to be withdrawn in a future Autoconf release. |
| 3129 |
# They can cause serious problems if a builder's source tree is in a directory |
| 3130 |
# whose full name contains unusual characters. |
| 3131 |
if test -f "${ac_aux_dir}config.guess"; then |
| 3132 |
ac_config_guess="$SHELL ${ac_aux_dir}config.guess" |
| 3133 |
fi |
| 3134 |
if test -f "${ac_aux_dir}config.sub"; then |
| 3135 |
ac_config_sub="$SHELL ${ac_aux_dir}config.sub" |
| 3136 |
fi |
| 3137 |
if test -f "$ac_aux_dir/configure"; then |
| 3138 |
ac_configure="$SHELL ${ac_aux_dir}configure" |
| 3139 |
fi |
| 3140 |
|
| 3141 |
# Check that the precious variables saved in the cache have kept the same |
| 3142 |
# value. |
| 3143 |
ac_cache_corrupted=false |
| 3144 |
for ac_var in $ac_precious_vars; do |
| 3145 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 3146 |
eval ac_new_set=\$ac_env_${ac_var}_set |
| 3147 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| 3148 |
eval ac_new_val=\$ac_env_${ac_var}_value |
| 3149 |
case $ac_old_set,$ac_new_set in |
| 3150 |
set,) |
| 3151 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5 |
| 3152 |
printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;} |
| 3153 |
ac_cache_corrupted=: ;; |
| 3154 |
,set) |
| 3155 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5 |
| 3156 |
printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;} |
| 3157 |
ac_cache_corrupted=: ;; |
| 3158 |
,);; |
| 3159 |
*) |
| 3160 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
| 3161 |
# differences in whitespace do not lead to failure. |
| 3162 |
ac_old_val_w=`echo x $ac_old_val` |
| 3163 |
ac_new_val_w=`echo x $ac_new_val` |
| 3164 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
| 3165 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5 |
| 3166 |
printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;} |
| 3167 |
ac_cache_corrupted=: |
| 3168 |
else |
| 3169 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5 |
| 3170 |
printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;} |
| 3171 |
eval $ac_var=\$ac_old_val |
| 3172 |
fi |
| 3173 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5 |
| 3174 |
printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;} |
| 3175 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5 |
| 3176 |
printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;} |
| 3177 |
fi;; |
| 3178 |
esac |
| 3179 |
# Pass precious variables to config.status. |
| 3180 |
if test "$ac_new_set" = set; then |
| 3181 |
case $ac_new_val in |
| 3182 |
*\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 3183 |
*) ac_arg=$ac_var=$ac_new_val ;; |
| 3184 |
esac |
| 3185 |
case " $ac_configure_args " in |
| 3186 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 3187 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
| 3188 |
esac |
| 3189 |
fi |
| 3190 |
done |
| 3191 |
if $ac_cache_corrupted; then |
| 3192 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 3193 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 3194 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| 3195 |
printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 3196 |
as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file' |
| 3197 |
and start over" "$LINENO" 5 |
| 3198 |
fi |
| 3199 |
## -------------------- ## |
| 3200 |
## Main body of script. ## |
| 3201 |
## -------------------- ## |
| 3202 |
|
| 3203 |
ac_ext=c |
| 3204 |
ac_cpp='$CPP $CPPFLAGS' |
| 3205 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3206 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3207 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3208 |
|
| 3209 |
|
| 3210 |
|
| 3211 |
ac_config_headers="$ac_config_headers config.h" |
| 3212 |
|
| 3213 |
|
| 3214 |
|
| 3215 |
|
| 3216 |
|
| 3217 |
|
| 3218 |
# Required versions of other packages. |
| 3219 |
|
| 3220 |
|
| 3221 |
|
| 3222 |
# VALA_TARGET_GLIB_VERSION is used by valac --ccode --target-glib . |
| 3223 |
# VALA_TARGET_GLIB_VERSION and glib_required_version will be different |
| 3224 |
# in the future. |
| 3225 |
VALA_TARGET_GLIB_VERSION=2.46 |
| 3226 |
|
| 3227 |
|
| 3228 |
# Init automake. |
| 3229 |
am__api_version='1.18' |
| 3230 |
|
| 3231 |
|
| 3232 |
|
| 3233 |
# Find a good install program. We prefer a C program (faster), |
| 3234 |
# so one script is as good as another. But avoid the broken or |
| 3235 |
# incompatible versions: |
| 3236 |
# SysV /etc/install, /usr/sbin/install |
| 3237 |
# SunOS /usr/etc/install |
| 3238 |
# IRIX /sbin/install |
| 3239 |
# AIX /bin/install |
| 3240 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
| 3241 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 3242 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 3243 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3244 |
# OS/2's system install, which has a completely different semantic |
| 3245 |
# ./install, which can be erroneously created by make from ./install.sh. |
| 3246 |
# Reject install programs that cannot install multiple files. |
| 3247 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 3248 |
printf %s "checking for a BSD-compatible install... " >&6; } |
| 3249 |
if test -z "$INSTALL"; then |
| 3250 |
if test ${ac_cv_path_install+y} |
| 3251 |
then : |
| 3252 |
printf %s "(cached) " >&6 |
| 3253 |
else case e in #( |
| 3254 |
e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3255 |
for as_dir in $PATH |
| 3256 |
do |
| 3257 |
IFS=$as_save_IFS |
| 3258 |
case $as_dir in #((( |
| 3259 |
'') as_dir=./ ;; |
| 3260 |
*/) ;; |
| 3261 |
*) as_dir=$as_dir/ ;; |
| 3262 |
esac |
| 3263 |
# Account for fact that we put trailing slashes in our PATH walk. |
| 3264 |
case $as_dir in #(( |
| 3265 |
./ | /[cC]/* | \ |
| 3266 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 3267 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 3268 |
/usr/ucb/* ) ;; |
| 3269 |
*) |
| 3270 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
| 3271 |
# Don't use installbsd from OSF since it installs stuff as root |
| 3272 |
# by default. |
| 3273 |
for ac_prog in ginstall scoinst install; do |
| 3274 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3275 |
if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then |
| 3276 |
if test $ac_prog = install && |
| 3277 |
grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3278 |
# AIX install. It has an incompatible calling convention. |
| 3279 |
: |
| 3280 |
elif test $ac_prog = install && |
| 3281 |
grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3282 |
# program-specific install script used by HP pwplus--don't use. |
| 3283 |
: |
| 3284 |
else |
| 3285 |
rm -rf conftest.one conftest.two conftest.dir |
| 3286 |
echo one > conftest.one |
| 3287 |
echo two > conftest.two |
| 3288 |
mkdir conftest.dir |
| 3289 |
if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && |
| 3290 |
test -s conftest.one && test -s conftest.two && |
| 3291 |
test -s conftest.dir/conftest.one && |
| 3292 |
test -s conftest.dir/conftest.two |
| 3293 |
then |
| 3294 |
ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" |
| 3295 |
break 3 |
| 3296 |
fi |
| 3297 |
fi |
| 3298 |
fi |
| 3299 |
done |
| 3300 |
done |
| 3301 |
;; |
| 3302 |
esac |
| 3303 |
|
| 3304 |
done |
| 3305 |
IFS=$as_save_IFS |
| 3306 |
|
| 3307 |
rm -rf conftest.one conftest.two conftest.dir |
| 3308 |
;; |
| 3309 |
esac |
| 3310 |
fi |
| 3311 |
if test ${ac_cv_path_install+y}; then |
| 3312 |
INSTALL=$ac_cv_path_install |
| 3313 |
else |
| 3314 |
# As a last resort, use the slow shell script. Don't cache a |
| 3315 |
# value for INSTALL within a source directory, because that will |
| 3316 |
# break other packages using the cache if that directory is |
| 3317 |
# removed, or if the value is a relative name. |
| 3318 |
INSTALL=$ac_install_sh |
| 3319 |
fi |
| 3320 |
fi |
| 3321 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 3322 |
printf "%s\n" "$INSTALL" >&6; } |
| 3323 |
|
| 3324 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 3325 |
# It thinks the first close brace ends the variable substitution. |
| 3326 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 3327 |
|
| 3328 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 3329 |
|
| 3330 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 3331 |
|
| 3332 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5 |
| 3333 |
printf %s "checking whether sleep supports fractional seconds... " >&6; } |
| 3334 |
if test ${am_cv_sleep_fractional_seconds+y} |
| 3335 |
then : |
| 3336 |
printf %s "(cached) " >&6 |
| 3337 |
else case e in #( |
| 3338 |
e) if sleep 0.001 2>/dev/null |
| 3339 |
then : |
| 3340 |
am_cv_sleep_fractional_seconds=yes |
| 3341 |
else case e in #( |
| 3342 |
e) am_cv_sleep_fractional_seconds=no ;; |
| 3343 |
esac |
| 3344 |
fi |
| 3345 |
;; |
| 3346 |
esac |
| 3347 |
fi |
| 3348 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5 |
| 3349 |
printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; } |
| 3350 |
|
| 3351 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5 |
| 3352 |
printf %s "checking filesystem timestamp resolution... " >&6; } |
| 3353 |
if test ${am_cv_filesystem_timestamp_resolution+y} |
| 3354 |
then : |
| 3355 |
printf %s "(cached) " >&6 |
| 3356 |
else case e in #( |
| 3357 |
e) # Default to the worst case. |
| 3358 |
am_cv_filesystem_timestamp_resolution=2 |
| 3359 |
|
| 3360 |
# Only try to go finer than 1 sec if sleep can do it. |
| 3361 |
# Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work, |
| 3362 |
# - 1 sec is not much of a win compared to 2 sec, and |
| 3363 |
# - it takes 2 seconds to perform the test whether 1 sec works. |
| 3364 |
# |
| 3365 |
# Instead, just use the default 2s on platforms that have 1s resolution, |
| 3366 |
# accept the extra 1s delay when using $sleep in the Automake tests, in |
| 3367 |
# exchange for not incurring the 2s delay for running the test for all |
| 3368 |
# packages. |
| 3369 |
# |
| 3370 |
am_try_resolutions= |
| 3371 |
if test "$am_cv_sleep_fractional_seconds" = yes; then |
| 3372 |
# Even a millisecond often causes a bunch of false positives, |
| 3373 |
# so just try a hundredth of a second. The time saved between .001 and |
| 3374 |
# .01 is not terribly consequential. |
| 3375 |
am_try_resolutions="0.01 0.1 $am_try_resolutions" |
| 3376 |
fi |
| 3377 |
|
| 3378 |
# In order to catch current-generation FAT out, we must *modify* files |
| 3379 |
# that already exist; the *creation* timestamp is finer. Use names |
| 3380 |
# that make ls -t sort them differently when they have equal |
| 3381 |
# timestamps than when they have distinct timestamps, keeping |
| 3382 |
# in mind that ls -t prints the *newest* file first. |
| 3383 |
rm -f conftest.ts? |
| 3384 |
: > conftest.ts1 |
| 3385 |
: > conftest.ts2 |
| 3386 |
: > conftest.ts3 |
| 3387 |
|
| 3388 |
# Make sure ls -t actually works. Do 'set' in a subshell so we don't |
| 3389 |
# clobber the current shell's arguments. (Outer-level square brackets |
| 3390 |
# are removed by m4; they're present so that m4 does not expand |
| 3391 |
# <dollar><star>; be careful, easy to get confused.) |
| 3392 |
if ( |
| 3393 |
set X `ls -t conftest.ts[12]` && |
| 3394 |
{ |
| 3395 |
test "$*" != "X conftest.ts1 conftest.ts2" || |
| 3396 |
test "$*" != "X conftest.ts2 conftest.ts1"; |
| 3397 |
} |
| 3398 |
); then :; else |
| 3399 |
# If neither matched, then we have a broken ls. This can happen |
| 3400 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
| 3401 |
# broken ls alias from the environment. This has actually |
| 3402 |
# happened. Such a system could not be considered "sane". |
| 3403 |
printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5 |
| 3404 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 3405 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 3406 |
as_fn_error $? "ls -t produces unexpected output. |
| 3407 |
Make sure there is not a broken ls alias in your environment. |
| 3408 |
See 'config.log' for more details" "$LINENO" 5; } |
| 3409 |
fi |
| 3410 |
|
| 3411 |
for am_try_res in $am_try_resolutions; do |
| 3412 |
# Any one fine-grained sleep might happen to cross the boundary |
| 3413 |
# between two values of a coarser actual resolution, but if we do |
| 3414 |
# two fine-grained sleeps in a row, at least one of them will fall |
| 3415 |
# entirely within a coarse interval. |
| 3416 |
echo alpha > conftest.ts1 |
| 3417 |
sleep $am_try_res |
| 3418 |
echo beta > conftest.ts2 |
| 3419 |
sleep $am_try_res |
| 3420 |
echo gamma > conftest.ts3 |
| 3421 |
|
| 3422 |
# We assume that 'ls -t' will make use of high-resolution |
| 3423 |
# timestamps if the operating system supports them at all. |
| 3424 |
if (set X `ls -t conftest.ts?` && |
| 3425 |
test "$2" = conftest.ts3 && |
| 3426 |
test "$3" = conftest.ts2 && |
| 3427 |
test "$4" = conftest.ts1); then |
| 3428 |
# |
| 3429 |
# Ok, ls -t worked. If we're at a resolution of 1 second, we're done, |
| 3430 |
# because we don't need to test make. |
| 3431 |
make_ok=true |
| 3432 |
if test $am_try_res != 1; then |
| 3433 |
# But if we've succeeded so far with a subsecond resolution, we |
| 3434 |
# have one more thing to check: make. It can happen that |
| 3435 |
# everything else supports the subsecond mtimes, but make doesn't; |
| 3436 |
# notably on macOS, which ships make 3.81 from 2006 (the last one |
| 3437 |
# released under GPLv2). https://bugs.gnu.org/68808 |
| 3438 |
# |
| 3439 |
# We test $MAKE if it is defined in the environment, else "make". |
| 3440 |
# It might get overridden later, but our hope is that in practice |
| 3441 |
# it does not matter: it is the system "make" which is (by far) |
| 3442 |
# the most likely to be broken, whereas if the user overrides it, |
| 3443 |
# probably they did so with a better, or at least not worse, make. |
| 3444 |
# https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html |
| 3445 |
# |
| 3446 |
# Create a Makefile (real tab character here): |
| 3447 |
rm -f conftest.mk |
| 3448 |
echo 'conftest.ts1: conftest.ts2' >conftest.mk |
| 3449 |
echo ' touch conftest.ts2' >>conftest.mk |
| 3450 |
# |
| 3451 |
# Now, running |
| 3452 |
# touch conftest.ts1; touch conftest.ts2; make |
| 3453 |
# should touch ts1 because ts2 is newer. This could happen by luck, |
| 3454 |
# but most often, it will fail if make's support is insufficient. So |
| 3455 |
# test for several consecutive successes. |
| 3456 |
# |
| 3457 |
# (We reuse conftest.ts[12] because we still want to modify existing |
| 3458 |
# files, not create new ones, per above.) |
| 3459 |
n=0 |
| 3460 |
make=${MAKE-make} |
| 3461 |
until test $n -eq 3; do |
| 3462 |
echo one > conftest.ts1 |
| 3463 |
sleep $am_try_res |
| 3464 |
echo two > conftest.ts2 # ts2 should now be newer than ts1 |
| 3465 |
if $make -f conftest.mk | grep 'up to date' >/dev/null; then |
| 3466 |
make_ok=false |
| 3467 |
break # out of $n loop |
| 3468 |
fi |
| 3469 |
n=`expr $n + 1` |
| 3470 |
done |
| 3471 |
fi |
| 3472 |
# |
| 3473 |
if $make_ok; then |
| 3474 |
# Everything we know to check worked out, so call this resolution good. |
| 3475 |
am_cv_filesystem_timestamp_resolution=$am_try_res |
| 3476 |
break # out of $am_try_res loop |
| 3477 |
fi |
| 3478 |
# Otherwise, we'll go on to check the next resolution. |
| 3479 |
fi |
| 3480 |
done |
| 3481 |
rm -f conftest.ts? |
| 3482 |
# (end _am_filesystem_timestamp_resolution) |
| 3483 |
;; |
| 3484 |
esac |
| 3485 |
fi |
| 3486 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5 |
| 3487 |
printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; } |
| 3488 |
|
| 3489 |
# This check should not be cached, as it may vary across builds of |
| 3490 |
# different projects. |
| 3491 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
| 3492 |
printf %s "checking whether build environment is sane... " >&6; } |
| 3493 |
# Reject unsafe characters in $srcdir or the absolute working directory |
| 3494 |
# name. Accept space and tab only in the latter. |
| 3495 |
am_lf=' |
| 3496 |
' |
| 3497 |
case `pwd` in |
| 3498 |
*[\\\"\#\$\&\'\`$am_lf]*) |
| 3499 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3500 |
printf "%s\n" "no" >&6; } |
| 3501 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
| 3502 |
esac |
| 3503 |
case $srcdir in |
| 3504 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
| 3505 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3506 |
printf "%s\n" "no" >&6; } |
| 3507 |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
| 3508 |
esac |
| 3509 |
|
| 3510 |
# Do 'set' in a subshell so we don't clobber the current shell's |
| 3511 |
# arguments. Must try -L first in case configure is actually a |
| 3512 |
# symlink; some systems play weird games with the mod time of symlinks |
| 3513 |
# (eg FreeBSD returns the mod time of the symlink's containing |
| 3514 |
# directory). |
| 3515 |
am_build_env_is_sane=no |
| 3516 |
am_has_slept=no |
| 3517 |
rm -f conftest.file |
| 3518 |
for am_try in 1 2; do |
| 3519 |
echo "timestamp, slept: $am_has_slept" > conftest.file |
| 3520 |
if ( |
| 3521 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 3522 |
if test "$*" = "X"; then |
| 3523 |
# -L didn't work. |
| 3524 |
set X `ls -t "$srcdir/configure" conftest.file` |
| 3525 |
fi |
| 3526 |
test "$2" = conftest.file |
| 3527 |
); then |
| 3528 |
am_build_env_is_sane=yes |
| 3529 |
break |
| 3530 |
fi |
| 3531 |
# Just in case. |
| 3532 |
sleep "$am_cv_filesystem_timestamp_resolution" |
| 3533 |
am_has_slept=yes |
| 3534 |
done |
| 3535 |
|
| 3536 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5 |
| 3537 |
printf "%s\n" "$am_build_env_is_sane" >&6; } |
| 3538 |
if test "$am_build_env_is_sane" = no; then |
| 3539 |
as_fn_error $? "newly created file is older than distributed files! |
| 3540 |
Check your system clock" "$LINENO" 5 |
| 3541 |
fi |
| 3542 |
|
| 3543 |
# If we didn't sleep, we still need to ensure time stamps of config.status and |
| 3544 |
# generated files are strictly newer. |
| 3545 |
am_sleep_pid= |
| 3546 |
if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1 |
| 3547 |
then : |
| 3548 |
|
| 3549 |
else case e in #( |
| 3550 |
e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) & |
| 3551 |
am_sleep_pid=$! |
| 3552 |
;; |
| 3553 |
esac |
| 3554 |
fi |
| 3555 |
|
| 3556 |
rm -f conftest.file |
| 3557 |
|
| 3558 |
test "$program_prefix" != NONE && |
| 3559 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 3560 |
# Use a double $ so make ignores it. |
| 3561 |
test "$program_suffix" != NONE && |
| 3562 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
| 3563 |
# Double any \ or $. |
| 3564 |
# By default was 's,x,x', remove it if useless. |
| 3565 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 3566 |
program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` |
| 3567 |
|
| 3568 |
|
| 3569 |
# Expand $ac_aux_dir to an absolute path. |
| 3570 |
am_aux_dir=`cd "$ac_aux_dir" && pwd` |
| 3571 |
|
| 3572 |
|
| 3573 |
if test x"${MISSING+set}" != xset; then |
| 3574 |
MISSING="\${SHELL} '$am_aux_dir/missing'" |
| 3575 |
fi |
| 3576 |
# Use eval to expand $SHELL |
| 3577 |
if eval "$MISSING --is-lightweight"; then |
| 3578 |
am_missing_run="$MISSING " |
| 3579 |
else |
| 3580 |
am_missing_run= |
| 3581 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 3582 |
printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 3583 |
fi |
| 3584 |
|
| 3585 |
if test x"${install_sh+set}" != xset; then |
| 3586 |
case $am_aux_dir in |
| 3587 |
*\ * | *\ *) |
| 3588 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 3589 |
*) |
| 3590 |
install_sh="\${SHELL} $am_aux_dir/install-sh" |
| 3591 |
esac |
| 3592 |
fi |
| 3593 |
|
| 3594 |
# Installed binaries are usually stripped using 'strip' when the user |
| 3595 |
# run "make install-strip". However 'strip' might not be the right |
| 3596 |
# tool to use in cross-compilation environments, therefore Automake |
| 3597 |
# will honor the 'STRIP' environment variable to overrule this program. |
| 3598 |
if test "$cross_compiling" != no; then |
| 3599 |
if test -n "$ac_tool_prefix"; then |
| 3600 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 3601 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 3602 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3603 |
printf %s "checking for $ac_word... " >&6; } |
| 3604 |
if test ${ac_cv_prog_STRIP+y} |
| 3605 |
then : |
| 3606 |
printf %s "(cached) " >&6 |
| 3607 |
else case e in #( |
| 3608 |
e) if test -n "$STRIP"; then |
| 3609 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 3610 |
else |
| 3611 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3612 |
for as_dir in $PATH |
| 3613 |
do |
| 3614 |
IFS=$as_save_IFS |
| 3615 |
case $as_dir in #((( |
| 3616 |
'') as_dir=./ ;; |
| 3617 |
*/) ;; |
| 3618 |
*) as_dir=$as_dir/ ;; |
| 3619 |
esac |
| 3620 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3621 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3622 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 3623 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3624 |
break 2 |
| 3625 |
fi |
| 3626 |
done |
| 3627 |
done |
| 3628 |
IFS=$as_save_IFS |
| 3629 |
|
| 3630 |
fi ;; |
| 3631 |
esac |
| 3632 |
fi |
| 3633 |
STRIP=$ac_cv_prog_STRIP |
| 3634 |
if test -n "$STRIP"; then |
| 3635 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 3636 |
printf "%s\n" "$STRIP" >&6; } |
| 3637 |
else |
| 3638 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3639 |
printf "%s\n" "no" >&6; } |
| 3640 |
fi |
| 3641 |
|
| 3642 |
|
| 3643 |
fi |
| 3644 |
if test -z "$ac_cv_prog_STRIP"; then |
| 3645 |
ac_ct_STRIP=$STRIP |
| 3646 |
# Extract the first word of "strip", so it can be a program name with args. |
| 3647 |
set dummy strip; ac_word=$2 |
| 3648 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3649 |
printf %s "checking for $ac_word... " >&6; } |
| 3650 |
if test ${ac_cv_prog_ac_ct_STRIP+y} |
| 3651 |
then : |
| 3652 |
printf %s "(cached) " >&6 |
| 3653 |
else case e in #( |
| 3654 |
e) if test -n "$ac_ct_STRIP"; then |
| 3655 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 3656 |
else |
| 3657 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3658 |
for as_dir in $PATH |
| 3659 |
do |
| 3660 |
IFS=$as_save_IFS |
| 3661 |
case $as_dir in #((( |
| 3662 |
'') as_dir=./ ;; |
| 3663 |
*/) ;; |
| 3664 |
*) as_dir=$as_dir/ ;; |
| 3665 |
esac |
| 3666 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3667 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3668 |
ac_cv_prog_ac_ct_STRIP="strip" |
| 3669 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3670 |
break 2 |
| 3671 |
fi |
| 3672 |
done |
| 3673 |
done |
| 3674 |
IFS=$as_save_IFS |
| 3675 |
|
| 3676 |
fi ;; |
| 3677 |
esac |
| 3678 |
fi |
| 3679 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 3680 |
if test -n "$ac_ct_STRIP"; then |
| 3681 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 3682 |
printf "%s\n" "$ac_ct_STRIP" >&6; } |
| 3683 |
else |
| 3684 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3685 |
printf "%s\n" "no" >&6; } |
| 3686 |
fi |
| 3687 |
|
| 3688 |
if test "x$ac_ct_STRIP" = x; then |
| 3689 |
STRIP=":" |
| 3690 |
else |
| 3691 |
case $cross_compiling:$ac_tool_warned in |
| 3692 |
yes:) |
| 3693 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3694 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3695 |
ac_tool_warned=yes ;; |
| 3696 |
esac |
| 3697 |
STRIP=$ac_ct_STRIP |
| 3698 |
fi |
| 3699 |
else |
| 3700 |
STRIP="$ac_cv_prog_STRIP" |
| 3701 |
fi |
| 3702 |
|
| 3703 |
fi |
| 3704 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 3705 |
|
| 3706 |
|
| 3707 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 |
| 3708 |
printf %s "checking for a race-free mkdir -p... " >&6; } |
| 3709 |
if test -z "$MKDIR_P"; then |
| 3710 |
if test ${ac_cv_path_mkdir+y} |
| 3711 |
then : |
| 3712 |
printf %s "(cached) " >&6 |
| 3713 |
else case e in #( |
| 3714 |
e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3715 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
| 3716 |
do |
| 3717 |
IFS=$as_save_IFS |
| 3718 |
case $as_dir in #((( |
| 3719 |
'') as_dir=./ ;; |
| 3720 |
*/) ;; |
| 3721 |
*) as_dir=$as_dir/ ;; |
| 3722 |
esac |
| 3723 |
for ac_prog in mkdir gmkdir; do |
| 3724 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3725 |
as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue |
| 3726 |
case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 3727 |
'mkdir ('*'coreutils) '* | \ |
| 3728 |
*'BusyBox '* | \ |
| 3729 |
'mkdir (fileutils) '4.1*) |
| 3730 |
ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext |
| 3731 |
break 3;; |
| 3732 |
esac |
| 3733 |
done |
| 3734 |
done |
| 3735 |
done |
| 3736 |
IFS=$as_save_IFS |
| 3737 |
;; |
| 3738 |
esac |
| 3739 |
fi |
| 3740 |
|
| 3741 |
test -d ./--version && rmdir ./--version |
| 3742 |
if test ${ac_cv_path_mkdir+y}; then |
| 3743 |
MKDIR_P="$ac_cv_path_mkdir -p" |
| 3744 |
else |
| 3745 |
# As a last resort, use plain mkdir -p, |
| 3746 |
# in the hope it doesn't have the bugs of ancient mkdir. |
| 3747 |
MKDIR_P='mkdir -p' |
| 3748 |
fi |
| 3749 |
fi |
| 3750 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 3751 |
printf "%s\n" "$MKDIR_P" >&6; } |
| 3752 |
|
| 3753 |
for ac_prog in gawk mawk nawk awk |
| 3754 |
do |
| 3755 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3756 |
set dummy $ac_prog; ac_word=$2 |
| 3757 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3758 |
printf %s "checking for $ac_word... " >&6; } |
| 3759 |
if test ${ac_cv_prog_AWK+y} |
| 3760 |
then : |
| 3761 |
printf %s "(cached) " >&6 |
| 3762 |
else case e in #( |
| 3763 |
e) if test -n "$AWK"; then |
| 3764 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| 3765 |
else |
| 3766 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3767 |
for as_dir in $PATH |
| 3768 |
do |
| 3769 |
IFS=$as_save_IFS |
| 3770 |
case $as_dir in #((( |
| 3771 |
'') as_dir=./ ;; |
| 3772 |
*/) ;; |
| 3773 |
*) as_dir=$as_dir/ ;; |
| 3774 |
esac |
| 3775 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3776 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3777 |
ac_cv_prog_AWK="$ac_prog" |
| 3778 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3779 |
break 2 |
| 3780 |
fi |
| 3781 |
done |
| 3782 |
done |
| 3783 |
IFS=$as_save_IFS |
| 3784 |
|
| 3785 |
fi ;; |
| 3786 |
esac |
| 3787 |
fi |
| 3788 |
AWK=$ac_cv_prog_AWK |
| 3789 |
if test -n "$AWK"; then |
| 3790 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| 3791 |
printf "%s\n" "$AWK" >&6; } |
| 3792 |
else |
| 3793 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3794 |
printf "%s\n" "no" >&6; } |
| 3795 |
fi |
| 3796 |
|
| 3797 |
|
| 3798 |
test -n "$AWK" && break |
| 3799 |
done |
| 3800 |
|
| 3801 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 3802 |
printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 3803 |
set x ${MAKE-make} |
| 3804 |
ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 3805 |
if eval test \${ac_cv_prog_make_${ac_make}_set+y} |
| 3806 |
then : |
| 3807 |
printf %s "(cached) " >&6 |
| 3808 |
else case e in #( |
| 3809 |
e) cat >conftest.make <<\_ACEOF |
| 3810 |
SHELL = /bin/sh |
| 3811 |
all: |
| 3812 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
| 3813 |
_ACEOF |
| 3814 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 3815 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 3816 |
*@@@%%%=?*=@@@%%%*) |
| 3817 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 3818 |
*) |
| 3819 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
| 3820 |
esac |
| 3821 |
rm -f conftest.make ;; |
| 3822 |
esac |
| 3823 |
fi |
| 3824 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 3825 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3826 |
printf "%s\n" "yes" >&6; } |
| 3827 |
SET_MAKE= |
| 3828 |
else |
| 3829 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3830 |
printf "%s\n" "no" >&6; } |
| 3831 |
SET_MAKE="MAKE=${MAKE-make}" |
| 3832 |
fi |
| 3833 |
|
| 3834 |
rm -rf .tst 2>/dev/null |
| 3835 |
mkdir .tst 2>/dev/null |
| 3836 |
if test -d .tst; then |
| 3837 |
am__leading_dot=. |
| 3838 |
else |
| 3839 |
am__leading_dot=_ |
| 3840 |
fi |
| 3841 |
rmdir .tst 2>/dev/null |
| 3842 |
|
| 3843 |
AM_DEFAULT_VERBOSITY=1 |
| 3844 |
# Check whether --enable-silent-rules was given. |
| 3845 |
if test ${enable_silent_rules+y} |
| 3846 |
then : |
| 3847 |
enableval=$enable_silent_rules; |
| 3848 |
fi |
| 3849 |
|
| 3850 |
am_make=${MAKE-make} |
| 3851 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 3852 |
printf %s "checking whether $am_make supports nested variables... " >&6; } |
| 3853 |
if test ${am_cv_make_support_nested_variables+y} |
| 3854 |
then : |
| 3855 |
printf %s "(cached) " >&6 |
| 3856 |
else case e in #( |
| 3857 |
e) if printf "%s\n" 'TRUE=$(BAR$(V)) |
| 3858 |
BAR0=false |
| 3859 |
BAR1=true |
| 3860 |
V=1 |
| 3861 |
am__doit: |
| 3862 |
@$(TRUE) |
| 3863 |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
| 3864 |
am_cv_make_support_nested_variables=yes |
| 3865 |
else |
| 3866 |
am_cv_make_support_nested_variables=no |
| 3867 |
fi ;; |
| 3868 |
esac |
| 3869 |
fi |
| 3870 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 3871 |
printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } |
| 3872 |
AM_BACKSLASH='\' |
| 3873 |
|
| 3874 |
am__rm_f_notfound= |
| 3875 |
if (rm -f && rm -fr && rm -rf) 2>/dev/null |
| 3876 |
then : |
| 3877 |
|
| 3878 |
else case e in #( |
| 3879 |
e) am__rm_f_notfound='""' ;; |
| 3880 |
esac |
| 3881 |
fi |
| 3882 |
|
| 3883 |
|
| 3884 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5 |
| 3885 |
printf %s "checking xargs -n works... " >&6; } |
| 3886 |
if test ${am_cv_xargs_n_works+y} |
| 3887 |
then : |
| 3888 |
printf %s "(cached) " >&6 |
| 3889 |
else case e in #( |
| 3890 |
e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2 |
| 3891 |
3" |
| 3892 |
then : |
| 3893 |
am_cv_xargs_n_works=yes |
| 3894 |
else case e in #( |
| 3895 |
e) am_cv_xargs_n_works=no ;; |
| 3896 |
esac |
| 3897 |
fi ;; |
| 3898 |
esac |
| 3899 |
fi |
| 3900 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5 |
| 3901 |
printf "%s\n" "$am_cv_xargs_n_works" >&6; } |
| 3902 |
if test "$am_cv_xargs_n_works" = yes |
| 3903 |
then : |
| 3904 |
am__xargs_n='xargs -n' |
| 3905 |
else case e in #( |
| 3906 |
e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }' |
| 3907 |
;; |
| 3908 |
esac |
| 3909 |
fi |
| 3910 |
|
| 3911 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 3912 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 3913 |
# is not polluted with repeated "-I." |
| 3914 |
am__isrc=' -I$(srcdir)' |
| 3915 |
# test to see if srcdir already configured |
| 3916 |
if test -f $srcdir/config.status; then |
| 3917 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
| 3918 |
fi |
| 3919 |
fi |
| 3920 |
|
| 3921 |
# test whether we have cygpath |
| 3922 |
if test -z "$CYGPATH_W"; then |
| 3923 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
| 3924 |
CYGPATH_W='cygpath -w' |
| 3925 |
else |
| 3926 |
CYGPATH_W=echo |
| 3927 |
fi |
| 3928 |
fi |
| 3929 |
|
| 3930 |
|
| 3931 |
# Define the identity of the package. |
| 3932 |
PACKAGE='ibus' |
| 3933 |
VERSION='1.5.34' |
| 3934 |
|
| 3935 |
|
| 3936 |
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h |
| 3937 |
|
| 3938 |
|
| 3939 |
printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h |
| 3940 |
|
| 3941 |
# Some tools Automake needs. |
| 3942 |
|
| 3943 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
| 3944 |
|
| 3945 |
|
| 3946 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
| 3947 |
|
| 3948 |
|
| 3949 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
| 3950 |
|
| 3951 |
|
| 3952 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
| 3953 |
|
| 3954 |
|
| 3955 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 3956 |
|
| 3957 |
# For better backward compatibility. To be removed once Automake 1.9.x |
| 3958 |
# dies out for good. For more background, see: |
| 3959 |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 3960 |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 3961 |
mkdir_p='$(MKDIR_P)' |
| 3962 |
|
| 3963 |
# We need awk for the "check" target (and possibly the TAP driver). The |
| 3964 |
# system "awk" is bad on some platforms. |
| 3965 |
# Always define AMTAR for backward compatibility. Yes, it's still used |
| 3966 |
# in the wild :-( We should find a proper way to deprecate it ... |
| 3967 |
AMTAR='$${TAR-tar}' |
| 3968 |
|
| 3969 |
|
| 3970 |
# We'll loop over all known methods to create a tar archive until one works. |
| 3971 |
_am_tools='gnutar plaintar pax cpio none' |
| 3972 |
|
| 3973 |
# The POSIX 1988 'ustar' format is defined with fixed-size fields. |
| 3974 |
# There is notably a 21 bits limit for the UID and the GID. In fact, |
| 3975 |
# the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 |
| 3976 |
# and bug#13588). |
| 3977 |
am_max_uid=2097151 # 2^21 - 1 |
| 3978 |
am_max_gid=$am_max_uid |
| 3979 |
# The $UID and $GID variables are not portable, so we need to resort |
| 3980 |
# to the POSIX-mandated id(1) utility. Errors in the 'id' calls |
| 3981 |
# below are definitely unexpected, so allow the users to see them |
| 3982 |
# (that is, avoid stderr redirection). |
| 3983 |
am_uid=`id -u || echo unknown` |
| 3984 |
am_gid=`id -g || echo unknown` |
| 3985 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 |
| 3986 |
printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; } |
| 3987 |
if test x$am_uid = xunknown; then |
| 3988 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5 |
| 3989 |
printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;} |
| 3990 |
elif test $am_uid -le $am_max_uid; then |
| 3991 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3992 |
printf "%s\n" "yes" >&6; } |
| 3993 |
else |
| 3994 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3995 |
printf "%s\n" "no" >&6; } |
| 3996 |
_am_tools=none |
| 3997 |
fi |
| 3998 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 |
| 3999 |
printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; } |
| 4000 |
if test x$gm_gid = xunknown; then |
| 4001 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5 |
| 4002 |
printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;} |
| 4003 |
elif test $am_gid -le $am_max_gid; then |
| 4004 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 4005 |
printf "%s\n" "yes" >&6; } |
| 4006 |
else |
| 4007 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4008 |
printf "%s\n" "no" >&6; } |
| 4009 |
_am_tools=none |
| 4010 |
fi |
| 4011 |
|
| 4012 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 |
| 4013 |
printf %s "checking how to create a ustar tar archive... " >&6; } |
| 4014 |
|
| 4015 |
# Go ahead even if we have the value already cached. We do so because we |
| 4016 |
# need to set the values for the 'am__tar' and 'am__untar' variables. |
| 4017 |
_am_tools=${am_cv_prog_tar_ustar-$_am_tools} |
| 4018 |
|
| 4019 |
for _am_tool in $_am_tools; do |
| 4020 |
case $_am_tool in |
| 4021 |
gnutar) |
| 4022 |
for _am_tar in tar gnutar gtar; do |
| 4023 |
{ echo "$as_me:$LINENO: $_am_tar --version" >&5 |
| 4024 |
($_am_tar --version) >&5 2>&5 |
| 4025 |
ac_status=$? |
| 4026 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4027 |
(exit $ac_status); } && break |
| 4028 |
done |
| 4029 |
am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' |
| 4030 |
am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' |
| 4031 |
am__untar="$_am_tar -xf -" |
| 4032 |
;; |
| 4033 |
plaintar) |
| 4034 |
# Must skip GNU tar: if it does not support --format= it doesn't create |
| 4035 |
# ustar tarball either. |
| 4036 |
(tar --version) >/dev/null 2>&1 && continue |
| 4037 |
am__tar='tar chf - "$$tardir"' |
| 4038 |
am__tar_='tar chf - "$tardir"' |
| 4039 |
am__untar='tar xf -' |
| 4040 |
;; |
| 4041 |
pax) |
| 4042 |
am__tar='pax -L -x ustar -w "$$tardir"' |
| 4043 |
am__tar_='pax -L -x ustar -w "$tardir"' |
| 4044 |
am__untar='pax -r' |
| 4045 |
;; |
| 4046 |
cpio) |
| 4047 |
am__tar='find "$$tardir" -print | cpio -o -H ustar -L' |
| 4048 |
am__tar_='find "$tardir" -print | cpio -o -H ustar -L' |
| 4049 |
am__untar='cpio -i -H ustar -d' |
| 4050 |
;; |
| 4051 |
none) |
| 4052 |
am__tar=false |
| 4053 |
am__tar_=false |
| 4054 |
am__untar=false |
| 4055 |
;; |
| 4056 |
esac |
| 4057 |
|
| 4058 |
# If the value was cached, stop now. We just wanted to have am__tar |
| 4059 |
# and am__untar set. |
| 4060 |
test -n "${am_cv_prog_tar_ustar}" && break |
| 4061 |
|
| 4062 |
# tar/untar a dummy directory, and stop if the command works. |
| 4063 |
rm -rf conftest.dir |
| 4064 |
mkdir conftest.dir |
| 4065 |
echo GrepMe > conftest.dir/file |
| 4066 |
{ echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 |
| 4067 |
(tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 |
| 4068 |
ac_status=$? |
| 4069 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4070 |
(exit $ac_status); } |
| 4071 |
rm -rf conftest.dir |
| 4072 |
if test -s conftest.tar; then |
| 4073 |
{ echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 |
| 4074 |
($am__untar <conftest.tar) >&5 2>&5 |
| 4075 |
ac_status=$? |
| 4076 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4077 |
(exit $ac_status); } |
| 4078 |
{ echo "$as_me:$LINENO: cat conftest.dir/file" >&5 |
| 4079 |
(cat conftest.dir/file) >&5 2>&5 |
| 4080 |
ac_status=$? |
| 4081 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4082 |
(exit $ac_status); } |
| 4083 |
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
| 4084 |
fi |
| 4085 |
done |
| 4086 |
rm -rf conftest.dir |
| 4087 |
|
| 4088 |
if test ${am_cv_prog_tar_ustar+y} |
| 4089 |
then : |
| 4090 |
printf %s "(cached) " >&6 |
| 4091 |
else case e in #( |
| 4092 |
e) am_cv_prog_tar_ustar=$_am_tool ;; |
| 4093 |
esac |
| 4094 |
fi |
| 4095 |
|
| 4096 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 |
| 4097 |
printf "%s\n" "$am_cv_prog_tar_ustar" >&6; } |
| 4098 |
|
| 4099 |
|
| 4100 |
|
| 4101 |
|
| 4102 |
|
| 4103 |
# Variables for tags utilities; see am/tags.am |
| 4104 |
if test -z "$CTAGS"; then |
| 4105 |
CTAGS=ctags |
| 4106 |
fi |
| 4107 |
|
| 4108 |
if test -z "$ETAGS"; then |
| 4109 |
ETAGS=etags |
| 4110 |
fi |
| 4111 |
|
| 4112 |
if test -z "$CSCOPE"; then |
| 4113 |
CSCOPE=cscope |
| 4114 |
fi |
| 4115 |
|
| 4116 |
|
| 4117 |
|
| 4118 |
|
| 4119 |
|
| 4120 |
|
| 4121 |
|
| 4122 |
|
| 4123 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 4124 |
printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
| 4125 |
# Check whether --enable-maintainer-mode was given. |
| 4126 |
if test ${enable_maintainer_mode+y} |
| 4127 |
then : |
| 4128 |
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
| 4129 |
else case e in #( |
| 4130 |
e) USE_MAINTAINER_MODE=yes ;; |
| 4131 |
esac |
| 4132 |
fi |
| 4133 |
|
| 4134 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
| 4135 |
printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } |
| 4136 |
if test $USE_MAINTAINER_MODE = yes; then |
| 4137 |
MAINTAINER_MODE_TRUE= |
| 4138 |
MAINTAINER_MODE_FALSE='#' |
| 4139 |
else |
| 4140 |
MAINTAINER_MODE_TRUE='#' |
| 4141 |
MAINTAINER_MODE_FALSE= |
| 4142 |
fi |
| 4143 |
|
| 4144 |
MAINT=$MAINTAINER_MODE_TRUE |
| 4145 |
|
| 4146 |
|
| 4147 |
|
| 4148 |
|
| 4149 |
|
| 4150 |
|
| 4151 |
|
| 4152 |
|
| 4153 |
|
| 4154 |
|
| 4155 |
|
| 4156 |
DEPDIR="${am__leading_dot}deps" |
| 4157 |
|
| 4158 |
ac_config_commands="$ac_config_commands depfiles" |
| 4159 |
|
| 4160 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 |
| 4161 |
printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; } |
| 4162 |
cat > confinc.mk << 'END' |
| 4163 |
am__doit: |
| 4164 |
@echo this is the am__doit target >confinc.out |
| 4165 |
.PHONY: am__doit |
| 4166 |
END |
| 4167 |
am__include="#" |
| 4168 |
am__quote= |
| 4169 |
# BSD make does it like this. |
| 4170 |
echo '.include "confinc.mk" # ignored' > confmf.BSD |
| 4171 |
# Other make implementations (GNU, Solaris 10, AIX) do it like this. |
| 4172 |
echo 'include confinc.mk # ignored' > confmf.GNU |
| 4173 |
_am_result=no |
| 4174 |
for s in GNU BSD; do |
| 4175 |
{ echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 |
| 4176 |
(${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 |
| 4177 |
ac_status=$? |
| 4178 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4179 |
(exit $ac_status); } |
| 4180 |
case $?:`cat confinc.out 2>/dev/null` in #( |
| 4181 |
'0:this is the am__doit target') : |
| 4182 |
case $s in #( |
| 4183 |
BSD) : |
| 4184 |
am__include='.include' am__quote='"' ;; #( |
| 4185 |
*) : |
| 4186 |
am__include='include' am__quote='' ;; |
| 4187 |
esac ;; #( |
| 4188 |
*) : |
| 4189 |
;; |
| 4190 |
esac |
| 4191 |
if test "$am__include" != "#"; then |
| 4192 |
_am_result="yes ($s style)" |
| 4193 |
break |
| 4194 |
fi |
| 4195 |
done |
| 4196 |
rm -f confinc.* confmf.* |
| 4197 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 |
| 4198 |
printf "%s\n" "${_am_result}" >&6; } |
| 4199 |
|
| 4200 |
# Check whether --enable-dependency-tracking was given. |
| 4201 |
if test ${enable_dependency_tracking+y} |
| 4202 |
then : |
| 4203 |
enableval=$enable_dependency_tracking; |
| 4204 |
fi |
| 4205 |
|
| 4206 |
if test "x$enable_dependency_tracking" != xno; then |
| 4207 |
am_depcomp="$ac_aux_dir/depcomp" |
| 4208 |
AMDEPBACKSLASH='\' |
| 4209 |
am__nodep='_no' |
| 4210 |
fi |
| 4211 |
if test "x$enable_dependency_tracking" != xno; then |
| 4212 |
AMDEP_TRUE= |
| 4213 |
AMDEP_FALSE='#' |
| 4214 |
else |
| 4215 |
AMDEP_TRUE='#' |
| 4216 |
AMDEP_FALSE= |
| 4217 |
fi |
| 4218 |
|
| 4219 |
|
| 4220 |
ac_ext=c |
| 4221 |
ac_cpp='$CPP $CPPFLAGS' |
| 4222 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4223 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4224 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4225 |
if test -n "$ac_tool_prefix"; then |
| 4226 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 4227 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 4228 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4229 |
printf %s "checking for $ac_word... " >&6; } |
| 4230 |
if test ${ac_cv_prog_CC+y} |
| 4231 |
then : |
| 4232 |
printf %s "(cached) " >&6 |
| 4233 |
else case e in #( |
| 4234 |
e) if test -n "$CC"; then |
| 4235 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 4236 |
else |
| 4237 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4238 |
for as_dir in $PATH |
| 4239 |
do |
| 4240 |
IFS=$as_save_IFS |
| 4241 |
case $as_dir in #((( |
| 4242 |
'') as_dir=./ ;; |
| 4243 |
*/) ;; |
| 4244 |
*) as_dir=$as_dir/ ;; |
| 4245 |
esac |
| 4246 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4247 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 4248 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 4249 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4250 |
break 2 |
| 4251 |
fi |
| 4252 |
done |
| 4253 |
done |
| 4254 |
IFS=$as_save_IFS |
| 4255 |
|
| 4256 |
fi ;; |
| 4257 |
esac |
| 4258 |
fi |
| 4259 |
CC=$ac_cv_prog_CC |
| 4260 |
if test -n "$CC"; then |
| 4261 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 4262 |
printf "%s\n" "$CC" >&6; } |
| 4263 |
else |
| 4264 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4265 |
printf "%s\n" "no" >&6; } |
| 4266 |
fi |
| 4267 |
|
| 4268 |
|
| 4269 |
fi |
| 4270 |
if test -z "$ac_cv_prog_CC"; then |
| 4271 |
ac_ct_CC=$CC |
| 4272 |
# Extract the first word of "gcc", so it can be a program name with args. |
| 4273 |
set dummy gcc; ac_word=$2 |
| 4274 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4275 |
printf %s "checking for $ac_word... " >&6; } |
| 4276 |
if test ${ac_cv_prog_ac_ct_CC+y} |
| 4277 |
then : |
| 4278 |
printf %s "(cached) " >&6 |
| 4279 |
else case e in #( |
| 4280 |
e) if test -n "$ac_ct_CC"; then |
| 4281 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 4282 |
else |
| 4283 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4284 |
for as_dir in $PATH |
| 4285 |
do |
| 4286 |
IFS=$as_save_IFS |
| 4287 |
case $as_dir in #((( |
| 4288 |
'') as_dir=./ ;; |
| 4289 |
*/) ;; |
| 4290 |
*) as_dir=$as_dir/ ;; |
| 4291 |
esac |
| 4292 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4293 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 4294 |
ac_cv_prog_ac_ct_CC="gcc" |
| 4295 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4296 |
break 2 |
| 4297 |
fi |
| 4298 |
done |
| 4299 |
done |
| 4300 |
IFS=$as_save_IFS |
| 4301 |
|
| 4302 |
fi ;; |
| 4303 |
esac |
| 4304 |
fi |
| 4305 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 4306 |
if test -n "$ac_ct_CC"; then |
| 4307 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 4308 |
printf "%s\n" "$ac_ct_CC" >&6; } |
| 4309 |
else |
| 4310 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4311 |
printf "%s\n" "no" >&6; } |
| 4312 |
fi |
| 4313 |
|
| 4314 |
if test "x$ac_ct_CC" = x; then |
| 4315 |
CC="" |
| 4316 |
else |
| 4317 |
case $cross_compiling:$ac_tool_warned in |
| 4318 |
yes:) |
| 4319 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 4320 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 4321 |
ac_tool_warned=yes ;; |
| 4322 |
esac |
| 4323 |
CC=$ac_ct_CC |
| 4324 |
fi |
| 4325 |
else |
| 4326 |
CC="$ac_cv_prog_CC" |
| 4327 |
fi |
| 4328 |
|
| 4329 |
if test -z "$CC"; then |
| 4330 |
if test -n "$ac_tool_prefix"; then |
| 4331 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 4332 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 4333 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4334 |
printf %s "checking for $ac_word... " >&6; } |
| 4335 |
if test ${ac_cv_prog_CC+y} |
| 4336 |
then : |
| 4337 |
printf %s "(cached) " >&6 |
| 4338 |
else case e in #( |
| 4339 |
e) if test -n "$CC"; then |
| 4340 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 4341 |
else |
| 4342 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4343 |
for as_dir in $PATH |
| 4344 |
do |
| 4345 |
IFS=$as_save_IFS |
| 4346 |
case $as_dir in #((( |
| 4347 |
'') as_dir=./ ;; |
| 4348 |
*/) ;; |
| 4349 |
*) as_dir=$as_dir/ ;; |
| 4350 |
esac |
| 4351 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4352 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 4353 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 4354 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4355 |
break 2 |
| 4356 |
fi |
| 4357 |
done |
| 4358 |
done |
| 4359 |
IFS=$as_save_IFS |
| 4360 |
|
| 4361 |
fi ;; |
| 4362 |
esac |
| 4363 |
fi |
| 4364 |
CC=$ac_cv_prog_CC |
| 4365 |
if test -n "$CC"; then |
| 4366 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 4367 |
printf "%s\n" "$CC" >&6; } |
| 4368 |
else |
| 4369 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4370 |
printf "%s\n" "no" >&6; } |
| 4371 |
fi |
| 4372 |
|
| 4373 |
|
| 4374 |
fi |
| 4375 |
fi |
| 4376 |
if test -z "$CC"; then |
| 4377 |
# Extract the first word of "cc", so it can be a program name with args. |
| 4378 |
set dummy cc; ac_word=$2 |
| 4379 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4380 |
printf %s "checking for $ac_word... " >&6; } |
| 4381 |
if test ${ac_cv_prog_CC+y} |
| 4382 |
then : |
| 4383 |
printf %s "(cached) " >&6 |
| 4384 |
else case e in #( |
| 4385 |
e) if test -n "$CC"; then |
| 4386 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 4387 |
else |
| 4388 |
ac_prog_rejected=no |
| 4389 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4390 |
for as_dir in $PATH |
| 4391 |
do |
| 4392 |
IFS=$as_save_IFS |
| 4393 |
case $as_dir in #((( |
| 4394 |
'') as_dir=./ ;; |
| 4395 |
*/) ;; |
| 4396 |
*) as_dir=$as_dir/ ;; |
| 4397 |
esac |
| 4398 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4399 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 4400 |
if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 4401 |
ac_prog_rejected=yes |
| 4402 |
continue |
| 4403 |
fi |
| 4404 |
ac_cv_prog_CC="cc" |
| 4405 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4406 |
break 2 |
| 4407 |
fi |
| 4408 |
done |
| 4409 |
done |
| 4410 |
IFS=$as_save_IFS |
| 4411 |
|
| 4412 |
if test $ac_prog_rejected = yes; then |
| 4413 |
# We found a bogon in the path, so make sure we never use it. |
| 4414 |
set dummy $ac_cv_prog_CC |
| 4415 |
shift |
| 4416 |
if test $# != 0; then |
| 4417 |
# We chose a different compiler from the bogus one. |
| 4418 |
# However, it has the same basename, so the bogon will be chosen |
| 4419 |
# first if we set CC to just the basename; use the full file name. |
| 4420 |
shift |
| 4421 |
ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" |
| 4422 |
fi |
| 4423 |
fi |
| 4424 |
fi ;; |
| 4425 |
esac |
| 4426 |
fi |
| 4427 |
CC=$ac_cv_prog_CC |
| 4428 |
if test -n "$CC"; then |
| 4429 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 4430 |
printf "%s\n" "$CC" >&6; } |
| 4431 |
else |
| 4432 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4433 |
printf "%s\n" "no" >&6; } |
| 4434 |
fi |
| 4435 |
|
| 4436 |
|
| 4437 |
fi |
| 4438 |
if test -z "$CC"; then |
| 4439 |
if test -n "$ac_tool_prefix"; then |
| 4440 |
for ac_prog in cl.exe |
| 4441 |
do |
| 4442 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 4443 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 4444 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4445 |
printf %s "checking for $ac_word... " >&6; } |
| 4446 |
if test ${ac_cv_prog_CC+y} |
| 4447 |
then : |
| 4448 |
printf %s "(cached) " >&6 |
| 4449 |
else case e in #( |
| 4450 |
e) if test -n "$CC"; then |
| 4451 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 4452 |
else |
| 4453 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4454 |
for as_dir in $PATH |
| 4455 |
do |
| 4456 |
IFS=$as_save_IFS |
| 4457 |
case $as_dir in #((( |
| 4458 |
'') as_dir=./ ;; |
| 4459 |
*/) ;; |
| 4460 |
*) as_dir=$as_dir/ ;; |
| 4461 |
esac |
| 4462 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4463 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 4464 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 4465 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4466 |
break 2 |
| 4467 |
fi |
| 4468 |
done |
| 4469 |
done |
| 4470 |
IFS=$as_save_IFS |
| 4471 |
|
| 4472 |
fi ;; |
| 4473 |
esac |
| 4474 |
fi |
| 4475 |
CC=$ac_cv_prog_CC |
| 4476 |
if test -n "$CC"; then |
| 4477 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 4478 |
printf "%s\n" "$CC" >&6; } |
| 4479 |
else |
| 4480 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4481 |
printf "%s\n" "no" >&6; } |
| 4482 |
fi |
| 4483 |
|
| 4484 |
|
| 4485 |
test -n "$CC" && break |
| 4486 |
done |
| 4487 |
fi |
| 4488 |
if test -z "$CC"; then |
| 4489 |
ac_ct_CC=$CC |
| 4490 |
for ac_prog in cl.exe |
| 4491 |
do |
| 4492 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4493 |
set dummy $ac_prog; ac_word=$2 |
| 4494 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4495 |
printf %s "checking for $ac_word... " >&6; } |
| 4496 |
if test ${ac_cv_prog_ac_ct_CC+y} |
| 4497 |
then : |
| 4498 |
printf %s "(cached) " >&6 |
| 4499 |
else case e in #( |
| 4500 |
e) if test -n "$ac_ct_CC"; then |
| 4501 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 4502 |
else |
| 4503 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4504 |
for as_dir in $PATH |
| 4505 |
do |
| 4506 |
IFS=$as_save_IFS |
| 4507 |
case $as_dir in #((( |
| 4508 |
'') as_dir=./ ;; |
| 4509 |
*/) ;; |
| 4510 |
*) as_dir=$as_dir/ ;; |
| 4511 |
esac |
| 4512 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4513 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 4514 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
| 4515 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4516 |
break 2 |
| 4517 |
fi |
| 4518 |
done |
| 4519 |
done |
| 4520 |
IFS=$as_save_IFS |
| 4521 |
|
| 4522 |
fi ;; |
| 4523 |
esac |
| 4524 |
fi |
| 4525 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 4526 |
if test -n "$ac_ct_CC"; then |
| 4527 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 4528 |
printf "%s\n" "$ac_ct_CC" >&6; } |
| 4529 |
else |
| 4530 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4531 |
printf "%s\n" "no" >&6; } |
| 4532 |
fi |
| 4533 |
|
| 4534 |
|
| 4535 |
test -n "$ac_ct_CC" && break |
| 4536 |
done |
| 4537 |
|
| 4538 |
if test "x$ac_ct_CC" = x; then |
| 4539 |
CC="" |
| 4540 |
else |
| 4541 |
case $cross_compiling:$ac_tool_warned in |
| 4542 |
yes:) |
| 4543 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 4544 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 4545 |
ac_tool_warned=yes ;; |
| 4546 |
esac |
| 4547 |
CC=$ac_ct_CC |
| 4548 |
fi |
| 4549 |
fi |
| 4550 |
|
| 4551 |
fi |
| 4552 |
if test -z "$CC"; then |
| 4553 |
if test -n "$ac_tool_prefix"; then |
| 4554 |
# Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. |
| 4555 |
set dummy ${ac_tool_prefix}clang; ac_word=$2 |
| 4556 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4557 |
printf %s "checking for $ac_word... " >&6; } |
| 4558 |
if test ${ac_cv_prog_CC+y} |
| 4559 |
then : |
| 4560 |
printf %s "(cached) " >&6 |
| 4561 |
else case e in #( |
| 4562 |
e) if test -n "$CC"; then |
| 4563 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 4564 |
else |
| 4565 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4566 |
for as_dir in $PATH |
| 4567 |
do |
| 4568 |
IFS=$as_save_IFS |
| 4569 |
case $as_dir in #((( |
| 4570 |
'') as_dir=./ ;; |
| 4571 |
*/) ;; |
| 4572 |
*) as_dir=$as_dir/ ;; |
| 4573 |
esac |
| 4574 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4575 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 4576 |
ac_cv_prog_CC="${ac_tool_prefix}clang" |
| 4577 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4578 |
break 2 |
| 4579 |
fi |
| 4580 |
done |
| 4581 |
done |
| 4582 |
IFS=$as_save_IFS |
| 4583 |
|
| 4584 |
fi ;; |
| 4585 |
esac |
| 4586 |
fi |
| 4587 |
CC=$ac_cv_prog_CC |
| 4588 |
if test -n "$CC"; then |
| 4589 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 4590 |
printf "%s\n" "$CC" >&6; } |
| 4591 |
else |
| 4592 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4593 |
printf "%s\n" "no" >&6; } |
| 4594 |
fi |
| 4595 |
|
| 4596 |
|
| 4597 |
fi |
| 4598 |
if test -z "$ac_cv_prog_CC"; then |
| 4599 |
ac_ct_CC=$CC |
| 4600 |
# Extract the first word of "clang", so it can be a program name with args. |
| 4601 |
set dummy clang; ac_word=$2 |
| 4602 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 4603 |
printf %s "checking for $ac_word... " >&6; } |
| 4604 |
if test ${ac_cv_prog_ac_ct_CC+y} |
| 4605 |
then : |
| 4606 |
printf %s "(cached) " >&6 |
| 4607 |
else case e in #( |
| 4608 |
e) if test -n "$ac_ct_CC"; then |
| 4609 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 4610 |
else |
| 4611 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4612 |
for as_dir in $PATH |
| 4613 |
do |
| 4614 |
IFS=$as_save_IFS |
| 4615 |
case $as_dir in #((( |
| 4616 |
'') as_dir=./ ;; |
| 4617 |
*/) ;; |
| 4618 |
*) as_dir=$as_dir/ ;; |
| 4619 |
esac |
| 4620 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4621 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 4622 |
ac_cv_prog_ac_ct_CC="clang" |
| 4623 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 4624 |
break 2 |
| 4625 |
fi |
| 4626 |
done |
| 4627 |
done |
| 4628 |
IFS=$as_save_IFS |
| 4629 |
|
| 4630 |
fi ;; |
| 4631 |
esac |
| 4632 |
fi |
| 4633 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 4634 |
if test -n "$ac_ct_CC"; then |
| 4635 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 4636 |
printf "%s\n" "$ac_ct_CC" >&6; } |
| 4637 |
else |
| 4638 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4639 |
printf "%s\n" "no" >&6; } |
| 4640 |
fi |
| 4641 |
|
| 4642 |
if test "x$ac_ct_CC" = x; then |
| 4643 |
CC="" |
| 4644 |
else |
| 4645 |
case $cross_compiling:$ac_tool_warned in |
| 4646 |
yes:) |
| 4647 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 4648 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 4649 |
ac_tool_warned=yes ;; |
| 4650 |
esac |
| 4651 |
CC=$ac_ct_CC |
| 4652 |
fi |
| 4653 |
else |
| 4654 |
CC="$ac_cv_prog_CC" |
| 4655 |
fi |
| 4656 |
|
| 4657 |
fi |
| 4658 |
|
| 4659 |
|
| 4660 |
test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 4661 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 4662 |
as_fn_error $? "no acceptable C compiler found in \$PATH |
| 4663 |
See 'config.log' for more details" "$LINENO" 5; } |
| 4664 |
|
| 4665 |
# Provide some information about the compiler. |
| 4666 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 4667 |
set X $ac_compile |
| 4668 |
ac_compiler=$2 |
| 4669 |
for ac_option in --version -v -V -qversion -version; do |
| 4670 |
{ { ac_try="$ac_compiler $ac_option >&5" |
| 4671 |
case "(($ac_try" in |
| 4672 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4673 |
*) ac_try_echo=$ac_try;; |
| 4674 |
esac |
| 4675 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4676 |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 4677 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 4678 |
ac_status=$? |
| 4679 |
if test -s conftest.err; then |
| 4680 |
sed '10a\ |
| 4681 |
... rest of stderr output deleted ... |
| 4682 |
10q' conftest.err >conftest.er1 |
| 4683 |
cat conftest.er1 >&5 |
| 4684 |
fi |
| 4685 |
rm -f conftest.er1 conftest.err |
| 4686 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4687 |
test $ac_status = 0; } |
| 4688 |
done |
| 4689 |
|
| 4690 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4691 |
/* end confdefs.h. */ |
| 4692 |
|
| 4693 |
int |
| 4694 |
main (void) |
| 4695 |
{ |
| 4696 |
|
| 4697 |
; |
| 4698 |
return 0; |
| 4699 |
} |
| 4700 |
_ACEOF |
| 4701 |
ac_clean_files_save=$ac_clean_files |
| 4702 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
| 4703 |
# Try to create an executable without -o first, disregard a.out. |
| 4704 |
# It will help us diagnose broken compilers, and finding out an intuition |
| 4705 |
# of exeext. |
| 4706 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| 4707 |
printf %s "checking whether the C compiler works... " >&6; } |
| 4708 |
ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 4709 |
|
| 4710 |
# The possible output files: |
| 4711 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
| 4712 |
|
| 4713 |
ac_rmfiles= |
| 4714 |
for ac_file in $ac_files |
| 4715 |
do |
| 4716 |
case $ac_file in |
| 4717 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 4718 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
| 4719 |
esac |
| 4720 |
done |
| 4721 |
rm -f $ac_rmfiles |
| 4722 |
|
| 4723 |
if { { ac_try="$ac_link_default" |
| 4724 |
case "(($ac_try" in |
| 4725 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4726 |
*) ac_try_echo=$ac_try;; |
| 4727 |
esac |
| 4728 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4729 |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 4730 |
(eval "$ac_link_default") 2>&5 |
| 4731 |
ac_status=$? |
| 4732 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4733 |
test $ac_status = 0; } |
| 4734 |
then : |
| 4735 |
# Autoconf-2.13 could set the ac_cv_exeext variable to 'no'. |
| 4736 |
# So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no' |
| 4737 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 4738 |
# so that the user can short-circuit this test for compilers unknown to |
| 4739 |
# Autoconf. |
| 4740 |
for ac_file in $ac_files '' |
| 4741 |
do |
| 4742 |
test -f "$ac_file" || continue |
| 4743 |
case $ac_file in |
| 4744 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
| 4745 |
;; |
| 4746 |
[ab].out ) |
| 4747 |
# We found the default executable, but exeext='' is most |
| 4748 |
# certainly right. |
| 4749 |
break;; |
| 4750 |
*.* ) |
| 4751 |
if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; |
| 4752 |
then :; else |
| 4753 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 4754 |
fi |
| 4755 |
# We set ac_cv_exeext here because the later test for it is not |
| 4756 |
# safe: cross compilers may not add the suffix if given an '-o' |
| 4757 |
# argument, so we may need to know it at that point already. |
| 4758 |
# Even if this section looks crufty: it has the advantage of |
| 4759 |
# actually working. |
| 4760 |
break;; |
| 4761 |
* ) |
| 4762 |
break;; |
| 4763 |
esac |
| 4764 |
done |
| 4765 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
| 4766 |
|
| 4767 |
else case e in #( |
| 4768 |
e) ac_file='' ;; |
| 4769 |
esac |
| 4770 |
fi |
| 4771 |
if test -z "$ac_file" |
| 4772 |
then : |
| 4773 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4774 |
printf "%s\n" "no" >&6; } |
| 4775 |
printf "%s\n" "$as_me: failed program was:" >&5 |
| 4776 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4777 |
|
| 4778 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 4779 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 4780 |
as_fn_error 77 "C compiler cannot create executables |
| 4781 |
See 'config.log' for more details" "$LINENO" 5; } |
| 4782 |
else case e in #( |
| 4783 |
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 4784 |
printf "%s\n" "yes" >&6; } ;; |
| 4785 |
esac |
| 4786 |
fi |
| 4787 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| 4788 |
printf %s "checking for C compiler default output file name... " >&6; } |
| 4789 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 4790 |
printf "%s\n" "$ac_file" >&6; } |
| 4791 |
ac_exeext=$ac_cv_exeext |
| 4792 |
|
| 4793 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 4794 |
ac_clean_files=$ac_clean_files_save |
| 4795 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 4796 |
printf %s "checking for suffix of executables... " >&6; } |
| 4797 |
if { { ac_try="$ac_link" |
| 4798 |
case "(($ac_try" in |
| 4799 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4800 |
*) ac_try_echo=$ac_try;; |
| 4801 |
esac |
| 4802 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4803 |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 4804 |
(eval "$ac_link") 2>&5 |
| 4805 |
ac_status=$? |
| 4806 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4807 |
test $ac_status = 0; } |
| 4808 |
then : |
| 4809 |
# If both 'conftest.exe' and 'conftest' are 'present' (well, observable) |
| 4810 |
# catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will |
| 4811 |
# work properly (i.e., refer to 'conftest.exe'), while it won't with |
| 4812 |
# 'rm'. |
| 4813 |
for ac_file in conftest.exe conftest conftest.*; do |
| 4814 |
test -f "$ac_file" || continue |
| 4815 |
case $ac_file in |
| 4816 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 4817 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 4818 |
break;; |
| 4819 |
* ) break;; |
| 4820 |
esac |
| 4821 |
done |
| 4822 |
else case e in #( |
| 4823 |
e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 4824 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 4825 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
| 4826 |
See 'config.log' for more details" "$LINENO" 5; } ;; |
| 4827 |
esac |
| 4828 |
fi |
| 4829 |
rm -f conftest conftest$ac_cv_exeext |
| 4830 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 4831 |
printf "%s\n" "$ac_cv_exeext" >&6; } |
| 4832 |
|
| 4833 |
rm -f conftest.$ac_ext |
| 4834 |
EXEEXT=$ac_cv_exeext |
| 4835 |
ac_exeext=$EXEEXT |
| 4836 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4837 |
/* end confdefs.h. */ |
| 4838 |
#include <stdio.h> |
| 4839 |
int |
| 4840 |
main (void) |
| 4841 |
{ |
| 4842 |
FILE *f = fopen ("conftest.out", "w"); |
| 4843 |
if (!f) |
| 4844 |
return 1; |
| 4845 |
return ferror (f) || fclose (f) != 0; |
| 4846 |
|
| 4847 |
; |
| 4848 |
return 0; |
| 4849 |
} |
| 4850 |
_ACEOF |
| 4851 |
ac_clean_files="$ac_clean_files conftest.out" |
| 4852 |
# Check that the compiler produces executables we can run. If not, either |
| 4853 |
# the compiler is broken, or we cross compile. |
| 4854 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 4855 |
printf %s "checking whether we are cross compiling... " >&6; } |
| 4856 |
if test "$cross_compiling" != yes; then |
| 4857 |
{ { ac_try="$ac_link" |
| 4858 |
case "(($ac_try" in |
| 4859 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4860 |
*) ac_try_echo=$ac_try;; |
| 4861 |
esac |
| 4862 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4863 |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 4864 |
(eval "$ac_link") 2>&5 |
| 4865 |
ac_status=$? |
| 4866 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4867 |
test $ac_status = 0; } |
| 4868 |
if { ac_try='./conftest$ac_cv_exeext' |
| 4869 |
{ { case "(($ac_try" in |
| 4870 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4871 |
*) ac_try_echo=$ac_try;; |
| 4872 |
esac |
| 4873 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4874 |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 4875 |
(eval "$ac_try") 2>&5 |
| 4876 |
ac_status=$? |
| 4877 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4878 |
test $ac_status = 0; }; }; then |
| 4879 |
cross_compiling=no |
| 4880 |
else |
| 4881 |
if test "$cross_compiling" = maybe; then |
| 4882 |
cross_compiling=yes |
| 4883 |
else |
| 4884 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 4885 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 4886 |
as_fn_error 77 "cannot run C compiled programs. |
| 4887 |
If you meant to cross compile, use '--host'. |
| 4888 |
See 'config.log' for more details" "$LINENO" 5; } |
| 4889 |
fi |
| 4890 |
fi |
| 4891 |
fi |
| 4892 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 4893 |
printf "%s\n" "$cross_compiling" >&6; } |
| 4894 |
|
| 4895 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext \ |
| 4896 |
conftest.o conftest.obj conftest.out |
| 4897 |
ac_clean_files=$ac_clean_files_save |
| 4898 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 4899 |
printf %s "checking for suffix of object files... " >&6; } |
| 4900 |
if test ${ac_cv_objext+y} |
| 4901 |
then : |
| 4902 |
printf %s "(cached) " >&6 |
| 4903 |
else case e in #( |
| 4904 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4905 |
/* end confdefs.h. */ |
| 4906 |
|
| 4907 |
int |
| 4908 |
main (void) |
| 4909 |
{ |
| 4910 |
|
| 4911 |
; |
| 4912 |
return 0; |
| 4913 |
} |
| 4914 |
_ACEOF |
| 4915 |
rm -f conftest.o conftest.obj |
| 4916 |
if { { ac_try="$ac_compile" |
| 4917 |
case "(($ac_try" in |
| 4918 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4919 |
*) ac_try_echo=$ac_try;; |
| 4920 |
esac |
| 4921 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4922 |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 4923 |
(eval "$ac_compile") 2>&5 |
| 4924 |
ac_status=$? |
| 4925 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4926 |
test $ac_status = 0; } |
| 4927 |
then : |
| 4928 |
for ac_file in conftest.o conftest.obj conftest.*; do |
| 4929 |
test -f "$ac_file" || continue; |
| 4930 |
case $ac_file in |
| 4931 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
| 4932 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 4933 |
break;; |
| 4934 |
esac |
| 4935 |
done |
| 4936 |
else case e in #( |
| 4937 |
e) printf "%s\n" "$as_me: failed program was:" >&5 |
| 4938 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4939 |
|
| 4940 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 4941 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 4942 |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
| 4943 |
See 'config.log' for more details" "$LINENO" 5; } ;; |
| 4944 |
esac |
| 4945 |
fi |
| 4946 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext ;; |
| 4947 |
esac |
| 4948 |
fi |
| 4949 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
| 4950 |
printf "%s\n" "$ac_cv_objext" >&6; } |
| 4951 |
OBJEXT=$ac_cv_objext |
| 4952 |
ac_objext=$OBJEXT |
| 4953 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 |
| 4954 |
printf %s "checking whether the compiler supports GNU C... " >&6; } |
| 4955 |
if test ${ac_cv_c_compiler_gnu+y} |
| 4956 |
then : |
| 4957 |
printf %s "(cached) " >&6 |
| 4958 |
else case e in #( |
| 4959 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4960 |
/* end confdefs.h. */ |
| 4961 |
|
| 4962 |
int |
| 4963 |
main (void) |
| 4964 |
{ |
| 4965 |
#ifndef __GNUC__ |
| 4966 |
choke me |
| 4967 |
#endif |
| 4968 |
|
| 4969 |
; |
| 4970 |
return 0; |
| 4971 |
} |
| 4972 |
_ACEOF |
| 4973 |
if ac_fn_c_try_compile "$LINENO" |
| 4974 |
then : |
| 4975 |
ac_compiler_gnu=yes |
| 4976 |
else case e in #( |
| 4977 |
e) ac_compiler_gnu=no ;; |
| 4978 |
esac |
| 4979 |
fi |
| 4980 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 4981 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 4982 |
;; |
| 4983 |
esac |
| 4984 |
fi |
| 4985 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 4986 |
printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } |
| 4987 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4988 |
|
| 4989 |
if test $ac_compiler_gnu = yes; then |
| 4990 |
GCC=yes |
| 4991 |
else |
| 4992 |
GCC= |
| 4993 |
fi |
| 4994 |
ac_test_CFLAGS=${CFLAGS+y} |
| 4995 |
ac_save_CFLAGS=$CFLAGS |
| 4996 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 4997 |
printf %s "checking whether $CC accepts -g... " >&6; } |
| 4998 |
if test ${ac_cv_prog_cc_g+y} |
| 4999 |
then : |
| 5000 |
printf %s "(cached) " >&6 |
| 5001 |
else case e in #( |
| 5002 |
e) ac_save_c_werror_flag=$ac_c_werror_flag |
| 5003 |
ac_c_werror_flag=yes |
| 5004 |
ac_cv_prog_cc_g=no |
| 5005 |
CFLAGS="-g" |
| 5006 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5007 |
/* end confdefs.h. */ |
| 5008 |
|
| 5009 |
int |
| 5010 |
main (void) |
| 5011 |
{ |
| 5012 |
|
| 5013 |
; |
| 5014 |
return 0; |
| 5015 |
} |
| 5016 |
_ACEOF |
| 5017 |
if ac_fn_c_try_compile "$LINENO" |
| 5018 |
then : |
| 5019 |
ac_cv_prog_cc_g=yes |
| 5020 |
else case e in #( |
| 5021 |
e) CFLAGS="" |
| 5022 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5023 |
/* end confdefs.h. */ |
| 5024 |
|
| 5025 |
int |
| 5026 |
main (void) |
| 5027 |
{ |
| 5028 |
|
| 5029 |
; |
| 5030 |
return 0; |
| 5031 |
} |
| 5032 |
_ACEOF |
| 5033 |
if ac_fn_c_try_compile "$LINENO" |
| 5034 |
then : |
| 5035 |
|
| 5036 |
else case e in #( |
| 5037 |
e) ac_c_werror_flag=$ac_save_c_werror_flag |
| 5038 |
CFLAGS="-g" |
| 5039 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5040 |
/* end confdefs.h. */ |
| 5041 |
|
| 5042 |
int |
| 5043 |
main (void) |
| 5044 |
{ |
| 5045 |
|
| 5046 |
; |
| 5047 |
return 0; |
| 5048 |
} |
| 5049 |
_ACEOF |
| 5050 |
if ac_fn_c_try_compile "$LINENO" |
| 5051 |
then : |
| 5052 |
ac_cv_prog_cc_g=yes |
| 5053 |
fi |
| 5054 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 5055 |
esac |
| 5056 |
fi |
| 5057 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 5058 |
esac |
| 5059 |
fi |
| 5060 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 5061 |
ac_c_werror_flag=$ac_save_c_werror_flag ;; |
| 5062 |
esac |
| 5063 |
fi |
| 5064 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 5065 |
printf "%s\n" "$ac_cv_prog_cc_g" >&6; } |
| 5066 |
if test $ac_test_CFLAGS; then |
| 5067 |
CFLAGS=$ac_save_CFLAGS |
| 5068 |
elif test $ac_cv_prog_cc_g = yes; then |
| 5069 |
if test "$GCC" = yes; then |
| 5070 |
CFLAGS="-g -O2" |
| 5071 |
else |
| 5072 |
CFLAGS="-g" |
| 5073 |
fi |
| 5074 |
else |
| 5075 |
if test "$GCC" = yes; then |
| 5076 |
CFLAGS="-O2" |
| 5077 |
else |
| 5078 |
CFLAGS= |
| 5079 |
fi |
| 5080 |
fi |
| 5081 |
ac_prog_cc_stdc=no |
| 5082 |
if test x$ac_prog_cc_stdc = xno |
| 5083 |
then : |
| 5084 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 |
| 5085 |
printf %s "checking for $CC option to enable C11 features... " >&6; } |
| 5086 |
if test ${ac_cv_prog_cc_c11+y} |
| 5087 |
then : |
| 5088 |
printf %s "(cached) " >&6 |
| 5089 |
else case e in #( |
| 5090 |
e) ac_cv_prog_cc_c11=no |
| 5091 |
ac_save_CC=$CC |
| 5092 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5093 |
/* end confdefs.h. */ |
| 5094 |
$ac_c_conftest_c11_program |
| 5095 |
_ACEOF |
| 5096 |
for ac_arg in '' -std=gnu11 |
| 5097 |
do |
| 5098 |
CC="$ac_save_CC $ac_arg" |
| 5099 |
if ac_fn_c_try_compile "$LINENO" |
| 5100 |
then : |
| 5101 |
ac_cv_prog_cc_c11=$ac_arg |
| 5102 |
fi |
| 5103 |
rm -f core conftest.err conftest.$ac_objext conftest.beam |
| 5104 |
test "x$ac_cv_prog_cc_c11" != "xno" && break |
| 5105 |
done |
| 5106 |
rm -f conftest.$ac_ext |
| 5107 |
CC=$ac_save_CC ;; |
| 5108 |
esac |
| 5109 |
fi |
| 5110 |
|
| 5111 |
if test "x$ac_cv_prog_cc_c11" = xno |
| 5112 |
then : |
| 5113 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 5114 |
printf "%s\n" "unsupported" >&6; } |
| 5115 |
else case e in #( |
| 5116 |
e) if test "x$ac_cv_prog_cc_c11" = x |
| 5117 |
then : |
| 5118 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 5119 |
printf "%s\n" "none needed" >&6; } |
| 5120 |
else case e in #( |
| 5121 |
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 |
| 5122 |
printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } |
| 5123 |
CC="$CC $ac_cv_prog_cc_c11" ;; |
| 5124 |
esac |
| 5125 |
fi |
| 5126 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 |
| 5127 |
ac_prog_cc_stdc=c11 ;; |
| 5128 |
esac |
| 5129 |
fi |
| 5130 |
fi |
| 5131 |
if test x$ac_prog_cc_stdc = xno |
| 5132 |
then : |
| 5133 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 |
| 5134 |
printf %s "checking for $CC option to enable C99 features... " >&6; } |
| 5135 |
if test ${ac_cv_prog_cc_c99+y} |
| 5136 |
then : |
| 5137 |
printf %s "(cached) " >&6 |
| 5138 |
else case e in #( |
| 5139 |
e) ac_cv_prog_cc_c99=no |
| 5140 |
ac_save_CC=$CC |
| 5141 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5142 |
/* end confdefs.h. */ |
| 5143 |
$ac_c_conftest_c99_program |
| 5144 |
_ACEOF |
| 5145 |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= |
| 5146 |
do |
| 5147 |
CC="$ac_save_CC $ac_arg" |
| 5148 |
if ac_fn_c_try_compile "$LINENO" |
| 5149 |
then : |
| 5150 |
ac_cv_prog_cc_c99=$ac_arg |
| 5151 |
fi |
| 5152 |
rm -f core conftest.err conftest.$ac_objext conftest.beam |
| 5153 |
test "x$ac_cv_prog_cc_c99" != "xno" && break |
| 5154 |
done |
| 5155 |
rm -f conftest.$ac_ext |
| 5156 |
CC=$ac_save_CC ;; |
| 5157 |
esac |
| 5158 |
fi |
| 5159 |
|
| 5160 |
if test "x$ac_cv_prog_cc_c99" = xno |
| 5161 |
then : |
| 5162 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 5163 |
printf "%s\n" "unsupported" >&6; } |
| 5164 |
else case e in #( |
| 5165 |
e) if test "x$ac_cv_prog_cc_c99" = x |
| 5166 |
then : |
| 5167 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 5168 |
printf "%s\n" "none needed" >&6; } |
| 5169 |
else case e in #( |
| 5170 |
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
| 5171 |
printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } |
| 5172 |
CC="$CC $ac_cv_prog_cc_c99" ;; |
| 5173 |
esac |
| 5174 |
fi |
| 5175 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
| 5176 |
ac_prog_cc_stdc=c99 ;; |
| 5177 |
esac |
| 5178 |
fi |
| 5179 |
fi |
| 5180 |
if test x$ac_prog_cc_stdc = xno |
| 5181 |
then : |
| 5182 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 |
| 5183 |
printf %s "checking for $CC option to enable C89 features... " >&6; } |
| 5184 |
if test ${ac_cv_prog_cc_c89+y} |
| 5185 |
then : |
| 5186 |
printf %s "(cached) " >&6 |
| 5187 |
else case e in #( |
| 5188 |
e) ac_cv_prog_cc_c89=no |
| 5189 |
ac_save_CC=$CC |
| 5190 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5191 |
/* end confdefs.h. */ |
| 5192 |
$ac_c_conftest_c89_program |
| 5193 |
_ACEOF |
| 5194 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 5195 |
do |
| 5196 |
CC="$ac_save_CC $ac_arg" |
| 5197 |
if ac_fn_c_try_compile "$LINENO" |
| 5198 |
then : |
| 5199 |
ac_cv_prog_cc_c89=$ac_arg |
| 5200 |
fi |
| 5201 |
rm -f core conftest.err conftest.$ac_objext conftest.beam |
| 5202 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 5203 |
done |
| 5204 |
rm -f conftest.$ac_ext |
| 5205 |
CC=$ac_save_CC ;; |
| 5206 |
esac |
| 5207 |
fi |
| 5208 |
|
| 5209 |
if test "x$ac_cv_prog_cc_c89" = xno |
| 5210 |
then : |
| 5211 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 5212 |
printf "%s\n" "unsupported" >&6; } |
| 5213 |
else case e in #( |
| 5214 |
e) if test "x$ac_cv_prog_cc_c89" = x |
| 5215 |
then : |
| 5216 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 5217 |
printf "%s\n" "none needed" >&6; } |
| 5218 |
else case e in #( |
| 5219 |
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 5220 |
printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } |
| 5221 |
CC="$CC $ac_cv_prog_cc_c89" ;; |
| 5222 |
esac |
| 5223 |
fi |
| 5224 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
| 5225 |
ac_prog_cc_stdc=c89 ;; |
| 5226 |
esac |
| 5227 |
fi |
| 5228 |
fi |
| 5229 |
|
| 5230 |
ac_ext=c |
| 5231 |
ac_cpp='$CPP $CPPFLAGS' |
| 5232 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5233 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5234 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5235 |
|
| 5236 |
|
| 5237 |
ac_ext=c |
| 5238 |
ac_cpp='$CPP $CPPFLAGS' |
| 5239 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5240 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5241 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5242 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 5243 |
printf %s "checking whether $CC understands -c and -o together... " >&6; } |
| 5244 |
if test ${am_cv_prog_cc_c_o+y} |
| 5245 |
then : |
| 5246 |
printf %s "(cached) " >&6 |
| 5247 |
else case e in #( |
| 5248 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5249 |
/* end confdefs.h. */ |
| 5250 |
|
| 5251 |
int |
| 5252 |
main (void) |
| 5253 |
{ |
| 5254 |
|
| 5255 |
; |
| 5256 |
return 0; |
| 5257 |
} |
| 5258 |
_ACEOF |
| 5259 |
# Make sure it works both with $CC and with simple cc. |
| 5260 |
# Following AC_PROG_CC_C_O, we do the test twice because some |
| 5261 |
# compilers refuse to overwrite an existing .o file with -o, |
| 5262 |
# though they will create one. |
| 5263 |
am_cv_prog_cc_c_o=yes |
| 5264 |
for am_i in 1 2; do |
| 5265 |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
| 5266 |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
| 5267 |
ac_status=$? |
| 5268 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5269 |
(exit $ac_status); } \ |
| 5270 |
&& test -f conftest2.$ac_objext; then |
| 5271 |
: OK |
| 5272 |
else |
| 5273 |
am_cv_prog_cc_c_o=no |
| 5274 |
break |
| 5275 |
fi |
| 5276 |
done |
| 5277 |
# aligned with autoconf, so not including core; see bug#72225. |
| 5278 |
rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \ |
| 5279 |
conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \ |
| 5280 |
conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM |
| 5281 |
unset am_i ;; |
| 5282 |
esac |
| 5283 |
fi |
| 5284 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 5285 |
printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } |
| 5286 |
if test "$am_cv_prog_cc_c_o" != yes; then |
| 5287 |
# Losing compiler, so override with the script. |
| 5288 |
# FIXME: It is wrong to rewrite CC. |
| 5289 |
# But if we don't then we get into trouble of one sort or another. |
| 5290 |
# A longer-term fix would be to have automake use am__CC in this case, |
| 5291 |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 5292 |
CC="$am_aux_dir/compile $CC" |
| 5293 |
fi |
| 5294 |
ac_ext=c |
| 5295 |
ac_cpp='$CPP $CPPFLAGS' |
| 5296 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5297 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5298 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5299 |
|
| 5300 |
|
| 5301 |
depcc="$CC" am_compiler_list= |
| 5302 |
|
| 5303 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 5304 |
printf %s "checking dependency style of $depcc... " >&6; } |
| 5305 |
if test ${am_cv_CC_dependencies_compiler_type+y} |
| 5306 |
then : |
| 5307 |
printf %s "(cached) " >&6 |
| 5308 |
else case e in #( |
| 5309 |
e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 5310 |
# We make a subdir and do the tests there. Otherwise we can end up |
| 5311 |
# making bogus files that we don't know about and never remove. For |
| 5312 |
# instance it was reported that on HP-UX the gcc test will end up |
| 5313 |
# making a dummy file named 'D' -- because '-MD' means "put the output |
| 5314 |
# in D". |
| 5315 |
rm -rf conftest.dir |
| 5316 |
mkdir conftest.dir |
| 5317 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
| 5318 |
# using a relative directory. |
| 5319 |
cp "$am_depcomp" conftest.dir |
| 5320 |
cd conftest.dir |
| 5321 |
# We will build objects and dependencies in a subdirectory because |
| 5322 |
# it helps to detect inapplicable dependency modes. For instance |
| 5323 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
| 5324 |
# side effect of compilation, but ICC will put the dependencies in |
| 5325 |
# the current directory while Tru64 will put them in the object |
| 5326 |
# directory. |
| 5327 |
mkdir sub |
| 5328 |
|
| 5329 |
am_cv_CC_dependencies_compiler_type=none |
| 5330 |
if test "$am_compiler_list" = ""; then |
| 5331 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 5332 |
fi |
| 5333 |
am__universal=false |
| 5334 |
case " $depcc " in #( |
| 5335 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 5336 |
esac |
| 5337 |
|
| 5338 |
for depmode in $am_compiler_list; do |
| 5339 |
# Setup a source with many dependencies, because some compilers |
| 5340 |
# like to wrap large dependency lists on column 80 (with \), and |
| 5341 |
# we should not choose a depcomp mode which is confused by this. |
| 5342 |
# |
| 5343 |
# We need to recreate these files for each test, as the compiler may |
| 5344 |
# overwrite some of them when testing with obscure command lines. |
| 5345 |
# This happens at least with the AIX C compiler. |
| 5346 |
: > sub/conftest.c |
| 5347 |
for i in 1 2 3 4 5 6; do |
| 5348 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 5349 |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 5350 |
# Solaris 10 /bin/sh. |
| 5351 |
echo '/* dummy */' > sub/conftst$i.h |
| 5352 |
done |
| 5353 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 5354 |
|
| 5355 |
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 5356 |
# mode. It turns out that the SunPro C++ compiler does not properly |
| 5357 |
# handle '-M -o', and we need to detect this. Also, some Intel |
| 5358 |
# versions had trouble with output in subdirs. |
| 5359 |
am__obj=sub/conftest.${OBJEXT-o} |
| 5360 |
am__minus_obj="-o $am__obj" |
| 5361 |
case $depmode in |
| 5362 |
gcc) |
| 5363 |
# This depmode causes a compiler race in universal mode. |
| 5364 |
test "$am__universal" = false || continue |
| 5365 |
;; |
| 5366 |
nosideeffect) |
| 5367 |
# After this tag, mechanisms are not by side-effect, so they'll |
| 5368 |
# only be used when explicitly requested. |
| 5369 |
if test "x$enable_dependency_tracking" = xyes; then |
| 5370 |
continue |
| 5371 |
else |
| 5372 |
break |
| 5373 |
fi |
| 5374 |
;; |
| 5375 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 5376 |
# This compiler won't grok '-c -o', but also, the minuso test has |
| 5377 |
# not run yet. These depmodes are late enough in the game, and |
| 5378 |
# so weak that their functioning should not be impacted. |
| 5379 |
am__obj=conftest.${OBJEXT-o} |
| 5380 |
am__minus_obj= |
| 5381 |
;; |
| 5382 |
none) break ;; |
| 5383 |
esac |
| 5384 |
if depmode=$depmode \ |
| 5385 |
source=sub/conftest.c object=$am__obj \ |
| 5386 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 5387 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 5388 |
>/dev/null 2>conftest.err && |
| 5389 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
| 5390 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 5391 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
| 5392 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 5393 |
# icc doesn't choke on unknown options, it will just issue warnings |
| 5394 |
# or remarks (even with -Werror). So we grep stderr for any message |
| 5395 |
# that says an option was ignored or not supported. |
| 5396 |
# When given -MP, icc 7.0 and 7.1 complain thus: |
| 5397 |
# icc: Command line warning: ignoring option '-M'; no argument required |
| 5398 |
# The diagnosis changed in icc 8.0: |
| 5399 |
# icc: Command line remark: option '-MP' not supported |
| 5400 |
if (grep 'ignoring option' conftest.err || |
| 5401 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 5402 |
am_cv_CC_dependencies_compiler_type=$depmode |
| 5403 |
break |
| 5404 |
fi |
| 5405 |
fi |
| 5406 |
done |
| 5407 |
|
| 5408 |
cd .. |
| 5409 |
rm -rf conftest.dir |
| 5410 |
else |
| 5411 |
am_cv_CC_dependencies_compiler_type=none |
| 5412 |
fi |
| 5413 |
;; |
| 5414 |
esac |
| 5415 |
fi |
| 5416 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 5417 |
printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } |
| 5418 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 5419 |
|
| 5420 |
if |
| 5421 |
test "x$enable_dependency_tracking" != xno \ |
| 5422 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| 5423 |
am__fastdepCC_TRUE= |
| 5424 |
am__fastdepCC_FALSE='#' |
| 5425 |
else |
| 5426 |
am__fastdepCC_TRUE='#' |
| 5427 |
am__fastdepCC_FALSE= |
| 5428 |
fi |
| 5429 |
|
| 5430 |
|
| 5431 |
|
| 5432 |
ac_header= ac_cache= |
| 5433 |
for ac_item in $ac_header_c_list |
| 5434 |
do |
| 5435 |
if test $ac_cache; then |
| 5436 |
ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" |
| 5437 |
if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then |
| 5438 |
printf "%s\n" "#define $ac_item 1" >> confdefs.h |
| 5439 |
fi |
| 5440 |
ac_header= ac_cache= |
| 5441 |
elif test $ac_header; then |
| 5442 |
ac_cache=$ac_item |
| 5443 |
else |
| 5444 |
ac_header=$ac_item |
| 5445 |
fi |
| 5446 |
done |
| 5447 |
|
| 5448 |
|
| 5449 |
|
| 5450 |
|
| 5451 |
|
| 5452 |
|
| 5453 |
|
| 5454 |
|
| 5455 |
if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes |
| 5456 |
then : |
| 5457 |
|
| 5458 |
printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h |
| 5459 |
|
| 5460 |
fi |
| 5461 |
|
| 5462 |
|
| 5463 |
|
| 5464 |
|
| 5465 |
|
| 5466 |
|
| 5467 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
| 5468 |
printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
| 5469 |
if test ${ac_cv_safe_to_define___extensions__+y} |
| 5470 |
then : |
| 5471 |
printf %s "(cached) " >&6 |
| 5472 |
else case e in #( |
| 5473 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5474 |
/* end confdefs.h. */ |
| 5475 |
|
| 5476 |
# define __EXTENSIONS__ 1 |
| 5477 |
$ac_includes_default |
| 5478 |
int |
| 5479 |
main (void) |
| 5480 |
{ |
| 5481 |
|
| 5482 |
; |
| 5483 |
return 0; |
| 5484 |
} |
| 5485 |
_ACEOF |
| 5486 |
if ac_fn_c_try_compile "$LINENO" |
| 5487 |
then : |
| 5488 |
ac_cv_safe_to_define___extensions__=yes |
| 5489 |
else case e in #( |
| 5490 |
e) ac_cv_safe_to_define___extensions__=no ;; |
| 5491 |
esac |
| 5492 |
fi |
| 5493 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 5494 |
esac |
| 5495 |
fi |
| 5496 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 |
| 5497 |
printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } |
| 5498 |
|
| 5499 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 |
| 5500 |
printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } |
| 5501 |
if test ${ac_cv_should_define__xopen_source+y} |
| 5502 |
then : |
| 5503 |
printf %s "(cached) " >&6 |
| 5504 |
else case e in #( |
| 5505 |
e) ac_cv_should_define__xopen_source=no |
| 5506 |
if test $ac_cv_header_wchar_h = yes |
| 5507 |
then : |
| 5508 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5509 |
/* end confdefs.h. */ |
| 5510 |
|
| 5511 |
#include <wchar.h> |
| 5512 |
mbstate_t x; |
| 5513 |
int |
| 5514 |
main (void) |
| 5515 |
{ |
| 5516 |
|
| 5517 |
; |
| 5518 |
return 0; |
| 5519 |
} |
| 5520 |
_ACEOF |
| 5521 |
if ac_fn_c_try_compile "$LINENO" |
| 5522 |
then : |
| 5523 |
|
| 5524 |
else case e in #( |
| 5525 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5526 |
/* end confdefs.h. */ |
| 5527 |
|
| 5528 |
#define _XOPEN_SOURCE 500 |
| 5529 |
#include <wchar.h> |
| 5530 |
mbstate_t x; |
| 5531 |
int |
| 5532 |
main (void) |
| 5533 |
{ |
| 5534 |
|
| 5535 |
; |
| 5536 |
return 0; |
| 5537 |
} |
| 5538 |
_ACEOF |
| 5539 |
if ac_fn_c_try_compile "$LINENO" |
| 5540 |
then : |
| 5541 |
ac_cv_should_define__xopen_source=yes |
| 5542 |
fi |
| 5543 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 5544 |
esac |
| 5545 |
fi |
| 5546 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 5547 |
fi ;; |
| 5548 |
esac |
| 5549 |
fi |
| 5550 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 |
| 5551 |
printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } |
| 5552 |
|
| 5553 |
printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h |
| 5554 |
|
| 5555 |
printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h |
| 5556 |
|
| 5557 |
printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h |
| 5558 |
|
| 5559 |
printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h |
| 5560 |
|
| 5561 |
printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h |
| 5562 |
|
| 5563 |
printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h |
| 5564 |
|
| 5565 |
printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
| 5566 |
|
| 5567 |
printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h |
| 5568 |
|
| 5569 |
printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h |
| 5570 |
|
| 5571 |
printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h |
| 5572 |
|
| 5573 |
printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h |
| 5574 |
|
| 5575 |
printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h |
| 5576 |
|
| 5577 |
printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h |
| 5578 |
|
| 5579 |
printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h |
| 5580 |
|
| 5581 |
printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h |
| 5582 |
|
| 5583 |
printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h |
| 5584 |
|
| 5585 |
if test $ac_cv_header_minix_config_h = yes |
| 5586 |
then : |
| 5587 |
MINIX=yes |
| 5588 |
printf "%s\n" "#define _MINIX 1" >>confdefs.h |
| 5589 |
|
| 5590 |
printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h |
| 5591 |
|
| 5592 |
printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h |
| 5593 |
|
| 5594 |
else case e in #( |
| 5595 |
e) MINIX= ;; |
| 5596 |
esac |
| 5597 |
fi |
| 5598 |
if test $ac_cv_safe_to_define___extensions__ = yes |
| 5599 |
then : |
| 5600 |
printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h |
| 5601 |
|
| 5602 |
fi |
| 5603 |
if test $ac_cv_should_define__xopen_source = yes |
| 5604 |
then : |
| 5605 |
printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h |
| 5606 |
|
| 5607 |
fi |
| 5608 |
|
| 5609 |
|
| 5610 |
# Support silent build rules. Disable |
| 5611 |
# by either passing --disable-silent-rules to configure or passing V=1 |
| 5612 |
# to make |
| 5613 |
|
| 5614 |
AM_DEFAULT_VERBOSITY=0 |
| 5615 |
|
| 5616 |
|
| 5617 |
|
| 5618 |
# Define sustituted variables: |
| 5619 |
IBUS_MAJOR_VERSION=1 |
| 5620 |
IBUS_MINOR_VERSION=5 |
| 5621 |
IBUS_MICRO_VERSION=34 |
| 5622 |
IBUS_ABI_CURRENT=5 |
| 5623 |
IBUS_ABI_REVISION=534 |
| 5624 |
IBUS_ABI_AGE=0 |
| 5625 |
IBUS_VERSION=1.5.34 |
| 5626 |
IBUS_API_VERSION=1.0 |
| 5627 |
IBUS_BINARY_VERSION=1.5.0.534 |
| 5628 |
|
| 5629 |
|
| 5630 |
|
| 5631 |
|
| 5632 |
|
| 5633 |
|
| 5634 |
|
| 5635 |
|
| 5636 |
|
| 5637 |
|
| 5638 |
# libtool versioning |
| 5639 |
# |
| 5640 |
# If LT_VERSION_INFO="lt_current:lt_revision:lt_age", libibus is |
| 5641 |
# libibus-ibus_api_version.so.(lt_current - lt_age).lt_age.lt_revision |
| 5642 |
# If the abi is changed, but it is compatible with last version, |
| 5643 |
# ibus_abi_current++, ibus_abi_age++; |
| 5644 |
# If the abi is not compatible with last version, |
| 5645 |
# ibus_abi_current++, ibus_abi_age = 0; |
| 5646 |
|
| 5647 |
|
| 5648 |
|
| 5649 |
LT_VERSION_INFO="5:534:0" |
| 5650 |
LT_CURRENT_MINUS_AGE=5 |
| 5651 |
|
| 5652 |
|
| 5653 |
|
| 5654 |
# Define GETTEXT_* variables. |
| 5655 |
GETTEXT_PACKAGE=ibus10 |
| 5656 |
|
| 5657 |
|
| 5658 |
printf "%s\n" "#define GETTEXT_PACKAGE \"$GETTEXT_PACKAGE\"" >>confdefs.h |
| 5659 |
|
| 5660 |
|
| 5661 |
ibus_save_prefix="$prefix" |
| 5662 |
ibus_save_datarootdir="$datarootdir" |
| 5663 |
ibus_save_datadir="$datadir" |
| 5664 |
ibus_save_localedir="$localedir" |
| 5665 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 5666 |
datarootdir=`eval echo "$datarootdir"` |
| 5667 |
datadir=`eval echo "$datadir"` |
| 5668 |
test "x$localedir" = xNONE && localedir="${datadir}/locale" |
| 5669 |
ibus_localedir=`eval echo "$localedir"` |
| 5670 |
ibus_datadir=`eval echo "$datadir"` |
| 5671 |
localedir="$ibus_save_localedir" |
| 5672 |
datadir="$ibus_save_datadir" |
| 5673 |
datarootdir="$ibus_save_datarootdir" |
| 5674 |
prefix="$ibus_save_prefix" |
| 5675 |
|
| 5676 |
|
| 5677 |
printf "%s\n" "#define LOCALEDIR \"$ibus_localedir\"" >>confdefs.h |
| 5678 |
|
| 5679 |
|
| 5680 |
# For dislpay date. |
| 5681 |
|
| 5682 |
DATE_DISPLAY="木 4月 30 2026" |
| 5683 |
|
| 5684 |
|
| 5685 |
|
| 5686 |
# Check for programs. |
| 5687 |
ac_ext=c |
| 5688 |
ac_cpp='$CPP $CPPFLAGS' |
| 5689 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5690 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5691 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5692 |
if test -n "$ac_tool_prefix"; then |
| 5693 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 5694 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 5695 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5696 |
printf %s "checking for $ac_word... " >&6; } |
| 5697 |
if test ${ac_cv_prog_CC+y} |
| 5698 |
then : |
| 5699 |
printf %s "(cached) " >&6 |
| 5700 |
else case e in #( |
| 5701 |
e) if test -n "$CC"; then |
| 5702 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 5703 |
else |
| 5704 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5705 |
for as_dir in $PATH |
| 5706 |
do |
| 5707 |
IFS=$as_save_IFS |
| 5708 |
case $as_dir in #((( |
| 5709 |
'') as_dir=./ ;; |
| 5710 |
*/) ;; |
| 5711 |
*) as_dir=$as_dir/ ;; |
| 5712 |
esac |
| 5713 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5714 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 5715 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 5716 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5717 |
break 2 |
| 5718 |
fi |
| 5719 |
done |
| 5720 |
done |
| 5721 |
IFS=$as_save_IFS |
| 5722 |
|
| 5723 |
fi ;; |
| 5724 |
esac |
| 5725 |
fi |
| 5726 |
CC=$ac_cv_prog_CC |
| 5727 |
if test -n "$CC"; then |
| 5728 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 5729 |
printf "%s\n" "$CC" >&6; } |
| 5730 |
else |
| 5731 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5732 |
printf "%s\n" "no" >&6; } |
| 5733 |
fi |
| 5734 |
|
| 5735 |
|
| 5736 |
fi |
| 5737 |
if test -z "$ac_cv_prog_CC"; then |
| 5738 |
ac_ct_CC=$CC |
| 5739 |
# Extract the first word of "gcc", so it can be a program name with args. |
| 5740 |
set dummy gcc; ac_word=$2 |
| 5741 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5742 |
printf %s "checking for $ac_word... " >&6; } |
| 5743 |
if test ${ac_cv_prog_ac_ct_CC+y} |
| 5744 |
then : |
| 5745 |
printf %s "(cached) " >&6 |
| 5746 |
else case e in #( |
| 5747 |
e) if test -n "$ac_ct_CC"; then |
| 5748 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 5749 |
else |
| 5750 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5751 |
for as_dir in $PATH |
| 5752 |
do |
| 5753 |
IFS=$as_save_IFS |
| 5754 |
case $as_dir in #((( |
| 5755 |
'') as_dir=./ ;; |
| 5756 |
*/) ;; |
| 5757 |
*) as_dir=$as_dir/ ;; |
| 5758 |
esac |
| 5759 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5760 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 5761 |
ac_cv_prog_ac_ct_CC="gcc" |
| 5762 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5763 |
break 2 |
| 5764 |
fi |
| 5765 |
done |
| 5766 |
done |
| 5767 |
IFS=$as_save_IFS |
| 5768 |
|
| 5769 |
fi ;; |
| 5770 |
esac |
| 5771 |
fi |
| 5772 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 5773 |
if test -n "$ac_ct_CC"; then |
| 5774 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 5775 |
printf "%s\n" "$ac_ct_CC" >&6; } |
| 5776 |
else |
| 5777 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5778 |
printf "%s\n" "no" >&6; } |
| 5779 |
fi |
| 5780 |
|
| 5781 |
if test "x$ac_ct_CC" = x; then |
| 5782 |
CC="" |
| 5783 |
else |
| 5784 |
case $cross_compiling:$ac_tool_warned in |
| 5785 |
yes:) |
| 5786 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5787 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5788 |
ac_tool_warned=yes ;; |
| 5789 |
esac |
| 5790 |
CC=$ac_ct_CC |
| 5791 |
fi |
| 5792 |
else |
| 5793 |
CC="$ac_cv_prog_CC" |
| 5794 |
fi |
| 5795 |
|
| 5796 |
if test -z "$CC"; then |
| 5797 |
if test -n "$ac_tool_prefix"; then |
| 5798 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 5799 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 5800 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5801 |
printf %s "checking for $ac_word... " >&6; } |
| 5802 |
if test ${ac_cv_prog_CC+y} |
| 5803 |
then : |
| 5804 |
printf %s "(cached) " >&6 |
| 5805 |
else case e in #( |
| 5806 |
e) if test -n "$CC"; then |
| 5807 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 5808 |
else |
| 5809 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5810 |
for as_dir in $PATH |
| 5811 |
do |
| 5812 |
IFS=$as_save_IFS |
| 5813 |
case $as_dir in #((( |
| 5814 |
'') as_dir=./ ;; |
| 5815 |
*/) ;; |
| 5816 |
*) as_dir=$as_dir/ ;; |
| 5817 |
esac |
| 5818 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5819 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 5820 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 5821 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5822 |
break 2 |
| 5823 |
fi |
| 5824 |
done |
| 5825 |
done |
| 5826 |
IFS=$as_save_IFS |
| 5827 |
|
| 5828 |
fi ;; |
| 5829 |
esac |
| 5830 |
fi |
| 5831 |
CC=$ac_cv_prog_CC |
| 5832 |
if test -n "$CC"; then |
| 5833 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 5834 |
printf "%s\n" "$CC" >&6; } |
| 5835 |
else |
| 5836 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5837 |
printf "%s\n" "no" >&6; } |
| 5838 |
fi |
| 5839 |
|
| 5840 |
|
| 5841 |
fi |
| 5842 |
fi |
| 5843 |
if test -z "$CC"; then |
| 5844 |
# Extract the first word of "cc", so it can be a program name with args. |
| 5845 |
set dummy cc; ac_word=$2 |
| 5846 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5847 |
printf %s "checking for $ac_word... " >&6; } |
| 5848 |
if test ${ac_cv_prog_CC+y} |
| 5849 |
then : |
| 5850 |
printf %s "(cached) " >&6 |
| 5851 |
else case e in #( |
| 5852 |
e) if test -n "$CC"; then |
| 5853 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 5854 |
else |
| 5855 |
ac_prog_rejected=no |
| 5856 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5857 |
for as_dir in $PATH |
| 5858 |
do |
| 5859 |
IFS=$as_save_IFS |
| 5860 |
case $as_dir in #((( |
| 5861 |
'') as_dir=./ ;; |
| 5862 |
*/) ;; |
| 5863 |
*) as_dir=$as_dir/ ;; |
| 5864 |
esac |
| 5865 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5866 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 5867 |
if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 5868 |
ac_prog_rejected=yes |
| 5869 |
continue |
| 5870 |
fi |
| 5871 |
ac_cv_prog_CC="cc" |
| 5872 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5873 |
break 2 |
| 5874 |
fi |
| 5875 |
done |
| 5876 |
done |
| 5877 |
IFS=$as_save_IFS |
| 5878 |
|
| 5879 |
if test $ac_prog_rejected = yes; then |
| 5880 |
# We found a bogon in the path, so make sure we never use it. |
| 5881 |
set dummy $ac_cv_prog_CC |
| 5882 |
shift |
| 5883 |
if test $# != 0; then |
| 5884 |
# We chose a different compiler from the bogus one. |
| 5885 |
# However, it has the same basename, so the bogon will be chosen |
| 5886 |
# first if we set CC to just the basename; use the full file name. |
| 5887 |
shift |
| 5888 |
ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" |
| 5889 |
fi |
| 5890 |
fi |
| 5891 |
fi ;; |
| 5892 |
esac |
| 5893 |
fi |
| 5894 |
CC=$ac_cv_prog_CC |
| 5895 |
if test -n "$CC"; then |
| 5896 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 5897 |
printf "%s\n" "$CC" >&6; } |
| 5898 |
else |
| 5899 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5900 |
printf "%s\n" "no" >&6; } |
| 5901 |
fi |
| 5902 |
|
| 5903 |
|
| 5904 |
fi |
| 5905 |
if test -z "$CC"; then |
| 5906 |
if test -n "$ac_tool_prefix"; then |
| 5907 |
for ac_prog in cl.exe |
| 5908 |
do |
| 5909 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 5910 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 5911 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5912 |
printf %s "checking for $ac_word... " >&6; } |
| 5913 |
if test ${ac_cv_prog_CC+y} |
| 5914 |
then : |
| 5915 |
printf %s "(cached) " >&6 |
| 5916 |
else case e in #( |
| 5917 |
e) if test -n "$CC"; then |
| 5918 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 5919 |
else |
| 5920 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5921 |
for as_dir in $PATH |
| 5922 |
do |
| 5923 |
IFS=$as_save_IFS |
| 5924 |
case $as_dir in #((( |
| 5925 |
'') as_dir=./ ;; |
| 5926 |
*/) ;; |
| 5927 |
*) as_dir=$as_dir/ ;; |
| 5928 |
esac |
| 5929 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5930 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 5931 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 5932 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5933 |
break 2 |
| 5934 |
fi |
| 5935 |
done |
| 5936 |
done |
| 5937 |
IFS=$as_save_IFS |
| 5938 |
|
| 5939 |
fi ;; |
| 5940 |
esac |
| 5941 |
fi |
| 5942 |
CC=$ac_cv_prog_CC |
| 5943 |
if test -n "$CC"; then |
| 5944 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 5945 |
printf "%s\n" "$CC" >&6; } |
| 5946 |
else |
| 5947 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5948 |
printf "%s\n" "no" >&6; } |
| 5949 |
fi |
| 5950 |
|
| 5951 |
|
| 5952 |
test -n "$CC" && break |
| 5953 |
done |
| 5954 |
fi |
| 5955 |
if test -z "$CC"; then |
| 5956 |
ac_ct_CC=$CC |
| 5957 |
for ac_prog in cl.exe |
| 5958 |
do |
| 5959 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 5960 |
set dummy $ac_prog; ac_word=$2 |
| 5961 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5962 |
printf %s "checking for $ac_word... " >&6; } |
| 5963 |
if test ${ac_cv_prog_ac_ct_CC+y} |
| 5964 |
then : |
| 5965 |
printf %s "(cached) " >&6 |
| 5966 |
else case e in #( |
| 5967 |
e) if test -n "$ac_ct_CC"; then |
| 5968 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 5969 |
else |
| 5970 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5971 |
for as_dir in $PATH |
| 5972 |
do |
| 5973 |
IFS=$as_save_IFS |
| 5974 |
case $as_dir in #((( |
| 5975 |
'') as_dir=./ ;; |
| 5976 |
*/) ;; |
| 5977 |
*) as_dir=$as_dir/ ;; |
| 5978 |
esac |
| 5979 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5980 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 5981 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
| 5982 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5983 |
break 2 |
| 5984 |
fi |
| 5985 |
done |
| 5986 |
done |
| 5987 |
IFS=$as_save_IFS |
| 5988 |
|
| 5989 |
fi ;; |
| 5990 |
esac |
| 5991 |
fi |
| 5992 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 5993 |
if test -n "$ac_ct_CC"; then |
| 5994 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 5995 |
printf "%s\n" "$ac_ct_CC" >&6; } |
| 5996 |
else |
| 5997 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5998 |
printf "%s\n" "no" >&6; } |
| 5999 |
fi |
| 6000 |
|
| 6001 |
|
| 6002 |
test -n "$ac_ct_CC" && break |
| 6003 |
done |
| 6004 |
|
| 6005 |
if test "x$ac_ct_CC" = x; then |
| 6006 |
CC="" |
| 6007 |
else |
| 6008 |
case $cross_compiling:$ac_tool_warned in |
| 6009 |
yes:) |
| 6010 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6011 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6012 |
ac_tool_warned=yes ;; |
| 6013 |
esac |
| 6014 |
CC=$ac_ct_CC |
| 6015 |
fi |
| 6016 |
fi |
| 6017 |
|
| 6018 |
fi |
| 6019 |
if test -z "$CC"; then |
| 6020 |
if test -n "$ac_tool_prefix"; then |
| 6021 |
# Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. |
| 6022 |
set dummy ${ac_tool_prefix}clang; ac_word=$2 |
| 6023 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6024 |
printf %s "checking for $ac_word... " >&6; } |
| 6025 |
if test ${ac_cv_prog_CC+y} |
| 6026 |
then : |
| 6027 |
printf %s "(cached) " >&6 |
| 6028 |
else case e in #( |
| 6029 |
e) if test -n "$CC"; then |
| 6030 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 6031 |
else |
| 6032 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6033 |
for as_dir in $PATH |
| 6034 |
do |
| 6035 |
IFS=$as_save_IFS |
| 6036 |
case $as_dir in #((( |
| 6037 |
'') as_dir=./ ;; |
| 6038 |
*/) ;; |
| 6039 |
*) as_dir=$as_dir/ ;; |
| 6040 |
esac |
| 6041 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6042 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6043 |
ac_cv_prog_CC="${ac_tool_prefix}clang" |
| 6044 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6045 |
break 2 |
| 6046 |
fi |
| 6047 |
done |
| 6048 |
done |
| 6049 |
IFS=$as_save_IFS |
| 6050 |
|
| 6051 |
fi ;; |
| 6052 |
esac |
| 6053 |
fi |
| 6054 |
CC=$ac_cv_prog_CC |
| 6055 |
if test -n "$CC"; then |
| 6056 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 6057 |
printf "%s\n" "$CC" >&6; } |
| 6058 |
else |
| 6059 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6060 |
printf "%s\n" "no" >&6; } |
| 6061 |
fi |
| 6062 |
|
| 6063 |
|
| 6064 |
fi |
| 6065 |
if test -z "$ac_cv_prog_CC"; then |
| 6066 |
ac_ct_CC=$CC |
| 6067 |
# Extract the first word of "clang", so it can be a program name with args. |
| 6068 |
set dummy clang; ac_word=$2 |
| 6069 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6070 |
printf %s "checking for $ac_word... " >&6; } |
| 6071 |
if test ${ac_cv_prog_ac_ct_CC+y} |
| 6072 |
then : |
| 6073 |
printf %s "(cached) " >&6 |
| 6074 |
else case e in #( |
| 6075 |
e) if test -n "$ac_ct_CC"; then |
| 6076 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 6077 |
else |
| 6078 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6079 |
for as_dir in $PATH |
| 6080 |
do |
| 6081 |
IFS=$as_save_IFS |
| 6082 |
case $as_dir in #((( |
| 6083 |
'') as_dir=./ ;; |
| 6084 |
*/) ;; |
| 6085 |
*) as_dir=$as_dir/ ;; |
| 6086 |
esac |
| 6087 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6088 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6089 |
ac_cv_prog_ac_ct_CC="clang" |
| 6090 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6091 |
break 2 |
| 6092 |
fi |
| 6093 |
done |
| 6094 |
done |
| 6095 |
IFS=$as_save_IFS |
| 6096 |
|
| 6097 |
fi ;; |
| 6098 |
esac |
| 6099 |
fi |
| 6100 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 6101 |
if test -n "$ac_ct_CC"; then |
| 6102 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 6103 |
printf "%s\n" "$ac_ct_CC" >&6; } |
| 6104 |
else |
| 6105 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6106 |
printf "%s\n" "no" >&6; } |
| 6107 |
fi |
| 6108 |
|
| 6109 |
if test "x$ac_ct_CC" = x; then |
| 6110 |
CC="" |
| 6111 |
else |
| 6112 |
case $cross_compiling:$ac_tool_warned in |
| 6113 |
yes:) |
| 6114 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6115 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6116 |
ac_tool_warned=yes ;; |
| 6117 |
esac |
| 6118 |
CC=$ac_ct_CC |
| 6119 |
fi |
| 6120 |
else |
| 6121 |
CC="$ac_cv_prog_CC" |
| 6122 |
fi |
| 6123 |
|
| 6124 |
fi |
| 6125 |
|
| 6126 |
|
| 6127 |
test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 6128 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 6129 |
as_fn_error $? "no acceptable C compiler found in \$PATH |
| 6130 |
See 'config.log' for more details" "$LINENO" 5; } |
| 6131 |
|
| 6132 |
# Provide some information about the compiler. |
| 6133 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 6134 |
set X $ac_compile |
| 6135 |
ac_compiler=$2 |
| 6136 |
for ac_option in --version -v -V -qversion -version; do |
| 6137 |
{ { ac_try="$ac_compiler $ac_option >&5" |
| 6138 |
case "(($ac_try" in |
| 6139 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6140 |
*) ac_try_echo=$ac_try;; |
| 6141 |
esac |
| 6142 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 6143 |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 6144 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 6145 |
ac_status=$? |
| 6146 |
if test -s conftest.err; then |
| 6147 |
sed '10a\ |
| 6148 |
... rest of stderr output deleted ... |
| 6149 |
10q' conftest.err >conftest.er1 |
| 6150 |
cat conftest.er1 >&5 |
| 6151 |
fi |
| 6152 |
rm -f conftest.er1 conftest.err |
| 6153 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6154 |
test $ac_status = 0; } |
| 6155 |
done |
| 6156 |
|
| 6157 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 |
| 6158 |
printf %s "checking whether the compiler supports GNU C... " >&6; } |
| 6159 |
if test ${ac_cv_c_compiler_gnu+y} |
| 6160 |
then : |
| 6161 |
printf %s "(cached) " >&6 |
| 6162 |
else case e in #( |
| 6163 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6164 |
/* end confdefs.h. */ |
| 6165 |
|
| 6166 |
int |
| 6167 |
main (void) |
| 6168 |
{ |
| 6169 |
#ifndef __GNUC__ |
| 6170 |
choke me |
| 6171 |
#endif |
| 6172 |
|
| 6173 |
; |
| 6174 |
return 0; |
| 6175 |
} |
| 6176 |
_ACEOF |
| 6177 |
if ac_fn_c_try_compile "$LINENO" |
| 6178 |
then : |
| 6179 |
ac_compiler_gnu=yes |
| 6180 |
else case e in #( |
| 6181 |
e) ac_compiler_gnu=no ;; |
| 6182 |
esac |
| 6183 |
fi |
| 6184 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 6185 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 6186 |
;; |
| 6187 |
esac |
| 6188 |
fi |
| 6189 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 6190 |
printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } |
| 6191 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6192 |
|
| 6193 |
if test $ac_compiler_gnu = yes; then |
| 6194 |
GCC=yes |
| 6195 |
else |
| 6196 |
GCC= |
| 6197 |
fi |
| 6198 |
ac_test_CFLAGS=${CFLAGS+y} |
| 6199 |
ac_save_CFLAGS=$CFLAGS |
| 6200 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 6201 |
printf %s "checking whether $CC accepts -g... " >&6; } |
| 6202 |
if test ${ac_cv_prog_cc_g+y} |
| 6203 |
then : |
| 6204 |
printf %s "(cached) " >&6 |
| 6205 |
else case e in #( |
| 6206 |
e) ac_save_c_werror_flag=$ac_c_werror_flag |
| 6207 |
ac_c_werror_flag=yes |
| 6208 |
ac_cv_prog_cc_g=no |
| 6209 |
CFLAGS="-g" |
| 6210 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6211 |
/* end confdefs.h. */ |
| 6212 |
|
| 6213 |
int |
| 6214 |
main (void) |
| 6215 |
{ |
| 6216 |
|
| 6217 |
; |
| 6218 |
return 0; |
| 6219 |
} |
| 6220 |
_ACEOF |
| 6221 |
if ac_fn_c_try_compile "$LINENO" |
| 6222 |
then : |
| 6223 |
ac_cv_prog_cc_g=yes |
| 6224 |
else case e in #( |
| 6225 |
e) CFLAGS="" |
| 6226 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6227 |
/* end confdefs.h. */ |
| 6228 |
|
| 6229 |
int |
| 6230 |
main (void) |
| 6231 |
{ |
| 6232 |
|
| 6233 |
; |
| 6234 |
return 0; |
| 6235 |
} |
| 6236 |
_ACEOF |
| 6237 |
if ac_fn_c_try_compile "$LINENO" |
| 6238 |
then : |
| 6239 |
|
| 6240 |
else case e in #( |
| 6241 |
e) ac_c_werror_flag=$ac_save_c_werror_flag |
| 6242 |
CFLAGS="-g" |
| 6243 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6244 |
/* end confdefs.h. */ |
| 6245 |
|
| 6246 |
int |
| 6247 |
main (void) |
| 6248 |
{ |
| 6249 |
|
| 6250 |
; |
| 6251 |
return 0; |
| 6252 |
} |
| 6253 |
_ACEOF |
| 6254 |
if ac_fn_c_try_compile "$LINENO" |
| 6255 |
then : |
| 6256 |
ac_cv_prog_cc_g=yes |
| 6257 |
fi |
| 6258 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 6259 |
esac |
| 6260 |
fi |
| 6261 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 6262 |
esac |
| 6263 |
fi |
| 6264 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 6265 |
ac_c_werror_flag=$ac_save_c_werror_flag ;; |
| 6266 |
esac |
| 6267 |
fi |
| 6268 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 6269 |
printf "%s\n" "$ac_cv_prog_cc_g" >&6; } |
| 6270 |
if test $ac_test_CFLAGS; then |
| 6271 |
CFLAGS=$ac_save_CFLAGS |
| 6272 |
elif test $ac_cv_prog_cc_g = yes; then |
| 6273 |
if test "$GCC" = yes; then |
| 6274 |
CFLAGS="-g -O2" |
| 6275 |
else |
| 6276 |
CFLAGS="-g" |
| 6277 |
fi |
| 6278 |
else |
| 6279 |
if test "$GCC" = yes; then |
| 6280 |
CFLAGS="-O2" |
| 6281 |
else |
| 6282 |
CFLAGS= |
| 6283 |
fi |
| 6284 |
fi |
| 6285 |
ac_prog_cc_stdc=no |
| 6286 |
if test x$ac_prog_cc_stdc = xno |
| 6287 |
then : |
| 6288 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 |
| 6289 |
printf %s "checking for $CC option to enable C11 features... " >&6; } |
| 6290 |
if test ${ac_cv_prog_cc_c11+y} |
| 6291 |
then : |
| 6292 |
printf %s "(cached) " >&6 |
| 6293 |
else case e in #( |
| 6294 |
e) ac_cv_prog_cc_c11=no |
| 6295 |
ac_save_CC=$CC |
| 6296 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6297 |
/* end confdefs.h. */ |
| 6298 |
$ac_c_conftest_c11_program |
| 6299 |
_ACEOF |
| 6300 |
for ac_arg in '' -std=gnu11 |
| 6301 |
do |
| 6302 |
CC="$ac_save_CC $ac_arg" |
| 6303 |
if ac_fn_c_try_compile "$LINENO" |
| 6304 |
then : |
| 6305 |
ac_cv_prog_cc_c11=$ac_arg |
| 6306 |
fi |
| 6307 |
rm -f core conftest.err conftest.$ac_objext conftest.beam |
| 6308 |
test "x$ac_cv_prog_cc_c11" != "xno" && break |
| 6309 |
done |
| 6310 |
rm -f conftest.$ac_ext |
| 6311 |
CC=$ac_save_CC ;; |
| 6312 |
esac |
| 6313 |
fi |
| 6314 |
|
| 6315 |
if test "x$ac_cv_prog_cc_c11" = xno |
| 6316 |
then : |
| 6317 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 6318 |
printf "%s\n" "unsupported" >&6; } |
| 6319 |
else case e in #( |
| 6320 |
e) if test "x$ac_cv_prog_cc_c11" = x |
| 6321 |
then : |
| 6322 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 6323 |
printf "%s\n" "none needed" >&6; } |
| 6324 |
else case e in #( |
| 6325 |
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 |
| 6326 |
printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } |
| 6327 |
CC="$CC $ac_cv_prog_cc_c11" ;; |
| 6328 |
esac |
| 6329 |
fi |
| 6330 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 |
| 6331 |
ac_prog_cc_stdc=c11 ;; |
| 6332 |
esac |
| 6333 |
fi |
| 6334 |
fi |
| 6335 |
if test x$ac_prog_cc_stdc = xno |
| 6336 |
then : |
| 6337 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 |
| 6338 |
printf %s "checking for $CC option to enable C99 features... " >&6; } |
| 6339 |
if test ${ac_cv_prog_cc_c99+y} |
| 6340 |
then : |
| 6341 |
printf %s "(cached) " >&6 |
| 6342 |
else case e in #( |
| 6343 |
e) ac_cv_prog_cc_c99=no |
| 6344 |
ac_save_CC=$CC |
| 6345 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6346 |
/* end confdefs.h. */ |
| 6347 |
$ac_c_conftest_c99_program |
| 6348 |
_ACEOF |
| 6349 |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= |
| 6350 |
do |
| 6351 |
CC="$ac_save_CC $ac_arg" |
| 6352 |
if ac_fn_c_try_compile "$LINENO" |
| 6353 |
then : |
| 6354 |
ac_cv_prog_cc_c99=$ac_arg |
| 6355 |
fi |
| 6356 |
rm -f core conftest.err conftest.$ac_objext conftest.beam |
| 6357 |
test "x$ac_cv_prog_cc_c99" != "xno" && break |
| 6358 |
done |
| 6359 |
rm -f conftest.$ac_ext |
| 6360 |
CC=$ac_save_CC ;; |
| 6361 |
esac |
| 6362 |
fi |
| 6363 |
|
| 6364 |
if test "x$ac_cv_prog_cc_c99" = xno |
| 6365 |
then : |
| 6366 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 6367 |
printf "%s\n" "unsupported" >&6; } |
| 6368 |
else case e in #( |
| 6369 |
e) if test "x$ac_cv_prog_cc_c99" = x |
| 6370 |
then : |
| 6371 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 6372 |
printf "%s\n" "none needed" >&6; } |
| 6373 |
else case e in #( |
| 6374 |
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
| 6375 |
printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } |
| 6376 |
CC="$CC $ac_cv_prog_cc_c99" ;; |
| 6377 |
esac |
| 6378 |
fi |
| 6379 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
| 6380 |
ac_prog_cc_stdc=c99 ;; |
| 6381 |
esac |
| 6382 |
fi |
| 6383 |
fi |
| 6384 |
if test x$ac_prog_cc_stdc = xno |
| 6385 |
then : |
| 6386 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 |
| 6387 |
printf %s "checking for $CC option to enable C89 features... " >&6; } |
| 6388 |
if test ${ac_cv_prog_cc_c89+y} |
| 6389 |
then : |
| 6390 |
printf %s "(cached) " >&6 |
| 6391 |
else case e in #( |
| 6392 |
e) ac_cv_prog_cc_c89=no |
| 6393 |
ac_save_CC=$CC |
| 6394 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6395 |
/* end confdefs.h. */ |
| 6396 |
$ac_c_conftest_c89_program |
| 6397 |
_ACEOF |
| 6398 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 6399 |
do |
| 6400 |
CC="$ac_save_CC $ac_arg" |
| 6401 |
if ac_fn_c_try_compile "$LINENO" |
| 6402 |
then : |
| 6403 |
ac_cv_prog_cc_c89=$ac_arg |
| 6404 |
fi |
| 6405 |
rm -f core conftest.err conftest.$ac_objext conftest.beam |
| 6406 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 6407 |
done |
| 6408 |
rm -f conftest.$ac_ext |
| 6409 |
CC=$ac_save_CC ;; |
| 6410 |
esac |
| 6411 |
fi |
| 6412 |
|
| 6413 |
if test "x$ac_cv_prog_cc_c89" = xno |
| 6414 |
then : |
| 6415 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 6416 |
printf "%s\n" "unsupported" >&6; } |
| 6417 |
else case e in #( |
| 6418 |
e) if test "x$ac_cv_prog_cc_c89" = x |
| 6419 |
then : |
| 6420 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 6421 |
printf "%s\n" "none needed" >&6; } |
| 6422 |
else case e in #( |
| 6423 |
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 6424 |
printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } |
| 6425 |
CC="$CC $ac_cv_prog_cc_c89" ;; |
| 6426 |
esac |
| 6427 |
fi |
| 6428 |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
| 6429 |
ac_prog_cc_stdc=c89 ;; |
| 6430 |
esac |
| 6431 |
fi |
| 6432 |
fi |
| 6433 |
|
| 6434 |
ac_ext=c |
| 6435 |
ac_cpp='$CPP $CPPFLAGS' |
| 6436 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6437 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6438 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6439 |
|
| 6440 |
|
| 6441 |
ac_ext=c |
| 6442 |
ac_cpp='$CPP $CPPFLAGS' |
| 6443 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6444 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6445 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6446 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 6447 |
printf %s "checking whether $CC understands -c and -o together... " >&6; } |
| 6448 |
if test ${am_cv_prog_cc_c_o+y} |
| 6449 |
then : |
| 6450 |
printf %s "(cached) " >&6 |
| 6451 |
else case e in #( |
| 6452 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6453 |
/* end confdefs.h. */ |
| 6454 |
|
| 6455 |
int |
| 6456 |
main (void) |
| 6457 |
{ |
| 6458 |
|
| 6459 |
; |
| 6460 |
return 0; |
| 6461 |
} |
| 6462 |
_ACEOF |
| 6463 |
# Make sure it works both with $CC and with simple cc. |
| 6464 |
# Following AC_PROG_CC_C_O, we do the test twice because some |
| 6465 |
# compilers refuse to overwrite an existing .o file with -o, |
| 6466 |
# though they will create one. |
| 6467 |
am_cv_prog_cc_c_o=yes |
| 6468 |
for am_i in 1 2; do |
| 6469 |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
| 6470 |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
| 6471 |
ac_status=$? |
| 6472 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6473 |
(exit $ac_status); } \ |
| 6474 |
&& test -f conftest2.$ac_objext; then |
| 6475 |
: OK |
| 6476 |
else |
| 6477 |
am_cv_prog_cc_c_o=no |
| 6478 |
break |
| 6479 |
fi |
| 6480 |
done |
| 6481 |
# aligned with autoconf, so not including core; see bug#72225. |
| 6482 |
rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \ |
| 6483 |
conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \ |
| 6484 |
conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM |
| 6485 |
unset am_i ;; |
| 6486 |
esac |
| 6487 |
fi |
| 6488 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 6489 |
printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } |
| 6490 |
if test "$am_cv_prog_cc_c_o" != yes; then |
| 6491 |
# Losing compiler, so override with the script. |
| 6492 |
# FIXME: It is wrong to rewrite CC. |
| 6493 |
# But if we don't then we get into trouble of one sort or another. |
| 6494 |
# A longer-term fix would be to have automake use am__CC in this case, |
| 6495 |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 6496 |
CC="$am_aux_dir/compile $CC" |
| 6497 |
fi |
| 6498 |
ac_ext=c |
| 6499 |
ac_cpp='$CPP $CPPFLAGS' |
| 6500 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6501 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6502 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6503 |
|
| 6504 |
|
| 6505 |
depcc="$CC" am_compiler_list= |
| 6506 |
|
| 6507 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 6508 |
printf %s "checking dependency style of $depcc... " >&6; } |
| 6509 |
if test ${am_cv_CC_dependencies_compiler_type+y} |
| 6510 |
then : |
| 6511 |
printf %s "(cached) " >&6 |
| 6512 |
else case e in #( |
| 6513 |
e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 6514 |
# We make a subdir and do the tests there. Otherwise we can end up |
| 6515 |
# making bogus files that we don't know about and never remove. For |
| 6516 |
# instance it was reported that on HP-UX the gcc test will end up |
| 6517 |
# making a dummy file named 'D' -- because '-MD' means "put the output |
| 6518 |
# in D". |
| 6519 |
rm -rf conftest.dir |
| 6520 |
mkdir conftest.dir |
| 6521 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
| 6522 |
# using a relative directory. |
| 6523 |
cp "$am_depcomp" conftest.dir |
| 6524 |
cd conftest.dir |
| 6525 |
# We will build objects and dependencies in a subdirectory because |
| 6526 |
# it helps to detect inapplicable dependency modes. For instance |
| 6527 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
| 6528 |
# side effect of compilation, but ICC will put the dependencies in |
| 6529 |
# the current directory while Tru64 will put them in the object |
| 6530 |
# directory. |
| 6531 |
mkdir sub |
| 6532 |
|
| 6533 |
am_cv_CC_dependencies_compiler_type=none |
| 6534 |
if test "$am_compiler_list" = ""; then |
| 6535 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 6536 |
fi |
| 6537 |
am__universal=false |
| 6538 |
case " $depcc " in #( |
| 6539 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 6540 |
esac |
| 6541 |
|
| 6542 |
for depmode in $am_compiler_list; do |
| 6543 |
# Setup a source with many dependencies, because some compilers |
| 6544 |
# like to wrap large dependency lists on column 80 (with \), and |
| 6545 |
# we should not choose a depcomp mode which is confused by this. |
| 6546 |
# |
| 6547 |
# We need to recreate these files for each test, as the compiler may |
| 6548 |
# overwrite some of them when testing with obscure command lines. |
| 6549 |
# This happens at least with the AIX C compiler. |
| 6550 |
: > sub/conftest.c |
| 6551 |
for i in 1 2 3 4 5 6; do |
| 6552 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 6553 |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 6554 |
# Solaris 10 /bin/sh. |
| 6555 |
echo '/* dummy */' > sub/conftst$i.h |
| 6556 |
done |
| 6557 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 6558 |
|
| 6559 |
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 6560 |
# mode. It turns out that the SunPro C++ compiler does not properly |
| 6561 |
# handle '-M -o', and we need to detect this. Also, some Intel |
| 6562 |
# versions had trouble with output in subdirs. |
| 6563 |
am__obj=sub/conftest.${OBJEXT-o} |
| 6564 |
am__minus_obj="-o $am__obj" |
| 6565 |
case $depmode in |
| 6566 |
gcc) |
| 6567 |
# This depmode causes a compiler race in universal mode. |
| 6568 |
test "$am__universal" = false || continue |
| 6569 |
;; |
| 6570 |
nosideeffect) |
| 6571 |
# After this tag, mechanisms are not by side-effect, so they'll |
| 6572 |
# only be used when explicitly requested. |
| 6573 |
if test "x$enable_dependency_tracking" = xyes; then |
| 6574 |
continue |
| 6575 |
else |
| 6576 |
break |
| 6577 |
fi |
| 6578 |
;; |
| 6579 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 6580 |
# This compiler won't grok '-c -o', but also, the minuso test has |
| 6581 |
# not run yet. These depmodes are late enough in the game, and |
| 6582 |
# so weak that their functioning should not be impacted. |
| 6583 |
am__obj=conftest.${OBJEXT-o} |
| 6584 |
am__minus_obj= |
| 6585 |
;; |
| 6586 |
none) break ;; |
| 6587 |
esac |
| 6588 |
if depmode=$depmode \ |
| 6589 |
source=sub/conftest.c object=$am__obj \ |
| 6590 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 6591 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 6592 |
>/dev/null 2>conftest.err && |
| 6593 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
| 6594 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 6595 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
| 6596 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 6597 |
# icc doesn't choke on unknown options, it will just issue warnings |
| 6598 |
# or remarks (even with -Werror). So we grep stderr for any message |
| 6599 |
# that says an option was ignored or not supported. |
| 6600 |
# When given -MP, icc 7.0 and 7.1 complain thus: |
| 6601 |
# icc: Command line warning: ignoring option '-M'; no argument required |
| 6602 |
# The diagnosis changed in icc 8.0: |
| 6603 |
# icc: Command line remark: option '-MP' not supported |
| 6604 |
if (grep 'ignoring option' conftest.err || |
| 6605 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 6606 |
am_cv_CC_dependencies_compiler_type=$depmode |
| 6607 |
break |
| 6608 |
fi |
| 6609 |
fi |
| 6610 |
done |
| 6611 |
|
| 6612 |
cd .. |
| 6613 |
rm -rf conftest.dir |
| 6614 |
else |
| 6615 |
am_cv_CC_dependencies_compiler_type=none |
| 6616 |
fi |
| 6617 |
;; |
| 6618 |
esac |
| 6619 |
fi |
| 6620 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 6621 |
printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } |
| 6622 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 6623 |
|
| 6624 |
if |
| 6625 |
test "x$enable_dependency_tracking" != xno \ |
| 6626 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| 6627 |
am__fastdepCC_TRUE= |
| 6628 |
am__fastdepCC_FALSE='#' |
| 6629 |
else |
| 6630 |
am__fastdepCC_TRUE='#' |
| 6631 |
am__fastdepCC_FALSE= |
| 6632 |
fi |
| 6633 |
|
| 6634 |
|
| 6635 |
|
| 6636 |
# Extract the first word of "valac", so it can be a program name with args. |
| 6637 |
set dummy valac; ac_word=$2 |
| 6638 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6639 |
printf %s "checking for $ac_word... " >&6; } |
| 6640 |
if test ${ac_cv_path_VALAC+y} |
| 6641 |
then : |
| 6642 |
printf %s "(cached) " >&6 |
| 6643 |
else case e in #( |
| 6644 |
e) case $VALAC in |
| 6645 |
[\\/]* | ?:[\\/]*) |
| 6646 |
ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path. |
| 6647 |
;; |
| 6648 |
*) |
| 6649 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6650 |
for as_dir in $PATH |
| 6651 |
do |
| 6652 |
IFS=$as_save_IFS |
| 6653 |
case $as_dir in #((( |
| 6654 |
'') as_dir=./ ;; |
| 6655 |
*/) ;; |
| 6656 |
*) as_dir=$as_dir/ ;; |
| 6657 |
esac |
| 6658 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6659 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6660 |
ac_cv_path_VALAC="$as_dir$ac_word$ac_exec_ext" |
| 6661 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6662 |
break 2 |
| 6663 |
fi |
| 6664 |
done |
| 6665 |
done |
| 6666 |
IFS=$as_save_IFS |
| 6667 |
|
| 6668 |
test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac" |
| 6669 |
;; |
| 6670 |
esac ;; |
| 6671 |
esac |
| 6672 |
fi |
| 6673 |
VALAC=$ac_cv_path_VALAC |
| 6674 |
if test -n "$VALAC"; then |
| 6675 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5 |
| 6676 |
printf "%s\n" "$VALAC" >&6; } |
| 6677 |
else |
| 6678 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6679 |
printf "%s\n" "no" >&6; } |
| 6680 |
fi |
| 6681 |
|
| 6682 |
|
| 6683 |
if test "$VALAC" != valac && test -n "0.20" |
| 6684 |
then : |
| 6685 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $VALAC supports at least API version 0.20" >&5 |
| 6686 |
printf %s "checking whether $VALAC supports at least API version 0.20... " >&6; } |
| 6687 |
am__vala_version=`$VALAC --api-version` |
| 6688 |
as_arg_v1=0.20 |
| 6689 |
as_arg_v2="$am__vala_version" |
| 6690 |
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null |
| 6691 |
case $? in #( |
| 6692 |
1) : |
| 6693 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 6694 |
printf "%s\n" "yes" >&6; } ;; #( |
| 6695 |
0) : |
| 6696 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 6697 |
printf "%s\n" "yes" >&6; } ;; #( |
| 6698 |
2) : |
| 6699 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6700 |
printf "%s\n" "no" >&6; } |
| 6701 |
VALAC=valac ;; #( |
| 6702 |
*) : |
| 6703 |
;; |
| 6704 |
esac |
| 6705 |
fi |
| 6706 |
if test "$VALAC" = valac; then |
| 6707 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Vala compiler not found or too old" >&5 |
| 6708 |
printf "%s\n" "$as_me: WARNING: Vala compiler not found or too old" >&2;} |
| 6709 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: you will not be able to compile Vala source files" >&5 |
| 6710 |
printf "%s\n" "$as_me: WARNING: you will not be able to compile Vala source files" >&2;} |
| 6711 |
else |
| 6712 |
: |
| 6713 |
fi |
| 6714 |
|
| 6715 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 6716 |
printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 6717 |
set x ${MAKE-make} |
| 6718 |
ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 6719 |
if eval test \${ac_cv_prog_make_${ac_make}_set+y} |
| 6720 |
then : |
| 6721 |
printf %s "(cached) " >&6 |
| 6722 |
else case e in #( |
| 6723 |
e) cat >conftest.make <<\_ACEOF |
| 6724 |
SHELL = /bin/sh |
| 6725 |
all: |
| 6726 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
| 6727 |
_ACEOF |
| 6728 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 6729 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 6730 |
*@@@%%%=?*=@@@%%%*) |
| 6731 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 6732 |
*) |
| 6733 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
| 6734 |
esac |
| 6735 |
rm -f conftest.make ;; |
| 6736 |
esac |
| 6737 |
fi |
| 6738 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 6739 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 6740 |
printf "%s\n" "yes" >&6; } |
| 6741 |
SET_MAKE= |
| 6742 |
else |
| 6743 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6744 |
printf "%s\n" "no" >&6; } |
| 6745 |
SET_MAKE="MAKE=${MAKE-make}" |
| 6746 |
fi |
| 6747 |
|
| 6748 |
ac_ext=c |
| 6749 |
ac_cpp='$CPP $CPPFLAGS' |
| 6750 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6751 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6752 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6753 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
| 6754 |
printf %s "checking how to run the C preprocessor... " >&6; } |
| 6755 |
# On Suns, sometimes $CPP names a directory. |
| 6756 |
if test -n "$CPP" && test -d "$CPP"; then |
| 6757 |
CPP= |
| 6758 |
fi |
| 6759 |
if test -z "$CPP"; then |
| 6760 |
if test ${ac_cv_prog_CPP+y} |
| 6761 |
then : |
| 6762 |
printf %s "(cached) " >&6 |
| 6763 |
else case e in #( |
| 6764 |
e) # Double quotes because $CC needs to be expanded |
| 6765 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp |
| 6766 |
do |
| 6767 |
ac_preproc_ok=false |
| 6768 |
for ac_c_preproc_warn_flag in '' yes |
| 6769 |
do |
| 6770 |
# Use a header file that comes with gcc, so configuring glibc |
| 6771 |
# with a fresh cross-compiler works. |
| 6772 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 6773 |
# not just through cpp. "Syntax error" is here to catch this case. |
| 6774 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6775 |
/* end confdefs.h. */ |
| 6776 |
#include <limits.h> |
| 6777 |
Syntax error |
| 6778 |
_ACEOF |
| 6779 |
if ac_fn_c_try_cpp "$LINENO" |
| 6780 |
then : |
| 6781 |
|
| 6782 |
else case e in #( |
| 6783 |
e) # Broken: fails on valid input. |
| 6784 |
continue ;; |
| 6785 |
esac |
| 6786 |
fi |
| 6787 |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 6788 |
|
| 6789 |
# OK, works on sane cases. Now check whether nonexistent headers |
| 6790 |
# can be detected and how. |
| 6791 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6792 |
/* end confdefs.h. */ |
| 6793 |
#include <ac_nonexistent.h> |
| 6794 |
_ACEOF |
| 6795 |
if ac_fn_c_try_cpp "$LINENO" |
| 6796 |
then : |
| 6797 |
# Broken: success on invalid input. |
| 6798 |
continue |
| 6799 |
else case e in #( |
| 6800 |
e) # Passes both tests. |
| 6801 |
ac_preproc_ok=: |
| 6802 |
break ;; |
| 6803 |
esac |
| 6804 |
fi |
| 6805 |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 6806 |
|
| 6807 |
done |
| 6808 |
# Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 6809 |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 6810 |
if $ac_preproc_ok |
| 6811 |
then : |
| 6812 |
break |
| 6813 |
fi |
| 6814 |
|
| 6815 |
done |
| 6816 |
ac_cv_prog_CPP=$CPP |
| 6817 |
;; |
| 6818 |
esac |
| 6819 |
fi |
| 6820 |
CPP=$ac_cv_prog_CPP |
| 6821 |
else |
| 6822 |
ac_cv_prog_CPP=$CPP |
| 6823 |
fi |
| 6824 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
| 6825 |
printf "%s\n" "$CPP" >&6; } |
| 6826 |
ac_preproc_ok=false |
| 6827 |
for ac_c_preproc_warn_flag in '' yes |
| 6828 |
do |
| 6829 |
# Use a header file that comes with gcc, so configuring glibc |
| 6830 |
# with a fresh cross-compiler works. |
| 6831 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 6832 |
# not just through cpp. "Syntax error" is here to catch this case. |
| 6833 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6834 |
/* end confdefs.h. */ |
| 6835 |
#include <limits.h> |
| 6836 |
Syntax error |
| 6837 |
_ACEOF |
| 6838 |
if ac_fn_c_try_cpp "$LINENO" |
| 6839 |
then : |
| 6840 |
|
| 6841 |
else case e in #( |
| 6842 |
e) # Broken: fails on valid input. |
| 6843 |
continue ;; |
| 6844 |
esac |
| 6845 |
fi |
| 6846 |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 6847 |
|
| 6848 |
# OK, works on sane cases. Now check whether nonexistent headers |
| 6849 |
# can be detected and how. |
| 6850 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6851 |
/* end confdefs.h. */ |
| 6852 |
#include <ac_nonexistent.h> |
| 6853 |
_ACEOF |
| 6854 |
if ac_fn_c_try_cpp "$LINENO" |
| 6855 |
then : |
| 6856 |
# Broken: success on invalid input. |
| 6857 |
continue |
| 6858 |
else case e in #( |
| 6859 |
e) # Passes both tests. |
| 6860 |
ac_preproc_ok=: |
| 6861 |
break ;; |
| 6862 |
esac |
| 6863 |
fi |
| 6864 |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 6865 |
|
| 6866 |
done |
| 6867 |
# Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 6868 |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 6869 |
if $ac_preproc_ok |
| 6870 |
then : |
| 6871 |
|
| 6872 |
else case e in #( |
| 6873 |
e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 6874 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 6875 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
| 6876 |
See 'config.log' for more details" "$LINENO" 5; } ;; |
| 6877 |
esac |
| 6878 |
fi |
| 6879 |
|
| 6880 |
ac_ext=c |
| 6881 |
ac_cpp='$CPP $CPPFLAGS' |
| 6882 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6883 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6884 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6885 |
|
| 6886 |
|
| 6887 |
|
| 6888 |
# Make sure we can run config.sub. |
| 6889 |
$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || |
| 6890 |
as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 |
| 6891 |
|
| 6892 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 6893 |
printf %s "checking build system type... " >&6; } |
| 6894 |
if test ${ac_cv_build+y} |
| 6895 |
then : |
| 6896 |
printf %s "(cached) " >&6 |
| 6897 |
else case e in #( |
| 6898 |
e) ac_build_alias=$build_alias |
| 6899 |
test "x$ac_build_alias" = x && |
| 6900 |
ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` |
| 6901 |
test "x$ac_build_alias" = x && |
| 6902 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
| 6903 |
ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || |
| 6904 |
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 |
| 6905 |
;; |
| 6906 |
esac |
| 6907 |
fi |
| 6908 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 6909 |
printf "%s\n" "$ac_cv_build" >&6; } |
| 6910 |
case $ac_cv_build in |
| 6911 |
*-*-*) ;; |
| 6912 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
| 6913 |
esac |
| 6914 |
build=$ac_cv_build |
| 6915 |
ac_save_IFS=$IFS; IFS='-' |
| 6916 |
set x $ac_cv_build |
| 6917 |
shift |
| 6918 |
build_cpu=$1 |
| 6919 |
build_vendor=$2 |
| 6920 |
shift; shift |
| 6921 |
# Remember, the first character of IFS is used to create $*, |
| 6922 |
# except with old shells: |
| 6923 |
build_os=$* |
| 6924 |
IFS=$ac_save_IFS |
| 6925 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
| 6926 |
|
| 6927 |
|
| 6928 |
|
| 6929 |
|
| 6930 |
cross_compiling_build=no |
| 6931 |
|
| 6932 |
ac_build_tool_prefix= |
| 6933 |
if test -n "$build" |
| 6934 |
then : |
| 6935 |
ac_build_tool_prefix="$build-" |
| 6936 |
elif test -n "$build_alias" |
| 6937 |
then : |
| 6938 |
ac_build_tool_prefix="$build_alias-" |
| 6939 |
fi |
| 6940 |
|
| 6941 |
ac_ext=c |
| 6942 |
ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' |
| 6943 |
ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' |
| 6944 |
ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' |
| 6945 |
ac_compiler_gnu=$ac_cv_build_c_compiler_gnu |
| 6946 |
|
| 6947 |
|
| 6948 |
was_set_c_compiler_gnu=${ac_cv_c_compiler_gnu+y} |
| 6949 |
if test ${was_set_c_compiler_gnu} |
| 6950 |
then : |
| 6951 |
saved_c_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6952 |
{ ac_cv_c_compiler_gnu=; unset ac_cv_c_compiler_gnu;} |
| 6953 |
fi |
| 6954 |
|
| 6955 |
ac_ext=c |
| 6956 |
ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' |
| 6957 |
ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' |
| 6958 |
ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' |
| 6959 |
ac_compiler_gnu=$ac_cv_build_c_compiler_gnu |
| 6960 |
if test -n "$ac_build_tool_prefix"; then |
| 6961 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 6962 |
set dummy ${ac_build_tool_prefix}gcc; ac_word=$2 |
| 6963 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6964 |
printf %s "checking for $ac_word... " >&6; } |
| 6965 |
if test ${ac_cv_prog_CC_FOR_BUILD+y} |
| 6966 |
then : |
| 6967 |
printf %s "(cached) " >&6 |
| 6968 |
else case e in #( |
| 6969 |
e) if test -n "$CC_FOR_BUILD"; then |
| 6970 |
ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. |
| 6971 |
else |
| 6972 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6973 |
for as_dir in $PATH |
| 6974 |
do |
| 6975 |
IFS=$as_save_IFS |
| 6976 |
case $as_dir in #((( |
| 6977 |
'') as_dir=./ ;; |
| 6978 |
*/) ;; |
| 6979 |
*) as_dir=$as_dir/ ;; |
| 6980 |
esac |
| 6981 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 6982 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 6983 |
ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}gcc" |
| 6984 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6985 |
break 2 |
| 6986 |
fi |
| 6987 |
done |
| 6988 |
done |
| 6989 |
IFS=$as_save_IFS |
| 6990 |
|
| 6991 |
fi ;; |
| 6992 |
esac |
| 6993 |
fi |
| 6994 |
CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD |
| 6995 |
if test -n "$CC_FOR_BUILD"; then |
| 6996 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 |
| 6997 |
printf "%s\n" "$CC_FOR_BUILD" >&6; } |
| 6998 |
else |
| 6999 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7000 |
printf "%s\n" "no" >&6; } |
| 7001 |
fi |
| 7002 |
|
| 7003 |
|
| 7004 |
fi |
| 7005 |
if test -z "$ac_cv_prog_CC_FOR_BUILD"; then |
| 7006 |
ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD |
| 7007 |
# Extract the first word of "gcc", so it can be a program name with args. |
| 7008 |
set dummy gcc; ac_word=$2 |
| 7009 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7010 |
printf %s "checking for $ac_word... " >&6; } |
| 7011 |
if test ${ac_cv_prog_ac_ct_CC_FOR_BUILD+y} |
| 7012 |
then : |
| 7013 |
printf %s "(cached) " >&6 |
| 7014 |
else case e in #( |
| 7015 |
e) if test -n "$ac_ct_CC_FOR_BUILD"; then |
| 7016 |
ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test. |
| 7017 |
else |
| 7018 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7019 |
for as_dir in $PATH |
| 7020 |
do |
| 7021 |
IFS=$as_save_IFS |
| 7022 |
case $as_dir in #((( |
| 7023 |
'') as_dir=./ ;; |
| 7024 |
*/) ;; |
| 7025 |
*) as_dir=$as_dir/ ;; |
| 7026 |
esac |
| 7027 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7028 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7029 |
ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc" |
| 7030 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7031 |
break 2 |
| 7032 |
fi |
| 7033 |
done |
| 7034 |
done |
| 7035 |
IFS=$as_save_IFS |
| 7036 |
|
| 7037 |
fi ;; |
| 7038 |
esac |
| 7039 |
fi |
| 7040 |
ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD |
| 7041 |
if test -n "$ac_ct_CC_FOR_BUILD"; then |
| 7042 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5 |
| 7043 |
printf "%s\n" "$ac_ct_CC_FOR_BUILD" >&6; } |
| 7044 |
else |
| 7045 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7046 |
printf "%s\n" "no" >&6; } |
| 7047 |
fi |
| 7048 |
|
| 7049 |
if test "x$ac_ct_CC_FOR_BUILD" = x; then |
| 7050 |
CC_FOR_BUILD="" |
| 7051 |
else |
| 7052 |
case $cross_compiling_build:$ac_tool_warned in |
| 7053 |
yes:) |
| 7054 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5 |
| 7055 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;} |
| 7056 |
ac_tool_warned=yes ;; |
| 7057 |
esac |
| 7058 |
CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD |
| 7059 |
fi |
| 7060 |
else |
| 7061 |
CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD" |
| 7062 |
fi |
| 7063 |
|
| 7064 |
if test -z "$CC_FOR_BUILD"; then |
| 7065 |
if test -n "$ac_build_tool_prefix"; then |
| 7066 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 7067 |
set dummy ${ac_build_tool_prefix}cc; ac_word=$2 |
| 7068 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7069 |
printf %s "checking for $ac_word... " >&6; } |
| 7070 |
if test ${ac_cv_prog_CC_FOR_BUILD+y} |
| 7071 |
then : |
| 7072 |
printf %s "(cached) " >&6 |
| 7073 |
else case e in #( |
| 7074 |
e) if test -n "$CC_FOR_BUILD"; then |
| 7075 |
ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. |
| 7076 |
else |
| 7077 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7078 |
for as_dir in $PATH |
| 7079 |
do |
| 7080 |
IFS=$as_save_IFS |
| 7081 |
case $as_dir in #((( |
| 7082 |
'') as_dir=./ ;; |
| 7083 |
*/) ;; |
| 7084 |
*) as_dir=$as_dir/ ;; |
| 7085 |
esac |
| 7086 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7087 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7088 |
ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}cc" |
| 7089 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7090 |
break 2 |
| 7091 |
fi |
| 7092 |
done |
| 7093 |
done |
| 7094 |
IFS=$as_save_IFS |
| 7095 |
|
| 7096 |
fi ;; |
| 7097 |
esac |
| 7098 |
fi |
| 7099 |
CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD |
| 7100 |
if test -n "$CC_FOR_BUILD"; then |
| 7101 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 |
| 7102 |
printf "%s\n" "$CC_FOR_BUILD" >&6; } |
| 7103 |
else |
| 7104 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7105 |
printf "%s\n" "no" >&6; } |
| 7106 |
fi |
| 7107 |
|
| 7108 |
|
| 7109 |
fi |
| 7110 |
fi |
| 7111 |
if test -z "$CC_FOR_BUILD"; then |
| 7112 |
# Extract the first word of "cc", so it can be a program name with args. |
| 7113 |
set dummy cc; ac_word=$2 |
| 7114 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7115 |
printf %s "checking for $ac_word... " >&6; } |
| 7116 |
if test ${ac_cv_prog_CC_FOR_BUILD+y} |
| 7117 |
then : |
| 7118 |
printf %s "(cached) " >&6 |
| 7119 |
else case e in #( |
| 7120 |
e) if test -n "$CC_FOR_BUILD"; then |
| 7121 |
ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. |
| 7122 |
else |
| 7123 |
ac_prog_rejected=no |
| 7124 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7125 |
for as_dir in $PATH |
| 7126 |
do |
| 7127 |
IFS=$as_save_IFS |
| 7128 |
case $as_dir in #((( |
| 7129 |
'') as_dir=./ ;; |
| 7130 |
*/) ;; |
| 7131 |
*) as_dir=$as_dir/ ;; |
| 7132 |
esac |
| 7133 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7134 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7135 |
if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 7136 |
ac_prog_rejected=yes |
| 7137 |
continue |
| 7138 |
fi |
| 7139 |
ac_cv_prog_CC_FOR_BUILD="cc" |
| 7140 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7141 |
break 2 |
| 7142 |
fi |
| 7143 |
done |
| 7144 |
done |
| 7145 |
IFS=$as_save_IFS |
| 7146 |
|
| 7147 |
if test $ac_prog_rejected = yes; then |
| 7148 |
# We found a bogon in the path, so make sure we never use it. |
| 7149 |
set dummy $ac_cv_prog_CC_FOR_BUILD |
| 7150 |
shift |
| 7151 |
if test $# != 0; then |
| 7152 |
# We chose a different compiler from the bogus one. |
| 7153 |
# However, it has the same basename, so the bogon will be chosen |
| 7154 |
# first if we set CC_FOR_BUILD to just the basename; use the full file name. |
| 7155 |
shift |
| 7156 |
ac_cv_prog_CC_FOR_BUILD="$as_dir$ac_word${1+' '}$@" |
| 7157 |
fi |
| 7158 |
fi |
| 7159 |
fi ;; |
| 7160 |
esac |
| 7161 |
fi |
| 7162 |
CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD |
| 7163 |
if test -n "$CC_FOR_BUILD"; then |
| 7164 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 |
| 7165 |
printf "%s\n" "$CC_FOR_BUILD" >&6; } |
| 7166 |
else |
| 7167 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7168 |
printf "%s\n" "no" >&6; } |
| 7169 |
fi |
| 7170 |
|
| 7171 |
|
| 7172 |
fi |
| 7173 |
if test -z "$CC_FOR_BUILD"; then |
| 7174 |
if test -n "$ac_build_tool_prefix"; then |
| 7175 |
for ac_prog in cl.exe |
| 7176 |
do |
| 7177 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 7178 |
set dummy $ac_build_tool_prefix$ac_prog; ac_word=$2 |
| 7179 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7180 |
printf %s "checking for $ac_word... " >&6; } |
| 7181 |
if test ${ac_cv_prog_CC_FOR_BUILD+y} |
| 7182 |
then : |
| 7183 |
printf %s "(cached) " >&6 |
| 7184 |
else case e in #( |
| 7185 |
e) if test -n "$CC_FOR_BUILD"; then |
| 7186 |
ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. |
| 7187 |
else |
| 7188 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7189 |
for as_dir in $PATH |
| 7190 |
do |
| 7191 |
IFS=$as_save_IFS |
| 7192 |
case $as_dir in #((( |
| 7193 |
'') as_dir=./ ;; |
| 7194 |
*/) ;; |
| 7195 |
*) as_dir=$as_dir/ ;; |
| 7196 |
esac |
| 7197 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7198 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7199 |
ac_cv_prog_CC_FOR_BUILD="$ac_build_tool_prefix$ac_prog" |
| 7200 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7201 |
break 2 |
| 7202 |
fi |
| 7203 |
done |
| 7204 |
done |
| 7205 |
IFS=$as_save_IFS |
| 7206 |
|
| 7207 |
fi ;; |
| 7208 |
esac |
| 7209 |
fi |
| 7210 |
CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD |
| 7211 |
if test -n "$CC_FOR_BUILD"; then |
| 7212 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 |
| 7213 |
printf "%s\n" "$CC_FOR_BUILD" >&6; } |
| 7214 |
else |
| 7215 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7216 |
printf "%s\n" "no" >&6; } |
| 7217 |
fi |
| 7218 |
|
| 7219 |
|
| 7220 |
test -n "$CC_FOR_BUILD" && break |
| 7221 |
done |
| 7222 |
fi |
| 7223 |
if test -z "$CC_FOR_BUILD"; then |
| 7224 |
ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD |
| 7225 |
for ac_prog in cl.exe |
| 7226 |
do |
| 7227 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 7228 |
set dummy $ac_prog; ac_word=$2 |
| 7229 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7230 |
printf %s "checking for $ac_word... " >&6; } |
| 7231 |
if test ${ac_cv_prog_ac_ct_CC_FOR_BUILD+y} |
| 7232 |
then : |
| 7233 |
printf %s "(cached) " >&6 |
| 7234 |
else case e in #( |
| 7235 |
e) if test -n "$ac_ct_CC_FOR_BUILD"; then |
| 7236 |
ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test. |
| 7237 |
else |
| 7238 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7239 |
for as_dir in $PATH |
| 7240 |
do |
| 7241 |
IFS=$as_save_IFS |
| 7242 |
case $as_dir in #((( |
| 7243 |
'') as_dir=./ ;; |
| 7244 |
*/) ;; |
| 7245 |
*) as_dir=$as_dir/ ;; |
| 7246 |
esac |
| 7247 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7248 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7249 |
ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog" |
| 7250 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7251 |
break 2 |
| 7252 |
fi |
| 7253 |
done |
| 7254 |
done |
| 7255 |
IFS=$as_save_IFS |
| 7256 |
|
| 7257 |
fi ;; |
| 7258 |
esac |
| 7259 |
fi |
| 7260 |
ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD |
| 7261 |
if test -n "$ac_ct_CC_FOR_BUILD"; then |
| 7262 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5 |
| 7263 |
printf "%s\n" "$ac_ct_CC_FOR_BUILD" >&6; } |
| 7264 |
else |
| 7265 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7266 |
printf "%s\n" "no" >&6; } |
| 7267 |
fi |
| 7268 |
|
| 7269 |
|
| 7270 |
test -n "$ac_ct_CC_FOR_BUILD" && break |
| 7271 |
done |
| 7272 |
|
| 7273 |
if test "x$ac_ct_CC_FOR_BUILD" = x; then |
| 7274 |
CC_FOR_BUILD="" |
| 7275 |
else |
| 7276 |
case $cross_compiling_build:$ac_tool_warned in |
| 7277 |
yes:) |
| 7278 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5 |
| 7279 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;} |
| 7280 |
ac_tool_warned=yes ;; |
| 7281 |
esac |
| 7282 |
CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD |
| 7283 |
fi |
| 7284 |
fi |
| 7285 |
|
| 7286 |
fi |
| 7287 |
if test -z "$CC_FOR_BUILD"; then |
| 7288 |
if test -n "$ac_build_tool_prefix"; then |
| 7289 |
# Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. |
| 7290 |
set dummy ${ac_build_tool_prefix}clang; ac_word=$2 |
| 7291 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7292 |
printf %s "checking for $ac_word... " >&6; } |
| 7293 |
if test ${ac_cv_prog_CC_FOR_BUILD+y} |
| 7294 |
then : |
| 7295 |
printf %s "(cached) " >&6 |
| 7296 |
else case e in #( |
| 7297 |
e) if test -n "$CC_FOR_BUILD"; then |
| 7298 |
ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. |
| 7299 |
else |
| 7300 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7301 |
for as_dir in $PATH |
| 7302 |
do |
| 7303 |
IFS=$as_save_IFS |
| 7304 |
case $as_dir in #((( |
| 7305 |
'') as_dir=./ ;; |
| 7306 |
*/) ;; |
| 7307 |
*) as_dir=$as_dir/ ;; |
| 7308 |
esac |
| 7309 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7310 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7311 |
ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}clang" |
| 7312 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7313 |
break 2 |
| 7314 |
fi |
| 7315 |
done |
| 7316 |
done |
| 7317 |
IFS=$as_save_IFS |
| 7318 |
|
| 7319 |
fi ;; |
| 7320 |
esac |
| 7321 |
fi |
| 7322 |
CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD |
| 7323 |
if test -n "$CC_FOR_BUILD"; then |
| 7324 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 |
| 7325 |
printf "%s\n" "$CC_FOR_BUILD" >&6; } |
| 7326 |
else |
| 7327 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7328 |
printf "%s\n" "no" >&6; } |
| 7329 |
fi |
| 7330 |
|
| 7331 |
|
| 7332 |
fi |
| 7333 |
if test -z "$ac_cv_prog_CC_FOR_BUILD"; then |
| 7334 |
ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD |
| 7335 |
# Extract the first word of "clang", so it can be a program name with args. |
| 7336 |
set dummy clang; ac_word=$2 |
| 7337 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7338 |
printf %s "checking for $ac_word... " >&6; } |
| 7339 |
if test ${ac_cv_prog_ac_ct_CC_FOR_BUILD+y} |
| 7340 |
then : |
| 7341 |
printf %s "(cached) " >&6 |
| 7342 |
else case e in #( |
| 7343 |
e) if test -n "$ac_ct_CC_FOR_BUILD"; then |
| 7344 |
ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test. |
| 7345 |
else |
| 7346 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7347 |
for as_dir in $PATH |
| 7348 |
do |
| 7349 |
IFS=$as_save_IFS |
| 7350 |
case $as_dir in #((( |
| 7351 |
'') as_dir=./ ;; |
| 7352 |
*/) ;; |
| 7353 |
*) as_dir=$as_dir/ ;; |
| 7354 |
esac |
| 7355 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 7356 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 7357 |
ac_cv_prog_ac_ct_CC_FOR_BUILD="clang" |
| 7358 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 7359 |
break 2 |
| 7360 |
fi |
| 7361 |
done |
| 7362 |
done |
| 7363 |
IFS=$as_save_IFS |
| 7364 |
|
| 7365 |
fi ;; |
| 7366 |
esac |
| 7367 |
fi |
| 7368 |
ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD |
| 7369 |
if test -n "$ac_ct_CC_FOR_BUILD"; then |
| 7370 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5 |
| 7371 |
printf "%s\n" "$ac_ct_CC_FOR_BUILD" >&6; } |
| 7372 |
else |
| 7373 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7374 |
printf "%s\n" "no" >&6; } |
| 7375 |
fi |
| 7376 |
|
| 7377 |
if test "x$ac_ct_CC_FOR_BUILD" = x; then |
| 7378 |
CC_FOR_BUILD="" |
| 7379 |
else |
| 7380 |
case $cross_compiling_build:$ac_tool_warned in |
| 7381 |
yes:) |
| 7382 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5 |
| 7383 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;} |
| 7384 |
ac_tool_warned=yes ;; |
| 7385 |
esac |
| 7386 |
CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD |
| 7387 |
fi |
| 7388 |
else |
| 7389 |
CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD" |
| 7390 |
fi |
| 7391 |
|
| 7392 |
fi |
| 7393 |
|
| 7394 |
|
| 7395 |
test -z "$CC_FOR_BUILD" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 7396 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 7397 |
as_fn_error $? "no acceptable C compiler found in \$PATH |
| 7398 |
See 'config.log' for more details" "$LINENO" 5; } |
| 7399 |
|
| 7400 |
# Provide some information about the compiler. |
| 7401 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 7402 |
set X $ac_compile |
| 7403 |
ac_compiler=$2 |
| 7404 |
for ac_option in --version -v -V -qversion -version; do |
| 7405 |
{ { ac_try="$ac_compiler $ac_option >&5" |
| 7406 |
case "(($ac_try" in |
| 7407 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7408 |
*) ac_try_echo=$ac_try;; |
| 7409 |
esac |
| 7410 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 7411 |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 7412 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 7413 |
ac_status=$? |
| 7414 |
if test -s conftest.err; then |
| 7415 |
sed '10a\ |
| 7416 |
... rest of stderr output deleted ... |
| 7417 |
10q' conftest.err >conftest.er1 |
| 7418 |
cat conftest.er1 >&5 |
| 7419 |
fi |
| 7420 |
rm -f conftest.er1 conftest.err |
| 7421 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7422 |
test $ac_status = 0; } |
| 7423 |
done |
| 7424 |
|
| 7425 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 |
| 7426 |
printf %s "checking whether the compiler supports GNU C... " >&6; } |
| 7427 |
if test ${ac_cv_c_compiler_gnu+y} |
| 7428 |
then : |
| 7429 |
printf %s "(cached) " >&6 |
| 7430 |
else case e in #( |
| 7431 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7432 |
/* end confdefs.h. */ |
| 7433 |
|
| 7434 |
int |
| 7435 |
main (void) |
| 7436 |
{ |
| 7437 |
#ifndef __GNUC__ |
| 7438 |
choke me |
| 7439 |
#endif |
| 7440 |
|
| 7441 |
; |
| 7442 |
return 0; |
| 7443 |
} |
| 7444 |
_ACEOF |
| 7445 |
if ac_fn_c_try_compile "$LINENO" |
| 7446 |
then : |
| 7447 |
ac_compiler_gnu=yes |
| 7448 |
else case e in #( |
| 7449 |
e) ac_compiler_gnu=no ;; |
| 7450 |
esac |
| 7451 |
fi |
| 7452 |
rm -f core conftest.err conftest.$ac_build_objext conftest.beam conftest.$ac_ext |
| 7453 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 7454 |
;; |
| 7455 |
esac |
| 7456 |
fi |
| 7457 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 7458 |
printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } |
| 7459 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7460 |
|
| 7461 |
if test $ac_compiler_gnu = yes; then |
| 7462 |
GCC_FOR_BUILD=yes |
| 7463 |
else |
| 7464 |
GCC_FOR_BUILD= |
| 7465 |
fi |
| 7466 |
ac_test_CFLAGS=${CFLAGS_FOR_BUILD+y} |
| 7467 |
ac_save_CFLAGS=$CFLAGS_FOR_BUILD |
| 7468 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5 |
| 7469 |
printf %s "checking whether $CC_FOR_BUILD accepts -g... " >&6; } |
| 7470 |
if test ${ac_cv_build_prog_cc_g+y} |
| 7471 |
then : |
| 7472 |
printf %s "(cached) " >&6 |
| 7473 |
else case e in #( |
| 7474 |
e) ac_save_c_werror_flag=$ac_c_werror_flag |
| 7475 |
ac_c_werror_flag=yes |
| 7476 |
ac_cv_build_prog_cc_g=no |
| 7477 |
CFLAGS_FOR_BUILD="-g" |
| 7478 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7479 |
/* end confdefs.h. */ |
| 7480 |
|
| 7481 |
int |
| 7482 |
main (void) |
| 7483 |
{ |
| 7484 |
|
| 7485 |
; |
| 7486 |
return 0; |
| 7487 |
} |
| 7488 |
_ACEOF |
| 7489 |
if ac_fn_c_try_compile "$LINENO" |
| 7490 |
then : |
| 7491 |
ac_cv_build_prog_cc_g=yes |
| 7492 |
else case e in #( |
| 7493 |
e) CFLAGS_FOR_BUILD="" |
| 7494 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7495 |
/* end confdefs.h. */ |
| 7496 |
|
| 7497 |
int |
| 7498 |
main (void) |
| 7499 |
{ |
| 7500 |
|
| 7501 |
; |
| 7502 |
return 0; |
| 7503 |
} |
| 7504 |
_ACEOF |
| 7505 |
if ac_fn_c_try_compile "$LINENO" |
| 7506 |
then : |
| 7507 |
|
| 7508 |
else case e in #( |
| 7509 |
e) ac_c_werror_flag=$ac_save_c_werror_flag |
| 7510 |
CFLAGS_FOR_BUILD="-g" |
| 7511 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7512 |
/* end confdefs.h. */ |
| 7513 |
|
| 7514 |
int |
| 7515 |
main (void) |
| 7516 |
{ |
| 7517 |
|
| 7518 |
; |
| 7519 |
return 0; |
| 7520 |
} |
| 7521 |
_ACEOF |
| 7522 |
if ac_fn_c_try_compile "$LINENO" |
| 7523 |
then : |
| 7524 |
ac_cv_build_prog_cc_g=yes |
| 7525 |
fi |
| 7526 |
rm -f core conftest.err conftest.$ac_build_objext conftest.beam conftest.$ac_ext ;; |
| 7527 |
esac |
| 7528 |
fi |
| 7529 |
rm -f core conftest.err conftest.$ac_build_objext conftest.beam conftest.$ac_ext ;; |
| 7530 |
esac |
| 7531 |
fi |
| 7532 |
rm -f core conftest.err conftest.$ac_build_objext conftest.beam conftest.$ac_ext |
| 7533 |
ac_c_werror_flag=$ac_save_c_werror_flag ;; |
| 7534 |
esac |
| 7535 |
fi |
| 7536 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5 |
| 7537 |
printf "%s\n" "$ac_cv_build_prog_cc_g" >&6; } |
| 7538 |
if test $ac_test_CFLAGS; then |
| 7539 |
CFLAGS_FOR_BUILD=$ac_save_CFLAGS |
| 7540 |
elif test $ac_cv_build_prog_cc_g = yes; then |
| 7541 |
if test "$GCC_FOR_BUILD" = yes; then |
| 7542 |
CFLAGS_FOR_BUILD="-g -O2" |
| 7543 |
else |
| 7544 |
CFLAGS_FOR_BUILD="-g" |
| 7545 |
fi |
| 7546 |
else |
| 7547 |
if test "$GCC_FOR_BUILD" = yes; then |
| 7548 |
CFLAGS_FOR_BUILD="-O2" |
| 7549 |
else |
| 7550 |
CFLAGS_FOR_BUILD= |
| 7551 |
fi |
| 7552 |
fi |
| 7553 |
ac_prog_cc_stdc=no |
| 7554 |
if test x$ac_prog_cc_stdc = xno |
| 7555 |
then : |
| 7556 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to enable C11 features" >&5 |
| 7557 |
printf %s "checking for $CC_FOR_BUILD option to enable C11 features... " >&6; } |
| 7558 |
if test ${ac_cv_build_prog_cc_c11+y} |
| 7559 |
then : |
| 7560 |
printf %s "(cached) " >&6 |
| 7561 |
else case e in #( |
| 7562 |
e) ac_cv_build_prog_cc_c11=no |
| 7563 |
ac_save_CC=$CC_FOR_BUILD |
| 7564 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7565 |
/* end confdefs.h. */ |
| 7566 |
$ac_c_conftest_c11_program |
| 7567 |
_ACEOF |
| 7568 |
for ac_arg in '' -std=gnu11 |
| 7569 |
do |
| 7570 |
CC_FOR_BUILD="$ac_save_CC $ac_arg" |
| 7571 |
if ac_fn_c_try_compile "$LINENO" |
| 7572 |
then : |
| 7573 |
ac_cv_build_prog_cc_c11=$ac_arg |
| 7574 |
fi |
| 7575 |
rm -f core conftest.err conftest.$ac_build_objext conftest.beam |
| 7576 |
test "x$ac_cv_build_prog_cc_c11" != "xno" && break |
| 7577 |
done |
| 7578 |
rm -f conftest.$ac_ext |
| 7579 |
CC_FOR_BUILD=$ac_save_CC ;; |
| 7580 |
esac |
| 7581 |
fi |
| 7582 |
|
| 7583 |
if test "x$ac_cv_build_prog_cc_c11" = xno |
| 7584 |
then : |
| 7585 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 7586 |
printf "%s\n" "unsupported" >&6; } |
| 7587 |
else case e in #( |
| 7588 |
e) if test "x$ac_cv_build_prog_cc_c11" = x |
| 7589 |
then : |
| 7590 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 7591 |
printf "%s\n" "none needed" >&6; } |
| 7592 |
else case e in #( |
| 7593 |
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c11" >&5 |
| 7594 |
printf "%s\n" "$ac_cv_build_prog_cc_c11" >&6; } |
| 7595 |
CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c11" ;; |
| 7596 |
esac |
| 7597 |
fi |
| 7598 |
ac_cv_prog_cc_stdc=$ac_cv_build_prog_cc_c11 |
| 7599 |
ac_prog_cc_stdc=c11 ;; |
| 7600 |
esac |
| 7601 |
fi |
| 7602 |
fi |
| 7603 |
if test x$ac_prog_cc_stdc = xno |
| 7604 |
then : |
| 7605 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to enable C99 features" >&5 |
| 7606 |
printf %s "checking for $CC_FOR_BUILD option to enable C99 features... " >&6; } |
| 7607 |
if test ${ac_cv_build_prog_cc_c99+y} |
| 7608 |
then : |
| 7609 |
printf %s "(cached) " >&6 |
| 7610 |
else case e in #( |
| 7611 |
e) ac_cv_build_prog_cc_c99=no |
| 7612 |
ac_save_CC=$CC_FOR_BUILD |
| 7613 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7614 |
/* end confdefs.h. */ |
| 7615 |
$ac_c_conftest_c99_program |
| 7616 |
_ACEOF |
| 7617 |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= |
| 7618 |
do |
| 7619 |
CC_FOR_BUILD="$ac_save_CC $ac_arg" |
| 7620 |
if ac_fn_c_try_compile "$LINENO" |
| 7621 |
then : |
| 7622 |
ac_cv_build_prog_cc_c99=$ac_arg |
| 7623 |
fi |
| 7624 |
rm -f core conftest.err conftest.$ac_build_objext conftest.beam |
| 7625 |
test "x$ac_cv_build_prog_cc_c99" != "xno" && break |
| 7626 |
done |
| 7627 |
rm -f conftest.$ac_ext |
| 7628 |
CC_FOR_BUILD=$ac_save_CC ;; |
| 7629 |
esac |
| 7630 |
fi |
| 7631 |
|
| 7632 |
if test "x$ac_cv_build_prog_cc_c99" = xno |
| 7633 |
then : |
| 7634 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 7635 |
printf "%s\n" "unsupported" >&6; } |
| 7636 |
else case e in #( |
| 7637 |
e) if test "x$ac_cv_build_prog_cc_c99" = x |
| 7638 |
then : |
| 7639 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 7640 |
printf "%s\n" "none needed" >&6; } |
| 7641 |
else case e in #( |
| 7642 |
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c99" >&5 |
| 7643 |
printf "%s\n" "$ac_cv_build_prog_cc_c99" >&6; } |
| 7644 |
CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c99" ;; |
| 7645 |
esac |
| 7646 |
fi |
| 7647 |
ac_cv_prog_cc_stdc=$ac_cv_build_prog_cc_c99 |
| 7648 |
ac_prog_cc_stdc=c99 ;; |
| 7649 |
esac |
| 7650 |
fi |
| 7651 |
fi |
| 7652 |
if test x$ac_prog_cc_stdc = xno |
| 7653 |
then : |
| 7654 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to enable C89 features" >&5 |
| 7655 |
printf %s "checking for $CC_FOR_BUILD option to enable C89 features... " >&6; } |
| 7656 |
if test ${ac_cv_build_prog_cc_c89+y} |
| 7657 |
then : |
| 7658 |
printf %s "(cached) " >&6 |
| 7659 |
else case e in #( |
| 7660 |
e) ac_cv_build_prog_cc_c89=no |
| 7661 |
ac_save_CC=$CC_FOR_BUILD |
| 7662 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7663 |
/* end confdefs.h. */ |
| 7664 |
$ac_c_conftest_c89_program |
| 7665 |
_ACEOF |
| 7666 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 7667 |
do |
| 7668 |
CC_FOR_BUILD="$ac_save_CC $ac_arg" |
| 7669 |
if ac_fn_c_try_compile "$LINENO" |
| 7670 |
then : |
| 7671 |
ac_cv_build_prog_cc_c89=$ac_arg |
| 7672 |
fi |
| 7673 |
rm -f core conftest.err conftest.$ac_build_objext conftest.beam |
| 7674 |
test "x$ac_cv_build_prog_cc_c89" != "xno" && break |
| 7675 |
done |
| 7676 |
rm -f conftest.$ac_ext |
| 7677 |
CC_FOR_BUILD=$ac_save_CC ;; |
| 7678 |
esac |
| 7679 |
fi |
| 7680 |
|
| 7681 |
if test "x$ac_cv_build_prog_cc_c89" = xno |
| 7682 |
then : |
| 7683 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 7684 |
printf "%s\n" "unsupported" >&6; } |
| 7685 |
else case e in #( |
| 7686 |
e) if test "x$ac_cv_build_prog_cc_c89" = x |
| 7687 |
then : |
| 7688 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 7689 |
printf "%s\n" "none needed" >&6; } |
| 7690 |
else case e in #( |
| 7691 |
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c89" >&5 |
| 7692 |
printf "%s\n" "$ac_cv_build_prog_cc_c89" >&6; } |
| 7693 |
CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c89" ;; |
| 7694 |
esac |
| 7695 |
fi |
| 7696 |
ac_cv_prog_cc_stdc=$ac_cv_build_prog_cc_c89 |
| 7697 |
ac_prog_cc_stdc=c89 ;; |
| 7698 |
esac |
| 7699 |
fi |
| 7700 |
fi |
| 7701 |
|
| 7702 |
ac_ext=c |
| 7703 |
ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' |
| 7704 |
ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' |
| 7705 |
ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' |
| 7706 |
ac_compiler_gnu=$ac_cv_build_c_compiler_gnu |
| 7707 |
|
| 7708 |
|
| 7709 |
ac_ext=c |
| 7710 |
ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' |
| 7711 |
ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' |
| 7712 |
ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' |
| 7713 |
ac_compiler_gnu=$ac_cv_build_c_compiler_gnu |
| 7714 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5 |
| 7715 |
printf %s "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; } |
| 7716 |
if test ${am_cv_build_prog_cc_c_o+y} |
| 7717 |
then : |
| 7718 |
printf %s "(cached) " >&6 |
| 7719 |
else case e in #( |
| 7720 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7721 |
/* end confdefs.h. */ |
| 7722 |
|
| 7723 |
int |
| 7724 |
main (void) |
| 7725 |
{ |
| 7726 |
|
| 7727 |
; |
| 7728 |
return 0; |
| 7729 |
} |
| 7730 |
_ACEOF |
| 7731 |
# Make sure it works both with $CC and with simple cc. |
| 7732 |
# Following AC_PROG_CC_C_O, we do the test twice because some |
| 7733 |
# compilers refuse to overwrite an existing .o file with -o, |
| 7734 |
# though they will create one. |
| 7735 |
am_cv_build_prog_cc_c_o=yes |
| 7736 |
for am_i in 1 2; do |
| 7737 |
if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5 |
| 7738 |
($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5 |
| 7739 |
ac_status=$? |
| 7740 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7741 |
(exit $ac_status); } \ |
| 7742 |
&& test -f conftest2.$ac_build_objext; then |
| 7743 |
: OK |
| 7744 |
else |
| 7745 |
am_cv_build_prog_cc_c_o=no |
| 7746 |
break |
| 7747 |
fi |
| 7748 |
done |
| 7749 |
# aligned with autoconf, so not including core; see bug#72225. |
| 7750 |
rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_build_objext \ |
| 7751 |
conftest.dSYM conftest1.$ac_ext conftest1.$ac_build_objext conftest1.dSYM \ |
| 7752 |
conftest2.$ac_ext conftest2.$ac_build_objext conftest2.dSYM |
| 7753 |
unset am_i ;; |
| 7754 |
esac |
| 7755 |
fi |
| 7756 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_prog_cc_c_o" >&5 |
| 7757 |
printf "%s\n" "$am_cv_build_prog_cc_c_o" >&6; } |
| 7758 |
if test "$am_cv_build_prog_cc_c_o" != yes; then |
| 7759 |
# Losing compiler, so override with the script. |
| 7760 |
# FIXME: It is wrong to rewrite CC. |
| 7761 |
# But if we don't then we get into trouble of one sort or another. |
| 7762 |
# A longer-term fix would be to have automake use am__CC in this case, |
| 7763 |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 7764 |
CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD" |
| 7765 |
fi |
| 7766 |
ac_ext=c |
| 7767 |
ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' |
| 7768 |
ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' |
| 7769 |
ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' |
| 7770 |
ac_compiler_gnu=$ac_cv_build_c_compiler_gnu |
| 7771 |
|
| 7772 |
|
| 7773 |
depcc="$CC_FOR_BUILD" am_compiler_list= |
| 7774 |
|
| 7775 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 7776 |
printf %s "checking dependency style of $depcc... " >&6; } |
| 7777 |
if test ${am_cv_build_CC_dependencies_compiler_type+y} |
| 7778 |
then : |
| 7779 |
printf %s "(cached) " >&6 |
| 7780 |
else case e in #( |
| 7781 |
e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 7782 |
# We make a subdir and do the tests there. Otherwise we can end up |
| 7783 |
# making bogus files that we don't know about and never remove. For |
| 7784 |
# instance it was reported that on HP-UX the gcc test will end up |
| 7785 |
# making a dummy file named 'D' -- because '-MD' means "put the output |
| 7786 |
# in D". |
| 7787 |
rm -rf conftest.dir |
| 7788 |
mkdir conftest.dir |
| 7789 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
| 7790 |
# using a relative directory. |
| 7791 |
cp "$am_depcomp" conftest.dir |
| 7792 |
cd conftest.dir |
| 7793 |
# We will build objects and dependencies in a subdirectory because |
| 7794 |
# it helps to detect inapplicable dependency modes. For instance |
| 7795 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
| 7796 |
# side effect of compilation, but ICC will put the dependencies in |
| 7797 |
# the current directory while Tru64 will put them in the object |
| 7798 |
# directory. |
| 7799 |
mkdir sub |
| 7800 |
|
| 7801 |
am_cv_build_CC_dependencies_compiler_type=none |
| 7802 |
if test "$am_compiler_list" = ""; then |
| 7803 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 7804 |
fi |
| 7805 |
am__universal=false |
| 7806 |
case " $depcc " in #( |
| 7807 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 7808 |
esac |
| 7809 |
|
| 7810 |
for depmode in $am_compiler_list; do |
| 7811 |
# Setup a source with many dependencies, because some compilers |
| 7812 |
# like to wrap large dependency lists on column 80 (with \), and |
| 7813 |
# we should not choose a depcomp mode which is confused by this. |
| 7814 |
# |
| 7815 |
# We need to recreate these files for each test, as the compiler may |
| 7816 |
# overwrite some of them when testing with obscure command lines. |
| 7817 |
# This happens at least with the AIX C compiler. |
| 7818 |
: > sub/conftest.c |
| 7819 |
for i in 1 2 3 4 5 6; do |
| 7820 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 7821 |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 7822 |
# Solaris 10 /bin/sh. |
| 7823 |
echo '/* dummy */' > sub/conftst$i.h |
| 7824 |
done |
| 7825 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 7826 |
|
| 7827 |
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 7828 |
# mode. It turns out that the SunPro C++ compiler does not properly |
| 7829 |
# handle '-M -o', and we need to detect this. Also, some Intel |
| 7830 |
# versions had trouble with output in subdirs. |
| 7831 |
am__obj=sub/conftest.${BUILD_OBJEXT-o} |
| 7832 |
am__minus_obj="-o $am__obj" |
| 7833 |
case $depmode in |
| 7834 |
gcc) |
| 7835 |
# This depmode causes a compiler race in universal mode. |
| 7836 |
test "$am__universal" = false || continue |
| 7837 |
;; |
| 7838 |
nosideeffect) |
| 7839 |
# After this tag, mechanisms are not by side-effect, so they'll |
| 7840 |
# only be used when explicitly requested. |
| 7841 |
if test "x$enable_dependency_tracking" = xyes; then |
| 7842 |
continue |
| 7843 |
else |
| 7844 |
break |
| 7845 |
fi |
| 7846 |
;; |
| 7847 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 7848 |
# This compiler won't grok '-c -o', but also, the minuso test has |
| 7849 |
# not run yet. These depmodes are late enough in the game, and |
| 7850 |
# so weak that their functioning should not be impacted. |
| 7851 |
am__obj=conftest.${BUILD_OBJEXT-o} |
| 7852 |
am__minus_obj= |
| 7853 |
;; |
| 7854 |
none) break ;; |
| 7855 |
esac |
| 7856 |
if depmode=$depmode \ |
| 7857 |
source=sub/conftest.c object=$am__obj \ |
| 7858 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 7859 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 7860 |
>/dev/null 2>conftest.err && |
| 7861 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
| 7862 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 7863 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
| 7864 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 7865 |
# icc doesn't choke on unknown options, it will just issue warnings |
| 7866 |
# or remarks (even with -Werror). So we grep stderr for any message |
| 7867 |
# that says an option was ignored or not supported. |
| 7868 |
# When given -MP, icc 7.0 and 7.1 complain thus: |
| 7869 |
# icc: Command line warning: ignoring option '-M'; no argument required |
| 7870 |
# The diagnosis changed in icc 8.0: |
| 7871 |
# icc: Command line remark: option '-MP' not supported |
| 7872 |
if (grep 'ignoring option' conftest.err || |
| 7873 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 7874 |
am_cv_build_CC_dependencies_compiler_type=$depmode |
| 7875 |
break |
| 7876 |
fi |
| 7877 |
fi |
| 7878 |
done |
| 7879 |
|
| 7880 |
cd .. |
| 7881 |
rm -rf conftest.dir |
| 7882 |
else |
| 7883 |
am_cv_build_CC_dependencies_compiler_type=none |
| 7884 |
fi |
| 7885 |
;; |
| 7886 |
esac |
| 7887 |
fi |
| 7888 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_CC_dependencies_compiler_type" >&5 |
| 7889 |
printf "%s\n" "$am_cv_build_CC_dependencies_compiler_type" >&6; } |
| 7890 |
CCDEPMODE=depmode=$am_cv_build_CC_dependencies_compiler_type |
| 7891 |
|
| 7892 |
if |
| 7893 |
test "x$enable_dependency_tracking" != xno \ |
| 7894 |
&& test "$am_cv_build_CC_dependencies_compiler_type" = gcc3; then |
| 7895 |
am__fastdepCC_TRUE= |
| 7896 |
am__fastdepCC_FALSE='#' |
| 7897 |
else |
| 7898 |
am__fastdepCC_TRUE='#' |
| 7899 |
am__fastdepCC_FALSE= |
| 7900 |
fi |
| 7901 |
|
| 7902 |
|
| 7903 |
|
| 7904 |
if test ${was_set_c_compiler_gnu} |
| 7905 |
then : |
| 7906 |
ac_cv_c_compiler_gnu=$saved_c_compiler_gnu |
| 7907 |
fi |
| 7908 |
|
| 7909 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7910 |
/* end confdefs.h. */ |
| 7911 |
|
| 7912 |
int |
| 7913 |
main (void) |
| 7914 |
{ |
| 7915 |
|
| 7916 |
; |
| 7917 |
return 0; |
| 7918 |
} |
| 7919 |
_ACEOF |
| 7920 |
ac_clean_files_save=$ac_clean_files |
| 7921 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
| 7922 |
# Try to create an executable without -o first, disregard a.out. |
| 7923 |
# It will help us diagnose broken compilers, and finding out an intuition |
| 7924 |
# of exeext. |
| 7925 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| 7926 |
printf %s "checking whether the C compiler works... " >&6; } |
| 7927 |
ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 7928 |
|
| 7929 |
# The possible output files: |
| 7930 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
| 7931 |
|
| 7932 |
ac_rmfiles= |
| 7933 |
for ac_file in $ac_files |
| 7934 |
do |
| 7935 |
case $ac_file in |
| 7936 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 7937 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
| 7938 |
esac |
| 7939 |
done |
| 7940 |
rm -f $ac_rmfiles |
| 7941 |
|
| 7942 |
if { { ac_try="$ac_link_default" |
| 7943 |
case "(($ac_try" in |
| 7944 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7945 |
*) ac_try_echo=$ac_try;; |
| 7946 |
esac |
| 7947 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 7948 |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 7949 |
(eval "$ac_link_default") 2>&5 |
| 7950 |
ac_status=$? |
| 7951 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7952 |
test $ac_status = 0; } |
| 7953 |
then : |
| 7954 |
# Autoconf-2.13 could set the ac_cv_exeext variable to 'no'. |
| 7955 |
# So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no' |
| 7956 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 7957 |
# so that the user can short-circuit this test for compilers unknown to |
| 7958 |
# Autoconf. |
| 7959 |
for ac_file in $ac_files '' |
| 7960 |
do |
| 7961 |
test -f "$ac_file" || continue |
| 7962 |
case $ac_file in |
| 7963 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
| 7964 |
;; |
| 7965 |
[ab].out ) |
| 7966 |
# We found the default executable, but exeext='' is most |
| 7967 |
# certainly right. |
| 7968 |
break;; |
| 7969 |
*.* ) |
| 7970 |
if test ${ac_cv_build_exeext+y} && test "$ac_cv_build_exeext" != no; |
| 7971 |
then :; else |
| 7972 |
ac_cv_build_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 7973 |
fi |
| 7974 |
# We set ac_cv_exeext here because the later test for it is not |
| 7975 |
# safe: cross compilers may not add the suffix if given an '-o' |
| 7976 |
# argument, so we may need to know it at that point already. |
| 7977 |
# Even if this section looks crufty: it has the advantage of |
| 7978 |
# actually working. |
| 7979 |
break;; |
| 7980 |
* ) |
| 7981 |
break;; |
| 7982 |
esac |
| 7983 |
done |
| 7984 |
test "$ac_cv_build_exeext" = no && ac_cv_build_exeext= |
| 7985 |
|
| 7986 |
else case e in #( |
| 7987 |
e) ac_file='' ;; |
| 7988 |
esac |
| 7989 |
fi |
| 7990 |
if test -z "$ac_file" |
| 7991 |
then : |
| 7992 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7993 |
printf "%s\n" "no" >&6; } |
| 7994 |
printf "%s\n" "$as_me: failed program was:" >&5 |
| 7995 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7996 |
|
| 7997 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 7998 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 7999 |
as_fn_error 77 "C compiler cannot create executables |
| 8000 |
See 'config.log' for more details" "$LINENO" 5; } |
| 8001 |
else case e in #( |
| 8002 |
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 8003 |
printf "%s\n" "yes" >&6; } ;; |
| 8004 |
esac |
| 8005 |
fi |
| 8006 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| 8007 |
printf %s "checking for C compiler default output file name... " >&6; } |
| 8008 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 8009 |
printf "%s\n" "$ac_file" >&6; } |
| 8010 |
ac_build_exeext=$ac_cv_build_exeext |
| 8011 |
|
| 8012 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_build_exeext b.out |
| 8013 |
ac_clean_files=$ac_clean_files_save |
| 8014 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 8015 |
printf %s "checking for suffix of executables... " >&6; } |
| 8016 |
if { { ac_try="$ac_link" |
| 8017 |
case "(($ac_try" in |
| 8018 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8019 |
*) ac_try_echo=$ac_try;; |
| 8020 |
esac |
| 8021 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 8022 |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 8023 |
(eval "$ac_link") 2>&5 |
| 8024 |
ac_status=$? |
| 8025 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 8026 |
test $ac_status = 0; } |
| 8027 |
then : |
| 8028 |
# If both 'conftest.exe' and 'conftest' are 'present' (well, observable) |
| 8029 |
# catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will |
| 8030 |
# work properly (i.e., refer to 'conftest.exe'), while it won't with |
| 8031 |
# 'rm'. |
| 8032 |
for ac_file in conftest.exe conftest conftest.*; do |
| 8033 |
test -f "$ac_file" || continue |
| 8034 |
case $ac_file in |
| 8035 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 8036 |
*.* ) ac_cv_build_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 8037 |
break;; |
| 8038 |
* ) break;; |
| 8039 |
esac |
| 8040 |
done |
| 8041 |
else case e in #( |
| 8042 |
e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 8043 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 8044 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
| 8045 |
See 'config.log' for more details" "$LINENO" 5; } ;; |
| 8046 |
esac |
| 8047 |
fi |
| 8048 |
rm -f conftest conftest$ac_cv_build_exeext |
| 8049 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_exeext" >&5 |
| 8050 |
printf "%s\n" "$ac_cv_build_exeext" >&6; } |
| 8051 |
|
| 8052 |
rm -f conftest.$ac_ext |
| 8053 |
EXEEXT=$ac_cv_build_exeext |
| 8054 |
ac_build_exeext=$BUILD_EXEEXT |
| 8055 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8056 |
/* end confdefs.h. */ |
| 8057 |
#include <stdio.h> |
| 8058 |
int |
| 8059 |
main (void) |
| 8060 |
{ |
| 8061 |
FILE *f = fopen ("conftest.out", "w"); |
| 8062 |
if (!f) |
| 8063 |
return 1; |
| 8064 |
return ferror (f) || fclose (f) != 0; |
| 8065 |
|
| 8066 |
; |
| 8067 |
return 0; |
| 8068 |
} |
| 8069 |
_ACEOF |
| 8070 |
ac_clean_files="$ac_clean_files conftest.out" |
| 8071 |
# Check that the compiler produces executables we can run. If not, either |
| 8072 |
# the compiler is broken, or we cross compile. |
| 8073 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 8074 |
printf %s "checking whether we are cross compiling... " >&6; } |
| 8075 |
if test "$cross_compiling_build" != yes; then |
| 8076 |
{ { ac_try="$ac_link" |
| 8077 |
case "(($ac_try" in |
| 8078 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8079 |
*) ac_try_echo=$ac_try;; |
| 8080 |
esac |
| 8081 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 8082 |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 8083 |
(eval "$ac_link") 2>&5 |
| 8084 |
ac_status=$? |
| 8085 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 8086 |
test $ac_status = 0; } |
| 8087 |
if { ac_try='./conftest$ac_cv_build_exeext' |
| 8088 |
{ { case "(($ac_try" in |
| 8089 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8090 |
*) ac_try_echo=$ac_try;; |
| 8091 |
esac |
| 8092 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 8093 |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 8094 |
(eval "$ac_try") 2>&5 |
| 8095 |
ac_status=$? |
| 8096 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 8097 |
test $ac_status = 0; }; }; then |
| 8098 |
cross_compiling_build=no |
| 8099 |
else |
| 8100 |
if test "$cross_compiling_build" = maybe; then |
| 8101 |
cross_compiling_build=yes |
| 8102 |
else |
| 8103 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 8104 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 8105 |
as_fn_error 77 "cannot run C compiled programs. |
| 8106 |
If you meant to cross compile, use '--build'. |
| 8107 |
See 'config.log' for more details" "$LINENO" 5; } |
| 8108 |
fi |
| 8109 |
fi |
| 8110 |
fi |
| 8111 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling_build" >&5 |
| 8112 |
printf "%s\n" "$cross_compiling_build" >&6; } |
| 8113 |
|
| 8114 |
rm -f conftest.$ac_ext conftest$ac_cv_build_exeext \ |
| 8115 |
conftest.o conftest.obj conftest.out |
| 8116 |
ac_clean_files=$ac_clean_files_save |
| 8117 |
|
| 8118 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 8119 |
printf %s "checking for suffix of object files... " >&6; } |
| 8120 |
if test ${ac_cv_build_objext+y} |
| 8121 |
then : |
| 8122 |
printf %s "(cached) " >&6 |
| 8123 |
else case e in #( |
| 8124 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8125 |
/* end confdefs.h. */ |
| 8126 |
|
| 8127 |
int |
| 8128 |
main (void) |
| 8129 |
{ |
| 8130 |
|
| 8131 |
; |
| 8132 |
return 0; |
| 8133 |
} |
| 8134 |
_ACEOF |
| 8135 |
rm -f conftest.o conftest.obj |
| 8136 |
if { { ac_try="$ac_compile" |
| 8137 |
case "(($ac_try" in |
| 8138 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8139 |
*) ac_try_echo=$ac_try;; |
| 8140 |
esac |
| 8141 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 8142 |
printf "%s\n" "$ac_try_echo"; } >&5 |
| 8143 |
(eval "$ac_compile") 2>&5 |
| 8144 |
ac_status=$? |
| 8145 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 8146 |
test $ac_status = 0; } |
| 8147 |
then : |
| 8148 |
for ac_file in conftest.o conftest.obj conftest.*; do |
| 8149 |
test -f "$ac_file" || continue; |
| 8150 |
case $ac_file in |
| 8151 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
| 8152 |
*) ac_cv_build_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 8153 |
break;; |
| 8154 |
esac |
| 8155 |
done |
| 8156 |
else case e in #( |
| 8157 |
e) printf "%s\n" "$as_me: failed program was:" >&5 |
| 8158 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8159 |
|
| 8160 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 8161 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 8162 |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
| 8163 |
See 'config.log' for more details" "$LINENO" 5; } ;; |
| 8164 |
esac |
| 8165 |
fi |
| 8166 |
rm -f conftest.$ac_cv_build_objext conftest.$ac_ext ;; |
| 8167 |
esac |
| 8168 |
fi |
| 8169 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_objext" >&5 |
| 8170 |
printf "%s\n" "$ac_cv_build_objext" >&6; } |
| 8171 |
OBJEXT=$ac_cv_build_objext |
| 8172 |
ac_build_objext=$BUILD_OBJEXT |
| 8173 |
|
| 8174 |
ac_ext=c |
| 8175 |
ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' |
| 8176 |
ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' |
| 8177 |
ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' |
| 8178 |
ac_compiler_gnu=$ac_cv_build_c_compiler_gnu |
| 8179 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
| 8180 |
printf %s "checking how to run the C preprocessor... " >&6; } |
| 8181 |
# On Suns, sometimes $CPP names a directory. |
| 8182 |
if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then |
| 8183 |
CPP_FOR_BUILD= |
| 8184 |
fi |
| 8185 |
if test -z "$CPP_FOR_BUILD"; then |
| 8186 |
if test ${ac_cv_build_prog_CPP+y} |
| 8187 |
then : |
| 8188 |
printf %s "(cached) " >&6 |
| 8189 |
else case e in #( |
| 8190 |
e) # Double quotes because $CC needs to be expanded |
| 8191 |
for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" cpp /lib/cpp |
| 8192 |
do |
| 8193 |
ac_preproc_ok=false |
| 8194 |
for ac_c_preproc_warn_flag in '' yes |
| 8195 |
do |
| 8196 |
# Use a header file that comes with gcc, so configuring glibc |
| 8197 |
# with a fresh cross-compiler works. |
| 8198 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 8199 |
# not just through cpp. "Syntax error" is here to catch this case. |
| 8200 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8201 |
/* end confdefs.h. */ |
| 8202 |
#include <limits.h> |
| 8203 |
Syntax error |
| 8204 |
_ACEOF |
| 8205 |
if ac_fn_c_try_cpp "$LINENO" |
| 8206 |
then : |
| 8207 |
|
| 8208 |
else case e in #( |
| 8209 |
e) # Broken: fails on valid input. |
| 8210 |
continue ;; |
| 8211 |
esac |
| 8212 |
fi |
| 8213 |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 8214 |
|
| 8215 |
# OK, works on sane cases. Now check whether nonexistent headers |
| 8216 |
# can be detected and how. |
| 8217 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8218 |
/* end confdefs.h. */ |
| 8219 |
#include <ac_nonexistent.h> |
| 8220 |
_ACEOF |
| 8221 |
if ac_fn_c_try_cpp "$LINENO" |
| 8222 |
then : |
| 8223 |
# Broken: success on invalid input. |
| 8224 |
continue |
| 8225 |
else case e in #( |
| 8226 |
e) # Passes both tests. |
| 8227 |
ac_preproc_ok=: |
| 8228 |
break ;; |
| 8229 |
esac |
| 8230 |
fi |
| 8231 |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 8232 |
|
| 8233 |
done |
| 8234 |
# Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 8235 |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 8236 |
if $ac_preproc_ok |
| 8237 |
then : |
| 8238 |
break |
| 8239 |
fi |
| 8240 |
|
| 8241 |
done |
| 8242 |
ac_cv_build_prog_CPP=$CPP_FOR_BUILD |
| 8243 |
;; |
| 8244 |
esac |
| 8245 |
fi |
| 8246 |
CPP_FOR_BUILD=$ac_cv_build_prog_CPP |
| 8247 |
else |
| 8248 |
ac_cv_build_prog_CPP=$CPP_FOR_BUILD |
| 8249 |
fi |
| 8250 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5 |
| 8251 |
printf "%s\n" "$CPP_FOR_BUILD" >&6; } |
| 8252 |
ac_preproc_ok=false |
| 8253 |
for ac_c_preproc_warn_flag in '' yes |
| 8254 |
do |
| 8255 |
# Use a header file that comes with gcc, so configuring glibc |
| 8256 |
# with a fresh cross-compiler works. |
| 8257 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 8258 |
# not just through cpp. "Syntax error" is here to catch this case. |
| 8259 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8260 |
/* end confdefs.h. */ |
| 8261 |
#include <limits.h> |
| 8262 |
Syntax error |
| 8263 |
_ACEOF |
| 8264 |
if ac_fn_c_try_cpp "$LINENO" |
| 8265 |
then : |
| 8266 |
|
| 8267 |
else case e in #( |
| 8268 |
e) # Broken: fails on valid input. |
| 8269 |
continue ;; |
| 8270 |
esac |
| 8271 |
fi |
| 8272 |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 8273 |
|
| 8274 |
# OK, works on sane cases. Now check whether nonexistent headers |
| 8275 |
# can be detected and how. |
| 8276 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8277 |
/* end confdefs.h. */ |
| 8278 |
#include <ac_nonexistent.h> |
| 8279 |
_ACEOF |
| 8280 |
if ac_fn_c_try_cpp "$LINENO" |
| 8281 |
then : |
| 8282 |
# Broken: success on invalid input. |
| 8283 |
continue |
| 8284 |
else case e in #( |
| 8285 |
e) # Passes both tests. |
| 8286 |
ac_preproc_ok=: |
| 8287 |
break ;; |
| 8288 |
esac |
| 8289 |
fi |
| 8290 |
rm -f conftest.err conftest.i conftest.$ac_ext |
| 8291 |
|
| 8292 |
done |
| 8293 |
# Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 8294 |
rm -f conftest.i conftest.err conftest.$ac_ext |
| 8295 |
if $ac_preproc_ok |
| 8296 |
then : |
| 8297 |
|
| 8298 |
else case e in #( |
| 8299 |
e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 8300 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 8301 |
as_fn_error $? "C preprocessor \"$CPP_FOR_BUILD\" fails sanity check |
| 8302 |
See 'config.log' for more details" "$LINENO" 5; } ;; |
| 8303 |
esac |
| 8304 |
fi |
| 8305 |
|
| 8306 |
ac_ext=c |
| 8307 |
ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD' |
| 8308 |
ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5' |
| 8309 |
ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5' |
| 8310 |
ac_compiler_gnu=$ac_cv_build_c_compiler_gnu |
| 8311 |
|
| 8312 |
|
| 8313 |
|
| 8314 |
ac_ext=c |
| 8315 |
ac_cpp='$CPP $CPPFLAGS' |
| 8316 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 8317 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 8318 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 8319 |
|
| 8320 |
|
| 8321 |
|
| 8322 |
|
| 8323 |
# i18n stuff |
| 8324 |
|
| 8325 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
| 8326 |
printf %s "checking for a sed that does not truncate output... " >&6; } |
| 8327 |
if test ${ac_cv_path_SED+y} |
| 8328 |
then : |
| 8329 |
printf %s "(cached) " >&6 |
| 8330 |
else case e in #( |
| 8331 |
e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
| 8332 |
for ac_i in 1 2 3 4 5 6 7; do |
| 8333 |
ac_script="$ac_script$as_nl$ac_script" |
| 8334 |
done |
| 8335 |
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
| 8336 |
{ ac_script=; unset ac_script;} |
| 8337 |
if test -z "$SED"; then |
| 8338 |
ac_path_SED_found=false |
| 8339 |
# Loop through the user's path and test for each of PROGNAME-LIST |
| 8340 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8341 |
for as_dir in $PATH |
| 8342 |
do |
| 8343 |
IFS=$as_save_IFS |
| 8344 |
case $as_dir in #((( |
| 8345 |
'') as_dir=./ ;; |
| 8346 |
*/) ;; |
| 8347 |
*) as_dir=$as_dir/ ;; |
| 8348 |
esac |
| 8349 |
for ac_prog in sed gsed |
| 8350 |
do |
| 8351 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 8352 |
ac_path_SED="$as_dir$ac_prog$ac_exec_ext" |
| 8353 |
as_fn_executable_p "$ac_path_SED" || continue |
| 8354 |
# Check for GNU ac_path_SED and select it if it is found. |
| 8355 |
# Check for GNU $ac_path_SED |
| 8356 |
case `"$ac_path_SED" --version 2>&1` in #( |
| 8357 |
*GNU*) |
| 8358 |
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
| 8359 |
#( |
| 8360 |
*) |
| 8361 |
ac_count=0 |
| 8362 |
printf %s 0123456789 >"conftest.in" |
| 8363 |
while : |
| 8364 |
do |
| 8365 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 8366 |
mv "conftest.tmp" "conftest.in" |
| 8367 |
cp "conftest.in" "conftest.nl" |
| 8368 |
printf "%s\n" '' >> "conftest.nl" |
| 8369 |
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 8370 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 8371 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 8372 |
if test $ac_count -gt ${ac_path_SED_max-0}; then |
| 8373 |
# Best one so far, save it but keep looking for a better one |
| 8374 |
ac_cv_path_SED="$ac_path_SED" |
| 8375 |
ac_path_SED_max=$ac_count |
| 8376 |
fi |
| 8377 |
# 10*(2^10) chars as input seems more than enough |
| 8378 |
test $ac_count -gt 10 && break |
| 8379 |
done |
| 8380 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 8381 |
esac |
| 8382 |
|
| 8383 |
$ac_path_SED_found && break 3 |
| 8384 |
done |
| 8385 |
done |
| 8386 |
done |
| 8387 |
IFS=$as_save_IFS |
| 8388 |
if test -z "$ac_cv_path_SED"; then |
| 8389 |
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
| 8390 |
fi |
| 8391 |
else |
| 8392 |
ac_cv_path_SED=$SED |
| 8393 |
fi |
| 8394 |
;; |
| 8395 |
esac |
| 8396 |
fi |
| 8397 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
| 8398 |
printf "%s\n" "$ac_cv_path_SED" >&6; } |
| 8399 |
SED="$ac_cv_path_SED" |
| 8400 |
rm -f conftest.sed |
| 8401 |
|
| 8402 |
|
| 8403 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 |
| 8404 |
printf %s "checking whether NLS is requested... " >&6; } |
| 8405 |
# Check whether --enable-nls was given. |
| 8406 |
if test ${enable_nls+y} |
| 8407 |
then : |
| 8408 |
enableval=$enable_nls; USE_NLS=$enableval |
| 8409 |
else case e in #( |
| 8410 |
e) USE_NLS=yes ;; |
| 8411 |
esac |
| 8412 |
fi |
| 8413 |
|
| 8414 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
| 8415 |
printf "%s\n" "$USE_NLS" >&6; } |
| 8416 |
|
| 8417 |
|
| 8418 |
|
| 8419 |
|
| 8420 |
GETTEXT_MACRO_VERSION=0.19 |
| 8421 |
|
| 8422 |
|
| 8423 |
|
| 8424 |
|
| 8425 |
# Prepare PATH_SEPARATOR. |
| 8426 |
# The user is always right. |
| 8427 |
if test "${PATH_SEPARATOR+set}" != set; then |
| 8428 |
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which |
| 8429 |
# contains only /bin. Note that ksh looks also at the FPATH variable, |
| 8430 |
# so we have to set that as well for the test. |
| 8431 |
PATH_SEPARATOR=: |
| 8432 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ |
| 8433 |
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ |
| 8434 |
|| PATH_SEPARATOR=';' |
| 8435 |
} |
| 8436 |
fi |
| 8437 |
|
| 8438 |
# Find out how to test for executable files. Don't use a zero-byte file, |
| 8439 |
# as systems may use methods other than mode bits to determine executability. |
| 8440 |
cat >conf$$.file <<_ASEOF |
| 8441 |
#! /bin/sh |
| 8442 |
exit 0 |
| 8443 |
_ASEOF |
| 8444 |
chmod +x conf$$.file |
| 8445 |
if test -x conf$$.file >/dev/null 2>&1; then |
| 8446 |
ac_executable_p="test -x" |
| 8447 |
else |
| 8448 |
ac_executable_p="test -f" |
| 8449 |
fi |
| 8450 |
rm -f conf$$.file |
| 8451 |
|
| 8452 |
# Extract the first word of "msgfmt", so it can be a program name with args. |
| 8453 |
set dummy msgfmt; ac_word=$2 |
| 8454 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8455 |
printf %s "checking for $ac_word... " >&6; } |
| 8456 |
if test ${ac_cv_path_MSGFMT+y} |
| 8457 |
then : |
| 8458 |
printf %s "(cached) " >&6 |
| 8459 |
else case e in #( |
| 8460 |
e) case "$MSGFMT" in |
| 8461 |
[\\/]* | ?:[\\/]*) |
| 8462 |
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
| 8463 |
;; |
| 8464 |
*) |
| 8465 |
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
| 8466 |
for ac_dir in $PATH; do |
| 8467 |
IFS="$ac_save_IFS" |
| 8468 |
test -z "$ac_dir" && ac_dir=. |
| 8469 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 8470 |
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
| 8471 |
echo "$as_me: trying $ac_dir/$ac_word..." >&5 |
| 8472 |
if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && |
| 8473 |
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
| 8474 |
ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" |
| 8475 |
break 2 |
| 8476 |
fi |
| 8477 |
fi |
| 8478 |
done |
| 8479 |
done |
| 8480 |
IFS="$ac_save_IFS" |
| 8481 |
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" |
| 8482 |
;; |
| 8483 |
esac ;; |
| 8484 |
esac |
| 8485 |
fi |
| 8486 |
MSGFMT="$ac_cv_path_MSGFMT" |
| 8487 |
if test "$MSGFMT" != ":"; then |
| 8488 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 |
| 8489 |
printf "%s\n" "$MSGFMT" >&6; } |
| 8490 |
else |
| 8491 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8492 |
printf "%s\n" "no" >&6; } |
| 8493 |
fi |
| 8494 |
|
| 8495 |
# Extract the first word of "gmsgfmt", so it can be a program name with args. |
| 8496 |
set dummy gmsgfmt; ac_word=$2 |
| 8497 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8498 |
printf %s "checking for $ac_word... " >&6; } |
| 8499 |
if test ${ac_cv_path_GMSGFMT+y} |
| 8500 |
then : |
| 8501 |
printf %s "(cached) " >&6 |
| 8502 |
else case e in #( |
| 8503 |
e) case $GMSGFMT in |
| 8504 |
[\\/]* | ?:[\\/]*) |
| 8505 |
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
| 8506 |
;; |
| 8507 |
*) |
| 8508 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8509 |
for as_dir in $PATH |
| 8510 |
do |
| 8511 |
IFS=$as_save_IFS |
| 8512 |
case $as_dir in #((( |
| 8513 |
'') as_dir=./ ;; |
| 8514 |
*/) ;; |
| 8515 |
*) as_dir=$as_dir/ ;; |
| 8516 |
esac |
| 8517 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 8518 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 8519 |
ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext" |
| 8520 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 8521 |
break 2 |
| 8522 |
fi |
| 8523 |
done |
| 8524 |
done |
| 8525 |
IFS=$as_save_IFS |
| 8526 |
|
| 8527 |
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
| 8528 |
;; |
| 8529 |
esac ;; |
| 8530 |
esac |
| 8531 |
fi |
| 8532 |
GMSGFMT=$ac_cv_path_GMSGFMT |
| 8533 |
if test -n "$GMSGFMT"; then |
| 8534 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 |
| 8535 |
printf "%s\n" "$GMSGFMT" >&6; } |
| 8536 |
else |
| 8537 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8538 |
printf "%s\n" "no" >&6; } |
| 8539 |
fi |
| 8540 |
|
| 8541 |
|
| 8542 |
|
| 8543 |
case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
| 8544 |
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; |
| 8545 |
*) MSGFMT_015=$MSGFMT ;; |
| 8546 |
esac |
| 8547 |
|
| 8548 |
case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
| 8549 |
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; |
| 8550 |
*) GMSGFMT_015=$GMSGFMT ;; |
| 8551 |
esac |
| 8552 |
|
| 8553 |
|
| 8554 |
|
| 8555 |
# Prepare PATH_SEPARATOR. |
| 8556 |
# The user is always right. |
| 8557 |
if test "${PATH_SEPARATOR+set}" != set; then |
| 8558 |
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which |
| 8559 |
# contains only /bin. Note that ksh looks also at the FPATH variable, |
| 8560 |
# so we have to set that as well for the test. |
| 8561 |
PATH_SEPARATOR=: |
| 8562 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ |
| 8563 |
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ |
| 8564 |
|| PATH_SEPARATOR=';' |
| 8565 |
} |
| 8566 |
fi |
| 8567 |
|
| 8568 |
# Find out how to test for executable files. Don't use a zero-byte file, |
| 8569 |
# as systems may use methods other than mode bits to determine executability. |
| 8570 |
cat >conf$$.file <<_ASEOF |
| 8571 |
#! /bin/sh |
| 8572 |
exit 0 |
| 8573 |
_ASEOF |
| 8574 |
chmod +x conf$$.file |
| 8575 |
if test -x conf$$.file >/dev/null 2>&1; then |
| 8576 |
ac_executable_p="test -x" |
| 8577 |
else |
| 8578 |
ac_executable_p="test -f" |
| 8579 |
fi |
| 8580 |
rm -f conf$$.file |
| 8581 |
|
| 8582 |
# Extract the first word of "xgettext", so it can be a program name with args. |
| 8583 |
set dummy xgettext; ac_word=$2 |
| 8584 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8585 |
printf %s "checking for $ac_word... " >&6; } |
| 8586 |
if test ${ac_cv_path_XGETTEXT+y} |
| 8587 |
then : |
| 8588 |
printf %s "(cached) " >&6 |
| 8589 |
else case e in #( |
| 8590 |
e) case "$XGETTEXT" in |
| 8591 |
[\\/]* | ?:[\\/]*) |
| 8592 |
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
| 8593 |
;; |
| 8594 |
*) |
| 8595 |
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
| 8596 |
for ac_dir in $PATH; do |
| 8597 |
IFS="$ac_save_IFS" |
| 8598 |
test -z "$ac_dir" && ac_dir=. |
| 8599 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 8600 |
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
| 8601 |
echo "$as_me: trying $ac_dir/$ac_word..." >&5 |
| 8602 |
if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && |
| 8603 |
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
| 8604 |
ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" |
| 8605 |
break 2 |
| 8606 |
fi |
| 8607 |
fi |
| 8608 |
done |
| 8609 |
done |
| 8610 |
IFS="$ac_save_IFS" |
| 8611 |
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" |
| 8612 |
;; |
| 8613 |
esac ;; |
| 8614 |
esac |
| 8615 |
fi |
| 8616 |
XGETTEXT="$ac_cv_path_XGETTEXT" |
| 8617 |
if test "$XGETTEXT" != ":"; then |
| 8618 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 |
| 8619 |
printf "%s\n" "$XGETTEXT" >&6; } |
| 8620 |
else |
| 8621 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8622 |
printf "%s\n" "no" >&6; } |
| 8623 |
fi |
| 8624 |
|
| 8625 |
rm -f messages.po |
| 8626 |
|
| 8627 |
case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
| 8628 |
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; |
| 8629 |
*) XGETTEXT_015=$XGETTEXT ;; |
| 8630 |
esac |
| 8631 |
|
| 8632 |
|
| 8633 |
|
| 8634 |
# Prepare PATH_SEPARATOR. |
| 8635 |
# The user is always right. |
| 8636 |
if test "${PATH_SEPARATOR+set}" != set; then |
| 8637 |
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which |
| 8638 |
# contains only /bin. Note that ksh looks also at the FPATH variable, |
| 8639 |
# so we have to set that as well for the test. |
| 8640 |
PATH_SEPARATOR=: |
| 8641 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ |
| 8642 |
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ |
| 8643 |
|| PATH_SEPARATOR=';' |
| 8644 |
} |
| 8645 |
fi |
| 8646 |
|
| 8647 |
# Find out how to test for executable files. Don't use a zero-byte file, |
| 8648 |
# as systems may use methods other than mode bits to determine executability. |
| 8649 |
cat >conf$$.file <<_ASEOF |
| 8650 |
#! /bin/sh |
| 8651 |
exit 0 |
| 8652 |
_ASEOF |
| 8653 |
chmod +x conf$$.file |
| 8654 |
if test -x conf$$.file >/dev/null 2>&1; then |
| 8655 |
ac_executable_p="test -x" |
| 8656 |
else |
| 8657 |
ac_executable_p="test -f" |
| 8658 |
fi |
| 8659 |
rm -f conf$$.file |
| 8660 |
|
| 8661 |
# Extract the first word of "msgmerge", so it can be a program name with args. |
| 8662 |
set dummy msgmerge; ac_word=$2 |
| 8663 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8664 |
printf %s "checking for $ac_word... " >&6; } |
| 8665 |
if test ${ac_cv_path_MSGMERGE+y} |
| 8666 |
then : |
| 8667 |
printf %s "(cached) " >&6 |
| 8668 |
else case e in #( |
| 8669 |
e) case "$MSGMERGE" in |
| 8670 |
[\\/]* | ?:[\\/]*) |
| 8671 |
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
| 8672 |
;; |
| 8673 |
*) |
| 8674 |
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
| 8675 |
for ac_dir in $PATH; do |
| 8676 |
IFS="$ac_save_IFS" |
| 8677 |
test -z "$ac_dir" && ac_dir=. |
| 8678 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 8679 |
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
| 8680 |
echo "$as_me: trying $ac_dir/$ac_word..." >&5 |
| 8681 |
if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then |
| 8682 |
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" |
| 8683 |
break 2 |
| 8684 |
fi |
| 8685 |
fi |
| 8686 |
done |
| 8687 |
done |
| 8688 |
IFS="$ac_save_IFS" |
| 8689 |
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" |
| 8690 |
;; |
| 8691 |
esac ;; |
| 8692 |
esac |
| 8693 |
fi |
| 8694 |
MSGMERGE="$ac_cv_path_MSGMERGE" |
| 8695 |
if test "$MSGMERGE" != ":"; then |
| 8696 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 |
| 8697 |
printf "%s\n" "$MSGMERGE" >&6; } |
| 8698 |
else |
| 8699 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8700 |
printf "%s\n" "no" >&6; } |
| 8701 |
fi |
| 8702 |
|
| 8703 |
|
| 8704 |
test -n "$localedir" || localedir='${datadir}/locale' |
| 8705 |
|
| 8706 |
|
| 8707 |
test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= |
| 8708 |
|
| 8709 |
|
| 8710 |
ac_config_commands="$ac_config_commands po-directories" |
| 8711 |
|
| 8712 |
|
| 8713 |
|
| 8714 |
if test "X$prefix" = "XNONE"; then |
| 8715 |
acl_final_prefix="$ac_default_prefix" |
| 8716 |
else |
| 8717 |
acl_final_prefix="$prefix" |
| 8718 |
fi |
| 8719 |
if test "X$exec_prefix" = "XNONE"; then |
| 8720 |
acl_final_exec_prefix='${prefix}' |
| 8721 |
else |
| 8722 |
acl_final_exec_prefix="$exec_prefix" |
| 8723 |
fi |
| 8724 |
acl_save_prefix="$prefix" |
| 8725 |
prefix="$acl_final_prefix" |
| 8726 |
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" |
| 8727 |
prefix="$acl_save_prefix" |
| 8728 |
|
| 8729 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 8730 |
printf %s "checking host system type... " >&6; } |
| 8731 |
if test ${ac_cv_host+y} |
| 8732 |
then : |
| 8733 |
printf %s "(cached) " >&6 |
| 8734 |
else case e in #( |
| 8735 |
e) if test "x$host_alias" = x; then |
| 8736 |
ac_cv_host=$ac_cv_build |
| 8737 |
else |
| 8738 |
ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || |
| 8739 |
as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 |
| 8740 |
fi |
| 8741 |
;; |
| 8742 |
esac |
| 8743 |
fi |
| 8744 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
| 8745 |
printf "%s\n" "$ac_cv_host" >&6; } |
| 8746 |
case $ac_cv_host in |
| 8747 |
*-*-*) ;; |
| 8748 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
| 8749 |
esac |
| 8750 |
host=$ac_cv_host |
| 8751 |
ac_save_IFS=$IFS; IFS='-' |
| 8752 |
set x $ac_cv_host |
| 8753 |
shift |
| 8754 |
host_cpu=$1 |
| 8755 |
host_vendor=$2 |
| 8756 |
shift; shift |
| 8757 |
# Remember, the first character of IFS is used to create $*, |
| 8758 |
# except with old shells: |
| 8759 |
host_os=$* |
| 8760 |
IFS=$ac_save_IFS |
| 8761 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
| 8762 |
|
| 8763 |
|
| 8764 |
|
| 8765 |
|
| 8766 |
# Check whether --with-gnu-ld was given. |
| 8767 |
if test ${with_gnu_ld+y} |
| 8768 |
then : |
| 8769 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
| 8770 |
else case e in #( |
| 8771 |
e) with_gnu_ld=no ;; |
| 8772 |
esac |
| 8773 |
fi |
| 8774 |
|
| 8775 |
# Prepare PATH_SEPARATOR. |
| 8776 |
# The user is always right. |
| 8777 |
if test "${PATH_SEPARATOR+set}" != set; then |
| 8778 |
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which |
| 8779 |
# contains only /bin. Note that ksh looks also at the FPATH variable, |
| 8780 |
# so we have to set that as well for the test. |
| 8781 |
PATH_SEPARATOR=: |
| 8782 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ |
| 8783 |
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ |
| 8784 |
|| PATH_SEPARATOR=';' |
| 8785 |
} |
| 8786 |
fi |
| 8787 |
|
| 8788 |
ac_prog=ld |
| 8789 |
if test "$GCC" = yes; then |
| 8790 |
# Check if gcc -print-prog-name=ld gives a path. |
| 8791 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
| 8792 |
printf %s "checking for ld used by $CC... " >&6; } |
| 8793 |
case $host in |
| 8794 |
*-*-mingw*) |
| 8795 |
# gcc leaves a trailing carriage return which upsets mingw |
| 8796 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
| 8797 |
*) |
| 8798 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
| 8799 |
esac |
| 8800 |
case $ac_prog in |
| 8801 |
# Accept absolute paths. |
| 8802 |
[\\/]* | ?:[\\/]*) |
| 8803 |
re_direlt='/[^/][^/]*/\.\./' |
| 8804 |
# Canonicalize the pathname of ld |
| 8805 |
ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` |
| 8806 |
while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do |
| 8807 |
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` |
| 8808 |
done |
| 8809 |
test -z "$LD" && LD="$ac_prog" |
| 8810 |
;; |
| 8811 |
"") |
| 8812 |
# If it fails, then pretend we aren't using GCC. |
| 8813 |
ac_prog=ld |
| 8814 |
;; |
| 8815 |
*) |
| 8816 |
# If it is relative, then search for the first ld in PATH. |
| 8817 |
with_gnu_ld=unknown |
| 8818 |
;; |
| 8819 |
esac |
| 8820 |
elif test "$with_gnu_ld" = yes; then |
| 8821 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
| 8822 |
printf %s "checking for GNU ld... " >&6; } |
| 8823 |
else |
| 8824 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 8825 |
printf %s "checking for non-GNU ld... " >&6; } |
| 8826 |
fi |
| 8827 |
if test ${acl_cv_path_LD+y} |
| 8828 |
then : |
| 8829 |
printf %s "(cached) " >&6 |
| 8830 |
else case e in #( |
| 8831 |
e) if test -z "$LD"; then |
| 8832 |
acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 8833 |
for ac_dir in $PATH; do |
| 8834 |
IFS="$acl_save_ifs" |
| 8835 |
test -z "$ac_dir" && ac_dir=. |
| 8836 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
| 8837 |
acl_cv_path_LD="$ac_dir/$ac_prog" |
| 8838 |
# Check to see if the program is GNU ld. I'd rather use --version, |
| 8839 |
# but apparently some variants of GNU ld only accept -v. |
| 8840 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
| 8841 |
case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in |
| 8842 |
*GNU* | *'with BFD'*) |
| 8843 |
test "$with_gnu_ld" != no && break |
| 8844 |
;; |
| 8845 |
*) |
| 8846 |
test "$with_gnu_ld" != yes && break |
| 8847 |
;; |
| 8848 |
esac |
| 8849 |
fi |
| 8850 |
done |
| 8851 |
IFS="$acl_save_ifs" |
| 8852 |
else |
| 8853 |
acl_cv_path_LD="$LD" # Let the user override the test with a path. |
| 8854 |
fi ;; |
| 8855 |
esac |
| 8856 |
fi |
| 8857 |
|
| 8858 |
LD="$acl_cv_path_LD" |
| 8859 |
if test -n "$LD"; then |
| 8860 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
| 8861 |
printf "%s\n" "$LD" >&6; } |
| 8862 |
else |
| 8863 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8864 |
printf "%s\n" "no" >&6; } |
| 8865 |
fi |
| 8866 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 8867 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
| 8868 |
printf %s "checking if the linker ($LD) is GNU ld... " >&6; } |
| 8869 |
if test ${acl_cv_prog_gnu_ld+y} |
| 8870 |
then : |
| 8871 |
printf %s "(cached) " >&6 |
| 8872 |
else case e in #( |
| 8873 |
e) # I'd rather use --version here, but apparently some GNU lds only accept -v. |
| 8874 |
case `$LD -v 2>&1 </dev/null` in |
| 8875 |
*GNU* | *'with BFD'*) |
| 8876 |
acl_cv_prog_gnu_ld=yes |
| 8877 |
;; |
| 8878 |
*) |
| 8879 |
acl_cv_prog_gnu_ld=no |
| 8880 |
;; |
| 8881 |
esac ;; |
| 8882 |
esac |
| 8883 |
fi |
| 8884 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 |
| 8885 |
printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; } |
| 8886 |
with_gnu_ld=$acl_cv_prog_gnu_ld |
| 8887 |
|
| 8888 |
|
| 8889 |
|
| 8890 |
|
| 8891 |
|
| 8892 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 |
| 8893 |
printf %s "checking for shared library run path origin... " >&6; } |
| 8894 |
if test ${acl_cv_rpath+y} |
| 8895 |
then : |
| 8896 |
printf %s "(cached) " >&6 |
| 8897 |
else case e in #( |
| 8898 |
e) |
| 8899 |
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ |
| 8900 |
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh |
| 8901 |
. ./conftest.sh |
| 8902 |
rm -f ./conftest.sh |
| 8903 |
acl_cv_rpath=done |
| 8904 |
;; |
| 8905 |
esac |
| 8906 |
fi |
| 8907 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 |
| 8908 |
printf "%s\n" "$acl_cv_rpath" >&6; } |
| 8909 |
wl="$acl_cv_wl" |
| 8910 |
acl_libext="$acl_cv_libext" |
| 8911 |
acl_shlibext="$acl_cv_shlibext" |
| 8912 |
acl_libname_spec="$acl_cv_libname_spec" |
| 8913 |
acl_library_names_spec="$acl_cv_library_names_spec" |
| 8914 |
acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" |
| 8915 |
acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" |
| 8916 |
acl_hardcode_direct="$acl_cv_hardcode_direct" |
| 8917 |
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" |
| 8918 |
# Check whether --enable-rpath was given. |
| 8919 |
if test ${enable_rpath+y} |
| 8920 |
then : |
| 8921 |
enableval=$enable_rpath; : |
| 8922 |
else case e in #( |
| 8923 |
e) enable_rpath=yes ;; |
| 8924 |
esac |
| 8925 |
fi |
| 8926 |
|
| 8927 |
|
| 8928 |
|
| 8929 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5 |
| 8930 |
printf %s "checking for egrep -e... " >&6; } |
| 8931 |
if test ${ac_cv_path_EGREP_TRADITIONAL+y} |
| 8932 |
then : |
| 8933 |
printf %s "(cached) " >&6 |
| 8934 |
else case e in #( |
| 8935 |
e) if test -z "$EGREP_TRADITIONAL"; then |
| 8936 |
ac_path_EGREP_TRADITIONAL_found=false |
| 8937 |
# Loop through the user's path and test for each of PROGNAME-LIST |
| 8938 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8939 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 8940 |
do |
| 8941 |
IFS=$as_save_IFS |
| 8942 |
case $as_dir in #((( |
| 8943 |
'') as_dir=./ ;; |
| 8944 |
*/) ;; |
| 8945 |
*) as_dir=$as_dir/ ;; |
| 8946 |
esac |
| 8947 |
for ac_prog in grep ggrep |
| 8948 |
do |
| 8949 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 8950 |
ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext" |
| 8951 |
as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue |
| 8952 |
# Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found. |
| 8953 |
# Check for GNU $ac_path_EGREP_TRADITIONAL |
| 8954 |
case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #( |
| 8955 |
*GNU*) |
| 8956 |
ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;; |
| 8957 |
#( |
| 8958 |
*) |
| 8959 |
ac_count=0 |
| 8960 |
printf %s 0123456789 >"conftest.in" |
| 8961 |
while : |
| 8962 |
do |
| 8963 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 8964 |
mv "conftest.tmp" "conftest.in" |
| 8965 |
cp "conftest.in" "conftest.nl" |
| 8966 |
printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl" |
| 8967 |
"$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 8968 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 8969 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 8970 |
if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then |
| 8971 |
# Best one so far, save it but keep looking for a better one |
| 8972 |
ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" |
| 8973 |
ac_path_EGREP_TRADITIONAL_max=$ac_count |
| 8974 |
fi |
| 8975 |
# 10*(2^10) chars as input seems more than enough |
| 8976 |
test $ac_count -gt 10 && break |
| 8977 |
done |
| 8978 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 8979 |
esac |
| 8980 |
|
| 8981 |
$ac_path_EGREP_TRADITIONAL_found && break 3 |
| 8982 |
done |
| 8983 |
done |
| 8984 |
done |
| 8985 |
IFS=$as_save_IFS |
| 8986 |
if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then |
| 8987 |
: |
| 8988 |
fi |
| 8989 |
else |
| 8990 |
ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL |
| 8991 |
fi |
| 8992 |
|
| 8993 |
if test "$ac_cv_path_EGREP_TRADITIONAL" |
| 8994 |
then : |
| 8995 |
ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E" |
| 8996 |
else case e in #( |
| 8997 |
e) if test -z "$EGREP_TRADITIONAL"; then |
| 8998 |
ac_path_EGREP_TRADITIONAL_found=false |
| 8999 |
# Loop through the user's path and test for each of PROGNAME-LIST |
| 9000 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9001 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 9002 |
do |
| 9003 |
IFS=$as_save_IFS |
| 9004 |
case $as_dir in #((( |
| 9005 |
'') as_dir=./ ;; |
| 9006 |
*/) ;; |
| 9007 |
*) as_dir=$as_dir/ ;; |
| 9008 |
esac |
| 9009 |
for ac_prog in egrep |
| 9010 |
do |
| 9011 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 9012 |
ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext" |
| 9013 |
as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue |
| 9014 |
# Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found. |
| 9015 |
# Check for GNU $ac_path_EGREP_TRADITIONAL |
| 9016 |
case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #( |
| 9017 |
*GNU*) |
| 9018 |
ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;; |
| 9019 |
#( |
| 9020 |
*) |
| 9021 |
ac_count=0 |
| 9022 |
printf %s 0123456789 >"conftest.in" |
| 9023 |
while : |
| 9024 |
do |
| 9025 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 9026 |
mv "conftest.tmp" "conftest.in" |
| 9027 |
cp "conftest.in" "conftest.nl" |
| 9028 |
printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl" |
| 9029 |
"$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 9030 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 9031 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 9032 |
if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then |
| 9033 |
# Best one so far, save it but keep looking for a better one |
| 9034 |
ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" |
| 9035 |
ac_path_EGREP_TRADITIONAL_max=$ac_count |
| 9036 |
fi |
| 9037 |
# 10*(2^10) chars as input seems more than enough |
| 9038 |
test $ac_count -gt 10 && break |
| 9039 |
done |
| 9040 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 9041 |
esac |
| 9042 |
|
| 9043 |
$ac_path_EGREP_TRADITIONAL_found && break 3 |
| 9044 |
done |
| 9045 |
done |
| 9046 |
done |
| 9047 |
IFS=$as_save_IFS |
| 9048 |
if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then |
| 9049 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 9050 |
fi |
| 9051 |
else |
| 9052 |
ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL |
| 9053 |
fi |
| 9054 |
;; |
| 9055 |
esac |
| 9056 |
fi ;; |
| 9057 |
esac |
| 9058 |
fi |
| 9059 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5 |
| 9060 |
printf "%s\n" "$ac_cv_path_EGREP_TRADITIONAL" >&6; } |
| 9061 |
EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL |
| 9062 |
|
| 9063 |
|
| 9064 |
|
| 9065 |
acl_libdirstem=lib |
| 9066 |
acl_libdirstem2= |
| 9067 |
case "$host_os" in |
| 9068 |
solaris*) |
| 9069 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 |
| 9070 |
printf %s "checking for 64-bit host... " >&6; } |
| 9071 |
if test ${gl_cv_solaris_64bit+y} |
| 9072 |
then : |
| 9073 |
printf %s "(cached) " >&6 |
| 9074 |
else case e in #( |
| 9075 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9076 |
/* end confdefs.h. */ |
| 9077 |
|
| 9078 |
#ifdef _LP64 |
| 9079 |
sixtyfour bits |
| 9080 |
#endif |
| 9081 |
|
| 9082 |
_ACEOF |
| 9083 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 9084 |
$EGREP_TRADITIONAL "sixtyfour bits" >/dev/null 2>&1 |
| 9085 |
then : |
| 9086 |
gl_cv_solaris_64bit=yes |
| 9087 |
else case e in #( |
| 9088 |
e) gl_cv_solaris_64bit=no ;; |
| 9089 |
esac |
| 9090 |
fi |
| 9091 |
rm -rf conftest* |
| 9092 |
|
| 9093 |
;; |
| 9094 |
esac |
| 9095 |
fi |
| 9096 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 |
| 9097 |
printf "%s\n" "$gl_cv_solaris_64bit" >&6; } |
| 9098 |
if test $gl_cv_solaris_64bit = yes; then |
| 9099 |
acl_libdirstem=lib/64 |
| 9100 |
case "$host_cpu" in |
| 9101 |
sparc*) acl_libdirstem2=lib/sparcv9 ;; |
| 9102 |
i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; |
| 9103 |
esac |
| 9104 |
fi |
| 9105 |
;; |
| 9106 |
*) |
| 9107 |
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` |
| 9108 |
if test -n "$searchpath"; then |
| 9109 |
acl_save_IFS="${IFS= }"; IFS=":" |
| 9110 |
for searchdir in $searchpath; do |
| 9111 |
if test -d "$searchdir"; then |
| 9112 |
case "$searchdir" in |
| 9113 |
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;; |
| 9114 |
*/../ | */.. ) |
| 9115 |
# Better ignore directories of this form. They are misleading. |
| 9116 |
;; |
| 9117 |
*) searchdir=`cd "$searchdir" && pwd` |
| 9118 |
case "$searchdir" in |
| 9119 |
*/lib64 ) acl_libdirstem=lib64 ;; |
| 9120 |
esac ;; |
| 9121 |
esac |
| 9122 |
fi |
| 9123 |
done |
| 9124 |
IFS="$acl_save_IFS" |
| 9125 |
fi |
| 9126 |
;; |
| 9127 |
esac |
| 9128 |
test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" |
| 9129 |
|
| 9130 |
|
| 9131 |
|
| 9132 |
|
| 9133 |
|
| 9134 |
|
| 9135 |
|
| 9136 |
|
| 9137 |
|
| 9138 |
|
| 9139 |
|
| 9140 |
|
| 9141 |
use_additional=yes |
| 9142 |
|
| 9143 |
acl_save_prefix="$prefix" |
| 9144 |
prefix="$acl_final_prefix" |
| 9145 |
acl_save_exec_prefix="$exec_prefix" |
| 9146 |
exec_prefix="$acl_final_exec_prefix" |
| 9147 |
|
| 9148 |
eval additional_includedir=\"$includedir\" |
| 9149 |
eval additional_libdir=\"$libdir\" |
| 9150 |
|
| 9151 |
exec_prefix="$acl_save_exec_prefix" |
| 9152 |
prefix="$acl_save_prefix" |
| 9153 |
|
| 9154 |
|
| 9155 |
# Check whether --with-libiconv-prefix was given. |
| 9156 |
if test ${with_libiconv_prefix+y} |
| 9157 |
then : |
| 9158 |
withval=$with_libiconv_prefix; |
| 9159 |
if test "X$withval" = "Xno"; then |
| 9160 |
use_additional=no |
| 9161 |
else |
| 9162 |
if test "X$withval" = "X"; then |
| 9163 |
|
| 9164 |
acl_save_prefix="$prefix" |
| 9165 |
prefix="$acl_final_prefix" |
| 9166 |
acl_save_exec_prefix="$exec_prefix" |
| 9167 |
exec_prefix="$acl_final_exec_prefix" |
| 9168 |
|
| 9169 |
eval additional_includedir=\"$includedir\" |
| 9170 |
eval additional_libdir=\"$libdir\" |
| 9171 |
|
| 9172 |
exec_prefix="$acl_save_exec_prefix" |
| 9173 |
prefix="$acl_save_prefix" |
| 9174 |
|
| 9175 |
else |
| 9176 |
additional_includedir="$withval/include" |
| 9177 |
additional_libdir="$withval/$acl_libdirstem" |
| 9178 |
if test "$acl_libdirstem2" != "$acl_libdirstem" \ |
| 9179 |
&& ! test -d "$withval/$acl_libdirstem"; then |
| 9180 |
additional_libdir="$withval/$acl_libdirstem2" |
| 9181 |
fi |
| 9182 |
fi |
| 9183 |
fi |
| 9184 |
|
| 9185 |
fi |
| 9186 |
|
| 9187 |
LIBICONV= |
| 9188 |
LTLIBICONV= |
| 9189 |
INCICONV= |
| 9190 |
LIBICONV_PREFIX= |
| 9191 |
HAVE_LIBICONV= |
| 9192 |
rpathdirs= |
| 9193 |
ltrpathdirs= |
| 9194 |
names_already_handled= |
| 9195 |
names_next_round='iconv ' |
| 9196 |
while test -n "$names_next_round"; do |
| 9197 |
names_this_round="$names_next_round" |
| 9198 |
names_next_round= |
| 9199 |
for name in $names_this_round; do |
| 9200 |
already_handled= |
| 9201 |
for n in $names_already_handled; do |
| 9202 |
if test "$n" = "$name"; then |
| 9203 |
already_handled=yes |
| 9204 |
break |
| 9205 |
fi |
| 9206 |
done |
| 9207 |
if test -z "$already_handled"; then |
| 9208 |
names_already_handled="$names_already_handled $name" |
| 9209 |
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` |
| 9210 |
eval value=\"\$HAVE_LIB$uppername\" |
| 9211 |
if test -n "$value"; then |
| 9212 |
if test "$value" = yes; then |
| 9213 |
eval value=\"\$LIB$uppername\" |
| 9214 |
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" |
| 9215 |
eval value=\"\$LTLIB$uppername\" |
| 9216 |
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" |
| 9217 |
else |
| 9218 |
: |
| 9219 |
fi |
| 9220 |
else |
| 9221 |
found_dir= |
| 9222 |
found_la= |
| 9223 |
found_so= |
| 9224 |
found_a= |
| 9225 |
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name |
| 9226 |
if test -n "$acl_shlibext"; then |
| 9227 |
shrext=".$acl_shlibext" # typically: shrext=.so |
| 9228 |
else |
| 9229 |
shrext= |
| 9230 |
fi |
| 9231 |
if test $use_additional = yes; then |
| 9232 |
dir="$additional_libdir" |
| 9233 |
if test -n "$acl_shlibext"; then |
| 9234 |
if test -f "$dir/$libname$shrext"; then |
| 9235 |
found_dir="$dir" |
| 9236 |
found_so="$dir/$libname$shrext" |
| 9237 |
else |
| 9238 |
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
| 9239 |
ver=`(cd "$dir" && \ |
| 9240 |
for f in "$libname$shrext".*; do echo "$f"; done \ |
| 9241 |
| sed -e "s,^$libname$shrext\\\\.,," \ |
| 9242 |
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
| 9243 |
| sed 1q ) 2>/dev/null` |
| 9244 |
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
| 9245 |
found_dir="$dir" |
| 9246 |
found_so="$dir/$libname$shrext.$ver" |
| 9247 |
fi |
| 9248 |
else |
| 9249 |
eval library_names=\"$acl_library_names_spec\" |
| 9250 |
for f in $library_names; do |
| 9251 |
if test -f "$dir/$f"; then |
| 9252 |
found_dir="$dir" |
| 9253 |
found_so="$dir/$f" |
| 9254 |
break |
| 9255 |
fi |
| 9256 |
done |
| 9257 |
fi |
| 9258 |
fi |
| 9259 |
fi |
| 9260 |
if test "X$found_dir" = "X"; then |
| 9261 |
if test -f "$dir/$libname.$acl_libext"; then |
| 9262 |
found_dir="$dir" |
| 9263 |
found_a="$dir/$libname.$acl_libext" |
| 9264 |
fi |
| 9265 |
fi |
| 9266 |
if test "X$found_dir" != "X"; then |
| 9267 |
if test -f "$dir/$libname.la"; then |
| 9268 |
found_la="$dir/$libname.la" |
| 9269 |
fi |
| 9270 |
fi |
| 9271 |
fi |
| 9272 |
if test "X$found_dir" = "X"; then |
| 9273 |
for x in $LDFLAGS $LTLIBICONV; do |
| 9274 |
|
| 9275 |
acl_save_prefix="$prefix" |
| 9276 |
prefix="$acl_final_prefix" |
| 9277 |
acl_save_exec_prefix="$exec_prefix" |
| 9278 |
exec_prefix="$acl_final_exec_prefix" |
| 9279 |
eval x=\"$x\" |
| 9280 |
exec_prefix="$acl_save_exec_prefix" |
| 9281 |
prefix="$acl_save_prefix" |
| 9282 |
|
| 9283 |
case "$x" in |
| 9284 |
-L*) |
| 9285 |
dir=`echo "X$x" | sed -e 's/^X-L//'` |
| 9286 |
if test -n "$acl_shlibext"; then |
| 9287 |
if test -f "$dir/$libname$shrext"; then |
| 9288 |
found_dir="$dir" |
| 9289 |
found_so="$dir/$libname$shrext" |
| 9290 |
else |
| 9291 |
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
| 9292 |
ver=`(cd "$dir" && \ |
| 9293 |
for f in "$libname$shrext".*; do echo "$f"; done \ |
| 9294 |
| sed -e "s,^$libname$shrext\\\\.,," \ |
| 9295 |
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
| 9296 |
| sed 1q ) 2>/dev/null` |
| 9297 |
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
| 9298 |
found_dir="$dir" |
| 9299 |
found_so="$dir/$libname$shrext.$ver" |
| 9300 |
fi |
| 9301 |
else |
| 9302 |
eval library_names=\"$acl_library_names_spec\" |
| 9303 |
for f in $library_names; do |
| 9304 |
if test -f "$dir/$f"; then |
| 9305 |
found_dir="$dir" |
| 9306 |
found_so="$dir/$f" |
| 9307 |
break |
| 9308 |
fi |
| 9309 |
done |
| 9310 |
fi |
| 9311 |
fi |
| 9312 |
fi |
| 9313 |
if test "X$found_dir" = "X"; then |
| 9314 |
if test -f "$dir/$libname.$acl_libext"; then |
| 9315 |
found_dir="$dir" |
| 9316 |
found_a="$dir/$libname.$acl_libext" |
| 9317 |
fi |
| 9318 |
fi |
| 9319 |
if test "X$found_dir" != "X"; then |
| 9320 |
if test -f "$dir/$libname.la"; then |
| 9321 |
found_la="$dir/$libname.la" |
| 9322 |
fi |
| 9323 |
fi |
| 9324 |
;; |
| 9325 |
esac |
| 9326 |
if test "X$found_dir" != "X"; then |
| 9327 |
break |
| 9328 |
fi |
| 9329 |
done |
| 9330 |
fi |
| 9331 |
if test "X$found_dir" != "X"; then |
| 9332 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" |
| 9333 |
if test "X$found_so" != "X"; then |
| 9334 |
if test "$enable_rpath" = no \ |
| 9335 |
|| test "X$found_dir" = "X/usr/$acl_libdirstem" \ |
| 9336 |
|| test "X$found_dir" = "X/usr/$acl_libdirstem2"; then |
| 9337 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
| 9338 |
else |
| 9339 |
haveit= |
| 9340 |
for x in $ltrpathdirs; do |
| 9341 |
if test "X$x" = "X$found_dir"; then |
| 9342 |
haveit=yes |
| 9343 |
break |
| 9344 |
fi |
| 9345 |
done |
| 9346 |
if test -z "$haveit"; then |
| 9347 |
ltrpathdirs="$ltrpathdirs $found_dir" |
| 9348 |
fi |
| 9349 |
if test "$acl_hardcode_direct" = yes; then |
| 9350 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
| 9351 |
else |
| 9352 |
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then |
| 9353 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
| 9354 |
haveit= |
| 9355 |
for x in $rpathdirs; do |
| 9356 |
if test "X$x" = "X$found_dir"; then |
| 9357 |
haveit=yes |
| 9358 |
break |
| 9359 |
fi |
| 9360 |
done |
| 9361 |
if test -z "$haveit"; then |
| 9362 |
rpathdirs="$rpathdirs $found_dir" |
| 9363 |
fi |
| 9364 |
else |
| 9365 |
haveit= |
| 9366 |
for x in $LDFLAGS $LIBICONV; do |
| 9367 |
|
| 9368 |
acl_save_prefix="$prefix" |
| 9369 |
prefix="$acl_final_prefix" |
| 9370 |
acl_save_exec_prefix="$exec_prefix" |
| 9371 |
exec_prefix="$acl_final_exec_prefix" |
| 9372 |
eval x=\"$x\" |
| 9373 |
exec_prefix="$acl_save_exec_prefix" |
| 9374 |
prefix="$acl_save_prefix" |
| 9375 |
|
| 9376 |
if test "X$x" = "X-L$found_dir"; then |
| 9377 |
haveit=yes |
| 9378 |
break |
| 9379 |
fi |
| 9380 |
done |
| 9381 |
if test -z "$haveit"; then |
| 9382 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" |
| 9383 |
fi |
| 9384 |
if test "$acl_hardcode_minus_L" != no; then |
| 9385 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
| 9386 |
else |
| 9387 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" |
| 9388 |
fi |
| 9389 |
fi |
| 9390 |
fi |
| 9391 |
fi |
| 9392 |
else |
| 9393 |
if test "X$found_a" != "X"; then |
| 9394 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" |
| 9395 |
else |
| 9396 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" |
| 9397 |
fi |
| 9398 |
fi |
| 9399 |
additional_includedir= |
| 9400 |
case "$found_dir" in |
| 9401 |
*/$acl_libdirstem | */$acl_libdirstem/) |
| 9402 |
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` |
| 9403 |
if test "$name" = 'iconv'; then |
| 9404 |
LIBICONV_PREFIX="$basedir" |
| 9405 |
fi |
| 9406 |
additional_includedir="$basedir/include" |
| 9407 |
;; |
| 9408 |
*/$acl_libdirstem2 | */$acl_libdirstem2/) |
| 9409 |
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` |
| 9410 |
if test "$name" = 'iconv'; then |
| 9411 |
LIBICONV_PREFIX="$basedir" |
| 9412 |
fi |
| 9413 |
additional_includedir="$basedir/include" |
| 9414 |
;; |
| 9415 |
esac |
| 9416 |
if test "X$additional_includedir" != "X"; then |
| 9417 |
if test "X$additional_includedir" != "X/usr/include"; then |
| 9418 |
haveit= |
| 9419 |
if test "X$additional_includedir" = "X/usr/local/include"; then |
| 9420 |
if test -n "$GCC"; then |
| 9421 |
case $host_os in |
| 9422 |
linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
| 9423 |
esac |
| 9424 |
fi |
| 9425 |
fi |
| 9426 |
if test -z "$haveit"; then |
| 9427 |
for x in $CPPFLAGS $INCICONV; do |
| 9428 |
|
| 9429 |
acl_save_prefix="$prefix" |
| 9430 |
prefix="$acl_final_prefix" |
| 9431 |
acl_save_exec_prefix="$exec_prefix" |
| 9432 |
exec_prefix="$acl_final_exec_prefix" |
| 9433 |
eval x=\"$x\" |
| 9434 |
exec_prefix="$acl_save_exec_prefix" |
| 9435 |
prefix="$acl_save_prefix" |
| 9436 |
|
| 9437 |
if test "X$x" = "X-I$additional_includedir"; then |
| 9438 |
haveit=yes |
| 9439 |
break |
| 9440 |
fi |
| 9441 |
done |
| 9442 |
if test -z "$haveit"; then |
| 9443 |
if test -d "$additional_includedir"; then |
| 9444 |
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" |
| 9445 |
fi |
| 9446 |
fi |
| 9447 |
fi |
| 9448 |
fi |
| 9449 |
fi |
| 9450 |
if test -n "$found_la"; then |
| 9451 |
save_libdir="$libdir" |
| 9452 |
case "$found_la" in |
| 9453 |
*/* | *\\*) . "$found_la" ;; |
| 9454 |
*) . "./$found_la" ;; |
| 9455 |
esac |
| 9456 |
libdir="$save_libdir" |
| 9457 |
for dep in $dependency_libs; do |
| 9458 |
case "$dep" in |
| 9459 |
-L*) |
| 9460 |
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` |
| 9461 |
if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ |
| 9462 |
&& test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then |
| 9463 |
haveit= |
| 9464 |
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ |
| 9465 |
|| test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then |
| 9466 |
if test -n "$GCC"; then |
| 9467 |
case $host_os in |
| 9468 |
linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
| 9469 |
esac |
| 9470 |
fi |
| 9471 |
fi |
| 9472 |
if test -z "$haveit"; then |
| 9473 |
haveit= |
| 9474 |
for x in $LDFLAGS $LIBICONV; do |
| 9475 |
|
| 9476 |
acl_save_prefix="$prefix" |
| 9477 |
prefix="$acl_final_prefix" |
| 9478 |
acl_save_exec_prefix="$exec_prefix" |
| 9479 |
exec_prefix="$acl_final_exec_prefix" |
| 9480 |
eval x=\"$x\" |
| 9481 |
exec_prefix="$acl_save_exec_prefix" |
| 9482 |
prefix="$acl_save_prefix" |
| 9483 |
|
| 9484 |
if test "X$x" = "X-L$additional_libdir"; then |
| 9485 |
haveit=yes |
| 9486 |
break |
| 9487 |
fi |
| 9488 |
done |
| 9489 |
if test -z "$haveit"; then |
| 9490 |
if test -d "$additional_libdir"; then |
| 9491 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" |
| 9492 |
fi |
| 9493 |
fi |
| 9494 |
haveit= |
| 9495 |
for x in $LDFLAGS $LTLIBICONV; do |
| 9496 |
|
| 9497 |
acl_save_prefix="$prefix" |
| 9498 |
prefix="$acl_final_prefix" |
| 9499 |
acl_save_exec_prefix="$exec_prefix" |
| 9500 |
exec_prefix="$acl_final_exec_prefix" |
| 9501 |
eval x=\"$x\" |
| 9502 |
exec_prefix="$acl_save_exec_prefix" |
| 9503 |
prefix="$acl_save_prefix" |
| 9504 |
|
| 9505 |
if test "X$x" = "X-L$additional_libdir"; then |
| 9506 |
haveit=yes |
| 9507 |
break |
| 9508 |
fi |
| 9509 |
done |
| 9510 |
if test -z "$haveit"; then |
| 9511 |
if test -d "$additional_libdir"; then |
| 9512 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" |
| 9513 |
fi |
| 9514 |
fi |
| 9515 |
fi |
| 9516 |
fi |
| 9517 |
;; |
| 9518 |
-R*) |
| 9519 |
dir=`echo "X$dep" | sed -e 's/^X-R//'` |
| 9520 |
if test "$enable_rpath" != no; then |
| 9521 |
haveit= |
| 9522 |
for x in $rpathdirs; do |
| 9523 |
if test "X$x" = "X$dir"; then |
| 9524 |
haveit=yes |
| 9525 |
break |
| 9526 |
fi |
| 9527 |
done |
| 9528 |
if test -z "$haveit"; then |
| 9529 |
rpathdirs="$rpathdirs $dir" |
| 9530 |
fi |
| 9531 |
haveit= |
| 9532 |
for x in $ltrpathdirs; do |
| 9533 |
if test "X$x" = "X$dir"; then |
| 9534 |
haveit=yes |
| 9535 |
break |
| 9536 |
fi |
| 9537 |
done |
| 9538 |
if test -z "$haveit"; then |
| 9539 |
ltrpathdirs="$ltrpathdirs $dir" |
| 9540 |
fi |
| 9541 |
fi |
| 9542 |
;; |
| 9543 |
-l*) |
| 9544 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` |
| 9545 |
;; |
| 9546 |
*.la) |
| 9547 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` |
| 9548 |
;; |
| 9549 |
*) |
| 9550 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" |
| 9551 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" |
| 9552 |
;; |
| 9553 |
esac |
| 9554 |
done |
| 9555 |
fi |
| 9556 |
else |
| 9557 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" |
| 9558 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" |
| 9559 |
fi |
| 9560 |
fi |
| 9561 |
fi |
| 9562 |
done |
| 9563 |
done |
| 9564 |
if test "X$rpathdirs" != "X"; then |
| 9565 |
if test -n "$acl_hardcode_libdir_separator"; then |
| 9566 |
alldirs= |
| 9567 |
for found_dir in $rpathdirs; do |
| 9568 |
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" |
| 9569 |
done |
| 9570 |
acl_save_libdir="$libdir" |
| 9571 |
libdir="$alldirs" |
| 9572 |
eval flag=\"$acl_hardcode_libdir_flag_spec\" |
| 9573 |
libdir="$acl_save_libdir" |
| 9574 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" |
| 9575 |
else |
| 9576 |
for found_dir in $rpathdirs; do |
| 9577 |
acl_save_libdir="$libdir" |
| 9578 |
libdir="$found_dir" |
| 9579 |
eval flag=\"$acl_hardcode_libdir_flag_spec\" |
| 9580 |
libdir="$acl_save_libdir" |
| 9581 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" |
| 9582 |
done |
| 9583 |
fi |
| 9584 |
fi |
| 9585 |
if test "X$ltrpathdirs" != "X"; then |
| 9586 |
for found_dir in $ltrpathdirs; do |
| 9587 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" |
| 9588 |
done |
| 9589 |
fi |
| 9590 |
|
| 9591 |
|
| 9592 |
|
| 9593 |
|
| 9594 |
|
| 9595 |
|
| 9596 |
|
| 9597 |
|
| 9598 |
|
| 9599 |
|
| 9600 |
|
| 9601 |
|
| 9602 |
|
| 9603 |
|
| 9604 |
|
| 9605 |
|
| 9606 |
|
| 9607 |
|
| 9608 |
|
| 9609 |
|
| 9610 |
|
| 9611 |
|
| 9612 |
|
| 9613 |
|
| 9614 |
|
| 9615 |
|
| 9616 |
|
| 9617 |
|
| 9618 |
|
| 9619 |
|
| 9620 |
|
| 9621 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 |
| 9622 |
printf %s "checking for CFPreferencesCopyAppValue... " >&6; } |
| 9623 |
if test ${gt_cv_func_CFPreferencesCopyAppValue+y} |
| 9624 |
then : |
| 9625 |
printf %s "(cached) " >&6 |
| 9626 |
else case e in #( |
| 9627 |
e) gt_save_LIBS="$LIBS" |
| 9628 |
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" |
| 9629 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9630 |
/* end confdefs.h. */ |
| 9631 |
#include <CoreFoundation/CFPreferences.h> |
| 9632 |
int |
| 9633 |
main (void) |
| 9634 |
{ |
| 9635 |
CFPreferencesCopyAppValue(NULL, NULL) |
| 9636 |
; |
| 9637 |
return 0; |
| 9638 |
} |
| 9639 |
_ACEOF |
| 9640 |
if ac_fn_c_try_link "$LINENO" |
| 9641 |
then : |
| 9642 |
gt_cv_func_CFPreferencesCopyAppValue=yes |
| 9643 |
else case e in #( |
| 9644 |
e) gt_cv_func_CFPreferencesCopyAppValue=no ;; |
| 9645 |
esac |
| 9646 |
fi |
| 9647 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 9648 |
conftest$ac_exeext conftest.$ac_ext |
| 9649 |
LIBS="$gt_save_LIBS" ;; |
| 9650 |
esac |
| 9651 |
fi |
| 9652 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 |
| 9653 |
printf "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } |
| 9654 |
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then |
| 9655 |
|
| 9656 |
printf "%s\n" "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h |
| 9657 |
|
| 9658 |
fi |
| 9659 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 |
| 9660 |
printf %s "checking for CFLocaleCopyCurrent... " >&6; } |
| 9661 |
if test ${gt_cv_func_CFLocaleCopyCurrent+y} |
| 9662 |
then : |
| 9663 |
printf %s "(cached) " >&6 |
| 9664 |
else case e in #( |
| 9665 |
e) gt_save_LIBS="$LIBS" |
| 9666 |
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" |
| 9667 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9668 |
/* end confdefs.h. */ |
| 9669 |
#include <CoreFoundation/CFLocale.h> |
| 9670 |
int |
| 9671 |
main (void) |
| 9672 |
{ |
| 9673 |
CFLocaleCopyCurrent(); |
| 9674 |
; |
| 9675 |
return 0; |
| 9676 |
} |
| 9677 |
_ACEOF |
| 9678 |
if ac_fn_c_try_link "$LINENO" |
| 9679 |
then : |
| 9680 |
gt_cv_func_CFLocaleCopyCurrent=yes |
| 9681 |
else case e in #( |
| 9682 |
e) gt_cv_func_CFLocaleCopyCurrent=no ;; |
| 9683 |
esac |
| 9684 |
fi |
| 9685 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 9686 |
conftest$ac_exeext conftest.$ac_ext |
| 9687 |
LIBS="$gt_save_LIBS" ;; |
| 9688 |
esac |
| 9689 |
fi |
| 9690 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 |
| 9691 |
printf "%s\n" "$gt_cv_func_CFLocaleCopyCurrent" >&6; } |
| 9692 |
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then |
| 9693 |
|
| 9694 |
printf "%s\n" "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h |
| 9695 |
|
| 9696 |
fi |
| 9697 |
INTL_MACOSX_LIBS= |
| 9698 |
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then |
| 9699 |
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" |
| 9700 |
fi |
| 9701 |
|
| 9702 |
|
| 9703 |
|
| 9704 |
|
| 9705 |
|
| 9706 |
|
| 9707 |
LIBINTL= |
| 9708 |
LTLIBINTL= |
| 9709 |
POSUB= |
| 9710 |
|
| 9711 |
case " $gt_needs " in |
| 9712 |
*" need-formatstring-macros "*) gt_api_version=3 ;; |
| 9713 |
*" need-ngettext "*) gt_api_version=2 ;; |
| 9714 |
*) gt_api_version=1 ;; |
| 9715 |
esac |
| 9716 |
gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" |
| 9717 |
gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" |
| 9718 |
|
| 9719 |
if test "$USE_NLS" = "yes"; then |
| 9720 |
gt_use_preinstalled_gnugettext=no |
| 9721 |
|
| 9722 |
|
| 9723 |
if test $gt_api_version -ge 3; then |
| 9724 |
gt_revision_test_code=' |
| 9725 |
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION |
| 9726 |
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) |
| 9727 |
#endif |
| 9728 |
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; |
| 9729 |
' |
| 9730 |
else |
| 9731 |
gt_revision_test_code= |
| 9732 |
fi |
| 9733 |
if test $gt_api_version -ge 2; then |
| 9734 |
gt_expression_test_code=' + * ngettext ("", "", 0)' |
| 9735 |
else |
| 9736 |
gt_expression_test_code= |
| 9737 |
fi |
| 9738 |
|
| 9739 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 |
| 9740 |
printf %s "checking for GNU gettext in libc... " >&6; } |
| 9741 |
if eval test \${$gt_func_gnugettext_libc+y} |
| 9742 |
then : |
| 9743 |
printf %s "(cached) " >&6 |
| 9744 |
else case e in #( |
| 9745 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9746 |
/* end confdefs.h. */ |
| 9747 |
|
| 9748 |
#include <libintl.h> |
| 9749 |
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION |
| 9750 |
extern int _nl_msg_cat_cntr; |
| 9751 |
extern int *_nl_domain_bindings; |
| 9752 |
#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) |
| 9753 |
#else |
| 9754 |
#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 |
| 9755 |
#endif |
| 9756 |
$gt_revision_test_code |
| 9757 |
|
| 9758 |
int |
| 9759 |
main (void) |
| 9760 |
{ |
| 9761 |
|
| 9762 |
bindtextdomain ("", ""); |
| 9763 |
return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION |
| 9764 |
|
| 9765 |
; |
| 9766 |
return 0; |
| 9767 |
} |
| 9768 |
_ACEOF |
| 9769 |
if ac_fn_c_try_link "$LINENO" |
| 9770 |
then : |
| 9771 |
eval "$gt_func_gnugettext_libc=yes" |
| 9772 |
else case e in #( |
| 9773 |
e) eval "$gt_func_gnugettext_libc=no" ;; |
| 9774 |
esac |
| 9775 |
fi |
| 9776 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 9777 |
conftest$ac_exeext conftest.$ac_ext ;; |
| 9778 |
esac |
| 9779 |
fi |
| 9780 |
eval ac_res=\$$gt_func_gnugettext_libc |
| 9781 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 9782 |
printf "%s\n" "$ac_res" >&6; } |
| 9783 |
|
| 9784 |
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then |
| 9785 |
|
| 9786 |
|
| 9787 |
|
| 9788 |
|
| 9789 |
|
| 9790 |
am_save_CPPFLAGS="$CPPFLAGS" |
| 9791 |
|
| 9792 |
for element in $INCICONV; do |
| 9793 |
haveit= |
| 9794 |
for x in $CPPFLAGS; do |
| 9795 |
|
| 9796 |
acl_save_prefix="$prefix" |
| 9797 |
prefix="$acl_final_prefix" |
| 9798 |
acl_save_exec_prefix="$exec_prefix" |
| 9799 |
exec_prefix="$acl_final_exec_prefix" |
| 9800 |
eval x=\"$x\" |
| 9801 |
exec_prefix="$acl_save_exec_prefix" |
| 9802 |
prefix="$acl_save_prefix" |
| 9803 |
|
| 9804 |
if test "X$x" = "X$element"; then |
| 9805 |
haveit=yes |
| 9806 |
break |
| 9807 |
fi |
| 9808 |
done |
| 9809 |
if test -z "$haveit"; then |
| 9810 |
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
| 9811 |
fi |
| 9812 |
done |
| 9813 |
|
| 9814 |
|
| 9815 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 |
| 9816 |
printf %s "checking for iconv... " >&6; } |
| 9817 |
if test ${am_cv_func_iconv+y} |
| 9818 |
then : |
| 9819 |
printf %s "(cached) " >&6 |
| 9820 |
else case e in #( |
| 9821 |
e) |
| 9822 |
am_cv_func_iconv="no, consider installing GNU libiconv" |
| 9823 |
am_cv_lib_iconv=no |
| 9824 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9825 |
/* end confdefs.h. */ |
| 9826 |
|
| 9827 |
#include <stdlib.h> |
| 9828 |
#include <iconv.h> |
| 9829 |
|
| 9830 |
int |
| 9831 |
main (void) |
| 9832 |
{ |
| 9833 |
iconv_t cd = iconv_open("",""); |
| 9834 |
iconv(cd,NULL,NULL,NULL,NULL); |
| 9835 |
iconv_close(cd); |
| 9836 |
; |
| 9837 |
return 0; |
| 9838 |
} |
| 9839 |
_ACEOF |
| 9840 |
if ac_fn_c_try_link "$LINENO" |
| 9841 |
then : |
| 9842 |
am_cv_func_iconv=yes |
| 9843 |
fi |
| 9844 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 9845 |
conftest$ac_exeext conftest.$ac_ext |
| 9846 |
if test "$am_cv_func_iconv" != yes; then |
| 9847 |
am_save_LIBS="$LIBS" |
| 9848 |
LIBS="$LIBS $LIBICONV" |
| 9849 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9850 |
/* end confdefs.h. */ |
| 9851 |
|
| 9852 |
#include <stdlib.h> |
| 9853 |
#include <iconv.h> |
| 9854 |
|
| 9855 |
int |
| 9856 |
main (void) |
| 9857 |
{ |
| 9858 |
iconv_t cd = iconv_open("",""); |
| 9859 |
iconv(cd,NULL,NULL,NULL,NULL); |
| 9860 |
iconv_close(cd); |
| 9861 |
; |
| 9862 |
return 0; |
| 9863 |
} |
| 9864 |
_ACEOF |
| 9865 |
if ac_fn_c_try_link "$LINENO" |
| 9866 |
then : |
| 9867 |
am_cv_lib_iconv=yes |
| 9868 |
am_cv_func_iconv=yes |
| 9869 |
fi |
| 9870 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 9871 |
conftest$ac_exeext conftest.$ac_ext |
| 9872 |
LIBS="$am_save_LIBS" |
| 9873 |
fi |
| 9874 |
;; |
| 9875 |
esac |
| 9876 |
fi |
| 9877 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 |
| 9878 |
printf "%s\n" "$am_cv_func_iconv" >&6; } |
| 9879 |
if test "$am_cv_func_iconv" = yes; then |
| 9880 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 |
| 9881 |
printf %s "checking for working iconv... " >&6; } |
| 9882 |
if test ${am_cv_func_iconv_works+y} |
| 9883 |
then : |
| 9884 |
printf %s "(cached) " >&6 |
| 9885 |
else case e in #( |
| 9886 |
e) |
| 9887 |
am_save_LIBS="$LIBS" |
| 9888 |
if test $am_cv_lib_iconv = yes; then |
| 9889 |
LIBS="$LIBS $LIBICONV" |
| 9890 |
fi |
| 9891 |
am_cv_func_iconv_works=no |
| 9892 |
for ac_iconv_const in '' 'const'; do |
| 9893 |
if test "$cross_compiling" = yes |
| 9894 |
then : |
| 9895 |
case "$host_os" in |
| 9896 |
aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; |
| 9897 |
*) am_cv_func_iconv_works="guessing yes" ;; |
| 9898 |
esac |
| 9899 |
else case e in #( |
| 9900 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9901 |
/* end confdefs.h. */ |
| 9902 |
|
| 9903 |
#include <iconv.h> |
| 9904 |
#include <string.h> |
| 9905 |
|
| 9906 |
#ifndef ICONV_CONST |
| 9907 |
# define ICONV_CONST $ac_iconv_const |
| 9908 |
#endif |
| 9909 |
|
| 9910 |
int |
| 9911 |
main (void) |
| 9912 |
{ |
| 9913 |
int result = 0; |
| 9914 |
/* Test against AIX 5.1 bug: Failures are not distinguishable from successful |
| 9915 |
returns. */ |
| 9916 |
{ |
| 9917 |
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); |
| 9918 |
if (cd_utf8_to_88591 != (iconv_t)(-1)) |
| 9919 |
{ |
| 9920 |
static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ |
| 9921 |
char buf[10]; |
| 9922 |
ICONV_CONST char *inptr = input; |
| 9923 |
size_t inbytesleft = strlen (input); |
| 9924 |
char *outptr = buf; |
| 9925 |
size_t outbytesleft = sizeof (buf); |
| 9926 |
size_t res = iconv (cd_utf8_to_88591, |
| 9927 |
&inptr, &inbytesleft, |
| 9928 |
&outptr, &outbytesleft); |
| 9929 |
if (res == 0) |
| 9930 |
result |= 1; |
| 9931 |
iconv_close (cd_utf8_to_88591); |
| 9932 |
} |
| 9933 |
} |
| 9934 |
/* Test against Solaris 10 bug: Failures are not distinguishable from |
| 9935 |
successful returns. */ |
| 9936 |
{ |
| 9937 |
iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); |
| 9938 |
if (cd_ascii_to_88591 != (iconv_t)(-1)) |
| 9939 |
{ |
| 9940 |
static ICONV_CONST char input[] = "\263"; |
| 9941 |
char buf[10]; |
| 9942 |
ICONV_CONST char *inptr = input; |
| 9943 |
size_t inbytesleft = strlen (input); |
| 9944 |
char *outptr = buf; |
| 9945 |
size_t outbytesleft = sizeof (buf); |
| 9946 |
size_t res = iconv (cd_ascii_to_88591, |
| 9947 |
&inptr, &inbytesleft, |
| 9948 |
&outptr, &outbytesleft); |
| 9949 |
if (res == 0) |
| 9950 |
result |= 2; |
| 9951 |
iconv_close (cd_ascii_to_88591); |
| 9952 |
} |
| 9953 |
} |
| 9954 |
/* Test against AIX 6.1..7.1 bug: Buffer overrun. */ |
| 9955 |
{ |
| 9956 |
iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); |
| 9957 |
if (cd_88591_to_utf8 != (iconv_t)(-1)) |
| 9958 |
{ |
| 9959 |
static ICONV_CONST char input[] = "\304"; |
| 9960 |
static char buf[2] = { (char)0xDE, (char)0xAD }; |
| 9961 |
ICONV_CONST char *inptr = input; |
| 9962 |
size_t inbytesleft = 1; |
| 9963 |
char *outptr = buf; |
| 9964 |
size_t outbytesleft = 1; |
| 9965 |
size_t res = iconv (cd_88591_to_utf8, |
| 9966 |
&inptr, &inbytesleft, |
| 9967 |
&outptr, &outbytesleft); |
| 9968 |
if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) |
| 9969 |
result |= 4; |
| 9970 |
iconv_close (cd_88591_to_utf8); |
| 9971 |
} |
| 9972 |
} |
| 9973 |
#if 0 /* This bug could be worked around by the caller. */ |
| 9974 |
/* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ |
| 9975 |
{ |
| 9976 |
iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); |
| 9977 |
if (cd_88591_to_utf8 != (iconv_t)(-1)) |
| 9978 |
{ |
| 9979 |
static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; |
| 9980 |
char buf[50]; |
| 9981 |
ICONV_CONST char *inptr = input; |
| 9982 |
size_t inbytesleft = strlen (input); |
| 9983 |
char *outptr = buf; |
| 9984 |
size_t outbytesleft = sizeof (buf); |
| 9985 |
size_t res = iconv (cd_88591_to_utf8, |
| 9986 |
&inptr, &inbytesleft, |
| 9987 |
&outptr, &outbytesleft); |
| 9988 |
if ((int)res > 0) |
| 9989 |
result |= 8; |
| 9990 |
iconv_close (cd_88591_to_utf8); |
| 9991 |
} |
| 9992 |
} |
| 9993 |
#endif |
| 9994 |
/* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is |
| 9995 |
provided. */ |
| 9996 |
if (/* Try standardized names. */ |
| 9997 |
iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) |
| 9998 |
/* Try IRIX, OSF/1 names. */ |
| 9999 |
&& iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) |
| 10000 |
/* Try AIX names. */ |
| 10001 |
&& iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) |
| 10002 |
/* Try HP-UX names. */ |
| 10003 |
&& iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) |
| 10004 |
result |= 16; |
| 10005 |
return result; |
| 10006 |
|
| 10007 |
; |
| 10008 |
return 0; |
| 10009 |
} |
| 10010 |
_ACEOF |
| 10011 |
if ac_fn_c_try_run "$LINENO" |
| 10012 |
then : |
| 10013 |
am_cv_func_iconv_works=yes |
| 10014 |
fi |
| 10015 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 10016 |
conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 10017 |
esac |
| 10018 |
fi |
| 10019 |
|
| 10020 |
test "$am_cv_func_iconv_works" = no || break |
| 10021 |
done |
| 10022 |
LIBS="$am_save_LIBS" |
| 10023 |
;; |
| 10024 |
esac |
| 10025 |
fi |
| 10026 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 |
| 10027 |
printf "%s\n" "$am_cv_func_iconv_works" >&6; } |
| 10028 |
case "$am_cv_func_iconv_works" in |
| 10029 |
*no) am_func_iconv=no am_cv_lib_iconv=no ;; |
| 10030 |
*) am_func_iconv=yes ;; |
| 10031 |
esac |
| 10032 |
else |
| 10033 |
am_func_iconv=no am_cv_lib_iconv=no |
| 10034 |
fi |
| 10035 |
if test "$am_func_iconv" = yes; then |
| 10036 |
|
| 10037 |
printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h |
| 10038 |
|
| 10039 |
fi |
| 10040 |
if test "$am_cv_lib_iconv" = yes; then |
| 10041 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 |
| 10042 |
printf %s "checking how to link with libiconv... " >&6; } |
| 10043 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 |
| 10044 |
printf "%s\n" "$LIBICONV" >&6; } |
| 10045 |
else |
| 10046 |
CPPFLAGS="$am_save_CPPFLAGS" |
| 10047 |
LIBICONV= |
| 10048 |
LTLIBICONV= |
| 10049 |
fi |
| 10050 |
|
| 10051 |
|
| 10052 |
|
| 10053 |
|
| 10054 |
|
| 10055 |
|
| 10056 |
|
| 10057 |
|
| 10058 |
|
| 10059 |
|
| 10060 |
|
| 10061 |
use_additional=yes |
| 10062 |
|
| 10063 |
acl_save_prefix="$prefix" |
| 10064 |
prefix="$acl_final_prefix" |
| 10065 |
acl_save_exec_prefix="$exec_prefix" |
| 10066 |
exec_prefix="$acl_final_exec_prefix" |
| 10067 |
|
| 10068 |
eval additional_includedir=\"$includedir\" |
| 10069 |
eval additional_libdir=\"$libdir\" |
| 10070 |
|
| 10071 |
exec_prefix="$acl_save_exec_prefix" |
| 10072 |
prefix="$acl_save_prefix" |
| 10073 |
|
| 10074 |
|
| 10075 |
# Check whether --with-libintl-prefix was given. |
| 10076 |
if test ${with_libintl_prefix+y} |
| 10077 |
then : |
| 10078 |
withval=$with_libintl_prefix; |
| 10079 |
if test "X$withval" = "Xno"; then |
| 10080 |
use_additional=no |
| 10081 |
else |
| 10082 |
if test "X$withval" = "X"; then |
| 10083 |
|
| 10084 |
acl_save_prefix="$prefix" |
| 10085 |
prefix="$acl_final_prefix" |
| 10086 |
acl_save_exec_prefix="$exec_prefix" |
| 10087 |
exec_prefix="$acl_final_exec_prefix" |
| 10088 |
|
| 10089 |
eval additional_includedir=\"$includedir\" |
| 10090 |
eval additional_libdir=\"$libdir\" |
| 10091 |
|
| 10092 |
exec_prefix="$acl_save_exec_prefix" |
| 10093 |
prefix="$acl_save_prefix" |
| 10094 |
|
| 10095 |
else |
| 10096 |
additional_includedir="$withval/include" |
| 10097 |
additional_libdir="$withval/$acl_libdirstem" |
| 10098 |
if test "$acl_libdirstem2" != "$acl_libdirstem" \ |
| 10099 |
&& ! test -d "$withval/$acl_libdirstem"; then |
| 10100 |
additional_libdir="$withval/$acl_libdirstem2" |
| 10101 |
fi |
| 10102 |
fi |
| 10103 |
fi |
| 10104 |
|
| 10105 |
fi |
| 10106 |
|
| 10107 |
LIBINTL= |
| 10108 |
LTLIBINTL= |
| 10109 |
INCINTL= |
| 10110 |
LIBINTL_PREFIX= |
| 10111 |
HAVE_LIBINTL= |
| 10112 |
rpathdirs= |
| 10113 |
ltrpathdirs= |
| 10114 |
names_already_handled= |
| 10115 |
names_next_round='intl ' |
| 10116 |
while test -n "$names_next_round"; do |
| 10117 |
names_this_round="$names_next_round" |
| 10118 |
names_next_round= |
| 10119 |
for name in $names_this_round; do |
| 10120 |
already_handled= |
| 10121 |
for n in $names_already_handled; do |
| 10122 |
if test "$n" = "$name"; then |
| 10123 |
already_handled=yes |
| 10124 |
break |
| 10125 |
fi |
| 10126 |
done |
| 10127 |
if test -z "$already_handled"; then |
| 10128 |
names_already_handled="$names_already_handled $name" |
| 10129 |
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` |
| 10130 |
eval value=\"\$HAVE_LIB$uppername\" |
| 10131 |
if test -n "$value"; then |
| 10132 |
if test "$value" = yes; then |
| 10133 |
eval value=\"\$LIB$uppername\" |
| 10134 |
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" |
| 10135 |
eval value=\"\$LTLIB$uppername\" |
| 10136 |
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" |
| 10137 |
else |
| 10138 |
: |
| 10139 |
fi |
| 10140 |
else |
| 10141 |
found_dir= |
| 10142 |
found_la= |
| 10143 |
found_so= |
| 10144 |
found_a= |
| 10145 |
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name |
| 10146 |
if test -n "$acl_shlibext"; then |
| 10147 |
shrext=".$acl_shlibext" # typically: shrext=.so |
| 10148 |
else |
| 10149 |
shrext= |
| 10150 |
fi |
| 10151 |
if test $use_additional = yes; then |
| 10152 |
dir="$additional_libdir" |
| 10153 |
if test -n "$acl_shlibext"; then |
| 10154 |
if test -f "$dir/$libname$shrext"; then |
| 10155 |
found_dir="$dir" |
| 10156 |
found_so="$dir/$libname$shrext" |
| 10157 |
else |
| 10158 |
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
| 10159 |
ver=`(cd "$dir" && \ |
| 10160 |
for f in "$libname$shrext".*; do echo "$f"; done \ |
| 10161 |
| sed -e "s,^$libname$shrext\\\\.,," \ |
| 10162 |
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
| 10163 |
| sed 1q ) 2>/dev/null` |
| 10164 |
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
| 10165 |
found_dir="$dir" |
| 10166 |
found_so="$dir/$libname$shrext.$ver" |
| 10167 |
fi |
| 10168 |
else |
| 10169 |
eval library_names=\"$acl_library_names_spec\" |
| 10170 |
for f in $library_names; do |
| 10171 |
if test -f "$dir/$f"; then |
| 10172 |
found_dir="$dir" |
| 10173 |
found_so="$dir/$f" |
| 10174 |
break |
| 10175 |
fi |
| 10176 |
done |
| 10177 |
fi |
| 10178 |
fi |
| 10179 |
fi |
| 10180 |
if test "X$found_dir" = "X"; then |
| 10181 |
if test -f "$dir/$libname.$acl_libext"; then |
| 10182 |
found_dir="$dir" |
| 10183 |
found_a="$dir/$libname.$acl_libext" |
| 10184 |
fi |
| 10185 |
fi |
| 10186 |
if test "X$found_dir" != "X"; then |
| 10187 |
if test -f "$dir/$libname.la"; then |
| 10188 |
found_la="$dir/$libname.la" |
| 10189 |
fi |
| 10190 |
fi |
| 10191 |
fi |
| 10192 |
if test "X$found_dir" = "X"; then |
| 10193 |
for x in $LDFLAGS $LTLIBINTL; do |
| 10194 |
|
| 10195 |
acl_save_prefix="$prefix" |
| 10196 |
prefix="$acl_final_prefix" |
| 10197 |
acl_save_exec_prefix="$exec_prefix" |
| 10198 |
exec_prefix="$acl_final_exec_prefix" |
| 10199 |
eval x=\"$x\" |
| 10200 |
exec_prefix="$acl_save_exec_prefix" |
| 10201 |
prefix="$acl_save_prefix" |
| 10202 |
|
| 10203 |
case "$x" in |
| 10204 |
-L*) |
| 10205 |
dir=`echo "X$x" | sed -e 's/^X-L//'` |
| 10206 |
if test -n "$acl_shlibext"; then |
| 10207 |
if test -f "$dir/$libname$shrext"; then |
| 10208 |
found_dir="$dir" |
| 10209 |
found_so="$dir/$libname$shrext" |
| 10210 |
else |
| 10211 |
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
| 10212 |
ver=`(cd "$dir" && \ |
| 10213 |
for f in "$libname$shrext".*; do echo "$f"; done \ |
| 10214 |
| sed -e "s,^$libname$shrext\\\\.,," \ |
| 10215 |
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
| 10216 |
| sed 1q ) 2>/dev/null` |
| 10217 |
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
| 10218 |
found_dir="$dir" |
| 10219 |
found_so="$dir/$libname$shrext.$ver" |
| 10220 |
fi |
| 10221 |
else |
| 10222 |
eval library_names=\"$acl_library_names_spec\" |
| 10223 |
for f in $library_names; do |
| 10224 |
if test -f "$dir/$f"; then |
| 10225 |
found_dir="$dir" |
| 10226 |
found_so="$dir/$f" |
| 10227 |
break |
| 10228 |
fi |
| 10229 |
done |
| 10230 |
fi |
| 10231 |
fi |
| 10232 |
fi |
| 10233 |
if test "X$found_dir" = "X"; then |
| 10234 |
if test -f "$dir/$libname.$acl_libext"; then |
| 10235 |
found_dir="$dir" |
| 10236 |
found_a="$dir/$libname.$acl_libext" |
| 10237 |
fi |
| 10238 |
fi |
| 10239 |
if test "X$found_dir" != "X"; then |
| 10240 |
if test -f "$dir/$libname.la"; then |
| 10241 |
found_la="$dir/$libname.la" |
| 10242 |
fi |
| 10243 |
fi |
| 10244 |
;; |
| 10245 |
esac |
| 10246 |
if test "X$found_dir" != "X"; then |
| 10247 |
break |
| 10248 |
fi |
| 10249 |
done |
| 10250 |
fi |
| 10251 |
if test "X$found_dir" != "X"; then |
| 10252 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" |
| 10253 |
if test "X$found_so" != "X"; then |
| 10254 |
if test "$enable_rpath" = no \ |
| 10255 |
|| test "X$found_dir" = "X/usr/$acl_libdirstem" \ |
| 10256 |
|| test "X$found_dir" = "X/usr/$acl_libdirstem2"; then |
| 10257 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
| 10258 |
else |
| 10259 |
haveit= |
| 10260 |
for x in $ltrpathdirs; do |
| 10261 |
if test "X$x" = "X$found_dir"; then |
| 10262 |
haveit=yes |
| 10263 |
break |
| 10264 |
fi |
| 10265 |
done |
| 10266 |
if test -z "$haveit"; then |
| 10267 |
ltrpathdirs="$ltrpathdirs $found_dir" |
| 10268 |
fi |
| 10269 |
if test "$acl_hardcode_direct" = yes; then |
| 10270 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
| 10271 |
else |
| 10272 |
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then |
| 10273 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
| 10274 |
haveit= |
| 10275 |
for x in $rpathdirs; do |
| 10276 |
if test "X$x" = "X$found_dir"; then |
| 10277 |
haveit=yes |
| 10278 |
break |
| 10279 |
fi |
| 10280 |
done |
| 10281 |
if test -z "$haveit"; then |
| 10282 |
rpathdirs="$rpathdirs $found_dir" |
| 10283 |
fi |
| 10284 |
else |
| 10285 |
haveit= |
| 10286 |
for x in $LDFLAGS $LIBINTL; do |
| 10287 |
|
| 10288 |
acl_save_prefix="$prefix" |
| 10289 |
prefix="$acl_final_prefix" |
| 10290 |
acl_save_exec_prefix="$exec_prefix" |
| 10291 |
exec_prefix="$acl_final_exec_prefix" |
| 10292 |
eval x=\"$x\" |
| 10293 |
exec_prefix="$acl_save_exec_prefix" |
| 10294 |
prefix="$acl_save_prefix" |
| 10295 |
|
| 10296 |
if test "X$x" = "X-L$found_dir"; then |
| 10297 |
haveit=yes |
| 10298 |
break |
| 10299 |
fi |
| 10300 |
done |
| 10301 |
if test -z "$haveit"; then |
| 10302 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" |
| 10303 |
fi |
| 10304 |
if test "$acl_hardcode_minus_L" != no; then |
| 10305 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
| 10306 |
else |
| 10307 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" |
| 10308 |
fi |
| 10309 |
fi |
| 10310 |
fi |
| 10311 |
fi |
| 10312 |
else |
| 10313 |
if test "X$found_a" != "X"; then |
| 10314 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" |
| 10315 |
else |
| 10316 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" |
| 10317 |
fi |
| 10318 |
fi |
| 10319 |
additional_includedir= |
| 10320 |
case "$found_dir" in |
| 10321 |
*/$acl_libdirstem | */$acl_libdirstem/) |
| 10322 |
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` |
| 10323 |
if test "$name" = 'intl'; then |
| 10324 |
LIBINTL_PREFIX="$basedir" |
| 10325 |
fi |
| 10326 |
additional_includedir="$basedir/include" |
| 10327 |
;; |
| 10328 |
*/$acl_libdirstem2 | */$acl_libdirstem2/) |
| 10329 |
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` |
| 10330 |
if test "$name" = 'intl'; then |
| 10331 |
LIBINTL_PREFIX="$basedir" |
| 10332 |
fi |
| 10333 |
additional_includedir="$basedir/include" |
| 10334 |
;; |
| 10335 |
esac |
| 10336 |
if test "X$additional_includedir" != "X"; then |
| 10337 |
if test "X$additional_includedir" != "X/usr/include"; then |
| 10338 |
haveit= |
| 10339 |
if test "X$additional_includedir" = "X/usr/local/include"; then |
| 10340 |
if test -n "$GCC"; then |
| 10341 |
case $host_os in |
| 10342 |
linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
| 10343 |
esac |
| 10344 |
fi |
| 10345 |
fi |
| 10346 |
if test -z "$haveit"; then |
| 10347 |
for x in $CPPFLAGS $INCINTL; do |
| 10348 |
|
| 10349 |
acl_save_prefix="$prefix" |
| 10350 |
prefix="$acl_final_prefix" |
| 10351 |
acl_save_exec_prefix="$exec_prefix" |
| 10352 |
exec_prefix="$acl_final_exec_prefix" |
| 10353 |
eval x=\"$x\" |
| 10354 |
exec_prefix="$acl_save_exec_prefix" |
| 10355 |
prefix="$acl_save_prefix" |
| 10356 |
|
| 10357 |
if test "X$x" = "X-I$additional_includedir"; then |
| 10358 |
haveit=yes |
| 10359 |
break |
| 10360 |
fi |
| 10361 |
done |
| 10362 |
if test -z "$haveit"; then |
| 10363 |
if test -d "$additional_includedir"; then |
| 10364 |
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" |
| 10365 |
fi |
| 10366 |
fi |
| 10367 |
fi |
| 10368 |
fi |
| 10369 |
fi |
| 10370 |
if test -n "$found_la"; then |
| 10371 |
save_libdir="$libdir" |
| 10372 |
case "$found_la" in |
| 10373 |
*/* | *\\*) . "$found_la" ;; |
| 10374 |
*) . "./$found_la" ;; |
| 10375 |
esac |
| 10376 |
libdir="$save_libdir" |
| 10377 |
for dep in $dependency_libs; do |
| 10378 |
case "$dep" in |
| 10379 |
-L*) |
| 10380 |
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` |
| 10381 |
if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ |
| 10382 |
&& test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then |
| 10383 |
haveit= |
| 10384 |
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ |
| 10385 |
|| test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then |
| 10386 |
if test -n "$GCC"; then |
| 10387 |
case $host_os in |
| 10388 |
linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
| 10389 |
esac |
| 10390 |
fi |
| 10391 |
fi |
| 10392 |
if test -z "$haveit"; then |
| 10393 |
haveit= |
| 10394 |
for x in $LDFLAGS $LIBINTL; do |
| 10395 |
|
| 10396 |
acl_save_prefix="$prefix" |
| 10397 |
prefix="$acl_final_prefix" |
| 10398 |
acl_save_exec_prefix="$exec_prefix" |
| 10399 |
exec_prefix="$acl_final_exec_prefix" |
| 10400 |
eval x=\"$x\" |
| 10401 |
exec_prefix="$acl_save_exec_prefix" |
| 10402 |
prefix="$acl_save_prefix" |
| 10403 |
|
| 10404 |
if test "X$x" = "X-L$additional_libdir"; then |
| 10405 |
haveit=yes |
| 10406 |
break |
| 10407 |
fi |
| 10408 |
done |
| 10409 |
if test -z "$haveit"; then |
| 10410 |
if test -d "$additional_libdir"; then |
| 10411 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" |
| 10412 |
fi |
| 10413 |
fi |
| 10414 |
haveit= |
| 10415 |
for x in $LDFLAGS $LTLIBINTL; do |
| 10416 |
|
| 10417 |
acl_save_prefix="$prefix" |
| 10418 |
prefix="$acl_final_prefix" |
| 10419 |
acl_save_exec_prefix="$exec_prefix" |
| 10420 |
exec_prefix="$acl_final_exec_prefix" |
| 10421 |
eval x=\"$x\" |
| 10422 |
exec_prefix="$acl_save_exec_prefix" |
| 10423 |
prefix="$acl_save_prefix" |
| 10424 |
|
| 10425 |
if test "X$x" = "X-L$additional_libdir"; then |
| 10426 |
haveit=yes |
| 10427 |
break |
| 10428 |
fi |
| 10429 |
done |
| 10430 |
if test -z "$haveit"; then |
| 10431 |
if test -d "$additional_libdir"; then |
| 10432 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" |
| 10433 |
fi |
| 10434 |
fi |
| 10435 |
fi |
| 10436 |
fi |
| 10437 |
;; |
| 10438 |
-R*) |
| 10439 |
dir=`echo "X$dep" | sed -e 's/^X-R//'` |
| 10440 |
if test "$enable_rpath" != no; then |
| 10441 |
haveit= |
| 10442 |
for x in $rpathdirs; do |
| 10443 |
if test "X$x" = "X$dir"; then |
| 10444 |
haveit=yes |
| 10445 |
break |
| 10446 |
fi |
| 10447 |
done |
| 10448 |
if test -z "$haveit"; then |
| 10449 |
rpathdirs="$rpathdirs $dir" |
| 10450 |
fi |
| 10451 |
haveit= |
| 10452 |
for x in $ltrpathdirs; do |
| 10453 |
if test "X$x" = "X$dir"; then |
| 10454 |
haveit=yes |
| 10455 |
break |
| 10456 |
fi |
| 10457 |
done |
| 10458 |
if test -z "$haveit"; then |
| 10459 |
ltrpathdirs="$ltrpathdirs $dir" |
| 10460 |
fi |
| 10461 |
fi |
| 10462 |
;; |
| 10463 |
-l*) |
| 10464 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` |
| 10465 |
;; |
| 10466 |
*.la) |
| 10467 |
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` |
| 10468 |
;; |
| 10469 |
*) |
| 10470 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" |
| 10471 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" |
| 10472 |
;; |
| 10473 |
esac |
| 10474 |
done |
| 10475 |
fi |
| 10476 |
else |
| 10477 |
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" |
| 10478 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" |
| 10479 |
fi |
| 10480 |
fi |
| 10481 |
fi |
| 10482 |
done |
| 10483 |
done |
| 10484 |
if test "X$rpathdirs" != "X"; then |
| 10485 |
if test -n "$acl_hardcode_libdir_separator"; then |
| 10486 |
alldirs= |
| 10487 |
for found_dir in $rpathdirs; do |
| 10488 |
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" |
| 10489 |
done |
| 10490 |
acl_save_libdir="$libdir" |
| 10491 |
libdir="$alldirs" |
| 10492 |
eval flag=\"$acl_hardcode_libdir_flag_spec\" |
| 10493 |
libdir="$acl_save_libdir" |
| 10494 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" |
| 10495 |
else |
| 10496 |
for found_dir in $rpathdirs; do |
| 10497 |
acl_save_libdir="$libdir" |
| 10498 |
libdir="$found_dir" |
| 10499 |
eval flag=\"$acl_hardcode_libdir_flag_spec\" |
| 10500 |
libdir="$acl_save_libdir" |
| 10501 |
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" |
| 10502 |
done |
| 10503 |
fi |
| 10504 |
fi |
| 10505 |
if test "X$ltrpathdirs" != "X"; then |
| 10506 |
for found_dir in $ltrpathdirs; do |
| 10507 |
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" |
| 10508 |
done |
| 10509 |
fi |
| 10510 |
|
| 10511 |
|
| 10512 |
|
| 10513 |
|
| 10514 |
|
| 10515 |
|
| 10516 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 |
| 10517 |
printf %s "checking for GNU gettext in libintl... " >&6; } |
| 10518 |
if eval test \${$gt_func_gnugettext_libintl+y} |
| 10519 |
then : |
| 10520 |
printf %s "(cached) " >&6 |
| 10521 |
else case e in #( |
| 10522 |
e) gt_save_CPPFLAGS="$CPPFLAGS" |
| 10523 |
CPPFLAGS="$CPPFLAGS $INCINTL" |
| 10524 |
gt_save_LIBS="$LIBS" |
| 10525 |
LIBS="$LIBS $LIBINTL" |
| 10526 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10527 |
/* end confdefs.h. */ |
| 10528 |
|
| 10529 |
#include <libintl.h> |
| 10530 |
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION |
| 10531 |
extern int _nl_msg_cat_cntr; |
| 10532 |
extern |
| 10533 |
#ifdef __cplusplus |
| 10534 |
"C" |
| 10535 |
#endif |
| 10536 |
const char *_nl_expand_alias (const char *); |
| 10537 |
#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) |
| 10538 |
#else |
| 10539 |
#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 |
| 10540 |
#endif |
| 10541 |
$gt_revision_test_code |
| 10542 |
|
| 10543 |
int |
| 10544 |
main (void) |
| 10545 |
{ |
| 10546 |
|
| 10547 |
bindtextdomain ("", ""); |
| 10548 |
return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION |
| 10549 |
|
| 10550 |
; |
| 10551 |
return 0; |
| 10552 |
} |
| 10553 |
_ACEOF |
| 10554 |
if ac_fn_c_try_link "$LINENO" |
| 10555 |
then : |
| 10556 |
eval "$gt_func_gnugettext_libintl=yes" |
| 10557 |
else case e in #( |
| 10558 |
e) eval "$gt_func_gnugettext_libintl=no" ;; |
| 10559 |
esac |
| 10560 |
fi |
| 10561 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 10562 |
conftest$ac_exeext conftest.$ac_ext |
| 10563 |
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then |
| 10564 |
LIBS="$LIBS $LIBICONV" |
| 10565 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10566 |
/* end confdefs.h. */ |
| 10567 |
|
| 10568 |
#include <libintl.h> |
| 10569 |
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION |
| 10570 |
extern int _nl_msg_cat_cntr; |
| 10571 |
extern |
| 10572 |
#ifdef __cplusplus |
| 10573 |
"C" |
| 10574 |
#endif |
| 10575 |
const char *_nl_expand_alias (const char *); |
| 10576 |
#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) |
| 10577 |
#else |
| 10578 |
#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 |
| 10579 |
#endif |
| 10580 |
$gt_revision_test_code |
| 10581 |
|
| 10582 |
int |
| 10583 |
main (void) |
| 10584 |
{ |
| 10585 |
|
| 10586 |
bindtextdomain ("", ""); |
| 10587 |
return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION |
| 10588 |
|
| 10589 |
; |
| 10590 |
return 0; |
| 10591 |
} |
| 10592 |
_ACEOF |
| 10593 |
if ac_fn_c_try_link "$LINENO" |
| 10594 |
then : |
| 10595 |
LIBINTL="$LIBINTL $LIBICONV" |
| 10596 |
LTLIBINTL="$LTLIBINTL $LTLIBICONV" |
| 10597 |
eval "$gt_func_gnugettext_libintl=yes" |
| 10598 |
|
| 10599 |
fi |
| 10600 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 10601 |
conftest$ac_exeext conftest.$ac_ext |
| 10602 |
fi |
| 10603 |
CPPFLAGS="$gt_save_CPPFLAGS" |
| 10604 |
LIBS="$gt_save_LIBS" ;; |
| 10605 |
esac |
| 10606 |
fi |
| 10607 |
eval ac_res=\$$gt_func_gnugettext_libintl |
| 10608 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 10609 |
printf "%s\n" "$ac_res" >&6; } |
| 10610 |
fi |
| 10611 |
|
| 10612 |
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ |
| 10613 |
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ |
| 10614 |
&& test "$PACKAGE" != gettext-runtime \ |
| 10615 |
&& test "$PACKAGE" != gettext-tools; }; then |
| 10616 |
gt_use_preinstalled_gnugettext=yes |
| 10617 |
else |
| 10618 |
LIBINTL= |
| 10619 |
LTLIBINTL= |
| 10620 |
INCINTL= |
| 10621 |
fi |
| 10622 |
|
| 10623 |
|
| 10624 |
|
| 10625 |
if test -n "$INTL_MACOSX_LIBS"; then |
| 10626 |
if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
| 10627 |
|| test "$nls_cv_use_gnu_gettext" = "yes"; then |
| 10628 |
LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" |
| 10629 |
LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" |
| 10630 |
fi |
| 10631 |
fi |
| 10632 |
|
| 10633 |
if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
| 10634 |
|| test "$nls_cv_use_gnu_gettext" = "yes"; then |
| 10635 |
|
| 10636 |
printf "%s\n" "#define ENABLE_NLS 1" >>confdefs.h |
| 10637 |
|
| 10638 |
else |
| 10639 |
USE_NLS=no |
| 10640 |
fi |
| 10641 |
fi |
| 10642 |
|
| 10643 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 |
| 10644 |
printf %s "checking whether to use NLS... " >&6; } |
| 10645 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
| 10646 |
printf "%s\n" "$USE_NLS" >&6; } |
| 10647 |
if test "$USE_NLS" = "yes"; then |
| 10648 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 |
| 10649 |
printf %s "checking where the gettext function comes from... " >&6; } |
| 10650 |
if test "$gt_use_preinstalled_gnugettext" = "yes"; then |
| 10651 |
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then |
| 10652 |
gt_source="external libintl" |
| 10653 |
else |
| 10654 |
gt_source="libc" |
| 10655 |
fi |
| 10656 |
else |
| 10657 |
gt_source="included intl directory" |
| 10658 |
fi |
| 10659 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 |
| 10660 |
printf "%s\n" "$gt_source" >&6; } |
| 10661 |
fi |
| 10662 |
|
| 10663 |
if test "$USE_NLS" = "yes"; then |
| 10664 |
|
| 10665 |
if test "$gt_use_preinstalled_gnugettext" = "yes"; then |
| 10666 |
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then |
| 10667 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 |
| 10668 |
printf %s "checking how to link with libintl... " >&6; } |
| 10669 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 |
| 10670 |
printf "%s\n" "$LIBINTL" >&6; } |
| 10671 |
|
| 10672 |
for element in $INCINTL; do |
| 10673 |
haveit= |
| 10674 |
for x in $CPPFLAGS; do |
| 10675 |
|
| 10676 |
acl_save_prefix="$prefix" |
| 10677 |
prefix="$acl_final_prefix" |
| 10678 |
acl_save_exec_prefix="$exec_prefix" |
| 10679 |
exec_prefix="$acl_final_exec_prefix" |
| 10680 |
eval x=\"$x\" |
| 10681 |
exec_prefix="$acl_save_exec_prefix" |
| 10682 |
prefix="$acl_save_prefix" |
| 10683 |
|
| 10684 |
if test "X$x" = "X$element"; then |
| 10685 |
haveit=yes |
| 10686 |
break |
| 10687 |
fi |
| 10688 |
done |
| 10689 |
if test -z "$haveit"; then |
| 10690 |
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
| 10691 |
fi |
| 10692 |
done |
| 10693 |
|
| 10694 |
fi |
| 10695 |
|
| 10696 |
|
| 10697 |
printf "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h |
| 10698 |
|
| 10699 |
|
| 10700 |
printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h |
| 10701 |
|
| 10702 |
fi |
| 10703 |
|
| 10704 |
POSUB=po |
| 10705 |
fi |
| 10706 |
|
| 10707 |
|
| 10708 |
|
| 10709 |
INTLLIBS="$LIBINTL" |
| 10710 |
|
| 10711 |
|
| 10712 |
|
| 10713 |
|
| 10714 |
|
| 10715 |
|
| 10716 |
|
| 10717 |
# Define PACKAGE_VERSION_* variables. |
| 10718 |
# Check whether --enable-static was given. |
| 10719 |
if test ${enable_static+y} |
| 10720 |
then : |
| 10721 |
enableval=$enable_static; p=${PACKAGE-default} |
| 10722 |
case $enableval in |
| 10723 |
yes) enable_static=yes ;; |
| 10724 |
no) enable_static=no ;; |
| 10725 |
*) |
| 10726 |
enable_static=no |
| 10727 |
# Look at the argument we got. We use all the common list separators. |
| 10728 |
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 10729 |
for pkg in $enableval; do |
| 10730 |
IFS=$lt_save_ifs |
| 10731 |
if test "X$pkg" = "X$p"; then |
| 10732 |
enable_static=yes |
| 10733 |
fi |
| 10734 |
done |
| 10735 |
IFS=$lt_save_ifs |
| 10736 |
;; |
| 10737 |
esac |
| 10738 |
else case e in #( |
| 10739 |
e) enable_static=no ;; |
| 10740 |
esac |
| 10741 |
fi |
| 10742 |
|
| 10743 |
|
| 10744 |
|
| 10745 |
|
| 10746 |
|
| 10747 |
|
| 10748 |
|
| 10749 |
|
| 10750 |
|
| 10751 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 |
| 10752 |
printf %s "checking for library containing strerror... " >&6; } |
| 10753 |
if test ${ac_cv_search_strerror+y} |
| 10754 |
then : |
| 10755 |
printf %s "(cached) " >&6 |
| 10756 |
else case e in #( |
| 10757 |
e) ac_func_search_save_LIBS=$LIBS |
| 10758 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10759 |
/* end confdefs.h. */ |
| 10760 |
|
| 10761 |
/* Override any GCC internal prototype to avoid an error. |
| 10762 |
Use char because int might match the return type of a GCC |
| 10763 |
builtin and then its argument prototype would still apply. |
| 10764 |
The 'extern "C"' is for builds by C++ compilers; |
| 10765 |
although this is not generally supported in C code supporting it here |
| 10766 |
has little cost and some practical benefit (sr 110532). */ |
| 10767 |
#ifdef __cplusplus |
| 10768 |
extern "C" |
| 10769 |
#endif |
| 10770 |
char strerror (void); |
| 10771 |
int |
| 10772 |
main (void) |
| 10773 |
{ |
| 10774 |
return strerror (); |
| 10775 |
; |
| 10776 |
return 0; |
| 10777 |
} |
| 10778 |
_ACEOF |
| 10779 |
for ac_lib in '' cposix |
| 10780 |
do |
| 10781 |
if test -z "$ac_lib"; then |
| 10782 |
ac_res="none required" |
| 10783 |
else |
| 10784 |
ac_res=-l$ac_lib |
| 10785 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 10786 |
fi |
| 10787 |
if ac_fn_c_try_link "$LINENO" |
| 10788 |
then : |
| 10789 |
ac_cv_search_strerror=$ac_res |
| 10790 |
fi |
| 10791 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 10792 |
conftest$ac_exeext |
| 10793 |
if test ${ac_cv_search_strerror+y} |
| 10794 |
then : |
| 10795 |
break |
| 10796 |
fi |
| 10797 |
done |
| 10798 |
if test ${ac_cv_search_strerror+y} |
| 10799 |
then : |
| 10800 |
|
| 10801 |
else case e in #( |
| 10802 |
e) ac_cv_search_strerror=no ;; |
| 10803 |
esac |
| 10804 |
fi |
| 10805 |
rm conftest.$ac_ext |
| 10806 |
LIBS=$ac_func_search_save_LIBS ;; |
| 10807 |
esac |
| 10808 |
fi |
| 10809 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 |
| 10810 |
printf "%s\n" "$ac_cv_search_strerror" >&6; } |
| 10811 |
ac_res=$ac_cv_search_strerror |
| 10812 |
if test "$ac_res" != no |
| 10813 |
then : |
| 10814 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 10815 |
|
| 10816 |
fi |
| 10817 |
|
| 10818 |
|
| 10819 |
case `pwd` in |
| 10820 |
*\ * | *\ *) |
| 10821 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
| 10822 |
printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
| 10823 |
esac |
| 10824 |
|
| 10825 |
|
| 10826 |
|
| 10827 |
macro_version='2.5.4' |
| 10828 |
macro_revision='2.5.4' |
| 10829 |
|
| 10830 |
|
| 10831 |
|
| 10832 |
|
| 10833 |
|
| 10834 |
|
| 10835 |
|
| 10836 |
|
| 10837 |
|
| 10838 |
|
| 10839 |
|
| 10840 |
|
| 10841 |
|
| 10842 |
|
| 10843 |
ltmain=$ac_aux_dir/ltmain.sh |
| 10844 |
|
| 10845 |
# Backslashify metacharacters that are still active within |
| 10846 |
# double-quoted strings. |
| 10847 |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
| 10848 |
|
| 10849 |
# Same as above, but do not quote variable references. |
| 10850 |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
| 10851 |
|
| 10852 |
# Sed substitution to delay expansion of an escaped shell variable in a |
| 10853 |
# double_quote_subst'ed string. |
| 10854 |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
| 10855 |
|
| 10856 |
# Sed substitution to delay expansion of an escaped single quote. |
| 10857 |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
| 10858 |
|
| 10859 |
# Sed substitution to avoid accidental globbing in evaled expressions |
| 10860 |
no_glob_subst='s/\*/\\\*/g' |
| 10861 |
|
| 10862 |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 10863 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
| 10864 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
| 10865 |
|
| 10866 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
| 10867 |
printf %s "checking how to print strings... " >&6; } |
| 10868 |
# Test print first, because it will be a builtin if present. |
| 10869 |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
| 10870 |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 10871 |
ECHO='print -r --' |
| 10872 |
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 10873 |
ECHO='printf %s\n' |
| 10874 |
else |
| 10875 |
# Use this function as a fallback that always works. |
| 10876 |
func_fallback_echo () |
| 10877 |
{ |
| 10878 |
eval 'cat <<_LTECHO_EOF |
| 10879 |
$1 |
| 10880 |
_LTECHO_EOF' |
| 10881 |
} |
| 10882 |
ECHO='func_fallback_echo' |
| 10883 |
fi |
| 10884 |
|
| 10885 |
# func_echo_all arg... |
| 10886 |
# Invoke $ECHO with all args, space-separated. |
| 10887 |
func_echo_all () |
| 10888 |
{ |
| 10889 |
$ECHO "" |
| 10890 |
} |
| 10891 |
|
| 10892 |
case $ECHO in |
| 10893 |
printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
| 10894 |
printf "%s\n" "printf" >&6; } ;; |
| 10895 |
print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
| 10896 |
printf "%s\n" "print -r" >&6; } ;; |
| 10897 |
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
| 10898 |
printf "%s\n" "cat" >&6; } ;; |
| 10899 |
esac |
| 10900 |
|
| 10901 |
|
| 10902 |
|
| 10903 |
|
| 10904 |
|
| 10905 |
|
| 10906 |
|
| 10907 |
|
| 10908 |
|
| 10909 |
|
| 10910 |
|
| 10911 |
|
| 10912 |
|
| 10913 |
|
| 10914 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
| 10915 |
printf %s "checking for a sed that does not truncate output... " >&6; } |
| 10916 |
if test ${ac_cv_path_SED+y} |
| 10917 |
then : |
| 10918 |
printf %s "(cached) " >&6 |
| 10919 |
else case e in #( |
| 10920 |
e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
| 10921 |
for ac_i in 1 2 3 4 5 6 7; do |
| 10922 |
ac_script="$ac_script$as_nl$ac_script" |
| 10923 |
done |
| 10924 |
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
| 10925 |
{ ac_script=; unset ac_script;} |
| 10926 |
if test -z "$SED"; then |
| 10927 |
ac_path_SED_found=false |
| 10928 |
# Loop through the user's path and test for each of PROGNAME-LIST |
| 10929 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 10930 |
for as_dir in $PATH |
| 10931 |
do |
| 10932 |
IFS=$as_save_IFS |
| 10933 |
case $as_dir in #((( |
| 10934 |
'') as_dir=./ ;; |
| 10935 |
*/) ;; |
| 10936 |
*) as_dir=$as_dir/ ;; |
| 10937 |
esac |
| 10938 |
for ac_prog in sed gsed |
| 10939 |
do |
| 10940 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 10941 |
ac_path_SED="$as_dir$ac_prog$ac_exec_ext" |
| 10942 |
as_fn_executable_p "$ac_path_SED" || continue |
| 10943 |
# Check for GNU ac_path_SED and select it if it is found. |
| 10944 |
# Check for GNU $ac_path_SED |
| 10945 |
case `"$ac_path_SED" --version 2>&1` in #( |
| 10946 |
*GNU*) |
| 10947 |
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
| 10948 |
#( |
| 10949 |
*) |
| 10950 |
ac_count=0 |
| 10951 |
printf %s 0123456789 >"conftest.in" |
| 10952 |
while : |
| 10953 |
do |
| 10954 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 10955 |
mv "conftest.tmp" "conftest.in" |
| 10956 |
cp "conftest.in" "conftest.nl" |
| 10957 |
printf "%s\n" '' >> "conftest.nl" |
| 10958 |
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 10959 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 10960 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 10961 |
if test $ac_count -gt ${ac_path_SED_max-0}; then |
| 10962 |
# Best one so far, save it but keep looking for a better one |
| 10963 |
ac_cv_path_SED="$ac_path_SED" |
| 10964 |
ac_path_SED_max=$ac_count |
| 10965 |
fi |
| 10966 |
# 10*(2^10) chars as input seems more than enough |
| 10967 |
test $ac_count -gt 10 && break |
| 10968 |
done |
| 10969 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 10970 |
esac |
| 10971 |
|
| 10972 |
$ac_path_SED_found && break 3 |
| 10973 |
done |
| 10974 |
done |
| 10975 |
done |
| 10976 |
IFS=$as_save_IFS |
| 10977 |
if test -z "$ac_cv_path_SED"; then |
| 10978 |
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
| 10979 |
fi |
| 10980 |
else |
| 10981 |
ac_cv_path_SED=$SED |
| 10982 |
fi |
| 10983 |
;; |
| 10984 |
esac |
| 10985 |
fi |
| 10986 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
| 10987 |
printf "%s\n" "$ac_cv_path_SED" >&6; } |
| 10988 |
SED="$ac_cv_path_SED" |
| 10989 |
rm -f conftest.sed |
| 10990 |
|
| 10991 |
test -z "$SED" && SED=sed |
| 10992 |
Xsed="$SED -e 1s/^X//" |
| 10993 |
|
| 10994 |
|
| 10995 |
|
| 10996 |
|
| 10997 |
|
| 10998 |
|
| 10999 |
|
| 11000 |
|
| 11001 |
|
| 11002 |
|
| 11003 |
|
| 11004 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 11005 |
printf %s "checking for grep that handles long lines and -e... " >&6; } |
| 11006 |
if test ${ac_cv_path_GREP+y} |
| 11007 |
then : |
| 11008 |
printf %s "(cached) " >&6 |
| 11009 |
else case e in #( |
| 11010 |
e) if test -z "$GREP"; then |
| 11011 |
ac_path_GREP_found=false |
| 11012 |
# Loop through the user's path and test for each of PROGNAME-LIST |
| 11013 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 11014 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 11015 |
do |
| 11016 |
IFS=$as_save_IFS |
| 11017 |
case $as_dir in #((( |
| 11018 |
'') as_dir=./ ;; |
| 11019 |
*/) ;; |
| 11020 |
*) as_dir=$as_dir/ ;; |
| 11021 |
esac |
| 11022 |
for ac_prog in grep ggrep |
| 11023 |
do |
| 11024 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 11025 |
ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" |
| 11026 |
as_fn_executable_p "$ac_path_GREP" || continue |
| 11027 |
# Check for GNU ac_path_GREP and select it if it is found. |
| 11028 |
# Check for GNU $ac_path_GREP |
| 11029 |
case `"$ac_path_GREP" --version 2>&1` in #( |
| 11030 |
*GNU*) |
| 11031 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
| 11032 |
#( |
| 11033 |
*) |
| 11034 |
ac_count=0 |
| 11035 |
printf %s 0123456789 >"conftest.in" |
| 11036 |
while : |
| 11037 |
do |
| 11038 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 11039 |
mv "conftest.tmp" "conftest.in" |
| 11040 |
cp "conftest.in" "conftest.nl" |
| 11041 |
printf "%s\n" 'GREP' >> "conftest.nl" |
| 11042 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 11043 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 11044 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 11045 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
| 11046 |
# Best one so far, save it but keep looking for a better one |
| 11047 |
ac_cv_path_GREP="$ac_path_GREP" |
| 11048 |
ac_path_GREP_max=$ac_count |
| 11049 |
fi |
| 11050 |
# 10*(2^10) chars as input seems more than enough |
| 11051 |
test $ac_count -gt 10 && break |
| 11052 |
done |
| 11053 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 11054 |
esac |
| 11055 |
|
| 11056 |
$ac_path_GREP_found && break 3 |
| 11057 |
done |
| 11058 |
done |
| 11059 |
done |
| 11060 |
IFS=$as_save_IFS |
| 11061 |
if test -z "$ac_cv_path_GREP"; then |
| 11062 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 11063 |
fi |
| 11064 |
else |
| 11065 |
ac_cv_path_GREP=$GREP |
| 11066 |
fi |
| 11067 |
;; |
| 11068 |
esac |
| 11069 |
fi |
| 11070 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
| 11071 |
printf "%s\n" "$ac_cv_path_GREP" >&6; } |
| 11072 |
GREP="$ac_cv_path_GREP" |
| 11073 |
|
| 11074 |
|
| 11075 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 11076 |
printf %s "checking for egrep... " >&6; } |
| 11077 |
if test ${ac_cv_path_EGREP+y} |
| 11078 |
then : |
| 11079 |
printf %s "(cached) " >&6 |
| 11080 |
else case e in #( |
| 11081 |
e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| 11082 |
then ac_cv_path_EGREP="$GREP -E" |
| 11083 |
else |
| 11084 |
if test -z "$EGREP"; then |
| 11085 |
ac_path_EGREP_found=false |
| 11086 |
# Loop through the user's path and test for each of PROGNAME-LIST |
| 11087 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 11088 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 11089 |
do |
| 11090 |
IFS=$as_save_IFS |
| 11091 |
case $as_dir in #((( |
| 11092 |
'') as_dir=./ ;; |
| 11093 |
*/) ;; |
| 11094 |
*) as_dir=$as_dir/ ;; |
| 11095 |
esac |
| 11096 |
for ac_prog in egrep |
| 11097 |
do |
| 11098 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 11099 |
ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" |
| 11100 |
as_fn_executable_p "$ac_path_EGREP" || continue |
| 11101 |
# Check for GNU ac_path_EGREP and select it if it is found. |
| 11102 |
# Check for GNU $ac_path_EGREP |
| 11103 |
case `"$ac_path_EGREP" --version 2>&1` in #( |
| 11104 |
*GNU*) |
| 11105 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
| 11106 |
#( |
| 11107 |
*) |
| 11108 |
ac_count=0 |
| 11109 |
printf %s 0123456789 >"conftest.in" |
| 11110 |
while : |
| 11111 |
do |
| 11112 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 11113 |
mv "conftest.tmp" "conftest.in" |
| 11114 |
cp "conftest.in" "conftest.nl" |
| 11115 |
printf "%s\n" 'EGREP' >> "conftest.nl" |
| 11116 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 11117 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 11118 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 11119 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 11120 |
# Best one so far, save it but keep looking for a better one |
| 11121 |
ac_cv_path_EGREP="$ac_path_EGREP" |
| 11122 |
ac_path_EGREP_max=$ac_count |
| 11123 |
fi |
| 11124 |
# 10*(2^10) chars as input seems more than enough |
| 11125 |
test $ac_count -gt 10 && break |
| 11126 |
done |
| 11127 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 11128 |
esac |
| 11129 |
|
| 11130 |
$ac_path_EGREP_found && break 3 |
| 11131 |
done |
| 11132 |
done |
| 11133 |
done |
| 11134 |
IFS=$as_save_IFS |
| 11135 |
if test -z "$ac_cv_path_EGREP"; then |
| 11136 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 11137 |
fi |
| 11138 |
else |
| 11139 |
ac_cv_path_EGREP=$EGREP |
| 11140 |
fi |
| 11141 |
|
| 11142 |
fi ;; |
| 11143 |
esac |
| 11144 |
fi |
| 11145 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
| 11146 |
printf "%s\n" "$ac_cv_path_EGREP" >&6; } |
| 11147 |
EGREP="$ac_cv_path_EGREP" |
| 11148 |
|
| 11149 |
EGREP_TRADITIONAL=$EGREP |
| 11150 |
ac_cv_path_EGREP_TRADITIONAL=$EGREP |
| 11151 |
|
| 11152 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
| 11153 |
printf %s "checking for fgrep... " >&6; } |
| 11154 |
if test ${ac_cv_path_FGREP+y} |
| 11155 |
then : |
| 11156 |
printf %s "(cached) " >&6 |
| 11157 |
else case e in #( |
| 11158 |
e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
| 11159 |
then ac_cv_path_FGREP="$GREP -F" |
| 11160 |
else |
| 11161 |
if test -z "$FGREP"; then |
| 11162 |
ac_path_FGREP_found=false |
| 11163 |
# Loop through the user's path and test for each of PROGNAME-LIST |
| 11164 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 11165 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 11166 |
do |
| 11167 |
IFS=$as_save_IFS |
| 11168 |
case $as_dir in #((( |
| 11169 |
'') as_dir=./ ;; |
| 11170 |
*/) ;; |
| 11171 |
*) as_dir=$as_dir/ ;; |
| 11172 |
esac |
| 11173 |
for ac_prog in fgrep |
| 11174 |
do |
| 11175 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 11176 |
ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext" |
| 11177 |
as_fn_executable_p "$ac_path_FGREP" || continue |
| 11178 |
# Check for GNU ac_path_FGREP and select it if it is found. |
| 11179 |
# Check for GNU $ac_path_FGREP |
| 11180 |
case `"$ac_path_FGREP" --version 2>&1` in #( |
| 11181 |
*GNU*) |
| 11182 |
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; |
| 11183 |
#( |
| 11184 |
*) |
| 11185 |
ac_count=0 |
| 11186 |
printf %s 0123456789 >"conftest.in" |
| 11187 |
while : |
| 11188 |
do |
| 11189 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 11190 |
mv "conftest.tmp" "conftest.in" |
| 11191 |
cp "conftest.in" "conftest.nl" |
| 11192 |
printf "%s\n" 'FGREP' >> "conftest.nl" |
| 11193 |
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 11194 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 11195 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 11196 |
if test $ac_count -gt ${ac_path_FGREP_max-0}; then |
| 11197 |
# Best one so far, save it but keep looking for a better one |
| 11198 |
ac_cv_path_FGREP="$ac_path_FGREP" |
| 11199 |
ac_path_FGREP_max=$ac_count |
| 11200 |
fi |
| 11201 |
# 10*(2^10) chars as input seems more than enough |
| 11202 |
test $ac_count -gt 10 && break |
| 11203 |
done |
| 11204 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 11205 |
esac |
| 11206 |
|
| 11207 |
$ac_path_FGREP_found && break 3 |
| 11208 |
done |
| 11209 |
done |
| 11210 |
done |
| 11211 |
IFS=$as_save_IFS |
| 11212 |
if test -z "$ac_cv_path_FGREP"; then |
| 11213 |
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 11214 |
fi |
| 11215 |
else |
| 11216 |
ac_cv_path_FGREP=$FGREP |
| 11217 |
fi |
| 11218 |
|
| 11219 |
fi ;; |
| 11220 |
esac |
| 11221 |
fi |
| 11222 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
| 11223 |
printf "%s\n" "$ac_cv_path_FGREP" >&6; } |
| 11224 |
FGREP="$ac_cv_path_FGREP" |
| 11225 |
|
| 11226 |
|
| 11227 |
test -z "$GREP" && GREP=grep |
| 11228 |
|
| 11229 |
|
| 11230 |
|
| 11231 |
|
| 11232 |
|
| 11233 |
|
| 11234 |
|
| 11235 |
|
| 11236 |
|
| 11237 |
|
| 11238 |
|
| 11239 |
|
| 11240 |
|
| 11241 |
|
| 11242 |
|
| 11243 |
|
| 11244 |
|
| 11245 |
|
| 11246 |
|
| 11247 |
# Check whether --with-gnu-ld was given. |
| 11248 |
if test ${with_gnu_ld+y} |
| 11249 |
then : |
| 11250 |
withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes |
| 11251 |
else case e in #( |
| 11252 |
e) with_gnu_ld=no ;; |
| 11253 |
esac |
| 11254 |
fi |
| 11255 |
|
| 11256 |
ac_prog=ld |
| 11257 |
if test yes = "$GCC"; then |
| 11258 |
# Check if gcc -print-prog-name=ld gives a path. |
| 11259 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
| 11260 |
printf %s "checking for ld used by $CC... " >&6; } |
| 11261 |
case $host in |
| 11262 |
*-*-mingw* | *-*-windows*) |
| 11263 |
# gcc leaves a trailing carriage return, which upsets mingw |
| 11264 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
| 11265 |
*) |
| 11266 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
| 11267 |
esac |
| 11268 |
case $ac_prog in |
| 11269 |
# Accept absolute paths. |
| 11270 |
[\\/]* | ?:[\\/]*) |
| 11271 |
re_direlt='/[^/][^/]*/\.\./' |
| 11272 |
# Canonicalize the pathname of ld |
| 11273 |
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
| 11274 |
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
| 11275 |
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
| 11276 |
done |
| 11277 |
test -z "$LD" && LD=$ac_prog |
| 11278 |
;; |
| 11279 |
"") |
| 11280 |
# If it fails, then pretend we aren't using GCC. |
| 11281 |
ac_prog=ld |
| 11282 |
;; |
| 11283 |
*) |
| 11284 |
# If it is relative, then search for the first ld in PATH. |
| 11285 |
with_gnu_ld=unknown |
| 11286 |
;; |
| 11287 |
esac |
| 11288 |
elif test yes = "$with_gnu_ld"; then |
| 11289 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
| 11290 |
printf %s "checking for GNU ld... " >&6; } |
| 11291 |
else |
| 11292 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 11293 |
printf %s "checking for non-GNU ld... " >&6; } |
| 11294 |
fi |
| 11295 |
if test ${lt_cv_path_LD+y} |
| 11296 |
then : |
| 11297 |
printf %s "(cached) " >&6 |
| 11298 |
else case e in #( |
| 11299 |
e) if test -z "$LD"; then |
| 11300 |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 11301 |
for ac_dir in $PATH; do |
| 11302 |
IFS=$lt_save_ifs |
| 11303 |
test -z "$ac_dir" && ac_dir=. |
| 11304 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
| 11305 |
lt_cv_path_LD=$ac_dir/$ac_prog |
| 11306 |
# Check to see if the program is GNU ld. I'd rather use --version, |
| 11307 |
# but apparently some variants of GNU ld only accept -v. |
| 11308 |
# Break only if it was the GNU/non-GNU ld that we prefer. |
| 11309 |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
| 11310 |
*GNU* | *'with BFD'*) |
| 11311 |
test no != "$with_gnu_ld" && break |
| 11312 |
;; |
| 11313 |
*) |
| 11314 |
test yes != "$with_gnu_ld" && break |
| 11315 |
;; |
| 11316 |
esac |
| 11317 |
fi |
| 11318 |
done |
| 11319 |
IFS=$lt_save_ifs |
| 11320 |
else |
| 11321 |
lt_cv_path_LD=$LD # Let the user override the test with a path. |
| 11322 |
fi ;; |
| 11323 |
esac |
| 11324 |
fi |
| 11325 |
|
| 11326 |
LD=$lt_cv_path_LD |
| 11327 |
if test -n "$LD"; then |
| 11328 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
| 11329 |
printf "%s\n" "$LD" >&6; } |
| 11330 |
else |
| 11331 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11332 |
printf "%s\n" "no" >&6; } |
| 11333 |
fi |
| 11334 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 11335 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
| 11336 |
printf %s "checking if the linker ($LD) is GNU ld... " >&6; } |
| 11337 |
if test ${lt_cv_prog_gnu_ld+y} |
| 11338 |
then : |
| 11339 |
printf %s "(cached) " >&6 |
| 11340 |
else case e in #( |
| 11341 |
e) # I'd rather use --version here, but apparently some GNU lds only accept -v. |
| 11342 |
case `$LD -v 2>&1 </dev/null` in |
| 11343 |
*GNU* | *'with BFD'*) |
| 11344 |
lt_cv_prog_gnu_ld=yes |
| 11345 |
;; |
| 11346 |
*) |
| 11347 |
lt_cv_prog_gnu_ld=no |
| 11348 |
;; |
| 11349 |
esac ;; |
| 11350 |
esac |
| 11351 |
fi |
| 11352 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
| 11353 |
printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; } |
| 11354 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
| 11355 |
|
| 11356 |
|
| 11357 |
|
| 11358 |
|
| 11359 |
|
| 11360 |
|
| 11361 |
|
| 11362 |
|
| 11363 |
|
| 11364 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
| 11365 |
printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
| 11366 |
if test ${lt_cv_path_NM+y} |
| 11367 |
then : |
| 11368 |
printf %s "(cached) " >&6 |
| 11369 |
else case e in #( |
| 11370 |
e) if test -n "$NM"; then |
| 11371 |
# Let the user override the test. |
| 11372 |
lt_cv_path_NM=$NM |
| 11373 |
else |
| 11374 |
lt_nm_to_check=${ac_tool_prefix}nm |
| 11375 |
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
| 11376 |
lt_nm_to_check="$lt_nm_to_check nm" |
| 11377 |
fi |
| 11378 |
for lt_tmp_nm in $lt_nm_to_check; do |
| 11379 |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 11380 |
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
| 11381 |
IFS=$lt_save_ifs |
| 11382 |
test -z "$ac_dir" && ac_dir=. |
| 11383 |
tmp_nm=$ac_dir/$lt_tmp_nm |
| 11384 |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then |
| 11385 |
# Check to see if the nm accepts a BSD-compat flag. |
| 11386 |
# Adding the 'sed 1q' prevents false positives on HP-UX, which says: |
| 11387 |
# nm: unknown option "B" ignored |
| 11388 |
# Tru64's nm complains that /dev/null is an invalid object file |
| 11389 |
# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty |
| 11390 |
case $build_os in |
| 11391 |
mingw* | windows*) lt_bad_file=conftest.nm/nofile ;; |
| 11392 |
*) lt_bad_file=/dev/null ;; |
| 11393 |
esac |
| 11394 |
case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in |
| 11395 |
*$lt_bad_file* | *'Invalid file or object type'*) |
| 11396 |
lt_cv_path_NM="$tmp_nm -B" |
| 11397 |
break 2 |
| 11398 |
;; |
| 11399 |
*) |
| 11400 |
case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in |
| 11401 |
*/dev/null*) |
| 11402 |
lt_cv_path_NM="$tmp_nm -p" |
| 11403 |
break 2 |
| 11404 |
;; |
| 11405 |
*) |
| 11406 |
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
| 11407 |
continue # so that we can try to find one that supports BSD flags |
| 11408 |
;; |
| 11409 |
esac |
| 11410 |
;; |
| 11411 |
esac |
| 11412 |
fi |
| 11413 |
done |
| 11414 |
IFS=$lt_save_ifs |
| 11415 |
done |
| 11416 |
: ${lt_cv_path_NM=no} |
| 11417 |
fi ;; |
| 11418 |
esac |
| 11419 |
fi |
| 11420 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
| 11421 |
printf "%s\n" "$lt_cv_path_NM" >&6; } |
| 11422 |
if test no != "$lt_cv_path_NM"; then |
| 11423 |
NM=$lt_cv_path_NM |
| 11424 |
else |
| 11425 |
# Didn't find any BSD compatible name lister, look for dumpbin. |
| 11426 |
if test -n "$DUMPBIN"; then : |
| 11427 |
# Let the user override the test. |
| 11428 |
else |
| 11429 |
if test -n "$ac_tool_prefix"; then |
| 11430 |
for ac_prog in dumpbin "link -dump" |
| 11431 |
do |
| 11432 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 11433 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 11434 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 11435 |
printf %s "checking for $ac_word... " >&6; } |
| 11436 |
if test ${ac_cv_prog_DUMPBIN+y} |
| 11437 |
then : |
| 11438 |
printf %s "(cached) " >&6 |
| 11439 |
else case e in #( |
| 11440 |
e) if test -n "$DUMPBIN"; then |
| 11441 |
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. |
| 11442 |
else |
| 11443 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 11444 |
for as_dir in $PATH |
| 11445 |
do |
| 11446 |
IFS=$as_save_IFS |
| 11447 |
case $as_dir in #((( |
| 11448 |
'') as_dir=./ ;; |
| 11449 |
*/) ;; |
| 11450 |
*) as_dir=$as_dir/ ;; |
| 11451 |
esac |
| 11452 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 11453 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 11454 |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
| 11455 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 11456 |
break 2 |
| 11457 |
fi |
| 11458 |
done |
| 11459 |
done |
| 11460 |
IFS=$as_save_IFS |
| 11461 |
|
| 11462 |
fi ;; |
| 11463 |
esac |
| 11464 |
fi |
| 11465 |
DUMPBIN=$ac_cv_prog_DUMPBIN |
| 11466 |
if test -n "$DUMPBIN"; then |
| 11467 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
| 11468 |
printf "%s\n" "$DUMPBIN" >&6; } |
| 11469 |
else |
| 11470 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11471 |
printf "%s\n" "no" >&6; } |
| 11472 |
fi |
| 11473 |
|
| 11474 |
|
| 11475 |
test -n "$DUMPBIN" && break |
| 11476 |
done |
| 11477 |
fi |
| 11478 |
if test -z "$DUMPBIN"; then |
| 11479 |
ac_ct_DUMPBIN=$DUMPBIN |
| 11480 |
for ac_prog in dumpbin "link -dump" |
| 11481 |
do |
| 11482 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 11483 |
set dummy $ac_prog; ac_word=$2 |
| 11484 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 11485 |
printf %s "checking for $ac_word... " >&6; } |
| 11486 |
if test ${ac_cv_prog_ac_ct_DUMPBIN+y} |
| 11487 |
then : |
| 11488 |
printf %s "(cached) " >&6 |
| 11489 |
else case e in #( |
| 11490 |
e) if test -n "$ac_ct_DUMPBIN"; then |
| 11491 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. |
| 11492 |
else |
| 11493 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 11494 |
for as_dir in $PATH |
| 11495 |
do |
| 11496 |
IFS=$as_save_IFS |
| 11497 |
case $as_dir in #((( |
| 11498 |
'') as_dir=./ ;; |
| 11499 |
*/) ;; |
| 11500 |
*) as_dir=$as_dir/ ;; |
| 11501 |
esac |
| 11502 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 11503 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 11504 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
| 11505 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 11506 |
break 2 |
| 11507 |
fi |
| 11508 |
done |
| 11509 |
done |
| 11510 |
IFS=$as_save_IFS |
| 11511 |
|
| 11512 |
fi ;; |
| 11513 |
esac |
| 11514 |
fi |
| 11515 |
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
| 11516 |
if test -n "$ac_ct_DUMPBIN"; then |
| 11517 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
| 11518 |
printf "%s\n" "$ac_ct_DUMPBIN" >&6; } |
| 11519 |
else |
| 11520 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11521 |
printf "%s\n" "no" >&6; } |
| 11522 |
fi |
| 11523 |
|
| 11524 |
|
| 11525 |
test -n "$ac_ct_DUMPBIN" && break |
| 11526 |
done |
| 11527 |
|
| 11528 |
if test "x$ac_ct_DUMPBIN" = x; then |
| 11529 |
DUMPBIN=":" |
| 11530 |
else |
| 11531 |
case $cross_compiling:$ac_tool_warned in |
| 11532 |
yes:) |
| 11533 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 11534 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 11535 |
ac_tool_warned=yes ;; |
| 11536 |
esac |
| 11537 |
DUMPBIN=$ac_ct_DUMPBIN |
| 11538 |
fi |
| 11539 |
fi |
| 11540 |
|
| 11541 |
case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in |
| 11542 |
*COFF*) |
| 11543 |
DUMPBIN="$DUMPBIN -symbols -headers" |
| 11544 |
;; |
| 11545 |
*) |
| 11546 |
DUMPBIN=: |
| 11547 |
;; |
| 11548 |
esac |
| 11549 |
fi |
| 11550 |
|
| 11551 |
if test : != "$DUMPBIN"; then |
| 11552 |
NM=$DUMPBIN |
| 11553 |
fi |
| 11554 |
fi |
| 11555 |
test -z "$NM" && NM=nm |
| 11556 |
|
| 11557 |
|
| 11558 |
|
| 11559 |
|
| 11560 |
|
| 11561 |
|
| 11562 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
| 11563 |
printf %s "checking the name lister ($NM) interface... " >&6; } |
| 11564 |
if test ${lt_cv_nm_interface+y} |
| 11565 |
then : |
| 11566 |
printf %s "(cached) " >&6 |
| 11567 |
else case e in #( |
| 11568 |
e) lt_cv_nm_interface="BSD nm" |
| 11569 |
echo "int some_variable = 0;" > conftest.$ac_ext |
| 11570 |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
| 11571 |
(eval "$ac_compile" 2>conftest.err) |
| 11572 |
cat conftest.err >&5 |
| 11573 |
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
| 11574 |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
| 11575 |
cat conftest.err >&5 |
| 11576 |
(eval echo "\"\$as_me:$LINENO: output\"" >&5) |
| 11577 |
cat conftest.out >&5 |
| 11578 |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
| 11579 |
lt_cv_nm_interface="MS dumpbin" |
| 11580 |
fi |
| 11581 |
rm -f conftest* ;; |
| 11582 |
esac |
| 11583 |
fi |
| 11584 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
| 11585 |
printf "%s\n" "$lt_cv_nm_interface" >&6; } |
| 11586 |
|
| 11587 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
| 11588 |
printf %s "checking whether ln -s works... " >&6; } |
| 11589 |
LN_S=$as_ln_s |
| 11590 |
if test "$LN_S" = "ln -s"; then |
| 11591 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 11592 |
printf "%s\n" "yes" >&6; } |
| 11593 |
else |
| 11594 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
| 11595 |
printf "%s\n" "no, using $LN_S" >&6; } |
| 11596 |
fi |
| 11597 |
|
| 11598 |
# find the maximum length of command line arguments |
| 11599 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
| 11600 |
printf %s "checking the maximum length of command line arguments... " >&6; } |
| 11601 |
if test ${lt_cv_sys_max_cmd_len+y} |
| 11602 |
then : |
| 11603 |
printf %s "(cached) " >&6 |
| 11604 |
else case e in #( |
| 11605 |
e) i=0 |
| 11606 |
teststring=ABCD |
| 11607 |
|
| 11608 |
case $build_os in |
| 11609 |
msdosdjgpp*) |
| 11610 |
# On DJGPP, this test can blow up pretty badly due to problems in libc |
| 11611 |
# (any single argument exceeding 2000 bytes causes a buffer overrun |
| 11612 |
# during glob expansion). Even if it were fixed, the result of this |
| 11613 |
# check would be larger than it should be. |
| 11614 |
lt_cv_sys_max_cmd_len=12288; # 12K is about right |
| 11615 |
;; |
| 11616 |
|
| 11617 |
gnu* | ironclad*) |
| 11618 |
# Under GNU Hurd and Ironclad, this test is not required because there |
| 11619 |
# is no limit to the length of command line arguments. |
| 11620 |
# Libtool will interpret -1 as no limit whatsoever |
| 11621 |
lt_cv_sys_max_cmd_len=-1; |
| 11622 |
;; |
| 11623 |
|
| 11624 |
cygwin* | mingw* | windows* | cegcc*) |
| 11625 |
# On Win9x/ME, this test blows up -- it succeeds, but takes |
| 11626 |
# about 5 minutes as the teststring grows exponentially. |
| 11627 |
# Worse, since 9x/ME are not pre-emptively multitasking, |
| 11628 |
# you end up with a "frozen" computer, even though with patience |
| 11629 |
# the test eventually succeeds (with a max line length of 256k). |
| 11630 |
# Instead, let's just punt: use the minimum linelength reported by |
| 11631 |
# all of the supported platforms: 8192 (on NT/2K/XP). |
| 11632 |
lt_cv_sys_max_cmd_len=8192; |
| 11633 |
;; |
| 11634 |
|
| 11635 |
mint*) |
| 11636 |
# On MiNT this can take a long time and run out of memory. |
| 11637 |
lt_cv_sys_max_cmd_len=8192; |
| 11638 |
;; |
| 11639 |
|
| 11640 |
amigaos*) |
| 11641 |
# On AmigaOS with pdksh, this test takes hours, literally. |
| 11642 |
# So we just punt and use a minimum line length of 8192. |
| 11643 |
lt_cv_sys_max_cmd_len=8192; |
| 11644 |
;; |
| 11645 |
|
| 11646 |
darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*) |
| 11647 |
# This has been around since 386BSD, at least. Likely further. |
| 11648 |
if test -x /sbin/sysctl; then |
| 11649 |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
| 11650 |
elif test -x /usr/sbin/sysctl; then |
| 11651 |
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
| 11652 |
else |
| 11653 |
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
| 11654 |
fi |
| 11655 |
# And add a safety zone |
| 11656 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
| 11657 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
| 11658 |
;; |
| 11659 |
|
| 11660 |
interix*) |
| 11661 |
# We know the value 262144 and hardcode it with a safety zone (like BSD) |
| 11662 |
lt_cv_sys_max_cmd_len=196608 |
| 11663 |
;; |
| 11664 |
|
| 11665 |
os2*) |
| 11666 |
# The test takes a long time on OS/2. |
| 11667 |
lt_cv_sys_max_cmd_len=8192 |
| 11668 |
;; |
| 11669 |
|
| 11670 |
osf*) |
| 11671 |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
| 11672 |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
| 11673 |
# nice to cause kernel panics so lets avoid the loop below. |
| 11674 |
# First set a reasonable default. |
| 11675 |
lt_cv_sys_max_cmd_len=16384 |
| 11676 |
# |
| 11677 |
if test -x /sbin/sysconfig; then |
| 11678 |
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
| 11679 |
*1*) lt_cv_sys_max_cmd_len=-1 ;; |
| 11680 |
esac |
| 11681 |
fi |
| 11682 |
;; |
| 11683 |
sco3.2v5*) |
| 11684 |
lt_cv_sys_max_cmd_len=102400 |
| 11685 |
;; |
| 11686 |
sysv5* | sco5v6* | sysv4.2uw2*) |
| 11687 |
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
| 11688 |
if test -n "$kargmax"; then |
| 11689 |
lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'` |
| 11690 |
else |
| 11691 |
lt_cv_sys_max_cmd_len=32768 |
| 11692 |
fi |
| 11693 |
;; |
| 11694 |
*) |
| 11695 |
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
| 11696 |
if test -n "$lt_cv_sys_max_cmd_len" && \ |
| 11697 |
test undefined != "$lt_cv_sys_max_cmd_len"; then |
| 11698 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
| 11699 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
| 11700 |
else |
| 11701 |
# Make teststring a little bigger before we do anything with it. |
| 11702 |
# a 1K string should be a reasonable start. |
| 11703 |
for i in 1 2 3 4 5 6 7 8; do |
| 11704 |
teststring=$teststring$teststring |
| 11705 |
done |
| 11706 |
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
| 11707 |
# If test is not a shell built-in, we'll probably end up computing a |
| 11708 |
# maximum length that is only half of the actual maximum length, but |
| 11709 |
# we can't tell. |
| 11710 |
while { test X`env echo "$teststring$teststring" 2>/dev/null` \ |
| 11711 |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
| 11712 |
test 17 != "$i" # 1/2 MB should be enough |
| 11713 |
do |
| 11714 |
i=`expr $i + 1` |
| 11715 |
teststring=$teststring$teststring |
| 11716 |
done |
| 11717 |
# Only check the string length outside the loop. |
| 11718 |
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
| 11719 |
teststring= |
| 11720 |
# Add a significant safety factor because C++ compilers can tack on |
| 11721 |
# massive amounts of additional arguments before passing them to the |
| 11722 |
# linker. It appears as though 1/2 is a usable value. |
| 11723 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
| 11724 |
fi |
| 11725 |
;; |
| 11726 |
esac |
| 11727 |
;; |
| 11728 |
esac |
| 11729 |
fi |
| 11730 |
|
| 11731 |
if test -n "$lt_cv_sys_max_cmd_len"; then |
| 11732 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
| 11733 |
printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; } |
| 11734 |
else |
| 11735 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 11736 |
printf "%s\n" "none" >&6; } |
| 11737 |
fi |
| 11738 |
max_cmd_len=$lt_cv_sys_max_cmd_len |
| 11739 |
|
| 11740 |
|
| 11741 |
|
| 11742 |
|
| 11743 |
|
| 11744 |
|
| 11745 |
: ${CP="cp -f"} |
| 11746 |
: ${MV="mv -f"} |
| 11747 |
: ${RM="rm -f"} |
| 11748 |
|
| 11749 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 11750 |
lt_unset=unset |
| 11751 |
else |
| 11752 |
lt_unset=false |
| 11753 |
fi |
| 11754 |
|
| 11755 |
|
| 11756 |
|
| 11757 |
|
| 11758 |
|
| 11759 |
# test EBCDIC or ASCII |
| 11760 |
case `echo X|tr X '\101'` in |
| 11761 |
A) # ASCII based system |
| 11762 |
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr |
| 11763 |
lt_SP2NL='tr \040 \012' |
| 11764 |
lt_NL2SP='tr \015\012 \040\040' |
| 11765 |
;; |
| 11766 |
*) # EBCDIC based system |
| 11767 |
lt_SP2NL='tr \100 \n' |
| 11768 |
lt_NL2SP='tr \r\n \100\100' |
| 11769 |
;; |
| 11770 |
esac |
| 11771 |
|
| 11772 |
|
| 11773 |
|
| 11774 |
|
| 11775 |
|
| 11776 |
|
| 11777 |
|
| 11778 |
|
| 11779 |
|
| 11780 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
| 11781 |
printf %s "checking how to convert $build file names to $host format... " >&6; } |
| 11782 |
if test ${lt_cv_to_host_file_cmd+y} |
| 11783 |
then : |
| 11784 |
printf %s "(cached) " >&6 |
| 11785 |
else case e in #( |
| 11786 |
e) case $host in |
| 11787 |
*-*-mingw* ) |
| 11788 |
case $build in |
| 11789 |
*-*-mingw* | *-*-windows* ) # actually msys |
| 11790 |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
| 11791 |
;; |
| 11792 |
*-*-cygwin* ) |
| 11793 |
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
| 11794 |
;; |
| 11795 |
* ) # otherwise, assume *nix |
| 11796 |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
| 11797 |
;; |
| 11798 |
esac |
| 11799 |
;; |
| 11800 |
*-*-cygwin* ) |
| 11801 |
case $build in |
| 11802 |
*-*-mingw* | *-*-windows* ) # actually msys |
| 11803 |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
| 11804 |
;; |
| 11805 |
*-*-cygwin* ) |
| 11806 |
lt_cv_to_host_file_cmd=func_convert_file_noop |
| 11807 |
;; |
| 11808 |
* ) # otherwise, assume *nix |
| 11809 |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
| 11810 |
;; |
| 11811 |
esac |
| 11812 |
;; |
| 11813 |
* ) # unhandled hosts (and "normal" native builds) |
| 11814 |
lt_cv_to_host_file_cmd=func_convert_file_noop |
| 11815 |
;; |
| 11816 |
esac |
| 11817 |
;; |
| 11818 |
esac |
| 11819 |
fi |
| 11820 |
|
| 11821 |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
| 11822 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
| 11823 |
printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; } |
| 11824 |
|
| 11825 |
|
| 11826 |
|
| 11827 |
|
| 11828 |
|
| 11829 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
| 11830 |
printf %s "checking how to convert $build file names to toolchain format... " >&6; } |
| 11831 |
if test ${lt_cv_to_tool_file_cmd+y} |
| 11832 |
then : |
| 11833 |
printf %s "(cached) " >&6 |
| 11834 |
else case e in #( |
| 11835 |
e) #assume ordinary cross tools, or native build. |
| 11836 |
lt_cv_to_tool_file_cmd=func_convert_file_noop |
| 11837 |
case $host in |
| 11838 |
*-*-mingw* | *-*-windows* ) |
| 11839 |
case $build in |
| 11840 |
*-*-mingw* | *-*-windows* ) # actually msys |
| 11841 |
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
| 11842 |
;; |
| 11843 |
esac |
| 11844 |
;; |
| 11845 |
esac |
| 11846 |
;; |
| 11847 |
esac |
| 11848 |
fi |
| 11849 |
|
| 11850 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 11851 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
| 11852 |
printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; } |
| 11853 |
|
| 11854 |
|
| 11855 |
|
| 11856 |
|
| 11857 |
|
| 11858 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
| 11859 |
printf %s "checking for $LD option to reload object files... " >&6; } |
| 11860 |
if test ${lt_cv_ld_reload_flag+y} |
| 11861 |
then : |
| 11862 |
printf %s "(cached) " >&6 |
| 11863 |
else case e in #( |
| 11864 |
e) lt_cv_ld_reload_flag='-r' ;; |
| 11865 |
esac |
| 11866 |
fi |
| 11867 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
| 11868 |
printf "%s\n" "$lt_cv_ld_reload_flag" >&6; } |
| 11869 |
reload_flag=$lt_cv_ld_reload_flag |
| 11870 |
case $reload_flag in |
| 11871 |
"" | " "*) ;; |
| 11872 |
*) reload_flag=" $reload_flag" ;; |
| 11873 |
esac |
| 11874 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 11875 |
case $host_os in |
| 11876 |
cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 11877 |
if test yes != "$GCC"; then |
| 11878 |
reload_cmds=false |
| 11879 |
fi |
| 11880 |
;; |
| 11881 |
darwin*) |
| 11882 |
if test yes = "$GCC"; then |
| 11883 |
reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' |
| 11884 |
else |
| 11885 |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 11886 |
fi |
| 11887 |
;; |
| 11888 |
esac |
| 11889 |
|
| 11890 |
|
| 11891 |
|
| 11892 |
|
| 11893 |
|
| 11894 |
|
| 11895 |
|
| 11896 |
|
| 11897 |
|
| 11898 |
# Extract the first word of "file", so it can be a program name with args. |
| 11899 |
set dummy file; ac_word=$2 |
| 11900 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 11901 |
printf %s "checking for $ac_word... " >&6; } |
| 11902 |
if test ${ac_cv_prog_FILECMD+y} |
| 11903 |
then : |
| 11904 |
printf %s "(cached) " >&6 |
| 11905 |
else case e in #( |
| 11906 |
e) if test -n "$FILECMD"; then |
| 11907 |
ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test. |
| 11908 |
else |
| 11909 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 11910 |
for as_dir in $PATH |
| 11911 |
do |
| 11912 |
IFS=$as_save_IFS |
| 11913 |
case $as_dir in #((( |
| 11914 |
'') as_dir=./ ;; |
| 11915 |
*/) ;; |
| 11916 |
*) as_dir=$as_dir/ ;; |
| 11917 |
esac |
| 11918 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 11919 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 11920 |
ac_cv_prog_FILECMD="file" |
| 11921 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 11922 |
break 2 |
| 11923 |
fi |
| 11924 |
done |
| 11925 |
done |
| 11926 |
IFS=$as_save_IFS |
| 11927 |
|
| 11928 |
test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":" |
| 11929 |
fi ;; |
| 11930 |
esac |
| 11931 |
fi |
| 11932 |
FILECMD=$ac_cv_prog_FILECMD |
| 11933 |
if test -n "$FILECMD"; then |
| 11934 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5 |
| 11935 |
printf "%s\n" "$FILECMD" >&6; } |
| 11936 |
else |
| 11937 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11938 |
printf "%s\n" "no" >&6; } |
| 11939 |
fi |
| 11940 |
|
| 11941 |
|
| 11942 |
|
| 11943 |
|
| 11944 |
|
| 11945 |
|
| 11946 |
|
| 11947 |
|
| 11948 |
if test -n "$ac_tool_prefix"; then |
| 11949 |
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
| 11950 |
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
| 11951 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 11952 |
printf %s "checking for $ac_word... " >&6; } |
| 11953 |
if test ${ac_cv_prog_OBJDUMP+y} |
| 11954 |
then : |
| 11955 |
printf %s "(cached) " >&6 |
| 11956 |
else case e in #( |
| 11957 |
e) if test -n "$OBJDUMP"; then |
| 11958 |
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
| 11959 |
else |
| 11960 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 11961 |
for as_dir in $PATH |
| 11962 |
do |
| 11963 |
IFS=$as_save_IFS |
| 11964 |
case $as_dir in #((( |
| 11965 |
'') as_dir=./ ;; |
| 11966 |
*/) ;; |
| 11967 |
*) as_dir=$as_dir/ ;; |
| 11968 |
esac |
| 11969 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 11970 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 11971 |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
| 11972 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 11973 |
break 2 |
| 11974 |
fi |
| 11975 |
done |
| 11976 |
done |
| 11977 |
IFS=$as_save_IFS |
| 11978 |
|
| 11979 |
fi ;; |
| 11980 |
esac |
| 11981 |
fi |
| 11982 |
OBJDUMP=$ac_cv_prog_OBJDUMP |
| 11983 |
if test -n "$OBJDUMP"; then |
| 11984 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
| 11985 |
printf "%s\n" "$OBJDUMP" >&6; } |
| 11986 |
else |
| 11987 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 11988 |
printf "%s\n" "no" >&6; } |
| 11989 |
fi |
| 11990 |
|
| 11991 |
|
| 11992 |
fi |
| 11993 |
if test -z "$ac_cv_prog_OBJDUMP"; then |
| 11994 |
ac_ct_OBJDUMP=$OBJDUMP |
| 11995 |
# Extract the first word of "objdump", so it can be a program name with args. |
| 11996 |
set dummy objdump; ac_word=$2 |
| 11997 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 11998 |
printf %s "checking for $ac_word... " >&6; } |
| 11999 |
if test ${ac_cv_prog_ac_ct_OBJDUMP+y} |
| 12000 |
then : |
| 12001 |
printf %s "(cached) " >&6 |
| 12002 |
else case e in #( |
| 12003 |
e) if test -n "$ac_ct_OBJDUMP"; then |
| 12004 |
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
| 12005 |
else |
| 12006 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12007 |
for as_dir in $PATH |
| 12008 |
do |
| 12009 |
IFS=$as_save_IFS |
| 12010 |
case $as_dir in #((( |
| 12011 |
'') as_dir=./ ;; |
| 12012 |
*/) ;; |
| 12013 |
*) as_dir=$as_dir/ ;; |
| 12014 |
esac |
| 12015 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 12016 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12017 |
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
| 12018 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12019 |
break 2 |
| 12020 |
fi |
| 12021 |
done |
| 12022 |
done |
| 12023 |
IFS=$as_save_IFS |
| 12024 |
|
| 12025 |
fi ;; |
| 12026 |
esac |
| 12027 |
fi |
| 12028 |
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
| 12029 |
if test -n "$ac_ct_OBJDUMP"; then |
| 12030 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
| 12031 |
printf "%s\n" "$ac_ct_OBJDUMP" >&6; } |
| 12032 |
else |
| 12033 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12034 |
printf "%s\n" "no" >&6; } |
| 12035 |
fi |
| 12036 |
|
| 12037 |
if test "x$ac_ct_OBJDUMP" = x; then |
| 12038 |
OBJDUMP="false" |
| 12039 |
else |
| 12040 |
case $cross_compiling:$ac_tool_warned in |
| 12041 |
yes:) |
| 12042 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 12043 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 12044 |
ac_tool_warned=yes ;; |
| 12045 |
esac |
| 12046 |
OBJDUMP=$ac_ct_OBJDUMP |
| 12047 |
fi |
| 12048 |
else |
| 12049 |
OBJDUMP="$ac_cv_prog_OBJDUMP" |
| 12050 |
fi |
| 12051 |
|
| 12052 |
test -z "$OBJDUMP" && OBJDUMP=objdump |
| 12053 |
|
| 12054 |
|
| 12055 |
|
| 12056 |
|
| 12057 |
|
| 12058 |
|
| 12059 |
|
| 12060 |
|
| 12061 |
|
| 12062 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
| 12063 |
printf %s "checking how to recognize dependent libraries... " >&6; } |
| 12064 |
if test ${lt_cv_deplibs_check_method+y} |
| 12065 |
then : |
| 12066 |
printf %s "(cached) " >&6 |
| 12067 |
else case e in #( |
| 12068 |
e) lt_cv_file_magic_cmd='$MAGIC_CMD' |
| 12069 |
lt_cv_file_magic_test_file= |
| 12070 |
lt_cv_deplibs_check_method='unknown' |
| 12071 |
# Need to set the preceding variable on all platforms that support |
| 12072 |
# interlibrary dependencies. |
| 12073 |
# 'none' -- dependencies not supported. |
| 12074 |
# 'unknown' -- same as none, but documents that we really don't know. |
| 12075 |
# 'pass_all' -- all dependencies passed with no checks. |
| 12076 |
# 'file_magic [[regex]]' -- check by looking for files in library path |
| 12077 |
# that responds to the $file_magic_cmd with a given extended regex. |
| 12078 |
# If you have 'file' or equivalent on your system and you're not sure |
| 12079 |
# whether 'pass_all' will *always* work, you probably want this one. |
| 12080 |
|
| 12081 |
case $host_os in |
| 12082 |
aix[4-9]*) |
| 12083 |
lt_cv_deplibs_check_method=pass_all |
| 12084 |
;; |
| 12085 |
|
| 12086 |
beos*) |
| 12087 |
lt_cv_deplibs_check_method=pass_all |
| 12088 |
;; |
| 12089 |
|
| 12090 |
bsdi[45]*) |
| 12091 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
| 12092 |
lt_cv_file_magic_cmd='$FILECMD -L' |
| 12093 |
lt_cv_file_magic_test_file=/shlib/libc.so |
| 12094 |
;; |
| 12095 |
|
| 12096 |
cygwin*) |
| 12097 |
# func_win32_libid is a shell function defined in ltmain.sh |
| 12098 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 12099 |
lt_cv_file_magic_cmd='func_win32_libid' |
| 12100 |
;; |
| 12101 |
|
| 12102 |
mingw* | windows* | pw32*) |
| 12103 |
# Base MSYS/MinGW do not provide the 'file' command needed by |
| 12104 |
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
| 12105 |
# unless we find 'file', for example because we are cross-compiling. |
| 12106 |
if ( file / ) >/dev/null 2>&1; then |
| 12107 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 12108 |
lt_cv_file_magic_cmd='func_win32_libid' |
| 12109 |
else |
| 12110 |
# Keep this pattern in sync with the one in func_win32_libid. |
| 12111 |
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)' |
| 12112 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 12113 |
fi |
| 12114 |
;; |
| 12115 |
|
| 12116 |
cegcc*) |
| 12117 |
# use the weaker test based on 'objdump'. See mingw*. |
| 12118 |
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
| 12119 |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 12120 |
;; |
| 12121 |
|
| 12122 |
darwin* | rhapsody*) |
| 12123 |
lt_cv_deplibs_check_method=pass_all |
| 12124 |
;; |
| 12125 |
|
| 12126 |
freebsd* | dragonfly* | midnightbsd*) |
| 12127 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
| 12128 |
case $host_cpu in |
| 12129 |
i*86 ) |
| 12130 |
# Not sure whether the presence of OpenBSD here was a mistake. |
| 12131 |
# Let's accept both of them until this is cleared up. |
| 12132 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
| 12133 |
lt_cv_file_magic_cmd=$FILECMD |
| 12134 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
| 12135 |
;; |
| 12136 |
esac |
| 12137 |
else |
| 12138 |
lt_cv_deplibs_check_method=pass_all |
| 12139 |
fi |
| 12140 |
;; |
| 12141 |
|
| 12142 |
haiku*) |
| 12143 |
lt_cv_deplibs_check_method=pass_all |
| 12144 |
;; |
| 12145 |
|
| 12146 |
hpux10.20* | hpux11*) |
| 12147 |
lt_cv_file_magic_cmd=$FILECMD |
| 12148 |
case $host_cpu in |
| 12149 |
ia64*) |
| 12150 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
| 12151 |
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
| 12152 |
;; |
| 12153 |
hppa*64*) |
| 12154 |
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]' |
| 12155 |
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
| 12156 |
;; |
| 12157 |
*) |
| 12158 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' |
| 12159 |
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
| 12160 |
;; |
| 12161 |
esac |
| 12162 |
;; |
| 12163 |
|
| 12164 |
interix[3-9]*) |
| 12165 |
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
| 12166 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
| 12167 |
;; |
| 12168 |
|
| 12169 |
irix5* | irix6* | nonstopux*) |
| 12170 |
case $LD in |
| 12171 |
*-32|*"-32 ") libmagic=32-bit;; |
| 12172 |
*-n32|*"-n32 ") libmagic=N32;; |
| 12173 |
*-64|*"-64 ") libmagic=64-bit;; |
| 12174 |
*) libmagic=never-match;; |
| 12175 |
esac |
| 12176 |
lt_cv_deplibs_check_method=pass_all |
| 12177 |
;; |
| 12178 |
|
| 12179 |
# This must be glibc/ELF. |
| 12180 |
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 12181 |
lt_cv_deplibs_check_method=pass_all |
| 12182 |
;; |
| 12183 |
|
| 12184 |
*-mlibc) |
| 12185 |
lt_cv_deplibs_check_method=pass_all |
| 12186 |
;; |
| 12187 |
|
| 12188 |
netbsd* | netbsdelf*-gnu) |
| 12189 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
| 12190 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
| 12191 |
else |
| 12192 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
| 12193 |
fi |
| 12194 |
;; |
| 12195 |
|
| 12196 |
newos6*) |
| 12197 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
| 12198 |
lt_cv_file_magic_cmd=$FILECMD |
| 12199 |
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
| 12200 |
;; |
| 12201 |
|
| 12202 |
*nto* | *qnx*) |
| 12203 |
lt_cv_deplibs_check_method=pass_all |
| 12204 |
;; |
| 12205 |
|
| 12206 |
openbsd*) |
| 12207 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 12208 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
| 12209 |
else |
| 12210 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
| 12211 |
fi |
| 12212 |
;; |
| 12213 |
|
| 12214 |
osf3* | osf4* | osf5*) |
| 12215 |
lt_cv_deplibs_check_method=pass_all |
| 12216 |
;; |
| 12217 |
|
| 12218 |
rdos*) |
| 12219 |
lt_cv_deplibs_check_method=pass_all |
| 12220 |
;; |
| 12221 |
|
| 12222 |
serenity*) |
| 12223 |
lt_cv_deplibs_check_method=pass_all |
| 12224 |
;; |
| 12225 |
|
| 12226 |
solaris*) |
| 12227 |
lt_cv_deplibs_check_method=pass_all |
| 12228 |
;; |
| 12229 |
|
| 12230 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 12231 |
lt_cv_deplibs_check_method=pass_all |
| 12232 |
;; |
| 12233 |
|
| 12234 |
sysv4 | sysv4.3*) |
| 12235 |
case $host_vendor in |
| 12236 |
motorola) |
| 12237 |
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]' |
| 12238 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
| 12239 |
;; |
| 12240 |
ncr) |
| 12241 |
lt_cv_deplibs_check_method=pass_all |
| 12242 |
;; |
| 12243 |
sequent) |
| 12244 |
lt_cv_file_magic_cmd='/bin/file' |
| 12245 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' |
| 12246 |
;; |
| 12247 |
sni) |
| 12248 |
lt_cv_file_magic_cmd='/bin/file' |
| 12249 |
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |
| 12250 |
lt_cv_file_magic_test_file=/lib/libc.so |
| 12251 |
;; |
| 12252 |
siemens) |
| 12253 |
lt_cv_deplibs_check_method=pass_all |
| 12254 |
;; |
| 12255 |
pc) |
| 12256 |
lt_cv_deplibs_check_method=pass_all |
| 12257 |
;; |
| 12258 |
esac |
| 12259 |
;; |
| 12260 |
|
| 12261 |
tpf*) |
| 12262 |
lt_cv_deplibs_check_method=pass_all |
| 12263 |
;; |
| 12264 |
os2*) |
| 12265 |
lt_cv_deplibs_check_method=pass_all |
| 12266 |
;; |
| 12267 |
esac |
| 12268 |
;; |
| 12269 |
esac |
| 12270 |
fi |
| 12271 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
| 12272 |
printf "%s\n" "$lt_cv_deplibs_check_method" >&6; } |
| 12273 |
|
| 12274 |
file_magic_glob= |
| 12275 |
want_nocaseglob=no |
| 12276 |
if test "$build" = "$host"; then |
| 12277 |
case $host_os in |
| 12278 |
mingw* | windows* | pw32*) |
| 12279 |
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
| 12280 |
want_nocaseglob=yes |
| 12281 |
else |
| 12282 |
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
| 12283 |
fi |
| 12284 |
;; |
| 12285 |
esac |
| 12286 |
fi |
| 12287 |
|
| 12288 |
file_magic_cmd=$lt_cv_file_magic_cmd |
| 12289 |
deplibs_check_method=$lt_cv_deplibs_check_method |
| 12290 |
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
| 12291 |
|
| 12292 |
|
| 12293 |
|
| 12294 |
|
| 12295 |
|
| 12296 |
|
| 12297 |
|
| 12298 |
|
| 12299 |
|
| 12300 |
|
| 12301 |
|
| 12302 |
|
| 12303 |
|
| 12304 |
|
| 12305 |
|
| 12306 |
|
| 12307 |
|
| 12308 |
|
| 12309 |
|
| 12310 |
|
| 12311 |
|
| 12312 |
|
| 12313 |
if test -n "$ac_tool_prefix"; then |
| 12314 |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
| 12315 |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
| 12316 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12317 |
printf %s "checking for $ac_word... " >&6; } |
| 12318 |
if test ${ac_cv_prog_DLLTOOL+y} |
| 12319 |
then : |
| 12320 |
printf %s "(cached) " >&6 |
| 12321 |
else case e in #( |
| 12322 |
e) if test -n "$DLLTOOL"; then |
| 12323 |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
| 12324 |
else |
| 12325 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12326 |
for as_dir in $PATH |
| 12327 |
do |
| 12328 |
IFS=$as_save_IFS |
| 12329 |
case $as_dir in #((( |
| 12330 |
'') as_dir=./ ;; |
| 12331 |
*/) ;; |
| 12332 |
*) as_dir=$as_dir/ ;; |
| 12333 |
esac |
| 12334 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 12335 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12336 |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
| 12337 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12338 |
break 2 |
| 12339 |
fi |
| 12340 |
done |
| 12341 |
done |
| 12342 |
IFS=$as_save_IFS |
| 12343 |
|
| 12344 |
fi ;; |
| 12345 |
esac |
| 12346 |
fi |
| 12347 |
DLLTOOL=$ac_cv_prog_DLLTOOL |
| 12348 |
if test -n "$DLLTOOL"; then |
| 12349 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
| 12350 |
printf "%s\n" "$DLLTOOL" >&6; } |
| 12351 |
else |
| 12352 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12353 |
printf "%s\n" "no" >&6; } |
| 12354 |
fi |
| 12355 |
|
| 12356 |
|
| 12357 |
fi |
| 12358 |
if test -z "$ac_cv_prog_DLLTOOL"; then |
| 12359 |
ac_ct_DLLTOOL=$DLLTOOL |
| 12360 |
# Extract the first word of "dlltool", so it can be a program name with args. |
| 12361 |
set dummy dlltool; ac_word=$2 |
| 12362 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12363 |
printf %s "checking for $ac_word... " >&6; } |
| 12364 |
if test ${ac_cv_prog_ac_ct_DLLTOOL+y} |
| 12365 |
then : |
| 12366 |
printf %s "(cached) " >&6 |
| 12367 |
else case e in #( |
| 12368 |
e) if test -n "$ac_ct_DLLTOOL"; then |
| 12369 |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
| 12370 |
else |
| 12371 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12372 |
for as_dir in $PATH |
| 12373 |
do |
| 12374 |
IFS=$as_save_IFS |
| 12375 |
case $as_dir in #((( |
| 12376 |
'') as_dir=./ ;; |
| 12377 |
*/) ;; |
| 12378 |
*) as_dir=$as_dir/ ;; |
| 12379 |
esac |
| 12380 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 12381 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12382 |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
| 12383 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12384 |
break 2 |
| 12385 |
fi |
| 12386 |
done |
| 12387 |
done |
| 12388 |
IFS=$as_save_IFS |
| 12389 |
|
| 12390 |
fi ;; |
| 12391 |
esac |
| 12392 |
fi |
| 12393 |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
| 12394 |
if test -n "$ac_ct_DLLTOOL"; then |
| 12395 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
| 12396 |
printf "%s\n" "$ac_ct_DLLTOOL" >&6; } |
| 12397 |
else |
| 12398 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12399 |
printf "%s\n" "no" >&6; } |
| 12400 |
fi |
| 12401 |
|
| 12402 |
if test "x$ac_ct_DLLTOOL" = x; then |
| 12403 |
DLLTOOL="false" |
| 12404 |
else |
| 12405 |
case $cross_compiling:$ac_tool_warned in |
| 12406 |
yes:) |
| 12407 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 12408 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 12409 |
ac_tool_warned=yes ;; |
| 12410 |
esac |
| 12411 |
DLLTOOL=$ac_ct_DLLTOOL |
| 12412 |
fi |
| 12413 |
else |
| 12414 |
DLLTOOL="$ac_cv_prog_DLLTOOL" |
| 12415 |
fi |
| 12416 |
|
| 12417 |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
| 12418 |
|
| 12419 |
|
| 12420 |
|
| 12421 |
|
| 12422 |
|
| 12423 |
|
| 12424 |
|
| 12425 |
|
| 12426 |
|
| 12427 |
|
| 12428 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
| 12429 |
printf %s "checking how to associate runtime and link libraries... " >&6; } |
| 12430 |
if test ${lt_cv_sharedlib_from_linklib_cmd+y} |
| 12431 |
then : |
| 12432 |
printf %s "(cached) " >&6 |
| 12433 |
else case e in #( |
| 12434 |
e) lt_cv_sharedlib_from_linklib_cmd='unknown' |
| 12435 |
|
| 12436 |
case $host_os in |
| 12437 |
cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 12438 |
# two different shell functions defined in ltmain.sh; |
| 12439 |
# decide which one to use based on capabilities of $DLLTOOL |
| 12440 |
case `$DLLTOOL --help 2>&1` in |
| 12441 |
*--identify-strict*) |
| 12442 |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
| 12443 |
;; |
| 12444 |
*) |
| 12445 |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
| 12446 |
;; |
| 12447 |
esac |
| 12448 |
;; |
| 12449 |
*) |
| 12450 |
# fallback: assume linklib IS sharedlib |
| 12451 |
lt_cv_sharedlib_from_linklib_cmd=$ECHO |
| 12452 |
;; |
| 12453 |
esac |
| 12454 |
;; |
| 12455 |
esac |
| 12456 |
fi |
| 12457 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
| 12458 |
printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
| 12459 |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
| 12460 |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
| 12461 |
|
| 12462 |
|
| 12463 |
|
| 12464 |
|
| 12465 |
|
| 12466 |
|
| 12467 |
|
| 12468 |
if test -n "$ac_tool_prefix"; then |
| 12469 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 12470 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 12471 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12472 |
printf %s "checking for $ac_word... " >&6; } |
| 12473 |
if test ${ac_cv_prog_RANLIB+y} |
| 12474 |
then : |
| 12475 |
printf %s "(cached) " >&6 |
| 12476 |
else case e in #( |
| 12477 |
e) if test -n "$RANLIB"; then |
| 12478 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 12479 |
else |
| 12480 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12481 |
for as_dir in $PATH |
| 12482 |
do |
| 12483 |
IFS=$as_save_IFS |
| 12484 |
case $as_dir in #((( |
| 12485 |
'') as_dir=./ ;; |
| 12486 |
*/) ;; |
| 12487 |
*) as_dir=$as_dir/ ;; |
| 12488 |
esac |
| 12489 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 12490 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12491 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 12492 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12493 |
break 2 |
| 12494 |
fi |
| 12495 |
done |
| 12496 |
done |
| 12497 |
IFS=$as_save_IFS |
| 12498 |
|
| 12499 |
fi ;; |
| 12500 |
esac |
| 12501 |
fi |
| 12502 |
RANLIB=$ac_cv_prog_RANLIB |
| 12503 |
if test -n "$RANLIB"; then |
| 12504 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
| 12505 |
printf "%s\n" "$RANLIB" >&6; } |
| 12506 |
else |
| 12507 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12508 |
printf "%s\n" "no" >&6; } |
| 12509 |
fi |
| 12510 |
|
| 12511 |
|
| 12512 |
fi |
| 12513 |
if test -z "$ac_cv_prog_RANLIB"; then |
| 12514 |
ac_ct_RANLIB=$RANLIB |
| 12515 |
# Extract the first word of "ranlib", so it can be a program name with args. |
| 12516 |
set dummy ranlib; ac_word=$2 |
| 12517 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12518 |
printf %s "checking for $ac_word... " >&6; } |
| 12519 |
if test ${ac_cv_prog_ac_ct_RANLIB+y} |
| 12520 |
then : |
| 12521 |
printf %s "(cached) " >&6 |
| 12522 |
else case e in #( |
| 12523 |
e) if test -n "$ac_ct_RANLIB"; then |
| 12524 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
| 12525 |
else |
| 12526 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12527 |
for as_dir in $PATH |
| 12528 |
do |
| 12529 |
IFS=$as_save_IFS |
| 12530 |
case $as_dir in #((( |
| 12531 |
'') as_dir=./ ;; |
| 12532 |
*/) ;; |
| 12533 |
*) as_dir=$as_dir/ ;; |
| 12534 |
esac |
| 12535 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 12536 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12537 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 12538 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12539 |
break 2 |
| 12540 |
fi |
| 12541 |
done |
| 12542 |
done |
| 12543 |
IFS=$as_save_IFS |
| 12544 |
|
| 12545 |
fi ;; |
| 12546 |
esac |
| 12547 |
fi |
| 12548 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 12549 |
if test -n "$ac_ct_RANLIB"; then |
| 12550 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
| 12551 |
printf "%s\n" "$ac_ct_RANLIB" >&6; } |
| 12552 |
else |
| 12553 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12554 |
printf "%s\n" "no" >&6; } |
| 12555 |
fi |
| 12556 |
|
| 12557 |
if test "x$ac_ct_RANLIB" = x; then |
| 12558 |
RANLIB=":" |
| 12559 |
else |
| 12560 |
case $cross_compiling:$ac_tool_warned in |
| 12561 |
yes:) |
| 12562 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 12563 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 12564 |
ac_tool_warned=yes ;; |
| 12565 |
esac |
| 12566 |
RANLIB=$ac_ct_RANLIB |
| 12567 |
fi |
| 12568 |
else |
| 12569 |
RANLIB="$ac_cv_prog_RANLIB" |
| 12570 |
fi |
| 12571 |
|
| 12572 |
if test -n "$ac_tool_prefix"; then |
| 12573 |
for ac_prog in ar |
| 12574 |
do |
| 12575 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 12576 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 12577 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12578 |
printf %s "checking for $ac_word... " >&6; } |
| 12579 |
if test ${ac_cv_prog_AR+y} |
| 12580 |
then : |
| 12581 |
printf %s "(cached) " >&6 |
| 12582 |
else case e in #( |
| 12583 |
e) if test -n "$AR"; then |
| 12584 |
ac_cv_prog_AR="$AR" # Let the user override the test. |
| 12585 |
else |
| 12586 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12587 |
for as_dir in $PATH |
| 12588 |
do |
| 12589 |
IFS=$as_save_IFS |
| 12590 |
case $as_dir in #((( |
| 12591 |
'') as_dir=./ ;; |
| 12592 |
*/) ;; |
| 12593 |
*) as_dir=$as_dir/ ;; |
| 12594 |
esac |
| 12595 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 12596 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12597 |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
| 12598 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12599 |
break 2 |
| 12600 |
fi |
| 12601 |
done |
| 12602 |
done |
| 12603 |
IFS=$as_save_IFS |
| 12604 |
|
| 12605 |
fi ;; |
| 12606 |
esac |
| 12607 |
fi |
| 12608 |
AR=$ac_cv_prog_AR |
| 12609 |
if test -n "$AR"; then |
| 12610 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
| 12611 |
printf "%s\n" "$AR" >&6; } |
| 12612 |
else |
| 12613 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12614 |
printf "%s\n" "no" >&6; } |
| 12615 |
fi |
| 12616 |
|
| 12617 |
|
| 12618 |
test -n "$AR" && break |
| 12619 |
done |
| 12620 |
fi |
| 12621 |
if test -z "$AR"; then |
| 12622 |
ac_ct_AR=$AR |
| 12623 |
for ac_prog in ar |
| 12624 |
do |
| 12625 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 12626 |
set dummy $ac_prog; ac_word=$2 |
| 12627 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12628 |
printf %s "checking for $ac_word... " >&6; } |
| 12629 |
if test ${ac_cv_prog_ac_ct_AR+y} |
| 12630 |
then : |
| 12631 |
printf %s "(cached) " >&6 |
| 12632 |
else case e in #( |
| 12633 |
e) if test -n "$ac_ct_AR"; then |
| 12634 |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
| 12635 |
else |
| 12636 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12637 |
for as_dir in $PATH |
| 12638 |
do |
| 12639 |
IFS=$as_save_IFS |
| 12640 |
case $as_dir in #((( |
| 12641 |
'') as_dir=./ ;; |
| 12642 |
*/) ;; |
| 12643 |
*) as_dir=$as_dir/ ;; |
| 12644 |
esac |
| 12645 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 12646 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12647 |
ac_cv_prog_ac_ct_AR="$ac_prog" |
| 12648 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12649 |
break 2 |
| 12650 |
fi |
| 12651 |
done |
| 12652 |
done |
| 12653 |
IFS=$as_save_IFS |
| 12654 |
|
| 12655 |
fi ;; |
| 12656 |
esac |
| 12657 |
fi |
| 12658 |
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
| 12659 |
if test -n "$ac_ct_AR"; then |
| 12660 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
| 12661 |
printf "%s\n" "$ac_ct_AR" >&6; } |
| 12662 |
else |
| 12663 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12664 |
printf "%s\n" "no" >&6; } |
| 12665 |
fi |
| 12666 |
|
| 12667 |
|
| 12668 |
test -n "$ac_ct_AR" && break |
| 12669 |
done |
| 12670 |
|
| 12671 |
if test "x$ac_ct_AR" = x; then |
| 12672 |
AR="false" |
| 12673 |
else |
| 12674 |
case $cross_compiling:$ac_tool_warned in |
| 12675 |
yes:) |
| 12676 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 12677 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 12678 |
ac_tool_warned=yes ;; |
| 12679 |
esac |
| 12680 |
AR=$ac_ct_AR |
| 12681 |
fi |
| 12682 |
fi |
| 12683 |
|
| 12684 |
: ${AR=ar} |
| 12685 |
|
| 12686 |
|
| 12687 |
|
| 12688 |
|
| 12689 |
|
| 12690 |
|
| 12691 |
# Use ARFLAGS variable as AR's operation code to sync the variable naming with |
| 12692 |
# Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have |
| 12693 |
# higher priority because that's what people were doing historically (setting |
| 12694 |
# ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS |
| 12695 |
# variable obsoleted/removed. |
| 12696 |
|
| 12697 |
test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr} |
| 12698 |
lt_ar_flags=$AR_FLAGS |
| 12699 |
|
| 12700 |
|
| 12701 |
|
| 12702 |
|
| 12703 |
|
| 12704 |
|
| 12705 |
# Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override |
| 12706 |
# by AR_FLAGS because that was never working and AR_FLAGS is about to die. |
| 12707 |
|
| 12708 |
|
| 12709 |
|
| 12710 |
|
| 12711 |
|
| 12712 |
|
| 12713 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
| 12714 |
printf %s "checking for archiver @FILE support... " >&6; } |
| 12715 |
if test ${lt_cv_ar_at_file+y} |
| 12716 |
then : |
| 12717 |
printf %s "(cached) " >&6 |
| 12718 |
else case e in #( |
| 12719 |
e) lt_cv_ar_at_file=no |
| 12720 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12721 |
/* end confdefs.h. */ |
| 12722 |
|
| 12723 |
int |
| 12724 |
main (void) |
| 12725 |
{ |
| 12726 |
|
| 12727 |
; |
| 12728 |
return 0; |
| 12729 |
} |
| 12730 |
_ACEOF |
| 12731 |
if ac_fn_c_try_compile "$LINENO" |
| 12732 |
then : |
| 12733 |
echo conftest.$ac_objext > conftest.lst |
| 12734 |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
| 12735 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 12736 |
(eval $lt_ar_try) 2>&5 |
| 12737 |
ac_status=$? |
| 12738 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12739 |
test $ac_status = 0; } |
| 12740 |
if test 0 -eq "$ac_status"; then |
| 12741 |
# Ensure the archiver fails upon bogus file names. |
| 12742 |
rm -f conftest.$ac_objext libconftest.a |
| 12743 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 12744 |
(eval $lt_ar_try) 2>&5 |
| 12745 |
ac_status=$? |
| 12746 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12747 |
test $ac_status = 0; } |
| 12748 |
if test 0 -ne "$ac_status"; then |
| 12749 |
lt_cv_ar_at_file=@ |
| 12750 |
fi |
| 12751 |
fi |
| 12752 |
rm -f conftest.* libconftest.a |
| 12753 |
|
| 12754 |
fi |
| 12755 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 12756 |
;; |
| 12757 |
esac |
| 12758 |
fi |
| 12759 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
| 12760 |
printf "%s\n" "$lt_cv_ar_at_file" >&6; } |
| 12761 |
|
| 12762 |
if test no = "$lt_cv_ar_at_file"; then |
| 12763 |
archiver_list_spec= |
| 12764 |
else |
| 12765 |
archiver_list_spec=$lt_cv_ar_at_file |
| 12766 |
fi |
| 12767 |
|
| 12768 |
|
| 12769 |
|
| 12770 |
|
| 12771 |
|
| 12772 |
|
| 12773 |
|
| 12774 |
if test -n "$ac_tool_prefix"; then |
| 12775 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 12776 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 12777 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12778 |
printf %s "checking for $ac_word... " >&6; } |
| 12779 |
if test ${ac_cv_prog_STRIP+y} |
| 12780 |
then : |
| 12781 |
printf %s "(cached) " >&6 |
| 12782 |
else case e in #( |
| 12783 |
e) if test -n "$STRIP"; then |
| 12784 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 12785 |
else |
| 12786 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12787 |
for as_dir in $PATH |
| 12788 |
do |
| 12789 |
IFS=$as_save_IFS |
| 12790 |
case $as_dir in #((( |
| 12791 |
'') as_dir=./ ;; |
| 12792 |
*/) ;; |
| 12793 |
*) as_dir=$as_dir/ ;; |
| 12794 |
esac |
| 12795 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 12796 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12797 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 12798 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12799 |
break 2 |
| 12800 |
fi |
| 12801 |
done |
| 12802 |
done |
| 12803 |
IFS=$as_save_IFS |
| 12804 |
|
| 12805 |
fi ;; |
| 12806 |
esac |
| 12807 |
fi |
| 12808 |
STRIP=$ac_cv_prog_STRIP |
| 12809 |
if test -n "$STRIP"; then |
| 12810 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 12811 |
printf "%s\n" "$STRIP" >&6; } |
| 12812 |
else |
| 12813 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12814 |
printf "%s\n" "no" >&6; } |
| 12815 |
fi |
| 12816 |
|
| 12817 |
|
| 12818 |
fi |
| 12819 |
if test -z "$ac_cv_prog_STRIP"; then |
| 12820 |
ac_ct_STRIP=$STRIP |
| 12821 |
# Extract the first word of "strip", so it can be a program name with args. |
| 12822 |
set dummy strip; ac_word=$2 |
| 12823 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 12824 |
printf %s "checking for $ac_word... " >&6; } |
| 12825 |
if test ${ac_cv_prog_ac_ct_STRIP+y} |
| 12826 |
then : |
| 12827 |
printf %s "(cached) " >&6 |
| 12828 |
else case e in #( |
| 12829 |
e) if test -n "$ac_ct_STRIP"; then |
| 12830 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 12831 |
else |
| 12832 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 12833 |
for as_dir in $PATH |
| 12834 |
do |
| 12835 |
IFS=$as_save_IFS |
| 12836 |
case $as_dir in #((( |
| 12837 |
'') as_dir=./ ;; |
| 12838 |
*/) ;; |
| 12839 |
*) as_dir=$as_dir/ ;; |
| 12840 |
esac |
| 12841 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 12842 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 12843 |
ac_cv_prog_ac_ct_STRIP="strip" |
| 12844 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 12845 |
break 2 |
| 12846 |
fi |
| 12847 |
done |
| 12848 |
done |
| 12849 |
IFS=$as_save_IFS |
| 12850 |
|
| 12851 |
fi ;; |
| 12852 |
esac |
| 12853 |
fi |
| 12854 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 12855 |
if test -n "$ac_ct_STRIP"; then |
| 12856 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 12857 |
printf "%s\n" "$ac_ct_STRIP" >&6; } |
| 12858 |
else |
| 12859 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12860 |
printf "%s\n" "no" >&6; } |
| 12861 |
fi |
| 12862 |
|
| 12863 |
if test "x$ac_ct_STRIP" = x; then |
| 12864 |
STRIP=":" |
| 12865 |
else |
| 12866 |
case $cross_compiling:$ac_tool_warned in |
| 12867 |
yes:) |
| 12868 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 12869 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 12870 |
ac_tool_warned=yes ;; |
| 12871 |
esac |
| 12872 |
STRIP=$ac_ct_STRIP |
| 12873 |
fi |
| 12874 |
else |
| 12875 |
STRIP="$ac_cv_prog_STRIP" |
| 12876 |
fi |
| 12877 |
|
| 12878 |
test -z "$STRIP" && STRIP=: |
| 12879 |
|
| 12880 |
|
| 12881 |
|
| 12882 |
|
| 12883 |
|
| 12884 |
|
| 12885 |
|
| 12886 |
test -z "$RANLIB" && RANLIB=: |
| 12887 |
|
| 12888 |
|
| 12889 |
|
| 12890 |
|
| 12891 |
|
| 12892 |
|
| 12893 |
# Determine commands to create old-style static archives. |
| 12894 |
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
| 12895 |
old_postinstall_cmds='chmod 644 $oldlib' |
| 12896 |
old_postuninstall_cmds= |
| 12897 |
|
| 12898 |
if test -n "$RANLIB"; then |
| 12899 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
| 12900 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
| 12901 |
fi |
| 12902 |
|
| 12903 |
case $host_os in |
| 12904 |
darwin*) |
| 12905 |
lock_old_archive_extraction=yes ;; |
| 12906 |
*) |
| 12907 |
lock_old_archive_extraction=no ;; |
| 12908 |
esac |
| 12909 |
|
| 12910 |
|
| 12911 |
|
| 12912 |
|
| 12913 |
|
| 12914 |
|
| 12915 |
|
| 12916 |
|
| 12917 |
|
| 12918 |
|
| 12919 |
|
| 12920 |
|
| 12921 |
|
| 12922 |
|
| 12923 |
|
| 12924 |
|
| 12925 |
|
| 12926 |
|
| 12927 |
|
| 12928 |
|
| 12929 |
|
| 12930 |
|
| 12931 |
|
| 12932 |
|
| 12933 |
|
| 12934 |
|
| 12935 |
|
| 12936 |
|
| 12937 |
|
| 12938 |
|
| 12939 |
|
| 12940 |
|
| 12941 |
|
| 12942 |
|
| 12943 |
|
| 12944 |
|
| 12945 |
|
| 12946 |
|
| 12947 |
|
| 12948 |
# If no C compiler was specified, use CC. |
| 12949 |
LTCC=${LTCC-"$CC"} |
| 12950 |
|
| 12951 |
# If no C compiler flags were specified, use CFLAGS. |
| 12952 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
| 12953 |
|
| 12954 |
# Allow CC to be a program name with arguments. |
| 12955 |
compiler=$CC |
| 12956 |
|
| 12957 |
|
| 12958 |
# Check for command to grab the raw symbol name followed by C symbol from nm. |
| 12959 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
| 12960 |
printf %s "checking command to parse $NM output from $compiler object... " >&6; } |
| 12961 |
if test ${lt_cv_sys_global_symbol_pipe+y} |
| 12962 |
then : |
| 12963 |
printf %s "(cached) " >&6 |
| 12964 |
else case e in #( |
| 12965 |
e) |
| 12966 |
# These are sane defaults that work on at least a few old systems. |
| 12967 |
# [They come from Ultrix. What could be older than Ultrix?!! ;)] |
| 12968 |
|
| 12969 |
# Character class describing NM global symbol codes. |
| 12970 |
symcode='[BCDEGRST]' |
| 12971 |
|
| 12972 |
# Regexp to match symbols that can be accessed directly from C. |
| 12973 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
| 12974 |
|
| 12975 |
# Define system-specific variables. |
| 12976 |
case $host_os in |
| 12977 |
aix*) |
| 12978 |
symcode='[BCDT]' |
| 12979 |
;; |
| 12980 |
cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 12981 |
symcode='[ABCDGISTW]' |
| 12982 |
;; |
| 12983 |
hpux*) |
| 12984 |
if test ia64 = "$host_cpu"; then |
| 12985 |
symcode='[ABCDEGRST]' |
| 12986 |
fi |
| 12987 |
;; |
| 12988 |
irix* | nonstopux*) |
| 12989 |
symcode='[BCDEGRST]' |
| 12990 |
;; |
| 12991 |
osf*) |
| 12992 |
symcode='[BCDEGQRST]' |
| 12993 |
;; |
| 12994 |
solaris*) |
| 12995 |
symcode='[BCDRT]' |
| 12996 |
;; |
| 12997 |
sco3.2v5*) |
| 12998 |
symcode='[DT]' |
| 12999 |
;; |
| 13000 |
sysv4.2uw2*) |
| 13001 |
symcode='[DT]' |
| 13002 |
;; |
| 13003 |
sysv5* | sco5v6* | unixware* | OpenUNIX*) |
| 13004 |
symcode='[ABDT]' |
| 13005 |
;; |
| 13006 |
sysv4) |
| 13007 |
symcode='[DFNSTU]' |
| 13008 |
;; |
| 13009 |
esac |
| 13010 |
|
| 13011 |
# If we're using GNU nm, then use its standard symbol codes. |
| 13012 |
case `$NM -V 2>&1` in |
| 13013 |
*GNU* | *'with BFD'*) |
| 13014 |
symcode='[ABCDGIRSTW]' ;; |
| 13015 |
esac |
| 13016 |
|
| 13017 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 13018 |
# Gets list of data symbols to import. |
| 13019 |
lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'" |
| 13020 |
# Adjust the below global symbol transforms to fixup imported variables. |
| 13021 |
lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" |
| 13022 |
lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" |
| 13023 |
lt_c_name_lib_hook="\ |
| 13024 |
-e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ |
| 13025 |
-e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" |
| 13026 |
else |
| 13027 |
# Disable hooks by default. |
| 13028 |
lt_cv_sys_global_symbol_to_import= |
| 13029 |
lt_cdecl_hook= |
| 13030 |
lt_c_name_hook= |
| 13031 |
lt_c_name_lib_hook= |
| 13032 |
fi |
| 13033 |
|
| 13034 |
# Transform an extracted symbol line into a proper C declaration. |
| 13035 |
# Some systems (esp. on ia64) link data and code symbols differently, |
| 13036 |
# so use this general approach. |
| 13037 |
lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ |
| 13038 |
$lt_cdecl_hook\ |
| 13039 |
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ |
| 13040 |
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" |
| 13041 |
|
| 13042 |
# Transform an extracted symbol line into symbol name and symbol address |
| 13043 |
lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\ |
| 13044 |
$lt_c_name_hook\ |
| 13045 |
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
| 13046 |
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" |
| 13047 |
|
| 13048 |
# Transform an extracted symbol line into symbol name with lib prefix and |
| 13049 |
# symbol address. |
| 13050 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\ |
| 13051 |
$lt_c_name_lib_hook\ |
| 13052 |
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
| 13053 |
" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ |
| 13054 |
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" |
| 13055 |
|
| 13056 |
# Handle CRLF in mingw tool chain |
| 13057 |
opt_cr= |
| 13058 |
case $build_os in |
| 13059 |
mingw* | windows*) |
| 13060 |
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
| 13061 |
;; |
| 13062 |
esac |
| 13063 |
|
| 13064 |
# Try without a prefix underscore, then with it. |
| 13065 |
for ac_symprfx in "" "_"; do |
| 13066 |
|
| 13067 |
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
| 13068 |
symxfrm="\\1 $ac_symprfx\\2 \\2" |
| 13069 |
|
| 13070 |
# Write the raw and C identifiers. |
| 13071 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 13072 |
# Fake it for dumpbin and say T for any non-static function, |
| 13073 |
# D for any global variable and I for any imported variable. |
| 13074 |
# Also find C++ and __fastcall symbols from MSVC++ or ICC, |
| 13075 |
# which start with @ or ?. |
| 13076 |
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
| 13077 |
" {last_section=section; section=\$ 3};"\ |
| 13078 |
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
| 13079 |
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
| 13080 |
" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ |
| 13081 |
" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ |
| 13082 |
" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ |
| 13083 |
" \$ 0!~/External *\|/{next};"\ |
| 13084 |
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
| 13085 |
" {if(hide[section]) next};"\ |
| 13086 |
" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ |
| 13087 |
" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ |
| 13088 |
" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ |
| 13089 |
" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ |
| 13090 |
" ' prfx=^$ac_symprfx" |
| 13091 |
else |
| 13092 |
lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
| 13093 |
fi |
| 13094 |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'" |
| 13095 |
|
| 13096 |
# Check to see that the pipe works correctly. |
| 13097 |
pipe_works=no |
| 13098 |
|
| 13099 |
rm -f conftest* |
| 13100 |
cat > conftest.$ac_ext <<_LT_EOF |
| 13101 |
#ifdef __cplusplus |
| 13102 |
extern "C" { |
| 13103 |
#endif |
| 13104 |
char nm_test_var; |
| 13105 |
void nm_test_func(void); |
| 13106 |
void nm_test_func(void){} |
| 13107 |
#ifdef __cplusplus |
| 13108 |
} |
| 13109 |
#endif |
| 13110 |
int main(void){nm_test_var='a';nm_test_func();return(0);} |
| 13111 |
_LT_EOF |
| 13112 |
|
| 13113 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 13114 |
(eval $ac_compile) 2>&5 |
| 13115 |
ac_status=$? |
| 13116 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13117 |
test $ac_status = 0; }; then |
| 13118 |
# Now try to grab the symbols. |
| 13119 |
nlist=conftest.nm |
| 13120 |
$ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 |
| 13121 |
if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then |
| 13122 |
# Try sorting and uniquifying the output. |
| 13123 |
if sort "$nlist" | uniq > "$nlist"T; then |
| 13124 |
mv -f "$nlist"T "$nlist" |
| 13125 |
else |
| 13126 |
rm -f "$nlist"T |
| 13127 |
fi |
| 13128 |
|
| 13129 |
# Make sure that we snagged all the symbols we need. |
| 13130 |
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
| 13131 |
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
| 13132 |
cat <<_LT_EOF > conftest.$ac_ext |
| 13133 |
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
| 13134 |
#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE |
| 13135 |
/* DATA imports from DLLs on WIN32 can't be const, because runtime |
| 13136 |
relocations are performed -- see ld's documentation on pseudo-relocs. */ |
| 13137 |
# define LT_DLSYM_CONST |
| 13138 |
#elif defined __osf__ |
| 13139 |
/* This system does not cope well with relocations in const data. */ |
| 13140 |
# define LT_DLSYM_CONST |
| 13141 |
#else |
| 13142 |
# define LT_DLSYM_CONST const |
| 13143 |
#endif |
| 13144 |
|
| 13145 |
#ifdef __cplusplus |
| 13146 |
extern "C" { |
| 13147 |
#endif |
| 13148 |
|
| 13149 |
_LT_EOF |
| 13150 |
# Now generate the symbol file. |
| 13151 |
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' |
| 13152 |
|
| 13153 |
cat <<_LT_EOF >> conftest.$ac_ext |
| 13154 |
|
| 13155 |
/* The mapping between symbol names and symbols. */ |
| 13156 |
LT_DLSYM_CONST struct { |
| 13157 |
const char *name; |
| 13158 |
void *address; |
| 13159 |
} |
| 13160 |
lt__PROGRAM__LTX_preloaded_symbols[] = |
| 13161 |
{ |
| 13162 |
{ "@PROGRAM@", (void *) 0 }, |
| 13163 |
_LT_EOF |
| 13164 |
$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
| 13165 |
cat <<\_LT_EOF >> conftest.$ac_ext |
| 13166 |
{0, (void *) 0} |
| 13167 |
}; |
| 13168 |
|
| 13169 |
/* This works around a problem in FreeBSD linker */ |
| 13170 |
#ifdef FREEBSD_WORKAROUND |
| 13171 |
static const void *lt_preloaded_setup() { |
| 13172 |
return lt__PROGRAM__LTX_preloaded_symbols; |
| 13173 |
} |
| 13174 |
#endif |
| 13175 |
|
| 13176 |
#ifdef __cplusplus |
| 13177 |
} |
| 13178 |
#endif |
| 13179 |
_LT_EOF |
| 13180 |
# Now try linking the two files. |
| 13181 |
mv conftest.$ac_objext conftstm.$ac_objext |
| 13182 |
lt_globsym_save_LIBS=$LIBS |
| 13183 |
lt_globsym_save_CFLAGS=$CFLAGS |
| 13184 |
LIBS=conftstm.$ac_objext |
| 13185 |
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
| 13186 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 13187 |
(eval $ac_link) 2>&5 |
| 13188 |
ac_status=$? |
| 13189 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13190 |
test $ac_status = 0; } && test -s conftest$ac_exeext; then |
| 13191 |
pipe_works=yes |
| 13192 |
fi |
| 13193 |
LIBS=$lt_globsym_save_LIBS |
| 13194 |
CFLAGS=$lt_globsym_save_CFLAGS |
| 13195 |
else |
| 13196 |
echo "cannot find nm_test_func in $nlist" >&5 |
| 13197 |
fi |
| 13198 |
else |
| 13199 |
echo "cannot find nm_test_var in $nlist" >&5 |
| 13200 |
fi |
| 13201 |
else |
| 13202 |
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
| 13203 |
fi |
| 13204 |
else |
| 13205 |
echo "$progname: failed program was:" >&5 |
| 13206 |
cat conftest.$ac_ext >&5 |
| 13207 |
fi |
| 13208 |
rm -rf conftest* conftst* |
| 13209 |
|
| 13210 |
# Do not use the global_symbol_pipe unless it works. |
| 13211 |
if test yes = "$pipe_works"; then |
| 13212 |
break |
| 13213 |
else |
| 13214 |
lt_cv_sys_global_symbol_pipe= |
| 13215 |
fi |
| 13216 |
done |
| 13217 |
;; |
| 13218 |
esac |
| 13219 |
fi |
| 13220 |
|
| 13221 |
if test -z "$lt_cv_sys_global_symbol_pipe"; then |
| 13222 |
lt_cv_sys_global_symbol_to_cdecl= |
| 13223 |
fi |
| 13224 |
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
| 13225 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
| 13226 |
printf "%s\n" "failed" >&6; } |
| 13227 |
else |
| 13228 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
| 13229 |
printf "%s\n" "ok" >&6; } |
| 13230 |
fi |
| 13231 |
|
| 13232 |
# Response file support. |
| 13233 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 13234 |
nm_file_list_spec='@' |
| 13235 |
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
| 13236 |
nm_file_list_spec='@' |
| 13237 |
fi |
| 13238 |
|
| 13239 |
|
| 13240 |
|
| 13241 |
|
| 13242 |
|
| 13243 |
|
| 13244 |
|
| 13245 |
|
| 13246 |
|
| 13247 |
|
| 13248 |
|
| 13249 |
|
| 13250 |
|
| 13251 |
|
| 13252 |
|
| 13253 |
|
| 13254 |
|
| 13255 |
|
| 13256 |
|
| 13257 |
|
| 13258 |
|
| 13259 |
|
| 13260 |
|
| 13261 |
|
| 13262 |
|
| 13263 |
|
| 13264 |
|
| 13265 |
|
| 13266 |
|
| 13267 |
|
| 13268 |
|
| 13269 |
|
| 13270 |
|
| 13271 |
|
| 13272 |
|
| 13273 |
|
| 13274 |
|
| 13275 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
| 13276 |
printf %s "checking for sysroot... " >&6; } |
| 13277 |
|
| 13278 |
# Check whether --with-sysroot was given. |
| 13279 |
if test ${with_sysroot+y} |
| 13280 |
then : |
| 13281 |
withval=$with_sysroot; |
| 13282 |
else case e in #( |
| 13283 |
e) with_sysroot=no ;; |
| 13284 |
esac |
| 13285 |
fi |
| 13286 |
|
| 13287 |
|
| 13288 |
lt_sysroot= |
| 13289 |
case $with_sysroot in #( |
| 13290 |
yes) |
| 13291 |
if test yes = "$GCC"; then |
| 13292 |
# Trim trailing / since we'll always append absolute paths and we want |
| 13293 |
# to avoid //, if only for less confusing output for the user. |
| 13294 |
lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'` |
| 13295 |
fi |
| 13296 |
;; #( |
| 13297 |
/*) |
| 13298 |
lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"` |
| 13299 |
;; #( |
| 13300 |
no|'') |
| 13301 |
;; #( |
| 13302 |
*) |
| 13303 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 |
| 13304 |
printf "%s\n" "$with_sysroot" >&6; } |
| 13305 |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
| 13306 |
;; |
| 13307 |
esac |
| 13308 |
|
| 13309 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
| 13310 |
printf "%s\n" "${lt_sysroot:-no}" >&6; } |
| 13311 |
|
| 13312 |
|
| 13313 |
|
| 13314 |
|
| 13315 |
|
| 13316 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 |
| 13317 |
printf %s "checking for a working dd... " >&6; } |
| 13318 |
if test ${ac_cv_path_lt_DD+y} |
| 13319 |
then : |
| 13320 |
printf %s "(cached) " >&6 |
| 13321 |
else case e in #( |
| 13322 |
e) printf 0123456789abcdef0123456789abcdef >conftest.i |
| 13323 |
cat conftest.i conftest.i >conftest2.i |
| 13324 |
: ${lt_DD:=$DD} |
| 13325 |
if test -z "$lt_DD"; then |
| 13326 |
ac_path_lt_DD_found=false |
| 13327 |
# Loop through the user's path and test for each of PROGNAME-LIST |
| 13328 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13329 |
for as_dir in $PATH |
| 13330 |
do |
| 13331 |
IFS=$as_save_IFS |
| 13332 |
case $as_dir in #((( |
| 13333 |
'') as_dir=./ ;; |
| 13334 |
*/) ;; |
| 13335 |
*) as_dir=$as_dir/ ;; |
| 13336 |
esac |
| 13337 |
for ac_prog in dd |
| 13338 |
do |
| 13339 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 13340 |
ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext" |
| 13341 |
as_fn_executable_p "$ac_path_lt_DD" || continue |
| 13342 |
if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then |
| 13343 |
cmp -s conftest.i conftest.out \ |
| 13344 |
&& ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: |
| 13345 |
fi |
| 13346 |
$ac_path_lt_DD_found && break 3 |
| 13347 |
done |
| 13348 |
done |
| 13349 |
done |
| 13350 |
IFS=$as_save_IFS |
| 13351 |
if test -z "$ac_cv_path_lt_DD"; then |
| 13352 |
: |
| 13353 |
fi |
| 13354 |
else |
| 13355 |
ac_cv_path_lt_DD=$lt_DD |
| 13356 |
fi |
| 13357 |
|
| 13358 |
rm -f conftest.i conftest2.i conftest.out ;; |
| 13359 |
esac |
| 13360 |
fi |
| 13361 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 |
| 13362 |
printf "%s\n" "$ac_cv_path_lt_DD" >&6; } |
| 13363 |
|
| 13364 |
|
| 13365 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 |
| 13366 |
printf %s "checking how to truncate binary pipes... " >&6; } |
| 13367 |
if test ${lt_cv_truncate_bin+y} |
| 13368 |
then : |
| 13369 |
printf %s "(cached) " >&6 |
| 13370 |
else case e in #( |
| 13371 |
e) printf 0123456789abcdef0123456789abcdef >conftest.i |
| 13372 |
cat conftest.i conftest.i >conftest2.i |
| 13373 |
lt_cv_truncate_bin= |
| 13374 |
if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then |
| 13375 |
cmp -s conftest.i conftest.out \ |
| 13376 |
&& lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" |
| 13377 |
fi |
| 13378 |
rm -f conftest.i conftest2.i conftest.out |
| 13379 |
test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;; |
| 13380 |
esac |
| 13381 |
fi |
| 13382 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 |
| 13383 |
printf "%s\n" "$lt_cv_truncate_bin" >&6; } |
| 13384 |
|
| 13385 |
|
| 13386 |
|
| 13387 |
|
| 13388 |
|
| 13389 |
|
| 13390 |
|
| 13391 |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 13392 |
func_cc_basename () |
| 13393 |
{ |
| 13394 |
for cc_temp in $*""; do |
| 13395 |
case $cc_temp in |
| 13396 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 13397 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 13398 |
\-*) ;; |
| 13399 |
*) break;; |
| 13400 |
esac |
| 13401 |
done |
| 13402 |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 13403 |
} |
| 13404 |
|
| 13405 |
# Check whether --enable-libtool-lock was given. |
| 13406 |
if test ${enable_libtool_lock+y} |
| 13407 |
then : |
| 13408 |
enableval=$enable_libtool_lock; |
| 13409 |
fi |
| 13410 |
|
| 13411 |
test no = "$enable_libtool_lock" || enable_libtool_lock=yes |
| 13412 |
|
| 13413 |
# Some flags need to be propagated to the compiler or linker for good |
| 13414 |
# libtool support. |
| 13415 |
case $host in |
| 13416 |
ia64-*-hpux*) |
| 13417 |
# Find out what ABI is being produced by ac_compile, and set mode |
| 13418 |
# options accordingly. |
| 13419 |
echo 'int i;' > conftest.$ac_ext |
| 13420 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 13421 |
(eval $ac_compile) 2>&5 |
| 13422 |
ac_status=$? |
| 13423 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13424 |
test $ac_status = 0; }; then |
| 13425 |
case `$FILECMD conftest.$ac_objext` in |
| 13426 |
*ELF-32*) |
| 13427 |
HPUX_IA64_MODE=32 |
| 13428 |
;; |
| 13429 |
*ELF-64*) |
| 13430 |
HPUX_IA64_MODE=64 |
| 13431 |
;; |
| 13432 |
esac |
| 13433 |
fi |
| 13434 |
rm -rf conftest* |
| 13435 |
;; |
| 13436 |
*-*-irix6*) |
| 13437 |
# Find out what ABI is being produced by ac_compile, and set linker |
| 13438 |
# options accordingly. |
| 13439 |
echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
| 13440 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 13441 |
(eval $ac_compile) 2>&5 |
| 13442 |
ac_status=$? |
| 13443 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13444 |
test $ac_status = 0; }; then |
| 13445 |
if test yes = "$lt_cv_prog_gnu_ld"; then |
| 13446 |
case `$FILECMD conftest.$ac_objext` in |
| 13447 |
*32-bit*) |
| 13448 |
LD="${LD-ld} -melf32bsmip" |
| 13449 |
;; |
| 13450 |
*N32*) |
| 13451 |
LD="${LD-ld} -melf32bmipn32" |
| 13452 |
;; |
| 13453 |
*64-bit*) |
| 13454 |
LD="${LD-ld} -melf64bmip" |
| 13455 |
;; |
| 13456 |
esac |
| 13457 |
else |
| 13458 |
case `$FILECMD conftest.$ac_objext` in |
| 13459 |
*32-bit*) |
| 13460 |
LD="${LD-ld} -32" |
| 13461 |
;; |
| 13462 |
*N32*) |
| 13463 |
LD="${LD-ld} -n32" |
| 13464 |
;; |
| 13465 |
*64-bit*) |
| 13466 |
LD="${LD-ld} -64" |
| 13467 |
;; |
| 13468 |
esac |
| 13469 |
fi |
| 13470 |
fi |
| 13471 |
rm -rf conftest* |
| 13472 |
;; |
| 13473 |
|
| 13474 |
mips64*-*linux*) |
| 13475 |
# Find out what ABI is being produced by ac_compile, and set linker |
| 13476 |
# options accordingly. |
| 13477 |
echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
| 13478 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 13479 |
(eval $ac_compile) 2>&5 |
| 13480 |
ac_status=$? |
| 13481 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13482 |
test $ac_status = 0; }; then |
| 13483 |
emul=elf |
| 13484 |
case `$FILECMD conftest.$ac_objext` in |
| 13485 |
*32-bit*) |
| 13486 |
emul="${emul}32" |
| 13487 |
;; |
| 13488 |
*64-bit*) |
| 13489 |
emul="${emul}64" |
| 13490 |
;; |
| 13491 |
esac |
| 13492 |
case `$FILECMD conftest.$ac_objext` in |
| 13493 |
*MSB*) |
| 13494 |
emul="${emul}btsmip" |
| 13495 |
;; |
| 13496 |
*LSB*) |
| 13497 |
emul="${emul}ltsmip" |
| 13498 |
;; |
| 13499 |
esac |
| 13500 |
case `$FILECMD conftest.$ac_objext` in |
| 13501 |
*N32*) |
| 13502 |
emul="${emul}n32" |
| 13503 |
;; |
| 13504 |
esac |
| 13505 |
LD="${LD-ld} -m $emul" |
| 13506 |
fi |
| 13507 |
rm -rf conftest* |
| 13508 |
;; |
| 13509 |
|
| 13510 |
x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
| 13511 |
s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*) |
| 13512 |
# Find out what ABI is being produced by ac_compile, and set linker |
| 13513 |
# options accordingly. Note that the listed cases only cover the |
| 13514 |
# situations where additional linker options are needed (such as when |
| 13515 |
# doing 32-bit compilation for a host where ld defaults to 64-bit, or |
| 13516 |
# vice versa); the common cases where no linker options are needed do |
| 13517 |
# not appear in the list. |
| 13518 |
echo 'int i;' > conftest.$ac_ext |
| 13519 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 13520 |
(eval $ac_compile) 2>&5 |
| 13521 |
ac_status=$? |
| 13522 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13523 |
test $ac_status = 0; }; then |
| 13524 |
case `$FILECMD conftest.o` in |
| 13525 |
*32-bit*) |
| 13526 |
case $host in |
| 13527 |
x86_64-*kfreebsd*-gnu) |
| 13528 |
LD="${LD-ld} -m elf_i386_fbsd" |
| 13529 |
;; |
| 13530 |
x86_64-*linux*|x86_64-gnu*) |
| 13531 |
case `$FILECMD conftest.o` in |
| 13532 |
*x86-64*) |
| 13533 |
LD="${LD-ld} -m elf32_x86_64" |
| 13534 |
;; |
| 13535 |
*) |
| 13536 |
LD="${LD-ld} -m elf_i386" |
| 13537 |
;; |
| 13538 |
esac |
| 13539 |
;; |
| 13540 |
powerpc64le-*linux*) |
| 13541 |
LD="${LD-ld} -m elf32lppclinux" |
| 13542 |
;; |
| 13543 |
powerpc64-*linux*) |
| 13544 |
LD="${LD-ld} -m elf32ppclinux" |
| 13545 |
;; |
| 13546 |
s390x-*linux*) |
| 13547 |
LD="${LD-ld} -m elf_s390" |
| 13548 |
;; |
| 13549 |
sparc64-*linux*) |
| 13550 |
LD="${LD-ld} -m elf32_sparc" |
| 13551 |
;; |
| 13552 |
esac |
| 13553 |
;; |
| 13554 |
*64-bit*) |
| 13555 |
case $host in |
| 13556 |
x86_64-*kfreebsd*-gnu) |
| 13557 |
LD="${LD-ld} -m elf_x86_64_fbsd" |
| 13558 |
;; |
| 13559 |
x86_64-*linux*|x86_64-gnu*) |
| 13560 |
LD="${LD-ld} -m elf_x86_64" |
| 13561 |
;; |
| 13562 |
powerpcle-*linux*) |
| 13563 |
LD="${LD-ld} -m elf64lppc" |
| 13564 |
;; |
| 13565 |
powerpc-*linux*) |
| 13566 |
LD="${LD-ld} -m elf64ppc" |
| 13567 |
;; |
| 13568 |
s390*-*linux*|s390*-*tpf*) |
| 13569 |
LD="${LD-ld} -m elf64_s390" |
| 13570 |
;; |
| 13571 |
sparc*-*linux*) |
| 13572 |
LD="${LD-ld} -m elf64_sparc" |
| 13573 |
;; |
| 13574 |
esac |
| 13575 |
;; |
| 13576 |
esac |
| 13577 |
fi |
| 13578 |
rm -rf conftest* |
| 13579 |
;; |
| 13580 |
|
| 13581 |
*-*-sco3.2v5*) |
| 13582 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
| 13583 |
SAVE_CFLAGS=$CFLAGS |
| 13584 |
CFLAGS="$CFLAGS -belf" |
| 13585 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
| 13586 |
printf %s "checking whether the C compiler needs -belf... " >&6; } |
| 13587 |
if test ${lt_cv_cc_needs_belf+y} |
| 13588 |
then : |
| 13589 |
printf %s "(cached) " >&6 |
| 13590 |
else case e in #( |
| 13591 |
e) ac_ext=c |
| 13592 |
ac_cpp='$CPP $CPPFLAGS' |
| 13593 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 13594 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 13595 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 13596 |
|
| 13597 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13598 |
/* end confdefs.h. */ |
| 13599 |
|
| 13600 |
int |
| 13601 |
main (void) |
| 13602 |
{ |
| 13603 |
|
| 13604 |
; |
| 13605 |
return 0; |
| 13606 |
} |
| 13607 |
_ACEOF |
| 13608 |
if ac_fn_c_try_link "$LINENO" |
| 13609 |
then : |
| 13610 |
lt_cv_cc_needs_belf=yes |
| 13611 |
else case e in #( |
| 13612 |
e) lt_cv_cc_needs_belf=no ;; |
| 13613 |
esac |
| 13614 |
fi |
| 13615 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 13616 |
conftest$ac_exeext conftest.$ac_ext |
| 13617 |
ac_ext=c |
| 13618 |
ac_cpp='$CPP $CPPFLAGS' |
| 13619 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 13620 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 13621 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 13622 |
;; |
| 13623 |
esac |
| 13624 |
fi |
| 13625 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
| 13626 |
printf "%s\n" "$lt_cv_cc_needs_belf" >&6; } |
| 13627 |
if test yes != "$lt_cv_cc_needs_belf"; then |
| 13628 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
| 13629 |
CFLAGS=$SAVE_CFLAGS |
| 13630 |
fi |
| 13631 |
;; |
| 13632 |
*-*solaris*) |
| 13633 |
# Find out what ABI is being produced by ac_compile, and set linker |
| 13634 |
# options accordingly. |
| 13635 |
echo 'int i;' > conftest.$ac_ext |
| 13636 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 13637 |
(eval $ac_compile) 2>&5 |
| 13638 |
ac_status=$? |
| 13639 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13640 |
test $ac_status = 0; }; then |
| 13641 |
case `$FILECMD conftest.o` in |
| 13642 |
*64-bit*) |
| 13643 |
case $lt_cv_prog_gnu_ld in |
| 13644 |
yes*) |
| 13645 |
case $host in |
| 13646 |
i?86-*-solaris*|x86_64-*-solaris*) |
| 13647 |
LD="${LD-ld} -m elf_x86_64" |
| 13648 |
;; |
| 13649 |
sparc*-*-solaris*) |
| 13650 |
LD="${LD-ld} -m elf64_sparc" |
| 13651 |
;; |
| 13652 |
esac |
| 13653 |
# GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
| 13654 |
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
| 13655 |
LD=${LD-ld}_sol2 |
| 13656 |
fi |
| 13657 |
;; |
| 13658 |
*) |
| 13659 |
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
| 13660 |
LD="${LD-ld} -64" |
| 13661 |
fi |
| 13662 |
;; |
| 13663 |
esac |
| 13664 |
;; |
| 13665 |
esac |
| 13666 |
fi |
| 13667 |
rm -rf conftest* |
| 13668 |
;; |
| 13669 |
esac |
| 13670 |
|
| 13671 |
need_locks=$enable_libtool_lock |
| 13672 |
|
| 13673 |
if test -n "$ac_tool_prefix"; then |
| 13674 |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
| 13675 |
set dummy ${ac_tool_prefix}mt; ac_word=$2 |
| 13676 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13677 |
printf %s "checking for $ac_word... " >&6; } |
| 13678 |
if test ${ac_cv_prog_MANIFEST_TOOL+y} |
| 13679 |
then : |
| 13680 |
printf %s "(cached) " >&6 |
| 13681 |
else case e in #( |
| 13682 |
e) if test -n "$MANIFEST_TOOL"; then |
| 13683 |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
| 13684 |
else |
| 13685 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13686 |
for as_dir in $PATH |
| 13687 |
do |
| 13688 |
IFS=$as_save_IFS |
| 13689 |
case $as_dir in #((( |
| 13690 |
'') as_dir=./ ;; |
| 13691 |
*/) ;; |
| 13692 |
*) as_dir=$as_dir/ ;; |
| 13693 |
esac |
| 13694 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 13695 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 13696 |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
| 13697 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 13698 |
break 2 |
| 13699 |
fi |
| 13700 |
done |
| 13701 |
done |
| 13702 |
IFS=$as_save_IFS |
| 13703 |
|
| 13704 |
fi ;; |
| 13705 |
esac |
| 13706 |
fi |
| 13707 |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
| 13708 |
if test -n "$MANIFEST_TOOL"; then |
| 13709 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
| 13710 |
printf "%s\n" "$MANIFEST_TOOL" >&6; } |
| 13711 |
else |
| 13712 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13713 |
printf "%s\n" "no" >&6; } |
| 13714 |
fi |
| 13715 |
|
| 13716 |
|
| 13717 |
fi |
| 13718 |
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
| 13719 |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
| 13720 |
# Extract the first word of "mt", so it can be a program name with args. |
| 13721 |
set dummy mt; ac_word=$2 |
| 13722 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13723 |
printf %s "checking for $ac_word... " >&6; } |
| 13724 |
if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y} |
| 13725 |
then : |
| 13726 |
printf %s "(cached) " >&6 |
| 13727 |
else case e in #( |
| 13728 |
e) if test -n "$ac_ct_MANIFEST_TOOL"; then |
| 13729 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
| 13730 |
else |
| 13731 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13732 |
for as_dir in $PATH |
| 13733 |
do |
| 13734 |
IFS=$as_save_IFS |
| 13735 |
case $as_dir in #((( |
| 13736 |
'') as_dir=./ ;; |
| 13737 |
*/) ;; |
| 13738 |
*) as_dir=$as_dir/ ;; |
| 13739 |
esac |
| 13740 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 13741 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 13742 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
| 13743 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 13744 |
break 2 |
| 13745 |
fi |
| 13746 |
done |
| 13747 |
done |
| 13748 |
IFS=$as_save_IFS |
| 13749 |
|
| 13750 |
fi ;; |
| 13751 |
esac |
| 13752 |
fi |
| 13753 |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
| 13754 |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
| 13755 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
| 13756 |
printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; } |
| 13757 |
else |
| 13758 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13759 |
printf "%s\n" "no" >&6; } |
| 13760 |
fi |
| 13761 |
|
| 13762 |
if test "x$ac_ct_MANIFEST_TOOL" = x; then |
| 13763 |
MANIFEST_TOOL=":" |
| 13764 |
else |
| 13765 |
case $cross_compiling:$ac_tool_warned in |
| 13766 |
yes:) |
| 13767 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 13768 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 13769 |
ac_tool_warned=yes ;; |
| 13770 |
esac |
| 13771 |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
| 13772 |
fi |
| 13773 |
else |
| 13774 |
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
| 13775 |
fi |
| 13776 |
|
| 13777 |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
| 13778 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
| 13779 |
printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
| 13780 |
if test ${lt_cv_path_manifest_tool+y} |
| 13781 |
then : |
| 13782 |
printf %s "(cached) " >&6 |
| 13783 |
else case e in #( |
| 13784 |
e) lt_cv_path_manifest_tool=no |
| 13785 |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
| 13786 |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
| 13787 |
cat conftest.err >&5 |
| 13788 |
if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
| 13789 |
lt_cv_path_manifest_tool=yes |
| 13790 |
fi |
| 13791 |
rm -f conftest* ;; |
| 13792 |
esac |
| 13793 |
fi |
| 13794 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5 |
| 13795 |
printf "%s\n" "$lt_cv_path_manifest_tool" >&6; } |
| 13796 |
if test yes != "$lt_cv_path_manifest_tool"; then |
| 13797 |
MANIFEST_TOOL=: |
| 13798 |
fi |
| 13799 |
|
| 13800 |
|
| 13801 |
|
| 13802 |
|
| 13803 |
|
| 13804 |
|
| 13805 |
case $host_os in |
| 13806 |
rhapsody* | darwin*) |
| 13807 |
if test -n "$ac_tool_prefix"; then |
| 13808 |
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
| 13809 |
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
| 13810 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13811 |
printf %s "checking for $ac_word... " >&6; } |
| 13812 |
if test ${ac_cv_prog_DSYMUTIL+y} |
| 13813 |
then : |
| 13814 |
printf %s "(cached) " >&6 |
| 13815 |
else case e in #( |
| 13816 |
e) if test -n "$DSYMUTIL"; then |
| 13817 |
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
| 13818 |
else |
| 13819 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13820 |
for as_dir in $PATH |
| 13821 |
do |
| 13822 |
IFS=$as_save_IFS |
| 13823 |
case $as_dir in #((( |
| 13824 |
'') as_dir=./ ;; |
| 13825 |
*/) ;; |
| 13826 |
*) as_dir=$as_dir/ ;; |
| 13827 |
esac |
| 13828 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 13829 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 13830 |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
| 13831 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 13832 |
break 2 |
| 13833 |
fi |
| 13834 |
done |
| 13835 |
done |
| 13836 |
IFS=$as_save_IFS |
| 13837 |
|
| 13838 |
fi ;; |
| 13839 |
esac |
| 13840 |
fi |
| 13841 |
DSYMUTIL=$ac_cv_prog_DSYMUTIL |
| 13842 |
if test -n "$DSYMUTIL"; then |
| 13843 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
| 13844 |
printf "%s\n" "$DSYMUTIL" >&6; } |
| 13845 |
else |
| 13846 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13847 |
printf "%s\n" "no" >&6; } |
| 13848 |
fi |
| 13849 |
|
| 13850 |
|
| 13851 |
fi |
| 13852 |
if test -z "$ac_cv_prog_DSYMUTIL"; then |
| 13853 |
ac_ct_DSYMUTIL=$DSYMUTIL |
| 13854 |
# Extract the first word of "dsymutil", so it can be a program name with args. |
| 13855 |
set dummy dsymutil; ac_word=$2 |
| 13856 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13857 |
printf %s "checking for $ac_word... " >&6; } |
| 13858 |
if test ${ac_cv_prog_ac_ct_DSYMUTIL+y} |
| 13859 |
then : |
| 13860 |
printf %s "(cached) " >&6 |
| 13861 |
else case e in #( |
| 13862 |
e) if test -n "$ac_ct_DSYMUTIL"; then |
| 13863 |
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
| 13864 |
else |
| 13865 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13866 |
for as_dir in $PATH |
| 13867 |
do |
| 13868 |
IFS=$as_save_IFS |
| 13869 |
case $as_dir in #((( |
| 13870 |
'') as_dir=./ ;; |
| 13871 |
*/) ;; |
| 13872 |
*) as_dir=$as_dir/ ;; |
| 13873 |
esac |
| 13874 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 13875 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 13876 |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
| 13877 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 13878 |
break 2 |
| 13879 |
fi |
| 13880 |
done |
| 13881 |
done |
| 13882 |
IFS=$as_save_IFS |
| 13883 |
|
| 13884 |
fi ;; |
| 13885 |
esac |
| 13886 |
fi |
| 13887 |
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
| 13888 |
if test -n "$ac_ct_DSYMUTIL"; then |
| 13889 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
| 13890 |
printf "%s\n" "$ac_ct_DSYMUTIL" >&6; } |
| 13891 |
else |
| 13892 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13893 |
printf "%s\n" "no" >&6; } |
| 13894 |
fi |
| 13895 |
|
| 13896 |
if test "x$ac_ct_DSYMUTIL" = x; then |
| 13897 |
DSYMUTIL=":" |
| 13898 |
else |
| 13899 |
case $cross_compiling:$ac_tool_warned in |
| 13900 |
yes:) |
| 13901 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 13902 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 13903 |
ac_tool_warned=yes ;; |
| 13904 |
esac |
| 13905 |
DSYMUTIL=$ac_ct_DSYMUTIL |
| 13906 |
fi |
| 13907 |
else |
| 13908 |
DSYMUTIL="$ac_cv_prog_DSYMUTIL" |
| 13909 |
fi |
| 13910 |
|
| 13911 |
if test -n "$ac_tool_prefix"; then |
| 13912 |
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
| 13913 |
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
| 13914 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13915 |
printf %s "checking for $ac_word... " >&6; } |
| 13916 |
if test ${ac_cv_prog_NMEDIT+y} |
| 13917 |
then : |
| 13918 |
printf %s "(cached) " >&6 |
| 13919 |
else case e in #( |
| 13920 |
e) if test -n "$NMEDIT"; then |
| 13921 |
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. |
| 13922 |
else |
| 13923 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13924 |
for as_dir in $PATH |
| 13925 |
do |
| 13926 |
IFS=$as_save_IFS |
| 13927 |
case $as_dir in #((( |
| 13928 |
'') as_dir=./ ;; |
| 13929 |
*/) ;; |
| 13930 |
*) as_dir=$as_dir/ ;; |
| 13931 |
esac |
| 13932 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 13933 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 13934 |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
| 13935 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 13936 |
break 2 |
| 13937 |
fi |
| 13938 |
done |
| 13939 |
done |
| 13940 |
IFS=$as_save_IFS |
| 13941 |
|
| 13942 |
fi ;; |
| 13943 |
esac |
| 13944 |
fi |
| 13945 |
NMEDIT=$ac_cv_prog_NMEDIT |
| 13946 |
if test -n "$NMEDIT"; then |
| 13947 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
| 13948 |
printf "%s\n" "$NMEDIT" >&6; } |
| 13949 |
else |
| 13950 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13951 |
printf "%s\n" "no" >&6; } |
| 13952 |
fi |
| 13953 |
|
| 13954 |
|
| 13955 |
fi |
| 13956 |
if test -z "$ac_cv_prog_NMEDIT"; then |
| 13957 |
ac_ct_NMEDIT=$NMEDIT |
| 13958 |
# Extract the first word of "nmedit", so it can be a program name with args. |
| 13959 |
set dummy nmedit; ac_word=$2 |
| 13960 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13961 |
printf %s "checking for $ac_word... " >&6; } |
| 13962 |
if test ${ac_cv_prog_ac_ct_NMEDIT+y} |
| 13963 |
then : |
| 13964 |
printf %s "(cached) " >&6 |
| 13965 |
else case e in #( |
| 13966 |
e) if test -n "$ac_ct_NMEDIT"; then |
| 13967 |
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. |
| 13968 |
else |
| 13969 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13970 |
for as_dir in $PATH |
| 13971 |
do |
| 13972 |
IFS=$as_save_IFS |
| 13973 |
case $as_dir in #((( |
| 13974 |
'') as_dir=./ ;; |
| 13975 |
*/) ;; |
| 13976 |
*) as_dir=$as_dir/ ;; |
| 13977 |
esac |
| 13978 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 13979 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 13980 |
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
| 13981 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 13982 |
break 2 |
| 13983 |
fi |
| 13984 |
done |
| 13985 |
done |
| 13986 |
IFS=$as_save_IFS |
| 13987 |
|
| 13988 |
fi ;; |
| 13989 |
esac |
| 13990 |
fi |
| 13991 |
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
| 13992 |
if test -n "$ac_ct_NMEDIT"; then |
| 13993 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
| 13994 |
printf "%s\n" "$ac_ct_NMEDIT" >&6; } |
| 13995 |
else |
| 13996 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13997 |
printf "%s\n" "no" >&6; } |
| 13998 |
fi |
| 13999 |
|
| 14000 |
if test "x$ac_ct_NMEDIT" = x; then |
| 14001 |
NMEDIT=":" |
| 14002 |
else |
| 14003 |
case $cross_compiling:$ac_tool_warned in |
| 14004 |
yes:) |
| 14005 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 14006 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 14007 |
ac_tool_warned=yes ;; |
| 14008 |
esac |
| 14009 |
NMEDIT=$ac_ct_NMEDIT |
| 14010 |
fi |
| 14011 |
else |
| 14012 |
NMEDIT="$ac_cv_prog_NMEDIT" |
| 14013 |
fi |
| 14014 |
|
| 14015 |
if test -n "$ac_tool_prefix"; then |
| 14016 |
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. |
| 14017 |
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
| 14018 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 14019 |
printf %s "checking for $ac_word... " >&6; } |
| 14020 |
if test ${ac_cv_prog_LIPO+y} |
| 14021 |
then : |
| 14022 |
printf %s "(cached) " >&6 |
| 14023 |
else case e in #( |
| 14024 |
e) if test -n "$LIPO"; then |
| 14025 |
ac_cv_prog_LIPO="$LIPO" # Let the user override the test. |
| 14026 |
else |
| 14027 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14028 |
for as_dir in $PATH |
| 14029 |
do |
| 14030 |
IFS=$as_save_IFS |
| 14031 |
case $as_dir in #((( |
| 14032 |
'') as_dir=./ ;; |
| 14033 |
*/) ;; |
| 14034 |
*) as_dir=$as_dir/ ;; |
| 14035 |
esac |
| 14036 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 14037 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 14038 |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
| 14039 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 14040 |
break 2 |
| 14041 |
fi |
| 14042 |
done |
| 14043 |
done |
| 14044 |
IFS=$as_save_IFS |
| 14045 |
|
| 14046 |
fi ;; |
| 14047 |
esac |
| 14048 |
fi |
| 14049 |
LIPO=$ac_cv_prog_LIPO |
| 14050 |
if test -n "$LIPO"; then |
| 14051 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
| 14052 |
printf "%s\n" "$LIPO" >&6; } |
| 14053 |
else |
| 14054 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14055 |
printf "%s\n" "no" >&6; } |
| 14056 |
fi |
| 14057 |
|
| 14058 |
|
| 14059 |
fi |
| 14060 |
if test -z "$ac_cv_prog_LIPO"; then |
| 14061 |
ac_ct_LIPO=$LIPO |
| 14062 |
# Extract the first word of "lipo", so it can be a program name with args. |
| 14063 |
set dummy lipo; ac_word=$2 |
| 14064 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 14065 |
printf %s "checking for $ac_word... " >&6; } |
| 14066 |
if test ${ac_cv_prog_ac_ct_LIPO+y} |
| 14067 |
then : |
| 14068 |
printf %s "(cached) " >&6 |
| 14069 |
else case e in #( |
| 14070 |
e) if test -n "$ac_ct_LIPO"; then |
| 14071 |
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. |
| 14072 |
else |
| 14073 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14074 |
for as_dir in $PATH |
| 14075 |
do |
| 14076 |
IFS=$as_save_IFS |
| 14077 |
case $as_dir in #((( |
| 14078 |
'') as_dir=./ ;; |
| 14079 |
*/) ;; |
| 14080 |
*) as_dir=$as_dir/ ;; |
| 14081 |
esac |
| 14082 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 14083 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 14084 |
ac_cv_prog_ac_ct_LIPO="lipo" |
| 14085 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 14086 |
break 2 |
| 14087 |
fi |
| 14088 |
done |
| 14089 |
done |
| 14090 |
IFS=$as_save_IFS |
| 14091 |
|
| 14092 |
fi ;; |
| 14093 |
esac |
| 14094 |
fi |
| 14095 |
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
| 14096 |
if test -n "$ac_ct_LIPO"; then |
| 14097 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
| 14098 |
printf "%s\n" "$ac_ct_LIPO" >&6; } |
| 14099 |
else |
| 14100 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14101 |
printf "%s\n" "no" >&6; } |
| 14102 |
fi |
| 14103 |
|
| 14104 |
if test "x$ac_ct_LIPO" = x; then |
| 14105 |
LIPO=":" |
| 14106 |
else |
| 14107 |
case $cross_compiling:$ac_tool_warned in |
| 14108 |
yes:) |
| 14109 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 14110 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 14111 |
ac_tool_warned=yes ;; |
| 14112 |
esac |
| 14113 |
LIPO=$ac_ct_LIPO |
| 14114 |
fi |
| 14115 |
else |
| 14116 |
LIPO="$ac_cv_prog_LIPO" |
| 14117 |
fi |
| 14118 |
|
| 14119 |
if test -n "$ac_tool_prefix"; then |
| 14120 |
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. |
| 14121 |
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
| 14122 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 14123 |
printf %s "checking for $ac_word... " >&6; } |
| 14124 |
if test ${ac_cv_prog_OTOOL+y} |
| 14125 |
then : |
| 14126 |
printf %s "(cached) " >&6 |
| 14127 |
else case e in #( |
| 14128 |
e) if test -n "$OTOOL"; then |
| 14129 |
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. |
| 14130 |
else |
| 14131 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14132 |
for as_dir in $PATH |
| 14133 |
do |
| 14134 |
IFS=$as_save_IFS |
| 14135 |
case $as_dir in #((( |
| 14136 |
'') as_dir=./ ;; |
| 14137 |
*/) ;; |
| 14138 |
*) as_dir=$as_dir/ ;; |
| 14139 |
esac |
| 14140 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 14141 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 14142 |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
| 14143 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 14144 |
break 2 |
| 14145 |
fi |
| 14146 |
done |
| 14147 |
done |
| 14148 |
IFS=$as_save_IFS |
| 14149 |
|
| 14150 |
fi ;; |
| 14151 |
esac |
| 14152 |
fi |
| 14153 |
OTOOL=$ac_cv_prog_OTOOL |
| 14154 |
if test -n "$OTOOL"; then |
| 14155 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
| 14156 |
printf "%s\n" "$OTOOL" >&6; } |
| 14157 |
else |
| 14158 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14159 |
printf "%s\n" "no" >&6; } |
| 14160 |
fi |
| 14161 |
|
| 14162 |
|
| 14163 |
fi |
| 14164 |
if test -z "$ac_cv_prog_OTOOL"; then |
| 14165 |
ac_ct_OTOOL=$OTOOL |
| 14166 |
# Extract the first word of "otool", so it can be a program name with args. |
| 14167 |
set dummy otool; ac_word=$2 |
| 14168 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 14169 |
printf %s "checking for $ac_word... " >&6; } |
| 14170 |
if test ${ac_cv_prog_ac_ct_OTOOL+y} |
| 14171 |
then : |
| 14172 |
printf %s "(cached) " >&6 |
| 14173 |
else case e in #( |
| 14174 |
e) if test -n "$ac_ct_OTOOL"; then |
| 14175 |
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. |
| 14176 |
else |
| 14177 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14178 |
for as_dir in $PATH |
| 14179 |
do |
| 14180 |
IFS=$as_save_IFS |
| 14181 |
case $as_dir in #((( |
| 14182 |
'') as_dir=./ ;; |
| 14183 |
*/) ;; |
| 14184 |
*) as_dir=$as_dir/ ;; |
| 14185 |
esac |
| 14186 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 14187 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 14188 |
ac_cv_prog_ac_ct_OTOOL="otool" |
| 14189 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 14190 |
break 2 |
| 14191 |
fi |
| 14192 |
done |
| 14193 |
done |
| 14194 |
IFS=$as_save_IFS |
| 14195 |
|
| 14196 |
fi ;; |
| 14197 |
esac |
| 14198 |
fi |
| 14199 |
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
| 14200 |
if test -n "$ac_ct_OTOOL"; then |
| 14201 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
| 14202 |
printf "%s\n" "$ac_ct_OTOOL" >&6; } |
| 14203 |
else |
| 14204 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14205 |
printf "%s\n" "no" >&6; } |
| 14206 |
fi |
| 14207 |
|
| 14208 |
if test "x$ac_ct_OTOOL" = x; then |
| 14209 |
OTOOL=":" |
| 14210 |
else |
| 14211 |
case $cross_compiling:$ac_tool_warned in |
| 14212 |
yes:) |
| 14213 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 14214 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 14215 |
ac_tool_warned=yes ;; |
| 14216 |
esac |
| 14217 |
OTOOL=$ac_ct_OTOOL |
| 14218 |
fi |
| 14219 |
else |
| 14220 |
OTOOL="$ac_cv_prog_OTOOL" |
| 14221 |
fi |
| 14222 |
|
| 14223 |
if test -n "$ac_tool_prefix"; then |
| 14224 |
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. |
| 14225 |
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
| 14226 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 14227 |
printf %s "checking for $ac_word... " >&6; } |
| 14228 |
if test ${ac_cv_prog_OTOOL64+y} |
| 14229 |
then : |
| 14230 |
printf %s "(cached) " >&6 |
| 14231 |
else case e in #( |
| 14232 |
e) if test -n "$OTOOL64"; then |
| 14233 |
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. |
| 14234 |
else |
| 14235 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14236 |
for as_dir in $PATH |
| 14237 |
do |
| 14238 |
IFS=$as_save_IFS |
| 14239 |
case $as_dir in #((( |
| 14240 |
'') as_dir=./ ;; |
| 14241 |
*/) ;; |
| 14242 |
*) as_dir=$as_dir/ ;; |
| 14243 |
esac |
| 14244 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 14245 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 14246 |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
| 14247 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 14248 |
break 2 |
| 14249 |
fi |
| 14250 |
done |
| 14251 |
done |
| 14252 |
IFS=$as_save_IFS |
| 14253 |
|
| 14254 |
fi ;; |
| 14255 |
esac |
| 14256 |
fi |
| 14257 |
OTOOL64=$ac_cv_prog_OTOOL64 |
| 14258 |
if test -n "$OTOOL64"; then |
| 14259 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
| 14260 |
printf "%s\n" "$OTOOL64" >&6; } |
| 14261 |
else |
| 14262 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14263 |
printf "%s\n" "no" >&6; } |
| 14264 |
fi |
| 14265 |
|
| 14266 |
|
| 14267 |
fi |
| 14268 |
if test -z "$ac_cv_prog_OTOOL64"; then |
| 14269 |
ac_ct_OTOOL64=$OTOOL64 |
| 14270 |
# Extract the first word of "otool64", so it can be a program name with args. |
| 14271 |
set dummy otool64; ac_word=$2 |
| 14272 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 14273 |
printf %s "checking for $ac_word... " >&6; } |
| 14274 |
if test ${ac_cv_prog_ac_ct_OTOOL64+y} |
| 14275 |
then : |
| 14276 |
printf %s "(cached) " >&6 |
| 14277 |
else case e in #( |
| 14278 |
e) if test -n "$ac_ct_OTOOL64"; then |
| 14279 |
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. |
| 14280 |
else |
| 14281 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14282 |
for as_dir in $PATH |
| 14283 |
do |
| 14284 |
IFS=$as_save_IFS |
| 14285 |
case $as_dir in #((( |
| 14286 |
'') as_dir=./ ;; |
| 14287 |
*/) ;; |
| 14288 |
*) as_dir=$as_dir/ ;; |
| 14289 |
esac |
| 14290 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 14291 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 14292 |
ac_cv_prog_ac_ct_OTOOL64="otool64" |
| 14293 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 14294 |
break 2 |
| 14295 |
fi |
| 14296 |
done |
| 14297 |
done |
| 14298 |
IFS=$as_save_IFS |
| 14299 |
|
| 14300 |
fi ;; |
| 14301 |
esac |
| 14302 |
fi |
| 14303 |
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
| 14304 |
if test -n "$ac_ct_OTOOL64"; then |
| 14305 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
| 14306 |
printf "%s\n" "$ac_ct_OTOOL64" >&6; } |
| 14307 |
else |
| 14308 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14309 |
printf "%s\n" "no" >&6; } |
| 14310 |
fi |
| 14311 |
|
| 14312 |
if test "x$ac_ct_OTOOL64" = x; then |
| 14313 |
OTOOL64=":" |
| 14314 |
else |
| 14315 |
case $cross_compiling:$ac_tool_warned in |
| 14316 |
yes:) |
| 14317 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 14318 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 14319 |
ac_tool_warned=yes ;; |
| 14320 |
esac |
| 14321 |
OTOOL64=$ac_ct_OTOOL64 |
| 14322 |
fi |
| 14323 |
else |
| 14324 |
OTOOL64="$ac_cv_prog_OTOOL64" |
| 14325 |
fi |
| 14326 |
|
| 14327 |
|
| 14328 |
|
| 14329 |
|
| 14330 |
|
| 14331 |
|
| 14332 |
|
| 14333 |
|
| 14334 |
|
| 14335 |
|
| 14336 |
|
| 14337 |
|
| 14338 |
|
| 14339 |
|
| 14340 |
|
| 14341 |
|
| 14342 |
|
| 14343 |
|
| 14344 |
|
| 14345 |
|
| 14346 |
|
| 14347 |
|
| 14348 |
|
| 14349 |
|
| 14350 |
|
| 14351 |
|
| 14352 |
|
| 14353 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
| 14354 |
printf %s "checking for -single_module linker flag... " >&6; } |
| 14355 |
if test ${lt_cv_apple_cc_single_mod+y} |
| 14356 |
then : |
| 14357 |
printf %s "(cached) " >&6 |
| 14358 |
else case e in #( |
| 14359 |
e) lt_cv_apple_cc_single_mod=no |
| 14360 |
if test -z "$LT_MULTI_MODULE"; then |
| 14361 |
# By default we will add the -single_module flag. You can override |
| 14362 |
# by either setting the environment variable LT_MULTI_MODULE |
| 14363 |
# non-empty at configure time, or by adding -multi_module to the |
| 14364 |
# link flags. |
| 14365 |
rm -rf libconftest.dylib* |
| 14366 |
echo "int foo(void){return 1;}" > conftest.c |
| 14367 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 14368 |
-dynamiclib -Wl,-single_module conftest.c" >&5 |
| 14369 |
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 14370 |
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
| 14371 |
_lt_result=$? |
| 14372 |
# If there is a non-empty error log, and "single_module" |
| 14373 |
# appears in it, assume the flag caused a linker warning |
| 14374 |
if test -s conftest.err && $GREP single_module conftest.err; then |
| 14375 |
cat conftest.err >&5 |
| 14376 |
# Otherwise, if the output was created with a 0 exit code from |
| 14377 |
# the compiler, it worked. |
| 14378 |
elif test -f libconftest.dylib && test 0 = "$_lt_result"; then |
| 14379 |
lt_cv_apple_cc_single_mod=yes |
| 14380 |
else |
| 14381 |
cat conftest.err >&5 |
| 14382 |
fi |
| 14383 |
rm -rf libconftest.dylib* |
| 14384 |
rm -f conftest.* |
| 14385 |
fi ;; |
| 14386 |
esac |
| 14387 |
fi |
| 14388 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
| 14389 |
printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; } |
| 14390 |
|
| 14391 |
# Feature test to disable chained fixups since it is not |
| 14392 |
# compatible with '-undefined dynamic_lookup' |
| 14393 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5 |
| 14394 |
printf %s "checking for -no_fixup_chains linker flag... " >&6; } |
| 14395 |
if test ${lt_cv_support_no_fixup_chains+y} |
| 14396 |
then : |
| 14397 |
printf %s "(cached) " >&6 |
| 14398 |
else case e in #( |
| 14399 |
e) save_LDFLAGS=$LDFLAGS |
| 14400 |
LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains" |
| 14401 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14402 |
/* end confdefs.h. */ |
| 14403 |
|
| 14404 |
int |
| 14405 |
main (void) |
| 14406 |
{ |
| 14407 |
|
| 14408 |
; |
| 14409 |
return 0; |
| 14410 |
} |
| 14411 |
_ACEOF |
| 14412 |
if ac_fn_c_try_link "$LINENO" |
| 14413 |
then : |
| 14414 |
lt_cv_support_no_fixup_chains=yes |
| 14415 |
else case e in #( |
| 14416 |
e) lt_cv_support_no_fixup_chains=no |
| 14417 |
;; |
| 14418 |
esac |
| 14419 |
fi |
| 14420 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 14421 |
conftest$ac_exeext conftest.$ac_ext |
| 14422 |
LDFLAGS=$save_LDFLAGS |
| 14423 |
|
| 14424 |
;; |
| 14425 |
esac |
| 14426 |
fi |
| 14427 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5 |
| 14428 |
printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; } |
| 14429 |
|
| 14430 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
| 14431 |
printf %s "checking for -exported_symbols_list linker flag... " >&6; } |
| 14432 |
if test ${lt_cv_ld_exported_symbols_list+y} |
| 14433 |
then : |
| 14434 |
printf %s "(cached) " >&6 |
| 14435 |
else case e in #( |
| 14436 |
e) lt_cv_ld_exported_symbols_list=no |
| 14437 |
save_LDFLAGS=$LDFLAGS |
| 14438 |
echo "_main" > conftest.sym |
| 14439 |
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
| 14440 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14441 |
/* end confdefs.h. */ |
| 14442 |
|
| 14443 |
int |
| 14444 |
main (void) |
| 14445 |
{ |
| 14446 |
|
| 14447 |
; |
| 14448 |
return 0; |
| 14449 |
} |
| 14450 |
_ACEOF |
| 14451 |
if ac_fn_c_try_link "$LINENO" |
| 14452 |
then : |
| 14453 |
lt_cv_ld_exported_symbols_list=yes |
| 14454 |
else case e in #( |
| 14455 |
e) lt_cv_ld_exported_symbols_list=no ;; |
| 14456 |
esac |
| 14457 |
fi |
| 14458 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 14459 |
conftest$ac_exeext conftest.$ac_ext |
| 14460 |
LDFLAGS=$save_LDFLAGS |
| 14461 |
;; |
| 14462 |
esac |
| 14463 |
fi |
| 14464 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
| 14465 |
printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; } |
| 14466 |
|
| 14467 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
| 14468 |
printf %s "checking for -force_load linker flag... " >&6; } |
| 14469 |
if test ${lt_cv_ld_force_load+y} |
| 14470 |
then : |
| 14471 |
printf %s "(cached) " >&6 |
| 14472 |
else case e in #( |
| 14473 |
e) lt_cv_ld_force_load=no |
| 14474 |
cat > conftest.c << _LT_EOF |
| 14475 |
int forced_loaded() { return 2;} |
| 14476 |
_LT_EOF |
| 14477 |
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
| 14478 |
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
| 14479 |
echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5 |
| 14480 |
$AR $AR_FLAGS libconftest.a conftest.o 2>&5 |
| 14481 |
echo "$RANLIB libconftest.a" >&5 |
| 14482 |
$RANLIB libconftest.a 2>&5 |
| 14483 |
cat > conftest.c << _LT_EOF |
| 14484 |
int main(void) { return 0;} |
| 14485 |
_LT_EOF |
| 14486 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
| 14487 |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
| 14488 |
_lt_result=$? |
| 14489 |
if test -s conftest.err && $GREP force_load conftest.err; then |
| 14490 |
cat conftest.err >&5 |
| 14491 |
elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then |
| 14492 |
lt_cv_ld_force_load=yes |
| 14493 |
else |
| 14494 |
cat conftest.err >&5 |
| 14495 |
fi |
| 14496 |
rm -f conftest.err libconftest.a conftest conftest.c |
| 14497 |
rm -rf conftest.dSYM |
| 14498 |
;; |
| 14499 |
esac |
| 14500 |
fi |
| 14501 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
| 14502 |
printf "%s\n" "$lt_cv_ld_force_load" >&6; } |
| 14503 |
case $host_os in |
| 14504 |
rhapsody* | darwin1.[012]) |
| 14505 |
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; |
| 14506 |
darwin1.*) |
| 14507 |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
| 14508 |
darwin*) |
| 14509 |
case $MACOSX_DEPLOYMENT_TARGET,$host in |
| 14510 |
10.[012],*|,*powerpc*-darwin[5-8]*) |
| 14511 |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
| 14512 |
*) |
| 14513 |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' |
| 14514 |
if test yes = "$lt_cv_support_no_fixup_chains"; then |
| 14515 |
as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains' |
| 14516 |
fi |
| 14517 |
;; |
| 14518 |
esac |
| 14519 |
;; |
| 14520 |
esac |
| 14521 |
if test yes = "$lt_cv_apple_cc_single_mod"; then |
| 14522 |
_lt_dar_single_mod='$single_module' |
| 14523 |
fi |
| 14524 |
_lt_dar_needs_single_mod=no |
| 14525 |
case $host_os in |
| 14526 |
rhapsody* | darwin1.*) |
| 14527 |
_lt_dar_needs_single_mod=yes ;; |
| 14528 |
darwin*) |
| 14529 |
# When targeting Mac OS X 10.4 (darwin 8) or later, |
| 14530 |
# -single_module is the default and -multi_module is unsupported. |
| 14531 |
# The toolchain on macOS 10.14 (darwin 18) and later cannot |
| 14532 |
# target any OS version that needs -single_module. |
| 14533 |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
| 14534 |
10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*) |
| 14535 |
_lt_dar_needs_single_mod=yes ;; |
| 14536 |
esac |
| 14537 |
;; |
| 14538 |
esac |
| 14539 |
if test yes = "$lt_cv_ld_exported_symbols_list"; then |
| 14540 |
_lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' |
| 14541 |
else |
| 14542 |
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' |
| 14543 |
fi |
| 14544 |
if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then |
| 14545 |
_lt_dsymutil='~$DSYMUTIL $lib || :' |
| 14546 |
else |
| 14547 |
_lt_dsymutil= |
| 14548 |
fi |
| 14549 |
;; |
| 14550 |
esac |
| 14551 |
|
| 14552 |
# func_munge_path_list VARIABLE PATH |
| 14553 |
# ----------------------------------- |
| 14554 |
# VARIABLE is name of variable containing _space_ separated list of |
| 14555 |
# directories to be munged by the contents of PATH, which is string |
| 14556 |
# having a format: |
| 14557 |
# "DIR[:DIR]:" |
| 14558 |
# string "DIR[ DIR]" will be prepended to VARIABLE |
| 14559 |
# ":DIR[:DIR]" |
| 14560 |
# string "DIR[ DIR]" will be appended to VARIABLE |
| 14561 |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
| 14562 |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 14563 |
# "DIRA[ DIRA]" will be appended to VARIABLE |
| 14564 |
# "DIR[:DIR]" |
| 14565 |
# VARIABLE will be replaced by "DIR[ DIR]" |
| 14566 |
func_munge_path_list () |
| 14567 |
{ |
| 14568 |
case x$2 in |
| 14569 |
x) |
| 14570 |
;; |
| 14571 |
*:) |
| 14572 |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
| 14573 |
;; |
| 14574 |
x:*) |
| 14575 |
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 14576 |
;; |
| 14577 |
*::*) |
| 14578 |
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 14579 |
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 14580 |
;; |
| 14581 |
*) |
| 14582 |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 14583 |
;; |
| 14584 |
esac |
| 14585 |
} |
| 14586 |
|
| 14587 |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
| 14588 |
" |
| 14589 |
if test "x$ac_cv_header_dlfcn_h" = xyes |
| 14590 |
then : |
| 14591 |
printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h |
| 14592 |
|
| 14593 |
fi |
| 14594 |
|
| 14595 |
|
| 14596 |
|
| 14597 |
|
| 14598 |
|
| 14599 |
# Set options |
| 14600 |
|
| 14601 |
|
| 14602 |
|
| 14603 |
enable_dlopen=no |
| 14604 |
|
| 14605 |
|
| 14606 |
enable_win32_dll=no |
| 14607 |
|
| 14608 |
|
| 14609 |
# Check whether --enable-shared was given. |
| 14610 |
if test ${enable_shared+y} |
| 14611 |
then : |
| 14612 |
enableval=$enable_shared; p=${PACKAGE-default} |
| 14613 |
case $enableval in |
| 14614 |
yes) enable_shared=yes ;; |
| 14615 |
no) enable_shared=no ;; |
| 14616 |
*) |
| 14617 |
enable_shared=no |
| 14618 |
# Look at the argument we got. We use all the common list separators. |
| 14619 |
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 14620 |
for pkg in $enableval; do |
| 14621 |
IFS=$lt_save_ifs |
| 14622 |
if test "X$pkg" = "X$p"; then |
| 14623 |
enable_shared=yes |
| 14624 |
fi |
| 14625 |
done |
| 14626 |
IFS=$lt_save_ifs |
| 14627 |
;; |
| 14628 |
esac |
| 14629 |
else case e in #( |
| 14630 |
e) enable_shared=yes ;; |
| 14631 |
esac |
| 14632 |
fi |
| 14633 |
|
| 14634 |
|
| 14635 |
|
| 14636 |
|
| 14637 |
|
| 14638 |
|
| 14639 |
|
| 14640 |
|
| 14641 |
|
| 14642 |
|
| 14643 |
# Check whether --enable-pic was given. |
| 14644 |
if test ${enable_pic+y} |
| 14645 |
then : |
| 14646 |
enableval=$enable_pic; lt_p=${PACKAGE-default} |
| 14647 |
case $enableval in |
| 14648 |
yes|no) pic_mode=$enableval ;; |
| 14649 |
*) |
| 14650 |
pic_mode=default |
| 14651 |
# Look at the argument we got. We use all the common list separators. |
| 14652 |
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 14653 |
for lt_pkg in $enableval; do |
| 14654 |
IFS=$lt_save_ifs |
| 14655 |
if test "X$lt_pkg" = "X$lt_p"; then |
| 14656 |
pic_mode=yes |
| 14657 |
fi |
| 14658 |
done |
| 14659 |
IFS=$lt_save_ifs |
| 14660 |
;; |
| 14661 |
esac |
| 14662 |
else case e in #( |
| 14663 |
e) # Check whether --with-pic was given. |
| 14664 |
if test ${with_pic+y} |
| 14665 |
then : |
| 14666 |
withval=$with_pic; lt_p=${PACKAGE-default} |
| 14667 |
case $withval in |
| 14668 |
yes|no) pic_mode=$withval ;; |
| 14669 |
*) |
| 14670 |
pic_mode=default |
| 14671 |
# Look at the argument we got. We use all the common list separators. |
| 14672 |
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 14673 |
for lt_pkg in $withval; do |
| 14674 |
IFS=$lt_save_ifs |
| 14675 |
if test "X$lt_pkg" = "X$lt_p"; then |
| 14676 |
pic_mode=yes |
| 14677 |
fi |
| 14678 |
done |
| 14679 |
IFS=$lt_save_ifs |
| 14680 |
;; |
| 14681 |
esac |
| 14682 |
else case e in #( |
| 14683 |
e) pic_mode=default ;; |
| 14684 |
esac |
| 14685 |
fi |
| 14686 |
|
| 14687 |
;; |
| 14688 |
esac |
| 14689 |
fi |
| 14690 |
|
| 14691 |
|
| 14692 |
|
| 14693 |
|
| 14694 |
|
| 14695 |
|
| 14696 |
|
| 14697 |
|
| 14698 |
# Check whether --enable-fast-install was given. |
| 14699 |
if test ${enable_fast_install+y} |
| 14700 |
then : |
| 14701 |
enableval=$enable_fast_install; p=${PACKAGE-default} |
| 14702 |
case $enableval in |
| 14703 |
yes) enable_fast_install=yes ;; |
| 14704 |
no) enable_fast_install=no ;; |
| 14705 |
*) |
| 14706 |
enable_fast_install=no |
| 14707 |
# Look at the argument we got. We use all the common list separators. |
| 14708 |
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 14709 |
for pkg in $enableval; do |
| 14710 |
IFS=$lt_save_ifs |
| 14711 |
if test "X$pkg" = "X$p"; then |
| 14712 |
enable_fast_install=yes |
| 14713 |
fi |
| 14714 |
done |
| 14715 |
IFS=$lt_save_ifs |
| 14716 |
;; |
| 14717 |
esac |
| 14718 |
else case e in #( |
| 14719 |
e) enable_fast_install=yes ;; |
| 14720 |
esac |
| 14721 |
fi |
| 14722 |
|
| 14723 |
|
| 14724 |
|
| 14725 |
|
| 14726 |
|
| 14727 |
|
| 14728 |
|
| 14729 |
|
| 14730 |
shared_archive_member_spec= |
| 14731 |
case $host,$enable_shared in |
| 14732 |
power*-*-aix[5-9]*,yes) |
| 14733 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 |
| 14734 |
printf %s "checking which variant of shared library versioning to provide... " >&6; } |
| 14735 |
# Check whether --enable-aix-soname was given. |
| 14736 |
if test ${enable_aix_soname+y} |
| 14737 |
then : |
| 14738 |
enableval=$enable_aix_soname; case $enableval in |
| 14739 |
aix|svr4|both) |
| 14740 |
;; |
| 14741 |
*) |
| 14742 |
as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5 |
| 14743 |
;; |
| 14744 |
esac |
| 14745 |
lt_cv_with_aix_soname=$enable_aix_soname |
| 14746 |
else case e in #( |
| 14747 |
e) # Check whether --with-aix-soname was given. |
| 14748 |
if test ${with_aix_soname+y} |
| 14749 |
then : |
| 14750 |
withval=$with_aix_soname; case $withval in |
| 14751 |
aix|svr4|both) |
| 14752 |
;; |
| 14753 |
*) |
| 14754 |
as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 |
| 14755 |
;; |
| 14756 |
esac |
| 14757 |
lt_cv_with_aix_soname=$with_aix_soname |
| 14758 |
else case e in #( |
| 14759 |
e) if test ${lt_cv_with_aix_soname+y} |
| 14760 |
then : |
| 14761 |
printf %s "(cached) " >&6 |
| 14762 |
else case e in #( |
| 14763 |
e) lt_cv_with_aix_soname=aix ;; |
| 14764 |
esac |
| 14765 |
fi |
| 14766 |
;; |
| 14767 |
esac |
| 14768 |
fi |
| 14769 |
|
| 14770 |
enable_aix_soname=$lt_cv_with_aix_soname ;; |
| 14771 |
esac |
| 14772 |
fi |
| 14773 |
|
| 14774 |
with_aix_soname=$enable_aix_soname |
| 14775 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 |
| 14776 |
printf "%s\n" "$with_aix_soname" >&6; } |
| 14777 |
if test aix != "$with_aix_soname"; then |
| 14778 |
# For the AIX way of multilib, we name the shared archive member |
| 14779 |
# based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', |
| 14780 |
# and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. |
| 14781 |
# Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, |
| 14782 |
# the AIX toolchain works better with OBJECT_MODE set (default 32). |
| 14783 |
if test 64 = "${OBJECT_MODE-32}"; then |
| 14784 |
shared_archive_member_spec=shr_64 |
| 14785 |
else |
| 14786 |
shared_archive_member_spec=shr |
| 14787 |
fi |
| 14788 |
fi |
| 14789 |
;; |
| 14790 |
*) |
| 14791 |
with_aix_soname=aix |
| 14792 |
;; |
| 14793 |
esac |
| 14794 |
|
| 14795 |
|
| 14796 |
|
| 14797 |
|
| 14798 |
|
| 14799 |
|
| 14800 |
|
| 14801 |
|
| 14802 |
|
| 14803 |
|
| 14804 |
# This can be used to rebuild libtool when needed |
| 14805 |
LIBTOOL_DEPS=$ltmain |
| 14806 |
|
| 14807 |
# Always use our own libtool. |
| 14808 |
LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
| 14809 |
|
| 14810 |
|
| 14811 |
|
| 14812 |
|
| 14813 |
|
| 14814 |
|
| 14815 |
|
| 14816 |
|
| 14817 |
|
| 14818 |
|
| 14819 |
|
| 14820 |
|
| 14821 |
|
| 14822 |
|
| 14823 |
|
| 14824 |
|
| 14825 |
|
| 14826 |
|
| 14827 |
|
| 14828 |
|
| 14829 |
|
| 14830 |
|
| 14831 |
|
| 14832 |
|
| 14833 |
|
| 14834 |
|
| 14835 |
|
| 14836 |
|
| 14837 |
|
| 14838 |
|
| 14839 |
test -z "$LN_S" && LN_S="ln -s" |
| 14840 |
|
| 14841 |
|
| 14842 |
|
| 14843 |
|
| 14844 |
|
| 14845 |
|
| 14846 |
|
| 14847 |
|
| 14848 |
|
| 14849 |
|
| 14850 |
|
| 14851 |
|
| 14852 |
|
| 14853 |
|
| 14854 |
if test -n "${ZSH_VERSION+set}"; then |
| 14855 |
setopt NO_GLOB_SUBST |
| 14856 |
fi |
| 14857 |
|
| 14858 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
| 14859 |
printf %s "checking for objdir... " >&6; } |
| 14860 |
if test ${lt_cv_objdir+y} |
| 14861 |
then : |
| 14862 |
printf %s "(cached) " >&6 |
| 14863 |
else case e in #( |
| 14864 |
e) rm -f .libs 2>/dev/null |
| 14865 |
mkdir .libs 2>/dev/null |
| 14866 |
if test -d .libs; then |
| 14867 |
lt_cv_objdir=.libs |
| 14868 |
else |
| 14869 |
# MS-DOS does not allow filenames that begin with a dot. |
| 14870 |
lt_cv_objdir=_libs |
| 14871 |
fi |
| 14872 |
rmdir .libs 2>/dev/null ;; |
| 14873 |
esac |
| 14874 |
fi |
| 14875 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
| 14876 |
printf "%s\n" "$lt_cv_objdir" >&6; } |
| 14877 |
objdir=$lt_cv_objdir |
| 14878 |
|
| 14879 |
|
| 14880 |
|
| 14881 |
|
| 14882 |
|
| 14883 |
printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h |
| 14884 |
|
| 14885 |
|
| 14886 |
|
| 14887 |
|
| 14888 |
case $host_os in |
| 14889 |
aix3*) |
| 14890 |
# AIX sometimes has problems with the GCC collect2 program. For some |
| 14891 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
| 14892 |
# vanish in a puff of smoke. |
| 14893 |
if test set != "${COLLECT_NAMES+set}"; then |
| 14894 |
COLLECT_NAMES= |
| 14895 |
export COLLECT_NAMES |
| 14896 |
fi |
| 14897 |
;; |
| 14898 |
esac |
| 14899 |
|
| 14900 |
# Global variables: |
| 14901 |
ofile=libtool |
| 14902 |
can_build_shared=yes |
| 14903 |
|
| 14904 |
# All known linkers require a '.a' archive for static linking (except MSVC and |
| 14905 |
# ICC, which need '.lib'). |
| 14906 |
libext=a |
| 14907 |
|
| 14908 |
with_gnu_ld=$lt_cv_prog_gnu_ld |
| 14909 |
|
| 14910 |
old_CC=$CC |
| 14911 |
old_CFLAGS=$CFLAGS |
| 14912 |
|
| 14913 |
# Set sane defaults for various variables |
| 14914 |
test -z "$CC" && CC=cc |
| 14915 |
test -z "$LTCC" && LTCC=$CC |
| 14916 |
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
| 14917 |
test -z "$LD" && LD=ld |
| 14918 |
test -z "$ac_objext" && ac_objext=o |
| 14919 |
|
| 14920 |
func_cc_basename $compiler |
| 14921 |
cc_basename=$func_cc_basename_result |
| 14922 |
|
| 14923 |
|
| 14924 |
# Only perform the check for file, if the check method requires it |
| 14925 |
test -z "$MAGIC_CMD" && MAGIC_CMD=file |
| 14926 |
case $deplibs_check_method in |
| 14927 |
file_magic*) |
| 14928 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
| 14929 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
| 14930 |
printf %s "checking for ${ac_tool_prefix}file... " >&6; } |
| 14931 |
if test ${lt_cv_path_MAGIC_CMD+y} |
| 14932 |
then : |
| 14933 |
printf %s "(cached) " >&6 |
| 14934 |
else case e in #( |
| 14935 |
e) case $MAGIC_CMD in |
| 14936 |
[\\/*] | ?:[\\/]*) |
| 14937 |
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
| 14938 |
;; |
| 14939 |
*) |
| 14940 |
lt_save_MAGIC_CMD=$MAGIC_CMD |
| 14941 |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 14942 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
| 14943 |
for ac_dir in $ac_dummy; do |
| 14944 |
IFS=$lt_save_ifs |
| 14945 |
test -z "$ac_dir" && ac_dir=. |
| 14946 |
if test -f "$ac_dir/${ac_tool_prefix}file"; then |
| 14947 |
lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" |
| 14948 |
if test -n "$file_magic_test_file"; then |
| 14949 |
case $deplibs_check_method in |
| 14950 |
"file_magic "*) |
| 14951 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
| 14952 |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 14953 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
| 14954 |
$EGREP "$file_magic_regex" > /dev/null; then |
| 14955 |
: |
| 14956 |
else |
| 14957 |
cat <<_LT_EOF 1>&2 |
| 14958 |
|
| 14959 |
*** Warning: the command libtool uses to detect shared libraries, |
| 14960 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
| 14961 |
*** The result is that libtool may fail to recognize shared libraries |
| 14962 |
*** as such. This will affect the creation of libtool libraries that |
| 14963 |
*** depend on shared libraries, but programs linked with such libtool |
| 14964 |
*** libraries will work regardless of this problem. Nevertheless, you |
| 14965 |
*** may want to report the problem to your system manager and/or to |
| 14966 |
*** [email protected] |
| 14967 |
|
| 14968 |
_LT_EOF |
| 14969 |
fi ;; |
| 14970 |
esac |
| 14971 |
fi |
| 14972 |
break |
| 14973 |
fi |
| 14974 |
done |
| 14975 |
IFS=$lt_save_ifs |
| 14976 |
MAGIC_CMD=$lt_save_MAGIC_CMD |
| 14977 |
;; |
| 14978 |
esac ;; |
| 14979 |
esac |
| 14980 |
fi |
| 14981 |
|
| 14982 |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 14983 |
if test -n "$MAGIC_CMD"; then |
| 14984 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 14985 |
printf "%s\n" "$MAGIC_CMD" >&6; } |
| 14986 |
else |
| 14987 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14988 |
printf "%s\n" "no" >&6; } |
| 14989 |
fi |
| 14990 |
|
| 14991 |
|
| 14992 |
|
| 14993 |
|
| 14994 |
|
| 14995 |
if test -z "$lt_cv_path_MAGIC_CMD"; then |
| 14996 |
if test -n "$ac_tool_prefix"; then |
| 14997 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
| 14998 |
printf %s "checking for file... " >&6; } |
| 14999 |
if test ${lt_cv_path_MAGIC_CMD+y} |
| 15000 |
then : |
| 15001 |
printf %s "(cached) " >&6 |
| 15002 |
else case e in #( |
| 15003 |
e) case $MAGIC_CMD in |
| 15004 |
[\\/*] | ?:[\\/]*) |
| 15005 |
lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
| 15006 |
;; |
| 15007 |
*) |
| 15008 |
lt_save_MAGIC_CMD=$MAGIC_CMD |
| 15009 |
lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 15010 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
| 15011 |
for ac_dir in $ac_dummy; do |
| 15012 |
IFS=$lt_save_ifs |
| 15013 |
test -z "$ac_dir" && ac_dir=. |
| 15014 |
if test -f "$ac_dir/file"; then |
| 15015 |
lt_cv_path_MAGIC_CMD=$ac_dir/"file" |
| 15016 |
if test -n "$file_magic_test_file"; then |
| 15017 |
case $deplibs_check_method in |
| 15018 |
"file_magic "*) |
| 15019 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
| 15020 |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 15021 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
| 15022 |
$EGREP "$file_magic_regex" > /dev/null; then |
| 15023 |
: |
| 15024 |
else |
| 15025 |
cat <<_LT_EOF 1>&2 |
| 15026 |
|
| 15027 |
*** Warning: the command libtool uses to detect shared libraries, |
| 15028 |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
| 15029 |
*** The result is that libtool may fail to recognize shared libraries |
| 15030 |
*** as such. This will affect the creation of libtool libraries that |
| 15031 |
*** depend on shared libraries, but programs linked with such libtool |
| 15032 |
*** libraries will work regardless of this problem. Nevertheless, you |
| 15033 |
*** may want to report the problem to your system manager and/or to |
| 15034 |
*** [email protected] |
| 15035 |
|
| 15036 |
_LT_EOF |
| 15037 |
fi ;; |
| 15038 |
esac |
| 15039 |
fi |
| 15040 |
break |
| 15041 |
fi |
| 15042 |
done |
| 15043 |
IFS=$lt_save_ifs |
| 15044 |
MAGIC_CMD=$lt_save_MAGIC_CMD |
| 15045 |
;; |
| 15046 |
esac ;; |
| 15047 |
esac |
| 15048 |
fi |
| 15049 |
|
| 15050 |
MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 15051 |
if test -n "$MAGIC_CMD"; then |
| 15052 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 15053 |
printf "%s\n" "$MAGIC_CMD" >&6; } |
| 15054 |
else |
| 15055 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 15056 |
printf "%s\n" "no" >&6; } |
| 15057 |
fi |
| 15058 |
|
| 15059 |
|
| 15060 |
else |
| 15061 |
MAGIC_CMD=: |
| 15062 |
fi |
| 15063 |
fi |
| 15064 |
|
| 15065 |
fi |
| 15066 |
;; |
| 15067 |
esac |
| 15068 |
|
| 15069 |
# Use C for the default configuration in the libtool script |
| 15070 |
|
| 15071 |
lt_save_CC=$CC |
| 15072 |
ac_ext=c |
| 15073 |
ac_cpp='$CPP $CPPFLAGS' |
| 15074 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 15075 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 15076 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 15077 |
|
| 15078 |
|
| 15079 |
# Source file extension for C test sources. |
| 15080 |
ac_ext=c |
| 15081 |
|
| 15082 |
# Object file extension for compiled C test sources. |
| 15083 |
objext=o |
| 15084 |
objext=$objext |
| 15085 |
|
| 15086 |
# Code to be used in simple compile tests |
| 15087 |
lt_simple_compile_test_code="int some_variable = 0;" |
| 15088 |
|
| 15089 |
# Code to be used in simple link tests |
| 15090 |
lt_simple_link_test_code='int main(void){return(0);}' |
| 15091 |
|
| 15092 |
|
| 15093 |
|
| 15094 |
|
| 15095 |
|
| 15096 |
|
| 15097 |
|
| 15098 |
# If no C compiler was specified, use CC. |
| 15099 |
LTCC=${LTCC-"$CC"} |
| 15100 |
|
| 15101 |
# If no C compiler flags were specified, use CFLAGS. |
| 15102 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
| 15103 |
|
| 15104 |
# Allow CC to be a program name with arguments. |
| 15105 |
compiler=$CC |
| 15106 |
|
| 15107 |
# Save the default compiler, since it gets overwritten when the other |
| 15108 |
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. |
| 15109 |
compiler_DEFAULT=$CC |
| 15110 |
|
| 15111 |
# save warnings/boilerplate of simple test code |
| 15112 |
ac_outfile=conftest.$ac_objext |
| 15113 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
| 15114 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 15115 |
_lt_compiler_boilerplate=`cat conftest.err` |
| 15116 |
$RM conftest* |
| 15117 |
|
| 15118 |
ac_outfile=conftest.$ac_objext |
| 15119 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
| 15120 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
| 15121 |
_lt_linker_boilerplate=`cat conftest.err` |
| 15122 |
$RM -r conftest* |
| 15123 |
|
| 15124 |
|
| 15125 |
## CAVEAT EMPTOR: |
| 15126 |
## There is no encapsulation within the following macros, do not change |
| 15127 |
## the running order or otherwise move them around unless you know exactly |
| 15128 |
## what you are doing... |
| 15129 |
if test -n "$compiler"; then |
| 15130 |
|
| 15131 |
lt_prog_compiler_no_builtin_flag= |
| 15132 |
|
| 15133 |
if test yes = "$GCC"; then |
| 15134 |
case $cc_basename in |
| 15135 |
nvcc*) |
| 15136 |
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
| 15137 |
*) |
| 15138 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
| 15139 |
esac |
| 15140 |
|
| 15141 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
| 15142 |
printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
| 15143 |
if test ${lt_cv_prog_compiler_rtti_exceptions+y} |
| 15144 |
then : |
| 15145 |
printf %s "(cached) " >&6 |
| 15146 |
else case e in #( |
| 15147 |
e) lt_cv_prog_compiler_rtti_exceptions=no |
| 15148 |
ac_outfile=conftest.$ac_objext |
| 15149 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 15150 |
lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment |
| 15151 |
# Insert the option either (1) after the last *FLAGS variable, or |
| 15152 |
# (2) before a word containing "conftest.", or (3) at the end. |
| 15153 |
# Note that $ac_compile itself does not contain backslashes and begins |
| 15154 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
| 15155 |
# The option is referenced via a variable to avoid confusing sed. |
| 15156 |
lt_compile=`echo "$ac_compile" | $SED \ |
| 15157 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 15158 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 15159 |
-e 's:$: $lt_compiler_flag:'` |
| 15160 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 15161 |
(eval "$lt_compile" 2>conftest.err) |
| 15162 |
ac_status=$? |
| 15163 |
cat conftest.err >&5 |
| 15164 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15165 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 15166 |
# The compiler can only warn and ignore the option if not recognized |
| 15167 |
# So say no if there are warnings other than the usual output. |
| 15168 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 15169 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 15170 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 15171 |
lt_cv_prog_compiler_rtti_exceptions=yes |
| 15172 |
fi |
| 15173 |
fi |
| 15174 |
$RM conftest* |
| 15175 |
;; |
| 15176 |
esac |
| 15177 |
fi |
| 15178 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
| 15179 |
printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
| 15180 |
|
| 15181 |
if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then |
| 15182 |
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
| 15183 |
else |
| 15184 |
: |
| 15185 |
fi |
| 15186 |
|
| 15187 |
fi |
| 15188 |
|
| 15189 |
|
| 15190 |
|
| 15191 |
|
| 15192 |
|
| 15193 |
|
| 15194 |
lt_prog_compiler_wl= |
| 15195 |
lt_prog_compiler_pic= |
| 15196 |
lt_prog_compiler_static= |
| 15197 |
|
| 15198 |
|
| 15199 |
if test yes = "$GCC"; then |
| 15200 |
lt_prog_compiler_wl='-Wl,' |
| 15201 |
lt_prog_compiler_static='-static' |
| 15202 |
|
| 15203 |
case $host_os in |
| 15204 |
aix*) |
| 15205 |
# All AIX code is PIC. |
| 15206 |
if test ia64 = "$host_cpu"; then |
| 15207 |
# AIX 5 now supports IA64 processor |
| 15208 |
lt_prog_compiler_static='-Bstatic' |
| 15209 |
fi |
| 15210 |
lt_prog_compiler_pic='-fPIC' |
| 15211 |
;; |
| 15212 |
|
| 15213 |
amigaos*) |
| 15214 |
case $host_cpu in |
| 15215 |
powerpc) |
| 15216 |
# see comment about AmigaOS4 .so support |
| 15217 |
lt_prog_compiler_pic='-fPIC' |
| 15218 |
;; |
| 15219 |
m68k) |
| 15220 |
# FIXME: we need at least 68020 code to build shared libraries, but |
| 15221 |
# adding the '-m68020' flag to GCC prevents building anything better, |
| 15222 |
# like '-m68040'. |
| 15223 |
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
| 15224 |
;; |
| 15225 |
esac |
| 15226 |
;; |
| 15227 |
|
| 15228 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 15229 |
# PIC is the default for these OSes. |
| 15230 |
;; |
| 15231 |
|
| 15232 |
mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) |
| 15233 |
# This hack is so that the source file can tell whether it is being |
| 15234 |
# built for inclusion in a dll (and should export symbols for example). |
| 15235 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
| 15236 |
# (--disable-auto-import) libraries |
| 15237 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
| 15238 |
case $host_os in |
| 15239 |
os2*) |
| 15240 |
lt_prog_compiler_static='$wl-static' |
| 15241 |
;; |
| 15242 |
esac |
| 15243 |
;; |
| 15244 |
|
| 15245 |
darwin* | rhapsody*) |
| 15246 |
# PIC is the default on this platform |
| 15247 |
# Common symbols not allowed in MH_DYLIB files |
| 15248 |
lt_prog_compiler_pic='-fno-common' |
| 15249 |
;; |
| 15250 |
|
| 15251 |
haiku*) |
| 15252 |
# PIC is the default for Haiku. |
| 15253 |
# The "-static" flag exists, but is broken. |
| 15254 |
lt_prog_compiler_static= |
| 15255 |
;; |
| 15256 |
|
| 15257 |
hpux*) |
| 15258 |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
| 15259 |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
| 15260 |
# sets the default TLS model and affects inlining. |
| 15261 |
case $host_cpu in |
| 15262 |
hppa*64*) |
| 15263 |
# +Z the default |
| 15264 |
;; |
| 15265 |
*) |
| 15266 |
lt_prog_compiler_pic='-fPIC' |
| 15267 |
;; |
| 15268 |
esac |
| 15269 |
;; |
| 15270 |
|
| 15271 |
interix[3-9]*) |
| 15272 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 15273 |
# Instead, we relocate shared libraries at runtime. |
| 15274 |
;; |
| 15275 |
|
| 15276 |
msdosdjgpp*) |
| 15277 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
| 15278 |
# on systems that don't support them. |
| 15279 |
lt_prog_compiler_can_build_shared=no |
| 15280 |
enable_shared=no |
| 15281 |
;; |
| 15282 |
|
| 15283 |
*nto* | *qnx*) |
| 15284 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
| 15285 |
# it will coredump. |
| 15286 |
lt_prog_compiler_pic='-fPIC -shared' |
| 15287 |
;; |
| 15288 |
|
| 15289 |
sysv4*MP*) |
| 15290 |
if test -d /usr/nec; then |
| 15291 |
lt_prog_compiler_pic=-Kconform_pic |
| 15292 |
fi |
| 15293 |
;; |
| 15294 |
|
| 15295 |
*) |
| 15296 |
lt_prog_compiler_pic='-fPIC' |
| 15297 |
;; |
| 15298 |
esac |
| 15299 |
|
| 15300 |
case $cc_basename in |
| 15301 |
nvcc*) # Cuda Compiler Driver 2.2 |
| 15302 |
lt_prog_compiler_wl='-Xlinker ' |
| 15303 |
if test -n "$lt_prog_compiler_pic"; then |
| 15304 |
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
| 15305 |
fi |
| 15306 |
;; |
| 15307 |
esac |
| 15308 |
else |
| 15309 |
# PORTME Check for flag to pass linker flags through the system compiler. |
| 15310 |
case $host_os in |
| 15311 |
aix*) |
| 15312 |
lt_prog_compiler_wl='-Wl,' |
| 15313 |
if test ia64 = "$host_cpu"; then |
| 15314 |
# AIX 5 now supports IA64 processor |
| 15315 |
lt_prog_compiler_static='-Bstatic' |
| 15316 |
else |
| 15317 |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
| 15318 |
fi |
| 15319 |
;; |
| 15320 |
|
| 15321 |
darwin* | rhapsody*) |
| 15322 |
# PIC is the default on this platform |
| 15323 |
# Common symbols not allowed in MH_DYLIB files |
| 15324 |
lt_prog_compiler_pic='-fno-common' |
| 15325 |
case $cc_basename in |
| 15326 |
nagfor*) |
| 15327 |
# NAG Fortran compiler |
| 15328 |
lt_prog_compiler_wl='-Wl,-Wl,,' |
| 15329 |
lt_prog_compiler_pic='-PIC' |
| 15330 |
lt_prog_compiler_static='-Bstatic' |
| 15331 |
;; |
| 15332 |
esac |
| 15333 |
;; |
| 15334 |
|
| 15335 |
mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) |
| 15336 |
# This hack is so that the source file can tell whether it is being |
| 15337 |
# built for inclusion in a dll (and should export symbols for example). |
| 15338 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
| 15339 |
case $host_os in |
| 15340 |
os2*) |
| 15341 |
lt_prog_compiler_static='$wl-static' |
| 15342 |
;; |
| 15343 |
esac |
| 15344 |
;; |
| 15345 |
|
| 15346 |
hpux9* | hpux10* | hpux11*) |
| 15347 |
lt_prog_compiler_wl='-Wl,' |
| 15348 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
| 15349 |
# not for PA HP-UX. |
| 15350 |
case $host_cpu in |
| 15351 |
hppa*64*|ia64*) |
| 15352 |
# +Z the default |
| 15353 |
;; |
| 15354 |
*) |
| 15355 |
lt_prog_compiler_pic='+Z' |
| 15356 |
;; |
| 15357 |
esac |
| 15358 |
# Is there a better lt_prog_compiler_static that works with the bundled CC? |
| 15359 |
lt_prog_compiler_static='$wl-a ${wl}archive' |
| 15360 |
;; |
| 15361 |
|
| 15362 |
irix5* | irix6* | nonstopux*) |
| 15363 |
lt_prog_compiler_wl='-Wl,' |
| 15364 |
# PIC (with -KPIC) is the default. |
| 15365 |
lt_prog_compiler_static='-non_shared' |
| 15366 |
;; |
| 15367 |
|
| 15368 |
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 15369 |
case $cc_basename in |
| 15370 |
# old Intel for x86_64, which still supported -KPIC. |
| 15371 |
ecc*) |
| 15372 |
lt_prog_compiler_wl='-Wl,' |
| 15373 |
lt_prog_compiler_pic='-KPIC' |
| 15374 |
lt_prog_compiler_static='-static' |
| 15375 |
;; |
| 15376 |
*flang* | ftn | f18* | f95*) |
| 15377 |
# Flang compiler. |
| 15378 |
lt_prog_compiler_wl='-Wl,' |
| 15379 |
lt_prog_compiler_pic='-fPIC' |
| 15380 |
lt_prog_compiler_static='-static' |
| 15381 |
;; |
| 15382 |
# icc used to be incompatible with GCC. |
| 15383 |
# ICC 10 doesn't accept -KPIC any more. |
| 15384 |
icc* | ifort*) |
| 15385 |
lt_prog_compiler_wl='-Wl,' |
| 15386 |
lt_prog_compiler_pic='-fPIC' |
| 15387 |
lt_prog_compiler_static='-static' |
| 15388 |
;; |
| 15389 |
# Lahey Fortran 8.1. |
| 15390 |
lf95*) |
| 15391 |
lt_prog_compiler_wl='-Wl,' |
| 15392 |
lt_prog_compiler_pic='--shared' |
| 15393 |
lt_prog_compiler_static='--static' |
| 15394 |
;; |
| 15395 |
nagfor*) |
| 15396 |
# NAG Fortran compiler |
| 15397 |
lt_prog_compiler_wl='-Wl,-Wl,,' |
| 15398 |
lt_prog_compiler_pic='-PIC' |
| 15399 |
lt_prog_compiler_static='-Bstatic' |
| 15400 |
;; |
| 15401 |
tcc*) |
| 15402 |
# Fabrice Bellard et al's Tiny C Compiler |
| 15403 |
lt_prog_compiler_wl='-Wl,' |
| 15404 |
lt_prog_compiler_pic='-fPIC' |
| 15405 |
lt_prog_compiler_static='-static' |
| 15406 |
;; |
| 15407 |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 15408 |
# Portland Group compilers (*not* the Pentium gcc compiler, |
| 15409 |
# which looks to be a dead project) |
| 15410 |
lt_prog_compiler_wl='-Wl,' |
| 15411 |
lt_prog_compiler_pic='-fpic' |
| 15412 |
lt_prog_compiler_static='-Bstatic' |
| 15413 |
;; |
| 15414 |
ccc*) |
| 15415 |
lt_prog_compiler_wl='-Wl,' |
| 15416 |
# All Alpha code is PIC. |
| 15417 |
lt_prog_compiler_static='-non_shared' |
| 15418 |
;; |
| 15419 |
xl* | bgxl* | bgf* | mpixl*) |
| 15420 |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
| 15421 |
lt_prog_compiler_wl='-Wl,' |
| 15422 |
lt_prog_compiler_pic='-qpic' |
| 15423 |
lt_prog_compiler_static='-qstaticlink' |
| 15424 |
;; |
| 15425 |
*) |
| 15426 |
case `$CC -V 2>&1 | $SED 5q` in |
| 15427 |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
| 15428 |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 15429 |
lt_prog_compiler_pic='-KPIC' |
| 15430 |
lt_prog_compiler_static='-Bstatic' |
| 15431 |
lt_prog_compiler_wl='' |
| 15432 |
;; |
| 15433 |
*Sun\ F* | *Sun*Fortran*) |
| 15434 |
lt_prog_compiler_pic='-KPIC' |
| 15435 |
lt_prog_compiler_static='-Bstatic' |
| 15436 |
lt_prog_compiler_wl='-Qoption ld ' |
| 15437 |
;; |
| 15438 |
*Sun\ C*) |
| 15439 |
# Sun C 5.9 |
| 15440 |
lt_prog_compiler_pic='-KPIC' |
| 15441 |
lt_prog_compiler_static='-Bstatic' |
| 15442 |
lt_prog_compiler_wl='-Wl,' |
| 15443 |
;; |
| 15444 |
*Intel*\ [CF]*Compiler*) |
| 15445 |
lt_prog_compiler_wl='-Wl,' |
| 15446 |
lt_prog_compiler_pic='-fPIC' |
| 15447 |
lt_prog_compiler_static='-static' |
| 15448 |
;; |
| 15449 |
*Portland\ Group*) |
| 15450 |
lt_prog_compiler_wl='-Wl,' |
| 15451 |
lt_prog_compiler_pic='-fpic' |
| 15452 |
lt_prog_compiler_static='-Bstatic' |
| 15453 |
;; |
| 15454 |
esac |
| 15455 |
;; |
| 15456 |
esac |
| 15457 |
;; |
| 15458 |
|
| 15459 |
newsos6) |
| 15460 |
lt_prog_compiler_pic='-KPIC' |
| 15461 |
lt_prog_compiler_static='-Bstatic' |
| 15462 |
;; |
| 15463 |
|
| 15464 |
*-mlibc) |
| 15465 |
lt_prog_compiler_wl='-Wl,' |
| 15466 |
lt_prog_compiler_pic='-fPIC' |
| 15467 |
lt_prog_compiler_static='-static' |
| 15468 |
;; |
| 15469 |
|
| 15470 |
*nto* | *qnx*) |
| 15471 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
| 15472 |
# it will coredump. |
| 15473 |
lt_prog_compiler_pic='-fPIC -shared' |
| 15474 |
;; |
| 15475 |
|
| 15476 |
osf3* | osf4* | osf5*) |
| 15477 |
lt_prog_compiler_wl='-Wl,' |
| 15478 |
# All OSF/1 code is PIC. |
| 15479 |
lt_prog_compiler_static='-non_shared' |
| 15480 |
;; |
| 15481 |
|
| 15482 |
rdos*) |
| 15483 |
lt_prog_compiler_static='-non_shared' |
| 15484 |
;; |
| 15485 |
|
| 15486 |
serenity*) |
| 15487 |
;; |
| 15488 |
|
| 15489 |
solaris*) |
| 15490 |
lt_prog_compiler_pic='-KPIC' |
| 15491 |
lt_prog_compiler_static='-Bstatic' |
| 15492 |
case $cc_basename in |
| 15493 |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
| 15494 |
lt_prog_compiler_wl='-Qoption ld ';; |
| 15495 |
*) |
| 15496 |
lt_prog_compiler_wl='-Wl,';; |
| 15497 |
esac |
| 15498 |
;; |
| 15499 |
|
| 15500 |
sunos4*) |
| 15501 |
lt_prog_compiler_wl='-Qoption ld ' |
| 15502 |
lt_prog_compiler_pic='-PIC' |
| 15503 |
lt_prog_compiler_static='-Bstatic' |
| 15504 |
;; |
| 15505 |
|
| 15506 |
sysv4 | sysv4.2uw2* | sysv4.3*) |
| 15507 |
lt_prog_compiler_wl='-Wl,' |
| 15508 |
lt_prog_compiler_pic='-KPIC' |
| 15509 |
lt_prog_compiler_static='-Bstatic' |
| 15510 |
;; |
| 15511 |
|
| 15512 |
sysv4*MP*) |
| 15513 |
if test -d /usr/nec; then |
| 15514 |
lt_prog_compiler_pic='-Kconform_pic' |
| 15515 |
lt_prog_compiler_static='-Bstatic' |
| 15516 |
fi |
| 15517 |
;; |
| 15518 |
|
| 15519 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 15520 |
lt_prog_compiler_wl='-Wl,' |
| 15521 |
lt_prog_compiler_pic='-KPIC' |
| 15522 |
lt_prog_compiler_static='-Bstatic' |
| 15523 |
;; |
| 15524 |
|
| 15525 |
unicos*) |
| 15526 |
lt_prog_compiler_wl='-Wl,' |
| 15527 |
lt_prog_compiler_can_build_shared=no |
| 15528 |
;; |
| 15529 |
|
| 15530 |
uts4*) |
| 15531 |
lt_prog_compiler_pic='-pic' |
| 15532 |
lt_prog_compiler_static='-Bstatic' |
| 15533 |
;; |
| 15534 |
|
| 15535 |
*) |
| 15536 |
lt_prog_compiler_can_build_shared=no |
| 15537 |
;; |
| 15538 |
esac |
| 15539 |
fi |
| 15540 |
|
| 15541 |
case $host_os in |
| 15542 |
# For platforms that do not support PIC, -DPIC is meaningless: |
| 15543 |
*djgpp*) |
| 15544 |
lt_prog_compiler_pic= |
| 15545 |
;; |
| 15546 |
*) |
| 15547 |
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
| 15548 |
;; |
| 15549 |
esac |
| 15550 |
|
| 15551 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 15552 |
printf %s "checking for $compiler option to produce PIC... " >&6; } |
| 15553 |
if test ${lt_cv_prog_compiler_pic+y} |
| 15554 |
then : |
| 15555 |
printf %s "(cached) " >&6 |
| 15556 |
else case e in #( |
| 15557 |
e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;; |
| 15558 |
esac |
| 15559 |
fi |
| 15560 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
| 15561 |
printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; } |
| 15562 |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
| 15563 |
|
| 15564 |
# |
| 15565 |
# Check to make sure the PIC flag actually works. |
| 15566 |
# |
| 15567 |
if test -n "$lt_prog_compiler_pic"; then |
| 15568 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
| 15569 |
printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
| 15570 |
if test ${lt_cv_prog_compiler_pic_works+y} |
| 15571 |
then : |
| 15572 |
printf %s "(cached) " >&6 |
| 15573 |
else case e in #( |
| 15574 |
e) lt_cv_prog_compiler_pic_works=no |
| 15575 |
ac_outfile=conftest.$ac_objext |
| 15576 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 15577 |
lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment |
| 15578 |
# Insert the option either (1) after the last *FLAGS variable, or |
| 15579 |
# (2) before a word containing "conftest.", or (3) at the end. |
| 15580 |
# Note that $ac_compile itself does not contain backslashes and begins |
| 15581 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
| 15582 |
# The option is referenced via a variable to avoid confusing sed. |
| 15583 |
lt_compile=`echo "$ac_compile" | $SED \ |
| 15584 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 15585 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 15586 |
-e 's:$: $lt_compiler_flag:'` |
| 15587 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 15588 |
(eval "$lt_compile" 2>conftest.err) |
| 15589 |
ac_status=$? |
| 15590 |
cat conftest.err >&5 |
| 15591 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15592 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 15593 |
# The compiler can only warn and ignore the option if not recognized |
| 15594 |
# So say no if there are warnings other than the usual output. |
| 15595 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 15596 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 15597 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 15598 |
lt_cv_prog_compiler_pic_works=yes |
| 15599 |
fi |
| 15600 |
fi |
| 15601 |
$RM conftest* |
| 15602 |
;; |
| 15603 |
esac |
| 15604 |
fi |
| 15605 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
| 15606 |
printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } |
| 15607 |
|
| 15608 |
if test yes = "$lt_cv_prog_compiler_pic_works"; then |
| 15609 |
case $lt_prog_compiler_pic in |
| 15610 |
"" | " "*) ;; |
| 15611 |
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
| 15612 |
esac |
| 15613 |
else |
| 15614 |
lt_prog_compiler_pic= |
| 15615 |
lt_prog_compiler_can_build_shared=no |
| 15616 |
fi |
| 15617 |
|
| 15618 |
fi |
| 15619 |
|
| 15620 |
|
| 15621 |
|
| 15622 |
|
| 15623 |
|
| 15624 |
|
| 15625 |
|
| 15626 |
|
| 15627 |
|
| 15628 |
|
| 15629 |
|
| 15630 |
# |
| 15631 |
# Check to make sure the static flag actually works. |
| 15632 |
# |
| 15633 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
| 15634 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 15635 |
printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 15636 |
if test ${lt_cv_prog_compiler_static_works+y} |
| 15637 |
then : |
| 15638 |
printf %s "(cached) " >&6 |
| 15639 |
else case e in #( |
| 15640 |
e) lt_cv_prog_compiler_static_works=no |
| 15641 |
save_LDFLAGS=$LDFLAGS |
| 15642 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 15643 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 15644 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 15645 |
# The linker can only warn and ignore the option if not recognized |
| 15646 |
# So say no if there are warnings |
| 15647 |
if test -s conftest.err; then |
| 15648 |
# Append any errors to the config.log. |
| 15649 |
cat conftest.err 1>&5 |
| 15650 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 15651 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 15652 |
if diff conftest.exp conftest.er2 >/dev/null; then |
| 15653 |
lt_cv_prog_compiler_static_works=yes |
| 15654 |
fi |
| 15655 |
else |
| 15656 |
lt_cv_prog_compiler_static_works=yes |
| 15657 |
fi |
| 15658 |
fi |
| 15659 |
$RM -r conftest* |
| 15660 |
LDFLAGS=$save_LDFLAGS |
| 15661 |
;; |
| 15662 |
esac |
| 15663 |
fi |
| 15664 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
| 15665 |
printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } |
| 15666 |
|
| 15667 |
if test yes = "$lt_cv_prog_compiler_static_works"; then |
| 15668 |
: |
| 15669 |
else |
| 15670 |
lt_prog_compiler_static= |
| 15671 |
fi |
| 15672 |
|
| 15673 |
|
| 15674 |
|
| 15675 |
|
| 15676 |
|
| 15677 |
|
| 15678 |
|
| 15679 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 15680 |
printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 15681 |
if test ${lt_cv_prog_compiler_c_o+y} |
| 15682 |
then : |
| 15683 |
printf %s "(cached) " >&6 |
| 15684 |
else case e in #( |
| 15685 |
e) lt_cv_prog_compiler_c_o=no |
| 15686 |
$RM -r conftest 2>/dev/null |
| 15687 |
mkdir conftest |
| 15688 |
cd conftest |
| 15689 |
mkdir out |
| 15690 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 15691 |
|
| 15692 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 15693 |
# Insert the option either (1) after the last *FLAGS variable, or |
| 15694 |
# (2) before a word containing "conftest.", or (3) at the end. |
| 15695 |
# Note that $ac_compile itself does not contain backslashes and begins |
| 15696 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
| 15697 |
lt_compile=`echo "$ac_compile" | $SED \ |
| 15698 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 15699 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 15700 |
-e 's:$: $lt_compiler_flag:'` |
| 15701 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 15702 |
(eval "$lt_compile" 2>out/conftest.err) |
| 15703 |
ac_status=$? |
| 15704 |
cat out/conftest.err >&5 |
| 15705 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15706 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 15707 |
then |
| 15708 |
# The compiler can only warn and ignore the option if not recognized |
| 15709 |
# So say no if there are warnings |
| 15710 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
| 15711 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 15712 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 15713 |
lt_cv_prog_compiler_c_o=yes |
| 15714 |
fi |
| 15715 |
fi |
| 15716 |
chmod u+w . 2>&5 |
| 15717 |
$RM conftest* |
| 15718 |
# SGI C++ compiler will create directory out/ii_files/ for |
| 15719 |
# template instantiation |
| 15720 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
| 15721 |
$RM out/* && rmdir out |
| 15722 |
cd .. |
| 15723 |
$RM -r conftest |
| 15724 |
$RM conftest* |
| 15725 |
;; |
| 15726 |
esac |
| 15727 |
fi |
| 15728 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 15729 |
printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } |
| 15730 |
|
| 15731 |
|
| 15732 |
|
| 15733 |
|
| 15734 |
|
| 15735 |
|
| 15736 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
| 15737 |
printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 15738 |
if test ${lt_cv_prog_compiler_c_o+y} |
| 15739 |
then : |
| 15740 |
printf %s "(cached) " >&6 |
| 15741 |
else case e in #( |
| 15742 |
e) lt_cv_prog_compiler_c_o=no |
| 15743 |
$RM -r conftest 2>/dev/null |
| 15744 |
mkdir conftest |
| 15745 |
cd conftest |
| 15746 |
mkdir out |
| 15747 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 15748 |
|
| 15749 |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 15750 |
# Insert the option either (1) after the last *FLAGS variable, or |
| 15751 |
# (2) before a word containing "conftest.", or (3) at the end. |
| 15752 |
# Note that $ac_compile itself does not contain backslashes and begins |
| 15753 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
| 15754 |
lt_compile=`echo "$ac_compile" | $SED \ |
| 15755 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 15756 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 15757 |
-e 's:$: $lt_compiler_flag:'` |
| 15758 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 15759 |
(eval "$lt_compile" 2>out/conftest.err) |
| 15760 |
ac_status=$? |
| 15761 |
cat out/conftest.err >&5 |
| 15762 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15763 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 15764 |
then |
| 15765 |
# The compiler can only warn and ignore the option if not recognized |
| 15766 |
# So say no if there are warnings |
| 15767 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
| 15768 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 15769 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 15770 |
lt_cv_prog_compiler_c_o=yes |
| 15771 |
fi |
| 15772 |
fi |
| 15773 |
chmod u+w . 2>&5 |
| 15774 |
$RM conftest* |
| 15775 |
# SGI C++ compiler will create directory out/ii_files/ for |
| 15776 |
# template instantiation |
| 15777 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
| 15778 |
$RM out/* && rmdir out |
| 15779 |
cd .. |
| 15780 |
$RM -r conftest |
| 15781 |
$RM conftest* |
| 15782 |
;; |
| 15783 |
esac |
| 15784 |
fi |
| 15785 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 15786 |
printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; } |
| 15787 |
|
| 15788 |
|
| 15789 |
|
| 15790 |
|
| 15791 |
hard_links=nottested |
| 15792 |
if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then |
| 15793 |
# do not overwrite the value of need_locks provided by the user |
| 15794 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
| 15795 |
printf %s "checking if we can lock with hard links... " >&6; } |
| 15796 |
hard_links=yes |
| 15797 |
$RM conftest* |
| 15798 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 15799 |
touch conftest.a |
| 15800 |
ln conftest.a conftest.b 2>&5 || hard_links=no |
| 15801 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 15802 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
| 15803 |
printf "%s\n" "$hard_links" >&6; } |
| 15804 |
if test no = "$hard_links"; then |
| 15805 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 |
| 15806 |
printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} |
| 15807 |
need_locks=warn |
| 15808 |
fi |
| 15809 |
else |
| 15810 |
need_locks=no |
| 15811 |
fi |
| 15812 |
|
| 15813 |
|
| 15814 |
|
| 15815 |
|
| 15816 |
|
| 15817 |
|
| 15818 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
| 15819 |
printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
| 15820 |
|
| 15821 |
runpath_var= |
| 15822 |
allow_undefined_flag= |
| 15823 |
always_export_symbols=no |
| 15824 |
archive_cmds= |
| 15825 |
archive_expsym_cmds= |
| 15826 |
compiler_needs_object=no |
| 15827 |
enable_shared_with_static_runtimes=no |
| 15828 |
export_dynamic_flag_spec= |
| 15829 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
| 15830 |
hardcode_automatic=no |
| 15831 |
hardcode_direct=no |
| 15832 |
hardcode_direct_absolute=no |
| 15833 |
hardcode_libdir_flag_spec= |
| 15834 |
hardcode_libdir_separator= |
| 15835 |
hardcode_minus_L=no |
| 15836 |
hardcode_shlibpath_var=unsupported |
| 15837 |
inherit_rpath=no |
| 15838 |
link_all_deplibs=unknown |
| 15839 |
module_cmds= |
| 15840 |
module_expsym_cmds= |
| 15841 |
old_archive_from_new_cmds= |
| 15842 |
old_archive_from_expsyms_cmds= |
| 15843 |
thread_safe_flag_spec= |
| 15844 |
whole_archive_flag_spec= |
| 15845 |
# include_expsyms should be a list of space-separated symbols to be *always* |
| 15846 |
# included in the symbol list |
| 15847 |
include_expsyms= |
| 15848 |
# exclude_expsyms can be an extended regexp of symbols to exclude |
| 15849 |
# it will be wrapped by ' (' and ')$', so one must not match beginning or |
| 15850 |
# end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', |
| 15851 |
# as well as any symbol that contains 'd'. |
| 15852 |
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
| 15853 |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
| 15854 |
# platforms (ab)use it in PIC code, but their linkers get confused if |
| 15855 |
# the symbol is explicitly referenced. Since portable code cannot |
| 15856 |
# rely on this symbol name, it's probably fine to never include it in |
| 15857 |
# preloaded symbol tables. |
| 15858 |
# Exclude shared library initialization/finalization symbols. |
| 15859 |
extract_expsyms_cmds= |
| 15860 |
|
| 15861 |
case $host_os in |
| 15862 |
cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 15863 |
# FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time |
| 15864 |
# When not using gcc, we currently assume that we are using |
| 15865 |
# Microsoft Visual C++ or Intel C++ Compiler. |
| 15866 |
if test yes != "$GCC"; then |
| 15867 |
with_gnu_ld=no |
| 15868 |
fi |
| 15869 |
;; |
| 15870 |
interix*) |
| 15871 |
# we just hope/assume this is gcc and not c89 (= MSVC++ or ICC) |
| 15872 |
with_gnu_ld=yes |
| 15873 |
;; |
| 15874 |
esac |
| 15875 |
|
| 15876 |
ld_shlibs=yes |
| 15877 |
|
| 15878 |
# On some targets, GNU ld is compatible enough with the native linker |
| 15879 |
# that we're better off using the native interface for both. |
| 15880 |
lt_use_gnu_ld_interface=no |
| 15881 |
if test yes = "$with_gnu_ld"; then |
| 15882 |
case $host_os in |
| 15883 |
aix*) |
| 15884 |
# The AIX port of GNU ld has always aspired to compatibility |
| 15885 |
# with the native linker. However, as the warning in the GNU ld |
| 15886 |
# block says, versions before 2.19.5* couldn't really create working |
| 15887 |
# shared libraries, regardless of the interface used. |
| 15888 |
case `$LD -v 2>&1` in |
| 15889 |
*\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
| 15890 |
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
| 15891 |
*\ \(GNU\ Binutils\)\ [3-9]*) ;; |
| 15892 |
*) |
| 15893 |
lt_use_gnu_ld_interface=yes |
| 15894 |
;; |
| 15895 |
esac |
| 15896 |
;; |
| 15897 |
*) |
| 15898 |
lt_use_gnu_ld_interface=yes |
| 15899 |
;; |
| 15900 |
esac |
| 15901 |
fi |
| 15902 |
|
| 15903 |
if test yes = "$lt_use_gnu_ld_interface"; then |
| 15904 |
# If archive_cmds runs LD, not CC, wlarc should be empty |
| 15905 |
wlarc='$wl' |
| 15906 |
|
| 15907 |
# Set some defaults for GNU ld with shared library support. These |
| 15908 |
# are reset later if shared libraries are not supported. Putting them |
| 15909 |
# here allows them to be overridden if necessary. |
| 15910 |
runpath_var=LD_RUN_PATH |
| 15911 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 15912 |
export_dynamic_flag_spec='$wl--export-dynamic' |
| 15913 |
# ancient GNU ld didn't support --whole-archive et. al. |
| 15914 |
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
| 15915 |
whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' |
| 15916 |
else |
| 15917 |
whole_archive_flag_spec= |
| 15918 |
fi |
| 15919 |
supports_anon_versioning=no |
| 15920 |
case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in |
| 15921 |
*GNU\ gold*) supports_anon_versioning=yes ;; |
| 15922 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
| 15923 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
| 15924 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
| 15925 |
*\ 2.11.*) ;; # other 2.11 versions |
| 15926 |
*) supports_anon_versioning=yes ;; |
| 15927 |
esac |
| 15928 |
|
| 15929 |
# See if GNU ld supports shared libraries. |
| 15930 |
case $host_os in |
| 15931 |
aix[3-9]*) |
| 15932 |
# On AIX/PPC, the GNU linker is very broken |
| 15933 |
if test ia64 != "$host_cpu"; then |
| 15934 |
ld_shlibs=no |
| 15935 |
cat <<_LT_EOF 1>&2 |
| 15936 |
|
| 15937 |
*** Warning: the GNU linker, at least up to release 2.19, is reported |
| 15938 |
*** to be unable to reliably create shared libraries on AIX. |
| 15939 |
*** Therefore, libtool is disabling shared libraries support. If you |
| 15940 |
*** really care for shared libraries, you may want to install binutils |
| 15941 |
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
| 15942 |
*** You will then need to restart the configuration process. |
| 15943 |
|
| 15944 |
_LT_EOF |
| 15945 |
fi |
| 15946 |
;; |
| 15947 |
|
| 15948 |
amigaos*) |
| 15949 |
case $host_cpu in |
| 15950 |
powerpc) |
| 15951 |
# see comment about AmigaOS4 .so support |
| 15952 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 15953 |
archive_expsym_cmds='' |
| 15954 |
;; |
| 15955 |
m68k) |
| 15956 |
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)' |
| 15957 |
hardcode_libdir_flag_spec='-L$libdir' |
| 15958 |
hardcode_minus_L=yes |
| 15959 |
;; |
| 15960 |
esac |
| 15961 |
;; |
| 15962 |
|
| 15963 |
beos*) |
| 15964 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 15965 |
allow_undefined_flag=unsupported |
| 15966 |
# Joseph Beckenbach <[email protected]> says some releases of gcc |
| 15967 |
# support --undefined. This deserves some investigation. FIXME |
| 15968 |
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 15969 |
else |
| 15970 |
ld_shlibs=no |
| 15971 |
fi |
| 15972 |
;; |
| 15973 |
|
| 15974 |
cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 15975 |
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
| 15976 |
# as there is no search path for DLLs. |
| 15977 |
hardcode_libdir_flag_spec='-L$libdir' |
| 15978 |
export_dynamic_flag_spec='$wl--export-all-symbols' |
| 15979 |
allow_undefined_flag=unsupported |
| 15980 |
always_export_symbols=no |
| 15981 |
enable_shared_with_static_runtimes=yes |
| 15982 |
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' |
| 15983 |
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
| 15984 |
file_list_spec='@' |
| 15985 |
|
| 15986 |
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
| 15987 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 15988 |
# If the export-symbols file already is a .def file, use it as |
| 15989 |
# is; otherwise, prepend EXPORTS... |
| 15990 |
archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
| 15991 |
cp $export_symbols $output_objdir/$soname.def; |
| 15992 |
else |
| 15993 |
echo EXPORTS > $output_objdir/$soname.def; |
| 15994 |
cat $export_symbols >> $output_objdir/$soname.def; |
| 15995 |
fi~ |
| 15996 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 15997 |
else |
| 15998 |
ld_shlibs=no |
| 15999 |
fi |
| 16000 |
;; |
| 16001 |
|
| 16002 |
haiku*) |
| 16003 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 16004 |
link_all_deplibs=no |
| 16005 |
;; |
| 16006 |
|
| 16007 |
os2*) |
| 16008 |
hardcode_libdir_flag_spec='-L$libdir' |
| 16009 |
hardcode_minus_L=yes |
| 16010 |
allow_undefined_flag=unsupported |
| 16011 |
shrext_cmds=.dll |
| 16012 |
archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 16013 |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 16014 |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 16015 |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 16016 |
emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
| 16017 |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 16018 |
emximp -o $lib $output_objdir/$libname.def' |
| 16019 |
archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 16020 |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 16021 |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 16022 |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 16023 |
prefix_cmds="$SED"~ |
| 16024 |
if test EXPORTS = "`$SED 1q $export_symbols`"; then |
| 16025 |
prefix_cmds="$prefix_cmds -e 1d"; |
| 16026 |
fi~ |
| 16027 |
prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
| 16028 |
cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
| 16029 |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 16030 |
emximp -o $lib $output_objdir/$libname.def' |
| 16031 |
old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
| 16032 |
enable_shared_with_static_runtimes=yes |
| 16033 |
file_list_spec='@' |
| 16034 |
;; |
| 16035 |
|
| 16036 |
interix[3-9]*) |
| 16037 |
hardcode_direct=no |
| 16038 |
hardcode_shlibpath_var=no |
| 16039 |
hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
| 16040 |
export_dynamic_flag_spec='$wl-E' |
| 16041 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
| 16042 |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
| 16043 |
# default) and relocated if they conflict, which is a slow very memory |
| 16044 |
# consuming and fragmenting process. To avoid this, we pick a random, |
| 16045 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 16046 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 16047 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 16048 |
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' |
| 16049 |
;; |
| 16050 |
|
| 16051 |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
| 16052 |
tmp_diet=no |
| 16053 |
if test linux-dietlibc = "$host_os"; then |
| 16054 |
case $cc_basename in |
| 16055 |
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
| 16056 |
esac |
| 16057 |
fi |
| 16058 |
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
| 16059 |
&& test no = "$tmp_diet" |
| 16060 |
then |
| 16061 |
tmp_addflag=' $pic_flag' |
| 16062 |
tmp_sharedflag='-shared' |
| 16063 |
case $cc_basename,$host_cpu in |
| 16064 |
pgcc*) # Portland Group C compiler |
| 16065 |
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' |
| 16066 |
tmp_addflag=' $pic_flag' |
| 16067 |
;; |
| 16068 |
pgf77* | pgf90* | pgf95* | pgfortran*) |
| 16069 |
# Portland Group f77 and f90 compilers |
| 16070 |
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' |
| 16071 |
tmp_addflag=' $pic_flag -Mnomain' ;; |
| 16072 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
| 16073 |
tmp_addflag=' -i_dynamic' ;; |
| 16074 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
| 16075 |
tmp_addflag=' -i_dynamic -nofor_main' ;; |
| 16076 |
ifc* | ifort*) # Intel Fortran compiler |
| 16077 |
tmp_addflag=' -nofor_main' ;; |
| 16078 |
lf95*) # Lahey Fortran 8.1 |
| 16079 |
whole_archive_flag_spec= |
| 16080 |
tmp_sharedflag='--shared' ;; |
| 16081 |
nagfor*) # NAGFOR 5.3 |
| 16082 |
tmp_sharedflag='-Wl,-shared' ;; |
| 16083 |
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
| 16084 |
tmp_sharedflag='-qmkshrobj' |
| 16085 |
tmp_addflag= ;; |
| 16086 |
nvcc*) # Cuda Compiler Driver 2.2 |
| 16087 |
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' |
| 16088 |
compiler_needs_object=yes |
| 16089 |
;; |
| 16090 |
esac |
| 16091 |
case `$CC -V 2>&1 | $SED 5q` in |
| 16092 |
*Sun\ C*) # Sun C 5.9 |
| 16093 |
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' |
| 16094 |
compiler_needs_object=yes |
| 16095 |
tmp_sharedflag='-G' ;; |
| 16096 |
*Sun\ F*) # Sun Fortran 8.3 |
| 16097 |
tmp_sharedflag='-G' ;; |
| 16098 |
esac |
| 16099 |
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 16100 |
|
| 16101 |
if test yes = "$supports_anon_versioning"; then |
| 16102 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 16103 |
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 16104 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 16105 |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' |
| 16106 |
fi |
| 16107 |
|
| 16108 |
case $cc_basename in |
| 16109 |
tcc*) |
| 16110 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 16111 |
export_dynamic_flag_spec='-rdynamic' |
| 16112 |
;; |
| 16113 |
xlf* | bgf* | bgxlf* | mpixlf*) |
| 16114 |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
| 16115 |
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
| 16116 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 16117 |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
| 16118 |
if test yes = "$supports_anon_versioning"; then |
| 16119 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 16120 |
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 16121 |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 16122 |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
| 16123 |
fi |
| 16124 |
;; |
| 16125 |
esac |
| 16126 |
else |
| 16127 |
ld_shlibs=no |
| 16128 |
fi |
| 16129 |
;; |
| 16130 |
|
| 16131 |
*-mlibc) |
| 16132 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 16133 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 16134 |
;; |
| 16135 |
|
| 16136 |
netbsd* | netbsdelf*-gnu) |
| 16137 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 16138 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
| 16139 |
wlarc= |
| 16140 |
else |
| 16141 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 16142 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 16143 |
fi |
| 16144 |
;; |
| 16145 |
|
| 16146 |
solaris*) |
| 16147 |
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
| 16148 |
ld_shlibs=no |
| 16149 |
cat <<_LT_EOF 1>&2 |
| 16150 |
|
| 16151 |
*** Warning: The releases 2.8.* of the GNU linker cannot reliably |
| 16152 |
*** create shared libraries on Solaris systems. Therefore, libtool |
| 16153 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
| 16154 |
*** binutils to release 2.9.1 or newer. Another option is to modify |
| 16155 |
*** your PATH or compiler configuration so that the native linker is |
| 16156 |
*** used, and then restart. |
| 16157 |
|
| 16158 |
_LT_EOF |
| 16159 |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 16160 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 16161 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 16162 |
else |
| 16163 |
ld_shlibs=no |
| 16164 |
fi |
| 16165 |
;; |
| 16166 |
|
| 16167 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
| 16168 |
case `$LD -v 2>&1` in |
| 16169 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
| 16170 |
ld_shlibs=no |
| 16171 |
cat <<_LT_EOF 1>&2 |
| 16172 |
|
| 16173 |
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot |
| 16174 |
*** reliably create shared libraries on SCO systems. Therefore, libtool |
| 16175 |
*** is disabling shared libraries support. We urge you to upgrade GNU |
| 16176 |
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
| 16177 |
*** your PATH or compiler configuration so that the native linker is |
| 16178 |
*** used, and then restart. |
| 16179 |
|
| 16180 |
_LT_EOF |
| 16181 |
;; |
| 16182 |
*) |
| 16183 |
# For security reasons, it is highly recommended that you always |
| 16184 |
# use absolute paths for naming shared libraries, and exclude the |
| 16185 |
# DT_RUNPATH tag from executables and libraries. But doing so |
| 16186 |
# requires that you compile everything twice, which is a pain. |
| 16187 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 16188 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 16189 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 16190 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 16191 |
else |
| 16192 |
ld_shlibs=no |
| 16193 |
fi |
| 16194 |
;; |
| 16195 |
esac |
| 16196 |
;; |
| 16197 |
|
| 16198 |
sunos4*) |
| 16199 |
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 16200 |
wlarc= |
| 16201 |
hardcode_direct=yes |
| 16202 |
hardcode_shlibpath_var=no |
| 16203 |
;; |
| 16204 |
|
| 16205 |
*) |
| 16206 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 16207 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 16208 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 16209 |
else |
| 16210 |
ld_shlibs=no |
| 16211 |
fi |
| 16212 |
;; |
| 16213 |
esac |
| 16214 |
|
| 16215 |
if test no = "$ld_shlibs"; then |
| 16216 |
runpath_var= |
| 16217 |
hardcode_libdir_flag_spec= |
| 16218 |
export_dynamic_flag_spec= |
| 16219 |
whole_archive_flag_spec= |
| 16220 |
fi |
| 16221 |
else |
| 16222 |
# PORTME fill in a description of your system's linker (not GNU ld) |
| 16223 |
case $host_os in |
| 16224 |
aix3*) |
| 16225 |
allow_undefined_flag=unsupported |
| 16226 |
always_export_symbols=yes |
| 16227 |
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' |
| 16228 |
# Note: this linker hardcodes the directories in LIBPATH if there |
| 16229 |
# are no directories specified by -L. |
| 16230 |
hardcode_minus_L=yes |
| 16231 |
if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then |
| 16232 |
# Neither direct hardcoding nor static linking is supported with a |
| 16233 |
# broken collect2. |
| 16234 |
hardcode_direct=unsupported |
| 16235 |
fi |
| 16236 |
;; |
| 16237 |
|
| 16238 |
aix[4-9]*) |
| 16239 |
if test ia64 = "$host_cpu"; then |
| 16240 |
# On IA64, the linker does run time linking by default, so we don't |
| 16241 |
# have to do anything special. |
| 16242 |
aix_use_runtimelinking=no |
| 16243 |
exp_sym_flag='-Bexport' |
| 16244 |
no_entry_flag= |
| 16245 |
else |
| 16246 |
# If we're using GNU nm, then we don't want the "-C" option. |
| 16247 |
# -C means demangle to GNU nm, but means don't demangle to AIX nm. |
| 16248 |
# Without the "-l" option, or with the "-B" option, AIX nm treats |
| 16249 |
# weak defined symbols like other global defined symbols, whereas |
| 16250 |
# GNU nm marks them as "W". |
| 16251 |
# While the 'weak' keyword is ignored in the Export File, we need |
| 16252 |
# it in the Import File for the 'aix-soname' feature, so we have |
| 16253 |
# to replace the "-B" option with "-P" for AIX nm. |
| 16254 |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
| 16255 |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' |
| 16256 |
else |
| 16257 |
export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' |
| 16258 |
fi |
| 16259 |
aix_use_runtimelinking=no |
| 16260 |
|
| 16261 |
# Test if we are trying to use run time linking or normal |
| 16262 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
| 16263 |
# have runtime linking enabled, and use it for executables. |
| 16264 |
# For shared libraries, we enable/disable runtime linking |
| 16265 |
# depending on the kind of the shared library created - |
| 16266 |
# when "with_aix_soname,aix_use_runtimelinking" is: |
| 16267 |
# "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables |
| 16268 |
# "aix,yes" lib.so shared, rtl:yes, for executables |
| 16269 |
# lib.a static archive |
| 16270 |
# "both,no" lib.so.V(shr.o) shared, rtl:yes |
| 16271 |
# lib.a(lib.so.V) shared, rtl:no, for executables |
| 16272 |
# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables |
| 16273 |
# lib.a(lib.so.V) shared, rtl:no |
| 16274 |
# "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables |
| 16275 |
# lib.a static archive |
| 16276 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
| 16277 |
for ld_flag in $LDFLAGS; do |
| 16278 |
if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then |
| 16279 |
aix_use_runtimelinking=yes |
| 16280 |
break |
| 16281 |
fi |
| 16282 |
done |
| 16283 |
if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then |
| 16284 |
# With aix-soname=svr4, we create the lib.so.V shared archives only, |
| 16285 |
# so we don't have lib.a shared libs to link our executables. |
| 16286 |
# We have to force runtime linking in this case. |
| 16287 |
aix_use_runtimelinking=yes |
| 16288 |
LDFLAGS="$LDFLAGS -Wl,-brtl" |
| 16289 |
fi |
| 16290 |
;; |
| 16291 |
esac |
| 16292 |
|
| 16293 |
exp_sym_flag='-bexport' |
| 16294 |
no_entry_flag='-bnoentry' |
| 16295 |
fi |
| 16296 |
|
| 16297 |
# When large executables or shared objects are built, AIX ld can |
| 16298 |
# have problems creating the table of contents. If linking a library |
| 16299 |
# or program results in "error TOC overflow" add -mminimal-toc to |
| 16300 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
| 16301 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
| 16302 |
|
| 16303 |
archive_cmds='' |
| 16304 |
hardcode_direct=yes |
| 16305 |
hardcode_direct_absolute=yes |
| 16306 |
hardcode_libdir_separator=':' |
| 16307 |
link_all_deplibs=yes |
| 16308 |
file_list_spec='$wl-f,' |
| 16309 |
case $with_aix_soname,$aix_use_runtimelinking in |
| 16310 |
aix,*) ;; # traditional, no import file |
| 16311 |
svr4,* | *,yes) # use import file |
| 16312 |
# The Import File defines what to hardcode. |
| 16313 |
hardcode_direct=no |
| 16314 |
hardcode_direct_absolute=no |
| 16315 |
;; |
| 16316 |
esac |
| 16317 |
|
| 16318 |
if test yes = "$GCC"; then |
| 16319 |
case $host_os in aix4.[012]|aix4.[012].*) |
| 16320 |
# We only want to do this on AIX 4.2 and lower, the check |
| 16321 |
# below for broken collect2 doesn't work under 4.3+ |
| 16322 |
collect2name=`$CC -print-prog-name=collect2` |
| 16323 |
if test -f "$collect2name" && |
| 16324 |
strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
| 16325 |
then |
| 16326 |
# We have reworked collect2 |
| 16327 |
: |
| 16328 |
else |
| 16329 |
# We have old collect2 |
| 16330 |
hardcode_direct=unsupported |
| 16331 |
# It fails to find uninstalled libraries when the uninstalled |
| 16332 |
# path is not listed in the libpath. Setting hardcode_minus_L |
| 16333 |
# to unsupported forces relinking |
| 16334 |
hardcode_minus_L=yes |
| 16335 |
hardcode_libdir_flag_spec='-L$libdir' |
| 16336 |
hardcode_libdir_separator= |
| 16337 |
fi |
| 16338 |
;; |
| 16339 |
esac |
| 16340 |
shared_flag='-shared' |
| 16341 |
if test yes = "$aix_use_runtimelinking"; then |
| 16342 |
shared_flag="$shared_flag "'$wl-G' |
| 16343 |
fi |
| 16344 |
# Need to ensure runtime linking is disabled for the traditional |
| 16345 |
# shared library, or the linker may eventually find shared libraries |
| 16346 |
# /with/ Import File - we do not want to mix them. |
| 16347 |
shared_flag_aix='-shared' |
| 16348 |
shared_flag_svr4='-shared $wl-G' |
| 16349 |
else |
| 16350 |
# not using gcc |
| 16351 |
if test ia64 = "$host_cpu"; then |
| 16352 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
| 16353 |
# chokes on -Wl,-G. The following line is correct: |
| 16354 |
shared_flag='-G' |
| 16355 |
else |
| 16356 |
if test yes = "$aix_use_runtimelinking"; then |
| 16357 |
shared_flag='$wl-G' |
| 16358 |
else |
| 16359 |
shared_flag='$wl-bM:SRE' |
| 16360 |
fi |
| 16361 |
shared_flag_aix='$wl-bM:SRE' |
| 16362 |
shared_flag_svr4='$wl-G' |
| 16363 |
fi |
| 16364 |
fi |
| 16365 |
|
| 16366 |
export_dynamic_flag_spec='$wl-bexpall' |
| 16367 |
# It seems that -bexpall does not export symbols beginning with |
| 16368 |
# underscore (_), so it is better to generate a list of symbols to export. |
| 16369 |
always_export_symbols=yes |
| 16370 |
if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then |
| 16371 |
# Warning - without using the other runtime loading flags (-brtl), |
| 16372 |
# -berok will link without error, but may produce a broken library. |
| 16373 |
allow_undefined_flag='-berok' |
| 16374 |
# Determine the default libpath from the value encoded in an |
| 16375 |
# empty executable. |
| 16376 |
if test set = "${lt_cv_aix_libpath+set}"; then |
| 16377 |
aix_libpath=$lt_cv_aix_libpath |
| 16378 |
else |
| 16379 |
if test ${lt_cv_aix_libpath_+y} |
| 16380 |
then : |
| 16381 |
printf %s "(cached) " >&6 |
| 16382 |
else case e in #( |
| 16383 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16384 |
/* end confdefs.h. */ |
| 16385 |
|
| 16386 |
int |
| 16387 |
main (void) |
| 16388 |
{ |
| 16389 |
|
| 16390 |
; |
| 16391 |
return 0; |
| 16392 |
} |
| 16393 |
_ACEOF |
| 16394 |
if ac_fn_c_try_link "$LINENO" |
| 16395 |
then : |
| 16396 |
|
| 16397 |
lt_aix_libpath_sed=' |
| 16398 |
/Import File Strings/,/^$/ { |
| 16399 |
/^0/ { |
| 16400 |
s/^0 *\([^ ]*\) *$/\1/ |
| 16401 |
p |
| 16402 |
} |
| 16403 |
}' |
| 16404 |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 16405 |
# Check for a 64-bit object if we didn't find anything. |
| 16406 |
if test -z "$lt_cv_aix_libpath_"; then |
| 16407 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 16408 |
fi |
| 16409 |
fi |
| 16410 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16411 |
conftest$ac_exeext conftest.$ac_ext |
| 16412 |
if test -z "$lt_cv_aix_libpath_"; then |
| 16413 |
lt_cv_aix_libpath_=/usr/lib:/lib |
| 16414 |
fi |
| 16415 |
;; |
| 16416 |
esac |
| 16417 |
fi |
| 16418 |
|
| 16419 |
aix_libpath=$lt_cv_aix_libpath_ |
| 16420 |
fi |
| 16421 |
|
| 16422 |
hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" |
| 16423 |
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag |
| 16424 |
else |
| 16425 |
if test ia64 = "$host_cpu"; then |
| 16426 |
hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' |
| 16427 |
allow_undefined_flag="-z nodefs" |
| 16428 |
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" |
| 16429 |
else |
| 16430 |
# Determine the default libpath from the value encoded in an |
| 16431 |
# empty executable. |
| 16432 |
if test set = "${lt_cv_aix_libpath+set}"; then |
| 16433 |
aix_libpath=$lt_cv_aix_libpath |
| 16434 |
else |
| 16435 |
if test ${lt_cv_aix_libpath_+y} |
| 16436 |
then : |
| 16437 |
printf %s "(cached) " >&6 |
| 16438 |
else case e in #( |
| 16439 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16440 |
/* end confdefs.h. */ |
| 16441 |
|
| 16442 |
int |
| 16443 |
main (void) |
| 16444 |
{ |
| 16445 |
|
| 16446 |
; |
| 16447 |
return 0; |
| 16448 |
} |
| 16449 |
_ACEOF |
| 16450 |
if ac_fn_c_try_link "$LINENO" |
| 16451 |
then : |
| 16452 |
|
| 16453 |
lt_aix_libpath_sed=' |
| 16454 |
/Import File Strings/,/^$/ { |
| 16455 |
/^0/ { |
| 16456 |
s/^0 *\([^ ]*\) *$/\1/ |
| 16457 |
p |
| 16458 |
} |
| 16459 |
}' |
| 16460 |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 16461 |
# Check for a 64-bit object if we didn't find anything. |
| 16462 |
if test -z "$lt_cv_aix_libpath_"; then |
| 16463 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 16464 |
fi |
| 16465 |
fi |
| 16466 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16467 |
conftest$ac_exeext conftest.$ac_ext |
| 16468 |
if test -z "$lt_cv_aix_libpath_"; then |
| 16469 |
lt_cv_aix_libpath_=/usr/lib:/lib |
| 16470 |
fi |
| 16471 |
;; |
| 16472 |
esac |
| 16473 |
fi |
| 16474 |
|
| 16475 |
aix_libpath=$lt_cv_aix_libpath_ |
| 16476 |
fi |
| 16477 |
|
| 16478 |
hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" |
| 16479 |
# Warning - without using the other run time loading flags, |
| 16480 |
# -berok will link without error, but may produce a broken library. |
| 16481 |
no_undefined_flag=' $wl-bernotok' |
| 16482 |
allow_undefined_flag=' $wl-berok' |
| 16483 |
if test yes = "$with_gnu_ld"; then |
| 16484 |
# We only use this code for GNU lds that support --whole-archive. |
| 16485 |
whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' |
| 16486 |
else |
| 16487 |
# Exported symbols can be pulled into shared objects from archives |
| 16488 |
whole_archive_flag_spec='$convenience' |
| 16489 |
fi |
| 16490 |
archive_cmds_need_lc=yes |
| 16491 |
archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' |
| 16492 |
# -brtl affects multiple linker settings, -berok does not and is overridden later |
| 16493 |
compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' |
| 16494 |
if test svr4 != "$with_aix_soname"; then |
| 16495 |
# This is similar to how AIX traditionally builds its shared libraries. |
| 16496 |
archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' |
| 16497 |
fi |
| 16498 |
if test aix != "$with_aix_soname"; then |
| 16499 |
archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' |
| 16500 |
else |
| 16501 |
# used by -dlpreopen to get the symbols |
| 16502 |
archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' |
| 16503 |
fi |
| 16504 |
archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' |
| 16505 |
fi |
| 16506 |
fi |
| 16507 |
;; |
| 16508 |
|
| 16509 |
amigaos*) |
| 16510 |
case $host_cpu in |
| 16511 |
powerpc) |
| 16512 |
# see comment about AmigaOS4 .so support |
| 16513 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 16514 |
archive_expsym_cmds='' |
| 16515 |
;; |
| 16516 |
m68k) |
| 16517 |
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)' |
| 16518 |
hardcode_libdir_flag_spec='-L$libdir' |
| 16519 |
hardcode_minus_L=yes |
| 16520 |
;; |
| 16521 |
esac |
| 16522 |
;; |
| 16523 |
|
| 16524 |
bsdi[45]*) |
| 16525 |
export_dynamic_flag_spec=-rdynamic |
| 16526 |
;; |
| 16527 |
|
| 16528 |
cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 16529 |
# When not using gcc, we currently assume that we are using |
| 16530 |
# Microsoft Visual C++ or Intel C++ Compiler. |
| 16531 |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
| 16532 |
# no search path for DLLs. |
| 16533 |
case $cc_basename in |
| 16534 |
cl* | icl*) |
| 16535 |
# Native MSVC or ICC |
| 16536 |
hardcode_libdir_flag_spec=' ' |
| 16537 |
allow_undefined_flag=unsupported |
| 16538 |
always_export_symbols=yes |
| 16539 |
file_list_spec='@' |
| 16540 |
# Tell ltmain to make .lib files, not .a files. |
| 16541 |
libext=lib |
| 16542 |
# Tell ltmain to make .dll files, not .so files. |
| 16543 |
shrext_cmds=.dll |
| 16544 |
# FIXME: Setting linknames here is a bad hack. |
| 16545 |
archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' |
| 16546 |
archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then |
| 16547 |
cp "$export_symbols" "$output_objdir/$soname.def"; |
| 16548 |
echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; |
| 16549 |
else |
| 16550 |
$SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; |
| 16551 |
fi~ |
| 16552 |
$CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
| 16553 |
linknames=' |
| 16554 |
# The linker will not automatically build a static lib if we build a DLL. |
| 16555 |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
| 16556 |
enable_shared_with_static_runtimes=yes |
| 16557 |
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
| 16558 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
| 16559 |
# Don't use ranlib |
| 16560 |
old_postinstall_cmds='chmod 644 $oldlib' |
| 16561 |
postlink_cmds='lt_outputfile="@OUTPUT@"~ |
| 16562 |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
| 16563 |
case $lt_outputfile in |
| 16564 |
*.exe|*.EXE) ;; |
| 16565 |
*) |
| 16566 |
lt_outputfile=$lt_outputfile.exe |
| 16567 |
lt_tool_outputfile=$lt_tool_outputfile.exe |
| 16568 |
;; |
| 16569 |
esac~ |
| 16570 |
if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then |
| 16571 |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
| 16572 |
$RM "$lt_outputfile.manifest"; |
| 16573 |
fi' |
| 16574 |
;; |
| 16575 |
*) |
| 16576 |
# Assume MSVC and ICC wrapper |
| 16577 |
hardcode_libdir_flag_spec=' ' |
| 16578 |
allow_undefined_flag=unsupported |
| 16579 |
# Tell ltmain to make .lib files, not .a files. |
| 16580 |
libext=lib |
| 16581 |
# Tell ltmain to make .dll files, not .so files. |
| 16582 |
shrext_cmds=.dll |
| 16583 |
# FIXME: Setting linknames here is a bad hack. |
| 16584 |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 16585 |
# The linker will automatically build a .lib file if we build a DLL. |
| 16586 |
old_archive_from_new_cmds='true' |
| 16587 |
# FIXME: Should let the user specify the lib program. |
| 16588 |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
| 16589 |
enable_shared_with_static_runtimes=yes |
| 16590 |
;; |
| 16591 |
esac |
| 16592 |
;; |
| 16593 |
|
| 16594 |
darwin* | rhapsody*) |
| 16595 |
|
| 16596 |
|
| 16597 |
archive_cmds_need_lc=no |
| 16598 |
hardcode_direct=no |
| 16599 |
hardcode_automatic=yes |
| 16600 |
hardcode_shlibpath_var=unsupported |
| 16601 |
if test yes = "$lt_cv_ld_force_load"; then |
| 16602 |
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\"`' |
| 16603 |
|
| 16604 |
else |
| 16605 |
whole_archive_flag_spec='' |
| 16606 |
fi |
| 16607 |
link_all_deplibs=yes |
| 16608 |
allow_undefined_flag=$_lt_dar_allow_undefined |
| 16609 |
case $cc_basename in |
| 16610 |
ifort*|nagfor*) _lt_dar_can_shared=yes ;; |
| 16611 |
*) _lt_dar_can_shared=$GCC ;; |
| 16612 |
esac |
| 16613 |
if test yes = "$_lt_dar_can_shared"; then |
| 16614 |
output_verbose_link_cmd=func_echo_all |
| 16615 |
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" |
| 16616 |
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" |
| 16617 |
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" |
| 16618 |
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" |
| 16619 |
|
| 16620 |
else |
| 16621 |
ld_shlibs=no |
| 16622 |
fi |
| 16623 |
|
| 16624 |
;; |
| 16625 |
|
| 16626 |
dgux*) |
| 16627 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 16628 |
hardcode_libdir_flag_spec='-L$libdir' |
| 16629 |
hardcode_shlibpath_var=no |
| 16630 |
;; |
| 16631 |
|
| 16632 |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
| 16633 |
# support. Future versions do this automatically, but an explicit c++rt0.o |
| 16634 |
# does not break anything, and helps significantly (at the cost of a little |
| 16635 |
# extra space). |
| 16636 |
freebsd2.2*) |
| 16637 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
| 16638 |
hardcode_libdir_flag_spec='-R$libdir' |
| 16639 |
hardcode_direct=yes |
| 16640 |
hardcode_shlibpath_var=no |
| 16641 |
;; |
| 16642 |
|
| 16643 |
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
| 16644 |
freebsd2.*) |
| 16645 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 16646 |
hardcode_direct=yes |
| 16647 |
hardcode_minus_L=yes |
| 16648 |
hardcode_shlibpath_var=no |
| 16649 |
;; |
| 16650 |
|
| 16651 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
| 16652 |
freebsd* | dragonfly* | midnightbsd*) |
| 16653 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 16654 |
hardcode_libdir_flag_spec='-R$libdir' |
| 16655 |
hardcode_direct=yes |
| 16656 |
hardcode_shlibpath_var=no |
| 16657 |
;; |
| 16658 |
|
| 16659 |
hpux9*) |
| 16660 |
if test yes = "$GCC"; then |
| 16661 |
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' |
| 16662 |
else |
| 16663 |
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' |
| 16664 |
fi |
| 16665 |
hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
| 16666 |
hardcode_libdir_separator=: |
| 16667 |
hardcode_direct=yes |
| 16668 |
|
| 16669 |
# hardcode_minus_L: Not really in the search PATH, |
| 16670 |
# but as the default location of the library. |
| 16671 |
hardcode_minus_L=yes |
| 16672 |
export_dynamic_flag_spec='$wl-E' |
| 16673 |
;; |
| 16674 |
|
| 16675 |
hpux10*) |
| 16676 |
if test yes,no = "$GCC,$with_gnu_ld"; then |
| 16677 |
archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 16678 |
else |
| 16679 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 16680 |
fi |
| 16681 |
if test no = "$with_gnu_ld"; then |
| 16682 |
hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
| 16683 |
hardcode_libdir_separator=: |
| 16684 |
hardcode_direct=yes |
| 16685 |
hardcode_direct_absolute=yes |
| 16686 |
export_dynamic_flag_spec='$wl-E' |
| 16687 |
# hardcode_minus_L: Not really in the search PATH, |
| 16688 |
# but as the default location of the library. |
| 16689 |
hardcode_minus_L=yes |
| 16690 |
fi |
| 16691 |
;; |
| 16692 |
|
| 16693 |
hpux11*) |
| 16694 |
if test yes,no = "$GCC,$with_gnu_ld"; then |
| 16695 |
case $host_cpu in |
| 16696 |
hppa*64*) |
| 16697 |
archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16698 |
;; |
| 16699 |
ia64*) |
| 16700 |
archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 16701 |
;; |
| 16702 |
*) |
| 16703 |
archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 16704 |
;; |
| 16705 |
esac |
| 16706 |
else |
| 16707 |
case $host_cpu in |
| 16708 |
hppa*64*) |
| 16709 |
archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16710 |
;; |
| 16711 |
ia64*) |
| 16712 |
archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 16713 |
;; |
| 16714 |
*) |
| 16715 |
|
| 16716 |
# Older versions of the 11.00 compiler do not understand -b yet |
| 16717 |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
| 16718 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
| 16719 |
printf %s "checking if $CC understands -b... " >&6; } |
| 16720 |
if test ${lt_cv_prog_compiler__b+y} |
| 16721 |
then : |
| 16722 |
printf %s "(cached) " >&6 |
| 16723 |
else case e in #( |
| 16724 |
e) lt_cv_prog_compiler__b=no |
| 16725 |
save_LDFLAGS=$LDFLAGS |
| 16726 |
LDFLAGS="$LDFLAGS -b" |
| 16727 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 16728 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 16729 |
# The linker can only warn and ignore the option if not recognized |
| 16730 |
# So say no if there are warnings |
| 16731 |
if test -s conftest.err; then |
| 16732 |
# Append any errors to the config.log. |
| 16733 |
cat conftest.err 1>&5 |
| 16734 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 16735 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 16736 |
if diff conftest.exp conftest.er2 >/dev/null; then |
| 16737 |
lt_cv_prog_compiler__b=yes |
| 16738 |
fi |
| 16739 |
else |
| 16740 |
lt_cv_prog_compiler__b=yes |
| 16741 |
fi |
| 16742 |
fi |
| 16743 |
$RM -r conftest* |
| 16744 |
LDFLAGS=$save_LDFLAGS |
| 16745 |
;; |
| 16746 |
esac |
| 16747 |
fi |
| 16748 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
| 16749 |
printf "%s\n" "$lt_cv_prog_compiler__b" >&6; } |
| 16750 |
|
| 16751 |
if test yes = "$lt_cv_prog_compiler__b"; then |
| 16752 |
archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 16753 |
else |
| 16754 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 16755 |
fi |
| 16756 |
|
| 16757 |
;; |
| 16758 |
esac |
| 16759 |
fi |
| 16760 |
if test no = "$with_gnu_ld"; then |
| 16761 |
hardcode_libdir_flag_spec='$wl+b $wl$libdir' |
| 16762 |
hardcode_libdir_separator=: |
| 16763 |
|
| 16764 |
case $host_cpu in |
| 16765 |
hppa*64*|ia64*) |
| 16766 |
hardcode_direct=no |
| 16767 |
hardcode_shlibpath_var=no |
| 16768 |
;; |
| 16769 |
*) |
| 16770 |
hardcode_direct=yes |
| 16771 |
hardcode_direct_absolute=yes |
| 16772 |
export_dynamic_flag_spec='$wl-E' |
| 16773 |
|
| 16774 |
# hardcode_minus_L: Not really in the search PATH, |
| 16775 |
# but as the default location of the library. |
| 16776 |
hardcode_minus_L=yes |
| 16777 |
;; |
| 16778 |
esac |
| 16779 |
fi |
| 16780 |
;; |
| 16781 |
|
| 16782 |
irix5* | irix6* | nonstopux*) |
| 16783 |
if test yes = "$GCC"; then |
| 16784 |
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' |
| 16785 |
# Try to use the -exported_symbol ld option, if it does not |
| 16786 |
# work, assume that -exports_file does not work either and |
| 16787 |
# implicitly export all symbols. |
| 16788 |
# This should be the same for all languages, so no per-tag cache variable. |
| 16789 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
| 16790 |
printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
| 16791 |
if test ${lt_cv_irix_exported_symbol+y} |
| 16792 |
then : |
| 16793 |
printf %s "(cached) " >&6 |
| 16794 |
else case e in #( |
| 16795 |
e) save_LDFLAGS=$LDFLAGS |
| 16796 |
LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" |
| 16797 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16798 |
/* end confdefs.h. */ |
| 16799 |
int foo (void) { return 0; } |
| 16800 |
_ACEOF |
| 16801 |
if ac_fn_c_try_link "$LINENO" |
| 16802 |
then : |
| 16803 |
lt_cv_irix_exported_symbol=yes |
| 16804 |
else case e in #( |
| 16805 |
e) lt_cv_irix_exported_symbol=no ;; |
| 16806 |
esac |
| 16807 |
fi |
| 16808 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 16809 |
conftest$ac_exeext conftest.$ac_ext |
| 16810 |
LDFLAGS=$save_LDFLAGS ;; |
| 16811 |
esac |
| 16812 |
fi |
| 16813 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
| 16814 |
printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; } |
| 16815 |
if test yes = "$lt_cv_irix_exported_symbol"; then |
| 16816 |
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' |
| 16817 |
fi |
| 16818 |
else |
| 16819 |
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' |
| 16820 |
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' |
| 16821 |
fi |
| 16822 |
archive_cmds_need_lc='no' |
| 16823 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 16824 |
hardcode_libdir_separator=: |
| 16825 |
inherit_rpath=yes |
| 16826 |
link_all_deplibs=yes |
| 16827 |
;; |
| 16828 |
|
| 16829 |
linux*) |
| 16830 |
case $cc_basename in |
| 16831 |
tcc*) |
| 16832 |
# Fabrice Bellard et al's Tiny C Compiler |
| 16833 |
ld_shlibs=yes |
| 16834 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 16835 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 16836 |
;; |
| 16837 |
esac |
| 16838 |
;; |
| 16839 |
|
| 16840 |
*-mlibc) |
| 16841 |
;; |
| 16842 |
|
| 16843 |
netbsd* | netbsdelf*-gnu) |
| 16844 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 16845 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
| 16846 |
else |
| 16847 |
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
| 16848 |
fi |
| 16849 |
hardcode_libdir_flag_spec='-R$libdir' |
| 16850 |
hardcode_direct=yes |
| 16851 |
hardcode_shlibpath_var=no |
| 16852 |
;; |
| 16853 |
|
| 16854 |
newsos6) |
| 16855 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 16856 |
hardcode_direct=yes |
| 16857 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 16858 |
hardcode_libdir_separator=: |
| 16859 |
hardcode_shlibpath_var=no |
| 16860 |
;; |
| 16861 |
|
| 16862 |
*nto* | *qnx*) |
| 16863 |
;; |
| 16864 |
|
| 16865 |
openbsd*) |
| 16866 |
if test -f /usr/libexec/ld.so; then |
| 16867 |
hardcode_direct=yes |
| 16868 |
hardcode_shlibpath_var=no |
| 16869 |
hardcode_direct_absolute=yes |
| 16870 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 16871 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 16872 |
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' |
| 16873 |
hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
| 16874 |
export_dynamic_flag_spec='$wl-E' |
| 16875 |
else |
| 16876 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
| 16877 |
hardcode_libdir_flag_spec='$wl-rpath,$libdir' |
| 16878 |
fi |
| 16879 |
else |
| 16880 |
ld_shlibs=no |
| 16881 |
fi |
| 16882 |
;; |
| 16883 |
|
| 16884 |
os2*) |
| 16885 |
hardcode_libdir_flag_spec='-L$libdir' |
| 16886 |
hardcode_minus_L=yes |
| 16887 |
allow_undefined_flag=unsupported |
| 16888 |
shrext_cmds=.dll |
| 16889 |
archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 16890 |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 16891 |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 16892 |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 16893 |
emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ |
| 16894 |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 16895 |
emximp -o $lib $output_objdir/$libname.def' |
| 16896 |
archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 16897 |
$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 16898 |
$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 16899 |
$ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 16900 |
prefix_cmds="$SED"~ |
| 16901 |
if test EXPORTS = "`$SED 1q $export_symbols`"; then |
| 16902 |
prefix_cmds="$prefix_cmds -e 1d"; |
| 16903 |
fi~ |
| 16904 |
prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
| 16905 |
cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
| 16906 |
$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ |
| 16907 |
emximp -o $lib $output_objdir/$libname.def' |
| 16908 |
old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' |
| 16909 |
enable_shared_with_static_runtimes=yes |
| 16910 |
file_list_spec='@' |
| 16911 |
;; |
| 16912 |
|
| 16913 |
osf3*) |
| 16914 |
if test yes = "$GCC"; then |
| 16915 |
allow_undefined_flag=' $wl-expect_unresolved $wl\*' |
| 16916 |
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' |
| 16917 |
else |
| 16918 |
allow_undefined_flag=' -expect_unresolved \*' |
| 16919 |
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' |
| 16920 |
fi |
| 16921 |
archive_cmds_need_lc='no' |
| 16922 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 16923 |
hardcode_libdir_separator=: |
| 16924 |
;; |
| 16925 |
|
| 16926 |
osf4* | osf5*) # as osf3* with the addition of -msym flag |
| 16927 |
if test yes = "$GCC"; then |
| 16928 |
allow_undefined_flag=' $wl-expect_unresolved $wl\*' |
| 16929 |
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' |
| 16930 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 16931 |
else |
| 16932 |
allow_undefined_flag=' -expect_unresolved \*' |
| 16933 |
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' |
| 16934 |
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~ |
| 16935 |
$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' |
| 16936 |
|
| 16937 |
# Both c and cxx compiler support -rpath directly |
| 16938 |
hardcode_libdir_flag_spec='-rpath $libdir' |
| 16939 |
fi |
| 16940 |
archive_cmds_need_lc='no' |
| 16941 |
hardcode_libdir_separator=: |
| 16942 |
;; |
| 16943 |
|
| 16944 |
serenity*) |
| 16945 |
;; |
| 16946 |
|
| 16947 |
solaris*) |
| 16948 |
no_undefined_flag=' -z defs' |
| 16949 |
if test yes = "$GCC"; then |
| 16950 |
wlarc='$wl' |
| 16951 |
archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16952 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 16953 |
$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' |
| 16954 |
else |
| 16955 |
case `$CC -V 2>&1` in |
| 16956 |
*"Compilers 5.0"*) |
| 16957 |
wlarc='' |
| 16958 |
archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 16959 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 16960 |
$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
| 16961 |
;; |
| 16962 |
*) |
| 16963 |
wlarc='$wl' |
| 16964 |
archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16965 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 16966 |
$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 16967 |
;; |
| 16968 |
esac |
| 16969 |
fi |
| 16970 |
hardcode_libdir_flag_spec='-R$libdir' |
| 16971 |
hardcode_shlibpath_var=no |
| 16972 |
case $host_os in |
| 16973 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
| 16974 |
*) |
| 16975 |
# The compiler driver will combine and reorder linker options, |
| 16976 |
# but understands '-z linker_flag'. GCC discards it without '$wl', |
| 16977 |
# but is careful enough not to reorder. |
| 16978 |
# Supported since Solaris 2.6 (maybe 2.5.1?) |
| 16979 |
if test yes = "$GCC"; then |
| 16980 |
whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' |
| 16981 |
else |
| 16982 |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
| 16983 |
fi |
| 16984 |
;; |
| 16985 |
esac |
| 16986 |
link_all_deplibs=yes |
| 16987 |
;; |
| 16988 |
|
| 16989 |
sunos4*) |
| 16990 |
if test sequent = "$host_vendor"; then |
| 16991 |
# Use $CC to link under sequent, because it throws in some extra .o |
| 16992 |
# files that make .init and .fini sections work. |
| 16993 |
archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
| 16994 |
else |
| 16995 |
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
| 16996 |
fi |
| 16997 |
hardcode_libdir_flag_spec='-L$libdir' |
| 16998 |
hardcode_direct=yes |
| 16999 |
hardcode_minus_L=yes |
| 17000 |
hardcode_shlibpath_var=no |
| 17001 |
;; |
| 17002 |
|
| 17003 |
sysv4) |
| 17004 |
case $host_vendor in |
| 17005 |
sni) |
| 17006 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 17007 |
hardcode_direct=yes # is this really true??? |
| 17008 |
;; |
| 17009 |
siemens) |
| 17010 |
## LD is ld it makes a PLAMLIB |
| 17011 |
## CC just makes a GrossModule. |
| 17012 |
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
| 17013 |
reload_cmds='$CC -r -o $output$reload_objs' |
| 17014 |
hardcode_direct=no |
| 17015 |
;; |
| 17016 |
motorola) |
| 17017 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 17018 |
hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
| 17019 |
;; |
| 17020 |
esac |
| 17021 |
runpath_var='LD_RUN_PATH' |
| 17022 |
hardcode_shlibpath_var=no |
| 17023 |
;; |
| 17024 |
|
| 17025 |
sysv4.3*) |
| 17026 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 17027 |
hardcode_shlibpath_var=no |
| 17028 |
export_dynamic_flag_spec='-Bexport' |
| 17029 |
;; |
| 17030 |
|
| 17031 |
sysv4*MP*) |
| 17032 |
if test -d /usr/nec; then |
| 17033 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 17034 |
hardcode_shlibpath_var=no |
| 17035 |
runpath_var=LD_RUN_PATH |
| 17036 |
hardcode_runpath_var=yes |
| 17037 |
ld_shlibs=yes |
| 17038 |
fi |
| 17039 |
;; |
| 17040 |
|
| 17041 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
| 17042 |
no_undefined_flag='$wl-z,text' |
| 17043 |
archive_cmds_need_lc=no |
| 17044 |
hardcode_shlibpath_var=no |
| 17045 |
runpath_var='LD_RUN_PATH' |
| 17046 |
|
| 17047 |
if test yes = "$GCC"; then |
| 17048 |
archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17049 |
archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17050 |
else |
| 17051 |
archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17052 |
archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17053 |
fi |
| 17054 |
;; |
| 17055 |
|
| 17056 |
sysv5* | sco3.2v5* | sco5v6*) |
| 17057 |
# Note: We CANNOT use -z defs as we might desire, because we do not |
| 17058 |
# link with -lc, and that would cause any symbols used from libc to |
| 17059 |
# always be unresolved, which means just about no library would |
| 17060 |
# ever link correctly. If we're not using GNU ld we use -z text |
| 17061 |
# though, which does catch some bad symbols but isn't as heavy-handed |
| 17062 |
# as -z defs. |
| 17063 |
no_undefined_flag='$wl-z,text' |
| 17064 |
allow_undefined_flag='$wl-z,nodefs' |
| 17065 |
archive_cmds_need_lc=no |
| 17066 |
hardcode_shlibpath_var=no |
| 17067 |
hardcode_libdir_flag_spec='$wl-R,$libdir' |
| 17068 |
hardcode_libdir_separator=':' |
| 17069 |
link_all_deplibs=yes |
| 17070 |
export_dynamic_flag_spec='$wl-Bexport' |
| 17071 |
runpath_var='LD_RUN_PATH' |
| 17072 |
|
| 17073 |
if test yes = "$GCC"; then |
| 17074 |
archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17075 |
archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17076 |
else |
| 17077 |
archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17078 |
archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 17079 |
fi |
| 17080 |
;; |
| 17081 |
|
| 17082 |
uts4*) |
| 17083 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 17084 |
hardcode_libdir_flag_spec='-L$libdir' |
| 17085 |
hardcode_shlibpath_var=no |
| 17086 |
;; |
| 17087 |
|
| 17088 |
*) |
| 17089 |
ld_shlibs=no |
| 17090 |
;; |
| 17091 |
esac |
| 17092 |
|
| 17093 |
if test sni = "$host_vendor"; then |
| 17094 |
case $host in |
| 17095 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 17096 |
export_dynamic_flag_spec='$wl-Blargedynsym' |
| 17097 |
;; |
| 17098 |
esac |
| 17099 |
fi |
| 17100 |
fi |
| 17101 |
|
| 17102 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
| 17103 |
printf "%s\n" "$ld_shlibs" >&6; } |
| 17104 |
test no = "$ld_shlibs" && can_build_shared=no |
| 17105 |
|
| 17106 |
with_gnu_ld=$with_gnu_ld |
| 17107 |
|
| 17108 |
|
| 17109 |
|
| 17110 |
|
| 17111 |
|
| 17112 |
|
| 17113 |
|
| 17114 |
|
| 17115 |
|
| 17116 |
|
| 17117 |
|
| 17118 |
|
| 17119 |
|
| 17120 |
|
| 17121 |
|
| 17122 |
# |
| 17123 |
# Do we need to explicitly link libc? |
| 17124 |
# |
| 17125 |
case "x$archive_cmds_need_lc" in |
| 17126 |
x|xyes) |
| 17127 |
# Assume -lc should be added |
| 17128 |
archive_cmds_need_lc=yes |
| 17129 |
|
| 17130 |
if test yes,yes = "$GCC,$enable_shared"; then |
| 17131 |
case $archive_cmds in |
| 17132 |
*'~'*) |
| 17133 |
# FIXME: we may have to deal with multi-command sequences. |
| 17134 |
;; |
| 17135 |
'$CC '*) |
| 17136 |
# Test whether the compiler implicitly links with -lc since on some |
| 17137 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
| 17138 |
# to ld, don't add -lc before -lgcc. |
| 17139 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
| 17140 |
printf %s "checking whether -lc should be explicitly linked in... " >&6; } |
| 17141 |
if test ${lt_cv_archive_cmds_need_lc+y} |
| 17142 |
then : |
| 17143 |
printf %s "(cached) " >&6 |
| 17144 |
else case e in #( |
| 17145 |
e) $RM conftest* |
| 17146 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 17147 |
|
| 17148 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 17149 |
(eval $ac_compile) 2>&5 |
| 17150 |
ac_status=$? |
| 17151 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17152 |
test $ac_status = 0; } 2>conftest.err; then |
| 17153 |
soname=conftest |
| 17154 |
lib=conftest |
| 17155 |
libobjs=conftest.$ac_objext |
| 17156 |
deplibs= |
| 17157 |
wl=$lt_prog_compiler_wl |
| 17158 |
pic_flag=$lt_prog_compiler_pic |
| 17159 |
compiler_flags=-v |
| 17160 |
linker_flags=-v |
| 17161 |
verstring= |
| 17162 |
output_objdir=. |
| 17163 |
libname=conftest |
| 17164 |
lt_save_allow_undefined_flag=$allow_undefined_flag |
| 17165 |
allow_undefined_flag= |
| 17166 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
| 17167 |
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
| 17168 |
ac_status=$? |
| 17169 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 17170 |
test $ac_status = 0; } |
| 17171 |
then |
| 17172 |
lt_cv_archive_cmds_need_lc=no |
| 17173 |
else |
| 17174 |
lt_cv_archive_cmds_need_lc=yes |
| 17175 |
fi |
| 17176 |
allow_undefined_flag=$lt_save_allow_undefined_flag |
| 17177 |
else |
| 17178 |
cat conftest.err 1>&5 |
| 17179 |
fi |
| 17180 |
$RM conftest* |
| 17181 |
;; |
| 17182 |
esac |
| 17183 |
fi |
| 17184 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
| 17185 |
printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; } |
| 17186 |
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
| 17187 |
;; |
| 17188 |
esac |
| 17189 |
fi |
| 17190 |
;; |
| 17191 |
esac |
| 17192 |
|
| 17193 |
|
| 17194 |
|
| 17195 |
|
| 17196 |
|
| 17197 |
|
| 17198 |
|
| 17199 |
|
| 17200 |
|
| 17201 |
|
| 17202 |
|
| 17203 |
|
| 17204 |
|
| 17205 |
|
| 17206 |
|
| 17207 |
|
| 17208 |
|
| 17209 |
|
| 17210 |
|
| 17211 |
|
| 17212 |
|
| 17213 |
|
| 17214 |
|
| 17215 |
|
| 17216 |
|
| 17217 |
|
| 17218 |
|
| 17219 |
|
| 17220 |
|
| 17221 |
|
| 17222 |
|
| 17223 |
|
| 17224 |
|
| 17225 |
|
| 17226 |
|
| 17227 |
|
| 17228 |
|
| 17229 |
|
| 17230 |
|
| 17231 |
|
| 17232 |
|
| 17233 |
|
| 17234 |
|
| 17235 |
|
| 17236 |
|
| 17237 |
|
| 17238 |
|
| 17239 |
|
| 17240 |
|
| 17241 |
|
| 17242 |
|
| 17243 |
|
| 17244 |
|
| 17245 |
|
| 17246 |
|
| 17247 |
|
| 17248 |
|
| 17249 |
|
| 17250 |
|
| 17251 |
|
| 17252 |
|
| 17253 |
|
| 17254 |
|
| 17255 |
|
| 17256 |
|
| 17257 |
|
| 17258 |
|
| 17259 |
|
| 17260 |
|
| 17261 |
|
| 17262 |
|
| 17263 |
|
| 17264 |
|
| 17265 |
|
| 17266 |
|
| 17267 |
|
| 17268 |
|
| 17269 |
|
| 17270 |
|
| 17271 |
|
| 17272 |
|
| 17273 |
|
| 17274 |
|
| 17275 |
|
| 17276 |
|
| 17277 |
|
| 17278 |
|
| 17279 |
|
| 17280 |
|
| 17281 |
|
| 17282 |
|
| 17283 |
|
| 17284 |
|
| 17285 |
|
| 17286 |
|
| 17287 |
|
| 17288 |
|
| 17289 |
|
| 17290 |
|
| 17291 |
|
| 17292 |
|
| 17293 |
|
| 17294 |
|
| 17295 |
|
| 17296 |
|
| 17297 |
|
| 17298 |
|
| 17299 |
|
| 17300 |
|
| 17301 |
|
| 17302 |
|
| 17303 |
|
| 17304 |
|
| 17305 |
|
| 17306 |
|
| 17307 |
|
| 17308 |
|
| 17309 |
|
| 17310 |
|
| 17311 |
|
| 17312 |
|
| 17313 |
|
| 17314 |
|
| 17315 |
|
| 17316 |
|
| 17317 |
|
| 17318 |
|
| 17319 |
|
| 17320 |
|
| 17321 |
|
| 17322 |
|
| 17323 |
|
| 17324 |
|
| 17325 |
|
| 17326 |
|
| 17327 |
|
| 17328 |
|
| 17329 |
|
| 17330 |
|
| 17331 |
|
| 17332 |
|
| 17333 |
|
| 17334 |
|
| 17335 |
|
| 17336 |
|
| 17337 |
|
| 17338 |
|
| 17339 |
|
| 17340 |
|
| 17341 |
|
| 17342 |
|
| 17343 |
|
| 17344 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
| 17345 |
printf %s "checking dynamic linker characteristics... " >&6; } |
| 17346 |
|
| 17347 |
if test yes = "$GCC"; then |
| 17348 |
case $host_os in |
| 17349 |
darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; |
| 17350 |
*) lt_awk_arg='/^libraries:/' ;; |
| 17351 |
esac |
| 17352 |
case $host_os in |
| 17353 |
mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; |
| 17354 |
*) lt_sed_strip_eq='s|=/|/|g' ;; |
| 17355 |
esac |
| 17356 |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
| 17357 |
case $lt_search_path_spec in |
| 17358 |
*\;*) |
| 17359 |
# if the path contains ";" then we assume it to be the separator |
| 17360 |
# otherwise default to the standard path separator (i.e. ":") - it is |
| 17361 |
# assumed that no part of a normal pathname contains ";" but that should |
| 17362 |
# okay in the real world where ";" in dirpaths is itself problematic. |
| 17363 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
| 17364 |
;; |
| 17365 |
*) |
| 17366 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
| 17367 |
;; |
| 17368 |
esac |
| 17369 |
# Ok, now we have the path, separated by spaces, we can step through it |
| 17370 |
# and add multilib dir if necessary... |
| 17371 |
lt_tmp_lt_search_path_spec= |
| 17372 |
lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
| 17373 |
# ...but if some path component already ends with the multilib dir we assume |
| 17374 |
# that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). |
| 17375 |
case "$lt_multi_os_dir; $lt_search_path_spec " in |
| 17376 |
"/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) |
| 17377 |
lt_multi_os_dir= |
| 17378 |
;; |
| 17379 |
esac |
| 17380 |
for lt_sys_path in $lt_search_path_spec; do |
| 17381 |
if test -d "$lt_sys_path$lt_multi_os_dir"; then |
| 17382 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" |
| 17383 |
elif test -n "$lt_multi_os_dir"; then |
| 17384 |
test -d "$lt_sys_path" && \ |
| 17385 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
| 17386 |
fi |
| 17387 |
done |
| 17388 |
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
| 17389 |
BEGIN {RS = " "; FS = "/|\n";} { |
| 17390 |
lt_foo = ""; |
| 17391 |
lt_count = 0; |
| 17392 |
for (lt_i = NF; lt_i > 0; lt_i--) { |
| 17393 |
if ($lt_i != "" && $lt_i != ".") { |
| 17394 |
if ($lt_i == "..") { |
| 17395 |
lt_count++; |
| 17396 |
} else { |
| 17397 |
if (lt_count == 0) { |
| 17398 |
lt_foo = "/" $lt_i lt_foo; |
| 17399 |
} else { |
| 17400 |
lt_count--; |
| 17401 |
} |
| 17402 |
} |
| 17403 |
} |
| 17404 |
} |
| 17405 |
if (lt_foo != "") { lt_freq[lt_foo]++; } |
| 17406 |
if (lt_freq[lt_foo] == 1) { print lt_foo; } |
| 17407 |
}'` |
| 17408 |
# AWK program above erroneously prepends '/' to C:/dos/paths |
| 17409 |
# for these hosts. |
| 17410 |
case $host_os in |
| 17411 |
mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
| 17412 |
$SED 's|/\([A-Za-z]:\)|\1|g'` ;; |
| 17413 |
esac |
| 17414 |
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
| 17415 |
else |
| 17416 |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
| 17417 |
fi |
| 17418 |
library_names_spec= |
| 17419 |
libname_spec='lib$name' |
| 17420 |
soname_spec= |
| 17421 |
shrext_cmds=.so |
| 17422 |
postinstall_cmds= |
| 17423 |
postuninstall_cmds= |
| 17424 |
finish_cmds= |
| 17425 |
finish_eval= |
| 17426 |
shlibpath_var= |
| 17427 |
shlibpath_overrides_runpath=unknown |
| 17428 |
version_type=none |
| 17429 |
dynamic_linker="$host_os ld.so" |
| 17430 |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
| 17431 |
need_lib_prefix=unknown |
| 17432 |
hardcode_into_libs=no |
| 17433 |
|
| 17434 |
# when you set need_version to no, make sure it does not cause -set_version |
| 17435 |
# flags to be left without arguments |
| 17436 |
need_version=unknown |
| 17437 |
|
| 17438 |
|
| 17439 |
|
| 17440 |
case $host_os in |
| 17441 |
aix3*) |
| 17442 |
version_type=linux # correct to gnu/linux during the next big refactor |
| 17443 |
library_names_spec='$libname$release$shared_ext$versuffix $libname.a' |
| 17444 |
shlibpath_var=LIBPATH |
| 17445 |
|
| 17446 |
# AIX 3 has no versioning support, so we append a major version to the name. |
| 17447 |
soname_spec='$libname$release$shared_ext$major' |
| 17448 |
;; |
| 17449 |
|
| 17450 |
aix[4-9]*) |
| 17451 |
version_type=linux # correct to gnu/linux during the next big refactor |
| 17452 |
need_lib_prefix=no |
| 17453 |
need_version=no |
| 17454 |
hardcode_into_libs=yes |
| 17455 |
if test ia64 = "$host_cpu"; then |
| 17456 |
# AIX 5 supports IA64 |
| 17457 |
library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' |
| 17458 |
shlibpath_var=LD_LIBRARY_PATH |
| 17459 |
else |
| 17460 |
# With GCC up to 2.95.x, collect2 would create an import file |
| 17461 |
# for dependence libraries. The import file would start with |
| 17462 |
# the line '#! .'. This would cause the generated library to |
| 17463 |
# depend on '.', always an invalid library. This was fixed in |
| 17464 |
# development snapshots of GCC prior to 3.0. |
| 17465 |
case $host_os in |
| 17466 |
aix4 | aix4.[01] | aix4.[01].*) |
| 17467 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
| 17468 |
echo ' yes ' |
| 17469 |
echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then |
| 17470 |
: |
| 17471 |
else |
| 17472 |
can_build_shared=no |
| 17473 |
fi |
| 17474 |
;; |
| 17475 |
esac |
| 17476 |
# Using Import Files as archive members, it is possible to support |
| 17477 |
# filename-based versioning of shared library archives on AIX. While |
| 17478 |
# this would work for both with and without runtime linking, it will |
| 17479 |
# prevent static linking of such archives. So we do filename-based |
| 17480 |
# shared library versioning with .so extension only, which is used |
| 17481 |
# when both runtime linking and shared linking is enabled. |
| 17482 |
# Unfortunately, runtime linking may impact performance, so we do |
| 17483 |
# not want this to be the default eventually. Also, we use the |
| 17484 |
# versioned .so libs for executables only if there is the -brtl |
| 17485 |
# linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only. |
| 17486 |
# To allow for filename-based versioning support, we need to create |
| 17487 |
# libNAME.so.V as an archive file, containing: |
| 17488 |
# *) an Import File, referring to the versioned filename of the |
| 17489 |
# archive as well as the shared archive member, telling the |
| 17490 |
# bitwidth (32 or 64) of that shared object, and providing the |
| 17491 |
# list of exported symbols of that shared object, eventually |
| 17492 |
# decorated with the 'weak' keyword |
| 17493 |
# *) the shared object with the F_LOADONLY flag set, to really avoid |
| 17494 |
# it being seen by the linker. |
| 17495 |
# At run time we better use the real file rather than another symlink, |
| 17496 |
# but for link time we create the symlink libNAME.so -> libNAME.so.V |
| 17497 |
|
| 17498 |
case $with_aix_soname,$aix_use_runtimelinking in |
| 17499 |
# AIX (on Power*) has no versioning support, so currently we cannot hardcode correct |
| 17500 |
# soname into executable. Probably we can add versioning support to |
| 17501 |
# collect2, so additional links can be useful in future. |
| 17502 |
aix,yes) # traditional libtool |
| 17503 |
dynamic_linker='AIX unversionable lib.so' |
| 17504 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so |
| 17505 |
# instead of lib<name>.a to let people know that these are not |
| 17506 |
# typical AIX shared libraries. |
| 17507 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17508 |
;; |
| 17509 |
aix,no) # traditional AIX only |
| 17510 |
dynamic_linker='AIX lib.a(lib.so.V)' |
| 17511 |
# We preserve .a as extension for shared libraries through AIX4.2 |
| 17512 |
# and later when we are not doing run time linking. |
| 17513 |
library_names_spec='$libname$release.a $libname.a' |
| 17514 |
soname_spec='$libname$release$shared_ext$major' |
| 17515 |
;; |
| 17516 |
svr4,*) # full svr4 only |
| 17517 |
dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" |
| 17518 |
library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
| 17519 |
# We do not specify a path in Import Files, so LIBPATH fires. |
| 17520 |
shlibpath_overrides_runpath=yes |
| 17521 |
;; |
| 17522 |
*,yes) # both, prefer svr4 |
| 17523 |
dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" |
| 17524 |
library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
| 17525 |
# unpreferred sharedlib libNAME.a needs extra handling |
| 17526 |
postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' |
| 17527 |
postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' |
| 17528 |
# We do not specify a path in Import Files, so LIBPATH fires. |
| 17529 |
shlibpath_overrides_runpath=yes |
| 17530 |
;; |
| 17531 |
*,no) # both, prefer aix |
| 17532 |
dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" |
| 17533 |
library_names_spec='$libname$release.a $libname.a' |
| 17534 |
soname_spec='$libname$release$shared_ext$major' |
| 17535 |
# unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling |
| 17536 |
postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' |
| 17537 |
postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' |
| 17538 |
;; |
| 17539 |
esac |
| 17540 |
shlibpath_var=LIBPATH |
| 17541 |
fi |
| 17542 |
;; |
| 17543 |
|
| 17544 |
amigaos*) |
| 17545 |
case $host_cpu in |
| 17546 |
powerpc) |
| 17547 |
# Since July 2007 AmigaOS4 officially supports .so libraries. |
| 17548 |
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
| 17549 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17550 |
;; |
| 17551 |
m68k) |
| 17552 |
library_names_spec='$libname.ixlibrary $libname.a' |
| 17553 |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
| 17554 |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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' |
| 17555 |
;; |
| 17556 |
esac |
| 17557 |
;; |
| 17558 |
|
| 17559 |
beos*) |
| 17560 |
library_names_spec='$libname$shared_ext' |
| 17561 |
dynamic_linker="$host_os ld.so" |
| 17562 |
shlibpath_var=LIBRARY_PATH |
| 17563 |
;; |
| 17564 |
|
| 17565 |
bsdi[45]*) |
| 17566 |
version_type=linux # correct to gnu/linux during the next big refactor |
| 17567 |
need_version=no |
| 17568 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17569 |
soname_spec='$libname$release$shared_ext$major' |
| 17570 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
| 17571 |
shlibpath_var=LD_LIBRARY_PATH |
| 17572 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
| 17573 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
| 17574 |
# the default ld.so.conf also contains /usr/contrib/lib and |
| 17575 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
| 17576 |
# libtool to hard-code these into programs |
| 17577 |
;; |
| 17578 |
|
| 17579 |
cygwin* | mingw* | windows* | pw32* | cegcc*) |
| 17580 |
version_type=windows |
| 17581 |
shrext_cmds=.dll |
| 17582 |
need_version=no |
| 17583 |
need_lib_prefix=no |
| 17584 |
|
| 17585 |
case $GCC,$cc_basename in |
| 17586 |
yes,*) |
| 17587 |
# gcc |
| 17588 |
library_names_spec='$libname.dll.a' |
| 17589 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 17590 |
# If user builds GCC with multilib enabled, |
| 17591 |
# it should just install on $(libdir) |
| 17592 |
# not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones. |
| 17593 |
if test xyes = x"$multilib"; then |
| 17594 |
postinstall_cmds='base_file=`basename \$file`~ |
| 17595 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 17596 |
dldir=$destdir/`dirname \$dlpath`~ |
| 17597 |
$install_prog $dir/$dlname $destdir/$dlname~ |
| 17598 |
chmod a+x $destdir/$dlname~ |
| 17599 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 17600 |
eval '\''$striplib $destdir/$dlname'\'' || exit \$?; |
| 17601 |
fi' |
| 17602 |
else |
| 17603 |
postinstall_cmds='base_file=`basename \$file`~ |
| 17604 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 17605 |
dldir=$destdir/`dirname \$dlpath`~ |
| 17606 |
test -d \$dldir || mkdir -p \$dldir~ |
| 17607 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
| 17608 |
chmod a+x \$dldir/$dlname~ |
| 17609 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 17610 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 17611 |
fi' |
| 17612 |
fi |
| 17613 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 17614 |
dlpath=$dir/\$dldll~ |
| 17615 |
$RM \$dlpath' |
| 17616 |
shlibpath_overrides_runpath=yes |
| 17617 |
|
| 17618 |
case $host_os in |
| 17619 |
cygwin*) |
| 17620 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
| 17621 |
soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 17622 |
|
| 17623 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
| 17624 |
;; |
| 17625 |
mingw* | windows* | cegcc*) |
| 17626 |
# MinGW DLLs use traditional 'lib' prefix |
| 17627 |
soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 17628 |
;; |
| 17629 |
pw32*) |
| 17630 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
| 17631 |
library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 17632 |
;; |
| 17633 |
esac |
| 17634 |
dynamic_linker='Win32 ld.exe' |
| 17635 |
;; |
| 17636 |
|
| 17637 |
*,cl* | *,icl*) |
| 17638 |
# Native MSVC or ICC |
| 17639 |
libname_spec='$name' |
| 17640 |
soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' |
| 17641 |
library_names_spec='$libname.dll.lib' |
| 17642 |
|
| 17643 |
case $build_os in |
| 17644 |
mingw* | windows*) |
| 17645 |
sys_lib_search_path_spec= |
| 17646 |
lt_save_ifs=$IFS |
| 17647 |
IFS=';' |
| 17648 |
for lt_path in $LIB |
| 17649 |
do |
| 17650 |
IFS=$lt_save_ifs |
| 17651 |
# Let DOS variable expansion print the short 8.3 style file name. |
| 17652 |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
| 17653 |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
| 17654 |
done |
| 17655 |
IFS=$lt_save_ifs |
| 17656 |
# Convert to MSYS style. |
| 17657 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
| 17658 |
;; |
| 17659 |
cygwin*) |
| 17660 |
# Convert to unix form, then to dos form, then back to unix form |
| 17661 |
# but this time dos style (no spaces!) so that the unix form looks |
| 17662 |
# like /cygdrive/c/PROGRA~1:/cygdr... |
| 17663 |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
| 17664 |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
| 17665 |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 17666 |
;; |
| 17667 |
*) |
| 17668 |
sys_lib_search_path_spec=$LIB |
| 17669 |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
| 17670 |
# It is most probably a Windows format PATH. |
| 17671 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
| 17672 |
else |
| 17673 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 17674 |
fi |
| 17675 |
# FIXME: find the short name or the path components, as spaces are |
| 17676 |
# common. (e.g. "Program Files" -> "PROGRA~1") |
| 17677 |
;; |
| 17678 |
esac |
| 17679 |
|
| 17680 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 17681 |
postinstall_cmds='base_file=`basename \$file`~ |
| 17682 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ |
| 17683 |
dldir=$destdir/`dirname \$dlpath`~ |
| 17684 |
test -d \$dldir || mkdir -p \$dldir~ |
| 17685 |
$install_prog $dir/$dlname \$dldir/$dlname' |
| 17686 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 17687 |
dlpath=$dir/\$dldll~ |
| 17688 |
$RM \$dlpath' |
| 17689 |
shlibpath_overrides_runpath=yes |
| 17690 |
dynamic_linker='Win32 link.exe' |
| 17691 |
;; |
| 17692 |
|
| 17693 |
*) |
| 17694 |
# Assume MSVC and ICC wrapper |
| 17695 |
library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' |
| 17696 |
dynamic_linker='Win32 ld.exe' |
| 17697 |
;; |
| 17698 |
esac |
| 17699 |
# FIXME: first we should search . and the directory the executable is in |
| 17700 |
shlibpath_var=PATH |
| 17701 |
;; |
| 17702 |
|
| 17703 |
darwin* | rhapsody*) |
| 17704 |
dynamic_linker="$host_os dyld" |
| 17705 |
version_type=darwin |
| 17706 |
need_lib_prefix=no |
| 17707 |
need_version=no |
| 17708 |
library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' |
| 17709 |
soname_spec='$libname$release$major$shared_ext' |
| 17710 |
shlibpath_overrides_runpath=yes |
| 17711 |
shlibpath_var=DYLD_LIBRARY_PATH |
| 17712 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
| 17713 |
|
| 17714 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
| 17715 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
| 17716 |
;; |
| 17717 |
|
| 17718 |
dgux*) |
| 17719 |
version_type=linux # correct to gnu/linux during the next big refactor |
| 17720 |
need_lib_prefix=no |
| 17721 |
need_version=no |
| 17722 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17723 |
soname_spec='$libname$release$shared_ext$major' |
| 17724 |
shlibpath_var=LD_LIBRARY_PATH |
| 17725 |
;; |
| 17726 |
|
| 17727 |
freebsd* | dragonfly* | midnightbsd*) |
| 17728 |
# DragonFly does not have aout. When/if they implement a new |
| 17729 |
# versioning mechanism, adjust this. |
| 17730 |
if test -x /usr/bin/objformat; then |
| 17731 |
objformat=`/usr/bin/objformat` |
| 17732 |
else |
| 17733 |
case $host_os in |
| 17734 |
freebsd[23].*) objformat=aout ;; |
| 17735 |
*) objformat=elf ;; |
| 17736 |
esac |
| 17737 |
fi |
| 17738 |
version_type=freebsd-$objformat |
| 17739 |
case $version_type in |
| 17740 |
freebsd-elf*) |
| 17741 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17742 |
soname_spec='$libname$release$shared_ext$major' |
| 17743 |
need_version=no |
| 17744 |
need_lib_prefix=no |
| 17745 |
;; |
| 17746 |
freebsd-*) |
| 17747 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 17748 |
need_version=yes |
| 17749 |
;; |
| 17750 |
esac |
| 17751 |
case $host_cpu in |
| 17752 |
powerpc64) |
| 17753 |
# On FreeBSD bi-arch platforms, a different variable is used for 32-bit |
| 17754 |
# binaries. See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>. |
| 17755 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17756 |
/* end confdefs.h. */ |
| 17757 |
int test_pointer_size[sizeof (void *) - 5]; |
| 17758 |
|
| 17759 |
_ACEOF |
| 17760 |
if ac_fn_c_try_compile "$LINENO" |
| 17761 |
then : |
| 17762 |
shlibpath_var=LD_LIBRARY_PATH |
| 17763 |
else case e in #( |
| 17764 |
e) shlibpath_var=LD_32_LIBRARY_PATH ;; |
| 17765 |
esac |
| 17766 |
fi |
| 17767 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 17768 |
;; |
| 17769 |
*) |
| 17770 |
shlibpath_var=LD_LIBRARY_PATH |
| 17771 |
;; |
| 17772 |
esac |
| 17773 |
case $host_os in |
| 17774 |
freebsd2.*) |
| 17775 |
shlibpath_overrides_runpath=yes |
| 17776 |
;; |
| 17777 |
freebsd3.[01]* | freebsdelf3.[01]*) |
| 17778 |
shlibpath_overrides_runpath=yes |
| 17779 |
hardcode_into_libs=yes |
| 17780 |
;; |
| 17781 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
| 17782 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
| 17783 |
shlibpath_overrides_runpath=no |
| 17784 |
hardcode_into_libs=yes |
| 17785 |
;; |
| 17786 |
*) # from 4.6 on, and DragonFly |
| 17787 |
shlibpath_overrides_runpath=yes |
| 17788 |
hardcode_into_libs=yes |
| 17789 |
;; |
| 17790 |
esac |
| 17791 |
;; |
| 17792 |
|
| 17793 |
haiku*) |
| 17794 |
version_type=linux # correct to gnu/linux during the next big refactor |
| 17795 |
need_lib_prefix=no |
| 17796 |
need_version=no |
| 17797 |
dynamic_linker="$host_os runtime_loader" |
| 17798 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17799 |
soname_spec='$libname$release$shared_ext$major' |
| 17800 |
shlibpath_var=LIBRARY_PATH |
| 17801 |
shlibpath_overrides_runpath=no |
| 17802 |
sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib' |
| 17803 |
sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib' |
| 17804 |
hardcode_into_libs=no |
| 17805 |
;; |
| 17806 |
|
| 17807 |
hpux9* | hpux10* | hpux11*) |
| 17808 |
# Give a soname corresponding to the major version so that dld.sl refuses to |
| 17809 |
# link against other versions. |
| 17810 |
version_type=sunos |
| 17811 |
need_lib_prefix=no |
| 17812 |
need_version=no |
| 17813 |
case $host_cpu in |
| 17814 |
ia64*) |
| 17815 |
shrext_cmds='.so' |
| 17816 |
hardcode_into_libs=yes |
| 17817 |
dynamic_linker="$host_os dld.so" |
| 17818 |
shlibpath_var=LD_LIBRARY_PATH |
| 17819 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 17820 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17821 |
soname_spec='$libname$release$shared_ext$major' |
| 17822 |
if test 32 = "$HPUX_IA64_MODE"; then |
| 17823 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
| 17824 |
sys_lib_dlsearch_path_spec=/usr/lib/hpux32 |
| 17825 |
else |
| 17826 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
| 17827 |
sys_lib_dlsearch_path_spec=/usr/lib/hpux64 |
| 17828 |
fi |
| 17829 |
;; |
| 17830 |
hppa*64*) |
| 17831 |
shrext_cmds='.sl' |
| 17832 |
hardcode_into_libs=yes |
| 17833 |
dynamic_linker="$host_os dld.sl" |
| 17834 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
| 17835 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 17836 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17837 |
soname_spec='$libname$release$shared_ext$major' |
| 17838 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
| 17839 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 17840 |
;; |
| 17841 |
*) |
| 17842 |
shrext_cmds='.sl' |
| 17843 |
dynamic_linker="$host_os dld.sl" |
| 17844 |
shlibpath_var=SHLIB_PATH |
| 17845 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
| 17846 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17847 |
soname_spec='$libname$release$shared_ext$major' |
| 17848 |
;; |
| 17849 |
esac |
| 17850 |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
| 17851 |
postinstall_cmds='chmod 555 $lib' |
| 17852 |
# or fails outright, so override atomically: |
| 17853 |
install_override_mode=555 |
| 17854 |
;; |
| 17855 |
|
| 17856 |
interix[3-9]*) |
| 17857 |
version_type=linux # correct to gnu/linux during the next big refactor |
| 17858 |
need_lib_prefix=no |
| 17859 |
need_version=no |
| 17860 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17861 |
soname_spec='$libname$release$shared_ext$major' |
| 17862 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
| 17863 |
shlibpath_var=LD_LIBRARY_PATH |
| 17864 |
shlibpath_overrides_runpath=no |
| 17865 |
hardcode_into_libs=yes |
| 17866 |
;; |
| 17867 |
|
| 17868 |
irix5* | irix6* | nonstopux*) |
| 17869 |
case $host_os in |
| 17870 |
nonstopux*) version_type=nonstopux ;; |
| 17871 |
*) |
| 17872 |
if test yes = "$lt_cv_prog_gnu_ld"; then |
| 17873 |
version_type=linux # correct to gnu/linux during the next big refactor |
| 17874 |
else |
| 17875 |
version_type=irix |
| 17876 |
fi ;; |
| 17877 |
esac |
| 17878 |
need_lib_prefix=no |
| 17879 |
need_version=no |
| 17880 |
soname_spec='$libname$release$shared_ext$major' |
| 17881 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' |
| 17882 |
case $host_os in |
| 17883 |
irix5* | nonstopux*) |
| 17884 |
libsuff= shlibsuff= |
| 17885 |
;; |
| 17886 |
*) |
| 17887 |
case $LD in # libtool.m4 will add one of these switches to LD |
| 17888 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
| 17889 |
libsuff= shlibsuff= libmagic=32-bit;; |
| 17890 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
| 17891 |
libsuff=32 shlibsuff=N32 libmagic=N32;; |
| 17892 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
| 17893 |
libsuff=64 shlibsuff=64 libmagic=64-bit;; |
| 17894 |
*) libsuff= shlibsuff= libmagic=never-match;; |
| 17895 |
esac |
| 17896 |
;; |
| 17897 |
esac |
| 17898 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
| 17899 |
shlibpath_overrides_runpath=no |
| 17900 |
sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" |
| 17901 |
sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" |
| 17902 |
hardcode_into_libs=yes |
| 17903 |
;; |
| 17904 |
|
| 17905 |
# No shared lib support for Linux oldld, aout, or coff. |
| 17906 |
linux*oldld* | linux*aout* | linux*coff*) |
| 17907 |
dynamic_linker=no |
| 17908 |
;; |
| 17909 |
|
| 17910 |
linux*android*) |
| 17911 |
version_type=none # Android doesn't support versioned libraries. |
| 17912 |
need_lib_prefix=no |
| 17913 |
need_version=no |
| 17914 |
library_names_spec='$libname$release$shared_ext $libname$shared_ext' |
| 17915 |
soname_spec='$libname$release$shared_ext' |
| 17916 |
finish_cmds= |
| 17917 |
shlibpath_var=LD_LIBRARY_PATH |
| 17918 |
shlibpath_overrides_runpath=yes |
| 17919 |
|
| 17920 |
# This implies no fast_install, which is unacceptable. |
| 17921 |
# Some rework will be needed to allow for fast_install |
| 17922 |
# before this can be enabled. |
| 17923 |
hardcode_into_libs=yes |
| 17924 |
|
| 17925 |
dynamic_linker='Android linker' |
| 17926 |
# -rpath works at least for libraries that are not overridden by |
| 17927 |
# libraries installed in system locations. |
| 17928 |
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' |
| 17929 |
;; |
| 17930 |
|
| 17931 |
# This must be glibc/ELF. |
| 17932 |
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 17933 |
version_type=linux # correct to gnu/linux during the next big refactor |
| 17934 |
need_lib_prefix=no |
| 17935 |
need_version=no |
| 17936 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 17937 |
soname_spec='$libname$release$shared_ext$major' |
| 17938 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
| 17939 |
shlibpath_var=LD_LIBRARY_PATH |
| 17940 |
shlibpath_overrides_runpath=no |
| 17941 |
|
| 17942 |
# Some binutils ld are patched to set DT_RUNPATH |
| 17943 |
if test ${lt_cv_shlibpath_overrides_runpath+y} |
| 17944 |
then : |
| 17945 |
printf %s "(cached) " >&6 |
| 17946 |
else case e in #( |
| 17947 |
e) lt_cv_shlibpath_overrides_runpath=no |
| 17948 |
save_LDFLAGS=$LDFLAGS |
| 17949 |
save_libdir=$libdir |
| 17950 |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
| 17951 |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
| 17952 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 17953 |
/* end confdefs.h. */ |
| 17954 |
|
| 17955 |
int |
| 17956 |
main (void) |
| 17957 |
{ |
| 17958 |
|
| 17959 |
; |
| 17960 |
return 0; |
| 17961 |
} |
| 17962 |
_ACEOF |
| 17963 |
if ac_fn_c_try_link "$LINENO" |
| 17964 |
then : |
| 17965 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null |
| 17966 |
then : |
| 17967 |
lt_cv_shlibpath_overrides_runpath=yes |
| 17968 |
fi |
| 17969 |
fi |
| 17970 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 17971 |
conftest$ac_exeext conftest.$ac_ext |
| 17972 |
LDFLAGS=$save_LDFLAGS |
| 17973 |
libdir=$save_libdir |
| 17974 |
;; |
| 17975 |
esac |
| 17976 |
fi |
| 17977 |
|
| 17978 |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
| 17979 |
|
| 17980 |
# This implies no fast_install, which is unacceptable. |
| 17981 |
# Some rework will be needed to allow for fast_install |
| 17982 |
# before this can be enabled. |
| 17983 |
hardcode_into_libs=yes |
| 17984 |
|
| 17985 |
# Add ABI-specific directories to the system library path. |
| 17986 |
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" |
| 17987 |
|
| 17988 |
# Ideally, we could use ldconfig to report *all* directories which are |
| 17989 |
# searched for libraries, however this is still not possible. Aside from not |
| 17990 |
# being certain /sbin/ldconfig is available, command |
| 17991 |
# 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
| 17992 |
# even though it is searched at run-time. Try to do the best guess by |
| 17993 |
# appending ld.so.conf contents (and includes) to the search path. |
| 17994 |
if test -f /etc/ld.so.conf; then |
| 17995 |
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' ' '` |
| 17996 |
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" |
| 17997 |
fi |
| 17998 |
|
| 17999 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
| 18000 |
# powerpc, because MkLinux only supported shared libraries with the |
| 18001 |
# GNU dynamic linker. Since this was broken with cross compilers, |
| 18002 |
# most powerpc-linux boxes support dynamic linking these days and |
| 18003 |
# people can always --disable-shared, the test was removed, and we |
| 18004 |
# assume the GNU/Linux dynamic linker is in use. |
| 18005 |
dynamic_linker='GNU/Linux ld.so' |
| 18006 |
;; |
| 18007 |
|
| 18008 |
netbsdelf*-gnu) |
| 18009 |
version_type=linux |
| 18010 |
need_lib_prefix=no |
| 18011 |
need_version=no |
| 18012 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18013 |
soname_spec='$libname$release$shared_ext$major' |
| 18014 |
shlibpath_var=LD_LIBRARY_PATH |
| 18015 |
shlibpath_overrides_runpath=no |
| 18016 |
hardcode_into_libs=yes |
| 18017 |
dynamic_linker='NetBSD ld.elf_so' |
| 18018 |
;; |
| 18019 |
|
| 18020 |
netbsd*) |
| 18021 |
version_type=sunos |
| 18022 |
need_lib_prefix=no |
| 18023 |
need_version=no |
| 18024 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 18025 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 18026 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 18027 |
dynamic_linker='NetBSD (a.out) ld.so' |
| 18028 |
else |
| 18029 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18030 |
soname_spec='$libname$release$shared_ext$major' |
| 18031 |
dynamic_linker='NetBSD ld.elf_so' |
| 18032 |
fi |
| 18033 |
shlibpath_var=LD_LIBRARY_PATH |
| 18034 |
shlibpath_overrides_runpath=yes |
| 18035 |
hardcode_into_libs=yes |
| 18036 |
;; |
| 18037 |
|
| 18038 |
*-mlibc) |
| 18039 |
version_type=linux # correct to gnu/linux during the next big refactor |
| 18040 |
need_lib_prefix=no |
| 18041 |
need_version=no |
| 18042 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18043 |
soname_spec='$libname$release$shared_ext$major' |
| 18044 |
dynamic_linker='mlibc ld.so' |
| 18045 |
shlibpath_var=LD_LIBRARY_PATH |
| 18046 |
shlibpath_overrides_runpath=no |
| 18047 |
hardcode_into_libs=yes |
| 18048 |
;; |
| 18049 |
|
| 18050 |
newsos6) |
| 18051 |
version_type=linux # correct to gnu/linux during the next big refactor |
| 18052 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18053 |
shlibpath_var=LD_LIBRARY_PATH |
| 18054 |
shlibpath_overrides_runpath=yes |
| 18055 |
;; |
| 18056 |
|
| 18057 |
*nto* | *qnx*) |
| 18058 |
version_type=qnx |
| 18059 |
need_lib_prefix=no |
| 18060 |
need_version=no |
| 18061 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18062 |
soname_spec='$libname$release$shared_ext$major' |
| 18063 |
shlibpath_var=LD_LIBRARY_PATH |
| 18064 |
shlibpath_overrides_runpath=no |
| 18065 |
hardcode_into_libs=yes |
| 18066 |
dynamic_linker='ldqnx.so' |
| 18067 |
;; |
| 18068 |
|
| 18069 |
openbsd*) |
| 18070 |
version_type=sunos |
| 18071 |
sys_lib_dlsearch_path_spec=/usr/lib |
| 18072 |
need_lib_prefix=no |
| 18073 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 18074 |
need_version=no |
| 18075 |
else |
| 18076 |
need_version=yes |
| 18077 |
fi |
| 18078 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 18079 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 18080 |
shlibpath_var=LD_LIBRARY_PATH |
| 18081 |
shlibpath_overrides_runpath=yes |
| 18082 |
;; |
| 18083 |
|
| 18084 |
os2*) |
| 18085 |
libname_spec='$name' |
| 18086 |
version_type=windows |
| 18087 |
shrext_cmds=.dll |
| 18088 |
need_version=no |
| 18089 |
need_lib_prefix=no |
| 18090 |
# OS/2 can only load a DLL with a base name of 8 characters or less. |
| 18091 |
soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; |
| 18092 |
v=$($ECHO $release$versuffix | tr -d .-); |
| 18093 |
n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); |
| 18094 |
$ECHO $n$v`$shared_ext' |
| 18095 |
library_names_spec='${libname}_dll.$libext' |
| 18096 |
dynamic_linker='OS/2 ld.exe' |
| 18097 |
shlibpath_var=BEGINLIBPATH |
| 18098 |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
| 18099 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 18100 |
postinstall_cmds='base_file=`basename \$file`~ |
| 18101 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ |
| 18102 |
dldir=$destdir/`dirname \$dlpath`~ |
| 18103 |
test -d \$dldir || mkdir -p \$dldir~ |
| 18104 |
$install_prog $dir/$dlname \$dldir/$dlname~ |
| 18105 |
chmod a+x \$dldir/$dlname~ |
| 18106 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 18107 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 18108 |
fi' |
| 18109 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ |
| 18110 |
dlpath=$dir/\$dldll~ |
| 18111 |
$RM \$dlpath' |
| 18112 |
;; |
| 18113 |
|
| 18114 |
osf3* | osf4* | osf5*) |
| 18115 |
version_type=osf |
| 18116 |
need_lib_prefix=no |
| 18117 |
need_version=no |
| 18118 |
soname_spec='$libname$release$shared_ext$major' |
| 18119 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18120 |
shlibpath_var=LD_LIBRARY_PATH |
| 18121 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
| 18122 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 18123 |
;; |
| 18124 |
|
| 18125 |
rdos*) |
| 18126 |
dynamic_linker=no |
| 18127 |
;; |
| 18128 |
|
| 18129 |
serenity*) |
| 18130 |
version_type=linux # correct to gnu/linux during the next big refactor |
| 18131 |
need_lib_prefix=no |
| 18132 |
need_version=no |
| 18133 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18134 |
soname_spec='$libname$release$shared_ext$major' |
| 18135 |
shlibpath_var=LD_LIBRARY_PATH |
| 18136 |
shlibpath_overrides_runpath=no |
| 18137 |
dynamic_linker='SerenityOS LibELF' |
| 18138 |
;; |
| 18139 |
|
| 18140 |
solaris*) |
| 18141 |
version_type=linux # correct to gnu/linux during the next big refactor |
| 18142 |
need_lib_prefix=no |
| 18143 |
need_version=no |
| 18144 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18145 |
soname_spec='$libname$release$shared_ext$major' |
| 18146 |
shlibpath_var=LD_LIBRARY_PATH |
| 18147 |
shlibpath_overrides_runpath=yes |
| 18148 |
hardcode_into_libs=yes |
| 18149 |
# ldd complains unless libraries are executable |
| 18150 |
postinstall_cmds='chmod +x $lib' |
| 18151 |
;; |
| 18152 |
|
| 18153 |
sunos4*) |
| 18154 |
version_type=sunos |
| 18155 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' |
| 18156 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
| 18157 |
shlibpath_var=LD_LIBRARY_PATH |
| 18158 |
shlibpath_overrides_runpath=yes |
| 18159 |
if test yes = "$with_gnu_ld"; then |
| 18160 |
need_lib_prefix=no |
| 18161 |
fi |
| 18162 |
need_version=yes |
| 18163 |
;; |
| 18164 |
|
| 18165 |
sysv4 | sysv4.3*) |
| 18166 |
version_type=linux # correct to gnu/linux during the next big refactor |
| 18167 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18168 |
soname_spec='$libname$release$shared_ext$major' |
| 18169 |
shlibpath_var=LD_LIBRARY_PATH |
| 18170 |
case $host_vendor in |
| 18171 |
sni) |
| 18172 |
shlibpath_overrides_runpath=no |
| 18173 |
need_lib_prefix=no |
| 18174 |
runpath_var=LD_RUN_PATH |
| 18175 |
;; |
| 18176 |
siemens) |
| 18177 |
need_lib_prefix=no |
| 18178 |
;; |
| 18179 |
motorola) |
| 18180 |
need_lib_prefix=no |
| 18181 |
need_version=no |
| 18182 |
shlibpath_overrides_runpath=no |
| 18183 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
| 18184 |
;; |
| 18185 |
esac |
| 18186 |
;; |
| 18187 |
|
| 18188 |
sysv4*MP*) |
| 18189 |
if test -d /usr/nec; then |
| 18190 |
version_type=linux # correct to gnu/linux during the next big refactor |
| 18191 |
library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' |
| 18192 |
soname_spec='$libname$shared_ext.$major' |
| 18193 |
shlibpath_var=LD_LIBRARY_PATH |
| 18194 |
fi |
| 18195 |
;; |
| 18196 |
|
| 18197 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 18198 |
version_type=sco |
| 18199 |
need_lib_prefix=no |
| 18200 |
need_version=no |
| 18201 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' |
| 18202 |
soname_spec='$libname$release$shared_ext$major' |
| 18203 |
shlibpath_var=LD_LIBRARY_PATH |
| 18204 |
shlibpath_overrides_runpath=yes |
| 18205 |
hardcode_into_libs=yes |
| 18206 |
if test yes = "$with_gnu_ld"; then |
| 18207 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
| 18208 |
else |
| 18209 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
| 18210 |
case $host_os in |
| 18211 |
sco3.2v5*) |
| 18212 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
| 18213 |
;; |
| 18214 |
esac |
| 18215 |
fi |
| 18216 |
sys_lib_dlsearch_path_spec='/usr/lib' |
| 18217 |
;; |
| 18218 |
|
| 18219 |
tpf*) |
| 18220 |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
| 18221 |
version_type=linux # correct to gnu/linux during the next big refactor |
| 18222 |
need_lib_prefix=no |
| 18223 |
need_version=no |
| 18224 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18225 |
shlibpath_var=LD_LIBRARY_PATH |
| 18226 |
shlibpath_overrides_runpath=no |
| 18227 |
hardcode_into_libs=yes |
| 18228 |
;; |
| 18229 |
|
| 18230 |
uts4*) |
| 18231 |
version_type=linux # correct to gnu/linux during the next big refactor |
| 18232 |
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' |
| 18233 |
soname_spec='$libname$release$shared_ext$major' |
| 18234 |
shlibpath_var=LD_LIBRARY_PATH |
| 18235 |
;; |
| 18236 |
|
| 18237 |
emscripten*) |
| 18238 |
version_type=none |
| 18239 |
need_lib_prefix=no |
| 18240 |
need_version=no |
| 18241 |
library_names_spec='$libname$release$shared_ext' |
| 18242 |
soname_spec='$libname$release$shared_ext' |
| 18243 |
finish_cmds= |
| 18244 |
dynamic_linker="Emscripten linker" |
| 18245 |
lt_prog_compiler_wl= |
| 18246 |
lt_prog_compiler_pic= |
| 18247 |
lt_prog_compiler_static= |
| 18248 |
|
| 18249 |
|
| 18250 |
if test yes = "$GCC"; then |
| 18251 |
lt_prog_compiler_wl='-Wl,' |
| 18252 |
lt_prog_compiler_static='-static' |
| 18253 |
|
| 18254 |
case $host_os in |
| 18255 |
aix*) |
| 18256 |
# All AIX code is PIC. |
| 18257 |
if test ia64 = "$host_cpu"; then |
| 18258 |
# AIX 5 now supports IA64 processor |
| 18259 |
lt_prog_compiler_static='-Bstatic' |
| 18260 |
fi |
| 18261 |
lt_prog_compiler_pic='-fPIC' |
| 18262 |
;; |
| 18263 |
|
| 18264 |
amigaos*) |
| 18265 |
case $host_cpu in |
| 18266 |
powerpc) |
| 18267 |
# see comment about AmigaOS4 .so support |
| 18268 |
lt_prog_compiler_pic='-fPIC' |
| 18269 |
;; |
| 18270 |
m68k) |
| 18271 |
# FIXME: we need at least 68020 code to build shared libraries, but |
| 18272 |
# adding the '-m68020' flag to GCC prevents building anything better, |
| 18273 |
# like '-m68040'. |
| 18274 |
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
| 18275 |
;; |
| 18276 |
esac |
| 18277 |
;; |
| 18278 |
|
| 18279 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 18280 |
# PIC is the default for these OSes. |
| 18281 |
;; |
| 18282 |
|
| 18283 |
mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) |
| 18284 |
# This hack is so that the source file can tell whether it is being |
| 18285 |
# built for inclusion in a dll (and should export symbols for example). |
| 18286 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
| 18287 |
# (--disable-auto-import) libraries |
| 18288 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
| 18289 |
case $host_os in |
| 18290 |
os2*) |
| 18291 |
lt_prog_compiler_static='$wl-static' |
| 18292 |
;; |
| 18293 |
esac |
| 18294 |
;; |
| 18295 |
|
| 18296 |
darwin* | rhapsody*) |
| 18297 |
# PIC is the default on this platform |
| 18298 |
# Common symbols not allowed in MH_DYLIB files |
| 18299 |
lt_prog_compiler_pic='-fno-common' |
| 18300 |
;; |
| 18301 |
|
| 18302 |
haiku*) |
| 18303 |
# PIC is the default for Haiku. |
| 18304 |
# The "-static" flag exists, but is broken. |
| 18305 |
lt_prog_compiler_static= |
| 18306 |
;; |
| 18307 |
|
| 18308 |
hpux*) |
| 18309 |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
| 18310 |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
| 18311 |
# sets the default TLS model and affects inlining. |
| 18312 |
case $host_cpu in |
| 18313 |
hppa*64*) |
| 18314 |
# +Z the default |
| 18315 |
;; |
| 18316 |
*) |
| 18317 |
lt_prog_compiler_pic='-fPIC' |
| 18318 |
;; |
| 18319 |
esac |
| 18320 |
;; |
| 18321 |
|
| 18322 |
interix[3-9]*) |
| 18323 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 18324 |
# Instead, we relocate shared libraries at runtime. |
| 18325 |
;; |
| 18326 |
|
| 18327 |
msdosdjgpp*) |
| 18328 |
# Just because we use GCC doesn't mean we suddenly get shared libraries |
| 18329 |
# on systems that don't support them. |
| 18330 |
lt_prog_compiler_can_build_shared=no |
| 18331 |
enable_shared=no |
| 18332 |
;; |
| 18333 |
|
| 18334 |
*nto* | *qnx*) |
| 18335 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
| 18336 |
# it will coredump. |
| 18337 |
lt_prog_compiler_pic='-fPIC -shared' |
| 18338 |
;; |
| 18339 |
|
| 18340 |
sysv4*MP*) |
| 18341 |
if test -d /usr/nec; then |
| 18342 |
lt_prog_compiler_pic=-Kconform_pic |
| 18343 |
fi |
| 18344 |
;; |
| 18345 |
|
| 18346 |
*) |
| 18347 |
lt_prog_compiler_pic='-fPIC' |
| 18348 |
;; |
| 18349 |
esac |
| 18350 |
|
| 18351 |
case $cc_basename in |
| 18352 |
nvcc*) # Cuda Compiler Driver 2.2 |
| 18353 |
lt_prog_compiler_wl='-Xlinker ' |
| 18354 |
if test -n "$lt_prog_compiler_pic"; then |
| 18355 |
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
| 18356 |
fi |
| 18357 |
;; |
| 18358 |
esac |
| 18359 |
else |
| 18360 |
# PORTME Check for flag to pass linker flags through the system compiler. |
| 18361 |
case $host_os in |
| 18362 |
aix*) |
| 18363 |
lt_prog_compiler_wl='-Wl,' |
| 18364 |
if test ia64 = "$host_cpu"; then |
| 18365 |
# AIX 5 now supports IA64 processor |
| 18366 |
lt_prog_compiler_static='-Bstatic' |
| 18367 |
else |
| 18368 |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
| 18369 |
fi |
| 18370 |
;; |
| 18371 |
|
| 18372 |
darwin* | rhapsody*) |
| 18373 |
# PIC is the default on this platform |
| 18374 |
# Common symbols not allowed in MH_DYLIB files |
| 18375 |
lt_prog_compiler_pic='-fno-common' |
| 18376 |
case $cc_basename in |
| 18377 |
nagfor*) |
| 18378 |
# NAG Fortran compiler |
| 18379 |
lt_prog_compiler_wl='-Wl,-Wl,,' |
| 18380 |
lt_prog_compiler_pic='-PIC' |
| 18381 |
lt_prog_compiler_static='-Bstatic' |
| 18382 |
;; |
| 18383 |
esac |
| 18384 |
;; |
| 18385 |
|
| 18386 |
mingw* | windows* | cygwin* | pw32* | os2* | cegcc*) |
| 18387 |
# This hack is so that the source file can tell whether it is being |
| 18388 |
# built for inclusion in a dll (and should export symbols for example). |
| 18389 |
lt_prog_compiler_pic='-DDLL_EXPORT' |
| 18390 |
case $host_os in |
| 18391 |
os2*) |
| 18392 |
lt_prog_compiler_static='$wl-static' |
| 18393 |
;; |
| 18394 |
esac |
| 18395 |
;; |
| 18396 |
|
| 18397 |
hpux9* | hpux10* | hpux11*) |
| 18398 |
lt_prog_compiler_wl='-Wl,' |
| 18399 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
| 18400 |
# not for PA HP-UX. |
| 18401 |
case $host_cpu in |
| 18402 |
hppa*64*|ia64*) |
| 18403 |
# +Z the default |
| 18404 |
;; |
| 18405 |
*) |
| 18406 |
lt_prog_compiler_pic='+Z' |
| 18407 |
;; |
| 18408 |
esac |
| 18409 |
# Is there a better lt_prog_compiler_static that works with the bundled CC? |
| 18410 |
lt_prog_compiler_static='$wl-a ${wl}archive' |
| 18411 |
;; |
| 18412 |
|
| 18413 |
irix5* | irix6* | nonstopux*) |
| 18414 |
lt_prog_compiler_wl='-Wl,' |
| 18415 |
# PIC (with -KPIC) is the default. |
| 18416 |
lt_prog_compiler_static='-non_shared' |
| 18417 |
;; |
| 18418 |
|
| 18419 |
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 18420 |
case $cc_basename in |
| 18421 |
# old Intel for x86_64, which still supported -KPIC. |
| 18422 |
ecc*) |
| 18423 |
lt_prog_compiler_wl='-Wl,' |
| 18424 |
lt_prog_compiler_pic='-KPIC' |
| 18425 |
lt_prog_compiler_static='-static' |
| 18426 |
;; |
| 18427 |
*flang* | ftn | f18* | f95*) |
| 18428 |
# Flang compiler. |
| 18429 |
lt_prog_compiler_wl='-Wl,' |
| 18430 |
lt_prog_compiler_pic='-fPIC' |
| 18431 |
lt_prog_compiler_static='-static' |
| 18432 |
;; |
| 18433 |
# icc used to be incompatible with GCC. |
| 18434 |
# ICC 10 doesn't accept -KPIC any more. |
| 18435 |
icc* | ifort*) |
| 18436 |
lt_prog_compiler_wl='-Wl,' |
| 18437 |
lt_prog_compiler_pic='-fPIC' |
| 18438 |
lt_prog_compiler_static='-static' |
| 18439 |
;; |
| 18440 |
# Lahey Fortran 8.1. |
| 18441 |
lf95*) |
| 18442 |
lt_prog_compiler_wl='-Wl,' |
| 18443 |
lt_prog_compiler_pic='--shared' |
| 18444 |
lt_prog_compiler_static='--static' |
| 18445 |
;; |
| 18446 |
nagfor*) |
| 18447 |
# NAG Fortran compiler |
| 18448 |
lt_prog_compiler_wl='-Wl,-Wl,,' |
| 18449 |
lt_prog_compiler_pic='-PIC' |
| 18450 |
lt_prog_compiler_static='-Bstatic' |
| 18451 |
;; |
| 18452 |
tcc*) |
| 18453 |
# Fabrice Bellard et al's Tiny C Compiler |
| 18454 |
lt_prog_compiler_wl='-Wl,' |
| 18455 |
lt_prog_compiler_pic='-fPIC' |
| 18456 |
lt_prog_compiler_static='-static' |
| 18457 |
;; |
| 18458 |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 18459 |
# Portland Group compilers (*not* the Pentium gcc compiler, |
| 18460 |
# which looks to be a dead project) |
| 18461 |
lt_prog_compiler_wl='-Wl,' |
| 18462 |
lt_prog_compiler_pic='-fpic' |
| 18463 |
lt_prog_compiler_static='-Bstatic' |
| 18464 |
;; |
| 18465 |
ccc*) |
| 18466 |
lt_prog_compiler_wl='-Wl,' |
| 18467 |
# All Alpha code is PIC. |
| 18468 |
lt_prog_compiler_static='-non_shared' |
| 18469 |
;; |
| 18470 |
xl* | bgxl* | bgf* | mpixl*) |
| 18471 |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
| 18472 |
lt_prog_compiler_wl='-Wl,' |
| 18473 |
lt_prog_compiler_pic='-qpic' |
| 18474 |
lt_prog_compiler_static='-qstaticlink' |
| 18475 |
;; |
| 18476 |
*) |
| 18477 |
case `$CC -V 2>&1 | $SED 5q` in |
| 18478 |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
| 18479 |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 18480 |
lt_prog_compiler_pic='-KPIC' |
| 18481 |
lt_prog_compiler_static='-Bstatic' |
| 18482 |
lt_prog_compiler_wl='' |
| 18483 |
;; |
| 18484 |
*Sun\ F* | *Sun*Fortran*) |
| 18485 |
lt_prog_compiler_pic='-KPIC' |
| 18486 |
lt_prog_compiler_static='-Bstatic' |
| 18487 |
lt_prog_compiler_wl='-Qoption ld ' |
| 18488 |
;; |
| 18489 |
*Sun\ C*) |
| 18490 |
# Sun C 5.9 |
| 18491 |
lt_prog_compiler_pic='-KPIC' |
| 18492 |
lt_prog_compiler_static='-Bstatic' |
| 18493 |
lt_prog_compiler_wl='-Wl,' |
| 18494 |
;; |
| 18495 |
*Intel*\ [CF]*Compiler*) |
| 18496 |
lt_prog_compiler_wl='-Wl,' |
| 18497 |
lt_prog_compiler_pic='-fPIC' |
| 18498 |
lt_prog_compiler_static='-static' |
| 18499 |
;; |
| 18500 |
*Portland\ Group*) |
| 18501 |
lt_prog_compiler_wl='-Wl,' |
| 18502 |
lt_prog_compiler_pic='-fpic' |
| 18503 |
lt_prog_compiler_static='-Bstatic' |
| 18504 |
;; |
| 18505 |
esac |
| 18506 |
;; |
| 18507 |
esac |
| 18508 |
;; |
| 18509 |
|
| 18510 |
newsos6) |
| 18511 |
lt_prog_compiler_pic='-KPIC' |
| 18512 |
lt_prog_compiler_static='-Bstatic' |
| 18513 |
;; |
| 18514 |
|
| 18515 |
*-mlibc) |
| 18516 |
lt_prog_compiler_wl='-Wl,' |
| 18517 |
lt_prog_compiler_pic='-fPIC' |
| 18518 |
lt_prog_compiler_static='-static' |
| 18519 |
;; |
| 18520 |
|
| 18521 |
*nto* | *qnx*) |
| 18522 |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
| 18523 |
# it will coredump. |
| 18524 |
lt_prog_compiler_pic='-fPIC -shared' |
| 18525 |
;; |
| 18526 |
|
| 18527 |
osf3* | osf4* | osf5*) |
| 18528 |
lt_prog_compiler_wl='-Wl,' |
| 18529 |
# All OSF/1 code is PIC. |
| 18530 |
lt_prog_compiler_static='-non_shared' |
| 18531 |
;; |
| 18532 |
|
| 18533 |
rdos*) |
| 18534 |
lt_prog_compiler_static='-non_shared' |
| 18535 |
;; |
| 18536 |
|
| 18537 |
serenity*) |
| 18538 |
;; |
| 18539 |
|
| 18540 |
solaris*) |
| 18541 |
lt_prog_compiler_pic='-KPIC' |
| 18542 |
lt_prog_compiler_static='-Bstatic' |
| 18543 |
case $cc_basename in |
| 18544 |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
| 18545 |
lt_prog_compiler_wl='-Qoption ld ';; |
| 18546 |
*) |
| 18547 |
lt_prog_compiler_wl='-Wl,';; |
| 18548 |
esac |
| 18549 |
;; |
| 18550 |
|
| 18551 |
sunos4*) |
| 18552 |
lt_prog_compiler_wl='-Qoption ld ' |
| 18553 |
lt_prog_compiler_pic='-PIC' |
| 18554 |
lt_prog_compiler_static='-Bstatic' |
| 18555 |
;; |
| 18556 |
|
| 18557 |
sysv4 | sysv4.2uw2* | sysv4.3*) |
| 18558 |
lt_prog_compiler_wl='-Wl,' |
| 18559 |
lt_prog_compiler_pic='-KPIC' |
| 18560 |
lt_prog_compiler_static='-Bstatic' |
| 18561 |
;; |
| 18562 |
|
| 18563 |
sysv4*MP*) |
| 18564 |
if test -d /usr/nec; then |
| 18565 |
lt_prog_compiler_pic='-Kconform_pic' |
| 18566 |
lt_prog_compiler_static='-Bstatic' |
| 18567 |
fi |
| 18568 |
;; |
| 18569 |
|
| 18570 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 18571 |
lt_prog_compiler_wl='-Wl,' |
| 18572 |
lt_prog_compiler_pic='-KPIC' |
| 18573 |
lt_prog_compiler_static='-Bstatic' |
| 18574 |
;; |
| 18575 |
|
| 18576 |
unicos*) |
| 18577 |
lt_prog_compiler_wl='-Wl,' |
| 18578 |
lt_prog_compiler_can_build_shared=no |
| 18579 |
;; |
| 18580 |
|
| 18581 |
uts4*) |
| 18582 |
lt_prog_compiler_pic='-pic' |
| 18583 |
lt_prog_compiler_static='-Bstatic' |
| 18584 |
;; |
| 18585 |
|
| 18586 |
*) |
| 18587 |
lt_prog_compiler_can_build_shared=no |
| 18588 |
;; |
| 18589 |
esac |
| 18590 |
fi |
| 18591 |
|
| 18592 |
case $host_os in |
| 18593 |
# For platforms that do not support PIC, -DPIC is meaningless: |
| 18594 |
*djgpp*) |
| 18595 |
lt_prog_compiler_pic= |
| 18596 |
;; |
| 18597 |
*) |
| 18598 |
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
| 18599 |
;; |
| 18600 |
esac |
| 18601 |
|
| 18602 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
| 18603 |
printf %s "checking for $compiler option to produce PIC... " >&6; } |
| 18604 |
if test ${lt_cv_prog_compiler_pic+y} |
| 18605 |
then : |
| 18606 |
printf %s "(cached) " >&6 |
| 18607 |
else case e in #( |
| 18608 |
e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;; |
| 18609 |
esac |
| 18610 |
fi |
| 18611 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
| 18612 |
printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; } |
| 18613 |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
| 18614 |
|
| 18615 |
# |
| 18616 |
# Check to make sure the PIC flag actually works. |
| 18617 |
# |
| 18618 |
if test -n "$lt_prog_compiler_pic"; then |
| 18619 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
| 18620 |
printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
| 18621 |
if test ${lt_cv_prog_compiler_pic_works+y} |
| 18622 |
then : |
| 18623 |
printf %s "(cached) " >&6 |
| 18624 |
else case e in #( |
| 18625 |
e) lt_cv_prog_compiler_pic_works=no |
| 18626 |
ac_outfile=conftest.$ac_objext |
| 18627 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 18628 |
lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment |
| 18629 |
# Insert the option either (1) after the last *FLAGS variable, or |
| 18630 |
# (2) before a word containing "conftest.", or (3) at the end. |
| 18631 |
# Note that $ac_compile itself does not contain backslashes and begins |
| 18632 |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
| 18633 |
# The option is referenced via a variable to avoid confusing sed. |
| 18634 |
lt_compile=`echo "$ac_compile" | $SED \ |
| 18635 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 18636 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 18637 |
-e 's:$: $lt_compiler_flag:'` |
| 18638 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 18639 |
(eval "$lt_compile" 2>conftest.err) |
| 18640 |
ac_status=$? |
| 18641 |
cat conftest.err >&5 |
| 18642 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18643 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 18644 |
# The compiler can only warn and ignore the option if not recognized |
| 18645 |
# So say no if there are warnings other than the usual output. |
| 18646 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 18647 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 18648 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 18649 |
lt_cv_prog_compiler_pic_works=yes |
| 18650 |
fi |
| 18651 |
fi |
| 18652 |
$RM conftest* |
| 18653 |
;; |
| 18654 |
esac |
| 18655 |
fi |
| 18656 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
| 18657 |
printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; } |
| 18658 |
|
| 18659 |
if test yes = "$lt_cv_prog_compiler_pic_works"; then |
| 18660 |
case $lt_prog_compiler_pic in |
| 18661 |
"" | " "*) ;; |
| 18662 |
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
| 18663 |
esac |
| 18664 |
else |
| 18665 |
lt_prog_compiler_pic= |
| 18666 |
lt_prog_compiler_can_build_shared=no |
| 18667 |
fi |
| 18668 |
|
| 18669 |
fi |
| 18670 |
|
| 18671 |
|
| 18672 |
|
| 18673 |
|
| 18674 |
|
| 18675 |
# |
| 18676 |
# Check to make sure the static flag actually works. |
| 18677 |
# |
| 18678 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
| 18679 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
| 18680 |
printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
| 18681 |
if test ${lt_cv_prog_compiler_static_works+y} |
| 18682 |
then : |
| 18683 |
printf %s "(cached) " >&6 |
| 18684 |
else case e in #( |
| 18685 |
e) lt_cv_prog_compiler_static_works=no |
| 18686 |
save_LDFLAGS=$LDFLAGS |
| 18687 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 18688 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 18689 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 18690 |
# The linker can only warn and ignore the option if not recognized |
| 18691 |
# So say no if there are warnings |
| 18692 |
if test -s conftest.err; then |
| 18693 |
# Append any errors to the config.log. |
| 18694 |
cat conftest.err 1>&5 |
| 18695 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 18696 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 18697 |
if diff conftest.exp conftest.er2 >/dev/null; then |
| 18698 |
lt_cv_prog_compiler_static_works=yes |
| 18699 |
fi |
| 18700 |
else |
| 18701 |
lt_cv_prog_compiler_static_works=yes |
| 18702 |
fi |
| 18703 |
fi |
| 18704 |
$RM -r conftest* |
| 18705 |
LDFLAGS=$save_LDFLAGS |
| 18706 |
;; |
| 18707 |
esac |
| 18708 |
fi |
| 18709 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
| 18710 |
printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; } |
| 18711 |
|
| 18712 |
if test yes = "$lt_cv_prog_compiler_static_works"; then |
| 18713 |
: |
| 18714 |
else |
| 18715 |
lt_prog_compiler_static= |
| 18716 |
fi |
| 18717 |
|
| 18718 |
|
| 18719 |
|
| 18720 |
='-fPIC' |
| 18721 |
archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib' |
| 18722 |
archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym' |
| 18723 |
archive_cmds_need_lc=no |
| 18724 |
no_undefined_flag= |
| 18725 |
;; |
| 18726 |
|
| 18727 |
*) |
| 18728 |
dynamic_linker=no |
| 18729 |
;; |
| 18730 |
esac |
| 18731 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
| 18732 |
printf "%s\n" "$dynamic_linker" >&6; } |
| 18733 |
test no = "$dynamic_linker" && can_build_shared=no |
| 18734 |
|
| 18735 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 18736 |
if test yes = "$GCC"; then |
| 18737 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
| 18738 |
fi |
| 18739 |
|
| 18740 |
if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then |
| 18741 |
sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
| 18742 |
fi |
| 18743 |
|
| 18744 |
if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then |
| 18745 |
sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
| 18746 |
fi |
| 18747 |
|
| 18748 |
# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... |
| 18749 |
configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec |
| 18750 |
|
| 18751 |
# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code |
| 18752 |
func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" |
| 18753 |
|
| 18754 |
# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool |
| 18755 |
configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH |
| 18756 |
|
| 18757 |
|
| 18758 |
|
| 18759 |
|
| 18760 |
|
| 18761 |
|
| 18762 |
|
| 18763 |
|
| 18764 |
|
| 18765 |
|
| 18766 |
|
| 18767 |
|
| 18768 |
|
| 18769 |
|
| 18770 |
|
| 18771 |
|
| 18772 |
|
| 18773 |
|
| 18774 |
|
| 18775 |
|
| 18776 |
|
| 18777 |
|
| 18778 |
|
| 18779 |
|
| 18780 |
|
| 18781 |
|
| 18782 |
|
| 18783 |
|
| 18784 |
|
| 18785 |
|
| 18786 |
|
| 18787 |
|
| 18788 |
|
| 18789 |
|
| 18790 |
|
| 18791 |
|
| 18792 |
|
| 18793 |
|
| 18794 |
|
| 18795 |
|
| 18796 |
|
| 18797 |
|
| 18798 |
|
| 18799 |
|
| 18800 |
|
| 18801 |
|
| 18802 |
|
| 18803 |
|
| 18804 |
|
| 18805 |
|
| 18806 |
|
| 18807 |
|
| 18808 |
|
| 18809 |
|
| 18810 |
|
| 18811 |
|
| 18812 |
|
| 18813 |
|
| 18814 |
|
| 18815 |
|
| 18816 |
|
| 18817 |
|
| 18818 |
|
| 18819 |
|
| 18820 |
|
| 18821 |
|
| 18822 |
|
| 18823 |
|
| 18824 |
|
| 18825 |
|
| 18826 |
|
| 18827 |
|
| 18828 |
|
| 18829 |
|
| 18830 |
|
| 18831 |
|
| 18832 |
|
| 18833 |
|
| 18834 |
|
| 18835 |
|
| 18836 |
|
| 18837 |
|
| 18838 |
|
| 18839 |
|
| 18840 |
|
| 18841 |
|
| 18842 |
|
| 18843 |
|
| 18844 |
|
| 18845 |
|
| 18846 |
|
| 18847 |
|
| 18848 |
|
| 18849 |
|
| 18850 |
|
| 18851 |
|
| 18852 |
|
| 18853 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
| 18854 |
printf %s "checking how to hardcode library paths into programs... " >&6; } |
| 18855 |
hardcode_action= |
| 18856 |
if test -n "$hardcode_libdir_flag_spec" || |
| 18857 |
test -n "$runpath_var" || |
| 18858 |
test yes = "$hardcode_automatic"; then |
| 18859 |
|
| 18860 |
# We can hardcode non-existent directories. |
| 18861 |
if test no != "$hardcode_direct" && |
| 18862 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
| 18863 |
# have to relink, otherwise we might link with an installed library |
| 18864 |
# when we should be linking with a yet-to-be-installed one |
| 18865 |
## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && |
| 18866 |
test no != "$hardcode_minus_L"; then |
| 18867 |
# Linking always hardcodes the temporary library directory. |
| 18868 |
hardcode_action=relink |
| 18869 |
else |
| 18870 |
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
| 18871 |
hardcode_action=immediate |
| 18872 |
fi |
| 18873 |
else |
| 18874 |
# We cannot hardcode anything, or else we can only hardcode existing |
| 18875 |
# directories. |
| 18876 |
hardcode_action=unsupported |
| 18877 |
fi |
| 18878 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
| 18879 |
printf "%s\n" "$hardcode_action" >&6; } |
| 18880 |
|
| 18881 |
if test relink = "$hardcode_action" || |
| 18882 |
test yes = "$inherit_rpath"; then |
| 18883 |
# Fast installation is not supported |
| 18884 |
enable_fast_install=no |
| 18885 |
elif test yes = "$shlibpath_overrides_runpath" || |
| 18886 |
test no = "$enable_shared"; then |
| 18887 |
# Fast installation is not necessary |
| 18888 |
enable_fast_install=needless |
| 18889 |
fi |
| 18890 |
|
| 18891 |
|
| 18892 |
|
| 18893 |
|
| 18894 |
|
| 18895 |
|
| 18896 |
if test yes != "$enable_dlopen"; then |
| 18897 |
enable_dlopen=unknown |
| 18898 |
enable_dlopen_self=unknown |
| 18899 |
enable_dlopen_self_static=unknown |
| 18900 |
else |
| 18901 |
lt_cv_dlopen=no |
| 18902 |
lt_cv_dlopen_libs= |
| 18903 |
|
| 18904 |
case $host_os in |
| 18905 |
beos*) |
| 18906 |
lt_cv_dlopen=load_add_on |
| 18907 |
lt_cv_dlopen_libs= |
| 18908 |
lt_cv_dlopen_self=yes |
| 18909 |
;; |
| 18910 |
|
| 18911 |
mingw* | windows* | pw32* | cegcc*) |
| 18912 |
lt_cv_dlopen=LoadLibrary |
| 18913 |
lt_cv_dlopen_libs= |
| 18914 |
;; |
| 18915 |
|
| 18916 |
cygwin*) |
| 18917 |
lt_cv_dlopen=dlopen |
| 18918 |
lt_cv_dlopen_libs= |
| 18919 |
;; |
| 18920 |
|
| 18921 |
darwin*) |
| 18922 |
# if libdl is installed we need to link against it |
| 18923 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 18924 |
printf %s "checking for dlopen in -ldl... " >&6; } |
| 18925 |
if test ${ac_cv_lib_dl_dlopen+y} |
| 18926 |
then : |
| 18927 |
printf %s "(cached) " >&6 |
| 18928 |
else case e in #( |
| 18929 |
e) ac_check_lib_save_LIBS=$LIBS |
| 18930 |
LIBS="-ldl $LIBS" |
| 18931 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 18932 |
/* end confdefs.h. */ |
| 18933 |
|
| 18934 |
/* Override any GCC internal prototype to avoid an error. |
| 18935 |
Use char because int might match the return type of a GCC |
| 18936 |
builtin and then its argument prototype would still apply. |
| 18937 |
The 'extern "C"' is for builds by C++ compilers; |
| 18938 |
although this is not generally supported in C code supporting it here |
| 18939 |
has little cost and some practical benefit (sr 110532). */ |
| 18940 |
#ifdef __cplusplus |
| 18941 |
extern "C" |
| 18942 |
#endif |
| 18943 |
char dlopen (void); |
| 18944 |
int |
| 18945 |
main (void) |
| 18946 |
{ |
| 18947 |
return dlopen (); |
| 18948 |
; |
| 18949 |
return 0; |
| 18950 |
} |
| 18951 |
_ACEOF |
| 18952 |
if ac_fn_c_try_link "$LINENO" |
| 18953 |
then : |
| 18954 |
ac_cv_lib_dl_dlopen=yes |
| 18955 |
else case e in #( |
| 18956 |
e) ac_cv_lib_dl_dlopen=no ;; |
| 18957 |
esac |
| 18958 |
fi |
| 18959 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 18960 |
conftest$ac_exeext conftest.$ac_ext |
| 18961 |
LIBS=$ac_check_lib_save_LIBS ;; |
| 18962 |
esac |
| 18963 |
fi |
| 18964 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 18965 |
printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } |
| 18966 |
if test "x$ac_cv_lib_dl_dlopen" = xyes |
| 18967 |
then : |
| 18968 |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
| 18969 |
else case e in #( |
| 18970 |
e) |
| 18971 |
lt_cv_dlopen=dyld |
| 18972 |
lt_cv_dlopen_libs= |
| 18973 |
lt_cv_dlopen_self=yes |
| 18974 |
;; |
| 18975 |
esac |
| 18976 |
fi |
| 18977 |
|
| 18978 |
;; |
| 18979 |
|
| 18980 |
tpf*) |
| 18981 |
# Don't try to run any link tests for TPF. We know it's impossible |
| 18982 |
# because TPF is a cross-compiler, and we know how we open DSOs. |
| 18983 |
lt_cv_dlopen=dlopen |
| 18984 |
lt_cv_dlopen_libs= |
| 18985 |
lt_cv_dlopen_self=no |
| 18986 |
;; |
| 18987 |
|
| 18988 |
*) |
| 18989 |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
| 18990 |
if test "x$ac_cv_func_shl_load" = xyes |
| 18991 |
then : |
| 18992 |
lt_cv_dlopen=shl_load |
| 18993 |
else case e in #( |
| 18994 |
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 18995 |
printf %s "checking for shl_load in -ldld... " >&6; } |
| 18996 |
if test ${ac_cv_lib_dld_shl_load+y} |
| 18997 |
then : |
| 18998 |
printf %s "(cached) " >&6 |
| 18999 |
else case e in #( |
| 19000 |
e) ac_check_lib_save_LIBS=$LIBS |
| 19001 |
LIBS="-ldld $LIBS" |
| 19002 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19003 |
/* end confdefs.h. */ |
| 19004 |
|
| 19005 |
/* Override any GCC internal prototype to avoid an error. |
| 19006 |
Use char because int might match the return type of a GCC |
| 19007 |
builtin and then its argument prototype would still apply. |
| 19008 |
The 'extern "C"' is for builds by C++ compilers; |
| 19009 |
although this is not generally supported in C code supporting it here |
| 19010 |
has little cost and some practical benefit (sr 110532). */ |
| 19011 |
#ifdef __cplusplus |
| 19012 |
extern "C" |
| 19013 |
#endif |
| 19014 |
char shl_load (void); |
| 19015 |
int |
| 19016 |
main (void) |
| 19017 |
{ |
| 19018 |
return shl_load (); |
| 19019 |
; |
| 19020 |
return 0; |
| 19021 |
} |
| 19022 |
_ACEOF |
| 19023 |
if ac_fn_c_try_link "$LINENO" |
| 19024 |
then : |
| 19025 |
ac_cv_lib_dld_shl_load=yes |
| 19026 |
else case e in #( |
| 19027 |
e) ac_cv_lib_dld_shl_load=no ;; |
| 19028 |
esac |
| 19029 |
fi |
| 19030 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 19031 |
conftest$ac_exeext conftest.$ac_ext |
| 19032 |
LIBS=$ac_check_lib_save_LIBS ;; |
| 19033 |
esac |
| 19034 |
fi |
| 19035 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 19036 |
printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; } |
| 19037 |
if test "x$ac_cv_lib_dld_shl_load" = xyes |
| 19038 |
then : |
| 19039 |
lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld |
| 19040 |
else case e in #( |
| 19041 |
e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
| 19042 |
if test "x$ac_cv_func_dlopen" = xyes |
| 19043 |
then : |
| 19044 |
lt_cv_dlopen=dlopen |
| 19045 |
else case e in #( |
| 19046 |
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 19047 |
printf %s "checking for dlopen in -ldl... " >&6; } |
| 19048 |
if test ${ac_cv_lib_dl_dlopen+y} |
| 19049 |
then : |
| 19050 |
printf %s "(cached) " >&6 |
| 19051 |
else case e in #( |
| 19052 |
e) ac_check_lib_save_LIBS=$LIBS |
| 19053 |
LIBS="-ldl $LIBS" |
| 19054 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19055 |
/* end confdefs.h. */ |
| 19056 |
|
| 19057 |
/* Override any GCC internal prototype to avoid an error. |
| 19058 |
Use char because int might match the return type of a GCC |
| 19059 |
builtin and then its argument prototype would still apply. |
| 19060 |
The 'extern "C"' is for builds by C++ compilers; |
| 19061 |
although this is not generally supported in C code supporting it here |
| 19062 |
has little cost and some practical benefit (sr 110532). */ |
| 19063 |
#ifdef __cplusplus |
| 19064 |
extern "C" |
| 19065 |
#endif |
| 19066 |
char dlopen (void); |
| 19067 |
int |
| 19068 |
main (void) |
| 19069 |
{ |
| 19070 |
return dlopen (); |
| 19071 |
; |
| 19072 |
return 0; |
| 19073 |
} |
| 19074 |
_ACEOF |
| 19075 |
if ac_fn_c_try_link "$LINENO" |
| 19076 |
then : |
| 19077 |
ac_cv_lib_dl_dlopen=yes |
| 19078 |
else case e in #( |
| 19079 |
e) ac_cv_lib_dl_dlopen=no ;; |
| 19080 |
esac |
| 19081 |
fi |
| 19082 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 19083 |
conftest$ac_exeext conftest.$ac_ext |
| 19084 |
LIBS=$ac_check_lib_save_LIBS ;; |
| 19085 |
esac |
| 19086 |
fi |
| 19087 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 19088 |
printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } |
| 19089 |
if test "x$ac_cv_lib_dl_dlopen" = xyes |
| 19090 |
then : |
| 19091 |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl |
| 19092 |
else case e in #( |
| 19093 |
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 19094 |
printf %s "checking for dlopen in -lsvld... " >&6; } |
| 19095 |
if test ${ac_cv_lib_svld_dlopen+y} |
| 19096 |
then : |
| 19097 |
printf %s "(cached) " >&6 |
| 19098 |
else case e in #( |
| 19099 |
e) ac_check_lib_save_LIBS=$LIBS |
| 19100 |
LIBS="-lsvld $LIBS" |
| 19101 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19102 |
/* end confdefs.h. */ |
| 19103 |
|
| 19104 |
/* Override any GCC internal prototype to avoid an error. |
| 19105 |
Use char because int might match the return type of a GCC |
| 19106 |
builtin and then its argument prototype would still apply. |
| 19107 |
The 'extern "C"' is for builds by C++ compilers; |
| 19108 |
although this is not generally supported in C code supporting it here |
| 19109 |
has little cost and some practical benefit (sr 110532). */ |
| 19110 |
#ifdef __cplusplus |
| 19111 |
extern "C" |
| 19112 |
#endif |
| 19113 |
char dlopen (void); |
| 19114 |
int |
| 19115 |
main (void) |
| 19116 |
{ |
| 19117 |
return dlopen (); |
| 19118 |
; |
| 19119 |
return 0; |
| 19120 |
} |
| 19121 |
_ACEOF |
| 19122 |
if ac_fn_c_try_link "$LINENO" |
| 19123 |
then : |
| 19124 |
ac_cv_lib_svld_dlopen=yes |
| 19125 |
else case e in #( |
| 19126 |
e) ac_cv_lib_svld_dlopen=no ;; |
| 19127 |
esac |
| 19128 |
fi |
| 19129 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 19130 |
conftest$ac_exeext conftest.$ac_ext |
| 19131 |
LIBS=$ac_check_lib_save_LIBS ;; |
| 19132 |
esac |
| 19133 |
fi |
| 19134 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 19135 |
printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; } |
| 19136 |
if test "x$ac_cv_lib_svld_dlopen" = xyes |
| 19137 |
then : |
| 19138 |
lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld |
| 19139 |
else case e in #( |
| 19140 |
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 19141 |
printf %s "checking for dld_link in -ldld... " >&6; } |
| 19142 |
if test ${ac_cv_lib_dld_dld_link+y} |
| 19143 |
then : |
| 19144 |
printf %s "(cached) " >&6 |
| 19145 |
else case e in #( |
| 19146 |
e) ac_check_lib_save_LIBS=$LIBS |
| 19147 |
LIBS="-ldld $LIBS" |
| 19148 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19149 |
/* end confdefs.h. */ |
| 19150 |
|
| 19151 |
/* Override any GCC internal prototype to avoid an error. |
| 19152 |
Use char because int might match the return type of a GCC |
| 19153 |
builtin and then its argument prototype would still apply. |
| 19154 |
The 'extern "C"' is for builds by C++ compilers; |
| 19155 |
although this is not generally supported in C code supporting it here |
| 19156 |
has little cost and some practical benefit (sr 110532). */ |
| 19157 |
#ifdef __cplusplus |
| 19158 |
extern "C" |
| 19159 |
#endif |
| 19160 |
char dld_link (void); |
| 19161 |
int |
| 19162 |
main (void) |
| 19163 |
{ |
| 19164 |
return dld_link (); |
| 19165 |
; |
| 19166 |
return 0; |
| 19167 |
} |
| 19168 |
_ACEOF |
| 19169 |
if ac_fn_c_try_link "$LINENO" |
| 19170 |
then : |
| 19171 |
ac_cv_lib_dld_dld_link=yes |
| 19172 |
else case e in #( |
| 19173 |
e) ac_cv_lib_dld_dld_link=no ;; |
| 19174 |
esac |
| 19175 |
fi |
| 19176 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 19177 |
conftest$ac_exeext conftest.$ac_ext |
| 19178 |
LIBS=$ac_check_lib_save_LIBS ;; |
| 19179 |
esac |
| 19180 |
fi |
| 19181 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 19182 |
printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; } |
| 19183 |
if test "x$ac_cv_lib_dld_dld_link" = xyes |
| 19184 |
then : |
| 19185 |
lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld |
| 19186 |
fi |
| 19187 |
|
| 19188 |
;; |
| 19189 |
esac |
| 19190 |
fi |
| 19191 |
|
| 19192 |
;; |
| 19193 |
esac |
| 19194 |
fi |
| 19195 |
|
| 19196 |
;; |
| 19197 |
esac |
| 19198 |
fi |
| 19199 |
|
| 19200 |
;; |
| 19201 |
esac |
| 19202 |
fi |
| 19203 |
|
| 19204 |
;; |
| 19205 |
esac |
| 19206 |
fi |
| 19207 |
|
| 19208 |
;; |
| 19209 |
esac |
| 19210 |
|
| 19211 |
if test no = "$lt_cv_dlopen"; then |
| 19212 |
enable_dlopen=no |
| 19213 |
else |
| 19214 |
enable_dlopen=yes |
| 19215 |
fi |
| 19216 |
|
| 19217 |
case $lt_cv_dlopen in |
| 19218 |
dlopen) |
| 19219 |
save_CPPFLAGS=$CPPFLAGS |
| 19220 |
test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
| 19221 |
|
| 19222 |
save_LDFLAGS=$LDFLAGS |
| 19223 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
| 19224 |
|
| 19225 |
save_LIBS=$LIBS |
| 19226 |
LIBS="$lt_cv_dlopen_libs $LIBS" |
| 19227 |
|
| 19228 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
| 19229 |
printf %s "checking whether a program can dlopen itself... " >&6; } |
| 19230 |
if test ${lt_cv_dlopen_self+y} |
| 19231 |
then : |
| 19232 |
printf %s "(cached) " >&6 |
| 19233 |
else case e in #( |
| 19234 |
e) if test yes = "$cross_compiling"; then : |
| 19235 |
lt_cv_dlopen_self=cross |
| 19236 |
else |
| 19237 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 19238 |
lt_status=$lt_dlunknown |
| 19239 |
cat > conftest.$ac_ext <<_LT_EOF |
| 19240 |
#line $LINENO "configure" |
| 19241 |
#include "confdefs.h" |
| 19242 |
|
| 19243 |
#if HAVE_DLFCN_H |
| 19244 |
#include <dlfcn.h> |
| 19245 |
#endif |
| 19246 |
|
| 19247 |
#include <stdio.h> |
| 19248 |
|
| 19249 |
#ifdef RTLD_GLOBAL |
| 19250 |
# define LT_DLGLOBAL RTLD_GLOBAL |
| 19251 |
#else |
| 19252 |
# ifdef DL_GLOBAL |
| 19253 |
# define LT_DLGLOBAL DL_GLOBAL |
| 19254 |
# else |
| 19255 |
# define LT_DLGLOBAL 0 |
| 19256 |
# endif |
| 19257 |
#endif |
| 19258 |
|
| 19259 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
| 19260 |
find out it does not work in some platform. */ |
| 19261 |
#ifndef LT_DLLAZY_OR_NOW |
| 19262 |
# ifdef RTLD_LAZY |
| 19263 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
| 19264 |
# else |
| 19265 |
# ifdef DL_LAZY |
| 19266 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
| 19267 |
# else |
| 19268 |
# ifdef RTLD_NOW |
| 19269 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
| 19270 |
# else |
| 19271 |
# ifdef DL_NOW |
| 19272 |
# define LT_DLLAZY_OR_NOW DL_NOW |
| 19273 |
# else |
| 19274 |
# define LT_DLLAZY_OR_NOW 0 |
| 19275 |
# endif |
| 19276 |
# endif |
| 19277 |
# endif |
| 19278 |
# endif |
| 19279 |
#endif |
| 19280 |
|
| 19281 |
/* When -fvisibility=hidden is used, assume the code has been annotated |
| 19282 |
correspondingly for the symbols needed. */ |
| 19283 |
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 19284 |
int fnord (void) __attribute__((visibility("default"))); |
| 19285 |
#endif |
| 19286 |
|
| 19287 |
int fnord (void) { return 42; } |
| 19288 |
int main (void) |
| 19289 |
{ |
| 19290 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 19291 |
int status = $lt_dlunknown; |
| 19292 |
|
| 19293 |
if (self) |
| 19294 |
{ |
| 19295 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 19296 |
else |
| 19297 |
{ |
| 19298 |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 19299 |
else puts (dlerror ()); |
| 19300 |
} |
| 19301 |
/* dlclose (self); */ |
| 19302 |
} |
| 19303 |
else |
| 19304 |
puts (dlerror ()); |
| 19305 |
|
| 19306 |
return status; |
| 19307 |
} |
| 19308 |
_LT_EOF |
| 19309 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 19310 |
(eval $ac_link) 2>&5 |
| 19311 |
ac_status=$? |
| 19312 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 19313 |
test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then |
| 19314 |
(./conftest; exit; ) >&5 2>/dev/null |
| 19315 |
lt_status=$? |
| 19316 |
case x$lt_status in |
| 19317 |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
| 19318 |
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
| 19319 |
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
| 19320 |
esac |
| 19321 |
else : |
| 19322 |
# compilation failed |
| 19323 |
lt_cv_dlopen_self=no |
| 19324 |
fi |
| 19325 |
fi |
| 19326 |
rm -fr conftest* |
| 19327 |
|
| 19328 |
;; |
| 19329 |
esac |
| 19330 |
fi |
| 19331 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
| 19332 |
printf "%s\n" "$lt_cv_dlopen_self" >&6; } |
| 19333 |
|
| 19334 |
if test yes = "$lt_cv_dlopen_self"; then |
| 19335 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
| 19336 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
| 19337 |
printf %s "checking whether a statically linked program can dlopen itself... " >&6; } |
| 19338 |
if test ${lt_cv_dlopen_self_static+y} |
| 19339 |
then : |
| 19340 |
printf %s "(cached) " >&6 |
| 19341 |
else case e in #( |
| 19342 |
e) if test yes = "$cross_compiling"; then : |
| 19343 |
lt_cv_dlopen_self_static=cross |
| 19344 |
else |
| 19345 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 19346 |
lt_status=$lt_dlunknown |
| 19347 |
cat > conftest.$ac_ext <<_LT_EOF |
| 19348 |
#line $LINENO "configure" |
| 19349 |
#include "confdefs.h" |
| 19350 |
|
| 19351 |
#if HAVE_DLFCN_H |
| 19352 |
#include <dlfcn.h> |
| 19353 |
#endif |
| 19354 |
|
| 19355 |
#include <stdio.h> |
| 19356 |
|
| 19357 |
#ifdef RTLD_GLOBAL |
| 19358 |
# define LT_DLGLOBAL RTLD_GLOBAL |
| 19359 |
#else |
| 19360 |
# ifdef DL_GLOBAL |
| 19361 |
# define LT_DLGLOBAL DL_GLOBAL |
| 19362 |
# else |
| 19363 |
# define LT_DLGLOBAL 0 |
| 19364 |
# endif |
| 19365 |
#endif |
| 19366 |
|
| 19367 |
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
| 19368 |
find out it does not work in some platform. */ |
| 19369 |
#ifndef LT_DLLAZY_OR_NOW |
| 19370 |
# ifdef RTLD_LAZY |
| 19371 |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
| 19372 |
# else |
| 19373 |
# ifdef DL_LAZY |
| 19374 |
# define LT_DLLAZY_OR_NOW DL_LAZY |
| 19375 |
# else |
| 19376 |
# ifdef RTLD_NOW |
| 19377 |
# define LT_DLLAZY_OR_NOW RTLD_NOW |
| 19378 |
# else |
| 19379 |
# ifdef DL_NOW |
| 19380 |
# define LT_DLLAZY_OR_NOW DL_NOW |
| 19381 |
# else |
| 19382 |
# define LT_DLLAZY_OR_NOW 0 |
| 19383 |
# endif |
| 19384 |
# endif |
| 19385 |
# endif |
| 19386 |
# endif |
| 19387 |
#endif |
| 19388 |
|
| 19389 |
/* When -fvisibility=hidden is used, assume the code has been annotated |
| 19390 |
correspondingly for the symbols needed. */ |
| 19391 |
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 19392 |
int fnord (void) __attribute__((visibility("default"))); |
| 19393 |
#endif |
| 19394 |
|
| 19395 |
int fnord (void) { return 42; } |
| 19396 |
int main (void) |
| 19397 |
{ |
| 19398 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 19399 |
int status = $lt_dlunknown; |
| 19400 |
|
| 19401 |
if (self) |
| 19402 |
{ |
| 19403 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 19404 |
else |
| 19405 |
{ |
| 19406 |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 19407 |
else puts (dlerror ()); |
| 19408 |
} |
| 19409 |
/* dlclose (self); */ |
| 19410 |
} |
| 19411 |
else |
| 19412 |
puts (dlerror ()); |
| 19413 |
|
| 19414 |
return status; |
| 19415 |
} |
| 19416 |
_LT_EOF |
| 19417 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 19418 |
(eval $ac_link) 2>&5 |
| 19419 |
ac_status=$? |
| 19420 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 19421 |
test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then |
| 19422 |
(./conftest; exit; ) >&5 2>/dev/null |
| 19423 |
lt_status=$? |
| 19424 |
case x$lt_status in |
| 19425 |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
| 19426 |
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
| 19427 |
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
| 19428 |
esac |
| 19429 |
else : |
| 19430 |
# compilation failed |
| 19431 |
lt_cv_dlopen_self_static=no |
| 19432 |
fi |
| 19433 |
fi |
| 19434 |
rm -fr conftest* |
| 19435 |
|
| 19436 |
;; |
| 19437 |
esac |
| 19438 |
fi |
| 19439 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
| 19440 |
printf "%s\n" "$lt_cv_dlopen_self_static" >&6; } |
| 19441 |
fi |
| 19442 |
|
| 19443 |
CPPFLAGS=$save_CPPFLAGS |
| 19444 |
LDFLAGS=$save_LDFLAGS |
| 19445 |
LIBS=$save_LIBS |
| 19446 |
;; |
| 19447 |
esac |
| 19448 |
|
| 19449 |
case $lt_cv_dlopen_self in |
| 19450 |
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
| 19451 |
*) enable_dlopen_self=unknown ;; |
| 19452 |
esac |
| 19453 |
|
| 19454 |
case $lt_cv_dlopen_self_static in |
| 19455 |
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
| 19456 |
*) enable_dlopen_self_static=unknown ;; |
| 19457 |
esac |
| 19458 |
fi |
| 19459 |
|
| 19460 |
|
| 19461 |
|
| 19462 |
|
| 19463 |
|
| 19464 |
|
| 19465 |
|
| 19466 |
|
| 19467 |
|
| 19468 |
|
| 19469 |
|
| 19470 |
|
| 19471 |
|
| 19472 |
|
| 19473 |
|
| 19474 |
|
| 19475 |
|
| 19476 |
striplib= |
| 19477 |
old_striplib= |
| 19478 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
| 19479 |
printf %s "checking whether stripping libraries is possible... " >&6; } |
| 19480 |
if test -z "$STRIP"; then |
| 19481 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 19482 |
printf "%s\n" "no" >&6; } |
| 19483 |
else |
| 19484 |
if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
| 19485 |
old_striplib="$STRIP --strip-debug" |
| 19486 |
striplib="$STRIP --strip-unneeded" |
| 19487 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 19488 |
printf "%s\n" "yes" >&6; } |
| 19489 |
else |
| 19490 |
case $host_os in |
| 19491 |
darwin*) |
| 19492 |
# FIXME - insert some real tests, host_os isn't really good enough |
| 19493 |
striplib="$STRIP -x" |
| 19494 |
old_striplib="$STRIP -S" |
| 19495 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 19496 |
printf "%s\n" "yes" >&6; } |
| 19497 |
;; |
| 19498 |
freebsd*) |
| 19499 |
if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then |
| 19500 |
old_striplib="$STRIP --strip-debug" |
| 19501 |
striplib="$STRIP --strip-unneeded" |
| 19502 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 19503 |
printf "%s\n" "yes" >&6; } |
| 19504 |
else |
| 19505 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 19506 |
printf "%s\n" "no" >&6; } |
| 19507 |
fi |
| 19508 |
;; |
| 19509 |
*) |
| 19510 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 19511 |
printf "%s\n" "no" >&6; } |
| 19512 |
;; |
| 19513 |
esac |
| 19514 |
fi |
| 19515 |
fi |
| 19516 |
|
| 19517 |
|
| 19518 |
|
| 19519 |
|
| 19520 |
|
| 19521 |
|
| 19522 |
|
| 19523 |
|
| 19524 |
|
| 19525 |
|
| 19526 |
|
| 19527 |
|
| 19528 |
# Report what library types will actually be built |
| 19529 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
| 19530 |
printf %s "checking if libtool supports shared libraries... " >&6; } |
| 19531 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
| 19532 |
printf "%s\n" "$can_build_shared" >&6; } |
| 19533 |
|
| 19534 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
| 19535 |
printf %s "checking whether to build shared libraries... " >&6; } |
| 19536 |
test no = "$can_build_shared" && enable_shared=no |
| 19537 |
|
| 19538 |
# On AIX, shared libraries and static libraries use the same namespace, and |
| 19539 |
# are all built from PIC. |
| 19540 |
case $host_os in |
| 19541 |
aix3*) |
| 19542 |
test yes = "$enable_shared" && enable_static=no |
| 19543 |
if test -n "$RANLIB"; then |
| 19544 |
archive_cmds="$archive_cmds~\$RANLIB \$lib" |
| 19545 |
postinstall_cmds='$RANLIB $lib' |
| 19546 |
fi |
| 19547 |
;; |
| 19548 |
|
| 19549 |
aix[4-9]*) |
| 19550 |
if test ia64 != "$host_cpu"; then |
| 19551 |
case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in |
| 19552 |
yes,aix,yes) ;; # shared object as lib.so file only |
| 19553 |
yes,svr4,*) ;; # shared object as lib.so archive member only |
| 19554 |
yes,*) enable_static=no ;; # shared object in lib.a archive as well |
| 19555 |
esac |
| 19556 |
fi |
| 19557 |
;; |
| 19558 |
esac |
| 19559 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
| 19560 |
printf "%s\n" "$enable_shared" >&6; } |
| 19561 |
|
| 19562 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
| 19563 |
printf %s "checking whether to build static libraries... " >&6; } |
| 19564 |
# Make sure either enable_shared or enable_static is yes. |
| 19565 |
test yes = "$enable_shared" || enable_static=yes |
| 19566 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
| 19567 |
printf "%s\n" "$enable_static" >&6; } |
| 19568 |
|
| 19569 |
|
| 19570 |
|
| 19571 |
|
| 19572 |
fi |
| 19573 |
ac_ext=c |
| 19574 |
ac_cpp='$CPP $CPPFLAGS' |
| 19575 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 19576 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 19577 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 19578 |
|
| 19579 |
CC=$lt_save_CC |
| 19580 |
|
| 19581 |
|
| 19582 |
|
| 19583 |
|
| 19584 |
|
| 19585 |
|
| 19586 |
|
| 19587 |
|
| 19588 |
|
| 19589 |
|
| 19590 |
|
| 19591 |
|
| 19592 |
|
| 19593 |
|
| 19594 |
|
| 19595 |
ac_config_commands="$ac_config_commands libtool" |
| 19596 |
|
| 19597 |
|
| 19598 |
|
| 19599 |
|
| 19600 |
# Only expand once: |
| 19601 |
|
| 19602 |
|
| 19603 |
|
| 19604 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for product build" >&5 |
| 19605 |
printf %s "checking for product build... " >&6; } |
| 19606 |
# --disable-product-build option. |
| 19607 |
# Check whether --enable-product-build was given. |
| 19608 |
if test ${enable_product_build+y} |
| 19609 |
then : |
| 19610 |
enableval=$enable_product_build; enable_product_build="$enableval" |
| 19611 |
else case e in #( |
| 19612 |
e) enable_product_build="auto" |
| 19613 |
;; |
| 19614 |
esac |
| 19615 |
fi |
| 19616 |
|
| 19617 |
if test x"$enable_product_build" = xauto; then |
| 19618 |
if echo rc2 | grep -q "rc"; then |
| 19619 |
enable_product_build="yes" |
| 19620 |
else |
| 19621 |
enable_product_build="no" |
| 19622 |
fi |
| 19623 |
fi |
| 19624 |
TEST_CFLAGS="$CFLAGS" |
| 19625 |
PRODUCT_LIB_CFLAGS='' |
| 19626 |
if test x"$enable_product_build" = xyes; then |
| 19627 |
if test $ac_compiler_gnu = yes; then |
| 19628 |
_CFLAGS="-DG_DISABLE_CAST_CHECKS -Wl,-z,relro -Wl,-z,now $CFLAGS" |
| 19629 |
TEST_CFLAGS="$_CFLAGS" |
| 19630 |
CFLAGS="-DG_DISABLE_ASSERT $_CFLAGS" |
| 19631 |
PRODUCT_LIB_CFLAGS="-Wl,-Bsymbolic -fno-plt" |
| 19632 |
fi |
| 19633 |
|
| 19634 |
printf "%s\n" "#define HAVE_PRODUCT_BUILD 1" >>confdefs.h |
| 19635 |
|
| 19636 |
fi |
| 19637 |
|
| 19638 |
|
| 19639 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_product_build" >&5 |
| 19640 |
printf "%s\n" "$enable_product_build" >&6; } |
| 19641 |
|
| 19642 |
# Check header filess. |
| 19643 |
ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default" |
| 19644 |
if test "x$ac_cv_header_sys_prctl_h" = xyes |
| 19645 |
then : |
| 19646 |
printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h |
| 19647 |
|
| 19648 |
fi |
| 19649 |
|
| 19650 |
|
| 19651 |
# Check functions. |
| 19652 |
ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon" |
| 19653 |
if test "x$ac_cv_func_daemon" = xyes |
| 19654 |
then : |
| 19655 |
printf "%s\n" "#define HAVE_DAEMON 1" >>confdefs.h |
| 19656 |
|
| 19657 |
fi |
| 19658 |
ac_fn_c_check_func "$LINENO" "getgrgid_r" "ac_cv_func_getgrgid_r" |
| 19659 |
if test "x$ac_cv_func_getgrgid_r" = xyes |
| 19660 |
then : |
| 19661 |
printf "%s\n" "#define HAVE_GETGRGID_R 1" >>confdefs.h |
| 19662 |
|
| 19663 |
fi |
| 19664 |
|
| 19665 |
|
| 19666 |
# Check dlclose() in libc.so. |
| 19667 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlclose in -lc" >&5 |
| 19668 |
printf %s "checking for dlclose in -lc... " >&6; } |
| 19669 |
if test ${ac_cv_lib_c_dlclose+y} |
| 19670 |
then : |
| 19671 |
printf %s "(cached) " >&6 |
| 19672 |
else case e in #( |
| 19673 |
e) ac_check_lib_save_LIBS=$LIBS |
| 19674 |
LIBS="-lc $LIBS" |
| 19675 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19676 |
/* end confdefs.h. */ |
| 19677 |
|
| 19678 |
/* Override any GCC internal prototype to avoid an error. |
| 19679 |
Use char because int might match the return type of a GCC |
| 19680 |
builtin and then its argument prototype would still apply. |
| 19681 |
The 'extern "C"' is for builds by C++ compilers; |
| 19682 |
although this is not generally supported in C code supporting it here |
| 19683 |
has little cost and some practical benefit (sr 110532). */ |
| 19684 |
#ifdef __cplusplus |
| 19685 |
extern "C" |
| 19686 |
#endif |
| 19687 |
char dlclose (void); |
| 19688 |
int |
| 19689 |
main (void) |
| 19690 |
{ |
| 19691 |
return dlclose (); |
| 19692 |
; |
| 19693 |
return 0; |
| 19694 |
} |
| 19695 |
_ACEOF |
| 19696 |
if ac_fn_c_try_link "$LINENO" |
| 19697 |
then : |
| 19698 |
ac_cv_lib_c_dlclose=yes |
| 19699 |
else case e in #( |
| 19700 |
e) ac_cv_lib_c_dlclose=no ;; |
| 19701 |
esac |
| 19702 |
fi |
| 19703 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 19704 |
conftest$ac_exeext conftest.$ac_ext |
| 19705 |
LIBS=$ac_check_lib_save_LIBS ;; |
| 19706 |
esac |
| 19707 |
fi |
| 19708 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dlclose" >&5 |
| 19709 |
printf "%s\n" "$ac_cv_lib_c_dlclose" >&6; } |
| 19710 |
if test "x$ac_cv_lib_c_dlclose" = xyes |
| 19711 |
then : |
| 19712 |
LIBDL="" |
| 19713 |
else case e in #( |
| 19714 |
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlclose in -ldl" >&5 |
| 19715 |
printf %s "checking for dlclose in -ldl... " >&6; } |
| 19716 |
if test ${ac_cv_lib_dl_dlclose+y} |
| 19717 |
then : |
| 19718 |
printf %s "(cached) " >&6 |
| 19719 |
else case e in #( |
| 19720 |
e) ac_check_lib_save_LIBS=$LIBS |
| 19721 |
LIBS="-ldl $LIBS" |
| 19722 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19723 |
/* end confdefs.h. */ |
| 19724 |
|
| 19725 |
/* Override any GCC internal prototype to avoid an error. |
| 19726 |
Use char because int might match the return type of a GCC |
| 19727 |
builtin and then its argument prototype would still apply. |
| 19728 |
The 'extern "C"' is for builds by C++ compilers; |
| 19729 |
although this is not generally supported in C code supporting it here |
| 19730 |
has little cost and some practical benefit (sr 110532). */ |
| 19731 |
#ifdef __cplusplus |
| 19732 |
extern "C" |
| 19733 |
#endif |
| 19734 |
char dlclose (void); |
| 19735 |
int |
| 19736 |
main (void) |
| 19737 |
{ |
| 19738 |
return dlclose (); |
| 19739 |
; |
| 19740 |
return 0; |
| 19741 |
} |
| 19742 |
_ACEOF |
| 19743 |
if ac_fn_c_try_link "$LINENO" |
| 19744 |
then : |
| 19745 |
ac_cv_lib_dl_dlclose=yes |
| 19746 |
else case e in #( |
| 19747 |
e) ac_cv_lib_dl_dlclose=no ;; |
| 19748 |
esac |
| 19749 |
fi |
| 19750 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 19751 |
conftest$ac_exeext conftest.$ac_ext |
| 19752 |
LIBS=$ac_check_lib_save_LIBS ;; |
| 19753 |
esac |
| 19754 |
fi |
| 19755 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlclose" >&5 |
| 19756 |
printf "%s\n" "$ac_cv_lib_dl_dlclose" >&6; } |
| 19757 |
if test "x$ac_cv_lib_dl_dlclose" = xyes |
| 19758 |
then : |
| 19759 |
LIBDL="-ldl" |
| 19760 |
fi |
| 19761 |
;; |
| 19762 |
esac |
| 19763 |
fi |
| 19764 |
|
| 19765 |
|
| 19766 |
|
| 19767 |
# Check if static build only |
| 19768 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IBUS_STATIC_COMPILATION" >&5 |
| 19769 |
printf %s "checking for IBUS_STATIC_COMPILATION... " >&6; } |
| 19770 |
ibus_build_static_only=0 |
| 19771 |
if test "x$enable_static" = "xyes" -a "x$enable_shared" != "xyes" ; then |
| 19772 |
ibus_build_static_only=1 |
| 19773 |
|
| 19774 |
printf "%s\n" "#define IBUS_STATIC_COMPILATION \$ibus_build_static_only" >>confdefs.h |
| 19775 |
|
| 19776 |
fi |
| 19777 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ibus_build_static_only" >&5 |
| 19778 |
printf "%s\n" "$ibus_build_static_only" >&6; } |
| 19779 |
|
| 19780 |
# Check if cross compiling. |
| 19781 |
if test "x$cross_compiling" = xyes; then |
| 19782 |
CROSS_COMPILING_TRUE= |
| 19783 |
CROSS_COMPILING_FALSE='#' |
| 19784 |
else |
| 19785 |
CROSS_COMPILING_TRUE='#' |
| 19786 |
CROSS_COMPILING_FALSE= |
| 19787 |
fi |
| 19788 |
|
| 19789 |
|
| 19790 |
# Check endianness. |
| 19791 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
| 19792 |
printf %s "checking whether byte ordering is bigendian... " >&6; } |
| 19793 |
if test ${ac_cv_c_bigendian+y} |
| 19794 |
then : |
| 19795 |
printf %s "(cached) " >&6 |
| 19796 |
else case e in #( |
| 19797 |
e) ac_cv_c_bigendian=unknown |
| 19798 |
# See if we're dealing with a universal compiler. |
| 19799 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19800 |
/* end confdefs.h. */ |
| 19801 |
#ifndef __APPLE_CC__ |
| 19802 |
not a universal capable compiler |
| 19803 |
#endif |
| 19804 |
typedef int dummy; |
| 19805 |
|
| 19806 |
_ACEOF |
| 19807 |
if ac_fn_c_try_compile "$LINENO" |
| 19808 |
then : |
| 19809 |
|
| 19810 |
# Check for potential -arch flags. It is not universal unless |
| 19811 |
# there are at least two -arch flags with different values. |
| 19812 |
ac_arch= |
| 19813 |
ac_prev= |
| 19814 |
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do |
| 19815 |
if test -n "$ac_prev"; then |
| 19816 |
case $ac_word in |
| 19817 |
i?86 | x86_64 | ppc | ppc64) |
| 19818 |
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then |
| 19819 |
ac_arch=$ac_word |
| 19820 |
else |
| 19821 |
ac_cv_c_bigendian=universal |
| 19822 |
break |
| 19823 |
fi |
| 19824 |
;; |
| 19825 |
esac |
| 19826 |
ac_prev= |
| 19827 |
elif test "x$ac_word" = "x-arch"; then |
| 19828 |
ac_prev=arch |
| 19829 |
fi |
| 19830 |
done |
| 19831 |
fi |
| 19832 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19833 |
if test $ac_cv_c_bigendian = unknown; then |
| 19834 |
# See if sys/param.h defines the BYTE_ORDER macro. |
| 19835 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19836 |
/* end confdefs.h. */ |
| 19837 |
#include <sys/types.h> |
| 19838 |
#include <sys/param.h> |
| 19839 |
|
| 19840 |
int |
| 19841 |
main (void) |
| 19842 |
{ |
| 19843 |
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\ |
| 19844 |
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\ |
| 19845 |
&& LITTLE_ENDIAN) |
| 19846 |
bogus endian macros |
| 19847 |
#endif |
| 19848 |
|
| 19849 |
; |
| 19850 |
return 0; |
| 19851 |
} |
| 19852 |
_ACEOF |
| 19853 |
if ac_fn_c_try_compile "$LINENO" |
| 19854 |
then : |
| 19855 |
# It does; now see whether it defined to BIG_ENDIAN or not. |
| 19856 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19857 |
/* end confdefs.h. */ |
| 19858 |
#include <sys/types.h> |
| 19859 |
#include <sys/param.h> |
| 19860 |
|
| 19861 |
int |
| 19862 |
main (void) |
| 19863 |
{ |
| 19864 |
#if BYTE_ORDER != BIG_ENDIAN |
| 19865 |
not big endian |
| 19866 |
#endif |
| 19867 |
|
| 19868 |
; |
| 19869 |
return 0; |
| 19870 |
} |
| 19871 |
_ACEOF |
| 19872 |
if ac_fn_c_try_compile "$LINENO" |
| 19873 |
then : |
| 19874 |
ac_cv_c_bigendian=yes |
| 19875 |
else case e in #( |
| 19876 |
e) ac_cv_c_bigendian=no ;; |
| 19877 |
esac |
| 19878 |
fi |
| 19879 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19880 |
fi |
| 19881 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19882 |
fi |
| 19883 |
if test $ac_cv_c_bigendian = unknown; then |
| 19884 |
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). |
| 19885 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19886 |
/* end confdefs.h. */ |
| 19887 |
#include <limits.h> |
| 19888 |
|
| 19889 |
int |
| 19890 |
main (void) |
| 19891 |
{ |
| 19892 |
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) |
| 19893 |
bogus endian macros |
| 19894 |
#endif |
| 19895 |
|
| 19896 |
; |
| 19897 |
return 0; |
| 19898 |
} |
| 19899 |
_ACEOF |
| 19900 |
if ac_fn_c_try_compile "$LINENO" |
| 19901 |
then : |
| 19902 |
# It does; now see whether it defined to _BIG_ENDIAN or not. |
| 19903 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19904 |
/* end confdefs.h. */ |
| 19905 |
#include <limits.h> |
| 19906 |
|
| 19907 |
int |
| 19908 |
main (void) |
| 19909 |
{ |
| 19910 |
#ifndef _BIG_ENDIAN |
| 19911 |
not big endian |
| 19912 |
#endif |
| 19913 |
|
| 19914 |
; |
| 19915 |
return 0; |
| 19916 |
} |
| 19917 |
_ACEOF |
| 19918 |
if ac_fn_c_try_compile "$LINENO" |
| 19919 |
then : |
| 19920 |
ac_cv_c_bigendian=yes |
| 19921 |
else case e in #( |
| 19922 |
e) ac_cv_c_bigendian=no ;; |
| 19923 |
esac |
| 19924 |
fi |
| 19925 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19926 |
fi |
| 19927 |
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 19928 |
fi |
| 19929 |
if test $ac_cv_c_bigendian = unknown; then |
| 19930 |
# Compile a test program. |
| 19931 |
if test "$cross_compiling" = yes |
| 19932 |
then : |
| 19933 |
# Try to guess by grepping values from an object file. |
| 19934 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19935 |
/* end confdefs.h. */ |
| 19936 |
unsigned short int ascii_mm[] = |
| 19937 |
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
| 19938 |
unsigned short int ascii_ii[] = |
| 19939 |
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
| 19940 |
int use_ascii (int i) { |
| 19941 |
return ascii_mm[i] + ascii_ii[i]; |
| 19942 |
} |
| 19943 |
unsigned short int ebcdic_ii[] = |
| 19944 |
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
| 19945 |
unsigned short int ebcdic_mm[] = |
| 19946 |
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
| 19947 |
int use_ebcdic (int i) { |
| 19948 |
return ebcdic_mm[i] + ebcdic_ii[i]; |
| 19949 |
} |
| 19950 |
int |
| 19951 |
main (int argc, char **argv) |
| 19952 |
{ |
| 19953 |
/* Intimidate the compiler so that it does not |
| 19954 |
optimize the arrays away. */ |
| 19955 |
char *p = argv[0]; |
| 19956 |
ascii_mm[1] = *p++; ebcdic_mm[1] = *p++; |
| 19957 |
ascii_ii[1] = *p++; ebcdic_ii[1] = *p++; |
| 19958 |
return use_ascii (argc) == use_ebcdic (*p); |
| 19959 |
} |
| 19960 |
_ACEOF |
| 19961 |
if ac_fn_c_try_link "$LINENO" |
| 19962 |
then : |
| 19963 |
if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then |
| 19964 |
ac_cv_c_bigendian=yes |
| 19965 |
fi |
| 19966 |
if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then |
| 19967 |
if test "$ac_cv_c_bigendian" = unknown; then |
| 19968 |
ac_cv_c_bigendian=no |
| 19969 |
else |
| 19970 |
# finding both strings is unlikely to happen, but who knows? |
| 19971 |
ac_cv_c_bigendian=unknown |
| 19972 |
fi |
| 19973 |
fi |
| 19974 |
fi |
| 19975 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 19976 |
conftest$ac_exeext conftest.$ac_ext |
| 19977 |
else case e in #( |
| 19978 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 19979 |
/* end confdefs.h. */ |
| 19980 |
$ac_includes_default |
| 19981 |
int |
| 19982 |
main (void) |
| 19983 |
{ |
| 19984 |
|
| 19985 |
/* Are we little or big endian? From Harbison&Steele. */ |
| 19986 |
union |
| 19987 |
{ |
| 19988 |
long int l; |
| 19989 |
char c[sizeof (long int)]; |
| 19990 |
} u; |
| 19991 |
u.l = 1; |
| 19992 |
return u.c[sizeof (long int) - 1] == 1; |
| 19993 |
|
| 19994 |
; |
| 19995 |
return 0; |
| 19996 |
} |
| 19997 |
_ACEOF |
| 19998 |
if ac_fn_c_try_run "$LINENO" |
| 19999 |
then : |
| 20000 |
ac_cv_c_bigendian=no |
| 20001 |
else case e in #( |
| 20002 |
e) ac_cv_c_bigendian=yes ;; |
| 20003 |
esac |
| 20004 |
fi |
| 20005 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 20006 |
conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 20007 |
esac |
| 20008 |
fi |
| 20009 |
|
| 20010 |
fi ;; |
| 20011 |
esac |
| 20012 |
fi |
| 20013 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 |
| 20014 |
printf "%s\n" "$ac_cv_c_bigendian" >&6; } |
| 20015 |
case $ac_cv_c_bigendian in #( |
| 20016 |
yes) |
| 20017 |
ENDIAN=big;; #( |
| 20018 |
no) |
| 20019 |
ENDIAN=little ;; #( |
| 20020 |
universal) |
| 20021 |
ENDIAN=big |
| 20022 |
;; #( |
| 20023 |
*) |
| 20024 |
ENDIAN=unknown ;; |
| 20025 |
esac |
| 20026 |
|
| 20027 |
if test x"$ENDIAN" != xlittle -a x"$ENDIAN" != xbig; then |
| 20028 |
as_fn_error $? "Cannot determine endianness. Use ac_cv_c_bigendian to yes or no" "$LINENO" 5 |
| 20029 |
fi |
| 20030 |
|
| 20031 |
ENDIAN_MSG="$ENDIAN (ac_cv_c_bigendian=$ac_cv_c_bigendian)" |
| 20032 |
|
| 20033 |
# Check packages. |
| 20034 |
# Check glib2. |
| 20035 |
|
| 20036 |
|
| 20037 |
|
| 20038 |
# Check whether --enable-glibtest was given. |
| 20039 |
if test ${enable_glibtest+y} |
| 20040 |
then : |
| 20041 |
enableval=$enable_glibtest; |
| 20042 |
else case e in #( |
| 20043 |
e) enable_glibtest=yes ;; |
| 20044 |
esac |
| 20045 |
fi |
| 20046 |
|
| 20047 |
|
| 20048 |
min_glib_version=2.0.0 |
| 20049 |
pkg_config_args="glib-2.0 >= $min_glib_version" |
| 20050 |
for module in . |
| 20051 |
do |
| 20052 |
case "$module" in |
| 20053 |
gmodule) |
| 20054 |
pkg_config_args="$pkg_config_args gmodule-2.0" |
| 20055 |
;; |
| 20056 |
gmodule-no-export) |
| 20057 |
pkg_config_args="$pkg_config_args gmodule-no-export-2.0" |
| 20058 |
;; |
| 20059 |
gobject) |
| 20060 |
pkg_config_args="$pkg_config_args gobject-2.0" |
| 20061 |
;; |
| 20062 |
gthread) |
| 20063 |
pkg_config_args="$pkg_config_args gthread-2.0" |
| 20064 |
;; |
| 20065 |
gio*) |
| 20066 |
pkg_config_args="$pkg_config_args $module-2.0" |
| 20067 |
;; |
| 20068 |
esac |
| 20069 |
done |
| 20070 |
|
| 20071 |
|
| 20072 |
|
| 20073 |
|
| 20074 |
|
| 20075 |
|
| 20076 |
|
| 20077 |
|
| 20078 |
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
| 20079 |
if test -n "$ac_tool_prefix"; then |
| 20080 |
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
| 20081 |
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
| 20082 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 20083 |
printf %s "checking for $ac_word... " >&6; } |
| 20084 |
if test ${ac_cv_path_PKG_CONFIG+y} |
| 20085 |
then : |
| 20086 |
printf %s "(cached) " >&6 |
| 20087 |
else case e in #( |
| 20088 |
e) case $PKG_CONFIG in |
| 20089 |
[\\/]* | ?:[\\/]*) |
| 20090 |
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
| 20091 |
;; |
| 20092 |
*) |
| 20093 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 20094 |
for as_dir in $PATH |
| 20095 |
do |
| 20096 |
IFS=$as_save_IFS |
| 20097 |
case $as_dir in #((( |
| 20098 |
'') as_dir=./ ;; |
| 20099 |
*/) ;; |
| 20100 |
*) as_dir=$as_dir/ ;; |
| 20101 |
esac |
| 20102 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 20103 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 20104 |
ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" |
| 20105 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 20106 |
break 2 |
| 20107 |
fi |
| 20108 |
done |
| 20109 |
done |
| 20110 |
IFS=$as_save_IFS |
| 20111 |
|
| 20112 |
;; |
| 20113 |
esac ;; |
| 20114 |
esac |
| 20115 |
fi |
| 20116 |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 20117 |
if test -n "$PKG_CONFIG"; then |
| 20118 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 20119 |
printf "%s\n" "$PKG_CONFIG" >&6; } |
| 20120 |
else |
| 20121 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20122 |
printf "%s\n" "no" >&6; } |
| 20123 |
fi |
| 20124 |
|
| 20125 |
|
| 20126 |
fi |
| 20127 |
if test -z "$ac_cv_path_PKG_CONFIG"; then |
| 20128 |
ac_pt_PKG_CONFIG=$PKG_CONFIG |
| 20129 |
# Extract the first word of "pkg-config", so it can be a program name with args. |
| 20130 |
set dummy pkg-config; ac_word=$2 |
| 20131 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 20132 |
printf %s "checking for $ac_word... " >&6; } |
| 20133 |
if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} |
| 20134 |
then : |
| 20135 |
printf %s "(cached) " >&6 |
| 20136 |
else case e in #( |
| 20137 |
e) case $ac_pt_PKG_CONFIG in |
| 20138 |
[\\/]* | ?:[\\/]*) |
| 20139 |
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
| 20140 |
;; |
| 20141 |
*) |
| 20142 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 20143 |
for as_dir in $PATH |
| 20144 |
do |
| 20145 |
IFS=$as_save_IFS |
| 20146 |
case $as_dir in #((( |
| 20147 |
'') as_dir=./ ;; |
| 20148 |
*/) ;; |
| 20149 |
*) as_dir=$as_dir/ ;; |
| 20150 |
esac |
| 20151 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 20152 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 20153 |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" |
| 20154 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 20155 |
break 2 |
| 20156 |
fi |
| 20157 |
done |
| 20158 |
done |
| 20159 |
IFS=$as_save_IFS |
| 20160 |
|
| 20161 |
;; |
| 20162 |
esac ;; |
| 20163 |
esac |
| 20164 |
fi |
| 20165 |
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
| 20166 |
if test -n "$ac_pt_PKG_CONFIG"; then |
| 20167 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
| 20168 |
printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } |
| 20169 |
else |
| 20170 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20171 |
printf "%s\n" "no" >&6; } |
| 20172 |
fi |
| 20173 |
|
| 20174 |
if test "x$ac_pt_PKG_CONFIG" = x; then |
| 20175 |
PKG_CONFIG="" |
| 20176 |
else |
| 20177 |
case $cross_compiling:$ac_tool_warned in |
| 20178 |
yes:) |
| 20179 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 20180 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 20181 |
ac_tool_warned=yes ;; |
| 20182 |
esac |
| 20183 |
PKG_CONFIG=$ac_pt_PKG_CONFIG |
| 20184 |
fi |
| 20185 |
else |
| 20186 |
PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
| 20187 |
fi |
| 20188 |
|
| 20189 |
fi |
| 20190 |
if test -n "$PKG_CONFIG"; then |
| 20191 |
_pkg_min_version=0.16 |
| 20192 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
| 20193 |
printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
| 20194 |
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
| 20195 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 20196 |
printf "%s\n" "yes" >&6; } |
| 20197 |
else |
| 20198 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20199 |
printf "%s\n" "no" >&6; } |
| 20200 |
PKG_CONFIG="" |
| 20201 |
fi |
| 20202 |
fi |
| 20203 |
if test -z "$PKG_CONFIG"; then |
| 20204 |
as_fn_error $? "pkg-config not found" "$LINENO" 5 |
| 20205 |
fi |
| 20206 |
|
| 20207 |
no_glib="" |
| 20208 |
|
| 20209 |
if test "x$PKG_CONFIG" = x ; then |
| 20210 |
no_glib=yes |
| 20211 |
PKG_CONFIG=no |
| 20212 |
fi |
| 20213 |
|
| 20214 |
|
| 20215 |
pkg_failed=no |
| 20216 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $pkg_config_args" >&5 |
| 20217 |
printf %s "checking for $pkg_config_args... " >&6; } |
| 20218 |
|
| 20219 |
if test -n "$GLIB_CFLAGS"; then |
| 20220 |
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" |
| 20221 |
elif test -n "$PKG_CONFIG"; then |
| 20222 |
if test -n "$PKG_CONFIG" && \ |
| 20223 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5 |
| 20224 |
($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5 |
| 20225 |
ac_status=$? |
| 20226 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20227 |
test $ac_status = 0; }; then |
| 20228 |
pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$pkg_config_args" 2>/dev/null` |
| 20229 |
test "x$?" != "x0" && pkg_failed=yes |
| 20230 |
else |
| 20231 |
pkg_failed=yes |
| 20232 |
fi |
| 20233 |
else |
| 20234 |
pkg_failed=untried |
| 20235 |
fi |
| 20236 |
if test -n "$GLIB_LIBS"; then |
| 20237 |
pkg_cv_GLIB_LIBS="$GLIB_LIBS" |
| 20238 |
elif test -n "$PKG_CONFIG"; then |
| 20239 |
if test -n "$PKG_CONFIG" && \ |
| 20240 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5 |
| 20241 |
($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5 |
| 20242 |
ac_status=$? |
| 20243 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20244 |
test $ac_status = 0; }; then |
| 20245 |
pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$pkg_config_args" 2>/dev/null` |
| 20246 |
test "x$?" != "x0" && pkg_failed=yes |
| 20247 |
else |
| 20248 |
pkg_failed=yes |
| 20249 |
fi |
| 20250 |
else |
| 20251 |
pkg_failed=untried |
| 20252 |
fi |
| 20253 |
|
| 20254 |
|
| 20255 |
|
| 20256 |
if test $pkg_failed = yes; then |
| 20257 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20258 |
printf "%s\n" "no" >&6; } |
| 20259 |
|
| 20260 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 20261 |
_pkg_short_errors_supported=yes |
| 20262 |
else |
| 20263 |
_pkg_short_errors_supported=no |
| 20264 |
fi |
| 20265 |
if test $_pkg_short_errors_supported = yes; then |
| 20266 |
GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$pkg_config_args" 2>&1` |
| 20267 |
else |
| 20268 |
GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$pkg_config_args" 2>&1` |
| 20269 |
fi |
| 20270 |
# Put the nasty error message in config.log where it belongs |
| 20271 |
echo "$GLIB_PKG_ERRORS" >&5 |
| 20272 |
|
| 20273 |
: |
| 20274 |
elif test $pkg_failed = untried; then |
| 20275 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20276 |
printf "%s\n" "no" >&6; } |
| 20277 |
: |
| 20278 |
else |
| 20279 |
GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS |
| 20280 |
GLIB_LIBS=$pkg_cv_GLIB_LIBS |
| 20281 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 20282 |
printf "%s\n" "yes" >&6; } |
| 20283 |
: |
| 20284 |
fi |
| 20285 |
|
| 20286 |
|
| 20287 |
if test -n "$GLIB_GENMARSHAL"; then |
| 20288 |
pkg_cv_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" |
| 20289 |
elif test -n "$PKG_CONFIG"; then |
| 20290 |
if test -n "$PKG_CONFIG" && \ |
| 20291 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 |
| 20292 |
($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 |
| 20293 |
ac_status=$? |
| 20294 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20295 |
test $ac_status = 0; }; then |
| 20296 |
pkg_cv_GLIB_GENMARSHAL=`$PKG_CONFIG --variable="glib_genmarshal" "glib-2.0" 2>/dev/null` |
| 20297 |
test "x$?" != "x0" && pkg_failed=yes |
| 20298 |
else |
| 20299 |
pkg_failed=yes |
| 20300 |
fi |
| 20301 |
else |
| 20302 |
pkg_failed=untried |
| 20303 |
fi |
| 20304 |
GLIB_GENMARSHAL=$pkg_cv_GLIB_GENMARSHAL |
| 20305 |
|
| 20306 |
if test "x$GLIB_GENMARSHAL" = x"" |
| 20307 |
then : |
| 20308 |
|
| 20309 |
fi |
| 20310 |
|
| 20311 |
if test -n "$GOBJECT_QUERY"; then |
| 20312 |
pkg_cv_GOBJECT_QUERY="$GOBJECT_QUERY" |
| 20313 |
elif test -n "$PKG_CONFIG"; then |
| 20314 |
if test -n "$PKG_CONFIG" && \ |
| 20315 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 |
| 20316 |
($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 |
| 20317 |
ac_status=$? |
| 20318 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20319 |
test $ac_status = 0; }; then |
| 20320 |
pkg_cv_GOBJECT_QUERY=`$PKG_CONFIG --variable="gobject_query" "glib-2.0" 2>/dev/null` |
| 20321 |
test "x$?" != "x0" && pkg_failed=yes |
| 20322 |
else |
| 20323 |
pkg_failed=yes |
| 20324 |
fi |
| 20325 |
else |
| 20326 |
pkg_failed=untried |
| 20327 |
fi |
| 20328 |
GOBJECT_QUERY=$pkg_cv_GOBJECT_QUERY |
| 20329 |
|
| 20330 |
if test "x$GOBJECT_QUERY" = x"" |
| 20331 |
then : |
| 20332 |
|
| 20333 |
fi |
| 20334 |
|
| 20335 |
if test -n "$GLIB_MKENUMS"; then |
| 20336 |
pkg_cv_GLIB_MKENUMS="$GLIB_MKENUMS" |
| 20337 |
elif test -n "$PKG_CONFIG"; then |
| 20338 |
if test -n "$PKG_CONFIG" && \ |
| 20339 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 |
| 20340 |
($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 |
| 20341 |
ac_status=$? |
| 20342 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20343 |
test $ac_status = 0; }; then |
| 20344 |
pkg_cv_GLIB_MKENUMS=`$PKG_CONFIG --variable="glib_mkenums" "glib-2.0" 2>/dev/null` |
| 20345 |
test "x$?" != "x0" && pkg_failed=yes |
| 20346 |
else |
| 20347 |
pkg_failed=yes |
| 20348 |
fi |
| 20349 |
else |
| 20350 |
pkg_failed=untried |
| 20351 |
fi |
| 20352 |
GLIB_MKENUMS=$pkg_cv_GLIB_MKENUMS |
| 20353 |
|
| 20354 |
if test "x$GLIB_MKENUMS" = x"" |
| 20355 |
then : |
| 20356 |
|
| 20357 |
fi |
| 20358 |
|
| 20359 |
if test -n "$GLIB_COMPILE_RESOURCES"; then |
| 20360 |
pkg_cv_GLIB_COMPILE_RESOURCES="$GLIB_COMPILE_RESOURCES" |
| 20361 |
elif test -n "$PKG_CONFIG"; then |
| 20362 |
if test -n "$PKG_CONFIG" && \ |
| 20363 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5 |
| 20364 |
($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5 |
| 20365 |
ac_status=$? |
| 20366 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20367 |
test $ac_status = 0; }; then |
| 20368 |
pkg_cv_GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable="glib_compile_resources" "gio-2.0" 2>/dev/null` |
| 20369 |
test "x$?" != "x0" && pkg_failed=yes |
| 20370 |
else |
| 20371 |
pkg_failed=yes |
| 20372 |
fi |
| 20373 |
else |
| 20374 |
pkg_failed=untried |
| 20375 |
fi |
| 20376 |
GLIB_COMPILE_RESOURCES=$pkg_cv_GLIB_COMPILE_RESOURCES |
| 20377 |
|
| 20378 |
if test "x$GLIB_COMPILE_RESOURCES" = x"" |
| 20379 |
then : |
| 20380 |
|
| 20381 |
fi |
| 20382 |
|
| 20383 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5 |
| 20384 |
printf %s "checking for GLIB - version >= $min_glib_version... " >&6; } |
| 20385 |
|
| 20386 |
if test x$PKG_CONFIG != xno ; then |
| 20387 |
## don't try to run the test against uninstalled libtool libs |
| 20388 |
if $PKG_CONFIG --uninstalled $pkg_config_args; then |
| 20389 |
echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH" |
| 20390 |
enable_glibtest=no |
| 20391 |
fi |
| 20392 |
|
| 20393 |
if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then |
| 20394 |
: |
| 20395 |
else |
| 20396 |
no_glib=yes |
| 20397 |
fi |
| 20398 |
fi |
| 20399 |
|
| 20400 |
if test x"$no_glib" = x ; then |
| 20401 |
glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \ |
| 20402 |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` |
| 20403 |
glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \ |
| 20404 |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` |
| 20405 |
glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \ |
| 20406 |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` |
| 20407 |
if test "x$enable_glibtest" = "xyes" ; then |
| 20408 |
ac_save_CFLAGS="$CFLAGS" |
| 20409 |
ac_save_LIBS="$LIBS" |
| 20410 |
CFLAGS="$CFLAGS $GLIB_CFLAGS" |
| 20411 |
LIBS="$GLIB_LIBS $LIBS" |
| 20412 |
rm -f conf.glibtest |
| 20413 |
if test "$cross_compiling" = yes |
| 20414 |
then : |
| 20415 |
echo $ac_n "cross compiling; assumed OK... $ac_c" |
| 20416 |
else case e in #( |
| 20417 |
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20418 |
/* end confdefs.h. */ |
| 20419 |
|
| 20420 |
#include <glib.h> |
| 20421 |
#include <stdio.h> |
| 20422 |
#include <stdlib.h> |
| 20423 |
|
| 20424 |
int |
| 20425 |
main (void) |
| 20426 |
{ |
| 20427 |
unsigned int major, minor, micro; |
| 20428 |
|
| 20429 |
fclose (fopen ("conf.glibtest", "w")); |
| 20430 |
|
| 20431 |
if (sscanf("$min_glib_version", "%u.%u.%u", &major, &minor, µ) != 3) { |
| 20432 |
printf("%s, bad version string\n", "$min_glib_version"); |
| 20433 |
exit(1); |
| 20434 |
} |
| 20435 |
|
| 20436 |
if ((glib_major_version != $glib_config_major_version) || |
| 20437 |
(glib_minor_version != $glib_config_minor_version) || |
| 20438 |
(glib_micro_version != $glib_config_micro_version)) |
| 20439 |
{ |
| 20440 |
printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", |
| 20441 |
$glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version, |
| 20442 |
glib_major_version, glib_minor_version, glib_micro_version); |
| 20443 |
printf ("*** was found! If pkg-config was correct, then it is best\n"); |
| 20444 |
printf ("*** to remove the old version of GLib. You may also be able to fix the error\n"); |
| 20445 |
printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n"); |
| 20446 |
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); |
| 20447 |
printf("*** required on your system.\n"); |
| 20448 |
printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); |
| 20449 |
printf("*** to point to the correct configuration files\n"); |
| 20450 |
} |
| 20451 |
else if ((glib_major_version != GLIB_MAJOR_VERSION) || |
| 20452 |
(glib_minor_version != GLIB_MINOR_VERSION) || |
| 20453 |
(glib_micro_version != GLIB_MICRO_VERSION)) |
| 20454 |
{ |
| 20455 |
printf("*** GLib header files (version %d.%d.%d) do not match\n", |
| 20456 |
GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION); |
| 20457 |
printf("*** library (version %d.%d.%d)\n", |
| 20458 |
glib_major_version, glib_minor_version, glib_micro_version); |
| 20459 |
} |
| 20460 |
else |
| 20461 |
{ |
| 20462 |
if ((glib_major_version > major) || |
| 20463 |
((glib_major_version == major) && (glib_minor_version > minor)) || |
| 20464 |
((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro))) |
| 20465 |
{ |
| 20466 |
return 0; |
| 20467 |
} |
| 20468 |
else |
| 20469 |
{ |
| 20470 |
printf("\n*** An old version of GLib (%u.%u.%u) was found.\n", |
| 20471 |
glib_major_version, glib_minor_version, glib_micro_version); |
| 20472 |
printf("*** You need a version of GLib newer than %u.%u.%u. The latest version of\n", |
| 20473 |
major, minor, micro); |
| 20474 |
printf("*** GLib is always available from ftp://ftp.gtk.org.\n"); |
| 20475 |
printf("***\n"); |
| 20476 |
printf("*** If you have already installed a sufficiently new version, this error\n"); |
| 20477 |
printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); |
| 20478 |
printf("*** being found. The easiest way to fix this is to remove the old version\n"); |
| 20479 |
printf("*** of GLib, but you can also set the PKG_CONFIG environment to point to the\n"); |
| 20480 |
printf("*** correct copy of pkg-config. (In this case, you will have to\n"); |
| 20481 |
printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n"); |
| 20482 |
printf("*** so that the correct libraries are found at run-time))\n"); |
| 20483 |
} |
| 20484 |
} |
| 20485 |
return 1; |
| 20486 |
} |
| 20487 |
|
| 20488 |
_ACEOF |
| 20489 |
if ac_fn_c_try_run "$LINENO" |
| 20490 |
then : |
| 20491 |
|
| 20492 |
else case e in #( |
| 20493 |
e) no_glib=yes ;; |
| 20494 |
esac |
| 20495 |
fi |
| 20496 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 20497 |
conftest.$ac_objext conftest.beam conftest.$ac_ext ;; |
| 20498 |
esac |
| 20499 |
fi |
| 20500 |
|
| 20501 |
CFLAGS="$ac_save_CFLAGS" |
| 20502 |
LIBS="$ac_save_LIBS" |
| 20503 |
fi |
| 20504 |
fi |
| 20505 |
if test "x$no_glib" = x ; then |
| 20506 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5 |
| 20507 |
printf "%s\n" "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; } |
| 20508 |
: |
| 20509 |
else |
| 20510 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20511 |
printf "%s\n" "no" >&6; } |
| 20512 |
if test "$PKG_CONFIG" = "no" ; then |
| 20513 |
echo "*** A new enough version of pkg-config was not found." |
| 20514 |
echo "*** See http://www.freedesktop.org/software/pkgconfig/" |
| 20515 |
else |
| 20516 |
if test -f conf.glibtest ; then |
| 20517 |
: |
| 20518 |
else |
| 20519 |
echo "*** Could not run GLib test program, checking why..." |
| 20520 |
ac_save_CFLAGS="$CFLAGS" |
| 20521 |
ac_save_LIBS="$LIBS" |
| 20522 |
CFLAGS="$CFLAGS $GLIB_CFLAGS" |
| 20523 |
LIBS="$LIBS $GLIB_LIBS" |
| 20524 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 20525 |
/* end confdefs.h. */ |
| 20526 |
|
| 20527 |
#include <glib.h> |
| 20528 |
#include <stdio.h> |
| 20529 |
|
| 20530 |
int |
| 20531 |
main (void) |
| 20532 |
{ |
| 20533 |
return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); |
| 20534 |
; |
| 20535 |
return 0; |
| 20536 |
} |
| 20537 |
_ACEOF |
| 20538 |
if ac_fn_c_try_link "$LINENO" |
| 20539 |
then : |
| 20540 |
echo "*** The test program compiled, but did not run. This usually means" |
| 20541 |
echo "*** that the run-time linker is not finding GLib or finding the wrong" |
| 20542 |
echo "*** version of GLib. If it is not finding GLib, you'll need to set your" |
| 20543 |
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" |
| 20544 |
echo "*** to the installed location Also, make sure you have run ldconfig if that" |
| 20545 |
echo "*** is required on your system" |
| 20546 |
echo "***" |
| 20547 |
echo "*** If you have an old version installed, it is best to remove it, although" |
| 20548 |
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" |
| 20549 |
else case e in #( |
| 20550 |
e) echo "*** The test program failed to compile or link. See the file config.log for the" |
| 20551 |
echo "*** exact error that occurred. This usually means GLib is incorrectly installed." ;; |
| 20552 |
esac |
| 20553 |
fi |
| 20554 |
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
| 20555 |
conftest$ac_exeext conftest.$ac_ext |
| 20556 |
CFLAGS="$ac_save_CFLAGS" |
| 20557 |
LIBS="$ac_save_LIBS" |
| 20558 |
fi |
| 20559 |
fi |
| 20560 |
GLIB_CFLAGS="" |
| 20561 |
GLIB_LIBS="" |
| 20562 |
GLIB_GENMARSHAL="" |
| 20563 |
GOBJECT_QUERY="" |
| 20564 |
GLIB_MKENUMS="" |
| 20565 |
GLIB_COMPILE_RESOURCES="" |
| 20566 |
: |
| 20567 |
fi |
| 20568 |
rm -f conf.glibtest |
| 20569 |
|
| 20570 |
|
| 20571 |
pkg_failed=no |
| 20572 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for |
| 20573 |
glib-2.0 >= 2.46.0 |
| 20574 |
" >&5 |
| 20575 |
printf %s "checking for |
| 20576 |
glib-2.0 >= 2.46.0 |
| 20577 |
... " >&6; } |
| 20578 |
|
| 20579 |
if test -n "$GLIB2_CFLAGS"; then |
| 20580 |
pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS" |
| 20581 |
elif test -n "$PKG_CONFIG"; then |
| 20582 |
if test -n "$PKG_CONFIG" && \ |
| 20583 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 20584 |
glib-2.0 >= 2.46.0 |
| 20585 |
\""; } >&5 |
| 20586 |
($PKG_CONFIG --exists --print-errors " |
| 20587 |
glib-2.0 >= 2.46.0 |
| 20588 |
") 2>&5 |
| 20589 |
ac_status=$? |
| 20590 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20591 |
test $ac_status = 0; }; then |
| 20592 |
pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags " |
| 20593 |
glib-2.0 >= 2.46.0 |
| 20594 |
" 2>/dev/null` |
| 20595 |
test "x$?" != "x0" && pkg_failed=yes |
| 20596 |
else |
| 20597 |
pkg_failed=yes |
| 20598 |
fi |
| 20599 |
else |
| 20600 |
pkg_failed=untried |
| 20601 |
fi |
| 20602 |
if test -n "$GLIB2_LIBS"; then |
| 20603 |
pkg_cv_GLIB2_LIBS="$GLIB2_LIBS" |
| 20604 |
elif test -n "$PKG_CONFIG"; then |
| 20605 |
if test -n "$PKG_CONFIG" && \ |
| 20606 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 20607 |
glib-2.0 >= 2.46.0 |
| 20608 |
\""; } >&5 |
| 20609 |
($PKG_CONFIG --exists --print-errors " |
| 20610 |
glib-2.0 >= 2.46.0 |
| 20611 |
") 2>&5 |
| 20612 |
ac_status=$? |
| 20613 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20614 |
test $ac_status = 0; }; then |
| 20615 |
pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs " |
| 20616 |
glib-2.0 >= 2.46.0 |
| 20617 |
" 2>/dev/null` |
| 20618 |
test "x$?" != "x0" && pkg_failed=yes |
| 20619 |
else |
| 20620 |
pkg_failed=yes |
| 20621 |
fi |
| 20622 |
else |
| 20623 |
pkg_failed=untried |
| 20624 |
fi |
| 20625 |
|
| 20626 |
|
| 20627 |
|
| 20628 |
if test $pkg_failed = yes; then |
| 20629 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20630 |
printf "%s\n" "no" >&6; } |
| 20631 |
|
| 20632 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 20633 |
_pkg_short_errors_supported=yes |
| 20634 |
else |
| 20635 |
_pkg_short_errors_supported=no |
| 20636 |
fi |
| 20637 |
if test $_pkg_short_errors_supported = yes; then |
| 20638 |
GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " |
| 20639 |
glib-2.0 >= 2.46.0 |
| 20640 |
" 2>&1` |
| 20641 |
else |
| 20642 |
GLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " |
| 20643 |
glib-2.0 >= 2.46.0 |
| 20644 |
" 2>&1` |
| 20645 |
fi |
| 20646 |
# Put the nasty error message in config.log where it belongs |
| 20647 |
echo "$GLIB2_PKG_ERRORS" >&5 |
| 20648 |
|
| 20649 |
as_fn_error $? "Package requirements ( |
| 20650 |
glib-2.0 >= 2.46.0 |
| 20651 |
) were not met: |
| 20652 |
|
| 20653 |
$GLIB2_PKG_ERRORS |
| 20654 |
|
| 20655 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 20656 |
installed software in a non-standard prefix. |
| 20657 |
|
| 20658 |
Alternatively, you may set the environment variables GLIB2_CFLAGS |
| 20659 |
and GLIB2_LIBS to avoid the need to call pkg-config. |
| 20660 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 20661 |
elif test $pkg_failed = untried; then |
| 20662 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20663 |
printf "%s\n" "no" >&6; } |
| 20664 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 20665 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 20666 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 20667 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 20668 |
path to pkg-config. |
| 20669 |
|
| 20670 |
Alternatively, you may set the environment variables GLIB2_CFLAGS |
| 20671 |
and GLIB2_LIBS to avoid the need to call pkg-config. |
| 20672 |
See the pkg-config man page for more details. |
| 20673 |
|
| 20674 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 20675 |
See 'config.log' for more details" "$LINENO" 5; } |
| 20676 |
else |
| 20677 |
GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS |
| 20678 |
GLIB2_LIBS=$pkg_cv_GLIB2_LIBS |
| 20679 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 20680 |
printf "%s\n" "yes" >&6; } |
| 20681 |
|
| 20682 |
fi |
| 20683 |
|
| 20684 |
pkg_failed=no |
| 20685 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for |
| 20686 |
gobject-2.0 >= 2.46.0 |
| 20687 |
" >&5 |
| 20688 |
printf %s "checking for |
| 20689 |
gobject-2.0 >= 2.46.0 |
| 20690 |
... " >&6; } |
| 20691 |
|
| 20692 |
if test -n "$GOBJECT2_CFLAGS"; then |
| 20693 |
pkg_cv_GOBJECT2_CFLAGS="$GOBJECT2_CFLAGS" |
| 20694 |
elif test -n "$PKG_CONFIG"; then |
| 20695 |
if test -n "$PKG_CONFIG" && \ |
| 20696 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 20697 |
gobject-2.0 >= 2.46.0 |
| 20698 |
\""; } >&5 |
| 20699 |
($PKG_CONFIG --exists --print-errors " |
| 20700 |
gobject-2.0 >= 2.46.0 |
| 20701 |
") 2>&5 |
| 20702 |
ac_status=$? |
| 20703 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20704 |
test $ac_status = 0; }; then |
| 20705 |
pkg_cv_GOBJECT2_CFLAGS=`$PKG_CONFIG --cflags " |
| 20706 |
gobject-2.0 >= 2.46.0 |
| 20707 |
" 2>/dev/null` |
| 20708 |
test "x$?" != "x0" && pkg_failed=yes |
| 20709 |
else |
| 20710 |
pkg_failed=yes |
| 20711 |
fi |
| 20712 |
else |
| 20713 |
pkg_failed=untried |
| 20714 |
fi |
| 20715 |
if test -n "$GOBJECT2_LIBS"; then |
| 20716 |
pkg_cv_GOBJECT2_LIBS="$GOBJECT2_LIBS" |
| 20717 |
elif test -n "$PKG_CONFIG"; then |
| 20718 |
if test -n "$PKG_CONFIG" && \ |
| 20719 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 20720 |
gobject-2.0 >= 2.46.0 |
| 20721 |
\""; } >&5 |
| 20722 |
($PKG_CONFIG --exists --print-errors " |
| 20723 |
gobject-2.0 >= 2.46.0 |
| 20724 |
") 2>&5 |
| 20725 |
ac_status=$? |
| 20726 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20727 |
test $ac_status = 0; }; then |
| 20728 |
pkg_cv_GOBJECT2_LIBS=`$PKG_CONFIG --libs " |
| 20729 |
gobject-2.0 >= 2.46.0 |
| 20730 |
" 2>/dev/null` |
| 20731 |
test "x$?" != "x0" && pkg_failed=yes |
| 20732 |
else |
| 20733 |
pkg_failed=yes |
| 20734 |
fi |
| 20735 |
else |
| 20736 |
pkg_failed=untried |
| 20737 |
fi |
| 20738 |
|
| 20739 |
|
| 20740 |
|
| 20741 |
if test $pkg_failed = yes; then |
| 20742 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20743 |
printf "%s\n" "no" >&6; } |
| 20744 |
|
| 20745 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 20746 |
_pkg_short_errors_supported=yes |
| 20747 |
else |
| 20748 |
_pkg_short_errors_supported=no |
| 20749 |
fi |
| 20750 |
if test $_pkg_short_errors_supported = yes; then |
| 20751 |
GOBJECT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " |
| 20752 |
gobject-2.0 >= 2.46.0 |
| 20753 |
" 2>&1` |
| 20754 |
else |
| 20755 |
GOBJECT2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " |
| 20756 |
gobject-2.0 >= 2.46.0 |
| 20757 |
" 2>&1` |
| 20758 |
fi |
| 20759 |
# Put the nasty error message in config.log where it belongs |
| 20760 |
echo "$GOBJECT2_PKG_ERRORS" >&5 |
| 20761 |
|
| 20762 |
as_fn_error $? "Package requirements ( |
| 20763 |
gobject-2.0 >= 2.46.0 |
| 20764 |
) were not met: |
| 20765 |
|
| 20766 |
$GOBJECT2_PKG_ERRORS |
| 20767 |
|
| 20768 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 20769 |
installed software in a non-standard prefix. |
| 20770 |
|
| 20771 |
Alternatively, you may set the environment variables GOBJECT2_CFLAGS |
| 20772 |
and GOBJECT2_LIBS to avoid the need to call pkg-config. |
| 20773 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 20774 |
elif test $pkg_failed = untried; then |
| 20775 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20776 |
printf "%s\n" "no" >&6; } |
| 20777 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 20778 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 20779 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 20780 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 20781 |
path to pkg-config. |
| 20782 |
|
| 20783 |
Alternatively, you may set the environment variables GOBJECT2_CFLAGS |
| 20784 |
and GOBJECT2_LIBS to avoid the need to call pkg-config. |
| 20785 |
See the pkg-config man page for more details. |
| 20786 |
|
| 20787 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 20788 |
See 'config.log' for more details" "$LINENO" 5; } |
| 20789 |
else |
| 20790 |
GOBJECT2_CFLAGS=$pkg_cv_GOBJECT2_CFLAGS |
| 20791 |
GOBJECT2_LIBS=$pkg_cv_GOBJECT2_LIBS |
| 20792 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 20793 |
printf "%s\n" "yes" >&6; } |
| 20794 |
|
| 20795 |
fi |
| 20796 |
|
| 20797 |
pkg_failed=no |
| 20798 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for |
| 20799 |
gio-2.0 gio-unix-2.0 >= 2.46.0 |
| 20800 |
" >&5 |
| 20801 |
printf %s "checking for |
| 20802 |
gio-2.0 gio-unix-2.0 >= 2.46.0 |
| 20803 |
... " >&6; } |
| 20804 |
|
| 20805 |
if test -n "$GIO2_CFLAGS"; then |
| 20806 |
pkg_cv_GIO2_CFLAGS="$GIO2_CFLAGS" |
| 20807 |
elif test -n "$PKG_CONFIG"; then |
| 20808 |
if test -n "$PKG_CONFIG" && \ |
| 20809 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 20810 |
gio-2.0 gio-unix-2.0 >= 2.46.0 |
| 20811 |
\""; } >&5 |
| 20812 |
($PKG_CONFIG --exists --print-errors " |
| 20813 |
gio-2.0 gio-unix-2.0 >= 2.46.0 |
| 20814 |
") 2>&5 |
| 20815 |
ac_status=$? |
| 20816 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20817 |
test $ac_status = 0; }; then |
| 20818 |
pkg_cv_GIO2_CFLAGS=`$PKG_CONFIG --cflags " |
| 20819 |
gio-2.0 gio-unix-2.0 >= 2.46.0 |
| 20820 |
" 2>/dev/null` |
| 20821 |
test "x$?" != "x0" && pkg_failed=yes |
| 20822 |
else |
| 20823 |
pkg_failed=yes |
| 20824 |
fi |
| 20825 |
else |
| 20826 |
pkg_failed=untried |
| 20827 |
fi |
| 20828 |
if test -n "$GIO2_LIBS"; then |
| 20829 |
pkg_cv_GIO2_LIBS="$GIO2_LIBS" |
| 20830 |
elif test -n "$PKG_CONFIG"; then |
| 20831 |
if test -n "$PKG_CONFIG" && \ |
| 20832 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 20833 |
gio-2.0 gio-unix-2.0 >= 2.46.0 |
| 20834 |
\""; } >&5 |
| 20835 |
($PKG_CONFIG --exists --print-errors " |
| 20836 |
gio-2.0 gio-unix-2.0 >= 2.46.0 |
| 20837 |
") 2>&5 |
| 20838 |
ac_status=$? |
| 20839 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20840 |
test $ac_status = 0; }; then |
| 20841 |
pkg_cv_GIO2_LIBS=`$PKG_CONFIG --libs " |
| 20842 |
gio-2.0 gio-unix-2.0 >= 2.46.0 |
| 20843 |
" 2>/dev/null` |
| 20844 |
test "x$?" != "x0" && pkg_failed=yes |
| 20845 |
else |
| 20846 |
pkg_failed=yes |
| 20847 |
fi |
| 20848 |
else |
| 20849 |
pkg_failed=untried |
| 20850 |
fi |
| 20851 |
|
| 20852 |
|
| 20853 |
|
| 20854 |
if test $pkg_failed = yes; then |
| 20855 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20856 |
printf "%s\n" "no" >&6; } |
| 20857 |
|
| 20858 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 20859 |
_pkg_short_errors_supported=yes |
| 20860 |
else |
| 20861 |
_pkg_short_errors_supported=no |
| 20862 |
fi |
| 20863 |
if test $_pkg_short_errors_supported = yes; then |
| 20864 |
GIO2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " |
| 20865 |
gio-2.0 gio-unix-2.0 >= 2.46.0 |
| 20866 |
" 2>&1` |
| 20867 |
else |
| 20868 |
GIO2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " |
| 20869 |
gio-2.0 gio-unix-2.0 >= 2.46.0 |
| 20870 |
" 2>&1` |
| 20871 |
fi |
| 20872 |
# Put the nasty error message in config.log where it belongs |
| 20873 |
echo "$GIO2_PKG_ERRORS" >&5 |
| 20874 |
|
| 20875 |
as_fn_error $? "Package requirements ( |
| 20876 |
gio-2.0 gio-unix-2.0 >= 2.46.0 |
| 20877 |
) were not met: |
| 20878 |
|
| 20879 |
$GIO2_PKG_ERRORS |
| 20880 |
|
| 20881 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 20882 |
installed software in a non-standard prefix. |
| 20883 |
|
| 20884 |
Alternatively, you may set the environment variables GIO2_CFLAGS |
| 20885 |
and GIO2_LIBS to avoid the need to call pkg-config. |
| 20886 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 20887 |
elif test $pkg_failed = untried; then |
| 20888 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20889 |
printf "%s\n" "no" >&6; } |
| 20890 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 20891 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 20892 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 20893 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 20894 |
path to pkg-config. |
| 20895 |
|
| 20896 |
Alternatively, you may set the environment variables GIO2_CFLAGS |
| 20897 |
and GIO2_LIBS to avoid the need to call pkg-config. |
| 20898 |
See the pkg-config man page for more details. |
| 20899 |
|
| 20900 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 20901 |
See 'config.log' for more details" "$LINENO" 5; } |
| 20902 |
else |
| 20903 |
GIO2_CFLAGS=$pkg_cv_GIO2_CFLAGS |
| 20904 |
GIO2_LIBS=$pkg_cv_GIO2_LIBS |
| 20905 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 20906 |
printf "%s\n" "yes" >&6; } |
| 20907 |
|
| 20908 |
fi |
| 20909 |
|
| 20910 |
pkg_failed=no |
| 20911 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for |
| 20912 |
gthread-2.0 >= 2.46.0 |
| 20913 |
" >&5 |
| 20914 |
printf %s "checking for |
| 20915 |
gthread-2.0 >= 2.46.0 |
| 20916 |
... " >&6; } |
| 20917 |
|
| 20918 |
if test -n "$GTHREAD2_CFLAGS"; then |
| 20919 |
pkg_cv_GTHREAD2_CFLAGS="$GTHREAD2_CFLAGS" |
| 20920 |
elif test -n "$PKG_CONFIG"; then |
| 20921 |
if test -n "$PKG_CONFIG" && \ |
| 20922 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 20923 |
gthread-2.0 >= 2.46.0 |
| 20924 |
\""; } >&5 |
| 20925 |
($PKG_CONFIG --exists --print-errors " |
| 20926 |
gthread-2.0 >= 2.46.0 |
| 20927 |
") 2>&5 |
| 20928 |
ac_status=$? |
| 20929 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20930 |
test $ac_status = 0; }; then |
| 20931 |
pkg_cv_GTHREAD2_CFLAGS=`$PKG_CONFIG --cflags " |
| 20932 |
gthread-2.0 >= 2.46.0 |
| 20933 |
" 2>/dev/null` |
| 20934 |
test "x$?" != "x0" && pkg_failed=yes |
| 20935 |
else |
| 20936 |
pkg_failed=yes |
| 20937 |
fi |
| 20938 |
else |
| 20939 |
pkg_failed=untried |
| 20940 |
fi |
| 20941 |
if test -n "$GTHREAD2_LIBS"; then |
| 20942 |
pkg_cv_GTHREAD2_LIBS="$GTHREAD2_LIBS" |
| 20943 |
elif test -n "$PKG_CONFIG"; then |
| 20944 |
if test -n "$PKG_CONFIG" && \ |
| 20945 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 20946 |
gthread-2.0 >= 2.46.0 |
| 20947 |
\""; } >&5 |
| 20948 |
($PKG_CONFIG --exists --print-errors " |
| 20949 |
gthread-2.0 >= 2.46.0 |
| 20950 |
") 2>&5 |
| 20951 |
ac_status=$? |
| 20952 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 20953 |
test $ac_status = 0; }; then |
| 20954 |
pkg_cv_GTHREAD2_LIBS=`$PKG_CONFIG --libs " |
| 20955 |
gthread-2.0 >= 2.46.0 |
| 20956 |
" 2>/dev/null` |
| 20957 |
test "x$?" != "x0" && pkg_failed=yes |
| 20958 |
else |
| 20959 |
pkg_failed=yes |
| 20960 |
fi |
| 20961 |
else |
| 20962 |
pkg_failed=untried |
| 20963 |
fi |
| 20964 |
|
| 20965 |
|
| 20966 |
|
| 20967 |
if test $pkg_failed = yes; then |
| 20968 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 20969 |
printf "%s\n" "no" >&6; } |
| 20970 |
|
| 20971 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 20972 |
_pkg_short_errors_supported=yes |
| 20973 |
else |
| 20974 |
_pkg_short_errors_supported=no |
| 20975 |
fi |
| 20976 |
if test $_pkg_short_errors_supported = yes; then |
| 20977 |
GTHREAD2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " |
| 20978 |
gthread-2.0 >= 2.46.0 |
| 20979 |
" 2>&1` |
| 20980 |
else |
| 20981 |
GTHREAD2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " |
| 20982 |
gthread-2.0 >= 2.46.0 |
| 20983 |
" 2>&1` |
| 20984 |
fi |
| 20985 |
# Put the nasty error message in config.log where it belongs |
| 20986 |
echo "$GTHREAD2_PKG_ERRORS" >&5 |
| 20987 |
|
| 20988 |
as_fn_error $? "Package requirements ( |
| 20989 |
gthread-2.0 >= 2.46.0 |
| 20990 |
) were not met: |
| 20991 |
|
| 20992 |
$GTHREAD2_PKG_ERRORS |
| 20993 |
|
| 20994 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 20995 |
installed software in a non-standard prefix. |
| 20996 |
|
| 20997 |
Alternatively, you may set the environment variables GTHREAD2_CFLAGS |
| 20998 |
and GTHREAD2_LIBS to avoid the need to call pkg-config. |
| 20999 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 21000 |
elif test $pkg_failed = untried; then |
| 21001 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21002 |
printf "%s\n" "no" >&6; } |
| 21003 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 21004 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 21005 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 21006 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 21007 |
path to pkg-config. |
| 21008 |
|
| 21009 |
Alternatively, you may set the environment variables GTHREAD2_CFLAGS |
| 21010 |
and GTHREAD2_LIBS to avoid the need to call pkg-config. |
| 21011 |
See the pkg-config man page for more details. |
| 21012 |
|
| 21013 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 21014 |
See 'config.log' for more details" "$LINENO" 5; } |
| 21015 |
else |
| 21016 |
GTHREAD2_CFLAGS=$pkg_cv_GTHREAD2_CFLAGS |
| 21017 |
GTHREAD2_LIBS=$pkg_cv_GTHREAD2_LIBS |
| 21018 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 21019 |
printf "%s\n" "yes" >&6; } |
| 21020 |
|
| 21021 |
fi |
| 21022 |
if test -n "$PKG_CONFIG" && \ |
| 21023 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.65.0\""; } >&5 |
| 21024 |
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.65.0") 2>&5 |
| 21025 |
ac_status=$? |
| 21026 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 21027 |
test $ac_status = 0; }; then |
| 21028 |
|
| 21029 |
printf "%s\n" "#define GLIB2_EMBED_ERRNO_H TRUE" >>confdefs.h |
| 21030 |
|
| 21031 |
|
| 21032 |
fi |
| 21033 |
|
| 21034 |
|
| 21035 |
if test "x$cross_compiling" = "xyes"; then |
| 21036 |
|
| 21037 |
|
| 21038 |
|
| 21039 |
if test "x$ac_cv_env_PKG_CONFIG_FOR_BUILD_set" != "xset"; then |
| 21040 |
# Extract the first word of "pkg-config", so it can be a program name with args. |
| 21041 |
set dummy pkg-config; ac_word=$2 |
| 21042 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 21043 |
printf %s "checking for $ac_word... " >&6; } |
| 21044 |
if test ${ac_cv_path_PKG_CONFIG_FOR_BUILD+y} |
| 21045 |
then : |
| 21046 |
printf %s "(cached) " >&6 |
| 21047 |
else case e in #( |
| 21048 |
e) case $PKG_CONFIG_FOR_BUILD in |
| 21049 |
[\\/]* | ?:[\\/]*) |
| 21050 |
ac_cv_path_PKG_CONFIG_FOR_BUILD="$PKG_CONFIG_FOR_BUILD" # Let the user override the test with a path. |
| 21051 |
;; |
| 21052 |
*) |
| 21053 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 21054 |
for as_dir in $PATH |
| 21055 |
do |
| 21056 |
IFS=$as_save_IFS |
| 21057 |
case $as_dir in #((( |
| 21058 |
'') as_dir=./ ;; |
| 21059 |
*/) ;; |
| 21060 |
*) as_dir=$as_dir/ ;; |
| 21061 |
esac |
| 21062 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 21063 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 21064 |
ac_cv_path_PKG_CONFIG_FOR_BUILD="$as_dir$ac_word$ac_exec_ext" |
| 21065 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 21066 |
break 2 |
| 21067 |
fi |
| 21068 |
done |
| 21069 |
done |
| 21070 |
IFS=$as_save_IFS |
| 21071 |
|
| 21072 |
;; |
| 21073 |
esac ;; |
| 21074 |
esac |
| 21075 |
fi |
| 21076 |
PKG_CONFIG_FOR_BUILD=$ac_cv_path_PKG_CONFIG_FOR_BUILD |
| 21077 |
if test -n "$PKG_CONFIG_FOR_BUILD"; then |
| 21078 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG_FOR_BUILD" >&5 |
| 21079 |
printf "%s\n" "$PKG_CONFIG_FOR_BUILD" >&6; } |
| 21080 |
else |
| 21081 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21082 |
printf "%s\n" "no" >&6; } |
| 21083 |
fi |
| 21084 |
|
| 21085 |
|
| 21086 |
fi |
| 21087 |
if test -n "$PKG_CONFIG_FOR_BUILD"; then |
| 21088 |
_pkg_for_build_min_version=0.9.0 |
| 21089 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system's pkg-config is at least version $_pkg_min_version" >&5 |
| 21090 |
printf %s "checking build system's pkg-config is at least version $_pkg_min_version... " >&6; } |
| 21091 |
if $PKG_CONFIG_FOR_BUILD --atleast-pkgconfig-version $_pkg_min_version; then |
| 21092 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 21093 |
printf "%s\n" "yes" >&6; } |
| 21094 |
else |
| 21095 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21096 |
printf "%s\n" "no" >&6; } |
| 21097 |
PKG_CONFIG_FOR_BUILD="" |
| 21098 |
fi |
| 21099 |
fi |
| 21100 |
GLIB_CFLAGS_FOR_BUILD=`$PKG_CONFIG_FOR_BUILD --cflags glib-2.0 gobject-2.0 gio-2.0 gio-unix-2.0 gthread-2.0` |
| 21101 |
GLIB_LIBS_FOR_BUILD=`$PKG_CONFIG_FOR_BUILD --libs glib-2.0 gobject-2.0 gio-2.0 gio-unix-2.0 gthread-2.0` |
| 21102 |
|
| 21103 |
|
| 21104 |
fi |
| 21105 |
|
| 21106 |
# --disable-tests option. |
| 21107 |
# Check whether --enable-tests was given. |
| 21108 |
if test ${enable_tests+y} |
| 21109 |
then : |
| 21110 |
enableval=$enable_tests; enable_tests=$enableval |
| 21111 |
else case e in #( |
| 21112 |
e) enable_tests=yes |
| 21113 |
;; |
| 21114 |
esac |
| 21115 |
fi |
| 21116 |
|
| 21117 |
if test x"$enable_tests" = x"yes"; then |
| 21118 |
ENABLE_TESTS_TRUE= |
| 21119 |
ENABLE_TESTS_FALSE='#' |
| 21120 |
else |
| 21121 |
ENABLE_TESTS_TRUE='#' |
| 21122 |
ENABLE_TESTS_FALSE= |
| 21123 |
fi |
| 21124 |
|
| 21125 |
if test x"$enable_tests" != x"yes"; then |
| 21126 |
enable_tests="no (disabled, use --enable-tests to enable)" |
| 21127 |
fi |
| 21128 |
|
| 21129 |
# --disable-gtk2 option. |
| 21130 |
# Check whether --enable-gtk2 was given. |
| 21131 |
if test ${enable_gtk2+y} |
| 21132 |
then : |
| 21133 |
enableval=$enable_gtk2; enable_gtk2=$enableval |
| 21134 |
else case e in #( |
| 21135 |
e) enable_gtk2=yes |
| 21136 |
;; |
| 21137 |
esac |
| 21138 |
fi |
| 21139 |
|
| 21140 |
if test x"$enable_gtk2" = x"yes"; then |
| 21141 |
ENABLE_GTK2_TRUE= |
| 21142 |
ENABLE_GTK2_FALSE='#' |
| 21143 |
else |
| 21144 |
ENABLE_GTK2_TRUE='#' |
| 21145 |
ENABLE_GTK2_FALSE= |
| 21146 |
fi |
| 21147 |
|
| 21148 |
|
| 21149 |
# --disable-gtk3 option. |
| 21150 |
# Check whether --enable-gtk3 was given. |
| 21151 |
if test ${enable_gtk3+y} |
| 21152 |
then : |
| 21153 |
enableval=$enable_gtk3; enable_gtk3=$enableval |
| 21154 |
else case e in #( |
| 21155 |
e) enable_gtk3=yes |
| 21156 |
;; |
| 21157 |
esac |
| 21158 |
fi |
| 21159 |
|
| 21160 |
if test x"$enable_gtk3" = x"yes"; then |
| 21161 |
ENABLE_GTK3_TRUE= |
| 21162 |
ENABLE_GTK3_FALSE='#' |
| 21163 |
else |
| 21164 |
ENABLE_GTK3_TRUE='#' |
| 21165 |
ENABLE_GTK3_FALSE= |
| 21166 |
fi |
| 21167 |
|
| 21168 |
|
| 21169 |
# --enable-gtk4 option. |
| 21170 |
# Check whether --enable-gtk4 was given. |
| 21171 |
if test ${enable_gtk4+y} |
| 21172 |
then : |
| 21173 |
enableval=$enable_gtk4; enable_gtk4=$enableval |
| 21174 |
else case e in #( |
| 21175 |
e) enable_gtk4=yes |
| 21176 |
;; |
| 21177 |
esac |
| 21178 |
fi |
| 21179 |
|
| 21180 |
if test x"$enable_gtk4" = x"yes"; then |
| 21181 |
ENABLE_GTK4_TRUE= |
| 21182 |
ENABLE_GTK4_FALSE='#' |
| 21183 |
else |
| 21184 |
ENABLE_GTK4_TRUE='#' |
| 21185 |
ENABLE_GTK4_FALSE= |
| 21186 |
fi |
| 21187 |
|
| 21188 |
|
| 21189 |
if test x"$enable_gtk3" = x"yes" || test x"$enable_gtk4" = x"yes"; then |
| 21190 |
ENABLE_GTK3_OR_4_TRUE= |
| 21191 |
ENABLE_GTK3_OR_4_FALSE='#' |
| 21192 |
else |
| 21193 |
ENABLE_GTK3_OR_4_TRUE='#' |
| 21194 |
ENABLE_GTK3_OR_4_FALSE= |
| 21195 |
fi |
| 21196 |
|
| 21197 |
|
| 21198 |
# --disable-xim option. |
| 21199 |
# Check whether --enable-xim was given. |
| 21200 |
if test ${enable_xim+y} |
| 21201 |
then : |
| 21202 |
enableval=$enable_xim; enable_xim=$enableval |
| 21203 |
else case e in #( |
| 21204 |
e) enable_xim=yes |
| 21205 |
;; |
| 21206 |
esac |
| 21207 |
fi |
| 21208 |
|
| 21209 |
if test x"$enable_xim" = x"yes"; then |
| 21210 |
ENABLE_XIM_TRUE= |
| 21211 |
ENABLE_XIM_FALSE='#' |
| 21212 |
else |
| 21213 |
ENABLE_XIM_TRUE='#' |
| 21214 |
ENABLE_XIM_FALSE= |
| 21215 |
fi |
| 21216 |
|
| 21217 |
|
| 21218 |
# --enable-wayland option. |
| 21219 |
# Check whether --enable-wayland was given. |
| 21220 |
if test ${enable_wayland+y} |
| 21221 |
then : |
| 21222 |
enableval=$enable_wayland; enable_wayland=$enableval |
| 21223 |
else case e in #( |
| 21224 |
e) enable_wayland=yes |
| 21225 |
;; |
| 21226 |
esac |
| 21227 |
fi |
| 21228 |
|
| 21229 |
if test x"$enable_wayland" = x"yes"; then |
| 21230 |
ENABLE_WAYLAND_TRUE= |
| 21231 |
ENABLE_WAYLAND_FALSE='#' |
| 21232 |
else |
| 21233 |
ENABLE_WAYLAND_TRUE='#' |
| 21234 |
ENABLE_WAYLAND_FALSE= |
| 21235 |
fi |
| 21236 |
|
| 21237 |
|
| 21238 |
# --enable-appindicator option. |
| 21239 |
# Check whether --enable-appindicator was given. |
| 21240 |
if test ${enable_appindicator+y} |
| 21241 |
then : |
| 21242 |
enableval=$enable_appindicator; enable_appindicator=$enableval |
| 21243 |
else case e in #( |
| 21244 |
e) enable_appindicator=yes |
| 21245 |
;; |
| 21246 |
esac |
| 21247 |
fi |
| 21248 |
|
| 21249 |
if test x"$enable_appindicator" = x"yes"; then |
| 21250 |
ENABLE_APPINDICATOR_TRUE= |
| 21251 |
ENABLE_APPINDICATOR_FALSE='#' |
| 21252 |
else |
| 21253 |
ENABLE_APPINDICATOR_TRUE='#' |
| 21254 |
ENABLE_APPINDICATOR_FALSE= |
| 21255 |
fi |
| 21256 |
|
| 21257 |
|
| 21258 |
if test x"$enable_gtk2" = x"yes"; then |
| 21259 |
# check for gtk2 |
| 21260 |
|
| 21261 |
pkg_failed=no |
| 21262 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for |
| 21263 |
gtk+-2.0 |
| 21264 |
" >&5 |
| 21265 |
printf %s "checking for |
| 21266 |
gtk+-2.0 |
| 21267 |
... " >&6; } |
| 21268 |
|
| 21269 |
if test -n "$GTK2_CFLAGS"; then |
| 21270 |
pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS" |
| 21271 |
elif test -n "$PKG_CONFIG"; then |
| 21272 |
if test -n "$PKG_CONFIG" && \ |
| 21273 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 21274 |
gtk+-2.0 |
| 21275 |
\""; } >&5 |
| 21276 |
($PKG_CONFIG --exists --print-errors " |
| 21277 |
gtk+-2.0 |
| 21278 |
") 2>&5 |
| 21279 |
ac_status=$? |
| 21280 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 21281 |
test $ac_status = 0; }; then |
| 21282 |
pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags " |
| 21283 |
gtk+-2.0 |
| 21284 |
" 2>/dev/null` |
| 21285 |
test "x$?" != "x0" && pkg_failed=yes |
| 21286 |
else |
| 21287 |
pkg_failed=yes |
| 21288 |
fi |
| 21289 |
else |
| 21290 |
pkg_failed=untried |
| 21291 |
fi |
| 21292 |
if test -n "$GTK2_LIBS"; then |
| 21293 |
pkg_cv_GTK2_LIBS="$GTK2_LIBS" |
| 21294 |
elif test -n "$PKG_CONFIG"; then |
| 21295 |
if test -n "$PKG_CONFIG" && \ |
| 21296 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 21297 |
gtk+-2.0 |
| 21298 |
\""; } >&5 |
| 21299 |
($PKG_CONFIG --exists --print-errors " |
| 21300 |
gtk+-2.0 |
| 21301 |
") 2>&5 |
| 21302 |
ac_status=$? |
| 21303 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 21304 |
test $ac_status = 0; }; then |
| 21305 |
pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs " |
| 21306 |
gtk+-2.0 |
| 21307 |
" 2>/dev/null` |
| 21308 |
test "x$?" != "x0" && pkg_failed=yes |
| 21309 |
else |
| 21310 |
pkg_failed=yes |
| 21311 |
fi |
| 21312 |
else |
| 21313 |
pkg_failed=untried |
| 21314 |
fi |
| 21315 |
|
| 21316 |
|
| 21317 |
|
| 21318 |
if test $pkg_failed = yes; then |
| 21319 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21320 |
printf "%s\n" "no" >&6; } |
| 21321 |
|
| 21322 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 21323 |
_pkg_short_errors_supported=yes |
| 21324 |
else |
| 21325 |
_pkg_short_errors_supported=no |
| 21326 |
fi |
| 21327 |
if test $_pkg_short_errors_supported = yes; then |
| 21328 |
GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " |
| 21329 |
gtk+-2.0 |
| 21330 |
" 2>&1` |
| 21331 |
else |
| 21332 |
GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " |
| 21333 |
gtk+-2.0 |
| 21334 |
" 2>&1` |
| 21335 |
fi |
| 21336 |
# Put the nasty error message in config.log where it belongs |
| 21337 |
echo "$GTK2_PKG_ERRORS" >&5 |
| 21338 |
|
| 21339 |
as_fn_error $? "Package requirements ( |
| 21340 |
gtk+-2.0 |
| 21341 |
) were not met: |
| 21342 |
|
| 21343 |
$GTK2_PKG_ERRORS |
| 21344 |
|
| 21345 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 21346 |
installed software in a non-standard prefix. |
| 21347 |
|
| 21348 |
Alternatively, you may set the environment variables GTK2_CFLAGS |
| 21349 |
and GTK2_LIBS to avoid the need to call pkg-config. |
| 21350 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 21351 |
elif test $pkg_failed = untried; then |
| 21352 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21353 |
printf "%s\n" "no" >&6; } |
| 21354 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 21355 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 21356 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 21357 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 21358 |
path to pkg-config. |
| 21359 |
|
| 21360 |
Alternatively, you may set the environment variables GTK2_CFLAGS |
| 21361 |
and GTK2_LIBS to avoid the need to call pkg-config. |
| 21362 |
See the pkg-config man page for more details. |
| 21363 |
|
| 21364 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 21365 |
See 'config.log' for more details" "$LINENO" 5; } |
| 21366 |
else |
| 21367 |
GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS |
| 21368 |
GTK2_LIBS=$pkg_cv_GTK2_LIBS |
| 21369 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 21370 |
printf "%s\n" "yes" >&6; } |
| 21371 |
|
| 21372 |
fi |
| 21373 |
|
| 21374 |
gtk2_binary_version=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0` |
| 21375 |
GTK2_IM_MODULEDIR="$libdir"/gtk-2.0/$gtk2_binary_version/immodules |
| 21376 |
enable_gtk2="yes (enabled, use --disable-gtk2 to disable)" |
| 21377 |
fi |
| 21378 |
|
| 21379 |
if test x"$enable_gtk3" = x"yes"; then |
| 21380 |
# check for gtk3 |
| 21381 |
|
| 21382 |
pkg_failed=no |
| 21383 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for |
| 21384 |
gtk+-3.0 >= 3.12.0 |
| 21385 |
" >&5 |
| 21386 |
printf %s "checking for |
| 21387 |
gtk+-3.0 >= 3.12.0 |
| 21388 |
... " >&6; } |
| 21389 |
|
| 21390 |
if test -n "$GTK3_CFLAGS"; then |
| 21391 |
pkg_cv_GTK3_CFLAGS="$GTK3_CFLAGS" |
| 21392 |
elif test -n "$PKG_CONFIG"; then |
| 21393 |
if test -n "$PKG_CONFIG" && \ |
| 21394 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 21395 |
gtk+-3.0 >= 3.12.0 |
| 21396 |
\""; } >&5 |
| 21397 |
($PKG_CONFIG --exists --print-errors " |
| 21398 |
gtk+-3.0 >= 3.12.0 |
| 21399 |
") 2>&5 |
| 21400 |
ac_status=$? |
| 21401 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 21402 |
test $ac_status = 0; }; then |
| 21403 |
pkg_cv_GTK3_CFLAGS=`$PKG_CONFIG --cflags " |
| 21404 |
gtk+-3.0 >= 3.12.0 |
| 21405 |
" 2>/dev/null` |
| 21406 |
test "x$?" != "x0" && pkg_failed=yes |
| 21407 |
else |
| 21408 |
pkg_failed=yes |
| 21409 |
fi |
| 21410 |
else |
| 21411 |
pkg_failed=untried |
| 21412 |
fi |
| 21413 |
if test -n "$GTK3_LIBS"; then |
| 21414 |
pkg_cv_GTK3_LIBS="$GTK3_LIBS" |
| 21415 |
elif test -n "$PKG_CONFIG"; then |
| 21416 |
if test -n "$PKG_CONFIG" && \ |
| 21417 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 21418 |
gtk+-3.0 >= 3.12.0 |
| 21419 |
\""; } >&5 |
| 21420 |
($PKG_CONFIG --exists --print-errors " |
| 21421 |
gtk+-3.0 >= 3.12.0 |
| 21422 |
") 2>&5 |
| 21423 |
ac_status=$? |
| 21424 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 21425 |
test $ac_status = 0; }; then |
| 21426 |
pkg_cv_GTK3_LIBS=`$PKG_CONFIG --libs " |
| 21427 |
gtk+-3.0 >= 3.12.0 |
| 21428 |
" 2>/dev/null` |
| 21429 |
test "x$?" != "x0" && pkg_failed=yes |
| 21430 |
else |
| 21431 |
pkg_failed=yes |
| 21432 |
fi |
| 21433 |
else |
| 21434 |
pkg_failed=untried |
| 21435 |
fi |
| 21436 |
|
| 21437 |
|
| 21438 |
|
| 21439 |
if test $pkg_failed = yes; then |
| 21440 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21441 |
printf "%s\n" "no" >&6; } |
| 21442 |
|
| 21443 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 21444 |
_pkg_short_errors_supported=yes |
| 21445 |
else |
| 21446 |
_pkg_short_errors_supported=no |
| 21447 |
fi |
| 21448 |
if test $_pkg_short_errors_supported = yes; then |
| 21449 |
GTK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " |
| 21450 |
gtk+-3.0 >= 3.12.0 |
| 21451 |
" 2>&1` |
| 21452 |
else |
| 21453 |
GTK3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " |
| 21454 |
gtk+-3.0 >= 3.12.0 |
| 21455 |
" 2>&1` |
| 21456 |
fi |
| 21457 |
# Put the nasty error message in config.log where it belongs |
| 21458 |
echo "$GTK3_PKG_ERRORS" >&5 |
| 21459 |
|
| 21460 |
as_fn_error $? "Package requirements ( |
| 21461 |
gtk+-3.0 >= 3.12.0 |
| 21462 |
) were not met: |
| 21463 |
|
| 21464 |
$GTK3_PKG_ERRORS |
| 21465 |
|
| 21466 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 21467 |
installed software in a non-standard prefix. |
| 21468 |
|
| 21469 |
Alternatively, you may set the environment variables GTK3_CFLAGS |
| 21470 |
and GTK3_LIBS to avoid the need to call pkg-config. |
| 21471 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 21472 |
elif test $pkg_failed = untried; then |
| 21473 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21474 |
printf "%s\n" "no" >&6; } |
| 21475 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 21476 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 21477 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 21478 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 21479 |
path to pkg-config. |
| 21480 |
|
| 21481 |
Alternatively, you may set the environment variables GTK3_CFLAGS |
| 21482 |
and GTK3_LIBS to avoid the need to call pkg-config. |
| 21483 |
See the pkg-config man page for more details. |
| 21484 |
|
| 21485 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 21486 |
See 'config.log' for more details" "$LINENO" 5; } |
| 21487 |
else |
| 21488 |
GTK3_CFLAGS=$pkg_cv_GTK3_CFLAGS |
| 21489 |
GTK3_LIBS=$pkg_cv_GTK3_LIBS |
| 21490 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 21491 |
printf "%s\n" "yes" >&6; } |
| 21492 |
|
| 21493 |
fi |
| 21494 |
if test x"$enable_wayland" = x"yes"; then |
| 21495 |
if test -n "$PKG_CONFIG" && \ |
| 21496 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-wayland-3.0\""; } >&5 |
| 21497 |
($PKG_CONFIG --exists --print-errors "gdk-wayland-3.0") 2>&5 |
| 21498 |
ac_status=$? |
| 21499 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 21500 |
test $ac_status = 0; }; then |
| 21501 |
enable_gdk3_wayland=yes |
| 21502 |
else |
| 21503 |
enable_gdk3_wayland=no |
| 21504 |
|
| 21505 |
fi |
| 21506 |
else |
| 21507 |
enable_gdk3_wayland=no |
| 21508 |
fi |
| 21509 |
|
| 21510 |
gtk3_binary_version=`$PKG_CONFIG --variable=gtk_binary_version gtk+-3.0` |
| 21511 |
GTK3_IM_MODULEDIR="$libdir"/gtk-3.0/$gtk3_binary_version/immodules |
| 21512 |
else |
| 21513 |
enable_gdk3_wayland=no |
| 21514 |
fi |
| 21515 |
if test x"$enable_gdk3_wayland" != x"yes"; then |
| 21516 |
enable_gdk3_wayland="no (disabled, need to install gdk-wayland-3.0.pc)" |
| 21517 |
fi |
| 21518 |
if test x"$enable_gdk3_wayland" = x"yes"; then |
| 21519 |
ENABLE_GDK3_WAYLAND_TRUE= |
| 21520 |
ENABLE_GDK3_WAYLAND_FALSE='#' |
| 21521 |
else |
| 21522 |
ENABLE_GDK3_WAYLAND_TRUE='#' |
| 21523 |
ENABLE_GDK3_WAYLAND_FALSE= |
| 21524 |
fi |
| 21525 |
|
| 21526 |
IBUS_UI_WAYLAND_DESKTOP="org.freedesktop.IBus.Panel.Wayland.Gtk3.desktop" |
| 21527 |
|
| 21528 |
|
| 21529 |
printf "%s\n" "#define UI_WAYLAND_DESKTOP \"$IBUS_UI_WAYLAND_DESKTOP\"" >>confdefs.h |
| 21530 |
|
| 21531 |
|
| 21532 |
printf "%s\n" "#define DATADIR \"$ibus_datadir\"" >>confdefs.h |
| 21533 |
|
| 21534 |
|
| 21535 |
if test x"$enable_gtk4" = x"yes"; then |
| 21536 |
# check for gtk4 |
| 21537 |
|
| 21538 |
pkg_failed=no |
| 21539 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for |
| 21540 |
gtk4 |
| 21541 |
" >&5 |
| 21542 |
printf %s "checking for |
| 21543 |
gtk4 |
| 21544 |
... " >&6; } |
| 21545 |
|
| 21546 |
if test -n "$GTK4_CFLAGS"; then |
| 21547 |
pkg_cv_GTK4_CFLAGS="$GTK4_CFLAGS" |
| 21548 |
elif test -n "$PKG_CONFIG"; then |
| 21549 |
if test -n "$PKG_CONFIG" && \ |
| 21550 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 21551 |
gtk4 |
| 21552 |
\""; } >&5 |
| 21553 |
($PKG_CONFIG --exists --print-errors " |
| 21554 |
gtk4 |
| 21555 |
") 2>&5 |
| 21556 |
ac_status=$? |
| 21557 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 21558 |
test $ac_status = 0; }; then |
| 21559 |
pkg_cv_GTK4_CFLAGS=`$PKG_CONFIG --cflags " |
| 21560 |
gtk4 |
| 21561 |
" 2>/dev/null` |
| 21562 |
test "x$?" != "x0" && pkg_failed=yes |
| 21563 |
else |
| 21564 |
pkg_failed=yes |
| 21565 |
fi |
| 21566 |
else |
| 21567 |
pkg_failed=untried |
| 21568 |
fi |
| 21569 |
if test -n "$GTK4_LIBS"; then |
| 21570 |
pkg_cv_GTK4_LIBS="$GTK4_LIBS" |
| 21571 |
elif test -n "$PKG_CONFIG"; then |
| 21572 |
if test -n "$PKG_CONFIG" && \ |
| 21573 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 21574 |
gtk4 |
| 21575 |
\""; } >&5 |
| 21576 |
($PKG_CONFIG --exists --print-errors " |
| 21577 |
gtk4 |
| 21578 |
") 2>&5 |
| 21579 |
ac_status=$? |
| 21580 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 21581 |
test $ac_status = 0; }; then |
| 21582 |
pkg_cv_GTK4_LIBS=`$PKG_CONFIG --libs " |
| 21583 |
gtk4 |
| 21584 |
" 2>/dev/null` |
| 21585 |
test "x$?" != "x0" && pkg_failed=yes |
| 21586 |
else |
| 21587 |
pkg_failed=yes |
| 21588 |
fi |
| 21589 |
else |
| 21590 |
pkg_failed=untried |
| 21591 |
fi |
| 21592 |
|
| 21593 |
|
| 21594 |
|
| 21595 |
if test $pkg_failed = yes; then |
| 21596 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21597 |
printf "%s\n" "no" >&6; } |
| 21598 |
|
| 21599 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 21600 |
_pkg_short_errors_supported=yes |
| 21601 |
else |
| 21602 |
_pkg_short_errors_supported=no |
| 21603 |
fi |
| 21604 |
if test $_pkg_short_errors_supported = yes; then |
| 21605 |
GTK4_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " |
| 21606 |
gtk4 |
| 21607 |
" 2>&1` |
| 21608 |
else |
| 21609 |
GTK4_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " |
| 21610 |
gtk4 |
| 21611 |
" 2>&1` |
| 21612 |
fi |
| 21613 |
# Put the nasty error message in config.log where it belongs |
| 21614 |
echo "$GTK4_PKG_ERRORS" >&5 |
| 21615 |
|
| 21616 |
as_fn_error $? "Package requirements ( |
| 21617 |
gtk4 |
| 21618 |
) were not met: |
| 21619 |
|
| 21620 |
$GTK4_PKG_ERRORS |
| 21621 |
|
| 21622 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 21623 |
installed software in a non-standard prefix. |
| 21624 |
|
| 21625 |
Alternatively, you may set the environment variables GTK4_CFLAGS |
| 21626 |
and GTK4_LIBS to avoid the need to call pkg-config. |
| 21627 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 21628 |
elif test $pkg_failed = untried; then |
| 21629 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21630 |
printf "%s\n" "no" >&6; } |
| 21631 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 21632 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 21633 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 21634 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 21635 |
path to pkg-config. |
| 21636 |
|
| 21637 |
Alternatively, you may set the environment variables GTK4_CFLAGS |
| 21638 |
and GTK4_LIBS to avoid the need to call pkg-config. |
| 21639 |
See the pkg-config man page for more details. |
| 21640 |
|
| 21641 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 21642 |
See 'config.log' for more details" "$LINENO" 5; } |
| 21643 |
else |
| 21644 |
GTK4_CFLAGS=$pkg_cv_GTK4_CFLAGS |
| 21645 |
GTK4_LIBS=$pkg_cv_GTK4_LIBS |
| 21646 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 21647 |
printf "%s\n" "yes" >&6; } |
| 21648 |
|
| 21649 |
fi |
| 21650 |
|
| 21651 |
gtk4_binary_version=`$PKG_CONFIG --variable=gtk_binary_version gtk4` |
| 21652 |
GTK4_IM_MODULEDIR="$libdir"/gtk-4.0/$gtk4_binary_version/immodules |
| 21653 |
enable_gtk4="yes (enabled, use --disable-gtk4 to disable)" |
| 21654 |
fi |
| 21655 |
|
| 21656 |
if test x"$enable_xim" = x"yes"; then |
| 21657 |
# Check for x11 |
| 21658 |
|
| 21659 |
pkg_failed=no |
| 21660 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for |
| 21661 |
x11 |
| 21662 |
" >&5 |
| 21663 |
printf %s "checking for |
| 21664 |
x11 |
| 21665 |
... " >&6; } |
| 21666 |
|
| 21667 |
if test -n "$X11_CFLAGS"; then |
| 21668 |
pkg_cv_X11_CFLAGS="$X11_CFLAGS" |
| 21669 |
elif test -n "$PKG_CONFIG"; then |
| 21670 |
if test -n "$PKG_CONFIG" && \ |
| 21671 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 21672 |
x11 |
| 21673 |
\""; } >&5 |
| 21674 |
($PKG_CONFIG --exists --print-errors " |
| 21675 |
x11 |
| 21676 |
") 2>&5 |
| 21677 |
ac_status=$? |
| 21678 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 21679 |
test $ac_status = 0; }; then |
| 21680 |
pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags " |
| 21681 |
x11 |
| 21682 |
" 2>/dev/null` |
| 21683 |
test "x$?" != "x0" && pkg_failed=yes |
| 21684 |
else |
| 21685 |
pkg_failed=yes |
| 21686 |
fi |
| 21687 |
else |
| 21688 |
pkg_failed=untried |
| 21689 |
fi |
| 21690 |
if test -n "$X11_LIBS"; then |
| 21691 |
pkg_cv_X11_LIBS="$X11_LIBS" |
| 21692 |
elif test -n "$PKG_CONFIG"; then |
| 21693 |
if test -n "$PKG_CONFIG" && \ |
| 21694 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 21695 |
x11 |
| 21696 |
\""; } >&5 |
| 21697 |
($PKG_CONFIG --exists --print-errors " |
| 21698 |
x11 |
| 21699 |
") 2>&5 |
| 21700 |
ac_status=$? |
| 21701 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 21702 |
test $ac_status = 0; }; then |
| 21703 |
pkg_cv_X11_LIBS=`$PKG_CONFIG --libs " |
| 21704 |
x11 |
| 21705 |
" 2>/dev/null` |
| 21706 |
test "x$?" != "x0" && pkg_failed=yes |
| 21707 |
else |
| 21708 |
pkg_failed=yes |
| 21709 |
fi |
| 21710 |
else |
| 21711 |
pkg_failed=untried |
| 21712 |
fi |
| 21713 |
|
| 21714 |
|
| 21715 |
|
| 21716 |
if test $pkg_failed = yes; then |
| 21717 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21718 |
printf "%s\n" "no" >&6; } |
| 21719 |
|
| 21720 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 21721 |
_pkg_short_errors_supported=yes |
| 21722 |
else |
| 21723 |
_pkg_short_errors_supported=no |
| 21724 |
fi |
| 21725 |
if test $_pkg_short_errors_supported = yes; then |
| 21726 |
X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " |
| 21727 |
x11 |
| 21728 |
" 2>&1` |
| 21729 |
else |
| 21730 |
X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " |
| 21731 |
x11 |
| 21732 |
" 2>&1` |
| 21733 |
fi |
| 21734 |
# Put the nasty error message in config.log where it belongs |
| 21735 |
echo "$X11_PKG_ERRORS" >&5 |
| 21736 |
|
| 21737 |
as_fn_error $? "Package requirements ( |
| 21738 |
x11 |
| 21739 |
) were not met: |
| 21740 |
|
| 21741 |
$X11_PKG_ERRORS |
| 21742 |
|
| 21743 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 21744 |
installed software in a non-standard prefix. |
| 21745 |
|
| 21746 |
Alternatively, you may set the environment variables X11_CFLAGS |
| 21747 |
and X11_LIBS to avoid the need to call pkg-config. |
| 21748 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 21749 |
elif test $pkg_failed = untried; then |
| 21750 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21751 |
printf "%s\n" "no" >&6; } |
| 21752 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 21753 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 21754 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 21755 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 21756 |
path to pkg-config. |
| 21757 |
|
| 21758 |
Alternatively, you may set the environment variables X11_CFLAGS |
| 21759 |
and X11_LIBS to avoid the need to call pkg-config. |
| 21760 |
See the pkg-config man page for more details. |
| 21761 |
|
| 21762 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 21763 |
See 'config.log' for more details" "$LINENO" 5; } |
| 21764 |
else |
| 21765 |
X11_CFLAGS=$pkg_cv_X11_CFLAGS |
| 21766 |
X11_LIBS=$pkg_cv_X11_LIBS |
| 21767 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 21768 |
printf "%s\n" "yes" >&6; } |
| 21769 |
|
| 21770 |
fi |
| 21771 |
ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "$ac_includes_default" |
| 21772 |
if test "x$ac_cv_header_X11_XKBlib_h" = xyes |
| 21773 |
then : |
| 21774 |
printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h |
| 21775 |
|
| 21776 |
fi |
| 21777 |
|
| 21778 |
|
| 21779 |
# if we don't have gtk3 yet, check for gtk2 |
| 21780 |
if test x"$enable_gtk3" != x"yes"; then |
| 21781 |
# check for gtk2 |
| 21782 |
|
| 21783 |
pkg_failed=no |
| 21784 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for |
| 21785 |
gtk+-2.0 |
| 21786 |
" >&5 |
| 21787 |
printf %s "checking for |
| 21788 |
gtk+-2.0 |
| 21789 |
... " >&6; } |
| 21790 |
|
| 21791 |
if test -n "$GTK2_CFLAGS"; then |
| 21792 |
pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS" |
| 21793 |
elif test -n "$PKG_CONFIG"; then |
| 21794 |
if test -n "$PKG_CONFIG" && \ |
| 21795 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 21796 |
gtk+-2.0 |
| 21797 |
\""; } >&5 |
| 21798 |
($PKG_CONFIG --exists --print-errors " |
| 21799 |
gtk+-2.0 |
| 21800 |
") 2>&5 |
| 21801 |
ac_status=$? |
| 21802 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 21803 |
test $ac_status = 0; }; then |
| 21804 |
pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags " |
| 21805 |
gtk+-2.0 |
| 21806 |
" 2>/dev/null` |
| 21807 |
test "x$?" != "x0" && pkg_failed=yes |
| 21808 |
else |
| 21809 |
pkg_failed=yes |
| 21810 |
fi |
| 21811 |
else |
| 21812 |
pkg_failed=untried |
| 21813 |
fi |
| 21814 |
if test -n "$GTK2_LIBS"; then |
| 21815 |
pkg_cv_GTK2_LIBS="$GTK2_LIBS" |
| 21816 |
elif test -n "$PKG_CONFIG"; then |
| 21817 |
if test -n "$PKG_CONFIG" && \ |
| 21818 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 21819 |
gtk+-2.0 |
| 21820 |
\""; } >&5 |
| 21821 |
($PKG_CONFIG --exists --print-errors " |
| 21822 |
gtk+-2.0 |
| 21823 |
") 2>&5 |
| 21824 |
ac_status=$? |
| 21825 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 21826 |
test $ac_status = 0; }; then |
| 21827 |
pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs " |
| 21828 |
gtk+-2.0 |
| 21829 |
" 2>/dev/null` |
| 21830 |
test "x$?" != "x0" && pkg_failed=yes |
| 21831 |
else |
| 21832 |
pkg_failed=yes |
| 21833 |
fi |
| 21834 |
else |
| 21835 |
pkg_failed=untried |
| 21836 |
fi |
| 21837 |
|
| 21838 |
|
| 21839 |
|
| 21840 |
if test $pkg_failed = yes; then |
| 21841 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21842 |
printf "%s\n" "no" >&6; } |
| 21843 |
|
| 21844 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 21845 |
_pkg_short_errors_supported=yes |
| 21846 |
else |
| 21847 |
_pkg_short_errors_supported=no |
| 21848 |
fi |
| 21849 |
if test $_pkg_short_errors_supported = yes; then |
| 21850 |
GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " |
| 21851 |
gtk+-2.0 |
| 21852 |
" 2>&1` |
| 21853 |
else |
| 21854 |
GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " |
| 21855 |
gtk+-2.0 |
| 21856 |
" 2>&1` |
| 21857 |
fi |
| 21858 |
# Put the nasty error message in config.log where it belongs |
| 21859 |
echo "$GTK2_PKG_ERRORS" >&5 |
| 21860 |
|
| 21861 |
as_fn_error $? "Package requirements ( |
| 21862 |
gtk+-2.0 |
| 21863 |
) were not met: |
| 21864 |
|
| 21865 |
$GTK2_PKG_ERRORS |
| 21866 |
|
| 21867 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 21868 |
installed software in a non-standard prefix. |
| 21869 |
|
| 21870 |
Alternatively, you may set the environment variables GTK2_CFLAGS |
| 21871 |
and GTK2_LIBS to avoid the need to call pkg-config. |
| 21872 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 21873 |
elif test $pkg_failed = untried; then |
| 21874 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 21875 |
printf "%s\n" "no" >&6; } |
| 21876 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 21877 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 21878 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 21879 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 21880 |
path to pkg-config. |
| 21881 |
|
| 21882 |
Alternatively, you may set the environment variables GTK2_CFLAGS |
| 21883 |
and GTK2_LIBS to avoid the need to call pkg-config. |
| 21884 |
See the pkg-config man page for more details. |
| 21885 |
|
| 21886 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 21887 |
See 'config.log' for more details" "$LINENO" 5; } |
| 21888 |
else |
| 21889 |
GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS |
| 21890 |
GTK2_LIBS=$pkg_cv_GTK2_LIBS |
| 21891 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 21892 |
printf "%s\n" "yes" >&6; } |
| 21893 |
|
| 21894 |
fi |
| 21895 |
fi |
| 21896 |
XIM_CLI_ARG=--xim |
| 21897 |
|
| 21898 |
|
| 21899 |
printf "%s\n" "#define HAVE_XIM 1" >>confdefs.h |
| 21900 |
|
| 21901 |
enable_xim="yes (enabled, use --disable-xim to disable)" |
| 21902 |
fi |
| 21903 |
if test x"$enable_gtk3" = x"yes"; then |
| 21904 |
enable_gtk3="yes (enabled, use --disable-gtk3 to disable)" |
| 21905 |
fi |
| 21906 |
|
| 21907 |
if $PKG_CONFIG --exists x11; then |
| 21908 |
X11_PREFIX="`$PKG_CONFIG --variable=prefix x11`" |
| 21909 |
elif test x"$prefix" != xNONE; then |
| 21910 |
X11_PREFIX="$prefix" |
| 21911 |
else |
| 21912 |
X11_PREFIX="$ac_default_prefix" |
| 21913 |
fi |
| 21914 |
|
| 21915 |
|
| 21916 |
# Check locale dir for Compose files. |
| 21917 |
if test x"$cross_compiling" != xyes; then |
| 21918 |
as_ac_File=`printf "%s\n" "ac_cv_file_$X11_PREFIX/share/X11/locale/locale.dir" | sed "$as_sed_sh"` |
| 21919 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $X11_PREFIX/share/X11/locale/locale.dir" >&5 |
| 21920 |
printf %s "checking for $X11_PREFIX/share/X11/locale/locale.dir... " >&6; } |
| 21921 |
if eval test \${$as_ac_File+y} |
| 21922 |
then : |
| 21923 |
printf %s "(cached) " >&6 |
| 21924 |
else case e in #( |
| 21925 |
e) test "$cross_compiling" = yes && |
| 21926 |
as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 |
| 21927 |
if test -r "$X11_PREFIX/share/X11/locale/locale.dir"; then |
| 21928 |
eval "$as_ac_File=yes" |
| 21929 |
else |
| 21930 |
eval "$as_ac_File=no" |
| 21931 |
fi ;; |
| 21932 |
esac |
| 21933 |
fi |
| 21934 |
eval ac_res=\$$as_ac_File |
| 21935 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 21936 |
printf "%s\n" "$ac_res" >&6; } |
| 21937 |
if eval test \"x\$"$as_ac_File"\" = x"yes" |
| 21938 |
then : |
| 21939 |
X11_LOCALEDATADIR="$X11_PREFIX/share/X11/locale" |
| 21940 |
else case e in #( |
| 21941 |
e) as_ac_File=`printf "%s\n" "ac_cv_file_$X11_PREFIX/lib/X11/locale/locale.dir" | sed "$as_sed_sh"` |
| 21942 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $X11_PREFIX/lib/X11/locale/locale.dir" >&5 |
| 21943 |
printf %s "checking for $X11_PREFIX/lib/X11/locale/locale.dir... " >&6; } |
| 21944 |
if eval test \${$as_ac_File+y} |
| 21945 |
then : |
| 21946 |
printf %s "(cached) " >&6 |
| 21947 |
else case e in #( |
| 21948 |
e) test "$cross_compiling" = yes && |
| 21949 |
as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 |
| 21950 |
if test -r "$X11_PREFIX/lib/X11/locale/locale.dir"; then |
| 21951 |
eval "$as_ac_File=yes" |
| 21952 |
else |
| 21953 |
eval "$as_ac_File=no" |
| 21954 |
fi ;; |
| 21955 |
esac |
| 21956 |
fi |
| 21957 |
eval ac_res=\$$as_ac_File |
| 21958 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 21959 |
printf "%s\n" "$ac_res" >&6; } |
| 21960 |
if eval test \"x\$"$as_ac_File"\" = x"yes" |
| 21961 |
then : |
| 21962 |
X11_LOCALEDATADIR="$X11_PREFIX/lib/X11/locale" |
| 21963 |
else case e in #( |
| 21964 |
e) X11_LOCALEDATADIR="$(datadir)/X11/locale" ;; |
| 21965 |
esac |
| 21966 |
fi |
| 21967 |
;; |
| 21968 |
esac |
| 21969 |
fi |
| 21970 |
|
| 21971 |
else |
| 21972 |
if test x"$X11_LOCALEDATADIR" = x; then |
| 21973 |
X11_LOCALEDATADIR="$X11_PREFIX/share/X11/locale" |
| 21974 |
fi |
| 21975 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Skipping X11 locale directory check when cross compiling. Using: $X11_LOCALEDATADIR" >&5 |
| 21976 |
printf "%s\n" "Skipping X11 locale directory check when cross compiling. Using: $X11_LOCALEDATADIR" >&6; } |
| 21977 |
fi |
| 21978 |
|
| 21979 |
|
| 21980 |
if test x"$enable_wayland" = x"yes"; then |
| 21981 |
# Check for wayland |
| 21982 |
|
| 21983 |
pkg_failed=no |
| 21984 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for |
| 21985 |
wayland-client >= 1.2.0 |
| 21986 |
xkbcommon |
| 21987 |
" >&5 |
| 21988 |
printf %s "checking for |
| 21989 |
wayland-client >= 1.2.0 |
| 21990 |
xkbcommon |
| 21991 |
... " >&6; } |
| 21992 |
|
| 21993 |
if test -n "$WAYLAND_CFLAGS"; then |
| 21994 |
pkg_cv_WAYLAND_CFLAGS="$WAYLAND_CFLAGS" |
| 21995 |
elif test -n "$PKG_CONFIG"; then |
| 21996 |
if test -n "$PKG_CONFIG" && \ |
| 21997 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 21998 |
wayland-client >= 1.2.0 |
| 21999 |
xkbcommon |
| 22000 |
\""; } >&5 |
| 22001 |
($PKG_CONFIG --exists --print-errors " |
| 22002 |
wayland-client >= 1.2.0 |
| 22003 |
xkbcommon |
| 22004 |
") 2>&5 |
| 22005 |
ac_status=$? |
| 22006 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22007 |
test $ac_status = 0; }; then |
| 22008 |
pkg_cv_WAYLAND_CFLAGS=`$PKG_CONFIG --cflags " |
| 22009 |
wayland-client >= 1.2.0 |
| 22010 |
xkbcommon |
| 22011 |
" 2>/dev/null` |
| 22012 |
test "x$?" != "x0" && pkg_failed=yes |
| 22013 |
else |
| 22014 |
pkg_failed=yes |
| 22015 |
fi |
| 22016 |
else |
| 22017 |
pkg_failed=untried |
| 22018 |
fi |
| 22019 |
if test -n "$WAYLAND_LIBS"; then |
| 22020 |
pkg_cv_WAYLAND_LIBS="$WAYLAND_LIBS" |
| 22021 |
elif test -n "$PKG_CONFIG"; then |
| 22022 |
if test -n "$PKG_CONFIG" && \ |
| 22023 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 22024 |
wayland-client >= 1.2.0 |
| 22025 |
xkbcommon |
| 22026 |
\""; } >&5 |
| 22027 |
($PKG_CONFIG --exists --print-errors " |
| 22028 |
wayland-client >= 1.2.0 |
| 22029 |
xkbcommon |
| 22030 |
") 2>&5 |
| 22031 |
ac_status=$? |
| 22032 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22033 |
test $ac_status = 0; }; then |
| 22034 |
pkg_cv_WAYLAND_LIBS=`$PKG_CONFIG --libs " |
| 22035 |
wayland-client >= 1.2.0 |
| 22036 |
xkbcommon |
| 22037 |
" 2>/dev/null` |
| 22038 |
test "x$?" != "x0" && pkg_failed=yes |
| 22039 |
else |
| 22040 |
pkg_failed=yes |
| 22041 |
fi |
| 22042 |
else |
| 22043 |
pkg_failed=untried |
| 22044 |
fi |
| 22045 |
|
| 22046 |
|
| 22047 |
|
| 22048 |
if test $pkg_failed = yes; then |
| 22049 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22050 |
printf "%s\n" "no" >&6; } |
| 22051 |
|
| 22052 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 22053 |
_pkg_short_errors_supported=yes |
| 22054 |
else |
| 22055 |
_pkg_short_errors_supported=no |
| 22056 |
fi |
| 22057 |
if test $_pkg_short_errors_supported = yes; then |
| 22058 |
WAYLAND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " |
| 22059 |
wayland-client >= 1.2.0 |
| 22060 |
xkbcommon |
| 22061 |
" 2>&1` |
| 22062 |
else |
| 22063 |
WAYLAND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " |
| 22064 |
wayland-client >= 1.2.0 |
| 22065 |
xkbcommon |
| 22066 |
" 2>&1` |
| 22067 |
fi |
| 22068 |
# Put the nasty error message in config.log where it belongs |
| 22069 |
echo "$WAYLAND_PKG_ERRORS" >&5 |
| 22070 |
|
| 22071 |
as_fn_error $? "Package requirements ( |
| 22072 |
wayland-client >= 1.2.0 |
| 22073 |
xkbcommon |
| 22074 |
) were not met: |
| 22075 |
|
| 22076 |
$WAYLAND_PKG_ERRORS |
| 22077 |
|
| 22078 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 22079 |
installed software in a non-standard prefix. |
| 22080 |
|
| 22081 |
Alternatively, you may set the environment variables WAYLAND_CFLAGS |
| 22082 |
and WAYLAND_LIBS to avoid the need to call pkg-config. |
| 22083 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 22084 |
elif test $pkg_failed = untried; then |
| 22085 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22086 |
printf "%s\n" "no" >&6; } |
| 22087 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 22088 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 22089 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 22090 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 22091 |
path to pkg-config. |
| 22092 |
|
| 22093 |
Alternatively, you may set the environment variables WAYLAND_CFLAGS |
| 22094 |
and WAYLAND_LIBS to avoid the need to call pkg-config. |
| 22095 |
See the pkg-config man page for more details. |
| 22096 |
|
| 22097 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 22098 |
See 'config.log' for more details" "$LINENO" 5; } |
| 22099 |
else |
| 22100 |
WAYLAND_CFLAGS=$pkg_cv_WAYLAND_CFLAGS |
| 22101 |
WAYLAND_LIBS=$pkg_cv_WAYLAND_LIBS |
| 22102 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 22103 |
printf "%s\n" "yes" >&6; } |
| 22104 |
|
| 22105 |
fi |
| 22106 |
if test -n "$PKG_CONFIG" && \ |
| 22107 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-protocols\""; } >&5 |
| 22108 |
($PKG_CONFIG --exists --print-errors "wayland-protocols") 2>&5 |
| 22109 |
ac_status=$? |
| 22110 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22111 |
test $ac_status = 0; }; then |
| 22112 |
WAYLAND_PRTCLS_DIR="`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`" |
| 22113 |
else |
| 22114 |
WAYLAND_PRTCLS_DIR="/usr/share/wayland-protocols" |
| 22115 |
|
| 22116 |
fi |
| 22117 |
WAYLAND_PRTCLS_DIR="`echo $WAYLAND_PRTCLS_DIR`" |
| 22118 |
WAYLAND_IM_PRTCL_SUBDIR='unstable/input-method' |
| 22119 |
WAYLAND_TEXT_PRTCL_SUBDIR='unstable/text-input' |
| 22120 |
|
| 22121 |
|
| 22122 |
|
| 22123 |
|
| 22124 |
|
| 22125 |
|
| 22126 |
|
| 22127 |
|
| 22128 |
|
| 22129 |
|
| 22130 |
|
| 22131 |
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
| 22132 |
if test -n "$ac_tool_prefix"; then |
| 22133 |
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
| 22134 |
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
| 22135 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 22136 |
printf %s "checking for $ac_word... " >&6; } |
| 22137 |
if test ${ac_cv_path_PKG_CONFIG+y} |
| 22138 |
then : |
| 22139 |
printf %s "(cached) " >&6 |
| 22140 |
else case e in #( |
| 22141 |
e) case $PKG_CONFIG in |
| 22142 |
[\\/]* | ?:[\\/]*) |
| 22143 |
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
| 22144 |
;; |
| 22145 |
*) |
| 22146 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 22147 |
for as_dir in $PATH |
| 22148 |
do |
| 22149 |
IFS=$as_save_IFS |
| 22150 |
case $as_dir in #((( |
| 22151 |
'') as_dir=./ ;; |
| 22152 |
*/) ;; |
| 22153 |
*) as_dir=$as_dir/ ;; |
| 22154 |
esac |
| 22155 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 22156 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 22157 |
ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" |
| 22158 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 22159 |
break 2 |
| 22160 |
fi |
| 22161 |
done |
| 22162 |
done |
| 22163 |
IFS=$as_save_IFS |
| 22164 |
|
| 22165 |
;; |
| 22166 |
esac ;; |
| 22167 |
esac |
| 22168 |
fi |
| 22169 |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 22170 |
if test -n "$PKG_CONFIG"; then |
| 22171 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 22172 |
printf "%s\n" "$PKG_CONFIG" >&6; } |
| 22173 |
else |
| 22174 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22175 |
printf "%s\n" "no" >&6; } |
| 22176 |
fi |
| 22177 |
|
| 22178 |
|
| 22179 |
fi |
| 22180 |
if test -z "$ac_cv_path_PKG_CONFIG"; then |
| 22181 |
ac_pt_PKG_CONFIG=$PKG_CONFIG |
| 22182 |
# Extract the first word of "pkg-config", so it can be a program name with args. |
| 22183 |
set dummy pkg-config; ac_word=$2 |
| 22184 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 22185 |
printf %s "checking for $ac_word... " >&6; } |
| 22186 |
if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} |
| 22187 |
then : |
| 22188 |
printf %s "(cached) " >&6 |
| 22189 |
else case e in #( |
| 22190 |
e) case $ac_pt_PKG_CONFIG in |
| 22191 |
[\\/]* | ?:[\\/]*) |
| 22192 |
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
| 22193 |
;; |
| 22194 |
*) |
| 22195 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 22196 |
for as_dir in $PATH |
| 22197 |
do |
| 22198 |
IFS=$as_save_IFS |
| 22199 |
case $as_dir in #((( |
| 22200 |
'') as_dir=./ ;; |
| 22201 |
*/) ;; |
| 22202 |
*) as_dir=$as_dir/ ;; |
| 22203 |
esac |
| 22204 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 22205 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 22206 |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" |
| 22207 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 22208 |
break 2 |
| 22209 |
fi |
| 22210 |
done |
| 22211 |
done |
| 22212 |
IFS=$as_save_IFS |
| 22213 |
|
| 22214 |
;; |
| 22215 |
esac ;; |
| 22216 |
esac |
| 22217 |
fi |
| 22218 |
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
| 22219 |
if test -n "$ac_pt_PKG_CONFIG"; then |
| 22220 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
| 22221 |
printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } |
| 22222 |
else |
| 22223 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22224 |
printf "%s\n" "no" >&6; } |
| 22225 |
fi |
| 22226 |
|
| 22227 |
if test "x$ac_pt_PKG_CONFIG" = x; then |
| 22228 |
PKG_CONFIG="" |
| 22229 |
else |
| 22230 |
case $cross_compiling:$ac_tool_warned in |
| 22231 |
yes:) |
| 22232 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 22233 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 22234 |
ac_tool_warned=yes ;; |
| 22235 |
esac |
| 22236 |
PKG_CONFIG=$ac_pt_PKG_CONFIG |
| 22237 |
fi |
| 22238 |
else |
| 22239 |
PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
| 22240 |
fi |
| 22241 |
|
| 22242 |
fi |
| 22243 |
if test -n "$PKG_CONFIG"; then |
| 22244 |
_pkg_min_version=0.9.0 |
| 22245 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
| 22246 |
printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
| 22247 |
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
| 22248 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 22249 |
printf "%s\n" "yes" >&6; } |
| 22250 |
else |
| 22251 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22252 |
printf "%s\n" "no" >&6; } |
| 22253 |
PKG_CONFIG="" |
| 22254 |
fi |
| 22255 |
fi |
| 22256 |
if test -z "$PKG_CONFIG"; then |
| 22257 |
as_fn_error $? "pkg-config not found" "$LINENO" 5 |
| 22258 |
fi |
| 22259 |
|
| 22260 |
|
| 22261 |
pkg_failed=no |
| 22262 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wayland-scanner >= 1.14.0" >&5 |
| 22263 |
printf %s "checking for wayland-scanner >= 1.14.0... " >&6; } |
| 22264 |
|
| 22265 |
if test -n "$WAYLAND_SCANNER_CFLAGS"; then |
| 22266 |
pkg_cv_WAYLAND_SCANNER_CFLAGS="$WAYLAND_SCANNER_CFLAGS" |
| 22267 |
elif test -n "$PKG_CONFIG"; then |
| 22268 |
if test -n "$PKG_CONFIG" && \ |
| 22269 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-scanner >= 1.14.0\""; } >&5 |
| 22270 |
($PKG_CONFIG --exists --print-errors "wayland-scanner >= 1.14.0") 2>&5 |
| 22271 |
ac_status=$? |
| 22272 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22273 |
test $ac_status = 0; }; then |
| 22274 |
pkg_cv_WAYLAND_SCANNER_CFLAGS=`$PKG_CONFIG --cflags "wayland-scanner >= 1.14.0" 2>/dev/null` |
| 22275 |
test "x$?" != "x0" && pkg_failed=yes |
| 22276 |
else |
| 22277 |
pkg_failed=yes |
| 22278 |
fi |
| 22279 |
else |
| 22280 |
pkg_failed=untried |
| 22281 |
fi |
| 22282 |
if test -n "$WAYLAND_SCANNER_LIBS"; then |
| 22283 |
pkg_cv_WAYLAND_SCANNER_LIBS="$WAYLAND_SCANNER_LIBS" |
| 22284 |
elif test -n "$PKG_CONFIG"; then |
| 22285 |
if test -n "$PKG_CONFIG" && \ |
| 22286 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-scanner >= 1.14.0\""; } >&5 |
| 22287 |
($PKG_CONFIG --exists --print-errors "wayland-scanner >= 1.14.0") 2>&5 |
| 22288 |
ac_status=$? |
| 22289 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22290 |
test $ac_status = 0; }; then |
| 22291 |
pkg_cv_WAYLAND_SCANNER_LIBS=`$PKG_CONFIG --libs "wayland-scanner >= 1.14.0" 2>/dev/null` |
| 22292 |
test "x$?" != "x0" && pkg_failed=yes |
| 22293 |
else |
| 22294 |
pkg_failed=yes |
| 22295 |
fi |
| 22296 |
else |
| 22297 |
pkg_failed=untried |
| 22298 |
fi |
| 22299 |
|
| 22300 |
|
| 22301 |
|
| 22302 |
if test $pkg_failed = yes; then |
| 22303 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22304 |
printf "%s\n" "no" >&6; } |
| 22305 |
|
| 22306 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 22307 |
_pkg_short_errors_supported=yes |
| 22308 |
else |
| 22309 |
_pkg_short_errors_supported=no |
| 22310 |
fi |
| 22311 |
if test $_pkg_short_errors_supported = yes; then |
| 22312 |
WAYLAND_SCANNER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-scanner >= 1.14.0" 2>&1` |
| 22313 |
else |
| 22314 |
WAYLAND_SCANNER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-scanner >= 1.14.0" 2>&1` |
| 22315 |
fi |
| 22316 |
# Put the nasty error message in config.log where it belongs |
| 22317 |
echo "$WAYLAND_SCANNER_PKG_ERRORS" >&5 |
| 22318 |
|
| 22319 |
as_fn_error $? "Package requirements (wayland-scanner >= 1.14.0) were not met: |
| 22320 |
|
| 22321 |
$WAYLAND_SCANNER_PKG_ERRORS |
| 22322 |
|
| 22323 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 22324 |
installed software in a non-standard prefix. |
| 22325 |
|
| 22326 |
Alternatively, you may set the environment variables WAYLAND_SCANNER_CFLAGS |
| 22327 |
and WAYLAND_SCANNER_LIBS to avoid the need to call pkg-config. |
| 22328 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 22329 |
elif test $pkg_failed = untried; then |
| 22330 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22331 |
printf "%s\n" "no" >&6; } |
| 22332 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 22333 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 22334 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 22335 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 22336 |
path to pkg-config. |
| 22337 |
|
| 22338 |
Alternatively, you may set the environment variables WAYLAND_SCANNER_CFLAGS |
| 22339 |
and WAYLAND_SCANNER_LIBS to avoid the need to call pkg-config. |
| 22340 |
See the pkg-config man page for more details. |
| 22341 |
|
| 22342 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 22343 |
See 'config.log' for more details" "$LINENO" 5; } |
| 22344 |
else |
| 22345 |
WAYLAND_SCANNER_CFLAGS=$pkg_cv_WAYLAND_SCANNER_CFLAGS |
| 22346 |
WAYLAND_SCANNER_LIBS=$pkg_cv_WAYLAND_SCANNER_LIBS |
| 22347 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 22348 |
printf "%s\n" "yes" >&6; } |
| 22349 |
|
| 22350 |
fi |
| 22351 |
|
| 22352 |
wayland_scanner=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner` |
| 22353 |
|
| 22354 |
|
| 22355 |
wayland_scanner_rules=`$PKG_CONFIG --variable=pkgdatadir wayland-scanner`/wayland-scanner.mk |
| 22356 |
|
| 22357 |
|
| 22358 |
wayland_protocoldir='$(WAYLAND_PRTCLS_DIR)/$(WAYLAND_IM_PRTCL_SUBDIR)' |
| 22359 |
|
| 22360 |
|
| 22361 |
enable_wayland="yes (enabled, use --disable-wayland to disable)" |
| 22362 |
else |
| 22363 |
wayland_scanner_rules="./wayland-scanner.mk" |
| 22364 |
|
| 22365 |
fi |
| 22366 |
|
| 22367 |
# GObject introspection |
| 22368 |
|
| 22369 |
|
| 22370 |
|
| 22371 |
# Check whether --enable-introspection was given. |
| 22372 |
if test ${enable_introspection+y} |
| 22373 |
then : |
| 22374 |
enableval=$enable_introspection; |
| 22375 |
else case e in #( |
| 22376 |
e) enable_introspection=auto ;; |
| 22377 |
esac |
| 22378 |
fi |
| 22379 |
|
| 22380 |
|
| 22381 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5 |
| 22382 |
printf %s "checking for gobject-introspection... " >&6; } |
| 22383 |
|
| 22384 |
case $enable_introspection in #( |
| 22385 |
no) : |
| 22386 |
found_introspection="no (disabled, use --enable-introspection to enable)" |
| 22387 |
;; #( |
| 22388 |
yes) : |
| 22389 |
if test -n "$PKG_CONFIG" && \ |
| 22390 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5 |
| 22391 |
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5 |
| 22392 |
ac_status=$? |
| 22393 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22394 |
test $ac_status = 0; }; then |
| 22395 |
: |
| 22396 |
else |
| 22397 |
as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5 |
| 22398 |
fi |
| 22399 |
if test -n "$PKG_CONFIG" && \ |
| 22400 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.8\""; } >&5 |
| 22401 |
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.8") 2>&5 |
| 22402 |
ac_status=$? |
| 22403 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22404 |
test $ac_status = 0; }; then |
| 22405 |
found_introspection=yes |
| 22406 |
else |
| 22407 |
as_fn_error $? "You need to have gobject-introspection >= 0.6.8 installed to build ibus" "$LINENO" 5 |
| 22408 |
fi |
| 22409 |
;; #( |
| 22410 |
auto) : |
| 22411 |
if test -n "$PKG_CONFIG" && \ |
| 22412 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.8\""; } >&5 |
| 22413 |
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.8") 2>&5 |
| 22414 |
ac_status=$? |
| 22415 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22416 |
test $ac_status = 0; }; then |
| 22417 |
found_introspection=yes |
| 22418 |
else |
| 22419 |
found_introspection=no |
| 22420 |
fi |
| 22421 |
enable_introspection=$found_introspection |
| 22422 |
;; #( |
| 22423 |
*) : |
| 22424 |
as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5 |
| 22425 |
;; |
| 22426 |
esac |
| 22427 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5 |
| 22428 |
printf "%s\n" "$found_introspection" >&6; } |
| 22429 |
|
| 22430 |
|
| 22431 |
EXP_VAR=_GI_EXP_DATADIR |
| 22432 |
FROM_VAR="$datadir" |
| 22433 |
|
| 22434 |
prefix_save=$prefix |
| 22435 |
exec_prefix_save=$exec_prefix |
| 22436 |
|
| 22437 |
if test "x$prefix" = "xNONE"; then |
| 22438 |
prefix="$ac_default_prefix" |
| 22439 |
fi |
| 22440 |
if test "x$exec_prefix" = "xNONE"; then |
| 22441 |
exec_prefix=$prefix |
| 22442 |
fi |
| 22443 |
|
| 22444 |
full_var="$FROM_VAR" |
| 22445 |
while true; do |
| 22446 |
new_full_var="`eval echo $full_var`" |
| 22447 |
if test "x$new_full_var" = "x$full_var"; then break; fi |
| 22448 |
full_var=$new_full_var |
| 22449 |
done |
| 22450 |
|
| 22451 |
full_var=$new_full_var |
| 22452 |
_GI_EXP_DATADIR="$full_var" |
| 22453 |
|
| 22454 |
|
| 22455 |
prefix=$prefix_save |
| 22456 |
exec_prefix=$exec_prefix_save |
| 22457 |
|
| 22458 |
|
| 22459 |
EXP_VAR=_GI_EXP_LIBDIR |
| 22460 |
FROM_VAR="$libdir" |
| 22461 |
|
| 22462 |
prefix_save=$prefix |
| 22463 |
exec_prefix_save=$exec_prefix |
| 22464 |
|
| 22465 |
if test "x$prefix" = "xNONE"; then |
| 22466 |
prefix="$ac_default_prefix" |
| 22467 |
fi |
| 22468 |
if test "x$exec_prefix" = "xNONE"; then |
| 22469 |
exec_prefix=$prefix |
| 22470 |
fi |
| 22471 |
|
| 22472 |
full_var="$FROM_VAR" |
| 22473 |
while true; do |
| 22474 |
new_full_var="`eval echo $full_var`" |
| 22475 |
if test "x$new_full_var" = "x$full_var"; then break; fi |
| 22476 |
full_var=$new_full_var |
| 22477 |
done |
| 22478 |
|
| 22479 |
full_var=$new_full_var |
| 22480 |
_GI_EXP_LIBDIR="$full_var" |
| 22481 |
|
| 22482 |
|
| 22483 |
prefix=$prefix_save |
| 22484 |
exec_prefix=$exec_prefix_save |
| 22485 |
|
| 22486 |
|
| 22487 |
INTROSPECTION_SCANNER= |
| 22488 |
INTROSPECTION_COMPILER= |
| 22489 |
INTROSPECTION_GENERATE= |
| 22490 |
INTROSPECTION_GIRDIR= |
| 22491 |
INTROSPECTION_TYPELIBDIR= |
| 22492 |
if test "x$found_introspection" = "xyes"; then |
| 22493 |
INTROSPECTION_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` |
| 22494 |
INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` |
| 22495 |
INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` |
| 22496 |
INTROSPECTION_GIRDIR=`$PKG_CONFIG --define-variable=datadir="${_GI_EXP_DATADIR}" --variable=girdir gobject-introspection-1.0` |
| 22497 |
INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --define-variable=libdir="${_GI_EXP_LIBDIR}" --variable=typelibdir gobject-introspection-1.0)" |
| 22498 |
INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` |
| 22499 |
INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` |
| 22500 |
INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection |
| 22501 |
fi |
| 22502 |
|
| 22503 |
|
| 22504 |
|
| 22505 |
|
| 22506 |
|
| 22507 |
|
| 22508 |
|
| 22509 |
|
| 22510 |
|
| 22511 |
if test "x$found_introspection" = "xyes"; then |
| 22512 |
HAVE_INTROSPECTION_TRUE= |
| 22513 |
HAVE_INTROSPECTION_FALSE='#' |
| 22514 |
else |
| 22515 |
HAVE_INTROSPECTION_TRUE='#' |
| 22516 |
HAVE_INTROSPECTION_FALSE= |
| 22517 |
fi |
| 22518 |
|
| 22519 |
|
| 22520 |
|
| 22521 |
|
| 22522 |
IBUS_GIR_SCANNERFLAGS= |
| 22523 |
if test x"$found_introspection" = x"yes" ; then |
| 22524 |
IBUS_GIR_SCANNERFLAGS="--warn-all --identifier-prefix=IBus --symbol-prefix=ibus --c-include=ibus.h" |
| 22525 |
if test -n "$PKG_CONFIG" && \ |
| 22526 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.6\""; } >&5 |
| 22527 |
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.6") 2>&5 |
| 22528 |
ac_status=$? |
| 22529 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22530 |
test $ac_status = 0; }; then |
| 22531 |
gir_symbol_prefix=yes |
| 22532 |
else |
| 22533 |
gir_symbol_prefix=no |
| 22534 |
fi |
| 22535 |
if test x"$gir_symbol_prefix" = x"no" ; then |
| 22536 |
IBUS_GIR_SCANNERFLAGS="--strip-prefix=IBus" |
| 22537 |
fi |
| 22538 |
fi |
| 22539 |
|
| 22540 |
|
| 22541 |
# Check vapigen. |
| 22542 |
|
| 22543 |
if test "x" != "xyes" |
| 22544 |
then : |
| 22545 |
|
| 22546 |
|
| 22547 |
|
| 22548 |
fi |
| 22549 |
|
| 22550 |
# Check whether --enable-vala was given. |
| 22551 |
if test ${enable_vala+y} |
| 22552 |
then : |
| 22553 |
enableval=$enable_vala; |
| 22554 |
else case e in #( |
| 22555 |
e) |
| 22556 |
if test "x" = "x" |
| 22557 |
then : |
| 22558 |
|
| 22559 |
enable_vala=auto |
| 22560 |
|
| 22561 |
else case e in #( |
| 22562 |
e) |
| 22563 |
enable_vala= |
| 22564 |
;; |
| 22565 |
esac |
| 22566 |
fi |
| 22567 |
;; |
| 22568 |
esac |
| 22569 |
fi |
| 22570 |
|
| 22571 |
|
| 22572 |
case $enable_vala in #( |
| 22573 |
no) : |
| 22574 |
enable_vala=no ;; #( |
| 22575 |
yes) : |
| 22576 |
|
| 22577 |
if test "x" != "xyes" -a "x$found_introspection" != "xyes" |
| 22578 |
then : |
| 22579 |
|
| 22580 |
as_fn_error $? "Vala bindings require GObject Introspection" "$LINENO" 5 |
| 22581 |
|
| 22582 |
fi |
| 22583 |
;; #( |
| 22584 |
auto) : |
| 22585 |
|
| 22586 |
if test "x" != "xyes" -a "x$found_introspection" != "xyes" |
| 22587 |
then : |
| 22588 |
|
| 22589 |
enable_vala=no |
| 22590 |
|
| 22591 |
fi |
| 22592 |
;; #( |
| 22593 |
*) : |
| 22594 |
|
| 22595 |
as_fn_error $? "Invalid argument passed to --enable-vala, should be one of [no/auto/yes]" "$LINENO" 5 |
| 22596 |
;; |
| 22597 |
esac |
| 22598 |
|
| 22599 |
if test "x" = "x" |
| 22600 |
then : |
| 22601 |
|
| 22602 |
vapigen_pkg_name=vapigen |
| 22603 |
|
| 22604 |
else case e in #( |
| 22605 |
e) |
| 22606 |
vapigen_pkg_name=vapigen- |
| 22607 |
;; |
| 22608 |
esac |
| 22609 |
fi |
| 22610 |
if test "x0.16" = "x" |
| 22611 |
then : |
| 22612 |
|
| 22613 |
vapigen_pkg="$vapigen_pkg_name" |
| 22614 |
|
| 22615 |
else case e in #( |
| 22616 |
e) |
| 22617 |
vapigen_pkg="$vapigen_pkg_name >= 0.16" |
| 22618 |
;; |
| 22619 |
esac |
| 22620 |
fi |
| 22621 |
|
| 22622 |
|
| 22623 |
|
| 22624 |
|
| 22625 |
|
| 22626 |
|
| 22627 |
|
| 22628 |
|
| 22629 |
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
| 22630 |
if test -n "$ac_tool_prefix"; then |
| 22631 |
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
| 22632 |
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
| 22633 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 22634 |
printf %s "checking for $ac_word... " >&6; } |
| 22635 |
if test ${ac_cv_path_PKG_CONFIG+y} |
| 22636 |
then : |
| 22637 |
printf %s "(cached) " >&6 |
| 22638 |
else case e in #( |
| 22639 |
e) case $PKG_CONFIG in |
| 22640 |
[\\/]* | ?:[\\/]*) |
| 22641 |
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
| 22642 |
;; |
| 22643 |
*) |
| 22644 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 22645 |
for as_dir in $PATH |
| 22646 |
do |
| 22647 |
IFS=$as_save_IFS |
| 22648 |
case $as_dir in #((( |
| 22649 |
'') as_dir=./ ;; |
| 22650 |
*/) ;; |
| 22651 |
*) as_dir=$as_dir/ ;; |
| 22652 |
esac |
| 22653 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 22654 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 22655 |
ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" |
| 22656 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 22657 |
break 2 |
| 22658 |
fi |
| 22659 |
done |
| 22660 |
done |
| 22661 |
IFS=$as_save_IFS |
| 22662 |
|
| 22663 |
;; |
| 22664 |
esac ;; |
| 22665 |
esac |
| 22666 |
fi |
| 22667 |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 22668 |
if test -n "$PKG_CONFIG"; then |
| 22669 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 22670 |
printf "%s\n" "$PKG_CONFIG" >&6; } |
| 22671 |
else |
| 22672 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22673 |
printf "%s\n" "no" >&6; } |
| 22674 |
fi |
| 22675 |
|
| 22676 |
|
| 22677 |
fi |
| 22678 |
if test -z "$ac_cv_path_PKG_CONFIG"; then |
| 22679 |
ac_pt_PKG_CONFIG=$PKG_CONFIG |
| 22680 |
# Extract the first word of "pkg-config", so it can be a program name with args. |
| 22681 |
set dummy pkg-config; ac_word=$2 |
| 22682 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 22683 |
printf %s "checking for $ac_word... " >&6; } |
| 22684 |
if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} |
| 22685 |
then : |
| 22686 |
printf %s "(cached) " >&6 |
| 22687 |
else case e in #( |
| 22688 |
e) case $ac_pt_PKG_CONFIG in |
| 22689 |
[\\/]* | ?:[\\/]*) |
| 22690 |
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
| 22691 |
;; |
| 22692 |
*) |
| 22693 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 22694 |
for as_dir in $PATH |
| 22695 |
do |
| 22696 |
IFS=$as_save_IFS |
| 22697 |
case $as_dir in #((( |
| 22698 |
'') as_dir=./ ;; |
| 22699 |
*/) ;; |
| 22700 |
*) as_dir=$as_dir/ ;; |
| 22701 |
esac |
| 22702 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 22703 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 22704 |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" |
| 22705 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 22706 |
break 2 |
| 22707 |
fi |
| 22708 |
done |
| 22709 |
done |
| 22710 |
IFS=$as_save_IFS |
| 22711 |
|
| 22712 |
;; |
| 22713 |
esac ;; |
| 22714 |
esac |
| 22715 |
fi |
| 22716 |
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
| 22717 |
if test -n "$ac_pt_PKG_CONFIG"; then |
| 22718 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
| 22719 |
printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } |
| 22720 |
else |
| 22721 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22722 |
printf "%s\n" "no" >&6; } |
| 22723 |
fi |
| 22724 |
|
| 22725 |
if test "x$ac_pt_PKG_CONFIG" = x; then |
| 22726 |
PKG_CONFIG="" |
| 22727 |
else |
| 22728 |
case $cross_compiling:$ac_tool_warned in |
| 22729 |
yes:) |
| 22730 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 22731 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 22732 |
ac_tool_warned=yes ;; |
| 22733 |
esac |
| 22734 |
PKG_CONFIG=$ac_pt_PKG_CONFIG |
| 22735 |
fi |
| 22736 |
else |
| 22737 |
PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
| 22738 |
fi |
| 22739 |
|
| 22740 |
fi |
| 22741 |
if test -n "$PKG_CONFIG"; then |
| 22742 |
_pkg_min_version=0.9.0 |
| 22743 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
| 22744 |
printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
| 22745 |
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
| 22746 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 22747 |
printf "%s\n" "yes" >&6; } |
| 22748 |
else |
| 22749 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22750 |
printf "%s\n" "no" >&6; } |
| 22751 |
PKG_CONFIG="" |
| 22752 |
fi |
| 22753 |
fi |
| 22754 |
if test -z "$PKG_CONFIG"; then |
| 22755 |
as_fn_error $? "pkg-config not found" "$LINENO" 5 |
| 22756 |
fi |
| 22757 |
|
| 22758 |
if test -n "$PKG_CONFIG" && \ |
| 22759 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$vapigen_pkg\""; } >&5 |
| 22760 |
($PKG_CONFIG --exists --print-errors "$vapigen_pkg") 2>&5 |
| 22761 |
ac_status=$? |
| 22762 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22763 |
test $ac_status = 0; }; then |
| 22764 |
|
| 22765 |
if test "$enable_vala" = "auto" |
| 22766 |
then : |
| 22767 |
|
| 22768 |
enable_vala=yes |
| 22769 |
|
| 22770 |
fi |
| 22771 |
|
| 22772 |
else |
| 22773 |
|
| 22774 |
case $enable_vala in #( |
| 22775 |
yes) : |
| 22776 |
|
| 22777 |
as_fn_error $? "$vapigen_pkg not found" "$LINENO" 5 |
| 22778 |
;; #( |
| 22779 |
auto) : |
| 22780 |
|
| 22781 |
enable_vala=no |
| 22782 |
;; #( |
| 22783 |
*) : |
| 22784 |
;; |
| 22785 |
esac |
| 22786 |
|
| 22787 |
fi |
| 22788 |
|
| 22789 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vapigen" >&5 |
| 22790 |
printf %s "checking for vapigen... " >&6; } |
| 22791 |
|
| 22792 |
case $enable_vala in #( |
| 22793 |
yes) : |
| 22794 |
|
| 22795 |
VAPIGEN=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=vapigen $vapigen_pkg_name` |
| 22796 |
VAPIGEN_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir $vapigen_pkg_name`/vala/Makefile.vapigen |
| 22797 |
if test "x" = "x" |
| 22798 |
then : |
| 22799 |
|
| 22800 |
VAPIGEN_VAPIDIR=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=vapidir $vapigen_pkg_name` |
| 22801 |
|
| 22802 |
else case e in #( |
| 22803 |
e) |
| 22804 |
VAPIGEN_VAPIDIR=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=vapidir_versioned $vapigen_pkg_name` |
| 22805 |
;; |
| 22806 |
esac |
| 22807 |
fi |
| 22808 |
;; #( |
| 22809 |
*) : |
| 22810 |
;; |
| 22811 |
esac |
| 22812 |
|
| 22813 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_vala" >&5 |
| 22814 |
printf "%s\n" "$enable_vala" >&6; } |
| 22815 |
|
| 22816 |
|
| 22817 |
|
| 22818 |
|
| 22819 |
|
| 22820 |
if test "x$enable_vala" = "xyes"; then |
| 22821 |
ENABLE_VAPIGEN_TRUE= |
| 22822 |
ENABLE_VAPIGEN_FALSE='#' |
| 22823 |
else |
| 22824 |
ENABLE_VAPIGEN_TRUE='#' |
| 22825 |
ENABLE_VAPIGEN_FALSE= |
| 22826 |
fi |
| 22827 |
|
| 22828 |
|
| 22829 |
|
| 22830 |
# Check for gtk-doc. |
| 22831 |
|
| 22832 |
|
| 22833 |
|
| 22834 |
gtk_doc_requires="gtk-doc >= 1.9" |
| 22835 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5 |
| 22836 |
printf %s "checking for gtk-doc... " >&6; } |
| 22837 |
if test -n "$PKG_CONFIG" && \ |
| 22838 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5 |
| 22839 |
($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5 |
| 22840 |
ac_status=$? |
| 22841 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 22842 |
test $ac_status = 0; }; then |
| 22843 |
have_gtk_doc=yes |
| 22844 |
else |
| 22845 |
have_gtk_doc=no |
| 22846 |
fi |
| 22847 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5 |
| 22848 |
printf "%s\n" "$have_gtk_doc" >&6; } |
| 22849 |
|
| 22850 |
if test "$have_gtk_doc" = "no"; then |
| 22851 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: |
| 22852 |
You will not be able to create source packages with 'make dist' |
| 22853 |
because $gtk_doc_requires is not found." >&5 |
| 22854 |
printf "%s\n" "$as_me: WARNING: |
| 22855 |
You will not be able to create source packages with 'make dist' |
| 22856 |
because $gtk_doc_requires is not found." >&2;} |
| 22857 |
fi |
| 22858 |
|
| 22859 |
# Extract the first word of "gtkdoc-check", so it can be a program name with args. |
| 22860 |
set dummy gtkdoc-check; ac_word=$2 |
| 22861 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 22862 |
printf %s "checking for $ac_word... " >&6; } |
| 22863 |
if test ${ac_cv_prog_GTKDOC_CHECK+y} |
| 22864 |
then : |
| 22865 |
printf %s "(cached) " >&6 |
| 22866 |
else case e in #( |
| 22867 |
e) if test -n "$GTKDOC_CHECK"; then |
| 22868 |
ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test. |
| 22869 |
else |
| 22870 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 22871 |
for as_dir in $PATH |
| 22872 |
do |
| 22873 |
IFS=$as_save_IFS |
| 22874 |
case $as_dir in #((( |
| 22875 |
'') as_dir=./ ;; |
| 22876 |
*/) ;; |
| 22877 |
*) as_dir=$as_dir/ ;; |
| 22878 |
esac |
| 22879 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 22880 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 22881 |
ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test" |
| 22882 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 22883 |
break 2 |
| 22884 |
fi |
| 22885 |
done |
| 22886 |
done |
| 22887 |
IFS=$as_save_IFS |
| 22888 |
|
| 22889 |
fi ;; |
| 22890 |
esac |
| 22891 |
fi |
| 22892 |
GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK |
| 22893 |
if test -n "$GTKDOC_CHECK"; then |
| 22894 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 |
| 22895 |
printf "%s\n" "$GTKDOC_CHECK" >&6; } |
| 22896 |
else |
| 22897 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22898 |
printf "%s\n" "no" >&6; } |
| 22899 |
fi |
| 22900 |
|
| 22901 |
|
| 22902 |
# Extract the first word of "gtkdoc-check", so it can be a program name with args. |
| 22903 |
set dummy gtkdoc-check; ac_word=$2 |
| 22904 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 22905 |
printf %s "checking for $ac_word... " >&6; } |
| 22906 |
if test ${ac_cv_path_GTKDOC_CHECK_PATH+y} |
| 22907 |
then : |
| 22908 |
printf %s "(cached) " >&6 |
| 22909 |
else case e in #( |
| 22910 |
e) case $GTKDOC_CHECK_PATH in |
| 22911 |
[\\/]* | ?:[\\/]*) |
| 22912 |
ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path. |
| 22913 |
;; |
| 22914 |
*) |
| 22915 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 22916 |
for as_dir in $PATH |
| 22917 |
do |
| 22918 |
IFS=$as_save_IFS |
| 22919 |
case $as_dir in #((( |
| 22920 |
'') as_dir=./ ;; |
| 22921 |
*/) ;; |
| 22922 |
*) as_dir=$as_dir/ ;; |
| 22923 |
esac |
| 22924 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 22925 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 22926 |
ac_cv_path_GTKDOC_CHECK_PATH="$as_dir$ac_word$ac_exec_ext" |
| 22927 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 22928 |
break 2 |
| 22929 |
fi |
| 22930 |
done |
| 22931 |
done |
| 22932 |
IFS=$as_save_IFS |
| 22933 |
|
| 22934 |
;; |
| 22935 |
esac ;; |
| 22936 |
esac |
| 22937 |
fi |
| 22938 |
GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH |
| 22939 |
if test -n "$GTKDOC_CHECK_PATH"; then |
| 22940 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5 |
| 22941 |
printf "%s\n" "$GTKDOC_CHECK_PATH" >&6; } |
| 22942 |
else |
| 22943 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22944 |
printf "%s\n" "no" >&6; } |
| 22945 |
fi |
| 22946 |
|
| 22947 |
|
| 22948 |
for ac_prog in gtkdoc-rebase |
| 22949 |
do |
| 22950 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 22951 |
set dummy $ac_prog; ac_word=$2 |
| 22952 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 22953 |
printf %s "checking for $ac_word... " >&6; } |
| 22954 |
if test ${ac_cv_path_GTKDOC_REBASE+y} |
| 22955 |
then : |
| 22956 |
printf %s "(cached) " >&6 |
| 22957 |
else case e in #( |
| 22958 |
e) case $GTKDOC_REBASE in |
| 22959 |
[\\/]* | ?:[\\/]*) |
| 22960 |
ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path. |
| 22961 |
;; |
| 22962 |
*) |
| 22963 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 22964 |
for as_dir in $PATH |
| 22965 |
do |
| 22966 |
IFS=$as_save_IFS |
| 22967 |
case $as_dir in #((( |
| 22968 |
'') as_dir=./ ;; |
| 22969 |
*/) ;; |
| 22970 |
*) as_dir=$as_dir/ ;; |
| 22971 |
esac |
| 22972 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 22973 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 22974 |
ac_cv_path_GTKDOC_REBASE="$as_dir$ac_word$ac_exec_ext" |
| 22975 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 22976 |
break 2 |
| 22977 |
fi |
| 22978 |
done |
| 22979 |
done |
| 22980 |
IFS=$as_save_IFS |
| 22981 |
|
| 22982 |
;; |
| 22983 |
esac ;; |
| 22984 |
esac |
| 22985 |
fi |
| 22986 |
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE |
| 22987 |
if test -n "$GTKDOC_REBASE"; then |
| 22988 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5 |
| 22989 |
printf "%s\n" "$GTKDOC_REBASE" >&6; } |
| 22990 |
else |
| 22991 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 22992 |
printf "%s\n" "no" >&6; } |
| 22993 |
fi |
| 22994 |
|
| 22995 |
|
| 22996 |
test -n "$GTKDOC_REBASE" && break |
| 22997 |
done |
| 22998 |
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true" |
| 22999 |
|
| 23000 |
# Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args. |
| 23001 |
set dummy gtkdoc-mkpdf; ac_word=$2 |
| 23002 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23003 |
printf %s "checking for $ac_word... " >&6; } |
| 23004 |
if test ${ac_cv_path_GTKDOC_MKPDF+y} |
| 23005 |
then : |
| 23006 |
printf %s "(cached) " >&6 |
| 23007 |
else case e in #( |
| 23008 |
e) case $GTKDOC_MKPDF in |
| 23009 |
[\\/]* | ?:[\\/]*) |
| 23010 |
ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path. |
| 23011 |
;; |
| 23012 |
*) |
| 23013 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 23014 |
for as_dir in $PATH |
| 23015 |
do |
| 23016 |
IFS=$as_save_IFS |
| 23017 |
case $as_dir in #((( |
| 23018 |
'') as_dir=./ ;; |
| 23019 |
*/) ;; |
| 23020 |
*) as_dir=$as_dir/ ;; |
| 23021 |
esac |
| 23022 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 23023 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 23024 |
ac_cv_path_GTKDOC_MKPDF="$as_dir$ac_word$ac_exec_ext" |
| 23025 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 23026 |
break 2 |
| 23027 |
fi |
| 23028 |
done |
| 23029 |
done |
| 23030 |
IFS=$as_save_IFS |
| 23031 |
|
| 23032 |
;; |
| 23033 |
esac ;; |
| 23034 |
esac |
| 23035 |
fi |
| 23036 |
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF |
| 23037 |
if test -n "$GTKDOC_MKPDF"; then |
| 23038 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5 |
| 23039 |
printf "%s\n" "$GTKDOC_MKPDF" >&6; } |
| 23040 |
else |
| 23041 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23042 |
printf "%s\n" "no" >&6; } |
| 23043 |
fi |
| 23044 |
|
| 23045 |
|
| 23046 |
|
| 23047 |
|
| 23048 |
# Check whether --with-html-dir was given. |
| 23049 |
if test ${with_html_dir+y} |
| 23050 |
then : |
| 23051 |
withval=$with_html_dir; |
| 23052 |
else case e in #( |
| 23053 |
e) with_html_dir='${datadir}/gtk-doc/html' ;; |
| 23054 |
esac |
| 23055 |
fi |
| 23056 |
|
| 23057 |
HTML_DIR="$with_html_dir" |
| 23058 |
|
| 23059 |
|
| 23060 |
# Check whether --enable-gtk-doc was given. |
| 23061 |
if test ${enable_gtk_doc+y} |
| 23062 |
then : |
| 23063 |
enableval=$enable_gtk_doc; |
| 23064 |
else case e in #( |
| 23065 |
e) enable_gtk_doc=no ;; |
| 23066 |
esac |
| 23067 |
fi |
| 23068 |
|
| 23069 |
|
| 23070 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 |
| 23071 |
printf %s "checking whether to build gtk-doc documentation... " >&6; } |
| 23072 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 |
| 23073 |
printf "%s\n" "$enable_gtk_doc" >&6; } |
| 23074 |
|
| 23075 |
if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then |
| 23076 |
as_fn_error $? " |
| 23077 |
You must have $gtk_doc_requires installed to build documentation for |
| 23078 |
$PACKAGE_NAME. Please install gtk-doc or disable building the |
| 23079 |
documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5 |
| 23080 |
fi |
| 23081 |
|
| 23082 |
if test "x$PACKAGE_NAME" != "xglib"; then |
| 23083 |
|
| 23084 |
pkg_failed=no |
| 23085 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" >&5 |
| 23086 |
printf %s "checking for glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0... " >&6; } |
| 23087 |
|
| 23088 |
if test -n "$GTKDOC_DEPS_CFLAGS"; then |
| 23089 |
pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS" |
| 23090 |
elif test -n "$PKG_CONFIG"; then |
| 23091 |
if test -n "$PKG_CONFIG" && \ |
| 23092 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 |
| 23093 |
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 |
| 23094 |
ac_status=$? |
| 23095 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23096 |
test $ac_status = 0; }; then |
| 23097 |
pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` |
| 23098 |
test "x$?" != "x0" && pkg_failed=yes |
| 23099 |
else |
| 23100 |
pkg_failed=yes |
| 23101 |
fi |
| 23102 |
else |
| 23103 |
pkg_failed=untried |
| 23104 |
fi |
| 23105 |
if test -n "$GTKDOC_DEPS_LIBS"; then |
| 23106 |
pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS" |
| 23107 |
elif test -n "$PKG_CONFIG"; then |
| 23108 |
if test -n "$PKG_CONFIG" && \ |
| 23109 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5 |
| 23110 |
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5 |
| 23111 |
ac_status=$? |
| 23112 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23113 |
test $ac_status = 0; }; then |
| 23114 |
pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null` |
| 23115 |
test "x$?" != "x0" && pkg_failed=yes |
| 23116 |
else |
| 23117 |
pkg_failed=yes |
| 23118 |
fi |
| 23119 |
else |
| 23120 |
pkg_failed=untried |
| 23121 |
fi |
| 23122 |
|
| 23123 |
|
| 23124 |
|
| 23125 |
if test $pkg_failed = yes; then |
| 23126 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23127 |
printf "%s\n" "no" >&6; } |
| 23128 |
|
| 23129 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 23130 |
_pkg_short_errors_supported=yes |
| 23131 |
else |
| 23132 |
_pkg_short_errors_supported=no |
| 23133 |
fi |
| 23134 |
if test $_pkg_short_errors_supported = yes; then |
| 23135 |
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` |
| 23136 |
else |
| 23137 |
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1` |
| 23138 |
fi |
| 23139 |
# Put the nasty error message in config.log where it belongs |
| 23140 |
echo "$GTKDOC_DEPS_PKG_ERRORS" >&5 |
| 23141 |
|
| 23142 |
: |
| 23143 |
elif test $pkg_failed = untried; then |
| 23144 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23145 |
printf "%s\n" "no" >&6; } |
| 23146 |
: |
| 23147 |
else |
| 23148 |
GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS |
| 23149 |
GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS |
| 23150 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 23151 |
printf "%s\n" "yes" >&6; } |
| 23152 |
|
| 23153 |
fi |
| 23154 |
fi |
| 23155 |
|
| 23156 |
# Check whether --enable-gtk-doc-html was given. |
| 23157 |
if test ${enable_gtk_doc_html+y} |
| 23158 |
then : |
| 23159 |
enableval=$enable_gtk_doc_html; |
| 23160 |
else case e in #( |
| 23161 |
e) enable_gtk_doc_html=yes ;; |
| 23162 |
esac |
| 23163 |
fi |
| 23164 |
|
| 23165 |
# Check whether --enable-gtk-doc-pdf was given. |
| 23166 |
if test ${enable_gtk_doc_pdf+y} |
| 23167 |
then : |
| 23168 |
enableval=$enable_gtk_doc_pdf; |
| 23169 |
else case e in #( |
| 23170 |
e) enable_gtk_doc_pdf=no ;; |
| 23171 |
esac |
| 23172 |
fi |
| 23173 |
|
| 23174 |
|
| 23175 |
if test -z "$GTKDOC_MKPDF"; then |
| 23176 |
enable_gtk_doc_pdf=no |
| 23177 |
fi |
| 23178 |
|
| 23179 |
if test -z "$AM_DEFAULT_VERBOSITY"; then |
| 23180 |
AM_DEFAULT_VERBOSITY=1 |
| 23181 |
fi |
| 23182 |
|
| 23183 |
|
| 23184 |
if test x$have_gtk_doc = xyes; then |
| 23185 |
HAVE_GTK_DOC_TRUE= |
| 23186 |
HAVE_GTK_DOC_FALSE='#' |
| 23187 |
else |
| 23188 |
HAVE_GTK_DOC_TRUE='#' |
| 23189 |
HAVE_GTK_DOC_FALSE= |
| 23190 |
fi |
| 23191 |
|
| 23192 |
if test x$enable_gtk_doc = xyes; then |
| 23193 |
ENABLE_GTK_DOC_TRUE= |
| 23194 |
ENABLE_GTK_DOC_FALSE='#' |
| 23195 |
else |
| 23196 |
ENABLE_GTK_DOC_TRUE='#' |
| 23197 |
ENABLE_GTK_DOC_FALSE= |
| 23198 |
fi |
| 23199 |
|
| 23200 |
if test x$enable_gtk_doc_html = xyes; then |
| 23201 |
GTK_DOC_BUILD_HTML_TRUE= |
| 23202 |
GTK_DOC_BUILD_HTML_FALSE='#' |
| 23203 |
else |
| 23204 |
GTK_DOC_BUILD_HTML_TRUE='#' |
| 23205 |
GTK_DOC_BUILD_HTML_FALSE= |
| 23206 |
fi |
| 23207 |
|
| 23208 |
if test x$enable_gtk_doc_pdf = xyes; then |
| 23209 |
GTK_DOC_BUILD_PDF_TRUE= |
| 23210 |
GTK_DOC_BUILD_PDF_FALSE='#' |
| 23211 |
else |
| 23212 |
GTK_DOC_BUILD_PDF_TRUE='#' |
| 23213 |
GTK_DOC_BUILD_PDF_FALSE= |
| 23214 |
fi |
| 23215 |
|
| 23216 |
if test -n "$LIBTOOL"; then |
| 23217 |
GTK_DOC_USE_LIBTOOL_TRUE= |
| 23218 |
GTK_DOC_USE_LIBTOOL_FALSE='#' |
| 23219 |
else |
| 23220 |
GTK_DOC_USE_LIBTOOL_TRUE='#' |
| 23221 |
GTK_DOC_USE_LIBTOOL_FALSE= |
| 23222 |
fi |
| 23223 |
|
| 23224 |
if test -n "$GTKDOC_REBASE"; then |
| 23225 |
GTK_DOC_USE_REBASE_TRUE= |
| 23226 |
GTK_DOC_USE_REBASE_FALSE='#' |
| 23227 |
else |
| 23228 |
GTK_DOC_USE_REBASE_TRUE='#' |
| 23229 |
GTK_DOC_USE_REBASE_FALSE= |
| 23230 |
fi |
| 23231 |
|
| 23232 |
|
| 23233 |
if test x"$enable_gtk_doc" = x"no"; then |
| 23234 |
enable_gtk_doc="no (disabled, use --enable-gtk-doc to enable)" |
| 23235 |
fi |
| 23236 |
|
| 23237 |
# Check for dbus. |
| 23238 |
|
| 23239 |
pkg_failed=no |
| 23240 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for |
| 23241 |
dbus-1 |
| 23242 |
" >&5 |
| 23243 |
printf %s "checking for |
| 23244 |
dbus-1 |
| 23245 |
... " >&6; } |
| 23246 |
|
| 23247 |
if test -n "$DBUS_CFLAGS"; then |
| 23248 |
pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS" |
| 23249 |
elif test -n "$PKG_CONFIG"; then |
| 23250 |
if test -n "$PKG_CONFIG" && \ |
| 23251 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 23252 |
dbus-1 |
| 23253 |
\""; } >&5 |
| 23254 |
($PKG_CONFIG --exists --print-errors " |
| 23255 |
dbus-1 |
| 23256 |
") 2>&5 |
| 23257 |
ac_status=$? |
| 23258 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23259 |
test $ac_status = 0; }; then |
| 23260 |
pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags " |
| 23261 |
dbus-1 |
| 23262 |
" 2>/dev/null` |
| 23263 |
test "x$?" != "x0" && pkg_failed=yes |
| 23264 |
else |
| 23265 |
pkg_failed=yes |
| 23266 |
fi |
| 23267 |
else |
| 23268 |
pkg_failed=untried |
| 23269 |
fi |
| 23270 |
if test -n "$DBUS_LIBS"; then |
| 23271 |
pkg_cv_DBUS_LIBS="$DBUS_LIBS" |
| 23272 |
elif test -n "$PKG_CONFIG"; then |
| 23273 |
if test -n "$PKG_CONFIG" && \ |
| 23274 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 23275 |
dbus-1 |
| 23276 |
\""; } >&5 |
| 23277 |
($PKG_CONFIG --exists --print-errors " |
| 23278 |
dbus-1 |
| 23279 |
") 2>&5 |
| 23280 |
ac_status=$? |
| 23281 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23282 |
test $ac_status = 0; }; then |
| 23283 |
pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs " |
| 23284 |
dbus-1 |
| 23285 |
" 2>/dev/null` |
| 23286 |
test "x$?" != "x0" && pkg_failed=yes |
| 23287 |
else |
| 23288 |
pkg_failed=yes |
| 23289 |
fi |
| 23290 |
else |
| 23291 |
pkg_failed=untried |
| 23292 |
fi |
| 23293 |
|
| 23294 |
|
| 23295 |
|
| 23296 |
if test $pkg_failed = yes; then |
| 23297 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23298 |
printf "%s\n" "no" >&6; } |
| 23299 |
|
| 23300 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 23301 |
_pkg_short_errors_supported=yes |
| 23302 |
else |
| 23303 |
_pkg_short_errors_supported=no |
| 23304 |
fi |
| 23305 |
if test $_pkg_short_errors_supported = yes; then |
| 23306 |
DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " |
| 23307 |
dbus-1 |
| 23308 |
" 2>&1` |
| 23309 |
else |
| 23310 |
DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " |
| 23311 |
dbus-1 |
| 23312 |
" 2>&1` |
| 23313 |
fi |
| 23314 |
# Put the nasty error message in config.log where it belongs |
| 23315 |
echo "$DBUS_PKG_ERRORS" >&5 |
| 23316 |
|
| 23317 |
as_fn_error $? "Package requirements ( |
| 23318 |
dbus-1 |
| 23319 |
) were not met: |
| 23320 |
|
| 23321 |
$DBUS_PKG_ERRORS |
| 23322 |
|
| 23323 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 23324 |
installed software in a non-standard prefix. |
| 23325 |
|
| 23326 |
Alternatively, you may set the environment variables DBUS_CFLAGS |
| 23327 |
and DBUS_LIBS to avoid the need to call pkg-config. |
| 23328 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 23329 |
elif test $pkg_failed = untried; then |
| 23330 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23331 |
printf "%s\n" "no" >&6; } |
| 23332 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 23333 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 23334 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 23335 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 23336 |
path to pkg-config. |
| 23337 |
|
| 23338 |
Alternatively, you may set the environment variables DBUS_CFLAGS |
| 23339 |
and DBUS_LIBS to avoid the need to call pkg-config. |
| 23340 |
See the pkg-config man page for more details. |
| 23341 |
|
| 23342 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 23343 |
See 'config.log' for more details" "$LINENO" 5; } |
| 23344 |
else |
| 23345 |
DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS |
| 23346 |
DBUS_LIBS=$pkg_cv_DBUS_LIBS |
| 23347 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 23348 |
printf "%s\n" "yes" >&6; } |
| 23349 |
|
| 23350 |
fi |
| 23351 |
|
| 23352 |
# --enable-memconf option. |
| 23353 |
# Check whether --enable-memconf was given. |
| 23354 |
if test ${enable_memconf+y} |
| 23355 |
then : |
| 23356 |
enableval=$enable_memconf; enable_memconf=$enableval |
| 23357 |
else case e in #( |
| 23358 |
e) enable_memconf=no |
| 23359 |
;; |
| 23360 |
esac |
| 23361 |
fi |
| 23362 |
|
| 23363 |
if test "x$enable_memconf" = "xyes"; then |
| 23364 |
ENABLE_MEMCONF_TRUE= |
| 23365 |
ENABLE_MEMCONF_FALSE='#' |
| 23366 |
else |
| 23367 |
ENABLE_MEMCONF_TRUE='#' |
| 23368 |
ENABLE_MEMCONF_FALSE= |
| 23369 |
fi |
| 23370 |
|
| 23371 |
|
| 23372 |
# Check whether --enable-dconf was given. |
| 23373 |
if test ${enable_dconf+y} |
| 23374 |
then : |
| 23375 |
enableval=$enable_dconf; enable_dconf=$enableval |
| 23376 |
else case e in #( |
| 23377 |
e) enable_dconf=yes |
| 23378 |
;; |
| 23379 |
esac |
| 23380 |
fi |
| 23381 |
|
| 23382 |
if test x"$enable_dconf" = x"yes"; then |
| 23383 |
ENABLE_DCONF_TRUE= |
| 23384 |
ENABLE_DCONF_FALSE='#' |
| 23385 |
else |
| 23386 |
ENABLE_DCONF_TRUE='#' |
| 23387 |
ENABLE_DCONF_FALSE= |
| 23388 |
fi |
| 23389 |
|
| 23390 |
|
| 23391 |
if test x"$enable_dconf" = x"yes"; then |
| 23392 |
# check dconf |
| 23393 |
|
| 23394 |
pkg_failed=no |
| 23395 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dconf >= 0.7.5" >&5 |
| 23396 |
printf %s "checking for dconf >= 0.7.5... " >&6; } |
| 23397 |
|
| 23398 |
if test -n "$DCONF_CFLAGS"; then |
| 23399 |
pkg_cv_DCONF_CFLAGS="$DCONF_CFLAGS" |
| 23400 |
elif test -n "$PKG_CONFIG"; then |
| 23401 |
if test -n "$PKG_CONFIG" && \ |
| 23402 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dconf >= 0.7.5\""; } >&5 |
| 23403 |
($PKG_CONFIG --exists --print-errors "dconf >= 0.7.5") 2>&5 |
| 23404 |
ac_status=$? |
| 23405 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23406 |
test $ac_status = 0; }; then |
| 23407 |
pkg_cv_DCONF_CFLAGS=`$PKG_CONFIG --cflags "dconf >= 0.7.5" 2>/dev/null` |
| 23408 |
test "x$?" != "x0" && pkg_failed=yes |
| 23409 |
else |
| 23410 |
pkg_failed=yes |
| 23411 |
fi |
| 23412 |
else |
| 23413 |
pkg_failed=untried |
| 23414 |
fi |
| 23415 |
if test -n "$DCONF_LIBS"; then |
| 23416 |
pkg_cv_DCONF_LIBS="$DCONF_LIBS" |
| 23417 |
elif test -n "$PKG_CONFIG"; then |
| 23418 |
if test -n "$PKG_CONFIG" && \ |
| 23419 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dconf >= 0.7.5\""; } >&5 |
| 23420 |
($PKG_CONFIG --exists --print-errors "dconf >= 0.7.5") 2>&5 |
| 23421 |
ac_status=$? |
| 23422 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23423 |
test $ac_status = 0; }; then |
| 23424 |
pkg_cv_DCONF_LIBS=`$PKG_CONFIG --libs "dconf >= 0.7.5" 2>/dev/null` |
| 23425 |
test "x$?" != "x0" && pkg_failed=yes |
| 23426 |
else |
| 23427 |
pkg_failed=yes |
| 23428 |
fi |
| 23429 |
else |
| 23430 |
pkg_failed=untried |
| 23431 |
fi |
| 23432 |
|
| 23433 |
|
| 23434 |
|
| 23435 |
if test $pkg_failed = yes; then |
| 23436 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23437 |
printf "%s\n" "no" >&6; } |
| 23438 |
|
| 23439 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 23440 |
_pkg_short_errors_supported=yes |
| 23441 |
else |
| 23442 |
_pkg_short_errors_supported=no |
| 23443 |
fi |
| 23444 |
if test $_pkg_short_errors_supported = yes; then |
| 23445 |
DCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dconf >= 0.7.5" 2>&1` |
| 23446 |
else |
| 23447 |
DCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dconf >= 0.7.5" 2>&1` |
| 23448 |
fi |
| 23449 |
# Put the nasty error message in config.log where it belongs |
| 23450 |
echo "$DCONF_PKG_ERRORS" >&5 |
| 23451 |
|
| 23452 |
as_fn_error $? "Package requirements (dconf >= 0.7.5) were not met: |
| 23453 |
|
| 23454 |
$DCONF_PKG_ERRORS |
| 23455 |
|
| 23456 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 23457 |
installed software in a non-standard prefix. |
| 23458 |
|
| 23459 |
Alternatively, you may set the environment variables DCONF_CFLAGS |
| 23460 |
and DCONF_LIBS to avoid the need to call pkg-config. |
| 23461 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 23462 |
elif test $pkg_failed = untried; then |
| 23463 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23464 |
printf "%s\n" "no" >&6; } |
| 23465 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 23466 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 23467 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 23468 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 23469 |
path to pkg-config. |
| 23470 |
|
| 23471 |
Alternatively, you may set the environment variables DCONF_CFLAGS |
| 23472 |
and DCONF_LIBS to avoid the need to call pkg-config. |
| 23473 |
See the pkg-config man page for more details. |
| 23474 |
|
| 23475 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 23476 |
See 'config.log' for more details" "$LINENO" 5; } |
| 23477 |
else |
| 23478 |
DCONF_CFLAGS=$pkg_cv_DCONF_CFLAGS |
| 23479 |
DCONF_LIBS=$pkg_cv_DCONF_LIBS |
| 23480 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 23481 |
printf "%s\n" "yes" >&6; } |
| 23482 |
|
| 23483 |
fi |
| 23484 |
if test -n "$PKG_CONFIG" && \ |
| 23485 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dconf >= 0.13.4\""; } >&5 |
| 23486 |
($PKG_CONFIG --exists --print-errors "dconf >= 0.13.4") 2>&5 |
| 23487 |
ac_status=$? |
| 23488 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23489 |
test $ac_status = 0; }; then |
| 23490 |
|
| 23491 |
printf "%s\n" "#define DCONF_0_13_4 TRUE" >>confdefs.h |
| 23492 |
|
| 23493 |
fi |
| 23494 |
# check glib-compile-schemas |
| 23495 |
|
| 23496 |
|
| 23497 |
|
| 23498 |
|
| 23499 |
# Check whether --enable-schemas-compile was given. |
| 23500 |
if test ${enable_schemas_compile+y} |
| 23501 |
then : |
| 23502 |
enableval=$enable_schemas_compile; case ${enableval} in |
| 23503 |
yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;; |
| 23504 |
no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;; |
| 23505 |
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;; |
| 23506 |
esac |
| 23507 |
fi |
| 23508 |
|
| 23509 |
|
| 23510 |
|
| 23511 |
|
| 23512 |
|
| 23513 |
|
| 23514 |
|
| 23515 |
|
| 23516 |
|
| 23517 |
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
| 23518 |
if test -n "$ac_tool_prefix"; then |
| 23519 |
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
| 23520 |
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
| 23521 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23522 |
printf %s "checking for $ac_word... " >&6; } |
| 23523 |
if test ${ac_cv_path_PKG_CONFIG+y} |
| 23524 |
then : |
| 23525 |
printf %s "(cached) " >&6 |
| 23526 |
else case e in #( |
| 23527 |
e) case $PKG_CONFIG in |
| 23528 |
[\\/]* | ?:[\\/]*) |
| 23529 |
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
| 23530 |
;; |
| 23531 |
*) |
| 23532 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 23533 |
for as_dir in $PATH |
| 23534 |
do |
| 23535 |
IFS=$as_save_IFS |
| 23536 |
case $as_dir in #((( |
| 23537 |
'') as_dir=./ ;; |
| 23538 |
*/) ;; |
| 23539 |
*) as_dir=$as_dir/ ;; |
| 23540 |
esac |
| 23541 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 23542 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 23543 |
ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" |
| 23544 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 23545 |
break 2 |
| 23546 |
fi |
| 23547 |
done |
| 23548 |
done |
| 23549 |
IFS=$as_save_IFS |
| 23550 |
|
| 23551 |
;; |
| 23552 |
esac ;; |
| 23553 |
esac |
| 23554 |
fi |
| 23555 |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 23556 |
if test -n "$PKG_CONFIG"; then |
| 23557 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
| 23558 |
printf "%s\n" "$PKG_CONFIG" >&6; } |
| 23559 |
else |
| 23560 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23561 |
printf "%s\n" "no" >&6; } |
| 23562 |
fi |
| 23563 |
|
| 23564 |
|
| 23565 |
fi |
| 23566 |
if test -z "$ac_cv_path_PKG_CONFIG"; then |
| 23567 |
ac_pt_PKG_CONFIG=$PKG_CONFIG |
| 23568 |
# Extract the first word of "pkg-config", so it can be a program name with args. |
| 23569 |
set dummy pkg-config; ac_word=$2 |
| 23570 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23571 |
printf %s "checking for $ac_word... " >&6; } |
| 23572 |
if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} |
| 23573 |
then : |
| 23574 |
printf %s "(cached) " >&6 |
| 23575 |
else case e in #( |
| 23576 |
e) case $ac_pt_PKG_CONFIG in |
| 23577 |
[\\/]* | ?:[\\/]*) |
| 23578 |
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
| 23579 |
;; |
| 23580 |
*) |
| 23581 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 23582 |
for as_dir in $PATH |
| 23583 |
do |
| 23584 |
IFS=$as_save_IFS |
| 23585 |
case $as_dir in #((( |
| 23586 |
'') as_dir=./ ;; |
| 23587 |
*/) ;; |
| 23588 |
*) as_dir=$as_dir/ ;; |
| 23589 |
esac |
| 23590 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 23591 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 23592 |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" |
| 23593 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 23594 |
break 2 |
| 23595 |
fi |
| 23596 |
done |
| 23597 |
done |
| 23598 |
IFS=$as_save_IFS |
| 23599 |
|
| 23600 |
;; |
| 23601 |
esac ;; |
| 23602 |
esac |
| 23603 |
fi |
| 23604 |
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
| 23605 |
if test -n "$ac_pt_PKG_CONFIG"; then |
| 23606 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
| 23607 |
printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } |
| 23608 |
else |
| 23609 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23610 |
printf "%s\n" "no" >&6; } |
| 23611 |
fi |
| 23612 |
|
| 23613 |
if test "x$ac_pt_PKG_CONFIG" = x; then |
| 23614 |
PKG_CONFIG="" |
| 23615 |
else |
| 23616 |
case $cross_compiling:$ac_tool_warned in |
| 23617 |
yes:) |
| 23618 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 23619 |
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 23620 |
ac_tool_warned=yes ;; |
| 23621 |
esac |
| 23622 |
PKG_CONFIG=$ac_pt_PKG_CONFIG |
| 23623 |
fi |
| 23624 |
else |
| 23625 |
PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
| 23626 |
fi |
| 23627 |
|
| 23628 |
fi |
| 23629 |
if test -n "$PKG_CONFIG"; then |
| 23630 |
_pkg_min_version=0.16 |
| 23631 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
| 23632 |
printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
| 23633 |
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
| 23634 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 23635 |
printf "%s\n" "yes" >&6; } |
| 23636 |
else |
| 23637 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23638 |
printf "%s\n" "no" >&6; } |
| 23639 |
PKG_CONFIG="" |
| 23640 |
fi |
| 23641 |
fi |
| 23642 |
if test -z "$PKG_CONFIG"; then |
| 23643 |
as_fn_error $? "pkg-config not found" "$LINENO" 5 |
| 23644 |
fi |
| 23645 |
gsettingsschemadir=${datadir}/glib-2.0/schemas |
| 23646 |
|
| 23647 |
if test x$cross_compiling != xyes |
| 23648 |
then : |
| 23649 |
|
| 23650 |
if test -n "$GLIB_COMPILE_SCHEMAS"; then |
| 23651 |
pkg_cv_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" |
| 23652 |
elif test -n "$PKG_CONFIG"; then |
| 23653 |
if test -n "$PKG_CONFIG" && \ |
| 23654 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5 |
| 23655 |
($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5 |
| 23656 |
ac_status=$? |
| 23657 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23658 |
test $ac_status = 0; }; then |
| 23659 |
pkg_cv_GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable="glib_compile_schemas" "gio-2.0" 2>/dev/null` |
| 23660 |
test "x$?" != "x0" && pkg_failed=yes |
| 23661 |
else |
| 23662 |
pkg_failed=yes |
| 23663 |
fi |
| 23664 |
else |
| 23665 |
pkg_failed=untried |
| 23666 |
fi |
| 23667 |
GLIB_COMPILE_SCHEMAS=$pkg_cv_GLIB_COMPILE_SCHEMAS |
| 23668 |
|
| 23669 |
if test "x$GLIB_COMPILE_SCHEMAS" = x"" |
| 23670 |
then : |
| 23671 |
|
| 23672 |
fi |
| 23673 |
else case e in #( |
| 23674 |
e) # Extract the first word of "glib-compile-schemas", so it can be a program name with args. |
| 23675 |
set dummy glib-compile-schemas; ac_word=$2 |
| 23676 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23677 |
printf %s "checking for $ac_word... " >&6; } |
| 23678 |
if test ${ac_cv_path_GLIB_COMPILE_SCHEMAS+y} |
| 23679 |
then : |
| 23680 |
printf %s "(cached) " >&6 |
| 23681 |
else case e in #( |
| 23682 |
e) case $GLIB_COMPILE_SCHEMAS in |
| 23683 |
[\\/]* | ?:[\\/]*) |
| 23684 |
ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path. |
| 23685 |
;; |
| 23686 |
*) |
| 23687 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 23688 |
for as_dir in $PATH |
| 23689 |
do |
| 23690 |
IFS=$as_save_IFS |
| 23691 |
case $as_dir in #((( |
| 23692 |
'') as_dir=./ ;; |
| 23693 |
*/) ;; |
| 23694 |
*) as_dir=$as_dir/ ;; |
| 23695 |
esac |
| 23696 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 23697 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 23698 |
ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir$ac_word$ac_exec_ext" |
| 23699 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 23700 |
break 2 |
| 23701 |
fi |
| 23702 |
done |
| 23703 |
done |
| 23704 |
IFS=$as_save_IFS |
| 23705 |
|
| 23706 |
;; |
| 23707 |
esac ;; |
| 23708 |
esac |
| 23709 |
fi |
| 23710 |
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS |
| 23711 |
if test -n "$GLIB_COMPILE_SCHEMAS"; then |
| 23712 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5 |
| 23713 |
printf "%s\n" "$GLIB_COMPILE_SCHEMAS" >&6; } |
| 23714 |
else |
| 23715 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23716 |
printf "%s\n" "no" >&6; } |
| 23717 |
fi |
| 23718 |
|
| 23719 |
;; |
| 23720 |
esac |
| 23721 |
fi |
| 23722 |
|
| 23723 |
if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then |
| 23724 |
as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5 |
| 23725 |
else |
| 23726 |
: |
| 23727 |
fi |
| 23728 |
|
| 23729 |
GSETTINGS_RULES=' |
| 23730 |
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas |
| 23731 |
|
| 23732 |
mostlyclean-am: clean-gsettings-schemas |
| 23733 |
|
| 23734 |
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) |
| 23735 |
|
| 23736 |
%.gschema.valid: %.gschema.xml $(gsettings__enum_file) |
| 23737 |
$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@ |
| 23738 |
|
| 23739 |
all-am: $(gsettings_SCHEMAS:.xml=.valid) |
| 23740 |
uninstall-am: uninstall-gsettings-schemas |
| 23741 |
install-data-am: install-gsettings-schemas |
| 23742 |
|
| 23743 |
.SECONDARY: $(gsettings_SCHEMAS) |
| 23744 |
|
| 23745 |
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) |
| 23746 |
@$(NORMAL_INSTALL) |
| 23747 |
if test -n "$^"; then \ |
| 23748 |
test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ |
| 23749 |
$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ |
| 23750 |
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ |
| 23751 |
fi |
| 23752 |
|
| 23753 |
uninstall-gsettings-schemas: |
| 23754 |
@$(NORMAL_UNINSTALL) |
| 23755 |
@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \ |
| 23756 |
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ |
| 23757 |
test -n "$$files" || exit 0; \ |
| 23758 |
echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \ |
| 23759 |
cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files |
| 23760 |
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) |
| 23761 |
|
| 23762 |
clean-gsettings-schemas: |
| 23763 |
rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) |
| 23764 |
|
| 23765 |
ifdef gsettings_ENUM_NAMESPACE |
| 23766 |
$(gsettings__enum_file): $(gsettings_ENUM_FILES) |
| 23767 |
$(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > [email protected] && mv [email protected] $@ |
| 23768 |
endif |
| 23769 |
' |
| 23770 |
|
| 23771 |
|
| 23772 |
|
| 23773 |
|
| 23774 |
|
| 23775 |
|
| 23776 |
enable_dconf="yes (enabled, use --disable-dconf to disable)" |
| 23777 |
fi |
| 23778 |
|
| 23779 |
# Check whether --enable-systemd-services was given. |
| 23780 |
if test ${enable_systemd_services+y} |
| 23781 |
then : |
| 23782 |
enableval=$enable_systemd_services; enable_systemd=$enableval |
| 23783 |
else case e in #( |
| 23784 |
e) enable_systemd=yes |
| 23785 |
;; |
| 23786 |
esac |
| 23787 |
fi |
| 23788 |
|
| 23789 |
if test x"$enable_systemd" = x"yes"; then |
| 23790 |
ENABLE_SYSTEMD_TRUE= |
| 23791 |
ENABLE_SYSTEMD_FALSE='#' |
| 23792 |
else |
| 23793 |
ENABLE_SYSTEMD_TRUE='#' |
| 23794 |
ENABLE_SYSTEMD_FALSE= |
| 23795 |
fi |
| 23796 |
|
| 23797 |
|
| 23798 |
if test x"$enable_systemd" = x"yes"; then |
| 23799 |
|
| 23800 |
pkg_failed=no |
| 23801 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for |
| 23802 |
systemd >= 0.7.5 |
| 23803 |
" >&5 |
| 23804 |
printf %s "checking for |
| 23805 |
systemd >= 0.7.5 |
| 23806 |
... " >&6; } |
| 23807 |
|
| 23808 |
if test -n "$SYSTEMD_CFLAGS"; then |
| 23809 |
pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS" |
| 23810 |
elif test -n "$PKG_CONFIG"; then |
| 23811 |
if test -n "$PKG_CONFIG" && \ |
| 23812 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 23813 |
systemd >= 0.7.5 |
| 23814 |
\""; } >&5 |
| 23815 |
($PKG_CONFIG --exists --print-errors " |
| 23816 |
systemd >= 0.7.5 |
| 23817 |
") 2>&5 |
| 23818 |
ac_status=$? |
| 23819 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23820 |
test $ac_status = 0; }; then |
| 23821 |
pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags " |
| 23822 |
systemd >= 0.7.5 |
| 23823 |
" 2>/dev/null` |
| 23824 |
test "x$?" != "x0" && pkg_failed=yes |
| 23825 |
else |
| 23826 |
pkg_failed=yes |
| 23827 |
fi |
| 23828 |
else |
| 23829 |
pkg_failed=untried |
| 23830 |
fi |
| 23831 |
if test -n "$SYSTEMD_LIBS"; then |
| 23832 |
pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS" |
| 23833 |
elif test -n "$PKG_CONFIG"; then |
| 23834 |
if test -n "$PKG_CONFIG" && \ |
| 23835 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 23836 |
systemd >= 0.7.5 |
| 23837 |
\""; } >&5 |
| 23838 |
($PKG_CONFIG --exists --print-errors " |
| 23839 |
systemd >= 0.7.5 |
| 23840 |
") 2>&5 |
| 23841 |
ac_status=$? |
| 23842 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 23843 |
test $ac_status = 0; }; then |
| 23844 |
pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs " |
| 23845 |
systemd >= 0.7.5 |
| 23846 |
" 2>/dev/null` |
| 23847 |
test "x$?" != "x0" && pkg_failed=yes |
| 23848 |
else |
| 23849 |
pkg_failed=yes |
| 23850 |
fi |
| 23851 |
else |
| 23852 |
pkg_failed=untried |
| 23853 |
fi |
| 23854 |
|
| 23855 |
|
| 23856 |
|
| 23857 |
if test $pkg_failed = yes; then |
| 23858 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23859 |
printf "%s\n" "no" >&6; } |
| 23860 |
|
| 23861 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 23862 |
_pkg_short_errors_supported=yes |
| 23863 |
else |
| 23864 |
_pkg_short_errors_supported=no |
| 23865 |
fi |
| 23866 |
if test $_pkg_short_errors_supported = yes; then |
| 23867 |
SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " |
| 23868 |
systemd >= 0.7.5 |
| 23869 |
" 2>&1` |
| 23870 |
else |
| 23871 |
SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " |
| 23872 |
systemd >= 0.7.5 |
| 23873 |
" 2>&1` |
| 23874 |
fi |
| 23875 |
# Put the nasty error message in config.log where it belongs |
| 23876 |
echo "$SYSTEMD_PKG_ERRORS" >&5 |
| 23877 |
|
| 23878 |
as_fn_error $? "Package requirements ( |
| 23879 |
systemd >= 0.7.5 |
| 23880 |
) were not met: |
| 23881 |
|
| 23882 |
$SYSTEMD_PKG_ERRORS |
| 23883 |
|
| 23884 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 23885 |
installed software in a non-standard prefix. |
| 23886 |
|
| 23887 |
Alternatively, you may set the environment variables SYSTEMD_CFLAGS |
| 23888 |
and SYSTEMD_LIBS to avoid the need to call pkg-config. |
| 23889 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 23890 |
elif test $pkg_failed = untried; then |
| 23891 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23892 |
printf "%s\n" "no" >&6; } |
| 23893 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 23894 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 23895 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 23896 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 23897 |
path to pkg-config. |
| 23898 |
|
| 23899 |
Alternatively, you may set the environment variables SYSTEMD_CFLAGS |
| 23900 |
and SYSTEMD_LIBS to avoid the need to call pkg-config. |
| 23901 |
See the pkg-config man page for more details. |
| 23902 |
|
| 23903 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 23904 |
See 'config.log' for more details" "$LINENO" 5; } |
| 23905 |
else |
| 23906 |
SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS |
| 23907 |
SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS |
| 23908 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 23909 |
printf "%s\n" "yes" >&6; } |
| 23910 |
|
| 23911 |
fi |
| 23912 |
SYSTEMD_USER_UNIT_DIR=`$PKG_CONFIG --define-variable prefix='${prefix}' --variable systemduserunitdir systemd` |
| 23913 |
|
| 23914 |
enable_systemd="yes (enabled, use --disable-systemd-services to disable)" |
| 23915 |
fi |
| 23916 |
|
| 23917 |
# Check env. |
| 23918 |
# Extract the first word of "env", so it can be a program name with args. |
| 23919 |
set dummy env; ac_word=$2 |
| 23920 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 23921 |
printf %s "checking for $ac_word... " >&6; } |
| 23922 |
if test ${ac_cv_path_ENV_IBUS_TEST+y} |
| 23923 |
then : |
| 23924 |
printf %s "(cached) " >&6 |
| 23925 |
else case e in #( |
| 23926 |
e) case $ENV_IBUS_TEST in |
| 23927 |
[\\/]* | ?:[\\/]*) |
| 23928 |
ac_cv_path_ENV_IBUS_TEST="$ENV_IBUS_TEST" # Let the user override the test with a path. |
| 23929 |
;; |
| 23930 |
*) |
| 23931 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 23932 |
for as_dir in $PATH |
| 23933 |
do |
| 23934 |
IFS=$as_save_IFS |
| 23935 |
case $as_dir in #((( |
| 23936 |
'') as_dir=./ ;; |
| 23937 |
*/) ;; |
| 23938 |
*) as_dir=$as_dir/ ;; |
| 23939 |
esac |
| 23940 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 23941 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 23942 |
ac_cv_path_ENV_IBUS_TEST="$as_dir$ac_word$ac_exec_ext" |
| 23943 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 23944 |
break 2 |
| 23945 |
fi |
| 23946 |
done |
| 23947 |
done |
| 23948 |
IFS=$as_save_IFS |
| 23949 |
|
| 23950 |
;; |
| 23951 |
esac ;; |
| 23952 |
esac |
| 23953 |
fi |
| 23954 |
ENV_IBUS_TEST=$ac_cv_path_ENV_IBUS_TEST |
| 23955 |
if test -n "$ENV_IBUS_TEST"; then |
| 23956 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ENV_IBUS_TEST" >&5 |
| 23957 |
printf "%s\n" "$ENV_IBUS_TEST" >&6; } |
| 23958 |
else |
| 23959 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 23960 |
printf "%s\n" "no" >&6; } |
| 23961 |
fi |
| 23962 |
|
| 23963 |
|
| 23964 |
|
| 23965 |
|
| 23966 |
# Check whether --enable-python2 was given. |
| 23967 |
if test ${enable_python2+y} |
| 23968 |
then : |
| 23969 |
enableval=$enable_python2; enable_python2=$enableval |
| 23970 |
else case e in #( |
| 23971 |
e) enable_python2=yes |
| 23972 |
;; |
| 23973 |
esac |
| 23974 |
fi |
| 23975 |
|
| 23976 |
|
| 23977 |
# Check whether --enable-python-library was given. |
| 23978 |
if test ${enable_python_library+y} |
| 23979 |
then : |
| 23980 |
enableval=$enable_python_library; enable_python_library=$enableval |
| 23981 |
else case e in #( |
| 23982 |
e) enable_python_library=no |
| 23983 |
;; |
| 23984 |
esac |
| 23985 |
fi |
| 23986 |
|
| 23987 |
|
| 23988 |
# Check whether --enable-setup was given. |
| 23989 |
if test ${enable_setup+y} |
| 23990 |
then : |
| 23991 |
enableval=$enable_setup; enable_setup=$enableval |
| 23992 |
else case e in #( |
| 23993 |
e) enable_setup=yes |
| 23994 |
;; |
| 23995 |
esac |
| 23996 |
fi |
| 23997 |
|
| 23998 |
|
| 23999 |
# Define python version |
| 24000 |
|
| 24001 |
# Check whether --with-python was given. |
| 24002 |
if test ${with_python+y} |
| 24003 |
then : |
| 24004 |
withval=$with_python; PYTHON=$with_python |
| 24005 |
fi |
| 24006 |
|
| 24007 |
|
| 24008 |
|
| 24009 |
|
| 24010 |
|
| 24011 |
|
| 24012 |
|
| 24013 |
|
| 24014 |
if test -n "$PYTHON"; then |
| 24015 |
# If the user set $PYTHON, use it and don't search something else. |
| 24016 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5 |
| 24017 |
printf %s "checking whether $PYTHON version is >= 2.5... " >&6; } |
| 24018 |
prog="import sys |
| 24019 |
# split strings by '.' and convert to numeric. Append some zeros |
| 24020 |
# because we need at least 4 digits for the hex conversion. |
| 24021 |
# map returns an iterator in Python 3.0 and a list in 2.x |
| 24022 |
minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0] |
| 24023 |
minverhex = 0 |
| 24024 |
# xrange is not present in Python 3.0 and range returns an iterator |
| 24025 |
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] |
| 24026 |
sys.exit(sys.hexversion < minverhex)" |
| 24027 |
if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 |
| 24028 |
($PYTHON -c "$prog") >&5 2>&5 |
| 24029 |
ac_status=$? |
| 24030 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 24031 |
(exit $ac_status); } |
| 24032 |
then : |
| 24033 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 24034 |
printf "%s\n" "yes" >&6; } |
| 24035 |
else case e in #( |
| 24036 |
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 24037 |
printf "%s\n" "no" >&6; } |
| 24038 |
as_fn_error $? "Python interpreter is too old" "$LINENO" 5 ;; |
| 24039 |
esac |
| 24040 |
fi |
| 24041 |
am_display_PYTHON=$PYTHON |
| 24042 |
else |
| 24043 |
# Otherwise, try each interpreter until we find one that satisfies |
| 24044 |
# VERSION. |
| 24045 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5 |
| 24046 |
printf %s "checking for a Python interpreter with version >= 2.5... " >&6; } |
| 24047 |
if test ${am_cv_pathless_PYTHON+y} |
| 24048 |
then : |
| 24049 |
printf %s "(cached) " >&6 |
| 24050 |
else case e in #( |
| 24051 |
e) |
| 24052 |
for am_cv_pathless_PYTHON in python python3 python3.20 python3.19 python3.18 python3.17 python3.16 python3.15 python3.14 python3.13 python3.12 python3.11 python3.10 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do |
| 24053 |
test "$am_cv_pathless_PYTHON" = none && break |
| 24054 |
prog="import sys |
| 24055 |
# split strings by '.' and convert to numeric. Append some zeros |
| 24056 |
# because we need at least 4 digits for the hex conversion. |
| 24057 |
# map returns an iterator in Python 3.0 and a list in 2.x |
| 24058 |
minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0] |
| 24059 |
minverhex = 0 |
| 24060 |
# xrange is not present in Python 3.0 and range returns an iterator |
| 24061 |
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] |
| 24062 |
sys.exit(sys.hexversion < minverhex)" |
| 24063 |
if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5 |
| 24064 |
($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5 |
| 24065 |
ac_status=$? |
| 24066 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 24067 |
(exit $ac_status); } |
| 24068 |
then : |
| 24069 |
break |
| 24070 |
fi |
| 24071 |
done ;; |
| 24072 |
esac |
| 24073 |
fi |
| 24074 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5 |
| 24075 |
printf "%s\n" "$am_cv_pathless_PYTHON" >&6; } |
| 24076 |
# Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. |
| 24077 |
if test "$am_cv_pathless_PYTHON" = none; then |
| 24078 |
PYTHON=: |
| 24079 |
else |
| 24080 |
# Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args. |
| 24081 |
set dummy $am_cv_pathless_PYTHON; ac_word=$2 |
| 24082 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 24083 |
printf %s "checking for $ac_word... " >&6; } |
| 24084 |
if test ${ac_cv_path_PYTHON+y} |
| 24085 |
then : |
| 24086 |
printf %s "(cached) " >&6 |
| 24087 |
else case e in #( |
| 24088 |
e) case $PYTHON in |
| 24089 |
[\\/]* | ?:[\\/]*) |
| 24090 |
ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. |
| 24091 |
;; |
| 24092 |
*) |
| 24093 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 24094 |
for as_dir in $PATH |
| 24095 |
do |
| 24096 |
IFS=$as_save_IFS |
| 24097 |
case $as_dir in #((( |
| 24098 |
'') as_dir=./ ;; |
| 24099 |
*/) ;; |
| 24100 |
*) as_dir=$as_dir/ ;; |
| 24101 |
esac |
| 24102 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 24103 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 24104 |
ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext" |
| 24105 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 24106 |
break 2 |
| 24107 |
fi |
| 24108 |
done |
| 24109 |
done |
| 24110 |
IFS=$as_save_IFS |
| 24111 |
|
| 24112 |
;; |
| 24113 |
esac ;; |
| 24114 |
esac |
| 24115 |
fi |
| 24116 |
PYTHON=$ac_cv_path_PYTHON |
| 24117 |
if test -n "$PYTHON"; then |
| 24118 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 |
| 24119 |
printf "%s\n" "$PYTHON" >&6; } |
| 24120 |
else |
| 24121 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 24122 |
printf "%s\n" "no" >&6; } |
| 24123 |
fi |
| 24124 |
|
| 24125 |
|
| 24126 |
fi |
| 24127 |
am_display_PYTHON=$am_cv_pathless_PYTHON |
| 24128 |
fi |
| 24129 |
|
| 24130 |
|
| 24131 |
if test "$PYTHON" = :; then |
| 24132 |
as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5 |
| 24133 |
else |
| 24134 |
|
| 24135 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 |
| 24136 |
printf %s "checking for $am_display_PYTHON version... " >&6; } |
| 24137 |
if test ${am_cv_python_version+y} |
| 24138 |
then : |
| 24139 |
printf %s "(cached) " >&6 |
| 24140 |
else case e in #( |
| 24141 |
e) am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"` ;; |
| 24142 |
esac |
| 24143 |
fi |
| 24144 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 |
| 24145 |
printf "%s\n" "$am_cv_python_version" >&6; } |
| 24146 |
PYTHON_VERSION=$am_cv_python_version |
| 24147 |
|
| 24148 |
|
| 24149 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 |
| 24150 |
printf %s "checking for $am_display_PYTHON platform... " >&6; } |
| 24151 |
if test ${am_cv_python_platform+y} |
| 24152 |
then : |
| 24153 |
printf %s "(cached) " >&6 |
| 24154 |
else case e in #( |
| 24155 |
e) am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` ;; |
| 24156 |
esac |
| 24157 |
fi |
| 24158 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 |
| 24159 |
printf "%s\n" "$am_cv_python_platform" >&6; } |
| 24160 |
PYTHON_PLATFORM=$am_cv_python_platform |
| 24161 |
|
| 24162 |
|
| 24163 |
if test "x$prefix" = xNONE; then |
| 24164 |
am__usable_prefix=$ac_default_prefix |
| 24165 |
else |
| 24166 |
am__usable_prefix=$prefix |
| 24167 |
fi |
| 24168 |
|
| 24169 |
# Allow user to request using sys.* values from Python, |
| 24170 |
# instead of the GNU $prefix values. |
| 24171 |
|
| 24172 |
# Check whether --with-python-sys-prefix was given. |
| 24173 |
if test ${with_python_sys_prefix+y} |
| 24174 |
then : |
| 24175 |
withval=$with_python_sys_prefix; am_use_python_sys=: |
| 24176 |
else case e in #( |
| 24177 |
e) am_use_python_sys=false ;; |
| 24178 |
esac |
| 24179 |
fi |
| 24180 |
|
| 24181 |
|
| 24182 |
# Allow user to override whatever the default Python prefix is. |
| 24183 |
|
| 24184 |
# Check whether --with-python_prefix was given. |
| 24185 |
if test ${with_python_prefix+y} |
| 24186 |
then : |
| 24187 |
withval=$with_python_prefix; am_python_prefix_subst=$withval |
| 24188 |
am_cv_python_prefix=$withval |
| 24189 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON prefix" >&5 |
| 24190 |
printf %s "checking for explicit $am_display_PYTHON prefix... " >&6; } |
| 24191 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5 |
| 24192 |
printf "%s\n" "$am_cv_python_prefix" >&6; } |
| 24193 |
else case e in #( |
| 24194 |
e) |
| 24195 |
if $am_use_python_sys; then |
| 24196 |
# using python sys.prefix value, not GNU |
| 24197 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5 |
| 24198 |
printf %s "checking for python default $am_display_PYTHON prefix... " >&6; } |
| 24199 |
if test ${am_cv_python_prefix+y} |
| 24200 |
then : |
| 24201 |
printf %s "(cached) " >&6 |
| 24202 |
else case e in #( |
| 24203 |
e) am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"` ;; |
| 24204 |
esac |
| 24205 |
fi |
| 24206 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5 |
| 24207 |
printf "%s\n" "$am_cv_python_prefix" >&6; } |
| 24208 |
|
| 24209 |
case $am_cv_python_prefix in |
| 24210 |
$am__usable_prefix*) |
| 24211 |
am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'` |
| 24212 |
am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"` |
| 24213 |
;; |
| 24214 |
*) |
| 24215 |
am_python_prefix_subst=$am_cv_python_prefix |
| 24216 |
;; |
| 24217 |
esac |
| 24218 |
else # using GNU prefix value, not python sys.prefix |
| 24219 |
am_python_prefix_subst='${prefix}' |
| 24220 |
am_python_prefix=$am_python_prefix_subst |
| 24221 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON prefix" >&5 |
| 24222 |
printf %s "checking for GNU default $am_display_PYTHON prefix... " >&6; } |
| 24223 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5 |
| 24224 |
printf "%s\n" "$am_python_prefix" >&6; } |
| 24225 |
fi ;; |
| 24226 |
esac |
| 24227 |
fi |
| 24228 |
|
| 24229 |
# Substituting python_prefix_subst value. |
| 24230 |
PYTHON_PREFIX=$am_python_prefix_subst |
| 24231 |
|
| 24232 |
|
| 24233 |
# emacs-page Now do it all over again for Python exec_prefix, but with yet |
| 24234 |
# another conditional: fall back to regular prefix if that was specified. |
| 24235 |
|
| 24236 |
# Check whether --with-python_exec_prefix was given. |
| 24237 |
if test ${with_python_exec_prefix+y} |
| 24238 |
then : |
| 24239 |
withval=$with_python_exec_prefix; am_python_exec_prefix_subst=$withval |
| 24240 |
am_cv_python_exec_prefix=$withval |
| 24241 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON exec_prefix" >&5 |
| 24242 |
printf %s "checking for explicit $am_display_PYTHON exec_prefix... " >&6; } |
| 24243 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5 |
| 24244 |
printf "%s\n" "$am_cv_python_exec_prefix" >&6; } |
| 24245 |
else case e in #( |
| 24246 |
e) |
| 24247 |
# no explicit --with-python_exec_prefix, but if |
| 24248 |
# --with-python_prefix was given, use its value for python_exec_prefix too. |
| 24249 |
if test -n "$with_python_prefix" |
| 24250 |
then : |
| 24251 |
am_python_exec_prefix_subst=$with_python_prefix |
| 24252 |
am_cv_python_exec_prefix=$with_python_prefix |
| 24253 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python_prefix-given $am_display_PYTHON exec_prefix" >&5 |
| 24254 |
printf %s "checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; } |
| 24255 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5 |
| 24256 |
printf "%s\n" "$am_cv_python_exec_prefix" >&6; } |
| 24257 |
else case e in #( |
| 24258 |
e) |
| 24259 |
# Set am__usable_exec_prefix whether using GNU or Python values, |
| 24260 |
# since we use that variable for pyexecdir. |
| 24261 |
if test "x$exec_prefix" = xNONE; then |
| 24262 |
am__usable_exec_prefix=$am__usable_prefix |
| 24263 |
else |
| 24264 |
am__usable_exec_prefix=$exec_prefix |
| 24265 |
fi |
| 24266 |
# |
| 24267 |
if $am_use_python_sys; then # using python sys.exec_prefix, not GNU |
| 24268 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5 |
| 24269 |
printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; } |
| 24270 |
if test ${am_cv_python_exec_prefix+y} |
| 24271 |
then : |
| 24272 |
printf %s "(cached) " >&6 |
| 24273 |
else case e in #( |
| 24274 |
e) am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"` ;; |
| 24275 |
esac |
| 24276 |
fi |
| 24277 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5 |
| 24278 |
printf "%s\n" "$am_cv_python_exec_prefix" >&6; } |
| 24279 |
case $am_cv_python_exec_prefix in |
| 24280 |
$am__usable_exec_prefix*) |
| 24281 |
am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'` |
| 24282 |
am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"` |
| 24283 |
;; |
| 24284 |
*) |
| 24285 |
am_python_exec_prefix_subst=$am_cv_python_exec_prefix |
| 24286 |
;; |
| 24287 |
esac |
| 24288 |
else # using GNU $exec_prefix, not python sys.exec_prefix |
| 24289 |
am_python_exec_prefix_subst='${exec_prefix}' |
| 24290 |
am_python_exec_prefix=$am_python_exec_prefix_subst |
| 24291 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON exec_prefix" >&5 |
| 24292 |
printf %s "checking for GNU default $am_display_PYTHON exec_prefix... " >&6; } |
| 24293 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5 |
| 24294 |
printf "%s\n" "$am_python_exec_prefix" >&6; } |
| 24295 |
fi ;; |
| 24296 |
esac |
| 24297 |
fi ;; |
| 24298 |
esac |
| 24299 |
fi |
| 24300 |
|
| 24301 |
# Substituting python_exec_prefix_subst. |
| 24302 |
PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst |
| 24303 |
|
| 24304 |
|
| 24305 |
# Factor out some code duplication into this shell variable. |
| 24306 |
am_python_setup_sysconfig="\ |
| 24307 |
import sys |
| 24308 |
# Prefer sysconfig over distutils.sysconfig, for better compatibility |
| 24309 |
# with python 3.x. See automake bug#10227. |
| 24310 |
try: |
| 24311 |
import sysconfig |
| 24312 |
except ImportError: |
| 24313 |
can_use_sysconfig = 0 |
| 24314 |
else: |
| 24315 |
can_use_sysconfig = 1 |
| 24316 |
# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs: |
| 24317 |
# <https://github.com/pypa/virtualenv/issues/118> |
| 24318 |
try: |
| 24319 |
from platform import python_implementation |
| 24320 |
if python_implementation() == 'CPython' and sys.version[:3] == '2.7': |
| 24321 |
can_use_sysconfig = 0 |
| 24322 |
except ImportError: |
| 24323 |
pass" # end of am_python_setup_sysconfig |
| 24324 |
|
| 24325 |
# More repeated code, for figuring out the installation scheme to use. |
| 24326 |
am_python_setup_scheme="if hasattr(sysconfig, 'get_default_scheme'): |
| 24327 |
scheme = sysconfig.get_default_scheme() |
| 24328 |
else: |
| 24329 |
scheme = sysconfig._get_default_scheme() |
| 24330 |
if scheme == 'posix_local': |
| 24331 |
if '$am_py_prefix' == '/usr': |
| 24332 |
scheme = 'deb_system' # should only happen during Debian package builds |
| 24333 |
else: |
| 24334 |
# Debian's default scheme installs to /usr/local/ but we want to |
| 24335 |
# follow the prefix, as we always have. |
| 24336 |
# See bugs#54412, #64837, et al. |
| 24337 |
scheme = 'posix_prefix'" # end of am_python_setup_scheme |
| 24338 |
|
| 24339 |
|
| 24340 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5 |
| 24341 |
printf %s "checking for $am_display_PYTHON script directory (pythondir)... " >&6; } |
| 24342 |
if test ${am_cv_python_pythondir+y} |
| 24343 |
then : |
| 24344 |
printf %s "(cached) " >&6 |
| 24345 |
else case e in #( |
| 24346 |
e) if test "x$am_cv_python_prefix" = x; then |
| 24347 |
am_py_prefix=$am__usable_prefix |
| 24348 |
else |
| 24349 |
am_py_prefix=$am_cv_python_prefix |
| 24350 |
fi |
| 24351 |
am_cv_python_pythondir=`$PYTHON -c " |
| 24352 |
$am_python_setup_sysconfig |
| 24353 |
if can_use_sysconfig: |
| 24354 |
try: |
| 24355 |
$am_python_setup_scheme |
| 24356 |
sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'}) |
| 24357 |
except: |
| 24358 |
sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'}) |
| 24359 |
else: |
| 24360 |
from distutils import sysconfig |
| 24361 |
sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix') |
| 24362 |
sys.stdout.write(sitedir)"` |
| 24363 |
# |
| 24364 |
case $am_cv_python_pythondir in |
| 24365 |
$am_py_prefix*) |
| 24366 |
am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` |
| 24367 |
am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"` |
| 24368 |
;; |
| 24369 |
*) |
| 24370 |
case $am_py_prefix in |
| 24371 |
/usr|/System*) ;; |
| 24372 |
*) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages" |
| 24373 |
;; |
| 24374 |
esac |
| 24375 |
;; |
| 24376 |
esac |
| 24377 |
;; |
| 24378 |
esac |
| 24379 |
fi |
| 24380 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 |
| 24381 |
printf "%s\n" "$am_cv_python_pythondir" >&6; } |
| 24382 |
pythondir=$am_cv_python_pythondir |
| 24383 |
|
| 24384 |
|
| 24385 |
pkgpythondir=\${pythondir}/$PACKAGE |
| 24386 |
|
| 24387 |
|
| 24388 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5 |
| 24389 |
printf %s "checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; } |
| 24390 |
if test ${am_cv_python_pyexecdir+y} |
| 24391 |
then : |
| 24392 |
printf %s "(cached) " >&6 |
| 24393 |
else case e in #( |
| 24394 |
e) if test "x$am_cv_python_exec_prefix" = x; then |
| 24395 |
am_py_exec_prefix=$am__usable_exec_prefix |
| 24396 |
else |
| 24397 |
am_py_exec_prefix=$am_cv_python_exec_prefix |
| 24398 |
fi |
| 24399 |
am_cv_python_pyexecdir=`$PYTHON -c " |
| 24400 |
$am_python_setup_sysconfig |
| 24401 |
if can_use_sysconfig: |
| 24402 |
try: |
| 24403 |
$am_python_setup_scheme |
| 24404 |
sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'}) |
| 24405 |
except: |
| 24406 |
sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'}) |
| 24407 |
else: |
| 24408 |
from distutils import sysconfig |
| 24409 |
sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix') |
| 24410 |
sys.stdout.write(sitedir)"` |
| 24411 |
# |
| 24412 |
case $am_cv_python_pyexecdir in |
| 24413 |
$am_py_exec_prefix*) |
| 24414 |
am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` |
| 24415 |
am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"` |
| 24416 |
;; |
| 24417 |
*) |
| 24418 |
case $am_py_exec_prefix in |
| 24419 |
/usr|/System*) ;; |
| 24420 |
*) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages" |
| 24421 |
;; |
| 24422 |
esac |
| 24423 |
;; |
| 24424 |
esac |
| 24425 |
;; |
| 24426 |
esac |
| 24427 |
fi |
| 24428 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 |
| 24429 |
printf "%s\n" "$am_cv_python_pyexecdir" >&6; } |
| 24430 |
pyexecdir=$am_cv_python_pyexecdir |
| 24431 |
|
| 24432 |
|
| 24433 |
pkgpyexecdir=\${pyexecdir}/$PACKAGE |
| 24434 |
|
| 24435 |
|
| 24436 |
|
| 24437 |
fi |
| 24438 |
|
| 24439 |
|
| 24440 |
if test x"$enable_python2" != x"yes"; then |
| 24441 |
enable_python_library=no |
| 24442 |
PYTHON2= |
| 24443 |
enable_python2="no (disabled, use --enable-python2 to enable)" |
| 24444 |
else |
| 24445 |
# Extract the first word of "python2", so it can be a program name with args. |
| 24446 |
set dummy python2; ac_word=$2 |
| 24447 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 24448 |
printf %s "checking for $ac_word... " >&6; } |
| 24449 |
if test ${ac_cv_path_PYTHON2+y} |
| 24450 |
then : |
| 24451 |
printf %s "(cached) " >&6 |
| 24452 |
else case e in #( |
| 24453 |
e) case $PYTHON2 in |
| 24454 |
[\\/]* | ?:[\\/]*) |
| 24455 |
ac_cv_path_PYTHON2="$PYTHON2" # Let the user override the test with a path. |
| 24456 |
;; |
| 24457 |
*) |
| 24458 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 24459 |
for as_dir in $PATH |
| 24460 |
do |
| 24461 |
IFS=$as_save_IFS |
| 24462 |
case $as_dir in #((( |
| 24463 |
'') as_dir=./ ;; |
| 24464 |
*/) ;; |
| 24465 |
*) as_dir=$as_dir/ ;; |
| 24466 |
esac |
| 24467 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 24468 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 24469 |
ac_cv_path_PYTHON2="$as_dir$ac_word$ac_exec_ext" |
| 24470 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 24471 |
break 2 |
| 24472 |
fi |
| 24473 |
done |
| 24474 |
done |
| 24475 |
IFS=$as_save_IFS |
| 24476 |
|
| 24477 |
;; |
| 24478 |
esac ;; |
| 24479 |
esac |
| 24480 |
fi |
| 24481 |
PYTHON2=$ac_cv_path_PYTHON2 |
| 24482 |
if test -n "$PYTHON2"; then |
| 24483 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON2" >&5 |
| 24484 |
printf "%s\n" "$PYTHON2" >&6; } |
| 24485 |
else |
| 24486 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 24487 |
printf "%s\n" "no" >&6; } |
| 24488 |
fi |
| 24489 |
|
| 24490 |
|
| 24491 |
|
| 24492 |
if test x"$PYTHON2" = x""; then |
| 24493 |
PYTHON2=$PYTHON |
| 24494 |
fi |
| 24495 |
fi |
| 24496 |
|
| 24497 |
if test x"$enable_python2" = x"yes"; then |
| 24498 |
ENABLE_PYTHON2_TRUE= |
| 24499 |
ENABLE_PYTHON2_FALSE='#' |
| 24500 |
else |
| 24501 |
ENABLE_PYTHON2_TRUE='#' |
| 24502 |
ENABLE_PYTHON2_FALSE= |
| 24503 |
fi |
| 24504 |
|
| 24505 |
if test x"$enable_python_library" = x"yes"; then |
| 24506 |
ENABLE_PYTHON_LIBRARY_TRUE= |
| 24507 |
ENABLE_PYTHON_LIBRARY_FALSE='#' |
| 24508 |
else |
| 24509 |
ENABLE_PYTHON_LIBRARY_TRUE='#' |
| 24510 |
ENABLE_PYTHON_LIBRARY_FALSE= |
| 24511 |
fi |
| 24512 |
|
| 24513 |
if test x"$enable_setup" = x"yes"; then |
| 24514 |
ENABLE_SETUP_TRUE= |
| 24515 |
ENABLE_SETUP_FALSE='#' |
| 24516 |
else |
| 24517 |
ENABLE_SETUP_TRUE='#' |
| 24518 |
ENABLE_SETUP_FALSE= |
| 24519 |
fi |
| 24520 |
|
| 24521 |
if true; then |
| 24522 |
ENABLE_DAEMON_TRUE= |
| 24523 |
ENABLE_DAEMON_FALSE='#' |
| 24524 |
else |
| 24525 |
ENABLE_DAEMON_TRUE='#' |
| 24526 |
ENABLE_DAEMON_FALSE= |
| 24527 |
fi |
| 24528 |
|
| 24529 |
|
| 24530 |
PYGOBJECT_REQUIRED=3.0.0 |
| 24531 |
|
| 24532 |
# Define Python overrides dir. |
| 24533 |
# When IBus is built with the Json files in test directory, the build |
| 24534 |
# tries to install IBus.py file into pyoverridesdir. |
| 24535 |
# The default GI directory is /usr in Flatpak but the directory is readonly |
| 24536 |
# with `flatpak-builder` and the Flatpak specific GI files are installed in |
| 24537 |
# /app GI directory. |
| 24538 |
|
| 24539 |
# Check whether --with-python-overrides-dir was given. |
| 24540 |
if test ${with_python_overrides_dir+y} |
| 24541 |
then : |
| 24542 |
withval=$with_python_overrides_dir; pyoverridesdir=$with_python_overrides_dir |
| 24543 |
|
| 24544 |
fi |
| 24545 |
|
| 24546 |
|
| 24547 |
if test -n "$PKG_CONFIG" && \ |
| 24548 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5 |
| 24549 |
($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5 |
| 24550 |
ac_status=$? |
| 24551 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 24552 |
test $ac_status = 0; }; then |
| 24553 |
enable_pygobject=yes |
| 24554 |
else |
| 24555 |
enable_pygobject=no |
| 24556 |
fi |
| 24557 |
|
| 24558 |
if test "x$enable_pygobject" = "xyes"; then |
| 24559 |
|
| 24560 |
pkg_failed=no |
| 24561 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pygobject-3.0 >= $PYGOBJECT_REQUIRED" >&5 |
| 24562 |
printf %s "checking for pygobject-3.0 >= $PYGOBJECT_REQUIRED... " >&6; } |
| 24563 |
|
| 24564 |
if test -n "$PYTHON_CFLAGS"; then |
| 24565 |
pkg_cv_PYTHON_CFLAGS="$PYTHON_CFLAGS" |
| 24566 |
elif test -n "$PKG_CONFIG"; then |
| 24567 |
if test -n "$PKG_CONFIG" && \ |
| 24568 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5 |
| 24569 |
($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5 |
| 24570 |
ac_status=$? |
| 24571 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 24572 |
test $ac_status = 0; }; then |
| 24573 |
pkg_cv_PYTHON_CFLAGS=`$PKG_CONFIG --cflags "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>/dev/null` |
| 24574 |
test "x$?" != "x0" && pkg_failed=yes |
| 24575 |
else |
| 24576 |
pkg_failed=yes |
| 24577 |
fi |
| 24578 |
else |
| 24579 |
pkg_failed=untried |
| 24580 |
fi |
| 24581 |
if test -n "$PYTHON_LIBS"; then |
| 24582 |
pkg_cv_PYTHON_LIBS="$PYTHON_LIBS" |
| 24583 |
elif test -n "$PKG_CONFIG"; then |
| 24584 |
if test -n "$PKG_CONFIG" && \ |
| 24585 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5 |
| 24586 |
($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5 |
| 24587 |
ac_status=$? |
| 24588 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 24589 |
test $ac_status = 0; }; then |
| 24590 |
pkg_cv_PYTHON_LIBS=`$PKG_CONFIG --libs "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>/dev/null` |
| 24591 |
test "x$?" != "x0" && pkg_failed=yes |
| 24592 |
else |
| 24593 |
pkg_failed=yes |
| 24594 |
fi |
| 24595 |
else |
| 24596 |
pkg_failed=untried |
| 24597 |
fi |
| 24598 |
|
| 24599 |
|
| 24600 |
|
| 24601 |
if test $pkg_failed = yes; then |
| 24602 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 24603 |
printf "%s\n" "no" >&6; } |
| 24604 |
|
| 24605 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 24606 |
_pkg_short_errors_supported=yes |
| 24607 |
else |
| 24608 |
_pkg_short_errors_supported=no |
| 24609 |
fi |
| 24610 |
if test $_pkg_short_errors_supported = yes; then |
| 24611 |
PYTHON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>&1` |
| 24612 |
else |
| 24613 |
PYTHON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>&1` |
| 24614 |
fi |
| 24615 |
# Put the nasty error message in config.log where it belongs |
| 24616 |
echo "$PYTHON_PKG_ERRORS" >&5 |
| 24617 |
|
| 24618 |
as_fn_error $? "Package requirements (pygobject-3.0 >= $PYGOBJECT_REQUIRED) were not met: |
| 24619 |
|
| 24620 |
$PYTHON_PKG_ERRORS |
| 24621 |
|
| 24622 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 24623 |
installed software in a non-standard prefix. |
| 24624 |
|
| 24625 |
Alternatively, you may set the environment variables PYTHON_CFLAGS |
| 24626 |
and PYTHON_LIBS to avoid the need to call pkg-config. |
| 24627 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 24628 |
elif test $pkg_failed = untried; then |
| 24629 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 24630 |
printf "%s\n" "no" >&6; } |
| 24631 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 24632 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 24633 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 24634 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 24635 |
path to pkg-config. |
| 24636 |
|
| 24637 |
Alternatively, you may set the environment variables PYTHON_CFLAGS |
| 24638 |
and PYTHON_LIBS to avoid the need to call pkg-config. |
| 24639 |
See the pkg-config man page for more details. |
| 24640 |
|
| 24641 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 24642 |
See 'config.log' for more details" "$LINENO" 5; } |
| 24643 |
else |
| 24644 |
PYTHON_CFLAGS=$pkg_cv_PYTHON_CFLAGS |
| 24645 |
PYTHON_LIBS=$pkg_cv_PYTHON_LIBS |
| 24646 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 24647 |
printf "%s\n" "yes" >&6; } |
| 24648 |
|
| 24649 |
fi |
| 24650 |
|
| 24651 |
if test x"$pyoverridesdir" = x""; then |
| 24652 |
pyoverridesdir=`$PYTHON -c "import gi; print(gi._overridesdir)"` |
| 24653 |
fi |
| 24654 |
|
| 24655 |
|
| 24656 |
if test x"$enable_python2" = x"yes"; then |
| 24657 |
py2overridesdir=`$PYTHON2 -c "import gi; print(gi._overridesdir)"` |
| 24658 |
|
| 24659 |
fi |
| 24660 |
fi |
| 24661 |
|
| 24662 |
if test x"$enable_pygobject" = "xyes"; then |
| 24663 |
ENABLE_PYGOBJECT_TRUE= |
| 24664 |
ENABLE_PYGOBJECT_FALSE='#' |
| 24665 |
else |
| 24666 |
ENABLE_PYGOBJECT_TRUE='#' |
| 24667 |
ENABLE_PYGOBJECT_FALSE= |
| 24668 |
fi |
| 24669 |
|
| 24670 |
|
| 24671 |
if test x"$enable_python_library" = x"yes"; then |
| 24672 |
# Check python. |
| 24673 |
# Extract the first word of "python$PYTHON_VERSION-config", so it can be a program name with args. |
| 24674 |
set dummy python$PYTHON_VERSION-config; ac_word=$2 |
| 24675 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 24676 |
printf %s "checking for $ac_word... " >&6; } |
| 24677 |
if test ${ac_cv_path_PYTHON_CONFIG+y} |
| 24678 |
then : |
| 24679 |
printf %s "(cached) " >&6 |
| 24680 |
else case e in #( |
| 24681 |
e) case $PYTHON_CONFIG in |
| 24682 |
[\\/]* | ?:[\\/]*) |
| 24683 |
ac_cv_path_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test with a path. |
| 24684 |
;; |
| 24685 |
*) |
| 24686 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 24687 |
for as_dir in $PATH |
| 24688 |
do |
| 24689 |
IFS=$as_save_IFS |
| 24690 |
case $as_dir in #((( |
| 24691 |
'') as_dir=./ ;; |
| 24692 |
*/) ;; |
| 24693 |
*) as_dir=$as_dir/ ;; |
| 24694 |
esac |
| 24695 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 24696 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 24697 |
ac_cv_path_PYTHON_CONFIG="$as_dir$ac_word$ac_exec_ext" |
| 24698 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 24699 |
break 2 |
| 24700 |
fi |
| 24701 |
done |
| 24702 |
done |
| 24703 |
IFS=$as_save_IFS |
| 24704 |
|
| 24705 |
;; |
| 24706 |
esac ;; |
| 24707 |
esac |
| 24708 |
fi |
| 24709 |
PYTHON_CONFIG=$ac_cv_path_PYTHON_CONFIG |
| 24710 |
if test -n "$PYTHON_CONFIG"; then |
| 24711 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5 |
| 24712 |
printf "%s\n" "$PYTHON_CONFIG" >&6; } |
| 24713 |
else |
| 24714 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 24715 |
printf "%s\n" "no" >&6; } |
| 24716 |
fi |
| 24717 |
|
| 24718 |
|
| 24719 |
if test x"$PYTHON_CONFIG" = x""; then |
| 24720 |
# Extract the first word of "python-config", so it can be a program name with args. |
| 24721 |
set dummy python-config; ac_word=$2 |
| 24722 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 24723 |
printf %s "checking for $ac_word... " >&6; } |
| 24724 |
if test ${ac_cv_path_PYTHON_CONFIG+y} |
| 24725 |
then : |
| 24726 |
printf %s "(cached) " >&6 |
| 24727 |
else case e in #( |
| 24728 |
e) case $PYTHON_CONFIG in |
| 24729 |
[\\/]* | ?:[\\/]*) |
| 24730 |
ac_cv_path_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test with a path. |
| 24731 |
;; |
| 24732 |
*) |
| 24733 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 24734 |
for as_dir in $PATH |
| 24735 |
do |
| 24736 |
IFS=$as_save_IFS |
| 24737 |
case $as_dir in #((( |
| 24738 |
'') as_dir=./ ;; |
| 24739 |
*/) ;; |
| 24740 |
*) as_dir=$as_dir/ ;; |
| 24741 |
esac |
| 24742 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 24743 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 24744 |
ac_cv_path_PYTHON_CONFIG="$as_dir$ac_word$ac_exec_ext" |
| 24745 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 24746 |
break 2 |
| 24747 |
fi |
| 24748 |
done |
| 24749 |
done |
| 24750 |
IFS=$as_save_IFS |
| 24751 |
|
| 24752 |
;; |
| 24753 |
esac ;; |
| 24754 |
esac |
| 24755 |
fi |
| 24756 |
PYTHON_CONFIG=$ac_cv_path_PYTHON_CONFIG |
| 24757 |
if test -n "$PYTHON_CONFIG"; then |
| 24758 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5 |
| 24759 |
printf "%s\n" "$PYTHON_CONFIG" >&6; } |
| 24760 |
else |
| 24761 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 24762 |
printf "%s\n" "no" >&6; } |
| 24763 |
fi |
| 24764 |
|
| 24765 |
|
| 24766 |
fi |
| 24767 |
if test x"$PYTHON_CONFIG" != x""; then |
| 24768 |
PYTHON_CFLAGS=`$PYTHON_CONFIG --includes` |
| 24769 |
PYTHON_LIBS=`$PYTHON_CONFIG --libs` |
| 24770 |
else |
| 24771 |
PYTHON_CFLAGS=`$PYTHON $srcdir/python-config.py --includes` |
| 24772 |
PYTHON_LIBS=`$PYTHON $srcdir/python-config.py --libs` |
| 24773 |
fi |
| 24774 |
PYTHON_INCLUDES="$PYTHON_CFLAGS" |
| 24775 |
|
| 24776 |
|
| 24777 |
|
| 24778 |
|
| 24779 |
PYTHON2_PREFIX=`$PYTHON2 -c "import sys; sys.stdout.write(sys.prefix)"` |
| 24780 |
PYTHON2_VERSION=`$PYTHON2 -c "import sys; sys.stdout.write(sys.version[:3])"` |
| 24781 |
PYTHON2_LIBDIR="$PYTHON2_PREFIX/lib/python$PYTHON2_VERSION" |
| 24782 |
python2dir="$PYTHON2_LIBDIR/site-packages" |
| 24783 |
pkgpython2dir="$python2dir/ibus" |
| 24784 |
|
| 24785 |
else |
| 24786 |
enable_python_library="no (disabled, use --enable-python-library to enable)" |
| 24787 |
fi |
| 24788 |
|
| 24789 |
# Define gtk2 immodule dir. |
| 24790 |
|
| 24791 |
# Check whether --with-gtk2-im-module-dir was given. |
| 24792 |
if test ${with_gtk2_im_module_dir+y} |
| 24793 |
then : |
| 24794 |
withval=$with_gtk2_im_module_dir; GTK2_IM_MODULEDIR=$with_gtk2_im_module_dir |
| 24795 |
|
| 24796 |
fi |
| 24797 |
|
| 24798 |
|
| 24799 |
|
| 24800 |
# Define gtk3 immodule dir. |
| 24801 |
|
| 24802 |
# Check whether --with-gtk3-im-module-dir was given. |
| 24803 |
if test ${with_gtk3_im_module_dir+y} |
| 24804 |
then : |
| 24805 |
withval=$with_gtk3_im_module_dir; GTK3_IM_MODULEDIR=$with_gtk3_im_module_dir |
| 24806 |
|
| 24807 |
fi |
| 24808 |
|
| 24809 |
|
| 24810 |
|
| 24811 |
# Define gtk4 immodule dir. |
| 24812 |
|
| 24813 |
# Check whether --with-gtk4-im-module-dir was given. |
| 24814 |
if test ${with_gtk4_im_module_dir+y} |
| 24815 |
then : |
| 24816 |
withval=$with_gtk4_im_module_dir; GTK4_IM_MODULEDIR=$with_gtk4_im_module_dir |
| 24817 |
|
| 24818 |
fi |
| 24819 |
|
| 24820 |
|
| 24821 |
|
| 24822 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $PYTHON GI GnomeDesktop module" >&5 |
| 24823 |
printf %s "checking for $PYTHON GI GnomeDesktop module... " >&6; } |
| 24824 |
if { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PYTHON -c \"def _configure_test(): |
| 24825 |
from gi import require_version as gi_require_version |
| 24826 |
gi_require_version('GnomeDesktop', '4.0') |
| 24827 |
from gi.repository import GnomeDesktop |
| 24828 |
_configure_test()\""; } >&5 |
| 24829 |
($PYTHON -c "def _configure_test(): |
| 24830 |
from gi import require_version as gi_require_version |
| 24831 |
gi_require_version('GnomeDesktop', '4.0') |
| 24832 |
from gi.repository import GnomeDesktop |
| 24833 |
_configure_test()") 2>&5 |
| 24834 |
ac_status=$? |
| 24835 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 24836 |
test $ac_status = 0; }; then |
| 24837 |
enable_pygnome_desktop="yes" |
| 24838 |
else |
| 24839 |
enable_pygnome_desktop="no" |
| 24840 |
fi |
| 24841 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_pygnome_desktop" >&5 |
| 24842 |
printf "%s\n" "$enable_pygnome_desktop" >&6; } |
| 24843 |
if test x"$enable_pygnome_desktop" = x"yes"; then |
| 24844 |
ENABLE_PYGNOME_DESKTOP_TRUE= |
| 24845 |
ENABLE_PYGNOME_DESKTOP_FALSE='#' |
| 24846 |
else |
| 24847 |
ENABLE_PYGNOME_DESKTOP_TRUE='#' |
| 24848 |
ENABLE_PYGNOME_DESKTOP_FALSE= |
| 24849 |
fi |
| 24850 |
|
| 24851 |
|
| 24852 |
if test x"$enable_python" = x"yes"; then |
| 24853 |
# Check for dbus-python. |
| 24854 |
# Check whether --enable-dbus-python-check was given. |
| 24855 |
if test ${enable_dbus_python_check+y} |
| 24856 |
then : |
| 24857 |
enableval=$enable_dbus_python_check; enable_dbus_python_check=$enableval |
| 24858 |
else case e in #( |
| 24859 |
e) enable_dbus_python_check=yes |
| 24860 |
;; |
| 24861 |
esac |
| 24862 |
fi |
| 24863 |
|
| 24864 |
|
| 24865 |
pkg_failed=no |
| 24866 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dbus-python >= 0.83.0" >&5 |
| 24867 |
printf %s "checking for dbus-python >= 0.83.0... " >&6; } |
| 24868 |
|
| 24869 |
if test -n "$DBUS_PYTHON_CFLAGS"; then |
| 24870 |
pkg_cv_DBUS_PYTHON_CFLAGS="$DBUS_PYTHON_CFLAGS" |
| 24871 |
elif test -n "$PKG_CONFIG"; then |
| 24872 |
if test -n "$PKG_CONFIG" && \ |
| 24873 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-python >= 0.83.0\""; } >&5 |
| 24874 |
($PKG_CONFIG --exists --print-errors "dbus-python >= 0.83.0") 2>&5 |
| 24875 |
ac_status=$? |
| 24876 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 24877 |
test $ac_status = 0; }; then |
| 24878 |
pkg_cv_DBUS_PYTHON_CFLAGS=`$PKG_CONFIG --cflags "dbus-python >= 0.83.0" 2>/dev/null` |
| 24879 |
test "x$?" != "x0" && pkg_failed=yes |
| 24880 |
else |
| 24881 |
pkg_failed=yes |
| 24882 |
fi |
| 24883 |
else |
| 24884 |
pkg_failed=untried |
| 24885 |
fi |
| 24886 |
if test -n "$DBUS_PYTHON_LIBS"; then |
| 24887 |
pkg_cv_DBUS_PYTHON_LIBS="$DBUS_PYTHON_LIBS" |
| 24888 |
elif test -n "$PKG_CONFIG"; then |
| 24889 |
if test -n "$PKG_CONFIG" && \ |
| 24890 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-python >= 0.83.0\""; } >&5 |
| 24891 |
($PKG_CONFIG --exists --print-errors "dbus-python >= 0.83.0") 2>&5 |
| 24892 |
ac_status=$? |
| 24893 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 24894 |
test $ac_status = 0; }; then |
| 24895 |
pkg_cv_DBUS_PYTHON_LIBS=`$PKG_CONFIG --libs "dbus-python >= 0.83.0" 2>/dev/null` |
| 24896 |
test "x$?" != "x0" && pkg_failed=yes |
| 24897 |
else |
| 24898 |
pkg_failed=yes |
| 24899 |
fi |
| 24900 |
else |
| 24901 |
pkg_failed=untried |
| 24902 |
fi |
| 24903 |
|
| 24904 |
|
| 24905 |
|
| 24906 |
if test $pkg_failed = yes; then |
| 24907 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 24908 |
printf "%s\n" "no" >&6; } |
| 24909 |
|
| 24910 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 24911 |
_pkg_short_errors_supported=yes |
| 24912 |
else |
| 24913 |
_pkg_short_errors_supported=no |
| 24914 |
fi |
| 24915 |
if test $_pkg_short_errors_supported = yes; then |
| 24916 |
DBUS_PYTHON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-python >= 0.83.0" 2>&1` |
| 24917 |
else |
| 24918 |
DBUS_PYTHON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-python >= 0.83.0" 2>&1` |
| 24919 |
fi |
| 24920 |
# Put the nasty error message in config.log where it belongs |
| 24921 |
echo "$DBUS_PYTHON_PKG_ERRORS" >&5 |
| 24922 |
|
| 24923 |
IBUS_HAS_DBUS_PYTHON=no |
| 24924 |
|
| 24925 |
elif test $pkg_failed = untried; then |
| 24926 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 24927 |
printf "%s\n" "no" >&6; } |
| 24928 |
IBUS_HAS_DBUS_PYTHON=no |
| 24929 |
|
| 24930 |
else |
| 24931 |
DBUS_PYTHON_CFLAGS=$pkg_cv_DBUS_PYTHON_CFLAGS |
| 24932 |
DBUS_PYTHON_LIBS=$pkg_cv_DBUS_PYTHON_LIBS |
| 24933 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 24934 |
printf "%s\n" "yes" >&6; } |
| 24935 |
IBUS_HAS_DBUS_PYTHON=yes |
| 24936 |
fi |
| 24937 |
if test x"$IBUS_HAS_DBUS_PYTHON" != x"yes"; then |
| 24938 |
if test x"$enable_dbus_python_check" != x"no"; then |
| 24939 |
as_fn_error $? "can not find dbus-python >= 0.83.0. Please install or update dbus-python." "$LINENO" 5 |
| 24940 |
else |
| 24941 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: can not find dbus-python >= 0.83.0. It is required." >&5 |
| 24942 |
printf "%s\n" "$as_me: WARNING: can not find dbus-python >= 0.83.0. It is required." >&2;} |
| 24943 |
fi |
| 24944 |
fi |
| 24945 |
fi |
| 24946 |
|
| 24947 |
# Option for always disable snooper applications. |
| 24948 |
# Check whether --enable-key-snooper was given. |
| 24949 |
if test ${enable_key_snooper+y} |
| 24950 |
then : |
| 24951 |
enableval=$enable_key_snooper; enable_key_snooper=$enableval |
| 24952 |
else case e in #( |
| 24953 |
e) enable_key_snooper=yes |
| 24954 |
;; |
| 24955 |
esac |
| 24956 |
fi |
| 24957 |
|
| 24958 |
if test x"$enable_key_snooper" = x"yes"; then |
| 24959 |
|
| 24960 |
printf "%s\n" "#define ENABLE_SNOOPER TRUE" >>confdefs.h |
| 24961 |
|
| 24962 |
else |
| 24963 |
|
| 24964 |
printf "%s\n" "#define ENABLE_SNOOPER FALSE" >>confdefs.h |
| 24965 |
|
| 24966 |
enable_key_snooper="no (disabled, use --enable-key-snooper to enable)" |
| 24967 |
fi |
| 24968 |
|
| 24969 |
# Option for no snooper applications. |
| 24970 |
|
| 24971 |
# Check whether --with-no-snooper-apps was given. |
| 24972 |
if test ${with_no_snooper_apps+y} |
| 24973 |
then : |
| 24974 |
withval=$with_no_snooper_apps; NO_SNOOPER_APPS=$with_no_snooper_apps |
| 24975 |
else case e in #( |
| 24976 |
e) NO_SNOOPER_APPS=firefox.*,.*chrome.*,.*chromium.*,terminator |
| 24977 |
;; |
| 24978 |
esac |
| 24979 |
fi |
| 24980 |
|
| 24981 |
|
| 24982 |
printf "%s\n" "#define NO_SNOOPER_APPS \"$NO_SNOOPER_APPS\"" >>confdefs.h |
| 24983 |
|
| 24984 |
|
| 24985 |
# GNOME 3 uses the theme's icon. |
| 24986 |
|
| 24987 |
# Check whether --with-panel-icon-keyboard was given. |
| 24988 |
if test ${with_panel_icon_keyboard+y} |
| 24989 |
then : |
| 24990 |
withval=$with_panel_icon_keyboard; if test x"$with_panel_icon_keyboard" = x"yes" -o \ |
| 24991 |
x"$with_panel_icon_keyboard" = x; then |
| 24992 |
with_panel_icon_keyboard="input-keyboard-symbolic" |
| 24993 |
fi |
| 24994 |
if test x"$with_panel_icon_keyboard" = x"legacy"; then |
| 24995 |
with_panel_icon_keyboard="ibus-keyboard" |
| 24996 |
fi |
| 24997 |
IBUS_ICON_KEYBOARD=$with_panel_icon_keyboard |
| 24998 |
|
| 24999 |
else case e in #( |
| 25000 |
e) IBUS_ICON_KEYBOARD="ibus-keyboard" |
| 25001 |
;; |
| 25002 |
esac |
| 25003 |
fi |
| 25004 |
|
| 25005 |
|
| 25006 |
|
| 25007 |
# --disable-surrounding-text option. |
| 25008 |
# Check whether --enable-surrounding-text was given. |
| 25009 |
if test ${enable_surrounding_text+y} |
| 25010 |
then : |
| 25011 |
enableval=$enable_surrounding_text; enable_surrounding_text=$enableval |
| 25012 |
else case e in #( |
| 25013 |
e) enable_surrounding_text=yes |
| 25014 |
;; |
| 25015 |
esac |
| 25016 |
fi |
| 25017 |
|
| 25018 |
if test x"$enable_surrounding_text" = x"yes"; then |
| 25019 |
|
| 25020 |
printf "%s\n" "#define ENABLE_SURROUNDING TRUE" >>confdefs.h |
| 25021 |
|
| 25022 |
enable_surrounding_text="yes (enabled, use --disable-surrounding-text to disable)" |
| 25023 |
fi |
| 25024 |
|
| 25025 |
# --disable-ui |
| 25026 |
# Check whether --enable-ui was given. |
| 25027 |
if test ${enable_ui+y} |
| 25028 |
then : |
| 25029 |
enableval=$enable_ui; enable_ui=$enableval |
| 25030 |
else case e in #( |
| 25031 |
e) enable_ui=yes |
| 25032 |
;; |
| 25033 |
esac |
| 25034 |
fi |
| 25035 |
|
| 25036 |
if test x"$enable_ui" = x"yes"; then |
| 25037 |
ENABLE_UI_TRUE= |
| 25038 |
ENABLE_UI_FALSE='#' |
| 25039 |
else |
| 25040 |
ENABLE_UI_TRUE='#' |
| 25041 |
ENABLE_UI_FALSE= |
| 25042 |
fi |
| 25043 |
|
| 25044 |
if test x"$enable_ui" = x"yes"; then |
| 25045 |
enable_ui="yes (enabled, use --disable-ui to disable)" |
| 25046 |
fi |
| 25047 |
|
| 25048 |
if test x"$enable_appindicator" = x"yes"; then |
| 25049 |
|
| 25050 |
pkg_failed=no |
| 25051 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dbusmenu-glib-0.4" >&5 |
| 25052 |
printf %s "checking for dbusmenu-glib-0.4... " >&6; } |
| 25053 |
|
| 25054 |
if test -n "$DBUSMENU_GLIB_CFLAGS"; then |
| 25055 |
pkg_cv_DBUSMENU_GLIB_CFLAGS="$DBUSMENU_GLIB_CFLAGS" |
| 25056 |
elif test -n "$PKG_CONFIG"; then |
| 25057 |
if test -n "$PKG_CONFIG" && \ |
| 25058 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbusmenu-glib-0.4\""; } >&5 |
| 25059 |
($PKG_CONFIG --exists --print-errors "dbusmenu-glib-0.4") 2>&5 |
| 25060 |
ac_status=$? |
| 25061 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25062 |
test $ac_status = 0; }; then |
| 25063 |
pkg_cv_DBUSMENU_GLIB_CFLAGS=`$PKG_CONFIG --cflags "dbusmenu-glib-0.4" 2>/dev/null` |
| 25064 |
test "x$?" != "x0" && pkg_failed=yes |
| 25065 |
else |
| 25066 |
pkg_failed=yes |
| 25067 |
fi |
| 25068 |
else |
| 25069 |
pkg_failed=untried |
| 25070 |
fi |
| 25071 |
if test -n "$DBUSMENU_GLIB_LIBS"; then |
| 25072 |
pkg_cv_DBUSMENU_GLIB_LIBS="$DBUSMENU_GLIB_LIBS" |
| 25073 |
elif test -n "$PKG_CONFIG"; then |
| 25074 |
if test -n "$PKG_CONFIG" && \ |
| 25075 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbusmenu-glib-0.4\""; } >&5 |
| 25076 |
($PKG_CONFIG --exists --print-errors "dbusmenu-glib-0.4") 2>&5 |
| 25077 |
ac_status=$? |
| 25078 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25079 |
test $ac_status = 0; }; then |
| 25080 |
pkg_cv_DBUSMENU_GLIB_LIBS=`$PKG_CONFIG --libs "dbusmenu-glib-0.4" 2>/dev/null` |
| 25081 |
test "x$?" != "x0" && pkg_failed=yes |
| 25082 |
else |
| 25083 |
pkg_failed=yes |
| 25084 |
fi |
| 25085 |
else |
| 25086 |
pkg_failed=untried |
| 25087 |
fi |
| 25088 |
|
| 25089 |
|
| 25090 |
|
| 25091 |
if test $pkg_failed = yes; then |
| 25092 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25093 |
printf "%s\n" "no" >&6; } |
| 25094 |
|
| 25095 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 25096 |
_pkg_short_errors_supported=yes |
| 25097 |
else |
| 25098 |
_pkg_short_errors_supported=no |
| 25099 |
fi |
| 25100 |
if test $_pkg_short_errors_supported = yes; then |
| 25101 |
DBUSMENU_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbusmenu-glib-0.4" 2>&1` |
| 25102 |
else |
| 25103 |
DBUSMENU_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbusmenu-glib-0.4" 2>&1` |
| 25104 |
fi |
| 25105 |
# Put the nasty error message in config.log where it belongs |
| 25106 |
echo "$DBUSMENU_GLIB_PKG_ERRORS" >&5 |
| 25107 |
|
| 25108 |
as_fn_error $? "Package requirements (dbusmenu-glib-0.4) were not met: |
| 25109 |
|
| 25110 |
$DBUSMENU_GLIB_PKG_ERRORS |
| 25111 |
|
| 25112 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 25113 |
installed software in a non-standard prefix. |
| 25114 |
|
| 25115 |
Alternatively, you may set the environment variables DBUSMENU_GLIB_CFLAGS |
| 25116 |
and DBUSMENU_GLIB_LIBS to avoid the need to call pkg-config. |
| 25117 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 25118 |
elif test $pkg_failed = untried; then |
| 25119 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25120 |
printf "%s\n" "no" >&6; } |
| 25121 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 25122 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 25123 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 25124 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 25125 |
path to pkg-config. |
| 25126 |
|
| 25127 |
Alternatively, you may set the environment variables DBUSMENU_GLIB_CFLAGS |
| 25128 |
and DBUSMENU_GLIB_LIBS to avoid the need to call pkg-config. |
| 25129 |
See the pkg-config man page for more details. |
| 25130 |
|
| 25131 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 25132 |
See 'config.log' for more details" "$LINENO" 5; } |
| 25133 |
else |
| 25134 |
DBUSMENU_GLIB_CFLAGS=$pkg_cv_DBUSMENU_GLIB_CFLAGS |
| 25135 |
DBUSMENU_GLIB_LIBS=$pkg_cv_DBUSMENU_GLIB_LIBS |
| 25136 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 25137 |
printf "%s\n" "yes" >&6; } |
| 25138 |
|
| 25139 |
fi |
| 25140 |
|
| 25141 |
pkg_failed=no |
| 25142 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dbusmenu-gtk3-0.4" >&5 |
| 25143 |
printf %s "checking for dbusmenu-gtk3-0.4... " >&6; } |
| 25144 |
|
| 25145 |
if test -n "$DBUSMENU_GTK3_CFLAGS"; then |
| 25146 |
pkg_cv_DBUSMENU_GTK3_CFLAGS="$DBUSMENU_GTK3_CFLAGS" |
| 25147 |
elif test -n "$PKG_CONFIG"; then |
| 25148 |
if test -n "$PKG_CONFIG" && \ |
| 25149 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbusmenu-gtk3-0.4\""; } >&5 |
| 25150 |
($PKG_CONFIG --exists --print-errors "dbusmenu-gtk3-0.4") 2>&5 |
| 25151 |
ac_status=$? |
| 25152 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25153 |
test $ac_status = 0; }; then |
| 25154 |
pkg_cv_DBUSMENU_GTK3_CFLAGS=`$PKG_CONFIG --cflags "dbusmenu-gtk3-0.4" 2>/dev/null` |
| 25155 |
test "x$?" != "x0" && pkg_failed=yes |
| 25156 |
else |
| 25157 |
pkg_failed=yes |
| 25158 |
fi |
| 25159 |
else |
| 25160 |
pkg_failed=untried |
| 25161 |
fi |
| 25162 |
if test -n "$DBUSMENU_GTK3_LIBS"; then |
| 25163 |
pkg_cv_DBUSMENU_GTK3_LIBS="$DBUSMENU_GTK3_LIBS" |
| 25164 |
elif test -n "$PKG_CONFIG"; then |
| 25165 |
if test -n "$PKG_CONFIG" && \ |
| 25166 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbusmenu-gtk3-0.4\""; } >&5 |
| 25167 |
($PKG_CONFIG --exists --print-errors "dbusmenu-gtk3-0.4") 2>&5 |
| 25168 |
ac_status=$? |
| 25169 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25170 |
test $ac_status = 0; }; then |
| 25171 |
pkg_cv_DBUSMENU_GTK3_LIBS=`$PKG_CONFIG --libs "dbusmenu-gtk3-0.4" 2>/dev/null` |
| 25172 |
test "x$?" != "x0" && pkg_failed=yes |
| 25173 |
else |
| 25174 |
pkg_failed=yes |
| 25175 |
fi |
| 25176 |
else |
| 25177 |
pkg_failed=untried |
| 25178 |
fi |
| 25179 |
|
| 25180 |
|
| 25181 |
|
| 25182 |
if test $pkg_failed = yes; then |
| 25183 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25184 |
printf "%s\n" "no" >&6; } |
| 25185 |
|
| 25186 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 25187 |
_pkg_short_errors_supported=yes |
| 25188 |
else |
| 25189 |
_pkg_short_errors_supported=no |
| 25190 |
fi |
| 25191 |
if test $_pkg_short_errors_supported = yes; then |
| 25192 |
DBUSMENU_GTK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbusmenu-gtk3-0.4" 2>&1` |
| 25193 |
else |
| 25194 |
DBUSMENU_GTK3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbusmenu-gtk3-0.4" 2>&1` |
| 25195 |
fi |
| 25196 |
# Put the nasty error message in config.log where it belongs |
| 25197 |
echo "$DBUSMENU_GTK3_PKG_ERRORS" >&5 |
| 25198 |
|
| 25199 |
as_fn_error $? "Package requirements (dbusmenu-gtk3-0.4) were not met: |
| 25200 |
|
| 25201 |
$DBUSMENU_GTK3_PKG_ERRORS |
| 25202 |
|
| 25203 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 25204 |
installed software in a non-standard prefix. |
| 25205 |
|
| 25206 |
Alternatively, you may set the environment variables DBUSMENU_GTK3_CFLAGS |
| 25207 |
and DBUSMENU_GTK3_LIBS to avoid the need to call pkg-config. |
| 25208 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 25209 |
elif test $pkg_failed = untried; then |
| 25210 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25211 |
printf "%s\n" "no" >&6; } |
| 25212 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 25213 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 25214 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 25215 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 25216 |
path to pkg-config. |
| 25217 |
|
| 25218 |
Alternatively, you may set the environment variables DBUSMENU_GTK3_CFLAGS |
| 25219 |
and DBUSMENU_GTK3_LIBS to avoid the need to call pkg-config. |
| 25220 |
See the pkg-config man page for more details. |
| 25221 |
|
| 25222 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 25223 |
See 'config.log' for more details" "$LINENO" 5; } |
| 25224 |
else |
| 25225 |
DBUSMENU_GTK3_CFLAGS=$pkg_cv_DBUSMENU_GTK3_CFLAGS |
| 25226 |
DBUSMENU_GTK3_LIBS=$pkg_cv_DBUSMENU_GTK3_LIBS |
| 25227 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 25228 |
printf "%s\n" "yes" >&6; } |
| 25229 |
|
| 25230 |
fi |
| 25231 |
enable_appindicator="yes (enabled, use --disable-appindicator to disable)" |
| 25232 |
fi |
| 25233 |
|
| 25234 |
# --disable-engine |
| 25235 |
# Check whether --enable-engine was given. |
| 25236 |
if test ${enable_engine+y} |
| 25237 |
then : |
| 25238 |
enableval=$enable_engine; enable_engine=$enableval |
| 25239 |
else case e in #( |
| 25240 |
e) enable_engine=yes |
| 25241 |
;; |
| 25242 |
esac |
| 25243 |
fi |
| 25244 |
|
| 25245 |
if test x"$enable_engine" = x"yes"; then |
| 25246 |
ENABLE_ENGINE_TRUE= |
| 25247 |
ENABLE_ENGINE_FALSE='#' |
| 25248 |
else |
| 25249 |
ENABLE_ENGINE_TRUE='#' |
| 25250 |
ENABLE_ENGINE_FALSE= |
| 25251 |
fi |
| 25252 |
|
| 25253 |
if test x"$enable_engine" = x"yes"; then |
| 25254 |
enable_engine="yes (enabled, use --disable-engine to disable)" |
| 25255 |
fi |
| 25256 |
|
| 25257 |
# --disable-libnotify |
| 25258 |
# Check whether --enable-libnotify was given. |
| 25259 |
if test ${enable_libnotify+y} |
| 25260 |
then : |
| 25261 |
enableval=$enable_libnotify; enable_libnotify=$enableval |
| 25262 |
else case e in #( |
| 25263 |
e) enable_libnotify=yes |
| 25264 |
;; |
| 25265 |
esac |
| 25266 |
fi |
| 25267 |
|
| 25268 |
if test x"$enable_libnotify" = x"yes"; then |
| 25269 |
ENABLE_LIBNOTIFY_TRUE= |
| 25270 |
ENABLE_LIBNOTIFY_FALSE='#' |
| 25271 |
else |
| 25272 |
ENABLE_LIBNOTIFY_TRUE='#' |
| 25273 |
ENABLE_LIBNOTIFY_FALSE= |
| 25274 |
fi |
| 25275 |
|
| 25276 |
if test x"$enable_libnotify" = x"yes"; then |
| 25277 |
|
| 25278 |
pkg_failed=no |
| 25279 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for |
| 25280 |
libnotify >= 0.7 |
| 25281 |
" >&5 |
| 25282 |
printf %s "checking for |
| 25283 |
libnotify >= 0.7 |
| 25284 |
... " >&6; } |
| 25285 |
|
| 25286 |
if test -n "$LIBNOTIFY_CFLAGS"; then |
| 25287 |
pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS" |
| 25288 |
elif test -n "$PKG_CONFIG"; then |
| 25289 |
if test -n "$PKG_CONFIG" && \ |
| 25290 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 25291 |
libnotify >= 0.7 |
| 25292 |
\""; } >&5 |
| 25293 |
($PKG_CONFIG --exists --print-errors " |
| 25294 |
libnotify >= 0.7 |
| 25295 |
") 2>&5 |
| 25296 |
ac_status=$? |
| 25297 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25298 |
test $ac_status = 0; }; then |
| 25299 |
pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags " |
| 25300 |
libnotify >= 0.7 |
| 25301 |
" 2>/dev/null` |
| 25302 |
test "x$?" != "x0" && pkg_failed=yes |
| 25303 |
else |
| 25304 |
pkg_failed=yes |
| 25305 |
fi |
| 25306 |
else |
| 25307 |
pkg_failed=untried |
| 25308 |
fi |
| 25309 |
if test -n "$LIBNOTIFY_LIBS"; then |
| 25310 |
pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS" |
| 25311 |
elif test -n "$PKG_CONFIG"; then |
| 25312 |
if test -n "$PKG_CONFIG" && \ |
| 25313 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 25314 |
libnotify >= 0.7 |
| 25315 |
\""; } >&5 |
| 25316 |
($PKG_CONFIG --exists --print-errors " |
| 25317 |
libnotify >= 0.7 |
| 25318 |
") 2>&5 |
| 25319 |
ac_status=$? |
| 25320 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25321 |
test $ac_status = 0; }; then |
| 25322 |
pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs " |
| 25323 |
libnotify >= 0.7 |
| 25324 |
" 2>/dev/null` |
| 25325 |
test "x$?" != "x0" && pkg_failed=yes |
| 25326 |
else |
| 25327 |
pkg_failed=yes |
| 25328 |
fi |
| 25329 |
else |
| 25330 |
pkg_failed=untried |
| 25331 |
fi |
| 25332 |
|
| 25333 |
|
| 25334 |
|
| 25335 |
if test $pkg_failed = yes; then |
| 25336 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25337 |
printf "%s\n" "no" >&6; } |
| 25338 |
|
| 25339 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 25340 |
_pkg_short_errors_supported=yes |
| 25341 |
else |
| 25342 |
_pkg_short_errors_supported=no |
| 25343 |
fi |
| 25344 |
if test $_pkg_short_errors_supported = yes; then |
| 25345 |
LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " |
| 25346 |
libnotify >= 0.7 |
| 25347 |
" 2>&1` |
| 25348 |
else |
| 25349 |
LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " |
| 25350 |
libnotify >= 0.7 |
| 25351 |
" 2>&1` |
| 25352 |
fi |
| 25353 |
# Put the nasty error message in config.log where it belongs |
| 25354 |
echo "$LIBNOTIFY_PKG_ERRORS" >&5 |
| 25355 |
|
| 25356 |
as_fn_error $? "Package requirements ( |
| 25357 |
libnotify >= 0.7 |
| 25358 |
) were not met: |
| 25359 |
|
| 25360 |
$LIBNOTIFY_PKG_ERRORS |
| 25361 |
|
| 25362 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 25363 |
installed software in a non-standard prefix. |
| 25364 |
|
| 25365 |
Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS |
| 25366 |
and LIBNOTIFY_LIBS to avoid the need to call pkg-config. |
| 25367 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 25368 |
elif test $pkg_failed = untried; then |
| 25369 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25370 |
printf "%s\n" "no" >&6; } |
| 25371 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 25372 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 25373 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 25374 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 25375 |
path to pkg-config. |
| 25376 |
|
| 25377 |
Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS |
| 25378 |
and LIBNOTIFY_LIBS to avoid the need to call pkg-config. |
| 25379 |
See the pkg-config man page for more details. |
| 25380 |
|
| 25381 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 25382 |
See 'config.log' for more details" "$LINENO" 5; } |
| 25383 |
else |
| 25384 |
LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS |
| 25385 |
LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS |
| 25386 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 25387 |
printf "%s\n" "yes" >&6; } |
| 25388 |
|
| 25389 |
fi |
| 25390 |
enable_libnotify="yes (enabled, use --disable-libnotify to disable)" |
| 25391 |
fi |
| 25392 |
|
| 25393 |
|
| 25394 |
pkg_failed=no |
| 25395 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libevdev libudev" >&5 |
| 25396 |
printf %s "checking for libevdev libudev... " >&6; } |
| 25397 |
|
| 25398 |
if test -n "$LIBEVDEV_CFLAGS"; then |
| 25399 |
pkg_cv_LIBEVDEV_CFLAGS="$LIBEVDEV_CFLAGS" |
| 25400 |
elif test -n "$PKG_CONFIG"; then |
| 25401 |
if test -n "$PKG_CONFIG" && \ |
| 25402 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libevdev libudev\""; } >&5 |
| 25403 |
($PKG_CONFIG --exists --print-errors "libevdev libudev") 2>&5 |
| 25404 |
ac_status=$? |
| 25405 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25406 |
test $ac_status = 0; }; then |
| 25407 |
pkg_cv_LIBEVDEV_CFLAGS=`$PKG_CONFIG --cflags "libevdev libudev" 2>/dev/null` |
| 25408 |
test "x$?" != "x0" && pkg_failed=yes |
| 25409 |
else |
| 25410 |
pkg_failed=yes |
| 25411 |
fi |
| 25412 |
else |
| 25413 |
pkg_failed=untried |
| 25414 |
fi |
| 25415 |
if test -n "$LIBEVDEV_LIBS"; then |
| 25416 |
pkg_cv_LIBEVDEV_LIBS="$LIBEVDEV_LIBS" |
| 25417 |
elif test -n "$PKG_CONFIG"; then |
| 25418 |
if test -n "$PKG_CONFIG" && \ |
| 25419 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libevdev libudev\""; } >&5 |
| 25420 |
($PKG_CONFIG --exists --print-errors "libevdev libudev") 2>&5 |
| 25421 |
ac_status=$? |
| 25422 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25423 |
test $ac_status = 0; }; then |
| 25424 |
pkg_cv_LIBEVDEV_LIBS=`$PKG_CONFIG --libs "libevdev libudev" 2>/dev/null` |
| 25425 |
test "x$?" != "x0" && pkg_failed=yes |
| 25426 |
else |
| 25427 |
pkg_failed=yes |
| 25428 |
fi |
| 25429 |
else |
| 25430 |
pkg_failed=untried |
| 25431 |
fi |
| 25432 |
|
| 25433 |
|
| 25434 |
|
| 25435 |
if test $pkg_failed = yes; then |
| 25436 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25437 |
printf "%s\n" "no" >&6; } |
| 25438 |
|
| 25439 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 25440 |
_pkg_short_errors_supported=yes |
| 25441 |
else |
| 25442 |
_pkg_short_errors_supported=no |
| 25443 |
fi |
| 25444 |
if test $_pkg_short_errors_supported = yes; then |
| 25445 |
LIBEVDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libevdev libudev" 2>&1` |
| 25446 |
else |
| 25447 |
LIBEVDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libevdev libudev" 2>&1` |
| 25448 |
fi |
| 25449 |
# Put the nasty error message in config.log where it belongs |
| 25450 |
echo "$LIBEVDEV_PKG_ERRORS" >&5 |
| 25451 |
|
| 25452 |
enable_libevdev=no |
| 25453 |
|
| 25454 |
elif test $pkg_failed = untried; then |
| 25455 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25456 |
printf "%s\n" "no" >&6; } |
| 25457 |
enable_libevdev=no |
| 25458 |
|
| 25459 |
else |
| 25460 |
LIBEVDEV_CFLAGS=$pkg_cv_LIBEVDEV_CFLAGS |
| 25461 |
LIBEVDEV_LIBS=$pkg_cv_LIBEVDEV_LIBS |
| 25462 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 25463 |
printf "%s\n" "yes" >&6; } |
| 25464 |
enable_libevdev=yes |
| 25465 |
fi |
| 25466 |
if test x"$enable_libevdev" = x"yes"; then |
| 25467 |
ENABLE_LIBEVDEV_TRUE= |
| 25468 |
ENABLE_LIBEVDEV_FALSE='#' |
| 25469 |
else |
| 25470 |
ENABLE_LIBEVDEV_TRUE='#' |
| 25471 |
ENABLE_LIBEVDEV_FALSE= |
| 25472 |
fi |
| 25473 |
|
| 25474 |
|
| 25475 |
|
| 25476 |
pkg_failed=no |
| 25477 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x11 xfixes >= 6" >&5 |
| 25478 |
printf %s "checking for x11 xfixes >= 6... " >&6; } |
| 25479 |
|
| 25480 |
if test -n "$XFIXES_CFLAGS"; then |
| 25481 |
pkg_cv_XFIXES_CFLAGS="$XFIXES_CFLAGS" |
| 25482 |
elif test -n "$PKG_CONFIG"; then |
| 25483 |
if test -n "$PKG_CONFIG" && \ |
| 25484 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xfixes >= 6\""; } >&5 |
| 25485 |
($PKG_CONFIG --exists --print-errors "x11 xfixes >= 6") 2>&5 |
| 25486 |
ac_status=$? |
| 25487 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25488 |
test $ac_status = 0; }; then |
| 25489 |
pkg_cv_XFIXES_CFLAGS=`$PKG_CONFIG --cflags "x11 xfixes >= 6" 2>/dev/null` |
| 25490 |
test "x$?" != "x0" && pkg_failed=yes |
| 25491 |
else |
| 25492 |
pkg_failed=yes |
| 25493 |
fi |
| 25494 |
else |
| 25495 |
pkg_failed=untried |
| 25496 |
fi |
| 25497 |
if test -n "$XFIXES_LIBS"; then |
| 25498 |
pkg_cv_XFIXES_LIBS="$XFIXES_LIBS" |
| 25499 |
elif test -n "$PKG_CONFIG"; then |
| 25500 |
if test -n "$PKG_CONFIG" && \ |
| 25501 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xfixes >= 6\""; } >&5 |
| 25502 |
($PKG_CONFIG --exists --print-errors "x11 xfixes >= 6") 2>&5 |
| 25503 |
ac_status=$? |
| 25504 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25505 |
test $ac_status = 0; }; then |
| 25506 |
pkg_cv_XFIXES_LIBS=`$PKG_CONFIG --libs "x11 xfixes >= 6" 2>/dev/null` |
| 25507 |
test "x$?" != "x0" && pkg_failed=yes |
| 25508 |
else |
| 25509 |
pkg_failed=yes |
| 25510 |
fi |
| 25511 |
else |
| 25512 |
pkg_failed=untried |
| 25513 |
fi |
| 25514 |
|
| 25515 |
|
| 25516 |
|
| 25517 |
if test $pkg_failed = yes; then |
| 25518 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25519 |
printf "%s\n" "no" >&6; } |
| 25520 |
|
| 25521 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 25522 |
_pkg_short_errors_supported=yes |
| 25523 |
else |
| 25524 |
_pkg_short_errors_supported=no |
| 25525 |
fi |
| 25526 |
if test $_pkg_short_errors_supported = yes; then |
| 25527 |
XFIXES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xfixes >= 6" 2>&1` |
| 25528 |
else |
| 25529 |
XFIXES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xfixes >= 6" 2>&1` |
| 25530 |
fi |
| 25531 |
# Put the nasty error message in config.log where it belongs |
| 25532 |
echo "$XFIXES_PKG_ERRORS" >&5 |
| 25533 |
|
| 25534 |
have_xfixes="no (libXfixes version is lower than 6)" |
| 25535 |
|
| 25536 |
elif test $pkg_failed = untried; then |
| 25537 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25538 |
printf "%s\n" "no" >&6; } |
| 25539 |
have_xfixes="no (libXfixes version is lower than 6)" |
| 25540 |
|
| 25541 |
else |
| 25542 |
XFIXES_CFLAGS=$pkg_cv_XFIXES_CFLAGS |
| 25543 |
XFIXES_LIBS=$pkg_cv_XFIXES_LIBS |
| 25544 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 25545 |
printf "%s\n" "yes" >&6; } |
| 25546 |
|
| 25547 |
printf "%s\n" "#define HAVE_XFIXES 1" >>confdefs.h |
| 25548 |
|
| 25549 |
have_xfixes=yes |
| 25550 |
fi |
| 25551 |
|
| 25552 |
# --enable-install-tests |
| 25553 |
# Check whether --enable-install-tests was given. |
| 25554 |
if test ${enable_install_tests+y} |
| 25555 |
then : |
| 25556 |
enableval=$enable_install_tests; enable_install_tests=$enableval |
| 25557 |
else case e in #( |
| 25558 |
e) enable_install_tests=no |
| 25559 |
;; |
| 25560 |
esac |
| 25561 |
fi |
| 25562 |
|
| 25563 |
if test x"$enable_install_tests" = x"yes"; then |
| 25564 |
ENABLE_INSTALL_TESTS_TRUE= |
| 25565 |
ENABLE_INSTALL_TESTS_FALSE='#' |
| 25566 |
else |
| 25567 |
ENABLE_INSTALL_TESTS_TRUE='#' |
| 25568 |
ENABLE_INSTALL_TESTS_FALSE= |
| 25569 |
fi |
| 25570 |
|
| 25571 |
if test x"$enable_install_tests" = x"no"; then |
| 25572 |
enable_install_tests="no (disabled, use --enable-install-tests to enable)" |
| 25573 |
fi |
| 25574 |
|
| 25575 |
|
| 25576 |
# --disable-emoji-dict option. |
| 25577 |
# Check whether --enable-emoji-dict was given. |
| 25578 |
if test ${enable_emoji_dict+y} |
| 25579 |
then : |
| 25580 |
enableval=$enable_emoji_dict; enable_emoji_dict=$enableval |
| 25581 |
else case e in #( |
| 25582 |
e) enable_emoji_dict=yes |
| 25583 |
;; |
| 25584 |
esac |
| 25585 |
fi |
| 25586 |
|
| 25587 |
if test x"$enable_emoji_dict" = x"yes"; then |
| 25588 |
ENABLE_EMOJI_DICT_TRUE= |
| 25589 |
ENABLE_EMOJI_DICT_FALSE='#' |
| 25590 |
else |
| 25591 |
ENABLE_EMOJI_DICT_TRUE='#' |
| 25592 |
ENABLE_EMOJI_DICT_FALSE= |
| 25593 |
fi |
| 25594 |
|
| 25595 |
|
| 25596 |
|
| 25597 |
# Check whether --with-unicode-emoji-dir was given. |
| 25598 |
if test ${with_unicode_emoji_dir+y} |
| 25599 |
then : |
| 25600 |
withval=$with_unicode_emoji_dir; UNICODE_EMOJI_DIR=$with_unicode_emoji_dir |
| 25601 |
else case e in #( |
| 25602 |
e) UNICODE_EMOJI_DIR="/usr/share/unicode/emoji" |
| 25603 |
;; |
| 25604 |
esac |
| 25605 |
fi |
| 25606 |
|
| 25607 |
|
| 25608 |
|
| 25609 |
|
| 25610 |
# Check whether --with-emoji-annotation-dir was given. |
| 25611 |
if test ${with_emoji_annotation_dir+y} |
| 25612 |
then : |
| 25613 |
withval=$with_emoji_annotation_dir; EMOJI_ANNOTATION_DIR=$with_emoji_annotation_dir |
| 25614 |
else case e in #( |
| 25615 |
e) EMOJI_ANNOTATION_DIR="/usr/share/unicode/cldr/common/annotations" |
| 25616 |
;; |
| 25617 |
esac |
| 25618 |
fi |
| 25619 |
|
| 25620 |
|
| 25621 |
|
| 25622 |
if test x"$enable_emoji_dict" = x"yes"; then |
| 25623 |
if test ! -f $UNICODE_EMOJI_DIR/emoji-test.txt ; then |
| 25624 |
as_fn_error $? "Not found $UNICODE_EMOJI_DIR/emoji-test.txt. You can get \ |
| 25625 |
the emoji files from http://www.unicode.org/Public/emoji/4.0/" "$LINENO" 5 |
| 25626 |
else |
| 25627 |
# POSIX SHELL has no ${FOO:0:1} |
| 25628 |
head=`echo "$UNICODE_EMOJI_DIR" | cut -c1`; |
| 25629 |
if test $head != "/" ; then |
| 25630 |
UNICODE_EMOJI_DIR=`realpath "$UNICODE_EMOJI_DIR"` |
| 25631 |
fi |
| 25632 |
fi |
| 25633 |
if test ! -f $EMOJI_ANNOTATION_DIR/en.xml ; then |
| 25634 |
as_fn_error $? "Not found $EMOJI_ANNOTATION_DIR/en.xml. You can get \ |
| 25635 |
https://github.com/fujiwarat/cldr-emoji-annotation" "$LINENO" 5 |
| 25636 |
else |
| 25637 |
head=`echo "$EMOJI_ANNOTATION_DIR" | cut -c1`; |
| 25638 |
if test $head != "/" ; then |
| 25639 |
EMOJI_ANNOTATION_DIR=`realpath "$EMOJI_ANNOTATION_DIR"` |
| 25640 |
fi |
| 25641 |
fi |
| 25642 |
enable_emoji_dict="yes (enabled, use --disable-emoji-dict to disable)" |
| 25643 |
fi |
| 25644 |
|
| 25645 |
# --disable-unicode-dict option. |
| 25646 |
# Check whether --enable-unicode-dict was given. |
| 25647 |
if test ${enable_unicode_dict+y} |
| 25648 |
then : |
| 25649 |
enableval=$enable_unicode_dict; enable_unicode_dict=$enableval |
| 25650 |
else case e in #( |
| 25651 |
e) enable_unicode_dict=yes |
| 25652 |
;; |
| 25653 |
esac |
| 25654 |
fi |
| 25655 |
|
| 25656 |
if test x"$enable_unicode_dict" = x"yes"; then |
| 25657 |
ENABLE_UNICODE_DICT_TRUE= |
| 25658 |
ENABLE_UNICODE_DICT_FALSE='#' |
| 25659 |
else |
| 25660 |
ENABLE_UNICODE_DICT_TRUE='#' |
| 25661 |
ENABLE_UNICODE_DICT_FALSE= |
| 25662 |
fi |
| 25663 |
|
| 25664 |
|
| 25665 |
|
| 25666 |
# Check whether --with-ucd-dir was given. |
| 25667 |
if test ${with_ucd_dir+y} |
| 25668 |
then : |
| 25669 |
withval=$with_ucd_dir; UCD_DIR=$with_ucd_dir |
| 25670 |
else case e in #( |
| 25671 |
e) UCD_DIR="/usr/share/unicode/ucd" |
| 25672 |
;; |
| 25673 |
esac |
| 25674 |
fi |
| 25675 |
|
| 25676 |
|
| 25677 |
|
| 25678 |
if test x"$enable_unicode_dict" = x"yes"; then |
| 25679 |
if test ! -f $UCD_DIR/NamesList.txt ; then |
| 25680 |
as_fn_error $? "Not found $UCD_DIR/NamesList.txt. You can get \ |
| 25681 |
the UCD files from https://www.unicode.org/Public/UNIDATA/" "$LINENO" 5 |
| 25682 |
elif test ! -f $UCD_DIR/Blocks.txt ; then |
| 25683 |
as_fn_error $? "Not found $UCD_DIR/Blocks.txt. You can get \ |
| 25684 |
the UCD files from https://www.unicode.org/Public/UNIDATA/" "$LINENO" 5 |
| 25685 |
else |
| 25686 |
# POSIX SHELL has no ${FOO:0:1} |
| 25687 |
head=`echo "$UCD_DIR" | cut -c1`; |
| 25688 |
if test $head != "/" ; then |
| 25689 |
UCD_DIR=`realpath "$UCD_DIR"` |
| 25690 |
fi |
| 25691 |
fi |
| 25692 |
enable_unicode_dict="yes (enabled, use --disable-unicode-dict to disable)" |
| 25693 |
fi |
| 25694 |
|
| 25695 |
|
| 25696 |
# Check whether --with-socket-dir was given. |
| 25697 |
if test ${with_socket_dir+y} |
| 25698 |
then : |
| 25699 |
withval=$with_socket_dir; IBUS_SOCKET_DIR=$with_socket_dir |
| 25700 |
else case e in #( |
| 25701 |
e) case $host in |
| 25702 |
*linux*) IBUS_SOCKET_DIR='unix:tmpdir=$XDG_CACHE_HOME/ibus';; |
| 25703 |
*) IBUS_SOCKET_DIR='unix:tmpdir=/tmp';; |
| 25704 |
esac |
| 25705 |
|
| 25706 |
;; |
| 25707 |
esac |
| 25708 |
fi |
| 25709 |
|
| 25710 |
|
| 25711 |
printf "%s\n" "#define IBUS_SOCKET_DIR \"$IBUS_SOCKET_DIR\"" >>confdefs.h |
| 25712 |
|
| 25713 |
|
| 25714 |
# Check iso-codes. |
| 25715 |
|
| 25716 |
pkg_failed=no |
| 25717 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for |
| 25718 |
iso-codes |
| 25719 |
" >&5 |
| 25720 |
printf %s "checking for |
| 25721 |
iso-codes |
| 25722 |
... " >&6; } |
| 25723 |
|
| 25724 |
if test -n "$ISOCODES_CFLAGS"; then |
| 25725 |
pkg_cv_ISOCODES_CFLAGS="$ISOCODES_CFLAGS" |
| 25726 |
elif test -n "$PKG_CONFIG"; then |
| 25727 |
if test -n "$PKG_CONFIG" && \ |
| 25728 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 25729 |
iso-codes |
| 25730 |
\""; } >&5 |
| 25731 |
($PKG_CONFIG --exists --print-errors " |
| 25732 |
iso-codes |
| 25733 |
") 2>&5 |
| 25734 |
ac_status=$? |
| 25735 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25736 |
test $ac_status = 0; }; then |
| 25737 |
pkg_cv_ISOCODES_CFLAGS=`$PKG_CONFIG --cflags " |
| 25738 |
iso-codes |
| 25739 |
" 2>/dev/null` |
| 25740 |
test "x$?" != "x0" && pkg_failed=yes |
| 25741 |
else |
| 25742 |
pkg_failed=yes |
| 25743 |
fi |
| 25744 |
else |
| 25745 |
pkg_failed=untried |
| 25746 |
fi |
| 25747 |
if test -n "$ISOCODES_LIBS"; then |
| 25748 |
pkg_cv_ISOCODES_LIBS="$ISOCODES_LIBS" |
| 25749 |
elif test -n "$PKG_CONFIG"; then |
| 25750 |
if test -n "$PKG_CONFIG" && \ |
| 25751 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" |
| 25752 |
iso-codes |
| 25753 |
\""; } >&5 |
| 25754 |
($PKG_CONFIG --exists --print-errors " |
| 25755 |
iso-codes |
| 25756 |
") 2>&5 |
| 25757 |
ac_status=$? |
| 25758 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25759 |
test $ac_status = 0; }; then |
| 25760 |
pkg_cv_ISOCODES_LIBS=`$PKG_CONFIG --libs " |
| 25761 |
iso-codes |
| 25762 |
" 2>/dev/null` |
| 25763 |
test "x$?" != "x0" && pkg_failed=yes |
| 25764 |
else |
| 25765 |
pkg_failed=yes |
| 25766 |
fi |
| 25767 |
else |
| 25768 |
pkg_failed=untried |
| 25769 |
fi |
| 25770 |
|
| 25771 |
|
| 25772 |
|
| 25773 |
if test $pkg_failed = yes; then |
| 25774 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25775 |
printf "%s\n" "no" >&6; } |
| 25776 |
|
| 25777 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 25778 |
_pkg_short_errors_supported=yes |
| 25779 |
else |
| 25780 |
_pkg_short_errors_supported=no |
| 25781 |
fi |
| 25782 |
if test $_pkg_short_errors_supported = yes; then |
| 25783 |
ISOCODES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " |
| 25784 |
iso-codes |
| 25785 |
" 2>&1` |
| 25786 |
else |
| 25787 |
ISOCODES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " |
| 25788 |
iso-codes |
| 25789 |
" 2>&1` |
| 25790 |
fi |
| 25791 |
# Put the nasty error message in config.log where it belongs |
| 25792 |
echo "$ISOCODES_PKG_ERRORS" >&5 |
| 25793 |
|
| 25794 |
as_fn_error $? "Package requirements ( |
| 25795 |
iso-codes |
| 25796 |
) were not met: |
| 25797 |
|
| 25798 |
$ISOCODES_PKG_ERRORS |
| 25799 |
|
| 25800 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 25801 |
installed software in a non-standard prefix. |
| 25802 |
|
| 25803 |
Alternatively, you may set the environment variables ISOCODES_CFLAGS |
| 25804 |
and ISOCODES_LIBS to avoid the need to call pkg-config. |
| 25805 |
See the pkg-config man page for more details." "$LINENO" 5 |
| 25806 |
elif test $pkg_failed = untried; then |
| 25807 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25808 |
printf "%s\n" "no" >&6; } |
| 25809 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 25810 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 25811 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
| 25812 |
is in your PATH or set the PKG_CONFIG environment variable to the full |
| 25813 |
path to pkg-config. |
| 25814 |
|
| 25815 |
Alternatively, you may set the environment variables ISOCODES_CFLAGS |
| 25816 |
and ISOCODES_LIBS to avoid the need to call pkg-config. |
| 25817 |
See the pkg-config man page for more details. |
| 25818 |
|
| 25819 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
| 25820 |
See 'config.log' for more details" "$LINENO" 5; } |
| 25821 |
else |
| 25822 |
ISOCODES_CFLAGS=$pkg_cv_ISOCODES_CFLAGS |
| 25823 |
ISOCODES_LIBS=$pkg_cv_ISOCODES_LIBS |
| 25824 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 25825 |
printf "%s\n" "yes" >&6; } |
| 25826 |
|
| 25827 |
fi |
| 25828 |
ISOCODES_PREFIX=`$PKG_CONFIG iso-codes --variable=prefix` |
| 25829 |
|
| 25830 |
|
| 25831 |
|
| 25832 |
pkg_failed=no |
| 25833 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkeyboard-config" >&5 |
| 25834 |
printf %s "checking for xkeyboard-config... " >&6; } |
| 25835 |
|
| 25836 |
if test -n "$XKBCONFIG_CFLAGS"; then |
| 25837 |
pkg_cv_XKBCONFIG_CFLAGS="$XKBCONFIG_CFLAGS" |
| 25838 |
elif test -n "$PKG_CONFIG"; then |
| 25839 |
if test -n "$PKG_CONFIG" && \ |
| 25840 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkeyboard-config\""; } >&5 |
| 25841 |
($PKG_CONFIG --exists --print-errors "xkeyboard-config") 2>&5 |
| 25842 |
ac_status=$? |
| 25843 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25844 |
test $ac_status = 0; }; then |
| 25845 |
pkg_cv_XKBCONFIG_CFLAGS=`$PKG_CONFIG --cflags "xkeyboard-config" 2>/dev/null` |
| 25846 |
test "x$?" != "x0" && pkg_failed=yes |
| 25847 |
else |
| 25848 |
pkg_failed=yes |
| 25849 |
fi |
| 25850 |
else |
| 25851 |
pkg_failed=untried |
| 25852 |
fi |
| 25853 |
if test -n "$XKBCONFIG_LIBS"; then |
| 25854 |
pkg_cv_XKBCONFIG_LIBS="$XKBCONFIG_LIBS" |
| 25855 |
elif test -n "$PKG_CONFIG"; then |
| 25856 |
if test -n "$PKG_CONFIG" && \ |
| 25857 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkeyboard-config\""; } >&5 |
| 25858 |
($PKG_CONFIG --exists --print-errors "xkeyboard-config") 2>&5 |
| 25859 |
ac_status=$? |
| 25860 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 25861 |
test $ac_status = 0; }; then |
| 25862 |
pkg_cv_XKBCONFIG_LIBS=`$PKG_CONFIG --libs "xkeyboard-config" 2>/dev/null` |
| 25863 |
test "x$?" != "x0" && pkg_failed=yes |
| 25864 |
else |
| 25865 |
pkg_failed=yes |
| 25866 |
fi |
| 25867 |
else |
| 25868 |
pkg_failed=untried |
| 25869 |
fi |
| 25870 |
|
| 25871 |
|
| 25872 |
|
| 25873 |
if test $pkg_failed = yes; then |
| 25874 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25875 |
printf "%s\n" "no" >&6; } |
| 25876 |
|
| 25877 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 25878 |
_pkg_short_errors_supported=yes |
| 25879 |
else |
| 25880 |
_pkg_short_errors_supported=no |
| 25881 |
fi |
| 25882 |
if test $_pkg_short_errors_supported = yes; then |
| 25883 |
XKBCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xkeyboard-config" 2>&1` |
| 25884 |
else |
| 25885 |
XKBCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xkeyboard-config" 2>&1` |
| 25886 |
fi |
| 25887 |
# Put the nasty error message in config.log where it belongs |
| 25888 |
echo "$XKBCONFIG_PKG_ERRORS" >&5 |
| 25889 |
|
| 25890 |
XKBCONFIG_BASE='$(datarootdir)/X11/xkb' |
| 25891 |
|
| 25892 |
elif test $pkg_failed = untried; then |
| 25893 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 25894 |
printf "%s\n" "no" >&6; } |
| 25895 |
XKBCONFIG_BASE='$(datarootdir)/X11/xkb' |
| 25896 |
|
| 25897 |
else |
| 25898 |
XKBCONFIG_CFLAGS=$pkg_cv_XKBCONFIG_CFLAGS |
| 25899 |
XKBCONFIG_LIBS=$pkg_cv_XKBCONFIG_LIBS |
| 25900 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 25901 |
printf "%s\n" "yes" >&6; } |
| 25902 |
XKBCONFIG_BASE=`$PKG_CONFIG xkeyboard-config --variable=xkb_base` |
| 25903 |
fi |
| 25904 |
|
| 25905 |
|
| 25906 |
GDBUS_CODEGEN=`$PKG_CONFIG --variable gdbus_codegen gio-2.0` |
| 25907 |
|
| 25908 |
|
| 25909 |
OUTPUT_TAIL='' |
| 25910 |
HAS_OUTPUT_TAIL=0 |
| 25911 |
if test x"$enable_wayland" = x"no" |
| 25912 |
then : |
| 25913 |
OUTPUT_TAIL="$OUTPUT_TAIL |
| 25914 |
You invoked the \`configure\` script with disabled wayland option |
| 25915 |
so you have to run |
| 25916 |
\`make -C tools maintainer-clean-generic\` to regenerate C files with VALA |
| 25917 |
before run \`make\`. |
| 25918 |
" |
| 25919 |
HAS_OUTPUT_TAIL=1 |
| 25920 |
|
| 25921 |
fi |
| 25922 |
if test x"$enable_ui" != x"no" && |
| 25923 |
test -f "$ac_confdir/ui/gtk3/application.c" |
| 25924 |
|
| 25925 |
then : |
| 25926 |
if test x"$enable_appindicator" = x"no" || |
| 25927 |
test x"$enable_xim" = x"no" || |
| 25928 |
test x"$enable_gdk3_wayland" != x"yes" || |
| 25929 |
test x"$enable_emoji_dict" = x"no" |
| 25930 |
|
| 25931 |
then : |
| 25932 |
OUTPUT_TAIL="$OUTPUT_TAIL |
| 25933 |
You invoked the \`configure\` script with either disabled appinicator, xim, |
| 25934 |
gdk3_wayland or emoji_dict option so you have to run |
| 25935 |
\`make -C ui/gtk3 maintainer-clean-generic\` to regenerate C files with VALA |
| 25936 |
before run \`make\`. |
| 25937 |
" |
| 25938 |
HAS_OUTPUT_TAIL=1 |
| 25939 |
|
| 25940 |
fi |
| 25941 |
|
| 25942 |
fi |
| 25943 |
|
| 25944 |
|
| 25945 |
# OUTPUT files |
| 25946 |
ac_config_files="$ac_config_files po/Makefile.in bindings/Makefile bindings/pygobject/Makefile bindings/vala/Makefile bus/Makefile bus/ibus-daemon.1 bus/services/Makefile client/Makefile client/gtk2/Makefile client/gtk3/Makefile client/gtk4/Makefile client/x11/Makefile client/wayland/Makefile conf/Makefile conf/dconf/Makefile conf/memconf/Makefile data/Makefile data/annotations/Makefile data/icons/Makefile data/its/Makefile data/keymaps/Makefile data/dconf/Makefile data/dconf/00-upstream-settings.5 data/dconf/ibus.5 docs/Makefile docs/reference/Makefile docs/reference/ibus/ibus-docs.sgml docs/reference/ibus/Makefile engine/Makefile ibus/_config.py ibus/Makefile ibus/interface/Makefile m4/Makefile portal/Makefile setup/Makefile setup/ibus-setup.1 src/Makefile src/compose/Makefile src/ibusversion.h src/tests/Makefile tools/Makefile tools/ibus.1 ui/Makefile ui/gtk3/Makefile ui/gtk3/ibus-emoji.7 util/Makefile util/IMdkit/Makefile Makefile ibus-1.0.pc ibus.spec" |
| 25947 |
|
| 25948 |
|
| 25949 |
cat >confcache <<\_ACEOF |
| 25950 |
# This file is a shell script that caches the results of configure |
| 25951 |
# tests run on this system so they can be shared between configure |
| 25952 |
# scripts and configure runs, see configure's option --config-cache. |
| 25953 |
# It is not useful on other systems. If it contains results you don't |
| 25954 |
# want to keep, you may remove or edit it. |
| 25955 |
# |
| 25956 |
# config.status only pays attention to the cache file if you give it |
| 25957 |
# the --recheck option to rerun configure. |
| 25958 |
# |
| 25959 |
# 'ac_cv_env_foo' variables (set or unset) will be overridden when |
| 25960 |
# loading this file, other *unset* 'ac_cv_foo' will be assigned the |
| 25961 |
# following values. |
| 25962 |
|
| 25963 |
_ACEOF |
| 25964 |
|
| 25965 |
# The following way of writing the cache mishandles newlines in values, |
| 25966 |
# but we know of no workaround that is simple, portable, and efficient. |
| 25967 |
# So, we kill variables containing newlines. |
| 25968 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
| 25969 |
# and sets the high bit in the cache file unless we assign to the vars. |
| 25970 |
( |
| 25971 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 25972 |
eval ac_val=\$$ac_var |
| 25973 |
case $ac_val in #( |
| 25974 |
*${as_nl}*) |
| 25975 |
case $ac_var in #( |
| 25976 |
*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 25977 |
printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 25978 |
esac |
| 25979 |
case $ac_var in #( |
| 25980 |
_ | IFS | as_nl) ;; #( |
| 25981 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 25982 |
*) { eval $ac_var=; unset $ac_var;} ;; |
| 25983 |
esac ;; |
| 25984 |
esac |
| 25985 |
done |
| 25986 |
|
| 25987 |
(set) 2>&1 | |
| 25988 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 25989 |
*${as_nl}ac_space=\ *) |
| 25990 |
# 'set' does not quote correctly, so add quotes: double-quote |
| 25991 |
# substitution turns \\\\ into \\, and sed turns \\ into \. |
| 25992 |
sed -n \ |
| 25993 |
"s/'/'\\\\''/g; |
| 25994 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 25995 |
;; #( |
| 25996 |
*) |
| 25997 |
# 'set' quotes correctly as required by POSIX, so do not add quotes. |
| 25998 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 25999 |
;; |
| 26000 |
esac | |
| 26001 |
sort |
| 26002 |
) | |
| 26003 |
sed ' |
| 26004 |
/^ac_cv_env_/b end |
| 26005 |
t clear |
| 26006 |
:clear |
| 26007 |
s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ |
| 26008 |
t end |
| 26009 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 26010 |
:end' >>confcache |
| 26011 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 26012 |
if test -w "$cache_file"; then |
| 26013 |
if test "x$cache_file" != "x/dev/null"; then |
| 26014 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 26015 |
printf "%s\n" "$as_me: updating cache $cache_file" >&6;} |
| 26016 |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
| 26017 |
cat confcache >"$cache_file" |
| 26018 |
else |
| 26019 |
case $cache_file in #( |
| 26020 |
*/* | ?:*) |
| 26021 |
mv -f confcache "$cache_file"$$ && |
| 26022 |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
| 26023 |
*) |
| 26024 |
mv -f confcache "$cache_file" ;; |
| 26025 |
esac |
| 26026 |
fi |
| 26027 |
fi |
| 26028 |
else |
| 26029 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 26030 |
printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 26031 |
fi |
| 26032 |
fi |
| 26033 |
rm -f confcache |
| 26034 |
|
| 26035 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 26036 |
# Let make expand exec_prefix. |
| 26037 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 26038 |
|
| 26039 |
DEFS=-DHAVE_CONFIG_H |
| 26040 |
|
| 26041 |
ac_libobjs= |
| 26042 |
ac_ltlibobjs= |
| 26043 |
U= |
| 26044 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 26045 |
# 1. Remove the extension, and $U if already installed. |
| 26046 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 26047 |
ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` |
| 26048 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 26049 |
# will be set to the directory where LIBOBJS objects are built. |
| 26050 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 26051 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
| 26052 |
done |
| 26053 |
LIBOBJS=$ac_libobjs |
| 26054 |
|
| 26055 |
LTLIBOBJS=$ac_ltlibobjs |
| 26056 |
|
| 26057 |
|
| 26058 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
| 26059 |
printf %s "checking that generated files are newer than configure... " >&6; } |
| 26060 |
if test -n "$am_sleep_pid"; then |
| 26061 |
# Hide warnings about reused PIDs. |
| 26062 |
wait $am_sleep_pid 2>/dev/null |
| 26063 |
fi |
| 26064 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
| 26065 |
printf "%s\n" "done" >&6; } |
| 26066 |
case $enable_silent_rules in # ((( |
| 26067 |
yes) AM_DEFAULT_VERBOSITY=0;; |
| 26068 |
no) AM_DEFAULT_VERBOSITY=1;; |
| 26069 |
esac |
| 26070 |
if test $am_cv_make_support_nested_variables = yes; then |
| 26071 |
AM_V='$(V)' |
| 26072 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 26073 |
else |
| 26074 |
AM_V=$AM_DEFAULT_VERBOSITY |
| 26075 |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 26076 |
fi |
| 26077 |
|
| 26078 |
if test -n "$EXEEXT"; then |
| 26079 |
am__EXEEXT_TRUE= |
| 26080 |
am__EXEEXT_FALSE='#' |
| 26081 |
else |
| 26082 |
am__EXEEXT_TRUE='#' |
| 26083 |
am__EXEEXT_FALSE= |
| 26084 |
fi |
| 26085 |
|
| 26086 |
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
| 26087 |
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
| 26088 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26089 |
fi |
| 26090 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
| 26091 |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
| 26092 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26093 |
fi |
| 26094 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| 26095 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
| 26096 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26097 |
fi |
| 26098 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| 26099 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
| 26100 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26101 |
fi |
| 26102 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| 26103 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
| 26104 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26105 |
fi |
| 26106 |
if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then |
| 26107 |
as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined. |
| 26108 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26109 |
fi |
| 26110 |
if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then |
| 26111 |
as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined. |
| 26112 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26113 |
fi |
| 26114 |
if test -z "${ENABLE_GTK2_TRUE}" && test -z "${ENABLE_GTK2_FALSE}"; then |
| 26115 |
as_fn_error $? "conditional \"ENABLE_GTK2\" was never defined. |
| 26116 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26117 |
fi |
| 26118 |
if test -z "${ENABLE_GTK3_TRUE}" && test -z "${ENABLE_GTK3_FALSE}"; then |
| 26119 |
as_fn_error $? "conditional \"ENABLE_GTK3\" was never defined. |
| 26120 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26121 |
fi |
| 26122 |
if test -z "${ENABLE_GTK4_TRUE}" && test -z "${ENABLE_GTK4_FALSE}"; then |
| 26123 |
as_fn_error $? "conditional \"ENABLE_GTK4\" was never defined. |
| 26124 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26125 |
fi |
| 26126 |
if test -z "${ENABLE_GTK3_OR_4_TRUE}" && test -z "${ENABLE_GTK3_OR_4_FALSE}"; then |
| 26127 |
as_fn_error $? "conditional \"ENABLE_GTK3_OR_4\" was never defined. |
| 26128 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26129 |
fi |
| 26130 |
if test -z "${ENABLE_XIM_TRUE}" && test -z "${ENABLE_XIM_FALSE}"; then |
| 26131 |
as_fn_error $? "conditional \"ENABLE_XIM\" was never defined. |
| 26132 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26133 |
fi |
| 26134 |
if test -z "${ENABLE_WAYLAND_TRUE}" && test -z "${ENABLE_WAYLAND_FALSE}"; then |
| 26135 |
as_fn_error $? "conditional \"ENABLE_WAYLAND\" was never defined. |
| 26136 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26137 |
fi |
| 26138 |
if test -z "${ENABLE_APPINDICATOR_TRUE}" && test -z "${ENABLE_APPINDICATOR_FALSE}"; then |
| 26139 |
as_fn_error $? "conditional \"ENABLE_APPINDICATOR\" was never defined. |
| 26140 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26141 |
fi |
| 26142 |
if test -z "${ENABLE_GDK3_WAYLAND_TRUE}" && test -z "${ENABLE_GDK3_WAYLAND_FALSE}"; then |
| 26143 |
as_fn_error $? "conditional \"ENABLE_GDK3_WAYLAND\" was never defined. |
| 26144 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26145 |
fi |
| 26146 |
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then |
| 26147 |
as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined. |
| 26148 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26149 |
fi |
| 26150 |
if test -z "${ENABLE_VAPIGEN_TRUE}" && test -z "${ENABLE_VAPIGEN_FALSE}"; then |
| 26151 |
as_fn_error $? "conditional \"ENABLE_VAPIGEN\" was never defined. |
| 26152 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26153 |
fi |
| 26154 |
if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then |
| 26155 |
as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined. |
| 26156 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26157 |
fi |
| 26158 |
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then |
| 26159 |
as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined. |
| 26160 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26161 |
fi |
| 26162 |
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then |
| 26163 |
as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined. |
| 26164 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26165 |
fi |
| 26166 |
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then |
| 26167 |
as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined. |
| 26168 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26169 |
fi |
| 26170 |
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then |
| 26171 |
as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. |
| 26172 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26173 |
fi |
| 26174 |
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then |
| 26175 |
as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined. |
| 26176 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26177 |
fi |
| 26178 |
if test -z "${ENABLE_MEMCONF_TRUE}" && test -z "${ENABLE_MEMCONF_FALSE}"; then |
| 26179 |
as_fn_error $? "conditional \"ENABLE_MEMCONF\" was never defined. |
| 26180 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26181 |
fi |
| 26182 |
if test -z "${ENABLE_DCONF_TRUE}" && test -z "${ENABLE_DCONF_FALSE}"; then |
| 26183 |
as_fn_error $? "conditional \"ENABLE_DCONF\" was never defined. |
| 26184 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26185 |
fi |
| 26186 |
if test -z "${ENABLE_SYSTEMD_TRUE}" && test -z "${ENABLE_SYSTEMD_FALSE}"; then |
| 26187 |
as_fn_error $? "conditional \"ENABLE_SYSTEMD\" was never defined. |
| 26188 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26189 |
fi |
| 26190 |
if test -z "${ENABLE_PYTHON2_TRUE}" && test -z "${ENABLE_PYTHON2_FALSE}"; then |
| 26191 |
as_fn_error $? "conditional \"ENABLE_PYTHON2\" was never defined. |
| 26192 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26193 |
fi |
| 26194 |
if test -z "${ENABLE_PYTHON_LIBRARY_TRUE}" && test -z "${ENABLE_PYTHON_LIBRARY_FALSE}"; then |
| 26195 |
as_fn_error $? "conditional \"ENABLE_PYTHON_LIBRARY\" was never defined. |
| 26196 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26197 |
fi |
| 26198 |
if test -z "${ENABLE_SETUP_TRUE}" && test -z "${ENABLE_SETUP_FALSE}"; then |
| 26199 |
as_fn_error $? "conditional \"ENABLE_SETUP\" was never defined. |
| 26200 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26201 |
fi |
| 26202 |
if test -z "${ENABLE_DAEMON_TRUE}" && test -z "${ENABLE_DAEMON_FALSE}"; then |
| 26203 |
as_fn_error $? "conditional \"ENABLE_DAEMON\" was never defined. |
| 26204 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26205 |
fi |
| 26206 |
if test -z "${ENABLE_PYGOBJECT_TRUE}" && test -z "${ENABLE_PYGOBJECT_FALSE}"; then |
| 26207 |
as_fn_error $? "conditional \"ENABLE_PYGOBJECT\" was never defined. |
| 26208 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26209 |
fi |
| 26210 |
if test -z "${ENABLE_PYGNOME_DESKTOP_TRUE}" && test -z "${ENABLE_PYGNOME_DESKTOP_FALSE}"; then |
| 26211 |
as_fn_error $? "conditional \"ENABLE_PYGNOME_DESKTOP\" was never defined. |
| 26212 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26213 |
fi |
| 26214 |
if test -z "${ENABLE_UI_TRUE}" && test -z "${ENABLE_UI_FALSE}"; then |
| 26215 |
as_fn_error $? "conditional \"ENABLE_UI\" was never defined. |
| 26216 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26217 |
fi |
| 26218 |
if test -z "${ENABLE_ENGINE_TRUE}" && test -z "${ENABLE_ENGINE_FALSE}"; then |
| 26219 |
as_fn_error $? "conditional \"ENABLE_ENGINE\" was never defined. |
| 26220 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26221 |
fi |
| 26222 |
if test -z "${ENABLE_LIBNOTIFY_TRUE}" && test -z "${ENABLE_LIBNOTIFY_FALSE}"; then |
| 26223 |
as_fn_error $? "conditional \"ENABLE_LIBNOTIFY\" was never defined. |
| 26224 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26225 |
fi |
| 26226 |
if test -z "${ENABLE_LIBEVDEV_TRUE}" && test -z "${ENABLE_LIBEVDEV_FALSE}"; then |
| 26227 |
as_fn_error $? "conditional \"ENABLE_LIBEVDEV\" was never defined. |
| 26228 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26229 |
fi |
| 26230 |
if test -z "${ENABLE_INSTALL_TESTS_TRUE}" && test -z "${ENABLE_INSTALL_TESTS_FALSE}"; then |
| 26231 |
as_fn_error $? "conditional \"ENABLE_INSTALL_TESTS\" was never defined. |
| 26232 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26233 |
fi |
| 26234 |
if test -z "${ENABLE_EMOJI_DICT_TRUE}" && test -z "${ENABLE_EMOJI_DICT_FALSE}"; then |
| 26235 |
as_fn_error $? "conditional \"ENABLE_EMOJI_DICT\" was never defined. |
| 26236 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26237 |
fi |
| 26238 |
if test -z "${ENABLE_UNICODE_DICT_TRUE}" && test -z "${ENABLE_UNICODE_DICT_FALSE}"; then |
| 26239 |
as_fn_error $? "conditional \"ENABLE_UNICODE_DICT\" was never defined. |
| 26240 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 26241 |
fi |
| 26242 |
|
| 26243 |
: "${CONFIG_STATUS=./config.status}" |
| 26244 |
ac_write_fail=0 |
| 26245 |
ac_clean_files_save=$ac_clean_files |
| 26246 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 26247 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
| 26248 |
printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} |
| 26249 |
as_write_fail=0 |
| 26250 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
| 26251 |
#! $SHELL |
| 26252 |
# Generated by $as_me. |
| 26253 |
# Run this file to recreate the current configuration. |
| 26254 |
# Compiler output produced by configure, useful for debugging |
| 26255 |
# configure, is in config.log if it exists. |
| 26256 |
|
| 26257 |
debug=false |
| 26258 |
ac_cs_recheck=false |
| 26259 |
ac_cs_silent=false |
| 26260 |
|
| 26261 |
SHELL=\${CONFIG_SHELL-$SHELL} |
| 26262 |
export SHELL |
| 26263 |
_ASEOF |
| 26264 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
| 26265 |
## -------------------- ## |
| 26266 |
## M4sh Initialization. ## |
| 26267 |
## -------------------- ## |
| 26268 |
|
| 26269 |
# Be more Bourne compatible |
| 26270 |
DUALCASE=1; export DUALCASE # for MKS sh |
| 26271 |
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 26272 |
then : |
| 26273 |
emulate sh |
| 26274 |
NULLCMD=: |
| 26275 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 26276 |
# is contrary to our usage. Disable this feature. |
| 26277 |
alias -g '${1+"$@"}'='"$@"' |
| 26278 |
setopt NO_GLOB_SUBST |
| 26279 |
else case e in #( |
| 26280 |
e) case `(set -o) 2>/dev/null` in #( |
| 26281 |
*posix*) : |
| 26282 |
set -o posix ;; #( |
| 26283 |
*) : |
| 26284 |
;; |
| 26285 |
esac ;; |
| 26286 |
esac |
| 26287 |
fi |
| 26288 |
|
| 26289 |
|
| 26290 |
|
| 26291 |
# Reset variables that may have inherited troublesome values from |
| 26292 |
# the environment. |
| 26293 |
|
| 26294 |
# IFS needs to be set, to space, tab, and newline, in precisely that order. |
| 26295 |
# (If _AS_PATH_WALK were called with IFS unset, it would have the |
| 26296 |
# side effect of setting IFS to empty, thus disabling word splitting.) |
| 26297 |
# Quoting is to prevent editors from complaining about space-tab. |
| 26298 |
as_nl=' |
| 26299 |
' |
| 26300 |
export as_nl |
| 26301 |
IFS=" "" $as_nl" |
| 26302 |
|
| 26303 |
PS1='$ ' |
| 26304 |
PS2='> ' |
| 26305 |
PS4='+ ' |
| 26306 |
|
| 26307 |
# Ensure predictable behavior from utilities with locale-dependent output. |
| 26308 |
LC_ALL=C |
| 26309 |
export LC_ALL |
| 26310 |
LANGUAGE=C |
| 26311 |
export LANGUAGE |
| 26312 |
|
| 26313 |
# We cannot yet rely on "unset" to work, but we need these variables |
| 26314 |
# to be unset--not just set to an empty or harmless value--now, to |
| 26315 |
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
| 26316 |
# also avoids known problems related to "unset" and subshell syntax |
| 26317 |
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
| 26318 |
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
| 26319 |
do eval test \${$as_var+y} \ |
| 26320 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 26321 |
done |
| 26322 |
|
| 26323 |
# Ensure that fds 0, 1, and 2 are open. |
| 26324 |
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
| 26325 |
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
| 26326 |
if (exec 3>&2) ; then :; else exec 2>/dev/null; fi |
| 26327 |
|
| 26328 |
# The user is always right. |
| 26329 |
if ${PATH_SEPARATOR+false} :; then |
| 26330 |
PATH_SEPARATOR=: |
| 26331 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 26332 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 26333 |
PATH_SEPARATOR=';' |
| 26334 |
} |
| 26335 |
fi |
| 26336 |
|
| 26337 |
|
| 26338 |
# Find who we are. Look in the path if we contain no directory separator. |
| 26339 |
as_myself= |
| 26340 |
case $0 in #(( |
| 26341 |
*[\\/]* ) as_myself=$0 ;; |
| 26342 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 26343 |
for as_dir in $PATH |
| 26344 |
do |
| 26345 |
IFS=$as_save_IFS |
| 26346 |
case $as_dir in #((( |
| 26347 |
'') as_dir=./ ;; |
| 26348 |
*/) ;; |
| 26349 |
*) as_dir=$as_dir/ ;; |
| 26350 |
esac |
| 26351 |
test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
| 26352 |
done |
| 26353 |
IFS=$as_save_IFS |
| 26354 |
|
| 26355 |
;; |
| 26356 |
esac |
| 26357 |
# We did not find ourselves, most probably we were run as 'sh COMMAND' |
| 26358 |
# in which case we are not to be found in the path. |
| 26359 |
if test "x$as_myself" = x; then |
| 26360 |
as_myself=$0 |
| 26361 |
fi |
| 26362 |
if test ! -f "$as_myself"; then |
| 26363 |
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 26364 |
exit 1 |
| 26365 |
fi |
| 26366 |
|
| 26367 |
|
| 26368 |
|
| 26369 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 26370 |
# ---------------------------------------- |
| 26371 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 26372 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 26373 |
# script with STATUS, using 1 if that was 0. |
| 26374 |
as_fn_error () |
| 26375 |
{ |
| 26376 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
| 26377 |
if test "$4"; then |
| 26378 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 26379 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 26380 |
fi |
| 26381 |
printf "%s\n" "$as_me: error: $2" >&2 |
| 26382 |
as_fn_exit $as_status |
| 26383 |
} # as_fn_error |
| 26384 |
|
| 26385 |
|
| 26386 |
# as_fn_set_status STATUS |
| 26387 |
# ----------------------- |
| 26388 |
# Set $? to STATUS, without forking. |
| 26389 |
as_fn_set_status () |
| 26390 |
{ |
| 26391 |
return $1 |
| 26392 |
} # as_fn_set_status |
| 26393 |
|
| 26394 |
# as_fn_exit STATUS |
| 26395 |
# ----------------- |
| 26396 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 26397 |
as_fn_exit () |
| 26398 |
{ |
| 26399 |
set +e |
| 26400 |
as_fn_set_status $1 |
| 26401 |
exit $1 |
| 26402 |
} # as_fn_exit |
| 26403 |
|
| 26404 |
# as_fn_unset VAR |
| 26405 |
# --------------- |
| 26406 |
# Portably unset VAR. |
| 26407 |
as_fn_unset () |
| 26408 |
{ |
| 26409 |
{ eval $1=; unset $1;} |
| 26410 |
} |
| 26411 |
as_unset=as_fn_unset |
| 26412 |
|
| 26413 |
# as_fn_append VAR VALUE |
| 26414 |
# ---------------------- |
| 26415 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
| 26416 |
# advantage of any shell optimizations that allow amortized linear growth over |
| 26417 |
# repeated appends, instead of the typical quadratic growth present in naive |
| 26418 |
# implementations. |
| 26419 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
| 26420 |
then : |
| 26421 |
eval 'as_fn_append () |
| 26422 |
{ |
| 26423 |
eval $1+=\$2 |
| 26424 |
}' |
| 26425 |
else case e in #( |
| 26426 |
e) as_fn_append () |
| 26427 |
{ |
| 26428 |
eval $1=\$$1\$2 |
| 26429 |
} ;; |
| 26430 |
esac |
| 26431 |
fi # as_fn_append |
| 26432 |
|
| 26433 |
# as_fn_arith ARG... |
| 26434 |
# ------------------ |
| 26435 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
| 26436 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 26437 |
# must be portable across $(()) and expr. |
| 26438 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
| 26439 |
then : |
| 26440 |
eval 'as_fn_arith () |
| 26441 |
{ |
| 26442 |
as_val=$(( $* )) |
| 26443 |
}' |
| 26444 |
else case e in #( |
| 26445 |
e) as_fn_arith () |
| 26446 |
{ |
| 26447 |
as_val=`expr "$@" || test $? -eq 1` |
| 26448 |
} ;; |
| 26449 |
esac |
| 26450 |
fi # as_fn_arith |
| 26451 |
|
| 26452 |
|
| 26453 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 26454 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 26455 |
as_expr=expr |
| 26456 |
else |
| 26457 |
as_expr=false |
| 26458 |
fi |
| 26459 |
|
| 26460 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 26461 |
as_basename=basename |
| 26462 |
else |
| 26463 |
as_basename=false |
| 26464 |
fi |
| 26465 |
|
| 26466 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 26467 |
as_dirname=dirname |
| 26468 |
else |
| 26469 |
as_dirname=false |
| 26470 |
fi |
| 26471 |
|
| 26472 |
as_me=`$as_basename -- "$0" || |
| 26473 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 26474 |
X"$0" : 'X\(//\)$' \| \ |
| 26475 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 26476 |
printf "%s\n" X/"$0" | |
| 26477 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 26478 |
s//\1/ |
| 26479 |
q |
| 26480 |
} |
| 26481 |
/^X\/\(\/\/\)$/{ |
| 26482 |
s//\1/ |
| 26483 |
q |
| 26484 |
} |
| 26485 |
/^X\/\(\/\).*/{ |
| 26486 |
s//\1/ |
| 26487 |
q |
| 26488 |
} |
| 26489 |
s/.*/./; q'` |
| 26490 |
|
| 26491 |
# Avoid depending upon Character Ranges. |
| 26492 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 26493 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 26494 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 26495 |
as_cr_digits='0123456789' |
| 26496 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 26497 |
|
| 26498 |
|
| 26499 |
# Determine whether it's possible to make 'echo' print without a newline. |
| 26500 |
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
| 26501 |
# for compatibility with existing Makefiles. |
| 26502 |
ECHO_C= ECHO_N= ECHO_T= |
| 26503 |
case `echo -n x` in #((((( |
| 26504 |
-n*) |
| 26505 |
case `echo 'xy\c'` in |
| 26506 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 26507 |
xy) ECHO_C='\c';; |
| 26508 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 26509 |
ECHO_T=' ';; |
| 26510 |
esac;; |
| 26511 |
*) |
| 26512 |
ECHO_N='-n';; |
| 26513 |
esac |
| 26514 |
|
| 26515 |
# For backward compatibility with old third-party macros, we provide |
| 26516 |
# the shell variables $as_echo and $as_echo_n. New code should use |
| 26517 |
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
| 26518 |
as_echo='printf %s\n' |
| 26519 |
as_echo_n='printf %s' |
| 26520 |
|
| 26521 |
rm -f conf$$ conf$$.exe conf$$.file |
| 26522 |
if test -d conf$$.dir; then |
| 26523 |
rm -f conf$$.dir/conf$$.file |
| 26524 |
else |
| 26525 |
rm -f conf$$.dir |
| 26526 |
mkdir conf$$.dir 2>/dev/null |
| 26527 |
fi |
| 26528 |
if (echo >conf$$.file) 2>/dev/null; then |
| 26529 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 26530 |
as_ln_s='ln -s' |
| 26531 |
# ... but there are two gotchas: |
| 26532 |
# 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. |
| 26533 |
# 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. |
| 26534 |
# In both cases, we have to default to 'cp -pR'. |
| 26535 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 26536 |
as_ln_s='cp -pR' |
| 26537 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 26538 |
as_ln_s=ln |
| 26539 |
else |
| 26540 |
as_ln_s='cp -pR' |
| 26541 |
fi |
| 26542 |
else |
| 26543 |
as_ln_s='cp -pR' |
| 26544 |
fi |
| 26545 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 26546 |
rmdir conf$$.dir 2>/dev/null |
| 26547 |
|
| 26548 |
|
| 26549 |
# as_fn_mkdir_p |
| 26550 |
# ------------- |
| 26551 |
# Create "$as_dir" as a directory, including parents if necessary. |
| 26552 |
as_fn_mkdir_p () |
| 26553 |
{ |
| 26554 |
|
| 26555 |
case $as_dir in #( |
| 26556 |
-*) as_dir=./$as_dir;; |
| 26557 |
esac |
| 26558 |
test -d "$as_dir" || eval $as_mkdir_p || { |
| 26559 |
as_dirs= |
| 26560 |
while :; do |
| 26561 |
case $as_dir in #( |
| 26562 |
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 26563 |
*) as_qdir=$as_dir;; |
| 26564 |
esac |
| 26565 |
as_dirs="'$as_qdir' $as_dirs" |
| 26566 |
as_dir=`$as_dirname -- "$as_dir" || |
| 26567 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 26568 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 26569 |
X"$as_dir" : 'X\(//\)$' \| \ |
| 26570 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 26571 |
printf "%s\n" X"$as_dir" | |
| 26572 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 26573 |
s//\1/ |
| 26574 |
q |
| 26575 |
} |
| 26576 |
/^X\(\/\/\)[^/].*/{ |
| 26577 |
s//\1/ |
| 26578 |
q |
| 26579 |
} |
| 26580 |
/^X\(\/\/\)$/{ |
| 26581 |
s//\1/ |
| 26582 |
q |
| 26583 |
} |
| 26584 |
/^X\(\/\).*/{ |
| 26585 |
s//\1/ |
| 26586 |
q |
| 26587 |
} |
| 26588 |
s/.*/./; q'` |
| 26589 |
test -d "$as_dir" && break |
| 26590 |
done |
| 26591 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 26592 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 26593 |
|
| 26594 |
|
| 26595 |
} # as_fn_mkdir_p |
| 26596 |
if mkdir -p . 2>/dev/null; then |
| 26597 |
as_mkdir_p='mkdir -p "$as_dir"' |
| 26598 |
else |
| 26599 |
test -d ./-p && rmdir ./-p |
| 26600 |
as_mkdir_p=false |
| 26601 |
fi |
| 26602 |
|
| 26603 |
|
| 26604 |
# as_fn_executable_p FILE |
| 26605 |
# ----------------------- |
| 26606 |
# Test if FILE is an executable regular file. |
| 26607 |
as_fn_executable_p () |
| 26608 |
{ |
| 26609 |
test -f "$1" && test -x "$1" |
| 26610 |
} # as_fn_executable_p |
| 26611 |
as_test_x='test -x' |
| 26612 |
as_executable_p=as_fn_executable_p |
| 26613 |
|
| 26614 |
# Sed expression to map a string onto a valid CPP name. |
| 26615 |
as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
| 26616 |
as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated |
| 26617 |
|
| 26618 |
# Sed expression to map a string onto a valid variable name. |
| 26619 |
as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
| 26620 |
as_tr_sh="eval sed '$as_sed_sh'" # deprecated |
| 26621 |
|
| 26622 |
|
| 26623 |
exec 6>&1 |
| 26624 |
## ----------------------------------- ## |
| 26625 |
## Main body of $CONFIG_STATUS script. ## |
| 26626 |
## ----------------------------------- ## |
| 26627 |
_ASEOF |
| 26628 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
| 26629 |
|
| 26630 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 26631 |
# Save the log message, to keep $0 and so on meaningful, and to |
| 26632 |
# report actual input values of CONFIG_FILES etc. instead of their |
| 26633 |
# values after options handling. |
| 26634 |
ac_log=" |
| 26635 |
This file was extended by ibus $as_me 1.5.34, which was |
| 26636 |
generated by GNU Autoconf 2.72. Invocation command line was |
| 26637 |
|
| 26638 |
CONFIG_FILES = $CONFIG_FILES |
| 26639 |
CONFIG_HEADERS = $CONFIG_HEADERS |
| 26640 |
CONFIG_LINKS = $CONFIG_LINKS |
| 26641 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 26642 |
$ $0 $@ |
| 26643 |
|
| 26644 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 26645 |
" |
| 26646 |
|
| 26647 |
_ACEOF |
| 26648 |
|
| 26649 |
case $ac_config_files in *" |
| 26650 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
| 26651 |
esac |
| 26652 |
|
| 26653 |
case $ac_config_headers in *" |
| 26654 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
| 26655 |
esac |
| 26656 |
|
| 26657 |
|
| 26658 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 26659 |
# Files that config.status was made for. |
| 26660 |
config_files="$ac_config_files" |
| 26661 |
config_headers="$ac_config_headers" |
| 26662 |
config_commands="$ac_config_commands" |
| 26663 |
|
| 26664 |
_ACEOF |
| 26665 |
|
| 26666 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 26667 |
ac_cs_usage="\ |
| 26668 |
'$as_me' instantiates files and other configuration actions |
| 26669 |
from templates according to the current configuration. Unless the files |
| 26670 |
and actions are specified as TAGs, all are instantiated by default. |
| 26671 |
|
| 26672 |
Usage: $0 [OPTION]... [TAG]... |
| 26673 |
|
| 26674 |
-h, --help print this help, then exit |
| 26675 |
-V, --version print version number and configuration settings, then exit |
| 26676 |
--config print configuration, then exit |
| 26677 |
-q, --quiet, --silent |
| 26678 |
do not print progress messages |
| 26679 |
-d, --debug don't remove temporary files |
| 26680 |
--recheck update $as_me by reconfiguring in the same conditions |
| 26681 |
--file=FILE[:TEMPLATE] |
| 26682 |
instantiate the configuration file FILE |
| 26683 |
--header=FILE[:TEMPLATE] |
| 26684 |
instantiate the configuration header FILE |
| 26685 |
|
| 26686 |
Configuration files: |
| 26687 |
$config_files |
| 26688 |
|
| 26689 |
Configuration headers: |
| 26690 |
$config_headers |
| 26691 |
|
| 26692 |
Configuration commands: |
| 26693 |
$config_commands |
| 26694 |
|
| 26695 |
Report bugs to <https://github.com/ibus/ibus/issues>." |
| 26696 |
|
| 26697 |
_ACEOF |
| 26698 |
ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` |
| 26699 |
ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` |
| 26700 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 26701 |
ac_cs_config='$ac_cs_config_escaped' |
| 26702 |
ac_cs_version="\\ |
| 26703 |
ibus config.status 1.5.34 |
| 26704 |
configured by $0, generated by GNU Autoconf 2.72, |
| 26705 |
with options \\"\$ac_cs_config\\" |
| 26706 |
|
| 26707 |
Copyright (C) 2023 Free Software Foundation, Inc. |
| 26708 |
This config.status script is free software; the Free Software Foundation |
| 26709 |
gives unlimited permission to copy, distribute and modify it." |
| 26710 |
|
| 26711 |
ac_pwd='$ac_pwd' |
| 26712 |
srcdir='$srcdir' |
| 26713 |
INSTALL='$INSTALL' |
| 26714 |
MKDIR_P='$MKDIR_P' |
| 26715 |
AWK='$AWK' |
| 26716 |
test -n "\$AWK" || AWK=awk |
| 26717 |
_ACEOF |
| 26718 |
|
| 26719 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 26720 |
# The default lists apply if the user does not specify any file. |
| 26721 |
ac_need_defaults=: |
| 26722 |
while test $# != 0 |
| 26723 |
do |
| 26724 |
case $1 in |
| 26725 |
--*=?*) |
| 26726 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 26727 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 26728 |
ac_shift=: |
| 26729 |
;; |
| 26730 |
--*=) |
| 26731 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 26732 |
ac_optarg= |
| 26733 |
ac_shift=: |
| 26734 |
;; |
| 26735 |
*) |
| 26736 |
ac_option=$1 |
| 26737 |
ac_optarg=$2 |
| 26738 |
ac_shift=shift |
| 26739 |
;; |
| 26740 |
esac |
| 26741 |
|
| 26742 |
case $ac_option in |
| 26743 |
# Handling of the options. |
| 26744 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 26745 |
ac_cs_recheck=: ;; |
| 26746 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 26747 |
printf "%s\n" "$ac_cs_version"; exit ;; |
| 26748 |
--config | --confi | --conf | --con | --co | --c ) |
| 26749 |
printf "%s\n" "$ac_cs_config"; exit ;; |
| 26750 |
--debug | --debu | --deb | --de | --d | -d ) |
| 26751 |
debug=: ;; |
| 26752 |
--file | --fil | --fi | --f ) |
| 26753 |
$ac_shift |
| 26754 |
case $ac_optarg in |
| 26755 |
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 26756 |
'') as_fn_error $? "missing file argument" ;; |
| 26757 |
esac |
| 26758 |
as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 26759 |
ac_need_defaults=false;; |
| 26760 |
--header | --heade | --head | --hea ) |
| 26761 |
$ac_shift |
| 26762 |
case $ac_optarg in |
| 26763 |
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 26764 |
esac |
| 26765 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
| 26766 |
ac_need_defaults=false;; |
| 26767 |
--he | --h) |
| 26768 |
# Conflict between --help and --header |
| 26769 |
as_fn_error $? "ambiguous option: '$1' |
| 26770 |
Try '$0 --help' for more information.";; |
| 26771 |
--help | --hel | -h ) |
| 26772 |
printf "%s\n" "$ac_cs_usage"; exit ;; |
| 26773 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 26774 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 26775 |
ac_cs_silent=: ;; |
| 26776 |
|
| 26777 |
# This is an error. |
| 26778 |
-*) as_fn_error $? "unrecognized option: '$1' |
| 26779 |
Try '$0 --help' for more information." ;; |
| 26780 |
|
| 26781 |
*) as_fn_append ac_config_targets " $1" |
| 26782 |
ac_need_defaults=false ;; |
| 26783 |
|
| 26784 |
esac |
| 26785 |
shift |
| 26786 |
done |
| 26787 |
|
| 26788 |
ac_configure_extra_args= |
| 26789 |
|
| 26790 |
if $ac_cs_silent; then |
| 26791 |
exec 6>/dev/null |
| 26792 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
| 26793 |
fi |
| 26794 |
|
| 26795 |
_ACEOF |
| 26796 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 26797 |
if \$ac_cs_recheck; then |
| 26798 |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 26799 |
shift |
| 26800 |
\printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 26801 |
CONFIG_SHELL='$SHELL' |
| 26802 |
export CONFIG_SHELL |
| 26803 |
exec "\$@" |
| 26804 |
fi |
| 26805 |
|
| 26806 |
_ACEOF |
| 26807 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 26808 |
exec 5>>config.log |
| 26809 |
{ |
| 26810 |
echo |
| 26811 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 26812 |
## Running $as_me. ## |
| 26813 |
_ASBOX |
| 26814 |
printf "%s\n" "$ac_log" |
| 26815 |
} >&5 |
| 26816 |
|
| 26817 |
_ACEOF |
| 26818 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 26819 |
# |
| 26820 |
# INIT-COMMANDS |
| 26821 |
# |
| 26822 |
AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" |
| 26823 |
# Capture the value of obsolete ALL_LINGUAS because we need it to compute |
| 26824 |
# POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it |
| 26825 |
# from automake < 1.5. |
| 26826 |
eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' |
| 26827 |
# Capture the value of LINGUAS because we need it to compute CATALOGS. |
| 26828 |
LINGUAS="${LINGUAS-%UNSET%}" |
| 26829 |
|
| 26830 |
|
| 26831 |
|
| 26832 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
| 26833 |
# if CDPATH is set. |
| 26834 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 26835 |
|
| 26836 |
sed_quote_subst='$sed_quote_subst' |
| 26837 |
double_quote_subst='$double_quote_subst' |
| 26838 |
delay_variable_subst='$delay_variable_subst' |
| 26839 |
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
| 26840 |
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
| 26841 |
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
| 26842 |
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
| 26843 |
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
| 26844 |
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
| 26845 |
shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' |
| 26846 |
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
| 26847 |
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
| 26848 |
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
| 26849 |
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
| 26850 |
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
| 26851 |
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
| 26852 |
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
| 26853 |
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
| 26854 |
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
| 26855 |
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
| 26856 |
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
| 26857 |
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
| 26858 |
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
| 26859 |
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
| 26860 |
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
| 26861 |
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
| 26862 |
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
| 26863 |
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
| 26864 |
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
| 26865 |
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
| 26866 |
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
| 26867 |
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
| 26868 |
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
| 26869 |
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
| 26870 |
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
| 26871 |
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
| 26872 |
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
| 26873 |
FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`' |
| 26874 |
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
| 26875 |
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
| 26876 |
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
| 26877 |
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
| 26878 |
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
| 26879 |
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
| 26880 |
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
| 26881 |
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
| 26882 |
lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`' |
| 26883 |
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
| 26884 |
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
| 26885 |
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
| 26886 |
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
| 26887 |
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 26888 |
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 26889 |
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' |
| 26890 |
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' |
| 26891 |
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
| 26892 |
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
| 26893 |
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
| 26894 |
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
| 26895 |
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
| 26896 |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
| 26897 |
lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' |
| 26898 |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
| 26899 |
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"`' |
| 26900 |
lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' |
| 26901 |
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
| 26902 |
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
| 26903 |
lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' |
| 26904 |
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
| 26905 |
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
| 26906 |
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
| 26907 |
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
| 26908 |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
| 26909 |
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
| 26910 |
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
| 26911 |
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
| 26912 |
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
| 26913 |
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
| 26914 |
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
| 26915 |
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
| 26916 |
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' |
| 26917 |
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' |
| 26918 |
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' |
| 26919 |
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' |
| 26920 |
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
| 26921 |
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' |
| 26922 |
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' |
| 26923 |
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 26924 |
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 26925 |
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' |
| 26926 |
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' |
| 26927 |
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
| 26928 |
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' |
| 26929 |
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
| 26930 |
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' |
| 26931 |
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
| 26932 |
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' |
| 26933 |
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 26934 |
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
| 26935 |
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
| 26936 |
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
| 26937 |
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
| 26938 |
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
| 26939 |
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' |
| 26940 |
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' |
| 26941 |
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
| 26942 |
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
| 26943 |
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
| 26944 |
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
| 26945 |
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
| 26946 |
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
| 26947 |
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
| 26948 |
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
| 26949 |
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
| 26950 |
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
| 26951 |
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
| 26952 |
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
| 26953 |
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' |
| 26954 |
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' |
| 26955 |
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' |
| 26956 |
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' |
| 26957 |
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' |
| 26958 |
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
| 26959 |
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' |
| 26960 |
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
| 26961 |
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' |
| 26962 |
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 26963 |
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
| 26964 |
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
| 26965 |
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
| 26966 |
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
| 26967 |
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
| 26968 |
configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' |
| 26969 |
configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' |
| 26970 |
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
| 26971 |
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
| 26972 |
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
| 26973 |
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
| 26974 |
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
| 26975 |
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
| 26976 |
|
| 26977 |
LTCC='$LTCC' |
| 26978 |
LTCFLAGS='$LTCFLAGS' |
| 26979 |
compiler='$compiler_DEFAULT' |
| 26980 |
|
| 26981 |
# A function that is used when there is no print builtin or printf. |
| 26982 |
func_fallback_echo () |
| 26983 |
{ |
| 26984 |
eval 'cat <<_LTECHO_EOF |
| 26985 |
\$1 |
| 26986 |
_LTECHO_EOF' |
| 26987 |
} |
| 26988 |
|
| 26989 |
# Quote evaled strings. |
| 26990 |
for var in SHELL \ |
| 26991 |
ECHO \ |
| 26992 |
PATH_SEPARATOR \ |
| 26993 |
SED \ |
| 26994 |
GREP \ |
| 26995 |
EGREP \ |
| 26996 |
FGREP \ |
| 26997 |
LD \ |
| 26998 |
NM \ |
| 26999 |
LN_S \ |
| 27000 |
lt_SP2NL \ |
| 27001 |
lt_NL2SP \ |
| 27002 |
reload_flag \ |
| 27003 |
FILECMD \ |
| 27004 |
OBJDUMP \ |
| 27005 |
deplibs_check_method \ |
| 27006 |
file_magic_cmd \ |
| 27007 |
file_magic_glob \ |
| 27008 |
want_nocaseglob \ |
| 27009 |
DLLTOOL \ |
| 27010 |
sharedlib_from_linklib_cmd \ |
| 27011 |
AR \ |
| 27012 |
archiver_list_spec \ |
| 27013 |
STRIP \ |
| 27014 |
RANLIB \ |
| 27015 |
CC \ |
| 27016 |
CFLAGS \ |
| 27017 |
compiler \ |
| 27018 |
lt_cv_sys_global_symbol_pipe \ |
| 27019 |
lt_cv_sys_global_symbol_to_cdecl \ |
| 27020 |
lt_cv_sys_global_symbol_to_import \ |
| 27021 |
lt_cv_sys_global_symbol_to_c_name_address \ |
| 27022 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
| 27023 |
lt_cv_nm_interface \ |
| 27024 |
nm_file_list_spec \ |
| 27025 |
lt_cv_truncate_bin \ |
| 27026 |
lt_prog_compiler_no_builtin_flag \ |
| 27027 |
lt_prog_compiler_pic \ |
| 27028 |
lt_prog_compiler_wl \ |
| 27029 |
lt_prog_compiler_static \ |
| 27030 |
lt_cv_prog_compiler_c_o \ |
| 27031 |
need_locks \ |
| 27032 |
MANIFEST_TOOL \ |
| 27033 |
DSYMUTIL \ |
| 27034 |
NMEDIT \ |
| 27035 |
LIPO \ |
| 27036 |
OTOOL \ |
| 27037 |
OTOOL64 \ |
| 27038 |
shrext_cmds \ |
| 27039 |
export_dynamic_flag_spec \ |
| 27040 |
whole_archive_flag_spec \ |
| 27041 |
compiler_needs_object \ |
| 27042 |
with_gnu_ld \ |
| 27043 |
allow_undefined_flag \ |
| 27044 |
no_undefined_flag \ |
| 27045 |
hardcode_libdir_flag_spec \ |
| 27046 |
hardcode_libdir_separator \ |
| 27047 |
exclude_expsyms \ |
| 27048 |
include_expsyms \ |
| 27049 |
file_list_spec \ |
| 27050 |
variables_saved_for_relink \ |
| 27051 |
libname_spec \ |
| 27052 |
library_names_spec \ |
| 27053 |
soname_spec \ |
| 27054 |
install_override_mode \ |
| 27055 |
finish_eval \ |
| 27056 |
old_striplib \ |
| 27057 |
striplib; do |
| 27058 |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 27059 |
*[\\\\\\\`\\"\\\$]*) |
| 27060 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
| 27061 |
;; |
| 27062 |
*) |
| 27063 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 27064 |
;; |
| 27065 |
esac |
| 27066 |
done |
| 27067 |
|
| 27068 |
# Double-quote double-evaled strings. |
| 27069 |
for var in reload_cmds \ |
| 27070 |
old_postinstall_cmds \ |
| 27071 |
old_postuninstall_cmds \ |
| 27072 |
old_archive_cmds \ |
| 27073 |
extract_expsyms_cmds \ |
| 27074 |
old_archive_from_new_cmds \ |
| 27075 |
old_archive_from_expsyms_cmds \ |
| 27076 |
archive_cmds \ |
| 27077 |
archive_expsym_cmds \ |
| 27078 |
module_cmds \ |
| 27079 |
module_expsym_cmds \ |
| 27080 |
export_symbols_cmds \ |
| 27081 |
prelink_cmds \ |
| 27082 |
postlink_cmds \ |
| 27083 |
postinstall_cmds \ |
| 27084 |
postuninstall_cmds \ |
| 27085 |
finish_cmds \ |
| 27086 |
sys_lib_search_path_spec \ |
| 27087 |
configure_time_dlsearch_path \ |
| 27088 |
configure_time_lt_sys_library_path; do |
| 27089 |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 27090 |
*[\\\\\\\`\\"\\\$]*) |
| 27091 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
| 27092 |
;; |
| 27093 |
*) |
| 27094 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 27095 |
;; |
| 27096 |
esac |
| 27097 |
done |
| 27098 |
|
| 27099 |
ac_aux_dir='$ac_aux_dir' |
| 27100 |
|
| 27101 |
# See if we are running on zsh, and set the options that allow our |
| 27102 |
# commands through without removal of \ escapes INIT. |
| 27103 |
if test -n "\${ZSH_VERSION+set}"; then |
| 27104 |
setopt NO_GLOB_SUBST |
| 27105 |
fi |
| 27106 |
|
| 27107 |
|
| 27108 |
PACKAGE='$PACKAGE' |
| 27109 |
VERSION='$VERSION' |
| 27110 |
RM='$RM' |
| 27111 |
ofile='$ofile' |
| 27112 |
|
| 27113 |
|
| 27114 |
|
| 27115 |
|
| 27116 |
_ACEOF |
| 27117 |
|
| 27118 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 27119 |
|
| 27120 |
# Handling of arguments. |
| 27121 |
for ac_config_target in $ac_config_targets |
| 27122 |
do |
| 27123 |
case $ac_config_target in |
| 27124 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
| 27125 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 27126 |
"po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; |
| 27127 |
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
| 27128 |
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
| 27129 |
"bindings/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/Makefile" ;; |
| 27130 |
"bindings/pygobject/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/pygobject/Makefile" ;; |
| 27131 |
"bindings/vala/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/vala/Makefile" ;; |
| 27132 |
"bus/Makefile") CONFIG_FILES="$CONFIG_FILES bus/Makefile" ;; |
| 27133 |
"bus/ibus-daemon.1") CONFIG_FILES="$CONFIG_FILES bus/ibus-daemon.1" ;; |
| 27134 |
"bus/services/Makefile") CONFIG_FILES="$CONFIG_FILES bus/services/Makefile" ;; |
| 27135 |
"client/Makefile") CONFIG_FILES="$CONFIG_FILES client/Makefile" ;; |
| 27136 |
"client/gtk2/Makefile") CONFIG_FILES="$CONFIG_FILES client/gtk2/Makefile" ;; |
| 27137 |
"client/gtk3/Makefile") CONFIG_FILES="$CONFIG_FILES client/gtk3/Makefile" ;; |
| 27138 |
"client/gtk4/Makefile") CONFIG_FILES="$CONFIG_FILES client/gtk4/Makefile" ;; |
| 27139 |
"client/x11/Makefile") CONFIG_FILES="$CONFIG_FILES client/x11/Makefile" ;; |
| 27140 |
"client/wayland/Makefile") CONFIG_FILES="$CONFIG_FILES client/wayland/Makefile" ;; |
| 27141 |
"conf/Makefile") CONFIG_FILES="$CONFIG_FILES conf/Makefile" ;; |
| 27142 |
"conf/dconf/Makefile") CONFIG_FILES="$CONFIG_FILES conf/dconf/Makefile" ;; |
| 27143 |
"conf/memconf/Makefile") CONFIG_FILES="$CONFIG_FILES conf/memconf/Makefile" ;; |
| 27144 |
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; |
| 27145 |
"data/annotations/Makefile") CONFIG_FILES="$CONFIG_FILES data/annotations/Makefile" ;; |
| 27146 |
"data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;; |
| 27147 |
"data/its/Makefile") CONFIG_FILES="$CONFIG_FILES data/its/Makefile" ;; |
| 27148 |
"data/keymaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/keymaps/Makefile" ;; |
| 27149 |
"data/dconf/Makefile") CONFIG_FILES="$CONFIG_FILES data/dconf/Makefile" ;; |
| 27150 |
"data/dconf/00-upstream-settings.5") CONFIG_FILES="$CONFIG_FILES data/dconf/00-upstream-settings.5" ;; |
| 27151 |
"data/dconf/ibus.5") CONFIG_FILES="$CONFIG_FILES data/dconf/ibus.5" ;; |
| 27152 |
"docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; |
| 27153 |
"docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;; |
| 27154 |
"docs/reference/ibus/ibus-docs.sgml") CONFIG_FILES="$CONFIG_FILES docs/reference/ibus/ibus-docs.sgml" ;; |
| 27155 |
"docs/reference/ibus/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/ibus/Makefile" ;; |
| 27156 |
"engine/Makefile") CONFIG_FILES="$CONFIG_FILES engine/Makefile" ;; |
| 27157 |
"ibus/_config.py") CONFIG_FILES="$CONFIG_FILES ibus/_config.py" ;; |
| 27158 |
"ibus/Makefile") CONFIG_FILES="$CONFIG_FILES ibus/Makefile" ;; |
| 27159 |
"ibus/interface/Makefile") CONFIG_FILES="$CONFIG_FILES ibus/interface/Makefile" ;; |
| 27160 |
"m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; |
| 27161 |
"portal/Makefile") CONFIG_FILES="$CONFIG_FILES portal/Makefile" ;; |
| 27162 |
"setup/Makefile") CONFIG_FILES="$CONFIG_FILES setup/Makefile" ;; |
| 27163 |
"setup/ibus-setup.1") CONFIG_FILES="$CONFIG_FILES setup/ibus-setup.1" ;; |
| 27164 |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| 27165 |
"src/compose/Makefile") CONFIG_FILES="$CONFIG_FILES src/compose/Makefile" ;; |
| 27166 |
"src/ibusversion.h") CONFIG_FILES="$CONFIG_FILES src/ibusversion.h" ;; |
| 27167 |
"src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;; |
| 27168 |
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
| 27169 |
"tools/ibus.1") CONFIG_FILES="$CONFIG_FILES tools/ibus.1" ;; |
| 27170 |
"ui/Makefile") CONFIG_FILES="$CONFIG_FILES ui/Makefile" ;; |
| 27171 |
"ui/gtk3/Makefile") CONFIG_FILES="$CONFIG_FILES ui/gtk3/Makefile" ;; |
| 27172 |
"ui/gtk3/ibus-emoji.7") CONFIG_FILES="$CONFIG_FILES ui/gtk3/ibus-emoji.7" ;; |
| 27173 |
"util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;; |
| 27174 |
"util/IMdkit/Makefile") CONFIG_FILES="$CONFIG_FILES util/IMdkit/Makefile" ;; |
| 27175 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 27176 |
"ibus-1.0.pc") CONFIG_FILES="$CONFIG_FILES ibus-1.0.pc" ;; |
| 27177 |
"ibus.spec") CONFIG_FILES="$CONFIG_FILES ibus.spec" ;; |
| 27178 |
|
| 27179 |
*) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;; |
| 27180 |
esac |
| 27181 |
done |
| 27182 |
|
| 27183 |
|
| 27184 |
# If the user did not use the arguments to specify the items to instantiate, |
| 27185 |
# then the envvar interface is used. Set only those that are not. |
| 27186 |
# We use the long form for the default assignment because of an extremely |
| 27187 |
# bizarre bug on SunOS 4.1.3. |
| 27188 |
if $ac_need_defaults; then |
| 27189 |
test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files |
| 27190 |
test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers |
| 27191 |
test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands |
| 27192 |
fi |
| 27193 |
|
| 27194 |
# Have a temporary directory for convenience. Make it in the build tree |
| 27195 |
# simply because there is no reason against having it here, and in addition, |
| 27196 |
# creating and moving files from /tmp can sometimes cause problems. |
| 27197 |
# Hook for its removal unless debugging. |
| 27198 |
# Note that there is a small window in which the directory will not be cleaned: |
| 27199 |
# after its creation but before its name has been assigned to '$tmp'. |
| 27200 |
$debug || |
| 27201 |
{ |
| 27202 |
tmp= ac_tmp= |
| 27203 |
trap 'exit_status=$? |
| 27204 |
: "${ac_tmp:=$tmp}" |
| 27205 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
| 27206 |
' 0 |
| 27207 |
trap 'as_fn_exit 1' 1 2 13 15 |
| 27208 |
} |
| 27209 |
# Create a (secure) tmp directory for tmp files. |
| 27210 |
|
| 27211 |
{ |
| 27212 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 27213 |
test -d "$tmp" |
| 27214 |
} || |
| 27215 |
{ |
| 27216 |
tmp=./conf$$-$RANDOM |
| 27217 |
(umask 077 && mkdir "$tmp") |
| 27218 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| 27219 |
ac_tmp=$tmp |
| 27220 |
|
| 27221 |
# Set up the scripts for CONFIG_FILES section. |
| 27222 |
# No need to generate them if there are no CONFIG_FILES. |
| 27223 |
# This happens for instance with './config.status config.h'. |
| 27224 |
if test -n "$CONFIG_FILES"; then |
| 27225 |
|
| 27226 |
if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then |
| 27227 |
ac_cs_awk_getline=: |
| 27228 |
ac_cs_awk_pipe_init= |
| 27229 |
ac_cs_awk_read_file=' |
| 27230 |
while ((getline aline < (F[key])) > 0) |
| 27231 |
print(aline) |
| 27232 |
close(F[key])' |
| 27233 |
ac_cs_awk_pipe_fini= |
| 27234 |
else |
| 27235 |
ac_cs_awk_getline=false |
| 27236 |
ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\"" |
| 27237 |
ac_cs_awk_read_file=' |
| 27238 |
print "|#_!!_#|" |
| 27239 |
print "cat " F[key] " &&" |
| 27240 |
'$ac_cs_awk_pipe_init |
| 27241 |
# The final ':' finishes the AND list. |
| 27242 |
ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }' |
| 27243 |
fi |
| 27244 |
ac_cr=`echo X | tr X '\015'` |
| 27245 |
# On cygwin, bash can eat \r inside `` if the user requested igncr. |
| 27246 |
# But we know of no other shell where ac_cr would be empty at this |
| 27247 |
# point, so we can use a bashism as a fallback. |
| 27248 |
if test "x$ac_cr" = x; then |
| 27249 |
eval ac_cr=\$\'\\r\' |
| 27250 |
fi |
| 27251 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 27252 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 27253 |
ac_cs_awk_cr='\\r' |
| 27254 |
else |
| 27255 |
ac_cs_awk_cr=$ac_cr |
| 27256 |
fi |
| 27257 |
|
| 27258 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
| 27259 |
_ACEOF |
| 27260 |
|
| 27261 |
# Create commands to substitute file output variables. |
| 27262 |
{ |
| 27263 |
echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" && |
| 27264 |
echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' && |
| 27265 |
echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && |
| 27266 |
echo "_ACAWK" && |
| 27267 |
echo "_ACEOF" |
| 27268 |
} >conf$$files.sh && |
| 27269 |
. ./conf$$files.sh || |
| 27270 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 27271 |
rm -f conf$$files.sh |
| 27272 |
|
| 27273 |
{ |
| 27274 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
| 27275 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| 27276 |
echo "_ACEOF" |
| 27277 |
} >conf$$subs.sh || |
| 27278 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 27279 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
| 27280 |
ac_delim='%!_!# ' |
| 27281 |
for ac_last_try in false false false false false :; do |
| 27282 |
. ./conf$$subs.sh || |
| 27283 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 27284 |
|
| 27285 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
| 27286 |
if test $ac_delim_n = $ac_delim_num; then |
| 27287 |
break |
| 27288 |
elif $ac_last_try; then |
| 27289 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 27290 |
else |
| 27291 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 27292 |
fi |
| 27293 |
done |
| 27294 |
rm -f conf$$subs.sh |
| 27295 |
|
| 27296 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 27297 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| 27298 |
_ACEOF |
| 27299 |
sed -n ' |
| 27300 |
h |
| 27301 |
s/^/S["/; s/!.*/"]=/ |
| 27302 |
p |
| 27303 |
g |
| 27304 |
s/^[^!]*!// |
| 27305 |
:repl |
| 27306 |
t repl |
| 27307 |
s/'"$ac_delim"'$// |
| 27308 |
t delim |
| 27309 |
:nl |
| 27310 |
h |
| 27311 |
s/\(.\{148\}\)..*/\1/ |
| 27312 |
t more1 |
| 27313 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 27314 |
p |
| 27315 |
n |
| 27316 |
b repl |
| 27317 |
:more1 |
| 27318 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 27319 |
p |
| 27320 |
g |
| 27321 |
s/.\{148\}// |
| 27322 |
t nl |
| 27323 |
:delim |
| 27324 |
h |
| 27325 |
s/\(.\{148\}\)..*/\1/ |
| 27326 |
t more2 |
| 27327 |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 27328 |
p |
| 27329 |
b |
| 27330 |
:more2 |
| 27331 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 27332 |
p |
| 27333 |
g |
| 27334 |
s/.\{148\}// |
| 27335 |
t delim |
| 27336 |
' <conf$$subs.awk | sed ' |
| 27337 |
/^[^""]/{ |
| 27338 |
N |
| 27339 |
s/\n// |
| 27340 |
} |
| 27341 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
| 27342 |
rm -f conf$$subs.awk |
| 27343 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 27344 |
_ACAWK |
| 27345 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
| 27346 |
for (key in S) S_is_set[key] = 1 |
| 27347 |
FS = "" |
| 27348 |
\$ac_cs_awk_pipe_init |
| 27349 |
} |
| 27350 |
{ |
| 27351 |
line = $ 0 |
| 27352 |
nfields = split(line, field, "@") |
| 27353 |
substed = 0 |
| 27354 |
len = length(field[1]) |
| 27355 |
for (i = 2; i < nfields; i++) { |
| 27356 |
key = field[i] |
| 27357 |
keylen = length(key) |
| 27358 |
if (S_is_set[key]) { |
| 27359 |
value = S[key] |
| 27360 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
| 27361 |
len += length(value) + length(field[++i]) |
| 27362 |
substed = 1 |
| 27363 |
} else |
| 27364 |
len += 1 + keylen |
| 27365 |
} |
| 27366 |
if (nfields == 3 && !substed) { |
| 27367 |
key = field[2] |
| 27368 |
if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) { |
| 27369 |
\$ac_cs_awk_read_file |
| 27370 |
next |
| 27371 |
} |
| 27372 |
} |
| 27373 |
print line |
| 27374 |
} |
| 27375 |
\$ac_cs_awk_pipe_fini |
| 27376 |
_ACAWK |
| 27377 |
_ACEOF |
| 27378 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 27379 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
| 27380 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 27381 |
else |
| 27382 |
cat |
| 27383 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
| 27384 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
| 27385 |
_ACEOF |
| 27386 |
|
| 27387 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
| 27388 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
| 27389 |
# trailing colons and then remove the whole line if VPATH becomes empty |
| 27390 |
# (actually we leave an empty line to preserve line numbers). |
| 27391 |
if test "x$srcdir" = x.; then |
| 27392 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
| 27393 |
h |
| 27394 |
s/// |
| 27395 |
s/^/:/ |
| 27396 |
s/[ ]*$/:/ |
| 27397 |
s/:\$(srcdir):/:/g |
| 27398 |
s/:\${srcdir}:/:/g |
| 27399 |
s/:@srcdir@:/:/g |
| 27400 |
s/^:*// |
| 27401 |
s/:*$// |
| 27402 |
x |
| 27403 |
s/\(=[ ]*\).*/\1/ |
| 27404 |
G |
| 27405 |
s/\n// |
| 27406 |
s/^[^=]*=[ ]*$// |
| 27407 |
}' |
| 27408 |
fi |
| 27409 |
|
| 27410 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 27411 |
fi # test -n "$CONFIG_FILES" |
| 27412 |
|
| 27413 |
# Set up the scripts for CONFIG_HEADERS section. |
| 27414 |
# No need to generate them if there are no CONFIG_HEADERS. |
| 27415 |
# This happens for instance with './config.status Makefile'. |
| 27416 |
if test -n "$CONFIG_HEADERS"; then |
| 27417 |
cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
| 27418 |
BEGIN { |
| 27419 |
_ACEOF |
| 27420 |
|
| 27421 |
# Transform confdefs.h into an awk script 'defines.awk', embedded as |
| 27422 |
# here-document in config.status, that substitutes the proper values into |
| 27423 |
# config.h.in to produce config.h. |
| 27424 |
|
| 27425 |
# Create a delimiter string that does not exist in confdefs.h, to ease |
| 27426 |
# handling of long lines. |
| 27427 |
ac_delim='%!_!# ' |
| 27428 |
for ac_last_try in false false :; do |
| 27429 |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
| 27430 |
if test -z "$ac_tt"; then |
| 27431 |
break |
| 27432 |
elif $ac_last_try; then |
| 27433 |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| 27434 |
else |
| 27435 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 27436 |
fi |
| 27437 |
done |
| 27438 |
|
| 27439 |
# For the awk script, D is an array of macro values keyed by name, |
| 27440 |
# likewise P contains macro parameters if any. Preserve backslash |
| 27441 |
# newline sequences. |
| 27442 |
|
| 27443 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
| 27444 |
sed -n ' |
| 27445 |
s/.\{148\}/&'"$ac_delim"'/g |
| 27446 |
t rset |
| 27447 |
:rset |
| 27448 |
s/^[ ]*#[ ]*define[ ][ ]*/ / |
| 27449 |
t def |
| 27450 |
d |
| 27451 |
:def |
| 27452 |
s/\\$// |
| 27453 |
t bsnl |
| 27454 |
s/["\\]/\\&/g |
| 27455 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
| 27456 |
D["\1"]=" \3"/p |
| 27457 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
| 27458 |
d |
| 27459 |
:bsnl |
| 27460 |
s/["\\]/\\&/g |
| 27461 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
| 27462 |
D["\1"]=" \3\\\\\\n"\\/p |
| 27463 |
t cont |
| 27464 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
| 27465 |
t cont |
| 27466 |
d |
| 27467 |
:cont |
| 27468 |
n |
| 27469 |
s/.\{148\}/&'"$ac_delim"'/g |
| 27470 |
t clear |
| 27471 |
:clear |
| 27472 |
s/\\$// |
| 27473 |
t bsnlc |
| 27474 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p |
| 27475 |
d |
| 27476 |
:bsnlc |
| 27477 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
| 27478 |
b cont |
| 27479 |
' <confdefs.h | sed ' |
| 27480 |
s/'"$ac_delim"'/"\\\ |
| 27481 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
| 27482 |
|
| 27483 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 27484 |
for (key in D) D_is_set[key] = 1 |
| 27485 |
FS = "" |
| 27486 |
} |
| 27487 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
| 27488 |
line = \$ 0 |
| 27489 |
split(line, arg, " ") |
| 27490 |
if (arg[1] == "#") { |
| 27491 |
defundef = arg[2] |
| 27492 |
mac1 = arg[3] |
| 27493 |
} else { |
| 27494 |
defundef = substr(arg[1], 2) |
| 27495 |
mac1 = arg[2] |
| 27496 |
} |
| 27497 |
split(mac1, mac2, "(") #) |
| 27498 |
macro = mac2[1] |
| 27499 |
prefix = substr(line, 1, index(line, defundef) - 1) |
| 27500 |
if (D_is_set[macro]) { |
| 27501 |
# Preserve the white space surrounding the "#". |
| 27502 |
print prefix "define", macro P[macro] D[macro] |
| 27503 |
next |
| 27504 |
} else { |
| 27505 |
# Replace #undef with comments. This is necessary, for example, |
| 27506 |
# in the case of _POSIX_SOURCE, which is predefined and required |
| 27507 |
# on some systems where configure will not decide to define it. |
| 27508 |
if (defundef == "undef") { |
| 27509 |
print "/*", prefix defundef, macro, "*/" |
| 27510 |
next |
| 27511 |
} |
| 27512 |
} |
| 27513 |
} |
| 27514 |
{ print } |
| 27515 |
_ACAWK |
| 27516 |
_ACEOF |
| 27517 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 27518 |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
| 27519 |
fi # test -n "$CONFIG_HEADERS" |
| 27520 |
|
| 27521 |
|
| 27522 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
| 27523 |
shift |
| 27524 |
for ac_tag |
| 27525 |
do |
| 27526 |
case $ac_tag in |
| 27527 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
| 27528 |
esac |
| 27529 |
case $ac_mode$ac_tag in |
| 27530 |
:[FHL]*:*);; |
| 27531 |
:L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;; |
| 27532 |
:[FH]-) ac_tag=-:-;; |
| 27533 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 27534 |
esac |
| 27535 |
ac_save_IFS=$IFS |
| 27536 |
IFS=: |
| 27537 |
set x $ac_tag |
| 27538 |
IFS=$ac_save_IFS |
| 27539 |
shift |
| 27540 |
ac_file=$1 |
| 27541 |
shift |
| 27542 |
|
| 27543 |
case $ac_mode in |
| 27544 |
:L) ac_source=$1;; |
| 27545 |
:[FH]) |
| 27546 |
ac_file_inputs= |
| 27547 |
for ac_f |
| 27548 |
do |
| 27549 |
case $ac_f in |
| 27550 |
-) ac_f="$ac_tmp/stdin";; |
| 27551 |
*) # Look for the file first in the build tree, then in the source tree |
| 27552 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
| 27553 |
# because $ac_f cannot contain ':'. |
| 27554 |
test -f "$ac_f" || |
| 27555 |
case $ac_f in |
| 27556 |
[\\/$]*) false;; |
| 27557 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 27558 |
esac || |
| 27559 |
as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;; |
| 27560 |
esac |
| 27561 |
case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 27562 |
as_fn_append ac_file_inputs " '$ac_f'" |
| 27563 |
done |
| 27564 |
|
| 27565 |
# Let's still pretend it is 'configure' which instantiates (i.e., don't |
| 27566 |
# use $as_me), people would be surprised to read: |
| 27567 |
# /* config.h. Generated by config.status. */ |
| 27568 |
configure_input='Generated from '` |
| 27569 |
printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| 27570 |
`' by configure.' |
| 27571 |
if test x"$ac_file" != x-; then |
| 27572 |
configure_input="$ac_file. $configure_input" |
| 27573 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
| 27574 |
printf "%s\n" "$as_me: creating $ac_file" >&6;} |
| 27575 |
fi |
| 27576 |
# Neutralize special characters interpreted by sed in replacement strings. |
| 27577 |
case $configure_input in #( |
| 27578 |
*\&* | *\|* | *\\* ) |
| 27579 |
ac_sed_conf_input=`printf "%s\n" "$configure_input" | |
| 27580 |
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
| 27581 |
*) ac_sed_conf_input=$configure_input;; |
| 27582 |
esac |
| 27583 |
|
| 27584 |
case $ac_tag in |
| 27585 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
| 27586 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
| 27587 |
esac |
| 27588 |
;; |
| 27589 |
esac |
| 27590 |
|
| 27591 |
ac_dir=`$as_dirname -- "$ac_file" || |
| 27592 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 27593 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 27594 |
X"$ac_file" : 'X\(//\)$' \| \ |
| 27595 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 27596 |
printf "%s\n" X"$ac_file" | |
| 27597 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 27598 |
s//\1/ |
| 27599 |
q |
| 27600 |
} |
| 27601 |
/^X\(\/\/\)[^/].*/{ |
| 27602 |
s//\1/ |
| 27603 |
q |
| 27604 |
} |
| 27605 |
/^X\(\/\/\)$/{ |
| 27606 |
s//\1/ |
| 27607 |
q |
| 27608 |
} |
| 27609 |
/^X\(\/\).*/{ |
| 27610 |
s//\1/ |
| 27611 |
q |
| 27612 |
} |
| 27613 |
s/.*/./; q'` |
| 27614 |
as_dir="$ac_dir"; as_fn_mkdir_p |
| 27615 |
ac_builddir=. |
| 27616 |
|
| 27617 |
case "$ac_dir" in |
| 27618 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 27619 |
*) |
| 27620 |
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
| 27621 |
# A ".." for each directory in $ac_dir_suffix. |
| 27622 |
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 27623 |
case $ac_top_builddir_sub in |
| 27624 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 27625 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 27626 |
esac ;; |
| 27627 |
esac |
| 27628 |
ac_abs_top_builddir=$ac_pwd |
| 27629 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 27630 |
# for backward compatibility: |
| 27631 |
ac_top_builddir=$ac_top_build_prefix |
| 27632 |
|
| 27633 |
case $srcdir in |
| 27634 |
.) # We are building in place. |
| 27635 |
ac_srcdir=. |
| 27636 |
ac_top_srcdir=$ac_top_builddir_sub |
| 27637 |
ac_abs_top_srcdir=$ac_pwd ;; |
| 27638 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
| 27639 |
ac_srcdir=$srcdir$ac_dir_suffix; |
| 27640 |
ac_top_srcdir=$srcdir |
| 27641 |
ac_abs_top_srcdir=$srcdir ;; |
| 27642 |
*) # Relative name. |
| 27643 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 27644 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 27645 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 27646 |
esac |
| 27647 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 27648 |
|
| 27649 |
|
| 27650 |
case $ac_mode in |
| 27651 |
:F) |
| 27652 |
# |
| 27653 |
# CONFIG_FILE |
| 27654 |
# |
| 27655 |
|
| 27656 |
case $INSTALL in |
| 27657 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| 27658 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
| 27659 |
esac |
| 27660 |
ac_MKDIR_P=$MKDIR_P |
| 27661 |
case $MKDIR_P in |
| 27662 |
[\\/$]* | ?:[\\/]* ) ;; |
| 27663 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
| 27664 |
esac |
| 27665 |
_ACEOF |
| 27666 |
|
| 27667 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 27668 |
# If the template does not know about datarootdir, expand it. |
| 27669 |
# FIXME: This hack should be removed a few years after 2.60. |
| 27670 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
| 27671 |
ac_sed_dataroot=' |
| 27672 |
/datarootdir/ { |
| 27673 |
p |
| 27674 |
q |
| 27675 |
} |
| 27676 |
/@datadir@/p |
| 27677 |
/@docdir@/p |
| 27678 |
/@infodir@/p |
| 27679 |
/@localedir@/p |
| 27680 |
/@mandir@/p' |
| 27681 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 27682 |
*datarootdir*) ac_datarootdir_seen=yes;; |
| 27683 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 27684 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 27685 |
printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 27686 |
_ACEOF |
| 27687 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 27688 |
ac_datarootdir_hack=' |
| 27689 |
s&@datadir@&$datadir&g |
| 27690 |
s&@docdir@&$docdir&g |
| 27691 |
s&@infodir@&$infodir&g |
| 27692 |
s&@localedir@&$localedir&g |
| 27693 |
s&@mandir@&$mandir&g |
| 27694 |
s&\\\${datarootdir}&$datarootdir&g' ;; |
| 27695 |
esac |
| 27696 |
_ACEOF |
| 27697 |
|
| 27698 |
# Neutralize VPATH when '$srcdir' = '.'. |
| 27699 |
# Shell code in configure.ac might set extrasub. |
| 27700 |
# FIXME: do we really want to maintain this feature? |
| 27701 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 27702 |
ac_sed_extra="$ac_vpsub |
| 27703 |
$extrasub |
| 27704 |
_ACEOF |
| 27705 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 27706 |
:t |
| 27707 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 27708 |
s|@configure_input@|$ac_sed_conf_input|;t t |
| 27709 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 27710 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
| 27711 |
s&@srcdir@&$ac_srcdir&;t t |
| 27712 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 27713 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
| 27714 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 27715 |
s&@builddir@&$ac_builddir&;t t |
| 27716 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
| 27717 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 27718 |
s&@INSTALL@&$ac_INSTALL&;t t |
| 27719 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
| 27720 |
$ac_datarootdir_hack |
| 27721 |
" |
| 27722 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | |
| 27723 |
if $ac_cs_awk_getline; then |
| 27724 |
$AWK -f "$ac_tmp/subs.awk" |
| 27725 |
else |
| 27726 |
$AWK -f "$ac_tmp/subs.awk" | $SHELL |
| 27727 |
fi \ |
| 27728 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 27729 |
|
| 27730 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 27731 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
| 27732 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| 27733 |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
| 27734 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir' |
| 27735 |
which seems to be undefined. Please make sure it is defined" >&5 |
| 27736 |
printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir' |
| 27737 |
which seems to be undefined. Please make sure it is defined" >&2;} |
| 27738 |
|
| 27739 |
rm -f "$ac_tmp/stdin" |
| 27740 |
case $ac_file in |
| 27741 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
| 27742 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
| 27743 |
esac \ |
| 27744 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 27745 |
;; |
| 27746 |
:H) |
| 27747 |
# |
| 27748 |
# CONFIG_HEADER |
| 27749 |
# |
| 27750 |
if test x"$ac_file" != x-; then |
| 27751 |
{ |
| 27752 |
printf "%s\n" "/* $configure_input */" >&1 \ |
| 27753 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
| 27754 |
} >"$ac_tmp/config.h" \ |
| 27755 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 27756 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
| 27757 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| 27758 |
printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} |
| 27759 |
else |
| 27760 |
rm -f "$ac_file" |
| 27761 |
mv "$ac_tmp/config.h" "$ac_file" \ |
| 27762 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 27763 |
fi |
| 27764 |
else |
| 27765 |
printf "%s\n" "/* $configure_input */" >&1 \ |
| 27766 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
| 27767 |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
| 27768 |
fi |
| 27769 |
# Compute "$ac_file"'s index in $config_headers. |
| 27770 |
_am_arg="$ac_file" |
| 27771 |
_am_stamp_count=1 |
| 27772 |
for _am_header in $config_headers :; do |
| 27773 |
case $_am_header in |
| 27774 |
$_am_arg | $_am_arg:* ) |
| 27775 |
break ;; |
| 27776 |
* ) |
| 27777 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
| 27778 |
esac |
| 27779 |
done |
| 27780 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
| 27781 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 27782 |
X"$_am_arg" : 'X\(//\)[^/]' \| \ |
| 27783 |
X"$_am_arg" : 'X\(//\)$' \| \ |
| 27784 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
| 27785 |
printf "%s\n" X"$_am_arg" | |
| 27786 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 27787 |
s//\1/ |
| 27788 |
q |
| 27789 |
} |
| 27790 |
/^X\(\/\/\)[^/].*/{ |
| 27791 |
s//\1/ |
| 27792 |
q |
| 27793 |
} |
| 27794 |
/^X\(\/\/\)$/{ |
| 27795 |
s//\1/ |
| 27796 |
q |
| 27797 |
} |
| 27798 |
/^X\(\/\).*/{ |
| 27799 |
s//\1/ |
| 27800 |
q |
| 27801 |
} |
| 27802 |
s/.*/./; q'`/stamp-h$_am_stamp_count |
| 27803 |
;; |
| 27804 |
|
| 27805 |
:C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
| 27806 |
printf "%s\n" "$as_me: executing $ac_file commands" >&6;} |
| 27807 |
;; |
| 27808 |
esac |
| 27809 |
|
| 27810 |
|
| 27811 |
case $ac_file$ac_mode in |
| 27812 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
| 27813 |
# Older Autoconf quotes --file arguments for eval, but not when files |
| 27814 |
# are listed without --file. Let's play safe and only enable the eval |
| 27815 |
# if we detect the quoting. |
| 27816 |
# TODO: see whether this extra hack can be removed once we start |
| 27817 |
# requiring Autoconf 2.70 or later. |
| 27818 |
case $CONFIG_FILES in #( |
| 27819 |
*\'*) : |
| 27820 |
eval set x "$CONFIG_FILES" ;; #( |
| 27821 |
*) : |
| 27822 |
set x $CONFIG_FILES ;; #( |
| 27823 |
*) : |
| 27824 |
;; |
| 27825 |
esac |
| 27826 |
shift |
| 27827 |
# Used to flag and report bootstrapping failures. |
| 27828 |
am_rc=0 |
| 27829 |
for am_mf |
| 27830 |
do |
| 27831 |
# Strip MF so we end up with the name of the file. |
| 27832 |
am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'` |
| 27833 |
# Check whether this is an Automake generated Makefile which includes |
| 27834 |
# dependency-tracking related rules and includes. |
| 27835 |
# Grep'ing the whole file directly is not great: AIX grep has a line |
| 27836 |
# limit of 2048, but all sed's we know have understand at least 4000. |
| 27837 |
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ |
| 27838 |
|| continue |
| 27839 |
am_dirpart=`$as_dirname -- "$am_mf" || |
| 27840 |
$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 27841 |
X"$am_mf" : 'X\(//\)[^/]' \| \ |
| 27842 |
X"$am_mf" : 'X\(//\)$' \| \ |
| 27843 |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 27844 |
printf "%s\n" X"$am_mf" | |
| 27845 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 27846 |
s//\1/ |
| 27847 |
q |
| 27848 |
} |
| 27849 |
/^X\(\/\/\)[^/].*/{ |
| 27850 |
s//\1/ |
| 27851 |
q |
| 27852 |
} |
| 27853 |
/^X\(\/\/\)$/{ |
| 27854 |
s//\1/ |
| 27855 |
q |
| 27856 |
} |
| 27857 |
/^X\(\/\).*/{ |
| 27858 |
s//\1/ |
| 27859 |
q |
| 27860 |
} |
| 27861 |
s/.*/./; q'` |
| 27862 |
am_filepart=`$as_basename -- "$am_mf" || |
| 27863 |
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ |
| 27864 |
X"$am_mf" : 'X\(//\)$' \| \ |
| 27865 |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| 27866 |
printf "%s\n" X/"$am_mf" | |
| 27867 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 27868 |
s//\1/ |
| 27869 |
q |
| 27870 |
} |
| 27871 |
/^X\/\(\/\/\)$/{ |
| 27872 |
s//\1/ |
| 27873 |
q |
| 27874 |
} |
| 27875 |
/^X\/\(\/\).*/{ |
| 27876 |
s//\1/ |
| 27877 |
q |
| 27878 |
} |
| 27879 |
s/.*/./; q'` |
| 27880 |
{ echo "$as_me:$LINENO: cd "$am_dirpart" \ |
| 27881 |
&& sed -e '/# am--include-marker/d' "$am_filepart" \ |
| 27882 |
| $MAKE -f - am--depfiles" >&5 |
| 27883 |
(cd "$am_dirpart" \ |
| 27884 |
&& sed -e '/# am--include-marker/d' "$am_filepart" \ |
| 27885 |
| $MAKE -f - am--depfiles) >&5 2>&5 |
| 27886 |
ac_status=$? |
| 27887 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 27888 |
(exit $ac_status); } || am_rc=$? |
| 27889 |
done |
| 27890 |
if test $am_rc -ne 0; then |
| 27891 |
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 |
| 27892 |
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} |
| 27893 |
as_fn_error $? "Something went wrong bootstrapping makefile fragments |
| 27894 |
for automatic dependency tracking. If GNU make was not used, consider |
| 27895 |
re-running the configure script with MAKE=\"gmake\" (or whatever is |
| 27896 |
necessary). You can also try re-running configure with the |
| 27897 |
'--disable-dependency-tracking' option to at least be able to build |
| 27898 |
the package (albeit without support for automatic dependency tracking). |
| 27899 |
See 'config.log' for more details" "$LINENO" 5; } |
| 27900 |
fi |
| 27901 |
{ am_dirpart=; unset am_dirpart;} |
| 27902 |
{ am_filepart=; unset am_filepart;} |
| 27903 |
{ am_mf=; unset am_mf;} |
| 27904 |
{ am_rc=; unset am_rc;} |
| 27905 |
rm -f conftest-deps.mk |
| 27906 |
} |
| 27907 |
;; |
| 27908 |
"po-directories":C) |
| 27909 |
for ac_file in $CONFIG_FILES; do |
| 27910 |
# Support "outfile[:infile[:infile...]]" |
| 27911 |
case "$ac_file" in |
| 27912 |
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
| 27913 |
esac |
| 27914 |
# PO directories have a Makefile.in generated from Makefile.in.in. |
| 27915 |
case "$ac_file" in */Makefile.in) |
| 27916 |
# Adjust a relative srcdir. |
| 27917 |
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` |
| 27918 |
ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` |
| 27919 |
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` |
| 27920 |
# In autoconf-2.13 it is called $ac_given_srcdir. |
| 27921 |
# In autoconf-2.50 it is called $srcdir. |
| 27922 |
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" |
| 27923 |
case "$ac_given_srcdir" in |
| 27924 |
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; |
| 27925 |
/*) top_srcdir="$ac_given_srcdir" ;; |
| 27926 |
*) top_srcdir="$ac_dots$ac_given_srcdir" ;; |
| 27927 |
esac |
| 27928 |
# Treat a directory as a PO directory if and only if it has a |
| 27929 |
# POTFILES.in file. This allows packages to have multiple PO |
| 27930 |
# directories under different names or in different locations. |
| 27931 |
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then |
| 27932 |
rm -f "$ac_dir/POTFILES" |
| 27933 |
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" |
| 27934 |
gt_tab=`printf '\t'` |
| 27935 |
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" |
| 27936 |
POMAKEFILEDEPS="POTFILES.in" |
| 27937 |
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend |
| 27938 |
# on $ac_dir but don't depend on user-specified configuration |
| 27939 |
# parameters. |
| 27940 |
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then |
| 27941 |
# The LINGUAS file contains the set of available languages. |
| 27942 |
if test -n "$OBSOLETE_ALL_LINGUAS"; then |
| 27943 |
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" |
| 27944 |
fi |
| 27945 |
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` |
| 27946 |
# Hide the ALL_LINGUAS assignment from automake < 1.5. |
| 27947 |
eval 'ALL_LINGUAS''=$ALL_LINGUAS_' |
| 27948 |
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" |
| 27949 |
else |
| 27950 |
# The set of available languages was given in configure.in. |
| 27951 |
# Hide the ALL_LINGUAS assignment from automake < 1.5. |
| 27952 |
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' |
| 27953 |
fi |
| 27954 |
# Compute POFILES |
| 27955 |
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) |
| 27956 |
# Compute UPDATEPOFILES |
| 27957 |
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) |
| 27958 |
# Compute DUMMYPOFILES |
| 27959 |
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) |
| 27960 |
# Compute GMOFILES |
| 27961 |
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) |
| 27962 |
case "$ac_given_srcdir" in |
| 27963 |
.) srcdirpre= ;; |
| 27964 |
*) srcdirpre='$(srcdir)/' ;; |
| 27965 |
esac |
| 27966 |
POFILES= |
| 27967 |
UPDATEPOFILES= |
| 27968 |
DUMMYPOFILES= |
| 27969 |
GMOFILES= |
| 27970 |
for lang in $ALL_LINGUAS; do |
| 27971 |
POFILES="$POFILES $srcdirpre$lang.po" |
| 27972 |
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" |
| 27973 |
DUMMYPOFILES="$DUMMYPOFILES $lang.nop" |
| 27974 |
GMOFILES="$GMOFILES $srcdirpre$lang.gmo" |
| 27975 |
done |
| 27976 |
# CATALOGS depends on both $ac_dir and the user's LINGUAS |
| 27977 |
# environment variable. |
| 27978 |
INST_LINGUAS= |
| 27979 |
if test -n "$ALL_LINGUAS"; then |
| 27980 |
for presentlang in $ALL_LINGUAS; do |
| 27981 |
useit=no |
| 27982 |
if test "%UNSET%" != "$LINGUAS"; then |
| 27983 |
desiredlanguages="$LINGUAS" |
| 27984 |
else |
| 27985 |
desiredlanguages="$ALL_LINGUAS" |
| 27986 |
fi |
| 27987 |
for desiredlang in $desiredlanguages; do |
| 27988 |
# Use the presentlang catalog if desiredlang is |
| 27989 |
# a. equal to presentlang, or |
| 27990 |
# b. a variant of presentlang (because in this case, |
| 27991 |
# presentlang can be used as a fallback for messages |
| 27992 |
# which are not translated in the desiredlang catalog). |
| 27993 |
case "$desiredlang" in |
| 27994 |
"$presentlang"*) useit=yes;; |
| 27995 |
esac |
| 27996 |
done |
| 27997 |
if test $useit = yes; then |
| 27998 |
INST_LINGUAS="$INST_LINGUAS $presentlang" |
| 27999 |
fi |
| 28000 |
done |
| 28001 |
fi |
| 28002 |
CATALOGS= |
| 28003 |
if test -n "$INST_LINGUAS"; then |
| 28004 |
for lang in $INST_LINGUAS; do |
| 28005 |
CATALOGS="$CATALOGS $lang.gmo" |
| 28006 |
done |
| 28007 |
fi |
| 28008 |
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" |
| 28009 |
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" |
| 28010 |
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do |
| 28011 |
if test -f "$f"; then |
| 28012 |
case "$f" in |
| 28013 |
*.orig | *.bak | *~) ;; |
| 28014 |
*) cat "$f" >> "$ac_dir/Makefile" ;; |
| 28015 |
esac |
| 28016 |
fi |
| 28017 |
done |
| 28018 |
fi |
| 28019 |
;; |
| 28020 |
esac |
| 28021 |
done ;; |
| 28022 |
"libtool":C) |
| 28023 |
|
| 28024 |
# See if we are running on zsh, and set the options that allow our |
| 28025 |
# commands through without removal of \ escapes. |
| 28026 |
if test -n "${ZSH_VERSION+set}"; then |
| 28027 |
setopt NO_GLOB_SUBST |
| 28028 |
fi |
| 28029 |
|
| 28030 |
cfgfile=${ofile}T |
| 28031 |
trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
| 28032 |
$RM "$cfgfile" |
| 28033 |
|
| 28034 |
cat <<_LT_EOF >> "$cfgfile" |
| 28035 |
#! $SHELL |
| 28036 |
# Generated automatically by $as_me ($PACKAGE) $VERSION |
| 28037 |
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
| 28038 |
|
| 28039 |
# Provide generalized library-building support services. |
| 28040 |
# Written by Gordon Matzigkeit, 1996 |
| 28041 |
|
| 28042 |
# Copyright (C) 2024 Free Software Foundation, Inc. |
| 28043 |
# This is free software; see the source for copying conditions. There is NO |
| 28044 |
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 28045 |
|
| 28046 |
# GNU Libtool is free software; you can redistribute it and/or modify |
| 28047 |
# it under the terms of the GNU General Public License as published by |
| 28048 |
# the Free Software Foundation; either version 2 of the License, or |
| 28049 |
# (at your option) any later version. |
| 28050 |
# |
| 28051 |
# As a special exception to the GNU General Public License, if you |
| 28052 |
# distribute this file as part of a program or library that is built |
| 28053 |
# using GNU Libtool, you may include this file under the same |
| 28054 |
# distribution terms that you use for the rest of that program. |
| 28055 |
# |
| 28056 |
# GNU Libtool is distributed in the hope that it will be useful, but |
| 28057 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 28058 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 28059 |
# GNU General Public License for more details. |
| 28060 |
# |
| 28061 |
# You should have received a copy of the GNU General Public License |
| 28062 |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 28063 |
|
| 28064 |
|
| 28065 |
# The names of the tagged configurations supported by this script. |
| 28066 |
available_tags='' |
| 28067 |
|
| 28068 |
# Configured defaults for sys_lib_dlsearch_path munging. |
| 28069 |
: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} |
| 28070 |
|
| 28071 |
# ### BEGIN LIBTOOL CONFIG |
| 28072 |
|
| 28073 |
# Whether or not to build static libraries. |
| 28074 |
build_old_libs=$enable_static |
| 28075 |
|
| 28076 |
# Which release of libtool.m4 was used? |
| 28077 |
macro_version=$macro_version |
| 28078 |
macro_revision=$macro_revision |
| 28079 |
|
| 28080 |
# Whether or not to build shared libraries. |
| 28081 |
build_libtool_libs=$enable_shared |
| 28082 |
|
| 28083 |
# What type of objects to build. |
| 28084 |
pic_mode=$pic_mode |
| 28085 |
|
| 28086 |
# Whether or not to optimize for fast installation. |
| 28087 |
fast_install=$enable_fast_install |
| 28088 |
|
| 28089 |
# Shared archive member basename,for filename based shared library versioning on AIX. |
| 28090 |
shared_archive_member_spec=$shared_archive_member_spec |
| 28091 |
|
| 28092 |
# Shell to use when invoking shell scripts. |
| 28093 |
SHELL=$lt_SHELL |
| 28094 |
|
| 28095 |
# An echo program that protects backslashes. |
| 28096 |
ECHO=$lt_ECHO |
| 28097 |
|
| 28098 |
# The PATH separator for the build system. |
| 28099 |
PATH_SEPARATOR=$lt_PATH_SEPARATOR |
| 28100 |
|
| 28101 |
# The host system. |
| 28102 |
host_alias=$host_alias |
| 28103 |
host=$host |
| 28104 |
host_os=$host_os |
| 28105 |
|
| 28106 |
# The build system. |
| 28107 |
build_alias=$build_alias |
| 28108 |
build=$build |
| 28109 |
build_os=$build_os |
| 28110 |
|
| 28111 |
# A sed program that does not truncate output. |
| 28112 |
SED=$lt_SED |
| 28113 |
|
| 28114 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
| 28115 |
Xsed="\$SED -e 1s/^X//" |
| 28116 |
|
| 28117 |
# A grep program that handles long lines. |
| 28118 |
GREP=$lt_GREP |
| 28119 |
|
| 28120 |
# An ERE matcher. |
| 28121 |
EGREP=$lt_EGREP |
| 28122 |
|
| 28123 |
# A literal string matcher. |
| 28124 |
FGREP=$lt_FGREP |
| 28125 |
|
| 28126 |
# A BSD- or MS-compatible name lister. |
| 28127 |
NM=$lt_NM |
| 28128 |
|
| 28129 |
# Whether we need soft or hard links. |
| 28130 |
LN_S=$lt_LN_S |
| 28131 |
|
| 28132 |
# What is the maximum length of a command? |
| 28133 |
max_cmd_len=$max_cmd_len |
| 28134 |
|
| 28135 |
# Object file suffix (normally "o"). |
| 28136 |
objext=$ac_objext |
| 28137 |
|
| 28138 |
# Executable file suffix (normally ""). |
| 28139 |
exeext=$exeext |
| 28140 |
|
| 28141 |
# whether the shell understands "unset". |
| 28142 |
lt_unset=$lt_unset |
| 28143 |
|
| 28144 |
# turn spaces into newlines. |
| 28145 |
SP2NL=$lt_lt_SP2NL |
| 28146 |
|
| 28147 |
# turn newlines into spaces. |
| 28148 |
NL2SP=$lt_lt_NL2SP |
| 28149 |
|
| 28150 |
# convert \$build file names to \$host format. |
| 28151 |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
| 28152 |
|
| 28153 |
# convert \$build files to toolchain format. |
| 28154 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 28155 |
|
| 28156 |
# A file(cmd) program that detects file types. |
| 28157 |
FILECMD=$lt_FILECMD |
| 28158 |
|
| 28159 |
# An object symbol dumper. |
| 28160 |
OBJDUMP=$lt_OBJDUMP |
| 28161 |
|
| 28162 |
# Method to check whether dependent libraries are shared objects. |
| 28163 |
deplibs_check_method=$lt_deplibs_check_method |
| 28164 |
|
| 28165 |
# Command to use when deplibs_check_method = "file_magic". |
| 28166 |
file_magic_cmd=$lt_file_magic_cmd |
| 28167 |
|
| 28168 |
# How to find potential files when deplibs_check_method = "file_magic". |
| 28169 |
file_magic_glob=$lt_file_magic_glob |
| 28170 |
|
| 28171 |
# Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
| 28172 |
want_nocaseglob=$lt_want_nocaseglob |
| 28173 |
|
| 28174 |
# DLL creation program. |
| 28175 |
DLLTOOL=$lt_DLLTOOL |
| 28176 |
|
| 28177 |
# Command to associate shared and link libraries. |
| 28178 |
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
| 28179 |
|
| 28180 |
# The archiver. |
| 28181 |
AR=$lt_AR |
| 28182 |
|
| 28183 |
# Flags to create an archive (by configure). |
| 28184 |
lt_ar_flags=$lt_ar_flags |
| 28185 |
|
| 28186 |
# Flags to create an archive. |
| 28187 |
AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"} |
| 28188 |
|
| 28189 |
# How to feed a file listing to the archiver. |
| 28190 |
archiver_list_spec=$lt_archiver_list_spec |
| 28191 |
|
| 28192 |
# A symbol stripping program. |
| 28193 |
STRIP=$lt_STRIP |
| 28194 |
|
| 28195 |
# Commands used to install an old-style archive. |
| 28196 |
RANLIB=$lt_RANLIB |
| 28197 |
old_postinstall_cmds=$lt_old_postinstall_cmds |
| 28198 |
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
| 28199 |
|
| 28200 |
# Whether to use a lock for old archive extraction. |
| 28201 |
lock_old_archive_extraction=$lock_old_archive_extraction |
| 28202 |
|
| 28203 |
# A C compiler. |
| 28204 |
LTCC=$lt_CC |
| 28205 |
|
| 28206 |
# LTCC compiler flags. |
| 28207 |
LTCFLAGS=$lt_CFLAGS |
| 28208 |
|
| 28209 |
# Take the output of nm and produce a listing of raw symbols and C names. |
| 28210 |
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
| 28211 |
|
| 28212 |
# Transform the output of nm in a proper C declaration. |
| 28213 |
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
| 28214 |
|
| 28215 |
# Transform the output of nm into a list of symbols to manually relocate. |
| 28216 |
global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import |
| 28217 |
|
| 28218 |
# Transform the output of nm in a C name address pair. |
| 28219 |
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
| 28220 |
|
| 28221 |
# Transform the output of nm in a C name address pair when lib prefix is needed. |
| 28222 |
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
| 28223 |
|
| 28224 |
# The name lister interface. |
| 28225 |
nm_interface=$lt_lt_cv_nm_interface |
| 28226 |
|
| 28227 |
# Specify filename containing input files for \$NM. |
| 28228 |
nm_file_list_spec=$lt_nm_file_list_spec |
| 28229 |
|
| 28230 |
# The root where to search for dependent libraries,and where our libraries should be installed. |
| 28231 |
lt_sysroot=$lt_sysroot |
| 28232 |
|
| 28233 |
# Command to truncate a binary pipe. |
| 28234 |
lt_truncate_bin=$lt_lt_cv_truncate_bin |
| 28235 |
|
| 28236 |
# The name of the directory that contains temporary libtool files. |
| 28237 |
objdir=$objdir |
| 28238 |
|
| 28239 |
# Used to examine libraries when file_magic_cmd begins with "file". |
| 28240 |
MAGIC_CMD=$MAGIC_CMD |
| 28241 |
|
| 28242 |
# Must we lock files when doing compilation? |
| 28243 |
need_locks=$lt_need_locks |
| 28244 |
|
| 28245 |
# Manifest tool. |
| 28246 |
MANIFEST_TOOL=$lt_MANIFEST_TOOL |
| 28247 |
|
| 28248 |
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
| 28249 |
DSYMUTIL=$lt_DSYMUTIL |
| 28250 |
|
| 28251 |
# Tool to change global to local symbols on Mac OS X. |
| 28252 |
NMEDIT=$lt_NMEDIT |
| 28253 |
|
| 28254 |
# Tool to manipulate fat objects and archives on Mac OS X. |
| 28255 |
LIPO=$lt_LIPO |
| 28256 |
|
| 28257 |
# ldd/readelf like tool for Mach-O binaries on Mac OS X. |
| 28258 |
OTOOL=$lt_OTOOL |
| 28259 |
|
| 28260 |
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. |
| 28261 |
OTOOL64=$lt_OTOOL64 |
| 28262 |
|
| 28263 |
# Old archive suffix (normally "a"). |
| 28264 |
libext=$libext |
| 28265 |
|
| 28266 |
# Shared library suffix (normally ".so"). |
| 28267 |
shrext_cmds=$lt_shrext_cmds |
| 28268 |
|
| 28269 |
# The commands to extract the exported symbol list from a shared archive. |
| 28270 |
extract_expsyms_cmds=$lt_extract_expsyms_cmds |
| 28271 |
|
| 28272 |
# Variables whose values should be saved in libtool wrapper scripts and |
| 28273 |
# restored at link time. |
| 28274 |
variables_saved_for_relink=$lt_variables_saved_for_relink |
| 28275 |
|
| 28276 |
# Do we need the "lib" prefix for modules? |
| 28277 |
need_lib_prefix=$need_lib_prefix |
| 28278 |
|
| 28279 |
# Do we need a version for libraries? |
| 28280 |
need_version=$need_version |
| 28281 |
|
| 28282 |
# Library versioning type. |
| 28283 |
version_type=$version_type |
| 28284 |
|
| 28285 |
# Shared library runtime path variable. |
| 28286 |
runpath_var=$runpath_var |
| 28287 |
|
| 28288 |
# Shared library path variable. |
| 28289 |
shlibpath_var=$shlibpath_var |
| 28290 |
|
| 28291 |
# Is shlibpath searched before the hard-coded library search path? |
| 28292 |
shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
| 28293 |
|
| 28294 |
# Format of library name prefix. |
| 28295 |
libname_spec=$lt_libname_spec |
| 28296 |
|
| 28297 |
# List of archive names. First name is the real one, the rest are links. |
| 28298 |
# The last name is the one that the linker finds with -lNAME |
| 28299 |
library_names_spec=$lt_library_names_spec |
| 28300 |
|
| 28301 |
# The coded name of the library, if different from the real name. |
| 28302 |
soname_spec=$lt_soname_spec |
| 28303 |
|
| 28304 |
# Permission mode override for installation of shared libraries. |
| 28305 |
install_override_mode=$lt_install_override_mode |
| 28306 |
|
| 28307 |
# Command to use after installation of a shared archive. |
| 28308 |
postinstall_cmds=$lt_postinstall_cmds |
| 28309 |
|
| 28310 |
# Command to use after uninstallation of a shared archive. |
| 28311 |
postuninstall_cmds=$lt_postuninstall_cmds |
| 28312 |
|
| 28313 |
# Commands used to finish a libtool library installation in a directory. |
| 28314 |
finish_cmds=$lt_finish_cmds |
| 28315 |
|
| 28316 |
# As "finish_cmds", except a single script fragment to be evaled but |
| 28317 |
# not shown. |
| 28318 |
finish_eval=$lt_finish_eval |
| 28319 |
|
| 28320 |
# Whether we should hardcode library paths into libraries. |
| 28321 |
hardcode_into_libs=$hardcode_into_libs |
| 28322 |
|
| 28323 |
# Compile-time system search path for libraries. |
| 28324 |
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
| 28325 |
|
| 28326 |
# Detected run-time system search path for libraries. |
| 28327 |
sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path |
| 28328 |
|
| 28329 |
# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. |
| 28330 |
configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path |
| 28331 |
|
| 28332 |
# Whether dlopen is supported. |
| 28333 |
dlopen_support=$enable_dlopen |
| 28334 |
|
| 28335 |
# Whether dlopen of programs is supported. |
| 28336 |
dlopen_self=$enable_dlopen_self |
| 28337 |
|
| 28338 |
# Whether dlopen of statically linked programs is supported. |
| 28339 |
dlopen_self_static=$enable_dlopen_self_static |
| 28340 |
|
| 28341 |
# Commands to strip libraries. |
| 28342 |
old_striplib=$lt_old_striplib |
| 28343 |
striplib=$lt_striplib |
| 28344 |
|
| 28345 |
|
| 28346 |
# The linker used to build libraries. |
| 28347 |
LD=$lt_LD |
| 28348 |
|
| 28349 |
# How to create reloadable object files. |
| 28350 |
reload_flag=$lt_reload_flag |
| 28351 |
reload_cmds=$lt_reload_cmds |
| 28352 |
|
| 28353 |
# Commands used to build an old-style archive. |
| 28354 |
old_archive_cmds=$lt_old_archive_cmds |
| 28355 |
|
| 28356 |
# A language specific compiler. |
| 28357 |
CC=$lt_compiler |
| 28358 |
|
| 28359 |
# Is the compiler the GNU compiler? |
| 28360 |
with_gcc=$GCC |
| 28361 |
|
| 28362 |
# Compiler flag to turn off builtin functions. |
| 28363 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
| 28364 |
|
| 28365 |
# Additional compiler flags for building library objects. |
| 28366 |
pic_flag=$lt_lt_prog_compiler_pic |
| 28367 |
|
| 28368 |
# How to pass a linker flag through the compiler. |
| 28369 |
wl=$lt_lt_prog_compiler_wl |
| 28370 |
|
| 28371 |
# Compiler flag to prevent dynamic linking. |
| 28372 |
link_static_flag=$lt_lt_prog_compiler_static |
| 28373 |
|
| 28374 |
# Does compiler simultaneously support -c and -o options? |
| 28375 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
| 28376 |
|
| 28377 |
# Whether or not to add -lc for building shared libraries. |
| 28378 |
build_libtool_need_lc=$archive_cmds_need_lc |
| 28379 |
|
| 28380 |
# Whether or not to disallow shared libs when runtime libs are static. |
| 28381 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes |
| 28382 |
|
| 28383 |
# Compiler flag to allow reflexive dlopens. |
| 28384 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
| 28385 |
|
| 28386 |
# Compiler flag to generate shared objects directly from archives. |
| 28387 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec |
| 28388 |
|
| 28389 |
# Whether the compiler copes with passing no objects directly. |
| 28390 |
compiler_needs_object=$lt_compiler_needs_object |
| 28391 |
|
| 28392 |
# Create an old-style archive from a shared archive. |
| 28393 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
| 28394 |
|
| 28395 |
# Create a temporary old-style archive to link instead of a shared archive. |
| 28396 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
| 28397 |
|
| 28398 |
# Commands used to build a shared archive. |
| 28399 |
archive_cmds=$lt_archive_cmds |
| 28400 |
archive_expsym_cmds=$lt_archive_expsym_cmds |
| 28401 |
|
| 28402 |
# Commands used to build a loadable module if different from building |
| 28403 |
# a shared archive. |
| 28404 |
module_cmds=$lt_module_cmds |
| 28405 |
module_expsym_cmds=$lt_module_expsym_cmds |
| 28406 |
|
| 28407 |
# Whether we are building with GNU ld or not. |
| 28408 |
with_gnu_ld=$lt_with_gnu_ld |
| 28409 |
|
| 28410 |
# Flag that allows shared libraries with undefined symbols to be built. |
| 28411 |
allow_undefined_flag=$lt_allow_undefined_flag |
| 28412 |
|
| 28413 |
# Flag that enforces no undefined symbols. |
| 28414 |
no_undefined_flag=$lt_no_undefined_flag |
| 28415 |
|
| 28416 |
# Flag to hardcode \$libdir into a binary during linking. |
| 28417 |
# This must work even if \$libdir does not exist |
| 28418 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
| 28419 |
|
| 28420 |
# Whether we need a single "-rpath" flag with a separated argument. |
| 28421 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
| 28422 |
|
| 28423 |
# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
| 28424 |
# DIR into the resulting binary. |
| 28425 |
hardcode_direct=$hardcode_direct |
| 28426 |
|
| 28427 |
# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes |
| 28428 |
# DIR into the resulting binary and the resulting library dependency is |
| 28429 |
# "absolute",i.e. impossible to change by setting \$shlibpath_var if the |
| 28430 |
# library is relocated. |
| 28431 |
hardcode_direct_absolute=$hardcode_direct_absolute |
| 28432 |
|
| 28433 |
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
| 28434 |
# into the resulting binary. |
| 28435 |
hardcode_minus_L=$hardcode_minus_L |
| 28436 |
|
| 28437 |
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
| 28438 |
# into the resulting binary. |
| 28439 |
hardcode_shlibpath_var=$hardcode_shlibpath_var |
| 28440 |
|
| 28441 |
# Set to "yes" if building a shared library automatically hardcodes DIR |
| 28442 |
# into the library and all subsequent libraries and executables linked |
| 28443 |
# against it. |
| 28444 |
hardcode_automatic=$hardcode_automatic |
| 28445 |
|
| 28446 |
# Set to yes if linker adds runtime paths of dependent libraries |
| 28447 |
# to runtime path list. |
| 28448 |
inherit_rpath=$inherit_rpath |
| 28449 |
|
| 28450 |
# Whether libtool must link a program against all its dependency libraries. |
| 28451 |
link_all_deplibs=$link_all_deplibs |
| 28452 |
|
| 28453 |
# Set to "yes" if exported symbols are required. |
| 28454 |
always_export_symbols=$always_export_symbols |
| 28455 |
|
| 28456 |
# The commands to list exported symbols. |
| 28457 |
export_symbols_cmds=$lt_export_symbols_cmds |
| 28458 |
|
| 28459 |
# Symbols that should not be listed in the preloaded symbols. |
| 28460 |
exclude_expsyms=$lt_exclude_expsyms |
| 28461 |
|
| 28462 |
# Symbols that must always be exported. |
| 28463 |
include_expsyms=$lt_include_expsyms |
| 28464 |
|
| 28465 |
# Commands necessary for linking programs (against libraries) with templates. |
| 28466 |
prelink_cmds=$lt_prelink_cmds |
| 28467 |
|
| 28468 |
# Commands necessary for finishing linking programs. |
| 28469 |
postlink_cmds=$lt_postlink_cmds |
| 28470 |
|
| 28471 |
# Specify filename containing input files. |
| 28472 |
file_list_spec=$lt_file_list_spec |
| 28473 |
|
| 28474 |
# How to hardcode a shared library path into an executable. |
| 28475 |
hardcode_action=$hardcode_action |
| 28476 |
|
| 28477 |
# ### END LIBTOOL CONFIG |
| 28478 |
|
| 28479 |
_LT_EOF |
| 28480 |
|
| 28481 |
cat <<'_LT_EOF' >> "$cfgfile" |
| 28482 |
|
| 28483 |
# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE |
| 28484 |
|
| 28485 |
# func_munge_path_list VARIABLE PATH |
| 28486 |
# ----------------------------------- |
| 28487 |
# VARIABLE is name of variable containing _space_ separated list of |
| 28488 |
# directories to be munged by the contents of PATH, which is string |
| 28489 |
# having a format: |
| 28490 |
# "DIR[:DIR]:" |
| 28491 |
# string "DIR[ DIR]" will be prepended to VARIABLE |
| 28492 |
# ":DIR[:DIR]" |
| 28493 |
# string "DIR[ DIR]" will be appended to VARIABLE |
| 28494 |
# "DIRP[:DIRP]::[DIRA:]DIRA" |
| 28495 |
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 28496 |
# "DIRA[ DIRA]" will be appended to VARIABLE |
| 28497 |
# "DIR[:DIR]" |
| 28498 |
# VARIABLE will be replaced by "DIR[ DIR]" |
| 28499 |
func_munge_path_list () |
| 28500 |
{ |
| 28501 |
case x$2 in |
| 28502 |
x) |
| 28503 |
;; |
| 28504 |
*:) |
| 28505 |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" |
| 28506 |
;; |
| 28507 |
x:*) |
| 28508 |
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" |
| 28509 |
;; |
| 28510 |
*::*) |
| 28511 |
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" |
| 28512 |
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" |
| 28513 |
;; |
| 28514 |
*) |
| 28515 |
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" |
| 28516 |
;; |
| 28517 |
esac |
| 28518 |
} |
| 28519 |
|
| 28520 |
|
| 28521 |
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 28522 |
func_cc_basename () |
| 28523 |
{ |
| 28524 |
for cc_temp in $*""; do |
| 28525 |
case $cc_temp in |
| 28526 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 28527 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 28528 |
\-*) ;; |
| 28529 |
*) break;; |
| 28530 |
esac |
| 28531 |
done |
| 28532 |
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 28533 |
} |
| 28534 |
|
| 28535 |
|
| 28536 |
# ### END FUNCTIONS SHARED WITH CONFIGURE |
| 28537 |
|
| 28538 |
_LT_EOF |
| 28539 |
|
| 28540 |
case $host_os in |
| 28541 |
aix3*) |
| 28542 |
cat <<\_LT_EOF >> "$cfgfile" |
| 28543 |
# AIX sometimes has problems with the GCC collect2 program. For some |
| 28544 |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
| 28545 |
# vanish in a puff of smoke. |
| 28546 |
if test set != "${COLLECT_NAMES+set}"; then |
| 28547 |
COLLECT_NAMES= |
| 28548 |
export COLLECT_NAMES |
| 28549 |
fi |
| 28550 |
_LT_EOF |
| 28551 |
;; |
| 28552 |
esac |
| 28553 |
|
| 28554 |
|
| 28555 |
|
| 28556 |
ltmain=$ac_aux_dir/ltmain.sh |
| 28557 |
|
| 28558 |
|
| 28559 |
# We use sed instead of cat because bash on DJGPP gets confused if |
| 28560 |
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
| 28561 |
# text mode, it properly converts lines to CR/LF. This bash problem |
| 28562 |
# is reportedly fixed, but why not run on old versions too? |
| 28563 |
$SED '$q' "$ltmain" >> "$cfgfile" \ |
| 28564 |
|| (rm -f "$cfgfile"; exit 1) |
| 28565 |
|
| 28566 |
mv -f "$cfgfile" "$ofile" || |
| 28567 |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
| 28568 |
chmod +x "$ofile" |
| 28569 |
|
| 28570 |
;; |
| 28571 |
|
| 28572 |
esac |
| 28573 |
done # for ac_tag |
| 28574 |
|
| 28575 |
|
| 28576 |
as_fn_exit 0 |
| 28577 |
_ACEOF |
| 28578 |
ac_clean_files=$ac_clean_files_save |
| 28579 |
|
| 28580 |
test $ac_write_fail = 0 || |
| 28581 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 28582 |
|
| 28583 |
|
| 28584 |
# configure is writing to config.log, and then calls config.status. |
| 28585 |
# config.status does its own redirection, appending to config.log. |
| 28586 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
| 28587 |
# by configure, so config.status won't be able to write to it; its |
| 28588 |
# output is simply discarded. So we exec the FD to /dev/null, |
| 28589 |
# effectively closing config.log, so it can be properly (re)opened and |
| 28590 |
# appended to by config.status. When coming back to configure, we |
| 28591 |
# need to make the FD available again. |
| 28592 |
if test "$no_create" != yes; then |
| 28593 |
ac_cs_success=: |
| 28594 |
ac_config_status_args= |
| 28595 |
test "$silent" = yes && |
| 28596 |
ac_config_status_args="$ac_config_status_args --quiet" |
| 28597 |
exec 5>/dev/null |
| 28598 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
| 28599 |
exec 5>>config.log |
| 28600 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 28601 |
# would make configure fail if this is the last instruction. |
| 28602 |
$ac_cs_success || as_fn_exit 1 |
| 28603 |
fi |
| 28604 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 28605 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 28606 |
printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 28607 |
fi |
| 28608 |
|
| 28609 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: |
| 28610 |
Build options: |
| 28611 |
Version $IBUS_VERSION |
| 28612 |
Install prefix $prefix |
| 28613 |
Build shared libs $enable_shared |
| 28614 |
Build static libs $enable_static |
| 28615 |
Build endianness $ENDIAN_MSG |
| 28616 |
CFLAGS $CFLAGS |
| 28617 |
PYTHON $PYTHON |
| 28618 |
PYTHON2 $PYTHON2 |
| 28619 |
Python overrides dir $pyoverridesdir |
| 28620 |
Python GI GnomeDesktop module $enable_pygnome_desktop |
| 28621 |
Enable python2 $enable_python2 |
| 28622 |
Gtk2 immodule dir $GTK2_IM_MODULEDIR |
| 28623 |
Gtk3 immodule dir $GTK3_IM_MODULEDIR |
| 28624 |
Gtk4 immodule dir $GTK4_IM_MODULEDIR |
| 28625 |
Build gtk2 immodule $enable_gtk2 |
| 28626 |
Build gtk3 immodule $enable_gtk3 |
| 28627 |
Build gtk4 immodule $enable_gtk4 |
| 28628 |
Build XIM agent server $enable_xim |
| 28629 |
Build wayland support $enable_wayland |
| 28630 |
Build gdk3 wayland support $enable_gdk3_wayland |
| 28631 |
Build appindicator support $enable_appindicator |
| 28632 |
Build python library $enable_python_library |
| 28633 |
Build memconf modules $enable_memconf |
| 28634 |
Build dconf modules $enable_dconf |
| 28635 |
Build introspection $found_introspection |
| 28636 |
IBus-1.0.gir scannerflags \"$IBUS_GIR_SCANNERFLAGS\" |
| 28637 |
Build vala binding $enable_vala |
| 28638 |
Build document $enable_gtk_doc |
| 28639 |
Build UI $enable_ui |
| 28640 |
Build engine $enable_engine |
| 28641 |
Enable key snooper $enable_key_snooper |
| 28642 |
No snooper regexes \"$NO_SNOOPER_APPS\" |
| 28643 |
Panel icon \"$IBUS_ICON_KEYBOARD\" |
| 28644 |
Enable surrounding-text $enable_surrounding_text |
| 28645 |
Enable libnotify $enable_libnotify |
| 28646 |
Enable Emoji dict $enable_emoji_dict |
| 28647 |
Unicode Emoji directory $UNICODE_EMOJI_DIR |
| 28648 |
CLDR annotation directory $EMOJI_ANNOTATION_DIR |
| 28649 |
Enable Unicode dict $enable_unicode_dict |
| 28650 |
UCD directory $UCD_DIR |
| 28651 |
Socket directory \"$IBUS_SOCKET_DIR\" |
| 28652 |
XFixes client disconnect $have_xfixes |
| 28653 |
Install systemd service $enable_systemd |
| 28654 |
Run test cases $enable_tests |
| 28655 |
Install tests $enable_install_tests |
| 28656 |
" >&5 |
| 28657 |
printf "%s\n" " |
| 28658 |
Build options: |
| 28659 |
Version $IBUS_VERSION |
| 28660 |
Install prefix $prefix |
| 28661 |
Build shared libs $enable_shared |
| 28662 |
Build static libs $enable_static |
| 28663 |
Build endianness $ENDIAN_MSG |
| 28664 |
CFLAGS $CFLAGS |
| 28665 |
PYTHON $PYTHON |
| 28666 |
PYTHON2 $PYTHON2 |
| 28667 |
Python overrides dir $pyoverridesdir |
| 28668 |
Python GI GnomeDesktop module $enable_pygnome_desktop |
| 28669 |
Enable python2 $enable_python2 |
| 28670 |
Gtk2 immodule dir $GTK2_IM_MODULEDIR |
| 28671 |
Gtk3 immodule dir $GTK3_IM_MODULEDIR |
| 28672 |
Gtk4 immodule dir $GTK4_IM_MODULEDIR |
| 28673 |
Build gtk2 immodule $enable_gtk2 |
| 28674 |
Build gtk3 immodule $enable_gtk3 |
| 28675 |
Build gtk4 immodule $enable_gtk4 |
| 28676 |
Build XIM agent server $enable_xim |
| 28677 |
Build wayland support $enable_wayland |
| 28678 |
Build gdk3 wayland support $enable_gdk3_wayland |
| 28679 |
Build appindicator support $enable_appindicator |
| 28680 |
Build python library $enable_python_library |
| 28681 |
Build memconf modules $enable_memconf |
| 28682 |
Build dconf modules $enable_dconf |
| 28683 |
Build introspection $found_introspection |
| 28684 |
IBus-1.0.gir scannerflags \"$IBUS_GIR_SCANNERFLAGS\" |
| 28685 |
Build vala binding $enable_vala |
| 28686 |
Build document $enable_gtk_doc |
| 28687 |
Build UI $enable_ui |
| 28688 |
Build engine $enable_engine |
| 28689 |
Enable key snooper $enable_key_snooper |
| 28690 |
No snooper regexes \"$NO_SNOOPER_APPS\" |
| 28691 |
Panel icon \"$IBUS_ICON_KEYBOARD\" |
| 28692 |
Enable surrounding-text $enable_surrounding_text |
| 28693 |
Enable libnotify $enable_libnotify |
| 28694 |
Enable Emoji dict $enable_emoji_dict |
| 28695 |
Unicode Emoji directory $UNICODE_EMOJI_DIR |
| 28696 |
CLDR annotation directory $EMOJI_ANNOTATION_DIR |
| 28697 |
Enable Unicode dict $enable_unicode_dict |
| 28698 |
UCD directory $UCD_DIR |
| 28699 |
Socket directory \"$IBUS_SOCKET_DIR\" |
| 28700 |
XFixes client disconnect $have_xfixes |
| 28701 |
Install systemd service $enable_systemd |
| 28702 |
Run test cases $enable_tests |
| 28703 |
Install tests $enable_install_tests |
| 28704 |
" >&6; } |
| 28705 |
if test $HAS_OUTPUT_TAIL -eq 1 |
| 28706 |
then : |
| 28707 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $OUTPUT_TAIL" >&5 |
| 28708 |
printf "%s\n" "$as_me: WARNING: $OUTPUT_TAIL" >&2;} |
| 28709 |
fi |
| 28710 |
|