1 |
|
#! /bin/sh |
2 |
< |
# From configure.ac Id: configure.ac 955 2009-07-27 00:27:20Z michael . |
2 |
> |
# From configure.ac Id: configure.ac 2347 2013-07-03 19:09:32Z michael . |
3 |
|
# Guess values for system-dependent variables and create Makefiles. |
4 |
< |
# Generated by GNU Autoconf 2.64 for ircd-hybrid 7.2.4. |
4 |
> |
# Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK. |
5 |
> |
# |
6 |
> |
# Report bugs to <bugs@ircd-hybrid.org>. |
7 |
> |
# |
8 |
> |
# |
9 |
> |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
10 |
|
# |
6 |
– |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
7 |
– |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software |
8 |
– |
# Foundation, Inc. |
11 |
|
# |
12 |
|
# This configure script is free software; the Free Software Foundation |
13 |
|
# gives unlimited permission to copy, distribute and modify it. |
90 |
|
IFS=" "" $as_nl" |
91 |
|
|
92 |
|
# Find who we are. Look in the path if we contain no directory separator. |
93 |
+ |
as_myself= |
94 |
|
case $0 in #(( |
95 |
|
*[\\/]* ) as_myself=$0 ;; |
96 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
135 |
|
# CDPATH. |
136 |
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
137 |
|
|
138 |
+ |
# Use a proper internal environment variable to ensure we don't fall |
139 |
+ |
# into an infinite loop, continuously re-executing ourselves. |
140 |
+ |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
141 |
+ |
_as_can_reexec=no; export _as_can_reexec; |
142 |
+ |
# We cannot yet assume a decent shell, so we have to provide a |
143 |
+ |
# neutralization value for shells without unset; and this also |
144 |
+ |
# works around shells that cannot unset nonexistent variables. |
145 |
+ |
# Preserve -v and -x to the replacement shell. |
146 |
+ |
BASH_ENV=/dev/null |
147 |
+ |
ENV=/dev/null |
148 |
+ |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
149 |
+ |
case $- in # (((( |
150 |
+ |
*v*x* | *x*v* ) as_opts=-vx ;; |
151 |
+ |
*v* ) as_opts=-v ;; |
152 |
+ |
*x* ) as_opts=-x ;; |
153 |
+ |
* ) as_opts= ;; |
154 |
+ |
esac |
155 |
+ |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
156 |
+ |
# Admittedly, this is quite paranoid, since all the known shells bail |
157 |
+ |
# out after a failed `exec'. |
158 |
+ |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
159 |
+ |
as_fn_exit 255 |
160 |
+ |
fi |
161 |
+ |
# We don't want this to propagate to other subprocesses. |
162 |
+ |
{ _as_can_reexec=; unset _as_can_reexec;} |
163 |
|
if test "x$CONFIG_SHELL" = x; then |
164 |
|
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
165 |
|
emulate sh |
193 |
|
else |
194 |
|
exitcode=1; echo positional parameters were not saved. |
195 |
|
fi |
196 |
< |
test x\$exitcode = x0 || exit 1" |
196 |
> |
test x\$exitcode = x0 || exit 1 |
197 |
> |
test -x / || exit 1" |
198 |
|
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
199 |
|
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
200 |
|
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
201 |
|
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
202 |
+ |
|
203 |
+ |
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
204 |
+ |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
205 |
+ |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
206 |
+ |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
207 |
+ |
PATH=/empty FPATH=/empty; export PATH FPATH |
208 |
+ |
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
209 |
+ |
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 |
210 |
|
test \$(( 1 + 1 )) = 2 || exit 1" |
211 |
|
if (eval "$as_required") 2>/dev/null; then : |
212 |
|
as_have_required=yes |
247 |
|
|
248 |
|
|
249 |
|
if test "x$CONFIG_SHELL" != x; then : |
250 |
< |
# We cannot yet assume a decent shell, so we have to provide a |
251 |
< |
# neutralization value for shells without unset; and this also |
252 |
< |
# works around shells that cannot unset nonexistent variables. |
253 |
< |
BASH_ENV=/dev/null |
254 |
< |
ENV=/dev/null |
255 |
< |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
256 |
< |
export CONFIG_SHELL |
257 |
< |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
250 |
> |
export CONFIG_SHELL |
251 |
> |
# We cannot yet assume a decent shell, so we have to provide a |
252 |
> |
# neutralization value for shells without unset; and this also |
253 |
> |
# works around shells that cannot unset nonexistent variables. |
254 |
> |
# Preserve -v and -x to the replacement shell. |
255 |
> |
BASH_ENV=/dev/null |
256 |
> |
ENV=/dev/null |
257 |
> |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
258 |
> |
case $- in # (((( |
259 |
> |
*v*x* | *x*v* ) as_opts=-vx ;; |
260 |
> |
*v* ) as_opts=-v ;; |
261 |
> |
*x* ) as_opts=-x ;; |
262 |
> |
* ) as_opts= ;; |
263 |
> |
esac |
264 |
> |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
265 |
> |
# Admittedly, this is quite paranoid, since all the known shells bail |
266 |
> |
# out after a failed `exec'. |
267 |
> |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
268 |
> |
exit 255 |
269 |
|
fi |
270 |
|
|
271 |
|
if test x$as_have_required = xno; then : |
275 |
|
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
276 |
|
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
277 |
|
else |
278 |
< |
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
279 |
< |
$0: including any error possibly output before this |
280 |
< |
$0: message. Then install a modern shell, or manually run |
281 |
< |
$0: the script under such a shell if you do have one." |
278 |
> |
$as_echo "$0: Please tell bug-autoconf@gnu.org and |
279 |
> |
$0: bugs@ircd-hybrid.org about your system, including any |
280 |
> |
$0: error possibly output before this message. Then install |
281 |
> |
$0: a modern shell, or manually run the script under such a |
282 |
> |
$0: shell if you do have one." |
283 |
|
fi |
284 |
|
exit 1 |
285 |
|
fi |
364 |
|
test -d "$as_dir" && break |
365 |
|
done |
366 |
|
test -z "$as_dirs" || eval "mkdir $as_dirs" |
367 |
< |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
367 |
> |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
368 |
|
|
369 |
|
|
370 |
|
} # as_fn_mkdir_p |
371 |
+ |
|
372 |
+ |
# as_fn_executable_p FILE |
373 |
+ |
# ----------------------- |
374 |
+ |
# Test if FILE is an executable regular file. |
375 |
+ |
as_fn_executable_p () |
376 |
+ |
{ |
377 |
+ |
test -f "$1" && test -x "$1" |
378 |
+ |
} # as_fn_executable_p |
379 |
|
# as_fn_append VAR VALUE |
380 |
|
# ---------------------- |
381 |
|
# Append the text in VALUE to the end of the definition contained in VAR. Take |
412 |
|
fi # as_fn_arith |
413 |
|
|
414 |
|
|
415 |
< |
# as_fn_error ERROR [LINENO LOG_FD] |
416 |
< |
# --------------------------------- |
415 |
> |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
416 |
> |
# ---------------------------------------- |
417 |
|
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
418 |
|
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
419 |
< |
# script with status $?, using 1 if that was 0. |
419 |
> |
# script with STATUS, using 1 if that was 0. |
420 |
|
as_fn_error () |
421 |
|
{ |
422 |
< |
as_status=$?; test $as_status -eq 0 && as_status=1 |
423 |
< |
if test "$3"; then |
424 |
< |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
425 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
422 |
> |
as_status=$1; test $as_status -eq 0 && as_status=1 |
423 |
> |
if test "$4"; then |
424 |
> |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
425 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
426 |
|
fi |
427 |
< |
$as_echo "$as_me: error: $1" >&2 |
427 |
> |
$as_echo "$as_me: error: $2" >&2 |
428 |
|
as_fn_exit $as_status |
429 |
|
} # as_fn_error |
430 |
|
|
497 |
|
chmod +x "$as_me.lineno" || |
498 |
|
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
499 |
|
|
500 |
+ |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
501 |
+ |
# already done that, so ensure we don't try to do so again and fall |
502 |
+ |
# in an infinite loop. This has already happened in practice. |
503 |
+ |
_as_can_reexec=no; export _as_can_reexec |
504 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
505 |
|
# (the dirname of $[0] is not the place where we might find the |
506 |
|
# original and so on. Autoconf is especially sensitive to this). |
535 |
|
# ... but there are two gotchas: |
536 |
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
537 |
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
538 |
< |
# In both cases, we have to default to `cp -p'. |
538 |
> |
# In both cases, we have to default to `cp -pR'. |
539 |
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
540 |
< |
as_ln_s='cp -p' |
540 |
> |
as_ln_s='cp -pR' |
541 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
542 |
|
as_ln_s=ln |
543 |
|
else |
544 |
< |
as_ln_s='cp -p' |
544 |
> |
as_ln_s='cp -pR' |
545 |
|
fi |
546 |
|
else |
547 |
< |
as_ln_s='cp -p' |
547 |
> |
as_ln_s='cp -pR' |
548 |
|
fi |
549 |
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
550 |
|
rmdir conf$$.dir 2>/dev/null |
556 |
|
as_mkdir_p=false |
557 |
|
fi |
558 |
|
|
559 |
< |
if test -x / >/dev/null 2>&1; then |
560 |
< |
as_test_x='test -x' |
500 |
< |
else |
501 |
< |
if ls -dL / >/dev/null 2>&1; then |
502 |
< |
as_ls_L_option=L |
503 |
< |
else |
504 |
< |
as_ls_L_option= |
505 |
< |
fi |
506 |
< |
as_test_x=' |
507 |
< |
eval sh -c '\'' |
508 |
< |
if test -d "$1"; then |
509 |
< |
test -d "$1/."; |
510 |
< |
else |
511 |
< |
case $1 in #( |
512 |
< |
-*)set "./$1";; |
513 |
< |
esac; |
514 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
515 |
< |
???[sx]*):;;*)false;;esac;fi |
516 |
< |
'\'' sh |
517 |
< |
' |
518 |
< |
fi |
519 |
< |
as_executable_p=$as_test_x |
559 |
> |
as_test_x='test -x' |
560 |
> |
as_executable_p=as_fn_executable_p |
561 |
|
|
562 |
|
# Sed expression to map a string onto a valid CPP name. |
563 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
565 |
|
# Sed expression to map a string onto a valid variable name. |
566 |
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
567 |
|
|
568 |
+ |
lt_ltdl_dir='libltdl' |
569 |
|
|
528 |
– |
|
529 |
– |
# Check that we are running under the correct shell. |
570 |
|
SHELL=${CONFIG_SHELL-/bin/sh} |
571 |
|
|
532 |
– |
case X$lt_ECHO in |
533 |
– |
X*--fallback-echo) |
534 |
– |
# Remove one level of quotation (which was required for Make). |
535 |
– |
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` |
536 |
– |
;; |
537 |
– |
esac |
538 |
– |
|
539 |
– |
ECHO=${lt_ECHO-echo} |
540 |
– |
if test "X$1" = X--no-reexec; then |
541 |
– |
# Discard the --no-reexec flag, and continue. |
542 |
– |
shift |
543 |
– |
elif test "X$1" = X--fallback-echo; then |
544 |
– |
# Avoid inline document here, it may be left over |
545 |
– |
: |
546 |
– |
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then |
547 |
– |
# Yippee, $ECHO works! |
548 |
– |
: |
549 |
– |
else |
550 |
– |
# Restart under the correct shell. |
551 |
– |
exec $SHELL "$0" --no-reexec ${1+"$@"} |
552 |
– |
fi |
553 |
– |
|
554 |
– |
if test "X$1" = X--fallback-echo; then |
555 |
– |
# used as fallback echo |
556 |
– |
shift |
557 |
– |
cat <<_LT_EOF |
558 |
– |
$* |
559 |
– |
_LT_EOF |
560 |
– |
exit 0 |
561 |
– |
fi |
562 |
– |
|
563 |
– |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
564 |
– |
# if CDPATH is set. |
565 |
– |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
566 |
– |
|
567 |
– |
if test -z "$lt_ECHO"; then |
568 |
– |
if test "X${echo_test_string+set}" != Xset; then |
569 |
– |
# find a string as large as possible, as long as the shell can cope with it |
570 |
– |
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
571 |
– |
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
572 |
– |
if { echo_test_string=`eval $cmd`; } 2>/dev/null && |
573 |
– |
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null |
574 |
– |
then |
575 |
– |
break |
576 |
– |
fi |
577 |
– |
done |
578 |
– |
fi |
579 |
– |
|
580 |
– |
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
581 |
– |
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
582 |
– |
test "X$echo_testing_string" = "X$echo_test_string"; then |
583 |
– |
: |
584 |
– |
else |
585 |
– |
# The Solaris, AIX, and Digital Unix default echo programs unquote |
586 |
– |
# backslashes. This makes it impossible to quote backslashes using |
587 |
– |
# echo "$something" | sed 's/\\/\\\\/g' |
588 |
– |
# |
589 |
– |
# So, first we look for a working echo in the user's PATH. |
590 |
– |
|
591 |
– |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
592 |
– |
for dir in $PATH /usr/ucb; do |
593 |
– |
IFS="$lt_save_ifs" |
594 |
– |
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
595 |
– |
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
596 |
– |
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
597 |
– |
test "X$echo_testing_string" = "X$echo_test_string"; then |
598 |
– |
ECHO="$dir/echo" |
599 |
– |
break |
600 |
– |
fi |
601 |
– |
done |
602 |
– |
IFS="$lt_save_ifs" |
603 |
– |
|
604 |
– |
if test "X$ECHO" = Xecho; then |
605 |
– |
# We didn't find a better echo, so look for alternatives. |
606 |
– |
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && |
607 |
– |
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && |
608 |
– |
test "X$echo_testing_string" = "X$echo_test_string"; then |
609 |
– |
# This shell has a builtin print -r that does the trick. |
610 |
– |
ECHO='print -r' |
611 |
– |
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && |
612 |
– |
test "X$CONFIG_SHELL" != X/bin/ksh; then |
613 |
– |
# If we have ksh, try running configure again with it. |
614 |
– |
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
615 |
– |
export ORIGINAL_CONFIG_SHELL |
616 |
– |
CONFIG_SHELL=/bin/ksh |
617 |
– |
export CONFIG_SHELL |
618 |
– |
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} |
619 |
– |
else |
620 |
– |
# Try using printf. |
621 |
– |
ECHO='printf %s\n' |
622 |
– |
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
623 |
– |
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
624 |
– |
test "X$echo_testing_string" = "X$echo_test_string"; then |
625 |
– |
# Cool, printf works |
626 |
– |
: |
627 |
– |
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
628 |
– |
test "X$echo_testing_string" = 'X\t' && |
629 |
– |
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
630 |
– |
test "X$echo_testing_string" = "X$echo_test_string"; then |
631 |
– |
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
632 |
– |
export CONFIG_SHELL |
633 |
– |
SHELL="$CONFIG_SHELL" |
634 |
– |
export SHELL |
635 |
– |
ECHO="$CONFIG_SHELL $0 --fallback-echo" |
636 |
– |
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
637 |
– |
test "X$echo_testing_string" = 'X\t' && |
638 |
– |
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
639 |
– |
test "X$echo_testing_string" = "X$echo_test_string"; then |
640 |
– |
ECHO="$CONFIG_SHELL $0 --fallback-echo" |
641 |
– |
else |
642 |
– |
# maybe with a smaller string... |
643 |
– |
prev=: |
644 |
– |
|
645 |
– |
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do |
646 |
– |
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null |
647 |
– |
then |
648 |
– |
break |
649 |
– |
fi |
650 |
– |
prev="$cmd" |
651 |
– |
done |
652 |
– |
|
653 |
– |
if test "$prev" != 'sed 50q "$0"'; then |
654 |
– |
echo_test_string=`eval $prev` |
655 |
– |
export echo_test_string |
656 |
– |
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} |
657 |
– |
else |
658 |
– |
# Oops. We lost completely, so just stick with echo. |
659 |
– |
ECHO=echo |
660 |
– |
fi |
661 |
– |
fi |
662 |
– |
fi |
663 |
– |
fi |
664 |
– |
fi |
665 |
– |
fi |
666 |
– |
|
667 |
– |
# Copy echo and quote the copy suitably for passing to libtool from |
668 |
– |
# the Makefile, instead of quoting the original, which is used later. |
669 |
– |
lt_ECHO=$ECHO |
670 |
– |
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then |
671 |
– |
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
672 |
– |
fi |
673 |
– |
|
674 |
– |
|
675 |
– |
|
676 |
– |
|
677 |
– |
lt_ltdl_dir='libltdl' |
678 |
– |
|
679 |
– |
lt_dlopen_dir="$lt_ltdl_dir" |
572 |
|
|
573 |
< |
exec 7<&0 </dev/null 6>&1 |
573 |
> |
test -n "$DJDIR" || exec 7<&0 </dev/null |
574 |
> |
exec 6>&1 |
575 |
|
|
576 |
|
# Name of the host. |
577 |
< |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
577 |
> |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
578 |
|
# so uname gets run too. |
579 |
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
580 |
|
|
593 |
|
# Identity of this package. |
594 |
|
PACKAGE_NAME='ircd-hybrid' |
595 |
|
PACKAGE_TARNAME='ircd-hybrid' |
596 |
< |
PACKAGE_VERSION='7.2.4' |
597 |
< |
PACKAGE_STRING='ircd-hybrid 7.2.4' |
598 |
< |
PACKAGE_BUGREPORT='' |
596 |
> |
PACKAGE_VERSION='TRUNK' |
597 |
> |
PACKAGE_STRING='ircd-hybrid TRUNK' |
598 |
> |
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
599 |
|
PACKAGE_URL='' |
600 |
|
|
601 |
|
ac_unique_file="src/ircd.c" |
635 |
|
# include <unistd.h> |
636 |
|
#endif" |
637 |
|
|
745 |
– |
enable_option_checking=no |
638 |
|
ac_func_list= |
639 |
|
ac_header_list= |
640 |
|
ac_subst_vars='ltdl_LTLIBOBJS |
648 |
|
LIBDIR |
649 |
|
SYSCONFDIR |
650 |
|
PREFIX |
759 |
– |
EFNET_FALSE |
760 |
– |
EFNET_TRUE |
651 |
|
ENABLE_SSL_FALSE |
652 |
|
ENABLE_SSL_TRUE |
763 |
– |
HAVE_CRYPT_FALSE |
764 |
– |
HAVE_CRYPT_TRUE |
653 |
|
LTDLOPEN |
654 |
|
LT_CONFIG_H |
767 |
– |
subdirs |
655 |
|
CONVENIENCE_LTDL_FALSE |
656 |
|
CONVENIENCE_LTDL_TRUE |
657 |
|
INSTALL_LTDL_FALSE |
674 |
|
LIPO |
675 |
|
NMEDIT |
676 |
|
DSYMUTIL |
677 |
< |
lt_ECHO |
677 |
> |
MANIFEST_TOOL |
678 |
|
RANLIB |
679 |
+ |
ac_ct_AR |
680 |
|
AR |
681 |
+ |
DLLTOOL |
682 |
|
OBJDUMP |
683 |
|
LN_S |
684 |
|
NM |
706 |
|
am__fastdepCC_FALSE |
707 |
|
am__fastdepCC_TRUE |
708 |
|
CCDEPMODE |
709 |
+ |
am__nodep |
710 |
|
AMDEPBACKSLASH |
711 |
|
AMDEP_FALSE |
712 |
|
AMDEP_TRUE |
723 |
|
MAINT |
724 |
|
MAINTAINER_MODE_FALSE |
725 |
|
MAINTAINER_MODE_TRUE |
726 |
+ |
AM_BACKSLASH |
727 |
+ |
AM_DEFAULT_VERBOSITY |
728 |
+ |
AM_DEFAULT_V |
729 |
+ |
AM_V |
730 |
|
am__untar |
731 |
|
am__tar |
732 |
|
AMTAR |
791 |
|
ac_subst_files='' |
792 |
|
ac_user_opts=' |
793 |
|
enable_option_checking |
794 |
+ |
enable_silent_rules |
795 |
|
enable_maintainer_mode |
796 |
|
enable_dependency_tracking |
902 |
– |
enable_shared |
797 |
|
enable_static |
798 |
+ |
enable_shared |
799 |
|
with_pic |
800 |
|
enable_fast_install |
801 |
|
with_gnu_ld |
802 |
+ |
with_sysroot |
803 |
|
enable_libtool_lock |
804 |
|
with_included_ltdl |
805 |
|
with_ltdl_include |
806 |
|
with_ltdl_lib |
807 |
|
enable_ltdl_install |
808 |
< |
with_zlib_path |
913 |
< |
enable_zlib |
808 |
> |
enable_libgeoip |
809 |
|
enable_openssl |
810 |
|
enable_assert |
916 |
– |
enable_small_net |
811 |
|
enable_kqueue |
812 |
|
enable_epoll |
813 |
|
enable_devpoll |
920 |
– |
enable_rtsigio |
814 |
|
enable_poll |
815 |
|
enable_select |
923 |
– |
with_nicklen |
924 |
– |
with_topiclen |
925 |
– |
with_syslog_facility |
926 |
– |
enable_efnet |
816 |
|
enable_halfops |
817 |
|
enable_debugging |
818 |
|
enable_warnings |
930 |
– |
enable_syslog |
819 |
|
' |
820 |
|
ac_precious_vars='build_alias |
821 |
|
host_alias |
828 |
|
YACC |
829 |
|
YFLAGS |
830 |
|
CPP' |
831 |
< |
ac_subdirs_all='libltdl' |
831 |
> |
|
832 |
|
|
833 |
|
# Initialize some variables set by options. |
834 |
|
ac_init_help= |
890 |
|
fi |
891 |
|
|
892 |
|
case $ac_option in |
893 |
< |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
894 |
< |
*) ac_optarg=yes ;; |
893 |
> |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
894 |
> |
*=) ac_optarg= ;; |
895 |
> |
*) ac_optarg=yes ;; |
896 |
|
esac |
897 |
|
|
898 |
|
# Accept the important Cygnus configure options, so we can diagnose typos. |
937 |
|
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
938 |
|
# Reject names that are not valid shell variable names. |
939 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
940 |
< |
as_fn_error "invalid feature name: $ac_useropt" |
940 |
> |
as_fn_error $? "invalid feature name: $ac_useropt" |
941 |
|
ac_useropt_orig=$ac_useropt |
942 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
943 |
|
case $ac_user_opts in |
963 |
|
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
964 |
|
# Reject names that are not valid shell variable names. |
965 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
966 |
< |
as_fn_error "invalid feature name: $ac_useropt" |
966 |
> |
as_fn_error $? "invalid feature name: $ac_useropt" |
967 |
|
ac_useropt_orig=$ac_useropt |
968 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
969 |
|
case $ac_user_opts in |
1167 |
|
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1168 |
|
# Reject names that are not valid shell variable names. |
1169 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1170 |
< |
as_fn_error "invalid package name: $ac_useropt" |
1170 |
> |
as_fn_error $? "invalid package name: $ac_useropt" |
1171 |
|
ac_useropt_orig=$ac_useropt |
1172 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1173 |
|
case $ac_user_opts in |
1183 |
|
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1184 |
|
# Reject names that are not valid shell variable names. |
1185 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1186 |
< |
as_fn_error "invalid package name: $ac_useropt" |
1186 |
> |
as_fn_error $? "invalid package name: $ac_useropt" |
1187 |
|
ac_useropt_orig=$ac_useropt |
1188 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1189 |
|
case $ac_user_opts in |
1213 |
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1214 |
|
x_libraries=$ac_optarg ;; |
1215 |
|
|
1216 |
< |
-*) as_fn_error "unrecognized option: \`$ac_option' |
1217 |
< |
Try \`$0 --help' for more information." |
1216 |
> |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
1217 |
> |
Try \`$0 --help' for more information" |
1218 |
|
;; |
1219 |
|
|
1220 |
|
*=*) |
1222 |
|
# Reject names that are not valid shell variable names. |
1223 |
|
case $ac_envvar in #( |
1224 |
|
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
1225 |
< |
as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
1225 |
> |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1226 |
|
esac |
1227 |
|
eval $ac_envvar=\$ac_optarg |
1228 |
|
export $ac_envvar ;; |
1232 |
|
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1233 |
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1234 |
|
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1235 |
< |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1235 |
> |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1236 |
|
;; |
1237 |
|
|
1238 |
|
esac |
1240 |
|
|
1241 |
|
if test -n "$ac_prev"; then |
1242 |
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1243 |
< |
as_fn_error "missing argument to $ac_option" |
1243 |
> |
as_fn_error $? "missing argument to $ac_option" |
1244 |
|
fi |
1245 |
|
|
1246 |
|
if test -n "$ac_unrecognized_opts"; then |
1247 |
|
case $enable_option_checking in |
1248 |
|
no) ;; |
1249 |
< |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
1249 |
> |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1250 |
|
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1251 |
|
esac |
1252 |
|
fi |
1269 |
|
[\\/$]* | ?:[\\/]* ) continue;; |
1270 |
|
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1271 |
|
esac |
1272 |
< |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
1272 |
> |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1273 |
|
done |
1274 |
|
|
1275 |
|
# There might be people who depend on the old broken behavior: `$host' |
1283 |
|
if test "x$host_alias" != x; then |
1284 |
|
if test "x$build_alias" = x; then |
1285 |
|
cross_compiling=maybe |
1397 |
– |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1398 |
– |
If a cross compiler is detected then cross compile mode will be used." >&2 |
1286 |
|
elif test "x$build_alias" != "x$host_alias"; then |
1287 |
|
cross_compiling=yes |
1288 |
|
fi |
1297 |
|
ac_pwd=`pwd` && test -n "$ac_pwd" && |
1298 |
|
ac_ls_di=`ls -di .` && |
1299 |
|
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1300 |
< |
as_fn_error "working directory cannot be determined" |
1300 |
> |
as_fn_error $? "working directory cannot be determined" |
1301 |
|
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1302 |
< |
as_fn_error "pwd does not report name of working directory" |
1302 |
> |
as_fn_error $? "pwd does not report name of working directory" |
1303 |
|
|
1304 |
|
|
1305 |
|
# Find the source files, if location was not specified. |
1338 |
|
fi |
1339 |
|
if test ! -r "$srcdir/$ac_unique_file"; then |
1340 |
|
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1341 |
< |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1341 |
> |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1342 |
|
fi |
1343 |
|
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1344 |
|
ac_abs_confdir=`( |
1345 |
< |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1345 |
> |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1346 |
|
pwd)` |
1347 |
|
# When building in place, set srcdir=. |
1348 |
|
if test "$ac_abs_confdir" = "$ac_pwd"; then |
1368 |
|
# Omit some internal or obsolete options to make the list less imposing. |
1369 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
1370 |
|
cat <<_ACEOF |
1371 |
< |
\`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems. |
1371 |
> |
\`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems. |
1372 |
|
|
1373 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
1374 |
|
|
1382 |
|
--help=short display options specific to this package |
1383 |
|
--help=recursive display the short help of all the included packages |
1384 |
|
-V, --version display version information and exit |
1385 |
< |
-q, --quiet, --silent do not print \`checking...' messages |
1385 |
> |
-q, --quiet, --silent do not print \`checking ...' messages |
1386 |
|
--cache-file=FILE cache test results in FILE [disabled] |
1387 |
|
-C, --config-cache alias for \`--cache-file=config.cache' |
1388 |
|
-n, --no-create do not create output files |
1438 |
|
|
1439 |
|
if test -n "$ac_init_help"; then |
1440 |
|
case $ac_init_help in |
1441 |
< |
short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";; |
1441 |
> |
short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";; |
1442 |
|
esac |
1443 |
|
cat <<\_ACEOF |
1444 |
|
|
1446 |
|
--disable-option-checking ignore unrecognized --enable/--with options |
1447 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1448 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1449 |
< |
--enable-maintainer-mode enable make rules and dependencies not useful |
1450 |
< |
(and sometimes confusing) to the casual installer |
1451 |
< |
--disable-dependency-tracking speeds up one-time build |
1452 |
< |
--enable-dependency-tracking do not reject slow dependency extractors |
1449 |
> |
--enable-silent-rules less verbose build output (undo: "make V=1") |
1450 |
> |
--disable-silent-rules verbose build output (undo: "make V=0") |
1451 |
> |
--enable-maintainer-mode |
1452 |
> |
enable make rules and dependencies not useful (and |
1453 |
> |
sometimes confusing) to the casual installer |
1454 |
> |
--enable-dependency-tracking |
1455 |
> |
do not reject slow dependency extractors |
1456 |
> |
--disable-dependency-tracking |
1457 |
> |
speeds up one-time build |
1458 |
> |
--enable-static[=PKGS] build static libraries [default=no] |
1459 |
|
--enable-shared[=PKGS] build shared libraries [default=yes] |
1567 |
– |
--enable-static[=PKGS] build static libraries [default=yes] |
1460 |
|
--enable-fast-install[=PKGS] |
1461 |
|
optimize for fast installation [default=yes] |
1462 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
1463 |
|
--enable-ltdl-install install libltdl |
1464 |
< |
--disable-zlib Disable ziplinks support |
1464 |
> |
--disable-libgeoip Disable GeoIP support |
1465 |
|
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
1466 |
|
--disable-openssl Disable OpenSSL support. |
1467 |
|
--enable-assert Enable assert() statements |
1576 |
– |
--enable-small-net Enable small network support. |
1468 |
|
--enable-kqueue Force kqueue usage. |
1469 |
|
--enable-epoll Force epoll usage. |
1470 |
|
--enable-devpoll Force devpoll usage. |
1580 |
– |
--enable-rtsigio Force rtsigio usage. |
1471 |
|
--enable-poll Force poll usage. |
1472 |
|
--enable-select Force select usage. |
1583 |
– |
--enable-efnet For IRCDs running on EFnet. |
1473 |
|
--enable-halfops Enable halfops support. |
1474 |
|
--enable-debugging Enable debugging. |
1475 |
|
--enable-warnings Enable compiler warnings. |
1587 |
– |
--enable-syslog="EVENTS" |
1588 |
– |
Enable syslog for events: users oper (space |
1589 |
– |
separated in quotes; default: disabled). |
1476 |
|
|
1477 |
|
Optional Packages: |
1478 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1479 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1480 |
< |
--with-pic try to use only PIC/non-PIC objects [default=use |
1480 |
> |
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
1481 |
|
both] |
1482 |
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1483 |
+ |
--with-sysroot=DIR Search for dependent libraries within DIR |
1484 |
+ |
(or the compiler's sysroot if not specified). |
1485 |
|
--with-included-ltdl use the GNU ltdl sources included here |
1486 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
1487 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
1600 |
– |
--with-zlib-path=DIR Path to libz.so for ziplinks support. |
1601 |
– |
--with-nicklen=<value> Set nickname length (default 9). |
1602 |
– |
--with-topiclen=<value> Set topic length (default 160). |
1603 |
– |
--with-syslog-facility=LOG |
1604 |
– |
Define the syslog facility to use (default: |
1605 |
– |
LOG_LOCAL4) |
1488 |
|
|
1489 |
|
Some influential environment variables: |
1490 |
|
CC C compiler command |
1492 |
|
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1493 |
|
nonstandard directory <lib dir> |
1494 |
|
LIBS libraries to pass to the linker, e.g. -l<library> |
1495 |
< |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1495 |
> |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1496 |
|
you have headers in a nonstandard directory <include dir> |
1497 |
< |
YACC The `Yet Another C Compiler' implementation to use. Defaults to |
1498 |
< |
the first program found out of: `bison -y', `byacc', `yacc'. |
1497 |
> |
YACC The `Yet Another Compiler Compiler' implementation to use. |
1498 |
> |
Defaults to the first program found out of: `bison -y', `byacc', |
1499 |
> |
`yacc'. |
1500 |
|
YFLAGS The list of arguments that will be passed by default to $YACC. |
1501 |
|
This script will default YFLAGS to the empty string to avoid a |
1502 |
|
default value of `-d' given by some make applications. |
1505 |
|
Use these variables to override the choices made by `configure' or to help |
1506 |
|
it to find libraries and programs with nonstandard names/locations. |
1507 |
|
|
1508 |
< |
Report bugs to the package provider. |
1508 |
> |
Report bugs to <bugs@ircd-hybrid.org>. |
1509 |
|
_ACEOF |
1510 |
|
ac_status=$? |
1511 |
|
fi |
1568 |
|
test -n "$ac_init_help" && exit $ac_status |
1569 |
|
if $ac_init_version; then |
1570 |
|
cat <<\_ACEOF |
1571 |
< |
ircd-hybrid configure 7.2.4 |
1572 |
< |
generated by GNU Autoconf 2.64 |
1571 |
> |
ircd-hybrid configure TRUNK |
1572 |
> |
generated by GNU Autoconf 2.69 |
1573 |
|
|
1574 |
< |
Copyright (C) 2009 Free Software Foundation, Inc. |
1574 |
> |
Copyright (C) 2012 Free Software Foundation, Inc. |
1575 |
|
This configure script is free software; the Free Software Foundation |
1576 |
|
gives unlimited permission to copy, distribute and modify it. |
1577 |
|
_ACEOF |
1615 |
|
|
1616 |
|
ac_retval=1 |
1617 |
|
fi |
1618 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1619 |
< |
return $ac_retval |
1618 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1619 |
> |
as_fn_set_status $ac_retval |
1620 |
|
|
1621 |
|
} # ac_fn_c_try_compile |
1622 |
|
|
1647 |
|
test ! -s conftest.err |
1648 |
|
} && test -s conftest$ac_exeext && { |
1649 |
|
test "$cross_compiling" = yes || |
1650 |
< |
$as_test_x conftest$ac_exeext |
1650 |
> |
test -x conftest$ac_exeext |
1651 |
|
}; then : |
1652 |
|
ac_retval=0 |
1653 |
|
else |
1661 |
|
# interfere with the next link command; also delete a directory that is |
1662 |
|
# left behind by Apple's compiler. We do this before executing the actions. |
1663 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1664 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1665 |
< |
return $ac_retval |
1664 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1665 |
> |
as_fn_set_status $ac_retval |
1666 |
|
|
1667 |
|
} # ac_fn_c_try_link |
1668 |
|
|
1675 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1676 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1677 |
|
$as_echo_n "checking for $2... " >&6; } |
1678 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1678 |
> |
if eval \${$3+:} false; then : |
1679 |
|
$as_echo_n "(cached) " >&6 |
1680 |
|
else |
1681 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1693 |
|
eval ac_res=\$$3 |
1694 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1695 |
|
$as_echo "$ac_res" >&6; } |
1696 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1696 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1697 |
|
|
1698 |
|
} # ac_fn_c_check_header_compile |
1699 |
|
|
1718 |
|
mv -f conftest.er1 conftest.err |
1719 |
|
fi |
1720 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1721 |
< |
test $ac_status = 0; } >/dev/null && { |
1721 |
> |
test $ac_status = 0; } > conftest.i && { |
1722 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1723 |
|
test ! -s conftest.err |
1724 |
|
}; then : |
1729 |
|
|
1730 |
|
ac_retval=1 |
1731 |
|
fi |
1732 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1733 |
< |
return $ac_retval |
1732 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1733 |
> |
as_fn_set_status $ac_retval |
1734 |
|
|
1735 |
|
} # ac_fn_c_try_cpp |
1736 |
|
|
1771 |
|
ac_retval=$ac_status |
1772 |
|
fi |
1773 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1774 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1775 |
< |
return $ac_retval |
1774 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1775 |
> |
as_fn_set_status $ac_retval |
1776 |
|
|
1777 |
|
} # ac_fn_c_try_run |
1778 |
|
|
1784 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1785 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1786 |
|
$as_echo_n "checking for $2... " >&6; } |
1787 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1787 |
> |
if eval \${$3+:} false; then : |
1788 |
|
$as_echo_n "(cached) " >&6 |
1789 |
|
else |
1790 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1839 |
|
eval ac_res=\$$3 |
1840 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1841 |
|
$as_echo "$ac_res" >&6; } |
1842 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1842 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1843 |
|
|
1844 |
|
} # ac_fn_c_check_func |
1845 |
|
|
1846 |
< |
# ac_fn_c_check_decl LINENO SYMBOL VAR |
1847 |
< |
# ------------------------------------ |
1848 |
< |
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. |
1846 |
> |
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES |
1847 |
> |
# --------------------------------------------- |
1848 |
> |
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
1849 |
> |
# accordingly. |
1850 |
|
ac_fn_c_check_decl () |
1851 |
|
{ |
1852 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1853 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 |
1854 |
< |
$as_echo_n "checking whether $2 is declared... " >&6; } |
1855 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1853 |
> |
as_decl_name=`echo $2|sed 's/ *(.*//'` |
1854 |
> |
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
1855 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
1856 |
> |
$as_echo_n "checking whether $as_decl_name is declared... " >&6; } |
1857 |
> |
if eval \${$3+:} false; then : |
1858 |
|
$as_echo_n "(cached) " >&6 |
1859 |
|
else |
1860 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1863 |
|
int |
1864 |
|
main () |
1865 |
|
{ |
1866 |
< |
#ifndef $2 |
1867 |
< |
(void) $2; |
1866 |
> |
#ifndef $as_decl_name |
1867 |
> |
#ifdef __cplusplus |
1868 |
> |
(void) $as_decl_use; |
1869 |
> |
#else |
1870 |
> |
(void) $as_decl_name; |
1871 |
> |
#endif |
1872 |
|
#endif |
1873 |
|
|
1874 |
|
; |
1885 |
|
eval ac_res=\$$3 |
1886 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1887 |
|
$as_echo "$ac_res" >&6; } |
1888 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1888 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1889 |
|
|
1890 |
|
} # ac_fn_c_check_decl |
1891 |
|
|
1898 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1899 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1900 |
|
$as_echo_n "checking for $2... " >&6; } |
1901 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1901 |
> |
if eval \${$3+:} false; then : |
1902 |
|
$as_echo_n "(cached) " >&6 |
1903 |
|
else |
1904 |
|
eval "$3=no" |
1939 |
|
eval ac_res=\$$3 |
1940 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1941 |
|
$as_echo "$ac_res" >&6; } |
1942 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1942 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1943 |
|
|
1944 |
|
} # ac_fn_c_check_type |
1945 |
|
|
1952 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1953 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
1954 |
|
$as_echo_n "checking for $2.$3... " >&6; } |
1955 |
< |
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : |
1955 |
> |
if eval \${$4+:} false; then : |
1956 |
|
$as_echo_n "(cached) " >&6 |
1957 |
|
else |
1958 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1996 |
|
eval ac_res=\$$4 |
1997 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1998 |
|
$as_echo "$ac_res" >&6; } |
1999 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1999 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2000 |
|
|
2001 |
|
} # ac_fn_c_check_member |
2002 |
|
|
2113 |
– |
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
2114 |
– |
# -------------------------------------------- |
2115 |
– |
# Tries to find the compile-time value of EXPR in a program that includes |
2116 |
– |
# INCLUDES, setting VAR accordingly. Returns whether the value could be |
2117 |
– |
# computed |
2118 |
– |
ac_fn_c_compute_int () |
2119 |
– |
{ |
2120 |
– |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2121 |
– |
if test "$cross_compiling" = yes; then |
2122 |
– |
# Depending upon the size, compute the lo and hi bounds. |
2123 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2124 |
– |
/* end confdefs.h. */ |
2125 |
– |
$4 |
2126 |
– |
int |
2127 |
– |
main () |
2128 |
– |
{ |
2129 |
– |
static int test_array [1 - 2 * !(($2) >= 0)]; |
2130 |
– |
test_array [0] = 0 |
2131 |
– |
|
2132 |
– |
; |
2133 |
– |
return 0; |
2134 |
– |
} |
2135 |
– |
_ACEOF |
2136 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2137 |
– |
ac_lo=0 ac_mid=0 |
2138 |
– |
while :; do |
2139 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2140 |
– |
/* end confdefs.h. */ |
2141 |
– |
$4 |
2142 |
– |
int |
2143 |
– |
main () |
2144 |
– |
{ |
2145 |
– |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
2146 |
– |
test_array [0] = 0 |
2147 |
– |
|
2148 |
– |
; |
2149 |
– |
return 0; |
2150 |
– |
} |
2151 |
– |
_ACEOF |
2152 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2153 |
– |
ac_hi=$ac_mid; break |
2154 |
– |
else |
2155 |
– |
as_fn_arith $ac_mid + 1 && ac_lo=$as_val |
2156 |
– |
if test $ac_lo -le $ac_mid; then |
2157 |
– |
ac_lo= ac_hi= |
2158 |
– |
break |
2159 |
– |
fi |
2160 |
– |
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val |
2161 |
– |
fi |
2162 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2163 |
– |
done |
2164 |
– |
else |
2165 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2166 |
– |
/* end confdefs.h. */ |
2167 |
– |
$4 |
2168 |
– |
int |
2169 |
– |
main () |
2170 |
– |
{ |
2171 |
– |
static int test_array [1 - 2 * !(($2) < 0)]; |
2172 |
– |
test_array [0] = 0 |
2173 |
– |
|
2174 |
– |
; |
2175 |
– |
return 0; |
2176 |
– |
} |
2177 |
– |
_ACEOF |
2178 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2179 |
– |
ac_hi=-1 ac_mid=-1 |
2180 |
– |
while :; do |
2181 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2182 |
– |
/* end confdefs.h. */ |
2183 |
– |
$4 |
2184 |
– |
int |
2185 |
– |
main () |
2186 |
– |
{ |
2187 |
– |
static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
2188 |
– |
test_array [0] = 0 |
2189 |
– |
|
2190 |
– |
; |
2191 |
– |
return 0; |
2192 |
– |
} |
2193 |
– |
_ACEOF |
2194 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2195 |
– |
ac_lo=$ac_mid; break |
2196 |
– |
else |
2197 |
– |
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val |
2198 |
– |
if test $ac_mid -le $ac_hi; then |
2199 |
– |
ac_lo= ac_hi= |
2200 |
– |
break |
2201 |
– |
fi |
2202 |
– |
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val |
2203 |
– |
fi |
2204 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2205 |
– |
done |
2206 |
– |
else |
2207 |
– |
ac_lo= ac_hi= |
2208 |
– |
fi |
2209 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2210 |
– |
fi |
2211 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2212 |
– |
# Binary search between lo and hi bounds. |
2213 |
– |
while test "x$ac_lo" != "x$ac_hi"; do |
2214 |
– |
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val |
2215 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2216 |
– |
/* end confdefs.h. */ |
2217 |
– |
$4 |
2218 |
– |
int |
2219 |
– |
main () |
2220 |
– |
{ |
2221 |
– |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
2222 |
– |
test_array [0] = 0 |
2223 |
– |
|
2224 |
– |
; |
2225 |
– |
return 0; |
2226 |
– |
} |
2227 |
– |
_ACEOF |
2228 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2229 |
– |
ac_hi=$ac_mid |
2230 |
– |
else |
2231 |
– |
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val |
2232 |
– |
fi |
2233 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2234 |
– |
done |
2235 |
– |
case $ac_lo in #(( |
2236 |
– |
?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
2237 |
– |
'') ac_retval=1 ;; |
2238 |
– |
esac |
2239 |
– |
else |
2240 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2241 |
– |
/* end confdefs.h. */ |
2242 |
– |
$4 |
2243 |
– |
static long int longval () { return $2; } |
2244 |
– |
static unsigned long int ulongval () { return $2; } |
2245 |
– |
#include <stdio.h> |
2246 |
– |
#include <stdlib.h> |
2247 |
– |
int |
2248 |
– |
main () |
2249 |
– |
{ |
2250 |
– |
|
2251 |
– |
FILE *f = fopen ("conftest.val", "w"); |
2252 |
– |
if (! f) |
2253 |
– |
return 1; |
2254 |
– |
if (($2) < 0) |
2255 |
– |
{ |
2256 |
– |
long int i = longval (); |
2257 |
– |
if (i != ($2)) |
2258 |
– |
return 1; |
2259 |
– |
fprintf (f, "%ld", i); |
2260 |
– |
} |
2261 |
– |
else |
2262 |
– |
{ |
2263 |
– |
unsigned long int i = ulongval (); |
2264 |
– |
if (i != ($2)) |
2265 |
– |
return 1; |
2266 |
– |
fprintf (f, "%lu", i); |
2267 |
– |
} |
2268 |
– |
/* Do not output a trailing newline, as this causes \r\n confusion |
2269 |
– |
on some platforms. */ |
2270 |
– |
return ferror (f) || fclose (f) != 0; |
2271 |
– |
|
2272 |
– |
; |
2273 |
– |
return 0; |
2274 |
– |
} |
2275 |
– |
_ACEOF |
2276 |
– |
if ac_fn_c_try_run "$LINENO"; then : |
2277 |
– |
echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
2278 |
– |
else |
2279 |
– |
ac_retval=1 |
2280 |
– |
fi |
2281 |
– |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
2282 |
– |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
2283 |
– |
rm -f conftest.val |
2284 |
– |
|
2285 |
– |
fi |
2286 |
– |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2287 |
– |
return $ac_retval |
2288 |
– |
|
2289 |
– |
} # ac_fn_c_compute_int |
2290 |
– |
|
2003 |
|
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
2004 |
|
# ------------------------------------------------------- |
2005 |
|
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
2008 |
|
ac_fn_c_check_header_mongrel () |
2009 |
|
{ |
2010 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2011 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2011 |
> |
if eval \${$3+:} false; then : |
2012 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2013 |
|
$as_echo_n "checking for $2... " >&6; } |
2014 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2014 |
> |
if eval \${$3+:} false; then : |
2015 |
|
$as_echo_n "(cached) " >&6 |
2016 |
|
fi |
2017 |
|
eval ac_res=\$$3 |
2047 |
|
else |
2048 |
|
ac_header_preproc=no |
2049 |
|
fi |
2050 |
< |
rm -f conftest.err conftest.$ac_ext |
2050 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
2051 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
2052 |
|
$as_echo "$ac_header_preproc" >&6; } |
2053 |
|
|
2070 |
|
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
2071 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
2072 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2073 |
+ |
( $as_echo "## ----------------------------------- ## |
2074 |
+ |
## Report this to bugs@ircd-hybrid.org ## |
2075 |
+ |
## ----------------------------------- ##" |
2076 |
+ |
) | sed "s/^/$as_me: WARNING: /" >&2 |
2077 |
|
;; |
2078 |
|
esac |
2079 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2080 |
|
$as_echo_n "checking for $2... " >&6; } |
2081 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2081 |
> |
if eval \${$3+:} false; then : |
2082 |
|
$as_echo_n "(cached) " >&6 |
2083 |
|
else |
2084 |
|
eval "$3=\$ac_header_compiler" |
2087 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2088 |
|
$as_echo "$ac_res" >&6; } |
2089 |
|
fi |
2090 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2090 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2091 |
|
|
2092 |
|
} # ac_fn_c_check_header_mongrel |
2093 |
|
cat >config.log <<_ACEOF |
2094 |
|
This file contains any messages produced by compilers while |
2095 |
|
running configure, to aid debugging if configure makes a mistake. |
2096 |
|
|
2097 |
< |
It was created by ircd-hybrid $as_me 7.2.4, which was |
2098 |
< |
generated by GNU Autoconf 2.64. Invocation command line was |
2097 |
> |
It was created by ircd-hybrid $as_me TRUNK, which was |
2098 |
> |
generated by GNU Autoconf 2.69. Invocation command line was |
2099 |
|
|
2100 |
|
$ $0 $@ |
2101 |
|
|
2205 |
|
{ |
2206 |
|
echo |
2207 |
|
|
2208 |
< |
cat <<\_ASBOX |
2493 |
< |
## ---------------- ## |
2208 |
> |
$as_echo "## ---------------- ## |
2209 |
|
## Cache variables. ## |
2210 |
< |
## ---------------- ## |
2496 |
< |
_ASBOX |
2210 |
> |
## ---------------- ##" |
2211 |
|
echo |
2212 |
|
# The following way of writing the cache mishandles newlines in values, |
2213 |
|
( |
2241 |
|
) |
2242 |
|
echo |
2243 |
|
|
2244 |
< |
cat <<\_ASBOX |
2531 |
< |
## ----------------- ## |
2244 |
> |
$as_echo "## ----------------- ## |
2245 |
|
## Output variables. ## |
2246 |
< |
## ----------------- ## |
2534 |
< |
_ASBOX |
2246 |
> |
## ----------------- ##" |
2247 |
|
echo |
2248 |
|
for ac_var in $ac_subst_vars |
2249 |
|
do |
2256 |
|
echo |
2257 |
|
|
2258 |
|
if test -n "$ac_subst_files"; then |
2259 |
< |
cat <<\_ASBOX |
2548 |
< |
## ------------------- ## |
2259 |
> |
$as_echo "## ------------------- ## |
2260 |
|
## File substitutions. ## |
2261 |
< |
## ------------------- ## |
2551 |
< |
_ASBOX |
2261 |
> |
## ------------------- ##" |
2262 |
|
echo |
2263 |
|
for ac_var in $ac_subst_files |
2264 |
|
do |
2272 |
|
fi |
2273 |
|
|
2274 |
|
if test -s confdefs.h; then |
2275 |
< |
cat <<\_ASBOX |
2566 |
< |
## ----------- ## |
2275 |
> |
$as_echo "## ----------- ## |
2276 |
|
## confdefs.h. ## |
2277 |
< |
## ----------- ## |
2569 |
< |
_ASBOX |
2277 |
> |
## ----------- ##" |
2278 |
|
echo |
2279 |
|
cat confdefs.h |
2280 |
|
echo |
2329 |
|
ac_site_file1=NONE |
2330 |
|
ac_site_file2=NONE |
2331 |
|
if test -n "$CONFIG_SITE"; then |
2332 |
< |
ac_site_file1=$CONFIG_SITE |
2332 |
> |
# We do not want a PATH search for config.site. |
2333 |
> |
case $CONFIG_SITE in #(( |
2334 |
> |
-*) ac_site_file1=./$CONFIG_SITE;; |
2335 |
> |
*/*) ac_site_file1=$CONFIG_SITE;; |
2336 |
> |
*) ac_site_file1=./$CONFIG_SITE;; |
2337 |
> |
esac |
2338 |
|
elif test "x$prefix" != xNONE; then |
2339 |
|
ac_site_file1=$prefix/share/config.site |
2340 |
|
ac_site_file2=$prefix/etc/config.site |
2345 |
|
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
2346 |
|
do |
2347 |
|
test "x$ac_site_file" = xNONE && continue |
2348 |
< |
if test -r "$ac_site_file"; then |
2348 |
> |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2349 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2350 |
|
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2351 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
2352 |
< |
. "$ac_site_file" |
2352 |
> |
. "$ac_site_file" \ |
2353 |
> |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2354 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2355 |
> |
as_fn_error $? "failed to load site script $ac_site_file |
2356 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
2357 |
|
fi |
2358 |
|
done |
2359 |
|
|
2360 |
|
if test -r "$cache_file"; then |
2361 |
< |
# Some versions of bash will fail to source /dev/null (special |
2362 |
< |
# files actually), so we avoid doing that. |
2363 |
< |
if test -f "$cache_file"; then |
2361 |
> |
# Some versions of bash will fail to source /dev/null (special files |
2362 |
> |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
2363 |
> |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
2364 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
2365 |
|
$as_echo "$as_me: loading cache $cache_file" >&6;} |
2366 |
|
case $cache_file in |
2374 |
|
>$cache_file |
2375 |
|
fi |
2376 |
|
|
2660 |
– |
as_fn_append ac_func_list " snprintf" |
2661 |
– |
as_fn_append ac_func_list " vsnprintf" |
2662 |
– |
as_fn_append ac_func_list " lrand48" |
2663 |
– |
as_fn_append ac_func_list " srand48" |
2664 |
– |
as_fn_append ac_func_list " mmap" |
2377 |
|
as_fn_append ac_func_list " strtok_r" |
2378 |
|
as_fn_append ac_func_list " usleep" |
2379 |
|
as_fn_append ac_func_list " strlcat" |
2380 |
|
as_fn_append ac_func_list " strlcpy" |
2669 |
– |
as_fn_append ac_func_list " basename" |
2381 |
|
as_fn_append ac_header_list " crypt.h" |
2671 |
– |
as_fn_append ac_header_list " inttypes.h" |
2672 |
– |
as_fn_append ac_header_list " stdint.h" |
2382 |
|
as_fn_append ac_header_list " sys/resource.h" |
2383 |
|
as_fn_append ac_header_list " sys/param.h" |
2675 |
– |
as_fn_append ac_header_list " errno.h" |
2676 |
– |
as_fn_append ac_header_list " sys/syslog.h" |
2677 |
– |
as_fn_append ac_header_list " stddef.h" |
2678 |
– |
as_fn_append ac_header_list " libgen.h" |
2384 |
|
as_fn_append ac_header_list " types.h" |
2385 |
|
as_fn_append ac_header_list " socket.h" |
2386 |
|
as_fn_append ac_header_list " sys/wait.h" |
2387 |
|
as_fn_append ac_header_list " wait.h" |
2683 |
– |
as_fn_append ac_header_list " link.h" |
2388 |
|
# Check that the precious variables saved in the cache have kept the same |
2389 |
|
# value. |
2390 |
|
ac_cache_corrupted=false |
2440 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2441 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2442 |
|
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2443 |
< |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2443 |
> |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2444 |
|
fi |
2445 |
|
## -------------------- ## |
2446 |
|
## Main body of script. ## |
2453 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2454 |
|
|
2455 |
|
|
2456 |
< |
am__api_version='1.11' |
2456 |
> |
am__api_version='1.14' |
2457 |
|
|
2458 |
|
ac_aux_dir= |
2459 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2460 |
< |
for ac_t in install-sh install.sh shtool; do |
2461 |
< |
if test -f "$ac_dir/$ac_t"; then |
2462 |
< |
ac_aux_dir=$ac_dir |
2463 |
< |
ac_install_sh="$ac_aux_dir/$ac_t -c" |
2464 |
< |
break 2 |
2465 |
< |
fi |
2466 |
< |
done |
2460 |
> |
if test -f "$ac_dir/install-sh"; then |
2461 |
> |
ac_aux_dir=$ac_dir |
2462 |
> |
ac_install_sh="$ac_aux_dir/install-sh -c" |
2463 |
> |
break |
2464 |
> |
elif test -f "$ac_dir/install.sh"; then |
2465 |
> |
ac_aux_dir=$ac_dir |
2466 |
> |
ac_install_sh="$ac_aux_dir/install.sh -c" |
2467 |
> |
break |
2468 |
> |
elif test -f "$ac_dir/shtool"; then |
2469 |
> |
ac_aux_dir=$ac_dir |
2470 |
> |
ac_install_sh="$ac_aux_dir/shtool install -c" |
2471 |
> |
break |
2472 |
> |
fi |
2473 |
|
done |
2474 |
|
if test -z "$ac_aux_dir"; then |
2475 |
< |
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
2475 |
> |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
2476 |
|
fi |
2477 |
|
|
2478 |
|
# These three variables are undocumented and unsupported, |
2501 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2502 |
|
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
2503 |
|
if test -z "$INSTALL"; then |
2504 |
< |
if test "${ac_cv_path_install+set}" = set; then : |
2504 |
> |
if ${ac_cv_path_install+:} false; then : |
2505 |
|
$as_echo_n "(cached) " >&6 |
2506 |
|
else |
2507 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2521 |
|
# by default. |
2522 |
|
for ac_prog in ginstall scoinst install; do |
2523 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2524 |
< |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
2524 |
> |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2525 |
|
if test $ac_prog = install && |
2526 |
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2527 |
|
# AIX install. It has an incompatible calling convention. |
2579 |
|
|
2580 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2581 |
|
$as_echo_n "checking whether build environment is sane... " >&6; } |
2872 |
– |
# Just in case |
2873 |
– |
sleep 1 |
2874 |
– |
echo timestamp > conftest.file |
2582 |
|
# Reject unsafe characters in $srcdir or the absolute working directory |
2583 |
|
# name. Accept space and tab only in the latter. |
2584 |
|
am_lf=' |
2585 |
|
' |
2586 |
|
case `pwd` in |
2587 |
|
*[\\\"\#\$\&\'\`$am_lf]*) |
2588 |
< |
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; |
2588 |
> |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
2589 |
|
esac |
2590 |
|
case $srcdir in |
2591 |
|
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2592 |
< |
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
2592 |
> |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
2593 |
|
esac |
2594 |
|
|
2595 |
< |
# Do `set' in a subshell so we don't clobber the current shell's |
2595 |
> |
# Do 'set' in a subshell so we don't clobber the current shell's |
2596 |
|
# arguments. Must try -L first in case configure is actually a |
2597 |
|
# symlink; some systems play weird games with the mod time of symlinks |
2598 |
|
# (eg FreeBSD returns the mod time of the symlink's containing |
2599 |
|
# directory). |
2600 |
|
if ( |
2601 |
< |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
2602 |
< |
if test "$*" = "X"; then |
2603 |
< |
# -L didn't work. |
2604 |
< |
set X `ls -t "$srcdir/configure" conftest.file` |
2605 |
< |
fi |
2606 |
< |
rm -f conftest.file |
2607 |
< |
if test "$*" != "X $srcdir/configure conftest.file" \ |
2608 |
< |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
2609 |
< |
|
2610 |
< |
# If neither matched, then we have a broken ls. This can happen |
2904 |
< |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
2905 |
< |
# broken ls alias from the environment. This has actually |
2906 |
< |
# happened. Such a system could not be considered "sane". |
2907 |
< |
as_fn_error "ls -t appears to fail. Make sure there is not a broken |
2908 |
< |
alias in your environment" "$LINENO" 5 |
2909 |
< |
fi |
2601 |
> |
am_has_slept=no |
2602 |
> |
for am_try in 1 2; do |
2603 |
> |
echo "timestamp, slept: $am_has_slept" > conftest.file |
2604 |
> |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
2605 |
> |
if test "$*" = "X"; then |
2606 |
> |
# -L didn't work. |
2607 |
> |
set X `ls -t "$srcdir/configure" conftest.file` |
2608 |
> |
fi |
2609 |
> |
if test "$*" != "X $srcdir/configure conftest.file" \ |
2610 |
> |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
2611 |
|
|
2612 |
+ |
# If neither matched, then we have a broken ls. This can happen |
2613 |
+ |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
2614 |
+ |
# broken ls alias from the environment. This has actually |
2615 |
+ |
# happened. Such a system could not be considered "sane". |
2616 |
+ |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
2617 |
+ |
alias in your environment" "$LINENO" 5 |
2618 |
+ |
fi |
2619 |
+ |
if test "$2" = conftest.file || test $am_try -eq 2; then |
2620 |
+ |
break |
2621 |
+ |
fi |
2622 |
+ |
# Just in case. |
2623 |
+ |
sleep 1 |
2624 |
+ |
am_has_slept=yes |
2625 |
+ |
done |
2626 |
|
test "$2" = conftest.file |
2627 |
|
) |
2628 |
|
then |
2629 |
|
# Ok. |
2630 |
|
: |
2631 |
|
else |
2632 |
< |
as_fn_error "newly created file is older than distributed files! |
2632 |
> |
as_fn_error $? "newly created file is older than distributed files! |
2633 |
|
Check your system clock" "$LINENO" 5 |
2634 |
|
fi |
2635 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2636 |
|
$as_echo "yes" >&6; } |
2637 |
+ |
# If we didn't sleep, we still need to ensure time stamps of config.status and |
2638 |
+ |
# generated files are strictly newer. |
2639 |
+ |
am_sleep_pid= |
2640 |
+ |
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
2641 |
+ |
( sleep 1 ) & |
2642 |
+ |
am_sleep_pid=$! |
2643 |
+ |
fi |
2644 |
+ |
|
2645 |
+ |
rm -f conftest.file |
2646 |
+ |
|
2647 |
|
test "$program_prefix" != NONE && |
2648 |
|
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2649 |
|
# Use a double $ so make ignores it. |
2666 |
|
esac |
2667 |
|
fi |
2668 |
|
# Use eval to expand $SHELL |
2669 |
< |
if eval "$MISSING --run true"; then |
2670 |
< |
am_missing_run="$MISSING --run " |
2669 |
> |
if eval "$MISSING --is-lightweight"; then |
2670 |
> |
am_missing_run="$MISSING " |
2671 |
|
else |
2672 |
|
am_missing_run= |
2673 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
2674 |
< |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2673 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
2674 |
> |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
2675 |
|
fi |
2676 |
|
|
2677 |
|
if test x"${install_sh}" != xset; then |
2683 |
|
esac |
2684 |
|
fi |
2685 |
|
|
2686 |
< |
# Installed binaries are usually stripped using `strip' when the user |
2687 |
< |
# run `make install-strip'. However `strip' might not be the right |
2686 |
> |
# Installed binaries are usually stripped using 'strip' when the user |
2687 |
> |
# run "make install-strip". However 'strip' might not be the right |
2688 |
|
# tool to use in cross-compilation environments, therefore Automake |
2689 |
< |
# will honor the `STRIP' environment variable to overrule this program. |
2689 |
> |
# will honor the 'STRIP' environment variable to overrule this program. |
2690 |
|
if test "$cross_compiling" != no; then |
2691 |
|
if test -n "$ac_tool_prefix"; then |
2692 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2693 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2694 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2695 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
2696 |
< |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
2696 |
> |
if ${ac_cv_prog_STRIP+:} false; then : |
2697 |
|
$as_echo_n "(cached) " >&6 |
2698 |
|
else |
2699 |
|
if test -n "$STRIP"; then |
2705 |
|
IFS=$as_save_IFS |
2706 |
|
test -z "$as_dir" && as_dir=. |
2707 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2708 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2708 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2709 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2710 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2711 |
|
break 2 |
2733 |
|
set dummy strip; ac_word=$2 |
2734 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2735 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
2736 |
< |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
2736 |
> |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
2737 |
|
$as_echo_n "(cached) " >&6 |
2738 |
|
else |
2739 |
|
if test -n "$ac_ct_STRIP"; then |
2745 |
|
IFS=$as_save_IFS |
2746 |
|
test -z "$as_dir" && as_dir=. |
2747 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2748 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2748 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2749 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
2750 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2751 |
|
break 2 |
2786 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
2787 |
|
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
2788 |
|
if test -z "$MKDIR_P"; then |
2789 |
< |
if test "${ac_cv_path_mkdir+set}" = set; then : |
2789 |
> |
if ${ac_cv_path_mkdir+:} false; then : |
2790 |
|
$as_echo_n "(cached) " >&6 |
2791 |
|
else |
2792 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2796 |
|
test -z "$as_dir" && as_dir=. |
2797 |
|
for ac_prog in mkdir gmkdir; do |
2798 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2799 |
< |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
2799 |
> |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
2800 |
|
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2801 |
|
'mkdir (GNU coreutils) '* | \ |
2802 |
|
'mkdir (coreutils) '* | \ |
2811 |
|
|
2812 |
|
fi |
2813 |
|
|
2814 |
+ |
test -d ./--version && rmdir ./--version |
2815 |
|
if test "${ac_cv_path_mkdir+set}" = set; then |
2816 |
|
MKDIR_P="$ac_cv_path_mkdir -p" |
2817 |
|
else |
2819 |
|
# value for MKDIR_P within a source directory, because that will |
2820 |
|
# break other packages using the cache if that directory is |
2821 |
|
# removed, or if the value is a relative name. |
3096 |
– |
test -d ./--version && rmdir ./--version |
2822 |
|
MKDIR_P="$ac_install_sh -d" |
2823 |
|
fi |
2824 |
|
fi |
2825 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
2826 |
|
$as_echo "$MKDIR_P" >&6; } |
2827 |
|
|
3103 |
– |
mkdir_p="$MKDIR_P" |
3104 |
– |
case $mkdir_p in |
3105 |
– |
[\\/$]* | ?:[\\/]*) ;; |
3106 |
– |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
3107 |
– |
esac |
3108 |
– |
|
2828 |
|
for ac_prog in gawk mawk nawk awk |
2829 |
|
do |
2830 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2831 |
|
set dummy $ac_prog; ac_word=$2 |
2832 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2833 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
2834 |
< |
if test "${ac_cv_prog_AWK+set}" = set; then : |
2834 |
> |
if ${ac_cv_prog_AWK+:} false; then : |
2835 |
|
$as_echo_n "(cached) " >&6 |
2836 |
|
else |
2837 |
|
if test -n "$AWK"; then |
2843 |
|
IFS=$as_save_IFS |
2844 |
|
test -z "$as_dir" && as_dir=. |
2845 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2846 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2846 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2847 |
|
ac_cv_prog_AWK="$ac_prog" |
2848 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2849 |
|
break 2 |
2871 |
|
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2872 |
|
set x ${MAKE-make} |
2873 |
|
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2874 |
< |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
2874 |
> |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
2875 |
|
$as_echo_n "(cached) " >&6 |
2876 |
|
else |
2877 |
|
cat >conftest.make <<\_ACEOF |
2879 |
|
all: |
2880 |
|
@echo '@@@%%%=$(MAKE)=@@@%%%' |
2881 |
|
_ACEOF |
2882 |
< |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
2882 |
> |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
2883 |
|
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2884 |
|
*@@@%%%=?*=@@@%%%*) |
2885 |
|
eval ac_cv_prog_make_${ac_make}_set=yes;; |
2907 |
|
fi |
2908 |
|
rmdir .tst 2>/dev/null |
2909 |
|
|
2910 |
+ |
# Check whether --enable-silent-rules was given. |
2911 |
+ |
if test "${enable_silent_rules+set}" = set; then : |
2912 |
+ |
enableval=$enable_silent_rules; |
2913 |
+ |
fi |
2914 |
+ |
|
2915 |
+ |
case $enable_silent_rules in # ((( |
2916 |
+ |
yes) AM_DEFAULT_VERBOSITY=0;; |
2917 |
+ |
no) AM_DEFAULT_VERBOSITY=1;; |
2918 |
+ |
*) AM_DEFAULT_VERBOSITY=1;; |
2919 |
+ |
esac |
2920 |
+ |
am_make=${MAKE-make} |
2921 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
2922 |
+ |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
2923 |
+ |
if ${am_cv_make_support_nested_variables+:} false; then : |
2924 |
+ |
$as_echo_n "(cached) " >&6 |
2925 |
+ |
else |
2926 |
+ |
if $as_echo 'TRUE=$(BAR$(V)) |
2927 |
+ |
BAR0=false |
2928 |
+ |
BAR1=true |
2929 |
+ |
V=1 |
2930 |
+ |
am__doit: |
2931 |
+ |
@$(TRUE) |
2932 |
+ |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
2933 |
+ |
am_cv_make_support_nested_variables=yes |
2934 |
+ |
else |
2935 |
+ |
am_cv_make_support_nested_variables=no |
2936 |
+ |
fi |
2937 |
+ |
fi |
2938 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
2939 |
+ |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
2940 |
+ |
if test $am_cv_make_support_nested_variables = yes; then |
2941 |
+ |
AM_V='$(V)' |
2942 |
+ |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
2943 |
+ |
else |
2944 |
+ |
AM_V=$AM_DEFAULT_VERBOSITY |
2945 |
+ |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
2946 |
+ |
fi |
2947 |
+ |
AM_BACKSLASH='\' |
2948 |
+ |
|
2949 |
|
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
2950 |
|
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
2951 |
|
# is not polluted with repeated "-I." |
2952 |
|
am__isrc=' -I$(srcdir)' |
2953 |
|
# test to see if srcdir already configured |
2954 |
|
if test -f $srcdir/config.status; then |
2955 |
< |
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
2955 |
> |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
2956 |
|
fi |
2957 |
|
fi |
2958 |
|
|
2968 |
|
|
2969 |
|
# Define the identity of the package. |
2970 |
|
PACKAGE='ircd-hybrid' |
2971 |
< |
VERSION='7.2.4' |
2971 |
> |
VERSION='TRUNK' |
2972 |
|
|
2973 |
|
|
2974 |
|
cat >>confdefs.h <<_ACEOF |
2996 |
|
|
2997 |
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
2998 |
|
|
2999 |
+ |
# For better backward compatibility. To be removed once Automake 1.9.x |
3000 |
+ |
# dies out for good. For more background, see: |
3001 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
3002 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
3003 |
+ |
mkdir_p='$(MKDIR_P)' |
3004 |
+ |
|
3005 |
|
# We need awk for the "check" target. The system "awk" is bad on |
3006 |
|
# some platforms. |
3007 |
< |
# Always define AMTAR for backward compatibility. |
3007 |
> |
# Always define AMTAR for backward compatibility. Yes, it's still used |
3008 |
> |
# in the wild :-( We should find a proper way to deprecate it ... |
3009 |
> |
AMTAR='$${TAR-tar}' |
3010 |
> |
|
3011 |
> |
|
3012 |
> |
# We'll loop over all known methods to create a tar archive until one works. |
3013 |
> |
_am_tools='gnutar pax cpio none' |
3014 |
> |
|
3015 |
> |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
3016 |
|
|
3245 |
– |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
3017 |
|
|
3247 |
– |
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
3018 |
|
|
3019 |
|
|
3020 |
|
|
3021 |
|
|
3022 |
+ |
# POSIX will say in a future version that running "rm -f" with no argument |
3023 |
+ |
# is OK; and we want to be able to make that assumption in our Makefile |
3024 |
+ |
# recipes. So use an aggressive probe to check that the usage we want is |
3025 |
+ |
# actually supported "in the wild" to an acceptable degree. |
3026 |
+ |
# See automake bug#10828. |
3027 |
+ |
# To make any issue more visible, cause the running configure to be aborted |
3028 |
+ |
# by default if the 'rm' program in use doesn't match our expectations; the |
3029 |
+ |
# user can still override this though. |
3030 |
+ |
if rm -f && rm -fr && rm -rf; then : OK; else |
3031 |
+ |
cat >&2 <<'END' |
3032 |
+ |
Oops! |
3033 |
|
|
3034 |
+ |
Your 'rm' program seems unable to run without file operands specified |
3035 |
+ |
on the command line, even when the '-f' option is present. This is contrary |
3036 |
+ |
to the behaviour of most rm programs out there, and not conforming with |
3037 |
+ |
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
3038 |
+ |
|
3039 |
+ |
Please tell bug-automake@gnu.org about your system, including the value |
3040 |
+ |
of your $PATH and any error possibly output before this message. This |
3041 |
+ |
can help us improve future automake versions. |
3042 |
+ |
|
3043 |
+ |
END |
3044 |
+ |
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
3045 |
+ |
echo 'Configuration will proceed anyway, since you have set the' >&2 |
3046 |
+ |
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
3047 |
+ |
echo >&2 |
3048 |
+ |
else |
3049 |
+ |
cat >&2 <<'END' |
3050 |
+ |
Aborting the configuration process, to ensure you take notice of the issue. |
3051 |
+ |
|
3052 |
+ |
You can download and install GNU coreutils to get an 'rm' implementation |
3053 |
+ |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
3054 |
+ |
|
3055 |
+ |
If you want to complete the configuration process using your problematic |
3056 |
+ |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
3057 |
+ |
to "yes", and re-run configure. |
3058 |
+ |
|
3059 |
+ |
END |
3060 |
+ |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
3061 |
+ |
fi |
3062 |
+ |
fi |
3063 |
|
|
3064 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3065 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
3087 |
|
|
3088 |
|
|
3089 |
|
|
3280 |
– |
|
3090 |
|
# Checks for programs. |
3091 |
+ |
DEPDIR="${am__leading_dot}deps" |
3092 |
+ |
|
3093 |
+ |
ac_config_commands="$ac_config_commands depfiles" |
3094 |
+ |
|
3095 |
+ |
|
3096 |
+ |
am_make=${MAKE-make} |
3097 |
+ |
cat > confinc << 'END' |
3098 |
+ |
am__doit: |
3099 |
+ |
@echo this is the am__doit target |
3100 |
+ |
.PHONY: am__doit |
3101 |
+ |
END |
3102 |
+ |
# If we don't find an include directive, just comment out the code. |
3103 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
3104 |
+ |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
3105 |
+ |
am__include="#" |
3106 |
+ |
am__quote= |
3107 |
+ |
_am_result=none |
3108 |
+ |
# First try GNU make style include. |
3109 |
+ |
echo "include confinc" > confmf |
3110 |
+ |
# Ignore all kinds of additional output from 'make'. |
3111 |
+ |
case `$am_make -s -f confmf 2> /dev/null` in #( |
3112 |
+ |
*the\ am__doit\ target*) |
3113 |
+ |
am__include=include |
3114 |
+ |
am__quote= |
3115 |
+ |
_am_result=GNU |
3116 |
+ |
;; |
3117 |
+ |
esac |
3118 |
+ |
# Now try BSD make style include. |
3119 |
+ |
if test "$am__include" = "#"; then |
3120 |
+ |
echo '.include "confinc"' > confmf |
3121 |
+ |
case `$am_make -s -f confmf 2> /dev/null` in #( |
3122 |
+ |
*the\ am__doit\ target*) |
3123 |
+ |
am__include=.include |
3124 |
+ |
am__quote="\"" |
3125 |
+ |
_am_result=BSD |
3126 |
+ |
;; |
3127 |
+ |
esac |
3128 |
+ |
fi |
3129 |
+ |
|
3130 |
+ |
|
3131 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
3132 |
+ |
$as_echo "$_am_result" >&6; } |
3133 |
+ |
rm -f confinc confmf |
3134 |
+ |
|
3135 |
+ |
# Check whether --enable-dependency-tracking was given. |
3136 |
+ |
if test "${enable_dependency_tracking+set}" = set; then : |
3137 |
+ |
enableval=$enable_dependency_tracking; |
3138 |
+ |
fi |
3139 |
+ |
|
3140 |
+ |
if test "x$enable_dependency_tracking" != xno; then |
3141 |
+ |
am_depcomp="$ac_aux_dir/depcomp" |
3142 |
+ |
AMDEPBACKSLASH='\' |
3143 |
+ |
am__nodep='_no' |
3144 |
+ |
fi |
3145 |
+ |
if test "x$enable_dependency_tracking" != xno; then |
3146 |
+ |
AMDEP_TRUE= |
3147 |
+ |
AMDEP_FALSE='#' |
3148 |
+ |
else |
3149 |
+ |
AMDEP_TRUE='#' |
3150 |
+ |
AMDEP_FALSE= |
3151 |
+ |
fi |
3152 |
+ |
|
3153 |
+ |
|
3154 |
|
ac_ext=c |
3155 |
|
ac_cpp='$CPP $CPPFLAGS' |
3156 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3161 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3162 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3163 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3164 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
3164 |
> |
if ${ac_cv_prog_CC+:} false; then : |
3165 |
|
$as_echo_n "(cached) " >&6 |
3166 |
|
else |
3167 |
|
if test -n "$CC"; then |
3173 |
|
IFS=$as_save_IFS |
3174 |
|
test -z "$as_dir" && as_dir=. |
3175 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3176 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3176 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3177 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3178 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3179 |
|
break 2 |
3201 |
|
set dummy gcc; ac_word=$2 |
3202 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3203 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3204 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3204 |
> |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3205 |
|
$as_echo_n "(cached) " >&6 |
3206 |
|
else |
3207 |
|
if test -n "$ac_ct_CC"; then |
3213 |
|
IFS=$as_save_IFS |
3214 |
|
test -z "$as_dir" && as_dir=. |
3215 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3216 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3216 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3217 |
|
ac_cv_prog_ac_ct_CC="gcc" |
3218 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3219 |
|
break 2 |
3254 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3255 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3256 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3257 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
3257 |
> |
if ${ac_cv_prog_CC+:} false; then : |
3258 |
|
$as_echo_n "(cached) " >&6 |
3259 |
|
else |
3260 |
|
if test -n "$CC"; then |
3266 |
|
IFS=$as_save_IFS |
3267 |
|
test -z "$as_dir" && as_dir=. |
3268 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3269 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3269 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3270 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
3271 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3272 |
|
break 2 |
3294 |
|
set dummy cc; ac_word=$2 |
3295 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3296 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3297 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
3297 |
> |
if ${ac_cv_prog_CC+:} false; then : |
3298 |
|
$as_echo_n "(cached) " >&6 |
3299 |
|
else |
3300 |
|
if test -n "$CC"; then |
3307 |
|
IFS=$as_save_IFS |
3308 |
|
test -z "$as_dir" && as_dir=. |
3309 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3310 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3310 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3311 |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3312 |
|
ac_prog_rejected=yes |
3313 |
|
continue |
3353 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3354 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3355 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3356 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
3356 |
> |
if ${ac_cv_prog_CC+:} false; then : |
3357 |
|
$as_echo_n "(cached) " >&6 |
3358 |
|
else |
3359 |
|
if test -n "$CC"; then |
3365 |
|
IFS=$as_save_IFS |
3366 |
|
test -z "$as_dir" && as_dir=. |
3367 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3368 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3368 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3369 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3370 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3371 |
|
break 2 |
3397 |
|
set dummy $ac_prog; ac_word=$2 |
3398 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3399 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3400 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3400 |
> |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3401 |
|
$as_echo_n "(cached) " >&6 |
3402 |
|
else |
3403 |
|
if test -n "$ac_ct_CC"; then |
3409 |
|
IFS=$as_save_IFS |
3410 |
|
test -z "$as_dir" && as_dir=. |
3411 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3412 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3412 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3413 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
3414 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3415 |
|
break 2 |
3451 |
|
|
3452 |
|
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3453 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3454 |
< |
as_fn_error "no acceptable C compiler found in \$PATH |
3455 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
3454 |
> |
as_fn_error $? "no acceptable C compiler found in \$PATH |
3455 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
3456 |
|
|
3457 |
|
# Provide some information about the compiler. |
3458 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3473 |
|
... rest of stderr output deleted ... |
3474 |
|
10q' conftest.err >conftest.er1 |
3475 |
|
cat conftest.er1 >&5 |
3604 |
– |
rm -f conftest.er1 conftest.err |
3476 |
|
fi |
3477 |
+ |
rm -f conftest.er1 conftest.err |
3478 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3479 |
|
test $ac_status = 0; } |
3480 |
|
done |
3481 |
|
|
3482 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3483 |
|
/* end confdefs.h. */ |
3484 |
< |
#include <stdio.h> |
3484 |
> |
|
3485 |
|
int |
3486 |
|
main () |
3487 |
|
{ |
3616 |
– |
FILE *f = fopen ("conftest.out", "w"); |
3617 |
– |
return ferror (f) || fclose (f) != 0; |
3488 |
|
|
3489 |
|
; |
3490 |
|
return 0; |
3491 |
|
} |
3492 |
|
_ACEOF |
3493 |
|
ac_clean_files_save=$ac_clean_files |
3494 |
< |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" |
3494 |
> |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
3495 |
|
# Try to create an executable without -o first, disregard a.out. |
3496 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
3497 |
|
# of exeext. |
3498 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3499 |
< |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
3498 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3499 |
> |
$as_echo_n "checking whether the C compiler works... " >&6; } |
3500 |
|
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3501 |
|
|
3502 |
|
# The possible output files: |
3558 |
|
else |
3559 |
|
ac_file='' |
3560 |
|
fi |
3691 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
3692 |
– |
$as_echo "$ac_file" >&6; } |
3561 |
|
if test -z "$ac_file"; then : |
3562 |
< |
$as_echo "$as_me: failed program was:" >&5 |
3562 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3563 |
> |
$as_echo "no" >&6; } |
3564 |
> |
$as_echo "$as_me: failed program was:" >&5 |
3565 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3566 |
|
|
3567 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3568 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3569 |
< |
{ as_fn_set_status 77 |
3570 |
< |
as_fn_error "C compiler cannot create executables |
3571 |
< |
See \`config.log' for more details." "$LINENO" 5; }; } |
3569 |
> |
as_fn_error 77 "C compiler cannot create executables |
3570 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
3571 |
> |
else |
3572 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3573 |
> |
$as_echo "yes" >&6; } |
3574 |
|
fi |
3575 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3576 |
+ |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
3577 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
3578 |
+ |
$as_echo "$ac_file" >&6; } |
3579 |
|
ac_exeext=$ac_cv_exeext |
3580 |
|
|
3581 |
< |
# Check that the compiler produces executables we can run. If not, either |
3706 |
< |
# the compiler is broken, or we cross compile. |
3707 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3708 |
< |
$as_echo_n "checking whether the C compiler works... " >&6; } |
3709 |
< |
# If not cross compiling, check that we can run a simple program. |
3710 |
< |
if test "$cross_compiling" != yes; then |
3711 |
< |
if { ac_try='./$ac_file' |
3712 |
< |
{ { case "(($ac_try" in |
3713 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3714 |
< |
*) ac_try_echo=$ac_try;; |
3715 |
< |
esac |
3716 |
< |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3717 |
< |
$as_echo "$ac_try_echo"; } >&5 |
3718 |
< |
(eval "$ac_try") 2>&5 |
3719 |
< |
ac_status=$? |
3720 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3721 |
< |
test $ac_status = 0; }; }; then |
3722 |
< |
cross_compiling=no |
3723 |
< |
else |
3724 |
< |
if test "$cross_compiling" = maybe; then |
3725 |
< |
cross_compiling=yes |
3726 |
< |
else |
3727 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3728 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3729 |
< |
as_fn_error "cannot run C compiled programs. |
3730 |
< |
If you meant to cross compile, use \`--host'. |
3731 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
3732 |
< |
fi |
3733 |
< |
fi |
3734 |
< |
fi |
3735 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3736 |
< |
$as_echo "yes" >&6; } |
3737 |
< |
|
3738 |
< |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out |
3581 |
> |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
3582 |
|
ac_clean_files=$ac_clean_files_save |
3740 |
– |
# Check that the compiler produces executables we can run. If not, either |
3741 |
– |
# the compiler is broken, or we cross compile. |
3742 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
3743 |
– |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
3744 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3745 |
– |
$as_echo "$cross_compiling" >&6; } |
3746 |
– |
|
3583 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
3584 |
|
$as_echo_n "checking for suffix of executables... " >&6; } |
3585 |
|
if { { ac_try="$ac_link" |
3609 |
|
else |
3610 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3611 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3612 |
< |
as_fn_error "cannot compute suffix of executables: cannot compile and link |
3613 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
3612 |
> |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3613 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
3614 |
|
fi |
3615 |
< |
rm -f conftest$ac_cv_exeext |
3615 |
> |
rm -f conftest conftest$ac_cv_exeext |
3616 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3617 |
|
$as_echo "$ac_cv_exeext" >&6; } |
3618 |
|
|
3619 |
|
rm -f conftest.$ac_ext |
3620 |
|
EXEEXT=$ac_cv_exeext |
3621 |
|
ac_exeext=$EXEEXT |
3622 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3623 |
+ |
/* end confdefs.h. */ |
3624 |
+ |
#include <stdio.h> |
3625 |
+ |
int |
3626 |
+ |
main () |
3627 |
+ |
{ |
3628 |
+ |
FILE *f = fopen ("conftest.out", "w"); |
3629 |
+ |
return ferror (f) || fclose (f) != 0; |
3630 |
+ |
|
3631 |
+ |
; |
3632 |
+ |
return 0; |
3633 |
+ |
} |
3634 |
+ |
_ACEOF |
3635 |
+ |
ac_clean_files="$ac_clean_files conftest.out" |
3636 |
+ |
# Check that the compiler produces executables we can run. If not, either |
3637 |
+ |
# the compiler is broken, or we cross compile. |
3638 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
3639 |
+ |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
3640 |
+ |
if test "$cross_compiling" != yes; then |
3641 |
+ |
{ { ac_try="$ac_link" |
3642 |
+ |
case "(($ac_try" in |
3643 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3644 |
+ |
*) ac_try_echo=$ac_try;; |
3645 |
+ |
esac |
3646 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3647 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
3648 |
+ |
(eval "$ac_link") 2>&5 |
3649 |
+ |
ac_status=$? |
3650 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3651 |
+ |
test $ac_status = 0; } |
3652 |
+ |
if { ac_try='./conftest$ac_cv_exeext' |
3653 |
+ |
{ { case "(($ac_try" in |
3654 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3655 |
+ |
*) ac_try_echo=$ac_try;; |
3656 |
+ |
esac |
3657 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3658 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
3659 |
+ |
(eval "$ac_try") 2>&5 |
3660 |
+ |
ac_status=$? |
3661 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3662 |
+ |
test $ac_status = 0; }; }; then |
3663 |
+ |
cross_compiling=no |
3664 |
+ |
else |
3665 |
+ |
if test "$cross_compiling" = maybe; then |
3666 |
+ |
cross_compiling=yes |
3667 |
+ |
else |
3668 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3669 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3670 |
+ |
as_fn_error $? "cannot run C compiled programs. |
3671 |
+ |
If you meant to cross compile, use \`--host'. |
3672 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
3673 |
+ |
fi |
3674 |
+ |
fi |
3675 |
+ |
fi |
3676 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3677 |
+ |
$as_echo "$cross_compiling" >&6; } |
3678 |
+ |
|
3679 |
+ |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3680 |
+ |
ac_clean_files=$ac_clean_files_save |
3681 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3682 |
|
$as_echo_n "checking for suffix of object files... " >&6; } |
3683 |
< |
if test "${ac_cv_objext+set}" = set; then : |
3683 |
> |
if ${ac_cv_objext+:} false; then : |
3684 |
|
$as_echo_n "(cached) " >&6 |
3685 |
|
else |
3686 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3720 |
|
|
3721 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3722 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3723 |
< |
as_fn_error "cannot compute suffix of object files: cannot compile |
3724 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
3723 |
> |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
3724 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
3725 |
|
fi |
3726 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3727 |
|
fi |
3731 |
|
ac_objext=$OBJEXT |
3732 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3733 |
|
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3734 |
< |
if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
3734 |
> |
if ${ac_cv_c_compiler_gnu+:} false; then : |
3735 |
|
$as_echo_n "(cached) " >&6 |
3736 |
|
else |
3737 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3768 |
|
ac_save_CFLAGS=$CFLAGS |
3769 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3770 |
|
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
3771 |
< |
if test "${ac_cv_prog_cc_g+set}" = set; then : |
3771 |
> |
if ${ac_cv_prog_cc_g+:} false; then : |
3772 |
|
$as_echo_n "(cached) " >&6 |
3773 |
|
else |
3774 |
|
ac_save_c_werror_flag=$ac_c_werror_flag |
3846 |
|
fi |
3847 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3848 |
|
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3849 |
< |
if test "${ac_cv_prog_cc_c89+set}" = set; then : |
3849 |
> |
if ${ac_cv_prog_cc_c89+:} false; then : |
3850 |
|
$as_echo_n "(cached) " >&6 |
3851 |
|
else |
3852 |
|
ac_cv_prog_cc_c89=no |
3855 |
|
/* end confdefs.h. */ |
3856 |
|
#include <stdarg.h> |
3857 |
|
#include <stdio.h> |
3858 |
< |
#include <sys/types.h> |
3964 |
< |
#include <sys/stat.h> |
3858 |
> |
struct stat; |
3859 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3860 |
|
struct buf { int x; }; |
3861 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3939 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3940 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3941 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4048 |
– |
DEPDIR="${am__leading_dot}deps" |
3942 |
|
|
3943 |
< |
ac_config_commands="$ac_config_commands depfiles" |
3944 |
< |
|
3945 |
< |
|
3946 |
< |
am_make=${MAKE-make} |
3947 |
< |
cat > confinc << 'END' |
3948 |
< |
am__doit: |
3949 |
< |
@echo this is the am__doit target |
3950 |
< |
.PHONY: am__doit |
3951 |
< |
END |
3952 |
< |
# If we don't find an include directive, just comment out the code. |
3953 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
3954 |
< |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
4062 |
< |
am__include="#" |
4063 |
< |
am__quote= |
4064 |
< |
_am_result=none |
4065 |
< |
# First try GNU make style include. |
4066 |
< |
echo "include confinc" > confmf |
4067 |
< |
# Ignore all kinds of additional output from `make'. |
4068 |
< |
case `$am_make -s -f confmf 2> /dev/null` in #( |
4069 |
< |
*the\ am__doit\ target*) |
4070 |
< |
am__include=include |
4071 |
< |
am__quote= |
4072 |
< |
_am_result=GNU |
4073 |
< |
;; |
4074 |
< |
esac |
4075 |
< |
# Now try BSD make style include. |
4076 |
< |
if test "$am__include" = "#"; then |
4077 |
< |
echo '.include "confinc"' > confmf |
4078 |
< |
case `$am_make -s -f confmf 2> /dev/null` in #( |
4079 |
< |
*the\ am__doit\ target*) |
4080 |
< |
am__include=.include |
4081 |
< |
am__quote="\"" |
4082 |
< |
_am_result=BSD |
4083 |
< |
;; |
4084 |
< |
esac |
4085 |
< |
fi |
4086 |
< |
|
4087 |
< |
|
4088 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
4089 |
< |
$as_echo "$_am_result" >&6; } |
4090 |
< |
rm -f confinc confmf |
3943 |
> |
ac_ext=c |
3944 |
> |
ac_cpp='$CPP $CPPFLAGS' |
3945 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3946 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3947 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3948 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
3949 |
> |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
3950 |
> |
if ${am_cv_prog_cc_c_o+:} false; then : |
3951 |
> |
$as_echo_n "(cached) " >&6 |
3952 |
> |
else |
3953 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3954 |
> |
/* end confdefs.h. */ |
3955 |
|
|
3956 |
< |
# Check whether --enable-dependency-tracking was given. |
3957 |
< |
if test "${enable_dependency_tracking+set}" = set; then : |
3958 |
< |
enableval=$enable_dependency_tracking; |
4095 |
< |
fi |
3956 |
> |
int |
3957 |
> |
main () |
3958 |
> |
{ |
3959 |
|
|
3960 |
< |
if test "x$enable_dependency_tracking" != xno; then |
3961 |
< |
am_depcomp="$ac_aux_dir/depcomp" |
3962 |
< |
AMDEPBACKSLASH='\' |
3960 |
> |
; |
3961 |
> |
return 0; |
3962 |
> |
} |
3963 |
> |
_ACEOF |
3964 |
> |
# Make sure it works both with $CC and with simple cc. |
3965 |
> |
# Following AC_PROG_CC_C_O, we do the test twice because some |
3966 |
> |
# compilers refuse to overwrite an existing .o file with -o, |
3967 |
> |
# though they will create one. |
3968 |
> |
am_cv_prog_cc_c_o=yes |
3969 |
> |
for am_i in 1 2; do |
3970 |
> |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
3971 |
> |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
3972 |
> |
ac_status=$? |
3973 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3974 |
> |
(exit $ac_status); } \ |
3975 |
> |
&& test -f conftest2.$ac_objext; then |
3976 |
> |
: OK |
3977 |
> |
else |
3978 |
> |
am_cv_prog_cc_c_o=no |
3979 |
> |
break |
3980 |
> |
fi |
3981 |
> |
done |
3982 |
> |
rm -f core conftest* |
3983 |
> |
unset am_i |
3984 |
|
fi |
3985 |
< |
if test "x$enable_dependency_tracking" != xno; then |
3986 |
< |
AMDEP_TRUE= |
3987 |
< |
AMDEP_FALSE='#' |
3988 |
< |
else |
3989 |
< |
AMDEP_TRUE='#' |
3990 |
< |
AMDEP_FALSE= |
3985 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
3986 |
> |
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
3987 |
> |
if test "$am_cv_prog_cc_c_o" != yes; then |
3988 |
> |
# Losing compiler, so override with the script. |
3989 |
> |
# FIXME: It is wrong to rewrite CC. |
3990 |
> |
# But if we don't then we get into trouble of one sort or another. |
3991 |
> |
# A longer-term fix would be to have automake use am__CC in this case, |
3992 |
> |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
3993 |
> |
CC="$am_aux_dir/compile $CC" |
3994 |
|
fi |
3995 |
< |
|
3995 |
> |
ac_ext=c |
3996 |
> |
ac_cpp='$CPP $CPPFLAGS' |
3997 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3998 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3999 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4000 |
|
|
4001 |
|
|
4002 |
|
depcc="$CC" am_compiler_list= |
4003 |
|
|
4004 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4005 |
|
$as_echo_n "checking dependency style of $depcc... " >&6; } |
4006 |
< |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
4006 |
> |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
4007 |
|
$as_echo_n "(cached) " >&6 |
4008 |
|
else |
4009 |
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4010 |
|
# We make a subdir and do the tests there. Otherwise we can end up |
4011 |
|
# making bogus files that we don't know about and never remove. For |
4012 |
|
# instance it was reported that on HP-UX the gcc test will end up |
4013 |
< |
# making a dummy file named `D' -- because `-MD' means `put the output |
4014 |
< |
# in D'. |
4013 |
> |
# making a dummy file named 'D' -- because '-MD' means "put the output |
4014 |
> |
# in D". |
4015 |
> |
rm -rf conftest.dir |
4016 |
|
mkdir conftest.dir |
4017 |
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
4018 |
|
# using a relative directory. |
4046 |
|
: > sub/conftest.c |
4047 |
|
for i in 1 2 3 4 5 6; do |
4048 |
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4049 |
< |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
4050 |
< |
# Solaris 8's {/usr,}/bin/sh. |
4051 |
< |
touch sub/conftst$i.h |
4049 |
> |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
4050 |
> |
# Solaris 10 /bin/sh. |
4051 |
> |
echo '/* dummy */' > sub/conftst$i.h |
4052 |
|
done |
4053 |
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4054 |
|
|
4055 |
< |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
4055 |
> |
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
4056 |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
4057 |
< |
# handle `-M -o', and we need to detect this. Also, some Intel |
4058 |
< |
# versions had trouble with output in subdirs |
4057 |
> |
# handle '-M -o', and we need to detect this. Also, some Intel |
4058 |
> |
# versions had trouble with output in subdirs. |
4059 |
|
am__obj=sub/conftest.${OBJEXT-o} |
4060 |
|
am__minus_obj="-o $am__obj" |
4061 |
|
case $depmode in |
4064 |
|
test "$am__universal" = false || continue |
4065 |
|
;; |
4066 |
|
nosideeffect) |
4067 |
< |
# after this tag, mechanisms are not by side-effect, so they'll |
4068 |
< |
# only be used when explicitly requested |
4067 |
> |
# After this tag, mechanisms are not by side-effect, so they'll |
4068 |
> |
# only be used when explicitly requested. |
4069 |
|
if test "x$enable_dependency_tracking" = xyes; then |
4070 |
|
continue |
4071 |
|
else |
4072 |
|
break |
4073 |
|
fi |
4074 |
|
;; |
4075 |
< |
msvisualcpp | msvcmsys) |
4076 |
< |
# This compiler won't grok `-c -o', but also, the minuso test has |
4075 |
> |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
4076 |
> |
# This compiler won't grok '-c -o', but also, the minuso test has |
4077 |
|
# not run yet. These depmodes are late enough in the game, and |
4078 |
|
# so weak that their functioning should not be impacted. |
4079 |
|
am__obj=conftest.${OBJEXT-o} |
4127 |
|
fi |
4128 |
|
|
4129 |
|
|
4130 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 |
4131 |
+ |
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
4132 |
+ |
if ${ac_cv_prog_cc_c99+:} false; then : |
4133 |
+ |
$as_echo_n "(cached) " >&6 |
4134 |
+ |
else |
4135 |
+ |
ac_cv_prog_cc_c99=no |
4136 |
+ |
ac_save_CC=$CC |
4137 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4138 |
+ |
/* end confdefs.h. */ |
4139 |
+ |
#include <stdarg.h> |
4140 |
+ |
#include <stdbool.h> |
4141 |
+ |
#include <stdlib.h> |
4142 |
+ |
#include <wchar.h> |
4143 |
+ |
#include <stdio.h> |
4144 |
+ |
|
4145 |
+ |
// Check varargs macros. These examples are taken from C99 6.10.3.5. |
4146 |
+ |
#define debug(...) fprintf (stderr, __VA_ARGS__) |
4147 |
+ |
#define showlist(...) puts (#__VA_ARGS__) |
4148 |
+ |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
4149 |
+ |
static void |
4150 |
+ |
test_varargs_macros (void) |
4151 |
+ |
{ |
4152 |
+ |
int x = 1234; |
4153 |
+ |
int y = 5678; |
4154 |
+ |
debug ("Flag"); |
4155 |
+ |
debug ("X = %d\n", x); |
4156 |
+ |
showlist (The first, second, and third items.); |
4157 |
+ |
report (x>y, "x is %d but y is %d", x, y); |
4158 |
+ |
} |
4159 |
+ |
|
4160 |
+ |
// Check long long types. |
4161 |
+ |
#define BIG64 18446744073709551615ull |
4162 |
+ |
#define BIG32 4294967295ul |
4163 |
+ |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
4164 |
+ |
#if !BIG_OK |
4165 |
+ |
your preprocessor is broken; |
4166 |
+ |
#endif |
4167 |
+ |
#if BIG_OK |
4168 |
+ |
#else |
4169 |
+ |
your preprocessor is broken; |
4170 |
+ |
#endif |
4171 |
+ |
static long long int bignum = -9223372036854775807LL; |
4172 |
+ |
static unsigned long long int ubignum = BIG64; |
4173 |
+ |
|
4174 |
+ |
struct incomplete_array |
4175 |
+ |
{ |
4176 |
+ |
int datasize; |
4177 |
+ |
double data[]; |
4178 |
+ |
}; |
4179 |
+ |
|
4180 |
+ |
struct named_init { |
4181 |
+ |
int number; |
4182 |
+ |
const wchar_t *name; |
4183 |
+ |
double average; |
4184 |
+ |
}; |
4185 |
+ |
|
4186 |
+ |
typedef const char *ccp; |
4187 |
+ |
|
4188 |
+ |
static inline int |
4189 |
+ |
test_restrict (ccp restrict text) |
4190 |
+ |
{ |
4191 |
+ |
// See if C++-style comments work. |
4192 |
+ |
// Iterate through items via the restricted pointer. |
4193 |
+ |
// Also check for declarations in for loops. |
4194 |
+ |
for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
4195 |
+ |
continue; |
4196 |
+ |
return 0; |
4197 |
+ |
} |
4198 |
+ |
|
4199 |
+ |
// Check varargs and va_copy. |
4200 |
+ |
static void |
4201 |
+ |
test_varargs (const char *format, ...) |
4202 |
+ |
{ |
4203 |
+ |
va_list args; |
4204 |
+ |
va_start (args, format); |
4205 |
+ |
va_list args_copy; |
4206 |
+ |
va_copy (args_copy, args); |
4207 |
+ |
|
4208 |
+ |
const char *str; |
4209 |
+ |
int number; |
4210 |
+ |
float fnumber; |
4211 |
+ |
|
4212 |
+ |
while (*format) |
4213 |
+ |
{ |
4214 |
+ |
switch (*format++) |
4215 |
+ |
{ |
4216 |
+ |
case 's': // string |
4217 |
+ |
str = va_arg (args_copy, const char *); |
4218 |
+ |
break; |
4219 |
+ |
case 'd': // int |
4220 |
+ |
number = va_arg (args_copy, int); |
4221 |
+ |
break; |
4222 |
+ |
case 'f': // float |
4223 |
+ |
fnumber = va_arg (args_copy, double); |
4224 |
+ |
break; |
4225 |
+ |
default: |
4226 |
+ |
break; |
4227 |
+ |
} |
4228 |
+ |
} |
4229 |
+ |
va_end (args_copy); |
4230 |
+ |
va_end (args); |
4231 |
+ |
} |
4232 |
+ |
|
4233 |
+ |
int |
4234 |
+ |
main () |
4235 |
+ |
{ |
4236 |
+ |
|
4237 |
+ |
// Check bool. |
4238 |
+ |
_Bool success = false; |
4239 |
+ |
|
4240 |
+ |
// Check restrict. |
4241 |
+ |
if (test_restrict ("String literal") == 0) |
4242 |
+ |
success = true; |
4243 |
+ |
char *restrict newvar = "Another string"; |
4244 |
+ |
|
4245 |
+ |
// Check varargs. |
4246 |
+ |
test_varargs ("s, d' f .", "string", 65, 34.234); |
4247 |
+ |
test_varargs_macros (); |
4248 |
+ |
|
4249 |
+ |
// Check flexible array members. |
4250 |
+ |
struct incomplete_array *ia = |
4251 |
+ |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
4252 |
+ |
ia->datasize = 10; |
4253 |
+ |
for (int i = 0; i < ia->datasize; ++i) |
4254 |
+ |
ia->data[i] = i * 1.234; |
4255 |
+ |
|
4256 |
+ |
// Check named initializers. |
4257 |
+ |
struct named_init ni = { |
4258 |
+ |
.number = 34, |
4259 |
+ |
.name = L"Test wide string", |
4260 |
+ |
.average = 543.34343, |
4261 |
+ |
}; |
4262 |
+ |
|
4263 |
+ |
ni.number = 58; |
4264 |
+ |
|
4265 |
+ |
int dynamic_array[ni.number]; |
4266 |
+ |
dynamic_array[ni.number - 1] = 543; |
4267 |
+ |
|
4268 |
+ |
// work around unused variable warnings |
4269 |
+ |
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
4270 |
+ |
|| dynamic_array[ni.number - 1] != 543); |
4271 |
+ |
|
4272 |
+ |
; |
4273 |
+ |
return 0; |
4274 |
+ |
} |
4275 |
+ |
_ACEOF |
4276 |
+ |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 |
4277 |
+ |
do |
4278 |
+ |
CC="$ac_save_CC $ac_arg" |
4279 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
4280 |
+ |
ac_cv_prog_cc_c99=$ac_arg |
4281 |
+ |
fi |
4282 |
+ |
rm -f core conftest.err conftest.$ac_objext |
4283 |
+ |
test "x$ac_cv_prog_cc_c99" != "xno" && break |
4284 |
+ |
done |
4285 |
+ |
rm -f conftest.$ac_ext |
4286 |
+ |
CC=$ac_save_CC |
4287 |
+ |
|
4288 |
+ |
fi |
4289 |
+ |
# AC_CACHE_VAL |
4290 |
+ |
case "x$ac_cv_prog_cc_c99" in |
4291 |
+ |
x) |
4292 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
4293 |
+ |
$as_echo "none needed" >&6; } ;; |
4294 |
+ |
xno) |
4295 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
4296 |
+ |
$as_echo "unsupported" >&6; } ;; |
4297 |
+ |
*) |
4298 |
+ |
CC="$CC $ac_cv_prog_cc_c99" |
4299 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
4300 |
+ |
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; |
4301 |
+ |
esac |
4302 |
+ |
if test "x$ac_cv_prog_cc_c99" != xno; then : |
4303 |
+ |
|
4304 |
+ |
fi |
4305 |
+ |
|
4306 |
+ |
|
4307 |
+ |
if test "$ac_cv_prog_cc_c99" = "no"; then : |
4308 |
+ |
as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5 |
4309 |
+ |
fi |
4310 |
|
for ac_prog in 'bison -y' byacc |
4311 |
|
do |
4312 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
4313 |
|
set dummy $ac_prog; ac_word=$2 |
4314 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4315 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
4316 |
< |
if test "${ac_cv_prog_YACC+set}" = set; then : |
4316 |
> |
if ${ac_cv_prog_YACC+:} false; then : |
4317 |
|
$as_echo_n "(cached) " >&6 |
4318 |
|
else |
4319 |
|
if test -n "$YACC"; then |
4325 |
|
IFS=$as_save_IFS |
4326 |
|
test -z "$as_dir" && as_dir=. |
4327 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4328 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4328 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4329 |
|
ac_cv_prog_YACC="$ac_prog" |
4330 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4331 |
|
break 2 |
4357 |
|
set dummy $ac_prog; ac_word=$2 |
4358 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4359 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
4360 |
< |
if test "${ac_cv_prog_LEX+set}" = set; then : |
4360 |
> |
if ${ac_cv_prog_LEX+:} false; then : |
4361 |
|
$as_echo_n "(cached) " >&6 |
4362 |
|
else |
4363 |
|
if test -n "$LEX"; then |
4369 |
|
IFS=$as_save_IFS |
4370 |
|
test -z "$as_dir" && as_dir=. |
4371 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4372 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4372 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4373 |
|
ac_cv_prog_LEX="$ac_prog" |
4374 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4375 |
|
break 2 |
4401 |
|
b { REJECT; } |
4402 |
|
c { yymore (); } |
4403 |
|
d { yyless (1); } |
4404 |
< |
e { yyless (input () != 0); } |
4404 |
> |
e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ |
4405 |
> |
yyless ((input () != 0)); } |
4406 |
|
f { unput (yytext[0]); } |
4407 |
|
. { BEGIN INITIAL; } |
4408 |
|
%% |
4428 |
|
test $ac_status = 0; } |
4429 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
4430 |
|
$as_echo_n "checking lex output file root... " >&6; } |
4431 |
< |
if test "${ac_cv_prog_lex_root+set}" = set; then : |
4431 |
> |
if ${ac_cv_prog_lex_root+:} false; then : |
4432 |
|
$as_echo_n "(cached) " >&6 |
4433 |
|
else |
4434 |
|
|
4437 |
|
elif test -f lexyy.c; then |
4438 |
|
ac_cv_prog_lex_root=lexyy |
4439 |
|
else |
4440 |
< |
as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5 |
4440 |
> |
as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 |
4441 |
|
fi |
4442 |
|
fi |
4443 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
4447 |
|
if test -z "${LEXLIB+set}"; then |
4448 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
4449 |
|
$as_echo_n "checking lex library... " >&6; } |
4450 |
< |
if test "${ac_cv_lib_lex+set}" = set; then : |
4450 |
> |
if ${ac_cv_lib_lex+:} false; then : |
4451 |
|
$as_echo_n "(cached) " >&6 |
4452 |
|
else |
4453 |
|
|
4477 |
|
|
4478 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
4479 |
|
$as_echo_n "checking whether yytext is a pointer... " >&6; } |
4480 |
< |
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then : |
4480 |
> |
if ${ac_cv_prog_lex_yytext_pointer+:} false; then : |
4481 |
|
$as_echo_n "(cached) " >&6 |
4482 |
|
else |
4483 |
|
# POSIX says lex can declare yytext either as a pointer or an array; the |
4488 |
|
LIBS="$LEXLIB $ac_save_LIBS" |
4489 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4490 |
|
/* end confdefs.h. */ |
4491 |
< |
#define YYTEXT_POINTER 1 |
4491 |
> |
|
4492 |
> |
#define YYTEXT_POINTER 1 |
4493 |
|
`cat $LEX_OUTPUT_ROOT.c` |
4494 |
|
_ACEOF |
4495 |
|
if ac_fn_c_try_link "$LINENO"; then : |
4515 |
|
fi |
4516 |
|
|
4517 |
|
|
4518 |
+ |
# Initializing libtool. |
4519 |
+ |
|
4520 |
+ |
|
4521 |
+ |
|
4522 |
+ |
|
4523 |
+ |
|
4524 |
+ |
|
4525 |
|
|
4445 |
– |
#ltdl stuff |
4526 |
|
case `pwd` in |
4527 |
|
*\ * | *\ *) |
4528 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
4531 |
|
|
4532 |
|
|
4533 |
|
|
4534 |
< |
macro_version='2.2.6' |
4535 |
< |
macro_revision='1.3012' |
4534 |
> |
macro_version='2.4.2' |
4535 |
> |
macro_revision='1.3337' |
4536 |
|
|
4537 |
|
|
4538 |
|
|
4550 |
|
|
4551 |
|
# Make sure we can run config.sub. |
4552 |
|
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
4553 |
< |
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
4553 |
> |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
4554 |
|
|
4555 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
4556 |
|
$as_echo_n "checking build system type... " >&6; } |
4557 |
< |
if test "${ac_cv_build+set}" = set; then : |
4557 |
> |
if ${ac_cv_build+:} false; then : |
4558 |
|
$as_echo_n "(cached) " >&6 |
4559 |
|
else |
4560 |
|
ac_build_alias=$build_alias |
4561 |
|
test "x$ac_build_alias" = x && |
4562 |
|
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
4563 |
|
test "x$ac_build_alias" = x && |
4564 |
< |
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 |
4564 |
> |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
4565 |
|
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
4566 |
< |
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
4566 |
> |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
4567 |
|
|
4568 |
|
fi |
4569 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
4570 |
|
$as_echo "$ac_cv_build" >&6; } |
4571 |
|
case $ac_cv_build in |
4572 |
|
*-*-*) ;; |
4573 |
< |
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; |
4573 |
> |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
4574 |
|
esac |
4575 |
|
build=$ac_cv_build |
4576 |
|
ac_save_IFS=$IFS; IFS='-' |
4588 |
|
|
4589 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
4590 |
|
$as_echo_n "checking host system type... " >&6; } |
4591 |
< |
if test "${ac_cv_host+set}" = set; then : |
4591 |
> |
if ${ac_cv_host+:} false; then : |
4592 |
|
$as_echo_n "(cached) " >&6 |
4593 |
|
else |
4594 |
|
if test "x$host_alias" = x; then |
4595 |
|
ac_cv_host=$ac_cv_build |
4596 |
|
else |
4597 |
|
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
4598 |
< |
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
4598 |
> |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
4599 |
|
fi |
4600 |
|
|
4601 |
|
fi |
4603 |
|
$as_echo "$ac_cv_host" >&6; } |
4604 |
|
case $ac_cv_host in |
4605 |
|
*-*-*) ;; |
4606 |
< |
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; |
4606 |
> |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
4607 |
|
esac |
4608 |
|
host=$ac_cv_host |
4609 |
|
ac_save_IFS=$IFS; IFS='-' |
4619 |
|
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
4620 |
|
|
4621 |
|
|
4622 |
+ |
# Backslashify metacharacters that are still active within |
4623 |
+ |
# double-quoted strings. |
4624 |
+ |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
4625 |
+ |
|
4626 |
+ |
# Same as above, but do not quote variable references. |
4627 |
+ |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
4628 |
+ |
|
4629 |
+ |
# Sed substitution to delay expansion of an escaped shell variable in a |
4630 |
+ |
# double_quote_subst'ed string. |
4631 |
+ |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
4632 |
+ |
|
4633 |
+ |
# Sed substitution to delay expansion of an escaped single quote. |
4634 |
+ |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
4635 |
+ |
|
4636 |
+ |
# Sed substitution to avoid accidental globbing in evaled expressions |
4637 |
+ |
no_glob_subst='s/\*/\\\*/g' |
4638 |
+ |
|
4639 |
+ |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
4640 |
+ |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
4641 |
+ |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
4642 |
+ |
|
4643 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
4644 |
+ |
$as_echo_n "checking how to print strings... " >&6; } |
4645 |
+ |
# Test print first, because it will be a builtin if present. |
4646 |
+ |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
4647 |
+ |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
4648 |
+ |
ECHO='print -r --' |
4649 |
+ |
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
4650 |
+ |
ECHO='printf %s\n' |
4651 |
+ |
else |
4652 |
+ |
# Use this function as a fallback that always works. |
4653 |
+ |
func_fallback_echo () |
4654 |
+ |
{ |
4655 |
+ |
eval 'cat <<_LTECHO_EOF |
4656 |
+ |
$1 |
4657 |
+ |
_LTECHO_EOF' |
4658 |
+ |
} |
4659 |
+ |
ECHO='func_fallback_echo' |
4660 |
+ |
fi |
4661 |
+ |
|
4662 |
+ |
# func_echo_all arg... |
4663 |
+ |
# Invoke $ECHO with all args, space-separated. |
4664 |
+ |
func_echo_all () |
4665 |
+ |
{ |
4666 |
+ |
$ECHO "" |
4667 |
+ |
} |
4668 |
+ |
|
4669 |
+ |
case "$ECHO" in |
4670 |
+ |
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
4671 |
+ |
$as_echo "printf" >&6; } ;; |
4672 |
+ |
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
4673 |
+ |
$as_echo "print -r" >&6; } ;; |
4674 |
+ |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
4675 |
+ |
$as_echo "cat" >&6; } ;; |
4676 |
+ |
esac |
4677 |
+ |
|
4678 |
+ |
|
4679 |
+ |
|
4680 |
+ |
|
4681 |
+ |
|
4682 |
+ |
|
4683 |
+ |
|
4684 |
+ |
|
4685 |
+ |
|
4686 |
+ |
|
4687 |
+ |
|
4688 |
+ |
|
4689 |
+ |
|
4690 |
+ |
|
4691 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
4692 |
|
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
4693 |
< |
if test "${ac_cv_path_SED+set}" = set; then : |
4693 |
> |
if ${ac_cv_path_SED+:} false; then : |
4694 |
|
$as_echo_n "(cached) " >&6 |
4695 |
|
else |
4696 |
|
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
4710 |
|
for ac_prog in sed gsed; do |
4711 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4712 |
|
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
4713 |
< |
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
4713 |
> |
as_fn_executable_p "$ac_path_SED" || continue |
4714 |
|
# Check for GNU ac_path_SED and select it if it is found. |
4715 |
|
# Check for GNU $ac_path_SED |
4716 |
|
case `"$ac_path_SED" --version 2>&1` in |
4745 |
|
done |
4746 |
|
IFS=$as_save_IFS |
4747 |
|
if test -z "$ac_cv_path_SED"; then |
4748 |
< |
as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
4748 |
> |
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
4749 |
|
fi |
4750 |
|
else |
4751 |
|
ac_cv_path_SED=$SED |
4772 |
|
|
4773 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4774 |
|
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4775 |
< |
if test "${ac_cv_path_GREP+set}" = set; then : |
4775 |
> |
if ${ac_cv_path_GREP+:} false; then : |
4776 |
|
$as_echo_n "(cached) " >&6 |
4777 |
|
else |
4778 |
|
if test -z "$GREP"; then |
4786 |
|
for ac_prog in grep ggrep; do |
4787 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4788 |
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4789 |
< |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4789 |
> |
as_fn_executable_p "$ac_path_GREP" || continue |
4790 |
|
# Check for GNU ac_path_GREP and select it if it is found. |
4791 |
|
# Check for GNU $ac_path_GREP |
4792 |
|
case `"$ac_path_GREP" --version 2>&1` in |
4821 |
|
done |
4822 |
|
IFS=$as_save_IFS |
4823 |
|
if test -z "$ac_cv_path_GREP"; then |
4824 |
< |
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4824 |
> |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4825 |
|
fi |
4826 |
|
else |
4827 |
|
ac_cv_path_GREP=$GREP |
4835 |
|
|
4836 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4837 |
|
$as_echo_n "checking for egrep... " >&6; } |
4838 |
< |
if test "${ac_cv_path_EGREP+set}" = set; then : |
4838 |
> |
if ${ac_cv_path_EGREP+:} false; then : |
4839 |
|
$as_echo_n "(cached) " >&6 |
4840 |
|
else |
4841 |
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4852 |
|
for ac_prog in egrep; do |
4853 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4854 |
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4855 |
< |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
4855 |
> |
as_fn_executable_p "$ac_path_EGREP" || continue |
4856 |
|
# Check for GNU ac_path_EGREP and select it if it is found. |
4857 |
|
# Check for GNU $ac_path_EGREP |
4858 |
|
case `"$ac_path_EGREP" --version 2>&1` in |
4887 |
|
done |
4888 |
|
IFS=$as_save_IFS |
4889 |
|
if test -z "$ac_cv_path_EGREP"; then |
4890 |
< |
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4890 |
> |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4891 |
|
fi |
4892 |
|
else |
4893 |
|
ac_cv_path_EGREP=$EGREP |
4902 |
|
|
4903 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
4904 |
|
$as_echo_n "checking for fgrep... " >&6; } |
4905 |
< |
if test "${ac_cv_path_FGREP+set}" = set; then : |
4905 |
> |
if ${ac_cv_path_FGREP+:} false; then : |
4906 |
|
$as_echo_n "(cached) " >&6 |
4907 |
|
else |
4908 |
|
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
4919 |
|
for ac_prog in fgrep; do |
4920 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4921 |
|
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
4922 |
< |
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue |
4922 |
> |
as_fn_executable_p "$ac_path_FGREP" || continue |
4923 |
|
# Check for GNU ac_path_FGREP and select it if it is found. |
4924 |
|
# Check for GNU $ac_path_FGREP |
4925 |
|
case `"$ac_path_FGREP" --version 2>&1` in |
4954 |
|
done |
4955 |
|
IFS=$as_save_IFS |
4956 |
|
if test -z "$ac_cv_path_FGREP"; then |
4957 |
< |
as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4957 |
> |
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4958 |
|
fi |
4959 |
|
else |
4960 |
|
ac_cv_path_FGREP=$FGREP |
5033 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
5034 |
|
$as_echo_n "checking for non-GNU ld... " >&6; } |
5035 |
|
fi |
5036 |
< |
if test "${lt_cv_path_LD+set}" = set; then : |
5036 |
> |
if ${lt_cv_path_LD+:} false; then : |
5037 |
|
$as_echo_n "(cached) " >&6 |
5038 |
|
else |
5039 |
|
if test -z "$LD"; then |
5070 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5071 |
|
$as_echo "no" >&6; } |
5072 |
|
fi |
5073 |
< |
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 |
5073 |
> |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
5074 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
5075 |
|
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
5076 |
< |
if test "${lt_cv_prog_gnu_ld+set}" = set; then : |
5076 |
> |
if ${lt_cv_prog_gnu_ld+:} false; then : |
5077 |
|
$as_echo_n "(cached) " >&6 |
5078 |
|
else |
5079 |
|
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
5100 |
|
|
5101 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
5102 |
|
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
5103 |
< |
if test "${lt_cv_path_NM+set}" = set; then : |
5103 |
> |
if ${lt_cv_path_NM+:} false; then : |
5104 |
|
$as_echo_n "(cached) " >&6 |
5105 |
|
else |
5106 |
|
if test -n "$NM"; then |
5153 |
|
NM="$lt_cv_path_NM" |
5154 |
|
else |
5155 |
|
# Didn't find any BSD compatible name lister, look for dumpbin. |
5156 |
< |
if test -n "$ac_tool_prefix"; then |
5157 |
< |
for ac_prog in "dumpbin -symbols" "link -dump -symbols" |
5156 |
> |
if test -n "$DUMPBIN"; then : |
5157 |
> |
# Let the user override the test. |
5158 |
> |
else |
5159 |
> |
if test -n "$ac_tool_prefix"; then |
5160 |
> |
for ac_prog in dumpbin "link -dump" |
5161 |
|
do |
5162 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5163 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5164 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5165 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5166 |
< |
if test "${ac_cv_prog_DUMPBIN+set}" = set; then : |
5166 |
> |
if ${ac_cv_prog_DUMPBIN+:} false; then : |
5167 |
|
$as_echo_n "(cached) " >&6 |
5168 |
|
else |
5169 |
|
if test -n "$DUMPBIN"; then |
5175 |
|
IFS=$as_save_IFS |
5176 |
|
test -z "$as_dir" && as_dir=. |
5177 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5178 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5178 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5179 |
|
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
5180 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5181 |
|
break 2 |
5201 |
|
fi |
5202 |
|
if test -z "$DUMPBIN"; then |
5203 |
|
ac_ct_DUMPBIN=$DUMPBIN |
5204 |
< |
for ac_prog in "dumpbin -symbols" "link -dump -symbols" |
5204 |
> |
for ac_prog in dumpbin "link -dump" |
5205 |
|
do |
5206 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
5207 |
|
set dummy $ac_prog; ac_word=$2 |
5208 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5209 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5210 |
< |
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : |
5210 |
> |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
5211 |
|
$as_echo_n "(cached) " >&6 |
5212 |
|
else |
5213 |
|
if test -n "$ac_ct_DUMPBIN"; then |
5219 |
|
IFS=$as_save_IFS |
5220 |
|
test -z "$as_dir" && as_dir=. |
5221 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5222 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5222 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5223 |
|
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
5224 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5225 |
|
break 2 |
5256 |
|
fi |
5257 |
|
fi |
5258 |
|
|
5259 |
+ |
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in |
5260 |
+ |
*COFF*) |
5261 |
+ |
DUMPBIN="$DUMPBIN -symbols" |
5262 |
+ |
;; |
5263 |
+ |
*) |
5264 |
+ |
DUMPBIN=: |
5265 |
+ |
;; |
5266 |
+ |
esac |
5267 |
+ |
fi |
5268 |
|
|
5269 |
|
if test "$DUMPBIN" != ":"; then |
5270 |
|
NM="$DUMPBIN" |
5279 |
|
|
5280 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
5281 |
|
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
5282 |
< |
if test "${lt_cv_nm_interface+set}" = set; then : |
5282 |
> |
if ${lt_cv_nm_interface+:} false; then : |
5283 |
|
$as_echo_n "(cached) " >&6 |
5284 |
|
else |
5285 |
|
lt_cv_nm_interface="BSD nm" |
5286 |
|
echo "int some_variable = 0;" > conftest.$ac_ext |
5287 |
< |
(eval echo "\"\$as_me:5126: $ac_compile\"" >&5) |
5287 |
> |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
5288 |
|
(eval "$ac_compile" 2>conftest.err) |
5289 |
|
cat conftest.err >&5 |
5290 |
< |
(eval echo "\"\$as_me:5129: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
5290 |
> |
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
5291 |
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
5292 |
|
cat conftest.err >&5 |
5293 |
< |
(eval echo "\"\$as_me:5132: output\"" >&5) |
5293 |
> |
(eval echo "\"\$as_me:$LINENO: output\"" >&5) |
5294 |
|
cat conftest.out >&5 |
5295 |
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
5296 |
|
lt_cv_nm_interface="MS dumpbin" |
5314 |
|
# find the maximum length of command line arguments |
5315 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
5316 |
|
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
5317 |
< |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then : |
5317 |
> |
if ${lt_cv_sys_max_cmd_len+:} false; then : |
5318 |
|
$as_echo_n "(cached) " >&6 |
5319 |
|
else |
5320 |
|
i=0 |
5347 |
|
lt_cv_sys_max_cmd_len=8192; |
5348 |
|
;; |
5349 |
|
|
5350 |
+ |
mint*) |
5351 |
+ |
# On MiNT this can take a long time and run out of memory. |
5352 |
+ |
lt_cv_sys_max_cmd_len=8192; |
5353 |
+ |
;; |
5354 |
+ |
|
5355 |
|
amigaos*) |
5356 |
|
# On AmigaOS with pdksh, this test takes hours, literally. |
5357 |
|
# So we just punt and use a minimum line length of 8192. |
5377 |
|
lt_cv_sys_max_cmd_len=196608 |
5378 |
|
;; |
5379 |
|
|
5380 |
+ |
os2*) |
5381 |
+ |
# The test takes a long time on OS/2. |
5382 |
+ |
lt_cv_sys_max_cmd_len=8192 |
5383 |
+ |
;; |
5384 |
+ |
|
5385 |
|
osf*) |
5386 |
|
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
5387 |
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
5421 |
|
# If test is not a shell built-in, we'll probably end up computing a |
5422 |
|
# maximum length that is only half of the actual maximum length, but |
5423 |
|
# we can't tell. |
5424 |
< |
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ |
5425 |
< |
= "XX$teststring$teststring"; } >/dev/null 2>&1 && |
5424 |
> |
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
5425 |
> |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
5426 |
|
test $i != 17 # 1/2 MB should be enough |
5427 |
|
do |
5428 |
|
i=`expr $i + 1` |
5464 |
|
# Try some XSI features |
5465 |
|
xsi_shell=no |
5466 |
|
( _lt_dummy="a/b/c" |
5467 |
< |
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ |
5468 |
< |
= c,a/b,, \ |
5467 |
> |
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ |
5468 |
> |
= c,a/b,b/c, \ |
5469 |
|
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
5470 |
|
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
5471 |
|
&& xsi_shell=yes |
5514 |
|
|
5515 |
|
|
5516 |
|
|
5517 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
5518 |
+ |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; } |
5519 |
+ |
if ${lt_cv_to_host_file_cmd+:} false; then : |
5520 |
+ |
$as_echo_n "(cached) " >&6 |
5521 |
+ |
else |
5522 |
+ |
case $host in |
5523 |
+ |
*-*-mingw* ) |
5524 |
+ |
case $build in |
5525 |
+ |
*-*-mingw* ) # actually msys |
5526 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
5527 |
+ |
;; |
5528 |
+ |
*-*-cygwin* ) |
5529 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
5530 |
+ |
;; |
5531 |
+ |
* ) # otherwise, assume *nix |
5532 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
5533 |
+ |
;; |
5534 |
+ |
esac |
5535 |
+ |
;; |
5536 |
+ |
*-*-cygwin* ) |
5537 |
+ |
case $build in |
5538 |
+ |
*-*-mingw* ) # actually msys |
5539 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
5540 |
+ |
;; |
5541 |
+ |
*-*-cygwin* ) |
5542 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_noop |
5543 |
+ |
;; |
5544 |
+ |
* ) # otherwise, assume *nix |
5545 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
5546 |
+ |
;; |
5547 |
+ |
esac |
5548 |
+ |
;; |
5549 |
+ |
* ) # unhandled hosts (and "normal" native builds) |
5550 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_noop |
5551 |
+ |
;; |
5552 |
+ |
esac |
5553 |
+ |
|
5554 |
+ |
fi |
5555 |
+ |
|
5556 |
+ |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
5557 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
5558 |
+ |
$as_echo "$lt_cv_to_host_file_cmd" >&6; } |
5559 |
+ |
|
5560 |
+ |
|
5561 |
+ |
|
5562 |
+ |
|
5563 |
+ |
|
5564 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
5565 |
+ |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } |
5566 |
+ |
if ${lt_cv_to_tool_file_cmd+:} false; then : |
5567 |
+ |
$as_echo_n "(cached) " >&6 |
5568 |
+ |
else |
5569 |
+ |
#assume ordinary cross tools, or native build. |
5570 |
+ |
lt_cv_to_tool_file_cmd=func_convert_file_noop |
5571 |
+ |
case $host in |
5572 |
+ |
*-*-mingw* ) |
5573 |
+ |
case $build in |
5574 |
+ |
*-*-mingw* ) # actually msys |
5575 |
+ |
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
5576 |
+ |
;; |
5577 |
+ |
esac |
5578 |
+ |
;; |
5579 |
+ |
esac |
5580 |
+ |
|
5581 |
+ |
fi |
5582 |
+ |
|
5583 |
+ |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
5584 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
5585 |
+ |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
5586 |
+ |
|
5587 |
+ |
|
5588 |
+ |
|
5589 |
+ |
|
5590 |
+ |
|
5591 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
5592 |
|
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
5593 |
< |
if test "${lt_cv_ld_reload_flag+set}" = set; then : |
5593 |
> |
if ${lt_cv_ld_reload_flag+:} false; then : |
5594 |
|
$as_echo_n "(cached) " >&6 |
5595 |
|
else |
5596 |
|
lt_cv_ld_reload_flag='-r' |
5604 |
|
esac |
5605 |
|
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
5606 |
|
case $host_os in |
5607 |
+ |
cygwin* | mingw* | pw32* | cegcc*) |
5608 |
+ |
if test "$GCC" != yes; then |
5609 |
+ |
reload_cmds=false |
5610 |
+ |
fi |
5611 |
+ |
;; |
5612 |
|
darwin*) |
5613 |
|
if test "$GCC" = yes; then |
5614 |
|
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
5631 |
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
5632 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5633 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5634 |
< |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then : |
5634 |
> |
if ${ac_cv_prog_OBJDUMP+:} false; then : |
5635 |
|
$as_echo_n "(cached) " >&6 |
5636 |
|
else |
5637 |
|
if test -n "$OBJDUMP"; then |
5643 |
|
IFS=$as_save_IFS |
5644 |
|
test -z "$as_dir" && as_dir=. |
5645 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5646 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5646 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5647 |
|
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
5648 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5649 |
|
break 2 |
5671 |
|
set dummy objdump; ac_word=$2 |
5672 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5673 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5674 |
< |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : |
5674 |
> |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
5675 |
|
$as_echo_n "(cached) " >&6 |
5676 |
|
else |
5677 |
|
if test -n "$ac_ct_OBJDUMP"; then |
5683 |
|
IFS=$as_save_IFS |
5684 |
|
test -z "$as_dir" && as_dir=. |
5685 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5686 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5686 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5687 |
|
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
5688 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5689 |
|
break 2 |
5730 |
|
|
5731 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
5732 |
|
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
5733 |
< |
if test "${lt_cv_deplibs_check_method+set}" = set; then : |
5733 |
> |
if ${lt_cv_deplibs_check_method+:} false; then : |
5734 |
|
$as_echo_n "(cached) " >&6 |
5735 |
|
else |
5736 |
|
lt_cv_file_magic_cmd='$MAGIC_CMD' |
5772 |
|
# Base MSYS/MinGW do not provide the 'file' command needed by |
5773 |
|
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
5774 |
|
# unless we find 'file', for example because we are cross-compiling. |
5775 |
< |
if ( file / ) >/dev/null 2>&1; then |
5775 |
> |
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. |
5776 |
> |
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then |
5777 |
|
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
5778 |
|
lt_cv_file_magic_cmd='func_win32_libid' |
5779 |
|
else |
5780 |
< |
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
5780 |
> |
# Keep this pattern in sync with the one in func_win32_libid. |
5781 |
> |
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' |
5782 |
|
lt_cv_file_magic_cmd='$OBJDUMP -f' |
5783 |
|
fi |
5784 |
|
;; |
5785 |
|
|
5786 |
< |
cegcc) |
5786 |
> |
cegcc*) |
5787 |
|
# use the weaker test based on 'objdump'. See mingw*. |
5788 |
|
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
5789 |
|
lt_cv_file_magic_cmd='$OBJDUMP -f' |
5813 |
|
lt_cv_deplibs_check_method=pass_all |
5814 |
|
;; |
5815 |
|
|
5816 |
+ |
haiku*) |
5817 |
+ |
lt_cv_deplibs_check_method=pass_all |
5818 |
+ |
;; |
5819 |
+ |
|
5820 |
|
hpux10.20* | hpux11*) |
5821 |
|
lt_cv_file_magic_cmd=/usr/bin/file |
5822 |
|
case $host_cpu in |
5825 |
|
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
5826 |
|
;; |
5827 |
|
hppa*64*) |
5828 |
< |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' |
5828 |
> |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' |
5829 |
|
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
5830 |
|
;; |
5831 |
|
*) |
5832 |
< |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' |
5832 |
> |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' |
5833 |
|
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
5834 |
|
;; |
5835 |
|
esac |
5850 |
|
lt_cv_deplibs_check_method=pass_all |
5851 |
|
;; |
5852 |
|
|
5853 |
< |
# This must be Linux ELF. |
5854 |
< |
linux* | k*bsd*-gnu) |
5853 |
> |
# This must be glibc/ELF. |
5854 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
5855 |
|
lt_cv_deplibs_check_method=pass_all |
5856 |
|
;; |
5857 |
|
|
5932 |
|
fi |
5933 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
5934 |
|
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
5935 |
+ |
|
5936 |
+ |
file_magic_glob= |
5937 |
+ |
want_nocaseglob=no |
5938 |
+ |
if test "$build" = "$host"; then |
5939 |
+ |
case $host_os in |
5940 |
+ |
mingw* | pw32*) |
5941 |
+ |
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
5942 |
+ |
want_nocaseglob=yes |
5943 |
+ |
else |
5944 |
+ |
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
5945 |
+ |
fi |
5946 |
+ |
;; |
5947 |
+ |
esac |
5948 |
+ |
fi |
5949 |
+ |
|
5950 |
|
file_magic_cmd=$lt_cv_file_magic_cmd |
5951 |
|
deplibs_check_method=$lt_cv_deplibs_check_method |
5952 |
|
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
5962 |
|
|
5963 |
|
|
5964 |
|
|
5965 |
+ |
|
5966 |
+ |
|
5967 |
+ |
|
5968 |
+ |
|
5969 |
+ |
|
5970 |
+ |
|
5971 |
+ |
|
5972 |
+ |
|
5973 |
+ |
|
5974 |
+ |
|
5975 |
+ |
if test -n "$ac_tool_prefix"; then |
5976 |
+ |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
5977 |
+ |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
5978 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5979 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
5980 |
+ |
if ${ac_cv_prog_DLLTOOL+:} false; then : |
5981 |
+ |
$as_echo_n "(cached) " >&6 |
5982 |
+ |
else |
5983 |
+ |
if test -n "$DLLTOOL"; then |
5984 |
+ |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
5985 |
+ |
else |
5986 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5987 |
+ |
for as_dir in $PATH |
5988 |
+ |
do |
5989 |
+ |
IFS=$as_save_IFS |
5990 |
+ |
test -z "$as_dir" && as_dir=. |
5991 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
5992 |
+ |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5993 |
+ |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
5994 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5995 |
+ |
break 2 |
5996 |
+ |
fi |
5997 |
+ |
done |
5998 |
+ |
done |
5999 |
+ |
IFS=$as_save_IFS |
6000 |
+ |
|
6001 |
+ |
fi |
6002 |
+ |
fi |
6003 |
+ |
DLLTOOL=$ac_cv_prog_DLLTOOL |
6004 |
+ |
if test -n "$DLLTOOL"; then |
6005 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
6006 |
+ |
$as_echo "$DLLTOOL" >&6; } |
6007 |
+ |
else |
6008 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6009 |
+ |
$as_echo "no" >&6; } |
6010 |
+ |
fi |
6011 |
+ |
|
6012 |
+ |
|
6013 |
+ |
fi |
6014 |
+ |
if test -z "$ac_cv_prog_DLLTOOL"; then |
6015 |
+ |
ac_ct_DLLTOOL=$DLLTOOL |
6016 |
+ |
# Extract the first word of "dlltool", so it can be a program name with args. |
6017 |
+ |
set dummy dlltool; ac_word=$2 |
6018 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6019 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
6020 |
+ |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
6021 |
+ |
$as_echo_n "(cached) " >&6 |
6022 |
+ |
else |
6023 |
+ |
if test -n "$ac_ct_DLLTOOL"; then |
6024 |
+ |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
6025 |
+ |
else |
6026 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6027 |
+ |
for as_dir in $PATH |
6028 |
+ |
do |
6029 |
+ |
IFS=$as_save_IFS |
6030 |
+ |
test -z "$as_dir" && as_dir=. |
6031 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
6032 |
+ |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6033 |
+ |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
6034 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6035 |
+ |
break 2 |
6036 |
+ |
fi |
6037 |
+ |
done |
6038 |
+ |
done |
6039 |
+ |
IFS=$as_save_IFS |
6040 |
+ |
|
6041 |
+ |
fi |
6042 |
+ |
fi |
6043 |
+ |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
6044 |
+ |
if test -n "$ac_ct_DLLTOOL"; then |
6045 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
6046 |
+ |
$as_echo "$ac_ct_DLLTOOL" >&6; } |
6047 |
+ |
else |
6048 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6049 |
+ |
$as_echo "no" >&6; } |
6050 |
+ |
fi |
6051 |
+ |
|
6052 |
+ |
if test "x$ac_ct_DLLTOOL" = x; then |
6053 |
+ |
DLLTOOL="false" |
6054 |
+ |
else |
6055 |
+ |
case $cross_compiling:$ac_tool_warned in |
6056 |
+ |
yes:) |
6057 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6058 |
+ |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6059 |
+ |
ac_tool_warned=yes ;; |
6060 |
+ |
esac |
6061 |
+ |
DLLTOOL=$ac_ct_DLLTOOL |
6062 |
+ |
fi |
6063 |
+ |
else |
6064 |
+ |
DLLTOOL="$ac_cv_prog_DLLTOOL" |
6065 |
+ |
fi |
6066 |
+ |
|
6067 |
+ |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
6068 |
+ |
|
6069 |
+ |
|
6070 |
+ |
|
6071 |
+ |
|
6072 |
+ |
|
6073 |
+ |
|
6074 |
+ |
|
6075 |
+ |
|
6076 |
+ |
|
6077 |
+ |
|
6078 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
6079 |
+ |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
6080 |
+ |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
6081 |
+ |
$as_echo_n "(cached) " >&6 |
6082 |
+ |
else |
6083 |
+ |
lt_cv_sharedlib_from_linklib_cmd='unknown' |
6084 |
+ |
|
6085 |
+ |
case $host_os in |
6086 |
+ |
cygwin* | mingw* | pw32* | cegcc*) |
6087 |
+ |
# two different shell functions defined in ltmain.sh |
6088 |
+ |
# decide which to use based on capabilities of $DLLTOOL |
6089 |
+ |
case `$DLLTOOL --help 2>&1` in |
6090 |
+ |
*--identify-strict*) |
6091 |
+ |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
6092 |
+ |
;; |
6093 |
+ |
*) |
6094 |
+ |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
6095 |
+ |
;; |
6096 |
+ |
esac |
6097 |
+ |
;; |
6098 |
+ |
*) |
6099 |
+ |
# fallback: assume linklib IS sharedlib |
6100 |
+ |
lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
6101 |
+ |
;; |
6102 |
+ |
esac |
6103 |
+ |
|
6104 |
+ |
fi |
6105 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
6106 |
+ |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
6107 |
+ |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
6108 |
+ |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
6109 |
+ |
|
6110 |
+ |
|
6111 |
+ |
|
6112 |
+ |
|
6113 |
+ |
|
6114 |
+ |
|
6115 |
+ |
|
6116 |
|
if test -n "$ac_tool_prefix"; then |
6117 |
< |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
6118 |
< |
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
6117 |
> |
for ac_prog in ar |
6118 |
> |
do |
6119 |
> |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
6120 |
> |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
6121 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6122 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6123 |
< |
if test "${ac_cv_prog_AR+set}" = set; then : |
6123 |
> |
if ${ac_cv_prog_AR+:} false; then : |
6124 |
|
$as_echo_n "(cached) " >&6 |
6125 |
|
else |
6126 |
|
if test -n "$AR"; then |
6132 |
|
IFS=$as_save_IFS |
6133 |
|
test -z "$as_dir" && as_dir=. |
6134 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6135 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6136 |
< |
ac_cv_prog_AR="${ac_tool_prefix}ar" |
6135 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6136 |
> |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
6137 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6138 |
|
break 2 |
6139 |
|
fi |
6153 |
|
fi |
6154 |
|
|
6155 |
|
|
6156 |
+ |
test -n "$AR" && break |
6157 |
+ |
done |
6158 |
|
fi |
6159 |
< |
if test -z "$ac_cv_prog_AR"; then |
6159 |
> |
if test -z "$AR"; then |
6160 |
|
ac_ct_AR=$AR |
6161 |
< |
# Extract the first word of "ar", so it can be a program name with args. |
6162 |
< |
set dummy ar; ac_word=$2 |
6161 |
> |
for ac_prog in ar |
6162 |
> |
do |
6163 |
> |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
6164 |
> |
set dummy $ac_prog; ac_word=$2 |
6165 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6166 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6167 |
< |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : |
6167 |
> |
if ${ac_cv_prog_ac_ct_AR+:} false; then : |
6168 |
|
$as_echo_n "(cached) " >&6 |
6169 |
|
else |
6170 |
|
if test -n "$ac_ct_AR"; then |
6176 |
|
IFS=$as_save_IFS |
6177 |
|
test -z "$as_dir" && as_dir=. |
6178 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6179 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6180 |
< |
ac_cv_prog_ac_ct_AR="ar" |
6179 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6180 |
> |
ac_cv_prog_ac_ct_AR="$ac_prog" |
6181 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6182 |
|
break 2 |
6183 |
|
fi |
6196 |
|
$as_echo "no" >&6; } |
6197 |
|
fi |
6198 |
|
|
6199 |
+ |
|
6200 |
+ |
test -n "$ac_ct_AR" && break |
6201 |
+ |
done |
6202 |
+ |
|
6203 |
|
if test "x$ac_ct_AR" = x; then |
6204 |
|
AR="false" |
6205 |
|
else |
6211 |
|
esac |
6212 |
|
AR=$ac_ct_AR |
6213 |
|
fi |
5782 |
– |
else |
5783 |
– |
AR="$ac_cv_prog_AR" |
6214 |
|
fi |
6215 |
|
|
6216 |
< |
test -z "$AR" && AR=ar |
6217 |
< |
test -z "$AR_FLAGS" && AR_FLAGS=cru |
6216 |
> |
: ${AR=ar} |
6217 |
> |
: ${AR_FLAGS=cru} |
6218 |
> |
|
6219 |
> |
|
6220 |
> |
|
6221 |
> |
|
6222 |
> |
|
6223 |
> |
|
6224 |
> |
|
6225 |
> |
|
6226 |
> |
|
6227 |
> |
|
6228 |
|
|
6229 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
6230 |
+ |
$as_echo_n "checking for archiver @FILE support... " >&6; } |
6231 |
+ |
if ${lt_cv_ar_at_file+:} false; then : |
6232 |
+ |
$as_echo_n "(cached) " >&6 |
6233 |
+ |
else |
6234 |
+ |
lt_cv_ar_at_file=no |
6235 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6236 |
+ |
/* end confdefs.h. */ |
6237 |
+ |
|
6238 |
+ |
int |
6239 |
+ |
main () |
6240 |
+ |
{ |
6241 |
+ |
|
6242 |
+ |
; |
6243 |
+ |
return 0; |
6244 |
+ |
} |
6245 |
+ |
_ACEOF |
6246 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
6247 |
+ |
echo conftest.$ac_objext > conftest.lst |
6248 |
+ |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
6249 |
+ |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
6250 |
+ |
(eval $lt_ar_try) 2>&5 |
6251 |
+ |
ac_status=$? |
6252 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6253 |
+ |
test $ac_status = 0; } |
6254 |
+ |
if test "$ac_status" -eq 0; then |
6255 |
+ |
# Ensure the archiver fails upon bogus file names. |
6256 |
+ |
rm -f conftest.$ac_objext libconftest.a |
6257 |
+ |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
6258 |
+ |
(eval $lt_ar_try) 2>&5 |
6259 |
+ |
ac_status=$? |
6260 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6261 |
+ |
test $ac_status = 0; } |
6262 |
+ |
if test "$ac_status" -ne 0; then |
6263 |
+ |
lt_cv_ar_at_file=@ |
6264 |
+ |
fi |
6265 |
+ |
fi |
6266 |
+ |
rm -f conftest.* libconftest.a |
6267 |
|
|
6268 |
+ |
fi |
6269 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6270 |
|
|
6271 |
+ |
fi |
6272 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
6273 |
+ |
$as_echo "$lt_cv_ar_at_file" >&6; } |
6274 |
|
|
6275 |
+ |
if test "x$lt_cv_ar_at_file" = xno; then |
6276 |
+ |
archiver_list_spec= |
6277 |
+ |
else |
6278 |
+ |
archiver_list_spec=$lt_cv_ar_at_file |
6279 |
+ |
fi |
6280 |
|
|
6281 |
|
|
6282 |
|
|
6289 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
6290 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6291 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6292 |
< |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
6292 |
> |
if ${ac_cv_prog_STRIP+:} false; then : |
6293 |
|
$as_echo_n "(cached) " >&6 |
6294 |
|
else |
6295 |
|
if test -n "$STRIP"; then |
6301 |
|
IFS=$as_save_IFS |
6302 |
|
test -z "$as_dir" && as_dir=. |
6303 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6304 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6304 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6305 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
6306 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6307 |
|
break 2 |
6329 |
|
set dummy strip; ac_word=$2 |
6330 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6331 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6332 |
< |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
6332 |
> |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
6333 |
|
$as_echo_n "(cached) " >&6 |
6334 |
|
else |
6335 |
|
if test -n "$ac_ct_STRIP"; then |
6341 |
|
IFS=$as_save_IFS |
6342 |
|
test -z "$as_dir" && as_dir=. |
6343 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6344 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6344 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6345 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
6346 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6347 |
|
break 2 |
6388 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
6389 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6390 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6391 |
< |
if test "${ac_cv_prog_RANLIB+set}" = set; then : |
6391 |
> |
if ${ac_cv_prog_RANLIB+:} false; then : |
6392 |
|
$as_echo_n "(cached) " >&6 |
6393 |
|
else |
6394 |
|
if test -n "$RANLIB"; then |
6400 |
|
IFS=$as_save_IFS |
6401 |
|
test -z "$as_dir" && as_dir=. |
6402 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6403 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6403 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6404 |
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
6405 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6406 |
|
break 2 |
6428 |
|
set dummy ranlib; ac_word=$2 |
6429 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6430 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6431 |
< |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
6431 |
> |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
6432 |
|
$as_echo_n "(cached) " >&6 |
6433 |
|
else |
6434 |
|
if test -n "$ac_ct_RANLIB"; then |
6440 |
|
IFS=$as_save_IFS |
6441 |
|
test -z "$as_dir" && as_dir=. |
6442 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6443 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6443 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6444 |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
6445 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6446 |
|
break 2 |
6490 |
|
if test -n "$RANLIB"; then |
6491 |
|
case $host_os in |
6492 |
|
openbsd*) |
6493 |
< |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
6493 |
> |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
6494 |
|
;; |
6495 |
|
*) |
6496 |
< |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
6496 |
> |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
6497 |
|
;; |
6498 |
|
esac |
6499 |
< |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
6499 |
> |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
6500 |
|
fi |
6501 |
|
|
6502 |
+ |
case $host_os in |
6503 |
+ |
darwin*) |
6504 |
+ |
lock_old_archive_extraction=yes ;; |
6505 |
+ |
*) |
6506 |
+ |
lock_old_archive_extraction=no ;; |
6507 |
+ |
esac |
6508 |
+ |
|
6509 |
+ |
|
6510 |
+ |
|
6511 |
+ |
|
6512 |
+ |
|
6513 |
+ |
|
6514 |
|
|
6515 |
|
|
6516 |
|
|
6557 |
|
# Check for command to grab the raw symbol name followed by C symbol from nm. |
6558 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
6559 |
|
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
6560 |
< |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : |
6560 |
> |
if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
6561 |
|
$as_echo_n "(cached) " >&6 |
6562 |
|
else |
6563 |
|
|
6618 |
|
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
6619 |
|
|
6620 |
|
# Transform an extracted symbol line into symbol name and symbol address |
6621 |
< |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
6622 |
< |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" |
6621 |
> |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
6622 |
> |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" |
6623 |
|
|
6624 |
|
# Handle CRLF in mingw tool chain |
6625 |
|
opt_cr= |
6643 |
|
# which start with @ or ?. |
6644 |
|
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
6645 |
|
" {last_section=section; section=\$ 3};"\ |
6646 |
+ |
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
6647 |
|
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
6648 |
|
" \$ 0!~/External *\|/{next};"\ |
6649 |
|
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
6656 |
|
else |
6657 |
|
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
6658 |
|
fi |
6659 |
+ |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
6660 |
|
|
6661 |
|
# Check to see that the pipe works correctly. |
6662 |
|
pipe_works=no |
6682 |
|
test $ac_status = 0; }; then |
6683 |
|
# Now try to grab the symbols. |
6684 |
|
nlist=conftest.nm |
6685 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 |
6686 |
< |
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 |
6685 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
6686 |
> |
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
6687 |
|
ac_status=$? |
6688 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6689 |
|
test $ac_status = 0; } && test -s "$nlist"; then |
6698 |
|
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
6699 |
|
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
6700 |
|
cat <<_LT_EOF > conftest.$ac_ext |
6701 |
+ |
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
6702 |
+ |
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
6703 |
+ |
/* DATA imports from DLLs on WIN32 con't be const, because runtime |
6704 |
+ |
relocations are performed -- see ld's documentation on pseudo-relocs. */ |
6705 |
+ |
# define LT_DLSYM_CONST |
6706 |
+ |
#elif defined(__osf__) |
6707 |
+ |
/* This system does not cope well with relocations in const data. */ |
6708 |
+ |
# define LT_DLSYM_CONST |
6709 |
+ |
#else |
6710 |
+ |
# define LT_DLSYM_CONST const |
6711 |
+ |
#endif |
6712 |
+ |
|
6713 |
|
#ifdef __cplusplus |
6714 |
|
extern "C" { |
6715 |
|
#endif |
6721 |
|
cat <<_LT_EOF >> conftest.$ac_ext |
6722 |
|
|
6723 |
|
/* The mapping between symbol names and symbols. */ |
6724 |
< |
const struct { |
6724 |
> |
LT_DLSYM_CONST struct { |
6725 |
|
const char *name; |
6726 |
|
void *address; |
6727 |
|
} |
6747 |
|
_LT_EOF |
6748 |
|
# Now try linking the two files. |
6749 |
|
mv conftest.$ac_objext conftstm.$ac_objext |
6750 |
< |
lt_save_LIBS="$LIBS" |
6751 |
< |
lt_save_CFLAGS="$CFLAGS" |
6750 |
> |
lt_globsym_save_LIBS=$LIBS |
6751 |
> |
lt_globsym_save_CFLAGS=$CFLAGS |
6752 |
|
LIBS="conftstm.$ac_objext" |
6753 |
|
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
6754 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
6758 |
|
test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
6759 |
|
pipe_works=yes |
6760 |
|
fi |
6761 |
< |
LIBS="$lt_save_LIBS" |
6762 |
< |
CFLAGS="$lt_save_CFLAGS" |
6761 |
> |
LIBS=$lt_globsym_save_LIBS |
6762 |
> |
CFLAGS=$lt_globsym_save_CFLAGS |
6763 |
|
else |
6764 |
|
echo "cannot find nm_test_func in $nlist" >&5 |
6765 |
|
fi |
6796 |
|
$as_echo "ok" >&6; } |
6797 |
|
fi |
6798 |
|
|
6799 |
+ |
# Response file support. |
6800 |
+ |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
6801 |
+ |
nm_file_list_spec='@' |
6802 |
+ |
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
6803 |
+ |
nm_file_list_spec='@' |
6804 |
+ |
fi |
6805 |
+ |
|
6806 |
+ |
|
6807 |
+ |
|
6808 |
+ |
|
6809 |
+ |
|
6810 |
+ |
|
6811 |
+ |
|
6812 |
|
|
6813 |
|
|
6814 |
|
|
6829 |
|
|
6830 |
|
|
6831 |
|
|
6832 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
6833 |
+ |
$as_echo_n "checking for sysroot... " >&6; } |
6834 |
+ |
|
6835 |
+ |
# Check whether --with-sysroot was given. |
6836 |
+ |
if test "${with_sysroot+set}" = set; then : |
6837 |
+ |
withval=$with_sysroot; |
6838 |
+ |
else |
6839 |
+ |
with_sysroot=no |
6840 |
+ |
fi |
6841 |
+ |
|
6842 |
+ |
|
6843 |
+ |
lt_sysroot= |
6844 |
+ |
case ${with_sysroot} in #( |
6845 |
+ |
yes) |
6846 |
+ |
if test "$GCC" = yes; then |
6847 |
+ |
lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
6848 |
+ |
fi |
6849 |
+ |
;; #( |
6850 |
+ |
/*) |
6851 |
+ |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
6852 |
+ |
;; #( |
6853 |
+ |
no|'') |
6854 |
+ |
;; #( |
6855 |
+ |
*) |
6856 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 |
6857 |
+ |
$as_echo "${with_sysroot}" >&6; } |
6858 |
+ |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
6859 |
+ |
;; |
6860 |
+ |
esac |
6861 |
+ |
|
6862 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
6863 |
+ |
$as_echo "${lt_sysroot:-no}" >&6; } |
6864 |
+ |
|
6865 |
+ |
|
6866 |
+ |
|
6867 |
+ |
|
6868 |
|
|
6869 |
|
# Check whether --enable-libtool-lock was given. |
6870 |
|
if test "${enable_libtool_lock+set}" = set; then : |
6897 |
|
;; |
6898 |
|
*-*-irix6*) |
6899 |
|
# Find out which ABI we are using. |
6900 |
< |
echo '#line 6337 "configure"' > conftest.$ac_ext |
6900 |
> |
echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
6901 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6902 |
|
(eval $ac_compile) 2>&5 |
6903 |
|
ac_status=$? |
6991 |
|
CFLAGS="$CFLAGS -belf" |
6992 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
6993 |
|
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
6994 |
< |
if test "${lt_cv_cc_needs_belf+set}" = set; then : |
6994 |
> |
if ${lt_cv_cc_needs_belf+:} false; then : |
6995 |
|
$as_echo_n "(cached) " >&6 |
6996 |
|
else |
6997 |
|
ac_ext=c |
7032 |
|
CFLAGS="$SAVE_CFLAGS" |
7033 |
|
fi |
7034 |
|
;; |
7035 |
< |
sparc*-*solaris*) |
7035 |
> |
*-*solaris*) |
7036 |
|
# Find out which ABI we are using. |
7037 |
|
echo 'int i;' > conftest.$ac_ext |
7038 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
7043 |
|
case `/usr/bin/file conftest.o` in |
7044 |
|
*64-bit*) |
7045 |
|
case $lt_cv_prog_gnu_ld in |
7046 |
< |
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
7046 |
> |
yes*) |
7047 |
> |
case $host in |
7048 |
> |
i?86-*-solaris*) |
7049 |
> |
LD="${LD-ld} -m elf_x86_64" |
7050 |
> |
;; |
7051 |
> |
sparc*-*-solaris*) |
7052 |
> |
LD="${LD-ld} -m elf64_sparc" |
7053 |
> |
;; |
7054 |
> |
esac |
7055 |
> |
# GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
7056 |
> |
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
7057 |
> |
LD="${LD-ld}_sol2" |
7058 |
> |
fi |
7059 |
> |
;; |
7060 |
|
*) |
7061 |
|
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
7062 |
|
LD="${LD-ld} -64" |
7072 |
|
|
7073 |
|
need_locks="$enable_libtool_lock" |
7074 |
|
|
7075 |
+ |
if test -n "$ac_tool_prefix"; then |
7076 |
+ |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
7077 |
+ |
set dummy ${ac_tool_prefix}mt; ac_word=$2 |
7078 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7079 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
7080 |
+ |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
7081 |
+ |
$as_echo_n "(cached) " >&6 |
7082 |
+ |
else |
7083 |
+ |
if test -n "$MANIFEST_TOOL"; then |
7084 |
+ |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
7085 |
+ |
else |
7086 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7087 |
+ |
for as_dir in $PATH |
7088 |
+ |
do |
7089 |
+ |
IFS=$as_save_IFS |
7090 |
+ |
test -z "$as_dir" && as_dir=. |
7091 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
7092 |
+ |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7093 |
+ |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
7094 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7095 |
+ |
break 2 |
7096 |
+ |
fi |
7097 |
+ |
done |
7098 |
+ |
done |
7099 |
+ |
IFS=$as_save_IFS |
7100 |
+ |
|
7101 |
+ |
fi |
7102 |
+ |
fi |
7103 |
+ |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
7104 |
+ |
if test -n "$MANIFEST_TOOL"; then |
7105 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
7106 |
+ |
$as_echo "$MANIFEST_TOOL" >&6; } |
7107 |
+ |
else |
7108 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7109 |
+ |
$as_echo "no" >&6; } |
7110 |
+ |
fi |
7111 |
+ |
|
7112 |
+ |
|
7113 |
+ |
fi |
7114 |
+ |
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
7115 |
+ |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
7116 |
+ |
# Extract the first word of "mt", so it can be a program name with args. |
7117 |
+ |
set dummy mt; ac_word=$2 |
7118 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7119 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
7120 |
+ |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
7121 |
+ |
$as_echo_n "(cached) " >&6 |
7122 |
+ |
else |
7123 |
+ |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
7124 |
+ |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
7125 |
+ |
else |
7126 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7127 |
+ |
for as_dir in $PATH |
7128 |
+ |
do |
7129 |
+ |
IFS=$as_save_IFS |
7130 |
+ |
test -z "$as_dir" && as_dir=. |
7131 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
7132 |
+ |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7133 |
+ |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
7134 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7135 |
+ |
break 2 |
7136 |
+ |
fi |
7137 |
+ |
done |
7138 |
+ |
done |
7139 |
+ |
IFS=$as_save_IFS |
7140 |
+ |
|
7141 |
+ |
fi |
7142 |
+ |
fi |
7143 |
+ |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
7144 |
+ |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
7145 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
7146 |
+ |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
7147 |
+ |
else |
7148 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7149 |
+ |
$as_echo "no" >&6; } |
7150 |
+ |
fi |
7151 |
+ |
|
7152 |
+ |
if test "x$ac_ct_MANIFEST_TOOL" = x; then |
7153 |
+ |
MANIFEST_TOOL=":" |
7154 |
+ |
else |
7155 |
+ |
case $cross_compiling:$ac_tool_warned in |
7156 |
+ |
yes:) |
7157 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
7158 |
+ |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
7159 |
+ |
ac_tool_warned=yes ;; |
7160 |
+ |
esac |
7161 |
+ |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
7162 |
+ |
fi |
7163 |
+ |
else |
7164 |
+ |
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
7165 |
+ |
fi |
7166 |
+ |
|
7167 |
+ |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
7168 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
7169 |
+ |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
7170 |
+ |
if ${lt_cv_path_mainfest_tool+:} false; then : |
7171 |
+ |
$as_echo_n "(cached) " >&6 |
7172 |
+ |
else |
7173 |
+ |
lt_cv_path_mainfest_tool=no |
7174 |
+ |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
7175 |
+ |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
7176 |
+ |
cat conftest.err >&5 |
7177 |
+ |
if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
7178 |
+ |
lt_cv_path_mainfest_tool=yes |
7179 |
+ |
fi |
7180 |
+ |
rm -f conftest* |
7181 |
+ |
fi |
7182 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
7183 |
+ |
$as_echo "$lt_cv_path_mainfest_tool" >&6; } |
7184 |
+ |
if test "x$lt_cv_path_mainfest_tool" != xyes; then |
7185 |
+ |
MANIFEST_TOOL=: |
7186 |
+ |
fi |
7187 |
+ |
|
7188 |
+ |
|
7189 |
+ |
|
7190 |
+ |
|
7191 |
+ |
|
7192 |
|
|
7193 |
|
case $host_os in |
7194 |
|
rhapsody* | darwin*) |
7197 |
|
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
7198 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7199 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7200 |
< |
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : |
7200 |
> |
if ${ac_cv_prog_DSYMUTIL+:} false; then : |
7201 |
|
$as_echo_n "(cached) " >&6 |
7202 |
|
else |
7203 |
|
if test -n "$DSYMUTIL"; then |
7209 |
|
IFS=$as_save_IFS |
7210 |
|
test -z "$as_dir" && as_dir=. |
7211 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7212 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7212 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7213 |
|
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
7214 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7215 |
|
break 2 |
7237 |
|
set dummy dsymutil; ac_word=$2 |
7238 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7239 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7240 |
< |
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : |
7240 |
> |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
7241 |
|
$as_echo_n "(cached) " >&6 |
7242 |
|
else |
7243 |
|
if test -n "$ac_ct_DSYMUTIL"; then |
7249 |
|
IFS=$as_save_IFS |
7250 |
|
test -z "$as_dir" && as_dir=. |
7251 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7252 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7252 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7253 |
|
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
7254 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7255 |
|
break 2 |
7289 |
|
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
7290 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7291 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7292 |
< |
if test "${ac_cv_prog_NMEDIT+set}" = set; then : |
7292 |
> |
if ${ac_cv_prog_NMEDIT+:} false; then : |
7293 |
|
$as_echo_n "(cached) " >&6 |
7294 |
|
else |
7295 |
|
if test -n "$NMEDIT"; then |
7301 |
|
IFS=$as_save_IFS |
7302 |
|
test -z "$as_dir" && as_dir=. |
7303 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7304 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7304 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7305 |
|
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
7306 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7307 |
|
break 2 |
7329 |
|
set dummy nmedit; ac_word=$2 |
7330 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7331 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7332 |
< |
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : |
7332 |
> |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
7333 |
|
$as_echo_n "(cached) " >&6 |
7334 |
|
else |
7335 |
|
if test -n "$ac_ct_NMEDIT"; then |
7341 |
|
IFS=$as_save_IFS |
7342 |
|
test -z "$as_dir" && as_dir=. |
7343 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7344 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7344 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7345 |
|
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
7346 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7347 |
|
break 2 |
7381 |
|
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
7382 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7383 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7384 |
< |
if test "${ac_cv_prog_LIPO+set}" = set; then : |
7384 |
> |
if ${ac_cv_prog_LIPO+:} false; then : |
7385 |
|
$as_echo_n "(cached) " >&6 |
7386 |
|
else |
7387 |
|
if test -n "$LIPO"; then |
7393 |
|
IFS=$as_save_IFS |
7394 |
|
test -z "$as_dir" && as_dir=. |
7395 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7396 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7396 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7397 |
|
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
7398 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7399 |
|
break 2 |
7421 |
|
set dummy lipo; ac_word=$2 |
7422 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7423 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7424 |
< |
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : |
7424 |
> |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
7425 |
|
$as_echo_n "(cached) " >&6 |
7426 |
|
else |
7427 |
|
if test -n "$ac_ct_LIPO"; then |
7433 |
|
IFS=$as_save_IFS |
7434 |
|
test -z "$as_dir" && as_dir=. |
7435 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7436 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7436 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7437 |
|
ac_cv_prog_ac_ct_LIPO="lipo" |
7438 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7439 |
|
break 2 |
7473 |
|
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
7474 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7475 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7476 |
< |
if test "${ac_cv_prog_OTOOL+set}" = set; then : |
7476 |
> |
if ${ac_cv_prog_OTOOL+:} false; then : |
7477 |
|
$as_echo_n "(cached) " >&6 |
7478 |
|
else |
7479 |
|
if test -n "$OTOOL"; then |
7485 |
|
IFS=$as_save_IFS |
7486 |
|
test -z "$as_dir" && as_dir=. |
7487 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7488 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7488 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7489 |
|
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
7490 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7491 |
|
break 2 |
7513 |
|
set dummy otool; ac_word=$2 |
7514 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7515 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7516 |
< |
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : |
7516 |
> |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
7517 |
|
$as_echo_n "(cached) " >&6 |
7518 |
|
else |
7519 |
|
if test -n "$ac_ct_OTOOL"; then |
7525 |
|
IFS=$as_save_IFS |
7526 |
|
test -z "$as_dir" && as_dir=. |
7527 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7528 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7528 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7529 |
|
ac_cv_prog_ac_ct_OTOOL="otool" |
7530 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7531 |
|
break 2 |
7565 |
|
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
7566 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7567 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7568 |
< |
if test "${ac_cv_prog_OTOOL64+set}" = set; then : |
7568 |
> |
if ${ac_cv_prog_OTOOL64+:} false; then : |
7569 |
|
$as_echo_n "(cached) " >&6 |
7570 |
|
else |
7571 |
|
if test -n "$OTOOL64"; then |
7577 |
|
IFS=$as_save_IFS |
7578 |
|
test -z "$as_dir" && as_dir=. |
7579 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7580 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7580 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7581 |
|
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
7582 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7583 |
|
break 2 |
7605 |
|
set dummy otool64; ac_word=$2 |
7606 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7607 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7608 |
< |
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : |
7608 |
> |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
7609 |
|
$as_echo_n "(cached) " >&6 |
7610 |
|
else |
7611 |
|
if test -n "$ac_ct_OTOOL64"; then |
7617 |
|
IFS=$as_save_IFS |
7618 |
|
test -z "$as_dir" && as_dir=. |
7619 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7620 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7620 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7621 |
|
ac_cv_prog_ac_ct_OTOOL64="otool64" |
7622 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7623 |
|
break 2 |
7680 |
|
|
7681 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
7682 |
|
$as_echo_n "checking for -single_module linker flag... " >&6; } |
7683 |
< |
if test "${lt_cv_apple_cc_single_mod+set}" = set; then : |
7683 |
> |
if ${lt_cv_apple_cc_single_mod+:} false; then : |
7684 |
|
$as_echo_n "(cached) " >&6 |
7685 |
|
else |
7686 |
|
lt_cv_apple_cc_single_mod=no |
7696 |
|
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
7697 |
|
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
7698 |
|
_lt_result=$? |
7699 |
< |
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
7699 |
> |
# If there is a non-empty error log, and "single_module" |
7700 |
> |
# appears in it, assume the flag caused a linker warning |
7701 |
> |
if test -s conftest.err && $GREP single_module conftest.err; then |
7702 |
> |
cat conftest.err >&5 |
7703 |
> |
# Otherwise, if the output was created with a 0 exit code from |
7704 |
> |
# the compiler, it worked. |
7705 |
> |
elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
7706 |
|
lt_cv_apple_cc_single_mod=yes |
7707 |
|
else |
7708 |
|
cat conftest.err >&5 |
7713 |
|
fi |
7714 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
7715 |
|
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
7716 |
+ |
|
7717 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
7718 |
|
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
7719 |
< |
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : |
7719 |
> |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
7720 |
|
$as_echo_n "(cached) " >&6 |
7721 |
|
else |
7722 |
|
lt_cv_ld_exported_symbols_list=no |
7746 |
|
fi |
7747 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
7748 |
|
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
7749 |
+ |
|
7750 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
7751 |
+ |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
7752 |
+ |
if ${lt_cv_ld_force_load+:} false; then : |
7753 |
+ |
$as_echo_n "(cached) " >&6 |
7754 |
+ |
else |
7755 |
+ |
lt_cv_ld_force_load=no |
7756 |
+ |
cat > conftest.c << _LT_EOF |
7757 |
+ |
int forced_loaded() { return 2;} |
7758 |
+ |
_LT_EOF |
7759 |
+ |
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
7760 |
+ |
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
7761 |
+ |
echo "$AR cru libconftest.a conftest.o" >&5 |
7762 |
+ |
$AR cru libconftest.a conftest.o 2>&5 |
7763 |
+ |
echo "$RANLIB libconftest.a" >&5 |
7764 |
+ |
$RANLIB libconftest.a 2>&5 |
7765 |
+ |
cat > conftest.c << _LT_EOF |
7766 |
+ |
int main() { return 0;} |
7767 |
+ |
_LT_EOF |
7768 |
+ |
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
7769 |
+ |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
7770 |
+ |
_lt_result=$? |
7771 |
+ |
if test -s conftest.err && $GREP force_load conftest.err; then |
7772 |
+ |
cat conftest.err >&5 |
7773 |
+ |
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then |
7774 |
+ |
lt_cv_ld_force_load=yes |
7775 |
+ |
else |
7776 |
+ |
cat conftest.err >&5 |
7777 |
+ |
fi |
7778 |
+ |
rm -f conftest.err libconftest.a conftest conftest.c |
7779 |
+ |
rm -rf conftest.dSYM |
7780 |
+ |
|
7781 |
+ |
fi |
7782 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
7783 |
+ |
$as_echo "$lt_cv_ld_force_load" >&6; } |
7784 |
|
case $host_os in |
7785 |
|
rhapsody* | darwin1.[012]) |
7786 |
|
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
7808 |
|
else |
7809 |
|
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
7810 |
|
fi |
7811 |
< |
if test "$DSYMUTIL" != ":"; then |
7811 |
> |
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then |
7812 |
|
_lt_dsymutil='~$DSYMUTIL $lib || :' |
7813 |
|
else |
7814 |
|
_lt_dsymutil= |
7828 |
|
CPP= |
7829 |
|
fi |
7830 |
|
if test -z "$CPP"; then |
7831 |
< |
if test "${ac_cv_prog_CPP+set}" = set; then : |
7831 |
> |
if ${ac_cv_prog_CPP+:} false; then : |
7832 |
|
$as_echo_n "(cached) " >&6 |
7833 |
|
else |
7834 |
|
# Double quotes because CPP needs to be expanded |
7858 |
|
# Broken: fails on valid input. |
7859 |
|
continue |
7860 |
|
fi |
7861 |
< |
rm -f conftest.err conftest.$ac_ext |
7861 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
7862 |
|
|
7863 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
7864 |
|
# can be detected and how. |
7874 |
|
ac_preproc_ok=: |
7875 |
|
break |
7876 |
|
fi |
7877 |
< |
rm -f conftest.err conftest.$ac_ext |
7877 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
7878 |
|
|
7879 |
|
done |
7880 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
7881 |
< |
rm -f conftest.err conftest.$ac_ext |
7881 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
7882 |
|
if $ac_preproc_ok; then : |
7883 |
|
break |
7884 |
|
fi |
7917 |
|
# Broken: fails on valid input. |
7918 |
|
continue |
7919 |
|
fi |
7920 |
< |
rm -f conftest.err conftest.$ac_ext |
7920 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
7921 |
|
|
7922 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
7923 |
|
# can be detected and how. |
7933 |
|
ac_preproc_ok=: |
7934 |
|
break |
7935 |
|
fi |
7936 |
< |
rm -f conftest.err conftest.$ac_ext |
7936 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
7937 |
|
|
7938 |
|
done |
7939 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
7940 |
< |
rm -f conftest.err conftest.$ac_ext |
7940 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
7941 |
|
if $ac_preproc_ok; then : |
7942 |
|
|
7943 |
|
else |
7944 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
7945 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
7946 |
< |
as_fn_error "C preprocessor \"$CPP\" fails sanity check |
7947 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
7946 |
> |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
7947 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
7948 |
|
fi |
7949 |
|
|
7950 |
|
ac_ext=c |
7956 |
|
|
7957 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
7958 |
|
$as_echo_n "checking for ANSI C header files... " >&6; } |
7959 |
< |
if test "${ac_cv_header_stdc+set}" = set; then : |
7959 |
> |
if ${ac_cv_header_stdc+:} false; then : |
7960 |
|
$as_echo_n "(cached) " >&6 |
7961 |
|
else |
7962 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8073 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8074 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
8075 |
|
" |
8076 |
< |
eval as_val=\$$as_ac_Header |
7342 |
< |
if test "x$as_val" = x""yes; then : |
8076 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
8077 |
|
cat >>confdefs.h <<_ACEOF |
8078 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8079 |
|
_ACEOF |
8087 |
|
do : |
8088 |
|
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
8089 |
|
" |
8090 |
< |
if test "x$ac_cv_header_dlfcn_h" = x""yes; then : |
8090 |
> |
if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
8091 |
|
cat >>confdefs.h <<_ACEOF |
8092 |
|
#define HAVE_DLFCN_H 1 |
8093 |
|
_ACEOF |
8098 |
|
|
8099 |
|
|
8100 |
|
|
7367 |
– |
# Set options |
7368 |
– |
enable_dlopen=yes |
7369 |
– |
|
7370 |
– |
|
7371 |
– |
|
7372 |
– |
|
7373 |
– |
enable_win32_dll=no |
8101 |
|
|
8102 |
|
|
8103 |
< |
# Check whether --enable-shared was given. |
8104 |
< |
if test "${enable_shared+set}" = set; then : |
8105 |
< |
enableval=$enable_shared; p=${PACKAGE-default} |
8103 |
> |
# Set options |
8104 |
> |
enable_dlopen=yes |
8105 |
> |
# Check whether --enable-static was given. |
8106 |
> |
if test "${enable_static+set}" = set; then : |
8107 |
> |
enableval=$enable_static; p=${PACKAGE-default} |
8108 |
|
case $enableval in |
8109 |
< |
yes) enable_shared=yes ;; |
8110 |
< |
no) enable_shared=no ;; |
8109 |
> |
yes) enable_static=yes ;; |
8110 |
> |
no) enable_static=no ;; |
8111 |
|
*) |
8112 |
< |
enable_shared=no |
8112 |
> |
enable_static=no |
8113 |
|
# Look at the argument we got. We use all the common list separators. |
8114 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
8115 |
|
for pkg in $enableval; do |
8116 |
|
IFS="$lt_save_ifs" |
8117 |
|
if test "X$pkg" = "X$p"; then |
8118 |
< |
enable_shared=yes |
8118 |
> |
enable_static=yes |
8119 |
|
fi |
8120 |
|
done |
8121 |
|
IFS="$lt_save_ifs" |
8122 |
|
;; |
8123 |
|
esac |
8124 |
|
else |
8125 |
< |
enable_shared=yes |
8125 |
> |
enable_static=no |
8126 |
|
fi |
8127 |
|
|
8128 |
|
|
8133 |
|
|
8134 |
|
|
8135 |
|
|
8136 |
< |
# Check whether --enable-static was given. |
8137 |
< |
if test "${enable_static+set}" = set; then : |
8138 |
< |
enableval=$enable_static; p=${PACKAGE-default} |
8136 |
> |
|
8137 |
> |
|
8138 |
> |
enable_win32_dll=no |
8139 |
> |
|
8140 |
> |
|
8141 |
> |
# Check whether --enable-shared was given. |
8142 |
> |
if test "${enable_shared+set}" = set; then : |
8143 |
> |
enableval=$enable_shared; p=${PACKAGE-default} |
8144 |
|
case $enableval in |
8145 |
< |
yes) enable_static=yes ;; |
8146 |
< |
no) enable_static=no ;; |
8145 |
> |
yes) enable_shared=yes ;; |
8146 |
> |
no) enable_shared=no ;; |
8147 |
|
*) |
8148 |
< |
enable_static=no |
8148 |
> |
enable_shared=no |
8149 |
|
# Look at the argument we got. We use all the common list separators. |
8150 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
8151 |
|
for pkg in $enableval; do |
8152 |
|
IFS="$lt_save_ifs" |
8153 |
|
if test "X$pkg" = "X$p"; then |
8154 |
< |
enable_static=yes |
8154 |
> |
enable_shared=yes |
8155 |
|
fi |
8156 |
|
done |
8157 |
|
IFS="$lt_save_ifs" |
8158 |
|
;; |
8159 |
|
esac |
8160 |
|
else |
8161 |
< |
enable_static=yes |
8161 |
> |
enable_shared=yes |
8162 |
|
fi |
8163 |
|
|
8164 |
|
|
8170 |
|
|
8171 |
|
|
8172 |
|
|
8173 |
+ |
|
8174 |
|
# Check whether --with-pic was given. |
8175 |
|
if test "${with_pic+set}" = set; then : |
8176 |
< |
withval=$with_pic; pic_mode="$withval" |
8176 |
> |
withval=$with_pic; lt_p=${PACKAGE-default} |
8177 |
> |
case $withval in |
8178 |
> |
yes|no) pic_mode=$withval ;; |
8179 |
> |
*) |
8180 |
> |
pic_mode=default |
8181 |
> |
# Look at the argument we got. We use all the common list separators. |
8182 |
> |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
8183 |
> |
for lt_pkg in $withval; do |
8184 |
> |
IFS="$lt_save_ifs" |
8185 |
> |
if test "X$lt_pkg" = "X$lt_p"; then |
8186 |
> |
pic_mode=yes |
8187 |
> |
fi |
8188 |
> |
done |
8189 |
> |
IFS="$lt_save_ifs" |
8190 |
> |
;; |
8191 |
> |
esac |
8192 |
|
else |
8193 |
|
pic_mode=default |
8194 |
|
fi |
8265 |
|
|
8266 |
|
|
8267 |
|
|
8268 |
+ |
|
8269 |
+ |
|
8270 |
+ |
|
8271 |
+ |
|
8272 |
+ |
|
8273 |
|
test -z "$LN_S" && LN_S="ln -s" |
8274 |
|
|
8275 |
|
|
8291 |
|
|
8292 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
8293 |
|
$as_echo_n "checking for objdir... " >&6; } |
8294 |
< |
if test "${lt_cv_objdir+set}" = set; then : |
8294 |
> |
if ${lt_cv_objdir+:} false; then : |
8295 |
|
$as_echo_n "(cached) " >&6 |
8296 |
|
else |
8297 |
|
rm -f .libs 2>/dev/null |
8319 |
|
|
8320 |
|
|
8321 |
|
|
7567 |
– |
|
7568 |
– |
|
7569 |
– |
|
7570 |
– |
|
7571 |
– |
|
7572 |
– |
|
7573 |
– |
|
7574 |
– |
|
7575 |
– |
|
7576 |
– |
|
7577 |
– |
|
7578 |
– |
|
7579 |
– |
|
8322 |
|
case $host_os in |
8323 |
|
aix3*) |
8324 |
|
# AIX sometimes has problems with the GCC collect2 program. For some |
8331 |
|
;; |
8332 |
|
esac |
8333 |
|
|
7592 |
– |
# Sed substitution that helps us do robust quoting. It backslashifies |
7593 |
– |
# metacharacters that are still active within double-quoted strings. |
7594 |
– |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
7595 |
– |
|
7596 |
– |
# Same as above, but do not quote variable references. |
7597 |
– |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
7598 |
– |
|
7599 |
– |
# Sed substitution to delay expansion of an escaped shell variable in a |
7600 |
– |
# double_quote_subst'ed string. |
7601 |
– |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
7602 |
– |
|
7603 |
– |
# Sed substitution to delay expansion of an escaped single quote. |
7604 |
– |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
7605 |
– |
|
7606 |
– |
# Sed substitution to avoid accidental globbing in evaled expressions |
7607 |
– |
no_glob_subst='s/\*/\\\*/g' |
7608 |
– |
|
8334 |
|
# Global variables: |
8335 |
|
ofile=libtool |
8336 |
|
can_build_shared=yes |
8359 |
|
*) break;; |
8360 |
|
esac |
8361 |
|
done |
8362 |
< |
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
8362 |
> |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
8363 |
|
|
8364 |
|
|
8365 |
|
# Only perform the check for file, if the check method requires it |
8369 |
|
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
8370 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
8371 |
|
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
8372 |
< |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : |
8372 |
> |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
8373 |
|
$as_echo_n "(cached) " >&6 |
8374 |
|
else |
8375 |
|
case $MAGIC_CMD in |
8435 |
|
if test -n "$ac_tool_prefix"; then |
8436 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
8437 |
|
$as_echo_n "checking for file... " >&6; } |
8438 |
< |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : |
8438 |
> |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
8439 |
|
$as_echo_n "(cached) " >&6 |
8440 |
|
else |
8441 |
|
case $MAGIC_CMD in |
8564 |
|
lt_prog_compiler_no_builtin_flag= |
8565 |
|
|
8566 |
|
if test "$GCC" = yes; then |
8567 |
< |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
8567 |
> |
case $cc_basename in |
8568 |
> |
nvcc*) |
8569 |
> |
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
8570 |
> |
*) |
8571 |
> |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
8572 |
> |
esac |
8573 |
|
|
8574 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
8575 |
|
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
8576 |
< |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : |
8576 |
> |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
8577 |
|
$as_echo_n "(cached) " >&6 |
8578 |
|
else |
8579 |
|
lt_cv_prog_compiler_rtti_exceptions=no |
8589 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8590 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8591 |
|
-e 's:$: $lt_compiler_flag:'` |
8592 |
< |
(eval echo "\"\$as_me:7862: $lt_compile\"" >&5) |
8592 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
8593 |
|
(eval "$lt_compile" 2>conftest.err) |
8594 |
|
ac_status=$? |
8595 |
|
cat conftest.err >&5 |
8596 |
< |
echo "$as_me:7866: \$? = $ac_status" >&5 |
8596 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8597 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
8598 |
|
# The compiler can only warn and ignore the option if not recognized |
8599 |
|
# So say no if there are warnings other than the usual output. |
8600 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
8600 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
8601 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8602 |
|
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
8603 |
|
lt_cv_prog_compiler_rtti_exceptions=yes |
8626 |
|
lt_prog_compiler_pic= |
8627 |
|
lt_prog_compiler_static= |
8628 |
|
|
7899 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
7900 |
– |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
8629 |
|
|
8630 |
|
if test "$GCC" = yes; then |
8631 |
|
lt_prog_compiler_wl='-Wl,' |
8673 |
|
lt_prog_compiler_pic='-fno-common' |
8674 |
|
;; |
8675 |
|
|
8676 |
+ |
haiku*) |
8677 |
+ |
# PIC is the default for Haiku. |
8678 |
+ |
# The "-static" flag exists, but is broken. |
8679 |
+ |
lt_prog_compiler_static= |
8680 |
+ |
;; |
8681 |
+ |
|
8682 |
|
hpux*) |
8683 |
|
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
8684 |
|
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
8721 |
|
lt_prog_compiler_pic='-fPIC' |
8722 |
|
;; |
8723 |
|
esac |
8724 |
+ |
|
8725 |
+ |
case $cc_basename in |
8726 |
+ |
nvcc*) # Cuda Compiler Driver 2.2 |
8727 |
+ |
lt_prog_compiler_wl='-Xlinker ' |
8728 |
+ |
if test -n "$lt_prog_compiler_pic"; then |
8729 |
+ |
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
8730 |
+ |
fi |
8731 |
+ |
;; |
8732 |
+ |
esac |
8733 |
|
else |
8734 |
|
# PORTME Check for flag to pass linker flags through the system compiler. |
8735 |
|
case $host_os in |
8771 |
|
lt_prog_compiler_static='-non_shared' |
8772 |
|
;; |
8773 |
|
|
8774 |
< |
linux* | k*bsd*-gnu) |
8774 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
8775 |
|
case $cc_basename in |
8776 |
|
# old Intel for x86_64 which still supported -KPIC. |
8777 |
|
ecc*) |
8792 |
|
lt_prog_compiler_pic='--shared' |
8793 |
|
lt_prog_compiler_static='--static' |
8794 |
|
;; |
8795 |
< |
pgcc* | pgf77* | pgf90* | pgf95*) |
8795 |
> |
nagfor*) |
8796 |
> |
# NAG Fortran compiler |
8797 |
> |
lt_prog_compiler_wl='-Wl,-Wl,,' |
8798 |
> |
lt_prog_compiler_pic='-PIC' |
8799 |
> |
lt_prog_compiler_static='-Bstatic' |
8800 |
> |
;; |
8801 |
> |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
8802 |
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
8803 |
|
# which looks to be a dead project) |
8804 |
|
lt_prog_compiler_wl='-Wl,' |
8810 |
|
# All Alpha code is PIC. |
8811 |
|
lt_prog_compiler_static='-non_shared' |
8812 |
|
;; |
8813 |
< |
xl*) |
8814 |
< |
# IBM XL C 8.0/Fortran 10.1 on PPC |
8813 |
> |
xl* | bgxl* | bgf* | mpixl*) |
8814 |
> |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
8815 |
|
lt_prog_compiler_wl='-Wl,' |
8816 |
|
lt_prog_compiler_pic='-qpic' |
8817 |
|
lt_prog_compiler_static='-qstaticlink' |
8818 |
|
;; |
8819 |
|
*) |
8820 |
|
case `$CC -V 2>&1 | sed 5q` in |
8821 |
+ |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
8822 |
+ |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
8823 |
+ |
lt_prog_compiler_pic='-KPIC' |
8824 |
+ |
lt_prog_compiler_static='-Bstatic' |
8825 |
+ |
lt_prog_compiler_wl='' |
8826 |
+ |
;; |
8827 |
+ |
*Sun\ F* | *Sun*Fortran*) |
8828 |
+ |
lt_prog_compiler_pic='-KPIC' |
8829 |
+ |
lt_prog_compiler_static='-Bstatic' |
8830 |
+ |
lt_prog_compiler_wl='-Qoption ld ' |
8831 |
+ |
;; |
8832 |
|
*Sun\ C*) |
8833 |
|
# Sun C 5.9 |
8834 |
|
lt_prog_compiler_pic='-KPIC' |
8835 |
|
lt_prog_compiler_static='-Bstatic' |
8836 |
|
lt_prog_compiler_wl='-Wl,' |
8837 |
|
;; |
8838 |
< |
*Sun\ F*) |
8839 |
< |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
8840 |
< |
lt_prog_compiler_pic='-KPIC' |
8838 |
> |
*Intel*\ [CF]*Compiler*) |
8839 |
> |
lt_prog_compiler_wl='-Wl,' |
8840 |
> |
lt_prog_compiler_pic='-fPIC' |
8841 |
> |
lt_prog_compiler_static='-static' |
8842 |
> |
;; |
8843 |
> |
*Portland\ Group*) |
8844 |
> |
lt_prog_compiler_wl='-Wl,' |
8845 |
> |
lt_prog_compiler_pic='-fpic' |
8846 |
|
lt_prog_compiler_static='-Bstatic' |
8082 |
– |
lt_prog_compiler_wl='' |
8847 |
|
;; |
8848 |
|
esac |
8849 |
|
;; |
8875 |
|
lt_prog_compiler_pic='-KPIC' |
8876 |
|
lt_prog_compiler_static='-Bstatic' |
8877 |
|
case $cc_basename in |
8878 |
< |
f77* | f90* | f95*) |
8878 |
> |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
8879 |
|
lt_prog_compiler_wl='-Qoption ld ';; |
8880 |
|
*) |
8881 |
|
lt_prog_compiler_wl='-Wl,';; |
8932 |
|
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
8933 |
|
;; |
8934 |
|
esac |
8171 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 |
8172 |
– |
$as_echo "$lt_prog_compiler_pic" >&6; } |
8173 |
– |
|
8174 |
– |
|
8175 |
– |
|
8176 |
– |
|
8935 |
|
|
8936 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
8937 |
+ |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
8938 |
+ |
if ${lt_cv_prog_compiler_pic+:} false; then : |
8939 |
+ |
$as_echo_n "(cached) " >&6 |
8940 |
+ |
else |
8941 |
+ |
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
8942 |
+ |
fi |
8943 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
8944 |
+ |
$as_echo "$lt_cv_prog_compiler_pic" >&6; } |
8945 |
+ |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
8946 |
|
|
8947 |
|
# |
8948 |
|
# Check to make sure the PIC flag actually works. |
8950 |
|
if test -n "$lt_prog_compiler_pic"; then |
8951 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
8952 |
|
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
8953 |
< |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : |
8953 |
> |
if ${lt_cv_prog_compiler_pic_works+:} false; then : |
8954 |
|
$as_echo_n "(cached) " >&6 |
8955 |
|
else |
8956 |
|
lt_cv_prog_compiler_pic_works=no |
8966 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8967 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8968 |
|
-e 's:$: $lt_compiler_flag:'` |
8969 |
< |
(eval echo "\"\$as_me:8201: $lt_compile\"" >&5) |
8969 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
8970 |
|
(eval "$lt_compile" 2>conftest.err) |
8971 |
|
ac_status=$? |
8972 |
|
cat conftest.err >&5 |
8973 |
< |
echo "$as_me:8205: \$? = $ac_status" >&5 |
8973 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8974 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
8975 |
|
# The compiler can only warn and ignore the option if not recognized |
8976 |
|
# So say no if there are warnings other than the usual output. |
8977 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
8977 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
8978 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8979 |
|
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
8980 |
|
lt_cv_prog_compiler_pic_works=yes |
9003 |
|
|
9004 |
|
|
9005 |
|
|
9006 |
+ |
|
9007 |
+ |
|
9008 |
+ |
|
9009 |
+ |
|
9010 |
+ |
|
9011 |
|
# |
9012 |
|
# Check to make sure the static flag actually works. |
9013 |
|
# |
9014 |
|
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
9015 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
9016 |
|
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
9017 |
< |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then : |
9017 |
> |
if ${lt_cv_prog_compiler_static_works+:} false; then : |
9018 |
|
$as_echo_n "(cached) " >&6 |
9019 |
|
else |
9020 |
|
lt_cv_prog_compiler_static_works=no |
9027 |
|
if test -s conftest.err; then |
9028 |
|
# Append any errors to the config.log. |
9029 |
|
cat conftest.err 1>&5 |
9030 |
< |
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
9030 |
> |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
9031 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
9032 |
|
if diff conftest.exp conftest.er2 >/dev/null; then |
9033 |
|
lt_cv_prog_compiler_static_works=yes |
9057 |
|
|
9058 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
9059 |
|
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
9060 |
< |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : |
9060 |
> |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
9061 |
|
$as_echo_n "(cached) " >&6 |
9062 |
|
else |
9063 |
|
lt_cv_prog_compiler_c_o=no |
9076 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
9077 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
9078 |
|
-e 's:$: $lt_compiler_flag:'` |
9079 |
< |
(eval echo "\"\$as_me:8306: $lt_compile\"" >&5) |
9079 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
9080 |
|
(eval "$lt_compile" 2>out/conftest.err) |
9081 |
|
ac_status=$? |
9082 |
|
cat out/conftest.err >&5 |
9083 |
< |
echo "$as_me:8310: \$? = $ac_status" >&5 |
9083 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9084 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
9085 |
|
then |
9086 |
|
# The compiler can only warn and ignore the option if not recognized |
9087 |
|
# So say no if there are warnings |
9088 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
9088 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
9089 |
|
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
9090 |
|
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
9091 |
|
lt_cv_prog_compiler_c_o=yes |
9112 |
|
|
9113 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
9114 |
|
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
9115 |
< |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : |
9115 |
> |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
9116 |
|
$as_echo_n "(cached) " >&6 |
9117 |
|
else |
9118 |
|
lt_cv_prog_compiler_c_o=no |
9131 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
9132 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
9133 |
|
-e 's:$: $lt_compiler_flag:'` |
9134 |
< |
(eval echo "\"\$as_me:8361: $lt_compile\"" >&5) |
9134 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
9135 |
|
(eval "$lt_compile" 2>out/conftest.err) |
9136 |
|
ac_status=$? |
9137 |
|
cat out/conftest.err >&5 |
9138 |
< |
echo "$as_me:8365: \$? = $ac_status" >&5 |
9138 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9139 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
9140 |
|
then |
9141 |
|
# The compiler can only warn and ignore the option if not recognized |
9142 |
|
# So say no if there are warnings |
9143 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
9143 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
9144 |
|
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
9145 |
|
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
9146 |
|
lt_cv_prog_compiler_c_o=yes |
9206 |
|
hardcode_direct=no |
9207 |
|
hardcode_direct_absolute=no |
9208 |
|
hardcode_libdir_flag_spec= |
8436 |
– |
hardcode_libdir_flag_spec_ld= |
9209 |
|
hardcode_libdir_separator= |
9210 |
|
hardcode_minus_L=no |
9211 |
|
hardcode_shlibpath_var=unsupported |
9252 |
|
esac |
9253 |
|
|
9254 |
|
ld_shlibs=yes |
9255 |
+ |
|
9256 |
+ |
# On some targets, GNU ld is compatible enough with the native linker |
9257 |
+ |
# that we're better off using the native interface for both. |
9258 |
+ |
lt_use_gnu_ld_interface=no |
9259 |
|
if test "$with_gnu_ld" = yes; then |
9260 |
+ |
case $host_os in |
9261 |
+ |
aix*) |
9262 |
+ |
# The AIX port of GNU ld has always aspired to compatibility |
9263 |
+ |
# with the native linker. However, as the warning in the GNU ld |
9264 |
+ |
# block says, versions before 2.19.5* couldn't really create working |
9265 |
+ |
# shared libraries, regardless of the interface used. |
9266 |
+ |
case `$LD -v 2>&1` in |
9267 |
+ |
*\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
9268 |
+ |
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
9269 |
+ |
*\ \(GNU\ Binutils\)\ [3-9]*) ;; |
9270 |
+ |
*) |
9271 |
+ |
lt_use_gnu_ld_interface=yes |
9272 |
+ |
;; |
9273 |
+ |
esac |
9274 |
+ |
;; |
9275 |
+ |
*) |
9276 |
+ |
lt_use_gnu_ld_interface=yes |
9277 |
+ |
;; |
9278 |
+ |
esac |
9279 |
+ |
fi |
9280 |
+ |
|
9281 |
+ |
if test "$lt_use_gnu_ld_interface" = yes; then |
9282 |
|
# If archive_cmds runs LD, not CC, wlarc should be empty |
9283 |
|
wlarc='${wl}' |
9284 |
|
|
9296 |
|
fi |
9297 |
|
supports_anon_versioning=no |
9298 |
|
case `$LD -v 2>&1` in |
9299 |
+ |
*GNU\ gold*) supports_anon_versioning=yes ;; |
9300 |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
9301 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
9302 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
9312 |
|
ld_shlibs=no |
9313 |
|
cat <<_LT_EOF 1>&2 |
9314 |
|
|
9315 |
< |
*** Warning: the GNU linker, at least up to release 2.9.1, is reported |
9315 |
> |
*** Warning: the GNU linker, at least up to release 2.19, is reported |
9316 |
|
*** to be unable to reliably create shared libraries on AIX. |
9317 |
|
*** Therefore, libtool is disabling shared libraries support. If you |
9318 |
< |
*** really care for shared libraries, you may want to modify your PATH |
9319 |
< |
*** so that a non-GNU linker is found, and then restart. |
9318 |
> |
*** really care for shared libraries, you may want to install binutils |
9319 |
> |
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
9320 |
> |
*** You will then need to restart the configuration process. |
9321 |
|
|
9322 |
|
_LT_EOF |
9323 |
|
fi |
9353 |
|
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
9354 |
|
# as there is no search path for DLLs. |
9355 |
|
hardcode_libdir_flag_spec='-L$libdir' |
9356 |
+ |
export_dynamic_flag_spec='${wl}--export-all-symbols' |
9357 |
|
allow_undefined_flag=unsupported |
9358 |
|
always_export_symbols=no |
9359 |
|
enable_shared_with_static_runtimes=yes |
9360 |
< |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
9360 |
> |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
9361 |
> |
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
9362 |
|
|
9363 |
|
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
9364 |
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
9376 |
|
fi |
9377 |
|
;; |
9378 |
|
|
9379 |
+ |
haiku*) |
9380 |
+ |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9381 |
+ |
link_all_deplibs=yes |
9382 |
+ |
;; |
9383 |
+ |
|
9384 |
|
interix[3-9]*) |
9385 |
|
hardcode_direct=no |
9386 |
|
hardcode_shlibpath_var=no |
9396 |
|
archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
9397 |
|
;; |
9398 |
|
|
9399 |
< |
gnu* | linux* | tpf* | k*bsd*-gnu) |
9399 |
> |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
9400 |
|
tmp_diet=no |
9401 |
|
if test "$host_os" = linux-dietlibc; then |
9402 |
|
case $cc_basename in |
9406 |
|
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
9407 |
|
&& test "$tmp_diet" = no |
9408 |
|
then |
9409 |
< |
tmp_addflag= |
9409 |
> |
tmp_addflag=' $pic_flag' |
9410 |
|
tmp_sharedflag='-shared' |
9411 |
|
case $cc_basename,$host_cpu in |
9412 |
|
pgcc*) # Portland Group C compiler |
9413 |
< |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
9413 |
> |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
9414 |
|
tmp_addflag=' $pic_flag' |
9415 |
|
;; |
9416 |
< |
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
9417 |
< |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
9416 |
> |
pgf77* | pgf90* | pgf95* | pgfortran*) |
9417 |
> |
# Portland Group f77 and f90 compilers |
9418 |
> |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
9419 |
|
tmp_addflag=' $pic_flag -Mnomain' ;; |
9420 |
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
9421 |
|
tmp_addflag=' -i_dynamic' ;; |
9426 |
|
lf95*) # Lahey Fortran 8.1 |
9427 |
|
whole_archive_flag_spec= |
9428 |
|
tmp_sharedflag='--shared' ;; |
9429 |
< |
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
9429 |
> |
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
9430 |
|
tmp_sharedflag='-qmkshrobj' |
9431 |
|
tmp_addflag= ;; |
9432 |
+ |
nvcc*) # Cuda Compiler Driver 2.2 |
9433 |
+ |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
9434 |
+ |
compiler_needs_object=yes |
9435 |
+ |
;; |
9436 |
|
esac |
9437 |
|
case `$CC -V 2>&1 | sed 5q` in |
9438 |
|
*Sun\ C*) # Sun C 5.9 |
9439 |
< |
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
9439 |
> |
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
9440 |
|
compiler_needs_object=yes |
9441 |
|
tmp_sharedflag='-G' ;; |
9442 |
|
*Sun\ F*) # Sun Fortran 8.3 |
9452 |
|
fi |
9453 |
|
|
9454 |
|
case $cc_basename in |
9455 |
< |
xlf*) |
9455 |
> |
xlf* | bgf* | bgxlf* | mpixlf*) |
9456 |
|
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
9457 |
|
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
9458 |
< |
hardcode_libdir_flag_spec= |
9459 |
< |
hardcode_libdir_flag_spec_ld='-rpath $libdir' |
8648 |
< |
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' |
9458 |
> |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9459 |
> |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
9460 |
|
if test "x$supports_anon_versioning" = xyes; then |
9461 |
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
9462 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
9463 |
|
echo "local: *; };" >> $output_objdir/$libname.ver~ |
9464 |
< |
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
9464 |
> |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
9465 |
|
fi |
9466 |
|
;; |
9467 |
|
esac |
9475 |
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
9476 |
|
wlarc= |
9477 |
|
else |
9478 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9479 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9478 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9479 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9480 |
|
fi |
9481 |
|
;; |
9482 |
|
|
9494 |
|
|
9495 |
|
_LT_EOF |
9496 |
|
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9497 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9498 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9497 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9498 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9499 |
|
else |
9500 |
|
ld_shlibs=no |
9501 |
|
fi |
9541 |
|
|
9542 |
|
*) |
9543 |
|
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9544 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9545 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9544 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9545 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9546 |
|
else |
9547 |
|
ld_shlibs=no |
9548 |
|
fi |
9582 |
|
else |
9583 |
|
# If we're using GNU nm, then we don't want the "-C" option. |
9584 |
|
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
9585 |
+ |
# Also, AIX nm treats weak defined symbols like other global |
9586 |
+ |
# defined symbols, whereas GNU nm marks them as "W". |
9587 |
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
9588 |
< |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
9588 |
> |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
9589 |
|
else |
9590 |
|
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
9591 |
|
fi |
9647 |
|
if test "$aix_use_runtimelinking" = yes; then |
9648 |
|
shared_flag="$shared_flag "'${wl}-G' |
9649 |
|
fi |
8837 |
– |
link_all_deplibs=no |
9650 |
|
else |
9651 |
|
# not using gcc |
9652 |
|
if test "$host_cpu" = ia64; then |
9672 |
|
allow_undefined_flag='-berok' |
9673 |
|
# Determine the default libpath from the value encoded in an |
9674 |
|
# empty executable. |
9675 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9675 |
> |
if test "${lt_cv_aix_libpath+set}" = set; then |
9676 |
> |
aix_libpath=$lt_cv_aix_libpath |
9677 |
> |
else |
9678 |
> |
if ${lt_cv_aix_libpath_+:} false; then : |
9679 |
> |
$as_echo_n "(cached) " >&6 |
9680 |
> |
else |
9681 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9682 |
|
/* end confdefs.h. */ |
9683 |
|
|
9684 |
|
int |
9691 |
|
_ACEOF |
9692 |
|
if ac_fn_c_try_link "$LINENO"; then : |
9693 |
|
|
9694 |
< |
lt_aix_libpath_sed=' |
9695 |
< |
/Import File Strings/,/^$/ { |
9696 |
< |
/^0/ { |
9697 |
< |
s/^0 *\(.*\)$/\1/ |
9698 |
< |
p |
9699 |
< |
} |
9700 |
< |
}' |
9701 |
< |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9702 |
< |
# Check for a 64-bit object if we didn't find anything. |
9703 |
< |
if test -z "$aix_libpath"; then |
9704 |
< |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9705 |
< |
fi |
9694 |
> |
lt_aix_libpath_sed=' |
9695 |
> |
/Import File Strings/,/^$/ { |
9696 |
> |
/^0/ { |
9697 |
> |
s/^0 *\([^ ]*\) *$/\1/ |
9698 |
> |
p |
9699 |
> |
} |
9700 |
> |
}' |
9701 |
> |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9702 |
> |
# Check for a 64-bit object if we didn't find anything. |
9703 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
9704 |
> |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9705 |
> |
fi |
9706 |
|
fi |
9707 |
|
rm -f core conftest.err conftest.$ac_objext \ |
9708 |
|
conftest$ac_exeext conftest.$ac_ext |
9709 |
< |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
9709 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
9710 |
> |
lt_cv_aix_libpath_="/usr/lib:/lib" |
9711 |
> |
fi |
9712 |
> |
|
9713 |
> |
fi |
9714 |
> |
|
9715 |
> |
aix_libpath=$lt_cv_aix_libpath_ |
9716 |
> |
fi |
9717 |
|
|
9718 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
9719 |
< |
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
9719 |
> |
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
9720 |
|
else |
9721 |
|
if test "$host_cpu" = ia64; then |
9722 |
|
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
9725 |
|
else |
9726 |
|
# Determine the default libpath from the value encoded in an |
9727 |
|
# empty executable. |
9728 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9728 |
> |
if test "${lt_cv_aix_libpath+set}" = set; then |
9729 |
> |
aix_libpath=$lt_cv_aix_libpath |
9730 |
> |
else |
9731 |
> |
if ${lt_cv_aix_libpath_+:} false; then : |
9732 |
> |
$as_echo_n "(cached) " >&6 |
9733 |
> |
else |
9734 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9735 |
|
/* end confdefs.h. */ |
9736 |
|
|
9737 |
|
int |
9744 |
|
_ACEOF |
9745 |
|
if ac_fn_c_try_link "$LINENO"; then : |
9746 |
|
|
9747 |
< |
lt_aix_libpath_sed=' |
9748 |
< |
/Import File Strings/,/^$/ { |
9749 |
< |
/^0/ { |
9750 |
< |
s/^0 *\(.*\)$/\1/ |
9751 |
< |
p |
9752 |
< |
} |
9753 |
< |
}' |
9754 |
< |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9755 |
< |
# Check for a 64-bit object if we didn't find anything. |
9756 |
< |
if test -z "$aix_libpath"; then |
9757 |
< |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9758 |
< |
fi |
9747 |
> |
lt_aix_libpath_sed=' |
9748 |
> |
/Import File Strings/,/^$/ { |
9749 |
> |
/^0/ { |
9750 |
> |
s/^0 *\([^ ]*\) *$/\1/ |
9751 |
> |
p |
9752 |
> |
} |
9753 |
> |
}' |
9754 |
> |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9755 |
> |
# Check for a 64-bit object if we didn't find anything. |
9756 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
9757 |
> |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9758 |
> |
fi |
9759 |
|
fi |
9760 |
|
rm -f core conftest.err conftest.$ac_objext \ |
9761 |
|
conftest$ac_exeext conftest.$ac_ext |
9762 |
< |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
9762 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
9763 |
> |
lt_cv_aix_libpath_="/usr/lib:/lib" |
9764 |
> |
fi |
9765 |
> |
|
9766 |
> |
fi |
9767 |
> |
|
9768 |
> |
aix_libpath=$lt_cv_aix_libpath_ |
9769 |
> |
fi |
9770 |
|
|
9771 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
9772 |
|
# Warning - without using the other run time loading flags, |
9773 |
|
# -berok will link without error, but may produce a broken library. |
9774 |
|
no_undefined_flag=' ${wl}-bernotok' |
9775 |
|
allow_undefined_flag=' ${wl}-berok' |
9776 |
< |
# Exported symbols can be pulled into shared objects from archives |
9777 |
< |
whole_archive_flag_spec='$convenience' |
9776 |
> |
if test "$with_gnu_ld" = yes; then |
9777 |
> |
# We only use this code for GNU lds that support --whole-archive. |
9778 |
> |
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
9779 |
> |
else |
9780 |
> |
# Exported symbols can be pulled into shared objects from archives |
9781 |
> |
whole_archive_flag_spec='$convenience' |
9782 |
> |
fi |
9783 |
|
archive_cmds_need_lc=yes |
9784 |
|
# This is similar to how AIX traditionally builds its shared libraries. |
9785 |
|
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
9811 |
|
# Microsoft Visual C++. |
9812 |
|
# hardcode_libdir_flag_spec is actually meaningless, as there is |
9813 |
|
# no search path for DLLs. |
9814 |
< |
hardcode_libdir_flag_spec=' ' |
9815 |
< |
allow_undefined_flag=unsupported |
9816 |
< |
# Tell ltmain to make .lib files, not .a files. |
9817 |
< |
libext=lib |
9818 |
< |
# Tell ltmain to make .dll files, not .so files. |
9819 |
< |
shrext_cmds=".dll" |
9820 |
< |
# FIXME: Setting linknames here is a bad hack. |
9821 |
< |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
9822 |
< |
# The linker will automatically build a .lib file if we build a DLL. |
9823 |
< |
old_archive_from_new_cmds='true' |
9824 |
< |
# FIXME: Should let the user specify the lib program. |
9825 |
< |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
9826 |
< |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
9827 |
< |
enable_shared_with_static_runtimes=yes |
9814 |
> |
case $cc_basename in |
9815 |
> |
cl*) |
9816 |
> |
# Native MSVC |
9817 |
> |
hardcode_libdir_flag_spec=' ' |
9818 |
> |
allow_undefined_flag=unsupported |
9819 |
> |
always_export_symbols=yes |
9820 |
> |
file_list_spec='@' |
9821 |
> |
# Tell ltmain to make .lib files, not .a files. |
9822 |
> |
libext=lib |
9823 |
> |
# Tell ltmain to make .dll files, not .so files. |
9824 |
> |
shrext_cmds=".dll" |
9825 |
> |
# FIXME: Setting linknames here is a bad hack. |
9826 |
> |
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
9827 |
> |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
9828 |
> |
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
9829 |
> |
else |
9830 |
> |
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
9831 |
> |
fi~ |
9832 |
> |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
9833 |
> |
linknames=' |
9834 |
> |
# The linker will not automatically build a static lib if we build a DLL. |
9835 |
> |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
9836 |
> |
enable_shared_with_static_runtimes=yes |
9837 |
> |
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
9838 |
> |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
9839 |
> |
# Don't use ranlib |
9840 |
> |
old_postinstall_cmds='chmod 644 $oldlib' |
9841 |
> |
postlink_cmds='lt_outputfile="@OUTPUT@"~ |
9842 |
> |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
9843 |
> |
case $lt_outputfile in |
9844 |
> |
*.exe|*.EXE) ;; |
9845 |
> |
*) |
9846 |
> |
lt_outputfile="$lt_outputfile.exe" |
9847 |
> |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
9848 |
> |
;; |
9849 |
> |
esac~ |
9850 |
> |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
9851 |
> |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
9852 |
> |
$RM "$lt_outputfile.manifest"; |
9853 |
> |
fi' |
9854 |
> |
;; |
9855 |
> |
*) |
9856 |
> |
# Assume MSVC wrapper |
9857 |
> |
hardcode_libdir_flag_spec=' ' |
9858 |
> |
allow_undefined_flag=unsupported |
9859 |
> |
# Tell ltmain to make .lib files, not .a files. |
9860 |
> |
libext=lib |
9861 |
> |
# Tell ltmain to make .dll files, not .so files. |
9862 |
> |
shrext_cmds=".dll" |
9863 |
> |
# FIXME: Setting linknames here is a bad hack. |
9864 |
> |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
9865 |
> |
# The linker will automatically build a .lib file if we build a DLL. |
9866 |
> |
old_archive_from_new_cmds='true' |
9867 |
> |
# FIXME: Should let the user specify the lib program. |
9868 |
> |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
9869 |
> |
enable_shared_with_static_runtimes=yes |
9870 |
> |
;; |
9871 |
> |
esac |
9872 |
|
;; |
9873 |
|
|
9874 |
|
darwin* | rhapsody*) |
9878 |
|
hardcode_direct=no |
9879 |
|
hardcode_automatic=yes |
9880 |
|
hardcode_shlibpath_var=unsupported |
9881 |
< |
whole_archive_flag_spec='' |
9881 |
> |
if test "$lt_cv_ld_force_load" = "yes"; then |
9882 |
> |
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
9883 |
> |
|
9884 |
> |
else |
9885 |
> |
whole_archive_flag_spec='' |
9886 |
> |
fi |
9887 |
|
link_all_deplibs=yes |
9888 |
|
allow_undefined_flag="$_lt_dar_allow_undefined" |
9889 |
|
case $cc_basename in |
9891 |
|
*) _lt_dar_can_shared=$GCC ;; |
9892 |
|
esac |
9893 |
|
if test "$_lt_dar_can_shared" = "yes"; then |
9894 |
< |
output_verbose_link_cmd=echo |
9894 |
> |
output_verbose_link_cmd=func_echo_all |
9895 |
|
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
9896 |
|
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
9897 |
|
archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" |
9909 |
|
hardcode_shlibpath_var=no |
9910 |
|
;; |
9911 |
|
|
9020 |
– |
freebsd1*) |
9021 |
– |
ld_shlibs=no |
9022 |
– |
;; |
9023 |
– |
|
9912 |
|
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
9913 |
|
# support. Future versions do this automatically, but an explicit c++rt0.o |
9914 |
|
# does not break anything, and helps significantly (at the cost of a little |
9921 |
|
;; |
9922 |
|
|
9923 |
|
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
9924 |
< |
freebsd2*) |
9924 |
> |
freebsd2.*) |
9925 |
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
9926 |
|
hardcode_direct=yes |
9927 |
|
hardcode_minus_L=yes |
9930 |
|
|
9931 |
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
9932 |
|
freebsd* | dragonfly*) |
9933 |
< |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
9933 |
> |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
9934 |
|
hardcode_libdir_flag_spec='-R$libdir' |
9935 |
|
hardcode_direct=yes |
9936 |
|
hardcode_shlibpath_var=no |
9938 |
|
|
9939 |
|
hpux9*) |
9940 |
|
if test "$GCC" = yes; then |
9941 |
< |
archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
9941 |
> |
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
9942 |
|
else |
9943 |
|
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
9944 |
|
fi |
9953 |
|
;; |
9954 |
|
|
9955 |
|
hpux10*) |
9956 |
< |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
9957 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9956 |
> |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
9957 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9958 |
|
else |
9959 |
|
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
9960 |
|
fi |
9961 |
|
if test "$with_gnu_ld" = no; then |
9962 |
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
9075 |
– |
hardcode_libdir_flag_spec_ld='+b $libdir' |
9963 |
|
hardcode_libdir_separator=: |
9964 |
|
hardcode_direct=yes |
9965 |
|
hardcode_direct_absolute=yes |
9971 |
|
;; |
9972 |
|
|
9973 |
|
hpux11*) |
9974 |
< |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
9974 |
> |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
9975 |
|
case $host_cpu in |
9976 |
|
hppa*64*) |
9977 |
|
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
9978 |
|
;; |
9979 |
|
ia64*) |
9980 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
9980 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
9981 |
|
;; |
9982 |
|
*) |
9983 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9983 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9984 |
|
;; |
9985 |
|
esac |
9986 |
|
else |
9992 |
|
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
9993 |
|
;; |
9994 |
|
*) |
9995 |
< |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9995 |
> |
|
9996 |
> |
# Older versions of the 11.00 compiler do not understand -b yet |
9997 |
> |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
9998 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
9999 |
> |
$as_echo_n "checking if $CC understands -b... " >&6; } |
10000 |
> |
if ${lt_cv_prog_compiler__b+:} false; then : |
10001 |
> |
$as_echo_n "(cached) " >&6 |
10002 |
> |
else |
10003 |
> |
lt_cv_prog_compiler__b=no |
10004 |
> |
save_LDFLAGS="$LDFLAGS" |
10005 |
> |
LDFLAGS="$LDFLAGS -b" |
10006 |
> |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
10007 |
> |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
10008 |
> |
# The linker can only warn and ignore the option if not recognized |
10009 |
> |
# So say no if there are warnings |
10010 |
> |
if test -s conftest.err; then |
10011 |
> |
# Append any errors to the config.log. |
10012 |
> |
cat conftest.err 1>&5 |
10013 |
> |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
10014 |
> |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
10015 |
> |
if diff conftest.exp conftest.er2 >/dev/null; then |
10016 |
> |
lt_cv_prog_compiler__b=yes |
10017 |
> |
fi |
10018 |
> |
else |
10019 |
> |
lt_cv_prog_compiler__b=yes |
10020 |
> |
fi |
10021 |
> |
fi |
10022 |
> |
$RM -r conftest* |
10023 |
> |
LDFLAGS="$save_LDFLAGS" |
10024 |
> |
|
10025 |
> |
fi |
10026 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
10027 |
> |
$as_echo "$lt_cv_prog_compiler__b" >&6; } |
10028 |
> |
|
10029 |
> |
if test x"$lt_cv_prog_compiler__b" = xyes; then |
10030 |
> |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
10031 |
> |
else |
10032 |
> |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
10033 |
> |
fi |
10034 |
> |
|
10035 |
|
;; |
10036 |
|
esac |
10037 |
|
fi |
10059 |
|
|
10060 |
|
irix5* | irix6* | nonstopux*) |
10061 |
|
if test "$GCC" = yes; then |
10062 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
10062 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
10063 |
|
# Try to use the -exported_symbol ld option, if it does not |
10064 |
|
# work, assume that -exports_file does not work either and |
10065 |
|
# implicitly export all symbols. |
10066 |
< |
save_LDFLAGS="$LDFLAGS" |
10067 |
< |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
10068 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10066 |
> |
# This should be the same for all languages, so no per-tag cache variable. |
10067 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
10068 |
> |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
10069 |
> |
if ${lt_cv_irix_exported_symbol+:} false; then : |
10070 |
> |
$as_echo_n "(cached) " >&6 |
10071 |
> |
else |
10072 |
> |
save_LDFLAGS="$LDFLAGS" |
10073 |
> |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
10074 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10075 |
|
/* end confdefs.h. */ |
10076 |
< |
int foo(void) {} |
10076 |
> |
int foo (void) { return 0; } |
10077 |
|
_ACEOF |
10078 |
|
if ac_fn_c_try_link "$LINENO"; then : |
10079 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' |
10080 |
< |
|
10079 |
> |
lt_cv_irix_exported_symbol=yes |
10080 |
> |
else |
10081 |
> |
lt_cv_irix_exported_symbol=no |
10082 |
|
fi |
10083 |
|
rm -f core conftest.err conftest.$ac_objext \ |
10084 |
|
conftest$ac_exeext conftest.$ac_ext |
10085 |
< |
LDFLAGS="$save_LDFLAGS" |
10085 |
> |
LDFLAGS="$save_LDFLAGS" |
10086 |
> |
fi |
10087 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
10088 |
> |
$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
10089 |
> |
if test "$lt_cv_irix_exported_symbol" = yes; then |
10090 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' |
10091 |
> |
fi |
10092 |
|
else |
10093 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
10094 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' |
10093 |
> |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
10094 |
> |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' |
10095 |
|
fi |
10096 |
|
archive_cmds_need_lc='no' |
10097 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
10153 |
|
hardcode_libdir_flag_spec='-L$libdir' |
10154 |
|
hardcode_minus_L=yes |
10155 |
|
allow_undefined_flag=unsupported |
10156 |
< |
archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' |
10156 |
> |
archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' |
10157 |
|
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
10158 |
|
;; |
10159 |
|
|
10160 |
|
osf3*) |
10161 |
|
if test "$GCC" = yes; then |
10162 |
|
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
10163 |
< |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
10163 |
> |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
10164 |
|
else |
10165 |
|
allow_undefined_flag=' -expect_unresolved \*' |
10166 |
< |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
10166 |
> |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
10167 |
|
fi |
10168 |
|
archive_cmds_need_lc='no' |
10169 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
10173 |
|
osf4* | osf5*) # as osf3* with the addition of -msym flag |
10174 |
|
if test "$GCC" = yes; then |
10175 |
|
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
10176 |
< |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
10176 |
> |
archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
10177 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
10178 |
|
else |
10179 |
|
allow_undefined_flag=' -expect_unresolved \*' |
10180 |
< |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
10180 |
> |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
10181 |
|
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ |
10182 |
< |
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' |
10182 |
> |
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' |
10183 |
|
|
10184 |
|
# Both c and cxx compiler support -rpath directly |
10185 |
|
hardcode_libdir_flag_spec='-rpath $libdir' |
10192 |
|
no_undefined_flag=' -z defs' |
10193 |
|
if test "$GCC" = yes; then |
10194 |
|
wlarc='${wl}' |
10195 |
< |
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
10195 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
10196 |
|
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
10197 |
< |
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
10197 |
> |
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
10198 |
|
else |
10199 |
|
case `$CC -V 2>&1` in |
10200 |
|
*"Compilers 5.0"*) |
10382 |
|
# to ld, don't add -lc before -lgcc. |
10383 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
10384 |
|
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
10385 |
< |
$RM conftest* |
10386 |
< |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
10385 |
> |
if ${lt_cv_archive_cmds_need_lc+:} false; then : |
10386 |
> |
$as_echo_n "(cached) " >&6 |
10387 |
> |
else |
10388 |
> |
$RM conftest* |
10389 |
> |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
10390 |
|
|
10391 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
10391 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
10392 |
|
(eval $ac_compile) 2>&5 |
10393 |
|
ac_status=$? |
10394 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10395 |
|
test $ac_status = 0; } 2>conftest.err; then |
10396 |
< |
soname=conftest |
10397 |
< |
lib=conftest |
10398 |
< |
libobjs=conftest.$ac_objext |
10399 |
< |
deplibs= |
10400 |
< |
wl=$lt_prog_compiler_wl |
10401 |
< |
pic_flag=$lt_prog_compiler_pic |
10402 |
< |
compiler_flags=-v |
10403 |
< |
linker_flags=-v |
10404 |
< |
verstring= |
10405 |
< |
output_objdir=. |
10406 |
< |
libname=conftest |
10407 |
< |
lt_save_allow_undefined_flag=$allow_undefined_flag |
10408 |
< |
allow_undefined_flag= |
10409 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
10396 |
> |
soname=conftest |
10397 |
> |
lib=conftest |
10398 |
> |
libobjs=conftest.$ac_objext |
10399 |
> |
deplibs= |
10400 |
> |
wl=$lt_prog_compiler_wl |
10401 |
> |
pic_flag=$lt_prog_compiler_pic |
10402 |
> |
compiler_flags=-v |
10403 |
> |
linker_flags=-v |
10404 |
> |
verstring= |
10405 |
> |
output_objdir=. |
10406 |
> |
libname=conftest |
10407 |
> |
lt_save_allow_undefined_flag=$allow_undefined_flag |
10408 |
> |
allow_undefined_flag= |
10409 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
10410 |
|
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
10411 |
|
ac_status=$? |
10412 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10413 |
|
test $ac_status = 0; } |
10414 |
< |
then |
10415 |
< |
archive_cmds_need_lc=no |
10416 |
< |
else |
10417 |
< |
archive_cmds_need_lc=yes |
10418 |
< |
fi |
10419 |
< |
allow_undefined_flag=$lt_save_allow_undefined_flag |
10420 |
< |
else |
10421 |
< |
cat conftest.err 1>&5 |
10422 |
< |
fi |
10423 |
< |
$RM conftest* |
10424 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 |
10425 |
< |
$as_echo "$archive_cmds_need_lc" >&6; } |
10414 |
> |
then |
10415 |
> |
lt_cv_archive_cmds_need_lc=no |
10416 |
> |
else |
10417 |
> |
lt_cv_archive_cmds_need_lc=yes |
10418 |
> |
fi |
10419 |
> |
allow_undefined_flag=$lt_save_allow_undefined_flag |
10420 |
> |
else |
10421 |
> |
cat conftest.err 1>&5 |
10422 |
> |
fi |
10423 |
> |
$RM conftest* |
10424 |
> |
|
10425 |
> |
fi |
10426 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
10427 |
> |
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } |
10428 |
> |
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
10429 |
|
;; |
10430 |
|
esac |
10431 |
|
fi |
10583 |
|
|
10584 |
|
|
10585 |
|
|
9641 |
– |
|
9642 |
– |
|
9643 |
– |
|
9644 |
– |
|
9645 |
– |
|
10586 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
10587 |
|
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
10588 |
|
|
10591 |
|
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
10592 |
|
*) lt_awk_arg="/^libraries:/" ;; |
10593 |
|
esac |
10594 |
< |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
10595 |
< |
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then |
10594 |
> |
case $host_os in |
10595 |
> |
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; |
10596 |
> |
*) lt_sed_strip_eq="s,=/,/,g" ;; |
10597 |
> |
esac |
10598 |
> |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
10599 |
> |
case $lt_search_path_spec in |
10600 |
> |
*\;*) |
10601 |
|
# if the path contains ";" then we assume it to be the separator |
10602 |
|
# otherwise default to the standard path separator (i.e. ":") - it is |
10603 |
|
# assumed that no part of a normal pathname contains ";" but that should |
10604 |
|
# okay in the real world where ";" in dirpaths is itself problematic. |
10605 |
< |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` |
10606 |
< |
else |
10607 |
< |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
10608 |
< |
fi |
10605 |
> |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
10606 |
> |
;; |
10607 |
> |
*) |
10608 |
> |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
10609 |
> |
;; |
10610 |
> |
esac |
10611 |
|
# Ok, now we have the path, separated by spaces, we can step through it |
10612 |
|
# and add multilib dir if necessary. |
10613 |
|
lt_tmp_lt_search_path_spec= |
10620 |
|
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
10621 |
|
fi |
10622 |
|
done |
10623 |
< |
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' |
10623 |
> |
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
10624 |
|
BEGIN {RS=" "; FS="/|\n";} { |
10625 |
|
lt_foo=""; |
10626 |
|
lt_count=0; |
10640 |
|
if (lt_foo != "") { lt_freq[lt_foo]++; } |
10641 |
|
if (lt_freq[lt_foo] == 1) { print lt_foo; } |
10642 |
|
}'` |
10643 |
< |
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` |
10643 |
> |
# AWK program above erroneously prepends '/' to C:/dos/paths |
10644 |
> |
# for these hosts. |
10645 |
> |
case $host_os in |
10646 |
> |
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
10647 |
> |
$SED 's,/\([A-Za-z]:\),\1,g'` ;; |
10648 |
> |
esac |
10649 |
> |
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
10650 |
|
else |
10651 |
|
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
10652 |
|
fi |
10672 |
|
|
10673 |
|
case $host_os in |
10674 |
|
aix3*) |
10675 |
< |
version_type=linux |
10675 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10676 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
10677 |
|
shlibpath_var=LIBPATH |
10678 |
|
|
10681 |
|
;; |
10682 |
|
|
10683 |
|
aix[4-9]*) |
10684 |
< |
version_type=linux |
10684 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10685 |
|
need_lib_prefix=no |
10686 |
|
need_version=no |
10687 |
|
hardcode_into_libs=yes |
10734 |
|
m68k) |
10735 |
|
library_names_spec='$libname.ixlibrary $libname.a' |
10736 |
|
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
10737 |
< |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
10737 |
> |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
10738 |
|
;; |
10739 |
|
esac |
10740 |
|
;; |
10746 |
|
;; |
10747 |
|
|
10748 |
|
bsdi[45]*) |
10749 |
< |
version_type=linux |
10749 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10750 |
|
need_version=no |
10751 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10752 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
10765 |
|
need_version=no |
10766 |
|
need_lib_prefix=no |
10767 |
|
|
10768 |
< |
case $GCC,$host_os in |
10769 |
< |
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) |
10768 |
> |
case $GCC,$cc_basename in |
10769 |
> |
yes,*) |
10770 |
> |
# gcc |
10771 |
|
library_names_spec='$libname.dll.a' |
10772 |
|
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
10773 |
|
postinstall_cmds='base_file=`basename \${file}`~ |
10788 |
|
cygwin*) |
10789 |
|
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
10790 |
|
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
10791 |
< |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
10791 |
> |
|
10792 |
> |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
10793 |
|
;; |
10794 |
|
mingw* | cegcc*) |
10795 |
|
# MinGW DLLs use traditional 'lib' prefix |
10796 |
|
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
9842 |
– |
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
9843 |
– |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
9844 |
– |
# It is most probably a Windows format PATH printed by |
9845 |
– |
# mingw gcc, but we are running on Cygwin. Gcc prints its search |
9846 |
– |
# path with ; separators, and with drive letters. We can handle the |
9847 |
– |
# drive letters (cygwin fileutils understands them), so leave them, |
9848 |
– |
# especially as we might pass files found there to a mingw objdump, |
9849 |
– |
# which wouldn't understand a cygwinified path. Ahh. |
9850 |
– |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
9851 |
– |
else |
9852 |
– |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
9853 |
– |
fi |
10797 |
|
;; |
10798 |
|
pw32*) |
10799 |
|
# pw32 DLLs use 'pw' prefix rather than 'lib' |
10800 |
|
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
10801 |
|
;; |
10802 |
|
esac |
10803 |
+ |
dynamic_linker='Win32 ld.exe' |
10804 |
+ |
;; |
10805 |
+ |
|
10806 |
+ |
*,cl*) |
10807 |
+ |
# Native MSVC |
10808 |
+ |
libname_spec='$name' |
10809 |
+ |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
10810 |
+ |
library_names_spec='${libname}.dll.lib' |
10811 |
+ |
|
10812 |
+ |
case $build_os in |
10813 |
+ |
mingw*) |
10814 |
+ |
sys_lib_search_path_spec= |
10815 |
+ |
lt_save_ifs=$IFS |
10816 |
+ |
IFS=';' |
10817 |
+ |
for lt_path in $LIB |
10818 |
+ |
do |
10819 |
+ |
IFS=$lt_save_ifs |
10820 |
+ |
# Let DOS variable expansion print the short 8.3 style file name. |
10821 |
+ |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
10822 |
+ |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
10823 |
+ |
done |
10824 |
+ |
IFS=$lt_save_ifs |
10825 |
+ |
# Convert to MSYS style. |
10826 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
10827 |
+ |
;; |
10828 |
+ |
cygwin*) |
10829 |
+ |
# Convert to unix form, then to dos form, then back to unix form |
10830 |
+ |
# but this time dos style (no spaces!) so that the unix form looks |
10831 |
+ |
# like /cygdrive/c/PROGRA~1:/cygdr... |
10832 |
+ |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
10833 |
+ |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
10834 |
+ |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
10835 |
+ |
;; |
10836 |
+ |
*) |
10837 |
+ |
sys_lib_search_path_spec="$LIB" |
10838 |
+ |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
10839 |
+ |
# It is most probably a Windows format PATH. |
10840 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
10841 |
+ |
else |
10842 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
10843 |
+ |
fi |
10844 |
+ |
# FIXME: find the short name or the path components, as spaces are |
10845 |
+ |
# common. (e.g. "Program Files" -> "PROGRA~1") |
10846 |
+ |
;; |
10847 |
+ |
esac |
10848 |
+ |
|
10849 |
+ |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
10850 |
+ |
postinstall_cmds='base_file=`basename \${file}`~ |
10851 |
+ |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
10852 |
+ |
dldir=$destdir/`dirname \$dlpath`~ |
10853 |
+ |
test -d \$dldir || mkdir -p \$dldir~ |
10854 |
+ |
$install_prog $dir/$dlname \$dldir/$dlname' |
10855 |
+ |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
10856 |
+ |
dlpath=$dir/\$dldll~ |
10857 |
+ |
$RM \$dlpath' |
10858 |
+ |
shlibpath_overrides_runpath=yes |
10859 |
+ |
dynamic_linker='Win32 link.exe' |
10860 |
|
;; |
10861 |
|
|
10862 |
|
*) |
10863 |
+ |
# Assume MSVC wrapper |
10864 |
|
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
10865 |
+ |
dynamic_linker='Win32 ld.exe' |
10866 |
|
;; |
10867 |
|
esac |
9866 |
– |
dynamic_linker='Win32 ld.exe' |
10868 |
|
# FIXME: first we should search . and the directory the executable is in |
10869 |
|
shlibpath_var=PATH |
10870 |
|
;; |
10885 |
|
;; |
10886 |
|
|
10887 |
|
dgux*) |
10888 |
< |
version_type=linux |
10888 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10889 |
|
need_lib_prefix=no |
10890 |
|
need_version=no |
10891 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
10893 |
|
shlibpath_var=LD_LIBRARY_PATH |
10894 |
|
;; |
10895 |
|
|
9895 |
– |
freebsd1*) |
9896 |
– |
dynamic_linker=no |
9897 |
– |
;; |
9898 |
– |
|
10896 |
|
freebsd* | dragonfly*) |
10897 |
|
# DragonFly does not have aout. When/if they implement a new |
10898 |
|
# versioning mechanism, adjust this. |
10900 |
|
objformat=`/usr/bin/objformat` |
10901 |
|
else |
10902 |
|
case $host_os in |
10903 |
< |
freebsd[123]*) objformat=aout ;; |
10903 |
> |
freebsd[23].*) objformat=aout ;; |
10904 |
|
*) objformat=elf ;; |
10905 |
|
esac |
10906 |
|
fi |
10918 |
|
esac |
10919 |
|
shlibpath_var=LD_LIBRARY_PATH |
10920 |
|
case $host_os in |
10921 |
< |
freebsd2*) |
10921 |
> |
freebsd2.*) |
10922 |
|
shlibpath_overrides_runpath=yes |
10923 |
|
;; |
10924 |
|
freebsd3.[01]* | freebsdelf3.[01]*) |
10938 |
|
;; |
10939 |
|
|
10940 |
|
gnu*) |
10941 |
< |
version_type=linux |
10941 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10942 |
|
need_lib_prefix=no |
10943 |
|
need_version=no |
10944 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
10945 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
10946 |
|
shlibpath_var=LD_LIBRARY_PATH |
10947 |
+ |
shlibpath_overrides_runpath=no |
10948 |
+ |
hardcode_into_libs=yes |
10949 |
+ |
;; |
10950 |
+ |
|
10951 |
+ |
haiku*) |
10952 |
+ |
version_type=linux # correct to gnu/linux during the next big refactor |
10953 |
+ |
need_lib_prefix=no |
10954 |
+ |
need_version=no |
10955 |
+ |
dynamic_linker="$host_os runtime_loader" |
10956 |
+ |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
10957 |
+ |
soname_spec='${libname}${release}${shared_ext}$major' |
10958 |
+ |
shlibpath_var=LIBRARY_PATH |
10959 |
+ |
shlibpath_overrides_runpath=yes |
10960 |
+ |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
10961 |
|
hardcode_into_libs=yes |
10962 |
|
;; |
10963 |
|
|
11003 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
11004 |
|
;; |
11005 |
|
esac |
11006 |
< |
# HP-UX runs *really* slowly unless shared libraries are mode 555. |
11006 |
> |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
11007 |
|
postinstall_cmds='chmod 555 $lib' |
11008 |
+ |
# or fails outright, so override atomically: |
11009 |
+ |
install_override_mode=555 |
11010 |
|
;; |
11011 |
|
|
11012 |
|
interix[3-9]*) |
11013 |
< |
version_type=linux |
11013 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11014 |
|
need_lib_prefix=no |
11015 |
|
need_version=no |
11016 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
11026 |
|
nonstopux*) version_type=nonstopux ;; |
11027 |
|
*) |
11028 |
|
if test "$lt_cv_prog_gnu_ld" = yes; then |
11029 |
< |
version_type=linux |
11029 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11030 |
|
else |
11031 |
|
version_type=irix |
11032 |
|
fi ;; |
11063 |
|
dynamic_linker=no |
11064 |
|
;; |
11065 |
|
|
11066 |
< |
# This must be Linux ELF. |
11067 |
< |
linux* | k*bsd*-gnu) |
11068 |
< |
version_type=linux |
11066 |
> |
# This must be glibc/ELF. |
11067 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
11068 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11069 |
|
need_lib_prefix=no |
11070 |
|
need_version=no |
11071 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11073 |
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
11074 |
|
shlibpath_var=LD_LIBRARY_PATH |
11075 |
|
shlibpath_overrides_runpath=no |
11076 |
+ |
|
11077 |
|
# Some binutils ld are patched to set DT_RUNPATH |
11078 |
< |
save_LDFLAGS=$LDFLAGS |
11079 |
< |
save_libdir=$libdir |
11080 |
< |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
11081 |
< |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
11082 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11078 |
> |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
11079 |
> |
$as_echo_n "(cached) " >&6 |
11080 |
> |
else |
11081 |
> |
lt_cv_shlibpath_overrides_runpath=no |
11082 |
> |
save_LDFLAGS=$LDFLAGS |
11083 |
> |
save_libdir=$libdir |
11084 |
> |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
11085 |
> |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
11086 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11087 |
|
/* end confdefs.h. */ |
11088 |
|
|
11089 |
|
int |
11096 |
|
_ACEOF |
11097 |
|
if ac_fn_c_try_link "$LINENO"; then : |
11098 |
|
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
11099 |
< |
shlibpath_overrides_runpath=yes |
11099 |
> |
lt_cv_shlibpath_overrides_runpath=yes |
11100 |
|
fi |
11101 |
|
fi |
11102 |
|
rm -f core conftest.err conftest.$ac_objext \ |
11103 |
|
conftest$ac_exeext conftest.$ac_ext |
11104 |
< |
LDFLAGS=$save_LDFLAGS |
11105 |
< |
libdir=$save_libdir |
11104 |
> |
LDFLAGS=$save_LDFLAGS |
11105 |
> |
libdir=$save_libdir |
11106 |
> |
|
11107 |
> |
fi |
11108 |
> |
|
11109 |
> |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
11110 |
|
|
11111 |
|
# This implies no fast_install, which is unacceptable. |
11112 |
|
# Some rework will be needed to allow for fast_install |
11113 |
|
# before this can be enabled. |
11114 |
|
hardcode_into_libs=yes |
11115 |
|
|
10094 |
– |
# find out which ABI we are using |
10095 |
– |
libsuff= |
10096 |
– |
case "$host_cpu" in |
10097 |
– |
x86_64*|s390x*|powerpc64*) |
10098 |
– |
echo '#line 10098 "configure"' > conftest.$ac_ext |
10099 |
– |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
10100 |
– |
(eval $ac_compile) 2>&5 |
10101 |
– |
ac_status=$? |
10102 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10103 |
– |
test $ac_status = 0; }; then |
10104 |
– |
case `/usr/bin/file conftest.$ac_objext` in |
10105 |
– |
*64-bit*) |
10106 |
– |
libsuff=64 |
10107 |
– |
;; |
10108 |
– |
esac |
10109 |
– |
fi |
10110 |
– |
rm -rf conftest* |
10111 |
– |
;; |
10112 |
– |
esac |
10113 |
– |
|
10114 |
– |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" |
10115 |
– |
|
11116 |
|
# Append ld.so.conf contents to the search path |
11117 |
|
if test -f /etc/ld.so.conf; then |
11118 |
< |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
11119 |
< |
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" |
11118 |
> |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` |
11119 |
> |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
11120 |
|
fi |
11121 |
|
|
11122 |
|
# We used to test for /lib/ld.so.1 and disable shared libraries on |
11147 |
|
;; |
11148 |
|
|
11149 |
|
newsos6) |
11150 |
< |
version_type=linux |
11150 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11151 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11152 |
|
shlibpath_var=LD_LIBRARY_PATH |
11153 |
|
shlibpath_overrides_runpath=yes |
11216 |
|
;; |
11217 |
|
|
11218 |
|
solaris*) |
11219 |
< |
version_type=linux |
11219 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11220 |
|
need_lib_prefix=no |
11221 |
|
need_version=no |
11222 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11241 |
|
;; |
11242 |
|
|
11243 |
|
sysv4 | sysv4.3*) |
11244 |
< |
version_type=linux |
11244 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11245 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11246 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
11247 |
|
shlibpath_var=LD_LIBRARY_PATH |
11265 |
|
|
11266 |
|
sysv4*MP*) |
11267 |
|
if test -d /usr/nec ;then |
11268 |
< |
version_type=linux |
11268 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11269 |
|
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
11270 |
|
soname_spec='$libname${shared_ext}.$major' |
11271 |
|
shlibpath_var=LD_LIBRARY_PATH |
11296 |
|
|
11297 |
|
tpf*) |
11298 |
|
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
11299 |
< |
version_type=linux |
11299 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11300 |
|
need_lib_prefix=no |
11301 |
|
need_version=no |
11302 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11306 |
|
;; |
11307 |
|
|
11308 |
|
uts4*) |
11309 |
< |
version_type=linux |
11309 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11310 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11311 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
11312 |
|
shlibpath_var=LD_LIBRARY_PATH |
11418 |
|
|
11419 |
|
|
11420 |
|
|
11421 |
+ |
|
11422 |
+ |
|
11423 |
+ |
|
11424 |
+ |
|
11425 |
+ |
|
11426 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
11427 |
|
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
11428 |
|
hardcode_action= |
11495 |
|
# if libdl is installed we need to link against it |
11496 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
11497 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
11498 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
11498 |
> |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
11499 |
|
$as_echo_n "(cached) " >&6 |
11500 |
|
else |
11501 |
|
ac_check_lib_save_LIBS=$LIBS |
11529 |
|
fi |
11530 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
11531 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
11532 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
11532 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
11533 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
11534 |
|
else |
11535 |
|
|
11543 |
|
|
11544 |
|
*) |
11545 |
|
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
11546 |
< |
if test "x$ac_cv_func_shl_load" = x""yes; then : |
11546 |
> |
if test "x$ac_cv_func_shl_load" = xyes; then : |
11547 |
|
lt_cv_dlopen="shl_load" |
11548 |
|
else |
11549 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
11550 |
|
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
11551 |
< |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : |
11551 |
> |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
11552 |
|
$as_echo_n "(cached) " >&6 |
11553 |
|
else |
11554 |
|
ac_check_lib_save_LIBS=$LIBS |
11582 |
|
fi |
11583 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
11584 |
|
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
11585 |
< |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : |
11585 |
> |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
11586 |
|
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
11587 |
|
else |
11588 |
|
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
11589 |
< |
if test "x$ac_cv_func_dlopen" = x""yes; then : |
11589 |
> |
if test "x$ac_cv_func_dlopen" = xyes; then : |
11590 |
|
lt_cv_dlopen="dlopen" |
11591 |
|
else |
11592 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
11593 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
11594 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
11594 |
> |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
11595 |
|
$as_echo_n "(cached) " >&6 |
11596 |
|
else |
11597 |
|
ac_check_lib_save_LIBS=$LIBS |
11625 |
|
fi |
11626 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
11627 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
11628 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
11628 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
11629 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
11630 |
|
else |
11631 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
11632 |
|
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
11633 |
< |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : |
11633 |
> |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
11634 |
|
$as_echo_n "(cached) " >&6 |
11635 |
|
else |
11636 |
|
ac_check_lib_save_LIBS=$LIBS |
11664 |
|
fi |
11665 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
11666 |
|
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
11667 |
< |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : |
11667 |
> |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
11668 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
11669 |
|
else |
11670 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
11671 |
|
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
11672 |
< |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : |
11672 |
> |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
11673 |
|
$as_echo_n "(cached) " >&6 |
11674 |
|
else |
11675 |
|
ac_check_lib_save_LIBS=$LIBS |
11703 |
|
fi |
11704 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
11705 |
|
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
11706 |
< |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : |
11706 |
> |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
11707 |
|
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
11708 |
|
fi |
11709 |
|
|
11744 |
|
|
11745 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
11746 |
|
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
11747 |
< |
if test "${lt_cv_dlopen_self+set}" = set; then : |
11747 |
> |
if ${lt_cv_dlopen_self+:} false; then : |
11748 |
|
$as_echo_n "(cached) " >&6 |
11749 |
|
else |
11750 |
|
if test "$cross_compiling" = yes; then : |
11753 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11754 |
|
lt_status=$lt_dlunknown |
11755 |
|
cat > conftest.$ac_ext <<_LT_EOF |
11756 |
< |
#line 10751 "configure" |
11756 |
> |
#line $LINENO "configure" |
11757 |
|
#include "confdefs.h" |
11758 |
|
|
11759 |
|
#if HAVE_DLFCN_H |
11794 |
|
# endif |
11795 |
|
#endif |
11796 |
|
|
11797 |
< |
void fnord() { int i=42;} |
11797 |
> |
/* When -fvisbility=hidden is used, assume the code has been annotated |
11798 |
> |
correspondingly for the symbols needed. */ |
11799 |
> |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
11800 |
> |
int fnord () __attribute__((visibility("default"))); |
11801 |
> |
#endif |
11802 |
> |
|
11803 |
> |
int fnord () { return 42; } |
11804 |
|
int main () |
11805 |
|
{ |
11806 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
11809 |
|
if (self) |
11810 |
|
{ |
11811 |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
11812 |
< |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
11812 |
> |
else |
11813 |
> |
{ |
11814 |
> |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
11815 |
> |
else puts (dlerror ()); |
11816 |
> |
} |
11817 |
|
/* dlclose (self); */ |
11818 |
|
} |
11819 |
|
else |
11850 |
|
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
11851 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
11852 |
|
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
11853 |
< |
if test "${lt_cv_dlopen_self_static+set}" = set; then : |
11853 |
> |
if ${lt_cv_dlopen_self_static+:} false; then : |
11854 |
|
$as_echo_n "(cached) " >&6 |
11855 |
|
else |
11856 |
|
if test "$cross_compiling" = yes; then : |
11859 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11860 |
|
lt_status=$lt_dlunknown |
11861 |
|
cat > conftest.$ac_ext <<_LT_EOF |
11862 |
< |
#line 10847 "configure" |
11862 |
> |
#line $LINENO "configure" |
11863 |
|
#include "confdefs.h" |
11864 |
|
|
11865 |
|
#if HAVE_DLFCN_H |
11900 |
|
# endif |
11901 |
|
#endif |
11902 |
|
|
11903 |
< |
void fnord() { int i=42;} |
11903 |
> |
/* When -fvisbility=hidden is used, assume the code has been annotated |
11904 |
> |
correspondingly for the symbols needed. */ |
11905 |
> |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
11906 |
> |
int fnord () __attribute__((visibility("default"))); |
11907 |
> |
#endif |
11908 |
> |
|
11909 |
> |
int fnord () { return 42; } |
11910 |
|
int main () |
11911 |
|
{ |
11912 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
11915 |
|
if (self) |
11916 |
|
{ |
11917 |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
11918 |
< |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
11918 |
> |
else |
11919 |
> |
{ |
11920 |
> |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
11921 |
> |
else puts (dlerror ()); |
11922 |
> |
} |
11923 |
|
/* dlclose (self); */ |
11924 |
|
} |
11925 |
|
else |
12088 |
|
|
12089 |
|
|
12090 |
|
|
12091 |
+ |
|
12092 |
+ |
|
12093 |
|
ac_config_commands="$ac_config_commands libtool" |
12094 |
|
|
12095 |
|
|
12100 |
|
|
12101 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5 |
12102 |
|
$as_echo_n "checking which extension is used for runtime loadable modules... " >&6; } |
12103 |
< |
if test "${libltdl_cv_shlibext+set}" = set; then : |
12103 |
> |
if ${libltdl_cv_shlibext+:} false; then : |
12104 |
|
$as_echo_n "(cached) " >&6 |
12105 |
|
else |
12106 |
|
|
12107 |
|
module=yes |
12108 |
|
eval libltdl_cv_shlibext=$shrext_cmds |
12109 |
+ |
module=no |
12110 |
+ |
eval libltdl_cv_shrext=$shrext_cmds |
12111 |
|
|
12112 |
|
fi |
12113 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5 |
12119 |
|
_ACEOF |
12120 |
|
|
12121 |
|
fi |
12122 |
+ |
if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then |
12123 |
+ |
|
12124 |
+ |
cat >>confdefs.h <<_ACEOF |
12125 |
+ |
#define LT_SHARED_EXT "$libltdl_cv_shrext" |
12126 |
+ |
_ACEOF |
12127 |
+ |
|
12128 |
+ |
fi |
12129 |
|
|
12130 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5 |
12131 |
|
$as_echo_n "checking which variable specifies run-time module search path... " >&6; } |
12132 |
< |
if test "${lt_cv_module_path_var+set}" = set; then : |
12132 |
> |
if ${lt_cv_module_path_var+:} false; then : |
12133 |
|
$as_echo_n "(cached) " >&6 |
12134 |
|
else |
12135 |
|
lt_cv_module_path_var="$shlibpath_var" |
12146 |
|
|
12147 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5 |
12148 |
|
$as_echo_n "checking for the default library search path... " >&6; } |
12149 |
< |
if test "${lt_cv_sys_dlsearch_path+set}" = set; then : |
12149 |
> |
if ${lt_cv_sys_dlsearch_path+:} false; then : |
12150 |
|
$as_echo_n "(cached) " >&6 |
12151 |
|
else |
12152 |
|
lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec" |
12183 |
|
LIBADD_DLOPEN= |
12184 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 |
12185 |
|
$as_echo_n "checking for library containing dlopen... " >&6; } |
12186 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
12186 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
12187 |
|
$as_echo_n "(cached) " >&6 |
12188 |
|
else |
12189 |
|
ac_func_search_save_LIBS=$LIBS |
12217 |
|
fi |
12218 |
|
rm -f core conftest.err conftest.$ac_objext \ |
12219 |
|
conftest$ac_exeext |
12220 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
12220 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
12221 |
|
break |
12222 |
|
fi |
12223 |
|
done |
12224 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
12224 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
12225 |
|
|
12226 |
|
else |
12227 |
|
ac_cv_search_dlopen=no |
12266 |
|
else |
12267 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
12268 |
|
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
12269 |
< |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : |
12269 |
> |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
12270 |
|
$as_echo_n "(cached) " >&6 |
12271 |
|
else |
12272 |
|
ac_check_lib_save_LIBS=$LIBS |
12300 |
|
fi |
12301 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
12302 |
|
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
12303 |
< |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : |
12303 |
> |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
12304 |
|
|
12305 |
|
$as_echo "#define HAVE_LIBDL 1" >>confdefs.h |
12306 |
|
|
12320 |
|
for ac_func in dlerror |
12321 |
|
do : |
12322 |
|
ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror" |
12323 |
< |
if test "x$ac_cv_func_dlerror" = x""yes; then : |
12323 |
> |
if test "x$ac_cv_func_dlerror" = xyes; then : |
12324 |
|
cat >>confdefs.h <<_ACEOF |
12325 |
|
#define HAVE_DLERROR 1 |
12326 |
|
_ACEOF |
12334 |
|
|
12335 |
|
LIBADD_SHL_LOAD= |
12336 |
|
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
12337 |
< |
if test "x$ac_cv_func_shl_load" = x""yes; then : |
12337 |
> |
if test "x$ac_cv_func_shl_load" = xyes; then : |
12338 |
|
|
12339 |
|
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
12340 |
|
|
12342 |
|
else |
12343 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
12344 |
|
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
12345 |
< |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : |
12345 |
> |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
12346 |
|
$as_echo_n "(cached) " >&6 |
12347 |
|
else |
12348 |
|
ac_check_lib_save_LIBS=$LIBS |
12376 |
|
fi |
12377 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
12378 |
|
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
12379 |
< |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : |
12379 |
> |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
12380 |
|
|
12381 |
|
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
12382 |
|
|
12392 |
|
darwin[1567].*) |
12393 |
|
# We only want this for pre-Mac OS X 10.4. |
12394 |
|
ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup" |
12395 |
< |
if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then : |
12395 |
> |
if test "x$ac_cv_func__dyld_func_lookup" = xyes; then : |
12396 |
|
|
12397 |
|
$as_echo "#define HAVE_DYLD 1" >>confdefs.h |
12398 |
|
|
12406 |
|
cygwin* | mingw* | os2* | pw32*) |
12407 |
|
ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h> |
12408 |
|
" |
12409 |
< |
if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then : |
12409 |
> |
if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then : |
12410 |
|
ac_have_decl=1 |
12411 |
|
else |
12412 |
|
ac_have_decl=0 |
12422 |
|
|
12423 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
12424 |
|
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
12425 |
< |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : |
12425 |
> |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
12426 |
|
$as_echo_n "(cached) " >&6 |
12427 |
|
else |
12428 |
|
ac_check_lib_save_LIBS=$LIBS |
12456 |
|
fi |
12457 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
12458 |
|
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
12459 |
< |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : |
12459 |
> |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
12460 |
|
|
12461 |
|
$as_echo "#define HAVE_DLD 1" >>confdefs.h |
12462 |
|
|
12490 |
|
|
12491 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5 |
12492 |
|
$as_echo_n "checking for _ prefix in compiled symbols... " >&6; } |
12493 |
< |
if test "${lt_cv_sys_symbol_underscore+set}" = set; then : |
12493 |
> |
if ${lt_cv_sys_symbol_underscore+:} false; then : |
12494 |
|
$as_echo_n "(cached) " >&6 |
12495 |
|
else |
12496 |
|
lt_cv_sys_symbol_underscore=no |
12540 |
|
test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then |
12541 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5 |
12542 |
|
$as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; } |
12543 |
< |
if test "${libltdl_cv_need_uscore+set}" = set; then : |
12543 |
> |
if ${libltdl_cv_need_uscore+:} false; then : |
12544 |
|
$as_echo_n "(cached) " >&6 |
12545 |
|
else |
12546 |
|
libltdl_cv_need_uscore=unknown |
12552 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12553 |
|
lt_status=$lt_dlunknown |
12554 |
|
cat > conftest.$ac_ext <<_LT_EOF |
12555 |
< |
#line 11519 "configure" |
12555 |
> |
#line $LINENO "configure" |
12556 |
|
#include "confdefs.h" |
12557 |
|
|
12558 |
|
#if HAVE_DLFCN_H |
12593 |
|
# endif |
12594 |
|
#endif |
12595 |
|
|
12596 |
< |
void fnord() { int i=42;} |
12596 |
> |
/* When -fvisbility=hidden is used, assume the code has been annotated |
12597 |
> |
correspondingly for the symbols needed. */ |
12598 |
> |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
12599 |
> |
int fnord () __attribute__((visibility("default"))); |
12600 |
> |
#endif |
12601 |
> |
|
12602 |
> |
int fnord () { return 42; } |
12603 |
|
int main () |
12604 |
|
{ |
12605 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
12608 |
|
if (self) |
12609 |
|
{ |
12610 |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
12611 |
< |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
12611 |
> |
else |
12612 |
> |
{ |
12613 |
> |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
12614 |
> |
else puts (dlerror ()); |
12615 |
> |
} |
12616 |
|
/* dlclose (self); */ |
12617 |
|
} |
12618 |
|
else |
12656 |
|
|
12657 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5 |
12658 |
|
$as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; } |
12659 |
< |
if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then : |
12659 |
> |
if ${lt_cv_sys_dlopen_deplibs+:} false; then : |
12660 |
|
$as_echo_n "(cached) " >&6 |
12661 |
|
else |
12662 |
|
# PORTME does your system automatically load deplibs for dlopen? |
12688 |
|
freebsd* | dragonfly*) |
12689 |
|
lt_cv_sys_dlopen_deplibs=yes |
12690 |
|
;; |
12691 |
< |
gnu* | linux* | k*bsd*-gnu) |
12691 |
> |
gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu) |
12692 |
|
# GNU and its variants, using gnu ld.so (Glibc) |
12693 |
|
lt_cv_sys_dlopen_deplibs=yes |
12694 |
|
;; |
12762 |
|
do : |
12763 |
|
ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default |
12764 |
|
" |
12765 |
< |
if test "x$ac_cv_header_argz_h" = x""yes; then : |
12765 |
> |
if test "x$ac_cv_header_argz_h" = xyes; then : |
12766 |
|
cat >>confdefs.h <<_ACEOF |
12767 |
|
#define HAVE_ARGZ_H 1 |
12768 |
|
_ACEOF |
12776 |
|
# include <argz.h> |
12777 |
|
#endif |
12778 |
|
" |
12779 |
< |
if test "x$ac_cv_type_error_t" = x""yes; then : |
12779 |
> |
if test "x$ac_cv_type_error_t" = xyes; then : |
12780 |
|
|
12781 |
|
cat >>confdefs.h <<_ACEOF |
12782 |
|
#define HAVE_ERROR_T 1 |
12799 |
|
do : |
12800 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12801 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12802 |
< |
eval as_val=\$$as_ac_var |
11757 |
< |
if test "x$as_val" = x""yes; then : |
12802 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
12803 |
|
cat >>confdefs.h <<_ACEOF |
12804 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12805 |
|
_ACEOF |
12816 |
|
if test -z "$ARGZ_H"; then : |
12817 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5 |
12818 |
|
$as_echo_n "checking if argz actually works... " >&6; } |
12819 |
< |
if test "${lt_cv_sys_argz_works+set}" = set; then : |
12819 |
> |
if ${lt_cv_sys_argz_works+:} false; then : |
12820 |
|
$as_echo_n "(cached) " >&6 |
12821 |
|
else |
12822 |
|
case $host_os in #( |
12847 |
|
fi |
12848 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5 |
12849 |
|
$as_echo "$lt_cv_sys_argz_works" >&6; } |
12850 |
< |
if test $lt_cv_sys_argz_works = yes; then : |
12850 |
> |
if test "$lt_cv_sys_argz_works" = yes; then : |
12851 |
|
|
12852 |
|
$as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h |
12853 |
|
|
12864 |
|
|
12865 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5 |
12866 |
|
$as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; } |
12867 |
< |
if test "${libltdl_cv_preloaded_symbols+set}" = set; then : |
12867 |
> |
if ${libltdl_cv_preloaded_symbols+:} false; then : |
12868 |
|
$as_echo_n "(cached) " >&6 |
12869 |
|
else |
12870 |
|
if test -n "$lt_cv_sys_global_symbol_pipe"; then |
12882 |
|
|
12883 |
|
fi |
12884 |
|
|
11840 |
– |
|
11841 |
– |
|
12885 |
|
# Set options |
12886 |
|
|
12887 |
|
|
12894 |
|
|
12895 |
|
|
12896 |
|
|
11854 |
– |
|
12897 |
|
# Check whether --with-included_ltdl was given. |
12898 |
|
if test "${with_included_ltdl+set}" = set; then : |
12899 |
|
withval=$with_included_ltdl; |
12906 |
|
ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default |
12907 |
|
|
12908 |
|
" |
12909 |
< |
if test "x$ac_cv_header_ltdl_h" = x""yes; then : |
12909 |
> |
if test "x$ac_cv_header_ltdl_h" = xyes; then : |
12910 |
|
ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default |
12911 |
|
#include <ltdl.h> |
12912 |
|
" |
12913 |
< |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then : |
12913 |
> |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then : |
12914 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5 |
12915 |
|
$as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; } |
12916 |
< |
if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then : |
12916 |
> |
if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then : |
12917 |
|
$as_echo_n "(cached) " >&6 |
12918 |
|
else |
12919 |
|
ac_check_lib_save_LIBS=$LIBS |
12947 |
|
fi |
12948 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5 |
12949 |
|
$as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; } |
12950 |
< |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then : |
12950 |
> |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then : |
12951 |
|
with_included_ltdl=no |
12952 |
|
else |
12953 |
|
with_included_ltdl=yes |
12967 |
|
|
12968 |
|
|
12969 |
|
|
11928 |
– |
|
11929 |
– |
|
11930 |
– |
|
11931 |
– |
|
11932 |
– |
|
12970 |
|
# Check whether --with-ltdl_include was given. |
12971 |
|
if test "${with_ltdl_include+set}" = set; then : |
12972 |
|
withval=$with_ltdl_include; |
12976 |
|
if test -n "$with_ltdl_include"; then |
12977 |
|
if test -f "$with_ltdl_include/ltdl.h"; then : |
12978 |
|
else |
12979 |
< |
as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5 |
12979 |
> |
as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5 |
12980 |
|
fi |
12981 |
|
else |
12982 |
|
with_ltdl_include=no |
12992 |
|
if test -n "$with_ltdl_lib"; then |
12993 |
|
if test -f "$with_ltdl_lib/libltdl.la"; then : |
12994 |
|
else |
12995 |
< |
as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5 |
12995 |
> |
as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5 |
12996 |
|
fi |
12997 |
|
else |
12998 |
|
with_ltdl_lib=no |
13001 |
|
case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in |
13002 |
|
,yes,no,no,) |
13003 |
|
case $enable_ltdl_convenience in |
13004 |
< |
no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;; |
13004 |
> |
no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;; |
13005 |
|
"") enable_ltdl_convenience=yes |
13006 |
|
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; |
13007 |
|
esac |
13029 |
|
LTDLINCL= |
13030 |
|
;; |
13031 |
|
,no*,no,*) |
13032 |
< |
as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5 |
13032 |
> |
as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5 |
13033 |
|
;; |
13034 |
|
*) with_included_ltdl=no |
13035 |
|
LIBLTDL="-L$with_ltdl_lib -lltdl" |
13080 |
|
|
13081 |
|
|
13082 |
|
|
12046 |
– |
subdirs="$subdirs libltdl" |
12047 |
– |
|
12048 |
– |
|
13083 |
|
|
13084 |
|
|
13085 |
|
|
13096 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13097 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
13098 |
|
" |
13099 |
< |
eval as_val=\$$as_ac_Header |
12066 |
< |
if test "x$as_val" = x""yes; then : |
13099 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
13100 |
|
cat >>confdefs.h <<_ACEOF |
13101 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13102 |
|
_ACEOF |
13110 |
|
do : |
13111 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13112 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13113 |
< |
eval as_val=\$$as_ac_var |
12081 |
< |
if test "x$as_val" = x""yes; then : |
13113 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13114 |
|
cat >>confdefs.h <<_ACEOF |
13115 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13116 |
|
_ACEOF |
13127 |
|
do : |
13128 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13129 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13130 |
< |
eval as_val=\$$as_ac_var |
12099 |
< |
if test "x$as_val" = x""yes; then : |
13130 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13131 |
|
cat >>confdefs.h <<_ACEOF |
13132 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13133 |
|
_ACEOF |
13147 |
|
_ACEOF |
13148 |
|
|
13149 |
|
|
13150 |
+ |
name= |
13151 |
+ |
eval "lt_libprefix=\"$libname_spec\"" |
13152 |
+ |
|
13153 |
+ |
cat >>confdefs.h <<_ACEOF |
13154 |
+ |
#define LT_LIBPREFIX "$lt_libprefix" |
13155 |
+ |
_ACEOF |
13156 |
+ |
|
13157 |
+ |
|
13158 |
|
name=ltdl |
13159 |
< |
LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""` |
13159 |
> |
eval "LTDLOPEN=\"$libname_spec\"" |
13160 |
|
|
13161 |
|
|
13162 |
|
|
13170 |
|
|
13171 |
|
LIBTOOL="$LIBTOOL --silent" |
13172 |
|
|
12134 |
– |
|
13173 |
|
# Checks for libraries. |
13174 |
|
|
13175 |
+ |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
13176 |
+ |
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
13177 |
+ |
|
13178 |
+ |
else |
13179 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
13180 |
+ |
$as_echo_n "checking for library containing getaddrinfo... " >&6; } |
13181 |
+ |
if ${ac_cv_search_getaddrinfo+:} false; then : |
13182 |
+ |
$as_echo_n "(cached) " >&6 |
13183 |
+ |
else |
13184 |
+ |
ac_func_search_save_LIBS=$LIBS |
13185 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13186 |
+ |
/* end confdefs.h. */ |
13187 |
+ |
|
13188 |
+ |
/* Override any GCC internal prototype to avoid an error. |
13189 |
+ |
Use char because int might match the return type of a GCC |
13190 |
+ |
builtin and then its argument prototype would still apply. */ |
13191 |
+ |
#ifdef __cplusplus |
13192 |
+ |
extern "C" |
13193 |
+ |
#endif |
13194 |
+ |
char getaddrinfo (); |
13195 |
+ |
int |
13196 |
+ |
main () |
13197 |
+ |
{ |
13198 |
+ |
return getaddrinfo (); |
13199 |
+ |
; |
13200 |
+ |
return 0; |
13201 |
+ |
} |
13202 |
+ |
_ACEOF |
13203 |
+ |
for ac_lib in '' nsl; do |
13204 |
+ |
if test -z "$ac_lib"; then |
13205 |
+ |
ac_res="none required" |
13206 |
+ |
else |
13207 |
+ |
ac_res=-l$ac_lib |
13208 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13209 |
+ |
fi |
13210 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
13211 |
+ |
ac_cv_search_getaddrinfo=$ac_res |
13212 |
+ |
fi |
13213 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
13214 |
+ |
conftest$ac_exeext |
13215 |
+ |
if ${ac_cv_search_getaddrinfo+:} false; then : |
13216 |
+ |
break |
13217 |
+ |
fi |
13218 |
+ |
done |
13219 |
+ |
if ${ac_cv_search_getaddrinfo+:} false; then : |
13220 |
+ |
|
13221 |
+ |
else |
13222 |
+ |
ac_cv_search_getaddrinfo=no |
13223 |
+ |
fi |
13224 |
+ |
rm conftest.$ac_ext |
13225 |
+ |
LIBS=$ac_func_search_save_LIBS |
13226 |
+ |
fi |
13227 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
13228 |
+ |
$as_echo "$ac_cv_search_getaddrinfo" >&6; } |
13229 |
+ |
ac_res=$ac_cv_search_getaddrinfo |
13230 |
+ |
if test "$ac_res" != no; then : |
13231 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13232 |
+ |
|
13233 |
+ |
fi |
13234 |
+ |
|
13235 |
+ |
fi |
13236 |
+ |
|
13237 |
+ |
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
13238 |
+ |
if test "x$ac_cv_func_getnameinfo" = xyes; then : |
13239 |
+ |
|
13240 |
+ |
else |
13241 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
13242 |
+ |
$as_echo_n "checking for library containing getnameinfo... " >&6; } |
13243 |
+ |
if ${ac_cv_search_getnameinfo+:} false; then : |
13244 |
+ |
$as_echo_n "(cached) " >&6 |
13245 |
+ |
else |
13246 |
+ |
ac_func_search_save_LIBS=$LIBS |
13247 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13248 |
+ |
/* end confdefs.h. */ |
13249 |
+ |
|
13250 |
+ |
/* Override any GCC internal prototype to avoid an error. |
13251 |
+ |
Use char because int might match the return type of a GCC |
13252 |
+ |
builtin and then its argument prototype would still apply. */ |
13253 |
+ |
#ifdef __cplusplus |
13254 |
+ |
extern "C" |
13255 |
+ |
#endif |
13256 |
+ |
char getnameinfo (); |
13257 |
+ |
int |
13258 |
+ |
main () |
13259 |
+ |
{ |
13260 |
+ |
return getnameinfo (); |
13261 |
+ |
; |
13262 |
+ |
return 0; |
13263 |
+ |
} |
13264 |
+ |
_ACEOF |
13265 |
+ |
for ac_lib in '' nsl; do |
13266 |
+ |
if test -z "$ac_lib"; then |
13267 |
+ |
ac_res="none required" |
13268 |
+ |
else |
13269 |
+ |
ac_res=-l$ac_lib |
13270 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13271 |
+ |
fi |
13272 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
13273 |
+ |
ac_cv_search_getnameinfo=$ac_res |
13274 |
+ |
fi |
13275 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
13276 |
+ |
conftest$ac_exeext |
13277 |
+ |
if ${ac_cv_search_getnameinfo+:} false; then : |
13278 |
+ |
break |
13279 |
+ |
fi |
13280 |
+ |
done |
13281 |
+ |
if ${ac_cv_search_getnameinfo+:} false; then : |
13282 |
+ |
|
13283 |
+ |
else |
13284 |
+ |
ac_cv_search_getnameinfo=no |
13285 |
+ |
fi |
13286 |
+ |
rm conftest.$ac_ext |
13287 |
+ |
LIBS=$ac_func_search_save_LIBS |
13288 |
+ |
fi |
13289 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
13290 |
+ |
$as_echo "$ac_cv_search_getnameinfo" >&6; } |
13291 |
+ |
ac_res=$ac_cv_search_getnameinfo |
13292 |
+ |
if test "$ac_res" != no; then : |
13293 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13294 |
+ |
|
13295 |
+ |
fi |
13296 |
+ |
|
13297 |
+ |
fi |
13298 |
+ |
|
13299 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
13300 |
|
$as_echo_n "checking for library containing socket... " >&6; } |
13301 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
13301 |
> |
if ${ac_cv_search_socket+:} false; then : |
13302 |
|
$as_echo_n "(cached) " >&6 |
13303 |
|
else |
13304 |
|
ac_func_search_save_LIBS=$LIBS |
13332 |
|
fi |
13333 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13334 |
|
conftest$ac_exeext |
13335 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
13335 |
> |
if ${ac_cv_search_socket+:} false; then : |
13336 |
|
break |
13337 |
|
fi |
13338 |
|
done |
13339 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
13339 |
> |
if ${ac_cv_search_socket+:} false; then : |
13340 |
|
|
13341 |
|
else |
13342 |
|
ac_cv_search_socket=no |
13351 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13352 |
|
|
13353 |
|
else |
13354 |
< |
as_fn_error "socket library not found" "$LINENO" 5 |
13354 |
> |
as_fn_error $? "socket library not found" "$LINENO" 5 |
13355 |
|
fi |
13356 |
|
|
12195 |
– |
for ac_func in inet_aton inet_ntop inet_pton |
12196 |
– |
do : |
12197 |
– |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12198 |
– |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12199 |
– |
eval as_val=\$$as_ac_var |
12200 |
– |
if test "x$as_val" = x""yes; then : |
12201 |
– |
cat >>confdefs.h <<_ACEOF |
12202 |
– |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12203 |
– |
_ACEOF |
12204 |
– |
|
12205 |
– |
fi |
12206 |
– |
done |
12207 |
– |
|
13357 |
|
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h> |
13358 |
|
#include <sys/socket.h> |
13359 |
|
#include <netdb.h> |
13360 |
|
|
13361 |
|
" |
13362 |
< |
if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then : |
13362 |
> |
if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then : |
13363 |
|
|
13364 |
|
cat >>confdefs.h <<_ACEOF |
13365 |
|
#define HAVE_STRUCT_SOCKADDR_IN 1 |
13372 |
|
#include <netdb.h> |
13373 |
|
|
13374 |
|
" |
13375 |
< |
if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : |
13375 |
> |
if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then : |
13376 |
|
|
13377 |
|
cat >>confdefs.h <<_ACEOF |
13378 |
|
#define HAVE_STRUCT_SOCKADDR_STORAGE 1 |
13385 |
|
#include <netdb.h> |
13386 |
|
|
13387 |
|
" |
13388 |
< |
if test "x$ac_cv_type_struct_addrinfo" = x""yes; then : |
13388 |
> |
if test "x$ac_cv_type_struct_addrinfo" = xyes; then : |
13389 |
|
|
13390 |
|
cat >>confdefs.h <<_ACEOF |
13391 |
|
#define HAVE_STRUCT_ADDRINFO 1 |
13397 |
|
ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h> |
13398 |
|
<sys/socket.h> |
13399 |
|
" |
13400 |
< |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then : |
13400 |
> |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then : |
13401 |
|
|
13402 |
|
cat >>confdefs.h <<_ACEOF |
13403 |
|
#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 |
13408 |
|
|
13409 |
|
|
13410 |
|
|
13411 |
< |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default" |
13412 |
< |
if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then : |
13413 |
< |
|
12265 |
< |
cat >>confdefs.h <<_ACEOF |
12266 |
< |
#define HAVE_STRUCT_SOCKADDR_IN6 1 |
12267 |
< |
_ACEOF |
12268 |
< |
|
12269 |
< |
|
12270 |
< |
else |
13411 |
> |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h> |
13412 |
> |
" |
13413 |
> |
if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : |
13414 |
|
|
13415 |
|
$as_echo "#define IPV6 1" >>confdefs.h |
13416 |
|
|
13418 |
|
|
13419 |
|
|
13420 |
|
|
12278 |
– |
|
13421 |
|
# Checks for typedefs, structures, and compiler characteristics. |
12280 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
12281 |
– |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
12282 |
– |
if test "${ac_cv_c_const+set}" = set; then : |
12283 |
– |
$as_echo_n "(cached) " >&6 |
12284 |
– |
else |
12285 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12286 |
– |
/* end confdefs.h. */ |
12287 |
– |
|
12288 |
– |
int |
12289 |
– |
main () |
12290 |
– |
{ |
12291 |
– |
/* FIXME: Include the comments suggested by Paul. */ |
12292 |
– |
#ifndef __cplusplus |
12293 |
– |
/* Ultrix mips cc rejects this. */ |
12294 |
– |
typedef int charset[2]; |
12295 |
– |
const charset cs; |
12296 |
– |
/* SunOS 4.1.1 cc rejects this. */ |
12297 |
– |
char const *const *pcpcc; |
12298 |
– |
char **ppc; |
12299 |
– |
/* NEC SVR4.0.2 mips cc rejects this. */ |
12300 |
– |
struct point {int x, y;}; |
12301 |
– |
static struct point const zero = {0,0}; |
12302 |
– |
/* AIX XL C 1.02.0.0 rejects this. |
12303 |
– |
It does not let you subtract one const X* pointer from another in |
12304 |
– |
an arm of an if-expression whose if-part is not a constant |
12305 |
– |
expression */ |
12306 |
– |
const char *g = "string"; |
12307 |
– |
pcpcc = &g + (g ? g-g : 0); |
12308 |
– |
/* HPUX 7.0 cc rejects these. */ |
12309 |
– |
++pcpcc; |
12310 |
– |
ppc = (char**) pcpcc; |
12311 |
– |
pcpcc = (char const *const *) ppc; |
12312 |
– |
{ /* SCO 3.2v4 cc rejects this. */ |
12313 |
– |
char *t; |
12314 |
– |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
12315 |
– |
|
12316 |
– |
*t++ = 0; |
12317 |
– |
if (s) return 0; |
12318 |
– |
} |
12319 |
– |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
12320 |
– |
int x[] = {25, 17}; |
12321 |
– |
const int *foo = &x[0]; |
12322 |
– |
++foo; |
12323 |
– |
} |
12324 |
– |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
12325 |
– |
typedef const int *iptr; |
12326 |
– |
iptr p = 0; |
12327 |
– |
++p; |
12328 |
– |
} |
12329 |
– |
{ /* AIX XL C 1.02.0.0 rejects this saying |
12330 |
– |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
12331 |
– |
struct s { int j; const int *ap[3]; }; |
12332 |
– |
struct s *b; b->j = 5; |
12333 |
– |
} |
12334 |
– |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
12335 |
– |
const int foo = 10; |
12336 |
– |
if (!foo) return 0; |
12337 |
– |
} |
12338 |
– |
return !cs[0] && !zero.x; |
12339 |
– |
#endif |
12340 |
– |
|
12341 |
– |
; |
12342 |
– |
return 0; |
12343 |
– |
} |
12344 |
– |
_ACEOF |
12345 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
12346 |
– |
ac_cv_c_const=yes |
12347 |
– |
else |
12348 |
– |
ac_cv_c_const=no |
12349 |
– |
fi |
12350 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12351 |
– |
fi |
12352 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
12353 |
– |
$as_echo "$ac_cv_c_const" >&6; } |
12354 |
– |
if test $ac_cv_c_const = no; then |
12355 |
– |
|
12356 |
– |
$as_echo "#define const /**/" >>confdefs.h |
12357 |
– |
|
12358 |
– |
fi |
12359 |
– |
|
12360 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
12361 |
– |
$as_echo_n "checking for inline... " >&6; } |
12362 |
– |
if test "${ac_cv_c_inline+set}" = set; then : |
12363 |
– |
$as_echo_n "(cached) " >&6 |
12364 |
– |
else |
12365 |
– |
ac_cv_c_inline=no |
12366 |
– |
for ac_kw in inline __inline__ __inline; do |
12367 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12368 |
– |
/* end confdefs.h. */ |
12369 |
– |
#ifndef __cplusplus |
12370 |
– |
typedef int foo_t; |
12371 |
– |
static $ac_kw foo_t static_foo () {return 0; } |
12372 |
– |
$ac_kw foo_t foo () {return 0; } |
12373 |
– |
#endif |
12374 |
– |
|
12375 |
– |
_ACEOF |
12376 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
12377 |
– |
ac_cv_c_inline=$ac_kw |
12378 |
– |
fi |
12379 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12380 |
– |
test "$ac_cv_c_inline" != no && break |
12381 |
– |
done |
12382 |
– |
|
12383 |
– |
fi |
12384 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
12385 |
– |
$as_echo "$ac_cv_c_inline" >&6; } |
12386 |
– |
|
12387 |
– |
case $ac_cv_c_inline in |
12388 |
– |
inline | yes) ;; |
12389 |
– |
*) |
12390 |
– |
case $ac_cv_c_inline in |
12391 |
– |
no) ac_val=;; |
12392 |
– |
*) ac_val=$ac_cv_c_inline;; |
12393 |
– |
esac |
12394 |
– |
cat >>confdefs.h <<_ACEOF |
12395 |
– |
#ifndef __cplusplus |
12396 |
– |
#define inline $ac_val |
12397 |
– |
#endif |
12398 |
– |
_ACEOF |
12399 |
– |
;; |
12400 |
– |
esac |
12401 |
– |
|
13422 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
13423 |
|
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
13424 |
< |
if test "${ac_cv_c_bigendian+set}" = set; then : |
13424 |
> |
if ${ac_cv_c_bigendian+:} false; then : |
13425 |
|
$as_echo_n "(cached) " >&6 |
13426 |
|
else |
13427 |
|
ac_cv_c_bigendian=unknown |
13639 |
|
|
13640 |
|
;; #( |
13641 |
|
*) |
13642 |
< |
as_fn_error "unknown endianness |
13642 |
> |
as_fn_error $? "unknown endianness |
13643 |
|
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
13644 |
|
esac |
13645 |
|
|
13646 |
|
|
12627 |
– |
# The cast to long int works around a bug in the HP C Compiler |
12628 |
– |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
12629 |
– |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
12630 |
– |
# This bug is HP SR number 8606223364. |
12631 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5 |
12632 |
– |
$as_echo_n "checking size of int64_t... " >&6; } |
12633 |
– |
if test "${ac_cv_sizeof_int64_t+set}" = set; then : |
12634 |
– |
$as_echo_n "(cached) " >&6 |
12635 |
– |
else |
12636 |
– |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t" "$ac_includes_default"; then : |
12637 |
– |
|
12638 |
– |
else |
12639 |
– |
if test "$ac_cv_type_int64_t" = yes; then |
12640 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
12641 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
12642 |
– |
{ as_fn_set_status 77 |
12643 |
– |
as_fn_error "cannot compute sizeof (int64_t) |
12644 |
– |
See \`config.log' for more details." "$LINENO" 5; }; } |
12645 |
– |
else |
12646 |
– |
ac_cv_sizeof_int64_t=0 |
12647 |
– |
fi |
12648 |
– |
fi |
12649 |
– |
|
12650 |
– |
fi |
12651 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5 |
12652 |
– |
$as_echo "$ac_cv_sizeof_int64_t" >&6; } |
12653 |
– |
|
12654 |
– |
|
12655 |
– |
|
12656 |
– |
cat >>confdefs.h <<_ACEOF |
12657 |
– |
#define SIZEOF_INT64_T $ac_cv_sizeof_int64_t |
12658 |
– |
_ACEOF |
12659 |
– |
|
12660 |
– |
|
12661 |
– |
# The cast to long int works around a bug in the HP C Compiler |
12662 |
– |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
12663 |
– |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
12664 |
– |
# This bug is HP SR number 8606223364. |
12665 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 |
12666 |
– |
$as_echo_n "checking size of long long... " >&6; } |
12667 |
– |
if test "${ac_cv_sizeof_long_long+set}" = set; then : |
12668 |
– |
$as_echo_n "(cached) " >&6 |
12669 |
– |
else |
12670 |
– |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : |
12671 |
– |
|
12672 |
– |
else |
12673 |
– |
if test "$ac_cv_type_long_long" = yes; then |
12674 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
12675 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
12676 |
– |
{ as_fn_set_status 77 |
12677 |
– |
as_fn_error "cannot compute sizeof (long long) |
12678 |
– |
See \`config.log' for more details." "$LINENO" 5; }; } |
12679 |
– |
else |
12680 |
– |
ac_cv_sizeof_long_long=0 |
12681 |
– |
fi |
12682 |
– |
fi |
12683 |
– |
|
12684 |
– |
fi |
12685 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 |
12686 |
– |
$as_echo "$ac_cv_sizeof_long_long" >&6; } |
12687 |
– |
|
12688 |
– |
|
12689 |
– |
|
12690 |
– |
cat >>confdefs.h <<_ACEOF |
12691 |
– |
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
12692 |
– |
_ACEOF |
12693 |
– |
|
12694 |
– |
|
12695 |
– |
|
12696 |
– |
if test "$ac_cv_sizeof_int64_t" = 8; then |
12697 |
– |
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
12698 |
– |
if test "x$ac_cv_type_uint64_t" = x""yes; then : |
12699 |
– |
|
12700 |
– |
fi |
12701 |
– |
|
12702 |
– |
ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
12703 |
– |
if test "x$ac_cv_type_int64_t" = x""yes; then : |
12704 |
– |
|
12705 |
– |
fi |
12706 |
– |
|
12707 |
– |
elif test "$ac_cv_sizeof_long_long" = 8; then |
12708 |
– |
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
12709 |
– |
if test "x$ac_cv_type_uint64_t" = x""yes; then : |
12710 |
– |
|
12711 |
– |
else |
12712 |
– |
|
12713 |
– |
cat >>confdefs.h <<_ACEOF |
12714 |
– |
#define uint64_t unsigned long long |
12715 |
– |
_ACEOF |
12716 |
– |
|
12717 |
– |
fi |
12718 |
– |
|
12719 |
– |
ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
12720 |
– |
if test "x$ac_cv_type_int64_t" = x""yes; then : |
12721 |
– |
|
12722 |
– |
else |
12723 |
– |
|
12724 |
– |
cat >>confdefs.h <<_ACEOF |
12725 |
– |
#define int64_t long long |
12726 |
– |
_ACEOF |
12727 |
– |
|
12728 |
– |
fi |
12729 |
– |
|
12730 |
– |
else |
12731 |
– |
as_fn_error "Your system doesn't appear to have 64 bit integers. Aborting." "$LINENO" 5 |
12732 |
– |
fi |
12733 |
– |
|
12734 |
– |
|
13647 |
|
# Checks for library functions. |
13648 |
|
|
13649 |
|
|
13652 |
|
do : |
13653 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13654 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13655 |
< |
eval as_val=\$$as_ac_var |
12744 |
< |
if test "x$as_val" = x""yes; then : |
13655 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13656 |
|
cat >>confdefs.h <<_ACEOF |
13657 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13658 |
|
_ACEOF |
13670 |
|
|
13671 |
|
|
13672 |
|
|
12762 |
– |
|
12763 |
– |
|
12764 |
– |
|
12765 |
– |
|
12766 |
– |
|
12767 |
– |
|
12768 |
– |
|
12769 |
– |
|
12770 |
– |
|
12771 |
– |
|
12772 |
– |
|
12773 |
– |
|
13673 |
|
# Checks for header files. |
13674 |
|
|
13675 |
|
|
13679 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13680 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
13681 |
|
" |
13682 |
< |
eval as_val=\$$as_ac_Header |
12784 |
< |
if test "x$as_val" = x""yes; then : |
13682 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
13683 |
|
cat >>confdefs.h <<_ACEOF |
13684 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13685 |
|
_ACEOF |
13704 |
|
|
13705 |
|
|
13706 |
|
|
12809 |
– |
|
12810 |
– |
|
12811 |
– |
|
12812 |
– |
|
12813 |
– |
|
12814 |
– |
|
12815 |
– |
|
12816 |
– |
|
12817 |
– |
|
12818 |
– |
|
12819 |
– |
|
12820 |
– |
|
12821 |
– |
|
12822 |
– |
|
12823 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5 |
12824 |
– |
$as_echo_n "checking for /dev/null... " >&6; } |
12825 |
– |
if test -c /dev/null ; then |
12826 |
– |
|
12827 |
– |
$as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h |
12828 |
– |
|
12829 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
12830 |
– |
$as_echo "yes" >&6; } |
12831 |
– |
else |
12832 |
– |
|
12833 |
– |
$as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h |
12834 |
– |
|
12835 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5 |
12836 |
– |
$as_echo "no - using devnull.log" >&6; } |
12837 |
– |
fi |
12838 |
– |
|
12839 |
– |
|
13707 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
13708 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
13709 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
13709 |
> |
if ${ac_cv_search_crypt+:} false; then : |
13710 |
|
$as_echo_n "(cached) " >&6 |
13711 |
|
else |
13712 |
|
ac_func_search_save_LIBS=$LIBS |
13728 |
|
return 0; |
13729 |
|
} |
13730 |
|
_ACEOF |
13731 |
< |
for ac_lib in '' crypt descrypt; do |
13731 |
> |
for ac_lib in '' crypt; do |
13732 |
|
if test -z "$ac_lib"; then |
13733 |
|
ac_res="none required" |
13734 |
|
else |
13740 |
|
fi |
13741 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13742 |
|
conftest$ac_exeext |
13743 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
13743 |
> |
if ${ac_cv_search_crypt+:} false; then : |
13744 |
|
break |
13745 |
|
fi |
13746 |
|
done |
13747 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
13747 |
> |
if ${ac_cv_search_crypt+:} false; then : |
13748 |
|
|
13749 |
|
else |
13750 |
|
ac_cv_search_crypt=no |
13760 |
|
|
13761 |
|
fi |
13762 |
|
|
12896 |
– |
if test "$ac_cv_search_crypt" = "none required"; then |
12897 |
– |
HAVE_CRYPT_TRUE= |
12898 |
– |
HAVE_CRYPT_FALSE='#' |
12899 |
– |
else |
12900 |
– |
HAVE_CRYPT_TRUE='#' |
12901 |
– |
HAVE_CRYPT_FALSE= |
12902 |
– |
fi |
12903 |
– |
|
12904 |
– |
|
12905 |
– |
|
12906 |
– |
|
12907 |
– |
# Check whether --with-zlib-path was given. |
12908 |
– |
if test "${with_zlib_path+set}" = set; then : |
12909 |
– |
withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS" |
12910 |
– |
fi |
12911 |
– |
|
12912 |
– |
|
12913 |
– |
# Check whether --enable-zlib was given. |
12914 |
– |
if test "${enable_zlib+set}" = set; then : |
12915 |
– |
enableval=$enable_zlib; zlib=$enableval |
12916 |
– |
else |
12917 |
– |
zlib=yes |
12918 |
– |
fi |
12919 |
– |
|
13763 |
|
|
13764 |
< |
if test "$zlib" = yes; then |
13765 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
13766 |
< |
if test "x$ac_cv_header_zlib_h" = x""yes; then : |
13767 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 |
13768 |
< |
$as_echo_n "checking for zlibVersion in -lz... " >&6; } |
13769 |
< |
if test "${ac_cv_lib_z_zlibVersion+set}" = set; then : |
13764 |
> |
# Check whether --enable-libgeoip was given. |
13765 |
> |
if test "${enable_libgeoip+set}" = set; then : |
13766 |
> |
enableval=$enable_libgeoip; |
13767 |
> |
else |
13768 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
13769 |
> |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
13770 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
13771 |
> |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
13772 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13773 |
|
$as_echo_n "(cached) " >&6 |
13774 |
|
else |
13775 |
< |
ac_check_lib_save_LIBS=$LIBS |
12930 |
< |
LIBS="-lz $LIBS" |
13775 |
> |
ac_func_search_save_LIBS=$LIBS |
13776 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13777 |
|
/* end confdefs.h. */ |
13778 |
|
|
13782 |
|
#ifdef __cplusplus |
13783 |
|
extern "C" |
13784 |
|
#endif |
13785 |
< |
char zlibVersion (); |
13785 |
> |
char GeoIP_id_by_ipnum_v6_gl (); |
13786 |
|
int |
13787 |
|
main () |
13788 |
|
{ |
13789 |
< |
return zlibVersion (); |
13789 |
> |
return GeoIP_id_by_ipnum_v6_gl (); |
13790 |
|
; |
13791 |
|
return 0; |
13792 |
|
} |
13793 |
|
_ACEOF |
13794 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
13795 |
< |
ac_cv_lib_z_zlibVersion=yes |
13796 |
< |
else |
13797 |
< |
ac_cv_lib_z_zlibVersion=no |
13794 |
> |
for ac_lib in '' GeoIP; do |
13795 |
> |
if test -z "$ac_lib"; then |
13796 |
> |
ac_res="none required" |
13797 |
> |
else |
13798 |
> |
ac_res=-l$ac_lib |
13799 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13800 |
> |
fi |
13801 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
13802 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
13803 |
|
fi |
13804 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13805 |
< |
conftest$ac_exeext conftest.$ac_ext |
13806 |
< |
LIBS=$ac_check_lib_save_LIBS |
13805 |
> |
conftest$ac_exeext |
13806 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13807 |
> |
break |
13808 |
|
fi |
13809 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 |
13810 |
< |
$as_echo "$ac_cv_lib_z_zlibVersion" >&6; } |
12960 |
< |
if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then : |
12961 |
< |
|
12962 |
< |
LIBS="-lz $LIBS" |
12963 |
< |
|
12964 |
< |
$as_echo "#define HAVE_LIBZ 1" >>confdefs.h |
12965 |
< |
|
13809 |
> |
done |
13810 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13811 |
|
|
13812 |
|
else |
13813 |
< |
zlib=no |
13813 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
13814 |
> |
fi |
13815 |
> |
rm conftest.$ac_ext |
13816 |
> |
LIBS=$ac_func_search_save_LIBS |
13817 |
|
fi |
13818 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
13819 |
+ |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
13820 |
+ |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
13821 |
+ |
if test "$ac_res" != no; then : |
13822 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13823 |
|
|
13824 |
+ |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
13825 |
+ |
|
13826 |
+ |
fi |
13827 |
|
|
12972 |
– |
else |
12973 |
– |
zlib=no |
13828 |
|
fi |
13829 |
|
|
13830 |
|
|
13870 |
|
fi |
13871 |
|
|
13872 |
|
if test ! -z "$cf_openssl_basedir"; then |
13019 |
– |
LIBS="-lcrypto -lssl $LIBS" |
13873 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
13874 |
|
$as_echo "$cf_openssl_basedir" >&6; } |
13875 |
|
cf_enable_openssl="yes" |
13023 |
– |
|
13024 |
– |
$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
13025 |
– |
|
13876 |
|
else |
13877 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
13878 |
< |
$as_echo "not found. Please check your path." >&6; } |
13877 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
13878 |
> |
$as_echo "not found. Please check your path." >&6; } |
13879 |
|
cf_enable_openssl="no" |
13880 |
|
fi |
13881 |
|
unset cf_openssl_basedir |
13883 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
13884 |
|
$as_echo "disabled" >&6; } |
13885 |
|
fi |
13886 |
< |
if test "$cf_enable_openssl" = yes; then |
13887 |
< |
ENABLE_SSL_TRUE= |
13888 |
< |
ENABLE_SSL_FALSE='#' |
13886 |
> |
|
13887 |
> |
if test "$cf_enable_openssl" != "no"; then : |
13888 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5 |
13889 |
> |
$as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; } |
13890 |
> |
if test "$cross_compiling" = yes; then : |
13891 |
> |
cf_openssl_version_ok=no |
13892 |
|
else |
13893 |
< |
ENABLE_SSL_TRUE='#' |
13894 |
< |
ENABLE_SSL_FALSE= |
13893 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13894 |
> |
/* end confdefs.h. */ |
13895 |
> |
|
13896 |
> |
|
13897 |
> |
#include <openssl/opensslv.h> |
13898 |
> |
#include <stdlib.h> |
13899 |
> |
int |
13900 |
> |
main () |
13901 |
> |
{ |
13902 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000)); |
13903 |
> |
; |
13904 |
> |
return 0; |
13905 |
> |
} |
13906 |
> |
_ACEOF |
13907 |
> |
if ac_fn_c_try_run "$LINENO"; then : |
13908 |
> |
cf_openssl_version_ok=yes |
13909 |
> |
else |
13910 |
> |
cf_openssl_version_ok=no |
13911 |
> |
fi |
13912 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
13913 |
> |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
13914 |
|
fi |
13915 |
|
|
13916 |
|
|
13917 |
+ |
if test "$cf_openssl_version_ok" = "yes"; then : |
13918 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
13919 |
+ |
$as_echo "found" >&6; } |
13920 |
+ |
|
13921 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
13922 |
+ |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
13923 |
+ |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
13924 |
+ |
$as_echo_n "(cached) " >&6 |
13925 |
+ |
else |
13926 |
+ |
ac_check_lib_save_LIBS=$LIBS |
13927 |
+ |
LIBS="-lcrypto $LIBS" |
13928 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13929 |
+ |
/* end confdefs.h. */ |
13930 |
|
|
13931 |
< |
# Check whether --enable-assert was given. |
13932 |
< |
if test "${enable_assert+set}" = set; then : |
13933 |
< |
enableval=$enable_assert; assert=$enableval |
13931 |
> |
/* Override any GCC internal prototype to avoid an error. |
13932 |
> |
Use char because int might match the return type of a GCC |
13933 |
> |
builtin and then its argument prototype would still apply. */ |
13934 |
> |
#ifdef __cplusplus |
13935 |
> |
extern "C" |
13936 |
> |
#endif |
13937 |
> |
char RSA_free (); |
13938 |
> |
int |
13939 |
> |
main () |
13940 |
> |
{ |
13941 |
> |
return RSA_free (); |
13942 |
> |
; |
13943 |
> |
return 0; |
13944 |
> |
} |
13945 |
> |
_ACEOF |
13946 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
13947 |
> |
ac_cv_lib_crypto_RSA_free=yes |
13948 |
|
else |
13949 |
< |
assert=no |
13949 |
> |
ac_cv_lib_crypto_RSA_free=no |
13950 |
> |
fi |
13951 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
13952 |
> |
conftest$ac_exeext conftest.$ac_ext |
13953 |
> |
LIBS=$ac_check_lib_save_LIBS |
13954 |
|
fi |
13955 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
13956 |
+ |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
13957 |
+ |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
13958 |
+ |
cat >>confdefs.h <<_ACEOF |
13959 |
+ |
#define HAVE_LIBCRYPTO 1 |
13960 |
+ |
_ACEOF |
13961 |
|
|
13962 |
< |
if test "$assert" = no; then |
13962 |
> |
LIBS="-lcrypto $LIBS" |
13963 |
|
|
13964 |
< |
$as_echo "#define NDEBUG 1" >>confdefs.h |
13964 |
> |
fi |
13965 |
> |
|
13966 |
> |
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
13967 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
13968 |
> |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
13969 |
> |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
13970 |
> |
$as_echo_n "(cached) " >&6 |
13971 |
> |
else |
13972 |
> |
ac_check_lib_save_LIBS=$LIBS |
13973 |
> |
LIBS="-lssl $LIBS" |
13974 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13975 |
> |
/* end confdefs.h. */ |
13976 |
> |
|
13977 |
> |
/* Override any GCC internal prototype to avoid an error. |
13978 |
> |
Use char because int might match the return type of a GCC |
13979 |
> |
builtin and then its argument prototype would still apply. */ |
13980 |
> |
#ifdef __cplusplus |
13981 |
> |
extern "C" |
13982 |
> |
#endif |
13983 |
> |
char SSL_connect (); |
13984 |
> |
int |
13985 |
> |
main () |
13986 |
> |
{ |
13987 |
> |
return SSL_connect (); |
13988 |
> |
; |
13989 |
> |
return 0; |
13990 |
> |
} |
13991 |
> |
_ACEOF |
13992 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
13993 |
> |
ac_cv_lib_ssl_SSL_connect=yes |
13994 |
> |
else |
13995 |
> |
ac_cv_lib_ssl_SSL_connect=no |
13996 |
> |
fi |
13997 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
13998 |
> |
conftest$ac_exeext conftest.$ac_ext |
13999 |
> |
LIBS=$ac_check_lib_save_LIBS |
14000 |
> |
fi |
14001 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
14002 |
> |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
14003 |
> |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
14004 |
> |
cat >>confdefs.h <<_ACEOF |
14005 |
> |
#define HAVE_LIBSSL 1 |
14006 |
> |
_ACEOF |
14007 |
> |
|
14008 |
> |
LIBS="-lssl $LIBS" |
14009 |
|
|
14010 |
|
fi |
14011 |
|
|
14012 |
+ |
fi |
14013 |
+ |
|
14014 |
+ |
else |
14015 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5 |
14016 |
+ |
$as_echo "no - OpenSSL support disabled" >&6; } |
14017 |
+ |
cf_enable_openssl="no" |
14018 |
+ |
fi |
14019 |
+ |
fi |
14020 |
|
|
14021 |
< |
# Check whether --enable-small-net was given. |
14022 |
< |
if test "${enable_small_net+set}" = set; then : |
14023 |
< |
enableval=$enable_small_net; small_net=$enableval |
14021 |
> |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
14022 |
> |
ENABLE_SSL_TRUE= |
14023 |
> |
ENABLE_SSL_FALSE='#' |
14024 |
|
else |
14025 |
< |
small_net=no |
14025 |
> |
ENABLE_SSL_TRUE='#' |
14026 |
> |
ENABLE_SSL_FALSE= |
14027 |
|
fi |
14028 |
|
|
14029 |
|
|
13068 |
– |
if test "$small_net" = yes; then |
14030 |
|
|
14031 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h |
14031 |
> |
# Check whether --enable-assert was given. |
14032 |
> |
if test "${enable_assert+set}" = set; then : |
14033 |
> |
enableval=$enable_assert; assert=$enableval |
14034 |
> |
else |
14035 |
> |
assert=no |
14036 |
> |
fi |
14037 |
> |
|
14038 |
|
|
14039 |
+ |
if test "$assert" = "no"; then : |
14040 |
|
|
14041 |
< |
$as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h |
14041 |
> |
$as_echo "#define NDEBUG 1" >>confdefs.h |
14042 |
|
|
14043 |
+ |
fi |
14044 |
|
|
13076 |
– |
$as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h |
14045 |
|
|
14046 |
+ |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
14047 |
|
|
13079 |
– |
$as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h |
14048 |
|
|
14049 |
+ |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
14050 |
|
|
13082 |
– |
$as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h |
14051 |
|
|
14052 |
+ |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
14053 |
|
|
13085 |
– |
$as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h |
14054 |
|
|
14055 |
+ |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
14056 |
|
|
13088 |
– |
$as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h |
14057 |
|
|
14058 |
+ |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
14059 |
|
|
13091 |
– |
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
14060 |
|
|
14061 |
< |
else |
14061 |
> |
$as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h |
14062 |
|
|
13095 |
– |
$as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h |
14063 |
|
|
14064 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
14065 |
|
|
13098 |
– |
$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h |
14066 |
|
|
14067 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
14068 |
|
|
13101 |
– |
$as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h |
14069 |
|
|
14070 |
+ |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
14071 |
|
|
13104 |
– |
$as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h |
14072 |
|
|
14073 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
14074 |
|
|
13107 |
– |
$as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h |
14075 |
|
|
14076 |
+ |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
14077 |
|
|
13110 |
– |
$as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h |
14078 |
|
|
14079 |
+ |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
14080 |
|
|
13113 |
– |
$as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h |
14081 |
|
|
14082 |
+ |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
14083 |
|
|
13116 |
– |
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
14084 |
|
|
14085 |
< |
fi |
14085 |
> |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
14086 |
|
|
14087 |
|
|
14088 |
|
# Argument processing. |
14103 |
|
enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" |
14104 |
|
fi |
14105 |
|
|
13139 |
– |
# Check whether --enable-rtsigio was given. |
13140 |
– |
if test "${enable_rtsigio+set}" = set; then : |
13141 |
– |
enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio" |
13142 |
– |
fi |
13143 |
– |
|
14106 |
|
# Check whether --enable-poll was given. |
14107 |
|
if test "${enable_poll+set}" = set; then : |
14108 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
14184 |
|
if test "$cross_compiling" = yes; then : |
14185 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
14186 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
14187 |
< |
as_fn_error "cannot run test program while cross compiling |
14188 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
14187 |
> |
as_fn_error $? "cannot run test program while cross compiling |
14188 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
14189 |
|
else |
14190 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14191 |
|
/* end confdefs.h. */ |
14218 |
|
#endif |
14219 |
|
_syscall1(int, epoll_create, int, size) |
14220 |
|
#endif |
13259 |
– |
main() { return epoll_create(256) == -1 ? 1 : 0; } |
14221 |
|
|
14222 |
+ |
int |
14223 |
+ |
main () |
14224 |
+ |
{ |
14225 |
+ |
return epoll_create(256) == -1 ? 1 : 0 |
14226 |
+ |
; |
14227 |
+ |
return 0; |
14228 |
+ |
} |
14229 |
|
_ACEOF |
14230 |
|
if ac_fn_c_try_run "$LINENO"; then : |
14231 |
|
is_epoll_mechanism_available="yes" |
14286 |
|
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
14287 |
|
|
14288 |
|
fi |
14289 |
< |
iopoll_mechanism_rtsigio=4 |
13322 |
< |
|
13323 |
< |
cat >>confdefs.h <<_ACEOF |
13324 |
< |
#define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio |
13325 |
< |
_ACEOF |
13326 |
< |
|
13327 |
< |
if test "$cross_compiling" = yes; then : |
13328 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
13329 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
13330 |
< |
as_fn_error "cannot run test program while cross compiling |
13331 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
13332 |
< |
else |
13333 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13334 |
< |
/* end confdefs.h. */ |
13335 |
< |
|
13336 |
< |
#include <fcntl.h> |
13337 |
< |
#ifdef F_SETSIG |
13338 |
< |
main () { return 0; } /* F_SETSIG defined */ |
13339 |
< |
#else |
13340 |
< |
main () { return 1; } /* F_SETSIG not defined */ |
13341 |
< |
#endif |
13342 |
< |
|
13343 |
< |
int |
13344 |
< |
main () |
13345 |
< |
{ |
13346 |
< |
|
13347 |
< |
; |
13348 |
< |
return 0; |
13349 |
< |
} |
13350 |
< |
_ACEOF |
13351 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
13352 |
< |
is_rtsigio_mechanism_available="yes" |
13353 |
< |
else |
13354 |
< |
is_rtsigio_mechanism_available="no" |
13355 |
< |
fi |
13356 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
13357 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
13358 |
< |
fi |
13359 |
< |
|
13360 |
< |
iopoll_mechanism_poll=5 |
14289 |
> |
iopoll_mechanism_poll=4 |
14290 |
|
|
14291 |
|
cat >>confdefs.h <<_ACEOF |
14292 |
|
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
14340 |
|
fi |
14341 |
|
rm -f core conftest.err conftest.$ac_objext \ |
14342 |
|
conftest$ac_exeext conftest.$ac_ext |
14343 |
< |
iopoll_mechanism_select=6 |
14343 |
> |
iopoll_mechanism_select=5 |
14344 |
|
|
14345 |
|
cat >>confdefs.h <<_ACEOF |
14346 |
|
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
14395 |
|
rm -f core conftest.err conftest.$ac_objext \ |
14396 |
|
conftest$ac_exeext conftest.$ac_ext |
14397 |
|
optimal_iopoll_mechanism="none" |
14398 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important |
14398 |
> |
for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important |
14399 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
14400 |
|
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
14401 |
|
optimal_iopoll_mechanism="$mechanism" |
14406 |
|
if test "$optimal_iopoll_mechanism" = "none" ; then |
14407 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
14408 |
|
$as_echo "none" >&6; } |
14409 |
< |
as_fn_error "no iopoll mechanism found!" "$LINENO" 5 |
14409 |
> |
as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5 |
14410 |
|
else |
14411 |
|
selected_iopoll_mechanism=$optimal_iopoll_mechanism |
14412 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5 |
14421 |
|
else |
14422 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
14423 |
|
$as_echo "none" >&6; } |
14424 |
< |
as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
14424 |
> |
as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
14425 |
|
fi |
14426 |
|
fi |
14427 |
|
eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}" |
14432 |
|
|
14433 |
|
|
14434 |
|
|
13506 |
– |
|
13507 |
– |
# Check whether --with-nicklen was given. |
13508 |
– |
if test "${with_nicklen+set}" = set; then : |
13509 |
– |
withval=$with_nicklen; nicklen="$withval" |
13510 |
– |
else |
13511 |
– |
nicklen="9" |
13512 |
– |
fi |
13513 |
– |
|
13514 |
– |
|
13515 |
– |
cat >>confdefs.h <<_ACEOF |
13516 |
– |
#define NICKLEN ($nicklen+1) |
13517 |
– |
_ACEOF |
13518 |
– |
|
13519 |
– |
|
13520 |
– |
|
13521 |
– |
|
13522 |
– |
# Check whether --with-topiclen was given. |
13523 |
– |
if test "${with_topiclen+set}" = set; then : |
13524 |
– |
withval=$with_topiclen; topiclen="$withval" |
13525 |
– |
else |
13526 |
– |
topiclen="160" |
13527 |
– |
fi |
13528 |
– |
|
13529 |
– |
|
13530 |
– |
cat >>confdefs.h <<_ACEOF |
13531 |
– |
#define TOPICLEN ($topiclen+1) |
13532 |
– |
_ACEOF |
13533 |
– |
|
13534 |
– |
|
13535 |
– |
|
13536 |
– |
|
13537 |
– |
# Check whether --with-syslog-facility was given. |
13538 |
– |
if test "${with_syslog_facility+set}" = set; then : |
13539 |
– |
withval=$with_syslog_facility; syslog_facility="$withval" |
13540 |
– |
else |
13541 |
– |
syslog_facility="LOG_LOCAL4" |
13542 |
– |
fi |
13543 |
– |
|
13544 |
– |
|
13545 |
– |
cat >>confdefs.h <<_ACEOF |
13546 |
– |
#define LOG_FACILITY $syslog_facility |
13547 |
– |
_ACEOF |
13548 |
– |
|
13549 |
– |
|
13550 |
– |
|
13551 |
– |
# Check whether --enable-efnet was given. |
13552 |
– |
if test "${enable_efnet+set}" = set; then : |
13553 |
– |
enableval=$enable_efnet; efnet="$enableval" |
13554 |
– |
else |
13555 |
– |
efnet="no" |
13556 |
– |
fi |
13557 |
– |
|
13558 |
– |
if test "$efnet" = "yes" ; then |
13559 |
– |
use_efnet="yes" |
13560 |
– |
|
13561 |
– |
$as_echo "#define EFNET 1" >>confdefs.h |
13562 |
– |
|
13563 |
– |
|
13564 |
– |
$as_echo "#define TS5_ONLY 1" >>confdefs.h |
13565 |
– |
|
13566 |
– |
else |
13567 |
– |
|
13568 |
– |
$as_echo "#define INVARIANTS 1" >>confdefs.h |
13569 |
– |
|
13570 |
– |
use_efnet="no" |
13571 |
– |
fi |
13572 |
– |
if test "$use_efnet" = "yes"; then |
13573 |
– |
EFNET_TRUE= |
13574 |
– |
EFNET_FALSE='#' |
13575 |
– |
else |
13576 |
– |
EFNET_TRUE='#' |
13577 |
– |
EFNET_FALSE= |
13578 |
– |
fi |
13579 |
– |
|
13580 |
– |
|
13581 |
– |
|
14435 |
|
# Check whether --enable-halfops was given. |
14436 |
|
if test "${enable_halfops+set}" = set; then : |
14437 |
|
enableval=$enable_halfops; halfops="$enableval" |
14454 |
|
fi |
14455 |
|
|
14456 |
|
if test "$debugging" = "yes" ; then |
14457 |
< |
|
13605 |
< |
$as_echo "#define DEBUG 1" >>confdefs.h |
13606 |
< |
|
13607 |
< |
CFLAGS="$CFLAGS -Wall -Werror -g -O0" |
13608 |
< |
else |
13609 |
< |
|
13610 |
< |
$as_echo "#define NDEBUG 1" >>confdefs.h |
13611 |
< |
|
14457 |
> |
CFLAGS="-Wall -g -O0" |
14458 |
|
fi |
14459 |
|
|
14460 |
|
|
14466 |
|
fi |
14467 |
|
|
14468 |
|
if test "$warnings" = "yes" ; then |
14469 |
< |
CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused" |
13624 |
< |
fi |
13625 |
< |
|
13626 |
< |
|
13627 |
< |
for ac_header in syslog.h sys/syslog.h |
13628 |
< |
do : |
13629 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13630 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
13631 |
< |
eval as_val=\$$as_ac_Header |
13632 |
< |
if test "x$as_val" = x""yes; then : |
13633 |
< |
cat >>confdefs.h <<_ACEOF |
13634 |
< |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13635 |
< |
_ACEOF |
13636 |
< |
|
13637 |
< |
fi |
13638 |
< |
|
13639 |
< |
done |
13640 |
< |
|
13641 |
< |
# Check whether --enable-syslog was given. |
13642 |
< |
if test "${enable_syslog+set}" = set; then : |
13643 |
< |
enableval=$enable_syslog; syslog="$enableval" |
13644 |
< |
else |
13645 |
< |
syslog="no" |
13646 |
< |
fi |
13647 |
< |
|
13648 |
< |
if test "$enableval" != "no" ; then |
13649 |
< |
for option in $enableval ; do |
13650 |
< |
case "$option" in |
13651 |
< |
users) |
13652 |
< |
$as_echo "#define SYSLOG_USERS 1" >>confdefs.h |
13653 |
< |
;; |
13654 |
< |
oper) |
13655 |
< |
$as_echo "#define SYSLOG_OPER 1" >>confdefs.h |
13656 |
< |
;; |
13657 |
< |
yes) : ;; |
13658 |
< |
*) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;; |
13659 |
< |
esac |
13660 |
< |
done |
13661 |
< |
|
13662 |
< |
$as_echo "#define USE_SYSLOG 1" >>confdefs.h |
13663 |
< |
|
14469 |
> |
CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef" |
14470 |
|
fi |
14471 |
|
|
14472 |
|
|
14556 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
14557 |
|
|
14558 |
|
|
14559 |
< |
ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile lib/Makefile lib/pcre/Makefile tools/Makefile" |
14559 |
> |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile" |
14560 |
|
|
14561 |
|
|
14562 |
|
cat >confcache <<\_ACEOF |
14623 |
|
:end' >>confcache |
14624 |
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
14625 |
|
if test -w "$cache_file"; then |
14626 |
< |
test "x$cache_file" != "x/dev/null" && |
14626 |
> |
if test "x$cache_file" != "x/dev/null"; then |
14627 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
14628 |
|
$as_echo "$as_me: updating cache $cache_file" >&6;} |
14629 |
< |
cat confcache >$cache_file |
14629 |
> |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
14630 |
> |
cat confcache >"$cache_file" |
14631 |
> |
else |
14632 |
> |
case $cache_file in #( |
14633 |
> |
*/* | ?:*) |
14634 |
> |
mv -f confcache "$cache_file"$$ && |
14635 |
> |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
14636 |
> |
*) |
14637 |
> |
mv -f confcache "$cache_file" ;; |
14638 |
> |
esac |
14639 |
> |
fi |
14640 |
> |
fi |
14641 |
|
else |
14642 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
14643 |
|
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
14653 |
|
|
14654 |
|
ac_libobjs= |
14655 |
|
ac_ltlibobjs= |
14656 |
+ |
U= |
14657 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
14658 |
|
# 1. Remove the extension, and $U if already installed. |
14659 |
|
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
14668 |
|
LTLIBOBJS=$ac_ltlibobjs |
14669 |
|
|
14670 |
|
|
14671 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
14672 |
+ |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
14673 |
+ |
if test -n "$am_sleep_pid"; then |
14674 |
+ |
# Hide warnings about reused PIDs. |
14675 |
+ |
wait $am_sleep_pid 2>/dev/null |
14676 |
+ |
fi |
14677 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
14678 |
+ |
$as_echo "done" >&6; } |
14679 |
|
if test -n "$EXEEXT"; then |
14680 |
|
am__EXEEXT_TRUE= |
14681 |
|
am__EXEEXT_FALSE='#' |
14685 |
|
fi |
14686 |
|
|
14687 |
|
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
14688 |
< |
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. |
14688 |
> |
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
14689 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14690 |
|
fi |
14691 |
|
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
14692 |
< |
as_fn_error "conditional \"AMDEP\" was never defined. |
14692 |
> |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
14693 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14694 |
|
fi |
14695 |
|
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
14696 |
< |
as_fn_error "conditional \"am__fastdepCC\" was never defined. |
14696 |
> |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
14697 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14698 |
|
fi |
14699 |
|
if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then |
14700 |
< |
as_fn_error "conditional \"INSTALL_LTDL\" was never defined. |
14700 |
> |
as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined. |
14701 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14702 |
|
fi |
14703 |
|
if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then |
14704 |
< |
as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined. |
14704 |
> |
as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined. |
14705 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14706 |
|
fi |
14707 |
|
LT_CONFIG_H=config.h |
14722 |
|
|
14723 |
|
|
14724 |
|
|
13899 |
– |
if test -z "${HAVE_CRYPT_TRUE}" && test -z "${HAVE_CRYPT_FALSE}"; then |
13900 |
– |
as_fn_error "conditional \"HAVE_CRYPT\" was never defined. |
13901 |
– |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13902 |
– |
fi |
14725 |
|
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
14726 |
< |
as_fn_error "conditional \"ENABLE_SSL\" was never defined. |
13905 |
< |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13906 |
< |
fi |
13907 |
< |
if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then |
13908 |
< |
as_fn_error "conditional \"EFNET\" was never defined. |
14726 |
> |
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
14727 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14728 |
|
fi |
14729 |
|
|
14730 |
< |
: ${CONFIG_STATUS=./config.status} |
14730 |
> |
: "${CONFIG_STATUS=./config.status}" |
14731 |
|
ac_write_fail=0 |
14732 |
|
ac_clean_files_save=$ac_clean_files |
14733 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
14828 |
|
IFS=" "" $as_nl" |
14829 |
|
|
14830 |
|
# Find who we are. Look in the path if we contain no directory separator. |
14831 |
+ |
as_myself= |
14832 |
|
case $0 in #(( |
14833 |
|
*[\\/]* ) as_myself=$0 ;; |
14834 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
14874 |
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
14875 |
|
|
14876 |
|
|
14877 |
< |
# as_fn_error ERROR [LINENO LOG_FD] |
14878 |
< |
# --------------------------------- |
14877 |
> |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
14878 |
> |
# ---------------------------------------- |
14879 |
|
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
14880 |
|
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
14881 |
< |
# script with status $?, using 1 if that was 0. |
14881 |
> |
# script with STATUS, using 1 if that was 0. |
14882 |
|
as_fn_error () |
14883 |
|
{ |
14884 |
< |
as_status=$?; test $as_status -eq 0 && as_status=1 |
14885 |
< |
if test "$3"; then |
14886 |
< |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
14887 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
14884 |
> |
as_status=$1; test $as_status -eq 0 && as_status=1 |
14885 |
> |
if test "$4"; then |
14886 |
> |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
14887 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
14888 |
|
fi |
14889 |
< |
$as_echo "$as_me: error: $1" >&2 |
14889 |
> |
$as_echo "$as_me: error: $2" >&2 |
14890 |
|
as_fn_exit $as_status |
14891 |
|
} # as_fn_error |
14892 |
|
|
15024 |
|
# ... but there are two gotchas: |
15025 |
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
15026 |
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
15027 |
< |
# In both cases, we have to default to `cp -p'. |
15027 |
> |
# In both cases, we have to default to `cp -pR'. |
15028 |
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
15029 |
< |
as_ln_s='cp -p' |
15029 |
> |
as_ln_s='cp -pR' |
15030 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
15031 |
|
as_ln_s=ln |
15032 |
|
else |
15033 |
< |
as_ln_s='cp -p' |
15033 |
> |
as_ln_s='cp -pR' |
15034 |
|
fi |
15035 |
|
else |
15036 |
< |
as_ln_s='cp -p' |
15036 |
> |
as_ln_s='cp -pR' |
15037 |
|
fi |
15038 |
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
15039 |
|
rmdir conf$$.dir 2>/dev/null |
15082 |
|
test -d "$as_dir" && break |
15083 |
|
done |
15084 |
|
test -z "$as_dirs" || eval "mkdir $as_dirs" |
15085 |
< |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
15085 |
> |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
15086 |
|
|
15087 |
|
|
15088 |
|
} # as_fn_mkdir_p |
15093 |
|
as_mkdir_p=false |
15094 |
|
fi |
15095 |
|
|
15096 |
< |
if test -x / >/dev/null 2>&1; then |
15097 |
< |
as_test_x='test -x' |
15098 |
< |
else |
15099 |
< |
if ls -dL / >/dev/null 2>&1; then |
15100 |
< |
as_ls_L_option=L |
15101 |
< |
else |
15102 |
< |
as_ls_L_option= |
15103 |
< |
fi |
15104 |
< |
as_test_x=' |
15105 |
< |
eval sh -c '\'' |
14287 |
< |
if test -d "$1"; then |
14288 |
< |
test -d "$1/."; |
14289 |
< |
else |
14290 |
< |
case $1 in #( |
14291 |
< |
-*)set "./$1";; |
14292 |
< |
esac; |
14293 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
14294 |
< |
???[sx]*):;;*)false;;esac;fi |
14295 |
< |
'\'' sh |
14296 |
< |
' |
14297 |
< |
fi |
14298 |
< |
as_executable_p=$as_test_x |
15096 |
> |
|
15097 |
> |
# as_fn_executable_p FILE |
15098 |
> |
# ----------------------- |
15099 |
> |
# Test if FILE is an executable regular file. |
15100 |
> |
as_fn_executable_p () |
15101 |
> |
{ |
15102 |
> |
test -f "$1" && test -x "$1" |
15103 |
> |
} # as_fn_executable_p |
15104 |
> |
as_test_x='test -x' |
15105 |
> |
as_executable_p=as_fn_executable_p |
15106 |
|
|
15107 |
|
# Sed expression to map a string onto a valid CPP name. |
15108 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
15123 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
15124 |
|
# values after options handling. |
15125 |
|
ac_log=" |
15126 |
< |
This file was extended by ircd-hybrid $as_me 7.2.4, which was |
15127 |
< |
generated by GNU Autoconf 2.64. Invocation command line was |
15126 |
> |
This file was extended by ircd-hybrid $as_me TRUNK, which was |
15127 |
> |
generated by GNU Autoconf 2.69. Invocation command line was |
15128 |
|
|
15129 |
|
CONFIG_FILES = $CONFIG_FILES |
15130 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
15164 |
|
|
15165 |
|
-h, --help print this help, then exit |
15166 |
|
-V, --version print version number and configuration settings, then exit |
15167 |
+ |
--config print configuration, then exit |
15168 |
|
-q, --quiet, --silent |
15169 |
|
do not print progress messages |
15170 |
|
-d, --debug don't remove temporary files |
15183 |
|
Configuration commands: |
15184 |
|
$config_commands |
15185 |
|
|
15186 |
< |
Report bugs to the package provider." |
15186 |
> |
Report bugs to <bugs@ircd-hybrid.org>." |
15187 |
|
|
15188 |
|
_ACEOF |
15189 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15190 |
+ |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
15191 |
|
ac_cs_version="\\ |
15192 |
< |
ircd-hybrid config.status 7.2.4 |
15193 |
< |
configured by $0, generated by GNU Autoconf 2.64, |
15194 |
< |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
15192 |
> |
ircd-hybrid config.status TRUNK |
15193 |
> |
configured by $0, generated by GNU Autoconf 2.69, |
15194 |
> |
with options \\"\$ac_cs_config\\" |
15195 |
|
|
15196 |
< |
Copyright (C) 2009 Free Software Foundation, Inc. |
15196 |
> |
Copyright (C) 2012 Free Software Foundation, Inc. |
15197 |
|
This config.status script is free software; the Free Software Foundation |
15198 |
|
gives unlimited permission to copy, distribute and modify it." |
15199 |
|
|
15211 |
|
while test $# != 0 |
15212 |
|
do |
15213 |
|
case $1 in |
15214 |
< |
--*=*) |
15214 |
> |
--*=?*) |
15215 |
|
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
15216 |
|
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
15217 |
|
ac_shift=: |
15218 |
|
;; |
15219 |
+ |
--*=) |
15220 |
+ |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
15221 |
+ |
ac_optarg= |
15222 |
+ |
ac_shift=: |
15223 |
+ |
;; |
15224 |
|
*) |
15225 |
|
ac_option=$1 |
15226 |
|
ac_optarg=$2 |
15234 |
|
ac_cs_recheck=: ;; |
15235 |
|
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
15236 |
|
$as_echo "$ac_cs_version"; exit ;; |
15237 |
+ |
--config | --confi | --conf | --con | --co | --c ) |
15238 |
+ |
$as_echo "$ac_cs_config"; exit ;; |
15239 |
|
--debug | --debu | --deb | --de | --d | -d ) |
15240 |
|
debug=: ;; |
15241 |
|
--file | --fil | --fi | --f ) |
15242 |
|
$ac_shift |
15243 |
|
case $ac_optarg in |
15244 |
|
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
15245 |
+ |
'') as_fn_error $? "missing file argument" ;; |
15246 |
|
esac |
15247 |
|
as_fn_append CONFIG_FILES " '$ac_optarg'" |
15248 |
|
ac_need_defaults=false;; |
15255 |
|
ac_need_defaults=false;; |
15256 |
|
--he | --h) |
15257 |
|
# Conflict between --help and --header |
15258 |
< |
as_fn_error "ambiguous option: \`$1' |
15258 |
> |
as_fn_error $? "ambiguous option: \`$1' |
15259 |
|
Try \`$0 --help' for more information.";; |
15260 |
|
--help | --hel | -h ) |
15261 |
|
$as_echo "$ac_cs_usage"; exit ;; |
15264 |
|
ac_cs_silent=: ;; |
15265 |
|
|
15266 |
|
# This is an error. |
15267 |
< |
-*) as_fn_error "unrecognized option: \`$1' |
15267 |
> |
-*) as_fn_error $? "unrecognized option: \`$1' |
15268 |
|
Try \`$0 --help' for more information." ;; |
15269 |
|
|
15270 |
|
*) as_fn_append ac_config_targets " $1" |
15284 |
|
_ACEOF |
15285 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15286 |
|
if \$ac_cs_recheck; then |
15287 |
< |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
15287 |
> |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
15288 |
|
shift |
15289 |
|
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
15290 |
|
CONFIG_SHELL='$SHELL' |
15318 |
|
sed_quote_subst='$sed_quote_subst' |
15319 |
|
double_quote_subst='$double_quote_subst' |
15320 |
|
delay_variable_subst='$delay_variable_subst' |
15321 |
< |
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' |
15322 |
< |
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' |
15323 |
< |
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' |
15324 |
< |
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' |
15325 |
< |
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' |
15326 |
< |
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' |
15327 |
< |
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' |
15328 |
< |
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' |
15329 |
< |
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' |
15330 |
< |
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' |
15331 |
< |
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' |
15332 |
< |
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' |
15333 |
< |
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' |
15334 |
< |
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' |
15335 |
< |
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' |
15336 |
< |
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' |
15337 |
< |
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' |
15338 |
< |
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' |
15339 |
< |
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' |
15340 |
< |
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' |
15341 |
< |
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' |
15342 |
< |
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' |
15343 |
< |
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' |
15344 |
< |
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' |
15345 |
< |
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' |
15346 |
< |
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' |
15347 |
< |
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' |
15348 |
< |
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15349 |
< |
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' |
15350 |
< |
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' |
15351 |
< |
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' |
15352 |
< |
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' |
15353 |
< |
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
15354 |
< |
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' |
15355 |
< |
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' |
15356 |
< |
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15357 |
< |
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15358 |
< |
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15359 |
< |
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' |
15360 |
< |
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
15361 |
< |
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' |
15362 |
< |
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' |
15363 |
< |
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' |
15364 |
< |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' |
15365 |
< |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' |
15366 |
< |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' |
15367 |
< |
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' |
15368 |
< |
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' |
15369 |
< |
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' |
15370 |
< |
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' |
15371 |
< |
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' |
15372 |
< |
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' |
15373 |
< |
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' |
15374 |
< |
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' |
15375 |
< |
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' |
15376 |
< |
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' |
15377 |
< |
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' |
15378 |
< |
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' |
15379 |
< |
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' |
15380 |
< |
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' |
15381 |
< |
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' |
15382 |
< |
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' |
15383 |
< |
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15384 |
< |
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15385 |
< |
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' |
15386 |
< |
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' |
15387 |
< |
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15388 |
< |
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15389 |
< |
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' |
15390 |
< |
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15391 |
< |
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15392 |
< |
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15393 |
< |
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15394 |
< |
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15395 |
< |
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15396 |
< |
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' |
15397 |
< |
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
15398 |
< |
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
15399 |
< |
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15400 |
< |
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' |
15401 |
< |
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' |
15402 |
< |
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' |
15403 |
< |
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' |
15404 |
< |
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' |
15405 |
< |
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
15406 |
< |
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' |
15407 |
< |
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' |
15408 |
< |
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' |
15409 |
< |
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' |
15410 |
< |
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' |
15411 |
< |
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15412 |
< |
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
15413 |
< |
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
15414 |
< |
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15415 |
< |
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15416 |
< |
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' |
15417 |
< |
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' |
15418 |
< |
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' |
15419 |
< |
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' |
15420 |
< |
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
15421 |
< |
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
15422 |
< |
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' |
15423 |
< |
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15424 |
< |
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15425 |
< |
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15426 |
< |
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15427 |
< |
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15428 |
< |
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15429 |
< |
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' |
15430 |
< |
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' |
15431 |
< |
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15432 |
< |
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15433 |
< |
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' |
15434 |
< |
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' |
15435 |
< |
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' |
15436 |
< |
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' |
15437 |
< |
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' |
15438 |
< |
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' |
15321 |
> |
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
15322 |
> |
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
15323 |
> |
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
15324 |
> |
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
15325 |
> |
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
15326 |
> |
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
15327 |
> |
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
15328 |
> |
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
15329 |
> |
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
15330 |
> |
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
15331 |
> |
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
15332 |
> |
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
15333 |
> |
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
15334 |
> |
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
15335 |
> |
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
15336 |
> |
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
15337 |
> |
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
15338 |
> |
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
15339 |
> |
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
15340 |
> |
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
15341 |
> |
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
15342 |
> |
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
15343 |
> |
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
15344 |
> |
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
15345 |
> |
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
15346 |
> |
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
15347 |
> |
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
15348 |
> |
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
15349 |
> |
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
15350 |
> |
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
15351 |
> |
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
15352 |
> |
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
15353 |
> |
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
15354 |
> |
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
15355 |
> |
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
15356 |
> |
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
15357 |
> |
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
15358 |
> |
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
15359 |
> |
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
15360 |
> |
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
15361 |
> |
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
15362 |
> |
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
15363 |
> |
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
15364 |
> |
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
15365 |
> |
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
15366 |
> |
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
15367 |
> |
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
15368 |
> |
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' |
15369 |
> |
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' |
15370 |
> |
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
15371 |
> |
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
15372 |
> |
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
15373 |
> |
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
15374 |
> |
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
15375 |
> |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
15376 |
> |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
15377 |
> |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' |
15378 |
> |
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
15379 |
> |
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
15380 |
> |
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
15381 |
> |
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
15382 |
> |
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
15383 |
> |
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
15384 |
> |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
15385 |
> |
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
15386 |
> |
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
15387 |
> |
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
15388 |
> |
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
15389 |
> |
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
15390 |
> |
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
15391 |
> |
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
15392 |
> |
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' |
15393 |
> |
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' |
15394 |
> |
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' |
15395 |
> |
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' |
15396 |
> |
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
15397 |
> |
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' |
15398 |
> |
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' |
15399 |
> |
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' |
15400 |
> |
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' |
15401 |
> |
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' |
15402 |
> |
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' |
15403 |
> |
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
15404 |
> |
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' |
15405 |
> |
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
15406 |
> |
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' |
15407 |
> |
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
15408 |
> |
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' |
15409 |
> |
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
15410 |
> |
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
15411 |
> |
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
15412 |
> |
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
15413 |
> |
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
15414 |
> |
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
15415 |
> |
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' |
15416 |
> |
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' |
15417 |
> |
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
15418 |
> |
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
15419 |
> |
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
15420 |
> |
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
15421 |
> |
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
15422 |
> |
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
15423 |
> |
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
15424 |
> |
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
15425 |
> |
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
15426 |
> |
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
15427 |
> |
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
15428 |
> |
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
15429 |
> |
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' |
15430 |
> |
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' |
15431 |
> |
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' |
15432 |
> |
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' |
15433 |
> |
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' |
15434 |
> |
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
15435 |
> |
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' |
15436 |
> |
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
15437 |
> |
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' |
15438 |
> |
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
15439 |
> |
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
15440 |
> |
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
15441 |
> |
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
15442 |
> |
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
15443 |
> |
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
15444 |
> |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
15445 |
> |
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
15446 |
> |
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
15447 |
> |
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
15448 |
> |
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
15449 |
> |
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
15450 |
> |
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
15451 |
|
|
15452 |
|
LTCC='$LTCC' |
15453 |
|
LTCFLAGS='$LTCFLAGS' |
15454 |
|
compiler='$compiler_DEFAULT' |
15455 |
|
|
15456 |
+ |
# A function that is used when there is no print builtin or printf. |
15457 |
+ |
func_fallback_echo () |
15458 |
+ |
{ |
15459 |
+ |
eval 'cat <<_LTECHO_EOF |
15460 |
+ |
\$1 |
15461 |
+ |
_LTECHO_EOF' |
15462 |
+ |
} |
15463 |
+ |
|
15464 |
|
# Quote evaled strings. |
15465 |
< |
for var in SED \ |
15465 |
> |
for var in SHELL \ |
15466 |
> |
ECHO \ |
15467 |
> |
PATH_SEPARATOR \ |
15468 |
> |
SED \ |
15469 |
|
GREP \ |
15470 |
|
EGREP \ |
15471 |
|
FGREP \ |
15478 |
|
OBJDUMP \ |
15479 |
|
deplibs_check_method \ |
15480 |
|
file_magic_cmd \ |
15481 |
+ |
file_magic_glob \ |
15482 |
+ |
want_nocaseglob \ |
15483 |
+ |
DLLTOOL \ |
15484 |
+ |
sharedlib_from_linklib_cmd \ |
15485 |
|
AR \ |
15486 |
|
AR_FLAGS \ |
15487 |
+ |
archiver_list_spec \ |
15488 |
|
STRIP \ |
15489 |
|
RANLIB \ |
15490 |
|
CC \ |
15494 |
|
lt_cv_sys_global_symbol_to_cdecl \ |
15495 |
|
lt_cv_sys_global_symbol_to_c_name_address \ |
15496 |
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
15497 |
< |
SHELL \ |
14653 |
< |
ECHO \ |
15497 |
> |
nm_file_list_spec \ |
15498 |
|
lt_prog_compiler_no_builtin_flag \ |
14655 |
– |
lt_prog_compiler_wl \ |
15499 |
|
lt_prog_compiler_pic \ |
15500 |
+ |
lt_prog_compiler_wl \ |
15501 |
|
lt_prog_compiler_static \ |
15502 |
|
lt_cv_prog_compiler_c_o \ |
15503 |
|
need_locks \ |
15504 |
+ |
MANIFEST_TOOL \ |
15505 |
|
DSYMUTIL \ |
15506 |
|
NMEDIT \ |
15507 |
|
LIPO \ |
15515 |
|
allow_undefined_flag \ |
15516 |
|
no_undefined_flag \ |
15517 |
|
hardcode_libdir_flag_spec \ |
14673 |
– |
hardcode_libdir_flag_spec_ld \ |
15518 |
|
hardcode_libdir_separator \ |
14675 |
– |
fix_srcfile_path \ |
15519 |
|
exclude_expsyms \ |
15520 |
|
include_expsyms \ |
15521 |
|
file_list_spec \ |
15523 |
|
libname_spec \ |
15524 |
|
library_names_spec \ |
15525 |
|
soname_spec \ |
15526 |
+ |
install_override_mode \ |
15527 |
|
finish_eval \ |
15528 |
|
old_striplib \ |
15529 |
|
striplib; do |
15530 |
< |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
15530 |
> |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
15531 |
|
*[\\\\\\\`\\"\\\$]*) |
15532 |
< |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
15532 |
> |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
15533 |
|
;; |
15534 |
|
*) |
15535 |
|
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
15551 |
|
module_expsym_cmds \ |
15552 |
|
export_symbols_cmds \ |
15553 |
|
prelink_cmds \ |
15554 |
+ |
postlink_cmds \ |
15555 |
|
postinstall_cmds \ |
15556 |
|
postuninstall_cmds \ |
15557 |
|
finish_cmds \ |
15558 |
|
sys_lib_search_path_spec \ |
15559 |
|
sys_lib_dlsearch_path_spec; do |
15560 |
< |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
15560 |
> |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
15561 |
|
*[\\\\\\\`\\"\\\$]*) |
15562 |
< |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
15562 |
> |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
15563 |
|
;; |
15564 |
|
*) |
15565 |
|
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
15567 |
|
esac |
15568 |
|
done |
15569 |
|
|
14725 |
– |
# Fix-up fallback echo if it was mangled by the above quoting rules. |
14726 |
– |
case \$lt_ECHO in |
14727 |
– |
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` |
14728 |
– |
;; |
14729 |
– |
esac |
14730 |
– |
|
15570 |
|
ac_aux_dir='$ac_aux_dir' |
15571 |
|
xsi_shell='$xsi_shell' |
15572 |
|
lt_shell_append='$lt_shell_append' |
15599 |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
15600 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
15601 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
14763 |
– |
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; |
14764 |
– |
"etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;; |
14765 |
– |
"etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;; |
14766 |
– |
"etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;; |
14767 |
– |
"servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;; |
14768 |
– |
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
14769 |
– |
"contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;; |
15602 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
15603 |
< |
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
15603 |
> |
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
15604 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
15605 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
15606 |
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
15607 |
|
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
14776 |
– |
"help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;; |
14777 |
– |
"help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; |
14778 |
– |
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
14779 |
– |
"lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;; |
15608 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
15609 |
|
|
15610 |
< |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
15610 |
> |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
15611 |
|
esac |
15612 |
|
done |
15613 |
|
|
15630 |
|
# after its creation but before its name has been assigned to `$tmp'. |
15631 |
|
$debug || |
15632 |
|
{ |
15633 |
< |
tmp= |
15633 |
> |
tmp= ac_tmp= |
15634 |
|
trap 'exit_status=$? |
15635 |
< |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
15635 |
> |
: "${ac_tmp:=$tmp}" |
15636 |
> |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
15637 |
|
' 0 |
15638 |
|
trap 'as_fn_exit 1' 1 2 13 15 |
15639 |
|
} |
15641 |
|
|
15642 |
|
{ |
15643 |
|
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
15644 |
< |
test -n "$tmp" && test -d "$tmp" |
15644 |
> |
test -d "$tmp" |
15645 |
|
} || |
15646 |
|
{ |
15647 |
|
tmp=./conf$$-$RANDOM |
15648 |
|
(umask 077 && mkdir "$tmp") |
15649 |
< |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
15649 |
> |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
15650 |
> |
ac_tmp=$tmp |
15651 |
|
|
15652 |
|
# Set up the scripts for CONFIG_FILES section. |
15653 |
|
# No need to generate them if there are no CONFIG_FILES. |
15664 |
|
fi |
15665 |
|
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
15666 |
|
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
15667 |
< |
ac_cs_awk_cr='\r' |
15667 |
> |
ac_cs_awk_cr='\\r' |
15668 |
|
else |
15669 |
|
ac_cs_awk_cr=$ac_cr |
15670 |
|
fi |
15671 |
|
|
15672 |
< |
echo 'BEGIN {' >"$tmp/subs1.awk" && |
15672 |
> |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
15673 |
|
_ACEOF |
15674 |
|
|
15675 |
|
|
15678 |
|
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
15679 |
|
echo "_ACEOF" |
15680 |
|
} >conf$$subs.sh || |
15681 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15682 |
< |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
15681 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15682 |
> |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
15683 |
|
ac_delim='%!_!# ' |
15684 |
|
for ac_last_try in false false false false false :; do |
15685 |
|
. ./conf$$subs.sh || |
15686 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15686 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15687 |
|
|
15688 |
|
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
15689 |
|
if test $ac_delim_n = $ac_delim_num; then |
15690 |
|
break |
15691 |
|
elif $ac_last_try; then |
15692 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15692 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15693 |
|
else |
15694 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15695 |
|
fi |
15697 |
|
rm -f conf$$subs.sh |
15698 |
|
|
15699 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15700 |
< |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
15700 |
> |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
15701 |
|
_ACEOF |
15702 |
|
sed -n ' |
15703 |
|
h |
15711 |
|
t delim |
15712 |
|
:nl |
15713 |
|
h |
15714 |
< |
s/\(.\{148\}\).*/\1/ |
15714 |
> |
s/\(.\{148\}\)..*/\1/ |
15715 |
|
t more1 |
15716 |
|
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
15717 |
|
p |
15725 |
|
t nl |
15726 |
|
:delim |
15727 |
|
h |
15728 |
< |
s/\(.\{148\}\).*/\1/ |
15728 |
> |
s/\(.\{148\}\)..*/\1/ |
15729 |
|
t more2 |
15730 |
|
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
15731 |
|
p |
15745 |
|
rm -f conf$$subs.awk |
15746 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15747 |
|
_ACAWK |
15748 |
< |
cat >>"\$tmp/subs1.awk" <<_ACAWK && |
15748 |
> |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
15749 |
|
for (key in S) S_is_set[key] = 1 |
15750 |
|
FS = "" |
15751 |
|
|
15777 |
|
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
15778 |
|
else |
15779 |
|
cat |
15780 |
< |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
15781 |
< |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5 |
15780 |
> |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
15781 |
> |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
15782 |
|
_ACEOF |
15783 |
|
|
15784 |
< |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
15785 |
< |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
15784 |
> |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
15785 |
> |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
15786 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
15787 |
|
# (actually we leave an empty line to preserve line numbers). |
15788 |
|
if test "x$srcdir" = x.; then |
15789 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
15790 |
< |
s/:*\$(srcdir):*/:/ |
15791 |
< |
s/:*\${srcdir}:*/:/ |
15792 |
< |
s/:*@srcdir@:*/:/ |
15793 |
< |
s/^\([^=]*=[ ]*\):*/\1/ |
15789 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
15790 |
> |
h |
15791 |
> |
s/// |
15792 |
> |
s/^/:/ |
15793 |
> |
s/[ ]*$/:/ |
15794 |
> |
s/:\$(srcdir):/:/g |
15795 |
> |
s/:\${srcdir}:/:/g |
15796 |
> |
s/:@srcdir@:/:/g |
15797 |
> |
s/^:*// |
15798 |
|
s/:*$// |
15799 |
+ |
x |
15800 |
+ |
s/\(=[ ]*\).*/\1/ |
15801 |
+ |
G |
15802 |
+ |
s/\n// |
15803 |
|
s/^[^=]*=[ ]*$// |
15804 |
|
}' |
15805 |
|
fi |
15811 |
|
# No need to generate them if there are no CONFIG_HEADERS. |
15812 |
|
# This happens for instance with `./config.status Makefile'. |
15813 |
|
if test -n "$CONFIG_HEADERS"; then |
15814 |
< |
cat >"$tmp/defines.awk" <<\_ACAWK || |
15814 |
> |
cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
15815 |
|
BEGIN { |
15816 |
|
_ACEOF |
15817 |
|
|
15823 |
|
# handling of long lines. |
15824 |
|
ac_delim='%!_!# ' |
15825 |
|
for ac_last_try in false false :; do |
15826 |
< |
ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
15827 |
< |
if test -z "$ac_t"; then |
15826 |
> |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
15827 |
> |
if test -z "$ac_tt"; then |
15828 |
|
break |
15829 |
|
elif $ac_last_try; then |
15830 |
< |
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
15830 |
> |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
15831 |
|
else |
15832 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15833 |
|
fi |
15912 |
|
_ACAWK |
15913 |
|
_ACEOF |
15914 |
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15915 |
< |
as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
15915 |
> |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
15916 |
|
fi # test -n "$CONFIG_HEADERS" |
15917 |
|
|
15918 |
|
|
15925 |
|
esac |
15926 |
|
case $ac_mode$ac_tag in |
15927 |
|
:[FHL]*:*);; |
15928 |
< |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
15928 |
> |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
15929 |
|
:[FH]-) ac_tag=-:-;; |
15930 |
|
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
15931 |
|
esac |
15944 |
|
for ac_f |
15945 |
|
do |
15946 |
|
case $ac_f in |
15947 |
< |
-) ac_f="$tmp/stdin";; |
15947 |
> |
-) ac_f="$ac_tmp/stdin";; |
15948 |
|
*) # Look for the file first in the build tree, then in the source tree |
15949 |
|
# (if the path is not absolute). The absolute path cannot be DOS-style, |
15950 |
|
# because $ac_f cannot contain `:'. |
15953 |
|
[\\/$]*) false;; |
15954 |
|
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
15955 |
|
esac || |
15956 |
< |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
15956 |
> |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
15957 |
|
esac |
15958 |
|
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
15959 |
|
as_fn_append ac_file_inputs " '$ac_f'" |
15979 |
|
esac |
15980 |
|
|
15981 |
|
case $ac_tag in |
15982 |
< |
*:-:* | *:-) cat >"$tmp/stdin" \ |
15983 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
15982 |
> |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
15983 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
15984 |
|
esac |
15985 |
|
;; |
15986 |
|
esac |
16116 |
|
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
16117 |
|
$ac_datarootdir_hack |
16118 |
|
" |
16119 |
< |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
16120 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
16119 |
> |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
16120 |
> |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16121 |
|
|
16122 |
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
16123 |
< |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
16124 |
< |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
16123 |
> |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
16124 |
> |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
16125 |
> |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
16126 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
16127 |
< |
which seems to be undefined. Please make sure it is defined." >&5 |
16127 |
> |
which seems to be undefined. Please make sure it is defined" >&5 |
16128 |
|
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
16129 |
< |
which seems to be undefined. Please make sure it is defined." >&2;} |
16129 |
> |
which seems to be undefined. Please make sure it is defined" >&2;} |
16130 |
|
|
16131 |
< |
rm -f "$tmp/stdin" |
16131 |
> |
rm -f "$ac_tmp/stdin" |
16132 |
|
case $ac_file in |
16133 |
< |
-) cat "$tmp/out" && rm -f "$tmp/out";; |
16134 |
< |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
16133 |
> |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
16134 |
> |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
16135 |
|
esac \ |
16136 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
16136 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16137 |
|
;; |
16138 |
|
:H) |
16139 |
|
# |
16142 |
|
if test x"$ac_file" != x-; then |
16143 |
|
{ |
16144 |
|
$as_echo "/* $configure_input */" \ |
16145 |
< |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
16146 |
< |
} >"$tmp/config.h" \ |
16147 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
16148 |
< |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
16145 |
> |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
16146 |
> |
} >"$ac_tmp/config.h" \ |
16147 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16148 |
> |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
16149 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
16150 |
|
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
16151 |
|
else |
16152 |
|
rm -f "$ac_file" |
16153 |
< |
mv "$tmp/config.h" "$ac_file" \ |
16154 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
16153 |
> |
mv "$ac_tmp/config.h" "$ac_file" \ |
16154 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16155 |
|
fi |
16156 |
|
else |
16157 |
|
$as_echo "/* $configure_input */" \ |
16158 |
< |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
16159 |
< |
|| as_fn_error "could not create -" "$LINENO" 5 |
16158 |
> |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
16159 |
> |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
16160 |
|
fi |
16161 |
|
# Compute "$ac_file"'s index in $config_headers. |
16162 |
|
_am_arg="$ac_file" |
16202 |
|
|
16203 |
|
case $ac_file$ac_mode in |
16204 |
|
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
16205 |
< |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
16205 |
> |
# Older Autoconf quotes --file arguments for eval, but not when files |
16206 |
|
# are listed without --file. Let's play safe and only enable the eval |
16207 |
|
# if we detect the quoting. |
16208 |
|
case $CONFIG_FILES in |
16215 |
|
# Strip MF so we end up with the name of the file. |
16216 |
|
mf=`echo "$mf" | sed -e 's/:.*$//'` |
16217 |
|
# Check whether this is an Automake generated Makefile or not. |
16218 |
< |
# We used to match only the files named `Makefile.in', but |
16218 |
> |
# We used to match only the files named 'Makefile.in', but |
16219 |
|
# some people rename them; so instead we look at the file content. |
16220 |
|
# Grep'ing the first line is not enough: some people post-process |
16221 |
|
# each Makefile.in and add a new line on top of each file to say so. |
16249 |
|
continue |
16250 |
|
fi |
16251 |
|
# Extract the definition of DEPDIR, am__include, and am__quote |
16252 |
< |
# from the Makefile without running `make'. |
16252 |
> |
# from the Makefile without running 'make'. |
16253 |
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
16254 |
|
test -z "$DEPDIR" && continue |
16255 |
|
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
16256 |
< |
test -z "am__include" && continue |
16256 |
> |
test -z "$am__include" && continue |
16257 |
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
15419 |
– |
# When using ansi2knr, U may be empty or an underscore; expand it |
15420 |
– |
U=`sed -n 's/^U = //p' < "$mf"` |
16258 |
|
# Find all dependency output files, they are included files with |
16259 |
|
# $(DEPDIR) in their names. We invoke sed twice because it is the |
16260 |
|
# simplest approach to changing $(DEPDIR) to its actual value in the |
16261 |
|
# expansion. |
16262 |
|
for file in `sed -n " |
16263 |
|
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
16264 |
< |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
16264 |
> |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
16265 |
|
# Make sure the directory exists. |
16266 |
|
test -f "$dirpart/$file" && continue |
16267 |
|
fdir=`$as_dirname -- "$file" || |
16315 |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
16316 |
|
# |
16317 |
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
16318 |
< |
# 2006, 2007, 2008 Free Software Foundation, Inc. |
16318 |
> |
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
16319 |
> |
# Foundation, Inc. |
16320 |
|
# Written by Gordon Matzigkeit, 1996 |
16321 |
|
# |
16322 |
|
# This file is part of GNU Libtool. |
16352 |
|
macro_version=$macro_version |
16353 |
|
macro_revision=$macro_revision |
16354 |
|
|
15517 |
– |
# Whether or not to build shared libraries. |
15518 |
– |
build_libtool_libs=$enable_shared |
15519 |
– |
|
16355 |
|
# Whether or not to build static libraries. |
16356 |
|
build_old_libs=$enable_static |
16357 |
|
|
16358 |
+ |
# Whether or not to build shared libraries. |
16359 |
+ |
build_libtool_libs=$enable_shared |
16360 |
+ |
|
16361 |
|
# What type of objects to build. |
16362 |
|
pic_mode=$pic_mode |
16363 |
|
|
16364 |
|
# Whether or not to optimize for fast installation. |
16365 |
|
fast_install=$enable_fast_install |
16366 |
|
|
16367 |
+ |
# Shell to use when invoking shell scripts. |
16368 |
+ |
SHELL=$lt_SHELL |
16369 |
+ |
|
16370 |
+ |
# An echo program that protects backslashes. |
16371 |
+ |
ECHO=$lt_ECHO |
16372 |
+ |
|
16373 |
+ |
# The PATH separator for the build system. |
16374 |
+ |
PATH_SEPARATOR=$lt_PATH_SEPARATOR |
16375 |
+ |
|
16376 |
|
# The host system. |
16377 |
|
host_alias=$host_alias |
16378 |
|
host=$host |
16422 |
|
# turn newlines into spaces. |
16423 |
|
NL2SP=$lt_lt_NL2SP |
16424 |
|
|
16425 |
< |
# How to create reloadable object files. |
16426 |
< |
reload_flag=$lt_reload_flag |
16427 |
< |
reload_cmds=$lt_reload_cmds |
16425 |
> |
# convert \$build file names to \$host format. |
16426 |
> |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
16427 |
> |
|
16428 |
> |
# convert \$build files to toolchain format. |
16429 |
> |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
16430 |
|
|
16431 |
|
# An object symbol dumper. |
16432 |
|
OBJDUMP=$lt_OBJDUMP |
16434 |
|
# Method to check whether dependent libraries are shared objects. |
16435 |
|
deplibs_check_method=$lt_deplibs_check_method |
16436 |
|
|
16437 |
< |
# Command to use when deplibs_check_method == "file_magic". |
16437 |
> |
# Command to use when deplibs_check_method = "file_magic". |
16438 |
|
file_magic_cmd=$lt_file_magic_cmd |
16439 |
|
|
16440 |
+ |
# How to find potential files when deplibs_check_method = "file_magic". |
16441 |
+ |
file_magic_glob=$lt_file_magic_glob |
16442 |
+ |
|
16443 |
+ |
# Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
16444 |
+ |
want_nocaseglob=$lt_want_nocaseglob |
16445 |
+ |
|
16446 |
+ |
# DLL creation program. |
16447 |
+ |
DLLTOOL=$lt_DLLTOOL |
16448 |
+ |
|
16449 |
+ |
# Command to associate shared and link libraries. |
16450 |
+ |
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
16451 |
+ |
|
16452 |
|
# The archiver. |
16453 |
|
AR=$lt_AR |
16454 |
+ |
|
16455 |
+ |
# Flags to create an archive. |
16456 |
|
AR_FLAGS=$lt_AR_FLAGS |
16457 |
|
|
16458 |
+ |
# How to feed a file listing to the archiver. |
16459 |
+ |
archiver_list_spec=$lt_archiver_list_spec |
16460 |
+ |
|
16461 |
|
# A symbol stripping program. |
16462 |
|
STRIP=$lt_STRIP |
16463 |
|
|
16466 |
|
old_postinstall_cmds=$lt_old_postinstall_cmds |
16467 |
|
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
16468 |
|
|
16469 |
+ |
# Whether to use a lock for old archive extraction. |
16470 |
+ |
lock_old_archive_extraction=$lock_old_archive_extraction |
16471 |
+ |
|
16472 |
|
# A C compiler. |
16473 |
|
LTCC=$lt_CC |
16474 |
|
|
16487 |
|
# Transform the output of nm in a C name address pair when lib prefix is needed. |
16488 |
|
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
16489 |
|
|
16490 |
< |
# The name of the directory that contains temporary libtool files. |
16491 |
< |
objdir=$objdir |
16490 |
> |
# Specify filename containing input files for \$NM. |
16491 |
> |
nm_file_list_spec=$lt_nm_file_list_spec |
16492 |
|
|
16493 |
< |
# Shell to use when invoking shell scripts. |
16494 |
< |
SHELL=$lt_SHELL |
16493 |
> |
# The root where to search for dependent libraries,and in which our libraries should be installed. |
16494 |
> |
lt_sysroot=$lt_sysroot |
16495 |
|
|
16496 |
< |
# An echo program that does not interpret backslashes. |
16497 |
< |
ECHO=$lt_ECHO |
16496 |
> |
# The name of the directory that contains temporary libtool files. |
16497 |
> |
objdir=$objdir |
16498 |
|
|
16499 |
|
# Used to examine libraries when file_magic_cmd begins with "file". |
16500 |
|
MAGIC_CMD=$MAGIC_CMD |
16502 |
|
# Must we lock files when doing compilation? |
16503 |
|
need_locks=$lt_need_locks |
16504 |
|
|
16505 |
+ |
# Manifest tool. |
16506 |
+ |
MANIFEST_TOOL=$lt_MANIFEST_TOOL |
16507 |
+ |
|
16508 |
|
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
16509 |
|
DSYMUTIL=$lt_DSYMUTIL |
16510 |
|
|
16561 |
|
# The coded name of the library, if different from the real name. |
16562 |
|
soname_spec=$lt_soname_spec |
16563 |
|
|
16564 |
+ |
# Permission mode override for installation of shared libraries. |
16565 |
+ |
install_override_mode=$lt_install_override_mode |
16566 |
+ |
|
16567 |
|
# Command to use after installation of a shared archive. |
16568 |
|
postinstall_cmds=$lt_postinstall_cmds |
16569 |
|
|
16603 |
|
# The linker used to build libraries. |
16604 |
|
LD=$lt_LD |
16605 |
|
|
16606 |
+ |
# How to create reloadable object files. |
16607 |
+ |
reload_flag=$lt_reload_flag |
16608 |
+ |
reload_cmds=$lt_reload_cmds |
16609 |
+ |
|
16610 |
|
# Commands used to build an old-style archive. |
16611 |
|
old_archive_cmds=$lt_old_archive_cmds |
16612 |
|
|
16619 |
|
# Compiler flag to turn off builtin functions. |
16620 |
|
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
16621 |
|
|
15743 |
– |
# How to pass a linker flag through the compiler. |
15744 |
– |
wl=$lt_lt_prog_compiler_wl |
15745 |
– |
|
16622 |
|
# Additional compiler flags for building library objects. |
16623 |
|
pic_flag=$lt_lt_prog_compiler_pic |
16624 |
|
|
16625 |
+ |
# How to pass a linker flag through the compiler. |
16626 |
+ |
wl=$lt_lt_prog_compiler_wl |
16627 |
+ |
|
16628 |
|
# Compiler flag to prevent dynamic linking. |
16629 |
|
link_static_flag=$lt_lt_prog_compiler_static |
16630 |
|
|
16674 |
|
# This must work even if \$libdir does not exist |
16675 |
|
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
16676 |
|
|
15798 |
– |
# If ld is used when linking, flag to hardcode \$libdir into a binary |
15799 |
– |
# during linking. This must work even if \$libdir does not exist. |
15800 |
– |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld |
15801 |
– |
|
16677 |
|
# Whether we need a single "-rpath" flag with a separated argument. |
16678 |
|
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
16679 |
|
|
16707 |
|
# Whether libtool must link a program against all its dependency libraries. |
16708 |
|
link_all_deplibs=$link_all_deplibs |
16709 |
|
|
15835 |
– |
# Fix the shell variable \$srcfile for the compiler. |
15836 |
– |
fix_srcfile_path=$lt_fix_srcfile_path |
15837 |
– |
|
16710 |
|
# Set to "yes" if exported symbols are required. |
16711 |
|
always_export_symbols=$always_export_symbols |
16712 |
|
|
16722 |
|
# Commands necessary for linking programs (against libraries) with templates. |
16723 |
|
prelink_cmds=$lt_prelink_cmds |
16724 |
|
|
16725 |
+ |
# Commands necessary for finishing linking programs. |
16726 |
+ |
postlink_cmds=$lt_postlink_cmds |
16727 |
+ |
|
16728 |
|
# Specify filename containing input files. |
16729 |
|
file_list_spec=$lt_file_list_spec |
16730 |
|
|
16757 |
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
16758 |
|
# text mode, it properly converts lines to CR/LF. This bash problem |
16759 |
|
# is reportedly fixed, but why not run on old versions too? |
16760 |
< |
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ |
16761 |
< |
|| (rm -f "$cfgfile"; exit 1) |
15887 |
< |
|
15888 |
< |
case $xsi_shell in |
15889 |
< |
yes) |
15890 |
< |
cat << \_LT_EOF >> "$cfgfile" |
15891 |
< |
|
15892 |
< |
# func_dirname file append nondir_replacement |
15893 |
< |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
15894 |
< |
# otherwise set result to NONDIR_REPLACEMENT. |
15895 |
< |
func_dirname () |
15896 |
< |
{ |
15897 |
< |
case ${1} in |
15898 |
< |
*/*) func_dirname_result="${1%/*}${2}" ;; |
15899 |
< |
* ) func_dirname_result="${3}" ;; |
15900 |
< |
esac |
15901 |
< |
} |
15902 |
< |
|
15903 |
< |
# func_basename file |
15904 |
< |
func_basename () |
15905 |
< |
{ |
15906 |
< |
func_basename_result="${1##*/}" |
15907 |
< |
} |
15908 |
< |
|
15909 |
< |
# func_dirname_and_basename file append nondir_replacement |
15910 |
< |
# perform func_basename and func_dirname in a single function |
15911 |
< |
# call: |
15912 |
< |
# dirname: Compute the dirname of FILE. If nonempty, |
15913 |
< |
# add APPEND to the result, otherwise set result |
15914 |
< |
# to NONDIR_REPLACEMENT. |
15915 |
< |
# value returned in "$func_dirname_result" |
15916 |
< |
# basename: Compute filename of FILE. |
15917 |
< |
# value retuned in "$func_basename_result" |
15918 |
< |
# Implementation must be kept synchronized with func_dirname |
15919 |
< |
# and func_basename. For efficiency, we do not delegate to |
15920 |
< |
# those functions but instead duplicate the functionality here. |
15921 |
< |
func_dirname_and_basename () |
15922 |
< |
{ |
15923 |
< |
case ${1} in |
15924 |
< |
*/*) func_dirname_result="${1%/*}${2}" ;; |
15925 |
< |
* ) func_dirname_result="${3}" ;; |
15926 |
< |
esac |
15927 |
< |
func_basename_result="${1##*/}" |
15928 |
< |
} |
15929 |
< |
|
15930 |
< |
# func_stripname prefix suffix name |
15931 |
< |
# strip PREFIX and SUFFIX off of NAME. |
15932 |
< |
# PREFIX and SUFFIX must not contain globbing or regex special |
15933 |
< |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
15934 |
< |
# dot (in which case that matches only a dot). |
15935 |
< |
func_stripname () |
15936 |
< |
{ |
15937 |
< |
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are |
15938 |
< |
# positional parameters, so assign one to ordinary parameter first. |
15939 |
< |
func_stripname_result=${3} |
15940 |
< |
func_stripname_result=${func_stripname_result#"${1}"} |
15941 |
< |
func_stripname_result=${func_stripname_result%"${2}"} |
15942 |
< |
} |
15943 |
< |
|
15944 |
< |
# func_opt_split |
15945 |
< |
func_opt_split () |
15946 |
< |
{ |
15947 |
< |
func_opt_split_opt=${1%%=*} |
15948 |
< |
func_opt_split_arg=${1#*=} |
15949 |
< |
} |
15950 |
< |
|
15951 |
< |
# func_lo2o object |
15952 |
< |
func_lo2o () |
15953 |
< |
{ |
15954 |
< |
case ${1} in |
15955 |
< |
*.lo) func_lo2o_result=${1%.lo}.${objext} ;; |
15956 |
< |
*) func_lo2o_result=${1} ;; |
15957 |
< |
esac |
15958 |
< |
} |
15959 |
< |
|
15960 |
< |
# func_xform libobj-or-source |
15961 |
< |
func_xform () |
15962 |
< |
{ |
15963 |
< |
func_xform_result=${1%.*}.lo |
15964 |
< |
} |
15965 |
< |
|
15966 |
< |
# func_arith arithmetic-term... |
15967 |
< |
func_arith () |
15968 |
< |
{ |
15969 |
< |
func_arith_result=$(( $* )) |
15970 |
< |
} |
15971 |
< |
|
15972 |
< |
# func_len string |
15973 |
< |
# STRING may not start with a hyphen. |
15974 |
< |
func_len () |
15975 |
< |
{ |
15976 |
< |
func_len_result=${#1} |
15977 |
< |
} |
15978 |
< |
|
15979 |
< |
_LT_EOF |
15980 |
< |
;; |
15981 |
< |
*) # Bourne compatible functions. |
15982 |
< |
cat << \_LT_EOF >> "$cfgfile" |
15983 |
< |
|
15984 |
< |
# func_dirname file append nondir_replacement |
15985 |
< |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
15986 |
< |
# otherwise set result to NONDIR_REPLACEMENT. |
15987 |
< |
func_dirname () |
15988 |
< |
{ |
15989 |
< |
# Extract subdirectory from the argument. |
15990 |
< |
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` |
15991 |
< |
if test "X$func_dirname_result" = "X${1}"; then |
15992 |
< |
func_dirname_result="${3}" |
15993 |
< |
else |
15994 |
< |
func_dirname_result="$func_dirname_result${2}" |
15995 |
< |
fi |
15996 |
< |
} |
15997 |
< |
|
15998 |
< |
# func_basename file |
15999 |
< |
func_basename () |
16000 |
< |
{ |
16001 |
< |
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` |
16002 |
< |
} |
16003 |
< |
|
16004 |
< |
|
16005 |
< |
# func_stripname prefix suffix name |
16006 |
< |
# strip PREFIX and SUFFIX off of NAME. |
16007 |
< |
# PREFIX and SUFFIX must not contain globbing or regex special |
16008 |
< |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
16009 |
< |
# dot (in which case that matches only a dot). |
16010 |
< |
# func_strip_suffix prefix name |
16011 |
< |
func_stripname () |
16012 |
< |
{ |
16013 |
< |
case ${2} in |
16014 |
< |
.*) func_stripname_result=`$ECHO "X${3}" \ |
16015 |
< |
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; |
16016 |
< |
*) func_stripname_result=`$ECHO "X${3}" \ |
16017 |
< |
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; |
16018 |
< |
esac |
16019 |
< |
} |
16020 |
< |
|
16021 |
< |
# sed scripts: |
16022 |
< |
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' |
16023 |
< |
my_sed_long_arg='1s/^-[^=]*=//' |
16024 |
< |
|
16025 |
< |
# func_opt_split |
16026 |
< |
func_opt_split () |
16027 |
< |
{ |
16028 |
< |
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` |
16029 |
< |
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` |
16030 |
< |
} |
16031 |
< |
|
16032 |
< |
# func_lo2o object |
16033 |
< |
func_lo2o () |
16034 |
< |
{ |
16035 |
< |
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` |
16036 |
< |
} |
16037 |
< |
|
16038 |
< |
# func_xform libobj-or-source |
16039 |
< |
func_xform () |
16040 |
< |
{ |
16041 |
< |
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` |
16042 |
< |
} |
16043 |
< |
|
16044 |
< |
# func_arith arithmetic-term... |
16045 |
< |
func_arith () |
16046 |
< |
{ |
16047 |
< |
func_arith_result=`expr "$@"` |
16048 |
< |
} |
16049 |
< |
|
16050 |
< |
# func_len string |
16051 |
< |
# STRING may not start with a hyphen. |
16052 |
< |
func_len () |
16053 |
< |
{ |
16054 |
< |
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` |
16055 |
< |
} |
16056 |
< |
|
16057 |
< |
_LT_EOF |
16058 |
< |
esac |
16059 |
< |
|
16060 |
< |
case $lt_shell_append in |
16061 |
< |
yes) |
16062 |
< |
cat << \_LT_EOF >> "$cfgfile" |
16063 |
< |
|
16064 |
< |
# func_append var value |
16065 |
< |
# Append VALUE to the end of shell variable VAR. |
16066 |
< |
func_append () |
16067 |
< |
{ |
16068 |
< |
eval "$1+=\$2" |
16069 |
< |
} |
16070 |
< |
_LT_EOF |
16071 |
< |
;; |
16072 |
< |
*) |
16073 |
< |
cat << \_LT_EOF >> "$cfgfile" |
16074 |
< |
|
16075 |
< |
# func_append var value |
16076 |
< |
# Append VALUE to the end of shell variable VAR. |
16077 |
< |
func_append () |
16078 |
< |
{ |
16079 |
< |
eval "$1=\$$1\$2" |
16080 |
< |
} |
16081 |
< |
|
16082 |
< |
_LT_EOF |
16083 |
< |
;; |
16084 |
< |
esac |
16760 |
> |
sed '$q' "$ltmain" >> "$cfgfile" \ |
16761 |
> |
|| (rm -f "$cfgfile"; exit 1) |
16762 |
|
|
16763 |
+ |
if test x"$xsi_shell" = xyes; then |
16764 |
+ |
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
16765 |
+ |
func_dirname ()\ |
16766 |
+ |
{\ |
16767 |
+ |
\ case ${1} in\ |
16768 |
+ |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
16769 |
+ |
\ * ) func_dirname_result="${3}" ;;\ |
16770 |
+ |
\ esac\ |
16771 |
+ |
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
16772 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16773 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16774 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16775 |
+ |
|
16776 |
+ |
|
16777 |
+ |
sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
16778 |
+ |
func_basename ()\ |
16779 |
+ |
{\ |
16780 |
+ |
\ func_basename_result="${1##*/}"\ |
16781 |
+ |
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
16782 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16783 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16784 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16785 |
+ |
|
16786 |
+ |
|
16787 |
+ |
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
16788 |
+ |
func_dirname_and_basename ()\ |
16789 |
+ |
{\ |
16790 |
+ |
\ case ${1} in\ |
16791 |
+ |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
16792 |
+ |
\ * ) func_dirname_result="${3}" ;;\ |
16793 |
+ |
\ esac\ |
16794 |
+ |
\ func_basename_result="${1##*/}"\ |
16795 |
+ |
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
16796 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16797 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16798 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16799 |
+ |
|
16800 |
+ |
|
16801 |
+ |
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
16802 |
+ |
func_stripname ()\ |
16803 |
+ |
{\ |
16804 |
+ |
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
16805 |
+ |
\ # positional parameters, so assign one to ordinary parameter first.\ |
16806 |
+ |
\ func_stripname_result=${3}\ |
16807 |
+ |
\ func_stripname_result=${func_stripname_result#"${1}"}\ |
16808 |
+ |
\ func_stripname_result=${func_stripname_result%"${2}"}\ |
16809 |
+ |
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
16810 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16811 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16812 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16813 |
+ |
|
16814 |
+ |
|
16815 |
+ |
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
16816 |
+ |
func_split_long_opt ()\ |
16817 |
+ |
{\ |
16818 |
+ |
\ func_split_long_opt_name=${1%%=*}\ |
16819 |
+ |
\ func_split_long_opt_arg=${1#*=}\ |
16820 |
+ |
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
16821 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16822 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16823 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16824 |
+ |
|
16825 |
+ |
|
16826 |
+ |
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
16827 |
+ |
func_split_short_opt ()\ |
16828 |
+ |
{\ |
16829 |
+ |
\ func_split_short_opt_arg=${1#??}\ |
16830 |
+ |
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
16831 |
+ |
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
16832 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16833 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16834 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16835 |
+ |
|
16836 |
+ |
|
16837 |
+ |
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
16838 |
+ |
func_lo2o ()\ |
16839 |
+ |
{\ |
16840 |
+ |
\ case ${1} in\ |
16841 |
+ |
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
16842 |
+ |
\ *) func_lo2o_result=${1} ;;\ |
16843 |
+ |
\ esac\ |
16844 |
+ |
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
16845 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16846 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16847 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16848 |
+ |
|
16849 |
+ |
|
16850 |
+ |
sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
16851 |
+ |
func_xform ()\ |
16852 |
+ |
{\ |
16853 |
+ |
func_xform_result=${1%.*}.lo\ |
16854 |
+ |
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
16855 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16856 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16857 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16858 |
+ |
|
16859 |
+ |
|
16860 |
+ |
sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
16861 |
+ |
func_arith ()\ |
16862 |
+ |
{\ |
16863 |
+ |
func_arith_result=$(( $* ))\ |
16864 |
+ |
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
16865 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16866 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16867 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16868 |
+ |
|
16869 |
+ |
|
16870 |
+ |
sed -e '/^func_len ()$/,/^} # func_len /c\ |
16871 |
+ |
func_len ()\ |
16872 |
+ |
{\ |
16873 |
+ |
func_len_result=${#1}\ |
16874 |
+ |
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
16875 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16876 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16877 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16878 |
+ |
|
16879 |
+ |
fi |
16880 |
+ |
|
16881 |
+ |
if test x"$lt_shell_append" = xyes; then |
16882 |
+ |
sed -e '/^func_append ()$/,/^} # func_append /c\ |
16883 |
+ |
func_append ()\ |
16884 |
+ |
{\ |
16885 |
+ |
eval "${1}+=\\${2}"\ |
16886 |
+ |
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ |
16887 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16888 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16889 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16890 |
+ |
|
16891 |
+ |
|
16892 |
+ |
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ |
16893 |
+ |
func_append_quoted ()\ |
16894 |
+ |
{\ |
16895 |
+ |
\ func_quote_for_eval "${2}"\ |
16896 |
+ |
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
16897 |
+ |
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ |
16898 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16899 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16900 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16901 |
+ |
|
16902 |
+ |
|
16903 |
+ |
# Save a `func_append' function call where possible by direct use of '+=' |
16904 |
+ |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
16905 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16906 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16907 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16908 |
+ |
else |
16909 |
+ |
# Save a `func_append' function call even when '+=' is not available |
16910 |
+ |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ |
16911 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16912 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16913 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16914 |
+ |
fi |
16915 |
+ |
|
16916 |
+ |
if test x"$_lt_function_replace_fail" = x":"; then |
16917 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 |
16918 |
+ |
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} |
16919 |
+ |
fi |
16920 |
|
|
16087 |
– |
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ |
16088 |
– |
|| (rm -f "$cfgfile"; exit 1) |
16921 |
|
|
16922 |
< |
mv -f "$cfgfile" "$ofile" || |
16922 |
> |
mv -f "$cfgfile" "$ofile" || |
16923 |
|
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
16924 |
|
chmod +x "$ofile" |
16925 |
|
|
16934 |
|
ac_clean_files=$ac_clean_files_save |
16935 |
|
|
16936 |
|
test $ac_write_fail = 0 || |
16937 |
< |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
16937 |
> |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
16938 |
|
|
16939 |
|
|
16940 |
|
# configure is writing to config.log, and then calls config.status. |
16955 |
|
exec 5>>config.log |
16956 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
16957 |
|
# would make configure fail if this is the last instruction. |
16958 |
< |
$ac_cs_success || as_fn_exit $? |
16127 |
< |
fi |
16128 |
< |
|
16129 |
< |
# |
16130 |
< |
# CONFIG_SUBDIRS section. |
16131 |
< |
# |
16132 |
< |
if test "$no_recursion" != yes; then |
16133 |
< |
|
16134 |
< |
# Remove --cache-file, --srcdir, and --disable-option-checking arguments |
16135 |
< |
# so they do not pile up. |
16136 |
< |
ac_sub_configure_args= |
16137 |
< |
ac_prev= |
16138 |
< |
eval "set x $ac_configure_args" |
16139 |
< |
shift |
16140 |
< |
for ac_arg |
16141 |
< |
do |
16142 |
< |
if test -n "$ac_prev"; then |
16143 |
< |
ac_prev= |
16144 |
< |
continue |
16145 |
< |
fi |
16146 |
< |
case $ac_arg in |
16147 |
< |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
16148 |
< |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
16149 |
< |
ac_prev=cache_file ;; |
16150 |
< |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
16151 |
< |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
16152 |
< |
| --c=*) |
16153 |
< |
;; |
16154 |
< |
--config-cache | -C) |
16155 |
< |
;; |
16156 |
< |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
16157 |
< |
ac_prev=srcdir ;; |
16158 |
< |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
16159 |
< |
;; |
16160 |
< |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
16161 |
< |
ac_prev=prefix ;; |
16162 |
< |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
16163 |
< |
;; |
16164 |
< |
--disable-option-checking) |
16165 |
< |
;; |
16166 |
< |
*) |
16167 |
< |
case $ac_arg in |
16168 |
< |
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
16169 |
< |
esac |
16170 |
< |
as_fn_append ac_sub_configure_args " '$ac_arg'" ;; |
16171 |
< |
esac |
16172 |
< |
done |
16173 |
< |
|
16174 |
< |
# Always prepend --prefix to ensure using the same prefix |
16175 |
< |
# in subdir configurations. |
16176 |
< |
ac_arg="--prefix=$prefix" |
16177 |
< |
case $ac_arg in |
16178 |
< |
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
16179 |
< |
esac |
16180 |
< |
ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" |
16181 |
< |
|
16182 |
< |
# Pass --silent |
16183 |
< |
if test "$silent" = yes; then |
16184 |
< |
ac_sub_configure_args="--silent $ac_sub_configure_args" |
16185 |
< |
fi |
16186 |
< |
|
16187 |
< |
# Always prepend --disable-option-checking to silence warnings, since |
16188 |
< |
# different subdirs can have different --enable and --with options. |
16189 |
< |
ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" |
16190 |
< |
|
16191 |
< |
ac_popdir=`pwd` |
16192 |
< |
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
16193 |
< |
|
16194 |
< |
# Do not complain, so a configure script can configure whichever |
16195 |
< |
# parts of a large source tree are present. |
16196 |
< |
test -d "$srcdir/$ac_dir" || continue |
16197 |
< |
|
16198 |
< |
ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" |
16199 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 |
16200 |
< |
$as_echo "$ac_msg" >&6 |
16201 |
< |
as_dir="$ac_dir"; as_fn_mkdir_p |
16202 |
< |
ac_builddir=. |
16203 |
< |
|
16204 |
< |
case "$ac_dir" in |
16205 |
< |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
16206 |
< |
*) |
16207 |
< |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
16208 |
< |
# A ".." for each directory in $ac_dir_suffix. |
16209 |
< |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
16210 |
< |
case $ac_top_builddir_sub in |
16211 |
< |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
16212 |
< |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
16213 |
< |
esac ;; |
16214 |
< |
esac |
16215 |
< |
ac_abs_top_builddir=$ac_pwd |
16216 |
< |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
16217 |
< |
# for backward compatibility: |
16218 |
< |
ac_top_builddir=$ac_top_build_prefix |
16219 |
< |
|
16220 |
< |
case $srcdir in |
16221 |
< |
.) # We are building in place. |
16222 |
< |
ac_srcdir=. |
16223 |
< |
ac_top_srcdir=$ac_top_builddir_sub |
16224 |
< |
ac_abs_top_srcdir=$ac_pwd ;; |
16225 |
< |
[\\/]* | ?:[\\/]* ) # Absolute name. |
16226 |
< |
ac_srcdir=$srcdir$ac_dir_suffix; |
16227 |
< |
ac_top_srcdir=$srcdir |
16228 |
< |
ac_abs_top_srcdir=$srcdir ;; |
16229 |
< |
*) # Relative name. |
16230 |
< |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
16231 |
< |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
16232 |
< |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
16233 |
< |
esac |
16234 |
< |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
16235 |
< |
|
16236 |
< |
|
16237 |
< |
cd "$ac_dir" |
16238 |
< |
|
16239 |
< |
# Check for guested configure; otherwise get Cygnus style configure. |
16240 |
< |
if test -f "$ac_srcdir/configure.gnu"; then |
16241 |
< |
ac_sub_configure=$ac_srcdir/configure.gnu |
16242 |
< |
elif test -f "$ac_srcdir/configure"; then |
16243 |
< |
ac_sub_configure=$ac_srcdir/configure |
16244 |
< |
elif test -f "$ac_srcdir/configure.in"; then |
16245 |
< |
# This should be Cygnus configure. |
16246 |
< |
ac_sub_configure=$ac_aux_dir/configure |
16247 |
< |
else |
16248 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 |
16249 |
< |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
16250 |
< |
ac_sub_configure= |
16251 |
< |
fi |
16252 |
< |
|
16253 |
< |
# The recursion is here. |
16254 |
< |
if test -n "$ac_sub_configure"; then |
16255 |
< |
# Make the cache file name correct relative to the subdirectory. |
16256 |
< |
case $cache_file in |
16257 |
< |
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
16258 |
< |
*) # Relative name. |
16259 |
< |
ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; |
16260 |
< |
esac |
16261 |
< |
|
16262 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
16263 |
< |
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
16264 |
< |
# The eval makes quoting arguments work. |
16265 |
< |
eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
16266 |
< |
--cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
16267 |
< |
as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 |
16268 |
< |
fi |
16269 |
< |
|
16270 |
< |
cd "$ac_popdir" |
16271 |
< |
done |
16958 |
> |
$ac_cs_success || as_fn_exit 1 |
16959 |
|
fi |
16960 |
|
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
16961 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |