| 1 |
#! /bin/sh |
| 2 |
# Guess values for system-dependent variables and create Makefiles. |
| 3 |
# Generated by GNU Autoconf 2.60 for wxthings 1.0. |
| 4 |
# |
| 5 |
# Report bugs to <[email protected]>. |
| 6 |
# |
| 7 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 8 |
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
| 9 |
# This configure script is free software; the Free Software Foundation |
| 10 |
# gives unlimited permission to copy, distribute and modify it. |
| 11 |
## --------------------- ## |
| 12 |
## M4sh Initialization. ## |
| 13 |
## --------------------- ## |
| 14 |
|
| 15 |
# Be Bourne compatible |
| 16 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 17 |
emulate sh |
| 18 |
NULLCMD=: |
| 19 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 20 |
# is contrary to our usage. Disable this feature. |
| 21 |
alias -g '${1+"$@"}'='"$@"' |
| 22 |
setopt NO_GLOB_SUBST |
| 23 |
else |
| 24 |
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac |
| 25 |
fi |
| 26 |
BIN_SH=xpg4; export BIN_SH # for Tru64 |
| 27 |
DUALCASE=1; export DUALCASE # for MKS sh |
| 28 |
|
| 29 |
|
| 30 |
# PATH needs CR |
| 31 |
# Avoid depending upon Character Ranges. |
| 32 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 33 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 34 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 35 |
as_cr_digits='0123456789' |
| 36 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 37 |
|
| 38 |
# The user is always right. |
| 39 |
if test "${PATH_SEPARATOR+set}" != set; then |
| 40 |
echo "#! /bin/sh" >conf$$.sh |
| 41 |
echo "exit 0" >>conf$$.sh |
| 42 |
chmod +x conf$$.sh |
| 43 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 44 |
PATH_SEPARATOR=';' |
| 45 |
else |
| 46 |
PATH_SEPARATOR=: |
| 47 |
fi |
| 48 |
rm -f conf$$.sh |
| 49 |
fi |
| 50 |
|
| 51 |
# Support unset when possible. |
| 52 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 53 |
as_unset=unset |
| 54 |
else |
| 55 |
as_unset=false |
| 56 |
fi |
| 57 |
|
| 58 |
|
| 59 |
# IFS |
| 60 |
# We need space, tab and new line, in precisely that order. Quoting is |
| 61 |
# there to prevent editors from complaining about space-tab. |
| 62 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 63 |
# splitting by setting IFS to empty value.) |
| 64 |
as_nl=' |
| 65 |
' |
| 66 |
IFS=" "" $as_nl" |
| 67 |
|
| 68 |
# Find who we are. Look in the path if we contain no directory separator. |
| 69 |
case $0 in |
| 70 |
*[\\/]* ) as_myself=$0 ;; |
| 71 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 72 |
for as_dir in $PATH |
| 73 |
do |
| 74 |
IFS=$as_save_IFS |
| 75 |
test -z "$as_dir" && as_dir=. |
| 76 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 77 |
done |
| 78 |
IFS=$as_save_IFS |
| 79 |
|
| 80 |
;; |
| 81 |
esac |
| 82 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 83 |
# in which case we are not to be found in the path. |
| 84 |
if test "x$as_myself" = x; then |
| 85 |
as_myself=$0 |
| 86 |
fi |
| 87 |
if test ! -f "$as_myself"; then |
| 88 |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 89 |
{ (exit 1); exit 1; } |
| 90 |
fi |
| 91 |
|
| 92 |
# Work around bugs in pre-3.0 UWIN ksh. |
| 93 |
for as_var in ENV MAIL MAILPATH |
| 94 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 95 |
done |
| 96 |
PS1='$ ' |
| 97 |
PS2='> ' |
| 98 |
PS4='+ ' |
| 99 |
|
| 100 |
# NLS nuisances. |
| 101 |
for as_var in \ |
| 102 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
| 103 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| 104 |
LC_TELEPHONE LC_TIME |
| 105 |
do |
| 106 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 107 |
eval $as_var=C; export $as_var |
| 108 |
else |
| 109 |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 110 |
fi |
| 111 |
done |
| 112 |
|
| 113 |
# Required to use basename. |
| 114 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 115 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 116 |
as_expr=expr |
| 117 |
else |
| 118 |
as_expr=false |
| 119 |
fi |
| 120 |
|
| 121 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 122 |
as_basename=basename |
| 123 |
else |
| 124 |
as_basename=false |
| 125 |
fi |
| 126 |
|
| 127 |
|
| 128 |
# Name of the executable. |
| 129 |
as_me=`$as_basename -- "$0" || |
| 130 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 131 |
X"$0" : 'X\(//\)$' \| \ |
| 132 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 133 |
echo X/"$0" | |
| 134 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 135 |
s//\1/ |
| 136 |
q |
| 137 |
} |
| 138 |
/^X\/\(\/\/\)$/{ |
| 139 |
s//\1/ |
| 140 |
q |
| 141 |
} |
| 142 |
/^X\/\(\/\).*/{ |
| 143 |
s//\1/ |
| 144 |
q |
| 145 |
} |
| 146 |
s/.*/./; q'` |
| 147 |
|
| 148 |
# CDPATH. |
| 149 |
$as_unset CDPATH |
| 150 |
|
| 151 |
|
| 152 |
if test "x$CONFIG_SHELL" = x; then |
| 153 |
if (eval ":") 2>/dev/null; then |
| 154 |
as_have_required=yes |
| 155 |
else |
| 156 |
as_have_required=no |
| 157 |
fi |
| 158 |
|
| 159 |
if test $as_have_required = yes && (eval ": |
| 160 |
(as_func_return () { |
| 161 |
(exit \$1) |
| 162 |
} |
| 163 |
as_func_success () { |
| 164 |
as_func_return 0 |
| 165 |
} |
| 166 |
as_func_failure () { |
| 167 |
as_func_return 1 |
| 168 |
} |
| 169 |
as_func_ret_success () { |
| 170 |
return 0 |
| 171 |
} |
| 172 |
as_func_ret_failure () { |
| 173 |
return 1 |
| 174 |
} |
| 175 |
|
| 176 |
exitcode=0 |
| 177 |
if as_func_success; then |
| 178 |
: |
| 179 |
else |
| 180 |
exitcode=1 |
| 181 |
echo as_func_success failed. |
| 182 |
fi |
| 183 |
|
| 184 |
if as_func_failure; then |
| 185 |
exitcode=1 |
| 186 |
echo as_func_failure succeeded. |
| 187 |
fi |
| 188 |
|
| 189 |
if as_func_ret_success; then |
| 190 |
: |
| 191 |
else |
| 192 |
exitcode=1 |
| 193 |
echo as_func_ret_success failed. |
| 194 |
fi |
| 195 |
|
| 196 |
if as_func_ret_failure; then |
| 197 |
exitcode=1 |
| 198 |
echo as_func_ret_failure succeeded. |
| 199 |
fi |
| 200 |
|
| 201 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
| 202 |
: |
| 203 |
else |
| 204 |
exitcode=1 |
| 205 |
echo positional parameters were not saved. |
| 206 |
fi |
| 207 |
|
| 208 |
test \$exitcode = 0) || { (exit 1); exit 1; } |
| 209 |
|
| 210 |
( |
| 211 |
as_lineno_1=\$LINENO |
| 212 |
as_lineno_2=\$LINENO |
| 213 |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
| 214 |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
| 215 |
") 2> /dev/null; then |
| 216 |
: |
| 217 |
else |
| 218 |
as_candidate_shells= |
| 219 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 220 |
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 221 |
do |
| 222 |
IFS=$as_save_IFS |
| 223 |
test -z "$as_dir" && as_dir=. |
| 224 |
case $as_dir in |
| 225 |
/*) |
| 226 |
for as_base in sh bash ksh sh5; do |
| 227 |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
| 228 |
done;; |
| 229 |
esac |
| 230 |
done |
| 231 |
IFS=$as_save_IFS |
| 232 |
|
| 233 |
|
| 234 |
for as_shell in $as_candidate_shells $SHELL; do |
| 235 |
# Try only shells that exist, to save several forks. |
| 236 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
| 237 |
{ ("$as_shell") 2> /dev/null <<\_ASEOF |
| 238 |
# Be Bourne compatible |
| 239 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 240 |
emulate sh |
| 241 |
NULLCMD=: |
| 242 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 243 |
# is contrary to our usage. Disable this feature. |
| 244 |
alias -g '${1+"$@"}'='"$@"' |
| 245 |
setopt NO_GLOB_SUBST |
| 246 |
else |
| 247 |
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac |
| 248 |
fi |
| 249 |
BIN_SH=xpg4; export BIN_SH # for Tru64 |
| 250 |
DUALCASE=1; export DUALCASE # for MKS sh |
| 251 |
|
| 252 |
: |
| 253 |
_ASEOF |
| 254 |
}; then |
| 255 |
CONFIG_SHELL=$as_shell |
| 256 |
as_have_required=yes |
| 257 |
if { "$as_shell" 2> /dev/null <<\_ASEOF |
| 258 |
# Be Bourne compatible |
| 259 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 260 |
emulate sh |
| 261 |
NULLCMD=: |
| 262 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 263 |
# is contrary to our usage. Disable this feature. |
| 264 |
alias -g '${1+"$@"}'='"$@"' |
| 265 |
setopt NO_GLOB_SUBST |
| 266 |
else |
| 267 |
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac |
| 268 |
fi |
| 269 |
BIN_SH=xpg4; export BIN_SH # for Tru64 |
| 270 |
DUALCASE=1; export DUALCASE # for MKS sh |
| 271 |
|
| 272 |
: |
| 273 |
(as_func_return () { |
| 274 |
(exit $1) |
| 275 |
} |
| 276 |
as_func_success () { |
| 277 |
as_func_return 0 |
| 278 |
} |
| 279 |
as_func_failure () { |
| 280 |
as_func_return 1 |
| 281 |
} |
| 282 |
as_func_ret_success () { |
| 283 |
return 0 |
| 284 |
} |
| 285 |
as_func_ret_failure () { |
| 286 |
return 1 |
| 287 |
} |
| 288 |
|
| 289 |
exitcode=0 |
| 290 |
if as_func_success; then |
| 291 |
: |
| 292 |
else |
| 293 |
exitcode=1 |
| 294 |
echo as_func_success failed. |
| 295 |
fi |
| 296 |
|
| 297 |
if as_func_failure; then |
| 298 |
exitcode=1 |
| 299 |
echo as_func_failure succeeded. |
| 300 |
fi |
| 301 |
|
| 302 |
if as_func_ret_success; then |
| 303 |
: |
| 304 |
else |
| 305 |
exitcode=1 |
| 306 |
echo as_func_ret_success failed. |
| 307 |
fi |
| 308 |
|
| 309 |
if as_func_ret_failure; then |
| 310 |
exitcode=1 |
| 311 |
echo as_func_ret_failure succeeded. |
| 312 |
fi |
| 313 |
|
| 314 |
if ( set x; as_func_ret_success y && test x = "$1" ); then |
| 315 |
: |
| 316 |
else |
| 317 |
exitcode=1 |
| 318 |
echo positional parameters were not saved. |
| 319 |
fi |
| 320 |
|
| 321 |
test $exitcode = 0) || { (exit 1); exit 1; } |
| 322 |
|
| 323 |
( |
| 324 |
as_lineno_1=$LINENO |
| 325 |
as_lineno_2=$LINENO |
| 326 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 327 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
| 328 |
|
| 329 |
_ASEOF |
| 330 |
}; then |
| 331 |
break |
| 332 |
fi |
| 333 |
|
| 334 |
fi |
| 335 |
|
| 336 |
done |
| 337 |
|
| 338 |
if test "x$CONFIG_SHELL" != x; then |
| 339 |
for as_var in BASH_ENV ENV |
| 340 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 341 |
done |
| 342 |
export CONFIG_SHELL |
| 343 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
| 344 |
fi |
| 345 |
|
| 346 |
|
| 347 |
if test $as_have_required = no; then |
| 348 |
echo This script requires a shell more modern than all the |
| 349 |
echo shells that I found on your system. Please install a |
| 350 |
echo modern shell, or manually run the script under such a |
| 351 |
echo shell if you do have one. |
| 352 |
{ (exit 1); exit 1; } |
| 353 |
fi |
| 354 |
|
| 355 |
|
| 356 |
fi |
| 357 |
|
| 358 |
fi |
| 359 |
|
| 360 |
|
| 361 |
|
| 362 |
(eval "as_func_return () { |
| 363 |
(exit \$1) |
| 364 |
} |
| 365 |
as_func_success () { |
| 366 |
as_func_return 0 |
| 367 |
} |
| 368 |
as_func_failure () { |
| 369 |
as_func_return 1 |
| 370 |
} |
| 371 |
as_func_ret_success () { |
| 372 |
return 0 |
| 373 |
} |
| 374 |
as_func_ret_failure () { |
| 375 |
return 1 |
| 376 |
} |
| 377 |
|
| 378 |
exitcode=0 |
| 379 |
if as_func_success; then |
| 380 |
: |
| 381 |
else |
| 382 |
exitcode=1 |
| 383 |
echo as_func_success failed. |
| 384 |
fi |
| 385 |
|
| 386 |
if as_func_failure; then |
| 387 |
exitcode=1 |
| 388 |
echo as_func_failure succeeded. |
| 389 |
fi |
| 390 |
|
| 391 |
if as_func_ret_success; then |
| 392 |
: |
| 393 |
else |
| 394 |
exitcode=1 |
| 395 |
echo as_func_ret_success failed. |
| 396 |
fi |
| 397 |
|
| 398 |
if as_func_ret_failure; then |
| 399 |
exitcode=1 |
| 400 |
echo as_func_ret_failure succeeded. |
| 401 |
fi |
| 402 |
|
| 403 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
| 404 |
: |
| 405 |
else |
| 406 |
exitcode=1 |
| 407 |
echo positional parameters were not saved. |
| 408 |
fi |
| 409 |
|
| 410 |
test \$exitcode = 0") || { |
| 411 |
echo No shell found that supports shell functions. |
| 412 |
echo Please tell [email protected] about your system, |
| 413 |
echo including any error possibly output before this |
| 414 |
echo message |
| 415 |
} |
| 416 |
|
| 417 |
|
| 418 |
|
| 419 |
as_lineno_1=$LINENO |
| 420 |
as_lineno_2=$LINENO |
| 421 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 422 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
| 423 |
|
| 424 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 425 |
# uniformly replaced by the line number. The first 'sed' inserts a |
| 426 |
# line-number line after each line using $LINENO; the second 'sed' |
| 427 |
# does the real work. The second script uses 'N' to pair each |
| 428 |
# line-number line with the line containing $LINENO, and appends |
| 429 |
# trailing '-' during substitution so that $LINENO is not a special |
| 430 |
# case at line end. |
| 431 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 432 |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
| 433 |
# E. McMahon (1931-1989) for sed's syntax. :-) |
| 434 |
sed -n ' |
| 435 |
p |
| 436 |
/[$]LINENO/= |
| 437 |
' <$as_myself | |
| 438 |
sed ' |
| 439 |
s/[$]LINENO.*/&-/ |
| 440 |
t lineno |
| 441 |
b |
| 442 |
:lineno |
| 443 |
N |
| 444 |
:loop |
| 445 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 446 |
t loop |
| 447 |
s/-\n.*// |
| 448 |
' >$as_me.lineno && |
| 449 |
chmod +x "$as_me.lineno" || |
| 450 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 451 |
{ (exit 1); exit 1; }; } |
| 452 |
|
| 453 |
# Don't try to exec as it changes $[0], causing all sort of problems |
| 454 |
# (the dirname of $[0] is not the place where we might find the |
| 455 |
# original and so on. Autoconf is especially sensitive to this). |
| 456 |
. "./$as_me.lineno" |
| 457 |
# Exit status is that of the last command. |
| 458 |
exit |
| 459 |
} |
| 460 |
|
| 461 |
|
| 462 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 463 |
as_dirname=dirname |
| 464 |
else |
| 465 |
as_dirname=false |
| 466 |
fi |
| 467 |
|
| 468 |
ECHO_C= ECHO_N= ECHO_T= |
| 469 |
case `echo -n x` in |
| 470 |
-n*) |
| 471 |
case `echo 'x\c'` in |
| 472 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 473 |
*) ECHO_C='\c';; |
| 474 |
esac;; |
| 475 |
*) |
| 476 |
ECHO_N='-n';; |
| 477 |
esac |
| 478 |
|
| 479 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 480 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 481 |
as_expr=expr |
| 482 |
else |
| 483 |
as_expr=false |
| 484 |
fi |
| 485 |
|
| 486 |
rm -f conf$$ conf$$.exe conf$$.file |
| 487 |
if test -d conf$$.dir; then |
| 488 |
rm -f conf$$.dir/conf$$.file |
| 489 |
else |
| 490 |
rm -f conf$$.dir |
| 491 |
mkdir conf$$.dir |
| 492 |
fi |
| 493 |
echo >conf$$.file |
| 494 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 495 |
as_ln_s='ln -s' |
| 496 |
# ... but there are two gotchas: |
| 497 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 498 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 499 |
# In both cases, we have to default to `cp -p'. |
| 500 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 501 |
as_ln_s='cp -p' |
| 502 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 503 |
as_ln_s=ln |
| 504 |
else |
| 505 |
as_ln_s='cp -p' |
| 506 |
fi |
| 507 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 508 |
rmdir conf$$.dir 2>/dev/null |
| 509 |
|
| 510 |
if mkdir -p . 2>/dev/null; then |
| 511 |
as_mkdir_p=: |
| 512 |
else |
| 513 |
test -d ./-p && rmdir ./-p |
| 514 |
as_mkdir_p=false |
| 515 |
fi |
| 516 |
|
| 517 |
# Find out whether ``test -x'' works. Don't use a zero-byte file, as |
| 518 |
# systems may use methods other than mode bits to determine executability. |
| 519 |
cat >conf$$.file <<_ASEOF |
| 520 |
#! /bin/sh |
| 521 |
exit 0 |
| 522 |
_ASEOF |
| 523 |
chmod +x conf$$.file |
| 524 |
if test -x conf$$.file >/dev/null 2>&1; then |
| 525 |
as_executable_p="test -x" |
| 526 |
else |
| 527 |
as_executable_p=: |
| 528 |
fi |
| 529 |
rm -f conf$$.file |
| 530 |
|
| 531 |
# Sed expression to map a string onto a valid CPP name. |
| 532 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 533 |
|
| 534 |
# Sed expression to map a string onto a valid variable name. |
| 535 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 536 |
|
| 537 |
|
| 538 |
|
| 539 |
exec 7<&0 </dev/null 6>&1 |
| 540 |
|
| 541 |
# Name of the host. |
| 542 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| 543 |
# so uname gets run too. |
| 544 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 545 |
|
| 546 |
# |
| 547 |
# Initializations. |
| 548 |
# |
| 549 |
ac_default_prefix=/usr/local |
| 550 |
ac_clean_files= |
| 551 |
ac_config_libobj_dir=. |
| 552 |
LIBOBJS= |
| 553 |
cross_compiling=no |
| 554 |
subdirs= |
| 555 |
MFLAGS= |
| 556 |
MAKEFLAGS= |
| 557 |
SHELL=${CONFIG_SHELL-/bin/sh} |
| 558 |
|
| 559 |
# Identity of this package. |
| 560 |
PACKAGE_NAME='wxthings' |
| 561 |
PACKAGE_TARNAME='wxthings' |
| 562 |
PACKAGE_VERSION='1.0' |
| 563 |
PACKAGE_STRING='wxthings 1.0' |
| 564 |
PACKAGE_BUGREPORT='[email protected]' |
| 565 |
|
| 566 |
ac_subst_vars='SHELL |
| 567 |
PATH_SEPARATOR |
| 568 |
PACKAGE_NAME |
| 569 |
PACKAGE_TARNAME |
| 570 |
PACKAGE_VERSION |
| 571 |
PACKAGE_STRING |
| 572 |
PACKAGE_BUGREPORT |
| 573 |
exec_prefix |
| 574 |
prefix |
| 575 |
program_transform_name |
| 576 |
bindir |
| 577 |
sbindir |
| 578 |
libexecdir |
| 579 |
datarootdir |
| 580 |
datadir |
| 581 |
sysconfdir |
| 582 |
sharedstatedir |
| 583 |
localstatedir |
| 584 |
includedir |
| 585 |
oldincludedir |
| 586 |
docdir |
| 587 |
infodir |
| 588 |
htmldir |
| 589 |
dvidir |
| 590 |
pdfdir |
| 591 |
psdir |
| 592 |
libdir |
| 593 |
localedir |
| 594 |
mandir |
| 595 |
DEFS |
| 596 |
ECHO_C |
| 597 |
ECHO_N |
| 598 |
ECHO_T |
| 599 |
LIBS |
| 600 |
build_alias |
| 601 |
host_alias |
| 602 |
target_alias |
| 603 |
build |
| 604 |
build_cpu |
| 605 |
build_vendor |
| 606 |
build_os |
| 607 |
host |
| 608 |
host_cpu |
| 609 |
host_vendor |
| 610 |
host_os |
| 611 |
target |
| 612 |
target_cpu |
| 613 |
target_vendor |
| 614 |
target_os |
| 615 |
WX_CONFIG_PATH |
| 616 |
WX_CPPFLAGS |
| 617 |
WX_CFLAGS |
| 618 |
WX_CXXFLAGS |
| 619 |
WX_CFLAGS_ONLY |
| 620 |
WX_CXXFLAGS_ONLY |
| 621 |
WX_LIBS |
| 622 |
WX_LIBS_STATIC |
| 623 |
WX_VERSION_FULL |
| 624 |
WX_RESCOMP |
| 625 |
WX_VERSION_MAJOR |
| 626 |
WX_VERSION_MINOR |
| 627 |
WX_UNICODE |
| 628 |
WX_DEBUG |
| 629 |
WX_SHARED |
| 630 |
WX_PORT |
| 631 |
RANLIB |
| 632 |
INSTALL_PROGRAM |
| 633 |
INSTALL_SCRIPT |
| 634 |
INSTALL_DATA |
| 635 |
LN_S |
| 636 |
SET_MAKE |
| 637 |
MAKE_SET |
| 638 |
AR |
| 639 |
AROPTIONS |
| 640 |
STRIP |
| 641 |
NM |
| 642 |
INSTALL_DIR |
| 643 |
LDFLAGS_GUI |
| 644 |
IF_GNU_MAKE |
| 645 |
PLATFORM_UNIX |
| 646 |
PLATFORM_WIN32 |
| 647 |
PLATFORM_MSDOS |
| 648 |
PLATFORM_MAC |
| 649 |
PLATFORM_MACOS |
| 650 |
PLATFORM_MACOSX |
| 651 |
PLATFORM_OS2 |
| 652 |
PLATFORM_BEOS |
| 653 |
SO_SUFFIX |
| 654 |
SO_SUFFIX_MODULE |
| 655 |
DLLIMP_SUFFIX |
| 656 |
EXEEXT |
| 657 |
LIBPREFIX |
| 658 |
LIBEXT |
| 659 |
DLLPREFIX |
| 660 |
DLLPREFIX_MODULE |
| 661 |
dlldir |
| 662 |
CXX |
| 663 |
CXXFLAGS |
| 664 |
LDFLAGS |
| 665 |
CPPFLAGS |
| 666 |
ac_ct_CXX |
| 667 |
OBJEXT |
| 668 |
AIX_CXX_LD |
| 669 |
SHARED_LD_CC |
| 670 |
SHARED_LD_CXX |
| 671 |
SHARED_LD_MODULE_CC |
| 672 |
SHARED_LD_MODULE_CXX |
| 673 |
PIC_FLAG |
| 674 |
WINDOWS_IMPLIB |
| 675 |
USE_SOVERSION |
| 676 |
USE_SOVERLINUX |
| 677 |
USE_SOVERSOLARIS |
| 678 |
USE_SOVERCYGWIN |
| 679 |
USE_MACVERSION |
| 680 |
USE_SOSYMLINKS |
| 681 |
SONAME_FLAG |
| 682 |
DEPS_TRACKING |
| 683 |
BK_DEPS |
| 684 |
WINDRES |
| 685 |
REZ |
| 686 |
SETFILE |
| 687 |
COND_DEPS_TRACKING_0 |
| 688 |
COND_DEPS_TRACKING_1 |
| 689 |
COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 |
| 690 |
COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 |
| 691 |
COND_PLATFORM_MACOSX_1 |
| 692 |
COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 |
| 693 |
COND_PLATFORM_MAC_1 |
| 694 |
COND_PLATFORM_OS2_1 |
| 695 |
COND_PLATFORM_WIN32_1 |
| 696 |
COND_USE_SOSYMLINKS_1 |
| 697 |
COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 |
| 698 |
COND_USE_SOVERLINUX_1 |
| 699 |
COND_USE_SOVERSION_0 |
| 700 |
COND_USE_SOVERSOLARIS_1 |
| 701 |
COND_WINDOWS_IMPLIB_1 |
| 702 |
COND_WX_DEBUG_0 |
| 703 |
COND_WX_DEBUG_0_WX_UNICODE_1 |
| 704 |
COND_WX_DEBUG_1 |
| 705 |
COND_WX_DEBUG_1_WX_UNICODE_0 |
| 706 |
COND_WX_DEBUG_1_WX_UNICODE_1 |
| 707 |
COND_WX_SHARED_0 |
| 708 |
COND_WX_SHARED_1 |
| 709 |
LIBOBJS |
| 710 |
LTLIBOBJS' |
| 711 |
ac_subst_files='' |
| 712 |
ac_precious_vars='build_alias |
| 713 |
host_alias |
| 714 |
target_alias |
| 715 |
CXX |
| 716 |
CXXFLAGS |
| 717 |
LDFLAGS |
| 718 |
CPPFLAGS |
| 719 |
CCC' |
| 720 |
|
| 721 |
|
| 722 |
# Initialize some variables set by options. |
| 723 |
ac_init_help= |
| 724 |
ac_init_version=false |
| 725 |
# The variables have the same names as the options, with |
| 726 |
# dashes changed to underlines. |
| 727 |
cache_file=/dev/null |
| 728 |
exec_prefix=NONE |
| 729 |
no_create= |
| 730 |
no_recursion= |
| 731 |
prefix=NONE |
| 732 |
program_prefix=NONE |
| 733 |
program_suffix=NONE |
| 734 |
program_transform_name=s,x,x, |
| 735 |
silent= |
| 736 |
site= |
| 737 |
srcdir= |
| 738 |
verbose= |
| 739 |
x_includes=NONE |
| 740 |
x_libraries=NONE |
| 741 |
|
| 742 |
# Installation directory options. |
| 743 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
| 744 |
# and all the variables that are supposed to be based on exec_prefix |
| 745 |
# by default will actually change. |
| 746 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
| 747 |
# (The list follows the same order as the GNU Coding Standards.) |
| 748 |
bindir='${exec_prefix}/bin' |
| 749 |
sbindir='${exec_prefix}/sbin' |
| 750 |
libexecdir='${exec_prefix}/libexec' |
| 751 |
datarootdir='${prefix}/share' |
| 752 |
datadir='${datarootdir}' |
| 753 |
sysconfdir='${prefix}/etc' |
| 754 |
sharedstatedir='${prefix}/com' |
| 755 |
localstatedir='${prefix}/var' |
| 756 |
includedir='${prefix}/include' |
| 757 |
oldincludedir='/usr/include' |
| 758 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 759 |
infodir='${datarootdir}/info' |
| 760 |
htmldir='${docdir}' |
| 761 |
dvidir='${docdir}' |
| 762 |
pdfdir='${docdir}' |
| 763 |
psdir='${docdir}' |
| 764 |
libdir='${exec_prefix}/lib' |
| 765 |
localedir='${datarootdir}/locale' |
| 766 |
mandir='${datarootdir}/man' |
| 767 |
|
| 768 |
ac_prev= |
| 769 |
ac_dashdash= |
| 770 |
for ac_option |
| 771 |
do |
| 772 |
# If the previous option needs an argument, assign it. |
| 773 |
if test -n "$ac_prev"; then |
| 774 |
eval $ac_prev=\$ac_option |
| 775 |
ac_prev= |
| 776 |
continue |
| 777 |
fi |
| 778 |
|
| 779 |
case $ac_option in |
| 780 |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 781 |
*) ac_optarg=yes ;; |
| 782 |
esac |
| 783 |
|
| 784 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
| 785 |
|
| 786 |
case $ac_dashdash$ac_option in |
| 787 |
--) |
| 788 |
ac_dashdash=yes ;; |
| 789 |
|
| 790 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 791 |
ac_prev=bindir ;; |
| 792 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| 793 |
bindir=$ac_optarg ;; |
| 794 |
|
| 795 |
-build | --build | --buil | --bui | --bu) |
| 796 |
ac_prev=build_alias ;; |
| 797 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 798 |
build_alias=$ac_optarg ;; |
| 799 |
|
| 800 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 801 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 802 |
ac_prev=cache_file ;; |
| 803 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 804 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| 805 |
cache_file=$ac_optarg ;; |
| 806 |
|
| 807 |
--config-cache | -C) |
| 808 |
cache_file=config.cache ;; |
| 809 |
|
| 810 |
-datadir | --datadir | --datadi | --datad) |
| 811 |
ac_prev=datadir ;; |
| 812 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
| 813 |
datadir=$ac_optarg ;; |
| 814 |
|
| 815 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
| 816 |
| --dataroo | --dataro | --datar) |
| 817 |
ac_prev=datarootdir ;; |
| 818 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
| 819 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
| 820 |
datarootdir=$ac_optarg ;; |
| 821 |
|
| 822 |
-disable-* | --disable-*) |
| 823 |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 824 |
# Reject names that are not valid shell variable names. |
| 825 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 826 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 827 |
{ (exit 1); exit 1; }; } |
| 828 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| 829 |
eval enable_$ac_feature=no ;; |
| 830 |
|
| 831 |
-docdir | --docdir | --docdi | --doc | --do) |
| 832 |
ac_prev=docdir ;; |
| 833 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
| 834 |
docdir=$ac_optarg ;; |
| 835 |
|
| 836 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
| 837 |
ac_prev=dvidir ;; |
| 838 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
| 839 |
dvidir=$ac_optarg ;; |
| 840 |
|
| 841 |
-enable-* | --enable-*) |
| 842 |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 843 |
# Reject names that are not valid shell variable names. |
| 844 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 845 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 846 |
{ (exit 1); exit 1; }; } |
| 847 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| 848 |
eval enable_$ac_feature=\$ac_optarg ;; |
| 849 |
|
| 850 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 851 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 852 |
| --exec | --exe | --ex) |
| 853 |
ac_prev=exec_prefix ;; |
| 854 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| 855 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| 856 |
| --exec=* | --exe=* | --ex=*) |
| 857 |
exec_prefix=$ac_optarg ;; |
| 858 |
|
| 859 |
-gas | --gas | --ga | --g) |
| 860 |
# Obsolete; use --with-gas. |
| 861 |
with_gas=yes ;; |
| 862 |
|
| 863 |
-help | --help | --hel | --he | -h) |
| 864 |
ac_init_help=long ;; |
| 865 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
| 866 |
ac_init_help=recursive ;; |
| 867 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
| 868 |
ac_init_help=short ;; |
| 869 |
|
| 870 |
-host | --host | --hos | --ho) |
| 871 |
ac_prev=host_alias ;; |
| 872 |
-host=* | --host=* | --hos=* | --ho=*) |
| 873 |
host_alias=$ac_optarg ;; |
| 874 |
|
| 875 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
| 876 |
ac_prev=htmldir ;; |
| 877 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
| 878 |
| --ht=*) |
| 879 |
htmldir=$ac_optarg ;; |
| 880 |
|
| 881 |
-includedir | --includedir | --includedi | --included | --include \ |
| 882 |
| --includ | --inclu | --incl | --inc) |
| 883 |
ac_prev=includedir ;; |
| 884 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| 885 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
| 886 |
includedir=$ac_optarg ;; |
| 887 |
|
| 888 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
| 889 |
ac_prev=infodir ;; |
| 890 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| 891 |
infodir=$ac_optarg ;; |
| 892 |
|
| 893 |
-libdir | --libdir | --libdi | --libd) |
| 894 |
ac_prev=libdir ;; |
| 895 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
| 896 |
libdir=$ac_optarg ;; |
| 897 |
|
| 898 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| 899 |
| --libexe | --libex | --libe) |
| 900 |
ac_prev=libexecdir ;; |
| 901 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| 902 |
| --libexe=* | --libex=* | --libe=*) |
| 903 |
libexecdir=$ac_optarg ;; |
| 904 |
|
| 905 |
-localedir | --localedir | --localedi | --localed | --locale) |
| 906 |
ac_prev=localedir ;; |
| 907 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
| 908 |
localedir=$ac_optarg ;; |
| 909 |
|
| 910 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 911 |
| --localstate | --localstat | --localsta | --localst | --locals) |
| 912 |
ac_prev=localstatedir ;; |
| 913 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 914 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| 915 |
localstatedir=$ac_optarg ;; |
| 916 |
|
| 917 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 918 |
ac_prev=mandir ;; |
| 919 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| 920 |
mandir=$ac_optarg ;; |
| 921 |
|
| 922 |
-nfp | --nfp | --nf) |
| 923 |
# Obsolete; use --without-fp. |
| 924 |
with_fp=no ;; |
| 925 |
|
| 926 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 927 |
| --no-cr | --no-c | -n) |
| 928 |
no_create=yes ;; |
| 929 |
|
| 930 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 931 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| 932 |
no_recursion=yes ;; |
| 933 |
|
| 934 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
| 935 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
| 936 |
| --oldin | --oldi | --old | --ol | --o) |
| 937 |
ac_prev=oldincludedir ;; |
| 938 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| 939 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| 940 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| 941 |
oldincludedir=$ac_optarg ;; |
| 942 |
|
| 943 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 944 |
ac_prev=prefix ;; |
| 945 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 946 |
prefix=$ac_optarg ;; |
| 947 |
|
| 948 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| 949 |
| --program-pre | --program-pr | --program-p) |
| 950 |
ac_prev=program_prefix ;; |
| 951 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| 952 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| 953 |
program_prefix=$ac_optarg ;; |
| 954 |
|
| 955 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| 956 |
| --program-suf | --program-su | --program-s) |
| 957 |
ac_prev=program_suffix ;; |
| 958 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| 959 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| 960 |
program_suffix=$ac_optarg ;; |
| 961 |
|
| 962 |
-program-transform-name | --program-transform-name \ |
| 963 |
| --program-transform-nam | --program-transform-na \ |
| 964 |
| --program-transform-n | --program-transform- \ |
| 965 |
| --program-transform | --program-transfor \ |
| 966 |
| --program-transfo | --program-transf \ |
| 967 |
| --program-trans | --program-tran \ |
| 968 |
| --progr-tra | --program-tr | --program-t) |
| 969 |
ac_prev=program_transform_name ;; |
| 970 |
-program-transform-name=* | --program-transform-name=* \ |
| 971 |
| --program-transform-nam=* | --program-transform-na=* \ |
| 972 |
| --program-transform-n=* | --program-transform-=* \ |
| 973 |
| --program-transform=* | --program-transfor=* \ |
| 974 |
| --program-transfo=* | --program-transf=* \ |
| 975 |
| --program-trans=* | --program-tran=* \ |
| 976 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
| 977 |
program_transform_name=$ac_optarg ;; |
| 978 |
|
| 979 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
| 980 |
ac_prev=pdfdir ;; |
| 981 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
| 982 |
pdfdir=$ac_optarg ;; |
| 983 |
|
| 984 |
-psdir | --psdir | --psdi | --psd | --ps) |
| 985 |
ac_prev=psdir ;; |
| 986 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
| 987 |
psdir=$ac_optarg ;; |
| 988 |
|
| 989 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 990 |
| -silent | --silent | --silen | --sile | --sil) |
| 991 |
silent=yes ;; |
| 992 |
|
| 993 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 994 |
ac_prev=sbindir ;; |
| 995 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 996 |
| --sbi=* | --sb=*) |
| 997 |
sbindir=$ac_optarg ;; |
| 998 |
|
| 999 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| 1000 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| 1001 |
| --sharedst | --shareds | --shared | --share | --shar \ |
| 1002 |
| --sha | --sh) |
| 1003 |
ac_prev=sharedstatedir ;; |
| 1004 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
| 1005 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| 1006 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| 1007 |
| --sha=* | --sh=*) |
| 1008 |
sharedstatedir=$ac_optarg ;; |
| 1009 |
|
| 1010 |
-site | --site | --sit) |
| 1011 |
ac_prev=site ;; |
| 1012 |
-site=* | --site=* | --sit=*) |
| 1013 |
site=$ac_optarg ;; |
| 1014 |
|
| 1015 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 1016 |
ac_prev=srcdir ;; |
| 1017 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 1018 |
srcdir=$ac_optarg ;; |
| 1019 |
|
| 1020 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| 1021 |
| --syscon | --sysco | --sysc | --sys | --sy) |
| 1022 |
ac_prev=sysconfdir ;; |
| 1023 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| 1024 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| 1025 |
sysconfdir=$ac_optarg ;; |
| 1026 |
|
| 1027 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
| 1028 |
ac_prev=target_alias ;; |
| 1029 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 1030 |
target_alias=$ac_optarg ;; |
| 1031 |
|
| 1032 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 1033 |
verbose=yes ;; |
| 1034 |
|
| 1035 |
-version | --version | --versio | --versi | --vers | -V) |
| 1036 |
ac_init_version=: ;; |
| 1037 |
|
| 1038 |
-with-* | --with-*) |
| 1039 |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1040 |
# Reject names that are not valid shell variable names. |
| 1041 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 1042 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 1043 |
{ (exit 1); exit 1; }; } |
| 1044 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
| 1045 |
eval with_$ac_package=\$ac_optarg ;; |
| 1046 |
|
| 1047 |
-without-* | --without-*) |
| 1048 |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1049 |
# Reject names that are not valid shell variable names. |
| 1050 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 1051 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 1052 |
{ (exit 1); exit 1; }; } |
| 1053 |
ac_package=`echo $ac_package | sed 's/-/_/g'` |
| 1054 |
eval with_$ac_package=no ;; |
| 1055 |
|
| 1056 |
--x) |
| 1057 |
# Obsolete; use --with-x. |
| 1058 |
with_x=yes ;; |
| 1059 |
|
| 1060 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
| 1061 |
| --x-incl | --x-inc | --x-in | --x-i) |
| 1062 |
ac_prev=x_includes ;; |
| 1063 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| 1064 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| 1065 |
x_includes=$ac_optarg ;; |
| 1066 |
|
| 1067 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| 1068 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| 1069 |
ac_prev=x_libraries ;; |
| 1070 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| 1071 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1072 |
x_libraries=$ac_optarg ;; |
| 1073 |
|
| 1074 |
-*) { echo "$as_me: error: unrecognized option: $ac_option |
| 1075 |
Try \`$0 --help' for more information." >&2 |
| 1076 |
{ (exit 1); exit 1; }; } |
| 1077 |
;; |
| 1078 |
|
| 1079 |
*=*) |
| 1080 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
| 1081 |
# Reject names that are not valid shell variable names. |
| 1082 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
| 1083 |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
| 1084 |
{ (exit 1); exit 1; }; } |
| 1085 |
eval $ac_envvar=\$ac_optarg |
| 1086 |
export $ac_envvar ;; |
| 1087 |
|
| 1088 |
*) |
| 1089 |
# FIXME: should be removed in autoconf 3.0. |
| 1090 |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1091 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1092 |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1093 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
| 1094 |
;; |
| 1095 |
|
| 1096 |
esac |
| 1097 |
done |
| 1098 |
|
| 1099 |
if test -n "$ac_prev"; then |
| 1100 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1101 |
{ echo "$as_me: error: missing argument to $ac_option" >&2 |
| 1102 |
{ (exit 1); exit 1; }; } |
| 1103 |
fi |
| 1104 |
|
| 1105 |
# Be sure to have absolute directory names. |
| 1106 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 1107 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 1108 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 1109 |
libdir localedir mandir |
| 1110 |
do |
| 1111 |
eval ac_val=\$$ac_var |
| 1112 |
case $ac_val in |
| 1113 |
[\\/$]* | ?:[\\/]* ) continue;; |
| 1114 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1115 |
esac |
| 1116 |
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 1117 |
{ (exit 1); exit 1; }; } |
| 1118 |
done |
| 1119 |
|
| 1120 |
# There might be people who depend on the old broken behavior: `$host' |
| 1121 |
# used to hold the argument of --host etc. |
| 1122 |
# FIXME: To remove some day. |
| 1123 |
build=$build_alias |
| 1124 |
host=$host_alias |
| 1125 |
target=$target_alias |
| 1126 |
|
| 1127 |
# FIXME: To remove some day. |
| 1128 |
if test "x$host_alias" != x; then |
| 1129 |
if test "x$build_alias" = x; then |
| 1130 |
cross_compiling=maybe |
| 1131 |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
| 1132 |
If a cross compiler is detected then cross compile mode will be used." >&2 |
| 1133 |
elif test "x$build_alias" != "x$host_alias"; then |
| 1134 |
cross_compiling=yes |
| 1135 |
fi |
| 1136 |
fi |
| 1137 |
|
| 1138 |
ac_tool_prefix= |
| 1139 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 1140 |
|
| 1141 |
test "$silent" = yes && exec 6>/dev/null |
| 1142 |
|
| 1143 |
|
| 1144 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1145 |
ac_ls_di=`ls -di .` && |
| 1146 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1147 |
{ echo "$as_me: error: Working directory cannot be determined" >&2 |
| 1148 |
{ (exit 1); exit 1; }; } |
| 1149 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1150 |
{ echo "$as_me: error: pwd does not report name of working directory" >&2 |
| 1151 |
{ (exit 1); exit 1; }; } |
| 1152 |
|
| 1153 |
|
| 1154 |
# Find the source files, if location was not specified. |
| 1155 |
if test -z "$srcdir"; then |
| 1156 |
ac_srcdir_defaulted=yes |
| 1157 |
# Try the directory containing this script, then the parent directory. |
| 1158 |
ac_confdir=`$as_dirname -- "$0" || |
| 1159 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1160 |
X"$0" : 'X\(//\)[^/]' \| \ |
| 1161 |
X"$0" : 'X\(//\)$' \| \ |
| 1162 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 1163 |
echo X"$0" | |
| 1164 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1165 |
s//\1/ |
| 1166 |
q |
| 1167 |
} |
| 1168 |
/^X\(\/\/\)[^/].*/{ |
| 1169 |
s//\1/ |
| 1170 |
q |
| 1171 |
} |
| 1172 |
/^X\(\/\/\)$/{ |
| 1173 |
s//\1/ |
| 1174 |
q |
| 1175 |
} |
| 1176 |
/^X\(\/\).*/{ |
| 1177 |
s//\1/ |
| 1178 |
q |
| 1179 |
} |
| 1180 |
s/.*/./; q'` |
| 1181 |
srcdir=$ac_confdir |
| 1182 |
if test ! -r "$srcdir/$ac_unique_file"; then |
| 1183 |
srcdir=.. |
| 1184 |
fi |
| 1185 |
else |
| 1186 |
ac_srcdir_defaulted=no |
| 1187 |
fi |
| 1188 |
if test ! -r "$srcdir/$ac_unique_file"; then |
| 1189 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1190 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| 1191 |
{ (exit 1); exit 1; }; } |
| 1192 |
fi |
| 1193 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1194 |
ac_abs_confdir=`( |
| 1195 |
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
| 1196 |
{ (exit 1); exit 1; }; } |
| 1197 |
pwd)` |
| 1198 |
# When building in place, set srcdir=. |
| 1199 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1200 |
srcdir=. |
| 1201 |
fi |
| 1202 |
# Remove unnecessary trailing slashes from srcdir. |
| 1203 |
# Double slashes in file names in object file debugging info |
| 1204 |
# mess up M-x gdb in Emacs. |
| 1205 |
case $srcdir in |
| 1206 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 1207 |
esac |
| 1208 |
for ac_var in $ac_precious_vars; do |
| 1209 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| 1210 |
eval ac_env_${ac_var}_value=\$${ac_var} |
| 1211 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| 1212 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| 1213 |
done |
| 1214 |
|
| 1215 |
# |
| 1216 |
# Report the --help message. |
| 1217 |
# |
| 1218 |
if test "$ac_init_help" = "long"; then |
| 1219 |
# Omit some internal or obsolete options to make the list less imposing. |
| 1220 |
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1221 |
cat <<_ACEOF |
| 1222 |
\`configure' configures wxthings 1.0 to adapt to many kinds of systems. |
| 1223 |
|
| 1224 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1225 |
|
| 1226 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
| 1227 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
| 1228 |
|
| 1229 |
Defaults for the options are specified in brackets. |
| 1230 |
|
| 1231 |
Configuration: |
| 1232 |
-h, --help display this help and exit |
| 1233 |
--help=short display options specific to this package |
| 1234 |
--help=recursive display the short help of all the included packages |
| 1235 |
-V, --version display version information and exit |
| 1236 |
-q, --quiet, --silent do not print \`checking...' messages |
| 1237 |
--cache-file=FILE cache test results in FILE [disabled] |
| 1238 |
-C, --config-cache alias for \`--cache-file=config.cache' |
| 1239 |
-n, --no-create do not create output files |
| 1240 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| 1241 |
|
| 1242 |
Installation directories: |
| 1243 |
--prefix=PREFIX install architecture-independent files in PREFIX |
| 1244 |
[$ac_default_prefix] |
| 1245 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 1246 |
[PREFIX] |
| 1247 |
|
| 1248 |
By default, \`make install' will install all the files in |
| 1249 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| 1250 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
| 1251 |
for instance \`--prefix=\$HOME'. |
| 1252 |
|
| 1253 |
For better control, use the options below. |
| 1254 |
|
| 1255 |
Fine tuning of the installation directories: |
| 1256 |
--bindir=DIR user executables [EPREFIX/bin] |
| 1257 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
| 1258 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
| 1259 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 1260 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 1261 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 1262 |
--libdir=DIR object code libraries [EPREFIX/lib] |
| 1263 |
--includedir=DIR C header files [PREFIX/include] |
| 1264 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 1265 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| 1266 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
| 1267 |
--infodir=DIR info documentation [DATAROOTDIR/info] |
| 1268 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
| 1269 |
--mandir=DIR man documentation [DATAROOTDIR/man] |
| 1270 |
--docdir=DIR documentation root [DATAROOTDIR/doc/wxthings] |
| 1271 |
--htmldir=DIR html documentation [DOCDIR] |
| 1272 |
--dvidir=DIR dvi documentation [DOCDIR] |
| 1273 |
--pdfdir=DIR pdf documentation [DOCDIR] |
| 1274 |
--psdir=DIR ps documentation [DOCDIR] |
| 1275 |
_ACEOF |
| 1276 |
|
| 1277 |
cat <<\_ACEOF |
| 1278 |
|
| 1279 |
System types: |
| 1280 |
--build=BUILD configure for building on BUILD [guessed] |
| 1281 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
| 1282 |
--target=TARGET configure for building compilers for TARGET [HOST] |
| 1283 |
_ACEOF |
| 1284 |
fi |
| 1285 |
|
| 1286 |
if test -n "$ac_init_help"; then |
| 1287 |
case $ac_init_help in |
| 1288 |
short | recursive ) echo "Configuration of wxthings 1.0:";; |
| 1289 |
esac |
| 1290 |
cat <<\_ACEOF |
| 1291 |
|
| 1292 |
Optional Features: |
| 1293 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1294 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1295 |
--enable-debug Build in debug mode (default is auto) |
| 1296 |
--enable-unicode Build in Unicode mode (default is auto) |
| 1297 |
--enable-shared Build as shared library (default is auto) |
| 1298 |
--enable-omf use OMF object format (OS/2) |
| 1299 |
--disable-dependency-tracking |
| 1300 |
don't use dependency tracking even if the compiler |
| 1301 |
can |
| 1302 |
|
| 1303 |
Optional Packages: |
| 1304 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1305 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 1306 |
--with-wxdir=PATH Use uninstalled version of wxWidgets in PATH |
| 1307 |
--with-wx-config=CONFIG wx-config script to use (optional) |
| 1308 |
--with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional) |
| 1309 |
--with-wx-exec-prefix=PREFIX |
| 1310 |
Exec prefix where wxWidgets is installed (optional) |
| 1311 |
--with-toolkit Build against a specific wxWidgets toolkit (default |
| 1312 |
is auto) |
| 1313 |
--with-wxshared Force building against a shared build of wxWidgets, |
| 1314 |
even if --disable-shared is given (default is auto) |
| 1315 |
--with-wxversion Build against a specific version of wxWidgets |
| 1316 |
(default is auto) |
| 1317 |
|
| 1318 |
Some influential environment variables: |
| 1319 |
CXX C++ compiler command |
| 1320 |
CXXFLAGS C++ compiler flags |
| 1321 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1322 |
nonstandard directory <lib dir> |
| 1323 |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
| 1324 |
you have headers in a nonstandard directory <include dir> |
| 1325 |
|
| 1326 |
Use these variables to override the choices made by `configure' or to help |
| 1327 |
it to find libraries and programs with nonstandard names/locations. |
| 1328 |
|
| 1329 |
Report bugs to <[email protected]>. |
| 1330 |
_ACEOF |
| 1331 |
ac_status=$? |
| 1332 |
fi |
| 1333 |
|
| 1334 |
if test "$ac_init_help" = "recursive"; then |
| 1335 |
# If there are subdirs, report their specific --help. |
| 1336 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| 1337 |
test -d "$ac_dir" || continue |
| 1338 |
ac_builddir=. |
| 1339 |
|
| 1340 |
case "$ac_dir" in |
| 1341 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1342 |
*) |
| 1343 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| 1344 |
# A ".." for each directory in $ac_dir_suffix. |
| 1345 |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
| 1346 |
case $ac_top_builddir_sub in |
| 1347 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1348 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 1349 |
esac ;; |
| 1350 |
esac |
| 1351 |
ac_abs_top_builddir=$ac_pwd |
| 1352 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 1353 |
# for backward compatibility: |
| 1354 |
ac_top_builddir=$ac_top_build_prefix |
| 1355 |
|
| 1356 |
case $srcdir in |
| 1357 |
.) # We are building in place. |
| 1358 |
ac_srcdir=. |
| 1359 |
ac_top_srcdir=$ac_top_builddir_sub |
| 1360 |
ac_abs_top_srcdir=$ac_pwd ;; |
| 1361 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
| 1362 |
ac_srcdir=$srcdir$ac_dir_suffix; |
| 1363 |
ac_top_srcdir=$srcdir |
| 1364 |
ac_abs_top_srcdir=$srcdir ;; |
| 1365 |
*) # Relative name. |
| 1366 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 1367 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 1368 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 1369 |
esac |
| 1370 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 1371 |
|
| 1372 |
cd "$ac_dir" || { ac_status=$?; continue; } |
| 1373 |
# Check for guested configure. |
| 1374 |
if test -f "$ac_srcdir/configure.gnu"; then |
| 1375 |
echo && |
| 1376 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 1377 |
elif test -f "$ac_srcdir/configure"; then |
| 1378 |
echo && |
| 1379 |
$SHELL "$ac_srcdir/configure" --help=recursive |
| 1380 |
else |
| 1381 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1382 |
fi || ac_status=$? |
| 1383 |
cd "$ac_pwd" || { ac_status=$?; break; } |
| 1384 |
done |
| 1385 |
fi |
| 1386 |
|
| 1387 |
test -n "$ac_init_help" && exit $ac_status |
| 1388 |
if $ac_init_version; then |
| 1389 |
cat <<\_ACEOF |
| 1390 |
wxthings configure 1.0 |
| 1391 |
generated by GNU Autoconf 2.60 |
| 1392 |
|
| 1393 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 1394 |
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
| 1395 |
This configure script is free software; the Free Software Foundation |
| 1396 |
gives unlimited permission to copy, distribute and modify it. |
| 1397 |
_ACEOF |
| 1398 |
exit |
| 1399 |
fi |
| 1400 |
cat >config.log <<_ACEOF |
| 1401 |
This file contains any messages produced by compilers while |
| 1402 |
running configure, to aid debugging if configure makes a mistake. |
| 1403 |
|
| 1404 |
It was created by wxthings $as_me 1.0, which was |
| 1405 |
generated by GNU Autoconf 2.60. Invocation command line was |
| 1406 |
|
| 1407 |
$ $0 $@ |
| 1408 |
|
| 1409 |
_ACEOF |
| 1410 |
exec 5>>config.log |
| 1411 |
{ |
| 1412 |
cat <<_ASUNAME |
| 1413 |
## --------- ## |
| 1414 |
## Platform. ## |
| 1415 |
## --------- ## |
| 1416 |
|
| 1417 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 1418 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
| 1419 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
| 1420 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
| 1421 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
| 1422 |
|
| 1423 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
| 1424 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
| 1425 |
|
| 1426 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
| 1427 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
| 1428 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
| 1429 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
| 1430 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
| 1431 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
| 1432 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
| 1433 |
|
| 1434 |
_ASUNAME |
| 1435 |
|
| 1436 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1437 |
for as_dir in $PATH |
| 1438 |
do |
| 1439 |
IFS=$as_save_IFS |
| 1440 |
test -z "$as_dir" && as_dir=. |
| 1441 |
echo "PATH: $as_dir" |
| 1442 |
done |
| 1443 |
IFS=$as_save_IFS |
| 1444 |
|
| 1445 |
} >&5 |
| 1446 |
|
| 1447 |
cat >&5 <<_ACEOF |
| 1448 |
|
| 1449 |
|
| 1450 |
## ----------- ## |
| 1451 |
## Core tests. ## |
| 1452 |
## ----------- ## |
| 1453 |
|
| 1454 |
_ACEOF |
| 1455 |
|
| 1456 |
|
| 1457 |
# Keep a trace of the command line. |
| 1458 |
# Strip out --no-create and --no-recursion so they do not pile up. |
| 1459 |
# Strip out --silent because we don't want to record it for future runs. |
| 1460 |
# Also quote any args containing shell meta-characters. |
| 1461 |
# Make two passes to allow for proper duplicate-argument suppression. |
| 1462 |
ac_configure_args= |
| 1463 |
ac_configure_args0= |
| 1464 |
ac_configure_args1= |
| 1465 |
ac_must_keep_next=false |
| 1466 |
for ac_pass in 1 2 |
| 1467 |
do |
| 1468 |
for ac_arg |
| 1469 |
do |
| 1470 |
case $ac_arg in |
| 1471 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| 1472 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1473 |
| -silent | --silent | --silen | --sile | --sil) |
| 1474 |
continue ;; |
| 1475 |
*\'*) |
| 1476 |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1477 |
esac |
| 1478 |
case $ac_pass in |
| 1479 |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
| 1480 |
2) |
| 1481 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
| 1482 |
if test $ac_must_keep_next = true; then |
| 1483 |
ac_must_keep_next=false # Got value, back to normal. |
| 1484 |
else |
| 1485 |
case $ac_arg in |
| 1486 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
| 1487 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 1488 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 1489 |
| -with-* | --with-* | -without-* | --without-* | --x) |
| 1490 |
case "$ac_configure_args0 " in |
| 1491 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 1492 |
esac |
| 1493 |
;; |
| 1494 |
-* ) ac_must_keep_next=true ;; |
| 1495 |
esac |
| 1496 |
fi |
| 1497 |
ac_configure_args="$ac_configure_args '$ac_arg'" |
| 1498 |
;; |
| 1499 |
esac |
| 1500 |
done |
| 1501 |
done |
| 1502 |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
| 1503 |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
| 1504 |
|
| 1505 |
# When interrupted or exit'd, cleanup temporary files, and complete |
| 1506 |
# config.log. We remove comments because anyway the quotes in there |
| 1507 |
# would cause problems or look ugly. |
| 1508 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
| 1509 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 1510 |
trap 'exit_status=$? |
| 1511 |
# Save into config.log some information that might help in debugging. |
| 1512 |
{ |
| 1513 |
echo |
| 1514 |
|
| 1515 |
cat <<\_ASBOX |
| 1516 |
## ---------------- ## |
| 1517 |
## Cache variables. ## |
| 1518 |
## ---------------- ## |
| 1519 |
_ASBOX |
| 1520 |
echo |
| 1521 |
# The following way of writing the cache mishandles newlines in values, |
| 1522 |
( |
| 1523 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
| 1524 |
eval ac_val=\$$ac_var |
| 1525 |
case $ac_val in #( |
| 1526 |
*${as_nl}*) |
| 1527 |
case $ac_var in #( |
| 1528 |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
| 1529 |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
| 1530 |
esac |
| 1531 |
case $ac_var in #( |
| 1532 |
_ | IFS | as_nl) ;; #( |
| 1533 |
*) $as_unset $ac_var ;; |
| 1534 |
esac ;; |
| 1535 |
esac |
| 1536 |
done |
| 1537 |
(set) 2>&1 | |
| 1538 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 1539 |
*${as_nl}ac_space=\ *) |
| 1540 |
sed -n \ |
| 1541 |
"s/'\''/'\''\\\\'\'''\''/g; |
| 1542 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
| 1543 |
;; #( |
| 1544 |
*) |
| 1545 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 1546 |
;; |
| 1547 |
esac | |
| 1548 |
sort |
| 1549 |
) |
| 1550 |
echo |
| 1551 |
|
| 1552 |
cat <<\_ASBOX |
| 1553 |
## ----------------- ## |
| 1554 |
## Output variables. ## |
| 1555 |
## ----------------- ## |
| 1556 |
_ASBOX |
| 1557 |
echo |
| 1558 |
for ac_var in $ac_subst_vars |
| 1559 |
do |
| 1560 |
eval ac_val=\$$ac_var |
| 1561 |
case $ac_val in |
| 1562 |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 1563 |
esac |
| 1564 |
echo "$ac_var='\''$ac_val'\''" |
| 1565 |
done | sort |
| 1566 |
echo |
| 1567 |
|
| 1568 |
if test -n "$ac_subst_files"; then |
| 1569 |
cat <<\_ASBOX |
| 1570 |
## ------------------- ## |
| 1571 |
## File substitutions. ## |
| 1572 |
## ------------------- ## |
| 1573 |
_ASBOX |
| 1574 |
echo |
| 1575 |
for ac_var in $ac_subst_files |
| 1576 |
do |
| 1577 |
eval ac_val=\$$ac_var |
| 1578 |
case $ac_val in |
| 1579 |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 1580 |
esac |
| 1581 |
echo "$ac_var='\''$ac_val'\''" |
| 1582 |
done | sort |
| 1583 |
echo |
| 1584 |
fi |
| 1585 |
|
| 1586 |
if test -s confdefs.h; then |
| 1587 |
cat <<\_ASBOX |
| 1588 |
## ----------- ## |
| 1589 |
## confdefs.h. ## |
| 1590 |
## ----------- ## |
| 1591 |
_ASBOX |
| 1592 |
echo |
| 1593 |
cat confdefs.h |
| 1594 |
echo |
| 1595 |
fi |
| 1596 |
test "$ac_signal" != 0 && |
| 1597 |
echo "$as_me: caught signal $ac_signal" |
| 1598 |
echo "$as_me: exit $exit_status" |
| 1599 |
} >&5 |
| 1600 |
rm -f core *.core core.conftest.* && |
| 1601 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 1602 |
exit $exit_status |
| 1603 |
' 0 |
| 1604 |
for ac_signal in 1 2 13 15; do |
| 1605 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
| 1606 |
done |
| 1607 |
ac_signal=0 |
| 1608 |
|
| 1609 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 1610 |
rm -f -r conftest* confdefs.h |
| 1611 |
|
| 1612 |
# Predefined preprocessor variables. |
| 1613 |
|
| 1614 |
cat >>confdefs.h <<_ACEOF |
| 1615 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
| 1616 |
_ACEOF |
| 1617 |
|
| 1618 |
|
| 1619 |
cat >>confdefs.h <<_ACEOF |
| 1620 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 1621 |
_ACEOF |
| 1622 |
|
| 1623 |
|
| 1624 |
cat >>confdefs.h <<_ACEOF |
| 1625 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 1626 |
_ACEOF |
| 1627 |
|
| 1628 |
|
| 1629 |
cat >>confdefs.h <<_ACEOF |
| 1630 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
| 1631 |
_ACEOF |
| 1632 |
|
| 1633 |
|
| 1634 |
cat >>confdefs.h <<_ACEOF |
| 1635 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 1636 |
_ACEOF |
| 1637 |
|
| 1638 |
|
| 1639 |
# Let the site file select an alternate cache file if it wants to. |
| 1640 |
# Prefer explicitly selected file to automatically selected ones. |
| 1641 |
if test -n "$CONFIG_SITE"; then |
| 1642 |
set x "$CONFIG_SITE" |
| 1643 |
elif test "x$prefix" != xNONE; then |
| 1644 |
set x "$prefix/share/config.site" "$prefix/etc/config.site" |
| 1645 |
else |
| 1646 |
set x "$ac_default_prefix/share/config.site" \ |
| 1647 |
"$ac_default_prefix/etc/config.site" |
| 1648 |
fi |
| 1649 |
shift |
| 1650 |
for ac_site_file |
| 1651 |
do |
| 1652 |
if test -r "$ac_site_file"; then |
| 1653 |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| 1654 |
echo "$as_me: loading site script $ac_site_file" >&6;} |
| 1655 |
sed 's/^/| /' "$ac_site_file" >&5 |
| 1656 |
. "$ac_site_file" |
| 1657 |
fi |
| 1658 |
done |
| 1659 |
|
| 1660 |
if test -r "$cache_file"; then |
| 1661 |
# Some versions of bash will fail to source /dev/null (special |
| 1662 |
# files actually), so we avoid doing that. |
| 1663 |
if test -f "$cache_file"; then |
| 1664 |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
| 1665 |
echo "$as_me: loading cache $cache_file" >&6;} |
| 1666 |
case $cache_file in |
| 1667 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 1668 |
*) . "./$cache_file";; |
| 1669 |
esac |
| 1670 |
fi |
| 1671 |
else |
| 1672 |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
| 1673 |
echo "$as_me: creating cache $cache_file" >&6;} |
| 1674 |
>$cache_file |
| 1675 |
fi |
| 1676 |
|
| 1677 |
# Check that the precious variables saved in the cache have kept the same |
| 1678 |
# value. |
| 1679 |
ac_cache_corrupted=false |
| 1680 |
for ac_var in $ac_precious_vars; do |
| 1681 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 1682 |
eval ac_new_set=\$ac_env_${ac_var}_set |
| 1683 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| 1684 |
eval ac_new_val=\$ac_env_${ac_var}_value |
| 1685 |
case $ac_old_set,$ac_new_set in |
| 1686 |
set,) |
| 1687 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 1688 |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 1689 |
ac_cache_corrupted=: ;; |
| 1690 |
,set) |
| 1691 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
| 1692 |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 1693 |
ac_cache_corrupted=: ;; |
| 1694 |
,);; |
| 1695 |
*) |
| 1696 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
| 1697 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| 1698 |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 1699 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
| 1700 |
echo "$as_me: former value: $ac_old_val" >&2;} |
| 1701 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
| 1702 |
echo "$as_me: current value: $ac_new_val" >&2;} |
| 1703 |
ac_cache_corrupted=: |
| 1704 |
fi;; |
| 1705 |
esac |
| 1706 |
# Pass precious variables to config.status. |
| 1707 |
if test "$ac_new_set" = set; then |
| 1708 |
case $ac_new_val in |
| 1709 |
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1710 |
*) ac_arg=$ac_var=$ac_new_val ;; |
| 1711 |
esac |
| 1712 |
case " $ac_configure_args " in |
| 1713 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 1714 |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
| 1715 |
esac |
| 1716 |
fi |
| 1717 |
done |
| 1718 |
if $ac_cache_corrupted; then |
| 1719 |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
| 1720 |
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 1721 |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
| 1722 |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
| 1723 |
{ (exit 1); exit 1; }; } |
| 1724 |
fi |
| 1725 |
|
| 1726 |
|
| 1727 |
|
| 1728 |
|
| 1729 |
|
| 1730 |
|
| 1731 |
|
| 1732 |
|
| 1733 |
|
| 1734 |
|
| 1735 |
|
| 1736 |
|
| 1737 |
|
| 1738 |
|
| 1739 |
|
| 1740 |
|
| 1741 |
|
| 1742 |
|
| 1743 |
|
| 1744 |
|
| 1745 |
|
| 1746 |
|
| 1747 |
|
| 1748 |
|
| 1749 |
|
| 1750 |
ac_ext=c |
| 1751 |
ac_cpp='$CPP $CPPFLAGS' |
| 1752 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1753 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1754 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1755 |
|
| 1756 |
|
| 1757 |
ac_aux_dir= |
| 1758 |
for ac_dir in build "$srcdir"/build; do |
| 1759 |
if test -f "$ac_dir/install-sh"; then |
| 1760 |
ac_aux_dir=$ac_dir |
| 1761 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
| 1762 |
break |
| 1763 |
elif test -f "$ac_dir/install.sh"; then |
| 1764 |
ac_aux_dir=$ac_dir |
| 1765 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
| 1766 |
break |
| 1767 |
elif test -f "$ac_dir/shtool"; then |
| 1768 |
ac_aux_dir=$ac_dir |
| 1769 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
| 1770 |
break |
| 1771 |
fi |
| 1772 |
done |
| 1773 |
if test -z "$ac_aux_dir"; then |
| 1774 |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build \"$srcdir\"/build" >&5 |
| 1775 |
echo "$as_me: error: cannot find install-sh or install.sh in build \"$srcdir\"/build" >&2;} |
| 1776 |
{ (exit 1); exit 1; }; } |
| 1777 |
fi |
| 1778 |
|
| 1779 |
# These three variables are undocumented and unsupported, |
| 1780 |
# and are intended to be withdrawn in a future Autoconf release. |
| 1781 |
# They can cause serious problems if a builder's source tree is in a directory |
| 1782 |
# whose full name contains unusual characters. |
| 1783 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
| 1784 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
| 1785 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
| 1786 |
|
| 1787 |
|
| 1788 |
|
| 1789 |
# ENABLES/DISABLES THE DEBUG MODE FOR THIS CONFIGURE SCRIPT |
| 1790 |
#DBG_CONFIGURE=1 |
| 1791 |
|
| 1792 |
# you need the wxCode/build/bakefiles in your local repository to generate a configure |
| 1793 |
# script from this configure.ac file since wxcode.m4 is required.... |
| 1794 |
|
| 1795 |
|
| 1796 |
|
| 1797 |
|
| 1798 |
|
| 1799 |
|
| 1800 |
|
| 1801 |
|
| 1802 |
|
| 1803 |
|
| 1804 |
|
| 1805 |
|
| 1806 |
|
| 1807 |
|
| 1808 |
|
| 1809 |
|
| 1810 |
|
| 1811 |
|
| 1812 |
|
| 1813 |
|
| 1814 |
|
| 1815 |
|
| 1816 |
|
| 1817 |
|
| 1818 |
|
| 1819 |
|
| 1820 |
|
| 1821 |
|
| 1822 |
|
| 1823 |
|
| 1824 |
|
| 1825 |
|
| 1826 |
|
| 1827 |
|
| 1828 |
|
| 1829 |
|
| 1830 |
|
| 1831 |
|
| 1832 |
|
| 1833 |
|
| 1834 |
|
| 1835 |
|
| 1836 |
|
| 1837 |
# Make sure we can run config.sub. |
| 1838 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 1839 |
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
| 1840 |
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
| 1841 |
{ (exit 1); exit 1; }; } |
| 1842 |
|
| 1843 |
{ echo "$as_me:$LINENO: checking build system type" >&5 |
| 1844 |
echo $ECHO_N "checking build system type... $ECHO_C" >&6; } |
| 1845 |
if test "${ac_cv_build+set}" = set; then |
| 1846 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1847 |
else |
| 1848 |
ac_build_alias=$build_alias |
| 1849 |
test "x$ac_build_alias" = x && |
| 1850 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 1851 |
test "x$ac_build_alias" = x && |
| 1852 |
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
| 1853 |
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
| 1854 |
{ (exit 1); exit 1; }; } |
| 1855 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 1856 |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
| 1857 |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
| 1858 |
{ (exit 1); exit 1; }; } |
| 1859 |
|
| 1860 |
fi |
| 1861 |
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
| 1862 |
echo "${ECHO_T}$ac_cv_build" >&6; } |
| 1863 |
case $ac_cv_build in |
| 1864 |
*-*-*) ;; |
| 1865 |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
| 1866 |
echo "$as_me: error: invalid value of canonical build" >&2;} |
| 1867 |
{ (exit 1); exit 1; }; };; |
| 1868 |
esac |
| 1869 |
build=$ac_cv_build |
| 1870 |
ac_save_IFS=$IFS; IFS='-' |
| 1871 |
set x $ac_cv_build |
| 1872 |
shift |
| 1873 |
build_cpu=$1 |
| 1874 |
build_vendor=$2 |
| 1875 |
shift; shift |
| 1876 |
# Remember, the first character of IFS is used to create $*, |
| 1877 |
# except with old shells: |
| 1878 |
build_os=$* |
| 1879 |
IFS=$ac_save_IFS |
| 1880 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
| 1881 |
|
| 1882 |
|
| 1883 |
{ echo "$as_me:$LINENO: checking host system type" >&5 |
| 1884 |
echo $ECHO_N "checking host system type... $ECHO_C" >&6; } |
| 1885 |
if test "${ac_cv_host+set}" = set; then |
| 1886 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1887 |
else |
| 1888 |
if test "x$host_alias" = x; then |
| 1889 |
ac_cv_host=$ac_cv_build |
| 1890 |
else |
| 1891 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 1892 |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
| 1893 |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
| 1894 |
{ (exit 1); exit 1; }; } |
| 1895 |
fi |
| 1896 |
|
| 1897 |
fi |
| 1898 |
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
| 1899 |
echo "${ECHO_T}$ac_cv_host" >&6; } |
| 1900 |
case $ac_cv_host in |
| 1901 |
*-*-*) ;; |
| 1902 |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
| 1903 |
echo "$as_me: error: invalid value of canonical host" >&2;} |
| 1904 |
{ (exit 1); exit 1; }; };; |
| 1905 |
esac |
| 1906 |
host=$ac_cv_host |
| 1907 |
ac_save_IFS=$IFS; IFS='-' |
| 1908 |
set x $ac_cv_host |
| 1909 |
shift |
| 1910 |
host_cpu=$1 |
| 1911 |
host_vendor=$2 |
| 1912 |
shift; shift |
| 1913 |
# Remember, the first character of IFS is used to create $*, |
| 1914 |
# except with old shells: |
| 1915 |
host_os=$* |
| 1916 |
IFS=$ac_save_IFS |
| 1917 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
| 1918 |
|
| 1919 |
|
| 1920 |
|
| 1921 |
|
| 1922 |
|
| 1923 |
|
| 1924 |
|
| 1925 |
|
| 1926 |
|
| 1927 |
|
| 1928 |
|
| 1929 |
|
| 1930 |
|
| 1931 |
|
| 1932 |
|
| 1933 |
|
| 1934 |
|
| 1935 |
|
| 1936 |
|
| 1937 |
|
| 1938 |
|
| 1939 |
|
| 1940 |
|
| 1941 |
|
| 1942 |
|
| 1943 |
|
| 1944 |
|
| 1945 |
|
| 1946 |
|
| 1947 |
|
| 1948 |
|
| 1949 |
|
| 1950 |
|
| 1951 |
|
| 1952 |
|
| 1953 |
|
| 1954 |
|
| 1955 |
|
| 1956 |
|
| 1957 |
|
| 1958 |
|
| 1959 |
|
| 1960 |
|
| 1961 |
|
| 1962 |
|
| 1963 |
|
| 1964 |
|
| 1965 |
|
| 1966 |
|
| 1967 |
|
| 1968 |
|
| 1969 |
|
| 1970 |
|
| 1971 |
|
| 1972 |
|
| 1973 |
ac_ext=cpp |
| 1974 |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 1975 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1976 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1977 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 1978 |
|
| 1979 |
|
| 1980 |
ac_aux_dir= |
| 1981 |
for ac_dir in build "$srcdir"/build; do |
| 1982 |
if test -f "$ac_dir/install-sh"; then |
| 1983 |
ac_aux_dir=$ac_dir |
| 1984 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
| 1985 |
break |
| 1986 |
elif test -f "$ac_dir/install.sh"; then |
| 1987 |
ac_aux_dir=$ac_dir |
| 1988 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
| 1989 |
break |
| 1990 |
elif test -f "$ac_dir/shtool"; then |
| 1991 |
ac_aux_dir=$ac_dir |
| 1992 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
| 1993 |
break |
| 1994 |
fi |
| 1995 |
done |
| 1996 |
if test -z "$ac_aux_dir"; then |
| 1997 |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build \"$srcdir\"/build" >&5 |
| 1998 |
echo "$as_me: error: cannot find install-sh or install.sh in build \"$srcdir\"/build" >&2;} |
| 1999 |
{ (exit 1); exit 1; }; } |
| 2000 |
fi |
| 2001 |
|
| 2002 |
# These three variables are undocumented and unsupported, |
| 2003 |
# and are intended to be withdrawn in a future Autoconf release. |
| 2004 |
# They can cause serious problems if a builder's source tree is in a directory |
| 2005 |
# whose full name contains unusual characters. |
| 2006 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
| 2007 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
| 2008 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
| 2009 |
|
| 2010 |
|
| 2011 |
|
| 2012 |
{ echo "$as_me:$LINENO: checking target system type" >&5 |
| 2013 |
echo $ECHO_N "checking target system type... $ECHO_C" >&6; } |
| 2014 |
if test "${ac_cv_target+set}" = set; then |
| 2015 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2016 |
else |
| 2017 |
if test "x$target_alias" = x; then |
| 2018 |
ac_cv_target=$ac_cv_host |
| 2019 |
else |
| 2020 |
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
| 2021 |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 |
| 2022 |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} |
| 2023 |
{ (exit 1); exit 1; }; } |
| 2024 |
fi |
| 2025 |
|
| 2026 |
fi |
| 2027 |
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5 |
| 2028 |
echo "${ECHO_T}$ac_cv_target" >&6; } |
| 2029 |
case $ac_cv_target in |
| 2030 |
*-*-*) ;; |
| 2031 |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 |
| 2032 |
echo "$as_me: error: invalid value of canonical target" >&2;} |
| 2033 |
{ (exit 1); exit 1; }; };; |
| 2034 |
esac |
| 2035 |
target=$ac_cv_target |
| 2036 |
ac_save_IFS=$IFS; IFS='-' |
| 2037 |
set x $ac_cv_target |
| 2038 |
shift |
| 2039 |
target_cpu=$1 |
| 2040 |
target_vendor=$2 |
| 2041 |
shift; shift |
| 2042 |
# Remember, the first character of IFS is used to create $*, |
| 2043 |
# except with old shells: |
| 2044 |
target_os=$* |
| 2045 |
IFS=$ac_save_IFS |
| 2046 |
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac |
| 2047 |
|
| 2048 |
|
| 2049 |
# The aliases save the names the user supplied, while $host etc. |
| 2050 |
# will get canonicalized. |
| 2051 |
test -n "$target_alias" && |
| 2052 |
test "$program_prefix$program_suffix$program_transform_name" = \ |
| 2053 |
NONENONEs,x,x, && |
| 2054 |
program_prefix=${target_alias}- |
| 2055 |
|
| 2056 |
|
| 2057 |
|
| 2058 |
|
| 2059 |
|
| 2060 |
## CONFIGURE OPTIONS |
| 2061 |
## |
| 2062 |
## Before starting checks, declare the options of this configure script |
| 2063 |
## Here you should use the AC_ARG_ENABLE and AC_ARG_WITH macros, |
| 2064 |
## or the wxCode-specific AM_WXCODE_ARG_ENABLE & AM_WXCODE_ARG_WITH macros, |
| 2065 |
## to add to this configure script the --enable-XXX and/or --with-XXX |
| 2066 |
## options required. If you did not use any <option> tag in your |
| 2067 |
## component's bakefile, then you can leave this section as is |
| 2068 |
##################################################################### |
| 2069 |
|
| 2070 |
|
| 2071 |
|
| 2072 |
|
| 2073 |
# Check whether --with-wxdir was given. |
| 2074 |
if test "${with_wxdir+set}" = set; then |
| 2075 |
withval=$with_wxdir; wx_config_name="$withval/wx-config" |
| 2076 |
wx_config_args="--inplace" |
| 2077 |
fi |
| 2078 |
|
| 2079 |
|
| 2080 |
# Check whether --with-wx-config was given. |
| 2081 |
if test "${with_wx_config+set}" = set; then |
| 2082 |
withval=$with_wx_config; wx_config_name="$withval" |
| 2083 |
fi |
| 2084 |
|
| 2085 |
|
| 2086 |
# Check whether --with-wx-prefix was given. |
| 2087 |
if test "${with_wx_prefix+set}" = set; then |
| 2088 |
withval=$with_wx_prefix; wx_config_prefix="$withval" |
| 2089 |
else |
| 2090 |
wx_config_prefix="" |
| 2091 |
fi |
| 2092 |
|
| 2093 |
|
| 2094 |
# Check whether --with-wx-exec-prefix was given. |
| 2095 |
if test "${with_wx_exec_prefix+set}" = set; then |
| 2096 |
withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval" |
| 2097 |
else |
| 2098 |
wx_config_exec_prefix="" |
| 2099 |
fi |
| 2100 |
|
| 2101 |
|
| 2102 |
|
| 2103 |
|
| 2104 |
|
| 2105 |
# Check whether --enable-debug was given. |
| 2106 |
if test "${enable_debug+set}" = set; then |
| 2107 |
enableval=$enable_debug; |
| 2108 |
else |
| 2109 |
enableval="auto" |
| 2110 |
fi |
| 2111 |
|
| 2112 |
|
| 2113 |
{ echo "$as_me:$LINENO: checking for the --enable-debug option" >&5 |
| 2114 |
echo $ECHO_N "checking for the --enable-debug option... $ECHO_C" >&6; } |
| 2115 |
if test "$enableval" = "yes" ; then |
| 2116 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 2117 |
echo "${ECHO_T}yes" >&6; } |
| 2118 |
DEBUG=1 |
| 2119 |
|
| 2120 |
elif test "$enableval" = "no" ; then |
| 2121 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2122 |
echo "${ECHO_T}no" >&6; } |
| 2123 |
DEBUG=0 |
| 2124 |
elif test "$enableval" = "auto" ; then |
| 2125 |
{ echo "$as_me:$LINENO: result: will be automatically detected" >&5 |
| 2126 |
echo "${ECHO_T}will be automatically detected" >&6; } |
| 2127 |
DEBUG="auto" |
| 2128 |
else |
| 2129 |
{ { echo "$as_me:$LINENO: error: |
| 2130 |
Unrecognized option value (allowed values: yes, no, auto) |
| 2131 |
" >&5 |
| 2132 |
echo "$as_me: error: |
| 2133 |
Unrecognized option value (allowed values: yes, no, auto) |
| 2134 |
" >&2;} |
| 2135 |
{ (exit 1); exit 1; }; } |
| 2136 |
fi |
| 2137 |
|
| 2138 |
|
| 2139 |
# Check whether --enable-unicode was given. |
| 2140 |
if test "${enable_unicode+set}" = set; then |
| 2141 |
enableval=$enable_unicode; |
| 2142 |
else |
| 2143 |
enableval="auto" |
| 2144 |
fi |
| 2145 |
|
| 2146 |
|
| 2147 |
{ echo "$as_me:$LINENO: checking for the --enable-unicode option" >&5 |
| 2148 |
echo $ECHO_N "checking for the --enable-unicode option... $ECHO_C" >&6; } |
| 2149 |
if test "$enableval" = "yes" ; then |
| 2150 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 2151 |
echo "${ECHO_T}yes" >&6; } |
| 2152 |
UNICODE=1 |
| 2153 |
|
| 2154 |
elif test "$enableval" = "no" ; then |
| 2155 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2156 |
echo "${ECHO_T}no" >&6; } |
| 2157 |
UNICODE=0 |
| 2158 |
elif test "$enableval" = "auto" ; then |
| 2159 |
{ echo "$as_me:$LINENO: result: will be automatically detected" >&5 |
| 2160 |
echo "${ECHO_T}will be automatically detected" >&6; } |
| 2161 |
UNICODE="auto" |
| 2162 |
else |
| 2163 |
{ { echo "$as_me:$LINENO: error: |
| 2164 |
Unrecognized option value (allowed values: yes, no, auto) |
| 2165 |
" >&5 |
| 2166 |
echo "$as_me: error: |
| 2167 |
Unrecognized option value (allowed values: yes, no, auto) |
| 2168 |
" >&2;} |
| 2169 |
{ (exit 1); exit 1; }; } |
| 2170 |
fi |
| 2171 |
|
| 2172 |
|
| 2173 |
# Check whether --enable-shared was given. |
| 2174 |
if test "${enable_shared+set}" = set; then |
| 2175 |
enableval=$enable_shared; |
| 2176 |
else |
| 2177 |
enableval="auto" |
| 2178 |
fi |
| 2179 |
|
| 2180 |
|
| 2181 |
{ echo "$as_me:$LINENO: checking for the --enable-shared option" >&5 |
| 2182 |
echo $ECHO_N "checking for the --enable-shared option... $ECHO_C" >&6; } |
| 2183 |
if test "$enableval" = "yes" ; then |
| 2184 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 2185 |
echo "${ECHO_T}yes" >&6; } |
| 2186 |
SHARED=1 |
| 2187 |
|
| 2188 |
elif test "$enableval" = "no" ; then |
| 2189 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2190 |
echo "${ECHO_T}no" >&6; } |
| 2191 |
SHARED=0 |
| 2192 |
elif test "$enableval" = "auto" ; then |
| 2193 |
{ echo "$as_me:$LINENO: result: will be automatically detected" >&5 |
| 2194 |
echo "${ECHO_T}will be automatically detected" >&6; } |
| 2195 |
SHARED="auto" |
| 2196 |
else |
| 2197 |
{ { echo "$as_me:$LINENO: error: |
| 2198 |
Unrecognized option value (allowed values: yes, no, auto) |
| 2199 |
" >&5 |
| 2200 |
echo "$as_me: error: |
| 2201 |
Unrecognized option value (allowed values: yes, no, auto) |
| 2202 |
" >&2;} |
| 2203 |
{ (exit 1); exit 1; }; } |
| 2204 |
fi |
| 2205 |
|
| 2206 |
|
| 2207 |
|
| 2208 |
|
| 2209 |
# Check whether --with-toolkit was given. |
| 2210 |
if test "${with_toolkit+set}" = set; then |
| 2211 |
withval=$with_toolkit; |
| 2212 |
else |
| 2213 |
withval="auto" |
| 2214 |
fi |
| 2215 |
|
| 2216 |
|
| 2217 |
{ echo "$as_me:$LINENO: checking for the --with-toolkit option" >&5 |
| 2218 |
echo $ECHO_N "checking for the --with-toolkit option... $ECHO_C" >&6; } |
| 2219 |
if test "$withval" = "auto" ; then |
| 2220 |
{ echo "$as_me:$LINENO: result: will be automatically detected" >&5 |
| 2221 |
echo "${ECHO_T}will be automatically detected" >&6; } |
| 2222 |
TOOLKIT="auto" |
| 2223 |
else |
| 2224 |
TOOLKIT="$withval" |
| 2225 |
|
| 2226 |
if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \ |
| 2227 |
"$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \ |
| 2228 |
"$TOOLKIT" != "x11" -a "$TOOLKIT" != "mac" -a \ |
| 2229 |
"$TOOLKIT" != "mgl" -a "$TOOLKIT" != "dfb" ; then |
| 2230 |
{ { echo "$as_me:$LINENO: error: |
| 2231 |
Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb) |
| 2232 |
" >&5 |
| 2233 |
echo "$as_me: error: |
| 2234 |
Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb) |
| 2235 |
" >&2;} |
| 2236 |
{ (exit 1); exit 1; }; } |
| 2237 |
fi |
| 2238 |
|
| 2239 |
{ echo "$as_me:$LINENO: result: $TOOLKIT" >&5 |
| 2240 |
echo "${ECHO_T}$TOOLKIT" >&6; } |
| 2241 |
fi |
| 2242 |
|
| 2243 |
|
| 2244 |
|
| 2245 |
|
| 2246 |
|
| 2247 |
# Check whether --with-wxshared was given. |
| 2248 |
if test "${with_wxshared+set}" = set; then |
| 2249 |
withval=$with_wxshared; |
| 2250 |
else |
| 2251 |
withval="auto" |
| 2252 |
fi |
| 2253 |
|
| 2254 |
|
| 2255 |
{ echo "$as_me:$LINENO: checking for the --with-wxshared option" >&5 |
| 2256 |
echo $ECHO_N "checking for the --with-wxshared option... $ECHO_C" >&6; } |
| 2257 |
if test "$withval" = "yes" ; then |
| 2258 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 2259 |
echo "${ECHO_T}yes" >&6; } |
| 2260 |
WX_SHARED=1 |
| 2261 |
|
| 2262 |
elif test "1" = "1" -a "$withval" = "no" ; then |
| 2263 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2264 |
echo "${ECHO_T}no" >&6; } |
| 2265 |
WX_SHARED=0 |
| 2266 |
elif test "$withval" = "auto" ; then |
| 2267 |
{ echo "$as_me:$LINENO: result: will be automatically detected" >&5 |
| 2268 |
echo "${ECHO_T}will be automatically detected" >&6; } |
| 2269 |
WX_SHARED="auto" |
| 2270 |
else |
| 2271 |
{ { echo "$as_me:$LINENO: error: |
| 2272 |
Unrecognized option value (allowed values: yes, auto) |
| 2273 |
" >&5 |
| 2274 |
echo "$as_me: error: |
| 2275 |
Unrecognized option value (allowed values: yes, auto) |
| 2276 |
" >&2;} |
| 2277 |
{ (exit 1); exit 1; }; } |
| 2278 |
fi |
| 2279 |
|
| 2280 |
|
| 2281 |
|
| 2282 |
|
| 2283 |
|
| 2284 |
|
| 2285 |
|
| 2286 |
# Check whether --with-wxversion was given. |
| 2287 |
if test "${with_wxversion+set}" = set; then |
| 2288 |
withval=$with_wxversion; |
| 2289 |
else |
| 2290 |
withval="auto" |
| 2291 |
fi |
| 2292 |
|
| 2293 |
|
| 2294 |
{ echo "$as_me:$LINENO: checking for the --with-wxversion option" >&5 |
| 2295 |
echo $ECHO_N "checking for the --with-wxversion option... $ECHO_C" >&6; } |
| 2296 |
if test "$withval" = "auto" ; then |
| 2297 |
{ echo "$as_me:$LINENO: result: will be automatically detected" >&5 |
| 2298 |
echo "${ECHO_T}will be automatically detected" >&6; } |
| 2299 |
WX_VERSION="auto" |
| 2300 |
else |
| 2301 |
|
| 2302 |
wx_requested_major_version=`echo $withval | \ |
| 2303 |
sed 's/\([0-9]*\).\([0-9]*\).*/\1/'` |
| 2304 |
wx_requested_minor_version=`echo $withval | \ |
| 2305 |
sed 's/\([0-9]*\).\([0-9]*\).*/\2/'` |
| 2306 |
|
| 2307 |
if test "${#wx_requested_major_version}" != "1" -o \ |
| 2308 |
"${#wx_requested_minor_version}" != "1" ; then |
| 2309 |
{ { echo "$as_me:$LINENO: error: |
| 2310 |
Unrecognized option value (allowed values: auto, 2.6, 2.7, 2.8, 2.9) |
| 2311 |
" >&5 |
| 2312 |
echo "$as_me: error: |
| 2313 |
Unrecognized option value (allowed values: auto, 2.6, 2.7, 2.8, 2.9) |
| 2314 |
" >&2;} |
| 2315 |
{ (exit 1); exit 1; }; } |
| 2316 |
fi |
| 2317 |
|
| 2318 |
WX_VERSION="$wx_requested_major_version"".""$wx_requested_minor_version" |
| 2319 |
{ echo "$as_me:$LINENO: result: $WX_VERSION" >&5 |
| 2320 |
echo "${ECHO_T}$WX_VERSION" >&6; } |
| 2321 |
fi |
| 2322 |
|
| 2323 |
|
| 2324 |
if test "$WX_DEBUG_CONFIGURE" = "1"; then |
| 2325 |
echo "[dbg] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG" |
| 2326 |
echo "[dbg] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE" |
| 2327 |
echo "[dbg] SHARED: $SHARED, WX_SHARED: $WX_SHARED" |
| 2328 |
echo "[dbg] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT" |
| 2329 |
echo "[dbg] VERSION: $VERSION, WX_VERSION: $WX_VERSION" |
| 2330 |
fi |
| 2331 |
|
| 2332 |
|
| 2333 |
# we want to always have DEBUG==WX_DEBUG and UNICODE==WX_UNICODE |
| 2334 |
WX_DEBUG=$DEBUG |
| 2335 |
WX_UNICODE=$UNICODE |
| 2336 |
|
| 2337 |
|
| 2338 |
|
| 2339 |
|
| 2340 |
|
| 2341 |
|
| 2342 |
## CONFIGURE CHECKS |
| 2343 |
## |
| 2344 |
## Here you should use the AC_CHECK_LIB, AC_COMPILE_IFELSE, |
| 2345 |
## AC_LINK_IFELSE, etc macros to check that the libraries required |
| 2346 |
## by your component exist on the host machine and match your |
| 2347 |
## required options (version, build settings, etc) |
| 2348 |
##################################################################### |
| 2349 |
|
| 2350 |
|
| 2351 |
|
| 2352 |
if test "$WX_SHARED" = "1" ; then |
| 2353 |
WXCONFIG_FLAGS="--static=no " |
| 2354 |
elif test "$WX_SHARED" = "0" ; then |
| 2355 |
WXCONFIG_FLAGS="--static=yes " |
| 2356 |
fi |
| 2357 |
|
| 2358 |
if test "$WX_DEBUG" = "1" ; then |
| 2359 |
WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=yes " |
| 2360 |
elif test "$WX_DEBUG" = "0" ; then |
| 2361 |
WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=no " |
| 2362 |
fi |
| 2363 |
|
| 2364 |
if test "$WX_UNICODE" = "1" ; then |
| 2365 |
WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=yes " |
| 2366 |
elif test "$WX_UNICODE" = "0" ; then |
| 2367 |
WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=no " |
| 2368 |
fi |
| 2369 |
|
| 2370 |
if test "$TOOLKIT" != "auto" ; then |
| 2371 |
WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT " |
| 2372 |
fi |
| 2373 |
|
| 2374 |
if test "$WX_VERSION" != "auto" ; then |
| 2375 |
WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--version=$WX_VERSION " |
| 2376 |
fi |
| 2377 |
|
| 2378 |
WXCONFIG_FLAGS=${WXCONFIG_FLAGS% } |
| 2379 |
|
| 2380 |
if test "$WX_DEBUG_CONFIGURE" = "1"; then |
| 2381 |
echo "[dbg] WXCONFIG_FLAGS: $WXCONFIG_FLAGS" |
| 2382 |
fi |
| 2383 |
|
| 2384 |
|
| 2385 |
if test x${WX_CONFIG_NAME+set} != xset ; then |
| 2386 |
WX_CONFIG_NAME=wx-config |
| 2387 |
fi |
| 2388 |
|
| 2389 |
if test "x$wx_config_name" != x ; then |
| 2390 |
WX_CONFIG_NAME="$wx_config_name" |
| 2391 |
fi |
| 2392 |
|
| 2393 |
if test x$wx_config_exec_prefix != x ; then |
| 2394 |
wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix" |
| 2395 |
WX_LOOKUP_PATH="$wx_config_exec_prefix/bin" |
| 2396 |
fi |
| 2397 |
if test x$wx_config_prefix != x ; then |
| 2398 |
wx_config_args="$wx_config_args --prefix=$wx_config_prefix" |
| 2399 |
WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin" |
| 2400 |
fi |
| 2401 |
if test "$cross_compiling" = "yes"; then |
| 2402 |
wx_config_args="$wx_config_args --host=$host_alias" |
| 2403 |
fi |
| 2404 |
|
| 2405 |
if test -x "$WX_CONFIG_NAME" ; then |
| 2406 |
{ echo "$as_me:$LINENO: checking for wx-config" >&5 |
| 2407 |
echo $ECHO_N "checking for wx-config... $ECHO_C" >&6; } |
| 2408 |
WX_CONFIG_PATH="$WX_CONFIG_NAME" |
| 2409 |
{ echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5 |
| 2410 |
echo "${ECHO_T}$WX_CONFIG_PATH" >&6; } |
| 2411 |
else |
| 2412 |
# Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args. |
| 2413 |
set dummy $WX_CONFIG_NAME; ac_word=$2 |
| 2414 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2415 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2416 |
if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then |
| 2417 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2418 |
else |
| 2419 |
case $WX_CONFIG_PATH in |
| 2420 |
[\\/]* | ?:[\\/]*) |
| 2421 |
ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path. |
| 2422 |
;; |
| 2423 |
*) |
| 2424 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2425 |
as_dummy=""$WX_LOOKUP_PATH:$PATH"" |
| 2426 |
for as_dir in $as_dummy |
| 2427 |
do |
| 2428 |
IFS=$as_save_IFS |
| 2429 |
test -z "$as_dir" && as_dir=. |
| 2430 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2431 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2432 |
ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext" |
| 2433 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2434 |
break 2 |
| 2435 |
fi |
| 2436 |
done |
| 2437 |
done |
| 2438 |
IFS=$as_save_IFS |
| 2439 |
|
| 2440 |
test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no" |
| 2441 |
;; |
| 2442 |
esac |
| 2443 |
fi |
| 2444 |
WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH |
| 2445 |
if test -n "$WX_CONFIG_PATH"; then |
| 2446 |
{ echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5 |
| 2447 |
echo "${ECHO_T}$WX_CONFIG_PATH" >&6; } |
| 2448 |
else |
| 2449 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2450 |
echo "${ECHO_T}no" >&6; } |
| 2451 |
fi |
| 2452 |
|
| 2453 |
|
| 2454 |
fi |
| 2455 |
|
| 2456 |
if test "$WX_CONFIG_PATH" != "no" ; then |
| 2457 |
WX_VERSION_FULL="" |
| 2458 |
|
| 2459 |
min_wx_version=2.8.0 |
| 2460 |
if test -z "$WXCONFIG_FLAGS" ; then |
| 2461 |
{ echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version" >&5 |
| 2462 |
echo $ECHO_N "checking for wxWidgets version >= $min_wx_version... $ECHO_C" >&6; } |
| 2463 |
else |
| 2464 |
{ echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)" >&5 |
| 2465 |
echo $ECHO_N "checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)... $ECHO_C" >&6; } |
| 2466 |
fi |
| 2467 |
|
| 2468 |
WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $WXCONFIG_FLAGS core,base" |
| 2469 |
|
| 2470 |
WX_VERSION_FULL=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null` |
| 2471 |
wx_config_major_version=`echo $WX_VERSION_FULL | \ |
| 2472 |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` |
| 2473 |
wx_config_minor_version=`echo $WX_VERSION_FULL | \ |
| 2474 |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` |
| 2475 |
wx_config_micro_version=`echo $WX_VERSION_FULL | \ |
| 2476 |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` |
| 2477 |
|
| 2478 |
wx_requested_major_version=`echo $min_wx_version | \ |
| 2479 |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` |
| 2480 |
wx_requested_minor_version=`echo $min_wx_version | \ |
| 2481 |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` |
| 2482 |
wx_requested_micro_version=`echo $min_wx_version | \ |
| 2483 |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` |
| 2484 |
|
| 2485 |
|
| 2486 |
wx_ver_ok="" |
| 2487 |
if test "x$WX_VERSION_FULL" != x ; then |
| 2488 |
if test $wx_config_major_version -gt $wx_requested_major_version; then |
| 2489 |
wx_ver_ok=yes |
| 2490 |
else |
| 2491 |
if test $wx_config_major_version -eq $wx_requested_major_version; then |
| 2492 |
if test $wx_config_minor_version -gt $wx_requested_minor_version; then |
| 2493 |
wx_ver_ok=yes |
| 2494 |
else |
| 2495 |
if test $wx_config_minor_version -eq $wx_requested_minor_version; then |
| 2496 |
if test $wx_config_micro_version -ge $wx_requested_micro_version; then |
| 2497 |
wx_ver_ok=yes |
| 2498 |
fi |
| 2499 |
fi |
| 2500 |
fi |
| 2501 |
fi |
| 2502 |
fi |
| 2503 |
fi |
| 2504 |
|
| 2505 |
|
| 2506 |
if test -n "$wx_ver_ok"; then |
| 2507 |
|
| 2508 |
{ echo "$as_me:$LINENO: result: yes (version $WX_VERSION_FULL)" >&5 |
| 2509 |
echo "${ECHO_T}yes (version $WX_VERSION_FULL)" >&6; } |
| 2510 |
WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs` |
| 2511 |
|
| 2512 |
{ echo "$as_me:$LINENO: checking for wxWidgets static library" >&5 |
| 2513 |
echo $ECHO_N "checking for wxWidgets static library... $ECHO_C" >&6; } |
| 2514 |
WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null` |
| 2515 |
if test "x$WX_LIBS_STATIC" = "x"; then |
| 2516 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2517 |
echo "${ECHO_T}no" >&6; } |
| 2518 |
else |
| 2519 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 2520 |
echo "${ECHO_T}yes" >&6; } |
| 2521 |
fi |
| 2522 |
|
| 2523 |
wx_has_cppflags="" |
| 2524 |
if test $wx_config_major_version -gt 2; then |
| 2525 |
wx_has_cppflags=yes |
| 2526 |
else |
| 2527 |
if test $wx_config_major_version -eq 2; then |
| 2528 |
if test $wx_config_minor_version -gt 2; then |
| 2529 |
wx_has_cppflags=yes |
| 2530 |
else |
| 2531 |
if test $wx_config_minor_version -eq 2; then |
| 2532 |
if test $wx_config_micro_version -ge 6; then |
| 2533 |
wx_has_cppflags=yes |
| 2534 |
fi |
| 2535 |
fi |
| 2536 |
fi |
| 2537 |
fi |
| 2538 |
fi |
| 2539 |
|
| 2540 |
wx_has_rescomp="" |
| 2541 |
if test $wx_config_major_version -gt 2; then |
| 2542 |
wx_has_rescomp=yes |
| 2543 |
else |
| 2544 |
if test $wx_config_major_version -eq 2; then |
| 2545 |
if test $wx_config_minor_version -ge 7; then |
| 2546 |
wx_has_rescomp=yes |
| 2547 |
fi |
| 2548 |
fi |
| 2549 |
fi |
| 2550 |
if test "x$wx_has_rescomp" = x ; then |
| 2551 |
WX_RESCOMP= |
| 2552 |
else |
| 2553 |
WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp` |
| 2554 |
fi |
| 2555 |
|
| 2556 |
if test "x$wx_has_cppflags" = x ; then |
| 2557 |
WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags` |
| 2558 |
WX_CPPFLAGS=$WX_CFLAGS |
| 2559 |
WX_CXXFLAGS=$WX_CFLAGS |
| 2560 |
|
| 2561 |
WX_CFLAGS_ONLY=$WX_CFLAGS |
| 2562 |
WX_CXXFLAGS_ONLY=$WX_CFLAGS |
| 2563 |
else |
| 2564 |
WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags` |
| 2565 |
WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags` |
| 2566 |
WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags` |
| 2567 |
|
| 2568 |
WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"` |
| 2569 |
WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"` |
| 2570 |
fi |
| 2571 |
|
| 2572 |
: |
| 2573 |
|
| 2574 |
else |
| 2575 |
|
| 2576 |
if test "x$WX_VERSION_FULL" = x; then |
| 2577 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2578 |
echo "${ECHO_T}no" >&6; } |
| 2579 |
else |
| 2580 |
{ echo "$as_me:$LINENO: result: no (version $WX_VERSION_FULL is not new enough)" >&5 |
| 2581 |
echo "${ECHO_T}no (version $WX_VERSION_FULL is not new enough)" >&6; } |
| 2582 |
fi |
| 2583 |
|
| 2584 |
WX_CFLAGS="" |
| 2585 |
WX_CPPFLAGS="" |
| 2586 |
WX_CXXFLAGS="" |
| 2587 |
WX_LIBS="" |
| 2588 |
WX_LIBS_STATIC="" |
| 2589 |
WX_RESCOMP="" |
| 2590 |
|
| 2591 |
if test ! -z "$WXCONFIG_FLAGS"; then |
| 2592 |
|
| 2593 |
wx_error_message=" |
| 2594 |
The configuration you asked for $PACKAGE_NAME requires a wxWidgets |
| 2595 |
build with the following settings: |
| 2596 |
$WXCONFIG_FLAGS |
| 2597 |
but such build is not available. |
| 2598 |
|
| 2599 |
To see the wxWidgets builds available on this system, please use |
| 2600 |
'wx-config --list' command. To use the default build, returned by |
| 2601 |
'wx-config --selected-config', use the options with their 'auto' |
| 2602 |
default values." |
| 2603 |
|
| 2604 |
fi |
| 2605 |
|
| 2606 |
wx_error_message=" |
| 2607 |
The requested wxWidgets build couldn't be found. |
| 2608 |
$wx_error_message |
| 2609 |
|
| 2610 |
If you still get this error, then check that 'wx-config' is |
| 2611 |
in path, the directory where wxWidgets libraries are installed |
| 2612 |
(returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH |
| 2613 |
or equivalent variable and wxWidgets version is 2.8.0 or above." |
| 2614 |
|
| 2615 |
{ { echo "$as_me:$LINENO: error: $wx_error_message" >&5 |
| 2616 |
echo "$as_me: error: $wx_error_message" >&2;} |
| 2617 |
{ (exit 1); exit 1; }; } |
| 2618 |
|
| 2619 |
fi |
| 2620 |
else |
| 2621 |
|
| 2622 |
WX_CFLAGS="" |
| 2623 |
WX_CPPFLAGS="" |
| 2624 |
WX_CXXFLAGS="" |
| 2625 |
WX_LIBS="" |
| 2626 |
WX_LIBS_STATIC="" |
| 2627 |
WX_RESCOMP="" |
| 2628 |
|
| 2629 |
: |
| 2630 |
|
| 2631 |
fi |
| 2632 |
|
| 2633 |
|
| 2634 |
|
| 2635 |
|
| 2636 |
|
| 2637 |
|
| 2638 |
|
| 2639 |
|
| 2640 |
|
| 2641 |
|
| 2642 |
|
| 2643 |
WX_VERSION_MAJOR="$wx_config_major_version" |
| 2644 |
WX_VERSION_MINOR="$wx_config_minor_version" |
| 2645 |
|
| 2646 |
|
| 2647 |
|
| 2648 |
|
| 2649 |
WX_VERSION="$WX_VERSION_MAJOR""$WX_VERSION_MINOR" |
| 2650 |
if test $WX_VERSION -lt 26 ; then |
| 2651 |
|
| 2652 |
{ { echo "$as_me:$LINENO: error: |
| 2653 |
Cannot detect the wxWidgets configuration for the selected wxWidgets build |
| 2654 |
since its version is $WX_VERSION_FULL < 2.6.0; please install a newer |
| 2655 |
version of wxWidgets. |
| 2656 |
" >&5 |
| 2657 |
echo "$as_me: error: |
| 2658 |
Cannot detect the wxWidgets configuration for the selected wxWidgets build |
| 2659 |
since its version is $WX_VERSION_FULL < 2.6.0; please install a newer |
| 2660 |
version of wxWidgets. |
| 2661 |
" >&2;} |
| 2662 |
{ (exit 1); exit 1; }; } |
| 2663 |
fi |
| 2664 |
|
| 2665 |
WX_SELECTEDCONFIG=$($WX_CONFIG_WITH_ARGS --selected_config) |
| 2666 |
|
| 2667 |
if test "$WX_DEBUG_CONFIGURE" = "1"; then |
| 2668 |
echo "[dbg] Using wx-config --selected-config" |
| 2669 |
echo "[dbg] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG" |
| 2670 |
fi |
| 2671 |
|
| 2672 |
|
| 2673 |
if test $WX_SHARED = "1"; then |
| 2674 |
STATIC=0 |
| 2675 |
elif test $WX_SHARED = "0"; then |
| 2676 |
STATIC=1 |
| 2677 |
elif test $WX_SHARED = "auto"; then |
| 2678 |
STATIC="auto" |
| 2679 |
fi |
| 2680 |
|
| 2681 |
|
| 2682 |
if test "$UNICODE" = "auto" ; then |
| 2683 |
|
| 2684 |
{ echo "$as_me:$LINENO: checking if wxWidgets was built with UNICODE enabled" >&5 |
| 2685 |
echo $ECHO_N "checking if wxWidgets was built with UNICODE enabled... $ECHO_C" >&6; } |
| 2686 |
|
| 2687 |
WX_UNICODE=$(expr "$WX_SELECTEDCONFIG" : ".*unicode.*") |
| 2688 |
|
| 2689 |
if test "$WX_UNICODE" != "0"; then |
| 2690 |
WX_UNICODE=1 |
| 2691 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 2692 |
echo "${ECHO_T}yes" >&6; } |
| 2693 |
: |
| 2694 |
else |
| 2695 |
WX_UNICODE=0 |
| 2696 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2697 |
echo "${ECHO_T}no" >&6; } |
| 2698 |
: |
| 2699 |
fi |
| 2700 |
else |
| 2701 |
|
| 2702 |
WX_UNICODE=$UNICODE |
| 2703 |
fi |
| 2704 |
|
| 2705 |
|
| 2706 |
if test "$DEBUG" = "auto" ; then |
| 2707 |
|
| 2708 |
{ echo "$as_me:$LINENO: checking if wxWidgets was built in DEBUG mode" >&5 |
| 2709 |
echo $ECHO_N "checking if wxWidgets was built in DEBUG mode... $ECHO_C" >&6; } |
| 2710 |
|
| 2711 |
WX_DEBUG=$(expr "$WX_SELECTEDCONFIG" : ".*debug.*") |
| 2712 |
|
| 2713 |
if test "$WX_DEBUG" != "0"; then |
| 2714 |
WX_DEBUG=1 |
| 2715 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 2716 |
echo "${ECHO_T}yes" >&6; } |
| 2717 |
: |
| 2718 |
else |
| 2719 |
WX_DEBUG=0 |
| 2720 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2721 |
echo "${ECHO_T}no" >&6; } |
| 2722 |
: |
| 2723 |
fi |
| 2724 |
else |
| 2725 |
|
| 2726 |
WX_DEBUG=$DEBUG |
| 2727 |
fi |
| 2728 |
|
| 2729 |
|
| 2730 |
if test "$STATIC" = "auto" ; then |
| 2731 |
|
| 2732 |
{ echo "$as_me:$LINENO: checking if wxWidgets was built in STATIC mode" >&5 |
| 2733 |
echo $ECHO_N "checking if wxWidgets was built in STATIC mode... $ECHO_C" >&6; } |
| 2734 |
|
| 2735 |
WX_STATIC=$(expr "$WX_SELECTEDCONFIG" : ".*static.*") |
| 2736 |
|
| 2737 |
if test "$WX_STATIC" != "0"; then |
| 2738 |
WX_STATIC=1 |
| 2739 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 2740 |
echo "${ECHO_T}yes" >&6; } |
| 2741 |
: |
| 2742 |
else |
| 2743 |
WX_STATIC=0 |
| 2744 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2745 |
echo "${ECHO_T}no" >&6; } |
| 2746 |
: |
| 2747 |
fi |
| 2748 |
else |
| 2749 |
|
| 2750 |
WX_STATIC=$STATIC |
| 2751 |
fi |
| 2752 |
|
| 2753 |
|
| 2754 |
if test "$WX_STATIC" != "0"; then |
| 2755 |
WX_SHARED=0 |
| 2756 |
else |
| 2757 |
WX_SHARED=1 |
| 2758 |
fi |
| 2759 |
|
| 2760 |
|
| 2761 |
|
| 2762 |
|
| 2763 |
|
| 2764 |
if test "$TOOLKIT" = "auto" ; then |
| 2765 |
|
| 2766 |
{ echo "$as_me:$LINENO: checking which wxWidgets toolkit was selected" >&5 |
| 2767 |
echo $ECHO_N "checking which wxWidgets toolkit was selected... $ECHO_C" >&6; } |
| 2768 |
|
| 2769 |
WX_GTKPORT1=$(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*") |
| 2770 |
WX_GTKPORT2=$(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*") |
| 2771 |
WX_MSWPORT=$(expr "$WX_SELECTEDCONFIG" : ".*msw.*") |
| 2772 |
WX_MOTIFPORT=$(expr "$WX_SELECTEDCONFIG" : ".*motif.*") |
| 2773 |
WX_MACPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mac.*") |
| 2774 |
WX_X11PORT=$(expr "$WX_SELECTEDCONFIG" : ".*x11.*") |
| 2775 |
WX_MGLPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mgl.*") |
| 2776 |
WX_DFBPORT=$(expr "$WX_SELECTEDCONFIG" : ".*dfb.*") |
| 2777 |
|
| 2778 |
WX_PORT="unknown" |
| 2779 |
if test "$WX_GTKPORT1" != "0"; then WX_PORT="gtk1"; fi |
| 2780 |
if test "$WX_GTKPORT2" != "0"; then WX_PORT="gtk2"; fi |
| 2781 |
if test "$WX_MSWPORT" != "0"; then WX_PORT="msw"; fi |
| 2782 |
if test "$WX_MOTIFPORT" != "0"; then WX_PORT="motif"; fi |
| 2783 |
if test "$WX_MACPORT" != "0"; then WX_PORT="mac"; fi |
| 2784 |
if test "$WX_X11PORT" != "0"; then WX_PORT="x11"; fi |
| 2785 |
if test "$WX_MGLPORT" != "0"; then WX_PORT="mgl"; fi |
| 2786 |
if test "$WX_DFBPORT" != "0"; then WX_PORT="dfb"; fi |
| 2787 |
|
| 2788 |
|
| 2789 |
if test "$WX_PORT" = "unknown" ; then |
| 2790 |
{ { echo "$as_me:$LINENO: error: |
| 2791 |
Cannot detect the currently installed wxWidgets port ! |
| 2792 |
Please check your 'wx-config --cxxflags'... |
| 2793 |
" >&5 |
| 2794 |
echo "$as_me: error: |
| 2795 |
Cannot detect the currently installed wxWidgets port ! |
| 2796 |
Please check your 'wx-config --cxxflags'... |
| 2797 |
" >&2;} |
| 2798 |
{ (exit 1); exit 1; }; } |
| 2799 |
fi |
| 2800 |
|
| 2801 |
{ echo "$as_me:$LINENO: result: $WX_PORT" >&5 |
| 2802 |
echo "${ECHO_T}$WX_PORT" >&6; } |
| 2803 |
else |
| 2804 |
|
| 2805 |
if test -z "$TOOLKIT" ; then |
| 2806 |
WX_PORT=$TOOLKIT |
| 2807 |
else |
| 2808 |
WX_PORT=$PORT |
| 2809 |
fi |
| 2810 |
fi |
| 2811 |
|
| 2812 |
|
| 2813 |
|
| 2814 |
if test "$WX_DEBUG_CONFIGURE" = "1"; then |
| 2815 |
echo "[dbg] Values of all WX_* options after final detection:" |
| 2816 |
echo "[dbg] WX_DEBUG: $WX_DEBUG" |
| 2817 |
echo "[dbg] WX_UNICODE: $WX_UNICODE" |
| 2818 |
echo "[dbg] WX_SHARED: $WX_SHARED" |
| 2819 |
echo "[dbg] WX_VERSION: $WX_VERSION" |
| 2820 |
echo "[dbg] WX_PORT: $WX_PORT" |
| 2821 |
fi |
| 2822 |
|
| 2823 |
if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then |
| 2824 |
{ { echo "$as_me:$LINENO: error: |
| 2825 |
Cannot build shared library against a static build of wxWidgets ! |
| 2826 |
This error happens because the wxWidgets build which was selected |
| 2827 |
has been detected as static while you asked to build $PACKAGE_NAME |
| 2828 |
as shared library and this is not possible. |
| 2829 |
Use the '--disable-shared' option to build $PACKAGE_NAME |
| 2830 |
as static library or '--with-wxshared' to use wxWidgets as shared library. |
| 2831 |
" >&5 |
| 2832 |
echo "$as_me: error: |
| 2833 |
Cannot build shared library against a static build of wxWidgets ! |
| 2834 |
This error happens because the wxWidgets build which was selected |
| 2835 |
has been detected as static while you asked to build $PACKAGE_NAME |
| 2836 |
as shared library and this is not possible. |
| 2837 |
Use the '--disable-shared' option to build $PACKAGE_NAME |
| 2838 |
as static library or '--with-wxshared' to use wxWidgets as shared library. |
| 2839 |
" >&2;} |
| 2840 |
{ (exit 1); exit 1; }; } |
| 2841 |
fi |
| 2842 |
|
| 2843 |
if test "$DEBUG" = "auto"; then |
| 2844 |
DEBUG=$WX_DEBUG |
| 2845 |
|
| 2846 |
if test "$DEBUG" = "1"; then |
| 2847 |
BUILD="debug" |
| 2848 |
elif test "$DEBUG" = ""; then |
| 2849 |
BUILD="release" |
| 2850 |
fi |
| 2851 |
fi |
| 2852 |
if test "$UNICODE" = "auto"; then |
| 2853 |
UNICODE=$WX_UNICODE |
| 2854 |
fi |
| 2855 |
if test "$SHARED" = "auto"; then |
| 2856 |
SHARED=$WX_SHARED |
| 2857 |
fi |
| 2858 |
if test "$TOOLKIT" = "auto"; then |
| 2859 |
TOOLKIT=$WX_PORT |
| 2860 |
fi |
| 2861 |
|
| 2862 |
if test "$DEBUG" = "1"; then |
| 2863 |
CXXFLAGS="$CXXFLAGS -g -O0" |
| 2864 |
CFLAGS="$CFLAGS -g -O0" |
| 2865 |
else |
| 2866 |
CXXFLAGS="$CXXFLAGS -O2" |
| 2867 |
CFLAGS="$CFLAGS -O2" |
| 2868 |
fi |
| 2869 |
|
| 2870 |
# we need at least wxWidgets 2.8 to work |
| 2871 |
|
| 2872 |
# add GTK include/lib paths |
| 2873 |
CPPFLAGS="$CPPFLAGS `pkg-config gtk+-2.0 --cflags`" |
| 2874 |
#CFLAGS="$CPPFLAGS `pkg-config gtk+-2.0 --cflags`" |
| 2875 |
|
| 2876 |
|
| 2877 |
# end in a nice way the configure script |
| 2878 |
ac_ext=cpp |
| 2879 |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 2880 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2881 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2882 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 2883 |
if test -z "$CXX"; then |
| 2884 |
if test -n "$CCC"; then |
| 2885 |
CXX=$CCC |
| 2886 |
else |
| 2887 |
if test -n "$ac_tool_prefix"; then |
| 2888 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
| 2889 |
do |
| 2890 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 2891 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2892 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2893 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2894 |
if test "${ac_cv_prog_CXX+set}" = set; then |
| 2895 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2896 |
else |
| 2897 |
if test -n "$CXX"; then |
| 2898 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
| 2899 |
else |
| 2900 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2901 |
for as_dir in $PATH |
| 2902 |
do |
| 2903 |
IFS=$as_save_IFS |
| 2904 |
test -z "$as_dir" && as_dir=. |
| 2905 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2906 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2907 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
| 2908 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2909 |
break 2 |
| 2910 |
fi |
| 2911 |
done |
| 2912 |
done |
| 2913 |
IFS=$as_save_IFS |
| 2914 |
|
| 2915 |
fi |
| 2916 |
fi |
| 2917 |
CXX=$ac_cv_prog_CXX |
| 2918 |
if test -n "$CXX"; then |
| 2919 |
{ echo "$as_me:$LINENO: result: $CXX" >&5 |
| 2920 |
echo "${ECHO_T}$CXX" >&6; } |
| 2921 |
else |
| 2922 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2923 |
echo "${ECHO_T}no" >&6; } |
| 2924 |
fi |
| 2925 |
|
| 2926 |
|
| 2927 |
test -n "$CXX" && break |
| 2928 |
done |
| 2929 |
fi |
| 2930 |
if test -z "$CXX"; then |
| 2931 |
ac_ct_CXX=$CXX |
| 2932 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
| 2933 |
do |
| 2934 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2935 |
set dummy $ac_prog; ac_word=$2 |
| 2936 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2937 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2938 |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
| 2939 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2940 |
else |
| 2941 |
if test -n "$ac_ct_CXX"; then |
| 2942 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
| 2943 |
else |
| 2944 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2945 |
for as_dir in $PATH |
| 2946 |
do |
| 2947 |
IFS=$as_save_IFS |
| 2948 |
test -z "$as_dir" && as_dir=. |
| 2949 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2950 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2951 |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
| 2952 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2953 |
break 2 |
| 2954 |
fi |
| 2955 |
done |
| 2956 |
done |
| 2957 |
IFS=$as_save_IFS |
| 2958 |
|
| 2959 |
fi |
| 2960 |
fi |
| 2961 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
| 2962 |
if test -n "$ac_ct_CXX"; then |
| 2963 |
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
| 2964 |
echo "${ECHO_T}$ac_ct_CXX" >&6; } |
| 2965 |
else |
| 2966 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2967 |
echo "${ECHO_T}no" >&6; } |
| 2968 |
fi |
| 2969 |
|
| 2970 |
|
| 2971 |
test -n "$ac_ct_CXX" && break |
| 2972 |
done |
| 2973 |
|
| 2974 |
if test "x$ac_ct_CXX" = x; then |
| 2975 |
CXX="g++" |
| 2976 |
else |
| 2977 |
case $cross_compiling:$ac_tool_warned in |
| 2978 |
yes:) |
| 2979 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 2980 |
whose name does not start with the host triplet. If you think this |
| 2981 |
configuration is useful to you, please write to [email protected]." >&5 |
| 2982 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
| 2983 |
whose name does not start with the host triplet. If you think this |
| 2984 |
configuration is useful to you, please write to [email protected]." >&2;} |
| 2985 |
ac_tool_warned=yes ;; |
| 2986 |
esac |
| 2987 |
CXX=$ac_ct_CXX |
| 2988 |
fi |
| 2989 |
fi |
| 2990 |
|
| 2991 |
fi |
| 2992 |
fi |
| 2993 |
# Provide some information about the compiler. |
| 2994 |
echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
| 2995 |
ac_compiler=`set X $ac_compile; echo $2` |
| 2996 |
{ (ac_try="$ac_compiler --version >&5" |
| 2997 |
case "(($ac_try" in |
| 2998 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2999 |
*) ac_try_echo=$ac_try;; |
| 3000 |
esac |
| 3001 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3002 |
(eval "$ac_compiler --version >&5") 2>&5 |
| 3003 |
ac_status=$? |
| 3004 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3005 |
(exit $ac_status); } |
| 3006 |
{ (ac_try="$ac_compiler -v >&5" |
| 3007 |
case "(($ac_try" in |
| 3008 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3009 |
*) ac_try_echo=$ac_try;; |
| 3010 |
esac |
| 3011 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3012 |
(eval "$ac_compiler -v >&5") 2>&5 |
| 3013 |
ac_status=$? |
| 3014 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3015 |
(exit $ac_status); } |
| 3016 |
{ (ac_try="$ac_compiler -V >&5" |
| 3017 |
case "(($ac_try" in |
| 3018 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3019 |
*) ac_try_echo=$ac_try;; |
| 3020 |
esac |
| 3021 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3022 |
(eval "$ac_compiler -V >&5") 2>&5 |
| 3023 |
ac_status=$? |
| 3024 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3025 |
(exit $ac_status); } |
| 3026 |
|
| 3027 |
cat >conftest.$ac_ext <<_ACEOF |
| 3028 |
/* confdefs.h. */ |
| 3029 |
_ACEOF |
| 3030 |
cat confdefs.h >>conftest.$ac_ext |
| 3031 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3032 |
/* end confdefs.h. */ |
| 3033 |
|
| 3034 |
int |
| 3035 |
main () |
| 3036 |
{ |
| 3037 |
|
| 3038 |
; |
| 3039 |
return 0; |
| 3040 |
} |
| 3041 |
_ACEOF |
| 3042 |
ac_clean_files_save=$ac_clean_files |
| 3043 |
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
| 3044 |
# Try to create an executable without -o first, disregard a.out. |
| 3045 |
# It will help us diagnose broken compilers, and finding out an intuition |
| 3046 |
# of exeext. |
| 3047 |
{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 |
| 3048 |
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; } |
| 3049 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 3050 |
# |
| 3051 |
# List of possible output files, starting from the most likely. |
| 3052 |
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
| 3053 |
# only as a last resort. b.out is created by i960 compilers. |
| 3054 |
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
| 3055 |
# |
| 3056 |
# The IRIX 6 linker writes into existing files which may not be |
| 3057 |
# executable, retaining their permissions. Remove them first so a |
| 3058 |
# subsequent execution test works. |
| 3059 |
ac_rmfiles= |
| 3060 |
for ac_file in $ac_files |
| 3061 |
do |
| 3062 |
case $ac_file in |
| 3063 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
| 3064 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
| 3065 |
esac |
| 3066 |
done |
| 3067 |
rm -f $ac_rmfiles |
| 3068 |
|
| 3069 |
if { (ac_try="$ac_link_default" |
| 3070 |
case "(($ac_try" in |
| 3071 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3072 |
*) ac_try_echo=$ac_try;; |
| 3073 |
esac |
| 3074 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3075 |
(eval "$ac_link_default") 2>&5 |
| 3076 |
ac_status=$? |
| 3077 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3078 |
(exit $ac_status); }; then |
| 3079 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 3080 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 3081 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 3082 |
# so that the user can short-circuit this test for compilers unknown to |
| 3083 |
# Autoconf. |
| 3084 |
for ac_file in $ac_files |
| 3085 |
do |
| 3086 |
test -f "$ac_file" || continue |
| 3087 |
case $ac_file in |
| 3088 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
| 3089 |
;; |
| 3090 |
[ab].out ) |
| 3091 |
# We found the default executable, but exeext='' is most |
| 3092 |
# certainly right. |
| 3093 |
break;; |
| 3094 |
*.* ) |
| 3095 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 3096 |
then :; else |
| 3097 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 3098 |
fi |
| 3099 |
# We set ac_cv_exeext here because the later test for it is not |
| 3100 |
# safe: cross compilers may not add the suffix if given an `-o' |
| 3101 |
# argument, so we may need to know it at that point already. |
| 3102 |
# Even if this section looks crufty: it has the advantage of |
| 3103 |
# actually working. |
| 3104 |
break;; |
| 3105 |
* ) |
| 3106 |
break;; |
| 3107 |
esac |
| 3108 |
done |
| 3109 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
| 3110 |
|
| 3111 |
else |
| 3112 |
echo "$as_me: failed program was:" >&5 |
| 3113 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3114 |
|
| 3115 |
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables |
| 3116 |
See \`config.log' for more details." >&5 |
| 3117 |
echo "$as_me: error: C++ compiler cannot create executables |
| 3118 |
See \`config.log' for more details." >&2;} |
| 3119 |
{ (exit 77); exit 77; }; } |
| 3120 |
fi |
| 3121 |
|
| 3122 |
ac_exeext=$ac_cv_exeext |
| 3123 |
{ echo "$as_me:$LINENO: result: $ac_file" >&5 |
| 3124 |
echo "${ECHO_T}$ac_file" >&6; } |
| 3125 |
|
| 3126 |
# Check that the compiler produces executables we can run. If not, either |
| 3127 |
# the compiler is broken, or we cross compile. |
| 3128 |
{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 |
| 3129 |
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; } |
| 3130 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
| 3131 |
# If not cross compiling, check that we can run a simple program. |
| 3132 |
if test "$cross_compiling" != yes; then |
| 3133 |
if { ac_try='./$ac_file' |
| 3134 |
{ (case "(($ac_try" in |
| 3135 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3136 |
*) ac_try_echo=$ac_try;; |
| 3137 |
esac |
| 3138 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3139 |
(eval "$ac_try") 2>&5 |
| 3140 |
ac_status=$? |
| 3141 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3142 |
(exit $ac_status); }; }; then |
| 3143 |
cross_compiling=no |
| 3144 |
else |
| 3145 |
if test "$cross_compiling" = maybe; then |
| 3146 |
cross_compiling=yes |
| 3147 |
else |
| 3148 |
{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. |
| 3149 |
If you meant to cross compile, use \`--host'. |
| 3150 |
See \`config.log' for more details." >&5 |
| 3151 |
echo "$as_me: error: cannot run C++ compiled programs. |
| 3152 |
If you meant to cross compile, use \`--host'. |
| 3153 |
See \`config.log' for more details." >&2;} |
| 3154 |
{ (exit 1); exit 1; }; } |
| 3155 |
fi |
| 3156 |
fi |
| 3157 |
fi |
| 3158 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 3159 |
echo "${ECHO_T}yes" >&6; } |
| 3160 |
|
| 3161 |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
| 3162 |
ac_clean_files=$ac_clean_files_save |
| 3163 |
# Check that the compiler produces executables we can run. If not, either |
| 3164 |
# the compiler is broken, or we cross compile. |
| 3165 |
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| 3166 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
| 3167 |
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
| 3168 |
echo "${ECHO_T}$cross_compiling" >&6; } |
| 3169 |
|
| 3170 |
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| 3171 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
| 3172 |
if { (ac_try="$ac_link" |
| 3173 |
case "(($ac_try" in |
| 3174 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3175 |
*) ac_try_echo=$ac_try;; |
| 3176 |
esac |
| 3177 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3178 |
(eval "$ac_link") 2>&5 |
| 3179 |
ac_status=$? |
| 3180 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3181 |
(exit $ac_status); }; then |
| 3182 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 3183 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 3184 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
| 3185 |
# `rm'. |
| 3186 |
for ac_file in conftest.exe conftest conftest.*; do |
| 3187 |
test -f "$ac_file" || continue |
| 3188 |
case $ac_file in |
| 3189 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
| 3190 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 3191 |
break;; |
| 3192 |
* ) break;; |
| 3193 |
esac |
| 3194 |
done |
| 3195 |
else |
| 3196 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
| 3197 |
See \`config.log' for more details." >&5 |
| 3198 |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
| 3199 |
See \`config.log' for more details." >&2;} |
| 3200 |
{ (exit 1); exit 1; }; } |
| 3201 |
fi |
| 3202 |
|
| 3203 |
rm -f conftest$ac_cv_exeext |
| 3204 |
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| 3205 |
echo "${ECHO_T}$ac_cv_exeext" >&6; } |
| 3206 |
|
| 3207 |
rm -f conftest.$ac_ext |
| 3208 |
EXEEXT=$ac_cv_exeext |
| 3209 |
ac_exeext=$EXEEXT |
| 3210 |
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 3211 |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
| 3212 |
if test "${ac_cv_objext+set}" = set; then |
| 3213 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3214 |
else |
| 3215 |
cat >conftest.$ac_ext <<_ACEOF |
| 3216 |
/* confdefs.h. */ |
| 3217 |
_ACEOF |
| 3218 |
cat confdefs.h >>conftest.$ac_ext |
| 3219 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3220 |
/* end confdefs.h. */ |
| 3221 |
|
| 3222 |
int |
| 3223 |
main () |
| 3224 |
{ |
| 3225 |
|
| 3226 |
; |
| 3227 |
return 0; |
| 3228 |
} |
| 3229 |
_ACEOF |
| 3230 |
rm -f conftest.o conftest.obj |
| 3231 |
if { (ac_try="$ac_compile" |
| 3232 |
case "(($ac_try" in |
| 3233 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3234 |
*) ac_try_echo=$ac_try;; |
| 3235 |
esac |
| 3236 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3237 |
(eval "$ac_compile") 2>&5 |
| 3238 |
ac_status=$? |
| 3239 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3240 |
(exit $ac_status); }; then |
| 3241 |
for ac_file in conftest.o conftest.obj conftest.*; do |
| 3242 |
test -f "$ac_file" || continue; |
| 3243 |
case $ac_file in |
| 3244 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
| 3245 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 3246 |
break;; |
| 3247 |
esac |
| 3248 |
done |
| 3249 |
else |
| 3250 |
echo "$as_me: failed program was:" >&5 |
| 3251 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3252 |
|
| 3253 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
| 3254 |
See \`config.log' for more details." >&5 |
| 3255 |
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
| 3256 |
See \`config.log' for more details." >&2;} |
| 3257 |
{ (exit 1); exit 1; }; } |
| 3258 |
fi |
| 3259 |
|
| 3260 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 3261 |
fi |
| 3262 |
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 3263 |
echo "${ECHO_T}$ac_cv_objext" >&6; } |
| 3264 |
OBJEXT=$ac_cv_objext |
| 3265 |
ac_objext=$OBJEXT |
| 3266 |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
| 3267 |
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } |
| 3268 |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
| 3269 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3270 |
else |
| 3271 |
cat >conftest.$ac_ext <<_ACEOF |
| 3272 |
/* confdefs.h. */ |
| 3273 |
_ACEOF |
| 3274 |
cat confdefs.h >>conftest.$ac_ext |
| 3275 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3276 |
/* end confdefs.h. */ |
| 3277 |
|
| 3278 |
int |
| 3279 |
main () |
| 3280 |
{ |
| 3281 |
#ifndef __GNUC__ |
| 3282 |
choke me |
| 3283 |
#endif |
| 3284 |
|
| 3285 |
; |
| 3286 |
return 0; |
| 3287 |
} |
| 3288 |
_ACEOF |
| 3289 |
rm -f conftest.$ac_objext |
| 3290 |
if { (ac_try="$ac_compile" |
| 3291 |
case "(($ac_try" in |
| 3292 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3293 |
*) ac_try_echo=$ac_try;; |
| 3294 |
esac |
| 3295 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3296 |
(eval "$ac_compile") 2>conftest.er1 |
| 3297 |
ac_status=$? |
| 3298 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3299 |
rm -f conftest.er1 |
| 3300 |
cat conftest.err >&5 |
| 3301 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3302 |
(exit $ac_status); } && |
| 3303 |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
| 3304 |
{ (case "(($ac_try" in |
| 3305 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3306 |
*) ac_try_echo=$ac_try;; |
| 3307 |
esac |
| 3308 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3309 |
(eval "$ac_try") 2>&5 |
| 3310 |
ac_status=$? |
| 3311 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3312 |
(exit $ac_status); }; } && |
| 3313 |
{ ac_try='test -s conftest.$ac_objext' |
| 3314 |
{ (case "(($ac_try" in |
| 3315 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3316 |
*) ac_try_echo=$ac_try;; |
| 3317 |
esac |
| 3318 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3319 |
(eval "$ac_try") 2>&5 |
| 3320 |
ac_status=$? |
| 3321 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3322 |
(exit $ac_status); }; }; then |
| 3323 |
ac_compiler_gnu=yes |
| 3324 |
else |
| 3325 |
echo "$as_me: failed program was:" >&5 |
| 3326 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3327 |
|
| 3328 |
ac_compiler_gnu=no |
| 3329 |
fi |
| 3330 |
|
| 3331 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3332 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
| 3333 |
|
| 3334 |
fi |
| 3335 |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
| 3336 |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } |
| 3337 |
GXX=`test $ac_compiler_gnu = yes && echo yes` |
| 3338 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
| 3339 |
ac_save_CXXFLAGS=$CXXFLAGS |
| 3340 |
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
| 3341 |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } |
| 3342 |
if test "${ac_cv_prog_cxx_g+set}" = set; then |
| 3343 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3344 |
else |
| 3345 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
| 3346 |
ac_cxx_werror_flag=yes |
| 3347 |
ac_cv_prog_cxx_g=no |
| 3348 |
CXXFLAGS="-g" |
| 3349 |
cat >conftest.$ac_ext <<_ACEOF |
| 3350 |
/* confdefs.h. */ |
| 3351 |
_ACEOF |
| 3352 |
cat confdefs.h >>conftest.$ac_ext |
| 3353 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3354 |
/* end confdefs.h. */ |
| 3355 |
|
| 3356 |
int |
| 3357 |
main () |
| 3358 |
{ |
| 3359 |
|
| 3360 |
; |
| 3361 |
return 0; |
| 3362 |
} |
| 3363 |
_ACEOF |
| 3364 |
rm -f conftest.$ac_objext |
| 3365 |
if { (ac_try="$ac_compile" |
| 3366 |
case "(($ac_try" in |
| 3367 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3368 |
*) ac_try_echo=$ac_try;; |
| 3369 |
esac |
| 3370 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3371 |
(eval "$ac_compile") 2>conftest.er1 |
| 3372 |
ac_status=$? |
| 3373 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3374 |
rm -f conftest.er1 |
| 3375 |
cat conftest.err >&5 |
| 3376 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3377 |
(exit $ac_status); } && |
| 3378 |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
| 3379 |
{ (case "(($ac_try" in |
| 3380 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3381 |
*) ac_try_echo=$ac_try;; |
| 3382 |
esac |
| 3383 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3384 |
(eval "$ac_try") 2>&5 |
| 3385 |
ac_status=$? |
| 3386 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3387 |
(exit $ac_status); }; } && |
| 3388 |
{ ac_try='test -s conftest.$ac_objext' |
| 3389 |
{ (case "(($ac_try" in |
| 3390 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3391 |
*) ac_try_echo=$ac_try;; |
| 3392 |
esac |
| 3393 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3394 |
(eval "$ac_try") 2>&5 |
| 3395 |
ac_status=$? |
| 3396 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3397 |
(exit $ac_status); }; }; then |
| 3398 |
ac_cv_prog_cxx_g=yes |
| 3399 |
else |
| 3400 |
echo "$as_me: failed program was:" >&5 |
| 3401 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3402 |
|
| 3403 |
CXXFLAGS="" |
| 3404 |
cat >conftest.$ac_ext <<_ACEOF |
| 3405 |
/* confdefs.h. */ |
| 3406 |
_ACEOF |
| 3407 |
cat confdefs.h >>conftest.$ac_ext |
| 3408 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3409 |
/* end confdefs.h. */ |
| 3410 |
|
| 3411 |
int |
| 3412 |
main () |
| 3413 |
{ |
| 3414 |
|
| 3415 |
; |
| 3416 |
return 0; |
| 3417 |
} |
| 3418 |
_ACEOF |
| 3419 |
rm -f conftest.$ac_objext |
| 3420 |
if { (ac_try="$ac_compile" |
| 3421 |
case "(($ac_try" in |
| 3422 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3423 |
*) ac_try_echo=$ac_try;; |
| 3424 |
esac |
| 3425 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3426 |
(eval "$ac_compile") 2>conftest.er1 |
| 3427 |
ac_status=$? |
| 3428 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3429 |
rm -f conftest.er1 |
| 3430 |
cat conftest.err >&5 |
| 3431 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3432 |
(exit $ac_status); } && |
| 3433 |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
| 3434 |
{ (case "(($ac_try" in |
| 3435 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3436 |
*) ac_try_echo=$ac_try;; |
| 3437 |
esac |
| 3438 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3439 |
(eval "$ac_try") 2>&5 |
| 3440 |
ac_status=$? |
| 3441 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3442 |
(exit $ac_status); }; } && |
| 3443 |
{ ac_try='test -s conftest.$ac_objext' |
| 3444 |
{ (case "(($ac_try" in |
| 3445 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3446 |
*) ac_try_echo=$ac_try;; |
| 3447 |
esac |
| 3448 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3449 |
(eval "$ac_try") 2>&5 |
| 3450 |
ac_status=$? |
| 3451 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3452 |
(exit $ac_status); }; }; then |
| 3453 |
: |
| 3454 |
else |
| 3455 |
echo "$as_me: failed program was:" >&5 |
| 3456 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3457 |
|
| 3458 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
| 3459 |
CXXFLAGS="-g" |
| 3460 |
cat >conftest.$ac_ext <<_ACEOF |
| 3461 |
/* confdefs.h. */ |
| 3462 |
_ACEOF |
| 3463 |
cat confdefs.h >>conftest.$ac_ext |
| 3464 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3465 |
/* end confdefs.h. */ |
| 3466 |
|
| 3467 |
int |
| 3468 |
main () |
| 3469 |
{ |
| 3470 |
|
| 3471 |
; |
| 3472 |
return 0; |
| 3473 |
} |
| 3474 |
_ACEOF |
| 3475 |
rm -f conftest.$ac_objext |
| 3476 |
if { (ac_try="$ac_compile" |
| 3477 |
case "(($ac_try" in |
| 3478 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3479 |
*) ac_try_echo=$ac_try;; |
| 3480 |
esac |
| 3481 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3482 |
(eval "$ac_compile") 2>conftest.er1 |
| 3483 |
ac_status=$? |
| 3484 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3485 |
rm -f conftest.er1 |
| 3486 |
cat conftest.err >&5 |
| 3487 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3488 |
(exit $ac_status); } && |
| 3489 |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
| 3490 |
{ (case "(($ac_try" in |
| 3491 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3492 |
*) ac_try_echo=$ac_try;; |
| 3493 |
esac |
| 3494 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3495 |
(eval "$ac_try") 2>&5 |
| 3496 |
ac_status=$? |
| 3497 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3498 |
(exit $ac_status); }; } && |
| 3499 |
{ ac_try='test -s conftest.$ac_objext' |
| 3500 |
{ (case "(($ac_try" in |
| 3501 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3502 |
*) ac_try_echo=$ac_try;; |
| 3503 |
esac |
| 3504 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3505 |
(eval "$ac_try") 2>&5 |
| 3506 |
ac_status=$? |
| 3507 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3508 |
(exit $ac_status); }; }; then |
| 3509 |
ac_cv_prog_cxx_g=yes |
| 3510 |
else |
| 3511 |
echo "$as_me: failed program was:" >&5 |
| 3512 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3513 |
|
| 3514 |
|
| 3515 |
fi |
| 3516 |
|
| 3517 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3518 |
fi |
| 3519 |
|
| 3520 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3521 |
fi |
| 3522 |
|
| 3523 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3524 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
| 3525 |
fi |
| 3526 |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
| 3527 |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } |
| 3528 |
if test "$ac_test_CXXFLAGS" = set; then |
| 3529 |
CXXFLAGS=$ac_save_CXXFLAGS |
| 3530 |
elif test $ac_cv_prog_cxx_g = yes; then |
| 3531 |
if test "$GXX" = yes; then |
| 3532 |
CXXFLAGS="-g -O2" |
| 3533 |
else |
| 3534 |
CXXFLAGS="-g" |
| 3535 |
fi |
| 3536 |
else |
| 3537 |
if test "$GXX" = yes; then |
| 3538 |
CXXFLAGS="-O2" |
| 3539 |
else |
| 3540 |
CXXFLAGS= |
| 3541 |
fi |
| 3542 |
fi |
| 3543 |
ac_ext=cpp |
| 3544 |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 3545 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3546 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3547 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 3548 |
|
| 3549 |
|
| 3550 |
|
| 3551 |
|
| 3552 |
|
| 3553 |
|
| 3554 |
|
| 3555 |
if test "x$BAKEFILE_HOST" = "x"; then |
| 3556 |
if test "x${host}" = "x" ; then |
| 3557 |
{ { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5 |
| 3558 |
echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;} |
| 3559 |
{ (exit 1); exit 1; }; } |
| 3560 |
fi |
| 3561 |
|
| 3562 |
BAKEFILE_HOST="${host}" |
| 3563 |
fi |
| 3564 |
|
| 3565 |
if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then |
| 3566 |
|
| 3567 |
if test -n "$ac_tool_prefix"; then |
| 3568 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 3569 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 3570 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3571 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3572 |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
| 3573 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3574 |
else |
| 3575 |
if test -n "$RANLIB"; then |
| 3576 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 3577 |
else |
| 3578 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3579 |
for as_dir in $PATH |
| 3580 |
do |
| 3581 |
IFS=$as_save_IFS |
| 3582 |
test -z "$as_dir" && as_dir=. |
| 3583 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3584 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3585 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 3586 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3587 |
break 2 |
| 3588 |
fi |
| 3589 |
done |
| 3590 |
done |
| 3591 |
IFS=$as_save_IFS |
| 3592 |
|
| 3593 |
fi |
| 3594 |
fi |
| 3595 |
RANLIB=$ac_cv_prog_RANLIB |
| 3596 |
if test -n "$RANLIB"; then |
| 3597 |
{ echo "$as_me:$LINENO: result: $RANLIB" >&5 |
| 3598 |
echo "${ECHO_T}$RANLIB" >&6; } |
| 3599 |
else |
| 3600 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3601 |
echo "${ECHO_T}no" >&6; } |
| 3602 |
fi |
| 3603 |
|
| 3604 |
|
| 3605 |
fi |
| 3606 |
if test -z "$ac_cv_prog_RANLIB"; then |
| 3607 |
ac_ct_RANLIB=$RANLIB |
| 3608 |
# Extract the first word of "ranlib", so it can be a program name with args. |
| 3609 |
set dummy ranlib; ac_word=$2 |
| 3610 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3611 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3612 |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
| 3613 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3614 |
else |
| 3615 |
if test -n "$ac_ct_RANLIB"; then |
| 3616 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
| 3617 |
else |
| 3618 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3619 |
for as_dir in $PATH |
| 3620 |
do |
| 3621 |
IFS=$as_save_IFS |
| 3622 |
test -z "$as_dir" && as_dir=. |
| 3623 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3624 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3625 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 3626 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3627 |
break 2 |
| 3628 |
fi |
| 3629 |
done |
| 3630 |
done |
| 3631 |
IFS=$as_save_IFS |
| 3632 |
|
| 3633 |
fi |
| 3634 |
fi |
| 3635 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 3636 |
if test -n "$ac_ct_RANLIB"; then |
| 3637 |
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
| 3638 |
echo "${ECHO_T}$ac_ct_RANLIB" >&6; } |
| 3639 |
else |
| 3640 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3641 |
echo "${ECHO_T}no" >&6; } |
| 3642 |
fi |
| 3643 |
|
| 3644 |
if test "x$ac_ct_RANLIB" = x; then |
| 3645 |
RANLIB=":" |
| 3646 |
else |
| 3647 |
case $cross_compiling:$ac_tool_warned in |
| 3648 |
yes:) |
| 3649 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 3650 |
whose name does not start with the host triplet. If you think this |
| 3651 |
configuration is useful to you, please write to [email protected]." >&5 |
| 3652 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
| 3653 |
whose name does not start with the host triplet. If you think this |
| 3654 |
configuration is useful to you, please write to [email protected]." >&2;} |
| 3655 |
ac_tool_warned=yes ;; |
| 3656 |
esac |
| 3657 |
RANLIB=$ac_ct_RANLIB |
| 3658 |
fi |
| 3659 |
else |
| 3660 |
RANLIB="$ac_cv_prog_RANLIB" |
| 3661 |
fi |
| 3662 |
|
| 3663 |
# Find a good install program. We prefer a C program (faster), |
| 3664 |
# so one script is as good as another. But avoid the broken or |
| 3665 |
# incompatible versions: |
| 3666 |
# SysV /etc/install, /usr/sbin/install |
| 3667 |
# SunOS /usr/etc/install |
| 3668 |
# IRIX /sbin/install |
| 3669 |
# AIX /bin/install |
| 3670 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
| 3671 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 3672 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 3673 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3674 |
# OS/2's system install, which has a completely different semantic |
| 3675 |
# ./install, which can be erroneously created by make from ./install.sh. |
| 3676 |
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 3677 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
| 3678 |
if test -z "$INSTALL"; then |
| 3679 |
if test "${ac_cv_path_install+set}" = set; then |
| 3680 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3681 |
else |
| 3682 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3683 |
for as_dir in $PATH |
| 3684 |
do |
| 3685 |
IFS=$as_save_IFS |
| 3686 |
test -z "$as_dir" && as_dir=. |
| 3687 |
# Account for people who put trailing slashes in PATH elements. |
| 3688 |
case $as_dir/ in |
| 3689 |
./ | .// | /cC/* | \ |
| 3690 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 3691 |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
| 3692 |
/usr/ucb/* ) ;; |
| 3693 |
*) |
| 3694 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
| 3695 |
# Don't use installbsd from OSF since it installs stuff as root |
| 3696 |
# by default. |
| 3697 |
for ac_prog in ginstall scoinst install; do |
| 3698 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3699 |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then |
| 3700 |
if test $ac_prog = install && |
| 3701 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3702 |
# AIX install. It has an incompatible calling convention. |
| 3703 |
: |
| 3704 |
elif test $ac_prog = install && |
| 3705 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3706 |
# program-specific install script used by HP pwplus--don't use. |
| 3707 |
: |
| 3708 |
else |
| 3709 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 3710 |
break 3 |
| 3711 |
fi |
| 3712 |
fi |
| 3713 |
done |
| 3714 |
done |
| 3715 |
;; |
| 3716 |
esac |
| 3717 |
done |
| 3718 |
IFS=$as_save_IFS |
| 3719 |
|
| 3720 |
|
| 3721 |
fi |
| 3722 |
if test "${ac_cv_path_install+set}" = set; then |
| 3723 |
INSTALL=$ac_cv_path_install |
| 3724 |
else |
| 3725 |
# As a last resort, use the slow shell script. Don't cache a |
| 3726 |
# value for INSTALL within a source directory, because that will |
| 3727 |
# break other packages using the cache if that directory is |
| 3728 |
# removed, or if the value is a relative name. |
| 3729 |
INSTALL=$ac_install_sh |
| 3730 |
fi |
| 3731 |
fi |
| 3732 |
{ echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| 3733 |
echo "${ECHO_T}$INSTALL" >&6; } |
| 3734 |
|
| 3735 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 3736 |
# It thinks the first close brace ends the variable substitution. |
| 3737 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 3738 |
|
| 3739 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 3740 |
|
| 3741 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 3742 |
|
| 3743 |
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
| 3744 |
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } |
| 3745 |
LN_S=$as_ln_s |
| 3746 |
if test "$LN_S" = "ln -s"; then |
| 3747 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 3748 |
echo "${ECHO_T}yes" >&6; } |
| 3749 |
else |
| 3750 |
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
| 3751 |
echo "${ECHO_T}no, using $LN_S" >&6; } |
| 3752 |
fi |
| 3753 |
|
| 3754 |
|
| 3755 |
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 3756 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } |
| 3757 |
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 3758 |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
| 3759 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3760 |
else |
| 3761 |
cat >conftest.make <<\_ACEOF |
| 3762 |
SHELL = /bin/sh |
| 3763 |
all: |
| 3764 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
| 3765 |
_ACEOF |
| 3766 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| 3767 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 3768 |
*@@@%%%=?*=@@@%%%*) |
| 3769 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 3770 |
*) |
| 3771 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
| 3772 |
esac |
| 3773 |
rm -f conftest.make |
| 3774 |
fi |
| 3775 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 3776 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 3777 |
echo "${ECHO_T}yes" >&6; } |
| 3778 |
SET_MAKE= |
| 3779 |
else |
| 3780 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3781 |
echo "${ECHO_T}no" >&6; } |
| 3782 |
SET_MAKE="MAKE=${MAKE-make}" |
| 3783 |
fi |
| 3784 |
|
| 3785 |
|
| 3786 |
|
| 3787 |
if test "x$SUNCXX" = "xyes"; then |
| 3788 |
AR=$CXX |
| 3789 |
AROPTIONS="-xar -o" |
| 3790 |
|
| 3791 |
elif test "x$SGICC" = "xyes"; then |
| 3792 |
AR=$CXX |
| 3793 |
AROPTIONS="-ar -o" |
| 3794 |
|
| 3795 |
else |
| 3796 |
if test -n "$ac_tool_prefix"; then |
| 3797 |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
| 3798 |
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
| 3799 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3800 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3801 |
if test "${ac_cv_prog_AR+set}" = set; then |
| 3802 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3803 |
else |
| 3804 |
if test -n "$AR"; then |
| 3805 |
ac_cv_prog_AR="$AR" # Let the user override the test. |
| 3806 |
else |
| 3807 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3808 |
for as_dir in $PATH |
| 3809 |
do |
| 3810 |
IFS=$as_save_IFS |
| 3811 |
test -z "$as_dir" && as_dir=. |
| 3812 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3813 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3814 |
ac_cv_prog_AR="${ac_tool_prefix}ar" |
| 3815 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3816 |
break 2 |
| 3817 |
fi |
| 3818 |
done |
| 3819 |
done |
| 3820 |
IFS=$as_save_IFS |
| 3821 |
|
| 3822 |
fi |
| 3823 |
fi |
| 3824 |
AR=$ac_cv_prog_AR |
| 3825 |
if test -n "$AR"; then |
| 3826 |
{ echo "$as_me:$LINENO: result: $AR" >&5 |
| 3827 |
echo "${ECHO_T}$AR" >&6; } |
| 3828 |
else |
| 3829 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3830 |
echo "${ECHO_T}no" >&6; } |
| 3831 |
fi |
| 3832 |
|
| 3833 |
|
| 3834 |
fi |
| 3835 |
if test -z "$ac_cv_prog_AR"; then |
| 3836 |
ac_ct_AR=$AR |
| 3837 |
# Extract the first word of "ar", so it can be a program name with args. |
| 3838 |
set dummy ar; ac_word=$2 |
| 3839 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3840 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3841 |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then |
| 3842 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3843 |
else |
| 3844 |
if test -n "$ac_ct_AR"; then |
| 3845 |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
| 3846 |
else |
| 3847 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3848 |
for as_dir in $PATH |
| 3849 |
do |
| 3850 |
IFS=$as_save_IFS |
| 3851 |
test -z "$as_dir" && as_dir=. |
| 3852 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3853 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3854 |
ac_cv_prog_ac_ct_AR="ar" |
| 3855 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3856 |
break 2 |
| 3857 |
fi |
| 3858 |
done |
| 3859 |
done |
| 3860 |
IFS=$as_save_IFS |
| 3861 |
|
| 3862 |
fi |
| 3863 |
fi |
| 3864 |
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
| 3865 |
if test -n "$ac_ct_AR"; then |
| 3866 |
{ echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 |
| 3867 |
echo "${ECHO_T}$ac_ct_AR" >&6; } |
| 3868 |
else |
| 3869 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3870 |
echo "${ECHO_T}no" >&6; } |
| 3871 |
fi |
| 3872 |
|
| 3873 |
if test "x$ac_ct_AR" = x; then |
| 3874 |
AR="ar" |
| 3875 |
else |
| 3876 |
case $cross_compiling:$ac_tool_warned in |
| 3877 |
yes:) |
| 3878 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 3879 |
whose name does not start with the host triplet. If you think this |
| 3880 |
configuration is useful to you, please write to [email protected]." >&5 |
| 3881 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
| 3882 |
whose name does not start with the host triplet. If you think this |
| 3883 |
configuration is useful to you, please write to [email protected]." >&2;} |
| 3884 |
ac_tool_warned=yes ;; |
| 3885 |
esac |
| 3886 |
AR=$ac_ct_AR |
| 3887 |
fi |
| 3888 |
else |
| 3889 |
AR="$ac_cv_prog_AR" |
| 3890 |
fi |
| 3891 |
|
| 3892 |
AROPTIONS=rcu |
| 3893 |
fi |
| 3894 |
|
| 3895 |
|
| 3896 |
if test -n "$ac_tool_prefix"; then |
| 3897 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 3898 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 3899 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3900 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3901 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
| 3902 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3903 |
else |
| 3904 |
if test -n "$STRIP"; then |
| 3905 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 3906 |
else |
| 3907 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3908 |
for as_dir in $PATH |
| 3909 |
do |
| 3910 |
IFS=$as_save_IFS |
| 3911 |
test -z "$as_dir" && as_dir=. |
| 3912 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3913 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3914 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 3915 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3916 |
break 2 |
| 3917 |
fi |
| 3918 |
done |
| 3919 |
done |
| 3920 |
IFS=$as_save_IFS |
| 3921 |
|
| 3922 |
fi |
| 3923 |
fi |
| 3924 |
STRIP=$ac_cv_prog_STRIP |
| 3925 |
if test -n "$STRIP"; then |
| 3926 |
{ echo "$as_me:$LINENO: result: $STRIP" >&5 |
| 3927 |
echo "${ECHO_T}$STRIP" >&6; } |
| 3928 |
else |
| 3929 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3930 |
echo "${ECHO_T}no" >&6; } |
| 3931 |
fi |
| 3932 |
|
| 3933 |
|
| 3934 |
fi |
| 3935 |
if test -z "$ac_cv_prog_STRIP"; then |
| 3936 |
ac_ct_STRIP=$STRIP |
| 3937 |
# Extract the first word of "strip", so it can be a program name with args. |
| 3938 |
set dummy strip; ac_word=$2 |
| 3939 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3940 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3941 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
| 3942 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3943 |
else |
| 3944 |
if test -n "$ac_ct_STRIP"; then |
| 3945 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 3946 |
else |
| 3947 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3948 |
for as_dir in $PATH |
| 3949 |
do |
| 3950 |
IFS=$as_save_IFS |
| 3951 |
test -z "$as_dir" && as_dir=. |
| 3952 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3953 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3954 |
ac_cv_prog_ac_ct_STRIP="strip" |
| 3955 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3956 |
break 2 |
| 3957 |
fi |
| 3958 |
done |
| 3959 |
done |
| 3960 |
IFS=$as_save_IFS |
| 3961 |
|
| 3962 |
fi |
| 3963 |
fi |
| 3964 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 3965 |
if test -n "$ac_ct_STRIP"; then |
| 3966 |
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
| 3967 |
echo "${ECHO_T}$ac_ct_STRIP" >&6; } |
| 3968 |
else |
| 3969 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3970 |
echo "${ECHO_T}no" >&6; } |
| 3971 |
fi |
| 3972 |
|
| 3973 |
if test "x$ac_ct_STRIP" = x; then |
| 3974 |
STRIP=":" |
| 3975 |
else |
| 3976 |
case $cross_compiling:$ac_tool_warned in |
| 3977 |
yes:) |
| 3978 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 3979 |
whose name does not start with the host triplet. If you think this |
| 3980 |
configuration is useful to you, please write to [email protected]." >&5 |
| 3981 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
| 3982 |
whose name does not start with the host triplet. If you think this |
| 3983 |
configuration is useful to you, please write to [email protected]." >&2;} |
| 3984 |
ac_tool_warned=yes ;; |
| 3985 |
esac |
| 3986 |
STRIP=$ac_ct_STRIP |
| 3987 |
fi |
| 3988 |
else |
| 3989 |
STRIP="$ac_cv_prog_STRIP" |
| 3990 |
fi |
| 3991 |
|
| 3992 |
if test -n "$ac_tool_prefix"; then |
| 3993 |
# Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. |
| 3994 |
set dummy ${ac_tool_prefix}nm; ac_word=$2 |
| 3995 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3996 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3997 |
if test "${ac_cv_prog_NM+set}" = set; then |
| 3998 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3999 |
else |
| 4000 |
if test -n "$NM"; then |
| 4001 |
ac_cv_prog_NM="$NM" # Let the user override the test. |
| 4002 |
else |
| 4003 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4004 |
for as_dir in $PATH |
| 4005 |
do |
| 4006 |
IFS=$as_save_IFS |
| 4007 |
test -z "$as_dir" && as_dir=. |
| 4008 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4009 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4010 |
ac_cv_prog_NM="${ac_tool_prefix}nm" |
| 4011 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4012 |
break 2 |
| 4013 |
fi |
| 4014 |
done |
| 4015 |
done |
| 4016 |
IFS=$as_save_IFS |
| 4017 |
|
| 4018 |
fi |
| 4019 |
fi |
| 4020 |
NM=$ac_cv_prog_NM |
| 4021 |
if test -n "$NM"; then |
| 4022 |
{ echo "$as_me:$LINENO: result: $NM" >&5 |
| 4023 |
echo "${ECHO_T}$NM" >&6; } |
| 4024 |
else |
| 4025 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 4026 |
echo "${ECHO_T}no" >&6; } |
| 4027 |
fi |
| 4028 |
|
| 4029 |
|
| 4030 |
fi |
| 4031 |
if test -z "$ac_cv_prog_NM"; then |
| 4032 |
ac_ct_NM=$NM |
| 4033 |
# Extract the first word of "nm", so it can be a program name with args. |
| 4034 |
set dummy nm; ac_word=$2 |
| 4035 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 4036 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 4037 |
if test "${ac_cv_prog_ac_ct_NM+set}" = set; then |
| 4038 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4039 |
else |
| 4040 |
if test -n "$ac_ct_NM"; then |
| 4041 |
ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. |
| 4042 |
else |
| 4043 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4044 |
for as_dir in $PATH |
| 4045 |
do |
| 4046 |
IFS=$as_save_IFS |
| 4047 |
test -z "$as_dir" && as_dir=. |
| 4048 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4049 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4050 |
ac_cv_prog_ac_ct_NM="nm" |
| 4051 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4052 |
break 2 |
| 4053 |
fi |
| 4054 |
done |
| 4055 |
done |
| 4056 |
IFS=$as_save_IFS |
| 4057 |
|
| 4058 |
fi |
| 4059 |
fi |
| 4060 |
ac_ct_NM=$ac_cv_prog_ac_ct_NM |
| 4061 |
if test -n "$ac_ct_NM"; then |
| 4062 |
{ echo "$as_me:$LINENO: result: $ac_ct_NM" >&5 |
| 4063 |
echo "${ECHO_T}$ac_ct_NM" >&6; } |
| 4064 |
else |
| 4065 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 4066 |
echo "${ECHO_T}no" >&6; } |
| 4067 |
fi |
| 4068 |
|
| 4069 |
if test "x$ac_ct_NM" = x; then |
| 4070 |
NM=":" |
| 4071 |
else |
| 4072 |
case $cross_compiling:$ac_tool_warned in |
| 4073 |
yes:) |
| 4074 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 4075 |
whose name does not start with the host triplet. If you think this |
| 4076 |
configuration is useful to you, please write to [email protected]." >&5 |
| 4077 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
| 4078 |
whose name does not start with the host triplet. If you think this |
| 4079 |
configuration is useful to you, please write to [email protected]." >&2;} |
| 4080 |
ac_tool_warned=yes ;; |
| 4081 |
esac |
| 4082 |
NM=$ac_ct_NM |
| 4083 |
fi |
| 4084 |
else |
| 4085 |
NM="$ac_cv_prog_NM" |
| 4086 |
fi |
| 4087 |
|
| 4088 |
|
| 4089 |
case ${BAKEFILE_HOST} in |
| 4090 |
*-hp-hpux* ) |
| 4091 |
INSTALL_DIR="mkdir -p" |
| 4092 |
;; |
| 4093 |
* ) |
| 4094 |
INSTALL_DIR='$(INSTALL) -d' |
| 4095 |
;; |
| 4096 |
esac |
| 4097 |
|
| 4098 |
|
| 4099 |
LDFLAGS_GUI= |
| 4100 |
case ${BAKEFILE_HOST} in |
| 4101 |
*-*-cygwin* | *-*-mingw32* ) |
| 4102 |
LDFLAGS_GUI="-mwindows" |
| 4103 |
esac |
| 4104 |
|
| 4105 |
|
| 4106 |
fi |
| 4107 |
|
| 4108 |
{ echo "$as_me:$LINENO: checking if make is GNU make" >&5 |
| 4109 |
echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; } |
| 4110 |
if test "${bakefile_cv_prog_makeisgnu+set}" = set; then |
| 4111 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4112 |
else |
| 4113 |
|
| 4114 |
if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null | |
| 4115 |
egrep -s GNU > /dev/null); then |
| 4116 |
bakefile_cv_prog_makeisgnu="yes" |
| 4117 |
else |
| 4118 |
bakefile_cv_prog_makeisgnu="no" |
| 4119 |
fi |
| 4120 |
|
| 4121 |
fi |
| 4122 |
{ echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5 |
| 4123 |
echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; } |
| 4124 |
|
| 4125 |
if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then |
| 4126 |
IF_GNU_MAKE="" |
| 4127 |
else |
| 4128 |
IF_GNU_MAKE="#" |
| 4129 |
fi |
| 4130 |
|
| 4131 |
|
| 4132 |
|
| 4133 |
PLATFORM_UNIX=0 |
| 4134 |
PLATFORM_WIN32=0 |
| 4135 |
PLATFORM_MSDOS=0 |
| 4136 |
PLATFORM_MAC=0 |
| 4137 |
PLATFORM_MACOS=0 |
| 4138 |
PLATFORM_MACOSX=0 |
| 4139 |
PLATFORM_OS2=0 |
| 4140 |
PLATFORM_BEOS=0 |
| 4141 |
|
| 4142 |
if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then |
| 4143 |
case "${BAKEFILE_HOST}" in |
| 4144 |
*-*-mingw32* ) |
| 4145 |
PLATFORM_WIN32=1 |
| 4146 |
;; |
| 4147 |
*-pc-msdosdjgpp ) |
| 4148 |
PLATFORM_MSDOS=1 |
| 4149 |
;; |
| 4150 |
*-pc-os2_emx | *-pc-os2-emx ) |
| 4151 |
PLATFORM_OS2=1 |
| 4152 |
;; |
| 4153 |
*-*-darwin* ) |
| 4154 |
PLATFORM_MAC=1 |
| 4155 |
PLATFORM_MACOSX=1 |
| 4156 |
;; |
| 4157 |
*-*-beos* ) |
| 4158 |
PLATFORM_BEOS=1 |
| 4159 |
;; |
| 4160 |
powerpc-apple-macos* ) |
| 4161 |
PLATFORM_MAC=1 |
| 4162 |
PLATFORM_MACOS=1 |
| 4163 |
;; |
| 4164 |
* ) |
| 4165 |
PLATFORM_UNIX=1 |
| 4166 |
;; |
| 4167 |
esac |
| 4168 |
else |
| 4169 |
case "$BAKEFILE_FORCE_PLATFORM" in |
| 4170 |
win32 ) |
| 4171 |
PLATFORM_WIN32=1 |
| 4172 |
;; |
| 4173 |
msdos ) |
| 4174 |
PLATFORM_MSDOS=1 |
| 4175 |
;; |
| 4176 |
os2 ) |
| 4177 |
PLATFORM_OS2=1 |
| 4178 |
;; |
| 4179 |
darwin ) |
| 4180 |
PLATFORM_MAC=1 |
| 4181 |
PLATFORM_MACOSX=1 |
| 4182 |
;; |
| 4183 |
unix ) |
| 4184 |
PLATFORM_UNIX=1 |
| 4185 |
;; |
| 4186 |
beos ) |
| 4187 |
PLATFORM_BEOS=1 |
| 4188 |
;; |
| 4189 |
* ) |
| 4190 |
{ { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5 |
| 4191 |
echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;} |
| 4192 |
{ (exit 1); exit 1; }; } |
| 4193 |
;; |
| 4194 |
esac |
| 4195 |
fi |
| 4196 |
|
| 4197 |
|
| 4198 |
|
| 4199 |
|
| 4200 |
|
| 4201 |
|
| 4202 |
|
| 4203 |
|
| 4204 |
|
| 4205 |
|
| 4206 |
|
| 4207 |
# Check whether --enable-omf was given. |
| 4208 |
if test "${enable_omf+set}" = set; then |
| 4209 |
enableval=$enable_omf; bk_os2_use_omf="$enableval" |
| 4210 |
fi |
| 4211 |
|
| 4212 |
|
| 4213 |
case "${BAKEFILE_HOST}" in |
| 4214 |
*-*-darwin* ) |
| 4215 |
if test "x$GCC" = "xyes"; then |
| 4216 |
CFLAGS="$CFLAGS -fno-common" |
| 4217 |
CXXFLAGS="$CXXFLAGS -fno-common" |
| 4218 |
fi |
| 4219 |
if test "x$XLCC" = "xyes"; then |
| 4220 |
CFLAGS="$CFLAGS -qnocommon" |
| 4221 |
CXXFLAGS="$CXXFLAGS -qnocommon" |
| 4222 |
fi |
| 4223 |
;; |
| 4224 |
|
| 4225 |
*-pc-os2_emx | *-pc-os2-emx ) |
| 4226 |
if test "x$bk_os2_use_omf" = "xyes" ; then |
| 4227 |
AR=emxomfar |
| 4228 |
RANLIB=: |
| 4229 |
LDFLAGS="-Zomf $LDFLAGS" |
| 4230 |
CFLAGS="-Zomf $CFLAGS" |
| 4231 |
CXXFLAGS="-Zomf $CXXFLAGS" |
| 4232 |
OS2_LIBEXT="lib" |
| 4233 |
else |
| 4234 |
OS2_LIBEXT="a" |
| 4235 |
fi |
| 4236 |
;; |
| 4237 |
|
| 4238 |
i*86-*-beos* ) |
| 4239 |
LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS" |
| 4240 |
;; |
| 4241 |
esac |
| 4242 |
|
| 4243 |
|
| 4244 |
SO_SUFFIX="so" |
| 4245 |
SO_SUFFIX_MODULE="so" |
| 4246 |
EXEEXT="" |
| 4247 |
LIBPREFIX="lib" |
| 4248 |
LIBEXT=".a" |
| 4249 |
DLLPREFIX="lib" |
| 4250 |
DLLPREFIX_MODULE="" |
| 4251 |
DLLIMP_SUFFIX="" |
| 4252 |
dlldir="$libdir" |
| 4253 |
|
| 4254 |
case "${BAKEFILE_HOST}" in |
| 4255 |
*-hp-hpux* ) |
| 4256 |
SO_SUFFIX="sl" |
| 4257 |
SO_SUFFIX_MODULE="sl" |
| 4258 |
;; |
| 4259 |
*-*-aix* ) |
| 4260 |
SO_SUFFIX="a" |
| 4261 |
SO_SUFFIX_MODULE="a" |
| 4262 |
;; |
| 4263 |
*-*-cygwin* ) |
| 4264 |
SO_SUFFIX="dll" |
| 4265 |
SO_SUFFIX_MODULE="dll" |
| 4266 |
DLLIMP_SUFFIX="dll.a" |
| 4267 |
EXEEXT=".exe" |
| 4268 |
DLLPREFIX="cyg" |
| 4269 |
dlldir="$bindir" |
| 4270 |
;; |
| 4271 |
*-*-mingw32* ) |
| 4272 |
SO_SUFFIX="dll" |
| 4273 |
SO_SUFFIX_MODULE="dll" |
| 4274 |
DLLIMP_SUFFIX="dll.a" |
| 4275 |
EXEEXT=".exe" |
| 4276 |
DLLPREFIX="" |
| 4277 |
dlldir="$bindir" |
| 4278 |
;; |
| 4279 |
*-pc-msdosdjgpp ) |
| 4280 |
EXEEXT=".exe" |
| 4281 |
DLLPREFIX="" |
| 4282 |
dlldir="$bindir" |
| 4283 |
;; |
| 4284 |
*-pc-os2_emx | *-pc-os2-emx ) |
| 4285 |
SO_SUFFIX="dll" |
| 4286 |
SO_SUFFIX_MODULE="dll" |
| 4287 |
DLLIMP_SUFFIX=$OS2_LIBEXT |
| 4288 |
EXEEXT=".exe" |
| 4289 |
DLLPREFIX="" |
| 4290 |
LIBPREFIX="" |
| 4291 |
LIBEXT=".$OS2_LIBEXT" |
| 4292 |
dlldir="$bindir" |
| 4293 |
;; |
| 4294 |
*-*-darwin* ) |
| 4295 |
SO_SUFFIX="dylib" |
| 4296 |
SO_SUFFIX_MODULE="bundle" |
| 4297 |
;; |
| 4298 |
esac |
| 4299 |
|
| 4300 |
if test "x$DLLIMP_SUFFIX" = "x" ; then |
| 4301 |
DLLIMP_SUFFIX="$SO_SUFFIX" |
| 4302 |
fi |
| 4303 |
|
| 4304 |
|
| 4305 |
|
| 4306 |
|
| 4307 |
|
| 4308 |
|
| 4309 |
|
| 4310 |
|
| 4311 |
|
| 4312 |
|
| 4313 |
|
| 4314 |
|
| 4315 |
PIC_FLAG="" |
| 4316 |
if test "x$GCC" = "xyes"; then |
| 4317 |
PIC_FLAG="-fPIC" |
| 4318 |
fi |
| 4319 |
|
| 4320 |
SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o" |
| 4321 |
SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o" |
| 4322 |
WINDOWS_IMPLIB=0 |
| 4323 |
|
| 4324 |
case "${BAKEFILE_HOST}" in |
| 4325 |
*-hp-hpux* ) |
| 4326 |
if test "x$GCC" != "xyes"; then |
| 4327 |
LDFLAGS="$LDFLAGS -L/usr/lib" |
| 4328 |
|
| 4329 |
SHARED_LD_CC="${CC} -b -o" |
| 4330 |
SHARED_LD_CXX="${CXX} -b -o" |
| 4331 |
PIC_FLAG="+Z" |
| 4332 |
fi |
| 4333 |
;; |
| 4334 |
|
| 4335 |
*-*-linux* ) |
| 4336 |
if test "x$GCC" != "xyes"; then |
| 4337 |
{ echo "$as_me:$LINENO: checking for Intel compiler" >&5 |
| 4338 |
echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; } |
| 4339 |
if test "${bakefile_cv_prog_icc+set}" = set; then |
| 4340 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4341 |
else |
| 4342 |
|
| 4343 |
cat >conftest.$ac_ext <<_ACEOF |
| 4344 |
/* confdefs.h. */ |
| 4345 |
_ACEOF |
| 4346 |
cat confdefs.h >>conftest.$ac_ext |
| 4347 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4348 |
/* end confdefs.h. */ |
| 4349 |
|
| 4350 |
int |
| 4351 |
main () |
| 4352 |
{ |
| 4353 |
|
| 4354 |
#ifndef __INTEL_COMPILER |
| 4355 |
This is not ICC |
| 4356 |
#endif |
| 4357 |
|
| 4358 |
; |
| 4359 |
return 0; |
| 4360 |
} |
| 4361 |
_ACEOF |
| 4362 |
rm -f conftest.$ac_objext |
| 4363 |
if { (ac_try="$ac_compile" |
| 4364 |
case "(($ac_try" in |
| 4365 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4366 |
*) ac_try_echo=$ac_try;; |
| 4367 |
esac |
| 4368 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4369 |
(eval "$ac_compile") 2>conftest.er1 |
| 4370 |
ac_status=$? |
| 4371 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4372 |
rm -f conftest.er1 |
| 4373 |
cat conftest.err >&5 |
| 4374 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4375 |
(exit $ac_status); } && |
| 4376 |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
| 4377 |
{ (case "(($ac_try" in |
| 4378 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4379 |
*) ac_try_echo=$ac_try;; |
| 4380 |
esac |
| 4381 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4382 |
(eval "$ac_try") 2>&5 |
| 4383 |
ac_status=$? |
| 4384 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4385 |
(exit $ac_status); }; } && |
| 4386 |
{ ac_try='test -s conftest.$ac_objext' |
| 4387 |
{ (case "(($ac_try" in |
| 4388 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4389 |
*) ac_try_echo=$ac_try;; |
| 4390 |
esac |
| 4391 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4392 |
(eval "$ac_try") 2>&5 |
| 4393 |
ac_status=$? |
| 4394 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4395 |
(exit $ac_status); }; }; then |
| 4396 |
bakefile_cv_prog_icc=yes |
| 4397 |
else |
| 4398 |
echo "$as_me: failed program was:" >&5 |
| 4399 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4400 |
|
| 4401 |
bakefile_cv_prog_icc=no |
| 4402 |
|
| 4403 |
fi |
| 4404 |
|
| 4405 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4406 |
|
| 4407 |
fi |
| 4408 |
{ echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5 |
| 4409 |
echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; } |
| 4410 |
if test "$bakefile_cv_prog_icc" = "yes"; then |
| 4411 |
PIC_FLAG="-KPIC" |
| 4412 |
fi |
| 4413 |
fi |
| 4414 |
;; |
| 4415 |
|
| 4416 |
*-*-solaris2* ) |
| 4417 |
if test "x$GCC" != xyes ; then |
| 4418 |
SHARED_LD_CC="${CC} -G -o" |
| 4419 |
SHARED_LD_CXX="${CXX} -G -o" |
| 4420 |
PIC_FLAG="-KPIC" |
| 4421 |
fi |
| 4422 |
;; |
| 4423 |
|
| 4424 |
*-*-darwin* ) |
| 4425 |
|
| 4426 |
D='$' |
| 4427 |
cat <<EOF >shared-ld-sh |
| 4428 |
#!/bin/sh |
| 4429 |
#----------------------------------------------------------------------------- |
| 4430 |
#-- Name: distrib/mac/shared-ld-sh |
| 4431 |
#-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X |
| 4432 |
#-- Author: Gilles Depeyrot |
| 4433 |
#-- Copyright: (c) 2002 Gilles Depeyrot |
| 4434 |
#-- Licence: any use permitted |
| 4435 |
#----------------------------------------------------------------------------- |
| 4436 |
|
| 4437 |
verbose=0 |
| 4438 |
args="" |
| 4439 |
objects="" |
| 4440 |
linking_flag="-dynamiclib" |
| 4441 |
ldargs="-r -keep_private_externs -nostdlib" |
| 4442 |
|
| 4443 |
if test "x${D}CXX" = "x"; then |
| 4444 |
CXX="c++" |
| 4445 |
fi |
| 4446 |
|
| 4447 |
while test ${D}# -gt 0; do |
| 4448 |
case ${D}1 in |
| 4449 |
|
| 4450 |
-v) |
| 4451 |
verbose=1 |
| 4452 |
;; |
| 4453 |
|
| 4454 |
-o|-compatibility_version|-current_version|-framework|-undefined|-install_name) |
| 4455 |
# collect these options and values |
| 4456 |
args="${D}{args} ${D}1 ${D}2" |
| 4457 |
shift |
| 4458 |
;; |
| 4459 |
|
| 4460 |
-arch|-isysroot) |
| 4461 |
# collect these options and values |
| 4462 |
ldargs="${D}{ldargs} ${D}1 ${D}2" |
| 4463 |
shift |
| 4464 |
;; |
| 4465 |
|
| 4466 |
-s|-Wl,*) |
| 4467 |
# collect these load args |
| 4468 |
ldargs="${D}{ldargs} ${D}1" |
| 4469 |
;; |
| 4470 |
|
| 4471 |
-l*|-L*|-flat_namespace|-headerpad_max_install_names) |
| 4472 |
# collect these options |
| 4473 |
args="${D}{args} ${D}1" |
| 4474 |
;; |
| 4475 |
|
| 4476 |
-dynamiclib|-bundle) |
| 4477 |
linking_flag="${D}1" |
| 4478 |
;; |
| 4479 |
|
| 4480 |
-*) |
| 4481 |
echo "shared-ld: unhandled option '${D}1'" |
| 4482 |
exit 1 |
| 4483 |
;; |
| 4484 |
|
| 4485 |
*.o | *.a | *.dylib) |
| 4486 |
# collect object files |
| 4487 |
objects="${D}{objects} ${D}1" |
| 4488 |
;; |
| 4489 |
|
| 4490 |
*) |
| 4491 |
echo "shared-ld: unhandled argument '${D}1'" |
| 4492 |
exit 1 |
| 4493 |
;; |
| 4494 |
|
| 4495 |
esac |
| 4496 |
shift |
| 4497 |
done |
| 4498 |
|
| 4499 |
status=0 |
| 4500 |
|
| 4501 |
# |
| 4502 |
# Link one module containing all the others |
| 4503 |
# |
| 4504 |
if test ${D}{verbose} = 1; then |
| 4505 |
echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o" |
| 4506 |
fi |
| 4507 |
${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o |
| 4508 |
status=${D}? |
| 4509 |
|
| 4510 |
# |
| 4511 |
# Link the shared library from the single module created, but only if the |
| 4512 |
# previous command didn't fail: |
| 4513 |
# |
| 4514 |
if test ${D}{status} = 0; then |
| 4515 |
if test ${D}{verbose} = 1; then |
| 4516 |
echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}" |
| 4517 |
fi |
| 4518 |
${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args} |
| 4519 |
status=${D}? |
| 4520 |
fi |
| 4521 |
|
| 4522 |
# |
| 4523 |
# Remove intermediate module |
| 4524 |
# |
| 4525 |
rm -f master.${D}${D}.o |
| 4526 |
|
| 4527 |
exit ${D}status |
| 4528 |
EOF |
| 4529 |
|
| 4530 |
chmod +x shared-ld-sh |
| 4531 |
|
| 4532 |
SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o" |
| 4533 |
SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC" |
| 4534 |
|
| 4535 |
|
| 4536 |
{ echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5 |
| 4537 |
echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; } |
| 4538 |
if test "${bakefile_cv_gcc31+set}" = set; then |
| 4539 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4540 |
else |
| 4541 |
|
| 4542 |
cat >conftest.$ac_ext <<_ACEOF |
| 4543 |
/* confdefs.h. */ |
| 4544 |
_ACEOF |
| 4545 |
cat confdefs.h >>conftest.$ac_ext |
| 4546 |
cat >>conftest.$ac_ext <<_ACEOF |
| 4547 |
/* end confdefs.h. */ |
| 4548 |
|
| 4549 |
int |
| 4550 |
main () |
| 4551 |
{ |
| 4552 |
|
| 4553 |
#if (__GNUC__ < 3) || \ |
| 4554 |
((__GNUC__ == 3) && (__GNUC_MINOR__ < 1)) |
| 4555 |
This is old gcc |
| 4556 |
#endif |
| 4557 |
|
| 4558 |
; |
| 4559 |
return 0; |
| 4560 |
} |
| 4561 |
_ACEOF |
| 4562 |
rm -f conftest.$ac_objext |
| 4563 |
if { (ac_try="$ac_compile" |
| 4564 |
case "(($ac_try" in |
| 4565 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4566 |
*) ac_try_echo=$ac_try;; |
| 4567 |
esac |
| 4568 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4569 |
(eval "$ac_compile") 2>conftest.er1 |
| 4570 |
ac_status=$? |
| 4571 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 4572 |
rm -f conftest.er1 |
| 4573 |
cat conftest.err >&5 |
| 4574 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4575 |
(exit $ac_status); } && |
| 4576 |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
| 4577 |
{ (case "(($ac_try" in |
| 4578 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4579 |
*) ac_try_echo=$ac_try;; |
| 4580 |
esac |
| 4581 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4582 |
(eval "$ac_try") 2>&5 |
| 4583 |
ac_status=$? |
| 4584 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4585 |
(exit $ac_status); }; } && |
| 4586 |
{ ac_try='test -s conftest.$ac_objext' |
| 4587 |
{ (case "(($ac_try" in |
| 4588 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4589 |
*) ac_try_echo=$ac_try;; |
| 4590 |
esac |
| 4591 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4592 |
(eval "$ac_try") 2>&5 |
| 4593 |
ac_status=$? |
| 4594 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4595 |
(exit $ac_status); }; }; then |
| 4596 |
|
| 4597 |
bakefile_cv_gcc31=yes |
| 4598 |
|
| 4599 |
else |
| 4600 |
echo "$as_me: failed program was:" >&5 |
| 4601 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4602 |
|
| 4603 |
|
| 4604 |
bakefile_cv_gcc31=no |
| 4605 |
|
| 4606 |
|
| 4607 |
fi |
| 4608 |
|
| 4609 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4610 |
|
| 4611 |
fi |
| 4612 |
{ echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5 |
| 4613 |
echo "${ECHO_T}$bakefile_cv_gcc31" >&6; } |
| 4614 |
if test "$bakefile_cv_gcc31" = "no"; then |
| 4615 |
SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o" |
| 4616 |
SHARED_LD_CXX="$SHARED_LD_CC" |
| 4617 |
else |
| 4618 |
SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o" |
| 4619 |
SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o" |
| 4620 |
fi |
| 4621 |
|
| 4622 |
if test "x$GCC" == "xyes"; then |
| 4623 |
PIC_FLAG="-dynamic -fPIC" |
| 4624 |
fi |
| 4625 |
if test "x$XLCC" = "xyes"; then |
| 4626 |
PIC_FLAG="-dynamic -DPIC" |
| 4627 |
fi |
| 4628 |
;; |
| 4629 |
|
| 4630 |
*-*-aix* ) |
| 4631 |
if test "x$GCC" = "xyes"; then |
| 4632 |
PIC_FLAG="" |
| 4633 |
|
| 4634 |
case "${BAKEFILE_HOST}" in |
| 4635 |
*-*-aix5* ) |
| 4636 |
LD_EXPFULL="-Wl,-bexpfull" |
| 4637 |
;; |
| 4638 |
esac |
| 4639 |
|
| 4640 |
SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o" |
| 4641 |
SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o" |
| 4642 |
else |
| 4643 |
# Extract the first word of "makeC++SharedLib", so it can be a program name with args. |
| 4644 |
set dummy makeC++SharedLib; ac_word=$2 |
| 4645 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 4646 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 4647 |
if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then |
| 4648 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4649 |
else |
| 4650 |
if test -n "$AIX_CXX_LD"; then |
| 4651 |
ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test. |
| 4652 |
else |
| 4653 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4654 |
for as_dir in $PATH |
| 4655 |
do |
| 4656 |
IFS=$as_save_IFS |
| 4657 |
test -z "$as_dir" && as_dir=. |
| 4658 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 4659 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4660 |
ac_cv_prog_AIX_CXX_LD="makeC++SharedLib" |
| 4661 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4662 |
break 2 |
| 4663 |
fi |
| 4664 |
done |
| 4665 |
done |
| 4666 |
IFS=$as_save_IFS |
| 4667 |
|
| 4668 |
test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib" |
| 4669 |
fi |
| 4670 |
fi |
| 4671 |
AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD |
| 4672 |
if test -n "$AIX_CXX_LD"; then |
| 4673 |
{ echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5 |
| 4674 |
echo "${ECHO_T}$AIX_CXX_LD" >&6; } |
| 4675 |
else |
| 4676 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 4677 |
echo "${ECHO_T}no" >&6; } |
| 4678 |
fi |
| 4679 |
|
| 4680 |
|
| 4681 |
SHARED_LD_CC="$AIX_CC_LD -p 0 -o" |
| 4682 |
SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o" |
| 4683 |
fi |
| 4684 |
;; |
| 4685 |
|
| 4686 |
*-*-beos* ) |
| 4687 |
SHARED_LD_CC="${LD} -nostart -o" |
| 4688 |
SHARED_LD_CXX="${LD} -nostart -o" |
| 4689 |
;; |
| 4690 |
|
| 4691 |
*-*-irix* ) |
| 4692 |
if test "x$GCC" != "xyes"; then |
| 4693 |
PIC_FLAG="-KPIC" |
| 4694 |
fi |
| 4695 |
;; |
| 4696 |
|
| 4697 |
*-*-cygwin* | *-*-mingw32* ) |
| 4698 |
PIC_FLAG="" |
| 4699 |
SHARED_LD_CC="\$(CC) -shared -o" |
| 4700 |
SHARED_LD_CXX="\$(CXX) -shared -o" |
| 4701 |
WINDOWS_IMPLIB=1 |
| 4702 |
;; |
| 4703 |
|
| 4704 |
*-pc-os2_emx | *-pc-os2-emx ) |
| 4705 |
SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o" |
| 4706 |
SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o" |
| 4707 |
PIC_FLAG="" |
| 4708 |
|
| 4709 |
D='$' |
| 4710 |
cat <<EOF >dllar.sh |
| 4711 |
#!/bin/sh |
| 4712 |
# |
| 4713 |
# dllar - a tool to build both a .dll and an .a file |
| 4714 |
# from a set of object (.o) files for EMX/OS2. |
| 4715 |
# |
| 4716 |
# Written by Andrew Zabolotny, [email protected] |
| 4717 |
# Ported to Unix like shell by Stefan Neis, [email protected] |
| 4718 |
# |
| 4719 |
# This script will accept a set of files on the command line. |
| 4720 |
# All the public symbols from the .o files will be exported into |
| 4721 |
# a .DEF file, then linker will be run (through gcc) against them to |
| 4722 |
# build a shared library consisting of all given .o files. All libraries |
| 4723 |
# (.a) will be first decompressed into component .o files then act as |
| 4724 |
# described above. You can optionally give a description (-d "description") |
| 4725 |
# which will be put into .DLL. To see the list of accepted options (as well |
| 4726 |
# as command-line format) simply run this program without options. The .DLL |
| 4727 |
# is built to be imported by name (there is no guarantee that new versions |
| 4728 |
# of the library you build will have same ordinals for same symbols). |
| 4729 |
# |
| 4730 |
# dllar is free software; you can redistribute it and/or modify |
| 4731 |
# it under the terms of the GNU General Public License as published by |
| 4732 |
# the Free Software Foundation; either version 2, or (at your option) |
| 4733 |
# any later version. |
| 4734 |
# |
| 4735 |
# dllar is distributed in the hope that it will be useful, |
| 4736 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 4737 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 4738 |
# GNU General Public License for more details. |
| 4739 |
# |
| 4740 |
# You should have received a copy of the GNU General Public License |
| 4741 |
# along with dllar; see the file COPYING. If not, write to the Free |
| 4742 |
# Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
| 4743 |
# 02111-1307, USA. |
| 4744 |
|
| 4745 |
# To successfuly run this program you will need: |
| 4746 |
# - Current drive should have LFN support (HPFS, ext2, network, etc) |
| 4747 |
# (Sometimes dllar generates filenames which won't fit 8.3 scheme) |
| 4748 |
# - gcc |
| 4749 |
# (used to build the .dll) |
| 4750 |
# - emxexp |
| 4751 |
# (used to create .def file from .o files) |
| 4752 |
# - emximp |
| 4753 |
# (used to create .a file from .def file) |
| 4754 |
# - GNU text utilites (cat, sort, uniq) |
| 4755 |
# used to process emxexp output |
| 4756 |
# - GNU file utilities (mv, rm) |
| 4757 |
# - GNU sed |
| 4758 |
# - lxlite (optional, see flag below) |
| 4759 |
# (used for general .dll cleanup) |
| 4760 |
# |
| 4761 |
|
| 4762 |
flag_USE_LXLITE=1; |
| 4763 |
|
| 4764 |
# |
| 4765 |
# helper functions |
| 4766 |
# basnam, variant of basename, which does _not_ remove the path, _iff_ |
| 4767 |
# second argument (suffix to remove) is given |
| 4768 |
basnam(){ |
| 4769 |
case ${D}# in |
| 4770 |
1) |
| 4771 |
echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//' |
| 4772 |
;; |
| 4773 |
2) |
| 4774 |
echo ${D}1 | sed 's/'${D}2'${D}//' |
| 4775 |
;; |
| 4776 |
*) |
| 4777 |
echo "error in basnam ${D}*" |
| 4778 |
exit 8 |
| 4779 |
;; |
| 4780 |
esac |
| 4781 |
} |
| 4782 |
|
| 4783 |
# Cleanup temporary files and output |
| 4784 |
CleanUp() { |
| 4785 |
cd ${D}curDir |
| 4786 |
for i in ${D}inputFiles ; do |
| 4787 |
case ${D}i in |
| 4788 |
*!) |
| 4789 |
rm -rf \`basnam ${D}i !\` |
| 4790 |
;; |
| 4791 |
*) |
| 4792 |
;; |
| 4793 |
esac |
| 4794 |
done |
| 4795 |
|
| 4796 |
# Kill result in case of failure as there is just to many stupid make/nmake |
| 4797 |
# things out there which doesn't do this. |
| 4798 |
if [ ${D}# -eq 0 ]; then |
| 4799 |
rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile |
| 4800 |
fi |
| 4801 |
} |
| 4802 |
|
| 4803 |
# Print usage and exit script with rc=1. |
| 4804 |
PrintHelp() { |
| 4805 |
echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]' |
| 4806 |
echo ' [-name-mangler-script script.sh]' |
| 4807 |
echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]' |
| 4808 |
echo ' [-ord[inals]] -ex[clude] "symbol(s)"' |
| 4809 |
echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]' |
| 4810 |
echo ' [*.o] [*.a]' |
| 4811 |
echo '*> "output_file" should have no extension.' |
| 4812 |
echo ' If it has the .o, .a or .dll extension, it is automatically removed.' |
| 4813 |
echo ' The import library name is derived from this and is set to "name".a,' |
| 4814 |
echo ' unless overridden by -import' |
| 4815 |
echo '*> "importlib_name" should have no extension.' |
| 4816 |
echo ' If it has the .o, or .a extension, it is automatically removed.' |
| 4817 |
echo ' This name is used as the import library name and may be longer and' |
| 4818 |
echo ' more descriptive than the DLL name which has to follow the old ' |
| 4819 |
echo ' 8.3 convention of FAT.' |
| 4820 |
echo '*> "script.sh may be given to override the output_file name by a' |
| 4821 |
echo ' different name. It is mainly useful if the regular make process' |
| 4822 |
echo ' of some package does not take into account OS/2 restriction of' |
| 4823 |
echo ' DLL name lengths. It takes the importlib name as input and is' |
| 4824 |
echo ' supposed to procude a shorter name as output. The script should' |
| 4825 |
echo ' expect to get importlib_name without extension and should produce' |
| 4826 |
echo ' a (max.) 8 letter name without extension.' |
| 4827 |
echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)' |
| 4828 |
echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)' |
| 4829 |
echo ' These flags will be put at the start of GCC command line.' |
| 4830 |
echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.' |
| 4831 |
echo '*> -ex[clude] defines symbols which will not be exported. You can define' |
| 4832 |
echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".' |
| 4833 |
echo ' If the last character of a symbol is "*", all symbols beginning' |
| 4834 |
echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).' |
| 4835 |
echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or' |
| 4836 |
echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.' |
| 4837 |
echo '*> -nocrt[dll] switch will disable linking the library against emx''s' |
| 4838 |
echo ' C runtime DLLs.' |
| 4839 |
echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.' |
| 4840 |
echo '*> All other switches (for example -L./ or -lmylib) will be passed' |
| 4841 |
echo ' unchanged to GCC at the end of command line.' |
| 4842 |
echo '*> If you create a DLL from a library and you do not specify -o,' |
| 4843 |
echo ' the basename for DLL and import library will be set to library name,' |
| 4844 |
echo ' the initial library will be renamed to 'name'_s.a (_s for static)' |
| 4845 |
echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial' |
| 4846 |
echo ' library will be renamed into gcc_s.a.' |
| 4847 |
echo '--------' |
| 4848 |
echo 'Example:' |
| 4849 |
echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord' |
| 4850 |
echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"' |
| 4851 |
CleanUp |
| 4852 |
exit 1 |
| 4853 |
} |
| 4854 |
|
| 4855 |
# Execute a command. |
| 4856 |
# If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script. |
| 4857 |
# @Uses Whatever CleanUp() uses. |
| 4858 |
doCommand() { |
| 4859 |
echo "${D}*" |
| 4860 |
eval ${D}* |
| 4861 |
rcCmd=${D}? |
| 4862 |
|
| 4863 |
if [ ${D}rcCmd -ne 0 ]; then |
| 4864 |
echo "command failed, exit code="${D}rcCmd |
| 4865 |
CleanUp |
| 4866 |
exit ${D}rcCmd |
| 4867 |
fi |
| 4868 |
} |
| 4869 |
|
| 4870 |
# main routine |
| 4871 |
# setup globals |
| 4872 |
cmdLine=${D}* |
| 4873 |
outFile="" |
| 4874 |
outimpFile="" |
| 4875 |
inputFiles="" |
| 4876 |
renameScript="" |
| 4877 |
description="" |
| 4878 |
CC=gcc.exe |
| 4879 |
CFLAGS="-s -Zcrtdll" |
| 4880 |
EXTRA_CFLAGS="" |
| 4881 |
EXPORT_BY_ORDINALS=0 |
| 4882 |
exclude_symbols="" |
| 4883 |
library_flags="" |
| 4884 |
curDir=\`pwd\` |
| 4885 |
curDirS=curDir |
| 4886 |
case ${D}curDirS in |
| 4887 |
*/) |
| 4888 |
;; |
| 4889 |
*) |
| 4890 |
curDirS=${D}{curDirS}"/" |
| 4891 |
;; |
| 4892 |
esac |
| 4893 |
# Parse commandline |
| 4894 |
libsToLink=0 |
| 4895 |
omfLinking=0 |
| 4896 |
while [ ${D}1 ]; do |
| 4897 |
case ${D}1 in |
| 4898 |
-ord*) |
| 4899 |
EXPORT_BY_ORDINALS=1; |
| 4900 |
;; |
| 4901 |
-o*) |
| 4902 |
shift |
| 4903 |
outFile=${D}1 |
| 4904 |
;; |
| 4905 |
-i*) |
| 4906 |
shift |
| 4907 |
outimpFile=${D}1 |
| 4908 |
;; |
| 4909 |
-name-mangler-script) |
| 4910 |
shift |
| 4911 |
renameScript=${D}1 |
| 4912 |
;; |
| 4913 |
-d*) |
| 4914 |
shift |
| 4915 |
description=${D}1 |
| 4916 |
;; |
| 4917 |
-f*) |
| 4918 |
shift |
| 4919 |
CFLAGS=${D}1 |
| 4920 |
;; |
| 4921 |
-c*) |
| 4922 |
shift |
| 4923 |
CC=${D}1 |
| 4924 |
;; |
| 4925 |
-h*) |
| 4926 |
PrintHelp |
| 4927 |
;; |
| 4928 |
-ex*) |
| 4929 |
shift |
| 4930 |
exclude_symbols=${D}{exclude_symbols}${D}1" " |
| 4931 |
;; |
| 4932 |
-libf*) |
| 4933 |
shift |
| 4934 |
library_flags=${D}{library_flags}${D}1" " |
| 4935 |
;; |
| 4936 |
-nocrt*) |
| 4937 |
CFLAGS="-s" |
| 4938 |
;; |
| 4939 |
-nolxl*) |
| 4940 |
flag_USE_LXLITE=0 |
| 4941 |
;; |
| 4942 |
-* | /*) |
| 4943 |
case ${D}1 in |
| 4944 |
-L* | -l*) |
| 4945 |
libsToLink=1 |
| 4946 |
;; |
| 4947 |
-Zomf) |
| 4948 |
omfLinking=1 |
| 4949 |
;; |
| 4950 |
*) |
| 4951 |
;; |
| 4952 |
esac |
| 4953 |
EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1 |
| 4954 |
;; |
| 4955 |
*.dll) |
| 4956 |
EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`" |
| 4957 |
if [ ${D}omfLinking -eq 1 ]; then |
| 4958 |
EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib" |
| 4959 |
else |
| 4960 |
EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a" |
| 4961 |
fi |
| 4962 |
;; |
| 4963 |
*) |
| 4964 |
found=0; |
| 4965 |
if [ ${D}libsToLink -ne 0 ]; then |
| 4966 |
EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1 |
| 4967 |
else |
| 4968 |
for file in ${D}1 ; do |
| 4969 |
if [ -f ${D}file ]; then |
| 4970 |
inputFiles="${D}{inputFiles} ${D}file" |
| 4971 |
found=1 |
| 4972 |
fi |
| 4973 |
done |
| 4974 |
if [ ${D}found -eq 0 ]; then |
| 4975 |
echo "ERROR: No file(s) found: "${D}1 |
| 4976 |
exit 8 |
| 4977 |
fi |
| 4978 |
fi |
| 4979 |
;; |
| 4980 |
esac |
| 4981 |
shift |
| 4982 |
done # iterate cmdline words |
| 4983 |
|
| 4984 |
# |
| 4985 |
if [ -z "${D}inputFiles" ]; then |
| 4986 |
echo "dllar: no input files" |
| 4987 |
PrintHelp |
| 4988 |
fi |
| 4989 |
|
| 4990 |
# Now extract all .o files from .a files |
| 4991 |
newInputFiles="" |
| 4992 |
for file in ${D}inputFiles ; do |
| 4993 |
case ${D}file in |
| 4994 |
*.a | *.lib) |
| 4995 |
case ${D}file in |
| 4996 |
*.a) |
| 4997 |
suffix=".a" |
| 4998 |
AR="ar" |
| 4999 |
;; |
| 5000 |
*.lib) |
| 5001 |
suffix=".lib" |
| 5002 |
AR="emxomfar" |
| 5003 |
EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf" |
| 5004 |
;; |
| 5005 |
*) |
| 5006 |
;; |
| 5007 |
esac |
| 5008 |
dirname=\`basnam ${D}file ${D}suffix\`"_%" |
| 5009 |
mkdir ${D}dirname |
| 5010 |
if [ ${D}? -ne 0 ]; then |
| 5011 |
echo "Failed to create subdirectory ./${D}dirname" |
| 5012 |
CleanUp |
| 5013 |
exit 8; |
| 5014 |
fi |
| 5015 |
# Append '!' to indicate archive |
| 5016 |
newInputFiles="${D}newInputFiles ${D}{dirname}!" |
| 5017 |
doCommand "cd ${D}dirname; ${D}AR x ../${D}file" |
| 5018 |
cd ${D}curDir |
| 5019 |
found=0; |
| 5020 |
for subfile in ${D}dirname/*.o* ; do |
| 5021 |
if [ -f ${D}subfile ]; then |
| 5022 |
found=1 |
| 5023 |
if [ -s ${D}subfile ]; then |
| 5024 |
# FIXME: This should be: is file size > 32 byte, _not_ > 0! |
| 5025 |
newInputFiles="${D}newInputFiles ${D}subfile" |
| 5026 |
fi |
| 5027 |
fi |
| 5028 |
done |
| 5029 |
if [ ${D}found -eq 0 ]; then |
| 5030 |
echo "WARNING: there are no files in archive \\'${D}file\\'" |
| 5031 |
fi |
| 5032 |
;; |
| 5033 |
*) |
| 5034 |
newInputFiles="${D}{newInputFiles} ${D}file" |
| 5035 |
;; |
| 5036 |
esac |
| 5037 |
done |
| 5038 |
inputFiles="${D}newInputFiles" |
| 5039 |
|
| 5040 |
# Output filename(s). |
| 5041 |
do_backup=0; |
| 5042 |
if [ -z ${D}outFile ]; then |
| 5043 |
do_backup=1; |
| 5044 |
set outFile ${D}inputFiles; outFile=${D}2 |
| 5045 |
fi |
| 5046 |
|
| 5047 |
# If it is an archive, remove the '!' and the '_%' suffixes |
| 5048 |
case ${D}outFile in |
| 5049 |
*_%!) |
| 5050 |
outFile=\`basnam ${D}outFile _%!\` |
| 5051 |
;; |
| 5052 |
*) |
| 5053 |
;; |
| 5054 |
esac |
| 5055 |
case ${D}outFile in |
| 5056 |
*.dll) |
| 5057 |
outFile=\`basnam ${D}outFile .dll\` |
| 5058 |
;; |
| 5059 |
*.DLL) |
| 5060 |
outFile=\`basnam ${D}outFile .DLL\` |
| 5061 |
;; |
| 5062 |
*.o) |
| 5063 |
outFile=\`basnam ${D}outFile .o\` |
| 5064 |
;; |
| 5065 |
*.obj) |
| 5066 |
outFile=\`basnam ${D}outFile .obj\` |
| 5067 |
;; |
| 5068 |
*.a) |
| 5069 |
outFile=\`basnam ${D}outFile .a\` |
| 5070 |
;; |
| 5071 |
*.lib) |
| 5072 |
outFile=\`basnam ${D}outFile .lib\` |
| 5073 |
;; |
| 5074 |
*) |
| 5075 |
;; |
| 5076 |
esac |
| 5077 |
case ${D}outimpFile in |
| 5078 |
*.a) |
| 5079 |
outimpFile=\`basnam ${D}outimpFile .a\` |
| 5080 |
;; |
| 5081 |
*.lib) |
| 5082 |
outimpFile=\`basnam ${D}outimpFile .lib\` |
| 5083 |
;; |
| 5084 |
*) |
| 5085 |
;; |
| 5086 |
esac |
| 5087 |
if [ -z ${D}outimpFile ]; then |
| 5088 |
outimpFile=${D}outFile |
| 5089 |
fi |
| 5090 |
defFile="${D}{outFile}.def" |
| 5091 |
arcFile="${D}{outimpFile}.a" |
| 5092 |
arcFile2="${D}{outimpFile}.lib" |
| 5093 |
|
| 5094 |
#create ${D}dllFile as something matching 8.3 restrictions, |
| 5095 |
if [ -z ${D}renameScript ] ; then |
| 5096 |
dllFile="${D}outFile" |
| 5097 |
else |
| 5098 |
dllFile=\`${D}renameScript ${D}outimpFile\` |
| 5099 |
fi |
| 5100 |
|
| 5101 |
if [ ${D}do_backup -ne 0 ] ; then |
| 5102 |
if [ -f ${D}arcFile ] ; then |
| 5103 |
doCommand "mv ${D}arcFile ${D}{outFile}_s.a" |
| 5104 |
fi |
| 5105 |
if [ -f ${D}arcFile2 ] ; then |
| 5106 |
doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib" |
| 5107 |
fi |
| 5108 |
fi |
| 5109 |
|
| 5110 |
# Extract public symbols from all the object files. |
| 5111 |
tmpdefFile=${D}{defFile}_% |
| 5112 |
rm -f ${D}tmpdefFile |
| 5113 |
for file in ${D}inputFiles ; do |
| 5114 |
case ${D}file in |
| 5115 |
*!) |
| 5116 |
;; |
| 5117 |
*) |
| 5118 |
doCommand "emxexp -u ${D}file >> ${D}tmpdefFile" |
| 5119 |
;; |
| 5120 |
esac |
| 5121 |
done |
| 5122 |
|
| 5123 |
# Create the def file. |
| 5124 |
rm -f ${D}defFile |
| 5125 |
echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile |
| 5126 |
dllFile="${D}{dllFile}.dll" |
| 5127 |
if [ ! -z ${D}description ]; then |
| 5128 |
echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile |
| 5129 |
fi |
| 5130 |
echo "EXPORTS" >> ${D}defFile |
| 5131 |
|
| 5132 |
doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%" |
| 5133 |
grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile |
| 5134 |
|
| 5135 |
# Checks if the export is ok or not. |
| 5136 |
for word in ${D}exclude_symbols; do |
| 5137 |
grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}% |
| 5138 |
mv ${D}{tmpdefFile}% ${D}tmpdefFile |
| 5139 |
done |
| 5140 |
|
| 5141 |
|
| 5142 |
if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then |
| 5143 |
sed "=" < ${D}tmpdefFile | \\ |
| 5144 |
sed ' |
| 5145 |
N |
| 5146 |
: loop |
| 5147 |
s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/ |
| 5148 |
t loop |
| 5149 |
' > ${D}{tmpdefFile}% |
| 5150 |
grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile |
| 5151 |
else |
| 5152 |
rm -f ${D}{tmpdefFile}% |
| 5153 |
fi |
| 5154 |
cat ${D}tmpdefFile >> ${D}defFile |
| 5155 |
rm -f ${D}tmpdefFile |
| 5156 |
|
| 5157 |
# Do linking, create implib, and apply lxlite. |
| 5158 |
gccCmdl=""; |
| 5159 |
for file in ${D}inputFiles ; do |
| 5160 |
case ${D}file in |
| 5161 |
*!) |
| 5162 |
;; |
| 5163 |
*) |
| 5164 |
gccCmdl="${D}gccCmdl ${D}file" |
| 5165 |
;; |
| 5166 |
esac |
| 5167 |
done |
| 5168 |
doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS" |
| 5169 |
touch "${D}{outFile}.dll" |
| 5170 |
|
| 5171 |
doCommand "emximp -o ${D}arcFile ${D}defFile" |
| 5172 |
if [ ${D}flag_USE_LXLITE -ne 0 ]; then |
| 5173 |
add_flags=""; |
| 5174 |
if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then |
| 5175 |
add_flags="-ynd" |
| 5176 |
fi |
| 5177 |
doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile" |
| 5178 |
fi |
| 5179 |
doCommand "emxomf -s -l ${D}arcFile" |
| 5180 |
|
| 5181 |
# Successful exit. |
| 5182 |
CleanUp 1 |
| 5183 |
exit 0 |
| 5184 |
EOF |
| 5185 |
|
| 5186 |
chmod +x dllar.sh |
| 5187 |
;; |
| 5188 |
|
| 5189 |
powerpc-apple-macos* | \ |
| 5190 |
*-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \ |
| 5191 |
*-*-mirbsd* | \ |
| 5192 |
*-*-sunos4* | \ |
| 5193 |
*-*-osf* | \ |
| 5194 |
*-*-dgux5* | \ |
| 5195 |
*-*-sysv5* | \ |
| 5196 |
*-pc-msdosdjgpp ) |
| 5197 |
;; |
| 5198 |
|
| 5199 |
*) |
| 5200 |
{ { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5 |
| 5201 |
echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;} |
| 5202 |
{ (exit 1); exit 1; }; } |
| 5203 |
esac |
| 5204 |
|
| 5205 |
if test "x$PIC_FLAG" != "x" ; then |
| 5206 |
PIC_FLAG="$PIC_FLAG -DPIC" |
| 5207 |
fi |
| 5208 |
|
| 5209 |
if test "x$SHARED_LD_MODULE_CC" = "x" ; then |
| 5210 |
SHARED_LD_MODULE_CC="$SHARED_LD_CC" |
| 5211 |
fi |
| 5212 |
if test "x$SHARED_LD_MODULE_CXX" = "x" ; then |
| 5213 |
SHARED_LD_MODULE_CXX="$SHARED_LD_CXX" |
| 5214 |
fi |
| 5215 |
|
| 5216 |
|
| 5217 |
|
| 5218 |
|
| 5219 |
|
| 5220 |
|
| 5221 |
|
| 5222 |
|
| 5223 |
|
| 5224 |
USE_SOVERSION=0 |
| 5225 |
USE_SOVERLINUX=0 |
| 5226 |
USE_SOVERSOLARIS=0 |
| 5227 |
USE_SOVERCYGWIN=0 |
| 5228 |
USE_SOSYMLINKS=0 |
| 5229 |
USE_MACVERSION=0 |
| 5230 |
SONAME_FLAG= |
| 5231 |
|
| 5232 |
case "${BAKEFILE_HOST}" in |
| 5233 |
*-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu ) |
| 5234 |
SONAME_FLAG="-Wl,-soname," |
| 5235 |
USE_SOVERSION=1 |
| 5236 |
USE_SOVERLINUX=1 |
| 5237 |
USE_SOSYMLINKS=1 |
| 5238 |
;; |
| 5239 |
|
| 5240 |
*-*-solaris2* ) |
| 5241 |
SONAME_FLAG="-h " |
| 5242 |
USE_SOVERSION=1 |
| 5243 |
USE_SOVERSOLARIS=1 |
| 5244 |
USE_SOSYMLINKS=1 |
| 5245 |
;; |
| 5246 |
|
| 5247 |
*-*-darwin* ) |
| 5248 |
USE_MACVERSION=1 |
| 5249 |
USE_SOVERSION=1 |
| 5250 |
USE_SOSYMLINKS=1 |
| 5251 |
;; |
| 5252 |
|
| 5253 |
*-*-cygwin* ) |
| 5254 |
USE_SOVERSION=1 |
| 5255 |
USE_SOVERCYGWIN=1 |
| 5256 |
;; |
| 5257 |
esac |
| 5258 |
|
| 5259 |
|
| 5260 |
|
| 5261 |
|
| 5262 |
|
| 5263 |
|
| 5264 |
|
| 5265 |
|
| 5266 |
|
| 5267 |
|
| 5268 |
# Check whether --enable-dependency-tracking was given. |
| 5269 |
if test "${enable_dependency_tracking+set}" = set; then |
| 5270 |
enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval" |
| 5271 |
fi |
| 5272 |
|
| 5273 |
|
| 5274 |
{ echo "$as_me:$LINENO: checking for dependency tracking method" >&5 |
| 5275 |
echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; } |
| 5276 |
|
| 5277 |
BK_DEPS="" |
| 5278 |
if test "x$bk_use_trackdeps" = "xno" ; then |
| 5279 |
DEPS_TRACKING=0 |
| 5280 |
{ echo "$as_me:$LINENO: result: disabled" >&5 |
| 5281 |
echo "${ECHO_T}disabled" >&6; } |
| 5282 |
else |
| 5283 |
DEPS_TRACKING=1 |
| 5284 |
|
| 5285 |
if test "x$GCC" = "xyes"; then |
| 5286 |
DEPSMODE=gcc |
| 5287 |
case "${BAKEFILE_HOST}" in |
| 5288 |
*-*-darwin* ) |
| 5289 |
DEPSFLAG="-no-cpp-precomp -MMD" |
| 5290 |
;; |
| 5291 |
* ) |
| 5292 |
DEPSFLAG="-MMD" |
| 5293 |
;; |
| 5294 |
esac |
| 5295 |
{ echo "$as_me:$LINENO: result: gcc" >&5 |
| 5296 |
echo "${ECHO_T}gcc" >&6; } |
| 5297 |
elif test "x$MWCC" = "xyes"; then |
| 5298 |
DEPSMODE=mwcc |
| 5299 |
DEPSFLAG="-MM" |
| 5300 |
{ echo "$as_me:$LINENO: result: mwcc" >&5 |
| 5301 |
echo "${ECHO_T}mwcc" >&6; } |
| 5302 |
elif test "x$SUNCC" = "xyes"; then |
| 5303 |
DEPSMODE=unixcc |
| 5304 |
DEPSFLAG="-xM1" |
| 5305 |
{ echo "$as_me:$LINENO: result: Sun cc" >&5 |
| 5306 |
echo "${ECHO_T}Sun cc" >&6; } |
| 5307 |
elif test "x$SGICC" = "xyes"; then |
| 5308 |
DEPSMODE=unixcc |
| 5309 |
DEPSFLAG="-M" |
| 5310 |
{ echo "$as_me:$LINENO: result: SGI cc" >&5 |
| 5311 |
echo "${ECHO_T}SGI cc" >&6; } |
| 5312 |
elif test "x$HPCC" = "xyes"; then |
| 5313 |
DEPSMODE=unixcc |
| 5314 |
DEPSFLAG="+make" |
| 5315 |
{ echo "$as_me:$LINENO: result: HP cc" >&5 |
| 5316 |
echo "${ECHO_T}HP cc" >&6; } |
| 5317 |
elif test "x$COMPAQCC" = "xyes"; then |
| 5318 |
DEPSMODE=gcc |
| 5319 |
DEPSFLAG="-MD" |
| 5320 |
{ echo "$as_me:$LINENO: result: Compaq cc" >&5 |
| 5321 |
echo "${ECHO_T}Compaq cc" >&6; } |
| 5322 |
else |
| 5323 |
DEPS_TRACKING=0 |
| 5324 |
{ echo "$as_me:$LINENO: result: none" >&5 |
| 5325 |
echo "${ECHO_T}none" >&6; } |
| 5326 |
fi |
| 5327 |
|
| 5328 |
if test $DEPS_TRACKING = 1 ; then |
| 5329 |
|
| 5330 |
D='$' |
| 5331 |
cat <<EOF >bk-deps |
| 5332 |
#!/bin/sh |
| 5333 |
|
| 5334 |
# This script is part of Bakefile (http://www.bakefile.org) autoconf |
| 5335 |
# script. It is used to track C/C++ files dependencies in portable way. |
| 5336 |
# |
| 5337 |
# Permission is given to use this file in any way. |
| 5338 |
|
| 5339 |
DEPSMODE=${DEPSMODE} |
| 5340 |
DEPSDIR=.deps |
| 5341 |
DEPSFLAG="${DEPSFLAG}" |
| 5342 |
|
| 5343 |
mkdir -p ${D}DEPSDIR |
| 5344 |
|
| 5345 |
if test ${D}DEPSMODE = gcc ; then |
| 5346 |
${D}* ${D}{DEPSFLAG} |
| 5347 |
status=${D}? |
| 5348 |
if test ${D}{status} != 0 ; then |
| 5349 |
exit ${D}{status} |
| 5350 |
fi |
| 5351 |
# move created file to the location we want it in: |
| 5352 |
while test ${D}# -gt 0; do |
| 5353 |
case "${D}1" in |
| 5354 |
-o ) |
| 5355 |
shift |
| 5356 |
objfile=${D}1 |
| 5357 |
;; |
| 5358 |
-* ) |
| 5359 |
;; |
| 5360 |
* ) |
| 5361 |
srcfile=${D}1 |
| 5362 |
;; |
| 5363 |
esac |
| 5364 |
shift |
| 5365 |
done |
| 5366 |
depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\` |
| 5367 |
depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\` |
| 5368 |
if test -f ${D}depfile ; then |
| 5369 |
sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d |
| 5370 |
rm -f ${D}depfile |
| 5371 |
else |
| 5372 |
# "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d |
| 5373 |
depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\` |
| 5374 |
if test ! -f ${D}depfile ; then |
| 5375 |
# "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++) |
| 5376 |
depfile="${D}objfile.d" |
| 5377 |
fi |
| 5378 |
if test -f ${D}depfile ; then |
| 5379 |
sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d |
| 5380 |
rm -f ${D}depfile |
| 5381 |
fi |
| 5382 |
fi |
| 5383 |
exit 0 |
| 5384 |
elif test ${D}DEPSMODE = mwcc ; then |
| 5385 |
${D}* || exit ${D}? |
| 5386 |
# Run mwcc again with -MM and redirect into the dep file we want |
| 5387 |
# NOTE: We can't use shift here because we need ${D}* to be valid |
| 5388 |
prevarg= |
| 5389 |
for arg in ${D}* ; do |
| 5390 |
if test "${D}prevarg" = "-o"; then |
| 5391 |
objfile=${D}arg |
| 5392 |
else |
| 5393 |
case "${D}arg" in |
| 5394 |
-* ) |
| 5395 |
;; |
| 5396 |
* ) |
| 5397 |
srcfile=${D}arg |
| 5398 |
;; |
| 5399 |
esac |
| 5400 |
fi |
| 5401 |
prevarg="${D}arg" |
| 5402 |
done |
| 5403 |
${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d |
| 5404 |
exit 0 |
| 5405 |
elif test ${D}DEPSMODE = unixcc; then |
| 5406 |
${D}* || exit ${D}? |
| 5407 |
# Run compiler again with deps flag and redirect into the dep file. |
| 5408 |
# It doesn't work if the '-o FILE' option is used, but without it the |
| 5409 |
# dependency file will contain the wrong name for the object. So it is |
| 5410 |
# removed from the command line, and the dep file is fixed with sed. |
| 5411 |
cmd="" |
| 5412 |
while test ${D}# -gt 0; do |
| 5413 |
case "${D}1" in |
| 5414 |
-o ) |
| 5415 |
shift |
| 5416 |
objfile=${D}1 |
| 5417 |
;; |
| 5418 |
* ) |
| 5419 |
eval arg${D}#=\\${D}1 |
| 5420 |
cmd="${D}cmd \\${D}arg${D}#" |
| 5421 |
;; |
| 5422 |
esac |
| 5423 |
shift |
| 5424 |
done |
| 5425 |
eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d |
| 5426 |
exit 0 |
| 5427 |
else |
| 5428 |
${D}* |
| 5429 |
exit ${D}? |
| 5430 |
fi |
| 5431 |
EOF |
| 5432 |
|
| 5433 |
chmod +x bk-deps |
| 5434 |
BK_DEPS="`pwd`/bk-deps" |
| 5435 |
fi |
| 5436 |
fi |
| 5437 |
|
| 5438 |
|
| 5439 |
|
| 5440 |
|
| 5441 |
|
| 5442 |
case ${BAKEFILE_HOST} in |
| 5443 |
*-*-cygwin* | *-*-mingw32* ) |
| 5444 |
if test -n "$ac_tool_prefix"; then |
| 5445 |
# Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. |
| 5446 |
set dummy ${ac_tool_prefix}windres; ac_word=$2 |
| 5447 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5448 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 5449 |
if test "${ac_cv_prog_WINDRES+set}" = set; then |
| 5450 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5451 |
else |
| 5452 |
if test -n "$WINDRES"; then |
| 5453 |
ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. |
| 5454 |
else |
| 5455 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5456 |
for as_dir in $PATH |
| 5457 |
do |
| 5458 |
IFS=$as_save_IFS |
| 5459 |
test -z "$as_dir" && as_dir=. |
| 5460 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5461 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5462 |
ac_cv_prog_WINDRES="${ac_tool_prefix}windres" |
| 5463 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5464 |
break 2 |
| 5465 |
fi |
| 5466 |
done |
| 5467 |
done |
| 5468 |
IFS=$as_save_IFS |
| 5469 |
|
| 5470 |
fi |
| 5471 |
fi |
| 5472 |
WINDRES=$ac_cv_prog_WINDRES |
| 5473 |
if test -n "$WINDRES"; then |
| 5474 |
{ echo "$as_me:$LINENO: result: $WINDRES" >&5 |
| 5475 |
echo "${ECHO_T}$WINDRES" >&6; } |
| 5476 |
else |
| 5477 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 5478 |
echo "${ECHO_T}no" >&6; } |
| 5479 |
fi |
| 5480 |
|
| 5481 |
|
| 5482 |
fi |
| 5483 |
if test -z "$ac_cv_prog_WINDRES"; then |
| 5484 |
ac_ct_WINDRES=$WINDRES |
| 5485 |
# Extract the first word of "windres", so it can be a program name with args. |
| 5486 |
set dummy windres; ac_word=$2 |
| 5487 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5488 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 5489 |
if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then |
| 5490 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5491 |
else |
| 5492 |
if test -n "$ac_ct_WINDRES"; then |
| 5493 |
ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test. |
| 5494 |
else |
| 5495 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5496 |
for as_dir in $PATH |
| 5497 |
do |
| 5498 |
IFS=$as_save_IFS |
| 5499 |
test -z "$as_dir" && as_dir=. |
| 5500 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5501 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5502 |
ac_cv_prog_ac_ct_WINDRES="windres" |
| 5503 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5504 |
break 2 |
| 5505 |
fi |
| 5506 |
done |
| 5507 |
done |
| 5508 |
IFS=$as_save_IFS |
| 5509 |
|
| 5510 |
fi |
| 5511 |
fi |
| 5512 |
ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES |
| 5513 |
if test -n "$ac_ct_WINDRES"; then |
| 5514 |
{ echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5 |
| 5515 |
echo "${ECHO_T}$ac_ct_WINDRES" >&6; } |
| 5516 |
else |
| 5517 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 5518 |
echo "${ECHO_T}no" >&6; } |
| 5519 |
fi |
| 5520 |
|
| 5521 |
if test "x$ac_ct_WINDRES" = x; then |
| 5522 |
WINDRES="" |
| 5523 |
else |
| 5524 |
case $cross_compiling:$ac_tool_warned in |
| 5525 |
yes:) |
| 5526 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 5527 |
whose name does not start with the host triplet. If you think this |
| 5528 |
configuration is useful to you, please write to [email protected]." >&5 |
| 5529 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
| 5530 |
whose name does not start with the host triplet. If you think this |
| 5531 |
configuration is useful to you, please write to [email protected]." >&2;} |
| 5532 |
ac_tool_warned=yes ;; |
| 5533 |
esac |
| 5534 |
WINDRES=$ac_ct_WINDRES |
| 5535 |
fi |
| 5536 |
else |
| 5537 |
WINDRES="$ac_cv_prog_WINDRES" |
| 5538 |
fi |
| 5539 |
|
| 5540 |
;; |
| 5541 |
|
| 5542 |
*-*-darwin* | powerpc-apple-macos* ) |
| 5543 |
# Extract the first word of "Rez", so it can be a program name with args. |
| 5544 |
set dummy Rez; ac_word=$2 |
| 5545 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5546 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 5547 |
if test "${ac_cv_prog_REZ+set}" = set; then |
| 5548 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5549 |
else |
| 5550 |
if test -n "$REZ"; then |
| 5551 |
ac_cv_prog_REZ="$REZ" # Let the user override the test. |
| 5552 |
else |
| 5553 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5554 |
for as_dir in $PATH |
| 5555 |
do |
| 5556 |
IFS=$as_save_IFS |
| 5557 |
test -z "$as_dir" && as_dir=. |
| 5558 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5559 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5560 |
ac_cv_prog_REZ="Rez" |
| 5561 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5562 |
break 2 |
| 5563 |
fi |
| 5564 |
done |
| 5565 |
done |
| 5566 |
IFS=$as_save_IFS |
| 5567 |
|
| 5568 |
test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez" |
| 5569 |
fi |
| 5570 |
fi |
| 5571 |
REZ=$ac_cv_prog_REZ |
| 5572 |
if test -n "$REZ"; then |
| 5573 |
{ echo "$as_me:$LINENO: result: $REZ" >&5 |
| 5574 |
echo "${ECHO_T}$REZ" >&6; } |
| 5575 |
else |
| 5576 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 5577 |
echo "${ECHO_T}no" >&6; } |
| 5578 |
fi |
| 5579 |
|
| 5580 |
|
| 5581 |
# Extract the first word of "SetFile", so it can be a program name with args. |
| 5582 |
set dummy SetFile; ac_word=$2 |
| 5583 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5584 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 5585 |
if test "${ac_cv_prog_SETFILE+set}" = set; then |
| 5586 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5587 |
else |
| 5588 |
if test -n "$SETFILE"; then |
| 5589 |
ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test. |
| 5590 |
else |
| 5591 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5592 |
for as_dir in $PATH |
| 5593 |
do |
| 5594 |
IFS=$as_save_IFS |
| 5595 |
test -z "$as_dir" && as_dir=. |
| 5596 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 5597 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5598 |
ac_cv_prog_SETFILE="SetFile" |
| 5599 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5600 |
break 2 |
| 5601 |
fi |
| 5602 |
done |
| 5603 |
done |
| 5604 |
IFS=$as_save_IFS |
| 5605 |
|
| 5606 |
test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile" |
| 5607 |
fi |
| 5608 |
fi |
| 5609 |
SETFILE=$ac_cv_prog_SETFILE |
| 5610 |
if test -n "$SETFILE"; then |
| 5611 |
{ echo "$as_me:$LINENO: result: $SETFILE" >&5 |
| 5612 |
echo "${ECHO_T}$SETFILE" >&6; } |
| 5613 |
else |
| 5614 |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 5615 |
echo "${ECHO_T}no" >&6; } |
| 5616 |
fi |
| 5617 |
|
| 5618 |
|
| 5619 |
;; |
| 5620 |
esac |
| 5621 |
|
| 5622 |
|
| 5623 |
|
| 5624 |
|
| 5625 |
|
| 5626 |
|
| 5627 |
BAKEFILE_BAKEFILE_M4_VERSION="0.2.2" |
| 5628 |
|
| 5629 |
|
| 5630 |
BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2" |
| 5631 |
|
| 5632 |
COND_DEPS_TRACKING_0="#" |
| 5633 |
if test "x$DEPS_TRACKING" = "x0" ; then |
| 5634 |
COND_DEPS_TRACKING_0="" |
| 5635 |
fi |
| 5636 |
|
| 5637 |
COND_DEPS_TRACKING_1="#" |
| 5638 |
if test "x$DEPS_TRACKING" = "x1" ; then |
| 5639 |
COND_DEPS_TRACKING_1="" |
| 5640 |
fi |
| 5641 |
|
| 5642 |
COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#" |
| 5643 |
if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then |
| 5644 |
COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="" |
| 5645 |
fi |
| 5646 |
|
| 5647 |
COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#" |
| 5648 |
if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then |
| 5649 |
COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="" |
| 5650 |
fi |
| 5651 |
|
| 5652 |
COND_PLATFORM_MACOSX_1="#" |
| 5653 |
if test "x$PLATFORM_MACOSX" = "x1" ; then |
| 5654 |
COND_PLATFORM_MACOSX_1="" |
| 5655 |
fi |
| 5656 |
|
| 5657 |
COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#" |
| 5658 |
if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then |
| 5659 |
COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="" |
| 5660 |
fi |
| 5661 |
|
| 5662 |
COND_PLATFORM_MAC_1="#" |
| 5663 |
if test "x$PLATFORM_MAC" = "x1" ; then |
| 5664 |
COND_PLATFORM_MAC_1="" |
| 5665 |
fi |
| 5666 |
|
| 5667 |
COND_PLATFORM_OS2_1="#" |
| 5668 |
if test "x$PLATFORM_OS2" = "x1" ; then |
| 5669 |
COND_PLATFORM_OS2_1="" |
| 5670 |
fi |
| 5671 |
|
| 5672 |
COND_PLATFORM_WIN32_1="#" |
| 5673 |
if test "x$PLATFORM_WIN32" = "x1" ; then |
| 5674 |
COND_PLATFORM_WIN32_1="" |
| 5675 |
fi |
| 5676 |
|
| 5677 |
COND_USE_SOSYMLINKS_1="#" |
| 5678 |
if test "x$USE_SOSYMLINKS" = "x1" ; then |
| 5679 |
COND_USE_SOSYMLINKS_1="" |
| 5680 |
fi |
| 5681 |
|
| 5682 |
COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#" |
| 5683 |
if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then |
| 5684 |
COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="" |
| 5685 |
fi |
| 5686 |
|
| 5687 |
COND_USE_SOVERLINUX_1="#" |
| 5688 |
if test "x$USE_SOVERLINUX" = "x1" ; then |
| 5689 |
COND_USE_SOVERLINUX_1="" |
| 5690 |
fi |
| 5691 |
|
| 5692 |
COND_USE_SOVERSION_0="#" |
| 5693 |
if test "x$USE_SOVERSION" = "x0" ; then |
| 5694 |
COND_USE_SOVERSION_0="" |
| 5695 |
fi |
| 5696 |
|
| 5697 |
COND_USE_SOVERSOLARIS_1="#" |
| 5698 |
if test "x$USE_SOVERSOLARIS" = "x1" ; then |
| 5699 |
COND_USE_SOVERSOLARIS_1="" |
| 5700 |
fi |
| 5701 |
|
| 5702 |
COND_WINDOWS_IMPLIB_1="#" |
| 5703 |
if test "x$WINDOWS_IMPLIB" = "x1" ; then |
| 5704 |
COND_WINDOWS_IMPLIB_1="" |
| 5705 |
fi |
| 5706 |
|
| 5707 |
COND_WX_DEBUG_0="#" |
| 5708 |
if test "x$WX_DEBUG" = "x0" ; then |
| 5709 |
COND_WX_DEBUG_0="" |
| 5710 |
fi |
| 5711 |
|
| 5712 |
COND_WX_DEBUG_0_WX_UNICODE_1="#" |
| 5713 |
if test "x$WX_DEBUG" = "x0" -a "x$WX_UNICODE" = "x1" ; then |
| 5714 |
COND_WX_DEBUG_0_WX_UNICODE_1="" |
| 5715 |
fi |
| 5716 |
|
| 5717 |
COND_WX_DEBUG_1="#" |
| 5718 |
if test "x$WX_DEBUG" = "x1" ; then |
| 5719 |
COND_WX_DEBUG_1="" |
| 5720 |
fi |
| 5721 |
|
| 5722 |
COND_WX_DEBUG_1_WX_UNICODE_0="#" |
| 5723 |
if test "x$WX_DEBUG" = "x1" -a "x$WX_UNICODE" = "x0" ; then |
| 5724 |
COND_WX_DEBUG_1_WX_UNICODE_0="" |
| 5725 |
fi |
| 5726 |
|
| 5727 |
COND_WX_DEBUG_1_WX_UNICODE_1="#" |
| 5728 |
if test "x$WX_DEBUG" = "x1" -a "x$WX_UNICODE" = "x1" ; then |
| 5729 |
COND_WX_DEBUG_1_WX_UNICODE_1="" |
| 5730 |
fi |
| 5731 |
|
| 5732 |
COND_WX_SHARED_0="#" |
| 5733 |
if test "x$WX_SHARED" = "x0" ; then |
| 5734 |
COND_WX_SHARED_0="" |
| 5735 |
fi |
| 5736 |
|
| 5737 |
COND_WX_SHARED_1="#" |
| 5738 |
if test "x$WX_SHARED" = "x1" ; then |
| 5739 |
COND_WX_SHARED_1="" |
| 5740 |
fi |
| 5741 |
|
| 5742 |
|
| 5743 |
|
| 5744 |
if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then |
| 5745 |
{ { echo "$as_me:$LINENO: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&5 |
| 5746 |
echo "$as_me: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&2;} |
| 5747 |
{ (exit 1); exit 1; }; } |
| 5748 |
fi |
| 5749 |
|
| 5750 |
if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then |
| 5751 |
{ { echo "$as_me:$LINENO: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&5 |
| 5752 |
echo "$as_me: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&2;} |
| 5753 |
{ (exit 1); exit 1; }; } |
| 5754 |
fi |
| 5755 |
|
| 5756 |
ac_config_files="$ac_config_files Makefile" |
| 5757 |
|
| 5758 |
cat >confcache <<\_ACEOF |
| 5759 |
# This file is a shell script that caches the results of configure |
| 5760 |
# tests run on this system so they can be shared between configure |
| 5761 |
# scripts and configure runs, see configure's option --config-cache. |
| 5762 |
# It is not useful on other systems. If it contains results you don't |
| 5763 |
# want to keep, you may remove or edit it. |
| 5764 |
# |
| 5765 |
# config.status only pays attention to the cache file if you give it |
| 5766 |
# the --recheck option to rerun configure. |
| 5767 |
# |
| 5768 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
| 5769 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
| 5770 |
# following values. |
| 5771 |
|
| 5772 |
_ACEOF |
| 5773 |
|
| 5774 |
# The following way of writing the cache mishandles newlines in values, |
| 5775 |
# but we know of no workaround that is simple, portable, and efficient. |
| 5776 |
# So, we kill variables containing newlines. |
| 5777 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
| 5778 |
# and sets the high bit in the cache file unless we assign to the vars. |
| 5779 |
( |
| 5780 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 5781 |
eval ac_val=\$$ac_var |
| 5782 |
case $ac_val in #( |
| 5783 |
*${as_nl}*) |
| 5784 |
case $ac_var in #( |
| 5785 |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
| 5786 |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
| 5787 |
esac |
| 5788 |
case $ac_var in #( |
| 5789 |
_ | IFS | as_nl) ;; #( |
| 5790 |
*) $as_unset $ac_var ;; |
| 5791 |
esac ;; |
| 5792 |
esac |
| 5793 |
done |
| 5794 |
|
| 5795 |
(set) 2>&1 | |
| 5796 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 5797 |
*${as_nl}ac_space=\ *) |
| 5798 |
# `set' does not quote correctly, so add quotes (double-quote |
| 5799 |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
| 5800 |
sed -n \ |
| 5801 |
"s/'/'\\\\''/g; |
| 5802 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 5803 |
;; #( |
| 5804 |
*) |
| 5805 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
| 5806 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 5807 |
;; |
| 5808 |
esac | |
| 5809 |
sort |
| 5810 |
) | |
| 5811 |
sed ' |
| 5812 |
/^ac_cv_env_/b end |
| 5813 |
t clear |
| 5814 |
:clear |
| 5815 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
| 5816 |
t end |
| 5817 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 5818 |
:end' >>confcache |
| 5819 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 5820 |
if test -w "$cache_file"; then |
| 5821 |
test "x$cache_file" != "x/dev/null" && |
| 5822 |
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
| 5823 |
echo "$as_me: updating cache $cache_file" >&6;} |
| 5824 |
cat confcache >$cache_file |
| 5825 |
else |
| 5826 |
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
| 5827 |
echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 5828 |
fi |
| 5829 |
fi |
| 5830 |
rm -f confcache |
| 5831 |
|
| 5832 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 5833 |
# Let make expand exec_prefix. |
| 5834 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 5835 |
|
| 5836 |
# Transform confdefs.h into DEFS. |
| 5837 |
# Protect against shell expansion while executing Makefile rules. |
| 5838 |
# Protect against Makefile macro expansion. |
| 5839 |
# |
| 5840 |
# If the first sed substitution is executed (which looks for macros that |
| 5841 |
# take arguments), then branch to the quote section. Otherwise, |
| 5842 |
# look for a macro that doesn't take arguments. |
| 5843 |
ac_script=' |
| 5844 |
t clear |
| 5845 |
:clear |
| 5846 |
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
| 5847 |
t quote |
| 5848 |
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
| 5849 |
t quote |
| 5850 |
b any |
| 5851 |
:quote |
| 5852 |
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
| 5853 |
s/\[/\\&/g |
| 5854 |
s/\]/\\&/g |
| 5855 |
s/\$/$$/g |
| 5856 |
H |
| 5857 |
:any |
| 5858 |
${ |
| 5859 |
g |
| 5860 |
s/^\n// |
| 5861 |
s/\n/ /g |
| 5862 |
p |
| 5863 |
} |
| 5864 |
' |
| 5865 |
DEFS=`sed -n "$ac_script" confdefs.h` |
| 5866 |
|
| 5867 |
|
| 5868 |
ac_libobjs= |
| 5869 |
ac_ltlibobjs= |
| 5870 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 5871 |
# 1. Remove the extension, and $U if already installed. |
| 5872 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 5873 |
ac_i=`echo "$ac_i" | sed "$ac_script"` |
| 5874 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 5875 |
# will be set to the directory where LIBOBJS objects are built. |
| 5876 |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 5877 |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
| 5878 |
done |
| 5879 |
LIBOBJS=$ac_libobjs |
| 5880 |
|
| 5881 |
LTLIBOBJS=$ac_ltlibobjs |
| 5882 |
|
| 5883 |
|
| 5884 |
|
| 5885 |
: ${CONFIG_STATUS=./config.status} |
| 5886 |
ac_clean_files_save=$ac_clean_files |
| 5887 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 5888 |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
| 5889 |
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
| 5890 |
cat >$CONFIG_STATUS <<_ACEOF |
| 5891 |
#! $SHELL |
| 5892 |
# Generated by $as_me. |
| 5893 |
# Run this file to recreate the current configuration. |
| 5894 |
# Compiler output produced by configure, useful for debugging |
| 5895 |
# configure, is in config.log if it exists. |
| 5896 |
|
| 5897 |
debug=false |
| 5898 |
ac_cs_recheck=false |
| 5899 |
ac_cs_silent=false |
| 5900 |
SHELL=\${CONFIG_SHELL-$SHELL} |
| 5901 |
_ACEOF |
| 5902 |
|
| 5903 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 5904 |
## --------------------- ## |
| 5905 |
## M4sh Initialization. ## |
| 5906 |
## --------------------- ## |
| 5907 |
|
| 5908 |
# Be Bourne compatible |
| 5909 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 5910 |
emulate sh |
| 5911 |
NULLCMD=: |
| 5912 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 5913 |
# is contrary to our usage. Disable this feature. |
| 5914 |
alias -g '${1+"$@"}'='"$@"' |
| 5915 |
setopt NO_GLOB_SUBST |
| 5916 |
else |
| 5917 |
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac |
| 5918 |
fi |
| 5919 |
BIN_SH=xpg4; export BIN_SH # for Tru64 |
| 5920 |
DUALCASE=1; export DUALCASE # for MKS sh |
| 5921 |
|
| 5922 |
|
| 5923 |
# PATH needs CR |
| 5924 |
# Avoid depending upon Character Ranges. |
| 5925 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 5926 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 5927 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 5928 |
as_cr_digits='0123456789' |
| 5929 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 5930 |
|
| 5931 |
# The user is always right. |
| 5932 |
if test "${PATH_SEPARATOR+set}" != set; then |
| 5933 |
echo "#! /bin/sh" >conf$$.sh |
| 5934 |
echo "exit 0" >>conf$$.sh |
| 5935 |
chmod +x conf$$.sh |
| 5936 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 5937 |
PATH_SEPARATOR=';' |
| 5938 |
else |
| 5939 |
PATH_SEPARATOR=: |
| 5940 |
fi |
| 5941 |
rm -f conf$$.sh |
| 5942 |
fi |
| 5943 |
|
| 5944 |
# Support unset when possible. |
| 5945 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 5946 |
as_unset=unset |
| 5947 |
else |
| 5948 |
as_unset=false |
| 5949 |
fi |
| 5950 |
|
| 5951 |
|
| 5952 |
# IFS |
| 5953 |
# We need space, tab and new line, in precisely that order. Quoting is |
| 5954 |
# there to prevent editors from complaining about space-tab. |
| 5955 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 5956 |
# splitting by setting IFS to empty value.) |
| 5957 |
as_nl=' |
| 5958 |
' |
| 5959 |
IFS=" "" $as_nl" |
| 5960 |
|
| 5961 |
# Find who we are. Look in the path if we contain no directory separator. |
| 5962 |
case $0 in |
| 5963 |
*[\\/]* ) as_myself=$0 ;; |
| 5964 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5965 |
for as_dir in $PATH |
| 5966 |
do |
| 5967 |
IFS=$as_save_IFS |
| 5968 |
test -z "$as_dir" && as_dir=. |
| 5969 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 5970 |
done |
| 5971 |
IFS=$as_save_IFS |
| 5972 |
|
| 5973 |
;; |
| 5974 |
esac |
| 5975 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 5976 |
# in which case we are not to be found in the path. |
| 5977 |
if test "x$as_myself" = x; then |
| 5978 |
as_myself=$0 |
| 5979 |
fi |
| 5980 |
if test ! -f "$as_myself"; then |
| 5981 |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 5982 |
{ (exit 1); exit 1; } |
| 5983 |
fi |
| 5984 |
|
| 5985 |
# Work around bugs in pre-3.0 UWIN ksh. |
| 5986 |
for as_var in ENV MAIL MAILPATH |
| 5987 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 5988 |
done |
| 5989 |
PS1='$ ' |
| 5990 |
PS2='> ' |
| 5991 |
PS4='+ ' |
| 5992 |
|
| 5993 |
# NLS nuisances. |
| 5994 |
for as_var in \ |
| 5995 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
| 5996 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| 5997 |
LC_TELEPHONE LC_TIME |
| 5998 |
do |
| 5999 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 6000 |
eval $as_var=C; export $as_var |
| 6001 |
else |
| 6002 |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 6003 |
fi |
| 6004 |
done |
| 6005 |
|
| 6006 |
# Required to use basename. |
| 6007 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 6008 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 6009 |
as_expr=expr |
| 6010 |
else |
| 6011 |
as_expr=false |
| 6012 |
fi |
| 6013 |
|
| 6014 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 6015 |
as_basename=basename |
| 6016 |
else |
| 6017 |
as_basename=false |
| 6018 |
fi |
| 6019 |
|
| 6020 |
|
| 6021 |
# Name of the executable. |
| 6022 |
as_me=`$as_basename -- "$0" || |
| 6023 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 6024 |
X"$0" : 'X\(//\)$' \| \ |
| 6025 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 6026 |
echo X/"$0" | |
| 6027 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 6028 |
s//\1/ |
| 6029 |
q |
| 6030 |
} |
| 6031 |
/^X\/\(\/\/\)$/{ |
| 6032 |
s//\1/ |
| 6033 |
q |
| 6034 |
} |
| 6035 |
/^X\/\(\/\).*/{ |
| 6036 |
s//\1/ |
| 6037 |
q |
| 6038 |
} |
| 6039 |
s/.*/./; q'` |
| 6040 |
|
| 6041 |
# CDPATH. |
| 6042 |
$as_unset CDPATH |
| 6043 |
|
| 6044 |
|
| 6045 |
|
| 6046 |
as_lineno_1=$LINENO |
| 6047 |
as_lineno_2=$LINENO |
| 6048 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 6049 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
| 6050 |
|
| 6051 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 6052 |
# uniformly replaced by the line number. The first 'sed' inserts a |
| 6053 |
# line-number line after each line using $LINENO; the second 'sed' |
| 6054 |
# does the real work. The second script uses 'N' to pair each |
| 6055 |
# line-number line with the line containing $LINENO, and appends |
| 6056 |
# trailing '-' during substitution so that $LINENO is not a special |
| 6057 |
# case at line end. |
| 6058 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 6059 |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
| 6060 |
# E. McMahon (1931-1989) for sed's syntax. :-) |
| 6061 |
sed -n ' |
| 6062 |
p |
| 6063 |
/[$]LINENO/= |
| 6064 |
' <$as_myself | |
| 6065 |
sed ' |
| 6066 |
s/[$]LINENO.*/&-/ |
| 6067 |
t lineno |
| 6068 |
b |
| 6069 |
:lineno |
| 6070 |
N |
| 6071 |
:loop |
| 6072 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 6073 |
t loop |
| 6074 |
s/-\n.*// |
| 6075 |
' >$as_me.lineno && |
| 6076 |
chmod +x "$as_me.lineno" || |
| 6077 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 6078 |
{ (exit 1); exit 1; }; } |
| 6079 |
|
| 6080 |
# Don't try to exec as it changes $[0], causing all sort of problems |
| 6081 |
# (the dirname of $[0] is not the place where we might find the |
| 6082 |
# original and so on. Autoconf is especially sensitive to this). |
| 6083 |
. "./$as_me.lineno" |
| 6084 |
# Exit status is that of the last command. |
| 6085 |
exit |
| 6086 |
} |
| 6087 |
|
| 6088 |
|
| 6089 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 6090 |
as_dirname=dirname |
| 6091 |
else |
| 6092 |
as_dirname=false |
| 6093 |
fi |
| 6094 |
|
| 6095 |
ECHO_C= ECHO_N= ECHO_T= |
| 6096 |
case `echo -n x` in |
| 6097 |
-n*) |
| 6098 |
case `echo 'x\c'` in |
| 6099 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 6100 |
*) ECHO_C='\c';; |
| 6101 |
esac;; |
| 6102 |
*) |
| 6103 |
ECHO_N='-n';; |
| 6104 |
esac |
| 6105 |
|
| 6106 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 6107 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 6108 |
as_expr=expr |
| 6109 |
else |
| 6110 |
as_expr=false |
| 6111 |
fi |
| 6112 |
|
| 6113 |
rm -f conf$$ conf$$.exe conf$$.file |
| 6114 |
if test -d conf$$.dir; then |
| 6115 |
rm -f conf$$.dir/conf$$.file |
| 6116 |
else |
| 6117 |
rm -f conf$$.dir |
| 6118 |
mkdir conf$$.dir |
| 6119 |
fi |
| 6120 |
echo >conf$$.file |
| 6121 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 6122 |
as_ln_s='ln -s' |
| 6123 |
# ... but there are two gotchas: |
| 6124 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 6125 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 6126 |
# In both cases, we have to default to `cp -p'. |
| 6127 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 6128 |
as_ln_s='cp -p' |
| 6129 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 6130 |
as_ln_s=ln |
| 6131 |
else |
| 6132 |
as_ln_s='cp -p' |
| 6133 |
fi |
| 6134 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 6135 |
rmdir conf$$.dir 2>/dev/null |
| 6136 |
|
| 6137 |
if mkdir -p . 2>/dev/null; then |
| 6138 |
as_mkdir_p=: |
| 6139 |
else |
| 6140 |
test -d ./-p && rmdir ./-p |
| 6141 |
as_mkdir_p=false |
| 6142 |
fi |
| 6143 |
|
| 6144 |
# Find out whether ``test -x'' works. Don't use a zero-byte file, as |
| 6145 |
# systems may use methods other than mode bits to determine executability. |
| 6146 |
cat >conf$$.file <<_ASEOF |
| 6147 |
#! /bin/sh |
| 6148 |
exit 0 |
| 6149 |
_ASEOF |
| 6150 |
chmod +x conf$$.file |
| 6151 |
if test -x conf$$.file >/dev/null 2>&1; then |
| 6152 |
as_executable_p="test -x" |
| 6153 |
else |
| 6154 |
as_executable_p=: |
| 6155 |
fi |
| 6156 |
rm -f conf$$.file |
| 6157 |
|
| 6158 |
# Sed expression to map a string onto a valid CPP name. |
| 6159 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 6160 |
|
| 6161 |
# Sed expression to map a string onto a valid variable name. |
| 6162 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 6163 |
|
| 6164 |
|
| 6165 |
exec 6>&1 |
| 6166 |
|
| 6167 |
# Save the log message, to keep $[0] and so on meaningful, and to |
| 6168 |
# report actual input values of CONFIG_FILES etc. instead of their |
| 6169 |
# values after options handling. |
| 6170 |
ac_log=" |
| 6171 |
This file was extended by wxthings $as_me 1.0, which was |
| 6172 |
generated by GNU Autoconf 2.60. Invocation command line was |
| 6173 |
|
| 6174 |
CONFIG_FILES = $CONFIG_FILES |
| 6175 |
CONFIG_HEADERS = $CONFIG_HEADERS |
| 6176 |
CONFIG_LINKS = $CONFIG_LINKS |
| 6177 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 6178 |
$ $0 $@ |
| 6179 |
|
| 6180 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 6181 |
" |
| 6182 |
|
| 6183 |
_ACEOF |
| 6184 |
|
| 6185 |
cat >>$CONFIG_STATUS <<_ACEOF |
| 6186 |
# Files that config.status was made for. |
| 6187 |
config_files="$ac_config_files" |
| 6188 |
|
| 6189 |
_ACEOF |
| 6190 |
|
| 6191 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 6192 |
ac_cs_usage="\ |
| 6193 |
\`$as_me' instantiates files from templates according to the |
| 6194 |
current configuration. |
| 6195 |
|
| 6196 |
Usage: $0 [OPTIONS] [FILE]... |
| 6197 |
|
| 6198 |
-h, --help print this help, then exit |
| 6199 |
-V, --version print version number, then exit |
| 6200 |
-q, --quiet do not print progress messages |
| 6201 |
-d, --debug don't remove temporary files |
| 6202 |
--recheck update $as_me by reconfiguring in the same conditions |
| 6203 |
--file=FILE[:TEMPLATE] |
| 6204 |
instantiate the configuration file FILE |
| 6205 |
|
| 6206 |
Configuration files: |
| 6207 |
$config_files |
| 6208 |
|
| 6209 |
Report bugs to <[email protected]>." |
| 6210 |
|
| 6211 |
_ACEOF |
| 6212 |
cat >>$CONFIG_STATUS <<_ACEOF |
| 6213 |
ac_cs_version="\\ |
| 6214 |
wxthings config.status 1.0 |
| 6215 |
configured by $0, generated by GNU Autoconf 2.60, |
| 6216 |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
| 6217 |
|
| 6218 |
Copyright (C) 2006 Free Software Foundation, Inc. |
| 6219 |
This config.status script is free software; the Free Software Foundation |
| 6220 |
gives unlimited permission to copy, distribute and modify it." |
| 6221 |
|
| 6222 |
ac_pwd='$ac_pwd' |
| 6223 |
srcdir='$srcdir' |
| 6224 |
INSTALL='$INSTALL' |
| 6225 |
_ACEOF |
| 6226 |
|
| 6227 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 6228 |
# If no file are specified by the user, then we need to provide default |
| 6229 |
# value. By we need to know if files were specified by the user. |
| 6230 |
ac_need_defaults=: |
| 6231 |
while test $# != 0 |
| 6232 |
do |
| 6233 |
case $1 in |
| 6234 |
--*=*) |
| 6235 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 6236 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 6237 |
ac_shift=: |
| 6238 |
;; |
| 6239 |
*) |
| 6240 |
ac_option=$1 |
| 6241 |
ac_optarg=$2 |
| 6242 |
ac_shift=shift |
| 6243 |
;; |
| 6244 |
esac |
| 6245 |
|
| 6246 |
case $ac_option in |
| 6247 |
# Handling of the options. |
| 6248 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 6249 |
ac_cs_recheck=: ;; |
| 6250 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 6251 |
echo "$ac_cs_version"; exit ;; |
| 6252 |
--debug | --debu | --deb | --de | --d | -d ) |
| 6253 |
debug=: ;; |
| 6254 |
--file | --fil | --fi | --f ) |
| 6255 |
$ac_shift |
| 6256 |
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
| 6257 |
ac_need_defaults=false;; |
| 6258 |
--he | --h | --help | --hel | -h ) |
| 6259 |
echo "$ac_cs_usage"; exit ;; |
| 6260 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 6261 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 6262 |
ac_cs_silent=: ;; |
| 6263 |
|
| 6264 |
# This is an error. |
| 6265 |
-*) { echo "$as_me: error: unrecognized option: $1 |
| 6266 |
Try \`$0 --help' for more information." >&2 |
| 6267 |
{ (exit 1); exit 1; }; } ;; |
| 6268 |
|
| 6269 |
*) ac_config_targets="$ac_config_targets $1" |
| 6270 |
ac_need_defaults=false ;; |
| 6271 |
|
| 6272 |
esac |
| 6273 |
shift |
| 6274 |
done |
| 6275 |
|
| 6276 |
ac_configure_extra_args= |
| 6277 |
|
| 6278 |
if $ac_cs_silent; then |
| 6279 |
exec 6>/dev/null |
| 6280 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
| 6281 |
fi |
| 6282 |
|
| 6283 |
_ACEOF |
| 6284 |
cat >>$CONFIG_STATUS <<_ACEOF |
| 6285 |
if \$ac_cs_recheck; then |
| 6286 |
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
| 6287 |
CONFIG_SHELL=$SHELL |
| 6288 |
export CONFIG_SHELL |
| 6289 |
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 6290 |
fi |
| 6291 |
|
| 6292 |
_ACEOF |
| 6293 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 6294 |
exec 5>>config.log |
| 6295 |
{ |
| 6296 |
echo |
| 6297 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 6298 |
## Running $as_me. ## |
| 6299 |
_ASBOX |
| 6300 |
echo "$ac_log" |
| 6301 |
} >&5 |
| 6302 |
|
| 6303 |
_ACEOF |
| 6304 |
cat >>$CONFIG_STATUS <<_ACEOF |
| 6305 |
_ACEOF |
| 6306 |
|
| 6307 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 6308 |
|
| 6309 |
# Handling of arguments. |
| 6310 |
for ac_config_target in $ac_config_targets |
| 6311 |
do |
| 6312 |
case $ac_config_target in |
| 6313 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 6314 |
|
| 6315 |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| 6316 |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
| 6317 |
{ (exit 1); exit 1; }; };; |
| 6318 |
esac |
| 6319 |
done |
| 6320 |
|
| 6321 |
|
| 6322 |
# If the user did not use the arguments to specify the items to instantiate, |
| 6323 |
# then the envvar interface is used. Set only those that are not. |
| 6324 |
# We use the long form for the default assignment because of an extremely |
| 6325 |
# bizarre bug on SunOS 4.1.3. |
| 6326 |
if $ac_need_defaults; then |
| 6327 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
| 6328 |
fi |
| 6329 |
|
| 6330 |
# Have a temporary directory for convenience. Make it in the build tree |
| 6331 |
# simply because there is no reason against having it here, and in addition, |
| 6332 |
# creating and moving files from /tmp can sometimes cause problems. |
| 6333 |
# Hook for its removal unless debugging. |
| 6334 |
# Note that there is a small window in which the directory will not be cleaned: |
| 6335 |
# after its creation but before its name has been assigned to `$tmp'. |
| 6336 |
$debug || |
| 6337 |
{ |
| 6338 |
tmp= |
| 6339 |
trap 'exit_status=$? |
| 6340 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
| 6341 |
' 0 |
| 6342 |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
| 6343 |
} |
| 6344 |
# Create a (secure) tmp directory for tmp files. |
| 6345 |
|
| 6346 |
{ |
| 6347 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 6348 |
test -n "$tmp" && test -d "$tmp" |
| 6349 |
} || |
| 6350 |
{ |
| 6351 |
tmp=./conf$$-$RANDOM |
| 6352 |
(umask 077 && mkdir "$tmp") |
| 6353 |
} || |
| 6354 |
{ |
| 6355 |
echo "$me: cannot create a temporary directory in ." >&2 |
| 6356 |
{ (exit 1); exit 1; } |
| 6357 |
} |
| 6358 |
|
| 6359 |
# |
| 6360 |
# Set up the sed scripts for CONFIG_FILES section. |
| 6361 |
# |
| 6362 |
|
| 6363 |
# No need to generate the scripts if there are no CONFIG_FILES. |
| 6364 |
# This happens for instance when ./config.status config.h |
| 6365 |
if test -n "$CONFIG_FILES"; then |
| 6366 |
|
| 6367 |
_ACEOF |
| 6368 |
|
| 6369 |
|
| 6370 |
|
| 6371 |
ac_delim='%!_!# ' |
| 6372 |
for ac_last_try in false false false false false :; do |
| 6373 |
cat >conf$$subs.sed <<_ACEOF |
| 6374 |
SHELL!$SHELL$ac_delim |
| 6375 |
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
| 6376 |
PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
| 6377 |
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
| 6378 |
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
| 6379 |
PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
| 6380 |
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
| 6381 |
exec_prefix!$exec_prefix$ac_delim |
| 6382 |
prefix!$prefix$ac_delim |
| 6383 |
program_transform_name!$program_transform_name$ac_delim |
| 6384 |
bindir!$bindir$ac_delim |
| 6385 |
sbindir!$sbindir$ac_delim |
| 6386 |
libexecdir!$libexecdir$ac_delim |
| 6387 |
datarootdir!$datarootdir$ac_delim |
| 6388 |
datadir!$datadir$ac_delim |
| 6389 |
sysconfdir!$sysconfdir$ac_delim |
| 6390 |
sharedstatedir!$sharedstatedir$ac_delim |
| 6391 |
localstatedir!$localstatedir$ac_delim |
| 6392 |
includedir!$includedir$ac_delim |
| 6393 |
oldincludedir!$oldincludedir$ac_delim |
| 6394 |
docdir!$docdir$ac_delim |
| 6395 |
infodir!$infodir$ac_delim |
| 6396 |
htmldir!$htmldir$ac_delim |
| 6397 |
dvidir!$dvidir$ac_delim |
| 6398 |
pdfdir!$pdfdir$ac_delim |
| 6399 |
psdir!$psdir$ac_delim |
| 6400 |
libdir!$libdir$ac_delim |
| 6401 |
localedir!$localedir$ac_delim |
| 6402 |
mandir!$mandir$ac_delim |
| 6403 |
DEFS!$DEFS$ac_delim |
| 6404 |
ECHO_C!$ECHO_C$ac_delim |
| 6405 |
ECHO_N!$ECHO_N$ac_delim |
| 6406 |
ECHO_T!$ECHO_T$ac_delim |
| 6407 |
LIBS!$LIBS$ac_delim |
| 6408 |
build_alias!$build_alias$ac_delim |
| 6409 |
host_alias!$host_alias$ac_delim |
| 6410 |
target_alias!$target_alias$ac_delim |
| 6411 |
build!$build$ac_delim |
| 6412 |
build_cpu!$build_cpu$ac_delim |
| 6413 |
build_vendor!$build_vendor$ac_delim |
| 6414 |
build_os!$build_os$ac_delim |
| 6415 |
host!$host$ac_delim |
| 6416 |
host_cpu!$host_cpu$ac_delim |
| 6417 |
host_vendor!$host_vendor$ac_delim |
| 6418 |
host_os!$host_os$ac_delim |
| 6419 |
target!$target$ac_delim |
| 6420 |
target_cpu!$target_cpu$ac_delim |
| 6421 |
target_vendor!$target_vendor$ac_delim |
| 6422 |
target_os!$target_os$ac_delim |
| 6423 |
WX_CONFIG_PATH!$WX_CONFIG_PATH$ac_delim |
| 6424 |
WX_CPPFLAGS!$WX_CPPFLAGS$ac_delim |
| 6425 |
WX_CFLAGS!$WX_CFLAGS$ac_delim |
| 6426 |
WX_CXXFLAGS!$WX_CXXFLAGS$ac_delim |
| 6427 |
WX_CFLAGS_ONLY!$WX_CFLAGS_ONLY$ac_delim |
| 6428 |
WX_CXXFLAGS_ONLY!$WX_CXXFLAGS_ONLY$ac_delim |
| 6429 |
WX_LIBS!$WX_LIBS$ac_delim |
| 6430 |
WX_LIBS_STATIC!$WX_LIBS_STATIC$ac_delim |
| 6431 |
WX_VERSION_FULL!$WX_VERSION_FULL$ac_delim |
| 6432 |
WX_RESCOMP!$WX_RESCOMP$ac_delim |
| 6433 |
WX_VERSION_MAJOR!$WX_VERSION_MAJOR$ac_delim |
| 6434 |
WX_VERSION_MINOR!$WX_VERSION_MINOR$ac_delim |
| 6435 |
WX_UNICODE!$WX_UNICODE$ac_delim |
| 6436 |
WX_DEBUG!$WX_DEBUG$ac_delim |
| 6437 |
WX_SHARED!$WX_SHARED$ac_delim |
| 6438 |
WX_PORT!$WX_PORT$ac_delim |
| 6439 |
RANLIB!$RANLIB$ac_delim |
| 6440 |
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
| 6441 |
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
| 6442 |
INSTALL_DATA!$INSTALL_DATA$ac_delim |
| 6443 |
LN_S!$LN_S$ac_delim |
| 6444 |
SET_MAKE!$SET_MAKE$ac_delim |
| 6445 |
MAKE_SET!$MAKE_SET$ac_delim |
| 6446 |
AR!$AR$ac_delim |
| 6447 |
AROPTIONS!$AROPTIONS$ac_delim |
| 6448 |
STRIP!$STRIP$ac_delim |
| 6449 |
NM!$NM$ac_delim |
| 6450 |
INSTALL_DIR!$INSTALL_DIR$ac_delim |
| 6451 |
LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim |
| 6452 |
IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim |
| 6453 |
PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim |
| 6454 |
PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim |
| 6455 |
PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim |
| 6456 |
PLATFORM_MAC!$PLATFORM_MAC$ac_delim |
| 6457 |
PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim |
| 6458 |
PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim |
| 6459 |
PLATFORM_OS2!$PLATFORM_OS2$ac_delim |
| 6460 |
PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim |
| 6461 |
SO_SUFFIX!$SO_SUFFIX$ac_delim |
| 6462 |
SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim |
| 6463 |
DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim |
| 6464 |
EXEEXT!$EXEEXT$ac_delim |
| 6465 |
LIBPREFIX!$LIBPREFIX$ac_delim |
| 6466 |
LIBEXT!$LIBEXT$ac_delim |
| 6467 |
DLLPREFIX!$DLLPREFIX$ac_delim |
| 6468 |
DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim |
| 6469 |
dlldir!$dlldir$ac_delim |
| 6470 |
CXX!$CXX$ac_delim |
| 6471 |
_ACEOF |
| 6472 |
|
| 6473 |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
| 6474 |
break |
| 6475 |
elif $ac_last_try; then |
| 6476 |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 6477 |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
| 6478 |
{ (exit 1); exit 1; }; } |
| 6479 |
else |
| 6480 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 6481 |
fi |
| 6482 |
done |
| 6483 |
|
| 6484 |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
| 6485 |
if test -n "$ac_eof"; then |
| 6486 |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
| 6487 |
ac_eof=`expr $ac_eof + 1` |
| 6488 |
fi |
| 6489 |
|
| 6490 |
cat >>$CONFIG_STATUS <<_ACEOF |
| 6491 |
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
| 6492 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 6493 |
_ACEOF |
| 6494 |
sed ' |
| 6495 |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
| 6496 |
s/^/s,@/; s/!/@,|#_!!_#|/ |
| 6497 |
:n |
| 6498 |
t n |
| 6499 |
s/'"$ac_delim"'$/,g/; t |
| 6500 |
s/$/\\/; p |
| 6501 |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
| 6502 |
' >>$CONFIG_STATUS <conf$$subs.sed |
| 6503 |
rm -f conf$$subs.sed |
| 6504 |
cat >>$CONFIG_STATUS <<_ACEOF |
| 6505 |
CEOF$ac_eof |
| 6506 |
_ACEOF |
| 6507 |
|
| 6508 |
|
| 6509 |
ac_delim='%!_!# ' |
| 6510 |
for ac_last_try in false false false false false :; do |
| 6511 |
cat >conf$$subs.sed <<_ACEOF |
| 6512 |
CXXFLAGS!$CXXFLAGS$ac_delim |
| 6513 |
LDFLAGS!$LDFLAGS$ac_delim |
| 6514 |
CPPFLAGS!$CPPFLAGS$ac_delim |
| 6515 |
ac_ct_CXX!$ac_ct_CXX$ac_delim |
| 6516 |
OBJEXT!$OBJEXT$ac_delim |
| 6517 |
AIX_CXX_LD!$AIX_CXX_LD$ac_delim |
| 6518 |
SHARED_LD_CC!$SHARED_LD_CC$ac_delim |
| 6519 |
SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim |
| 6520 |
SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim |
| 6521 |
SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim |
| 6522 |
PIC_FLAG!$PIC_FLAG$ac_delim |
| 6523 |
WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim |
| 6524 |
USE_SOVERSION!$USE_SOVERSION$ac_delim |
| 6525 |
USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim |
| 6526 |
USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim |
| 6527 |
USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim |
| 6528 |
USE_MACVERSION!$USE_MACVERSION$ac_delim |
| 6529 |
USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim |
| 6530 |
SONAME_FLAG!$SONAME_FLAG$ac_delim |
| 6531 |
DEPS_TRACKING!$DEPS_TRACKING$ac_delim |
| 6532 |
BK_DEPS!$BK_DEPS$ac_delim |
| 6533 |
WINDRES!$WINDRES$ac_delim |
| 6534 |
REZ!$REZ$ac_delim |
| 6535 |
SETFILE!$SETFILE$ac_delim |
| 6536 |
COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim |
| 6537 |
COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim |
| 6538 |
COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim |
| 6539 |
COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim |
| 6540 |
COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim |
| 6541 |
COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim |
| 6542 |
COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim |
| 6543 |
COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim |
| 6544 |
COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim |
| 6545 |
COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim |
| 6546 |
COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim |
| 6547 |
COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim |
| 6548 |
COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim |
| 6549 |
COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim |
| 6550 |
COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim |
| 6551 |
COND_WX_DEBUG_0!$COND_WX_DEBUG_0$ac_delim |
| 6552 |
COND_WX_DEBUG_0_WX_UNICODE_1!$COND_WX_DEBUG_0_WX_UNICODE_1$ac_delim |
| 6553 |
COND_WX_DEBUG_1!$COND_WX_DEBUG_1$ac_delim |
| 6554 |
COND_WX_DEBUG_1_WX_UNICODE_0!$COND_WX_DEBUG_1_WX_UNICODE_0$ac_delim |
| 6555 |
COND_WX_DEBUG_1_WX_UNICODE_1!$COND_WX_DEBUG_1_WX_UNICODE_1$ac_delim |
| 6556 |
COND_WX_SHARED_0!$COND_WX_SHARED_0$ac_delim |
| 6557 |
COND_WX_SHARED_1!$COND_WX_SHARED_1$ac_delim |
| 6558 |
LIBOBJS!$LIBOBJS$ac_delim |
| 6559 |
LTLIBOBJS!$LTLIBOBJS$ac_delim |
| 6560 |
_ACEOF |
| 6561 |
|
| 6562 |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 48; then |
| 6563 |
break |
| 6564 |
elif $ac_last_try; then |
| 6565 |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 6566 |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
| 6567 |
{ (exit 1); exit 1; }; } |
| 6568 |
else |
| 6569 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 6570 |
fi |
| 6571 |
done |
| 6572 |
|
| 6573 |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
| 6574 |
if test -n "$ac_eof"; then |
| 6575 |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
| 6576 |
ac_eof=`expr $ac_eof + 1` |
| 6577 |
fi |
| 6578 |
|
| 6579 |
cat >>$CONFIG_STATUS <<_ACEOF |
| 6580 |
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof |
| 6581 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
| 6582 |
_ACEOF |
| 6583 |
sed ' |
| 6584 |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
| 6585 |
s/^/s,@/; s/!/@,|#_!!_#|/ |
| 6586 |
:n |
| 6587 |
t n |
| 6588 |
s/'"$ac_delim"'$/,g/; t |
| 6589 |
s/$/\\/; p |
| 6590 |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
| 6591 |
' >>$CONFIG_STATUS <conf$$subs.sed |
| 6592 |
rm -f conf$$subs.sed |
| 6593 |
cat >>$CONFIG_STATUS <<_ACEOF |
| 6594 |
:end |
| 6595 |
s/|#_!!_#|//g |
| 6596 |
CEOF$ac_eof |
| 6597 |
_ACEOF |
| 6598 |
|
| 6599 |
|
| 6600 |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
| 6601 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
| 6602 |
# trailing colons and then remove the whole line if VPATH becomes empty |
| 6603 |
# (actually we leave an empty line to preserve line numbers). |
| 6604 |
if test "x$srcdir" = x.; then |
| 6605 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 6606 |
s/:*\$(srcdir):*/:/ |
| 6607 |
s/:*\${srcdir}:*/:/ |
| 6608 |
s/:*@srcdir@:*/:/ |
| 6609 |
s/^\([^=]*=[ ]*\):*/\1/ |
| 6610 |
s/:*$// |
| 6611 |
s/^[^=]*=[ ]*$// |
| 6612 |
}' |
| 6613 |
fi |
| 6614 |
|
| 6615 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 6616 |
fi # test -n "$CONFIG_FILES" |
| 6617 |
|
| 6618 |
|
| 6619 |
for ac_tag in :F $CONFIG_FILES |
| 6620 |
do |
| 6621 |
case $ac_tag in |
| 6622 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
| 6623 |
esac |
| 6624 |
case $ac_mode$ac_tag in |
| 6625 |
:[FHL]*:*);; |
| 6626 |
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
| 6627 |
echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
| 6628 |
{ (exit 1); exit 1; }; };; |
| 6629 |
:[FH]-) ac_tag=-:-;; |
| 6630 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 6631 |
esac |
| 6632 |
ac_save_IFS=$IFS |
| 6633 |
IFS=: |
| 6634 |
set x $ac_tag |
| 6635 |
IFS=$ac_save_IFS |
| 6636 |
shift |
| 6637 |
ac_file=$1 |
| 6638 |
shift |
| 6639 |
|
| 6640 |
case $ac_mode in |
| 6641 |
:L) ac_source=$1;; |
| 6642 |
:[FH]) |
| 6643 |
ac_file_inputs= |
| 6644 |
for ac_f |
| 6645 |
do |
| 6646 |
case $ac_f in |
| 6647 |
-) ac_f="$tmp/stdin";; |
| 6648 |
*) # Look for the file first in the build tree, then in the source tree |
| 6649 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
| 6650 |
# because $ac_f cannot contain `:'. |
| 6651 |
test -f "$ac_f" || |
| 6652 |
case $ac_f in |
| 6653 |
[\\/$]*) false;; |
| 6654 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 6655 |
esac || |
| 6656 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
| 6657 |
echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
| 6658 |
{ (exit 1); exit 1; }; };; |
| 6659 |
esac |
| 6660 |
ac_file_inputs="$ac_file_inputs $ac_f" |
| 6661 |
done |
| 6662 |
|
| 6663 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
| 6664 |
# use $as_me), people would be surprised to read: |
| 6665 |
# /* config.h. Generated by config.status. */ |
| 6666 |
configure_input="Generated from "`IFS=: |
| 6667 |
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
| 6668 |
if test x"$ac_file" != x-; then |
| 6669 |
configure_input="$ac_file. $configure_input" |
| 6670 |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 6671 |
echo "$as_me: creating $ac_file" >&6;} |
| 6672 |
fi |
| 6673 |
|
| 6674 |
case $ac_tag in |
| 6675 |
*:-:* | *:-) cat >"$tmp/stdin";; |
| 6676 |
esac |
| 6677 |
;; |
| 6678 |
esac |
| 6679 |
|
| 6680 |
ac_dir=`$as_dirname -- "$ac_file" || |
| 6681 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 6682 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 6683 |
X"$ac_file" : 'X\(//\)$' \| \ |
| 6684 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 6685 |
echo X"$ac_file" | |
| 6686 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 6687 |
s//\1/ |
| 6688 |
q |
| 6689 |
} |
| 6690 |
/^X\(\/\/\)[^/].*/{ |
| 6691 |
s//\1/ |
| 6692 |
q |
| 6693 |
} |
| 6694 |
/^X\(\/\/\)$/{ |
| 6695 |
s//\1/ |
| 6696 |
q |
| 6697 |
} |
| 6698 |
/^X\(\/\).*/{ |
| 6699 |
s//\1/ |
| 6700 |
q |
| 6701 |
} |
| 6702 |
s/.*/./; q'` |
| 6703 |
{ as_dir="$ac_dir" |
| 6704 |
case $as_dir in #( |
| 6705 |
-*) as_dir=./$as_dir;; |
| 6706 |
esac |
| 6707 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
| 6708 |
as_dirs= |
| 6709 |
while :; do |
| 6710 |
case $as_dir in #( |
| 6711 |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
| 6712 |
*) as_qdir=$as_dir;; |
| 6713 |
esac |
| 6714 |
as_dirs="'$as_qdir' $as_dirs" |
| 6715 |
as_dir=`$as_dirname -- "$as_dir" || |
| 6716 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 6717 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 6718 |
X"$as_dir" : 'X\(//\)$' \| \ |
| 6719 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 6720 |
echo X"$as_dir" | |
| 6721 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 6722 |
s//\1/ |
| 6723 |
q |
| 6724 |
} |
| 6725 |
/^X\(\/\/\)[^/].*/{ |
| 6726 |
s//\1/ |
| 6727 |
q |
| 6728 |
} |
| 6729 |
/^X\(\/\/\)$/{ |
| 6730 |
s//\1/ |
| 6731 |
q |
| 6732 |
} |
| 6733 |
/^X\(\/\).*/{ |
| 6734 |
s//\1/ |
| 6735 |
q |
| 6736 |
} |
| 6737 |
s/.*/./; q'` |
| 6738 |
test -d "$as_dir" && break |
| 6739 |
done |
| 6740 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 6741 |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
| 6742 |
echo "$as_me: error: cannot create directory $as_dir" >&2;} |
| 6743 |
{ (exit 1); exit 1; }; }; } |
| 6744 |
ac_builddir=. |
| 6745 |
|
| 6746 |
case "$ac_dir" in |
| 6747 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 6748 |
*) |
| 6749 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| 6750 |
# A ".." for each directory in $ac_dir_suffix. |
| 6751 |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
| 6752 |
case $ac_top_builddir_sub in |
| 6753 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 6754 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 6755 |
esac ;; |
| 6756 |
esac |
| 6757 |
ac_abs_top_builddir=$ac_pwd |
| 6758 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 6759 |
# for backward compatibility: |
| 6760 |
ac_top_builddir=$ac_top_build_prefix |
| 6761 |
|
| 6762 |
case $srcdir in |
| 6763 |
.) # We are building in place. |
| 6764 |
ac_srcdir=. |
| 6765 |
ac_top_srcdir=$ac_top_builddir_sub |
| 6766 |
ac_abs_top_srcdir=$ac_pwd ;; |
| 6767 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
| 6768 |
ac_srcdir=$srcdir$ac_dir_suffix; |
| 6769 |
ac_top_srcdir=$srcdir |
| 6770 |
ac_abs_top_srcdir=$srcdir ;; |
| 6771 |
*) # Relative name. |
| 6772 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 6773 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 6774 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 6775 |
esac |
| 6776 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 6777 |
|
| 6778 |
|
| 6779 |
case $ac_mode in |
| 6780 |
:F) |
| 6781 |
# |
| 6782 |
# CONFIG_FILE |
| 6783 |
# |
| 6784 |
|
| 6785 |
case $INSTALL in |
| 6786 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| 6787 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
| 6788 |
esac |
| 6789 |
_ACEOF |
| 6790 |
|
| 6791 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 6792 |
# If the template does not know about datarootdir, expand it. |
| 6793 |
# FIXME: This hack should be removed a few years after 2.60. |
| 6794 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
| 6795 |
|
| 6796 |
case `sed -n '/datarootdir/ { |
| 6797 |
p |
| 6798 |
q |
| 6799 |
} |
| 6800 |
/@datadir@/p |
| 6801 |
/@docdir@/p |
| 6802 |
/@infodir@/p |
| 6803 |
/@localedir@/p |
| 6804 |
/@mandir@/p |
| 6805 |
' $ac_file_inputs` in |
| 6806 |
*datarootdir*) ac_datarootdir_seen=yes;; |
| 6807 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 6808 |
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 6809 |
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 6810 |
_ACEOF |
| 6811 |
cat >>$CONFIG_STATUS <<_ACEOF |
| 6812 |
ac_datarootdir_hack=' |
| 6813 |
s&@datadir@&$datadir&g |
| 6814 |
s&@docdir@&$docdir&g |
| 6815 |
s&@infodir@&$infodir&g |
| 6816 |
s&@localedir@&$localedir&g |
| 6817 |
s&@mandir@&$mandir&g |
| 6818 |
s&\\\${datarootdir}&$datarootdir&g' ;; |
| 6819 |
esac |
| 6820 |
_ACEOF |
| 6821 |
|
| 6822 |
# Neutralize VPATH when `$srcdir' = `.'. |
| 6823 |
# Shell code in configure.ac might set extrasub. |
| 6824 |
# FIXME: do we really want to maintain this feature? |
| 6825 |
cat >>$CONFIG_STATUS <<_ACEOF |
| 6826 |
sed "$ac_vpsub |
| 6827 |
$extrasub |
| 6828 |
_ACEOF |
| 6829 |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 6830 |
:t |
| 6831 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 6832 |
s&@configure_input@&$configure_input&;t t |
| 6833 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 6834 |
s&@srcdir@&$ac_srcdir&;t t |
| 6835 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 6836 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
| 6837 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 6838 |
s&@builddir@&$ac_builddir&;t t |
| 6839 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
| 6840 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 6841 |
s&@INSTALL@&$ac_INSTALL&;t t |
| 6842 |
$ac_datarootdir_hack |
| 6843 |
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
| 6844 |
|
| 6845 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 6846 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 6847 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| 6848 |
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 6849 |
which seems to be undefined. Please make sure it is defined." >&5 |
| 6850 |
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 6851 |
which seems to be undefined. Please make sure it is defined." >&2;} |
| 6852 |
|
| 6853 |
rm -f "$tmp/stdin" |
| 6854 |
case $ac_file in |
| 6855 |
-) cat "$tmp/out"; rm -f "$tmp/out";; |
| 6856 |
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
| 6857 |
esac |
| 6858 |
;; |
| 6859 |
|
| 6860 |
|
| 6861 |
|
| 6862 |
esac |
| 6863 |
|
| 6864 |
done # for ac_tag |
| 6865 |
|
| 6866 |
|
| 6867 |
{ (exit 0); exit 0; } |
| 6868 |
_ACEOF |
| 6869 |
chmod +x $CONFIG_STATUS |
| 6870 |
ac_clean_files=$ac_clean_files_save |
| 6871 |
|
| 6872 |
|
| 6873 |
# configure is writing to config.log, and then calls config.status. |
| 6874 |
# config.status does its own redirection, appending to config.log. |
| 6875 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
| 6876 |
# by configure, so config.status won't be able to write to it; its |
| 6877 |
# output is simply discarded. So we exec the FD to /dev/null, |
| 6878 |
# effectively closing config.log, so it can be properly (re)opened and |
| 6879 |
# appended to by config.status. When coming back to configure, we |
| 6880 |
# need to make the FD available again. |
| 6881 |
if test "$no_create" != yes; then |
| 6882 |
ac_cs_success=: |
| 6883 |
ac_config_status_args= |
| 6884 |
test "$silent" = yes && |
| 6885 |
ac_config_status_args="$ac_config_status_args --quiet" |
| 6886 |
exec 5>/dev/null |
| 6887 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
| 6888 |
exec 5>>config.log |
| 6889 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 6890 |
# would make configure fail if this is the last instruction. |
| 6891 |
$ac_cs_success || { (exit 1); exit 1; } |
| 6892 |
fi |
| 6893 |
|
| 6894 |
|
| 6895 |
|
| 6896 |
echo |
| 6897 |
echo " ----------------------------------------------------------------" |
| 6898 |
echo " Configuration for $PACKAGE_NAME $PACKAGE_VERSION successfully completed." |
| 6899 |
echo " Summary of main configuration settings for $PACKAGE_NAME:" |
| 6900 |
|
| 6901 |
if test "x$DEBUG" = "x1" ; then |
| 6902 |
echo " - DEBUG build" |
| 6903 |
elif test "x$DEBUG" = "x0" ; then |
| 6904 |
echo " - RELEASE build" |
| 6905 |
else |
| 6906 |
echo "DEBUG is $DEBUG" |
| 6907 |
fi |
| 6908 |
|
| 6909 |
|
| 6910 |
if test "x$UNICODE" = "x1" ; then |
| 6911 |
echo " - UNICODE mode" |
| 6912 |
elif test "x$UNICODE" = "x0" ; then |
| 6913 |
echo " - ANSI mode" |
| 6914 |
else |
| 6915 |
echo "UNICODE is $UNICODE" |
| 6916 |
fi |
| 6917 |
|
| 6918 |
|
| 6919 |
if test "x$SHARED" = "x1" ; then |
| 6920 |
echo " - SHARED mode" |
| 6921 |
elif test "x$SHARED" = "x0" ; then |
| 6922 |
echo " - STATIC mode" |
| 6923 |
else |
| 6924 |
echo "SHARED is $SHARED" |
| 6925 |
fi |
| 6926 |
|
| 6927 |
|
| 6928 |
|
| 6929 |
|
| 6930 |
|
| 6931 |
|
| 6932 |
echo |
| 6933 |
echo " The wxWidgets build which will be used by $PACKAGE_NAME $PACKAGE_VERSION" |
| 6934 |
echo " has the following settings:" |
| 6935 |
|
| 6936 |
if test "x$WX_DEBUG" = "x1" ; then |
| 6937 |
echo " - DEBUG build" |
| 6938 |
elif test "x$WX_DEBUG" = "x0" ; then |
| 6939 |
echo " - RELEASE build" |
| 6940 |
else |
| 6941 |
echo "WX_DEBUG is $WX_DEBUG" |
| 6942 |
fi |
| 6943 |
|
| 6944 |
|
| 6945 |
if test "x$WX_UNICODE" = "x1" ; then |
| 6946 |
echo " - UNICODE mode" |
| 6947 |
elif test "x$WX_UNICODE" = "x0" ; then |
| 6948 |
echo " - ANSI mode" |
| 6949 |
else |
| 6950 |
echo "WX_UNICODE is $WX_UNICODE" |
| 6951 |
fi |
| 6952 |
|
| 6953 |
|
| 6954 |
if test "x$WX_SHARED" = "x1" ; then |
| 6955 |
echo " - SHARED mode" |
| 6956 |
elif test "x$WX_SHARED" = "x0" ; then |
| 6957 |
echo " - STATIC mode" |
| 6958 |
else |
| 6959 |
echo "WX_SHARED is $WX_SHARED" |
| 6960 |
fi |
| 6961 |
|
| 6962 |
echo " - VERSION: $WX_VERSION_FULL" |
| 6963 |
echo " - PORT: $WX_PORT" |
| 6964 |
|
| 6965 |
echo |
| 6966 |
echo " Now, just run make." |
| 6967 |
echo " ----------------------------------------------------------------" |
| 6968 |
echo |
| 6969 |
|
| 6970 |
|
| 6971 |
|