1 |
|
#! /bin/sh |
2 |
< |
# From configure.ac Id: configure.ac 982 2009-08-13 22:15:08Z michael . |
2 |
> |
# From configure.ac Id: configure.ac 4360 2014-08-02 20:40:29Z 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' |
572 |
|
|
573 |
< |
lt_dlopen_dir="$lt_ltdl_dir" |
574 |
< |
|
681 |
< |
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 |
653 |
|
LTDLOPEN |
654 |
|
LT_CONFIG_H |
765 |
– |
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 |
797 |
|
enable_static |
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 |
911 |
< |
enable_zlib |
808 |
> |
enable_libgeoip |
809 |
|
enable_openssl |
810 |
|
enable_assert |
914 |
– |
enable_small_net |
811 |
|
enable_kqueue |
812 |
|
enable_epoll |
813 |
|
enable_devpoll |
918 |
– |
enable_rtsigio |
814 |
|
enable_poll |
920 |
– |
enable_select |
921 |
– |
with_nicklen |
922 |
– |
with_topiclen |
923 |
– |
with_syslog_facility |
924 |
– |
enable_efnet |
925 |
– |
enable_halfops |
815 |
|
enable_debugging |
816 |
|
enable_warnings |
928 |
– |
enable_syslog |
817 |
|
' |
818 |
|
ac_precious_vars='build_alias |
819 |
|
host_alias |
826 |
|
YACC |
827 |
|
YFLAGS |
828 |
|
CPP' |
829 |
< |
ac_subdirs_all='libltdl' |
829 |
> |
|
830 |
|
|
831 |
|
# Initialize some variables set by options. |
832 |
|
ac_init_help= |
888 |
|
fi |
889 |
|
|
890 |
|
case $ac_option in |
891 |
< |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
892 |
< |
*) ac_optarg=yes ;; |
891 |
> |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
892 |
> |
*=) ac_optarg= ;; |
893 |
> |
*) ac_optarg=yes ;; |
894 |
|
esac |
895 |
|
|
896 |
|
# Accept the important Cygnus configure options, so we can diagnose typos. |
935 |
|
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
936 |
|
# Reject names that are not valid shell variable names. |
937 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
938 |
< |
as_fn_error "invalid feature name: $ac_useropt" |
938 |
> |
as_fn_error $? "invalid feature name: $ac_useropt" |
939 |
|
ac_useropt_orig=$ac_useropt |
940 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
941 |
|
case $ac_user_opts in |
961 |
|
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
962 |
|
# Reject names that are not valid shell variable names. |
963 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
964 |
< |
as_fn_error "invalid feature name: $ac_useropt" |
964 |
> |
as_fn_error $? "invalid feature name: $ac_useropt" |
965 |
|
ac_useropt_orig=$ac_useropt |
966 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
967 |
|
case $ac_user_opts in |
1165 |
|
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1166 |
|
# Reject names that are not valid shell variable names. |
1167 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1168 |
< |
as_fn_error "invalid package name: $ac_useropt" |
1168 |
> |
as_fn_error $? "invalid package name: $ac_useropt" |
1169 |
|
ac_useropt_orig=$ac_useropt |
1170 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1171 |
|
case $ac_user_opts in |
1181 |
|
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1182 |
|
# Reject names that are not valid shell variable names. |
1183 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1184 |
< |
as_fn_error "invalid package name: $ac_useropt" |
1184 |
> |
as_fn_error $? "invalid package name: $ac_useropt" |
1185 |
|
ac_useropt_orig=$ac_useropt |
1186 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1187 |
|
case $ac_user_opts in |
1211 |
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1212 |
|
x_libraries=$ac_optarg ;; |
1213 |
|
|
1214 |
< |
-*) as_fn_error "unrecognized option: \`$ac_option' |
1215 |
< |
Try \`$0 --help' for more information." |
1214 |
> |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
1215 |
> |
Try \`$0 --help' for more information" |
1216 |
|
;; |
1217 |
|
|
1218 |
|
*=*) |
1220 |
|
# Reject names that are not valid shell variable names. |
1221 |
|
case $ac_envvar in #( |
1222 |
|
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
1223 |
< |
as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
1223 |
> |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1224 |
|
esac |
1225 |
|
eval $ac_envvar=\$ac_optarg |
1226 |
|
export $ac_envvar ;; |
1230 |
|
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1231 |
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1232 |
|
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1233 |
< |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1233 |
> |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1234 |
|
;; |
1235 |
|
|
1236 |
|
esac |
1238 |
|
|
1239 |
|
if test -n "$ac_prev"; then |
1240 |
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1241 |
< |
as_fn_error "missing argument to $ac_option" |
1241 |
> |
as_fn_error $? "missing argument to $ac_option" |
1242 |
|
fi |
1243 |
|
|
1244 |
|
if test -n "$ac_unrecognized_opts"; then |
1245 |
|
case $enable_option_checking in |
1246 |
|
no) ;; |
1247 |
< |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
1247 |
> |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1248 |
|
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1249 |
|
esac |
1250 |
|
fi |
1267 |
|
[\\/$]* | ?:[\\/]* ) continue;; |
1268 |
|
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1269 |
|
esac |
1270 |
< |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
1270 |
> |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1271 |
|
done |
1272 |
|
|
1273 |
|
# There might be people who depend on the old broken behavior: `$host' |
1281 |
|
if test "x$host_alias" != x; then |
1282 |
|
if test "x$build_alias" = x; then |
1283 |
|
cross_compiling=maybe |
1395 |
– |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1396 |
– |
If a cross compiler is detected then cross compile mode will be used." >&2 |
1284 |
|
elif test "x$build_alias" != "x$host_alias"; then |
1285 |
|
cross_compiling=yes |
1286 |
|
fi |
1295 |
|
ac_pwd=`pwd` && test -n "$ac_pwd" && |
1296 |
|
ac_ls_di=`ls -di .` && |
1297 |
|
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1298 |
< |
as_fn_error "working directory cannot be determined" |
1298 |
> |
as_fn_error $? "working directory cannot be determined" |
1299 |
|
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1300 |
< |
as_fn_error "pwd does not report name of working directory" |
1300 |
> |
as_fn_error $? "pwd does not report name of working directory" |
1301 |
|
|
1302 |
|
|
1303 |
|
# Find the source files, if location was not specified. |
1336 |
|
fi |
1337 |
|
if test ! -r "$srcdir/$ac_unique_file"; then |
1338 |
|
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1339 |
< |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1339 |
> |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1340 |
|
fi |
1341 |
|
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1342 |
|
ac_abs_confdir=`( |
1343 |
< |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1343 |
> |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1344 |
|
pwd)` |
1345 |
|
# When building in place, set srcdir=. |
1346 |
|
if test "$ac_abs_confdir" = "$ac_pwd"; then |
1366 |
|
# Omit some internal or obsolete options to make the list less imposing. |
1367 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
1368 |
|
cat <<_ACEOF |
1369 |
< |
\`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems. |
1369 |
> |
\`configure' configures ircd-hybrid TRUNK to adapt to many kinds of systems. |
1370 |
|
|
1371 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
1372 |
|
|
1380 |
|
--help=short display options specific to this package |
1381 |
|
--help=recursive display the short help of all the included packages |
1382 |
|
-V, --version display version information and exit |
1383 |
< |
-q, --quiet, --silent do not print \`checking...' messages |
1383 |
> |
-q, --quiet, --silent do not print \`checking ...' messages |
1384 |
|
--cache-file=FILE cache test results in FILE [disabled] |
1385 |
|
-C, --config-cache alias for \`--cache-file=config.cache' |
1386 |
|
-n, --no-create do not create output files |
1436 |
|
|
1437 |
|
if test -n "$ac_init_help"; then |
1438 |
|
case $ac_init_help in |
1439 |
< |
short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";; |
1439 |
> |
short | recursive ) echo "Configuration of ircd-hybrid TRUNK:";; |
1440 |
|
esac |
1441 |
|
cat <<\_ACEOF |
1442 |
|
|
1444 |
|
--disable-option-checking ignore unrecognized --enable/--with options |
1445 |
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1446 |
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1447 |
< |
--enable-maintainer-mode enable make rules and dependencies not useful |
1448 |
< |
(and sometimes confusing) to the casual installer |
1449 |
< |
--disable-dependency-tracking speeds up one-time build |
1450 |
< |
--enable-dependency-tracking do not reject slow dependency extractors |
1447 |
> |
--enable-silent-rules less verbose build output (undo: "make V=1") |
1448 |
> |
--disable-silent-rules verbose build output (undo: "make V=0") |
1449 |
> |
--enable-maintainer-mode |
1450 |
> |
enable make rules and dependencies not useful (and |
1451 |
> |
sometimes confusing) to the casual installer |
1452 |
> |
--enable-dependency-tracking |
1453 |
> |
do not reject slow dependency extractors |
1454 |
> |
--disable-dependency-tracking |
1455 |
> |
speeds up one-time build |
1456 |
|
--enable-static[=PKGS] build static libraries [default=no] |
1457 |
|
--enable-shared[=PKGS] build shared libraries [default=yes] |
1458 |
|
--enable-fast-install[=PKGS] |
1459 |
|
optimize for fast installation [default=yes] |
1460 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
1461 |
|
--enable-ltdl-install install libltdl |
1462 |
< |
--disable-zlib Disable ziplinks support |
1462 |
> |
--disable-libgeoip Disable GeoIP support |
1463 |
|
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
1464 |
|
--disable-openssl Disable OpenSSL support. |
1465 |
|
--enable-assert Enable assert() statements |
1574 |
– |
--enable-small-net Enable small network support. |
1466 |
|
--enable-kqueue Force kqueue usage. |
1467 |
|
--enable-epoll Force epoll usage. |
1468 |
|
--enable-devpoll Force devpoll usage. |
1578 |
– |
--enable-rtsigio Force rtsigio usage. |
1469 |
|
--enable-poll Force poll usage. |
1580 |
– |
--enable-select Force select usage. |
1581 |
– |
--enable-efnet For IRCDs running on EFnet. |
1582 |
– |
--enable-halfops Enable halfops support. |
1470 |
|
--enable-debugging Enable debugging. |
1471 |
|
--enable-warnings Enable compiler warnings. |
1585 |
– |
--enable-syslog="EVENTS" |
1586 |
– |
Enable syslog for events: users oper (space |
1587 |
– |
separated in quotes; default: disabled). |
1472 |
|
|
1473 |
|
Optional Packages: |
1474 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1475 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1476 |
< |
--with-pic try to use only PIC/non-PIC objects [default=use |
1476 |
> |
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
1477 |
|
both] |
1478 |
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1479 |
+ |
--with-sysroot=DIR Search for dependent libraries within DIR |
1480 |
+ |
(or the compiler's sysroot if not specified). |
1481 |
|
--with-included-ltdl use the GNU ltdl sources included here |
1482 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
1483 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
1598 |
– |
--with-zlib-path=DIR Path to libz.so for ziplinks support. |
1599 |
– |
--with-nicklen=<value> Set nickname length (default 9). |
1600 |
– |
--with-topiclen=<value> Set topic length (default 160). |
1601 |
– |
--with-syslog-facility=LOG |
1602 |
– |
Define the syslog facility to use (default: |
1603 |
– |
LOG_LOCAL4) |
1484 |
|
|
1485 |
|
Some influential environment variables: |
1486 |
|
CC C compiler command |
1488 |
|
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1489 |
|
nonstandard directory <lib dir> |
1490 |
|
LIBS libraries to pass to the linker, e.g. -l<library> |
1491 |
< |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1491 |
> |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1492 |
|
you have headers in a nonstandard directory <include dir> |
1493 |
< |
YACC The `Yet Another C Compiler' implementation to use. Defaults to |
1494 |
< |
the first program found out of: `bison -y', `byacc', `yacc'. |
1493 |
> |
YACC The `Yet Another Compiler Compiler' implementation to use. |
1494 |
> |
Defaults to the first program found out of: `bison -y', `byacc', |
1495 |
> |
`yacc'. |
1496 |
|
YFLAGS The list of arguments that will be passed by default to $YACC. |
1497 |
|
This script will default YFLAGS to the empty string to avoid a |
1498 |
|
default value of `-d' given by some make applications. |
1501 |
|
Use these variables to override the choices made by `configure' or to help |
1502 |
|
it to find libraries and programs with nonstandard names/locations. |
1503 |
|
|
1504 |
< |
Report bugs to the package provider. |
1504 |
> |
Report bugs to <bugs@ircd-hybrid.org>. |
1505 |
|
_ACEOF |
1506 |
|
ac_status=$? |
1507 |
|
fi |
1564 |
|
test -n "$ac_init_help" && exit $ac_status |
1565 |
|
if $ac_init_version; then |
1566 |
|
cat <<\_ACEOF |
1567 |
< |
ircd-hybrid configure 7.2.4 |
1568 |
< |
generated by GNU Autoconf 2.64 |
1567 |
> |
ircd-hybrid configure TRUNK |
1568 |
> |
generated by GNU Autoconf 2.69 |
1569 |
|
|
1570 |
< |
Copyright (C) 2009 Free Software Foundation, Inc. |
1570 |
> |
Copyright (C) 2012 Free Software Foundation, Inc. |
1571 |
|
This configure script is free software; the Free Software Foundation |
1572 |
|
gives unlimited permission to copy, distribute and modify it. |
1573 |
|
_ACEOF |
1611 |
|
|
1612 |
|
ac_retval=1 |
1613 |
|
fi |
1614 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1615 |
< |
return $ac_retval |
1614 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1615 |
> |
as_fn_set_status $ac_retval |
1616 |
|
|
1617 |
|
} # ac_fn_c_try_compile |
1618 |
|
|
1643 |
|
test ! -s conftest.err |
1644 |
|
} && test -s conftest$ac_exeext && { |
1645 |
|
test "$cross_compiling" = yes || |
1646 |
< |
$as_test_x conftest$ac_exeext |
1646 |
> |
test -x conftest$ac_exeext |
1647 |
|
}; then : |
1648 |
|
ac_retval=0 |
1649 |
|
else |
1657 |
|
# interfere with the next link command; also delete a directory that is |
1658 |
|
# left behind by Apple's compiler. We do this before executing the actions. |
1659 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1660 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1661 |
< |
return $ac_retval |
1660 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1661 |
> |
as_fn_set_status $ac_retval |
1662 |
|
|
1663 |
|
} # ac_fn_c_try_link |
1664 |
|
|
1671 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1672 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1673 |
|
$as_echo_n "checking for $2... " >&6; } |
1674 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1674 |
> |
if eval \${$3+:} false; then : |
1675 |
|
$as_echo_n "(cached) " >&6 |
1676 |
|
else |
1677 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1689 |
|
eval ac_res=\$$3 |
1690 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1691 |
|
$as_echo "$ac_res" >&6; } |
1692 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1692 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1693 |
|
|
1694 |
|
} # ac_fn_c_check_header_compile |
1695 |
|
|
1714 |
|
mv -f conftest.er1 conftest.err |
1715 |
|
fi |
1716 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1717 |
< |
test $ac_status = 0; } >/dev/null && { |
1717 |
> |
test $ac_status = 0; } > conftest.i && { |
1718 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1719 |
|
test ! -s conftest.err |
1720 |
|
}; then : |
1725 |
|
|
1726 |
|
ac_retval=1 |
1727 |
|
fi |
1728 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1729 |
< |
return $ac_retval |
1728 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1729 |
> |
as_fn_set_status $ac_retval |
1730 |
|
|
1731 |
|
} # ac_fn_c_try_cpp |
1732 |
|
|
1767 |
|
ac_retval=$ac_status |
1768 |
|
fi |
1769 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1770 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1771 |
< |
return $ac_retval |
1770 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1771 |
> |
as_fn_set_status $ac_retval |
1772 |
|
|
1773 |
|
} # ac_fn_c_try_run |
1774 |
|
|
1780 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1781 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1782 |
|
$as_echo_n "checking for $2... " >&6; } |
1783 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1783 |
> |
if eval \${$3+:} false; then : |
1784 |
|
$as_echo_n "(cached) " >&6 |
1785 |
|
else |
1786 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1835 |
|
eval ac_res=\$$3 |
1836 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1837 |
|
$as_echo "$ac_res" >&6; } |
1838 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1838 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1839 |
|
|
1840 |
|
} # ac_fn_c_check_func |
1841 |
|
|
1842 |
< |
# ac_fn_c_check_decl LINENO SYMBOL VAR |
1843 |
< |
# ------------------------------------ |
1844 |
< |
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. |
1842 |
> |
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES |
1843 |
> |
# --------------------------------------------- |
1844 |
> |
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
1845 |
> |
# accordingly. |
1846 |
|
ac_fn_c_check_decl () |
1847 |
|
{ |
1848 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1849 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 |
1850 |
< |
$as_echo_n "checking whether $2 is declared... " >&6; } |
1851 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1849 |
> |
as_decl_name=`echo $2|sed 's/ *(.*//'` |
1850 |
> |
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
1851 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
1852 |
> |
$as_echo_n "checking whether $as_decl_name is declared... " >&6; } |
1853 |
> |
if eval \${$3+:} false; then : |
1854 |
|
$as_echo_n "(cached) " >&6 |
1855 |
|
else |
1856 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1859 |
|
int |
1860 |
|
main () |
1861 |
|
{ |
1862 |
< |
#ifndef $2 |
1863 |
< |
(void) $2; |
1862 |
> |
#ifndef $as_decl_name |
1863 |
> |
#ifdef __cplusplus |
1864 |
> |
(void) $as_decl_use; |
1865 |
> |
#else |
1866 |
> |
(void) $as_decl_name; |
1867 |
> |
#endif |
1868 |
|
#endif |
1869 |
|
|
1870 |
|
; |
1881 |
|
eval ac_res=\$$3 |
1882 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1883 |
|
$as_echo "$ac_res" >&6; } |
1884 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1884 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1885 |
|
|
1886 |
|
} # ac_fn_c_check_decl |
1887 |
|
|
1894 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1895 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1896 |
|
$as_echo_n "checking for $2... " >&6; } |
1897 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1897 |
> |
if eval \${$3+:} false; then : |
1898 |
|
$as_echo_n "(cached) " >&6 |
1899 |
|
else |
1900 |
|
eval "$3=no" |
1935 |
|
eval ac_res=\$$3 |
1936 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1937 |
|
$as_echo "$ac_res" >&6; } |
1938 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1938 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1939 |
|
|
1940 |
|
} # ac_fn_c_check_type |
1941 |
|
|
2054 |
– |
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
2055 |
– |
# ---------------------------------------------------- |
2056 |
– |
# Tries to find if the field MEMBER exists in type AGGR, after including |
2057 |
– |
# INCLUDES, setting cache variable VAR accordingly. |
2058 |
– |
ac_fn_c_check_member () |
2059 |
– |
{ |
2060 |
– |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2061 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
2062 |
– |
$as_echo_n "checking for $2.$3... " >&6; } |
2063 |
– |
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : |
2064 |
– |
$as_echo_n "(cached) " >&6 |
2065 |
– |
else |
2066 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2067 |
– |
/* end confdefs.h. */ |
2068 |
– |
$5 |
2069 |
– |
int |
2070 |
– |
main () |
2071 |
– |
{ |
2072 |
– |
static $2 ac_aggr; |
2073 |
– |
if (ac_aggr.$3) |
2074 |
– |
return 0; |
2075 |
– |
; |
2076 |
– |
return 0; |
2077 |
– |
} |
2078 |
– |
_ACEOF |
2079 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2080 |
– |
eval "$4=yes" |
2081 |
– |
else |
2082 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2083 |
– |
/* end confdefs.h. */ |
2084 |
– |
$5 |
2085 |
– |
int |
2086 |
– |
main () |
2087 |
– |
{ |
2088 |
– |
static $2 ac_aggr; |
2089 |
– |
if (sizeof ac_aggr.$3) |
2090 |
– |
return 0; |
2091 |
– |
; |
2092 |
– |
return 0; |
2093 |
– |
} |
2094 |
– |
_ACEOF |
2095 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2096 |
– |
eval "$4=yes" |
2097 |
– |
else |
2098 |
– |
eval "$4=no" |
2099 |
– |
fi |
2100 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2101 |
– |
fi |
2102 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2103 |
– |
fi |
2104 |
– |
eval ac_res=\$$4 |
2105 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2106 |
– |
$as_echo "$ac_res" >&6; } |
2107 |
– |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2108 |
– |
|
2109 |
– |
} # ac_fn_c_check_member |
2110 |
– |
|
2111 |
– |
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
2112 |
– |
# -------------------------------------------- |
2113 |
– |
# Tries to find the compile-time value of EXPR in a program that includes |
2114 |
– |
# INCLUDES, setting VAR accordingly. Returns whether the value could be |
2115 |
– |
# computed |
2116 |
– |
ac_fn_c_compute_int () |
2117 |
– |
{ |
2118 |
– |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2119 |
– |
if test "$cross_compiling" = yes; then |
2120 |
– |
# Depending upon the size, compute the lo and hi bounds. |
2121 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2122 |
– |
/* end confdefs.h. */ |
2123 |
– |
$4 |
2124 |
– |
int |
2125 |
– |
main () |
2126 |
– |
{ |
2127 |
– |
static int test_array [1 - 2 * !(($2) >= 0)]; |
2128 |
– |
test_array [0] = 0 |
2129 |
– |
|
2130 |
– |
; |
2131 |
– |
return 0; |
2132 |
– |
} |
2133 |
– |
_ACEOF |
2134 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2135 |
– |
ac_lo=0 ac_mid=0 |
2136 |
– |
while :; do |
2137 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2138 |
– |
/* end confdefs.h. */ |
2139 |
– |
$4 |
2140 |
– |
int |
2141 |
– |
main () |
2142 |
– |
{ |
2143 |
– |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
2144 |
– |
test_array [0] = 0 |
2145 |
– |
|
2146 |
– |
; |
2147 |
– |
return 0; |
2148 |
– |
} |
2149 |
– |
_ACEOF |
2150 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2151 |
– |
ac_hi=$ac_mid; break |
2152 |
– |
else |
2153 |
– |
as_fn_arith $ac_mid + 1 && ac_lo=$as_val |
2154 |
– |
if test $ac_lo -le $ac_mid; then |
2155 |
– |
ac_lo= ac_hi= |
2156 |
– |
break |
2157 |
– |
fi |
2158 |
– |
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val |
2159 |
– |
fi |
2160 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2161 |
– |
done |
2162 |
– |
else |
2163 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2164 |
– |
/* end confdefs.h. */ |
2165 |
– |
$4 |
2166 |
– |
int |
2167 |
– |
main () |
2168 |
– |
{ |
2169 |
– |
static int test_array [1 - 2 * !(($2) < 0)]; |
2170 |
– |
test_array [0] = 0 |
2171 |
– |
|
2172 |
– |
; |
2173 |
– |
return 0; |
2174 |
– |
} |
2175 |
– |
_ACEOF |
2176 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2177 |
– |
ac_hi=-1 ac_mid=-1 |
2178 |
– |
while :; do |
2179 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2180 |
– |
/* end confdefs.h. */ |
2181 |
– |
$4 |
2182 |
– |
int |
2183 |
– |
main () |
2184 |
– |
{ |
2185 |
– |
static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
2186 |
– |
test_array [0] = 0 |
2187 |
– |
|
2188 |
– |
; |
2189 |
– |
return 0; |
2190 |
– |
} |
2191 |
– |
_ACEOF |
2192 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2193 |
– |
ac_lo=$ac_mid; break |
2194 |
– |
else |
2195 |
– |
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val |
2196 |
– |
if test $ac_mid -le $ac_hi; then |
2197 |
– |
ac_lo= ac_hi= |
2198 |
– |
break |
2199 |
– |
fi |
2200 |
– |
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val |
2201 |
– |
fi |
2202 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2203 |
– |
done |
2204 |
– |
else |
2205 |
– |
ac_lo= ac_hi= |
2206 |
– |
fi |
2207 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2208 |
– |
fi |
2209 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2210 |
– |
# Binary search between lo and hi bounds. |
2211 |
– |
while test "x$ac_lo" != "x$ac_hi"; do |
2212 |
– |
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val |
2213 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2214 |
– |
/* end confdefs.h. */ |
2215 |
– |
$4 |
2216 |
– |
int |
2217 |
– |
main () |
2218 |
– |
{ |
2219 |
– |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
2220 |
– |
test_array [0] = 0 |
2221 |
– |
|
2222 |
– |
; |
2223 |
– |
return 0; |
2224 |
– |
} |
2225 |
– |
_ACEOF |
2226 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2227 |
– |
ac_hi=$ac_mid |
2228 |
– |
else |
2229 |
– |
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val |
2230 |
– |
fi |
2231 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2232 |
– |
done |
2233 |
– |
case $ac_lo in #(( |
2234 |
– |
?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
2235 |
– |
'') ac_retval=1 ;; |
2236 |
– |
esac |
2237 |
– |
else |
2238 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2239 |
– |
/* end confdefs.h. */ |
2240 |
– |
$4 |
2241 |
– |
static long int longval () { return $2; } |
2242 |
– |
static unsigned long int ulongval () { return $2; } |
2243 |
– |
#include <stdio.h> |
2244 |
– |
#include <stdlib.h> |
2245 |
– |
int |
2246 |
– |
main () |
2247 |
– |
{ |
2248 |
– |
|
2249 |
– |
FILE *f = fopen ("conftest.val", "w"); |
2250 |
– |
if (! f) |
2251 |
– |
return 1; |
2252 |
– |
if (($2) < 0) |
2253 |
– |
{ |
2254 |
– |
long int i = longval (); |
2255 |
– |
if (i != ($2)) |
2256 |
– |
return 1; |
2257 |
– |
fprintf (f, "%ld", i); |
2258 |
– |
} |
2259 |
– |
else |
2260 |
– |
{ |
2261 |
– |
unsigned long int i = ulongval (); |
2262 |
– |
if (i != ($2)) |
2263 |
– |
return 1; |
2264 |
– |
fprintf (f, "%lu", i); |
2265 |
– |
} |
2266 |
– |
/* Do not output a trailing newline, as this causes \r\n confusion |
2267 |
– |
on some platforms. */ |
2268 |
– |
return ferror (f) || fclose (f) != 0; |
2269 |
– |
|
2270 |
– |
; |
2271 |
– |
return 0; |
2272 |
– |
} |
2273 |
– |
_ACEOF |
2274 |
– |
if ac_fn_c_try_run "$LINENO"; then : |
2275 |
– |
echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
2276 |
– |
else |
2277 |
– |
ac_retval=1 |
2278 |
– |
fi |
2279 |
– |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
2280 |
– |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
2281 |
– |
rm -f conftest.val |
2282 |
– |
|
2283 |
– |
fi |
2284 |
– |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2285 |
– |
return $ac_retval |
2286 |
– |
|
2287 |
– |
} # ac_fn_c_compute_int |
2288 |
– |
|
1942 |
|
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1943 |
|
# ------------------------------------------------------- |
1944 |
|
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
1947 |
|
ac_fn_c_check_header_mongrel () |
1948 |
|
{ |
1949 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1950 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1950 |
> |
if eval \${$3+:} false; then : |
1951 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1952 |
|
$as_echo_n "checking for $2... " >&6; } |
1953 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1953 |
> |
if eval \${$3+:} false; then : |
1954 |
|
$as_echo_n "(cached) " >&6 |
1955 |
|
fi |
1956 |
|
eval ac_res=\$$3 |
1986 |
|
else |
1987 |
|
ac_header_preproc=no |
1988 |
|
fi |
1989 |
< |
rm -f conftest.err conftest.$ac_ext |
1989 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
1990 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1991 |
|
$as_echo "$ac_header_preproc" >&6; } |
1992 |
|
|
2009 |
|
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
2010 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
2011 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2012 |
+ |
( $as_echo "## ----------------------------------- ## |
2013 |
+ |
## Report this to bugs@ircd-hybrid.org ## |
2014 |
+ |
## ----------------------------------- ##" |
2015 |
+ |
) | sed "s/^/$as_me: WARNING: /" >&2 |
2016 |
|
;; |
2017 |
|
esac |
2018 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2019 |
|
$as_echo_n "checking for $2... " >&6; } |
2020 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2020 |
> |
if eval \${$3+:} false; then : |
2021 |
|
$as_echo_n "(cached) " >&6 |
2022 |
|
else |
2023 |
|
eval "$3=\$ac_header_compiler" |
2026 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2027 |
|
$as_echo "$ac_res" >&6; } |
2028 |
|
fi |
2029 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2029 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2030 |
|
|
2031 |
|
} # ac_fn_c_check_header_mongrel |
2032 |
|
cat >config.log <<_ACEOF |
2033 |
|
This file contains any messages produced by compilers while |
2034 |
|
running configure, to aid debugging if configure makes a mistake. |
2035 |
|
|
2036 |
< |
It was created by ircd-hybrid $as_me 7.2.4, which was |
2037 |
< |
generated by GNU Autoconf 2.64. Invocation command line was |
2036 |
> |
It was created by ircd-hybrid $as_me TRUNK, which was |
2037 |
> |
generated by GNU Autoconf 2.69. Invocation command line was |
2038 |
|
|
2039 |
|
$ $0 $@ |
2040 |
|
|
2144 |
|
{ |
2145 |
|
echo |
2146 |
|
|
2147 |
< |
cat <<\_ASBOX |
2491 |
< |
## ---------------- ## |
2147 |
> |
$as_echo "## ---------------- ## |
2148 |
|
## Cache variables. ## |
2149 |
< |
## ---------------- ## |
2494 |
< |
_ASBOX |
2149 |
> |
## ---------------- ##" |
2150 |
|
echo |
2151 |
|
# The following way of writing the cache mishandles newlines in values, |
2152 |
|
( |
2180 |
|
) |
2181 |
|
echo |
2182 |
|
|
2183 |
< |
cat <<\_ASBOX |
2529 |
< |
## ----------------- ## |
2183 |
> |
$as_echo "## ----------------- ## |
2184 |
|
## Output variables. ## |
2185 |
< |
## ----------------- ## |
2532 |
< |
_ASBOX |
2185 |
> |
## ----------------- ##" |
2186 |
|
echo |
2187 |
|
for ac_var in $ac_subst_vars |
2188 |
|
do |
2195 |
|
echo |
2196 |
|
|
2197 |
|
if test -n "$ac_subst_files"; then |
2198 |
< |
cat <<\_ASBOX |
2546 |
< |
## ------------------- ## |
2198 |
> |
$as_echo "## ------------------- ## |
2199 |
|
## File substitutions. ## |
2200 |
< |
## ------------------- ## |
2549 |
< |
_ASBOX |
2200 |
> |
## ------------------- ##" |
2201 |
|
echo |
2202 |
|
for ac_var in $ac_subst_files |
2203 |
|
do |
2211 |
|
fi |
2212 |
|
|
2213 |
|
if test -s confdefs.h; then |
2214 |
< |
cat <<\_ASBOX |
2564 |
< |
## ----------- ## |
2214 |
> |
$as_echo "## ----------- ## |
2215 |
|
## confdefs.h. ## |
2216 |
< |
## ----------- ## |
2567 |
< |
_ASBOX |
2216 |
> |
## ----------- ##" |
2217 |
|
echo |
2218 |
|
cat confdefs.h |
2219 |
|
echo |
2268 |
|
ac_site_file1=NONE |
2269 |
|
ac_site_file2=NONE |
2270 |
|
if test -n "$CONFIG_SITE"; then |
2271 |
< |
ac_site_file1=$CONFIG_SITE |
2271 |
> |
# We do not want a PATH search for config.site. |
2272 |
> |
case $CONFIG_SITE in #(( |
2273 |
> |
-*) ac_site_file1=./$CONFIG_SITE;; |
2274 |
> |
*/*) ac_site_file1=$CONFIG_SITE;; |
2275 |
> |
*) ac_site_file1=./$CONFIG_SITE;; |
2276 |
> |
esac |
2277 |
|
elif test "x$prefix" != xNONE; then |
2278 |
|
ac_site_file1=$prefix/share/config.site |
2279 |
|
ac_site_file2=$prefix/etc/config.site |
2284 |
|
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
2285 |
|
do |
2286 |
|
test "x$ac_site_file" = xNONE && continue |
2287 |
< |
if test -r "$ac_site_file"; then |
2287 |
> |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2288 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2289 |
|
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2290 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
2291 |
< |
. "$ac_site_file" |
2291 |
> |
. "$ac_site_file" \ |
2292 |
> |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2293 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2294 |
> |
as_fn_error $? "failed to load site script $ac_site_file |
2295 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
2296 |
|
fi |
2297 |
|
done |
2298 |
|
|
2299 |
|
if test -r "$cache_file"; then |
2300 |
< |
# Some versions of bash will fail to source /dev/null (special |
2301 |
< |
# files actually), so we avoid doing that. |
2302 |
< |
if test -f "$cache_file"; then |
2300 |
> |
# Some versions of bash will fail to source /dev/null (special files |
2301 |
> |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
2302 |
> |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
2303 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
2304 |
|
$as_echo "$as_me: loading cache $cache_file" >&6;} |
2305 |
|
case $cache_file in |
2313 |
|
>$cache_file |
2314 |
|
fi |
2315 |
|
|
2658 |
– |
as_fn_append ac_func_list " snprintf" |
2659 |
– |
as_fn_append ac_func_list " vsnprintf" |
2660 |
– |
as_fn_append ac_func_list " mmap" |
2316 |
|
as_fn_append ac_func_list " strtok_r" |
2317 |
|
as_fn_append ac_func_list " usleep" |
2318 |
|
as_fn_append ac_func_list " strlcat" |
2319 |
|
as_fn_append ac_func_list " strlcpy" |
2320 |
|
as_fn_append ac_header_list " crypt.h" |
2666 |
– |
as_fn_append ac_header_list " inttypes.h" |
2667 |
– |
as_fn_append ac_header_list " stdint.h" |
2321 |
|
as_fn_append ac_header_list " sys/resource.h" |
2322 |
|
as_fn_append ac_header_list " sys/param.h" |
2670 |
– |
as_fn_append ac_header_list " errno.h" |
2671 |
– |
as_fn_append ac_header_list " sys/syslog.h" |
2672 |
– |
as_fn_append ac_header_list " stddef.h" |
2673 |
– |
as_fn_append ac_header_list " libgen.h" |
2323 |
|
as_fn_append ac_header_list " types.h" |
2324 |
|
as_fn_append ac_header_list " socket.h" |
2325 |
|
as_fn_append ac_header_list " sys/wait.h" |
2326 |
|
as_fn_append ac_header_list " wait.h" |
2678 |
– |
as_fn_append ac_header_list " link.h" |
2327 |
|
# Check that the precious variables saved in the cache have kept the same |
2328 |
|
# value. |
2329 |
|
ac_cache_corrupted=false |
2379 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2380 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2381 |
|
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2382 |
< |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2382 |
> |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2383 |
|
fi |
2384 |
|
## -------------------- ## |
2385 |
|
## Main body of script. ## |
2392 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2393 |
|
|
2394 |
|
|
2395 |
< |
am__api_version='1.11' |
2395 |
> |
am__api_version='1.14' |
2396 |
|
|
2397 |
|
ac_aux_dir= |
2398 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2399 |
< |
for ac_t in install-sh install.sh shtool; do |
2400 |
< |
if test -f "$ac_dir/$ac_t"; then |
2401 |
< |
ac_aux_dir=$ac_dir |
2402 |
< |
ac_install_sh="$ac_aux_dir/$ac_t -c" |
2403 |
< |
break 2 |
2404 |
< |
fi |
2405 |
< |
done |
2399 |
> |
if test -f "$ac_dir/install-sh"; then |
2400 |
> |
ac_aux_dir=$ac_dir |
2401 |
> |
ac_install_sh="$ac_aux_dir/install-sh -c" |
2402 |
> |
break |
2403 |
> |
elif test -f "$ac_dir/install.sh"; then |
2404 |
> |
ac_aux_dir=$ac_dir |
2405 |
> |
ac_install_sh="$ac_aux_dir/install.sh -c" |
2406 |
> |
break |
2407 |
> |
elif test -f "$ac_dir/shtool"; then |
2408 |
> |
ac_aux_dir=$ac_dir |
2409 |
> |
ac_install_sh="$ac_aux_dir/shtool install -c" |
2410 |
> |
break |
2411 |
> |
fi |
2412 |
|
done |
2413 |
|
if test -z "$ac_aux_dir"; then |
2414 |
< |
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
2414 |
> |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
2415 |
|
fi |
2416 |
|
|
2417 |
|
# These three variables are undocumented and unsupported, |
2440 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2441 |
|
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
2442 |
|
if test -z "$INSTALL"; then |
2443 |
< |
if test "${ac_cv_path_install+set}" = set; then : |
2443 |
> |
if ${ac_cv_path_install+:} false; then : |
2444 |
|
$as_echo_n "(cached) " >&6 |
2445 |
|
else |
2446 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2460 |
|
# by default. |
2461 |
|
for ac_prog in ginstall scoinst install; do |
2462 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2463 |
< |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
2463 |
> |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2464 |
|
if test $ac_prog = install && |
2465 |
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2466 |
|
# AIX install. It has an incompatible calling convention. |
2518 |
|
|
2519 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2520 |
|
$as_echo_n "checking whether build environment is sane... " >&6; } |
2867 |
– |
# Just in case |
2868 |
– |
sleep 1 |
2869 |
– |
echo timestamp > conftest.file |
2521 |
|
# Reject unsafe characters in $srcdir or the absolute working directory |
2522 |
|
# name. Accept space and tab only in the latter. |
2523 |
|
am_lf=' |
2524 |
|
' |
2525 |
|
case `pwd` in |
2526 |
|
*[\\\"\#\$\&\'\`$am_lf]*) |
2527 |
< |
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; |
2527 |
> |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
2528 |
|
esac |
2529 |
|
case $srcdir in |
2530 |
|
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2531 |
< |
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
2531 |
> |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
2532 |
|
esac |
2533 |
|
|
2534 |
< |
# Do `set' in a subshell so we don't clobber the current shell's |
2534 |
> |
# Do 'set' in a subshell so we don't clobber the current shell's |
2535 |
|
# arguments. Must try -L first in case configure is actually a |
2536 |
|
# symlink; some systems play weird games with the mod time of symlinks |
2537 |
|
# (eg FreeBSD returns the mod time of the symlink's containing |
2538 |
|
# directory). |
2539 |
|
if ( |
2540 |
< |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
2541 |
< |
if test "$*" = "X"; then |
2542 |
< |
# -L didn't work. |
2543 |
< |
set X `ls -t "$srcdir/configure" conftest.file` |
2544 |
< |
fi |
2545 |
< |
rm -f conftest.file |
2546 |
< |
if test "$*" != "X $srcdir/configure conftest.file" \ |
2547 |
< |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
2548 |
< |
|
2549 |
< |
# If neither matched, then we have a broken ls. This can happen |
2899 |
< |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
2900 |
< |
# broken ls alias from the environment. This has actually |
2901 |
< |
# happened. Such a system could not be considered "sane". |
2902 |
< |
as_fn_error "ls -t appears to fail. Make sure there is not a broken |
2903 |
< |
alias in your environment" "$LINENO" 5 |
2904 |
< |
fi |
2540 |
> |
am_has_slept=no |
2541 |
> |
for am_try in 1 2; do |
2542 |
> |
echo "timestamp, slept: $am_has_slept" > conftest.file |
2543 |
> |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
2544 |
> |
if test "$*" = "X"; then |
2545 |
> |
# -L didn't work. |
2546 |
> |
set X `ls -t "$srcdir/configure" conftest.file` |
2547 |
> |
fi |
2548 |
> |
if test "$*" != "X $srcdir/configure conftest.file" \ |
2549 |
> |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
2550 |
|
|
2551 |
+ |
# If neither matched, then we have a broken ls. This can happen |
2552 |
+ |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
2553 |
+ |
# broken ls alias from the environment. This has actually |
2554 |
+ |
# happened. Such a system could not be considered "sane". |
2555 |
+ |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
2556 |
+ |
alias in your environment" "$LINENO" 5 |
2557 |
+ |
fi |
2558 |
+ |
if test "$2" = conftest.file || test $am_try -eq 2; then |
2559 |
+ |
break |
2560 |
+ |
fi |
2561 |
+ |
# Just in case. |
2562 |
+ |
sleep 1 |
2563 |
+ |
am_has_slept=yes |
2564 |
+ |
done |
2565 |
|
test "$2" = conftest.file |
2566 |
|
) |
2567 |
|
then |
2568 |
|
# Ok. |
2569 |
|
: |
2570 |
|
else |
2571 |
< |
as_fn_error "newly created file is older than distributed files! |
2571 |
> |
as_fn_error $? "newly created file is older than distributed files! |
2572 |
|
Check your system clock" "$LINENO" 5 |
2573 |
|
fi |
2574 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2575 |
|
$as_echo "yes" >&6; } |
2576 |
+ |
# If we didn't sleep, we still need to ensure time stamps of config.status and |
2577 |
+ |
# generated files are strictly newer. |
2578 |
+ |
am_sleep_pid= |
2579 |
+ |
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
2580 |
+ |
( sleep 1 ) & |
2581 |
+ |
am_sleep_pid=$! |
2582 |
+ |
fi |
2583 |
+ |
|
2584 |
+ |
rm -f conftest.file |
2585 |
+ |
|
2586 |
|
test "$program_prefix" != NONE && |
2587 |
|
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2588 |
|
# Use a double $ so make ignores it. |
2605 |
|
esac |
2606 |
|
fi |
2607 |
|
# Use eval to expand $SHELL |
2608 |
< |
if eval "$MISSING --run true"; then |
2609 |
< |
am_missing_run="$MISSING --run " |
2608 |
> |
if eval "$MISSING --is-lightweight"; then |
2609 |
> |
am_missing_run="$MISSING " |
2610 |
|
else |
2611 |
|
am_missing_run= |
2612 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
2613 |
< |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2612 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
2613 |
> |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
2614 |
|
fi |
2615 |
|
|
2616 |
|
if test x"${install_sh}" != xset; then |
2622 |
|
esac |
2623 |
|
fi |
2624 |
|
|
2625 |
< |
# Installed binaries are usually stripped using `strip' when the user |
2626 |
< |
# run `make install-strip'. However `strip' might not be the right |
2625 |
> |
# Installed binaries are usually stripped using 'strip' when the user |
2626 |
> |
# run "make install-strip". However 'strip' might not be the right |
2627 |
|
# tool to use in cross-compilation environments, therefore Automake |
2628 |
< |
# will honor the `STRIP' environment variable to overrule this program. |
2628 |
> |
# will honor the 'STRIP' environment variable to overrule this program. |
2629 |
|
if test "$cross_compiling" != no; then |
2630 |
|
if test -n "$ac_tool_prefix"; then |
2631 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2632 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2633 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2634 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
2635 |
< |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
2635 |
> |
if ${ac_cv_prog_STRIP+:} false; then : |
2636 |
|
$as_echo_n "(cached) " >&6 |
2637 |
|
else |
2638 |
|
if test -n "$STRIP"; then |
2644 |
|
IFS=$as_save_IFS |
2645 |
|
test -z "$as_dir" && as_dir=. |
2646 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2647 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2647 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2648 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2649 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2650 |
|
break 2 |
2672 |
|
set dummy strip; ac_word=$2 |
2673 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2674 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
2675 |
< |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
2675 |
> |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
2676 |
|
$as_echo_n "(cached) " >&6 |
2677 |
|
else |
2678 |
|
if test -n "$ac_ct_STRIP"; then |
2684 |
|
IFS=$as_save_IFS |
2685 |
|
test -z "$as_dir" && as_dir=. |
2686 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2687 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2687 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2688 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
2689 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2690 |
|
break 2 |
2725 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
2726 |
|
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
2727 |
|
if test -z "$MKDIR_P"; then |
2728 |
< |
if test "${ac_cv_path_mkdir+set}" = set; then : |
2728 |
> |
if ${ac_cv_path_mkdir+:} false; then : |
2729 |
|
$as_echo_n "(cached) " >&6 |
2730 |
|
else |
2731 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2735 |
|
test -z "$as_dir" && as_dir=. |
2736 |
|
for ac_prog in mkdir gmkdir; do |
2737 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2738 |
< |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
2738 |
> |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
2739 |
|
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2740 |
|
'mkdir (GNU coreutils) '* | \ |
2741 |
|
'mkdir (coreutils) '* | \ |
2750 |
|
|
2751 |
|
fi |
2752 |
|
|
2753 |
+ |
test -d ./--version && rmdir ./--version |
2754 |
|
if test "${ac_cv_path_mkdir+set}" = set; then |
2755 |
|
MKDIR_P="$ac_cv_path_mkdir -p" |
2756 |
|
else |
2758 |
|
# value for MKDIR_P within a source directory, because that will |
2759 |
|
# break other packages using the cache if that directory is |
2760 |
|
# removed, or if the value is a relative name. |
3091 |
– |
test -d ./--version && rmdir ./--version |
2761 |
|
MKDIR_P="$ac_install_sh -d" |
2762 |
|
fi |
2763 |
|
fi |
2764 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
2765 |
|
$as_echo "$MKDIR_P" >&6; } |
2766 |
|
|
3098 |
– |
mkdir_p="$MKDIR_P" |
3099 |
– |
case $mkdir_p in |
3100 |
– |
[\\/$]* | ?:[\\/]*) ;; |
3101 |
– |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
3102 |
– |
esac |
3103 |
– |
|
2767 |
|
for ac_prog in gawk mawk nawk awk |
2768 |
|
do |
2769 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2770 |
|
set dummy $ac_prog; ac_word=$2 |
2771 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2772 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
2773 |
< |
if test "${ac_cv_prog_AWK+set}" = set; then : |
2773 |
> |
if ${ac_cv_prog_AWK+:} false; then : |
2774 |
|
$as_echo_n "(cached) " >&6 |
2775 |
|
else |
2776 |
|
if test -n "$AWK"; then |
2782 |
|
IFS=$as_save_IFS |
2783 |
|
test -z "$as_dir" && as_dir=. |
2784 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2785 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2785 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2786 |
|
ac_cv_prog_AWK="$ac_prog" |
2787 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2788 |
|
break 2 |
2810 |
|
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2811 |
|
set x ${MAKE-make} |
2812 |
|
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2813 |
< |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
2813 |
> |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
2814 |
|
$as_echo_n "(cached) " >&6 |
2815 |
|
else |
2816 |
|
cat >conftest.make <<\_ACEOF |
2818 |
|
all: |
2819 |
|
@echo '@@@%%%=$(MAKE)=@@@%%%' |
2820 |
|
_ACEOF |
2821 |
< |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
2821 |
> |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
2822 |
|
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2823 |
|
*@@@%%%=?*=@@@%%%*) |
2824 |
|
eval ac_cv_prog_make_${ac_make}_set=yes;; |
2846 |
|
fi |
2847 |
|
rmdir .tst 2>/dev/null |
2848 |
|
|
2849 |
+ |
# Check whether --enable-silent-rules was given. |
2850 |
+ |
if test "${enable_silent_rules+set}" = set; then : |
2851 |
+ |
enableval=$enable_silent_rules; |
2852 |
+ |
fi |
2853 |
+ |
|
2854 |
+ |
case $enable_silent_rules in # ((( |
2855 |
+ |
yes) AM_DEFAULT_VERBOSITY=0;; |
2856 |
+ |
no) AM_DEFAULT_VERBOSITY=1;; |
2857 |
+ |
*) AM_DEFAULT_VERBOSITY=1;; |
2858 |
+ |
esac |
2859 |
+ |
am_make=${MAKE-make} |
2860 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
2861 |
+ |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
2862 |
+ |
if ${am_cv_make_support_nested_variables+:} false; then : |
2863 |
+ |
$as_echo_n "(cached) " >&6 |
2864 |
+ |
else |
2865 |
+ |
if $as_echo 'TRUE=$(BAR$(V)) |
2866 |
+ |
BAR0=false |
2867 |
+ |
BAR1=true |
2868 |
+ |
V=1 |
2869 |
+ |
am__doit: |
2870 |
+ |
@$(TRUE) |
2871 |
+ |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
2872 |
+ |
am_cv_make_support_nested_variables=yes |
2873 |
+ |
else |
2874 |
+ |
am_cv_make_support_nested_variables=no |
2875 |
+ |
fi |
2876 |
+ |
fi |
2877 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
2878 |
+ |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
2879 |
+ |
if test $am_cv_make_support_nested_variables = yes; then |
2880 |
+ |
AM_V='$(V)' |
2881 |
+ |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
2882 |
+ |
else |
2883 |
+ |
AM_V=$AM_DEFAULT_VERBOSITY |
2884 |
+ |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
2885 |
+ |
fi |
2886 |
+ |
AM_BACKSLASH='\' |
2887 |
+ |
|
2888 |
|
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
2889 |
|
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
2890 |
|
# is not polluted with repeated "-I." |
2891 |
|
am__isrc=' -I$(srcdir)' |
2892 |
|
# test to see if srcdir already configured |
2893 |
|
if test -f $srcdir/config.status; then |
2894 |
< |
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
2894 |
> |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
2895 |
|
fi |
2896 |
|
fi |
2897 |
|
|
2907 |
|
|
2908 |
|
# Define the identity of the package. |
2909 |
|
PACKAGE='ircd-hybrid' |
2910 |
< |
VERSION='7.2.4' |
2910 |
> |
VERSION='TRUNK' |
2911 |
|
|
2912 |
|
|
2913 |
|
cat >>confdefs.h <<_ACEOF |
2935 |
|
|
2936 |
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
2937 |
|
|
2938 |
+ |
# For better backward compatibility. To be removed once Automake 1.9.x |
2939 |
+ |
# dies out for good. For more background, see: |
2940 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
2941 |
+ |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
2942 |
+ |
mkdir_p='$(MKDIR_P)' |
2943 |
+ |
|
2944 |
|
# We need awk for the "check" target. The system "awk" is bad on |
2945 |
|
# some platforms. |
2946 |
< |
# Always define AMTAR for backward compatibility. |
2946 |
> |
# Always define AMTAR for backward compatibility. Yes, it's still used |
2947 |
> |
# in the wild :-( We should find a proper way to deprecate it ... |
2948 |
> |
AMTAR='$${TAR-tar}' |
2949 |
> |
|
2950 |
|
|
2951 |
< |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
2951 |
> |
# We'll loop over all known methods to create a tar archive until one works. |
2952 |
> |
_am_tools='gnutar pax cpio none' |
2953 |
|
|
2954 |
< |
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
2954 |
> |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
2955 |
|
|
2956 |
|
|
2957 |
|
|
2958 |
|
|
2959 |
|
|
2960 |
|
|
2961 |
+ |
# POSIX will say in a future version that running "rm -f" with no argument |
2962 |
+ |
# is OK; and we want to be able to make that assumption in our Makefile |
2963 |
+ |
# recipes. So use an aggressive probe to check that the usage we want is |
2964 |
+ |
# actually supported "in the wild" to an acceptable degree. |
2965 |
+ |
# See automake bug#10828. |
2966 |
+ |
# To make any issue more visible, cause the running configure to be aborted |
2967 |
+ |
# by default if the 'rm' program in use doesn't match our expectations; the |
2968 |
+ |
# user can still override this though. |
2969 |
+ |
if rm -f && rm -fr && rm -rf; then : OK; else |
2970 |
+ |
cat >&2 <<'END' |
2971 |
+ |
Oops! |
2972 |
+ |
|
2973 |
+ |
Your 'rm' program seems unable to run without file operands specified |
2974 |
+ |
on the command line, even when the '-f' option is present. This is contrary |
2975 |
+ |
to the behaviour of most rm programs out there, and not conforming with |
2976 |
+ |
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
2977 |
+ |
|
2978 |
+ |
Please tell bug-automake@gnu.org about your system, including the value |
2979 |
+ |
of your $PATH and any error possibly output before this message. This |
2980 |
+ |
can help us improve future automake versions. |
2981 |
+ |
|
2982 |
+ |
END |
2983 |
+ |
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
2984 |
+ |
echo 'Configuration will proceed anyway, since you have set the' >&2 |
2985 |
+ |
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
2986 |
+ |
echo >&2 |
2987 |
+ |
else |
2988 |
+ |
cat >&2 <<'END' |
2989 |
+ |
Aborting the configuration process, to ensure you take notice of the issue. |
2990 |
+ |
|
2991 |
+ |
You can download and install GNU coreutils to get an 'rm' implementation |
2992 |
+ |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
2993 |
+ |
|
2994 |
+ |
If you want to complete the configuration process using your problematic |
2995 |
+ |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
2996 |
+ |
to "yes", and re-run configure. |
2997 |
+ |
|
2998 |
+ |
END |
2999 |
+ |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
3000 |
+ |
fi |
3001 |
+ |
fi |
3002 |
+ |
|
3003 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3004 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
3005 |
|
# Check whether --enable-maintainer-mode was given. |
3022 |
|
MAINT=$MAINTAINER_MODE_TRUE |
3023 |
|
|
3024 |
|
|
3271 |
– |
ac_config_headers="$ac_config_headers config.h" |
3025 |
|
|
3026 |
+ |
ac_config_headers="$ac_config_headers config.h" |
3027 |
|
|
3028 |
|
|
3029 |
|
|
3030 |
|
# Checks for programs. |
3031 |
+ |
DEPDIR="${am__leading_dot}deps" |
3032 |
+ |
|
3033 |
+ |
ac_config_commands="$ac_config_commands depfiles" |
3034 |
+ |
|
3035 |
+ |
|
3036 |
+ |
am_make=${MAKE-make} |
3037 |
+ |
cat > confinc << 'END' |
3038 |
+ |
am__doit: |
3039 |
+ |
@echo this is the am__doit target |
3040 |
+ |
.PHONY: am__doit |
3041 |
+ |
END |
3042 |
+ |
# If we don't find an include directive, just comment out the code. |
3043 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
3044 |
+ |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
3045 |
+ |
am__include="#" |
3046 |
+ |
am__quote= |
3047 |
+ |
_am_result=none |
3048 |
+ |
# First try GNU make style include. |
3049 |
+ |
echo "include confinc" > confmf |
3050 |
+ |
# Ignore all kinds of additional output from 'make'. |
3051 |
+ |
case `$am_make -s -f confmf 2> /dev/null` in #( |
3052 |
+ |
*the\ am__doit\ target*) |
3053 |
+ |
am__include=include |
3054 |
+ |
am__quote= |
3055 |
+ |
_am_result=GNU |
3056 |
+ |
;; |
3057 |
+ |
esac |
3058 |
+ |
# Now try BSD make style include. |
3059 |
+ |
if test "$am__include" = "#"; then |
3060 |
+ |
echo '.include "confinc"' > confmf |
3061 |
+ |
case `$am_make -s -f confmf 2> /dev/null` in #( |
3062 |
+ |
*the\ am__doit\ target*) |
3063 |
+ |
am__include=.include |
3064 |
+ |
am__quote="\"" |
3065 |
+ |
_am_result=BSD |
3066 |
+ |
;; |
3067 |
+ |
esac |
3068 |
+ |
fi |
3069 |
+ |
|
3070 |
+ |
|
3071 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
3072 |
+ |
$as_echo "$_am_result" >&6; } |
3073 |
+ |
rm -f confinc confmf |
3074 |
+ |
|
3075 |
+ |
# Check whether --enable-dependency-tracking was given. |
3076 |
+ |
if test "${enable_dependency_tracking+set}" = set; then : |
3077 |
+ |
enableval=$enable_dependency_tracking; |
3078 |
+ |
fi |
3079 |
+ |
|
3080 |
+ |
if test "x$enable_dependency_tracking" != xno; then |
3081 |
+ |
am_depcomp="$ac_aux_dir/depcomp" |
3082 |
+ |
AMDEPBACKSLASH='\' |
3083 |
+ |
am__nodep='_no' |
3084 |
+ |
fi |
3085 |
+ |
if test "x$enable_dependency_tracking" != xno; then |
3086 |
+ |
AMDEP_TRUE= |
3087 |
+ |
AMDEP_FALSE='#' |
3088 |
+ |
else |
3089 |
+ |
AMDEP_TRUE='#' |
3090 |
+ |
AMDEP_FALSE= |
3091 |
+ |
fi |
3092 |
+ |
|
3093 |
+ |
|
3094 |
|
ac_ext=c |
3095 |
|
ac_cpp='$CPP $CPPFLAGS' |
3096 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3101 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3102 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3103 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3104 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
3104 |
> |
if ${ac_cv_prog_CC+:} false; then : |
3105 |
|
$as_echo_n "(cached) " >&6 |
3106 |
|
else |
3107 |
|
if test -n "$CC"; then |
3113 |
|
IFS=$as_save_IFS |
3114 |
|
test -z "$as_dir" && as_dir=. |
3115 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3116 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3116 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3117 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3118 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3119 |
|
break 2 |
3141 |
|
set dummy gcc; ac_word=$2 |
3142 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3143 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3144 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3144 |
> |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3145 |
|
$as_echo_n "(cached) " >&6 |
3146 |
|
else |
3147 |
|
if test -n "$ac_ct_CC"; then |
3153 |
|
IFS=$as_save_IFS |
3154 |
|
test -z "$as_dir" && as_dir=. |
3155 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3156 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3156 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3157 |
|
ac_cv_prog_ac_ct_CC="gcc" |
3158 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3159 |
|
break 2 |
3194 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3195 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3196 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3197 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
3197 |
> |
if ${ac_cv_prog_CC+:} false; then : |
3198 |
|
$as_echo_n "(cached) " >&6 |
3199 |
|
else |
3200 |
|
if test -n "$CC"; then |
3206 |
|
IFS=$as_save_IFS |
3207 |
|
test -z "$as_dir" && as_dir=. |
3208 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3209 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3209 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3210 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
3211 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3212 |
|
break 2 |
3234 |
|
set dummy cc; ac_word=$2 |
3235 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3236 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3237 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
3237 |
> |
if ${ac_cv_prog_CC+:} false; then : |
3238 |
|
$as_echo_n "(cached) " >&6 |
3239 |
|
else |
3240 |
|
if test -n "$CC"; then |
3247 |
|
IFS=$as_save_IFS |
3248 |
|
test -z "$as_dir" && as_dir=. |
3249 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3250 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3250 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3251 |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3252 |
|
ac_prog_rejected=yes |
3253 |
|
continue |
3293 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3294 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3295 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3296 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
3296 |
> |
if ${ac_cv_prog_CC+:} false; then : |
3297 |
|
$as_echo_n "(cached) " >&6 |
3298 |
|
else |
3299 |
|
if test -n "$CC"; then |
3305 |
|
IFS=$as_save_IFS |
3306 |
|
test -z "$as_dir" && as_dir=. |
3307 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3308 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3308 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3309 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3310 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3311 |
|
break 2 |
3337 |
|
set dummy $ac_prog; ac_word=$2 |
3338 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3339 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3340 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3340 |
> |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3341 |
|
$as_echo_n "(cached) " >&6 |
3342 |
|
else |
3343 |
|
if test -n "$ac_ct_CC"; then |
3349 |
|
IFS=$as_save_IFS |
3350 |
|
test -z "$as_dir" && as_dir=. |
3351 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
3352 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3352 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3353 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
3354 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3355 |
|
break 2 |
3391 |
|
|
3392 |
|
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3393 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3394 |
< |
as_fn_error "no acceptable C compiler found in \$PATH |
3395 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
3394 |
> |
as_fn_error $? "no acceptable C compiler found in \$PATH |
3395 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
3396 |
|
|
3397 |
|
# Provide some information about the compiler. |
3398 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3413 |
|
... rest of stderr output deleted ... |
3414 |
|
10q' conftest.err >conftest.er1 |
3415 |
|
cat conftest.er1 >&5 |
3599 |
– |
rm -f conftest.er1 conftest.err |
3416 |
|
fi |
3417 |
+ |
rm -f conftest.er1 conftest.err |
3418 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3419 |
|
test $ac_status = 0; } |
3420 |
|
done |
3421 |
|
|
3422 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3423 |
|
/* end confdefs.h. */ |
3424 |
< |
#include <stdio.h> |
3424 |
> |
|
3425 |
|
int |
3426 |
|
main () |
3427 |
|
{ |
3611 |
– |
FILE *f = fopen ("conftest.out", "w"); |
3612 |
– |
return ferror (f) || fclose (f) != 0; |
3428 |
|
|
3429 |
|
; |
3430 |
|
return 0; |
3431 |
|
} |
3432 |
|
_ACEOF |
3433 |
|
ac_clean_files_save=$ac_clean_files |
3434 |
< |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" |
3434 |
> |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
3435 |
|
# Try to create an executable without -o first, disregard a.out. |
3436 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
3437 |
|
# of exeext. |
3438 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3439 |
< |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
3438 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3439 |
> |
$as_echo_n "checking whether the C compiler works... " >&6; } |
3440 |
|
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3441 |
|
|
3442 |
|
# The possible output files: |
3498 |
|
else |
3499 |
|
ac_file='' |
3500 |
|
fi |
3686 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
3687 |
– |
$as_echo "$ac_file" >&6; } |
3501 |
|
if test -z "$ac_file"; then : |
3502 |
< |
$as_echo "$as_me: failed program was:" >&5 |
3502 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3503 |
> |
$as_echo "no" >&6; } |
3504 |
> |
$as_echo "$as_me: failed program was:" >&5 |
3505 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3506 |
|
|
3507 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3508 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3509 |
< |
{ as_fn_set_status 77 |
3510 |
< |
as_fn_error "C compiler cannot create executables |
3511 |
< |
See \`config.log' for more details." "$LINENO" 5; }; } |
3509 |
> |
as_fn_error 77 "C compiler cannot create executables |
3510 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
3511 |
> |
else |
3512 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3513 |
> |
$as_echo "yes" >&6; } |
3514 |
|
fi |
3515 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3516 |
+ |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
3517 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
3518 |
+ |
$as_echo "$ac_file" >&6; } |
3519 |
|
ac_exeext=$ac_cv_exeext |
3520 |
|
|
3521 |
< |
# Check that the compiler produces executables we can run. If not, either |
3701 |
< |
# the compiler is broken, or we cross compile. |
3702 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3703 |
< |
$as_echo_n "checking whether the C compiler works... " >&6; } |
3704 |
< |
# If not cross compiling, check that we can run a simple program. |
3705 |
< |
if test "$cross_compiling" != yes; then |
3706 |
< |
if { ac_try='./$ac_file' |
3707 |
< |
{ { case "(($ac_try" in |
3708 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3709 |
< |
*) ac_try_echo=$ac_try;; |
3710 |
< |
esac |
3711 |
< |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3712 |
< |
$as_echo "$ac_try_echo"; } >&5 |
3713 |
< |
(eval "$ac_try") 2>&5 |
3714 |
< |
ac_status=$? |
3715 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3716 |
< |
test $ac_status = 0; }; }; then |
3717 |
< |
cross_compiling=no |
3718 |
< |
else |
3719 |
< |
if test "$cross_compiling" = maybe; then |
3720 |
< |
cross_compiling=yes |
3721 |
< |
else |
3722 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3723 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3724 |
< |
as_fn_error "cannot run C compiled programs. |
3725 |
< |
If you meant to cross compile, use \`--host'. |
3726 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
3727 |
< |
fi |
3728 |
< |
fi |
3729 |
< |
fi |
3730 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3731 |
< |
$as_echo "yes" >&6; } |
3732 |
< |
|
3733 |
< |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out |
3521 |
> |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
3522 |
|
ac_clean_files=$ac_clean_files_save |
3735 |
– |
# Check that the compiler produces executables we can run. If not, either |
3736 |
– |
# the compiler is broken, or we cross compile. |
3737 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
3738 |
– |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
3739 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3740 |
– |
$as_echo "$cross_compiling" >&6; } |
3741 |
– |
|
3523 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
3524 |
|
$as_echo_n "checking for suffix of executables... " >&6; } |
3525 |
|
if { { ac_try="$ac_link" |
3549 |
|
else |
3550 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3551 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3552 |
< |
as_fn_error "cannot compute suffix of executables: cannot compile and link |
3553 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
3552 |
> |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3553 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
3554 |
|
fi |
3555 |
< |
rm -f conftest$ac_cv_exeext |
3555 |
> |
rm -f conftest conftest$ac_cv_exeext |
3556 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3557 |
|
$as_echo "$ac_cv_exeext" >&6; } |
3558 |
|
|
3559 |
|
rm -f conftest.$ac_ext |
3560 |
|
EXEEXT=$ac_cv_exeext |
3561 |
|
ac_exeext=$EXEEXT |
3562 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3563 |
+ |
/* end confdefs.h. */ |
3564 |
+ |
#include <stdio.h> |
3565 |
+ |
int |
3566 |
+ |
main () |
3567 |
+ |
{ |
3568 |
+ |
FILE *f = fopen ("conftest.out", "w"); |
3569 |
+ |
return ferror (f) || fclose (f) != 0; |
3570 |
+ |
|
3571 |
+ |
; |
3572 |
+ |
return 0; |
3573 |
+ |
} |
3574 |
+ |
_ACEOF |
3575 |
+ |
ac_clean_files="$ac_clean_files conftest.out" |
3576 |
+ |
# Check that the compiler produces executables we can run. If not, either |
3577 |
+ |
# the compiler is broken, or we cross compile. |
3578 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
3579 |
+ |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
3580 |
+ |
if test "$cross_compiling" != yes; then |
3581 |
+ |
{ { ac_try="$ac_link" |
3582 |
+ |
case "(($ac_try" in |
3583 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3584 |
+ |
*) ac_try_echo=$ac_try;; |
3585 |
+ |
esac |
3586 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3587 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
3588 |
+ |
(eval "$ac_link") 2>&5 |
3589 |
+ |
ac_status=$? |
3590 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3591 |
+ |
test $ac_status = 0; } |
3592 |
+ |
if { ac_try='./conftest$ac_cv_exeext' |
3593 |
+ |
{ { case "(($ac_try" in |
3594 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3595 |
+ |
*) ac_try_echo=$ac_try;; |
3596 |
+ |
esac |
3597 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3598 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
3599 |
+ |
(eval "$ac_try") 2>&5 |
3600 |
+ |
ac_status=$? |
3601 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3602 |
+ |
test $ac_status = 0; }; }; then |
3603 |
+ |
cross_compiling=no |
3604 |
+ |
else |
3605 |
+ |
if test "$cross_compiling" = maybe; then |
3606 |
+ |
cross_compiling=yes |
3607 |
+ |
else |
3608 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3609 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3610 |
+ |
as_fn_error $? "cannot run C compiled programs. |
3611 |
+ |
If you meant to cross compile, use \`--host'. |
3612 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
3613 |
+ |
fi |
3614 |
+ |
fi |
3615 |
+ |
fi |
3616 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3617 |
+ |
$as_echo "$cross_compiling" >&6; } |
3618 |
+ |
|
3619 |
+ |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3620 |
+ |
ac_clean_files=$ac_clean_files_save |
3621 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3622 |
|
$as_echo_n "checking for suffix of object files... " >&6; } |
3623 |
< |
if test "${ac_cv_objext+set}" = set; then : |
3623 |
> |
if ${ac_cv_objext+:} false; then : |
3624 |
|
$as_echo_n "(cached) " >&6 |
3625 |
|
else |
3626 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3660 |
|
|
3661 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3662 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3663 |
< |
as_fn_error "cannot compute suffix of object files: cannot compile |
3664 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
3663 |
> |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
3664 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
3665 |
|
fi |
3666 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3667 |
|
fi |
3671 |
|
ac_objext=$OBJEXT |
3672 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3673 |
|
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3674 |
< |
if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
3674 |
> |
if ${ac_cv_c_compiler_gnu+:} false; then : |
3675 |
|
$as_echo_n "(cached) " >&6 |
3676 |
|
else |
3677 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3708 |
|
ac_save_CFLAGS=$CFLAGS |
3709 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3710 |
|
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
3711 |
< |
if test "${ac_cv_prog_cc_g+set}" = set; then : |
3711 |
> |
if ${ac_cv_prog_cc_g+:} false; then : |
3712 |
|
$as_echo_n "(cached) " >&6 |
3713 |
|
else |
3714 |
|
ac_save_c_werror_flag=$ac_c_werror_flag |
3786 |
|
fi |
3787 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3788 |
|
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3789 |
< |
if test "${ac_cv_prog_cc_c89+set}" = set; then : |
3789 |
> |
if ${ac_cv_prog_cc_c89+:} false; then : |
3790 |
|
$as_echo_n "(cached) " >&6 |
3791 |
|
else |
3792 |
|
ac_cv_prog_cc_c89=no |
3795 |
|
/* end confdefs.h. */ |
3796 |
|
#include <stdarg.h> |
3797 |
|
#include <stdio.h> |
3798 |
< |
#include <sys/types.h> |
3959 |
< |
#include <sys/stat.h> |
3798 |
> |
struct stat; |
3799 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3800 |
|
struct buf { int x; }; |
3801 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3879 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3880 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3881 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4043 |
– |
DEPDIR="${am__leading_dot}deps" |
3882 |
|
|
3883 |
< |
ac_config_commands="$ac_config_commands depfiles" |
3884 |
< |
|
3885 |
< |
|
3886 |
< |
am_make=${MAKE-make} |
3887 |
< |
cat > confinc << 'END' |
3888 |
< |
am__doit: |
3889 |
< |
@echo this is the am__doit target |
3890 |
< |
.PHONY: am__doit |
3891 |
< |
END |
3892 |
< |
# If we don't find an include directive, just comment out the code. |
3893 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
3894 |
< |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
4057 |
< |
am__include="#" |
4058 |
< |
am__quote= |
4059 |
< |
_am_result=none |
4060 |
< |
# First try GNU make style include. |
4061 |
< |
echo "include confinc" > confmf |
4062 |
< |
# Ignore all kinds of additional output from `make'. |
4063 |
< |
case `$am_make -s -f confmf 2> /dev/null` in #( |
4064 |
< |
*the\ am__doit\ target*) |
4065 |
< |
am__include=include |
4066 |
< |
am__quote= |
4067 |
< |
_am_result=GNU |
4068 |
< |
;; |
4069 |
< |
esac |
4070 |
< |
# Now try BSD make style include. |
4071 |
< |
if test "$am__include" = "#"; then |
4072 |
< |
echo '.include "confinc"' > confmf |
4073 |
< |
case `$am_make -s -f confmf 2> /dev/null` in #( |
4074 |
< |
*the\ am__doit\ target*) |
4075 |
< |
am__include=.include |
4076 |
< |
am__quote="\"" |
4077 |
< |
_am_result=BSD |
4078 |
< |
;; |
4079 |
< |
esac |
4080 |
< |
fi |
4081 |
< |
|
4082 |
< |
|
4083 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
4084 |
< |
$as_echo "$_am_result" >&6; } |
4085 |
< |
rm -f confinc confmf |
3883 |
> |
ac_ext=c |
3884 |
> |
ac_cpp='$CPP $CPPFLAGS' |
3885 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3886 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3887 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3888 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
3889 |
> |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
3890 |
> |
if ${am_cv_prog_cc_c_o+:} false; then : |
3891 |
> |
$as_echo_n "(cached) " >&6 |
3892 |
> |
else |
3893 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3894 |
> |
/* end confdefs.h. */ |
3895 |
|
|
3896 |
< |
# Check whether --enable-dependency-tracking was given. |
3897 |
< |
if test "${enable_dependency_tracking+set}" = set; then : |
3898 |
< |
enableval=$enable_dependency_tracking; |
4090 |
< |
fi |
3896 |
> |
int |
3897 |
> |
main () |
3898 |
> |
{ |
3899 |
|
|
3900 |
< |
if test "x$enable_dependency_tracking" != xno; then |
3901 |
< |
am_depcomp="$ac_aux_dir/depcomp" |
3902 |
< |
AMDEPBACKSLASH='\' |
3900 |
> |
; |
3901 |
> |
return 0; |
3902 |
> |
} |
3903 |
> |
_ACEOF |
3904 |
> |
# Make sure it works both with $CC and with simple cc. |
3905 |
> |
# Following AC_PROG_CC_C_O, we do the test twice because some |
3906 |
> |
# compilers refuse to overwrite an existing .o file with -o, |
3907 |
> |
# though they will create one. |
3908 |
> |
am_cv_prog_cc_c_o=yes |
3909 |
> |
for am_i in 1 2; do |
3910 |
> |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
3911 |
> |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
3912 |
> |
ac_status=$? |
3913 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3914 |
> |
(exit $ac_status); } \ |
3915 |
> |
&& test -f conftest2.$ac_objext; then |
3916 |
> |
: OK |
3917 |
> |
else |
3918 |
> |
am_cv_prog_cc_c_o=no |
3919 |
> |
break |
3920 |
> |
fi |
3921 |
> |
done |
3922 |
> |
rm -f core conftest* |
3923 |
> |
unset am_i |
3924 |
|
fi |
3925 |
< |
if test "x$enable_dependency_tracking" != xno; then |
3926 |
< |
AMDEP_TRUE= |
3927 |
< |
AMDEP_FALSE='#' |
3928 |
< |
else |
3929 |
< |
AMDEP_TRUE='#' |
3930 |
< |
AMDEP_FALSE= |
3925 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
3926 |
> |
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
3927 |
> |
if test "$am_cv_prog_cc_c_o" != yes; then |
3928 |
> |
# Losing compiler, so override with the script. |
3929 |
> |
# FIXME: It is wrong to rewrite CC. |
3930 |
> |
# But if we don't then we get into trouble of one sort or another. |
3931 |
> |
# A longer-term fix would be to have automake use am__CC in this case, |
3932 |
> |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
3933 |
> |
CC="$am_aux_dir/compile $CC" |
3934 |
|
fi |
3935 |
< |
|
3935 |
> |
ac_ext=c |
3936 |
> |
ac_cpp='$CPP $CPPFLAGS' |
3937 |
> |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3938 |
> |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3939 |
> |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3940 |
|
|
3941 |
|
|
3942 |
|
depcc="$CC" am_compiler_list= |
3943 |
|
|
3944 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
3945 |
|
$as_echo_n "checking dependency style of $depcc... " >&6; } |
3946 |
< |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
3946 |
> |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
3947 |
|
$as_echo_n "(cached) " >&6 |
3948 |
|
else |
3949 |
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3950 |
|
# We make a subdir and do the tests there. Otherwise we can end up |
3951 |
|
# making bogus files that we don't know about and never remove. For |
3952 |
|
# instance it was reported that on HP-UX the gcc test will end up |
3953 |
< |
# making a dummy file named `D' -- because `-MD' means `put the output |
3954 |
< |
# in D'. |
3953 |
> |
# making a dummy file named 'D' -- because '-MD' means "put the output |
3954 |
> |
# in D". |
3955 |
> |
rm -rf conftest.dir |
3956 |
|
mkdir conftest.dir |
3957 |
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
3958 |
|
# using a relative directory. |
3986 |
|
: > sub/conftest.c |
3987 |
|
for i in 1 2 3 4 5 6; do |
3988 |
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
3989 |
< |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
3990 |
< |
# Solaris 8's {/usr,}/bin/sh. |
3991 |
< |
touch sub/conftst$i.h |
3989 |
> |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
3990 |
> |
# Solaris 10 /bin/sh. |
3991 |
> |
echo '/* dummy */' > sub/conftst$i.h |
3992 |
|
done |
3993 |
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
3994 |
|
|
3995 |
< |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
3995 |
> |
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
3996 |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
3997 |
< |
# handle `-M -o', and we need to detect this. Also, some Intel |
3998 |
< |
# versions had trouble with output in subdirs |
3997 |
> |
# handle '-M -o', and we need to detect this. Also, some Intel |
3998 |
> |
# versions had trouble with output in subdirs. |
3999 |
|
am__obj=sub/conftest.${OBJEXT-o} |
4000 |
|
am__minus_obj="-o $am__obj" |
4001 |
|
case $depmode in |
4004 |
|
test "$am__universal" = false || continue |
4005 |
|
;; |
4006 |
|
nosideeffect) |
4007 |
< |
# after this tag, mechanisms are not by side-effect, so they'll |
4008 |
< |
# only be used when explicitly requested |
4007 |
> |
# After this tag, mechanisms are not by side-effect, so they'll |
4008 |
> |
# only be used when explicitly requested. |
4009 |
|
if test "x$enable_dependency_tracking" = xyes; then |
4010 |
|
continue |
4011 |
|
else |
4012 |
|
break |
4013 |
|
fi |
4014 |
|
;; |
4015 |
< |
msvisualcpp | msvcmsys) |
4016 |
< |
# This compiler won't grok `-c -o', but also, the minuso test has |
4015 |
> |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
4016 |
> |
# This compiler won't grok '-c -o', but also, the minuso test has |
4017 |
|
# not run yet. These depmodes are late enough in the game, and |
4018 |
|
# so weak that their functioning should not be impacted. |
4019 |
|
am__obj=conftest.${OBJEXT-o} |
4067 |
|
fi |
4068 |
|
|
4069 |
|
|
4070 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 |
4071 |
+ |
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
4072 |
+ |
if ${ac_cv_prog_cc_c99+:} false; then : |
4073 |
+ |
$as_echo_n "(cached) " >&6 |
4074 |
+ |
else |
4075 |
+ |
ac_cv_prog_cc_c99=no |
4076 |
+ |
ac_save_CC=$CC |
4077 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4078 |
+ |
/* end confdefs.h. */ |
4079 |
+ |
#include <stdarg.h> |
4080 |
+ |
#include <stdbool.h> |
4081 |
+ |
#include <stdlib.h> |
4082 |
+ |
#include <wchar.h> |
4083 |
+ |
#include <stdio.h> |
4084 |
+ |
|
4085 |
+ |
// Check varargs macros. These examples are taken from C99 6.10.3.5. |
4086 |
+ |
#define debug(...) fprintf (stderr, __VA_ARGS__) |
4087 |
+ |
#define showlist(...) puts (#__VA_ARGS__) |
4088 |
+ |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
4089 |
+ |
static void |
4090 |
+ |
test_varargs_macros (void) |
4091 |
+ |
{ |
4092 |
+ |
int x = 1234; |
4093 |
+ |
int y = 5678; |
4094 |
+ |
debug ("Flag"); |
4095 |
+ |
debug ("X = %d\n", x); |
4096 |
+ |
showlist (The first, second, and third items.); |
4097 |
+ |
report (x>y, "x is %d but y is %d", x, y); |
4098 |
+ |
} |
4099 |
+ |
|
4100 |
+ |
// Check long long types. |
4101 |
+ |
#define BIG64 18446744073709551615ull |
4102 |
+ |
#define BIG32 4294967295ul |
4103 |
+ |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
4104 |
+ |
#if !BIG_OK |
4105 |
+ |
your preprocessor is broken; |
4106 |
+ |
#endif |
4107 |
+ |
#if BIG_OK |
4108 |
+ |
#else |
4109 |
+ |
your preprocessor is broken; |
4110 |
+ |
#endif |
4111 |
+ |
static long long int bignum = -9223372036854775807LL; |
4112 |
+ |
static unsigned long long int ubignum = BIG64; |
4113 |
+ |
|
4114 |
+ |
struct incomplete_array |
4115 |
+ |
{ |
4116 |
+ |
int datasize; |
4117 |
+ |
double data[]; |
4118 |
+ |
}; |
4119 |
+ |
|
4120 |
+ |
struct named_init { |
4121 |
+ |
int number; |
4122 |
+ |
const wchar_t *name; |
4123 |
+ |
double average; |
4124 |
+ |
}; |
4125 |
+ |
|
4126 |
+ |
typedef const char *ccp; |
4127 |
+ |
|
4128 |
+ |
static inline int |
4129 |
+ |
test_restrict (ccp restrict text) |
4130 |
+ |
{ |
4131 |
+ |
// See if C++-style comments work. |
4132 |
+ |
// Iterate through items via the restricted pointer. |
4133 |
+ |
// Also check for declarations in for loops. |
4134 |
+ |
for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
4135 |
+ |
continue; |
4136 |
+ |
return 0; |
4137 |
+ |
} |
4138 |
+ |
|
4139 |
+ |
// Check varargs and va_copy. |
4140 |
+ |
static void |
4141 |
+ |
test_varargs (const char *format, ...) |
4142 |
+ |
{ |
4143 |
+ |
va_list args; |
4144 |
+ |
va_start (args, format); |
4145 |
+ |
va_list args_copy; |
4146 |
+ |
va_copy (args_copy, args); |
4147 |
+ |
|
4148 |
+ |
const char *str; |
4149 |
+ |
int number; |
4150 |
+ |
float fnumber; |
4151 |
+ |
|
4152 |
+ |
while (*format) |
4153 |
+ |
{ |
4154 |
+ |
switch (*format++) |
4155 |
+ |
{ |
4156 |
+ |
case 's': // string |
4157 |
+ |
str = va_arg (args_copy, const char *); |
4158 |
+ |
break; |
4159 |
+ |
case 'd': // int |
4160 |
+ |
number = va_arg (args_copy, int); |
4161 |
+ |
break; |
4162 |
+ |
case 'f': // float |
4163 |
+ |
fnumber = va_arg (args_copy, double); |
4164 |
+ |
break; |
4165 |
+ |
default: |
4166 |
+ |
break; |
4167 |
+ |
} |
4168 |
+ |
} |
4169 |
+ |
va_end (args_copy); |
4170 |
+ |
va_end (args); |
4171 |
+ |
} |
4172 |
+ |
|
4173 |
+ |
int |
4174 |
+ |
main () |
4175 |
+ |
{ |
4176 |
+ |
|
4177 |
+ |
// Check bool. |
4178 |
+ |
_Bool success = false; |
4179 |
+ |
|
4180 |
+ |
// Check restrict. |
4181 |
+ |
if (test_restrict ("String literal") == 0) |
4182 |
+ |
success = true; |
4183 |
+ |
char *restrict newvar = "Another string"; |
4184 |
+ |
|
4185 |
+ |
// Check varargs. |
4186 |
+ |
test_varargs ("s, d' f .", "string", 65, 34.234); |
4187 |
+ |
test_varargs_macros (); |
4188 |
+ |
|
4189 |
+ |
// Check flexible array members. |
4190 |
+ |
struct incomplete_array *ia = |
4191 |
+ |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
4192 |
+ |
ia->datasize = 10; |
4193 |
+ |
for (int i = 0; i < ia->datasize; ++i) |
4194 |
+ |
ia->data[i] = i * 1.234; |
4195 |
+ |
|
4196 |
+ |
// Check named initializers. |
4197 |
+ |
struct named_init ni = { |
4198 |
+ |
.number = 34, |
4199 |
+ |
.name = L"Test wide string", |
4200 |
+ |
.average = 543.34343, |
4201 |
+ |
}; |
4202 |
+ |
|
4203 |
+ |
ni.number = 58; |
4204 |
+ |
|
4205 |
+ |
int dynamic_array[ni.number]; |
4206 |
+ |
dynamic_array[ni.number - 1] = 543; |
4207 |
+ |
|
4208 |
+ |
// work around unused variable warnings |
4209 |
+ |
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
4210 |
+ |
|| dynamic_array[ni.number - 1] != 543); |
4211 |
+ |
|
4212 |
+ |
; |
4213 |
+ |
return 0; |
4214 |
+ |
} |
4215 |
+ |
_ACEOF |
4216 |
+ |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 |
4217 |
+ |
do |
4218 |
+ |
CC="$ac_save_CC $ac_arg" |
4219 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
4220 |
+ |
ac_cv_prog_cc_c99=$ac_arg |
4221 |
+ |
fi |
4222 |
+ |
rm -f core conftest.err conftest.$ac_objext |
4223 |
+ |
test "x$ac_cv_prog_cc_c99" != "xno" && break |
4224 |
+ |
done |
4225 |
+ |
rm -f conftest.$ac_ext |
4226 |
+ |
CC=$ac_save_CC |
4227 |
+ |
|
4228 |
+ |
fi |
4229 |
+ |
# AC_CACHE_VAL |
4230 |
+ |
case "x$ac_cv_prog_cc_c99" in |
4231 |
+ |
x) |
4232 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
4233 |
+ |
$as_echo "none needed" >&6; } ;; |
4234 |
+ |
xno) |
4235 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
4236 |
+ |
$as_echo "unsupported" >&6; } ;; |
4237 |
+ |
*) |
4238 |
+ |
CC="$CC $ac_cv_prog_cc_c99" |
4239 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
4240 |
+ |
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; |
4241 |
+ |
esac |
4242 |
+ |
if test "x$ac_cv_prog_cc_c99" != xno; then : |
4243 |
+ |
|
4244 |
+ |
fi |
4245 |
+ |
|
4246 |
+ |
|
4247 |
+ |
if test "$ac_cv_prog_cc_c99" = "no"; then : |
4248 |
+ |
as_fn_error $? "no suitable C99 compiler found. Aborting." "$LINENO" 5 |
4249 |
+ |
fi |
4250 |
|
for ac_prog in 'bison -y' byacc |
4251 |
|
do |
4252 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
4253 |
|
set dummy $ac_prog; ac_word=$2 |
4254 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4255 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
4256 |
< |
if test "${ac_cv_prog_YACC+set}" = set; then : |
4256 |
> |
if ${ac_cv_prog_YACC+:} false; then : |
4257 |
|
$as_echo_n "(cached) " >&6 |
4258 |
|
else |
4259 |
|
if test -n "$YACC"; then |
4265 |
|
IFS=$as_save_IFS |
4266 |
|
test -z "$as_dir" && as_dir=. |
4267 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4268 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4268 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4269 |
|
ac_cv_prog_YACC="$ac_prog" |
4270 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4271 |
|
break 2 |
4297 |
|
set dummy $ac_prog; ac_word=$2 |
4298 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4299 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
4300 |
< |
if test "${ac_cv_prog_LEX+set}" = set; then : |
4300 |
> |
if ${ac_cv_prog_LEX+:} false; then : |
4301 |
|
$as_echo_n "(cached) " >&6 |
4302 |
|
else |
4303 |
|
if test -n "$LEX"; then |
4309 |
|
IFS=$as_save_IFS |
4310 |
|
test -z "$as_dir" && as_dir=. |
4311 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4312 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4312 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4313 |
|
ac_cv_prog_LEX="$ac_prog" |
4314 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4315 |
|
break 2 |
4341 |
|
b { REJECT; } |
4342 |
|
c { yymore (); } |
4343 |
|
d { yyless (1); } |
4344 |
< |
e { yyless (input () != 0); } |
4344 |
> |
e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ |
4345 |
> |
yyless ((input () != 0)); } |
4346 |
|
f { unput (yytext[0]); } |
4347 |
|
. { BEGIN INITIAL; } |
4348 |
|
%% |
4368 |
|
test $ac_status = 0; } |
4369 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
4370 |
|
$as_echo_n "checking lex output file root... " >&6; } |
4371 |
< |
if test "${ac_cv_prog_lex_root+set}" = set; then : |
4371 |
> |
if ${ac_cv_prog_lex_root+:} false; then : |
4372 |
|
$as_echo_n "(cached) " >&6 |
4373 |
|
else |
4374 |
|
|
4377 |
|
elif test -f lexyy.c; then |
4378 |
|
ac_cv_prog_lex_root=lexyy |
4379 |
|
else |
4380 |
< |
as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5 |
4380 |
> |
as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 |
4381 |
|
fi |
4382 |
|
fi |
4383 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
4387 |
|
if test -z "${LEXLIB+set}"; then |
4388 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
4389 |
|
$as_echo_n "checking lex library... " >&6; } |
4390 |
< |
if test "${ac_cv_lib_lex+set}" = set; then : |
4390 |
> |
if ${ac_cv_lib_lex+:} false; then : |
4391 |
|
$as_echo_n "(cached) " >&6 |
4392 |
|
else |
4393 |
|
|
4417 |
|
|
4418 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
4419 |
|
$as_echo_n "checking whether yytext is a pointer... " >&6; } |
4420 |
< |
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then : |
4420 |
> |
if ${ac_cv_prog_lex_yytext_pointer+:} false; then : |
4421 |
|
$as_echo_n "(cached) " >&6 |
4422 |
|
else |
4423 |
|
# POSIX says lex can declare yytext either as a pointer or an array; the |
4428 |
|
LIBS="$LEXLIB $ac_save_LIBS" |
4429 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4430 |
|
/* end confdefs.h. */ |
4431 |
< |
#define YYTEXT_POINTER 1 |
4431 |
> |
|
4432 |
> |
#define YYTEXT_POINTER 1 |
4433 |
|
`cat $LEX_OUTPUT_ROOT.c` |
4434 |
|
_ACEOF |
4435 |
|
if ac_fn_c_try_link "$LINENO"; then : |
4455 |
|
fi |
4456 |
|
|
4457 |
|
|
4458 |
+ |
# Initializing libtool. |
4459 |
+ |
|
4460 |
+ |
|
4461 |
+ |
|
4462 |
+ |
|
4463 |
+ |
|
4464 |
+ |
|
4465 |
|
|
4440 |
– |
#ltdl stuff |
4466 |
|
case `pwd` in |
4467 |
|
*\ * | *\ *) |
4468 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
4471 |
|
|
4472 |
|
|
4473 |
|
|
4474 |
< |
macro_version='2.2.6' |
4475 |
< |
macro_revision='1.3012' |
4474 |
> |
macro_version='2.4.2' |
4475 |
> |
macro_revision='1.3337' |
4476 |
|
|
4477 |
|
|
4478 |
|
|
4490 |
|
|
4491 |
|
# Make sure we can run config.sub. |
4492 |
|
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
4493 |
< |
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
4493 |
> |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
4494 |
|
|
4495 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
4496 |
|
$as_echo_n "checking build system type... " >&6; } |
4497 |
< |
if test "${ac_cv_build+set}" = set; then : |
4497 |
> |
if ${ac_cv_build+:} false; then : |
4498 |
|
$as_echo_n "(cached) " >&6 |
4499 |
|
else |
4500 |
|
ac_build_alias=$build_alias |
4501 |
|
test "x$ac_build_alias" = x && |
4502 |
|
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
4503 |
|
test "x$ac_build_alias" = x && |
4504 |
< |
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 |
4504 |
> |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
4505 |
|
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
4506 |
< |
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
4506 |
> |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
4507 |
|
|
4508 |
|
fi |
4509 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
4510 |
|
$as_echo "$ac_cv_build" >&6; } |
4511 |
|
case $ac_cv_build in |
4512 |
|
*-*-*) ;; |
4513 |
< |
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; |
4513 |
> |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
4514 |
|
esac |
4515 |
|
build=$ac_cv_build |
4516 |
|
ac_save_IFS=$IFS; IFS='-' |
4528 |
|
|
4529 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
4530 |
|
$as_echo_n "checking host system type... " >&6; } |
4531 |
< |
if test "${ac_cv_host+set}" = set; then : |
4531 |
> |
if ${ac_cv_host+:} false; then : |
4532 |
|
$as_echo_n "(cached) " >&6 |
4533 |
|
else |
4534 |
|
if test "x$host_alias" = x; then |
4535 |
|
ac_cv_host=$ac_cv_build |
4536 |
|
else |
4537 |
|
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
4538 |
< |
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
4538 |
> |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
4539 |
|
fi |
4540 |
|
|
4541 |
|
fi |
4543 |
|
$as_echo "$ac_cv_host" >&6; } |
4544 |
|
case $ac_cv_host in |
4545 |
|
*-*-*) ;; |
4546 |
< |
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; |
4546 |
> |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
4547 |
|
esac |
4548 |
|
host=$ac_cv_host |
4549 |
|
ac_save_IFS=$IFS; IFS='-' |
4559 |
|
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
4560 |
|
|
4561 |
|
|
4562 |
+ |
# Backslashify metacharacters that are still active within |
4563 |
+ |
# double-quoted strings. |
4564 |
+ |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
4565 |
+ |
|
4566 |
+ |
# Same as above, but do not quote variable references. |
4567 |
+ |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
4568 |
+ |
|
4569 |
+ |
# Sed substitution to delay expansion of an escaped shell variable in a |
4570 |
+ |
# double_quote_subst'ed string. |
4571 |
+ |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
4572 |
+ |
|
4573 |
+ |
# Sed substitution to delay expansion of an escaped single quote. |
4574 |
+ |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
4575 |
+ |
|
4576 |
+ |
# Sed substitution to avoid accidental globbing in evaled expressions |
4577 |
+ |
no_glob_subst='s/\*/\\\*/g' |
4578 |
+ |
|
4579 |
+ |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
4580 |
+ |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
4581 |
+ |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
4582 |
+ |
|
4583 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
4584 |
+ |
$as_echo_n "checking how to print strings... " >&6; } |
4585 |
+ |
# Test print first, because it will be a builtin if present. |
4586 |
+ |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
4587 |
+ |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
4588 |
+ |
ECHO='print -r --' |
4589 |
+ |
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
4590 |
+ |
ECHO='printf %s\n' |
4591 |
+ |
else |
4592 |
+ |
# Use this function as a fallback that always works. |
4593 |
+ |
func_fallback_echo () |
4594 |
+ |
{ |
4595 |
+ |
eval 'cat <<_LTECHO_EOF |
4596 |
+ |
$1 |
4597 |
+ |
_LTECHO_EOF' |
4598 |
+ |
} |
4599 |
+ |
ECHO='func_fallback_echo' |
4600 |
+ |
fi |
4601 |
+ |
|
4602 |
+ |
# func_echo_all arg... |
4603 |
+ |
# Invoke $ECHO with all args, space-separated. |
4604 |
+ |
func_echo_all () |
4605 |
+ |
{ |
4606 |
+ |
$ECHO "" |
4607 |
+ |
} |
4608 |
+ |
|
4609 |
+ |
case "$ECHO" in |
4610 |
+ |
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
4611 |
+ |
$as_echo "printf" >&6; } ;; |
4612 |
+ |
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
4613 |
+ |
$as_echo "print -r" >&6; } ;; |
4614 |
+ |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
4615 |
+ |
$as_echo "cat" >&6; } ;; |
4616 |
+ |
esac |
4617 |
+ |
|
4618 |
+ |
|
4619 |
+ |
|
4620 |
+ |
|
4621 |
+ |
|
4622 |
+ |
|
4623 |
+ |
|
4624 |
+ |
|
4625 |
+ |
|
4626 |
+ |
|
4627 |
+ |
|
4628 |
+ |
|
4629 |
+ |
|
4630 |
+ |
|
4631 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
4632 |
|
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
4633 |
< |
if test "${ac_cv_path_SED+set}" = set; then : |
4633 |
> |
if ${ac_cv_path_SED+:} false; then : |
4634 |
|
$as_echo_n "(cached) " >&6 |
4635 |
|
else |
4636 |
|
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
4650 |
|
for ac_prog in sed gsed; do |
4651 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4652 |
|
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
4653 |
< |
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
4653 |
> |
as_fn_executable_p "$ac_path_SED" || continue |
4654 |
|
# Check for GNU ac_path_SED and select it if it is found. |
4655 |
|
# Check for GNU $ac_path_SED |
4656 |
|
case `"$ac_path_SED" --version 2>&1` in |
4685 |
|
done |
4686 |
|
IFS=$as_save_IFS |
4687 |
|
if test -z "$ac_cv_path_SED"; then |
4688 |
< |
as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
4688 |
> |
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
4689 |
|
fi |
4690 |
|
else |
4691 |
|
ac_cv_path_SED=$SED |
4712 |
|
|
4713 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4714 |
|
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4715 |
< |
if test "${ac_cv_path_GREP+set}" = set; then : |
4715 |
> |
if ${ac_cv_path_GREP+:} false; then : |
4716 |
|
$as_echo_n "(cached) " >&6 |
4717 |
|
else |
4718 |
|
if test -z "$GREP"; then |
4726 |
|
for ac_prog in grep ggrep; do |
4727 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4728 |
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4729 |
< |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4729 |
> |
as_fn_executable_p "$ac_path_GREP" || continue |
4730 |
|
# Check for GNU ac_path_GREP and select it if it is found. |
4731 |
|
# Check for GNU $ac_path_GREP |
4732 |
|
case `"$ac_path_GREP" --version 2>&1` in |
4761 |
|
done |
4762 |
|
IFS=$as_save_IFS |
4763 |
|
if test -z "$ac_cv_path_GREP"; then |
4764 |
< |
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4764 |
> |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4765 |
|
fi |
4766 |
|
else |
4767 |
|
ac_cv_path_GREP=$GREP |
4775 |
|
|
4776 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4777 |
|
$as_echo_n "checking for egrep... " >&6; } |
4778 |
< |
if test "${ac_cv_path_EGREP+set}" = set; then : |
4778 |
> |
if ${ac_cv_path_EGREP+:} false; then : |
4779 |
|
$as_echo_n "(cached) " >&6 |
4780 |
|
else |
4781 |
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4792 |
|
for ac_prog in egrep; do |
4793 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4794 |
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4795 |
< |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
4795 |
> |
as_fn_executable_p "$ac_path_EGREP" || continue |
4796 |
|
# Check for GNU ac_path_EGREP and select it if it is found. |
4797 |
|
# Check for GNU $ac_path_EGREP |
4798 |
|
case `"$ac_path_EGREP" --version 2>&1` in |
4827 |
|
done |
4828 |
|
IFS=$as_save_IFS |
4829 |
|
if test -z "$ac_cv_path_EGREP"; then |
4830 |
< |
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4830 |
> |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4831 |
|
fi |
4832 |
|
else |
4833 |
|
ac_cv_path_EGREP=$EGREP |
4842 |
|
|
4843 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
4844 |
|
$as_echo_n "checking for fgrep... " >&6; } |
4845 |
< |
if test "${ac_cv_path_FGREP+set}" = set; then : |
4845 |
> |
if ${ac_cv_path_FGREP+:} false; then : |
4846 |
|
$as_echo_n "(cached) " >&6 |
4847 |
|
else |
4848 |
|
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
4859 |
|
for ac_prog in fgrep; do |
4860 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
4861 |
|
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
4862 |
< |
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue |
4862 |
> |
as_fn_executable_p "$ac_path_FGREP" || continue |
4863 |
|
# Check for GNU ac_path_FGREP and select it if it is found. |
4864 |
|
# Check for GNU $ac_path_FGREP |
4865 |
|
case `"$ac_path_FGREP" --version 2>&1` in |
4894 |
|
done |
4895 |
|
IFS=$as_save_IFS |
4896 |
|
if test -z "$ac_cv_path_FGREP"; then |
4897 |
< |
as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4897 |
> |
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4898 |
|
fi |
4899 |
|
else |
4900 |
|
ac_cv_path_FGREP=$FGREP |
4973 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
4974 |
|
$as_echo_n "checking for non-GNU ld... " >&6; } |
4975 |
|
fi |
4976 |
< |
if test "${lt_cv_path_LD+set}" = set; then : |
4976 |
> |
if ${lt_cv_path_LD+:} false; then : |
4977 |
|
$as_echo_n "(cached) " >&6 |
4978 |
|
else |
4979 |
|
if test -z "$LD"; then |
5010 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5011 |
|
$as_echo "no" >&6; } |
5012 |
|
fi |
5013 |
< |
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 |
5013 |
> |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
5014 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
5015 |
|
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
5016 |
< |
if test "${lt_cv_prog_gnu_ld+set}" = set; then : |
5016 |
> |
if ${lt_cv_prog_gnu_ld+:} false; then : |
5017 |
|
$as_echo_n "(cached) " >&6 |
5018 |
|
else |
5019 |
|
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
5040 |
|
|
5041 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
5042 |
|
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
5043 |
< |
if test "${lt_cv_path_NM+set}" = set; then : |
5043 |
> |
if ${lt_cv_path_NM+:} false; then : |
5044 |
|
$as_echo_n "(cached) " >&6 |
5045 |
|
else |
5046 |
|
if test -n "$NM"; then |
5093 |
|
NM="$lt_cv_path_NM" |
5094 |
|
else |
5095 |
|
# Didn't find any BSD compatible name lister, look for dumpbin. |
5096 |
< |
if test -n "$ac_tool_prefix"; then |
5097 |
< |
for ac_prog in "dumpbin -symbols" "link -dump -symbols" |
5096 |
> |
if test -n "$DUMPBIN"; then : |
5097 |
> |
# Let the user override the test. |
5098 |
> |
else |
5099 |
> |
if test -n "$ac_tool_prefix"; then |
5100 |
> |
for ac_prog in dumpbin "link -dump" |
5101 |
|
do |
5102 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5103 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5104 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5105 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5106 |
< |
if test "${ac_cv_prog_DUMPBIN+set}" = set; then : |
5106 |
> |
if ${ac_cv_prog_DUMPBIN+:} false; then : |
5107 |
|
$as_echo_n "(cached) " >&6 |
5108 |
|
else |
5109 |
|
if test -n "$DUMPBIN"; then |
5115 |
|
IFS=$as_save_IFS |
5116 |
|
test -z "$as_dir" && as_dir=. |
5117 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5118 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5118 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5119 |
|
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
5120 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5121 |
|
break 2 |
5141 |
|
fi |
5142 |
|
if test -z "$DUMPBIN"; then |
5143 |
|
ac_ct_DUMPBIN=$DUMPBIN |
5144 |
< |
for ac_prog in "dumpbin -symbols" "link -dump -symbols" |
5144 |
> |
for ac_prog in dumpbin "link -dump" |
5145 |
|
do |
5146 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
5147 |
|
set dummy $ac_prog; ac_word=$2 |
5148 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5149 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5150 |
< |
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : |
5150 |
> |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
5151 |
|
$as_echo_n "(cached) " >&6 |
5152 |
|
else |
5153 |
|
if test -n "$ac_ct_DUMPBIN"; then |
5159 |
|
IFS=$as_save_IFS |
5160 |
|
test -z "$as_dir" && as_dir=. |
5161 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5162 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5162 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5163 |
|
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
5164 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5165 |
|
break 2 |
5196 |
|
fi |
5197 |
|
fi |
5198 |
|
|
5199 |
+ |
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in |
5200 |
+ |
*COFF*) |
5201 |
+ |
DUMPBIN="$DUMPBIN -symbols" |
5202 |
+ |
;; |
5203 |
+ |
*) |
5204 |
+ |
DUMPBIN=: |
5205 |
+ |
;; |
5206 |
+ |
esac |
5207 |
+ |
fi |
5208 |
|
|
5209 |
|
if test "$DUMPBIN" != ":"; then |
5210 |
|
NM="$DUMPBIN" |
5219 |
|
|
5220 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
5221 |
|
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
5222 |
< |
if test "${lt_cv_nm_interface+set}" = set; then : |
5222 |
> |
if ${lt_cv_nm_interface+:} false; then : |
5223 |
|
$as_echo_n "(cached) " >&6 |
5224 |
|
else |
5225 |
|
lt_cv_nm_interface="BSD nm" |
5226 |
|
echo "int some_variable = 0;" > conftest.$ac_ext |
5227 |
< |
(eval echo "\"\$as_me:5121: $ac_compile\"" >&5) |
5227 |
> |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
5228 |
|
(eval "$ac_compile" 2>conftest.err) |
5229 |
|
cat conftest.err >&5 |
5230 |
< |
(eval echo "\"\$as_me:5124: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
5230 |
> |
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
5231 |
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
5232 |
|
cat conftest.err >&5 |
5233 |
< |
(eval echo "\"\$as_me:5127: output\"" >&5) |
5233 |
> |
(eval echo "\"\$as_me:$LINENO: output\"" >&5) |
5234 |
|
cat conftest.out >&5 |
5235 |
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
5236 |
|
lt_cv_nm_interface="MS dumpbin" |
5254 |
|
# find the maximum length of command line arguments |
5255 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
5256 |
|
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
5257 |
< |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then : |
5257 |
> |
if ${lt_cv_sys_max_cmd_len+:} false; then : |
5258 |
|
$as_echo_n "(cached) " >&6 |
5259 |
|
else |
5260 |
|
i=0 |
5287 |
|
lt_cv_sys_max_cmd_len=8192; |
5288 |
|
;; |
5289 |
|
|
5290 |
+ |
mint*) |
5291 |
+ |
# On MiNT this can take a long time and run out of memory. |
5292 |
+ |
lt_cv_sys_max_cmd_len=8192; |
5293 |
+ |
;; |
5294 |
+ |
|
5295 |
|
amigaos*) |
5296 |
|
# On AmigaOS with pdksh, this test takes hours, literally. |
5297 |
|
# So we just punt and use a minimum line length of 8192. |
5317 |
|
lt_cv_sys_max_cmd_len=196608 |
5318 |
|
;; |
5319 |
|
|
5320 |
+ |
os2*) |
5321 |
+ |
# The test takes a long time on OS/2. |
5322 |
+ |
lt_cv_sys_max_cmd_len=8192 |
5323 |
+ |
;; |
5324 |
+ |
|
5325 |
|
osf*) |
5326 |
|
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
5327 |
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
5361 |
|
# If test is not a shell built-in, we'll probably end up computing a |
5362 |
|
# maximum length that is only half of the actual maximum length, but |
5363 |
|
# we can't tell. |
5364 |
< |
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ |
5365 |
< |
= "XX$teststring$teststring"; } >/dev/null 2>&1 && |
5364 |
> |
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
5365 |
> |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
5366 |
|
test $i != 17 # 1/2 MB should be enough |
5367 |
|
do |
5368 |
|
i=`expr $i + 1` |
5404 |
|
# Try some XSI features |
5405 |
|
xsi_shell=no |
5406 |
|
( _lt_dummy="a/b/c" |
5407 |
< |
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ |
5408 |
< |
= c,a/b,, \ |
5407 |
> |
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ |
5408 |
> |
= c,a/b,b/c, \ |
5409 |
|
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
5410 |
|
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
5411 |
|
&& xsi_shell=yes |
5454 |
|
|
5455 |
|
|
5456 |
|
|
5457 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
5458 |
+ |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; } |
5459 |
+ |
if ${lt_cv_to_host_file_cmd+:} false; then : |
5460 |
+ |
$as_echo_n "(cached) " >&6 |
5461 |
+ |
else |
5462 |
+ |
case $host in |
5463 |
+ |
*-*-mingw* ) |
5464 |
+ |
case $build in |
5465 |
+ |
*-*-mingw* ) # actually msys |
5466 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
5467 |
+ |
;; |
5468 |
+ |
*-*-cygwin* ) |
5469 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
5470 |
+ |
;; |
5471 |
+ |
* ) # otherwise, assume *nix |
5472 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
5473 |
+ |
;; |
5474 |
+ |
esac |
5475 |
+ |
;; |
5476 |
+ |
*-*-cygwin* ) |
5477 |
+ |
case $build in |
5478 |
+ |
*-*-mingw* ) # actually msys |
5479 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
5480 |
+ |
;; |
5481 |
+ |
*-*-cygwin* ) |
5482 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_noop |
5483 |
+ |
;; |
5484 |
+ |
* ) # otherwise, assume *nix |
5485 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
5486 |
+ |
;; |
5487 |
+ |
esac |
5488 |
+ |
;; |
5489 |
+ |
* ) # unhandled hosts (and "normal" native builds) |
5490 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_noop |
5491 |
+ |
;; |
5492 |
+ |
esac |
5493 |
+ |
|
5494 |
+ |
fi |
5495 |
+ |
|
5496 |
+ |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
5497 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
5498 |
+ |
$as_echo "$lt_cv_to_host_file_cmd" >&6; } |
5499 |
+ |
|
5500 |
+ |
|
5501 |
+ |
|
5502 |
+ |
|
5503 |
+ |
|
5504 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
5505 |
+ |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } |
5506 |
+ |
if ${lt_cv_to_tool_file_cmd+:} false; then : |
5507 |
+ |
$as_echo_n "(cached) " >&6 |
5508 |
+ |
else |
5509 |
+ |
#assume ordinary cross tools, or native build. |
5510 |
+ |
lt_cv_to_tool_file_cmd=func_convert_file_noop |
5511 |
+ |
case $host in |
5512 |
+ |
*-*-mingw* ) |
5513 |
+ |
case $build in |
5514 |
+ |
*-*-mingw* ) # actually msys |
5515 |
+ |
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
5516 |
+ |
;; |
5517 |
+ |
esac |
5518 |
+ |
;; |
5519 |
+ |
esac |
5520 |
+ |
|
5521 |
+ |
fi |
5522 |
+ |
|
5523 |
+ |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
5524 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
5525 |
+ |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
5526 |
+ |
|
5527 |
+ |
|
5528 |
+ |
|
5529 |
+ |
|
5530 |
+ |
|
5531 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
5532 |
|
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
5533 |
< |
if test "${lt_cv_ld_reload_flag+set}" = set; then : |
5533 |
> |
if ${lt_cv_ld_reload_flag+:} false; then : |
5534 |
|
$as_echo_n "(cached) " >&6 |
5535 |
|
else |
5536 |
|
lt_cv_ld_reload_flag='-r' |
5544 |
|
esac |
5545 |
|
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
5546 |
|
case $host_os in |
5547 |
+ |
cygwin* | mingw* | pw32* | cegcc*) |
5548 |
+ |
if test "$GCC" != yes; then |
5549 |
+ |
reload_cmds=false |
5550 |
+ |
fi |
5551 |
+ |
;; |
5552 |
|
darwin*) |
5553 |
|
if test "$GCC" = yes; then |
5554 |
|
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
5571 |
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
5572 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5573 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5574 |
< |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then : |
5574 |
> |
if ${ac_cv_prog_OBJDUMP+:} false; then : |
5575 |
|
$as_echo_n "(cached) " >&6 |
5576 |
|
else |
5577 |
|
if test -n "$OBJDUMP"; then |
5583 |
|
IFS=$as_save_IFS |
5584 |
|
test -z "$as_dir" && as_dir=. |
5585 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5586 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5586 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5587 |
|
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
5588 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5589 |
|
break 2 |
5611 |
|
set dummy objdump; ac_word=$2 |
5612 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5613 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5614 |
< |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : |
5614 |
> |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
5615 |
|
$as_echo_n "(cached) " >&6 |
5616 |
|
else |
5617 |
|
if test -n "$ac_ct_OBJDUMP"; then |
5623 |
|
IFS=$as_save_IFS |
5624 |
|
test -z "$as_dir" && as_dir=. |
5625 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5626 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5626 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5627 |
|
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
5628 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5629 |
|
break 2 |
5670 |
|
|
5671 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
5672 |
|
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
5673 |
< |
if test "${lt_cv_deplibs_check_method+set}" = set; then : |
5673 |
> |
if ${lt_cv_deplibs_check_method+:} false; then : |
5674 |
|
$as_echo_n "(cached) " >&6 |
5675 |
|
else |
5676 |
|
lt_cv_file_magic_cmd='$MAGIC_CMD' |
5712 |
|
# Base MSYS/MinGW do not provide the 'file' command needed by |
5713 |
|
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
5714 |
|
# unless we find 'file', for example because we are cross-compiling. |
5715 |
< |
if ( file / ) >/dev/null 2>&1; then |
5715 |
> |
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. |
5716 |
> |
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then |
5717 |
|
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
5718 |
|
lt_cv_file_magic_cmd='func_win32_libid' |
5719 |
|
else |
5720 |
< |
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
5720 |
> |
# Keep this pattern in sync with the one in func_win32_libid. |
5721 |
> |
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' |
5722 |
|
lt_cv_file_magic_cmd='$OBJDUMP -f' |
5723 |
|
fi |
5724 |
|
;; |
5725 |
|
|
5726 |
< |
cegcc) |
5726 |
> |
cegcc*) |
5727 |
|
# use the weaker test based on 'objdump'. See mingw*. |
5728 |
|
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
5729 |
|
lt_cv_file_magic_cmd='$OBJDUMP -f' |
5753 |
|
lt_cv_deplibs_check_method=pass_all |
5754 |
|
;; |
5755 |
|
|
5756 |
+ |
haiku*) |
5757 |
+ |
lt_cv_deplibs_check_method=pass_all |
5758 |
+ |
;; |
5759 |
+ |
|
5760 |
|
hpux10.20* | hpux11*) |
5761 |
|
lt_cv_file_magic_cmd=/usr/bin/file |
5762 |
|
case $host_cpu in |
5765 |
|
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
5766 |
|
;; |
5767 |
|
hppa*64*) |
5768 |
< |
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]' |
5768 |
> |
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]' |
5769 |
|
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
5770 |
|
;; |
5771 |
|
*) |
5772 |
< |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' |
5772 |
> |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' |
5773 |
|
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
5774 |
|
;; |
5775 |
|
esac |
5790 |
|
lt_cv_deplibs_check_method=pass_all |
5791 |
|
;; |
5792 |
|
|
5793 |
< |
# This must be Linux ELF. |
5794 |
< |
linux* | k*bsd*-gnu) |
5793 |
> |
# This must be glibc/ELF. |
5794 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
5795 |
|
lt_cv_deplibs_check_method=pass_all |
5796 |
|
;; |
5797 |
|
|
5872 |
|
fi |
5873 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
5874 |
|
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
5875 |
+ |
|
5876 |
+ |
file_magic_glob= |
5877 |
+ |
want_nocaseglob=no |
5878 |
+ |
if test "$build" = "$host"; then |
5879 |
+ |
case $host_os in |
5880 |
+ |
mingw* | pw32*) |
5881 |
+ |
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
5882 |
+ |
want_nocaseglob=yes |
5883 |
+ |
else |
5884 |
+ |
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
5885 |
+ |
fi |
5886 |
+ |
;; |
5887 |
+ |
esac |
5888 |
+ |
fi |
5889 |
+ |
|
5890 |
|
file_magic_cmd=$lt_cv_file_magic_cmd |
5891 |
|
deplibs_check_method=$lt_cv_deplibs_check_method |
5892 |
|
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
5902 |
|
|
5903 |
|
|
5904 |
|
|
5905 |
+ |
|
5906 |
+ |
|
5907 |
+ |
|
5908 |
+ |
|
5909 |
+ |
|
5910 |
+ |
|
5911 |
+ |
|
5912 |
+ |
|
5913 |
+ |
|
5914 |
+ |
|
5915 |
|
if test -n "$ac_tool_prefix"; then |
5916 |
< |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
5917 |
< |
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
5916 |
> |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
5917 |
> |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
5918 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5919 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
5920 |
> |
if ${ac_cv_prog_DLLTOOL+:} false; then : |
5921 |
> |
$as_echo_n "(cached) " >&6 |
5922 |
> |
else |
5923 |
> |
if test -n "$DLLTOOL"; then |
5924 |
> |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
5925 |
> |
else |
5926 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5927 |
> |
for as_dir in $PATH |
5928 |
> |
do |
5929 |
> |
IFS=$as_save_IFS |
5930 |
> |
test -z "$as_dir" && as_dir=. |
5931 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
5932 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5933 |
> |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
5934 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5935 |
> |
break 2 |
5936 |
> |
fi |
5937 |
> |
done |
5938 |
> |
done |
5939 |
> |
IFS=$as_save_IFS |
5940 |
> |
|
5941 |
> |
fi |
5942 |
> |
fi |
5943 |
> |
DLLTOOL=$ac_cv_prog_DLLTOOL |
5944 |
> |
if test -n "$DLLTOOL"; then |
5945 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
5946 |
> |
$as_echo "$DLLTOOL" >&6; } |
5947 |
> |
else |
5948 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5949 |
> |
$as_echo "no" >&6; } |
5950 |
> |
fi |
5951 |
> |
|
5952 |
> |
|
5953 |
> |
fi |
5954 |
> |
if test -z "$ac_cv_prog_DLLTOOL"; then |
5955 |
> |
ac_ct_DLLTOOL=$DLLTOOL |
5956 |
> |
# Extract the first word of "dlltool", so it can be a program name with args. |
5957 |
> |
set dummy dlltool; ac_word=$2 |
5958 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5959 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5960 |
< |
if test "${ac_cv_prog_AR+set}" = set; then : |
5960 |
> |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
5961 |
> |
$as_echo_n "(cached) " >&6 |
5962 |
> |
else |
5963 |
> |
if test -n "$ac_ct_DLLTOOL"; then |
5964 |
> |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
5965 |
> |
else |
5966 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5967 |
> |
for as_dir in $PATH |
5968 |
> |
do |
5969 |
> |
IFS=$as_save_IFS |
5970 |
> |
test -z "$as_dir" && as_dir=. |
5971 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
5972 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5973 |
> |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
5974 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5975 |
> |
break 2 |
5976 |
> |
fi |
5977 |
> |
done |
5978 |
> |
done |
5979 |
> |
IFS=$as_save_IFS |
5980 |
> |
|
5981 |
> |
fi |
5982 |
> |
fi |
5983 |
> |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
5984 |
> |
if test -n "$ac_ct_DLLTOOL"; then |
5985 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
5986 |
> |
$as_echo "$ac_ct_DLLTOOL" >&6; } |
5987 |
> |
else |
5988 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5989 |
> |
$as_echo "no" >&6; } |
5990 |
> |
fi |
5991 |
> |
|
5992 |
> |
if test "x$ac_ct_DLLTOOL" = x; then |
5993 |
> |
DLLTOOL="false" |
5994 |
> |
else |
5995 |
> |
case $cross_compiling:$ac_tool_warned in |
5996 |
> |
yes:) |
5997 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
5998 |
> |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
5999 |
> |
ac_tool_warned=yes ;; |
6000 |
> |
esac |
6001 |
> |
DLLTOOL=$ac_ct_DLLTOOL |
6002 |
> |
fi |
6003 |
> |
else |
6004 |
> |
DLLTOOL="$ac_cv_prog_DLLTOOL" |
6005 |
> |
fi |
6006 |
> |
|
6007 |
> |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
6008 |
> |
|
6009 |
> |
|
6010 |
> |
|
6011 |
> |
|
6012 |
> |
|
6013 |
> |
|
6014 |
> |
|
6015 |
> |
|
6016 |
> |
|
6017 |
> |
|
6018 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
6019 |
> |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
6020 |
> |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
6021 |
> |
$as_echo_n "(cached) " >&6 |
6022 |
> |
else |
6023 |
> |
lt_cv_sharedlib_from_linklib_cmd='unknown' |
6024 |
> |
|
6025 |
> |
case $host_os in |
6026 |
> |
cygwin* | mingw* | pw32* | cegcc*) |
6027 |
> |
# two different shell functions defined in ltmain.sh |
6028 |
> |
# decide which to use based on capabilities of $DLLTOOL |
6029 |
> |
case `$DLLTOOL --help 2>&1` in |
6030 |
> |
*--identify-strict*) |
6031 |
> |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
6032 |
> |
;; |
6033 |
> |
*) |
6034 |
> |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
6035 |
> |
;; |
6036 |
> |
esac |
6037 |
> |
;; |
6038 |
> |
*) |
6039 |
> |
# fallback: assume linklib IS sharedlib |
6040 |
> |
lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
6041 |
> |
;; |
6042 |
> |
esac |
6043 |
> |
|
6044 |
> |
fi |
6045 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
6046 |
> |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
6047 |
> |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
6048 |
> |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
6049 |
> |
|
6050 |
> |
|
6051 |
> |
|
6052 |
> |
|
6053 |
> |
|
6054 |
> |
|
6055 |
> |
|
6056 |
> |
if test -n "$ac_tool_prefix"; then |
6057 |
> |
for ac_prog in ar |
6058 |
> |
do |
6059 |
> |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
6060 |
> |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
6061 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6062 |
> |
$as_echo_n "checking for $ac_word... " >&6; } |
6063 |
> |
if ${ac_cv_prog_AR+:} false; then : |
6064 |
|
$as_echo_n "(cached) " >&6 |
6065 |
|
else |
6066 |
|
if test -n "$AR"; then |
6072 |
|
IFS=$as_save_IFS |
6073 |
|
test -z "$as_dir" && as_dir=. |
6074 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6075 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6076 |
< |
ac_cv_prog_AR="${ac_tool_prefix}ar" |
6075 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6076 |
> |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
6077 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6078 |
|
break 2 |
6079 |
|
fi |
6093 |
|
fi |
6094 |
|
|
6095 |
|
|
6096 |
+ |
test -n "$AR" && break |
6097 |
+ |
done |
6098 |
|
fi |
6099 |
< |
if test -z "$ac_cv_prog_AR"; then |
6099 |
> |
if test -z "$AR"; then |
6100 |
|
ac_ct_AR=$AR |
6101 |
< |
# Extract the first word of "ar", so it can be a program name with args. |
6102 |
< |
set dummy ar; ac_word=$2 |
6101 |
> |
for ac_prog in ar |
6102 |
> |
do |
6103 |
> |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
6104 |
> |
set dummy $ac_prog; ac_word=$2 |
6105 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6106 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6107 |
< |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : |
6107 |
> |
if ${ac_cv_prog_ac_ct_AR+:} false; then : |
6108 |
|
$as_echo_n "(cached) " >&6 |
6109 |
|
else |
6110 |
|
if test -n "$ac_ct_AR"; then |
6116 |
|
IFS=$as_save_IFS |
6117 |
|
test -z "$as_dir" && as_dir=. |
6118 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6119 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6120 |
< |
ac_cv_prog_ac_ct_AR="ar" |
6119 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6120 |
> |
ac_cv_prog_ac_ct_AR="$ac_prog" |
6121 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6122 |
|
break 2 |
6123 |
|
fi |
6136 |
|
$as_echo "no" >&6; } |
6137 |
|
fi |
6138 |
|
|
6139 |
+ |
|
6140 |
+ |
test -n "$ac_ct_AR" && break |
6141 |
+ |
done |
6142 |
+ |
|
6143 |
|
if test "x$ac_ct_AR" = x; then |
6144 |
|
AR="false" |
6145 |
|
else |
6151 |
|
esac |
6152 |
|
AR=$ac_ct_AR |
6153 |
|
fi |
5777 |
– |
else |
5778 |
– |
AR="$ac_cv_prog_AR" |
6154 |
|
fi |
6155 |
|
|
6156 |
< |
test -z "$AR" && AR=ar |
6157 |
< |
test -z "$AR_FLAGS" && AR_FLAGS=cru |
6156 |
> |
: ${AR=ar} |
6157 |
> |
: ${AR_FLAGS=cru} |
6158 |
> |
|
6159 |
|
|
6160 |
|
|
6161 |
|
|
6166 |
|
|
6167 |
|
|
6168 |
|
|
6169 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
6170 |
+ |
$as_echo_n "checking for archiver @FILE support... " >&6; } |
6171 |
+ |
if ${lt_cv_ar_at_file+:} false; then : |
6172 |
+ |
$as_echo_n "(cached) " >&6 |
6173 |
+ |
else |
6174 |
+ |
lt_cv_ar_at_file=no |
6175 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6176 |
+ |
/* end confdefs.h. */ |
6177 |
+ |
|
6178 |
+ |
int |
6179 |
+ |
main () |
6180 |
+ |
{ |
6181 |
+ |
|
6182 |
+ |
; |
6183 |
+ |
return 0; |
6184 |
+ |
} |
6185 |
+ |
_ACEOF |
6186 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
6187 |
+ |
echo conftest.$ac_objext > conftest.lst |
6188 |
+ |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
6189 |
+ |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
6190 |
+ |
(eval $lt_ar_try) 2>&5 |
6191 |
+ |
ac_status=$? |
6192 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6193 |
+ |
test $ac_status = 0; } |
6194 |
+ |
if test "$ac_status" -eq 0; then |
6195 |
+ |
# Ensure the archiver fails upon bogus file names. |
6196 |
+ |
rm -f conftest.$ac_objext libconftest.a |
6197 |
+ |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
6198 |
+ |
(eval $lt_ar_try) 2>&5 |
6199 |
+ |
ac_status=$? |
6200 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6201 |
+ |
test $ac_status = 0; } |
6202 |
+ |
if test "$ac_status" -ne 0; then |
6203 |
+ |
lt_cv_ar_at_file=@ |
6204 |
+ |
fi |
6205 |
+ |
fi |
6206 |
+ |
rm -f conftest.* libconftest.a |
6207 |
+ |
|
6208 |
+ |
fi |
6209 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6210 |
+ |
|
6211 |
+ |
fi |
6212 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
6213 |
+ |
$as_echo "$lt_cv_ar_at_file" >&6; } |
6214 |
+ |
|
6215 |
+ |
if test "x$lt_cv_ar_at_file" = xno; then |
6216 |
+ |
archiver_list_spec= |
6217 |
+ |
else |
6218 |
+ |
archiver_list_spec=$lt_cv_ar_at_file |
6219 |
+ |
fi |
6220 |
+ |
|
6221 |
+ |
|
6222 |
+ |
|
6223 |
+ |
|
6224 |
+ |
|
6225 |
+ |
|
6226 |
|
|
6227 |
|
if test -n "$ac_tool_prefix"; then |
6228 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
6229 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
6230 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6231 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6232 |
< |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
6232 |
> |
if ${ac_cv_prog_STRIP+:} false; then : |
6233 |
|
$as_echo_n "(cached) " >&6 |
6234 |
|
else |
6235 |
|
if test -n "$STRIP"; then |
6241 |
|
IFS=$as_save_IFS |
6242 |
|
test -z "$as_dir" && as_dir=. |
6243 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6244 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6244 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6245 |
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
6246 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6247 |
|
break 2 |
6269 |
|
set dummy strip; ac_word=$2 |
6270 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6271 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6272 |
< |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
6272 |
> |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
6273 |
|
$as_echo_n "(cached) " >&6 |
6274 |
|
else |
6275 |
|
if test -n "$ac_ct_STRIP"; then |
6281 |
|
IFS=$as_save_IFS |
6282 |
|
test -z "$as_dir" && as_dir=. |
6283 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6284 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6284 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6285 |
|
ac_cv_prog_ac_ct_STRIP="strip" |
6286 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6287 |
|
break 2 |
6328 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
6329 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6330 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6331 |
< |
if test "${ac_cv_prog_RANLIB+set}" = set; then : |
6331 |
> |
if ${ac_cv_prog_RANLIB+:} false; then : |
6332 |
|
$as_echo_n "(cached) " >&6 |
6333 |
|
else |
6334 |
|
if test -n "$RANLIB"; then |
6340 |
|
IFS=$as_save_IFS |
6341 |
|
test -z "$as_dir" && as_dir=. |
6342 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6343 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6343 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6344 |
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
6345 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6346 |
|
break 2 |
6368 |
|
set dummy ranlib; ac_word=$2 |
6369 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6370 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6371 |
< |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
6371 |
> |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
6372 |
|
$as_echo_n "(cached) " >&6 |
6373 |
|
else |
6374 |
|
if test -n "$ac_ct_RANLIB"; then |
6380 |
|
IFS=$as_save_IFS |
6381 |
|
test -z "$as_dir" && as_dir=. |
6382 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6383 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6383 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6384 |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
6385 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6386 |
|
break 2 |
6430 |
|
if test -n "$RANLIB"; then |
6431 |
|
case $host_os in |
6432 |
|
openbsd*) |
6433 |
< |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
6433 |
> |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
6434 |
|
;; |
6435 |
|
*) |
6436 |
< |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
6436 |
> |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
6437 |
|
;; |
6438 |
|
esac |
6439 |
< |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
6439 |
> |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
6440 |
|
fi |
6441 |
|
|
6442 |
+ |
case $host_os in |
6443 |
+ |
darwin*) |
6444 |
+ |
lock_old_archive_extraction=yes ;; |
6445 |
+ |
*) |
6446 |
+ |
lock_old_archive_extraction=no ;; |
6447 |
+ |
esac |
6448 |
+ |
|
6449 |
+ |
|
6450 |
+ |
|
6451 |
+ |
|
6452 |
+ |
|
6453 |
+ |
|
6454 |
|
|
6455 |
|
|
6456 |
|
|
6497 |
|
# Check for command to grab the raw symbol name followed by C symbol from nm. |
6498 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
6499 |
|
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
6500 |
< |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : |
6500 |
> |
if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
6501 |
|
$as_echo_n "(cached) " >&6 |
6502 |
|
else |
6503 |
|
|
6558 |
|
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
6559 |
|
|
6560 |
|
# Transform an extracted symbol line into symbol name and symbol address |
6561 |
< |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
6562 |
< |
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'" |
6561 |
> |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
6562 |
> |
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'" |
6563 |
|
|
6564 |
|
# Handle CRLF in mingw tool chain |
6565 |
|
opt_cr= |
6583 |
|
# which start with @ or ?. |
6584 |
|
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
6585 |
|
" {last_section=section; section=\$ 3};"\ |
6586 |
+ |
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
6587 |
|
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
6588 |
|
" \$ 0!~/External *\|/{next};"\ |
6589 |
|
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
6596 |
|
else |
6597 |
|
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
6598 |
|
fi |
6599 |
+ |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
6600 |
|
|
6601 |
|
# Check to see that the pipe works correctly. |
6602 |
|
pipe_works=no |
6622 |
|
test $ac_status = 0; }; then |
6623 |
|
# Now try to grab the symbols. |
6624 |
|
nlist=conftest.nm |
6625 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 |
6626 |
< |
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 |
6625 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
6626 |
> |
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
6627 |
|
ac_status=$? |
6628 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6629 |
|
test $ac_status = 0; } && test -s "$nlist"; then |
6638 |
|
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
6639 |
|
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
6640 |
|
cat <<_LT_EOF > conftest.$ac_ext |
6641 |
+ |
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
6642 |
+ |
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
6643 |
+ |
/* DATA imports from DLLs on WIN32 con't be const, because runtime |
6644 |
+ |
relocations are performed -- see ld's documentation on pseudo-relocs. */ |
6645 |
+ |
# define LT_DLSYM_CONST |
6646 |
+ |
#elif defined(__osf__) |
6647 |
+ |
/* This system does not cope well with relocations in const data. */ |
6648 |
+ |
# define LT_DLSYM_CONST |
6649 |
+ |
#else |
6650 |
+ |
# define LT_DLSYM_CONST const |
6651 |
+ |
#endif |
6652 |
+ |
|
6653 |
|
#ifdef __cplusplus |
6654 |
|
extern "C" { |
6655 |
|
#endif |
6661 |
|
cat <<_LT_EOF >> conftest.$ac_ext |
6662 |
|
|
6663 |
|
/* The mapping between symbol names and symbols. */ |
6664 |
< |
const struct { |
6664 |
> |
LT_DLSYM_CONST struct { |
6665 |
|
const char *name; |
6666 |
|
void *address; |
6667 |
|
} |
6687 |
|
_LT_EOF |
6688 |
|
# Now try linking the two files. |
6689 |
|
mv conftest.$ac_objext conftstm.$ac_objext |
6690 |
< |
lt_save_LIBS="$LIBS" |
6691 |
< |
lt_save_CFLAGS="$CFLAGS" |
6690 |
> |
lt_globsym_save_LIBS=$LIBS |
6691 |
> |
lt_globsym_save_CFLAGS=$CFLAGS |
6692 |
|
LIBS="conftstm.$ac_objext" |
6693 |
|
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
6694 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
6698 |
|
test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
6699 |
|
pipe_works=yes |
6700 |
|
fi |
6701 |
< |
LIBS="$lt_save_LIBS" |
6702 |
< |
CFLAGS="$lt_save_CFLAGS" |
6701 |
> |
LIBS=$lt_globsym_save_LIBS |
6702 |
> |
CFLAGS=$lt_globsym_save_CFLAGS |
6703 |
|
else |
6704 |
|
echo "cannot find nm_test_func in $nlist" >&5 |
6705 |
|
fi |
6736 |
|
$as_echo "ok" >&6; } |
6737 |
|
fi |
6738 |
|
|
6739 |
+ |
# Response file support. |
6740 |
+ |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
6741 |
+ |
nm_file_list_spec='@' |
6742 |
+ |
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
6743 |
+ |
nm_file_list_spec='@' |
6744 |
+ |
fi |
6745 |
+ |
|
6746 |
+ |
|
6747 |
|
|
6748 |
|
|
6749 |
|
|
6765 |
|
|
6766 |
|
|
6767 |
|
|
6768 |
+ |
|
6769 |
+ |
|
6770 |
+ |
|
6771 |
+ |
|
6772 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
6773 |
+ |
$as_echo_n "checking for sysroot... " >&6; } |
6774 |
+ |
|
6775 |
+ |
# Check whether --with-sysroot was given. |
6776 |
+ |
if test "${with_sysroot+set}" = set; then : |
6777 |
+ |
withval=$with_sysroot; |
6778 |
+ |
else |
6779 |
+ |
with_sysroot=no |
6780 |
+ |
fi |
6781 |
+ |
|
6782 |
+ |
|
6783 |
+ |
lt_sysroot= |
6784 |
+ |
case ${with_sysroot} in #( |
6785 |
+ |
yes) |
6786 |
+ |
if test "$GCC" = yes; then |
6787 |
+ |
lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
6788 |
+ |
fi |
6789 |
+ |
;; #( |
6790 |
+ |
/*) |
6791 |
+ |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
6792 |
+ |
;; #( |
6793 |
+ |
no|'') |
6794 |
+ |
;; #( |
6795 |
+ |
*) |
6796 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 |
6797 |
+ |
$as_echo "${with_sysroot}" >&6; } |
6798 |
+ |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
6799 |
+ |
;; |
6800 |
+ |
esac |
6801 |
+ |
|
6802 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
6803 |
+ |
$as_echo "${lt_sysroot:-no}" >&6; } |
6804 |
+ |
|
6805 |
+ |
|
6806 |
+ |
|
6807 |
+ |
|
6808 |
+ |
|
6809 |
|
# Check whether --enable-libtool-lock was given. |
6810 |
|
if test "${enable_libtool_lock+set}" = set; then : |
6811 |
|
enableval=$enable_libtool_lock; |
6837 |
|
;; |
6838 |
|
*-*-irix6*) |
6839 |
|
# Find out which ABI we are using. |
6840 |
< |
echo '#line 6332 "configure"' > conftest.$ac_ext |
6840 |
> |
echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
6841 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6842 |
|
(eval $ac_compile) 2>&5 |
6843 |
|
ac_status=$? |
6931 |
|
CFLAGS="$CFLAGS -belf" |
6932 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
6933 |
|
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
6934 |
< |
if test "${lt_cv_cc_needs_belf+set}" = set; then : |
6934 |
> |
if ${lt_cv_cc_needs_belf+:} false; then : |
6935 |
|
$as_echo_n "(cached) " >&6 |
6936 |
|
else |
6937 |
|
ac_ext=c |
6972 |
|
CFLAGS="$SAVE_CFLAGS" |
6973 |
|
fi |
6974 |
|
;; |
6975 |
< |
sparc*-*solaris*) |
6975 |
> |
*-*solaris*) |
6976 |
|
# Find out which ABI we are using. |
6977 |
|
echo 'int i;' > conftest.$ac_ext |
6978 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6983 |
|
case `/usr/bin/file conftest.o` in |
6984 |
|
*64-bit*) |
6985 |
|
case $lt_cv_prog_gnu_ld in |
6986 |
< |
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
6986 |
> |
yes*) |
6987 |
> |
case $host in |
6988 |
> |
i?86-*-solaris*) |
6989 |
> |
LD="${LD-ld} -m elf_x86_64" |
6990 |
> |
;; |
6991 |
> |
sparc*-*-solaris*) |
6992 |
> |
LD="${LD-ld} -m elf64_sparc" |
6993 |
> |
;; |
6994 |
> |
esac |
6995 |
> |
# GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
6996 |
> |
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
6997 |
> |
LD="${LD-ld}_sol2" |
6998 |
> |
fi |
6999 |
> |
;; |
7000 |
|
*) |
7001 |
|
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
7002 |
|
LD="${LD-ld} -64" |
7012 |
|
|
7013 |
|
need_locks="$enable_libtool_lock" |
7014 |
|
|
7015 |
+ |
if test -n "$ac_tool_prefix"; then |
7016 |
+ |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
7017 |
+ |
set dummy ${ac_tool_prefix}mt; ac_word=$2 |
7018 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7019 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
7020 |
+ |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
7021 |
+ |
$as_echo_n "(cached) " >&6 |
7022 |
+ |
else |
7023 |
+ |
if test -n "$MANIFEST_TOOL"; then |
7024 |
+ |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
7025 |
+ |
else |
7026 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7027 |
+ |
for as_dir in $PATH |
7028 |
+ |
do |
7029 |
+ |
IFS=$as_save_IFS |
7030 |
+ |
test -z "$as_dir" && as_dir=. |
7031 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
7032 |
+ |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7033 |
+ |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
7034 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7035 |
+ |
break 2 |
7036 |
+ |
fi |
7037 |
+ |
done |
7038 |
+ |
done |
7039 |
+ |
IFS=$as_save_IFS |
7040 |
+ |
|
7041 |
+ |
fi |
7042 |
+ |
fi |
7043 |
+ |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
7044 |
+ |
if test -n "$MANIFEST_TOOL"; then |
7045 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
7046 |
+ |
$as_echo "$MANIFEST_TOOL" >&6; } |
7047 |
+ |
else |
7048 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7049 |
+ |
$as_echo "no" >&6; } |
7050 |
+ |
fi |
7051 |
+ |
|
7052 |
+ |
|
7053 |
+ |
fi |
7054 |
+ |
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
7055 |
+ |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
7056 |
+ |
# Extract the first word of "mt", so it can be a program name with args. |
7057 |
+ |
set dummy mt; ac_word=$2 |
7058 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7059 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
7060 |
+ |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
7061 |
+ |
$as_echo_n "(cached) " >&6 |
7062 |
+ |
else |
7063 |
+ |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
7064 |
+ |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
7065 |
+ |
else |
7066 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7067 |
+ |
for as_dir in $PATH |
7068 |
+ |
do |
7069 |
+ |
IFS=$as_save_IFS |
7070 |
+ |
test -z "$as_dir" && as_dir=. |
7071 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
7072 |
+ |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7073 |
+ |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
7074 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7075 |
+ |
break 2 |
7076 |
+ |
fi |
7077 |
+ |
done |
7078 |
+ |
done |
7079 |
+ |
IFS=$as_save_IFS |
7080 |
+ |
|
7081 |
+ |
fi |
7082 |
+ |
fi |
7083 |
+ |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
7084 |
+ |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
7085 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
7086 |
+ |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
7087 |
+ |
else |
7088 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7089 |
+ |
$as_echo "no" >&6; } |
7090 |
+ |
fi |
7091 |
+ |
|
7092 |
+ |
if test "x$ac_ct_MANIFEST_TOOL" = x; then |
7093 |
+ |
MANIFEST_TOOL=":" |
7094 |
+ |
else |
7095 |
+ |
case $cross_compiling:$ac_tool_warned in |
7096 |
+ |
yes:) |
7097 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
7098 |
+ |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
7099 |
+ |
ac_tool_warned=yes ;; |
7100 |
+ |
esac |
7101 |
+ |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
7102 |
+ |
fi |
7103 |
+ |
else |
7104 |
+ |
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
7105 |
+ |
fi |
7106 |
+ |
|
7107 |
+ |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
7108 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
7109 |
+ |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
7110 |
+ |
if ${lt_cv_path_mainfest_tool+:} false; then : |
7111 |
+ |
$as_echo_n "(cached) " >&6 |
7112 |
+ |
else |
7113 |
+ |
lt_cv_path_mainfest_tool=no |
7114 |
+ |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
7115 |
+ |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
7116 |
+ |
cat conftest.err >&5 |
7117 |
+ |
if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
7118 |
+ |
lt_cv_path_mainfest_tool=yes |
7119 |
+ |
fi |
7120 |
+ |
rm -f conftest* |
7121 |
+ |
fi |
7122 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
7123 |
+ |
$as_echo "$lt_cv_path_mainfest_tool" >&6; } |
7124 |
+ |
if test "x$lt_cv_path_mainfest_tool" != xyes; then |
7125 |
+ |
MANIFEST_TOOL=: |
7126 |
+ |
fi |
7127 |
+ |
|
7128 |
+ |
|
7129 |
+ |
|
7130 |
+ |
|
7131 |
+ |
|
7132 |
|
|
7133 |
|
case $host_os in |
7134 |
|
rhapsody* | darwin*) |
7137 |
|
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
7138 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7139 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7140 |
< |
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : |
7140 |
> |
if ${ac_cv_prog_DSYMUTIL+:} false; then : |
7141 |
|
$as_echo_n "(cached) " >&6 |
7142 |
|
else |
7143 |
|
if test -n "$DSYMUTIL"; then |
7149 |
|
IFS=$as_save_IFS |
7150 |
|
test -z "$as_dir" && as_dir=. |
7151 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7152 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7152 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7153 |
|
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
7154 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7155 |
|
break 2 |
7177 |
|
set dummy dsymutil; ac_word=$2 |
7178 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7179 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7180 |
< |
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : |
7180 |
> |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
7181 |
|
$as_echo_n "(cached) " >&6 |
7182 |
|
else |
7183 |
|
if test -n "$ac_ct_DSYMUTIL"; then |
7189 |
|
IFS=$as_save_IFS |
7190 |
|
test -z "$as_dir" && as_dir=. |
7191 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7192 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7192 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7193 |
|
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
7194 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7195 |
|
break 2 |
7229 |
|
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
7230 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7231 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7232 |
< |
if test "${ac_cv_prog_NMEDIT+set}" = set; then : |
7232 |
> |
if ${ac_cv_prog_NMEDIT+:} false; then : |
7233 |
|
$as_echo_n "(cached) " >&6 |
7234 |
|
else |
7235 |
|
if test -n "$NMEDIT"; then |
7241 |
|
IFS=$as_save_IFS |
7242 |
|
test -z "$as_dir" && as_dir=. |
7243 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7244 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7244 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7245 |
|
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
7246 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7247 |
|
break 2 |
7269 |
|
set dummy nmedit; ac_word=$2 |
7270 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7271 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7272 |
< |
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : |
7272 |
> |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
7273 |
|
$as_echo_n "(cached) " >&6 |
7274 |
|
else |
7275 |
|
if test -n "$ac_ct_NMEDIT"; then |
7281 |
|
IFS=$as_save_IFS |
7282 |
|
test -z "$as_dir" && as_dir=. |
7283 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7284 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7284 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7285 |
|
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
7286 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7287 |
|
break 2 |
7321 |
|
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
7322 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7323 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7324 |
< |
if test "${ac_cv_prog_LIPO+set}" = set; then : |
7324 |
> |
if ${ac_cv_prog_LIPO+:} false; then : |
7325 |
|
$as_echo_n "(cached) " >&6 |
7326 |
|
else |
7327 |
|
if test -n "$LIPO"; then |
7333 |
|
IFS=$as_save_IFS |
7334 |
|
test -z "$as_dir" && as_dir=. |
7335 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7336 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7336 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7337 |
|
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
7338 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7339 |
|
break 2 |
7361 |
|
set dummy lipo; ac_word=$2 |
7362 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7363 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7364 |
< |
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : |
7364 |
> |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
7365 |
|
$as_echo_n "(cached) " >&6 |
7366 |
|
else |
7367 |
|
if test -n "$ac_ct_LIPO"; then |
7373 |
|
IFS=$as_save_IFS |
7374 |
|
test -z "$as_dir" && as_dir=. |
7375 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7376 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7376 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7377 |
|
ac_cv_prog_ac_ct_LIPO="lipo" |
7378 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7379 |
|
break 2 |
7413 |
|
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
7414 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7415 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7416 |
< |
if test "${ac_cv_prog_OTOOL+set}" = set; then : |
7416 |
> |
if ${ac_cv_prog_OTOOL+:} false; then : |
7417 |
|
$as_echo_n "(cached) " >&6 |
7418 |
|
else |
7419 |
|
if test -n "$OTOOL"; then |
7425 |
|
IFS=$as_save_IFS |
7426 |
|
test -z "$as_dir" && as_dir=. |
7427 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7428 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7428 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7429 |
|
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
7430 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7431 |
|
break 2 |
7453 |
|
set dummy otool; ac_word=$2 |
7454 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7455 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7456 |
< |
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : |
7456 |
> |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
7457 |
|
$as_echo_n "(cached) " >&6 |
7458 |
|
else |
7459 |
|
if test -n "$ac_ct_OTOOL"; then |
7465 |
|
IFS=$as_save_IFS |
7466 |
|
test -z "$as_dir" && as_dir=. |
7467 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7468 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7468 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7469 |
|
ac_cv_prog_ac_ct_OTOOL="otool" |
7470 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7471 |
|
break 2 |
7505 |
|
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
7506 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7507 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7508 |
< |
if test "${ac_cv_prog_OTOOL64+set}" = set; then : |
7508 |
> |
if ${ac_cv_prog_OTOOL64+:} false; then : |
7509 |
|
$as_echo_n "(cached) " >&6 |
7510 |
|
else |
7511 |
|
if test -n "$OTOOL64"; then |
7517 |
|
IFS=$as_save_IFS |
7518 |
|
test -z "$as_dir" && as_dir=. |
7519 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7520 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7520 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7521 |
|
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
7522 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7523 |
|
break 2 |
7545 |
|
set dummy otool64; ac_word=$2 |
7546 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7547 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7548 |
< |
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : |
7548 |
> |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
7549 |
|
$as_echo_n "(cached) " >&6 |
7550 |
|
else |
7551 |
|
if test -n "$ac_ct_OTOOL64"; then |
7557 |
|
IFS=$as_save_IFS |
7558 |
|
test -z "$as_dir" && as_dir=. |
7559 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
7560 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7560 |
> |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7561 |
|
ac_cv_prog_ac_ct_OTOOL64="otool64" |
7562 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7563 |
|
break 2 |
7620 |
|
|
7621 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
7622 |
|
$as_echo_n "checking for -single_module linker flag... " >&6; } |
7623 |
< |
if test "${lt_cv_apple_cc_single_mod+set}" = set; then : |
7623 |
> |
if ${lt_cv_apple_cc_single_mod+:} false; then : |
7624 |
|
$as_echo_n "(cached) " >&6 |
7625 |
|
else |
7626 |
|
lt_cv_apple_cc_single_mod=no |
7636 |
|
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
7637 |
|
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
7638 |
|
_lt_result=$? |
7639 |
< |
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
7639 |
> |
# If there is a non-empty error log, and "single_module" |
7640 |
> |
# appears in it, assume the flag caused a linker warning |
7641 |
> |
if test -s conftest.err && $GREP single_module conftest.err; then |
7642 |
> |
cat conftest.err >&5 |
7643 |
> |
# Otherwise, if the output was created with a 0 exit code from |
7644 |
> |
# the compiler, it worked. |
7645 |
> |
elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
7646 |
|
lt_cv_apple_cc_single_mod=yes |
7647 |
|
else |
7648 |
|
cat conftest.err >&5 |
7653 |
|
fi |
7654 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
7655 |
|
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
7656 |
+ |
|
7657 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
7658 |
|
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
7659 |
< |
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : |
7659 |
> |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
7660 |
|
$as_echo_n "(cached) " >&6 |
7661 |
|
else |
7662 |
|
lt_cv_ld_exported_symbols_list=no |
7686 |
|
fi |
7687 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
7688 |
|
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
7689 |
+ |
|
7690 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
7691 |
+ |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
7692 |
+ |
if ${lt_cv_ld_force_load+:} false; then : |
7693 |
+ |
$as_echo_n "(cached) " >&6 |
7694 |
+ |
else |
7695 |
+ |
lt_cv_ld_force_load=no |
7696 |
+ |
cat > conftest.c << _LT_EOF |
7697 |
+ |
int forced_loaded() { return 2;} |
7698 |
+ |
_LT_EOF |
7699 |
+ |
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
7700 |
+ |
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
7701 |
+ |
echo "$AR cru libconftest.a conftest.o" >&5 |
7702 |
+ |
$AR cru libconftest.a conftest.o 2>&5 |
7703 |
+ |
echo "$RANLIB libconftest.a" >&5 |
7704 |
+ |
$RANLIB libconftest.a 2>&5 |
7705 |
+ |
cat > conftest.c << _LT_EOF |
7706 |
+ |
int main() { return 0;} |
7707 |
+ |
_LT_EOF |
7708 |
+ |
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
7709 |
+ |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
7710 |
+ |
_lt_result=$? |
7711 |
+ |
if test -s conftest.err && $GREP force_load conftest.err; then |
7712 |
+ |
cat conftest.err >&5 |
7713 |
+ |
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then |
7714 |
+ |
lt_cv_ld_force_load=yes |
7715 |
+ |
else |
7716 |
+ |
cat conftest.err >&5 |
7717 |
+ |
fi |
7718 |
+ |
rm -f conftest.err libconftest.a conftest conftest.c |
7719 |
+ |
rm -rf conftest.dSYM |
7720 |
+ |
|
7721 |
+ |
fi |
7722 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
7723 |
+ |
$as_echo "$lt_cv_ld_force_load" >&6; } |
7724 |
|
case $host_os in |
7725 |
|
rhapsody* | darwin1.[012]) |
7726 |
|
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
7748 |
|
else |
7749 |
|
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
7750 |
|
fi |
7751 |
< |
if test "$DSYMUTIL" != ":"; then |
7751 |
> |
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then |
7752 |
|
_lt_dsymutil='~$DSYMUTIL $lib || :' |
7753 |
|
else |
7754 |
|
_lt_dsymutil= |
7768 |
|
CPP= |
7769 |
|
fi |
7770 |
|
if test -z "$CPP"; then |
7771 |
< |
if test "${ac_cv_prog_CPP+set}" = set; then : |
7771 |
> |
if ${ac_cv_prog_CPP+:} false; then : |
7772 |
|
$as_echo_n "(cached) " >&6 |
7773 |
|
else |
7774 |
|
# Double quotes because CPP needs to be expanded |
7798 |
|
# Broken: fails on valid input. |
7799 |
|
continue |
7800 |
|
fi |
7801 |
< |
rm -f conftest.err conftest.$ac_ext |
7801 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
7802 |
|
|
7803 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
7804 |
|
# can be detected and how. |
7814 |
|
ac_preproc_ok=: |
7815 |
|
break |
7816 |
|
fi |
7817 |
< |
rm -f conftest.err conftest.$ac_ext |
7817 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
7818 |
|
|
7819 |
|
done |
7820 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
7821 |
< |
rm -f conftest.err conftest.$ac_ext |
7821 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
7822 |
|
if $ac_preproc_ok; then : |
7823 |
|
break |
7824 |
|
fi |
7857 |
|
# Broken: fails on valid input. |
7858 |
|
continue |
7859 |
|
fi |
7860 |
< |
rm -f conftest.err conftest.$ac_ext |
7860 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
7861 |
|
|
7862 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
7863 |
|
# can be detected and how. |
7873 |
|
ac_preproc_ok=: |
7874 |
|
break |
7875 |
|
fi |
7876 |
< |
rm -f conftest.err conftest.$ac_ext |
7876 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
7877 |
|
|
7878 |
|
done |
7879 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
7880 |
< |
rm -f conftest.err conftest.$ac_ext |
7880 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
7881 |
|
if $ac_preproc_ok; then : |
7882 |
|
|
7883 |
|
else |
7884 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
7885 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
7886 |
< |
as_fn_error "C preprocessor \"$CPP\" fails sanity check |
7887 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
7886 |
> |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
7887 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
7888 |
|
fi |
7889 |
|
|
7890 |
|
ac_ext=c |
7896 |
|
|
7897 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
7898 |
|
$as_echo_n "checking for ANSI C header files... " >&6; } |
7899 |
< |
if test "${ac_cv_header_stdc+set}" = set; then : |
7899 |
> |
if ${ac_cv_header_stdc+:} false; then : |
7900 |
|
$as_echo_n "(cached) " >&6 |
7901 |
|
else |
7902 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8013 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8014 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
8015 |
|
" |
8016 |
< |
eval as_val=\$$as_ac_Header |
7337 |
< |
if test "x$as_val" = x""yes; then : |
8016 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
8017 |
|
cat >>confdefs.h <<_ACEOF |
8018 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8019 |
|
_ACEOF |
8027 |
|
do : |
8028 |
|
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
8029 |
|
" |
8030 |
< |
if test "x$ac_cv_header_dlfcn_h" = x""yes; then : |
8030 |
> |
if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
8031 |
|
cat >>confdefs.h <<_ACEOF |
8032 |
|
#define HAVE_DLFCN_H 1 |
8033 |
|
_ACEOF |
8038 |
|
|
8039 |
|
|
8040 |
|
|
8041 |
+ |
|
8042 |
+ |
|
8043 |
|
# Set options |
8044 |
|
enable_dlopen=yes |
8045 |
|
# Check whether --enable-static was given. |
8113 |
|
|
8114 |
|
# Check whether --with-pic was given. |
8115 |
|
if test "${with_pic+set}" = set; then : |
8116 |
< |
withval=$with_pic; pic_mode="$withval" |
8116 |
> |
withval=$with_pic; lt_p=${PACKAGE-default} |
8117 |
> |
case $withval in |
8118 |
> |
yes|no) pic_mode=$withval ;; |
8119 |
> |
*) |
8120 |
> |
pic_mode=default |
8121 |
> |
# Look at the argument we got. We use all the common list separators. |
8122 |
> |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
8123 |
> |
for lt_pkg in $withval; do |
8124 |
> |
IFS="$lt_save_ifs" |
8125 |
> |
if test "X$lt_pkg" = "X$lt_p"; then |
8126 |
> |
pic_mode=yes |
8127 |
> |
fi |
8128 |
> |
done |
8129 |
> |
IFS="$lt_save_ifs" |
8130 |
> |
;; |
8131 |
> |
esac |
8132 |
|
else |
8133 |
|
pic_mode=default |
8134 |
|
fi |
8205 |
|
|
8206 |
|
|
8207 |
|
|
8208 |
+ |
|
8209 |
+ |
|
8210 |
+ |
|
8211 |
+ |
|
8212 |
+ |
|
8213 |
|
test -z "$LN_S" && LN_S="ln -s" |
8214 |
|
|
8215 |
|
|
8231 |
|
|
8232 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
8233 |
|
$as_echo_n "checking for objdir... " >&6; } |
8234 |
< |
if test "${lt_cv_objdir+set}" = set; then : |
8234 |
> |
if ${lt_cv_objdir+:} false; then : |
8235 |
|
$as_echo_n "(cached) " >&6 |
8236 |
|
else |
8237 |
|
rm -f .libs 2>/dev/null |
8259 |
|
|
8260 |
|
|
8261 |
|
|
7561 |
– |
|
7562 |
– |
|
7563 |
– |
|
7564 |
– |
|
7565 |
– |
|
7566 |
– |
|
7567 |
– |
|
7568 |
– |
|
7569 |
– |
|
7570 |
– |
|
7571 |
– |
|
7572 |
– |
|
7573 |
– |
|
8262 |
|
case $host_os in |
8263 |
|
aix3*) |
8264 |
|
# AIX sometimes has problems with the GCC collect2 program. For some |
8271 |
|
;; |
8272 |
|
esac |
8273 |
|
|
7586 |
– |
# Sed substitution that helps us do robust quoting. It backslashifies |
7587 |
– |
# metacharacters that are still active within double-quoted strings. |
7588 |
– |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
7589 |
– |
|
7590 |
– |
# Same as above, but do not quote variable references. |
7591 |
– |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
7592 |
– |
|
7593 |
– |
# Sed substitution to delay expansion of an escaped shell variable in a |
7594 |
– |
# double_quote_subst'ed string. |
7595 |
– |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
7596 |
– |
|
7597 |
– |
# Sed substitution to delay expansion of an escaped single quote. |
7598 |
– |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
7599 |
– |
|
7600 |
– |
# Sed substitution to avoid accidental globbing in evaled expressions |
7601 |
– |
no_glob_subst='s/\*/\\\*/g' |
7602 |
– |
|
8274 |
|
# Global variables: |
8275 |
|
ofile=libtool |
8276 |
|
can_build_shared=yes |
8299 |
|
*) break;; |
8300 |
|
esac |
8301 |
|
done |
8302 |
< |
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
8302 |
> |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
8303 |
|
|
8304 |
|
|
8305 |
|
# Only perform the check for file, if the check method requires it |
8309 |
|
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
8310 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
8311 |
|
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
8312 |
< |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : |
8312 |
> |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
8313 |
|
$as_echo_n "(cached) " >&6 |
8314 |
|
else |
8315 |
|
case $MAGIC_CMD in |
8375 |
|
if test -n "$ac_tool_prefix"; then |
8376 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
8377 |
|
$as_echo_n "checking for file... " >&6; } |
8378 |
< |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : |
8378 |
> |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
8379 |
|
$as_echo_n "(cached) " >&6 |
8380 |
|
else |
8381 |
|
case $MAGIC_CMD in |
8499 |
|
$RM -r conftest* |
8500 |
|
|
8501 |
|
|
8502 |
+ |
## CAVEAT EMPTOR: |
8503 |
+ |
## There is no encapsulation within the following macros, do not change |
8504 |
+ |
## the running order or otherwise move them around unless you know exactly |
8505 |
+ |
## what you are doing... |
8506 |
|
if test -n "$compiler"; then |
8507 |
|
|
8508 |
|
lt_prog_compiler_no_builtin_flag= |
8509 |
|
|
8510 |
|
if test "$GCC" = yes; then |
8511 |
< |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
8511 |
> |
case $cc_basename in |
8512 |
> |
nvcc*) |
8513 |
> |
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
8514 |
> |
*) |
8515 |
> |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
8516 |
> |
esac |
8517 |
|
|
8518 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
8519 |
|
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
8520 |
< |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : |
8520 |
> |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
8521 |
|
$as_echo_n "(cached) " >&6 |
8522 |
|
else |
8523 |
|
lt_cv_prog_compiler_rtti_exceptions=no |
8533 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8534 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8535 |
|
-e 's:$: $lt_compiler_flag:'` |
8536 |
< |
(eval echo "\"\$as_me:7856: $lt_compile\"" >&5) |
8536 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
8537 |
|
(eval "$lt_compile" 2>conftest.err) |
8538 |
|
ac_status=$? |
8539 |
|
cat conftest.err >&5 |
8540 |
< |
echo "$as_me:7860: \$? = $ac_status" >&5 |
8540 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8541 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
8542 |
|
# The compiler can only warn and ignore the option if not recognized |
8543 |
|
# So say no if there are warnings other than the usual output. |
8544 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
8544 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
8545 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8546 |
|
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
8547 |
|
lt_cv_prog_compiler_rtti_exceptions=yes |
8570 |
|
lt_prog_compiler_pic= |
8571 |
|
lt_prog_compiler_static= |
8572 |
|
|
7893 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
7894 |
– |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
8573 |
|
|
8574 |
|
if test "$GCC" = yes; then |
8575 |
|
lt_prog_compiler_wl='-Wl,' |
8617 |
|
lt_prog_compiler_pic='-fno-common' |
8618 |
|
;; |
8619 |
|
|
8620 |
+ |
haiku*) |
8621 |
+ |
# PIC is the default for Haiku. |
8622 |
+ |
# The "-static" flag exists, but is broken. |
8623 |
+ |
lt_prog_compiler_static= |
8624 |
+ |
;; |
8625 |
+ |
|
8626 |
|
hpux*) |
8627 |
|
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
8628 |
|
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
8665 |
|
lt_prog_compiler_pic='-fPIC' |
8666 |
|
;; |
8667 |
|
esac |
8668 |
+ |
|
8669 |
+ |
case $cc_basename in |
8670 |
+ |
nvcc*) # Cuda Compiler Driver 2.2 |
8671 |
+ |
lt_prog_compiler_wl='-Xlinker ' |
8672 |
+ |
if test -n "$lt_prog_compiler_pic"; then |
8673 |
+ |
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
8674 |
+ |
fi |
8675 |
+ |
;; |
8676 |
+ |
esac |
8677 |
|
else |
8678 |
|
# PORTME Check for flag to pass linker flags through the system compiler. |
8679 |
|
case $host_os in |
8715 |
|
lt_prog_compiler_static='-non_shared' |
8716 |
|
;; |
8717 |
|
|
8718 |
< |
linux* | k*bsd*-gnu) |
8718 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
8719 |
|
case $cc_basename in |
8720 |
|
# old Intel for x86_64 which still supported -KPIC. |
8721 |
|
ecc*) |
8736 |
|
lt_prog_compiler_pic='--shared' |
8737 |
|
lt_prog_compiler_static='--static' |
8738 |
|
;; |
8739 |
< |
pgcc* | pgf77* | pgf90* | pgf95*) |
8739 |
> |
nagfor*) |
8740 |
> |
# NAG Fortran compiler |
8741 |
> |
lt_prog_compiler_wl='-Wl,-Wl,,' |
8742 |
> |
lt_prog_compiler_pic='-PIC' |
8743 |
> |
lt_prog_compiler_static='-Bstatic' |
8744 |
> |
;; |
8745 |
> |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
8746 |
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
8747 |
|
# which looks to be a dead project) |
8748 |
|
lt_prog_compiler_wl='-Wl,' |
8754 |
|
# All Alpha code is PIC. |
8755 |
|
lt_prog_compiler_static='-non_shared' |
8756 |
|
;; |
8757 |
< |
xl*) |
8758 |
< |
# IBM XL C 8.0/Fortran 10.1 on PPC |
8757 |
> |
xl* | bgxl* | bgf* | mpixl*) |
8758 |
> |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
8759 |
|
lt_prog_compiler_wl='-Wl,' |
8760 |
|
lt_prog_compiler_pic='-qpic' |
8761 |
|
lt_prog_compiler_static='-qstaticlink' |
8762 |
|
;; |
8763 |
|
*) |
8764 |
|
case `$CC -V 2>&1 | sed 5q` in |
8765 |
+ |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
8766 |
+ |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
8767 |
+ |
lt_prog_compiler_pic='-KPIC' |
8768 |
+ |
lt_prog_compiler_static='-Bstatic' |
8769 |
+ |
lt_prog_compiler_wl='' |
8770 |
+ |
;; |
8771 |
+ |
*Sun\ F* | *Sun*Fortran*) |
8772 |
+ |
lt_prog_compiler_pic='-KPIC' |
8773 |
+ |
lt_prog_compiler_static='-Bstatic' |
8774 |
+ |
lt_prog_compiler_wl='-Qoption ld ' |
8775 |
+ |
;; |
8776 |
|
*Sun\ C*) |
8777 |
|
# Sun C 5.9 |
8778 |
|
lt_prog_compiler_pic='-KPIC' |
8779 |
|
lt_prog_compiler_static='-Bstatic' |
8780 |
|
lt_prog_compiler_wl='-Wl,' |
8781 |
|
;; |
8782 |
< |
*Sun\ F*) |
8783 |
< |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
8784 |
< |
lt_prog_compiler_pic='-KPIC' |
8782 |
> |
*Intel*\ [CF]*Compiler*) |
8783 |
> |
lt_prog_compiler_wl='-Wl,' |
8784 |
> |
lt_prog_compiler_pic='-fPIC' |
8785 |
> |
lt_prog_compiler_static='-static' |
8786 |
> |
;; |
8787 |
> |
*Portland\ Group*) |
8788 |
> |
lt_prog_compiler_wl='-Wl,' |
8789 |
> |
lt_prog_compiler_pic='-fpic' |
8790 |
|
lt_prog_compiler_static='-Bstatic' |
8076 |
– |
lt_prog_compiler_wl='' |
8791 |
|
;; |
8792 |
|
esac |
8793 |
|
;; |
8819 |
|
lt_prog_compiler_pic='-KPIC' |
8820 |
|
lt_prog_compiler_static='-Bstatic' |
8821 |
|
case $cc_basename in |
8822 |
< |
f77* | f90* | f95*) |
8822 |
> |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
8823 |
|
lt_prog_compiler_wl='-Qoption ld ';; |
8824 |
|
*) |
8825 |
|
lt_prog_compiler_wl='-Wl,';; |
8876 |
|
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
8877 |
|
;; |
8878 |
|
esac |
8165 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 |
8166 |
– |
$as_echo "$lt_prog_compiler_pic" >&6; } |
8167 |
– |
|
8168 |
– |
|
8169 |
– |
|
8170 |
– |
|
8879 |
|
|
8880 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
8881 |
+ |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
8882 |
+ |
if ${lt_cv_prog_compiler_pic+:} false; then : |
8883 |
+ |
$as_echo_n "(cached) " >&6 |
8884 |
+ |
else |
8885 |
+ |
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
8886 |
+ |
fi |
8887 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
8888 |
+ |
$as_echo "$lt_cv_prog_compiler_pic" >&6; } |
8889 |
+ |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
8890 |
|
|
8891 |
|
# |
8892 |
|
# Check to make sure the PIC flag actually works. |
8894 |
|
if test -n "$lt_prog_compiler_pic"; then |
8895 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
8896 |
|
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
8897 |
< |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : |
8897 |
> |
if ${lt_cv_prog_compiler_pic_works+:} false; then : |
8898 |
|
$as_echo_n "(cached) " >&6 |
8899 |
|
else |
8900 |
|
lt_cv_prog_compiler_pic_works=no |
8910 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8911 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8912 |
|
-e 's:$: $lt_compiler_flag:'` |
8913 |
< |
(eval echo "\"\$as_me:8195: $lt_compile\"" >&5) |
8913 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
8914 |
|
(eval "$lt_compile" 2>conftest.err) |
8915 |
|
ac_status=$? |
8916 |
|
cat conftest.err >&5 |
8917 |
< |
echo "$as_me:8199: \$? = $ac_status" >&5 |
8917 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8918 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
8919 |
|
# The compiler can only warn and ignore the option if not recognized |
8920 |
|
# So say no if there are warnings other than the usual output. |
8921 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
8921 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
8922 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8923 |
|
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
8924 |
|
lt_cv_prog_compiler_pic_works=yes |
8947 |
|
|
8948 |
|
|
8949 |
|
|
8950 |
+ |
|
8951 |
+ |
|
8952 |
+ |
|
8953 |
+ |
|
8954 |
+ |
|
8955 |
|
# |
8956 |
|
# Check to make sure the static flag actually works. |
8957 |
|
# |
8958 |
|
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
8959 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
8960 |
|
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
8961 |
< |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then : |
8961 |
> |
if ${lt_cv_prog_compiler_static_works+:} false; then : |
8962 |
|
$as_echo_n "(cached) " >&6 |
8963 |
|
else |
8964 |
|
lt_cv_prog_compiler_static_works=no |
8971 |
|
if test -s conftest.err; then |
8972 |
|
# Append any errors to the config.log. |
8973 |
|
cat conftest.err 1>&5 |
8974 |
< |
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
8974 |
> |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
8975 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8976 |
|
if diff conftest.exp conftest.er2 >/dev/null; then |
8977 |
|
lt_cv_prog_compiler_static_works=yes |
9001 |
|
|
9002 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
9003 |
|
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
9004 |
< |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : |
9004 |
> |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
9005 |
|
$as_echo_n "(cached) " >&6 |
9006 |
|
else |
9007 |
|
lt_cv_prog_compiler_c_o=no |
9020 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
9021 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
9022 |
|
-e 's:$: $lt_compiler_flag:'` |
9023 |
< |
(eval echo "\"\$as_me:8300: $lt_compile\"" >&5) |
9023 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
9024 |
|
(eval "$lt_compile" 2>out/conftest.err) |
9025 |
|
ac_status=$? |
9026 |
|
cat out/conftest.err >&5 |
9027 |
< |
echo "$as_me:8304: \$? = $ac_status" >&5 |
9027 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9028 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
9029 |
|
then |
9030 |
|
# The compiler can only warn and ignore the option if not recognized |
9031 |
|
# So say no if there are warnings |
9032 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
9032 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
9033 |
|
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
9034 |
|
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
9035 |
|
lt_cv_prog_compiler_c_o=yes |
9056 |
|
|
9057 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
9058 |
|
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
9059 |
< |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : |
9059 |
> |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
9060 |
|
$as_echo_n "(cached) " >&6 |
9061 |
|
else |
9062 |
|
lt_cv_prog_compiler_c_o=no |
9075 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
9076 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
9077 |
|
-e 's:$: $lt_compiler_flag:'` |
9078 |
< |
(eval echo "\"\$as_me:8355: $lt_compile\"" >&5) |
9078 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
9079 |
|
(eval "$lt_compile" 2>out/conftest.err) |
9080 |
|
ac_status=$? |
9081 |
|
cat out/conftest.err >&5 |
9082 |
< |
echo "$as_me:8359: \$? = $ac_status" >&5 |
9082 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9083 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
9084 |
|
then |
9085 |
|
# The compiler can only warn and ignore the option if not recognized |
9086 |
|
# So say no if there are warnings |
9087 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
9087 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
9088 |
|
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
9089 |
|
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
9090 |
|
lt_cv_prog_compiler_c_o=yes |
9150 |
|
hardcode_direct=no |
9151 |
|
hardcode_direct_absolute=no |
9152 |
|
hardcode_libdir_flag_spec= |
8430 |
– |
hardcode_libdir_flag_spec_ld= |
9153 |
|
hardcode_libdir_separator= |
9154 |
|
hardcode_minus_L=no |
9155 |
|
hardcode_shlibpath_var=unsupported |
9196 |
|
esac |
9197 |
|
|
9198 |
|
ld_shlibs=yes |
9199 |
+ |
|
9200 |
+ |
# On some targets, GNU ld is compatible enough with the native linker |
9201 |
+ |
# that we're better off using the native interface for both. |
9202 |
+ |
lt_use_gnu_ld_interface=no |
9203 |
|
if test "$with_gnu_ld" = yes; then |
9204 |
+ |
case $host_os in |
9205 |
+ |
aix*) |
9206 |
+ |
# The AIX port of GNU ld has always aspired to compatibility |
9207 |
+ |
# with the native linker. However, as the warning in the GNU ld |
9208 |
+ |
# block says, versions before 2.19.5* couldn't really create working |
9209 |
+ |
# shared libraries, regardless of the interface used. |
9210 |
+ |
case `$LD -v 2>&1` in |
9211 |
+ |
*\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
9212 |
+ |
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
9213 |
+ |
*\ \(GNU\ Binutils\)\ [3-9]*) ;; |
9214 |
+ |
*) |
9215 |
+ |
lt_use_gnu_ld_interface=yes |
9216 |
+ |
;; |
9217 |
+ |
esac |
9218 |
+ |
;; |
9219 |
+ |
*) |
9220 |
+ |
lt_use_gnu_ld_interface=yes |
9221 |
+ |
;; |
9222 |
+ |
esac |
9223 |
+ |
fi |
9224 |
+ |
|
9225 |
+ |
if test "$lt_use_gnu_ld_interface" = yes; then |
9226 |
|
# If archive_cmds runs LD, not CC, wlarc should be empty |
9227 |
|
wlarc='${wl}' |
9228 |
|
|
9240 |
|
fi |
9241 |
|
supports_anon_versioning=no |
9242 |
|
case `$LD -v 2>&1` in |
9243 |
+ |
*GNU\ gold*) supports_anon_versioning=yes ;; |
9244 |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
9245 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
9246 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
9256 |
|
ld_shlibs=no |
9257 |
|
cat <<_LT_EOF 1>&2 |
9258 |
|
|
9259 |
< |
*** Warning: the GNU linker, at least up to release 2.9.1, is reported |
9259 |
> |
*** Warning: the GNU linker, at least up to release 2.19, is reported |
9260 |
|
*** to be unable to reliably create shared libraries on AIX. |
9261 |
|
*** Therefore, libtool is disabling shared libraries support. If you |
9262 |
< |
*** really care for shared libraries, you may want to modify your PATH |
9263 |
< |
*** so that a non-GNU linker is found, and then restart. |
9262 |
> |
*** really care for shared libraries, you may want to install binutils |
9263 |
> |
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
9264 |
> |
*** You will then need to restart the configuration process. |
9265 |
|
|
9266 |
|
_LT_EOF |
9267 |
|
fi |
9297 |
|
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
9298 |
|
# as there is no search path for DLLs. |
9299 |
|
hardcode_libdir_flag_spec='-L$libdir' |
9300 |
+ |
export_dynamic_flag_spec='${wl}--export-all-symbols' |
9301 |
|
allow_undefined_flag=unsupported |
9302 |
|
always_export_symbols=no |
9303 |
|
enable_shared_with_static_runtimes=yes |
9304 |
< |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
9304 |
> |
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' |
9305 |
> |
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
9306 |
|
|
9307 |
|
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
9308 |
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
9320 |
|
fi |
9321 |
|
;; |
9322 |
|
|
9323 |
+ |
haiku*) |
9324 |
+ |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9325 |
+ |
link_all_deplibs=yes |
9326 |
+ |
;; |
9327 |
+ |
|
9328 |
|
interix[3-9]*) |
9329 |
|
hardcode_direct=no |
9330 |
|
hardcode_shlibpath_var=no |
9340 |
|
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' |
9341 |
|
;; |
9342 |
|
|
9343 |
< |
gnu* | linux* | tpf* | k*bsd*-gnu) |
9343 |
> |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
9344 |
|
tmp_diet=no |
9345 |
|
if test "$host_os" = linux-dietlibc; then |
9346 |
|
case $cc_basename in |
9350 |
|
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
9351 |
|
&& test "$tmp_diet" = no |
9352 |
|
then |
9353 |
< |
tmp_addflag= |
9353 |
> |
tmp_addflag=' $pic_flag' |
9354 |
|
tmp_sharedflag='-shared' |
9355 |
|
case $cc_basename,$host_cpu in |
9356 |
|
pgcc*) # Portland Group C compiler |
9357 |
< |
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' |
9357 |
> |
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' |
9358 |
|
tmp_addflag=' $pic_flag' |
9359 |
|
;; |
9360 |
< |
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
9361 |
< |
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' |
9360 |
> |
pgf77* | pgf90* | pgf95* | pgfortran*) |
9361 |
> |
# Portland Group f77 and f90 compilers |
9362 |
> |
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' |
9363 |
|
tmp_addflag=' $pic_flag -Mnomain' ;; |
9364 |
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
9365 |
|
tmp_addflag=' -i_dynamic' ;; |
9370 |
|
lf95*) # Lahey Fortran 8.1 |
9371 |
|
whole_archive_flag_spec= |
9372 |
|
tmp_sharedflag='--shared' ;; |
9373 |
< |
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
9373 |
> |
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
9374 |
|
tmp_sharedflag='-qmkshrobj' |
9375 |
|
tmp_addflag= ;; |
9376 |
+ |
nvcc*) # Cuda Compiler Driver 2.2 |
9377 |
+ |
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' |
9378 |
+ |
compiler_needs_object=yes |
9379 |
+ |
;; |
9380 |
|
esac |
9381 |
|
case `$CC -V 2>&1 | sed 5q` in |
9382 |
|
*Sun\ C*) # Sun C 5.9 |
9383 |
< |
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' |
9383 |
> |
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' |
9384 |
|
compiler_needs_object=yes |
9385 |
|
tmp_sharedflag='-G' ;; |
9386 |
|
*Sun\ F*) # Sun Fortran 8.3 |
9396 |
|
fi |
9397 |
|
|
9398 |
|
case $cc_basename in |
9399 |
< |
xlf*) |
9399 |
> |
xlf* | bgf* | bgxlf* | mpixlf*) |
9400 |
|
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
9401 |
|
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
9402 |
< |
hardcode_libdir_flag_spec= |
9403 |
< |
hardcode_libdir_flag_spec_ld='-rpath $libdir' |
8642 |
< |
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' |
9402 |
> |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9403 |
> |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
9404 |
|
if test "x$supports_anon_versioning" = xyes; then |
9405 |
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
9406 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
9407 |
|
echo "local: *; };" >> $output_objdir/$libname.ver~ |
9408 |
< |
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
9408 |
> |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
9409 |
|
fi |
9410 |
|
;; |
9411 |
|
esac |
9419 |
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
9420 |
|
wlarc= |
9421 |
|
else |
9422 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9423 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9422 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9423 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9424 |
|
fi |
9425 |
|
;; |
9426 |
|
|
9438 |
|
|
9439 |
|
_LT_EOF |
9440 |
|
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9441 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9442 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9441 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9442 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9443 |
|
else |
9444 |
|
ld_shlibs=no |
9445 |
|
fi |
9485 |
|
|
9486 |
|
*) |
9487 |
|
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9488 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9489 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9488 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9489 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9490 |
|
else |
9491 |
|
ld_shlibs=no |
9492 |
|
fi |
9526 |
|
else |
9527 |
|
# If we're using GNU nm, then we don't want the "-C" option. |
9528 |
|
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
9529 |
+ |
# Also, AIX nm treats weak defined symbols like other global |
9530 |
+ |
# defined symbols, whereas GNU nm marks them as "W". |
9531 |
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
9532 |
< |
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' |
9532 |
> |
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' |
9533 |
|
else |
9534 |
|
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' |
9535 |
|
fi |
9591 |
|
if test "$aix_use_runtimelinking" = yes; then |
9592 |
|
shared_flag="$shared_flag "'${wl}-G' |
9593 |
|
fi |
8831 |
– |
link_all_deplibs=no |
9594 |
|
else |
9595 |
|
# not using gcc |
9596 |
|
if test "$host_cpu" = ia64; then |
9616 |
|
allow_undefined_flag='-berok' |
9617 |
|
# Determine the default libpath from the value encoded in an |
9618 |
|
# empty executable. |
9619 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9619 |
> |
if test "${lt_cv_aix_libpath+set}" = set; then |
9620 |
> |
aix_libpath=$lt_cv_aix_libpath |
9621 |
> |
else |
9622 |
> |
if ${lt_cv_aix_libpath_+:} false; then : |
9623 |
> |
$as_echo_n "(cached) " >&6 |
9624 |
> |
else |
9625 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9626 |
|
/* end confdefs.h. */ |
9627 |
|
|
9628 |
|
int |
9635 |
|
_ACEOF |
9636 |
|
if ac_fn_c_try_link "$LINENO"; then : |
9637 |
|
|
9638 |
< |
lt_aix_libpath_sed=' |
9639 |
< |
/Import File Strings/,/^$/ { |
9640 |
< |
/^0/ { |
9641 |
< |
s/^0 *\(.*\)$/\1/ |
9642 |
< |
p |
9643 |
< |
} |
9644 |
< |
}' |
9645 |
< |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9646 |
< |
# Check for a 64-bit object if we didn't find anything. |
9647 |
< |
if test -z "$aix_libpath"; then |
9648 |
< |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9649 |
< |
fi |
9638 |
> |
lt_aix_libpath_sed=' |
9639 |
> |
/Import File Strings/,/^$/ { |
9640 |
> |
/^0/ { |
9641 |
> |
s/^0 *\([^ ]*\) *$/\1/ |
9642 |
> |
p |
9643 |
> |
} |
9644 |
> |
}' |
9645 |
> |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9646 |
> |
# Check for a 64-bit object if we didn't find anything. |
9647 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
9648 |
> |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9649 |
> |
fi |
9650 |
|
fi |
9651 |
|
rm -f core conftest.err conftest.$ac_objext \ |
9652 |
|
conftest$ac_exeext conftest.$ac_ext |
9653 |
< |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
9653 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
9654 |
> |
lt_cv_aix_libpath_="/usr/lib:/lib" |
9655 |
> |
fi |
9656 |
> |
|
9657 |
> |
fi |
9658 |
> |
|
9659 |
> |
aix_libpath=$lt_cv_aix_libpath_ |
9660 |
> |
fi |
9661 |
|
|
9662 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
9663 |
< |
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" |
9663 |
> |
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" |
9664 |
|
else |
9665 |
|
if test "$host_cpu" = ia64; then |
9666 |
|
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
9669 |
|
else |
9670 |
|
# Determine the default libpath from the value encoded in an |
9671 |
|
# empty executable. |
9672 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9672 |
> |
if test "${lt_cv_aix_libpath+set}" = set; then |
9673 |
> |
aix_libpath=$lt_cv_aix_libpath |
9674 |
> |
else |
9675 |
> |
if ${lt_cv_aix_libpath_+:} false; then : |
9676 |
> |
$as_echo_n "(cached) " >&6 |
9677 |
> |
else |
9678 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9679 |
|
/* end confdefs.h. */ |
9680 |
|
|
9681 |
|
int |
9688 |
|
_ACEOF |
9689 |
|
if ac_fn_c_try_link "$LINENO"; then : |
9690 |
|
|
9691 |
< |
lt_aix_libpath_sed=' |
9692 |
< |
/Import File Strings/,/^$/ { |
9693 |
< |
/^0/ { |
9694 |
< |
s/^0 *\(.*\)$/\1/ |
9695 |
< |
p |
9696 |
< |
} |
9697 |
< |
}' |
9698 |
< |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9699 |
< |
# Check for a 64-bit object if we didn't find anything. |
9700 |
< |
if test -z "$aix_libpath"; then |
9701 |
< |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9702 |
< |
fi |
9691 |
> |
lt_aix_libpath_sed=' |
9692 |
> |
/Import File Strings/,/^$/ { |
9693 |
> |
/^0/ { |
9694 |
> |
s/^0 *\([^ ]*\) *$/\1/ |
9695 |
> |
p |
9696 |
> |
} |
9697 |
> |
}' |
9698 |
> |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9699 |
> |
# Check for a 64-bit object if we didn't find anything. |
9700 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
9701 |
> |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9702 |
> |
fi |
9703 |
|
fi |
9704 |
|
rm -f core conftest.err conftest.$ac_objext \ |
9705 |
|
conftest$ac_exeext conftest.$ac_ext |
9706 |
< |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
9706 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
9707 |
> |
lt_cv_aix_libpath_="/usr/lib:/lib" |
9708 |
> |
fi |
9709 |
> |
|
9710 |
> |
fi |
9711 |
> |
|
9712 |
> |
aix_libpath=$lt_cv_aix_libpath_ |
9713 |
> |
fi |
9714 |
|
|
9715 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
9716 |
|
# Warning - without using the other run time loading flags, |
9717 |
|
# -berok will link without error, but may produce a broken library. |
9718 |
|
no_undefined_flag=' ${wl}-bernotok' |
9719 |
|
allow_undefined_flag=' ${wl}-berok' |
9720 |
< |
# Exported symbols can be pulled into shared objects from archives |
9721 |
< |
whole_archive_flag_spec='$convenience' |
9720 |
> |
if test "$with_gnu_ld" = yes; then |
9721 |
> |
# We only use this code for GNU lds that support --whole-archive. |
9722 |
> |
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
9723 |
> |
else |
9724 |
> |
# Exported symbols can be pulled into shared objects from archives |
9725 |
> |
whole_archive_flag_spec='$convenience' |
9726 |
> |
fi |
9727 |
|
archive_cmds_need_lc=yes |
9728 |
|
# This is similar to how AIX traditionally builds its shared libraries. |
9729 |
|
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' |
9755 |
|
# Microsoft Visual C++. |
9756 |
|
# hardcode_libdir_flag_spec is actually meaningless, as there is |
9757 |
|
# no search path for DLLs. |
9758 |
< |
hardcode_libdir_flag_spec=' ' |
9759 |
< |
allow_undefined_flag=unsupported |
9760 |
< |
# Tell ltmain to make .lib files, not .a files. |
9761 |
< |
libext=lib |
9762 |
< |
# Tell ltmain to make .dll files, not .so files. |
9763 |
< |
shrext_cmds=".dll" |
9764 |
< |
# FIXME: Setting linknames here is a bad hack. |
9765 |
< |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
9766 |
< |
# The linker will automatically build a .lib file if we build a DLL. |
9767 |
< |
old_archive_from_new_cmds='true' |
9768 |
< |
# FIXME: Should let the user specify the lib program. |
9769 |
< |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
9770 |
< |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
9771 |
< |
enable_shared_with_static_runtimes=yes |
9758 |
> |
case $cc_basename in |
9759 |
> |
cl*) |
9760 |
> |
# Native MSVC |
9761 |
> |
hardcode_libdir_flag_spec=' ' |
9762 |
> |
allow_undefined_flag=unsupported |
9763 |
> |
always_export_symbols=yes |
9764 |
> |
file_list_spec='@' |
9765 |
> |
# Tell ltmain to make .lib files, not .a files. |
9766 |
> |
libext=lib |
9767 |
> |
# Tell ltmain to make .dll files, not .so files. |
9768 |
> |
shrext_cmds=".dll" |
9769 |
> |
# FIXME: Setting linknames here is a bad hack. |
9770 |
> |
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
9771 |
> |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
9772 |
> |
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
9773 |
> |
else |
9774 |
> |
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
9775 |
> |
fi~ |
9776 |
> |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
9777 |
> |
linknames=' |
9778 |
> |
# The linker will not automatically build a static lib if we build a DLL. |
9779 |
> |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
9780 |
> |
enable_shared_with_static_runtimes=yes |
9781 |
> |
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
9782 |
> |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
9783 |
> |
# Don't use ranlib |
9784 |
> |
old_postinstall_cmds='chmod 644 $oldlib' |
9785 |
> |
postlink_cmds='lt_outputfile="@OUTPUT@"~ |
9786 |
> |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
9787 |
> |
case $lt_outputfile in |
9788 |
> |
*.exe|*.EXE) ;; |
9789 |
> |
*) |
9790 |
> |
lt_outputfile="$lt_outputfile.exe" |
9791 |
> |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
9792 |
> |
;; |
9793 |
> |
esac~ |
9794 |
> |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
9795 |
> |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
9796 |
> |
$RM "$lt_outputfile.manifest"; |
9797 |
> |
fi' |
9798 |
> |
;; |
9799 |
> |
*) |
9800 |
> |
# Assume MSVC wrapper |
9801 |
> |
hardcode_libdir_flag_spec=' ' |
9802 |
> |
allow_undefined_flag=unsupported |
9803 |
> |
# Tell ltmain to make .lib files, not .a files. |
9804 |
> |
libext=lib |
9805 |
> |
# Tell ltmain to make .dll files, not .so files. |
9806 |
> |
shrext_cmds=".dll" |
9807 |
> |
# FIXME: Setting linknames here is a bad hack. |
9808 |
> |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
9809 |
> |
# The linker will automatically build a .lib file if we build a DLL. |
9810 |
> |
old_archive_from_new_cmds='true' |
9811 |
> |
# FIXME: Should let the user specify the lib program. |
9812 |
> |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
9813 |
> |
enable_shared_with_static_runtimes=yes |
9814 |
> |
;; |
9815 |
> |
esac |
9816 |
|
;; |
9817 |
|
|
9818 |
|
darwin* | rhapsody*) |
9822 |
|
hardcode_direct=no |
9823 |
|
hardcode_automatic=yes |
9824 |
|
hardcode_shlibpath_var=unsupported |
9825 |
< |
whole_archive_flag_spec='' |
9825 |
> |
if test "$lt_cv_ld_force_load" = "yes"; then |
9826 |
> |
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\"`' |
9827 |
> |
|
9828 |
> |
else |
9829 |
> |
whole_archive_flag_spec='' |
9830 |
> |
fi |
9831 |
|
link_all_deplibs=yes |
9832 |
|
allow_undefined_flag="$_lt_dar_allow_undefined" |
9833 |
|
case $cc_basename in |
9835 |
|
*) _lt_dar_can_shared=$GCC ;; |
9836 |
|
esac |
9837 |
|
if test "$_lt_dar_can_shared" = "yes"; then |
9838 |
< |
output_verbose_link_cmd=echo |
9838 |
> |
output_verbose_link_cmd=func_echo_all |
9839 |
|
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
9840 |
|
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
9841 |
|
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}" |
9853 |
|
hardcode_shlibpath_var=no |
9854 |
|
;; |
9855 |
|
|
9014 |
– |
freebsd1*) |
9015 |
– |
ld_shlibs=no |
9016 |
– |
;; |
9017 |
– |
|
9856 |
|
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
9857 |
|
# support. Future versions do this automatically, but an explicit c++rt0.o |
9858 |
|
# does not break anything, and helps significantly (at the cost of a little |
9865 |
|
;; |
9866 |
|
|
9867 |
|
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
9868 |
< |
freebsd2*) |
9868 |
> |
freebsd2.*) |
9869 |
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
9870 |
|
hardcode_direct=yes |
9871 |
|
hardcode_minus_L=yes |
9874 |
|
|
9875 |
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
9876 |
|
freebsd* | dragonfly*) |
9877 |
< |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
9877 |
> |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
9878 |
|
hardcode_libdir_flag_spec='-R$libdir' |
9879 |
|
hardcode_direct=yes |
9880 |
|
hardcode_shlibpath_var=no |
9882 |
|
|
9883 |
|
hpux9*) |
9884 |
|
if test "$GCC" = yes; then |
9885 |
< |
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' |
9885 |
> |
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' |
9886 |
|
else |
9887 |
|
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' |
9888 |
|
fi |
9897 |
|
;; |
9898 |
|
|
9899 |
|
hpux10*) |
9900 |
< |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
9901 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9900 |
> |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
9901 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9902 |
|
else |
9903 |
|
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
9904 |
|
fi |
9905 |
|
if test "$with_gnu_ld" = no; then |
9906 |
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
9069 |
– |
hardcode_libdir_flag_spec_ld='+b $libdir' |
9907 |
|
hardcode_libdir_separator=: |
9908 |
|
hardcode_direct=yes |
9909 |
|
hardcode_direct_absolute=yes |
9915 |
|
;; |
9916 |
|
|
9917 |
|
hpux11*) |
9918 |
< |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
9918 |
> |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
9919 |
|
case $host_cpu in |
9920 |
|
hppa*64*) |
9921 |
|
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
9922 |
|
;; |
9923 |
|
ia64*) |
9924 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
9924 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
9925 |
|
;; |
9926 |
|
*) |
9927 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9927 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9928 |
|
;; |
9929 |
|
esac |
9930 |
|
else |
9936 |
|
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
9937 |
|
;; |
9938 |
|
*) |
9939 |
< |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9939 |
> |
|
9940 |
> |
# Older versions of the 11.00 compiler do not understand -b yet |
9941 |
> |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
9942 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
9943 |
> |
$as_echo_n "checking if $CC understands -b... " >&6; } |
9944 |
> |
if ${lt_cv_prog_compiler__b+:} false; then : |
9945 |
> |
$as_echo_n "(cached) " >&6 |
9946 |
> |
else |
9947 |
> |
lt_cv_prog_compiler__b=no |
9948 |
> |
save_LDFLAGS="$LDFLAGS" |
9949 |
> |
LDFLAGS="$LDFLAGS -b" |
9950 |
> |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
9951 |
> |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
9952 |
> |
# The linker can only warn and ignore the option if not recognized |
9953 |
> |
# So say no if there are warnings |
9954 |
> |
if test -s conftest.err; then |
9955 |
> |
# Append any errors to the config.log. |
9956 |
> |
cat conftest.err 1>&5 |
9957 |
> |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
9958 |
> |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
9959 |
> |
if diff conftest.exp conftest.er2 >/dev/null; then |
9960 |
> |
lt_cv_prog_compiler__b=yes |
9961 |
> |
fi |
9962 |
> |
else |
9963 |
> |
lt_cv_prog_compiler__b=yes |
9964 |
> |
fi |
9965 |
> |
fi |
9966 |
> |
$RM -r conftest* |
9967 |
> |
LDFLAGS="$save_LDFLAGS" |
9968 |
> |
|
9969 |
> |
fi |
9970 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
9971 |
> |
$as_echo "$lt_cv_prog_compiler__b" >&6; } |
9972 |
> |
|
9973 |
> |
if test x"$lt_cv_prog_compiler__b" = xyes; then |
9974 |
> |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9975 |
> |
else |
9976 |
> |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
9977 |
> |
fi |
9978 |
> |
|
9979 |
|
;; |
9980 |
|
esac |
9981 |
|
fi |
10003 |
|
|
10004 |
|
irix5* | irix6* | nonstopux*) |
10005 |
|
if test "$GCC" = yes; then |
10006 |
< |
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' |
10006 |
> |
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' |
10007 |
|
# Try to use the -exported_symbol ld option, if it does not |
10008 |
|
# work, assume that -exports_file does not work either and |
10009 |
|
# implicitly export all symbols. |
10010 |
< |
save_LDFLAGS="$LDFLAGS" |
10011 |
< |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
10012 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10010 |
> |
# This should be the same for all languages, so no per-tag cache variable. |
10011 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
10012 |
> |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
10013 |
> |
if ${lt_cv_irix_exported_symbol+:} false; then : |
10014 |
> |
$as_echo_n "(cached) " >&6 |
10015 |
> |
else |
10016 |
> |
save_LDFLAGS="$LDFLAGS" |
10017 |
> |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
10018 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10019 |
|
/* end confdefs.h. */ |
10020 |
< |
int foo(void) {} |
10020 |
> |
int foo (void) { return 0; } |
10021 |
|
_ACEOF |
10022 |
|
if ac_fn_c_try_link "$LINENO"; then : |
10023 |
< |
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' |
10024 |
< |
|
10023 |
> |
lt_cv_irix_exported_symbol=yes |
10024 |
> |
else |
10025 |
> |
lt_cv_irix_exported_symbol=no |
10026 |
|
fi |
10027 |
|
rm -f core conftest.err conftest.$ac_objext \ |
10028 |
|
conftest$ac_exeext conftest.$ac_ext |
10029 |
< |
LDFLAGS="$save_LDFLAGS" |
10029 |
> |
LDFLAGS="$save_LDFLAGS" |
10030 |
> |
fi |
10031 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
10032 |
> |
$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
10033 |
> |
if test "$lt_cv_irix_exported_symbol" = yes; then |
10034 |
> |
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' |
10035 |
> |
fi |
10036 |
|
else |
10037 |
< |
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' |
10038 |
< |
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' |
10037 |
> |
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' |
10038 |
> |
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' |
10039 |
|
fi |
10040 |
|
archive_cmds_need_lc='no' |
10041 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
10097 |
|
hardcode_libdir_flag_spec='-L$libdir' |
10098 |
|
hardcode_minus_L=yes |
10099 |
|
allow_undefined_flag=unsupported |
10100 |
< |
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' |
10100 |
> |
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' |
10101 |
|
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
10102 |
|
;; |
10103 |
|
|
10104 |
|
osf3*) |
10105 |
|
if test "$GCC" = yes; then |
10106 |
|
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
10107 |
< |
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' |
10107 |
> |
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' |
10108 |
|
else |
10109 |
|
allow_undefined_flag=' -expect_unresolved \*' |
10110 |
< |
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' |
10110 |
> |
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' |
10111 |
|
fi |
10112 |
|
archive_cmds_need_lc='no' |
10113 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
10117 |
|
osf4* | osf5*) # as osf3* with the addition of -msym flag |
10118 |
|
if test "$GCC" = yes; then |
10119 |
|
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
10120 |
< |
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' |
10120 |
> |
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' |
10121 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
10122 |
|
else |
10123 |
|
allow_undefined_flag=' -expect_unresolved \*' |
10124 |
< |
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' |
10124 |
> |
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' |
10125 |
|
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~ |
10126 |
< |
$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' |
10126 |
> |
$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' |
10127 |
|
|
10128 |
|
# Both c and cxx compiler support -rpath directly |
10129 |
|
hardcode_libdir_flag_spec='-rpath $libdir' |
10136 |
|
no_undefined_flag=' -z defs' |
10137 |
|
if test "$GCC" = yes; then |
10138 |
|
wlarc='${wl}' |
10139 |
< |
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
10139 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
10140 |
|
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
10141 |
< |
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
10141 |
> |
$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' |
10142 |
|
else |
10143 |
|
case `$CC -V 2>&1` in |
10144 |
|
*"Compilers 5.0"*) |
10326 |
|
# to ld, don't add -lc before -lgcc. |
10327 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
10328 |
|
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
10329 |
< |
$RM conftest* |
10330 |
< |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
10329 |
> |
if ${lt_cv_archive_cmds_need_lc+:} false; then : |
10330 |
> |
$as_echo_n "(cached) " >&6 |
10331 |
> |
else |
10332 |
> |
$RM conftest* |
10333 |
> |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
10334 |
|
|
10335 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
10335 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
10336 |
|
(eval $ac_compile) 2>&5 |
10337 |
|
ac_status=$? |
10338 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10339 |
|
test $ac_status = 0; } 2>conftest.err; then |
10340 |
< |
soname=conftest |
10341 |
< |
lib=conftest |
10342 |
< |
libobjs=conftest.$ac_objext |
10343 |
< |
deplibs= |
10344 |
< |
wl=$lt_prog_compiler_wl |
10345 |
< |
pic_flag=$lt_prog_compiler_pic |
10346 |
< |
compiler_flags=-v |
10347 |
< |
linker_flags=-v |
10348 |
< |
verstring= |
10349 |
< |
output_objdir=. |
10350 |
< |
libname=conftest |
10351 |
< |
lt_save_allow_undefined_flag=$allow_undefined_flag |
10352 |
< |
allow_undefined_flag= |
10353 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
10340 |
> |
soname=conftest |
10341 |
> |
lib=conftest |
10342 |
> |
libobjs=conftest.$ac_objext |
10343 |
> |
deplibs= |
10344 |
> |
wl=$lt_prog_compiler_wl |
10345 |
> |
pic_flag=$lt_prog_compiler_pic |
10346 |
> |
compiler_flags=-v |
10347 |
> |
linker_flags=-v |
10348 |
> |
verstring= |
10349 |
> |
output_objdir=. |
10350 |
> |
libname=conftest |
10351 |
> |
lt_save_allow_undefined_flag=$allow_undefined_flag |
10352 |
> |
allow_undefined_flag= |
10353 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
10354 |
|
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
10355 |
|
ac_status=$? |
10356 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10357 |
|
test $ac_status = 0; } |
10358 |
< |
then |
10359 |
< |
archive_cmds_need_lc=no |
10360 |
< |
else |
10361 |
< |
archive_cmds_need_lc=yes |
10362 |
< |
fi |
10363 |
< |
allow_undefined_flag=$lt_save_allow_undefined_flag |
10364 |
< |
else |
10365 |
< |
cat conftest.err 1>&5 |
10366 |
< |
fi |
10367 |
< |
$RM conftest* |
10368 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 |
10369 |
< |
$as_echo "$archive_cmds_need_lc" >&6; } |
10358 |
> |
then |
10359 |
> |
lt_cv_archive_cmds_need_lc=no |
10360 |
> |
else |
10361 |
> |
lt_cv_archive_cmds_need_lc=yes |
10362 |
> |
fi |
10363 |
> |
allow_undefined_flag=$lt_save_allow_undefined_flag |
10364 |
> |
else |
10365 |
> |
cat conftest.err 1>&5 |
10366 |
> |
fi |
10367 |
> |
$RM conftest* |
10368 |
> |
|
10369 |
> |
fi |
10370 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
10371 |
> |
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } |
10372 |
> |
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
10373 |
|
;; |
10374 |
|
esac |
10375 |
|
fi |
10527 |
|
|
10528 |
|
|
10529 |
|
|
9635 |
– |
|
9636 |
– |
|
9637 |
– |
|
9638 |
– |
|
9639 |
– |
|
10530 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
10531 |
|
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
10532 |
|
|
10535 |
|
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
10536 |
|
*) lt_awk_arg="/^libraries:/" ;; |
10537 |
|
esac |
10538 |
< |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
10539 |
< |
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then |
10538 |
> |
case $host_os in |
10539 |
> |
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; |
10540 |
> |
*) lt_sed_strip_eq="s,=/,/,g" ;; |
10541 |
> |
esac |
10542 |
> |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
10543 |
> |
case $lt_search_path_spec in |
10544 |
> |
*\;*) |
10545 |
|
# if the path contains ";" then we assume it to be the separator |
10546 |
|
# otherwise default to the standard path separator (i.e. ":") - it is |
10547 |
|
# assumed that no part of a normal pathname contains ";" but that should |
10548 |
|
# okay in the real world where ";" in dirpaths is itself problematic. |
10549 |
< |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` |
10550 |
< |
else |
10551 |
< |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
10552 |
< |
fi |
10549 |
> |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
10550 |
> |
;; |
10551 |
> |
*) |
10552 |
> |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
10553 |
> |
;; |
10554 |
> |
esac |
10555 |
|
# Ok, now we have the path, separated by spaces, we can step through it |
10556 |
|
# and add multilib dir if necessary. |
10557 |
|
lt_tmp_lt_search_path_spec= |
10564 |
|
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
10565 |
|
fi |
10566 |
|
done |
10567 |
< |
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' |
10567 |
> |
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
10568 |
|
BEGIN {RS=" "; FS="/|\n";} { |
10569 |
|
lt_foo=""; |
10570 |
|
lt_count=0; |
10584 |
|
if (lt_foo != "") { lt_freq[lt_foo]++; } |
10585 |
|
if (lt_freq[lt_foo] == 1) { print lt_foo; } |
10586 |
|
}'` |
10587 |
< |
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` |
10587 |
> |
# AWK program above erroneously prepends '/' to C:/dos/paths |
10588 |
> |
# for these hosts. |
10589 |
> |
case $host_os in |
10590 |
> |
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
10591 |
> |
$SED 's,/\([A-Za-z]:\),\1,g'` ;; |
10592 |
> |
esac |
10593 |
> |
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
10594 |
|
else |
10595 |
|
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
10596 |
|
fi |
10616 |
|
|
10617 |
|
case $host_os in |
10618 |
|
aix3*) |
10619 |
< |
version_type=linux |
10619 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10620 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
10621 |
|
shlibpath_var=LIBPATH |
10622 |
|
|
10625 |
|
;; |
10626 |
|
|
10627 |
|
aix[4-9]*) |
10628 |
< |
version_type=linux |
10628 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10629 |
|
need_lib_prefix=no |
10630 |
|
need_version=no |
10631 |
|
hardcode_into_libs=yes |
10678 |
|
m68k) |
10679 |
|
library_names_spec='$libname.ixlibrary $libname.a' |
10680 |
|
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
10681 |
< |
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' |
10681 |
> |
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' |
10682 |
|
;; |
10683 |
|
esac |
10684 |
|
;; |
10690 |
|
;; |
10691 |
|
|
10692 |
|
bsdi[45]*) |
10693 |
< |
version_type=linux |
10693 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10694 |
|
need_version=no |
10695 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10696 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
10709 |
|
need_version=no |
10710 |
|
need_lib_prefix=no |
10711 |
|
|
10712 |
< |
case $GCC,$host_os in |
10713 |
< |
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) |
10712 |
> |
case $GCC,$cc_basename in |
10713 |
> |
yes,*) |
10714 |
> |
# gcc |
10715 |
|
library_names_spec='$libname.dll.a' |
10716 |
|
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
10717 |
|
postinstall_cmds='base_file=`basename \${file}`~ |
10732 |
|
cygwin*) |
10733 |
|
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
10734 |
|
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
10735 |
< |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
10735 |
> |
|
10736 |
> |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
10737 |
|
;; |
10738 |
|
mingw* | cegcc*) |
10739 |
|
# MinGW DLLs use traditional 'lib' prefix |
10740 |
|
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
9836 |
– |
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
9837 |
– |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
9838 |
– |
# It is most probably a Windows format PATH printed by |
9839 |
– |
# mingw gcc, but we are running on Cygwin. Gcc prints its search |
9840 |
– |
# path with ; separators, and with drive letters. We can handle the |
9841 |
– |
# drive letters (cygwin fileutils understands them), so leave them, |
9842 |
– |
# especially as we might pass files found there to a mingw objdump, |
9843 |
– |
# which wouldn't understand a cygwinified path. Ahh. |
9844 |
– |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
9845 |
– |
else |
9846 |
– |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
9847 |
– |
fi |
10741 |
|
;; |
10742 |
|
pw32*) |
10743 |
|
# pw32 DLLs use 'pw' prefix rather than 'lib' |
10744 |
|
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
10745 |
|
;; |
10746 |
|
esac |
10747 |
+ |
dynamic_linker='Win32 ld.exe' |
10748 |
+ |
;; |
10749 |
+ |
|
10750 |
+ |
*,cl*) |
10751 |
+ |
# Native MSVC |
10752 |
+ |
libname_spec='$name' |
10753 |
+ |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
10754 |
+ |
library_names_spec='${libname}.dll.lib' |
10755 |
+ |
|
10756 |
+ |
case $build_os in |
10757 |
+ |
mingw*) |
10758 |
+ |
sys_lib_search_path_spec= |
10759 |
+ |
lt_save_ifs=$IFS |
10760 |
+ |
IFS=';' |
10761 |
+ |
for lt_path in $LIB |
10762 |
+ |
do |
10763 |
+ |
IFS=$lt_save_ifs |
10764 |
+ |
# Let DOS variable expansion print the short 8.3 style file name. |
10765 |
+ |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
10766 |
+ |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
10767 |
+ |
done |
10768 |
+ |
IFS=$lt_save_ifs |
10769 |
+ |
# Convert to MSYS style. |
10770 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
10771 |
+ |
;; |
10772 |
+ |
cygwin*) |
10773 |
+ |
# Convert to unix form, then to dos form, then back to unix form |
10774 |
+ |
# but this time dos style (no spaces!) so that the unix form looks |
10775 |
+ |
# like /cygdrive/c/PROGRA~1:/cygdr... |
10776 |
+ |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
10777 |
+ |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
10778 |
+ |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
10779 |
+ |
;; |
10780 |
+ |
*) |
10781 |
+ |
sys_lib_search_path_spec="$LIB" |
10782 |
+ |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
10783 |
+ |
# It is most probably a Windows format PATH. |
10784 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
10785 |
+ |
else |
10786 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
10787 |
+ |
fi |
10788 |
+ |
# FIXME: find the short name or the path components, as spaces are |
10789 |
+ |
# common. (e.g. "Program Files" -> "PROGRA~1") |
10790 |
+ |
;; |
10791 |
+ |
esac |
10792 |
+ |
|
10793 |
+ |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
10794 |
+ |
postinstall_cmds='base_file=`basename \${file}`~ |
10795 |
+ |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
10796 |
+ |
dldir=$destdir/`dirname \$dlpath`~ |
10797 |
+ |
test -d \$dldir || mkdir -p \$dldir~ |
10798 |
+ |
$install_prog $dir/$dlname \$dldir/$dlname' |
10799 |
+ |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
10800 |
+ |
dlpath=$dir/\$dldll~ |
10801 |
+ |
$RM \$dlpath' |
10802 |
+ |
shlibpath_overrides_runpath=yes |
10803 |
+ |
dynamic_linker='Win32 link.exe' |
10804 |
|
;; |
10805 |
|
|
10806 |
|
*) |
10807 |
+ |
# Assume MSVC wrapper |
10808 |
|
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
10809 |
+ |
dynamic_linker='Win32 ld.exe' |
10810 |
|
;; |
10811 |
|
esac |
9860 |
– |
dynamic_linker='Win32 ld.exe' |
10812 |
|
# FIXME: first we should search . and the directory the executable is in |
10813 |
|
shlibpath_var=PATH |
10814 |
|
;; |
10829 |
|
;; |
10830 |
|
|
10831 |
|
dgux*) |
10832 |
< |
version_type=linux |
10832 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10833 |
|
need_lib_prefix=no |
10834 |
|
need_version=no |
10835 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
10837 |
|
shlibpath_var=LD_LIBRARY_PATH |
10838 |
|
;; |
10839 |
|
|
9889 |
– |
freebsd1*) |
9890 |
– |
dynamic_linker=no |
9891 |
– |
;; |
9892 |
– |
|
10840 |
|
freebsd* | dragonfly*) |
10841 |
|
# DragonFly does not have aout. When/if they implement a new |
10842 |
|
# versioning mechanism, adjust this. |
10844 |
|
objformat=`/usr/bin/objformat` |
10845 |
|
else |
10846 |
|
case $host_os in |
10847 |
< |
freebsd[123]*) objformat=aout ;; |
10847 |
> |
freebsd[23].*) objformat=aout ;; |
10848 |
|
*) objformat=elf ;; |
10849 |
|
esac |
10850 |
|
fi |
10862 |
|
esac |
10863 |
|
shlibpath_var=LD_LIBRARY_PATH |
10864 |
|
case $host_os in |
10865 |
< |
freebsd2*) |
10865 |
> |
freebsd2.*) |
10866 |
|
shlibpath_overrides_runpath=yes |
10867 |
|
;; |
10868 |
|
freebsd3.[01]* | freebsdelf3.[01]*) |
10882 |
|
;; |
10883 |
|
|
10884 |
|
gnu*) |
10885 |
< |
version_type=linux |
10885 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10886 |
|
need_lib_prefix=no |
10887 |
|
need_version=no |
10888 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
10889 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
10890 |
|
shlibpath_var=LD_LIBRARY_PATH |
10891 |
+ |
shlibpath_overrides_runpath=no |
10892 |
+ |
hardcode_into_libs=yes |
10893 |
+ |
;; |
10894 |
+ |
|
10895 |
+ |
haiku*) |
10896 |
+ |
version_type=linux # correct to gnu/linux during the next big refactor |
10897 |
+ |
need_lib_prefix=no |
10898 |
+ |
need_version=no |
10899 |
+ |
dynamic_linker="$host_os runtime_loader" |
10900 |
+ |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
10901 |
+ |
soname_spec='${libname}${release}${shared_ext}$major' |
10902 |
+ |
shlibpath_var=LIBRARY_PATH |
10903 |
+ |
shlibpath_overrides_runpath=yes |
10904 |
+ |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
10905 |
|
hardcode_into_libs=yes |
10906 |
|
;; |
10907 |
|
|
10947 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
10948 |
|
;; |
10949 |
|
esac |
10950 |
< |
# HP-UX runs *really* slowly unless shared libraries are mode 555. |
10950 |
> |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
10951 |
|
postinstall_cmds='chmod 555 $lib' |
10952 |
+ |
# or fails outright, so override atomically: |
10953 |
+ |
install_override_mode=555 |
10954 |
|
;; |
10955 |
|
|
10956 |
|
interix[3-9]*) |
10957 |
< |
version_type=linux |
10957 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10958 |
|
need_lib_prefix=no |
10959 |
|
need_version=no |
10960 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
10970 |
|
nonstopux*) version_type=nonstopux ;; |
10971 |
|
*) |
10972 |
|
if test "$lt_cv_prog_gnu_ld" = yes; then |
10973 |
< |
version_type=linux |
10973 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10974 |
|
else |
10975 |
|
version_type=irix |
10976 |
|
fi ;; |
11007 |
|
dynamic_linker=no |
11008 |
|
;; |
11009 |
|
|
11010 |
< |
# This must be Linux ELF. |
11011 |
< |
linux* | k*bsd*-gnu) |
11012 |
< |
version_type=linux |
11010 |
> |
# This must be glibc/ELF. |
11011 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
11012 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11013 |
|
need_lib_prefix=no |
11014 |
|
need_version=no |
11015 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11017 |
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
11018 |
|
shlibpath_var=LD_LIBRARY_PATH |
11019 |
|
shlibpath_overrides_runpath=no |
11020 |
+ |
|
11021 |
|
# Some binutils ld are patched to set DT_RUNPATH |
11022 |
< |
save_LDFLAGS=$LDFLAGS |
11023 |
< |
save_libdir=$libdir |
11024 |
< |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
11025 |
< |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
11026 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11022 |
> |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
11023 |
> |
$as_echo_n "(cached) " >&6 |
11024 |
> |
else |
11025 |
> |
lt_cv_shlibpath_overrides_runpath=no |
11026 |
> |
save_LDFLAGS=$LDFLAGS |
11027 |
> |
save_libdir=$libdir |
11028 |
> |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
11029 |
> |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
11030 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11031 |
|
/* end confdefs.h. */ |
11032 |
|
|
11033 |
|
int |
11040 |
|
_ACEOF |
11041 |
|
if ac_fn_c_try_link "$LINENO"; then : |
11042 |
|
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
11043 |
< |
shlibpath_overrides_runpath=yes |
11043 |
> |
lt_cv_shlibpath_overrides_runpath=yes |
11044 |
|
fi |
11045 |
|
fi |
11046 |
|
rm -f core conftest.err conftest.$ac_objext \ |
11047 |
|
conftest$ac_exeext conftest.$ac_ext |
11048 |
< |
LDFLAGS=$save_LDFLAGS |
11049 |
< |
libdir=$save_libdir |
11048 |
> |
LDFLAGS=$save_LDFLAGS |
11049 |
> |
libdir=$save_libdir |
11050 |
> |
|
11051 |
> |
fi |
11052 |
> |
|
11053 |
> |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
11054 |
|
|
11055 |
|
# This implies no fast_install, which is unacceptable. |
11056 |
|
# Some rework will be needed to allow for fast_install |
11057 |
|
# before this can be enabled. |
11058 |
|
hardcode_into_libs=yes |
11059 |
|
|
10088 |
– |
# find out which ABI we are using |
10089 |
– |
libsuff= |
10090 |
– |
case "$host_cpu" in |
10091 |
– |
x86_64*|s390x*|powerpc64*) |
10092 |
– |
echo '#line 10092 "configure"' > conftest.$ac_ext |
10093 |
– |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
10094 |
– |
(eval $ac_compile) 2>&5 |
10095 |
– |
ac_status=$? |
10096 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10097 |
– |
test $ac_status = 0; }; then |
10098 |
– |
case `/usr/bin/file conftest.$ac_objext` in |
10099 |
– |
*64-bit*) |
10100 |
– |
libsuff=64 |
10101 |
– |
;; |
10102 |
– |
esac |
10103 |
– |
fi |
10104 |
– |
rm -rf conftest* |
10105 |
– |
;; |
10106 |
– |
esac |
10107 |
– |
|
10108 |
– |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" |
10109 |
– |
|
11060 |
|
# Append ld.so.conf contents to the search path |
11061 |
|
if test -f /etc/ld.so.conf; then |
11062 |
< |
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' ' '` |
11063 |
< |
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" |
11062 |
> |
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' ' '` |
11063 |
> |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
11064 |
|
fi |
11065 |
|
|
11066 |
|
# We used to test for /lib/ld.so.1 and disable shared libraries on |
11091 |
|
;; |
11092 |
|
|
11093 |
|
newsos6) |
11094 |
< |
version_type=linux |
11094 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11095 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11096 |
|
shlibpath_var=LD_LIBRARY_PATH |
11097 |
|
shlibpath_overrides_runpath=yes |
11160 |
|
;; |
11161 |
|
|
11162 |
|
solaris*) |
11163 |
< |
version_type=linux |
11163 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11164 |
|
need_lib_prefix=no |
11165 |
|
need_version=no |
11166 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11185 |
|
;; |
11186 |
|
|
11187 |
|
sysv4 | sysv4.3*) |
11188 |
< |
version_type=linux |
11188 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11189 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11190 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
11191 |
|
shlibpath_var=LD_LIBRARY_PATH |
11209 |
|
|
11210 |
|
sysv4*MP*) |
11211 |
|
if test -d /usr/nec ;then |
11212 |
< |
version_type=linux |
11212 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11213 |
|
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
11214 |
|
soname_spec='$libname${shared_ext}.$major' |
11215 |
|
shlibpath_var=LD_LIBRARY_PATH |
11240 |
|
|
11241 |
|
tpf*) |
11242 |
|
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
11243 |
< |
version_type=linux |
11243 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11244 |
|
need_lib_prefix=no |
11245 |
|
need_version=no |
11246 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11250 |
|
;; |
11251 |
|
|
11252 |
|
uts4*) |
11253 |
< |
version_type=linux |
11253 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11254 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11255 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
11256 |
|
shlibpath_var=LD_LIBRARY_PATH |
11362 |
|
|
11363 |
|
|
11364 |
|
|
11365 |
+ |
|
11366 |
+ |
|
11367 |
+ |
|
11368 |
+ |
|
11369 |
+ |
|
11370 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
11371 |
|
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
11372 |
|
hardcode_action= |
11439 |
|
# if libdl is installed we need to link against it |
11440 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
11441 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
11442 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
11442 |
> |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
11443 |
|
$as_echo_n "(cached) " >&6 |
11444 |
|
else |
11445 |
|
ac_check_lib_save_LIBS=$LIBS |
11473 |
|
fi |
11474 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
11475 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
11476 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
11476 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
11477 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
11478 |
|
else |
11479 |
|
|
11487 |
|
|
11488 |
|
*) |
11489 |
|
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
11490 |
< |
if test "x$ac_cv_func_shl_load" = x""yes; then : |
11490 |
> |
if test "x$ac_cv_func_shl_load" = xyes; then : |
11491 |
|
lt_cv_dlopen="shl_load" |
11492 |
|
else |
11493 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
11494 |
|
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
11495 |
< |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : |
11495 |
> |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
11496 |
|
$as_echo_n "(cached) " >&6 |
11497 |
|
else |
11498 |
|
ac_check_lib_save_LIBS=$LIBS |
11526 |
|
fi |
11527 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
11528 |
|
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
11529 |
< |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : |
11529 |
> |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
11530 |
|
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
11531 |
|
else |
11532 |
|
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
11533 |
< |
if test "x$ac_cv_func_dlopen" = x""yes; then : |
11533 |
> |
if test "x$ac_cv_func_dlopen" = xyes; then : |
11534 |
|
lt_cv_dlopen="dlopen" |
11535 |
|
else |
11536 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
11537 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
11538 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
11538 |
> |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
11539 |
|
$as_echo_n "(cached) " >&6 |
11540 |
|
else |
11541 |
|
ac_check_lib_save_LIBS=$LIBS |
11569 |
|
fi |
11570 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
11571 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
11572 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
11572 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
11573 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
11574 |
|
else |
11575 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
11576 |
|
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
11577 |
< |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : |
11577 |
> |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
11578 |
|
$as_echo_n "(cached) " >&6 |
11579 |
|
else |
11580 |
|
ac_check_lib_save_LIBS=$LIBS |
11608 |
|
fi |
11609 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
11610 |
|
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
11611 |
< |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : |
11611 |
> |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
11612 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
11613 |
|
else |
11614 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
11615 |
|
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
11616 |
< |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : |
11616 |
> |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
11617 |
|
$as_echo_n "(cached) " >&6 |
11618 |
|
else |
11619 |
|
ac_check_lib_save_LIBS=$LIBS |
11647 |
|
fi |
11648 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
11649 |
|
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
11650 |
< |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : |
11650 |
> |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
11651 |
|
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
11652 |
|
fi |
11653 |
|
|
11688 |
|
|
11689 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
11690 |
|
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
11691 |
< |
if test "${lt_cv_dlopen_self+set}" = set; then : |
11691 |
> |
if ${lt_cv_dlopen_self+:} false; then : |
11692 |
|
$as_echo_n "(cached) " >&6 |
11693 |
|
else |
11694 |
|
if test "$cross_compiling" = yes; then : |
11697 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11698 |
|
lt_status=$lt_dlunknown |
11699 |
|
cat > conftest.$ac_ext <<_LT_EOF |
11700 |
< |
#line 10745 "configure" |
11700 |
> |
#line $LINENO "configure" |
11701 |
|
#include "confdefs.h" |
11702 |
|
|
11703 |
|
#if HAVE_DLFCN_H |
11738 |
|
# endif |
11739 |
|
#endif |
11740 |
|
|
11741 |
< |
void fnord() { int i=42;} |
11741 |
> |
/* When -fvisbility=hidden is used, assume the code has been annotated |
11742 |
> |
correspondingly for the symbols needed. */ |
11743 |
> |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
11744 |
> |
int fnord () __attribute__((visibility("default"))); |
11745 |
> |
#endif |
11746 |
> |
|
11747 |
> |
int fnord () { return 42; } |
11748 |
|
int main () |
11749 |
|
{ |
11750 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
11753 |
|
if (self) |
11754 |
|
{ |
11755 |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
11756 |
< |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
11756 |
> |
else |
11757 |
> |
{ |
11758 |
> |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
11759 |
> |
else puts (dlerror ()); |
11760 |
> |
} |
11761 |
|
/* dlclose (self); */ |
11762 |
|
} |
11763 |
|
else |
11794 |
|
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
11795 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
11796 |
|
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
11797 |
< |
if test "${lt_cv_dlopen_self_static+set}" = set; then : |
11797 |
> |
if ${lt_cv_dlopen_self_static+:} false; then : |
11798 |
|
$as_echo_n "(cached) " >&6 |
11799 |
|
else |
11800 |
|
if test "$cross_compiling" = yes; then : |
11803 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11804 |
|
lt_status=$lt_dlunknown |
11805 |
|
cat > conftest.$ac_ext <<_LT_EOF |
11806 |
< |
#line 10841 "configure" |
11806 |
> |
#line $LINENO "configure" |
11807 |
|
#include "confdefs.h" |
11808 |
|
|
11809 |
|
#if HAVE_DLFCN_H |
11844 |
|
# endif |
11845 |
|
#endif |
11846 |
|
|
11847 |
< |
void fnord() { int i=42;} |
11847 |
> |
/* When -fvisbility=hidden is used, assume the code has been annotated |
11848 |
> |
correspondingly for the symbols needed. */ |
11849 |
> |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
11850 |
> |
int fnord () __attribute__((visibility("default"))); |
11851 |
> |
#endif |
11852 |
> |
|
11853 |
> |
int fnord () { return 42; } |
11854 |
|
int main () |
11855 |
|
{ |
11856 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
11859 |
|
if (self) |
11860 |
|
{ |
11861 |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
11862 |
< |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
11862 |
> |
else |
11863 |
> |
{ |
11864 |
> |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
11865 |
> |
else puts (dlerror ()); |
11866 |
> |
} |
11867 |
|
/* dlclose (self); */ |
11868 |
|
} |
11869 |
|
else |
12032 |
|
|
12033 |
|
|
12034 |
|
|
12035 |
+ |
|
12036 |
+ |
|
12037 |
|
ac_config_commands="$ac_config_commands libtool" |
12038 |
|
|
12039 |
|
|
12044 |
|
|
12045 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5 |
12046 |
|
$as_echo_n "checking which extension is used for runtime loadable modules... " >&6; } |
12047 |
< |
if test "${libltdl_cv_shlibext+set}" = set; then : |
12047 |
> |
if ${libltdl_cv_shlibext+:} false; then : |
12048 |
|
$as_echo_n "(cached) " >&6 |
12049 |
|
else |
12050 |
|
|
12051 |
|
module=yes |
12052 |
|
eval libltdl_cv_shlibext=$shrext_cmds |
12053 |
+ |
module=no |
12054 |
+ |
eval libltdl_cv_shrext=$shrext_cmds |
12055 |
|
|
12056 |
|
fi |
12057 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5 |
12063 |
|
_ACEOF |
12064 |
|
|
12065 |
|
fi |
12066 |
+ |
if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then |
12067 |
+ |
|
12068 |
+ |
cat >>confdefs.h <<_ACEOF |
12069 |
+ |
#define LT_SHARED_EXT "$libltdl_cv_shrext" |
12070 |
+ |
_ACEOF |
12071 |
+ |
|
12072 |
+ |
fi |
12073 |
|
|
12074 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5 |
12075 |
|
$as_echo_n "checking which variable specifies run-time module search path... " >&6; } |
12076 |
< |
if test "${lt_cv_module_path_var+set}" = set; then : |
12076 |
> |
if ${lt_cv_module_path_var+:} false; then : |
12077 |
|
$as_echo_n "(cached) " >&6 |
12078 |
|
else |
12079 |
|
lt_cv_module_path_var="$shlibpath_var" |
12090 |
|
|
12091 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5 |
12092 |
|
$as_echo_n "checking for the default library search path... " >&6; } |
12093 |
< |
if test "${lt_cv_sys_dlsearch_path+set}" = set; then : |
12093 |
> |
if ${lt_cv_sys_dlsearch_path+:} false; then : |
12094 |
|
$as_echo_n "(cached) " >&6 |
12095 |
|
else |
12096 |
|
lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec" |
12127 |
|
LIBADD_DLOPEN= |
12128 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 |
12129 |
|
$as_echo_n "checking for library containing dlopen... " >&6; } |
12130 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
12130 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
12131 |
|
$as_echo_n "(cached) " >&6 |
12132 |
|
else |
12133 |
|
ac_func_search_save_LIBS=$LIBS |
12161 |
|
fi |
12162 |
|
rm -f core conftest.err conftest.$ac_objext \ |
12163 |
|
conftest$ac_exeext |
12164 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
12164 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
12165 |
|
break |
12166 |
|
fi |
12167 |
|
done |
12168 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
12168 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
12169 |
|
|
12170 |
|
else |
12171 |
|
ac_cv_search_dlopen=no |
12210 |
|
else |
12211 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
12212 |
|
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
12213 |
< |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : |
12213 |
> |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
12214 |
|
$as_echo_n "(cached) " >&6 |
12215 |
|
else |
12216 |
|
ac_check_lib_save_LIBS=$LIBS |
12244 |
|
fi |
12245 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
12246 |
|
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
12247 |
< |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : |
12247 |
> |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
12248 |
|
|
12249 |
|
$as_echo "#define HAVE_LIBDL 1" >>confdefs.h |
12250 |
|
|
12264 |
|
for ac_func in dlerror |
12265 |
|
do : |
12266 |
|
ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror" |
12267 |
< |
if test "x$ac_cv_func_dlerror" = x""yes; then : |
12267 |
> |
if test "x$ac_cv_func_dlerror" = xyes; then : |
12268 |
|
cat >>confdefs.h <<_ACEOF |
12269 |
|
#define HAVE_DLERROR 1 |
12270 |
|
_ACEOF |
12278 |
|
|
12279 |
|
LIBADD_SHL_LOAD= |
12280 |
|
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
12281 |
< |
if test "x$ac_cv_func_shl_load" = x""yes; then : |
12281 |
> |
if test "x$ac_cv_func_shl_load" = xyes; then : |
12282 |
|
|
12283 |
|
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
12284 |
|
|
12286 |
|
else |
12287 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
12288 |
|
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
12289 |
< |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : |
12289 |
> |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
12290 |
|
$as_echo_n "(cached) " >&6 |
12291 |
|
else |
12292 |
|
ac_check_lib_save_LIBS=$LIBS |
12320 |
|
fi |
12321 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
12322 |
|
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
12323 |
< |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : |
12323 |
> |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
12324 |
|
|
12325 |
|
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
12326 |
|
|
12336 |
|
darwin[1567].*) |
12337 |
|
# We only want this for pre-Mac OS X 10.4. |
12338 |
|
ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup" |
12339 |
< |
if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then : |
12339 |
> |
if test "x$ac_cv_func__dyld_func_lookup" = xyes; then : |
12340 |
|
|
12341 |
|
$as_echo "#define HAVE_DYLD 1" >>confdefs.h |
12342 |
|
|
12350 |
|
cygwin* | mingw* | os2* | pw32*) |
12351 |
|
ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h> |
12352 |
|
" |
12353 |
< |
if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then : |
12353 |
> |
if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then : |
12354 |
|
ac_have_decl=1 |
12355 |
|
else |
12356 |
|
ac_have_decl=0 |
12366 |
|
|
12367 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
12368 |
|
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
12369 |
< |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : |
12369 |
> |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
12370 |
|
$as_echo_n "(cached) " >&6 |
12371 |
|
else |
12372 |
|
ac_check_lib_save_LIBS=$LIBS |
12400 |
|
fi |
12401 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
12402 |
|
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
12403 |
< |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : |
12403 |
> |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
12404 |
|
|
12405 |
|
$as_echo "#define HAVE_DLD 1" >>confdefs.h |
12406 |
|
|
12434 |
|
|
12435 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5 |
12436 |
|
$as_echo_n "checking for _ prefix in compiled symbols... " >&6; } |
12437 |
< |
if test "${lt_cv_sys_symbol_underscore+set}" = set; then : |
12437 |
> |
if ${lt_cv_sys_symbol_underscore+:} false; then : |
12438 |
|
$as_echo_n "(cached) " >&6 |
12439 |
|
else |
12440 |
|
lt_cv_sys_symbol_underscore=no |
12484 |
|
test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then |
12485 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5 |
12486 |
|
$as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; } |
12487 |
< |
if test "${libltdl_cv_need_uscore+set}" = set; then : |
12487 |
> |
if ${libltdl_cv_need_uscore+:} false; then : |
12488 |
|
$as_echo_n "(cached) " >&6 |
12489 |
|
else |
12490 |
|
libltdl_cv_need_uscore=unknown |
12496 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12497 |
|
lt_status=$lt_dlunknown |
12498 |
|
cat > conftest.$ac_ext <<_LT_EOF |
12499 |
< |
#line 11513 "configure" |
12499 |
> |
#line $LINENO "configure" |
12500 |
|
#include "confdefs.h" |
12501 |
|
|
12502 |
|
#if HAVE_DLFCN_H |
12537 |
|
# endif |
12538 |
|
#endif |
12539 |
|
|
12540 |
< |
void fnord() { int i=42;} |
12540 |
> |
/* When -fvisbility=hidden is used, assume the code has been annotated |
12541 |
> |
correspondingly for the symbols needed. */ |
12542 |
> |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
12543 |
> |
int fnord () __attribute__((visibility("default"))); |
12544 |
> |
#endif |
12545 |
> |
|
12546 |
> |
int fnord () { return 42; } |
12547 |
|
int main () |
12548 |
|
{ |
12549 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
12552 |
|
if (self) |
12553 |
|
{ |
12554 |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
12555 |
< |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
12555 |
> |
else |
12556 |
> |
{ |
12557 |
> |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
12558 |
> |
else puts (dlerror ()); |
12559 |
> |
} |
12560 |
|
/* dlclose (self); */ |
12561 |
|
} |
12562 |
|
else |
12600 |
|
|
12601 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5 |
12602 |
|
$as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; } |
12603 |
< |
if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then : |
12603 |
> |
if ${lt_cv_sys_dlopen_deplibs+:} false; then : |
12604 |
|
$as_echo_n "(cached) " >&6 |
12605 |
|
else |
12606 |
|
# PORTME does your system automatically load deplibs for dlopen? |
12632 |
|
freebsd* | dragonfly*) |
12633 |
|
lt_cv_sys_dlopen_deplibs=yes |
12634 |
|
;; |
12635 |
< |
gnu* | linux* | k*bsd*-gnu) |
12635 |
> |
gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu) |
12636 |
|
# GNU and its variants, using gnu ld.so (Glibc) |
12637 |
|
lt_cv_sys_dlopen_deplibs=yes |
12638 |
|
;; |
12706 |
|
do : |
12707 |
|
ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default |
12708 |
|
" |
12709 |
< |
if test "x$ac_cv_header_argz_h" = x""yes; then : |
12709 |
> |
if test "x$ac_cv_header_argz_h" = xyes; then : |
12710 |
|
cat >>confdefs.h <<_ACEOF |
12711 |
|
#define HAVE_ARGZ_H 1 |
12712 |
|
_ACEOF |
12720 |
|
# include <argz.h> |
12721 |
|
#endif |
12722 |
|
" |
12723 |
< |
if test "x$ac_cv_type_error_t" = x""yes; then : |
12723 |
> |
if test "x$ac_cv_type_error_t" = xyes; then : |
12724 |
|
|
12725 |
|
cat >>confdefs.h <<_ACEOF |
12726 |
|
#define HAVE_ERROR_T 1 |
12743 |
|
do : |
12744 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12745 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12746 |
< |
eval as_val=\$$as_ac_var |
11751 |
< |
if test "x$as_val" = x""yes; then : |
12746 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
12747 |
|
cat >>confdefs.h <<_ACEOF |
12748 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12749 |
|
_ACEOF |
12760 |
|
if test -z "$ARGZ_H"; then : |
12761 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5 |
12762 |
|
$as_echo_n "checking if argz actually works... " >&6; } |
12763 |
< |
if test "${lt_cv_sys_argz_works+set}" = set; then : |
12763 |
> |
if ${lt_cv_sys_argz_works+:} false; then : |
12764 |
|
$as_echo_n "(cached) " >&6 |
12765 |
|
else |
12766 |
|
case $host_os in #( |
12791 |
|
fi |
12792 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5 |
12793 |
|
$as_echo "$lt_cv_sys_argz_works" >&6; } |
12794 |
< |
if test $lt_cv_sys_argz_works = yes; then : |
12794 |
> |
if test "$lt_cv_sys_argz_works" = yes; then : |
12795 |
|
|
12796 |
|
$as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h |
12797 |
|
|
12808 |
|
|
12809 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5 |
12810 |
|
$as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; } |
12811 |
< |
if test "${libltdl_cv_preloaded_symbols+set}" = set; then : |
12811 |
> |
if ${libltdl_cv_preloaded_symbols+:} false; then : |
12812 |
|
$as_echo_n "(cached) " >&6 |
12813 |
|
else |
12814 |
|
if test -n "$lt_cv_sys_global_symbol_pipe"; then |
12826 |
|
|
12827 |
|
fi |
12828 |
|
|
11834 |
– |
|
11835 |
– |
|
12829 |
|
# Set options |
12830 |
|
|
12831 |
|
|
12838 |
|
|
12839 |
|
|
12840 |
|
|
11848 |
– |
|
12841 |
|
# Check whether --with-included_ltdl was given. |
12842 |
|
if test "${with_included_ltdl+set}" = set; then : |
12843 |
|
withval=$with_included_ltdl; |
12850 |
|
ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default |
12851 |
|
|
12852 |
|
" |
12853 |
< |
if test "x$ac_cv_header_ltdl_h" = x""yes; then : |
12853 |
> |
if test "x$ac_cv_header_ltdl_h" = xyes; then : |
12854 |
|
ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default |
12855 |
|
#include <ltdl.h> |
12856 |
|
" |
12857 |
< |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then : |
12857 |
> |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then : |
12858 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5 |
12859 |
|
$as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; } |
12860 |
< |
if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then : |
12860 |
> |
if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then : |
12861 |
|
$as_echo_n "(cached) " >&6 |
12862 |
|
else |
12863 |
|
ac_check_lib_save_LIBS=$LIBS |
12891 |
|
fi |
12892 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5 |
12893 |
|
$as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; } |
12894 |
< |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then : |
12894 |
> |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then : |
12895 |
|
with_included_ltdl=no |
12896 |
|
else |
12897 |
|
with_included_ltdl=yes |
12911 |
|
|
12912 |
|
|
12913 |
|
|
11922 |
– |
|
11923 |
– |
|
11924 |
– |
|
11925 |
– |
|
11926 |
– |
|
12914 |
|
# Check whether --with-ltdl_include was given. |
12915 |
|
if test "${with_ltdl_include+set}" = set; then : |
12916 |
|
withval=$with_ltdl_include; |
12920 |
|
if test -n "$with_ltdl_include"; then |
12921 |
|
if test -f "$with_ltdl_include/ltdl.h"; then : |
12922 |
|
else |
12923 |
< |
as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5 |
12923 |
> |
as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5 |
12924 |
|
fi |
12925 |
|
else |
12926 |
|
with_ltdl_include=no |
12936 |
|
if test -n "$with_ltdl_lib"; then |
12937 |
|
if test -f "$with_ltdl_lib/libltdl.la"; then : |
12938 |
|
else |
12939 |
< |
as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5 |
12939 |
> |
as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5 |
12940 |
|
fi |
12941 |
|
else |
12942 |
|
with_ltdl_lib=no |
12945 |
|
case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in |
12946 |
|
,yes,no,no,) |
12947 |
|
case $enable_ltdl_convenience in |
12948 |
< |
no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;; |
12948 |
> |
no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;; |
12949 |
|
"") enable_ltdl_convenience=yes |
12950 |
|
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; |
12951 |
|
esac |
12973 |
|
LTDLINCL= |
12974 |
|
;; |
12975 |
|
,no*,no,*) |
12976 |
< |
as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5 |
12976 |
> |
as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5 |
12977 |
|
;; |
12978 |
|
*) with_included_ltdl=no |
12979 |
|
LIBLTDL="-L$with_ltdl_lib -lltdl" |
13024 |
|
|
13025 |
|
|
13026 |
|
|
12040 |
– |
subdirs="$subdirs libltdl" |
12041 |
– |
|
12042 |
– |
|
13027 |
|
|
13028 |
|
|
13029 |
|
|
13040 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13041 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
13042 |
|
" |
13043 |
< |
eval as_val=\$$as_ac_Header |
12060 |
< |
if test "x$as_val" = x""yes; then : |
13043 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
13044 |
|
cat >>confdefs.h <<_ACEOF |
13045 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13046 |
|
_ACEOF |
13054 |
|
do : |
13055 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13056 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13057 |
< |
eval as_val=\$$as_ac_var |
12075 |
< |
if test "x$as_val" = x""yes; then : |
13057 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13058 |
|
cat >>confdefs.h <<_ACEOF |
13059 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13060 |
|
_ACEOF |
13071 |
|
do : |
13072 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13073 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13074 |
< |
eval as_val=\$$as_ac_var |
12093 |
< |
if test "x$as_val" = x""yes; then : |
13074 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13075 |
|
cat >>confdefs.h <<_ACEOF |
13076 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13077 |
|
_ACEOF |
13091 |
|
_ACEOF |
13092 |
|
|
13093 |
|
|
13094 |
+ |
name= |
13095 |
+ |
eval "lt_libprefix=\"$libname_spec\"" |
13096 |
+ |
|
13097 |
+ |
cat >>confdefs.h <<_ACEOF |
13098 |
+ |
#define LT_LIBPREFIX "$lt_libprefix" |
13099 |
+ |
_ACEOF |
13100 |
+ |
|
13101 |
+ |
|
13102 |
|
name=ltdl |
13103 |
< |
LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""` |
13103 |
> |
eval "LTDLOPEN=\"$libname_spec\"" |
13104 |
|
|
13105 |
|
|
13106 |
|
|
13114 |
|
|
13115 |
|
LIBTOOL="$LIBTOOL --silent" |
13116 |
|
|
12128 |
– |
|
13117 |
|
# Checks for libraries. |
13118 |
|
|
13119 |
+ |
|
13120 |
+ |
if test "X$CC" != "X"; then |
13121 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5 |
13122 |
+ |
$as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; } |
13123 |
+ |
if ${ssp_cv_cc+:} false; then : |
13124 |
+ |
$as_echo_n "(cached) " >&6 |
13125 |
+ |
else |
13126 |
+ |
ssp_old_cflags="$CFLAGS" |
13127 |
+ |
CFLAGS="$CFLAGS -fstack-protector" |
13128 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13129 |
+ |
/* end confdefs.h. */ |
13130 |
+ |
|
13131 |
+ |
int |
13132 |
+ |
main () |
13133 |
+ |
{ |
13134 |
+ |
|
13135 |
+ |
; |
13136 |
+ |
return 0; |
13137 |
+ |
} |
13138 |
+ |
_ACEOF |
13139 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
13140 |
+ |
ssp_cv_cc=yes |
13141 |
+ |
else |
13142 |
+ |
ssp_cv_cc=no |
13143 |
+ |
fi |
13144 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13145 |
+ |
CFLAGS="$ssp_old_cflags" |
13146 |
+ |
|
13147 |
+ |
fi |
13148 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5 |
13149 |
+ |
$as_echo "$ssp_cv_cc" >&6; } |
13150 |
+ |
if test $ssp_cv_cc = yes; then |
13151 |
+ |
CFLAGS="$CFLAGS -fstack-protector" |
13152 |
+ |
|
13153 |
+ |
$as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h |
13154 |
+ |
|
13155 |
+ |
fi |
13156 |
+ |
fi |
13157 |
+ |
|
13158 |
+ |
|
13159 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5 |
13160 |
+ |
$as_echo_n "checking whether libssp exists... " >&6; } |
13161 |
+ |
if ${ssp_cv_lib+:} false; then : |
13162 |
+ |
$as_echo_n "(cached) " >&6 |
13163 |
+ |
else |
13164 |
+ |
ssp_old_libs="$LIBS" |
13165 |
+ |
LIBS="$LIBS -lssp" |
13166 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13167 |
+ |
/* end confdefs.h. */ |
13168 |
+ |
|
13169 |
+ |
int |
13170 |
+ |
main () |
13171 |
+ |
{ |
13172 |
+ |
|
13173 |
+ |
; |
13174 |
+ |
return 0; |
13175 |
+ |
} |
13176 |
+ |
_ACEOF |
13177 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
13178 |
+ |
ssp_cv_lib=yes |
13179 |
+ |
else |
13180 |
+ |
ssp_cv_lib=no |
13181 |
+ |
fi |
13182 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
13183 |
+ |
conftest$ac_exeext conftest.$ac_ext |
13184 |
+ |
LIBS="$ssp_old_libs" |
13185 |
+ |
|
13186 |
+ |
fi |
13187 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5 |
13188 |
+ |
$as_echo "$ssp_cv_lib" >&6; } |
13189 |
+ |
if test $ssp_cv_lib = yes; then |
13190 |
+ |
LIBS="$LIBS -lssp" |
13191 |
+ |
fi |
13192 |
+ |
|
13193 |
+ |
|
13194 |
+ |
|
13195 |
+ |
|
13196 |
+ |
|
13197 |
+ |
|
13198 |
+ |
for flag in -fno-strict-aliasing; do |
13199 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
13200 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
13201 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
13202 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
13203 |
+ |
$as_echo_n "(cached) " >&6 |
13204 |
+ |
else |
13205 |
+ |
|
13206 |
+ |
ax_check_save_flags=$CFLAGS |
13207 |
+ |
CFLAGS="$CFLAGS $flag" |
13208 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13209 |
+ |
/* end confdefs.h. */ |
13210 |
+ |
|
13211 |
+ |
int |
13212 |
+ |
main () |
13213 |
+ |
{ |
13214 |
+ |
|
13215 |
+ |
; |
13216 |
+ |
return 0; |
13217 |
+ |
} |
13218 |
+ |
_ACEOF |
13219 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
13220 |
+ |
eval "$as_CACHEVAR=yes" |
13221 |
+ |
else |
13222 |
+ |
eval "$as_CACHEVAR=no" |
13223 |
+ |
fi |
13224 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13225 |
+ |
CFLAGS=$ax_check_save_flags |
13226 |
+ |
fi |
13227 |
+ |
eval ac_res=\$$as_CACHEVAR |
13228 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
13229 |
+ |
$as_echo "$ac_res" >&6; } |
13230 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
13231 |
+ |
if ${CFLAGS+:} false; then : |
13232 |
+ |
case " $CFLAGS " in |
13233 |
+ |
*" $flag "*) |
13234 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
13235 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
13236 |
+ |
ac_status=$? |
13237 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13238 |
+ |
test $ac_status = 0; } |
13239 |
+ |
;; |
13240 |
+ |
*) |
13241 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
13242 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
13243 |
+ |
ac_status=$? |
13244 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13245 |
+ |
test $ac_status = 0; } |
13246 |
+ |
CFLAGS="$CFLAGS $flag" |
13247 |
+ |
;; |
13248 |
+ |
esac |
13249 |
+ |
else |
13250 |
+ |
CFLAGS="$flag" |
13251 |
+ |
fi |
13252 |
+ |
|
13253 |
+ |
else |
13254 |
+ |
: |
13255 |
+ |
fi |
13256 |
+ |
|
13257 |
+ |
done |
13258 |
+ |
|
13259 |
+ |
|
13260 |
+ |
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" |
13261 |
+ |
if test "x$ac_cv_func_getaddrinfo" = xyes; then : |
13262 |
+ |
|
13263 |
+ |
else |
13264 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5 |
13265 |
+ |
$as_echo_n "checking for library containing getaddrinfo... " >&6; } |
13266 |
+ |
if ${ac_cv_search_getaddrinfo+:} false; then : |
13267 |
+ |
$as_echo_n "(cached) " >&6 |
13268 |
+ |
else |
13269 |
+ |
ac_func_search_save_LIBS=$LIBS |
13270 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13271 |
+ |
/* end confdefs.h. */ |
13272 |
+ |
|
13273 |
+ |
/* Override any GCC internal prototype to avoid an error. |
13274 |
+ |
Use char because int might match the return type of a GCC |
13275 |
+ |
builtin and then its argument prototype would still apply. */ |
13276 |
+ |
#ifdef __cplusplus |
13277 |
+ |
extern "C" |
13278 |
+ |
#endif |
13279 |
+ |
char getaddrinfo (); |
13280 |
+ |
int |
13281 |
+ |
main () |
13282 |
+ |
{ |
13283 |
+ |
return getaddrinfo (); |
13284 |
+ |
; |
13285 |
+ |
return 0; |
13286 |
+ |
} |
13287 |
+ |
_ACEOF |
13288 |
+ |
for ac_lib in '' nsl; do |
13289 |
+ |
if test -z "$ac_lib"; then |
13290 |
+ |
ac_res="none required" |
13291 |
+ |
else |
13292 |
+ |
ac_res=-l$ac_lib |
13293 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13294 |
+ |
fi |
13295 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
13296 |
+ |
ac_cv_search_getaddrinfo=$ac_res |
13297 |
+ |
fi |
13298 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
13299 |
+ |
conftest$ac_exeext |
13300 |
+ |
if ${ac_cv_search_getaddrinfo+:} false; then : |
13301 |
+ |
break |
13302 |
+ |
fi |
13303 |
+ |
done |
13304 |
+ |
if ${ac_cv_search_getaddrinfo+:} false; then : |
13305 |
+ |
|
13306 |
+ |
else |
13307 |
+ |
ac_cv_search_getaddrinfo=no |
13308 |
+ |
fi |
13309 |
+ |
rm conftest.$ac_ext |
13310 |
+ |
LIBS=$ac_func_search_save_LIBS |
13311 |
+ |
fi |
13312 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5 |
13313 |
+ |
$as_echo "$ac_cv_search_getaddrinfo" >&6; } |
13314 |
+ |
ac_res=$ac_cv_search_getaddrinfo |
13315 |
+ |
if test "$ac_res" != no; then : |
13316 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13317 |
+ |
|
13318 |
+ |
fi |
13319 |
+ |
|
13320 |
+ |
fi |
13321 |
+ |
|
13322 |
+ |
ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo" |
13323 |
+ |
if test "x$ac_cv_func_getnameinfo" = xyes; then : |
13324 |
+ |
|
13325 |
+ |
else |
13326 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5 |
13327 |
+ |
$as_echo_n "checking for library containing getnameinfo... " >&6; } |
13328 |
+ |
if ${ac_cv_search_getnameinfo+:} false; then : |
13329 |
+ |
$as_echo_n "(cached) " >&6 |
13330 |
+ |
else |
13331 |
+ |
ac_func_search_save_LIBS=$LIBS |
13332 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13333 |
+ |
/* end confdefs.h. */ |
13334 |
+ |
|
13335 |
+ |
/* Override any GCC internal prototype to avoid an error. |
13336 |
+ |
Use char because int might match the return type of a GCC |
13337 |
+ |
builtin and then its argument prototype would still apply. */ |
13338 |
+ |
#ifdef __cplusplus |
13339 |
+ |
extern "C" |
13340 |
+ |
#endif |
13341 |
+ |
char getnameinfo (); |
13342 |
+ |
int |
13343 |
+ |
main () |
13344 |
+ |
{ |
13345 |
+ |
return getnameinfo (); |
13346 |
+ |
; |
13347 |
+ |
return 0; |
13348 |
+ |
} |
13349 |
+ |
_ACEOF |
13350 |
+ |
for ac_lib in '' nsl; do |
13351 |
+ |
if test -z "$ac_lib"; then |
13352 |
+ |
ac_res="none required" |
13353 |
+ |
else |
13354 |
+ |
ac_res=-l$ac_lib |
13355 |
+ |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13356 |
+ |
fi |
13357 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
13358 |
+ |
ac_cv_search_getnameinfo=$ac_res |
13359 |
+ |
fi |
13360 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
13361 |
+ |
conftest$ac_exeext |
13362 |
+ |
if ${ac_cv_search_getnameinfo+:} false; then : |
13363 |
+ |
break |
13364 |
+ |
fi |
13365 |
+ |
done |
13366 |
+ |
if ${ac_cv_search_getnameinfo+:} false; then : |
13367 |
+ |
|
13368 |
+ |
else |
13369 |
+ |
ac_cv_search_getnameinfo=no |
13370 |
+ |
fi |
13371 |
+ |
rm conftest.$ac_ext |
13372 |
+ |
LIBS=$ac_func_search_save_LIBS |
13373 |
+ |
fi |
13374 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5 |
13375 |
+ |
$as_echo "$ac_cv_search_getnameinfo" >&6; } |
13376 |
+ |
ac_res=$ac_cv_search_getnameinfo |
13377 |
+ |
if test "$ac_res" != no; then : |
13378 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13379 |
+ |
|
13380 |
+ |
fi |
13381 |
+ |
|
13382 |
+ |
fi |
13383 |
+ |
|
13384 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
13385 |
|
$as_echo_n "checking for library containing socket... " >&6; } |
13386 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
13386 |
> |
if ${ac_cv_search_socket+:} false; then : |
13387 |
|
$as_echo_n "(cached) " >&6 |
13388 |
|
else |
13389 |
|
ac_func_search_save_LIBS=$LIBS |
13417 |
|
fi |
13418 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13419 |
|
conftest$ac_exeext |
13420 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
13420 |
> |
if ${ac_cv_search_socket+:} false; then : |
13421 |
|
break |
13422 |
|
fi |
13423 |
|
done |
13424 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
13424 |
> |
if ${ac_cv_search_socket+:} false; then : |
13425 |
|
|
13426 |
|
else |
13427 |
|
ac_cv_search_socket=no |
13436 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13437 |
|
|
13438 |
|
else |
13439 |
< |
as_fn_error "socket library not found" "$LINENO" 5 |
13439 |
> |
as_fn_error $? "socket library not found" "$LINENO" 5 |
13440 |
|
fi |
13441 |
|
|
13442 |
< |
for ac_func in inet_aton inet_ntop inet_pton |
13443 |
< |
do : |
13444 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13445 |
< |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13446 |
< |
eval as_val=\$$as_ac_var |
12194 |
< |
if test "x$as_val" = x""yes; then : |
12195 |
< |
cat >>confdefs.h <<_ACEOF |
12196 |
< |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12197 |
< |
_ACEOF |
13442 |
> |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h> |
13443 |
> |
" |
13444 |
> |
if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : |
13445 |
> |
|
13446 |
> |
$as_echo "#define IPV6 1" >>confdefs.h |
13447 |
|
|
13448 |
|
fi |
12200 |
– |
done |
13449 |
|
|
13450 |
|
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h> |
13451 |
|
#include <sys/socket.h> |
13452 |
|
#include <netdb.h> |
13453 |
|
|
13454 |
|
" |
13455 |
< |
if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then : |
13455 |
> |
if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then : |
13456 |
|
|
13457 |
|
cat >>confdefs.h <<_ACEOF |
13458 |
|
#define HAVE_STRUCT_SOCKADDR_IN 1 |
13465 |
|
#include <netdb.h> |
13466 |
|
|
13467 |
|
" |
13468 |
< |
if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : |
13468 |
> |
if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then : |
13469 |
|
|
13470 |
|
cat >>confdefs.h <<_ACEOF |
13471 |
|
#define HAVE_STRUCT_SOCKADDR_STORAGE 1 |
13478 |
|
#include <netdb.h> |
13479 |
|
|
13480 |
|
" |
13481 |
< |
if test "x$ac_cv_type_struct_addrinfo" = x""yes; then : |
13481 |
> |
if test "x$ac_cv_type_struct_addrinfo" = xyes; then : |
13482 |
|
|
13483 |
|
cat >>confdefs.h <<_ACEOF |
13484 |
|
#define HAVE_STRUCT_ADDRINFO 1 |
13487 |
|
|
13488 |
|
fi |
13489 |
|
|
12242 |
– |
ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h> |
12243 |
– |
<sys/socket.h> |
12244 |
– |
" |
12245 |
– |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then : |
12246 |
– |
|
12247 |
– |
cat >>confdefs.h <<_ACEOF |
12248 |
– |
#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 |
12249 |
– |
_ACEOF |
12250 |
– |
|
12251 |
– |
|
12252 |
– |
fi |
12253 |
– |
|
12254 |
– |
|
12255 |
– |
|
12256 |
– |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default" |
12257 |
– |
if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then : |
12258 |
– |
|
12259 |
– |
cat >>confdefs.h <<_ACEOF |
12260 |
– |
#define HAVE_STRUCT_SOCKADDR_IN6 1 |
12261 |
– |
_ACEOF |
12262 |
– |
|
12263 |
– |
|
12264 |
– |
else |
12265 |
– |
|
12266 |
– |
$as_echo "#define IPV6 1" >>confdefs.h |
12267 |
– |
|
12268 |
– |
fi |
12269 |
– |
|
12270 |
– |
|
13490 |
|
|
13491 |
|
|
13492 |
|
# Checks for typedefs, structures, and compiler characteristics. |
12274 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
12275 |
– |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
12276 |
– |
if test "${ac_cv_c_const+set}" = set; then : |
12277 |
– |
$as_echo_n "(cached) " >&6 |
12278 |
– |
else |
12279 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12280 |
– |
/* end confdefs.h. */ |
12281 |
– |
|
12282 |
– |
int |
12283 |
– |
main () |
12284 |
– |
{ |
12285 |
– |
/* FIXME: Include the comments suggested by Paul. */ |
12286 |
– |
#ifndef __cplusplus |
12287 |
– |
/* Ultrix mips cc rejects this. */ |
12288 |
– |
typedef int charset[2]; |
12289 |
– |
const charset cs; |
12290 |
– |
/* SunOS 4.1.1 cc rejects this. */ |
12291 |
– |
char const *const *pcpcc; |
12292 |
– |
char **ppc; |
12293 |
– |
/* NEC SVR4.0.2 mips cc rejects this. */ |
12294 |
– |
struct point {int x, y;}; |
12295 |
– |
static struct point const zero = {0,0}; |
12296 |
– |
/* AIX XL C 1.02.0.0 rejects this. |
12297 |
– |
It does not let you subtract one const X* pointer from another in |
12298 |
– |
an arm of an if-expression whose if-part is not a constant |
12299 |
– |
expression */ |
12300 |
– |
const char *g = "string"; |
12301 |
– |
pcpcc = &g + (g ? g-g : 0); |
12302 |
– |
/* HPUX 7.0 cc rejects these. */ |
12303 |
– |
++pcpcc; |
12304 |
– |
ppc = (char**) pcpcc; |
12305 |
– |
pcpcc = (char const *const *) ppc; |
12306 |
– |
{ /* SCO 3.2v4 cc rejects this. */ |
12307 |
– |
char *t; |
12308 |
– |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
12309 |
– |
|
12310 |
– |
*t++ = 0; |
12311 |
– |
if (s) return 0; |
12312 |
– |
} |
12313 |
– |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
12314 |
– |
int x[] = {25, 17}; |
12315 |
– |
const int *foo = &x[0]; |
12316 |
– |
++foo; |
12317 |
– |
} |
12318 |
– |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
12319 |
– |
typedef const int *iptr; |
12320 |
– |
iptr p = 0; |
12321 |
– |
++p; |
12322 |
– |
} |
12323 |
– |
{ /* AIX XL C 1.02.0.0 rejects this saying |
12324 |
– |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
12325 |
– |
struct s { int j; const int *ap[3]; }; |
12326 |
– |
struct s *b; b->j = 5; |
12327 |
– |
} |
12328 |
– |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
12329 |
– |
const int foo = 10; |
12330 |
– |
if (!foo) return 0; |
12331 |
– |
} |
12332 |
– |
return !cs[0] && !zero.x; |
12333 |
– |
#endif |
12334 |
– |
|
12335 |
– |
; |
12336 |
– |
return 0; |
12337 |
– |
} |
12338 |
– |
_ACEOF |
12339 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
12340 |
– |
ac_cv_c_const=yes |
12341 |
– |
else |
12342 |
– |
ac_cv_c_const=no |
12343 |
– |
fi |
12344 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12345 |
– |
fi |
12346 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
12347 |
– |
$as_echo "$ac_cv_c_const" >&6; } |
12348 |
– |
if test $ac_cv_c_const = no; then |
12349 |
– |
|
12350 |
– |
$as_echo "#define const /**/" >>confdefs.h |
12351 |
– |
|
12352 |
– |
fi |
12353 |
– |
|
12354 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
12355 |
– |
$as_echo_n "checking for inline... " >&6; } |
12356 |
– |
if test "${ac_cv_c_inline+set}" = set; then : |
12357 |
– |
$as_echo_n "(cached) " >&6 |
12358 |
– |
else |
12359 |
– |
ac_cv_c_inline=no |
12360 |
– |
for ac_kw in inline __inline__ __inline; do |
12361 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12362 |
– |
/* end confdefs.h. */ |
12363 |
– |
#ifndef __cplusplus |
12364 |
– |
typedef int foo_t; |
12365 |
– |
static $ac_kw foo_t static_foo () {return 0; } |
12366 |
– |
$ac_kw foo_t foo () {return 0; } |
12367 |
– |
#endif |
12368 |
– |
|
12369 |
– |
_ACEOF |
12370 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
12371 |
– |
ac_cv_c_inline=$ac_kw |
12372 |
– |
fi |
12373 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12374 |
– |
test "$ac_cv_c_inline" != no && break |
12375 |
– |
done |
12376 |
– |
|
12377 |
– |
fi |
12378 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
12379 |
– |
$as_echo "$ac_cv_c_inline" >&6; } |
12380 |
– |
|
12381 |
– |
case $ac_cv_c_inline in |
12382 |
– |
inline | yes) ;; |
12383 |
– |
*) |
12384 |
– |
case $ac_cv_c_inline in |
12385 |
– |
no) ac_val=;; |
12386 |
– |
*) ac_val=$ac_cv_c_inline;; |
12387 |
– |
esac |
12388 |
– |
cat >>confdefs.h <<_ACEOF |
12389 |
– |
#ifndef __cplusplus |
12390 |
– |
#define inline $ac_val |
12391 |
– |
#endif |
12392 |
– |
_ACEOF |
12393 |
– |
;; |
12394 |
– |
esac |
12395 |
– |
|
13493 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
13494 |
|
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
13495 |
< |
if test "${ac_cv_c_bigendian+set}" = set; then : |
13495 |
> |
if ${ac_cv_c_bigendian+:} false; then : |
13496 |
|
$as_echo_n "(cached) " >&6 |
13497 |
|
else |
13498 |
|
ac_cv_c_bigendian=unknown |
13710 |
|
|
13711 |
|
;; #( |
13712 |
|
*) |
13713 |
< |
as_fn_error "unknown endianness |
13713 |
> |
as_fn_error $? "unknown endianness |
13714 |
|
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
13715 |
|
esac |
13716 |
|
|
13717 |
|
|
12621 |
– |
# The cast to long int works around a bug in the HP C Compiler |
12622 |
– |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
12623 |
– |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
12624 |
– |
# This bug is HP SR number 8606223364. |
12625 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5 |
12626 |
– |
$as_echo_n "checking size of int64_t... " >&6; } |
12627 |
– |
if test "${ac_cv_sizeof_int64_t+set}" = set; then : |
12628 |
– |
$as_echo_n "(cached) " >&6 |
12629 |
– |
else |
12630 |
– |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t" "$ac_includes_default"; then : |
12631 |
– |
|
12632 |
– |
else |
12633 |
– |
if test "$ac_cv_type_int64_t" = yes; then |
12634 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
12635 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
12636 |
– |
{ as_fn_set_status 77 |
12637 |
– |
as_fn_error "cannot compute sizeof (int64_t) |
12638 |
– |
See \`config.log' for more details." "$LINENO" 5; }; } |
12639 |
– |
else |
12640 |
– |
ac_cv_sizeof_int64_t=0 |
12641 |
– |
fi |
12642 |
– |
fi |
12643 |
– |
|
12644 |
– |
fi |
12645 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5 |
12646 |
– |
$as_echo "$ac_cv_sizeof_int64_t" >&6; } |
12647 |
– |
|
12648 |
– |
|
12649 |
– |
|
12650 |
– |
cat >>confdefs.h <<_ACEOF |
12651 |
– |
#define SIZEOF_INT64_T $ac_cv_sizeof_int64_t |
12652 |
– |
_ACEOF |
12653 |
– |
|
12654 |
– |
|
12655 |
– |
# The cast to long int works around a bug in the HP C Compiler |
12656 |
– |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
12657 |
– |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
12658 |
– |
# This bug is HP SR number 8606223364. |
12659 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 |
12660 |
– |
$as_echo_n "checking size of long long... " >&6; } |
12661 |
– |
if test "${ac_cv_sizeof_long_long+set}" = set; then : |
12662 |
– |
$as_echo_n "(cached) " >&6 |
12663 |
– |
else |
12664 |
– |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : |
12665 |
– |
|
12666 |
– |
else |
12667 |
– |
if test "$ac_cv_type_long_long" = yes; then |
12668 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
12669 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
12670 |
– |
{ as_fn_set_status 77 |
12671 |
– |
as_fn_error "cannot compute sizeof (long long) |
12672 |
– |
See \`config.log' for more details." "$LINENO" 5; }; } |
12673 |
– |
else |
12674 |
– |
ac_cv_sizeof_long_long=0 |
12675 |
– |
fi |
12676 |
– |
fi |
12677 |
– |
|
12678 |
– |
fi |
12679 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 |
12680 |
– |
$as_echo "$ac_cv_sizeof_long_long" >&6; } |
12681 |
– |
|
12682 |
– |
|
12683 |
– |
|
12684 |
– |
cat >>confdefs.h <<_ACEOF |
12685 |
– |
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
12686 |
– |
_ACEOF |
12687 |
– |
|
12688 |
– |
|
12689 |
– |
|
12690 |
– |
if test "$ac_cv_sizeof_int64_t" = 8; then |
12691 |
– |
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
12692 |
– |
if test "x$ac_cv_type_uint64_t" = x""yes; then : |
12693 |
– |
|
12694 |
– |
fi |
12695 |
– |
|
12696 |
– |
ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
12697 |
– |
if test "x$ac_cv_type_int64_t" = x""yes; then : |
12698 |
– |
|
12699 |
– |
fi |
12700 |
– |
|
12701 |
– |
elif test "$ac_cv_sizeof_long_long" = 8; then |
12702 |
– |
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
12703 |
– |
if test "x$ac_cv_type_uint64_t" = x""yes; then : |
12704 |
– |
|
12705 |
– |
else |
12706 |
– |
|
12707 |
– |
cat >>confdefs.h <<_ACEOF |
12708 |
– |
#define uint64_t unsigned long long |
12709 |
– |
_ACEOF |
12710 |
– |
|
12711 |
– |
fi |
12712 |
– |
|
12713 |
– |
ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
12714 |
– |
if test "x$ac_cv_type_int64_t" = x""yes; then : |
12715 |
– |
|
12716 |
– |
else |
12717 |
– |
|
12718 |
– |
cat >>confdefs.h <<_ACEOF |
12719 |
– |
#define int64_t long long |
12720 |
– |
_ACEOF |
12721 |
– |
|
12722 |
– |
fi |
12723 |
– |
|
12724 |
– |
else |
12725 |
– |
as_fn_error "Your system doesn't appear to have 64 bit integers. Aborting." "$LINENO" 5 |
12726 |
– |
fi |
12727 |
– |
|
12728 |
– |
|
13718 |
|
# Checks for library functions. |
13719 |
|
|
13720 |
|
|
13723 |
|
do : |
13724 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13725 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13726 |
< |
eval as_val=\$$as_ac_var |
12738 |
< |
if test "x$as_val" = x""yes; then : |
13726 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13727 |
|
cat >>confdefs.h <<_ACEOF |
13728 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13729 |
|
_ACEOF |
13741 |
|
|
13742 |
|
|
13743 |
|
|
12756 |
– |
|
12757 |
– |
|
12758 |
– |
|
12759 |
– |
|
12760 |
– |
|
12761 |
– |
|
13744 |
|
# Checks for header files. |
13745 |
|
|
13746 |
|
|
13750 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13751 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
13752 |
|
" |
13753 |
< |
eval as_val=\$$as_ac_Header |
12772 |
< |
if test "x$as_val" = x""yes; then : |
13753 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
13754 |
|
cat >>confdefs.h <<_ACEOF |
13755 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13756 |
|
_ACEOF |
13775 |
|
|
13776 |
|
|
13777 |
|
|
12797 |
– |
|
12798 |
– |
|
12799 |
– |
|
12800 |
– |
|
12801 |
– |
|
12802 |
– |
|
12803 |
– |
|
12804 |
– |
|
12805 |
– |
|
12806 |
– |
|
12807 |
– |
|
12808 |
– |
|
12809 |
– |
|
12810 |
– |
|
12811 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5 |
12812 |
– |
$as_echo_n "checking for /dev/null... " >&6; } |
12813 |
– |
if test -c /dev/null ; then |
12814 |
– |
|
12815 |
– |
$as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h |
12816 |
– |
|
12817 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
12818 |
– |
$as_echo "yes" >&6; } |
12819 |
– |
else |
12820 |
– |
|
12821 |
– |
$as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h |
12822 |
– |
|
12823 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5 |
12824 |
– |
$as_echo "no - using devnull.log" >&6; } |
12825 |
– |
fi |
12826 |
– |
|
12827 |
– |
|
13778 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
13779 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
13780 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
13780 |
> |
if ${ac_cv_search_crypt+:} false; then : |
13781 |
|
$as_echo_n "(cached) " >&6 |
13782 |
|
else |
13783 |
|
ac_func_search_save_LIBS=$LIBS |
13811 |
|
fi |
13812 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13813 |
|
conftest$ac_exeext |
13814 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
13814 |
> |
if ${ac_cv_search_crypt+:} false; then : |
13815 |
|
break |
13816 |
|
fi |
13817 |
|
done |
13818 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
13818 |
> |
if ${ac_cv_search_crypt+:} false; then : |
13819 |
|
|
13820 |
|
else |
13821 |
|
ac_cv_search_crypt=no |
13832 |
|
fi |
13833 |
|
|
13834 |
|
|
13835 |
< |
|
13836 |
< |
|
13837 |
< |
# Check whether --with-zlib-path was given. |
13838 |
< |
if test "${with_zlib_path+set}" = set; then : |
13839 |
< |
withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS" |
13840 |
< |
fi |
13841 |
< |
|
13842 |
< |
|
13843 |
< |
# Check whether --enable-zlib was given. |
12894 |
< |
if test "${enable_zlib+set}" = set; then : |
12895 |
< |
enableval=$enable_zlib; zlib=$enableval |
12896 |
< |
else |
12897 |
< |
zlib=yes |
12898 |
< |
fi |
12899 |
< |
|
12900 |
< |
|
12901 |
< |
if test "$zlib" = yes; then |
12902 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
12903 |
< |
if test "x$ac_cv_header_zlib_h" = x""yes; then : |
12904 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 |
12905 |
< |
$as_echo_n "checking for zlibVersion in -lz... " >&6; } |
12906 |
< |
if test "${ac_cv_lib_z_zlibVersion+set}" = set; then : |
13835 |
> |
# Check whether --enable-libgeoip was given. |
13836 |
> |
if test "${enable_libgeoip+set}" = set; then : |
13837 |
> |
enableval=$enable_libgeoip; |
13838 |
> |
else |
13839 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default" |
13840 |
> |
if test "x$ac_cv_header_GeoIP_h" = xyes; then : |
13841 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5 |
13842 |
> |
$as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; } |
13843 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13844 |
|
$as_echo_n "(cached) " >&6 |
13845 |
|
else |
13846 |
< |
ac_check_lib_save_LIBS=$LIBS |
12910 |
< |
LIBS="-lz $LIBS" |
13846 |
> |
ac_func_search_save_LIBS=$LIBS |
13847 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13848 |
|
/* end confdefs.h. */ |
13849 |
|
|
13853 |
|
#ifdef __cplusplus |
13854 |
|
extern "C" |
13855 |
|
#endif |
13856 |
< |
char zlibVersion (); |
13856 |
> |
char GeoIP_id_by_ipnum_v6_gl (); |
13857 |
|
int |
13858 |
|
main () |
13859 |
|
{ |
13860 |
< |
return zlibVersion (); |
13860 |
> |
return GeoIP_id_by_ipnum_v6_gl (); |
13861 |
|
; |
13862 |
|
return 0; |
13863 |
|
} |
13864 |
|
_ACEOF |
13865 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
13866 |
< |
ac_cv_lib_z_zlibVersion=yes |
13867 |
< |
else |
13868 |
< |
ac_cv_lib_z_zlibVersion=no |
13865 |
> |
for ac_lib in '' GeoIP; do |
13866 |
> |
if test -z "$ac_lib"; then |
13867 |
> |
ac_res="none required" |
13868 |
> |
else |
13869 |
> |
ac_res=-l$ac_lib |
13870 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13871 |
> |
fi |
13872 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
13873 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res |
13874 |
|
fi |
13875 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13876 |
< |
conftest$ac_exeext conftest.$ac_ext |
13877 |
< |
LIBS=$ac_check_lib_save_LIBS |
13876 |
> |
conftest$ac_exeext |
13877 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13878 |
> |
break |
13879 |
|
fi |
13880 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 |
13881 |
< |
$as_echo "$ac_cv_lib_z_zlibVersion" >&6; } |
12940 |
< |
if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then : |
12941 |
< |
|
12942 |
< |
LIBS="-lz $LIBS" |
12943 |
< |
|
12944 |
< |
$as_echo "#define HAVE_LIBZ 1" >>confdefs.h |
12945 |
< |
|
13880 |
> |
done |
13881 |
> |
if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then : |
13882 |
|
|
13883 |
|
else |
13884 |
< |
zlib=no |
13884 |
> |
ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no |
13885 |
> |
fi |
13886 |
> |
rm conftest.$ac_ext |
13887 |
> |
LIBS=$ac_func_search_save_LIBS |
13888 |
|
fi |
13889 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5 |
13890 |
+ |
$as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; } |
13891 |
+ |
ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl |
13892 |
+ |
if test "$ac_res" != no; then : |
13893 |
+ |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13894 |
|
|
13895 |
+ |
$as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h |
13896 |
+ |
|
13897 |
+ |
fi |
13898 |
|
|
12952 |
– |
else |
12953 |
– |
zlib=no |
13899 |
|
fi |
13900 |
|
|
13901 |
|
|
13902 |
|
fi |
13903 |
|
|
13904 |
|
|
13905 |
+ |
|
13906 |
|
# Check whether --enable-openssl was given. |
13907 |
|
if test "${enable_openssl+set}" = set; then : |
13908 |
|
enableval=$enable_openssl; cf_enable_openssl=$enableval |
13942 |
|
fi |
13943 |
|
|
13944 |
|
if test ! -z "$cf_openssl_basedir"; then |
12999 |
– |
LIBS="-lcrypto -lssl $LIBS" |
13945 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
13946 |
|
$as_echo "$cf_openssl_basedir" >&6; } |
13947 |
|
cf_enable_openssl="yes" |
13003 |
– |
|
13004 |
– |
$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
13005 |
– |
|
13948 |
|
else |
13949 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
13950 |
< |
$as_echo "not found. Please check your path." >&6; } |
13949 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
13950 |
> |
$as_echo "not found. Please check your path." >&6; } |
13951 |
|
cf_enable_openssl="no" |
13952 |
|
fi |
13953 |
|
unset cf_openssl_basedir |
13955 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
13956 |
|
$as_echo "disabled" >&6; } |
13957 |
|
fi |
13016 |
– |
if test "$cf_enable_openssl" = yes; then |
13017 |
– |
ENABLE_SSL_TRUE= |
13018 |
– |
ENABLE_SSL_FALSE='#' |
13019 |
– |
else |
13020 |
– |
ENABLE_SSL_TRUE='#' |
13021 |
– |
ENABLE_SSL_FALSE= |
13022 |
– |
fi |
13958 |
|
|
13959 |
+ |
if test "$cf_enable_openssl" != "no"; then : |
13960 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8o or above" >&5 |
13961 |
+ |
$as_echo_n "checking for OpenSSL 0.9.8o or above... " >&6; } |
13962 |
+ |
if test "$cross_compiling" = yes; then : |
13963 |
+ |
cf_openssl_version_ok=no |
13964 |
+ |
else |
13965 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13966 |
+ |
/* end confdefs.h. */ |
13967 |
|
|
13968 |
|
|
13969 |
< |
# Check whether --enable-assert was given. |
13970 |
< |
if test "${enable_assert+set}" = set; then : |
13971 |
< |
enableval=$enable_assert; assert=$enableval |
13969 |
> |
#include <openssl/opensslv.h> |
13970 |
> |
#include <stdlib.h> |
13971 |
> |
int |
13972 |
> |
main () |
13973 |
> |
{ |
13974 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL)); |
13975 |
> |
; |
13976 |
> |
return 0; |
13977 |
> |
} |
13978 |
> |
_ACEOF |
13979 |
> |
if ac_fn_c_try_run "$LINENO"; then : |
13980 |
> |
cf_openssl_version_ok=yes |
13981 |
|
else |
13982 |
< |
assert=no |
13982 |
> |
cf_openssl_version_ok=no |
13983 |
> |
fi |
13984 |
> |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
13985 |
> |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
13986 |
|
fi |
13987 |
|
|
13033 |
– |
if test "$assert" = no; then |
13988 |
|
|
13989 |
< |
$as_echo "#define NDEBUG 1" >>confdefs.h |
13989 |
> |
if test "$cf_openssl_version_ok" = "yes"; then : |
13990 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
13991 |
> |
$as_echo "found" >&6; } |
13992 |
> |
|
13993 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
13994 |
> |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
13995 |
> |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
13996 |
> |
$as_echo_n "(cached) " >&6 |
13997 |
> |
else |
13998 |
> |
ac_check_lib_save_LIBS=$LIBS |
13999 |
> |
LIBS="-lcrypto $LIBS" |
14000 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14001 |
> |
/* end confdefs.h. */ |
14002 |
|
|
14003 |
+ |
/* Override any GCC internal prototype to avoid an error. |
14004 |
+ |
Use char because int might match the return type of a GCC |
14005 |
+ |
builtin and then its argument prototype would still apply. */ |
14006 |
+ |
#ifdef __cplusplus |
14007 |
+ |
extern "C" |
14008 |
+ |
#endif |
14009 |
+ |
char RSA_free (); |
14010 |
+ |
int |
14011 |
+ |
main () |
14012 |
+ |
{ |
14013 |
+ |
return RSA_free (); |
14014 |
+ |
; |
14015 |
+ |
return 0; |
14016 |
+ |
} |
14017 |
+ |
_ACEOF |
14018 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
14019 |
+ |
ac_cv_lib_crypto_RSA_free=yes |
14020 |
+ |
else |
14021 |
+ |
ac_cv_lib_crypto_RSA_free=no |
14022 |
|
fi |
14023 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
14024 |
+ |
conftest$ac_exeext conftest.$ac_ext |
14025 |
+ |
LIBS=$ac_check_lib_save_LIBS |
14026 |
+ |
fi |
14027 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
14028 |
+ |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
14029 |
+ |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
14030 |
+ |
cat >>confdefs.h <<_ACEOF |
14031 |
+ |
#define HAVE_LIBCRYPTO 1 |
14032 |
+ |
_ACEOF |
14033 |
|
|
14034 |
+ |
LIBS="-lcrypto $LIBS" |
14035 |
|
|
13040 |
– |
# Check whether --enable-small-net was given. |
13041 |
– |
if test "${enable_small_net+set}" = set; then : |
13042 |
– |
enableval=$enable_small_net; small_net=$enableval |
13043 |
– |
else |
13044 |
– |
small_net=no |
14036 |
|
fi |
14037 |
|
|
14038 |
+ |
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
14039 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
14040 |
+ |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
14041 |
+ |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
14042 |
+ |
$as_echo_n "(cached) " >&6 |
14043 |
+ |
else |
14044 |
+ |
ac_check_lib_save_LIBS=$LIBS |
14045 |
+ |
LIBS="-lssl $LIBS" |
14046 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14047 |
+ |
/* end confdefs.h. */ |
14048 |
|
|
14049 |
< |
if test "$small_net" = yes; then |
14049 |
> |
/* Override any GCC internal prototype to avoid an error. |
14050 |
> |
Use char because int might match the return type of a GCC |
14051 |
> |
builtin and then its argument prototype would still apply. */ |
14052 |
> |
#ifdef __cplusplus |
14053 |
> |
extern "C" |
14054 |
> |
#endif |
14055 |
> |
char SSL_connect (); |
14056 |
> |
int |
14057 |
> |
main () |
14058 |
> |
{ |
14059 |
> |
return SSL_connect (); |
14060 |
> |
; |
14061 |
> |
return 0; |
14062 |
> |
} |
14063 |
> |
_ACEOF |
14064 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
14065 |
> |
ac_cv_lib_ssl_SSL_connect=yes |
14066 |
> |
else |
14067 |
> |
ac_cv_lib_ssl_SSL_connect=no |
14068 |
> |
fi |
14069 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
14070 |
> |
conftest$ac_exeext conftest.$ac_ext |
14071 |
> |
LIBS=$ac_check_lib_save_LIBS |
14072 |
> |
fi |
14073 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
14074 |
> |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
14075 |
> |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
14076 |
> |
cat >>confdefs.h <<_ACEOF |
14077 |
> |
#define HAVE_LIBSSL 1 |
14078 |
> |
_ACEOF |
14079 |
|
|
14080 |
< |
$as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h |
14080 |
> |
LIBS="-lssl $LIBS" |
14081 |
|
|
14082 |
+ |
fi |
14083 |
|
|
14084 |
< |
$as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h |
14084 |
> |
fi |
14085 |
|
|
14086 |
+ |
else |
14087 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5 |
14088 |
+ |
$as_echo "no - OpenSSL support disabled" >&6; } |
14089 |
+ |
cf_enable_openssl="no" |
14090 |
+ |
fi |
14091 |
+ |
fi |
14092 |
|
|
14093 |
< |
$as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h |
14093 |
> |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
14094 |
> |
ENABLE_SSL_TRUE= |
14095 |
> |
ENABLE_SSL_FALSE='#' |
14096 |
> |
else |
14097 |
> |
ENABLE_SSL_TRUE='#' |
14098 |
> |
ENABLE_SSL_FALSE= |
14099 |
> |
fi |
14100 |
|
|
14101 |
|
|
13059 |
– |
$as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h |
14102 |
|
|
14103 |
+ |
# Check whether --enable-assert was given. |
14104 |
+ |
if test "${enable_assert+set}" = set; then : |
14105 |
+ |
enableval=$enable_assert; assert=$enableval |
14106 |
+ |
else |
14107 |
+ |
assert=no |
14108 |
+ |
fi |
14109 |
|
|
13062 |
– |
$as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h |
14110 |
|
|
14111 |
+ |
if test "$assert" = "no"; then : |
14112 |
|
|
14113 |
< |
$as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h |
14113 |
> |
$as_echo "#define NDEBUG 1" >>confdefs.h |
14114 |
|
|
14115 |
+ |
fi |
14116 |
|
|
13068 |
– |
$as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h |
14117 |
|
|
14118 |
+ |
$as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h |
14119 |
|
|
13071 |
– |
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
14120 |
|
|
14121 |
+ |
$as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h |
14122 |
|
|
13074 |
– |
$as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h |
14123 |
|
|
14124 |
+ |
$as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h |
14125 |
|
|
13077 |
– |
$as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h |
14126 |
|
|
14127 |
< |
else |
14127 |
> |
$as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h |
14128 |
|
|
13081 |
– |
$as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h |
14129 |
|
|
14130 |
+ |
$as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h |
14131 |
|
|
13084 |
– |
$as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h |
14132 |
|
|
14133 |
+ |
$as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h |
14134 |
|
|
13087 |
– |
$as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h |
14135 |
|
|
14136 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h |
14137 |
|
|
13090 |
– |
$as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h |
14138 |
|
|
14139 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h |
14140 |
|
|
13093 |
– |
$as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h |
14141 |
|
|
14142 |
+ |
$as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h |
14143 |
|
|
13096 |
– |
$as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h |
14144 |
|
|
14145 |
+ |
$as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h |
14146 |
|
|
13099 |
– |
$as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h |
14147 |
|
|
14148 |
+ |
$as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h |
14149 |
|
|
13102 |
– |
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
14150 |
|
|
14151 |
+ |
$as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h |
14152 |
|
|
13105 |
– |
$as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h |
14153 |
|
|
14154 |
+ |
$as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h |
14155 |
|
|
13108 |
– |
$as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h |
14156 |
|
|
14157 |
< |
fi |
14157 |
> |
$as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h |
14158 |
|
|
14159 |
|
|
14160 |
|
# Argument processing. |
14161 |
|
|
14162 |
< |
desired_iopoll_mechanism="none" |
14163 |
< |
# Check whether --enable-kqueue was given. |
14162 |
> |
desired_iopoll_mechanism="none" |
14163 |
> |
|
14164 |
> |
# Check whether --enable-kqueue was given. |
14165 |
|
if test "${enable_kqueue+set}" = set; then : |
14166 |
|
enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue" |
14167 |
|
fi |
14176 |
|
enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll" |
14177 |
|
fi |
14178 |
|
|
13131 |
– |
# Check whether --enable-rtsigio was given. |
13132 |
– |
if test "${enable_rtsigio+set}" = set; then : |
13133 |
– |
enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio" |
13134 |
– |
fi |
13135 |
– |
|
14179 |
|
# Check whether --enable-poll was given. |
14180 |
|
if test "${enable_poll+set}" = set; then : |
14181 |
|
enableval=$enable_poll; desired_iopoll_mechanism="poll" |
14182 |
|
fi |
14183 |
|
|
13141 |
– |
# Check whether --enable-select was given. |
13142 |
– |
if test "${enable_select+set}" = set; then : |
13143 |
– |
enableval=$enable_select; desired_iopoll_mechanism="select" |
13144 |
– |
fi |
14184 |
|
|
14185 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5 |
14185 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5 |
14186 |
|
$as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; } |
14187 |
+ |
|
14188 |
|
iopoll_mechanism_none=0 |
14189 |
|
|
14190 |
|
cat >>confdefs.h <<_ACEOF |
14191 |
|
#define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none |
14192 |
|
_ACEOF |
14193 |
|
|
14194 |
< |
iopoll_mechanism_kqueue=1 |
14194 |
> |
|
14195 |
> |
iopoll_mechanism_kqueue=1 |
14196 |
|
|
14197 |
|
cat >>confdefs.h <<_ACEOF |
14198 |
|
#define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue |
14246 |
|
fi |
14247 |
|
rm -f core conftest.err conftest.$ac_objext \ |
14248 |
|
conftest$ac_exeext conftest.$ac_ext |
14249 |
< |
iopoll_mechanism_epoll=2 |
14249 |
> |
|
14250 |
> |
iopoll_mechanism_epoll=2 |
14251 |
|
|
14252 |
|
cat >>confdefs.h <<_ACEOF |
14253 |
|
#define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll |
14254 |
|
_ACEOF |
14255 |
|
|
13214 |
– |
if test "$cross_compiling" = yes; then : |
13215 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
13216 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
13217 |
– |
as_fn_error "cannot run test program while cross compiling |
13218 |
– |
See \`config.log' for more details." "$LINENO" 5; } |
13219 |
– |
else |
14256 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14257 |
|
/* end confdefs.h. */ |
13222 |
– |
|
14258 |
|
#include <sys/epoll.h> |
14259 |
< |
#include <sys/syscall.h> |
14260 |
< |
#if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY) |
14261 |
< |
#if !defined(__NR_epoll_create) |
14262 |
< |
#if defined(__ia64__) |
14263 |
< |
#define __NR_epoll_create 1243 |
14264 |
< |
#elif defined(__x86_64__) |
14265 |
< |
#define __NR_epoll_create 214 |
13231 |
< |
#elif defined(__sparc64__) || defined(__sparc__) |
13232 |
< |
#define __NR_epoll_create 193 |
13233 |
< |
#elif defined(__s390__) || defined(__m68k__) |
13234 |
< |
#define __NR_epoll_create 249 |
13235 |
< |
#elif defined(__ppc64__) || defined(__ppc__) |
13236 |
< |
#define __NR_epoll_create 236 |
13237 |
< |
#elif defined(__parisc__) || defined(__arm26__) || defined(__arm__) |
13238 |
< |
#define __NR_epoll_create 224 |
13239 |
< |
#elif defined(__alpha__) |
13240 |
< |
#define __NR_epoll_create 407 |
13241 |
< |
#elif defined(__sh64__) |
13242 |
< |
#define __NR_epoll_create 282 |
13243 |
< |
#elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__) |
13244 |
< |
#define __NR_epoll_create 254 |
13245 |
< |
#else |
13246 |
< |
#error No system call numbers defined for epoll family. |
13247 |
< |
#endif |
13248 |
< |
#endif |
13249 |
< |
_syscall1(int, epoll_create, int, size) |
13250 |
< |
#endif |
13251 |
< |
main() { return epoll_create(256) == -1 ? 1 : 0; } |
13252 |
< |
|
14259 |
> |
int |
14260 |
> |
main () |
14261 |
> |
{ |
14262 |
> |
epoll_create(256); |
14263 |
> |
; |
14264 |
> |
return 0; |
14265 |
> |
} |
14266 |
|
_ACEOF |
14267 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
14267 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
14268 |
|
is_epoll_mechanism_available="yes" |
14269 |
|
else |
14270 |
|
is_epoll_mechanism_available="no" |
14271 |
|
fi |
14272 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
14273 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
13261 |
< |
fi |
14272 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
14273 |
> |
conftest$ac_exeext conftest.$ac_ext |
14274 |
|
|
14275 |
< |
iopoll_mechanism_devpoll=3 |
14275 |
> |
iopoll_mechanism_devpoll=3 |
14276 |
|
|
14277 |
|
cat >>confdefs.h <<_ACEOF |
14278 |
|
#define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll |
14322 |
|
$as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h |
14323 |
|
|
14324 |
|
fi |
13313 |
– |
iopoll_mechanism_rtsigio=4 |
13314 |
– |
|
13315 |
– |
cat >>confdefs.h <<_ACEOF |
13316 |
– |
#define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio |
13317 |
– |
_ACEOF |
14325 |
|
|
14326 |
< |
if test "$cross_compiling" = yes; then : |
13320 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
13321 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
13322 |
< |
as_fn_error "cannot run test program while cross compiling |
13323 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
13324 |
< |
else |
13325 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13326 |
< |
/* end confdefs.h. */ |
13327 |
< |
|
13328 |
< |
#include <fcntl.h> |
13329 |
< |
#ifdef F_SETSIG |
13330 |
< |
main () { return 0; } /* F_SETSIG defined */ |
13331 |
< |
#else |
13332 |
< |
main () { return 1; } /* F_SETSIG not defined */ |
13333 |
< |
#endif |
13334 |
< |
|
13335 |
< |
int |
13336 |
< |
main () |
13337 |
< |
{ |
13338 |
< |
|
13339 |
< |
; |
13340 |
< |
return 0; |
13341 |
< |
} |
13342 |
< |
_ACEOF |
13343 |
< |
if ac_fn_c_try_run "$LINENO"; then : |
13344 |
< |
is_rtsigio_mechanism_available="yes" |
13345 |
< |
else |
13346 |
< |
is_rtsigio_mechanism_available="no" |
13347 |
< |
fi |
13348 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
13349 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
13350 |
< |
fi |
13351 |
< |
|
13352 |
< |
iopoll_mechanism_poll=5 |
14326 |
> |
iopoll_mechanism_poll=4 |
14327 |
|
|
14328 |
|
cat >>confdefs.h <<_ACEOF |
14329 |
|
#define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll |
14377 |
|
fi |
14378 |
|
rm -f core conftest.err conftest.$ac_objext \ |
14379 |
|
conftest$ac_exeext conftest.$ac_ext |
13406 |
– |
iopoll_mechanism_select=6 |
13407 |
– |
|
13408 |
– |
cat >>confdefs.h <<_ACEOF |
13409 |
– |
#define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select |
13410 |
– |
_ACEOF |
13411 |
– |
|
13412 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13413 |
– |
/* end confdefs.h. */ |
13414 |
– |
/* Define select to an innocuous variant, in case <limits.h> declares select. |
13415 |
– |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
13416 |
– |
#define select innocuous_select |
13417 |
– |
|
13418 |
– |
/* System header to define __stub macros and hopefully few prototypes, |
13419 |
– |
which can conflict with char select (); below. |
13420 |
– |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
13421 |
– |
<limits.h> exists even on freestanding compilers. */ |
13422 |
– |
|
13423 |
– |
#ifdef __STDC__ |
13424 |
– |
# include <limits.h> |
13425 |
– |
#else |
13426 |
– |
# include <assert.h> |
13427 |
– |
#endif |
14380 |
|
|
14381 |
< |
#undef select |
14382 |
< |
|
13431 |
< |
/* Override any GCC internal prototype to avoid an error. |
13432 |
< |
Use char because int might match the return type of a GCC |
13433 |
< |
builtin and then its argument prototype would still apply. */ |
13434 |
< |
#ifdef __cplusplus |
13435 |
< |
extern "C" |
13436 |
< |
#endif |
13437 |
< |
char select (); |
13438 |
< |
/* The GNU C library defines this for functions which it implements |
13439 |
< |
to always fail with ENOSYS. Some functions are actually named |
13440 |
< |
something starting with __ and the normal name is an alias. */ |
13441 |
< |
#if defined __stub_select || defined __stub___select |
13442 |
< |
choke me |
13443 |
< |
#endif |
13444 |
< |
|
13445 |
< |
int |
13446 |
< |
main () |
13447 |
< |
{ |
13448 |
< |
return select (); |
13449 |
< |
; |
13450 |
< |
return 0; |
13451 |
< |
} |
13452 |
< |
_ACEOF |
13453 |
< |
if ac_fn_c_try_link "$LINENO"; then : |
13454 |
< |
is_select_mechanism_available="yes" |
13455 |
< |
else |
13456 |
< |
is_select_mechanism_available="no" |
13457 |
< |
fi |
13458 |
< |
rm -f core conftest.err conftest.$ac_objext \ |
13459 |
< |
conftest$ac_exeext conftest.$ac_ext |
13460 |
< |
optimal_iopoll_mechanism="none" |
13461 |
< |
for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important |
14381 |
> |
optimal_iopoll_mechanism="none" |
14382 |
> |
for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important |
14383 |
|
eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available" |
14384 |
|
if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then |
14385 |
|
optimal_iopoll_mechanism="$mechanism" |
14386 |
|
break |
14387 |
|
fi |
14388 |
|
done |
14389 |
< |
if test "$desired_iopoll_mechanism" = "none" ; then |
14389 |
> |
|
14390 |
> |
if test "$desired_iopoll_mechanism" = "none" ; then |
14391 |
|
if test "$optimal_iopoll_mechanism" = "none" ; then |
14392 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
14393 |
|
$as_echo "none" >&6; } |
14394 |
< |
as_fn_error "no iopoll mechanism found!" "$LINENO" 5 |
14394 |
> |
as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5 |
14395 |
|
else |
14396 |
|
selected_iopoll_mechanism=$optimal_iopoll_mechanism |
14397 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5 |
14406 |
|
else |
14407 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
14408 |
|
$as_echo "none" >&6; } |
14409 |
< |
as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
14409 |
> |
as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
14410 |
|
fi |
14411 |
|
fi |
14412 |
< |
eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}" |
14412 |
> |
|
14413 |
> |
eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}" |
14414 |
|
|
14415 |
|
cat >>confdefs.h <<_ACEOF |
14416 |
|
#define USE_IOPOLL_MECHANISM $use_iopoll_mechanism |
14418 |
|
|
14419 |
|
|
14420 |
|
|
14421 |
+ |
# Check whether --enable-debugging was given. |
14422 |
+ |
if test "${enable_debugging+set}" = set; then : |
14423 |
+ |
enableval=$enable_debugging; debugging="$enableval" |
14424 |
+ |
else |
14425 |
+ |
debugging="no" |
14426 |
+ |
fi |
14427 |
|
|
14428 |
< |
# Check whether --with-nicklen was given. |
14429 |
< |
if test "${with_nicklen+set}" = set; then : |
14430 |
< |
withval=$with_nicklen; nicklen="$withval" |
14428 |
> |
if test "$debugging" = "yes" ; then |
14429 |
> |
CFLAGS="-Wall -g -O0" |
14430 |
> |
fi |
14431 |
> |
|
14432 |
> |
|
14433 |
> |
# Check whether --enable-warnings was given. |
14434 |
> |
if test "${enable_warnings+set}" = set; then : |
14435 |
> |
enableval=$enable_warnings; warnings="$enableval" |
14436 |
|
else |
14437 |
< |
nicklen="9" |
14437 |
> |
warnings="no" |
14438 |
|
fi |
14439 |
|
|
14440 |
|
|
14441 |
< |
cat >>confdefs.h <<_ACEOF |
14442 |
< |
#define NICKLEN ($nicklen+1) |
14441 |
> |
if test "$warnings" = "yes" ; then |
14442 |
> |
|
14443 |
> |
|
14444 |
> |
|
14445 |
> |
|
14446 |
> |
for flag in -Wall; do |
14447 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14448 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14449 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14450 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14451 |
> |
$as_echo_n "(cached) " >&6 |
14452 |
> |
else |
14453 |
> |
|
14454 |
> |
ax_check_save_flags=$CFLAGS |
14455 |
> |
CFLAGS="$CFLAGS $flag" |
14456 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14457 |
> |
/* end confdefs.h. */ |
14458 |
> |
|
14459 |
> |
int |
14460 |
> |
main () |
14461 |
> |
{ |
14462 |
> |
|
14463 |
> |
; |
14464 |
> |
return 0; |
14465 |
> |
} |
14466 |
|
_ACEOF |
14467 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
14468 |
+ |
eval "$as_CACHEVAR=yes" |
14469 |
+ |
else |
14470 |
+ |
eval "$as_CACHEVAR=no" |
14471 |
+ |
fi |
14472 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14473 |
+ |
CFLAGS=$ax_check_save_flags |
14474 |
+ |
fi |
14475 |
+ |
eval ac_res=\$$as_CACHEVAR |
14476 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14477 |
+ |
$as_echo "$ac_res" >&6; } |
14478 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14479 |
+ |
if ${CFLAGS+:} false; then : |
14480 |
+ |
case " $CFLAGS " in |
14481 |
+ |
*" $flag "*) |
14482 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14483 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
14484 |
+ |
ac_status=$? |
14485 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14486 |
+ |
test $ac_status = 0; } |
14487 |
+ |
;; |
14488 |
+ |
*) |
14489 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14490 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14491 |
+ |
ac_status=$? |
14492 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14493 |
+ |
test $ac_status = 0; } |
14494 |
+ |
CFLAGS="$CFLAGS $flag" |
14495 |
+ |
;; |
14496 |
+ |
esac |
14497 |
+ |
else |
14498 |
+ |
CFLAGS="$flag" |
14499 |
+ |
fi |
14500 |
+ |
|
14501 |
+ |
else |
14502 |
+ |
: |
14503 |
+ |
fi |
14504 |
+ |
|
14505 |
+ |
done |
14506 |
|
|
14507 |
|
|
14508 |
|
|
14509 |
|
|
14510 |
< |
# Check whether --with-topiclen was given. |
14511 |
< |
if test "${with_topiclen+set}" = set; then : |
14512 |
< |
withval=$with_topiclen; topiclen="$withval" |
14510 |
> |
|
14511 |
> |
for flag in -Wextra; do |
14512 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14513 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14514 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14515 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14516 |
> |
$as_echo_n "(cached) " >&6 |
14517 |
|
else |
14518 |
< |
topiclen="160" |
14518 |
> |
|
14519 |
> |
ax_check_save_flags=$CFLAGS |
14520 |
> |
CFLAGS="$CFLAGS $flag" |
14521 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14522 |
> |
/* end confdefs.h. */ |
14523 |
> |
|
14524 |
> |
int |
14525 |
> |
main () |
14526 |
> |
{ |
14527 |
> |
|
14528 |
> |
; |
14529 |
> |
return 0; |
14530 |
> |
} |
14531 |
> |
_ACEOF |
14532 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14533 |
> |
eval "$as_CACHEVAR=yes" |
14534 |
> |
else |
14535 |
> |
eval "$as_CACHEVAR=no" |
14536 |
> |
fi |
14537 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14538 |
> |
CFLAGS=$ax_check_save_flags |
14539 |
> |
fi |
14540 |
> |
eval ac_res=\$$as_CACHEVAR |
14541 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14542 |
> |
$as_echo "$ac_res" >&6; } |
14543 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14544 |
> |
if ${CFLAGS+:} false; then : |
14545 |
> |
case " $CFLAGS " in |
14546 |
> |
*" $flag "*) |
14547 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14548 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14549 |
> |
ac_status=$? |
14550 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14551 |
> |
test $ac_status = 0; } |
14552 |
> |
;; |
14553 |
> |
*) |
14554 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14555 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14556 |
> |
ac_status=$? |
14557 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14558 |
> |
test $ac_status = 0; } |
14559 |
> |
CFLAGS="$CFLAGS $flag" |
14560 |
> |
;; |
14561 |
> |
esac |
14562 |
> |
else |
14563 |
> |
CFLAGS="$flag" |
14564 |
|
fi |
14565 |
|
|
14566 |
+ |
else |
14567 |
+ |
: |
14568 |
+ |
fi |
14569 |
|
|
14570 |
< |
cat >>confdefs.h <<_ACEOF |
14571 |
< |
#define TOPICLEN ($topiclen+1) |
14570 |
> |
done |
14571 |
> |
|
14572 |
> |
|
14573 |
> |
|
14574 |
> |
|
14575 |
> |
|
14576 |
> |
for flag in -Wno-unused; do |
14577 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14578 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14579 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14580 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14581 |
> |
$as_echo_n "(cached) " >&6 |
14582 |
> |
else |
14583 |
> |
|
14584 |
> |
ax_check_save_flags=$CFLAGS |
14585 |
> |
CFLAGS="$CFLAGS $flag" |
14586 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14587 |
> |
/* end confdefs.h. */ |
14588 |
> |
|
14589 |
> |
int |
14590 |
> |
main () |
14591 |
> |
{ |
14592 |
> |
|
14593 |
> |
; |
14594 |
> |
return 0; |
14595 |
> |
} |
14596 |
|
_ACEOF |
14597 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
14598 |
+ |
eval "$as_CACHEVAR=yes" |
14599 |
+ |
else |
14600 |
+ |
eval "$as_CACHEVAR=no" |
14601 |
+ |
fi |
14602 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14603 |
+ |
CFLAGS=$ax_check_save_flags |
14604 |
+ |
fi |
14605 |
+ |
eval ac_res=\$$as_CACHEVAR |
14606 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14607 |
+ |
$as_echo "$ac_res" >&6; } |
14608 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14609 |
+ |
if ${CFLAGS+:} false; then : |
14610 |
+ |
case " $CFLAGS " in |
14611 |
+ |
*" $flag "*) |
14612 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14613 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
14614 |
+ |
ac_status=$? |
14615 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14616 |
+ |
test $ac_status = 0; } |
14617 |
+ |
;; |
14618 |
+ |
*) |
14619 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14620 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14621 |
+ |
ac_status=$? |
14622 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14623 |
+ |
test $ac_status = 0; } |
14624 |
+ |
CFLAGS="$CFLAGS $flag" |
14625 |
+ |
;; |
14626 |
+ |
esac |
14627 |
+ |
else |
14628 |
+ |
CFLAGS="$flag" |
14629 |
+ |
fi |
14630 |
+ |
|
14631 |
+ |
else |
14632 |
+ |
: |
14633 |
+ |
fi |
14634 |
+ |
|
14635 |
+ |
done |
14636 |
+ |
|
14637 |
|
|
14638 |
|
|
14639 |
|
|
14640 |
|
|
14641 |
< |
# Check whether --with-syslog-facility was given. |
14642 |
< |
if test "${with_syslog_facility+set}" = set; then : |
14643 |
< |
withval=$with_syslog_facility; syslog_facility="$withval" |
14641 |
> |
for flag in -Wcast-qual; do |
14642 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14643 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14644 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14645 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14646 |
> |
$as_echo_n "(cached) " >&6 |
14647 |
> |
else |
14648 |
> |
|
14649 |
> |
ax_check_save_flags=$CFLAGS |
14650 |
> |
CFLAGS="$CFLAGS $flag" |
14651 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14652 |
> |
/* end confdefs.h. */ |
14653 |
> |
|
14654 |
> |
int |
14655 |
> |
main () |
14656 |
> |
{ |
14657 |
> |
|
14658 |
> |
; |
14659 |
> |
return 0; |
14660 |
> |
} |
14661 |
> |
_ACEOF |
14662 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14663 |
> |
eval "$as_CACHEVAR=yes" |
14664 |
|
else |
14665 |
< |
syslog_facility="LOG_LOCAL4" |
14665 |
> |
eval "$as_CACHEVAR=no" |
14666 |
> |
fi |
14667 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14668 |
> |
CFLAGS=$ax_check_save_flags |
14669 |
> |
fi |
14670 |
> |
eval ac_res=\$$as_CACHEVAR |
14671 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14672 |
> |
$as_echo "$ac_res" >&6; } |
14673 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14674 |
> |
if ${CFLAGS+:} false; then : |
14675 |
> |
case " $CFLAGS " in |
14676 |
> |
*" $flag "*) |
14677 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14678 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14679 |
> |
ac_status=$? |
14680 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14681 |
> |
test $ac_status = 0; } |
14682 |
> |
;; |
14683 |
> |
*) |
14684 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14685 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14686 |
> |
ac_status=$? |
14687 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14688 |
> |
test $ac_status = 0; } |
14689 |
> |
CFLAGS="$CFLAGS $flag" |
14690 |
> |
;; |
14691 |
> |
esac |
14692 |
> |
else |
14693 |
> |
CFLAGS="$flag" |
14694 |
|
fi |
14695 |
|
|
14696 |
+ |
else |
14697 |
+ |
: |
14698 |
+ |
fi |
14699 |
|
|
14700 |
< |
cat >>confdefs.h <<_ACEOF |
14701 |
< |
#define LOG_FACILITY $syslog_facility |
14700 |
> |
done |
14701 |
> |
|
14702 |
> |
|
14703 |
> |
|
14704 |
> |
|
14705 |
> |
|
14706 |
> |
for flag in -Wcast-align; do |
14707 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14708 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14709 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14710 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14711 |
> |
$as_echo_n "(cached) " >&6 |
14712 |
> |
else |
14713 |
> |
|
14714 |
> |
ax_check_save_flags=$CFLAGS |
14715 |
> |
CFLAGS="$CFLAGS $flag" |
14716 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14717 |
> |
/* end confdefs.h. */ |
14718 |
> |
|
14719 |
> |
int |
14720 |
> |
main () |
14721 |
> |
{ |
14722 |
> |
|
14723 |
> |
; |
14724 |
> |
return 0; |
14725 |
> |
} |
14726 |
|
_ACEOF |
14727 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
14728 |
+ |
eval "$as_CACHEVAR=yes" |
14729 |
+ |
else |
14730 |
+ |
eval "$as_CACHEVAR=no" |
14731 |
+ |
fi |
14732 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14733 |
+ |
CFLAGS=$ax_check_save_flags |
14734 |
+ |
fi |
14735 |
+ |
eval ac_res=\$$as_CACHEVAR |
14736 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14737 |
+ |
$as_echo "$ac_res" >&6; } |
14738 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14739 |
+ |
if ${CFLAGS+:} false; then : |
14740 |
+ |
case " $CFLAGS " in |
14741 |
+ |
*" $flag "*) |
14742 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14743 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
14744 |
+ |
ac_status=$? |
14745 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14746 |
+ |
test $ac_status = 0; } |
14747 |
+ |
;; |
14748 |
+ |
*) |
14749 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14750 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14751 |
+ |
ac_status=$? |
14752 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14753 |
+ |
test $ac_status = 0; } |
14754 |
+ |
CFLAGS="$CFLAGS $flag" |
14755 |
+ |
;; |
14756 |
+ |
esac |
14757 |
+ |
else |
14758 |
+ |
CFLAGS="$flag" |
14759 |
+ |
fi |
14760 |
+ |
|
14761 |
+ |
else |
14762 |
+ |
: |
14763 |
+ |
fi |
14764 |
+ |
|
14765 |
+ |
done |
14766 |
+ |
|
14767 |
+ |
|
14768 |
+ |
|
14769 |
+ |
|
14770 |
+ |
|
14771 |
+ |
for flag in -Wbad-function-cast; do |
14772 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14773 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14774 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14775 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
14776 |
+ |
$as_echo_n "(cached) " >&6 |
14777 |
+ |
else |
14778 |
|
|
14779 |
+ |
ax_check_save_flags=$CFLAGS |
14780 |
+ |
CFLAGS="$CFLAGS $flag" |
14781 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14782 |
+ |
/* end confdefs.h. */ |
14783 |
|
|
14784 |
+ |
int |
14785 |
+ |
main () |
14786 |
+ |
{ |
14787 |
+ |
|
14788 |
+ |
; |
14789 |
+ |
return 0; |
14790 |
+ |
} |
14791 |
+ |
_ACEOF |
14792 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
14793 |
+ |
eval "$as_CACHEVAR=yes" |
14794 |
+ |
else |
14795 |
+ |
eval "$as_CACHEVAR=no" |
14796 |
+ |
fi |
14797 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14798 |
+ |
CFLAGS=$ax_check_save_flags |
14799 |
+ |
fi |
14800 |
+ |
eval ac_res=\$$as_CACHEVAR |
14801 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14802 |
+ |
$as_echo "$ac_res" >&6; } |
14803 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14804 |
+ |
if ${CFLAGS+:} false; then : |
14805 |
+ |
case " $CFLAGS " in |
14806 |
+ |
*" $flag "*) |
14807 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14808 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
14809 |
+ |
ac_status=$? |
14810 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14811 |
+ |
test $ac_status = 0; } |
14812 |
+ |
;; |
14813 |
+ |
*) |
14814 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14815 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14816 |
+ |
ac_status=$? |
14817 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14818 |
+ |
test $ac_status = 0; } |
14819 |
+ |
CFLAGS="$CFLAGS $flag" |
14820 |
+ |
;; |
14821 |
+ |
esac |
14822 |
+ |
else |
14823 |
+ |
CFLAGS="$flag" |
14824 |
+ |
fi |
14825 |
|
|
13543 |
– |
# Check whether --enable-efnet was given. |
13544 |
– |
if test "${enable_efnet+set}" = set; then : |
13545 |
– |
enableval=$enable_efnet; efnet="$enableval" |
14826 |
|
else |
14827 |
< |
efnet="no" |
14827 |
> |
: |
14828 |
|
fi |
14829 |
|
|
14830 |
< |
if test "$efnet" = "yes" ; then |
14831 |
< |
use_efnet="yes" |
14830 |
> |
done |
14831 |
> |
|
14832 |
|
|
13553 |
– |
$as_echo "#define EFNET 1" >>confdefs.h |
14833 |
|
|
14834 |
|
|
13556 |
– |
$as_echo "#define TS5_ONLY 1" >>confdefs.h |
14835 |
|
|
14836 |
< |
else |
14836 |
> |
for flag in -Wlogical-op; do |
14837 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14838 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14839 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14840 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14841 |
> |
$as_echo_n "(cached) " >&6 |
14842 |
> |
else |
14843 |
|
|
14844 |
< |
$as_echo "#define INVARIANTS 1" >>confdefs.h |
14844 |
> |
ax_check_save_flags=$CFLAGS |
14845 |
> |
CFLAGS="$CFLAGS $flag" |
14846 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14847 |
> |
/* end confdefs.h. */ |
14848 |
|
|
14849 |
< |
use_efnet="no" |
14850 |
< |
fi |
14851 |
< |
if test "$use_efnet" = "yes"; then |
14852 |
< |
EFNET_TRUE= |
14853 |
< |
EFNET_FALSE='#' |
14849 |
> |
int |
14850 |
> |
main () |
14851 |
> |
{ |
14852 |
> |
|
14853 |
> |
; |
14854 |
> |
return 0; |
14855 |
> |
} |
14856 |
> |
_ACEOF |
14857 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14858 |
> |
eval "$as_CACHEVAR=yes" |
14859 |
> |
else |
14860 |
> |
eval "$as_CACHEVAR=no" |
14861 |
> |
fi |
14862 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14863 |
> |
CFLAGS=$ax_check_save_flags |
14864 |
> |
fi |
14865 |
> |
eval ac_res=\$$as_CACHEVAR |
14866 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14867 |
> |
$as_echo "$ac_res" >&6; } |
14868 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14869 |
> |
if ${CFLAGS+:} false; then : |
14870 |
> |
case " $CFLAGS " in |
14871 |
> |
*" $flag "*) |
14872 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14873 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14874 |
> |
ac_status=$? |
14875 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14876 |
> |
test $ac_status = 0; } |
14877 |
> |
;; |
14878 |
> |
*) |
14879 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14880 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14881 |
> |
ac_status=$? |
14882 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14883 |
> |
test $ac_status = 0; } |
14884 |
> |
CFLAGS="$CFLAGS $flag" |
14885 |
> |
;; |
14886 |
> |
esac |
14887 |
|
else |
14888 |
< |
EFNET_TRUE='#' |
13569 |
< |
EFNET_FALSE= |
14888 |
> |
CFLAGS="$flag" |
14889 |
|
fi |
14890 |
|
|
14891 |
+ |
else |
14892 |
+ |
: |
14893 |
+ |
fi |
14894 |
+ |
|
14895 |
+ |
done |
14896 |
+ |
|
14897 |
+ |
|
14898 |
+ |
|
14899 |
+ |
|
14900 |
+ |
|
14901 |
+ |
for flag in -Wmissing-declarations; do |
14902 |
+ |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14903 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14904 |
+ |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14905 |
+ |
if eval \${$as_CACHEVAR+:} false; then : |
14906 |
+ |
$as_echo_n "(cached) " >&6 |
14907 |
+ |
else |
14908 |
|
|
14909 |
+ |
ax_check_save_flags=$CFLAGS |
14910 |
+ |
CFLAGS="$CFLAGS $flag" |
14911 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14912 |
+ |
/* end confdefs.h. */ |
14913 |
+ |
|
14914 |
+ |
int |
14915 |
+ |
main () |
14916 |
+ |
{ |
14917 |
|
|
14918 |
< |
# Check whether --enable-halfops was given. |
14919 |
< |
if test "${enable_halfops+set}" = set; then : |
14920 |
< |
enableval=$enable_halfops; halfops="$enableval" |
14918 |
> |
; |
14919 |
> |
return 0; |
14920 |
> |
} |
14921 |
> |
_ACEOF |
14922 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14923 |
> |
eval "$as_CACHEVAR=yes" |
14924 |
|
else |
14925 |
< |
halfops="no" |
14925 |
> |
eval "$as_CACHEVAR=no" |
14926 |
> |
fi |
14927 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14928 |
> |
CFLAGS=$ax_check_save_flags |
14929 |
> |
fi |
14930 |
> |
eval ac_res=\$$as_CACHEVAR |
14931 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14932 |
> |
$as_echo "$ac_res" >&6; } |
14933 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14934 |
> |
if ${CFLAGS+:} false; then : |
14935 |
> |
case " $CFLAGS " in |
14936 |
> |
*" $flag "*) |
14937 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
14938 |
> |
(: CFLAGS already contains $flag) 2>&5 |
14939 |
> |
ac_status=$? |
14940 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14941 |
> |
test $ac_status = 0; } |
14942 |
> |
;; |
14943 |
> |
*) |
14944 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
14945 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
14946 |
> |
ac_status=$? |
14947 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
14948 |
> |
test $ac_status = 0; } |
14949 |
> |
CFLAGS="$CFLAGS $flag" |
14950 |
> |
;; |
14951 |
> |
esac |
14952 |
> |
else |
14953 |
> |
CFLAGS="$flag" |
14954 |
|
fi |
14955 |
|
|
14956 |
< |
if test "$halfops" = "yes" ; then |
14956 |
> |
else |
14957 |
> |
: |
14958 |
> |
fi |
14959 |
|
|
14960 |
< |
$as_echo "#define HALFOPS 1" >>confdefs.h |
14960 |
> |
done |
14961 |
|
|
13585 |
– |
fi |
14962 |
|
|
14963 |
|
|
14964 |
< |
# Check whether --enable-debugging was given. |
14965 |
< |
if test "${enable_debugging+set}" = set; then : |
14966 |
< |
enableval=$enable_debugging; debugging="$enableval" |
14964 |
> |
|
14965 |
> |
|
14966 |
> |
for flag in -Wmissing-include-dirs; do |
14967 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
14968 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
14969 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
14970 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
14971 |
> |
$as_echo_n "(cached) " >&6 |
14972 |
|
else |
14973 |
< |
debugging="no" |
14973 |
> |
|
14974 |
> |
ax_check_save_flags=$CFLAGS |
14975 |
> |
CFLAGS="$CFLAGS $flag" |
14976 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14977 |
> |
/* end confdefs.h. */ |
14978 |
> |
|
14979 |
> |
int |
14980 |
> |
main () |
14981 |
> |
{ |
14982 |
> |
|
14983 |
> |
; |
14984 |
> |
return 0; |
14985 |
> |
} |
14986 |
> |
_ACEOF |
14987 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
14988 |
> |
eval "$as_CACHEVAR=yes" |
14989 |
> |
else |
14990 |
> |
eval "$as_CACHEVAR=no" |
14991 |
> |
fi |
14992 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14993 |
> |
CFLAGS=$ax_check_save_flags |
14994 |
> |
fi |
14995 |
> |
eval ac_res=\$$as_CACHEVAR |
14996 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
14997 |
> |
$as_echo "$ac_res" >&6; } |
14998 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
14999 |
> |
if ${CFLAGS+:} false; then : |
15000 |
> |
case " $CFLAGS " in |
15001 |
> |
*" $flag "*) |
15002 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15003 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15004 |
> |
ac_status=$? |
15005 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15006 |
> |
test $ac_status = 0; } |
15007 |
> |
;; |
15008 |
> |
*) |
15009 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15010 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15011 |
> |
ac_status=$? |
15012 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15013 |
> |
test $ac_status = 0; } |
15014 |
> |
CFLAGS="$CFLAGS $flag" |
15015 |
> |
;; |
15016 |
> |
esac |
15017 |
> |
else |
15018 |
> |
CFLAGS="$flag" |
15019 |
|
fi |
15020 |
|
|
15021 |
< |
if test "$debugging" = "yes" ; then |
15021 |
> |
else |
15022 |
> |
: |
15023 |
> |
fi |
15024 |
|
|
15025 |
< |
$as_echo "#define DEBUG 1" >>confdefs.h |
15025 |
> |
done |
15026 |
|
|
13599 |
– |
CFLAGS="$CFLAGS -Wall -Werror -g -O0" |
13600 |
– |
else |
15027 |
|
|
13602 |
– |
$as_echo "#define NDEBUG 1" >>confdefs.h |
15028 |
|
|
13604 |
– |
fi |
15029 |
|
|
15030 |
|
|
15031 |
< |
# Check whether --enable-warnings was given. |
15032 |
< |
if test "${enable_warnings+set}" = set; then : |
15033 |
< |
enableval=$enable_warnings; warnings="$enableval" |
15031 |
> |
for flag in -Wmissing-prototypes; do |
15032 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15033 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15034 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15035 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15036 |
> |
$as_echo_n "(cached) " >&6 |
15037 |
|
else |
15038 |
< |
warnings="no" |
15038 |
> |
|
15039 |
> |
ax_check_save_flags=$CFLAGS |
15040 |
> |
CFLAGS="$CFLAGS $flag" |
15041 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15042 |
> |
/* end confdefs.h. */ |
15043 |
> |
|
15044 |
> |
int |
15045 |
> |
main () |
15046 |
> |
{ |
15047 |
> |
|
15048 |
> |
; |
15049 |
> |
return 0; |
15050 |
> |
} |
15051 |
> |
_ACEOF |
15052 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15053 |
> |
eval "$as_CACHEVAR=yes" |
15054 |
> |
else |
15055 |
> |
eval "$as_CACHEVAR=no" |
15056 |
> |
fi |
15057 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15058 |
> |
CFLAGS=$ax_check_save_flags |
15059 |
> |
fi |
15060 |
> |
eval ac_res=\$$as_CACHEVAR |
15061 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15062 |
> |
$as_echo "$ac_res" >&6; } |
15063 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15064 |
> |
if ${CFLAGS+:} false; then : |
15065 |
> |
case " $CFLAGS " in |
15066 |
> |
*" $flag "*) |
15067 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15068 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15069 |
> |
ac_status=$? |
15070 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15071 |
> |
test $ac_status = 0; } |
15072 |
> |
;; |
15073 |
> |
*) |
15074 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15075 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15076 |
> |
ac_status=$? |
15077 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15078 |
> |
test $ac_status = 0; } |
15079 |
> |
CFLAGS="$CFLAGS $flag" |
15080 |
> |
;; |
15081 |
> |
esac |
15082 |
> |
else |
15083 |
> |
CFLAGS="$flag" |
15084 |
|
fi |
15085 |
|
|
15086 |
< |
if test "$warnings" = "yes" ; then |
15087 |
< |
CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused -Wundef" |
15088 |
< |
fi |
15086 |
> |
else |
15087 |
> |
: |
15088 |
> |
fi |
15089 |
|
|
15090 |
+ |
done |
15091 |
|
|
15092 |
< |
for ac_header in syslog.h sys/syslog.h |
15093 |
< |
do : |
15094 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
15095 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
15096 |
< |
eval as_val=\$$as_ac_Header |
15097 |
< |
if test "x$as_val" = x""yes; then : |
15098 |
< |
cat >>confdefs.h <<_ACEOF |
15099 |
< |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
15092 |
> |
|
15093 |
> |
|
15094 |
> |
|
15095 |
> |
|
15096 |
> |
for flag in -Wnested-externs; do |
15097 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15098 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15099 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15100 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15101 |
> |
$as_echo_n "(cached) " >&6 |
15102 |
> |
else |
15103 |
> |
|
15104 |
> |
ax_check_save_flags=$CFLAGS |
15105 |
> |
CFLAGS="$CFLAGS $flag" |
15106 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15107 |
> |
/* end confdefs.h. */ |
15108 |
> |
|
15109 |
> |
int |
15110 |
> |
main () |
15111 |
> |
{ |
15112 |
> |
|
15113 |
> |
; |
15114 |
> |
return 0; |
15115 |
> |
} |
15116 |
> |
_ACEOF |
15117 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15118 |
> |
eval "$as_CACHEVAR=yes" |
15119 |
> |
else |
15120 |
> |
eval "$as_CACHEVAR=no" |
15121 |
> |
fi |
15122 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15123 |
> |
CFLAGS=$ax_check_save_flags |
15124 |
> |
fi |
15125 |
> |
eval ac_res=\$$as_CACHEVAR |
15126 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15127 |
> |
$as_echo "$ac_res" >&6; } |
15128 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15129 |
> |
if ${CFLAGS+:} false; then : |
15130 |
> |
case " $CFLAGS " in |
15131 |
> |
*" $flag "*) |
15132 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15133 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15134 |
> |
ac_status=$? |
15135 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15136 |
> |
test $ac_status = 0; } |
15137 |
> |
;; |
15138 |
> |
*) |
15139 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15140 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15141 |
> |
ac_status=$? |
15142 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15143 |
> |
test $ac_status = 0; } |
15144 |
> |
CFLAGS="$CFLAGS $flag" |
15145 |
> |
;; |
15146 |
> |
esac |
15147 |
> |
else |
15148 |
> |
CFLAGS="$flag" |
15149 |
> |
fi |
15150 |
> |
|
15151 |
> |
else |
15152 |
> |
: |
15153 |
> |
fi |
15154 |
> |
|
15155 |
> |
done |
15156 |
> |
|
15157 |
> |
|
15158 |
> |
|
15159 |
> |
|
15160 |
> |
|
15161 |
> |
for flag in -Wpointer-arith; do |
15162 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15163 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15164 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15165 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15166 |
> |
$as_echo_n "(cached) " >&6 |
15167 |
> |
else |
15168 |
> |
|
15169 |
> |
ax_check_save_flags=$CFLAGS |
15170 |
> |
CFLAGS="$CFLAGS $flag" |
15171 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15172 |
> |
/* end confdefs.h. */ |
15173 |
> |
|
15174 |
> |
int |
15175 |
> |
main () |
15176 |
> |
{ |
15177 |
> |
|
15178 |
> |
; |
15179 |
> |
return 0; |
15180 |
> |
} |
15181 |
|
_ACEOF |
15182 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
15183 |
+ |
eval "$as_CACHEVAR=yes" |
15184 |
+ |
else |
15185 |
+ |
eval "$as_CACHEVAR=no" |
15186 |
+ |
fi |
15187 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15188 |
+ |
CFLAGS=$ax_check_save_flags |
15189 |
+ |
fi |
15190 |
+ |
eval ac_res=\$$as_CACHEVAR |
15191 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15192 |
+ |
$as_echo "$ac_res" >&6; } |
15193 |
+ |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15194 |
+ |
if ${CFLAGS+:} false; then : |
15195 |
+ |
case " $CFLAGS " in |
15196 |
+ |
*" $flag "*) |
15197 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15198 |
+ |
(: CFLAGS already contains $flag) 2>&5 |
15199 |
+ |
ac_status=$? |
15200 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15201 |
+ |
test $ac_status = 0; } |
15202 |
+ |
;; |
15203 |
+ |
*) |
15204 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15205 |
+ |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15206 |
+ |
ac_status=$? |
15207 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15208 |
+ |
test $ac_status = 0; } |
15209 |
+ |
CFLAGS="$CFLAGS $flag" |
15210 |
+ |
;; |
15211 |
+ |
esac |
15212 |
+ |
else |
15213 |
+ |
CFLAGS="$flag" |
15214 |
+ |
fi |
15215 |
|
|
15216 |
+ |
else |
15217 |
+ |
: |
15218 |
|
fi |
15219 |
|
|
15220 |
|
done |
15221 |
|
|
15222 |
< |
# Check whether --enable-syslog was given. |
15223 |
< |
if test "${enable_syslog+set}" = set; then : |
15224 |
< |
enableval=$enable_syslog; syslog="$enableval" |
15225 |
< |
else |
15226 |
< |
syslog="no" |
15222 |
> |
|
15223 |
> |
|
15224 |
> |
|
15225 |
> |
|
15226 |
> |
for flag in -Wredundant-decls; do |
15227 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15228 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15229 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15230 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15231 |
> |
$as_echo_n "(cached) " >&6 |
15232 |
> |
else |
15233 |
> |
|
15234 |
> |
ax_check_save_flags=$CFLAGS |
15235 |
> |
CFLAGS="$CFLAGS $flag" |
15236 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15237 |
> |
/* end confdefs.h. */ |
15238 |
> |
|
15239 |
> |
int |
15240 |
> |
main () |
15241 |
> |
{ |
15242 |
> |
|
15243 |
> |
; |
15244 |
> |
return 0; |
15245 |
> |
} |
15246 |
> |
_ACEOF |
15247 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15248 |
> |
eval "$as_CACHEVAR=yes" |
15249 |
> |
else |
15250 |
> |
eval "$as_CACHEVAR=no" |
15251 |
> |
fi |
15252 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15253 |
> |
CFLAGS=$ax_check_save_flags |
15254 |
> |
fi |
15255 |
> |
eval ac_res=\$$as_CACHEVAR |
15256 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15257 |
> |
$as_echo "$ac_res" >&6; } |
15258 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15259 |
> |
if ${CFLAGS+:} false; then : |
15260 |
> |
case " $CFLAGS " in |
15261 |
> |
*" $flag "*) |
15262 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15263 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15264 |
> |
ac_status=$? |
15265 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15266 |
> |
test $ac_status = 0; } |
15267 |
> |
;; |
15268 |
> |
*) |
15269 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15270 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15271 |
> |
ac_status=$? |
15272 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15273 |
> |
test $ac_status = 0; } |
15274 |
> |
CFLAGS="$CFLAGS $flag" |
15275 |
> |
;; |
15276 |
> |
esac |
15277 |
> |
else |
15278 |
> |
CFLAGS="$flag" |
15279 |
|
fi |
15280 |
|
|
15281 |
< |
if test "$enableval" != "no" ; then |
15282 |
< |
for option in $enableval ; do |
15283 |
< |
case "$option" in |
15284 |
< |
users) |
15285 |
< |
$as_echo "#define SYSLOG_USERS 1" >>confdefs.h |
15286 |
< |
;; |
13646 |
< |
oper) |
13647 |
< |
$as_echo "#define SYSLOG_OPER 1" >>confdefs.h |
13648 |
< |
;; |
13649 |
< |
yes) : ;; |
13650 |
< |
*) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;; |
13651 |
< |
esac |
13652 |
< |
done |
15281 |
> |
else |
15282 |
> |
: |
15283 |
> |
fi |
15284 |
> |
|
15285 |
> |
done |
15286 |
> |
|
15287 |
|
|
15288 |
< |
$as_echo "#define USE_SYSLOG 1" >>confdefs.h |
15288 |
> |
|
15289 |
> |
|
15290 |
> |
|
15291 |
> |
for flag in -Wshadow; do |
15292 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15293 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15294 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15295 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15296 |
> |
$as_echo_n "(cached) " >&6 |
15297 |
> |
else |
15298 |
> |
|
15299 |
> |
ax_check_save_flags=$CFLAGS |
15300 |
> |
CFLAGS="$CFLAGS $flag" |
15301 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15302 |
> |
/* end confdefs.h. */ |
15303 |
> |
|
15304 |
> |
int |
15305 |
> |
main () |
15306 |
> |
{ |
15307 |
> |
|
15308 |
> |
; |
15309 |
> |
return 0; |
15310 |
> |
} |
15311 |
> |
_ACEOF |
15312 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15313 |
> |
eval "$as_CACHEVAR=yes" |
15314 |
> |
else |
15315 |
> |
eval "$as_CACHEVAR=no" |
15316 |
> |
fi |
15317 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15318 |
> |
CFLAGS=$ax_check_save_flags |
15319 |
> |
fi |
15320 |
> |
eval ac_res=\$$as_CACHEVAR |
15321 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15322 |
> |
$as_echo "$ac_res" >&6; } |
15323 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15324 |
> |
if ${CFLAGS+:} false; then : |
15325 |
> |
case " $CFLAGS " in |
15326 |
> |
*" $flag "*) |
15327 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15328 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15329 |
> |
ac_status=$? |
15330 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15331 |
> |
test $ac_status = 0; } |
15332 |
> |
;; |
15333 |
> |
*) |
15334 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15335 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15336 |
> |
ac_status=$? |
15337 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15338 |
> |
test $ac_status = 0; } |
15339 |
> |
CFLAGS="$CFLAGS $flag" |
15340 |
> |
;; |
15341 |
> |
esac |
15342 |
> |
else |
15343 |
> |
CFLAGS="$flag" |
15344 |
> |
fi |
15345 |
> |
|
15346 |
> |
else |
15347 |
> |
: |
15348 |
> |
fi |
15349 |
> |
|
15350 |
> |
done |
15351 |
> |
|
15352 |
> |
|
15353 |
> |
|
15354 |
> |
|
15355 |
> |
|
15356 |
> |
for flag in -Wwrite-strings; do |
15357 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15358 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15359 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15360 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15361 |
> |
$as_echo_n "(cached) " >&6 |
15362 |
> |
else |
15363 |
> |
|
15364 |
> |
ax_check_save_flags=$CFLAGS |
15365 |
> |
CFLAGS="$CFLAGS $flag" |
15366 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15367 |
> |
/* end confdefs.h. */ |
15368 |
> |
|
15369 |
> |
int |
15370 |
> |
main () |
15371 |
> |
{ |
15372 |
> |
|
15373 |
> |
; |
15374 |
> |
return 0; |
15375 |
> |
} |
15376 |
> |
_ACEOF |
15377 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15378 |
> |
eval "$as_CACHEVAR=yes" |
15379 |
> |
else |
15380 |
> |
eval "$as_CACHEVAR=no" |
15381 |
> |
fi |
15382 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15383 |
> |
CFLAGS=$ax_check_save_flags |
15384 |
> |
fi |
15385 |
> |
eval ac_res=\$$as_CACHEVAR |
15386 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15387 |
> |
$as_echo "$ac_res" >&6; } |
15388 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15389 |
> |
if ${CFLAGS+:} false; then : |
15390 |
> |
case " $CFLAGS " in |
15391 |
> |
*" $flag "*) |
15392 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15393 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15394 |
> |
ac_status=$? |
15395 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15396 |
> |
test $ac_status = 0; } |
15397 |
> |
;; |
15398 |
> |
*) |
15399 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15400 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15401 |
> |
ac_status=$? |
15402 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15403 |
> |
test $ac_status = 0; } |
15404 |
> |
CFLAGS="$CFLAGS $flag" |
15405 |
> |
;; |
15406 |
> |
esac |
15407 |
> |
else |
15408 |
> |
CFLAGS="$flag" |
15409 |
> |
fi |
15410 |
> |
|
15411 |
> |
else |
15412 |
> |
: |
15413 |
> |
fi |
15414 |
> |
|
15415 |
> |
done |
15416 |
> |
|
15417 |
> |
|
15418 |
> |
|
15419 |
> |
|
15420 |
> |
|
15421 |
> |
for flag in -Wundef; do |
15422 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
15423 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
15424 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
15425 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
15426 |
> |
$as_echo_n "(cached) " >&6 |
15427 |
> |
else |
15428 |
> |
|
15429 |
> |
ax_check_save_flags=$CFLAGS |
15430 |
> |
CFLAGS="$CFLAGS $flag" |
15431 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15432 |
> |
/* end confdefs.h. */ |
15433 |
> |
|
15434 |
> |
int |
15435 |
> |
main () |
15436 |
> |
{ |
15437 |
> |
|
15438 |
> |
; |
15439 |
> |
return 0; |
15440 |
> |
} |
15441 |
> |
_ACEOF |
15442 |
> |
if ac_fn_c_try_compile "$LINENO"; then : |
15443 |
> |
eval "$as_CACHEVAR=yes" |
15444 |
> |
else |
15445 |
> |
eval "$as_CACHEVAR=no" |
15446 |
> |
fi |
15447 |
> |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15448 |
> |
CFLAGS=$ax_check_save_flags |
15449 |
> |
fi |
15450 |
> |
eval ac_res=\$$as_CACHEVAR |
15451 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
15452 |
> |
$as_echo "$ac_res" >&6; } |
15453 |
> |
if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then : |
15454 |
> |
if ${CFLAGS+:} false; then : |
15455 |
> |
case " $CFLAGS " in |
15456 |
> |
*" $flag "*) |
15457 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
15458 |
> |
(: CFLAGS already contains $flag) 2>&5 |
15459 |
> |
ac_status=$? |
15460 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15461 |
> |
test $ac_status = 0; } |
15462 |
> |
;; |
15463 |
> |
*) |
15464 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5 |
15465 |
> |
(: CFLAGS="$CFLAGS $flag") 2>&5 |
15466 |
> |
ac_status=$? |
15467 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
15468 |
> |
test $ac_status = 0; } |
15469 |
> |
CFLAGS="$CFLAGS $flag" |
15470 |
> |
;; |
15471 |
> |
esac |
15472 |
> |
else |
15473 |
> |
CFLAGS="$flag" |
15474 |
> |
fi |
15475 |
> |
|
15476 |
> |
else |
15477 |
> |
: |
15478 |
> |
fi |
15479 |
> |
|
15480 |
> |
done |
15481 |
|
|
15482 |
|
fi |
15483 |
|
|
15568 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
15569 |
|
|
15570 |
|
|
15571 |
< |
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" |
15571 |
> |
ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile" |
15572 |
|
|
15573 |
|
|
15574 |
|
cat >confcache <<\_ACEOF |
15635 |
|
:end' >>confcache |
15636 |
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
15637 |
|
if test -w "$cache_file"; then |
15638 |
< |
test "x$cache_file" != "x/dev/null" && |
15638 |
> |
if test "x$cache_file" != "x/dev/null"; then |
15639 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
15640 |
|
$as_echo "$as_me: updating cache $cache_file" >&6;} |
15641 |
< |
cat confcache >$cache_file |
15641 |
> |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
15642 |
> |
cat confcache >"$cache_file" |
15643 |
> |
else |
15644 |
> |
case $cache_file in #( |
15645 |
> |
*/* | ?:*) |
15646 |
> |
mv -f confcache "$cache_file"$$ && |
15647 |
> |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
15648 |
> |
*) |
15649 |
> |
mv -f confcache "$cache_file" ;; |
15650 |
> |
esac |
15651 |
> |
fi |
15652 |
> |
fi |
15653 |
|
else |
15654 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
15655 |
|
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
15665 |
|
|
15666 |
|
ac_libobjs= |
15667 |
|
ac_ltlibobjs= |
15668 |
+ |
U= |
15669 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
15670 |
|
# 1. Remove the extension, and $U if already installed. |
15671 |
|
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
15680 |
|
LTLIBOBJS=$ac_ltlibobjs |
15681 |
|
|
15682 |
|
|
15683 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
15684 |
+ |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
15685 |
+ |
if test -n "$am_sleep_pid"; then |
15686 |
+ |
# Hide warnings about reused PIDs. |
15687 |
+ |
wait $am_sleep_pid 2>/dev/null |
15688 |
+ |
fi |
15689 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
15690 |
+ |
$as_echo "done" >&6; } |
15691 |
|
if test -n "$EXEEXT"; then |
15692 |
|
am__EXEEXT_TRUE= |
15693 |
|
am__EXEEXT_FALSE='#' |
15697 |
|
fi |
15698 |
|
|
15699 |
|
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
15700 |
< |
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. |
15700 |
> |
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
15701 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
15702 |
|
fi |
15703 |
|
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
15704 |
< |
as_fn_error "conditional \"AMDEP\" was never defined. |
15704 |
> |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
15705 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
15706 |
|
fi |
15707 |
|
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
15708 |
< |
as_fn_error "conditional \"am__fastdepCC\" was never defined. |
15708 |
> |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
15709 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
15710 |
|
fi |
15711 |
|
if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then |
15712 |
< |
as_fn_error "conditional \"INSTALL_LTDL\" was never defined. |
15712 |
> |
as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined. |
15713 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
15714 |
|
fi |
15715 |
|
if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then |
15716 |
< |
as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined. |
15716 |
> |
as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined. |
15717 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
15718 |
|
fi |
15719 |
|
LT_CONFIG_H=config.h |
15735 |
|
|
15736 |
|
|
15737 |
|
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
15738 |
< |
as_fn_error "conditional \"ENABLE_SSL\" was never defined. |
13893 |
< |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13894 |
< |
fi |
13895 |
< |
if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then |
13896 |
< |
as_fn_error "conditional \"EFNET\" was never defined. |
15738 |
> |
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
15739 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
15740 |
|
fi |
15741 |
|
|
15742 |
< |
: ${CONFIG_STATUS=./config.status} |
15742 |
> |
: "${CONFIG_STATUS=./config.status}" |
15743 |
|
ac_write_fail=0 |
15744 |
|
ac_clean_files_save=$ac_clean_files |
15745 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
15840 |
|
IFS=" "" $as_nl" |
15841 |
|
|
15842 |
|
# Find who we are. Look in the path if we contain no directory separator. |
15843 |
+ |
as_myself= |
15844 |
|
case $0 in #(( |
15845 |
|
*[\\/]* ) as_myself=$0 ;; |
15846 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
15886 |
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
15887 |
|
|
15888 |
|
|
15889 |
< |
# as_fn_error ERROR [LINENO LOG_FD] |
15890 |
< |
# --------------------------------- |
15889 |
> |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
15890 |
> |
# ---------------------------------------- |
15891 |
|
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
15892 |
|
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
15893 |
< |
# script with status $?, using 1 if that was 0. |
15893 |
> |
# script with STATUS, using 1 if that was 0. |
15894 |
|
as_fn_error () |
15895 |
|
{ |
15896 |
< |
as_status=$?; test $as_status -eq 0 && as_status=1 |
15897 |
< |
if test "$3"; then |
15898 |
< |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
15899 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
15896 |
> |
as_status=$1; test $as_status -eq 0 && as_status=1 |
15897 |
> |
if test "$4"; then |
15898 |
> |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
15899 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
15900 |
|
fi |
15901 |
< |
$as_echo "$as_me: error: $1" >&2 |
15901 |
> |
$as_echo "$as_me: error: $2" >&2 |
15902 |
|
as_fn_exit $as_status |
15903 |
|
} # as_fn_error |
15904 |
|
|
16036 |
|
# ... but there are two gotchas: |
16037 |
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
16038 |
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
16039 |
< |
# In both cases, we have to default to `cp -p'. |
16039 |
> |
# In both cases, we have to default to `cp -pR'. |
16040 |
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
16041 |
< |
as_ln_s='cp -p' |
16041 |
> |
as_ln_s='cp -pR' |
16042 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
16043 |
|
as_ln_s=ln |
16044 |
|
else |
16045 |
< |
as_ln_s='cp -p' |
16045 |
> |
as_ln_s='cp -pR' |
16046 |
|
fi |
16047 |
|
else |
16048 |
< |
as_ln_s='cp -p' |
16048 |
> |
as_ln_s='cp -pR' |
16049 |
|
fi |
16050 |
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
16051 |
|
rmdir conf$$.dir 2>/dev/null |
16094 |
|
test -d "$as_dir" && break |
16095 |
|
done |
16096 |
|
test -z "$as_dirs" || eval "mkdir $as_dirs" |
16097 |
< |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
16097 |
> |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
16098 |
|
|
16099 |
|
|
16100 |
|
} # as_fn_mkdir_p |
16105 |
|
as_mkdir_p=false |
16106 |
|
fi |
16107 |
|
|
16108 |
< |
if test -x / >/dev/null 2>&1; then |
16109 |
< |
as_test_x='test -x' |
16110 |
< |
else |
16111 |
< |
if ls -dL / >/dev/null 2>&1; then |
16112 |
< |
as_ls_L_option=L |
16113 |
< |
else |
16114 |
< |
as_ls_L_option= |
16115 |
< |
fi |
16116 |
< |
as_test_x=' |
16117 |
< |
eval sh -c '\'' |
14275 |
< |
if test -d "$1"; then |
14276 |
< |
test -d "$1/."; |
14277 |
< |
else |
14278 |
< |
case $1 in #( |
14279 |
< |
-*)set "./$1";; |
14280 |
< |
esac; |
14281 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
14282 |
< |
???[sx]*):;;*)false;;esac;fi |
14283 |
< |
'\'' sh |
14284 |
< |
' |
14285 |
< |
fi |
14286 |
< |
as_executable_p=$as_test_x |
16108 |
> |
|
16109 |
> |
# as_fn_executable_p FILE |
16110 |
> |
# ----------------------- |
16111 |
> |
# Test if FILE is an executable regular file. |
16112 |
> |
as_fn_executable_p () |
16113 |
> |
{ |
16114 |
> |
test -f "$1" && test -x "$1" |
16115 |
> |
} # as_fn_executable_p |
16116 |
> |
as_test_x='test -x' |
16117 |
> |
as_executable_p=as_fn_executable_p |
16118 |
|
|
16119 |
|
# Sed expression to map a string onto a valid CPP name. |
16120 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
16135 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
16136 |
|
# values after options handling. |
16137 |
|
ac_log=" |
16138 |
< |
This file was extended by ircd-hybrid $as_me 7.2.4, which was |
16139 |
< |
generated by GNU Autoconf 2.64. Invocation command line was |
16138 |
> |
This file was extended by ircd-hybrid $as_me TRUNK, which was |
16139 |
> |
generated by GNU Autoconf 2.69. Invocation command line was |
16140 |
|
|
16141 |
|
CONFIG_FILES = $CONFIG_FILES |
16142 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
16176 |
|
|
16177 |
|
-h, --help print this help, then exit |
16178 |
|
-V, --version print version number and configuration settings, then exit |
16179 |
+ |
--config print configuration, then exit |
16180 |
|
-q, --quiet, --silent |
16181 |
|
do not print progress messages |
16182 |
|
-d, --debug don't remove temporary files |
16195 |
|
Configuration commands: |
16196 |
|
$config_commands |
16197 |
|
|
16198 |
< |
Report bugs to the package provider." |
16198 |
> |
Report bugs to <bugs@ircd-hybrid.org>." |
16199 |
|
|
16200 |
|
_ACEOF |
16201 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16202 |
+ |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
16203 |
|
ac_cs_version="\\ |
16204 |
< |
ircd-hybrid config.status 7.2.4 |
16205 |
< |
configured by $0, generated by GNU Autoconf 2.64, |
16206 |
< |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
16204 |
> |
ircd-hybrid config.status TRUNK |
16205 |
> |
configured by $0, generated by GNU Autoconf 2.69, |
16206 |
> |
with options \\"\$ac_cs_config\\" |
16207 |
|
|
16208 |
< |
Copyright (C) 2009 Free Software Foundation, Inc. |
16208 |
> |
Copyright (C) 2012 Free Software Foundation, Inc. |
16209 |
|
This config.status script is free software; the Free Software Foundation |
16210 |
|
gives unlimited permission to copy, distribute and modify it." |
16211 |
|
|
16223 |
|
while test $# != 0 |
16224 |
|
do |
16225 |
|
case $1 in |
16226 |
< |
--*=*) |
16226 |
> |
--*=?*) |
16227 |
|
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
16228 |
|
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
16229 |
|
ac_shift=: |
16230 |
|
;; |
16231 |
+ |
--*=) |
16232 |
+ |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
16233 |
+ |
ac_optarg= |
16234 |
+ |
ac_shift=: |
16235 |
+ |
;; |
16236 |
|
*) |
16237 |
|
ac_option=$1 |
16238 |
|
ac_optarg=$2 |
16246 |
|
ac_cs_recheck=: ;; |
16247 |
|
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
16248 |
|
$as_echo "$ac_cs_version"; exit ;; |
16249 |
+ |
--config | --confi | --conf | --con | --co | --c ) |
16250 |
+ |
$as_echo "$ac_cs_config"; exit ;; |
16251 |
|
--debug | --debu | --deb | --de | --d | -d ) |
16252 |
|
debug=: ;; |
16253 |
|
--file | --fil | --fi | --f ) |
16254 |
|
$ac_shift |
16255 |
|
case $ac_optarg in |
16256 |
|
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
16257 |
+ |
'') as_fn_error $? "missing file argument" ;; |
16258 |
|
esac |
16259 |
|
as_fn_append CONFIG_FILES " '$ac_optarg'" |
16260 |
|
ac_need_defaults=false;; |
16267 |
|
ac_need_defaults=false;; |
16268 |
|
--he | --h) |
16269 |
|
# Conflict between --help and --header |
16270 |
< |
as_fn_error "ambiguous option: \`$1' |
16270 |
> |
as_fn_error $? "ambiguous option: \`$1' |
16271 |
|
Try \`$0 --help' for more information.";; |
16272 |
|
--help | --hel | -h ) |
16273 |
|
$as_echo "$ac_cs_usage"; exit ;; |
16276 |
|
ac_cs_silent=: ;; |
16277 |
|
|
16278 |
|
# This is an error. |
16279 |
< |
-*) as_fn_error "unrecognized option: \`$1' |
16279 |
> |
-*) as_fn_error $? "unrecognized option: \`$1' |
16280 |
|
Try \`$0 --help' for more information." ;; |
16281 |
|
|
16282 |
|
*) as_fn_append ac_config_targets " $1" |
16296 |
|
_ACEOF |
16297 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16298 |
|
if \$ac_cs_recheck; then |
16299 |
< |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
16299 |
> |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
16300 |
|
shift |
16301 |
|
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
16302 |
|
CONFIG_SHELL='$SHELL' |
16330 |
|
sed_quote_subst='$sed_quote_subst' |
16331 |
|
double_quote_subst='$double_quote_subst' |
16332 |
|
delay_variable_subst='$delay_variable_subst' |
16333 |
< |
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' |
16334 |
< |
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' |
16335 |
< |
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' |
16336 |
< |
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' |
16337 |
< |
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' |
16338 |
< |
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' |
16339 |
< |
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' |
16340 |
< |
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' |
16341 |
< |
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' |
16342 |
< |
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' |
16343 |
< |
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' |
16344 |
< |
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' |
16345 |
< |
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' |
16346 |
< |
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' |
16347 |
< |
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' |
16348 |
< |
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' |
16349 |
< |
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' |
16350 |
< |
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' |
16351 |
< |
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' |
16352 |
< |
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' |
16353 |
< |
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' |
16354 |
< |
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' |
16355 |
< |
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' |
16356 |
< |
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' |
16357 |
< |
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' |
16358 |
< |
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' |
16359 |
< |
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' |
16360 |
< |
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
16361 |
< |
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' |
16362 |
< |
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' |
16363 |
< |
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' |
16364 |
< |
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' |
16365 |
< |
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
16366 |
< |
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' |
16367 |
< |
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' |
16368 |
< |
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
16369 |
< |
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
16370 |
< |
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
16371 |
< |
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' |
16372 |
< |
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
16373 |
< |
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' |
16374 |
< |
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' |
16375 |
< |
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' |
16376 |
< |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' |
16377 |
< |
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"`' |
16378 |
< |
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"`' |
16379 |
< |
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' |
16380 |
< |
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' |
16381 |
< |
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' |
16382 |
< |
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' |
16383 |
< |
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' |
16384 |
< |
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' |
16385 |
< |
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' |
16386 |
< |
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' |
16387 |
< |
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' |
16388 |
< |
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' |
16389 |
< |
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' |
16390 |
< |
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' |
16391 |
< |
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' |
16392 |
< |
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' |
16393 |
< |
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' |
16394 |
< |
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' |
16395 |
< |
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
16396 |
< |
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
16397 |
< |
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' |
16398 |
< |
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' |
16399 |
< |
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
16400 |
< |
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
16401 |
< |
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' |
16402 |
< |
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
16403 |
< |
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
16404 |
< |
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
16405 |
< |
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
16406 |
< |
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
16407 |
< |
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
16408 |
< |
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' |
16409 |
< |
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
16410 |
< |
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
16411 |
< |
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
16412 |
< |
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' |
16413 |
< |
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' |
16414 |
< |
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' |
16415 |
< |
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' |
16416 |
< |
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' |
16417 |
< |
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
16418 |
< |
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' |
16419 |
< |
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' |
16420 |
< |
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' |
16421 |
< |
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' |
16422 |
< |
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' |
16423 |
< |
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
16424 |
< |
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
16425 |
< |
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
16426 |
< |
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
16427 |
< |
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' |
16428 |
< |
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' |
16429 |
< |
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' |
16430 |
< |
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' |
16431 |
< |
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' |
16432 |
< |
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
16433 |
< |
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
16434 |
< |
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' |
16435 |
< |
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
16436 |
< |
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' |
16437 |
< |
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
16438 |
< |
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
16439 |
< |
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
16440 |
< |
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
16441 |
< |
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' |
16442 |
< |
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' |
16443 |
< |
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
16444 |
< |
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
16445 |
< |
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' |
16446 |
< |
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' |
16447 |
< |
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' |
16448 |
< |
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' |
16449 |
< |
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' |
16450 |
< |
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' |
16333 |
> |
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
16334 |
> |
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
16335 |
> |
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
16336 |
> |
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
16337 |
> |
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
16338 |
> |
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
16339 |
> |
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
16340 |
> |
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
16341 |
> |
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
16342 |
> |
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
16343 |
> |
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
16344 |
> |
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
16345 |
> |
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
16346 |
> |
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
16347 |
> |
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
16348 |
> |
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
16349 |
> |
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
16350 |
> |
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
16351 |
> |
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
16352 |
> |
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
16353 |
> |
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
16354 |
> |
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
16355 |
> |
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
16356 |
> |
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
16357 |
> |
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
16358 |
> |
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
16359 |
> |
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
16360 |
> |
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
16361 |
> |
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
16362 |
> |
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
16363 |
> |
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
16364 |
> |
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
16365 |
> |
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
16366 |
> |
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
16367 |
> |
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
16368 |
> |
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
16369 |
> |
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
16370 |
> |
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
16371 |
> |
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
16372 |
> |
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
16373 |
> |
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
16374 |
> |
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
16375 |
> |
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
16376 |
> |
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
16377 |
> |
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
16378 |
> |
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
16379 |
> |
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
16380 |
> |
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' |
16381 |
> |
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' |
16382 |
> |
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
16383 |
> |
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
16384 |
> |
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
16385 |
> |
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
16386 |
> |
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
16387 |
> |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
16388 |
> |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
16389 |
> |
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"`' |
16390 |
> |
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
16391 |
> |
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
16392 |
> |
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
16393 |
> |
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
16394 |
> |
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
16395 |
> |
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
16396 |
> |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
16397 |
> |
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
16398 |
> |
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
16399 |
> |
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
16400 |
> |
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
16401 |
> |
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
16402 |
> |
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
16403 |
> |
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
16404 |
> |
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' |
16405 |
> |
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' |
16406 |
> |
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' |
16407 |
> |
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' |
16408 |
> |
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
16409 |
> |
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' |
16410 |
> |
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' |
16411 |
> |
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' |
16412 |
> |
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' |
16413 |
> |
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' |
16414 |
> |
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' |
16415 |
> |
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
16416 |
> |
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' |
16417 |
> |
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
16418 |
> |
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' |
16419 |
> |
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
16420 |
> |
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' |
16421 |
> |
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
16422 |
> |
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
16423 |
> |
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
16424 |
> |
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
16425 |
> |
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
16426 |
> |
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
16427 |
> |
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' |
16428 |
> |
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' |
16429 |
> |
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
16430 |
> |
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
16431 |
> |
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
16432 |
> |
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
16433 |
> |
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
16434 |
> |
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
16435 |
> |
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
16436 |
> |
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
16437 |
> |
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
16438 |
> |
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
16439 |
> |
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
16440 |
> |
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
16441 |
> |
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' |
16442 |
> |
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' |
16443 |
> |
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' |
16444 |
> |
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' |
16445 |
> |
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' |
16446 |
> |
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
16447 |
> |
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' |
16448 |
> |
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
16449 |
> |
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' |
16450 |
> |
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
16451 |
> |
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
16452 |
> |
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
16453 |
> |
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
16454 |
> |
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
16455 |
> |
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
16456 |
> |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
16457 |
> |
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
16458 |
> |
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
16459 |
> |
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
16460 |
> |
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
16461 |
> |
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
16462 |
> |
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
16463 |
|
|
16464 |
|
LTCC='$LTCC' |
16465 |
|
LTCFLAGS='$LTCFLAGS' |
16466 |
|
compiler='$compiler_DEFAULT' |
16467 |
|
|
16468 |
+ |
# A function that is used when there is no print builtin or printf. |
16469 |
+ |
func_fallback_echo () |
16470 |
+ |
{ |
16471 |
+ |
eval 'cat <<_LTECHO_EOF |
16472 |
+ |
\$1 |
16473 |
+ |
_LTECHO_EOF' |
16474 |
+ |
} |
16475 |
+ |
|
16476 |
|
# Quote evaled strings. |
16477 |
< |
for var in SED \ |
16477 |
> |
for var in SHELL \ |
16478 |
> |
ECHO \ |
16479 |
> |
PATH_SEPARATOR \ |
16480 |
> |
SED \ |
16481 |
|
GREP \ |
16482 |
|
EGREP \ |
16483 |
|
FGREP \ |
16490 |
|
OBJDUMP \ |
16491 |
|
deplibs_check_method \ |
16492 |
|
file_magic_cmd \ |
16493 |
+ |
file_magic_glob \ |
16494 |
+ |
want_nocaseglob \ |
16495 |
+ |
DLLTOOL \ |
16496 |
+ |
sharedlib_from_linklib_cmd \ |
16497 |
|
AR \ |
16498 |
|
AR_FLAGS \ |
16499 |
+ |
archiver_list_spec \ |
16500 |
|
STRIP \ |
16501 |
|
RANLIB \ |
16502 |
|
CC \ |
16506 |
|
lt_cv_sys_global_symbol_to_cdecl \ |
16507 |
|
lt_cv_sys_global_symbol_to_c_name_address \ |
16508 |
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
16509 |
< |
SHELL \ |
14641 |
< |
ECHO \ |
16509 |
> |
nm_file_list_spec \ |
16510 |
|
lt_prog_compiler_no_builtin_flag \ |
14643 |
– |
lt_prog_compiler_wl \ |
16511 |
|
lt_prog_compiler_pic \ |
16512 |
+ |
lt_prog_compiler_wl \ |
16513 |
|
lt_prog_compiler_static \ |
16514 |
|
lt_cv_prog_compiler_c_o \ |
16515 |
|
need_locks \ |
16516 |
+ |
MANIFEST_TOOL \ |
16517 |
|
DSYMUTIL \ |
16518 |
|
NMEDIT \ |
16519 |
|
LIPO \ |
16527 |
|
allow_undefined_flag \ |
16528 |
|
no_undefined_flag \ |
16529 |
|
hardcode_libdir_flag_spec \ |
14661 |
– |
hardcode_libdir_flag_spec_ld \ |
16530 |
|
hardcode_libdir_separator \ |
14663 |
– |
fix_srcfile_path \ |
16531 |
|
exclude_expsyms \ |
16532 |
|
include_expsyms \ |
16533 |
|
file_list_spec \ |
16535 |
|
libname_spec \ |
16536 |
|
library_names_spec \ |
16537 |
|
soname_spec \ |
16538 |
+ |
install_override_mode \ |
16539 |
|
finish_eval \ |
16540 |
|
old_striplib \ |
16541 |
|
striplib; do |
16542 |
< |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
16542 |
> |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
16543 |
|
*[\\\\\\\`\\"\\\$]*) |
16544 |
< |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
16544 |
> |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
16545 |
|
;; |
16546 |
|
*) |
16547 |
|
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
16563 |
|
module_expsym_cmds \ |
16564 |
|
export_symbols_cmds \ |
16565 |
|
prelink_cmds \ |
16566 |
+ |
postlink_cmds \ |
16567 |
|
postinstall_cmds \ |
16568 |
|
postuninstall_cmds \ |
16569 |
|
finish_cmds \ |
16570 |
|
sys_lib_search_path_spec \ |
16571 |
|
sys_lib_dlsearch_path_spec; do |
16572 |
< |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
16572 |
> |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
16573 |
|
*[\\\\\\\`\\"\\\$]*) |
16574 |
< |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
16574 |
> |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
16575 |
|
;; |
16576 |
|
*) |
16577 |
|
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
16579 |
|
esac |
16580 |
|
done |
16581 |
|
|
14713 |
– |
# Fix-up fallback echo if it was mangled by the above quoting rules. |
14714 |
– |
case \$lt_ECHO in |
14715 |
– |
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` |
14716 |
– |
;; |
14717 |
– |
esac |
14718 |
– |
|
16582 |
|
ac_aux_dir='$ac_aux_dir' |
16583 |
|
xsi_shell='$xsi_shell' |
16584 |
|
lt_shell_append='$lt_shell_append' |
16611 |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
16612 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
16613 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
14751 |
– |
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; |
14752 |
– |
"etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;; |
14753 |
– |
"etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;; |
14754 |
– |
"etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;; |
14755 |
– |
"servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;; |
14756 |
– |
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
14757 |
– |
"contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;; |
16614 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
16615 |
< |
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
16615 |
> |
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
16616 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
16617 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
16618 |
|
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
16619 |
|
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
14764 |
– |
"help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;; |
14765 |
– |
"help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; |
14766 |
– |
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
14767 |
– |
"lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;; |
16620 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
16621 |
|
|
16622 |
< |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
16622 |
> |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
16623 |
|
esac |
16624 |
|
done |
16625 |
|
|
16642 |
|
# after its creation but before its name has been assigned to `$tmp'. |
16643 |
|
$debug || |
16644 |
|
{ |
16645 |
< |
tmp= |
16645 |
> |
tmp= ac_tmp= |
16646 |
|
trap 'exit_status=$? |
16647 |
< |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
16647 |
> |
: "${ac_tmp:=$tmp}" |
16648 |
> |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
16649 |
|
' 0 |
16650 |
|
trap 'as_fn_exit 1' 1 2 13 15 |
16651 |
|
} |
16653 |
|
|
16654 |
|
{ |
16655 |
|
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
16656 |
< |
test -n "$tmp" && test -d "$tmp" |
16656 |
> |
test -d "$tmp" |
16657 |
|
} || |
16658 |
|
{ |
16659 |
|
tmp=./conf$$-$RANDOM |
16660 |
|
(umask 077 && mkdir "$tmp") |
16661 |
< |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
16661 |
> |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
16662 |
> |
ac_tmp=$tmp |
16663 |
|
|
16664 |
|
# Set up the scripts for CONFIG_FILES section. |
16665 |
|
# No need to generate them if there are no CONFIG_FILES. |
16676 |
|
fi |
16677 |
|
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
16678 |
|
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
16679 |
< |
ac_cs_awk_cr='\r' |
16679 |
> |
ac_cs_awk_cr='\\r' |
16680 |
|
else |
16681 |
|
ac_cs_awk_cr=$ac_cr |
16682 |
|
fi |
16683 |
|
|
16684 |
< |
echo 'BEGIN {' >"$tmp/subs1.awk" && |
16684 |
> |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
16685 |
|
_ACEOF |
16686 |
|
|
16687 |
|
|
16690 |
|
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
16691 |
|
echo "_ACEOF" |
16692 |
|
} >conf$$subs.sh || |
16693 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
16694 |
< |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
16693 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
16694 |
> |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
16695 |
|
ac_delim='%!_!# ' |
16696 |
|
for ac_last_try in false false false false false :; do |
16697 |
|
. ./conf$$subs.sh || |
16698 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
16698 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
16699 |
|
|
16700 |
|
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
16701 |
|
if test $ac_delim_n = $ac_delim_num; then |
16702 |
|
break |
16703 |
|
elif $ac_last_try; then |
16704 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
16704 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
16705 |
|
else |
16706 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
16707 |
|
fi |
16709 |
|
rm -f conf$$subs.sh |
16710 |
|
|
16711 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16712 |
< |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
16712 |
> |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
16713 |
|
_ACEOF |
16714 |
|
sed -n ' |
16715 |
|
h |
16723 |
|
t delim |
16724 |
|
:nl |
16725 |
|
h |
16726 |
< |
s/\(.\{148\}\).*/\1/ |
16726 |
> |
s/\(.\{148\}\)..*/\1/ |
16727 |
|
t more1 |
16728 |
|
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
16729 |
|
p |
16737 |
|
t nl |
16738 |
|
:delim |
16739 |
|
h |
16740 |
< |
s/\(.\{148\}\).*/\1/ |
16740 |
> |
s/\(.\{148\}\)..*/\1/ |
16741 |
|
t more2 |
16742 |
|
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
16743 |
|
p |
16757 |
|
rm -f conf$$subs.awk |
16758 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16759 |
|
_ACAWK |
16760 |
< |
cat >>"\$tmp/subs1.awk" <<_ACAWK && |
16760 |
> |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
16761 |
|
for (key in S) S_is_set[key] = 1 |
16762 |
|
FS = "" |
16763 |
|
|
16789 |
|
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
16790 |
|
else |
16791 |
|
cat |
16792 |
< |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
16793 |
< |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5 |
16792 |
> |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
16793 |
> |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
16794 |
|
_ACEOF |
16795 |
|
|
16796 |
< |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
16797 |
< |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
16796 |
> |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
16797 |
> |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
16798 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
16799 |
|
# (actually we leave an empty line to preserve line numbers). |
16800 |
|
if test "x$srcdir" = x.; then |
16801 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
16802 |
< |
s/:*\$(srcdir):*/:/ |
16803 |
< |
s/:*\${srcdir}:*/:/ |
16804 |
< |
s/:*@srcdir@:*/:/ |
16805 |
< |
s/^\([^=]*=[ ]*\):*/\1/ |
16801 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
16802 |
> |
h |
16803 |
> |
s/// |
16804 |
> |
s/^/:/ |
16805 |
> |
s/[ ]*$/:/ |
16806 |
> |
s/:\$(srcdir):/:/g |
16807 |
> |
s/:\${srcdir}:/:/g |
16808 |
> |
s/:@srcdir@:/:/g |
16809 |
> |
s/^:*// |
16810 |
|
s/:*$// |
16811 |
+ |
x |
16812 |
+ |
s/\(=[ ]*\).*/\1/ |
16813 |
+ |
G |
16814 |
+ |
s/\n// |
16815 |
|
s/^[^=]*=[ ]*$// |
16816 |
|
}' |
16817 |
|
fi |
16823 |
|
# No need to generate them if there are no CONFIG_HEADERS. |
16824 |
|
# This happens for instance with `./config.status Makefile'. |
16825 |
|
if test -n "$CONFIG_HEADERS"; then |
16826 |
< |
cat >"$tmp/defines.awk" <<\_ACAWK || |
16826 |
> |
cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
16827 |
|
BEGIN { |
16828 |
|
_ACEOF |
16829 |
|
|
16835 |
|
# handling of long lines. |
16836 |
|
ac_delim='%!_!# ' |
16837 |
|
for ac_last_try in false false :; do |
16838 |
< |
ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
16839 |
< |
if test -z "$ac_t"; then |
16838 |
> |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
16839 |
> |
if test -z "$ac_tt"; then |
16840 |
|
break |
16841 |
|
elif $ac_last_try; then |
16842 |
< |
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
16842 |
> |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
16843 |
|
else |
16844 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
16845 |
|
fi |
16924 |
|
_ACAWK |
16925 |
|
_ACEOF |
16926 |
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
16927 |
< |
as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
16927 |
> |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
16928 |
|
fi # test -n "$CONFIG_HEADERS" |
16929 |
|
|
16930 |
|
|
16937 |
|
esac |
16938 |
|
case $ac_mode$ac_tag in |
16939 |
|
:[FHL]*:*);; |
16940 |
< |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
16940 |
> |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
16941 |
|
:[FH]-) ac_tag=-:-;; |
16942 |
|
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
16943 |
|
esac |
16956 |
|
for ac_f |
16957 |
|
do |
16958 |
|
case $ac_f in |
16959 |
< |
-) ac_f="$tmp/stdin";; |
16959 |
> |
-) ac_f="$ac_tmp/stdin";; |
16960 |
|
*) # Look for the file first in the build tree, then in the source tree |
16961 |
|
# (if the path is not absolute). The absolute path cannot be DOS-style, |
16962 |
|
# because $ac_f cannot contain `:'. |
16965 |
|
[\\/$]*) false;; |
16966 |
|
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
16967 |
|
esac || |
16968 |
< |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
16968 |
> |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
16969 |
|
esac |
16970 |
|
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
16971 |
|
as_fn_append ac_file_inputs " '$ac_f'" |
16991 |
|
esac |
16992 |
|
|
16993 |
|
case $ac_tag in |
16994 |
< |
*:-:* | *:-) cat >"$tmp/stdin" \ |
16995 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
16994 |
> |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
16995 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
16996 |
|
esac |
16997 |
|
;; |
16998 |
|
esac |
17128 |
|
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
17129 |
|
$ac_datarootdir_hack |
17130 |
|
" |
17131 |
< |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
17132 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
17131 |
> |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
17132 |
> |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
17133 |
|
|
17134 |
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
17135 |
< |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
17136 |
< |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
17135 |
> |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
17136 |
> |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
17137 |
> |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
17138 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
17139 |
< |
which seems to be undefined. Please make sure it is defined." >&5 |
17139 |
> |
which seems to be undefined. Please make sure it is defined" >&5 |
17140 |
|
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
17141 |
< |
which seems to be undefined. Please make sure it is defined." >&2;} |
17141 |
> |
which seems to be undefined. Please make sure it is defined" >&2;} |
17142 |
|
|
17143 |
< |
rm -f "$tmp/stdin" |
17143 |
> |
rm -f "$ac_tmp/stdin" |
17144 |
|
case $ac_file in |
17145 |
< |
-) cat "$tmp/out" && rm -f "$tmp/out";; |
17146 |
< |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
17145 |
> |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
17146 |
> |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
17147 |
|
esac \ |
17148 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
17148 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
17149 |
|
;; |
17150 |
|
:H) |
17151 |
|
# |
17154 |
|
if test x"$ac_file" != x-; then |
17155 |
|
{ |
17156 |
|
$as_echo "/* $configure_input */" \ |
17157 |
< |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
17158 |
< |
} >"$tmp/config.h" \ |
17159 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
17160 |
< |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
17157 |
> |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
17158 |
> |
} >"$ac_tmp/config.h" \ |
17159 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
17160 |
> |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
17161 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
17162 |
|
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
17163 |
|
else |
17164 |
|
rm -f "$ac_file" |
17165 |
< |
mv "$tmp/config.h" "$ac_file" \ |
17166 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
17165 |
> |
mv "$ac_tmp/config.h" "$ac_file" \ |
17166 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
17167 |
|
fi |
17168 |
|
else |
17169 |
|
$as_echo "/* $configure_input */" \ |
17170 |
< |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
17171 |
< |
|| as_fn_error "could not create -" "$LINENO" 5 |
17170 |
> |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
17171 |
> |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
17172 |
|
fi |
17173 |
|
# Compute "$ac_file"'s index in $config_headers. |
17174 |
|
_am_arg="$ac_file" |
17214 |
|
|
17215 |
|
case $ac_file$ac_mode in |
17216 |
|
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
17217 |
< |
# Autoconf 2.62 quotes --file arguments for eval, but not when files |
17217 |
> |
# Older Autoconf quotes --file arguments for eval, but not when files |
17218 |
|
# are listed without --file. Let's play safe and only enable the eval |
17219 |
|
# if we detect the quoting. |
17220 |
|
case $CONFIG_FILES in |
17227 |
|
# Strip MF so we end up with the name of the file. |
17228 |
|
mf=`echo "$mf" | sed -e 's/:.*$//'` |
17229 |
|
# Check whether this is an Automake generated Makefile or not. |
17230 |
< |
# We used to match only the files named `Makefile.in', but |
17230 |
> |
# We used to match only the files named 'Makefile.in', but |
17231 |
|
# some people rename them; so instead we look at the file content. |
17232 |
|
# Grep'ing the first line is not enough: some people post-process |
17233 |
|
# each Makefile.in and add a new line on top of each file to say so. |
17261 |
|
continue |
17262 |
|
fi |
17263 |
|
# Extract the definition of DEPDIR, am__include, and am__quote |
17264 |
< |
# from the Makefile without running `make'. |
17264 |
> |
# from the Makefile without running 'make'. |
17265 |
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
17266 |
|
test -z "$DEPDIR" && continue |
17267 |
|
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
17268 |
< |
test -z "am__include" && continue |
17268 |
> |
test -z "$am__include" && continue |
17269 |
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
15407 |
– |
# When using ansi2knr, U may be empty or an underscore; expand it |
15408 |
– |
U=`sed -n 's/^U = //p' < "$mf"` |
17270 |
|
# Find all dependency output files, they are included files with |
17271 |
|
# $(DEPDIR) in their names. We invoke sed twice because it is the |
17272 |
|
# simplest approach to changing $(DEPDIR) to its actual value in the |
17273 |
|
# expansion. |
17274 |
|
for file in `sed -n " |
17275 |
|
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
17276 |
< |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
17276 |
> |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
17277 |
|
# Make sure the directory exists. |
17278 |
|
test -f "$dirpart/$file" && continue |
17279 |
|
fdir=`$as_dirname -- "$file" || |
17327 |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
17328 |
|
# |
17329 |
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
17330 |
< |
# 2006, 2007, 2008 Free Software Foundation, Inc. |
17330 |
> |
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
17331 |
> |
# Foundation, Inc. |
17332 |
|
# Written by Gordon Matzigkeit, 1996 |
17333 |
|
# |
17334 |
|
# This file is part of GNU Libtool. |
17376 |
|
# Whether or not to optimize for fast installation. |
17377 |
|
fast_install=$enable_fast_install |
17378 |
|
|
17379 |
+ |
# Shell to use when invoking shell scripts. |
17380 |
+ |
SHELL=$lt_SHELL |
17381 |
+ |
|
17382 |
+ |
# An echo program that protects backslashes. |
17383 |
+ |
ECHO=$lt_ECHO |
17384 |
+ |
|
17385 |
+ |
# The PATH separator for the build system. |
17386 |
+ |
PATH_SEPARATOR=$lt_PATH_SEPARATOR |
17387 |
+ |
|
17388 |
|
# The host system. |
17389 |
|
host_alias=$host_alias |
17390 |
|
host=$host |
17434 |
|
# turn newlines into spaces. |
17435 |
|
NL2SP=$lt_lt_NL2SP |
17436 |
|
|
17437 |
< |
# How to create reloadable object files. |
17438 |
< |
reload_flag=$lt_reload_flag |
17439 |
< |
reload_cmds=$lt_reload_cmds |
17437 |
> |
# convert \$build file names to \$host format. |
17438 |
> |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
17439 |
> |
|
17440 |
> |
# convert \$build files to toolchain format. |
17441 |
> |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
17442 |
|
|
17443 |
|
# An object symbol dumper. |
17444 |
|
OBJDUMP=$lt_OBJDUMP |
17446 |
|
# Method to check whether dependent libraries are shared objects. |
17447 |
|
deplibs_check_method=$lt_deplibs_check_method |
17448 |
|
|
17449 |
< |
# Command to use when deplibs_check_method == "file_magic". |
17449 |
> |
# Command to use when deplibs_check_method = "file_magic". |
17450 |
|
file_magic_cmd=$lt_file_magic_cmd |
17451 |
|
|
17452 |
+ |
# How to find potential files when deplibs_check_method = "file_magic". |
17453 |
+ |
file_magic_glob=$lt_file_magic_glob |
17454 |
+ |
|
17455 |
+ |
# Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
17456 |
+ |
want_nocaseglob=$lt_want_nocaseglob |
17457 |
+ |
|
17458 |
+ |
# DLL creation program. |
17459 |
+ |
DLLTOOL=$lt_DLLTOOL |
17460 |
+ |
|
17461 |
+ |
# Command to associate shared and link libraries. |
17462 |
+ |
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
17463 |
+ |
|
17464 |
|
# The archiver. |
17465 |
|
AR=$lt_AR |
17466 |
+ |
|
17467 |
+ |
# Flags to create an archive. |
17468 |
|
AR_FLAGS=$lt_AR_FLAGS |
17469 |
|
|
17470 |
+ |
# How to feed a file listing to the archiver. |
17471 |
+ |
archiver_list_spec=$lt_archiver_list_spec |
17472 |
+ |
|
17473 |
|
# A symbol stripping program. |
17474 |
|
STRIP=$lt_STRIP |
17475 |
|
|
17478 |
|
old_postinstall_cmds=$lt_old_postinstall_cmds |
17479 |
|
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
17480 |
|
|
17481 |
+ |
# Whether to use a lock for old archive extraction. |
17482 |
+ |
lock_old_archive_extraction=$lock_old_archive_extraction |
17483 |
+ |
|
17484 |
|
# A C compiler. |
17485 |
|
LTCC=$lt_CC |
17486 |
|
|
17499 |
|
# Transform the output of nm in a C name address pair when lib prefix is needed. |
17500 |
|
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
17501 |
|
|
17502 |
< |
# The name of the directory that contains temporary libtool files. |
17503 |
< |
objdir=$objdir |
17502 |
> |
# Specify filename containing input files for \$NM. |
17503 |
> |
nm_file_list_spec=$lt_nm_file_list_spec |
17504 |
|
|
17505 |
< |
# Shell to use when invoking shell scripts. |
17506 |
< |
SHELL=$lt_SHELL |
17505 |
> |
# The root where to search for dependent libraries,and in which our libraries should be installed. |
17506 |
> |
lt_sysroot=$lt_sysroot |
17507 |
|
|
17508 |
< |
# An echo program that does not interpret backslashes. |
17509 |
< |
ECHO=$lt_ECHO |
17508 |
> |
# The name of the directory that contains temporary libtool files. |
17509 |
> |
objdir=$objdir |
17510 |
|
|
17511 |
|
# Used to examine libraries when file_magic_cmd begins with "file". |
17512 |
|
MAGIC_CMD=$MAGIC_CMD |
17514 |
|
# Must we lock files when doing compilation? |
17515 |
|
need_locks=$lt_need_locks |
17516 |
|
|
17517 |
+ |
# Manifest tool. |
17518 |
+ |
MANIFEST_TOOL=$lt_MANIFEST_TOOL |
17519 |
+ |
|
17520 |
|
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
17521 |
|
DSYMUTIL=$lt_DSYMUTIL |
17522 |
|
|
17573 |
|
# The coded name of the library, if different from the real name. |
17574 |
|
soname_spec=$lt_soname_spec |
17575 |
|
|
17576 |
+ |
# Permission mode override for installation of shared libraries. |
17577 |
+ |
install_override_mode=$lt_install_override_mode |
17578 |
+ |
|
17579 |
|
# Command to use after installation of a shared archive. |
17580 |
|
postinstall_cmds=$lt_postinstall_cmds |
17581 |
|
|
17615 |
|
# The linker used to build libraries. |
17616 |
|
LD=$lt_LD |
17617 |
|
|
17618 |
+ |
# How to create reloadable object files. |
17619 |
+ |
reload_flag=$lt_reload_flag |
17620 |
+ |
reload_cmds=$lt_reload_cmds |
17621 |
+ |
|
17622 |
|
# Commands used to build an old-style archive. |
17623 |
|
old_archive_cmds=$lt_old_archive_cmds |
17624 |
|
|
17631 |
|
# Compiler flag to turn off builtin functions. |
17632 |
|
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
17633 |
|
|
15731 |
– |
# How to pass a linker flag through the compiler. |
15732 |
– |
wl=$lt_lt_prog_compiler_wl |
15733 |
– |
|
17634 |
|
# Additional compiler flags for building library objects. |
17635 |
|
pic_flag=$lt_lt_prog_compiler_pic |
17636 |
|
|
17637 |
+ |
# How to pass a linker flag through the compiler. |
17638 |
+ |
wl=$lt_lt_prog_compiler_wl |
17639 |
+ |
|
17640 |
|
# Compiler flag to prevent dynamic linking. |
17641 |
|
link_static_flag=$lt_lt_prog_compiler_static |
17642 |
|
|
17686 |
|
# This must work even if \$libdir does not exist |
17687 |
|
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
17688 |
|
|
15786 |
– |
# If ld is used when linking, flag to hardcode \$libdir into a binary |
15787 |
– |
# during linking. This must work even if \$libdir does not exist. |
15788 |
– |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld |
15789 |
– |
|
17689 |
|
# Whether we need a single "-rpath" flag with a separated argument. |
17690 |
|
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
17691 |
|
|
17719 |
|
# Whether libtool must link a program against all its dependency libraries. |
17720 |
|
link_all_deplibs=$link_all_deplibs |
17721 |
|
|
15823 |
– |
# Fix the shell variable \$srcfile for the compiler. |
15824 |
– |
fix_srcfile_path=$lt_fix_srcfile_path |
15825 |
– |
|
17722 |
|
# Set to "yes" if exported symbols are required. |
17723 |
|
always_export_symbols=$always_export_symbols |
17724 |
|
|
17734 |
|
# Commands necessary for linking programs (against libraries) with templates. |
17735 |
|
prelink_cmds=$lt_prelink_cmds |
17736 |
|
|
17737 |
+ |
# Commands necessary for finishing linking programs. |
17738 |
+ |
postlink_cmds=$lt_postlink_cmds |
17739 |
+ |
|
17740 |
|
# Specify filename containing input files. |
17741 |
|
file_list_spec=$lt_file_list_spec |
17742 |
|
|
17769 |
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
17770 |
|
# text mode, it properly converts lines to CR/LF. This bash problem |
17771 |
|
# is reportedly fixed, but why not run on old versions too? |
17772 |
< |
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ |
17773 |
< |
|| (rm -f "$cfgfile"; exit 1) |
15875 |
< |
|
15876 |
< |
case $xsi_shell in |
15877 |
< |
yes) |
15878 |
< |
cat << \_LT_EOF >> "$cfgfile" |
15879 |
< |
|
15880 |
< |
# func_dirname file append nondir_replacement |
15881 |
< |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
15882 |
< |
# otherwise set result to NONDIR_REPLACEMENT. |
15883 |
< |
func_dirname () |
15884 |
< |
{ |
15885 |
< |
case ${1} in |
15886 |
< |
*/*) func_dirname_result="${1%/*}${2}" ;; |
15887 |
< |
* ) func_dirname_result="${3}" ;; |
15888 |
< |
esac |
15889 |
< |
} |
15890 |
< |
|
15891 |
< |
# func_basename file |
15892 |
< |
func_basename () |
15893 |
< |
{ |
15894 |
< |
func_basename_result="${1##*/}" |
15895 |
< |
} |
15896 |
< |
|
15897 |
< |
# func_dirname_and_basename file append nondir_replacement |
15898 |
< |
# perform func_basename and func_dirname in a single function |
15899 |
< |
# call: |
15900 |
< |
# dirname: Compute the dirname of FILE. If nonempty, |
15901 |
< |
# add APPEND to the result, otherwise set result |
15902 |
< |
# to NONDIR_REPLACEMENT. |
15903 |
< |
# value returned in "$func_dirname_result" |
15904 |
< |
# basename: Compute filename of FILE. |
15905 |
< |
# value retuned in "$func_basename_result" |
15906 |
< |
# Implementation must be kept synchronized with func_dirname |
15907 |
< |
# and func_basename. For efficiency, we do not delegate to |
15908 |
< |
# those functions but instead duplicate the functionality here. |
15909 |
< |
func_dirname_and_basename () |
15910 |
< |
{ |
15911 |
< |
case ${1} in |
15912 |
< |
*/*) func_dirname_result="${1%/*}${2}" ;; |
15913 |
< |
* ) func_dirname_result="${3}" ;; |
15914 |
< |
esac |
15915 |
< |
func_basename_result="${1##*/}" |
15916 |
< |
} |
15917 |
< |
|
15918 |
< |
# func_stripname prefix suffix name |
15919 |
< |
# strip PREFIX and SUFFIX off of NAME. |
15920 |
< |
# PREFIX and SUFFIX must not contain globbing or regex special |
15921 |
< |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
15922 |
< |
# dot (in which case that matches only a dot). |
15923 |
< |
func_stripname () |
15924 |
< |
{ |
15925 |
< |
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are |
15926 |
< |
# positional parameters, so assign one to ordinary parameter first. |
15927 |
< |
func_stripname_result=${3} |
15928 |
< |
func_stripname_result=${func_stripname_result#"${1}"} |
15929 |
< |
func_stripname_result=${func_stripname_result%"${2}"} |
15930 |
< |
} |
15931 |
< |
|
15932 |
< |
# func_opt_split |
15933 |
< |
func_opt_split () |
15934 |
< |
{ |
15935 |
< |
func_opt_split_opt=${1%%=*} |
15936 |
< |
func_opt_split_arg=${1#*=} |
15937 |
< |
} |
15938 |
< |
|
15939 |
< |
# func_lo2o object |
15940 |
< |
func_lo2o () |
15941 |
< |
{ |
15942 |
< |
case ${1} in |
15943 |
< |
*.lo) func_lo2o_result=${1%.lo}.${objext} ;; |
15944 |
< |
*) func_lo2o_result=${1} ;; |
15945 |
< |
esac |
15946 |
< |
} |
15947 |
< |
|
15948 |
< |
# func_xform libobj-or-source |
15949 |
< |
func_xform () |
15950 |
< |
{ |
15951 |
< |
func_xform_result=${1%.*}.lo |
15952 |
< |
} |
15953 |
< |
|
15954 |
< |
# func_arith arithmetic-term... |
15955 |
< |
func_arith () |
15956 |
< |
{ |
15957 |
< |
func_arith_result=$(( $* )) |
15958 |
< |
} |
15959 |
< |
|
15960 |
< |
# func_len string |
15961 |
< |
# STRING may not start with a hyphen. |
15962 |
< |
func_len () |
15963 |
< |
{ |
15964 |
< |
func_len_result=${#1} |
15965 |
< |
} |
15966 |
< |
|
15967 |
< |
_LT_EOF |
15968 |
< |
;; |
15969 |
< |
*) # Bourne compatible functions. |
15970 |
< |
cat << \_LT_EOF >> "$cfgfile" |
15971 |
< |
|
15972 |
< |
# func_dirname file append nondir_replacement |
15973 |
< |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
15974 |
< |
# otherwise set result to NONDIR_REPLACEMENT. |
15975 |
< |
func_dirname () |
15976 |
< |
{ |
15977 |
< |
# Extract subdirectory from the argument. |
15978 |
< |
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` |
15979 |
< |
if test "X$func_dirname_result" = "X${1}"; then |
15980 |
< |
func_dirname_result="${3}" |
15981 |
< |
else |
15982 |
< |
func_dirname_result="$func_dirname_result${2}" |
15983 |
< |
fi |
15984 |
< |
} |
15985 |
< |
|
15986 |
< |
# func_basename file |
15987 |
< |
func_basename () |
15988 |
< |
{ |
15989 |
< |
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` |
15990 |
< |
} |
15991 |
< |
|
15992 |
< |
|
15993 |
< |
# func_stripname prefix suffix name |
15994 |
< |
# strip PREFIX and SUFFIX off of NAME. |
15995 |
< |
# PREFIX and SUFFIX must not contain globbing or regex special |
15996 |
< |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
15997 |
< |
# dot (in which case that matches only a dot). |
15998 |
< |
# func_strip_suffix prefix name |
15999 |
< |
func_stripname () |
16000 |
< |
{ |
16001 |
< |
case ${2} in |
16002 |
< |
.*) func_stripname_result=`$ECHO "X${3}" \ |
16003 |
< |
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; |
16004 |
< |
*) func_stripname_result=`$ECHO "X${3}" \ |
16005 |
< |
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; |
16006 |
< |
esac |
16007 |
< |
} |
16008 |
< |
|
16009 |
< |
# sed scripts: |
16010 |
< |
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' |
16011 |
< |
my_sed_long_arg='1s/^-[^=]*=//' |
16012 |
< |
|
16013 |
< |
# func_opt_split |
16014 |
< |
func_opt_split () |
16015 |
< |
{ |
16016 |
< |
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` |
16017 |
< |
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` |
16018 |
< |
} |
16019 |
< |
|
16020 |
< |
# func_lo2o object |
16021 |
< |
func_lo2o () |
16022 |
< |
{ |
16023 |
< |
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` |
16024 |
< |
} |
16025 |
< |
|
16026 |
< |
# func_xform libobj-or-source |
16027 |
< |
func_xform () |
16028 |
< |
{ |
16029 |
< |
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` |
16030 |
< |
} |
16031 |
< |
|
16032 |
< |
# func_arith arithmetic-term... |
16033 |
< |
func_arith () |
16034 |
< |
{ |
16035 |
< |
func_arith_result=`expr "$@"` |
16036 |
< |
} |
16037 |
< |
|
16038 |
< |
# func_len string |
16039 |
< |
# STRING may not start with a hyphen. |
16040 |
< |
func_len () |
16041 |
< |
{ |
16042 |
< |
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` |
16043 |
< |
} |
16044 |
< |
|
16045 |
< |
_LT_EOF |
16046 |
< |
esac |
16047 |
< |
|
16048 |
< |
case $lt_shell_append in |
16049 |
< |
yes) |
16050 |
< |
cat << \_LT_EOF >> "$cfgfile" |
16051 |
< |
|
16052 |
< |
# func_append var value |
16053 |
< |
# Append VALUE to the end of shell variable VAR. |
16054 |
< |
func_append () |
16055 |
< |
{ |
16056 |
< |
eval "$1+=\$2" |
16057 |
< |
} |
16058 |
< |
_LT_EOF |
16059 |
< |
;; |
16060 |
< |
*) |
16061 |
< |
cat << \_LT_EOF >> "$cfgfile" |
16062 |
< |
|
16063 |
< |
# func_append var value |
16064 |
< |
# Append VALUE to the end of shell variable VAR. |
16065 |
< |
func_append () |
16066 |
< |
{ |
16067 |
< |
eval "$1=\$$1\$2" |
16068 |
< |
} |
16069 |
< |
|
16070 |
< |
_LT_EOF |
16071 |
< |
;; |
16072 |
< |
esac |
17772 |
> |
sed '$q' "$ltmain" >> "$cfgfile" \ |
17773 |
> |
|| (rm -f "$cfgfile"; exit 1) |
17774 |
|
|
17775 |
+ |
if test x"$xsi_shell" = xyes; then |
17776 |
+ |
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
17777 |
+ |
func_dirname ()\ |
17778 |
+ |
{\ |
17779 |
+ |
\ case ${1} in\ |
17780 |
+ |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
17781 |
+ |
\ * ) func_dirname_result="${3}" ;;\ |
17782 |
+ |
\ esac\ |
17783 |
+ |
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
17784 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
17785 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
17786 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
17787 |
+ |
|
17788 |
+ |
|
17789 |
+ |
sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
17790 |
+ |
func_basename ()\ |
17791 |
+ |
{\ |
17792 |
+ |
\ func_basename_result="${1##*/}"\ |
17793 |
+ |
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
17794 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
17795 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
17796 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
17797 |
+ |
|
17798 |
+ |
|
17799 |
+ |
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
17800 |
+ |
func_dirname_and_basename ()\ |
17801 |
+ |
{\ |
17802 |
+ |
\ case ${1} in\ |
17803 |
+ |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
17804 |
+ |
\ * ) func_dirname_result="${3}" ;;\ |
17805 |
+ |
\ esac\ |
17806 |
+ |
\ func_basename_result="${1##*/}"\ |
17807 |
+ |
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
17808 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
17809 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
17810 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
17811 |
+ |
|
17812 |
+ |
|
17813 |
+ |
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
17814 |
+ |
func_stripname ()\ |
17815 |
+ |
{\ |
17816 |
+ |
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
17817 |
+ |
\ # positional parameters, so assign one to ordinary parameter first.\ |
17818 |
+ |
\ func_stripname_result=${3}\ |
17819 |
+ |
\ func_stripname_result=${func_stripname_result#"${1}"}\ |
17820 |
+ |
\ func_stripname_result=${func_stripname_result%"${2}"}\ |
17821 |
+ |
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
17822 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
17823 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
17824 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
17825 |
+ |
|
17826 |
+ |
|
17827 |
+ |
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
17828 |
+ |
func_split_long_opt ()\ |
17829 |
+ |
{\ |
17830 |
+ |
\ func_split_long_opt_name=${1%%=*}\ |
17831 |
+ |
\ func_split_long_opt_arg=${1#*=}\ |
17832 |
+ |
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
17833 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
17834 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
17835 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
17836 |
+ |
|
17837 |
+ |
|
17838 |
+ |
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
17839 |
+ |
func_split_short_opt ()\ |
17840 |
+ |
{\ |
17841 |
+ |
\ func_split_short_opt_arg=${1#??}\ |
17842 |
+ |
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
17843 |
+ |
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
17844 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
17845 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
17846 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
17847 |
+ |
|
17848 |
+ |
|
17849 |
+ |
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
17850 |
+ |
func_lo2o ()\ |
17851 |
+ |
{\ |
17852 |
+ |
\ case ${1} in\ |
17853 |
+ |
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
17854 |
+ |
\ *) func_lo2o_result=${1} ;;\ |
17855 |
+ |
\ esac\ |
17856 |
+ |
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
17857 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
17858 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
17859 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
17860 |
+ |
|
17861 |
+ |
|
17862 |
+ |
sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
17863 |
+ |
func_xform ()\ |
17864 |
+ |
{\ |
17865 |
+ |
func_xform_result=${1%.*}.lo\ |
17866 |
+ |
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
17867 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
17868 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
17869 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
17870 |
+ |
|
17871 |
+ |
|
17872 |
+ |
sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
17873 |
+ |
func_arith ()\ |
17874 |
+ |
{\ |
17875 |
+ |
func_arith_result=$(( $* ))\ |
17876 |
+ |
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
17877 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
17878 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
17879 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
17880 |
+ |
|
17881 |
+ |
|
17882 |
+ |
sed -e '/^func_len ()$/,/^} # func_len /c\ |
17883 |
+ |
func_len ()\ |
17884 |
+ |
{\ |
17885 |
+ |
func_len_result=${#1}\ |
17886 |
+ |
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
17887 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
17888 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
17889 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
17890 |
+ |
|
17891 |
+ |
fi |
17892 |
+ |
|
17893 |
+ |
if test x"$lt_shell_append" = xyes; then |
17894 |
+ |
sed -e '/^func_append ()$/,/^} # func_append /c\ |
17895 |
+ |
func_append ()\ |
17896 |
+ |
{\ |
17897 |
+ |
eval "${1}+=\\${2}"\ |
17898 |
+ |
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ |
17899 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
17900 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
17901 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
17902 |
+ |
|
17903 |
+ |
|
17904 |
+ |
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ |
17905 |
+ |
func_append_quoted ()\ |
17906 |
+ |
{\ |
17907 |
+ |
\ func_quote_for_eval "${2}"\ |
17908 |
+ |
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
17909 |
+ |
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ |
17910 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
17911 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
17912 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
17913 |
+ |
|
17914 |
+ |
|
17915 |
+ |
# Save a `func_append' function call where possible by direct use of '+=' |
17916 |
+ |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
17917 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
17918 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
17919 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
17920 |
+ |
else |
17921 |
+ |
# Save a `func_append' function call even when '+=' is not available |
17922 |
+ |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ |
17923 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
17924 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
17925 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
17926 |
+ |
fi |
17927 |
+ |
|
17928 |
+ |
if test x"$_lt_function_replace_fail" = x":"; then |
17929 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 |
17930 |
+ |
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} |
17931 |
+ |
fi |
17932 |
|
|
16075 |
– |
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ |
16076 |
– |
|| (rm -f "$cfgfile"; exit 1) |
17933 |
|
|
17934 |
< |
mv -f "$cfgfile" "$ofile" || |
17934 |
> |
mv -f "$cfgfile" "$ofile" || |
17935 |
|
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
17936 |
|
chmod +x "$ofile" |
17937 |
|
|
17946 |
|
ac_clean_files=$ac_clean_files_save |
17947 |
|
|
17948 |
|
test $ac_write_fail = 0 || |
17949 |
< |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
17949 |
> |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
17950 |
|
|
17951 |
|
|
17952 |
|
# configure is writing to config.log, and then calls config.status. |
17967 |
|
exec 5>>config.log |
17968 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
17969 |
|
# would make configure fail if this is the last instruction. |
17970 |
< |
$ac_cs_success || as_fn_exit $? |
16115 |
< |
fi |
16116 |
< |
|
16117 |
< |
# |
16118 |
< |
# CONFIG_SUBDIRS section. |
16119 |
< |
# |
16120 |
< |
if test "$no_recursion" != yes; then |
16121 |
< |
|
16122 |
< |
# Remove --cache-file, --srcdir, and --disable-option-checking arguments |
16123 |
< |
# so they do not pile up. |
16124 |
< |
ac_sub_configure_args= |
16125 |
< |
ac_prev= |
16126 |
< |
eval "set x $ac_configure_args" |
16127 |
< |
shift |
16128 |
< |
for ac_arg |
16129 |
< |
do |
16130 |
< |
if test -n "$ac_prev"; then |
16131 |
< |
ac_prev= |
16132 |
< |
continue |
16133 |
< |
fi |
16134 |
< |
case $ac_arg in |
16135 |
< |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
16136 |
< |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
16137 |
< |
ac_prev=cache_file ;; |
16138 |
< |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
16139 |
< |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
16140 |
< |
| --c=*) |
16141 |
< |
;; |
16142 |
< |
--config-cache | -C) |
16143 |
< |
;; |
16144 |
< |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
16145 |
< |
ac_prev=srcdir ;; |
16146 |
< |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
16147 |
< |
;; |
16148 |
< |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
16149 |
< |
ac_prev=prefix ;; |
16150 |
< |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
16151 |
< |
;; |
16152 |
< |
--disable-option-checking) |
16153 |
< |
;; |
16154 |
< |
*) |
16155 |
< |
case $ac_arg in |
16156 |
< |
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
16157 |
< |
esac |
16158 |
< |
as_fn_append ac_sub_configure_args " '$ac_arg'" ;; |
16159 |
< |
esac |
16160 |
< |
done |
16161 |
< |
|
16162 |
< |
# Always prepend --prefix to ensure using the same prefix |
16163 |
< |
# in subdir configurations. |
16164 |
< |
ac_arg="--prefix=$prefix" |
16165 |
< |
case $ac_arg in |
16166 |
< |
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
16167 |
< |
esac |
16168 |
< |
ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" |
16169 |
< |
|
16170 |
< |
# Pass --silent |
16171 |
< |
if test "$silent" = yes; then |
16172 |
< |
ac_sub_configure_args="--silent $ac_sub_configure_args" |
16173 |
< |
fi |
16174 |
< |
|
16175 |
< |
# Always prepend --disable-option-checking to silence warnings, since |
16176 |
< |
# different subdirs can have different --enable and --with options. |
16177 |
< |
ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" |
16178 |
< |
|
16179 |
< |
ac_popdir=`pwd` |
16180 |
< |
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
16181 |
< |
|
16182 |
< |
# Do not complain, so a configure script can configure whichever |
16183 |
< |
# parts of a large source tree are present. |
16184 |
< |
test -d "$srcdir/$ac_dir" || continue |
16185 |
< |
|
16186 |
< |
ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" |
16187 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 |
16188 |
< |
$as_echo "$ac_msg" >&6 |
16189 |
< |
as_dir="$ac_dir"; as_fn_mkdir_p |
16190 |
< |
ac_builddir=. |
16191 |
< |
|
16192 |
< |
case "$ac_dir" in |
16193 |
< |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
16194 |
< |
*) |
16195 |
< |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
16196 |
< |
# A ".." for each directory in $ac_dir_suffix. |
16197 |
< |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
16198 |
< |
case $ac_top_builddir_sub in |
16199 |
< |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
16200 |
< |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
16201 |
< |
esac ;; |
16202 |
< |
esac |
16203 |
< |
ac_abs_top_builddir=$ac_pwd |
16204 |
< |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
16205 |
< |
# for backward compatibility: |
16206 |
< |
ac_top_builddir=$ac_top_build_prefix |
16207 |
< |
|
16208 |
< |
case $srcdir in |
16209 |
< |
.) # We are building in place. |
16210 |
< |
ac_srcdir=. |
16211 |
< |
ac_top_srcdir=$ac_top_builddir_sub |
16212 |
< |
ac_abs_top_srcdir=$ac_pwd ;; |
16213 |
< |
[\\/]* | ?:[\\/]* ) # Absolute name. |
16214 |
< |
ac_srcdir=$srcdir$ac_dir_suffix; |
16215 |
< |
ac_top_srcdir=$srcdir |
16216 |
< |
ac_abs_top_srcdir=$srcdir ;; |
16217 |
< |
*) # Relative name. |
16218 |
< |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
16219 |
< |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
16220 |
< |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
16221 |
< |
esac |
16222 |
< |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
16223 |
< |
|
16224 |
< |
|
16225 |
< |
cd "$ac_dir" |
16226 |
< |
|
16227 |
< |
# Check for guested configure; otherwise get Cygnus style configure. |
16228 |
< |
if test -f "$ac_srcdir/configure.gnu"; then |
16229 |
< |
ac_sub_configure=$ac_srcdir/configure.gnu |
16230 |
< |
elif test -f "$ac_srcdir/configure"; then |
16231 |
< |
ac_sub_configure=$ac_srcdir/configure |
16232 |
< |
elif test -f "$ac_srcdir/configure.in"; then |
16233 |
< |
# This should be Cygnus configure. |
16234 |
< |
ac_sub_configure=$ac_aux_dir/configure |
16235 |
< |
else |
16236 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 |
16237 |
< |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
16238 |
< |
ac_sub_configure= |
16239 |
< |
fi |
16240 |
< |
|
16241 |
< |
# The recursion is here. |
16242 |
< |
if test -n "$ac_sub_configure"; then |
16243 |
< |
# Make the cache file name correct relative to the subdirectory. |
16244 |
< |
case $cache_file in |
16245 |
< |
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
16246 |
< |
*) # Relative name. |
16247 |
< |
ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; |
16248 |
< |
esac |
16249 |
< |
|
16250 |
< |
{ $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 |
16251 |
< |
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
16252 |
< |
# The eval makes quoting arguments work. |
16253 |
< |
eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
16254 |
< |
--cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
16255 |
< |
as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 |
16256 |
< |
fi |
16257 |
< |
|
16258 |
< |
cd "$ac_popdir" |
16259 |
< |
done |
17970 |
> |
$ac_cs_success || as_fn_exit 1 |
17971 |
|
fi |
17972 |
|
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
17973 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |