1 diff -urP libnl-1.1.orig/configure libnl-1.1/configure
2 --- libnl-1.1.orig/configure 2008-01-14 10:48:45.000000000 -0500
3 +++ libnl-1.1/configure 2010-05-24 13:59:10.898510656 -0400
6 # Guess values for system-dependent variables and create Makefiles.
7 -# Generated by GNU Autoconf 2.61 for libnl 1.1.
8 +# Generated by GNU Autoconf 2.65 for libnl 1.1.
10 # Report bugs to <tgraf@suug.ch>.
13 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14 -# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
15 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
19 # This configure script is free software; the Free Software Foundation
20 # gives unlimited permission to copy, distribute and modify it.
21 -## --------------------- ##
22 -## M4sh Initialization. ##
23 -## --------------------- ##
24 +## -------------------- ##
25 +## M4sh Initialization. ##
26 +## -------------------- ##
28 # Be more Bourne compatible
29 DUALCASE=1; export DUALCASE # for MKS sh
30 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
31 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
34 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
36 # is contrary to our usage. Disable this feature.
37 alias -g '${1+"$@"}'='"$@"'
40 - case `(set -o) 2>/dev/null` in
41 - *posix*) set -o posix ;;
42 + case `(set -o) 2>/dev/null` in #(
55 -# Avoid depending upon Character Ranges.
56 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
57 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
58 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59 -as_cr_digits='0123456789'
60 -as_cr_alnum=$as_cr_Letters$as_cr_digits
62 -# The user is always right.
63 -if test "${PATH_SEPARATOR+set}" != set; then
64 - echo "#! /bin/sh" >conf$$.sh
65 - echo "exit 0" >>conf$$.sh
67 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
72 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
73 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
74 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
75 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
76 +# Prefer a ksh shell builtin over an external printf program on Solaris,
77 +# but without wasting forks for bash or zsh.
78 +if test -z "$BASH_VERSION$ZSH_VERSION" \
79 + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
80 + as_echo='print -r --'
81 + as_echo_n='print -rn --'
82 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
83 + as_echo='printf %s\n'
84 + as_echo_n='printf %s'
86 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
87 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
88 + as_echo_n='/usr/ucb/echo -n'
91 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
92 + as_echo_n_body='eval
96 + expr "X$arg" : "X\\(.*\\)$as_nl";
97 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
99 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
101 + export as_echo_n_body
102 + as_echo_n='sh -c $as_echo_n_body as_echo'
105 + export as_echo_body
106 + as_echo='sh -c $as_echo_body as_echo'
109 -# Support unset when possible.
110 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
114 +# The user is always right.
115 +if test "${PATH_SEPARATOR+set}" != set; then
117 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
118 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
125 # there to prevent editors from complaining about space-tab.
126 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
127 # splitting by setting IFS to empty value.)
132 # Find who we are. Look in the path if we contain no directory separator.
135 *[\\/]* ) as_myself=$0 ;;
136 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
140 test -z "$as_dir" && as_dir=.
141 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
143 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
148 @@ -89,354 +110,321 @@
151 if test ! -f "$as_myself"; then
152 - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
153 - { (exit 1); exit 1; }
154 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
158 -# Work around bugs in pre-3.0 UWIN ksh.
159 -for as_var in ENV MAIL MAILPATH
160 -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
161 +# Unset variables that we do not need and which cause bugs (e.g. in
162 +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
163 +# suppresses any "Segmentation fault" message there. '((' could
164 +# trigger a bug in pdksh 5.2.14.
165 +for as_var in BASH_ENV ENV MAIL MAILPATH
166 +do eval test x\${$as_var+set} = xset \
167 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
175 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
176 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
177 - LC_TELEPHONE LC_TIME
179 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
180 - eval $as_var=C; export $as_var
182 - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
186 -# Required to use basename.
187 -if expr a : '\(a\)' >/dev/null 2>&1 &&
188 - test "X`expr 00001 : '.*\(...\)'`" = X001; then
194 -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
195 - as_basename=basename
201 -# Name of the executable.
202 -as_me=`$as_basename -- "$0" ||
203 -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
204 - X"$0" : 'X\(//\)$' \| \
205 - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
207 - sed '/^.*\/\([^/][^/]*\)\/*$/{
228 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
230 if test "x$CONFIG_SHELL" = x; then
231 - if (eval ":") 2>/dev/null; then
232 - as_have_required=yes
233 + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
236 + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
237 + # is contrary to our usage. Disable this feature.
238 + alias -g '\${1+\"\$@\"}'='\"\$@\"'
239 + setopt NO_GLOB_SUBST
241 - as_have_required=no
242 + case \`(set -o) 2>/dev/null\` in #(
250 - if test $as_have_required = yes && (eval ":
251 -(as_func_return () {
254 -as_func_success () {
257 -as_func_failure () {
260 -as_func_ret_success () {
263 -as_func_ret_failure () {
267 + as_required="as_fn_return () { (exit \$1); }
268 +as_fn_success () { as_fn_return 0; }
269 +as_fn_failure () { as_fn_return 1; }
270 +as_fn_ret_success () { return 0; }
271 +as_fn_ret_failure () { return 1; }
274 -if as_func_success; then
278 - echo as_func_success failed.
280 +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
281 +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
282 +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
283 +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
284 +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
286 -if as_func_failure; then
288 - echo as_func_failure succeeded.
291 -if as_func_ret_success; then
295 - echo as_func_ret_success failed.
298 -if as_func_ret_failure; then
300 - echo as_func_ret_failure succeeded.
303 -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
305 + exitcode=1; echo positional parameters were not saved.
307 +test x\$exitcode = x0 || exit 1"
308 + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
309 + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
310 + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
311 + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
312 + if (eval "$as_required") 2>/dev/null; then :
313 + as_have_required=yes
316 - echo positional parameters were not saved.
317 + as_have_required=no
319 + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
321 -test \$exitcode = 0) || { (exit 1); exit 1; }
324 - as_lineno_1=\$LINENO
325 - as_lineno_2=\$LINENO
326 - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
327 - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
328 -") 2> /dev/null; then
331 - as_candidate_shells=
332 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
333 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
335 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
338 test -z "$as_dir" && as_dir=.
343 for as_base in sh bash ksh sh5; do
344 - as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
345 + # Try only shells that exist, to save several forks.
346 + as_shell=$as_dir/$as_base
347 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
348 + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
349 + CONFIG_SHELL=$as_shell as_have_required=yes
350 + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
358 +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
359 + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
360 + CONFIG_SHELL=$SHELL as_have_required=yes
365 - for as_shell in $as_candidate_shells $SHELL; do
366 - # Try only shells that exist, to save several forks.
367 - if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
368 - { ("$as_shell") 2> /dev/null <<\_ASEOF
369 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
372 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
373 - # is contrary to our usage. Disable this feature.
374 - alias -g '${1+"$@"}'='"$@"'
375 - setopt NO_GLOB_SUBST
377 - case `(set -o) 2>/dev/null` in
378 - *posix*) set -o posix ;;
381 + if test "x$CONFIG_SHELL" != x; then :
382 + # We cannot yet assume a decent shell, so we have to provide a
383 + # neutralization value for shells without unset; and this also
384 + # works around shells that cannot unset nonexistent variables.
387 + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
388 + export CONFIG_SHELL
389 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
392 + if test x$as_have_required = xno; then :
393 + $as_echo "$0: This script requires a shell more modern than all"
394 + $as_echo "$0: the shells that I found on your system."
395 + if test x${ZSH_VERSION+set} = xset ; then
396 + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
397 + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
399 + $as_echo "$0: Please tell bug-autoconf@gnu.org and tgraf@suug.ch
400 +$0: about your system, including any error possibly output
401 +$0: before this message. Then install a modern shell, or
402 +$0: manually run the script under such a shell if you do
412 - CONFIG_SHELL=$as_shell
413 - as_have_required=yes
414 - if { "$as_shell" 2> /dev/null <<\_ASEOF
415 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
418 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
419 - # is contrary to our usage. Disable this feature.
420 - alias -g '${1+"$@"}'='"$@"'
421 - setopt NO_GLOB_SUBST
423 - case `(set -o) 2>/dev/null` in
424 - *posix*) set -o posix ;;
429 +SHELL=${CONFIG_SHELL-/bin/sh}
431 +# Unset more variables known to interfere with behavior of common tools.
432 +CLICOLOR_FORCE= GREP_OPTIONS=
433 +unset CLICOLOR_FORCE GREP_OPTIONS
437 -(as_func_return () {
440 -as_func_success () {
443 -as_func_failure () {
446 -as_func_ret_success () {
449 -as_func_ret_failure () {
451 +## --------------------- ##
452 +## M4sh Shell Functions. ##
453 +## --------------------- ##
456 +# Portably unset VAR.
459 + { eval $1=; unset $1;}
461 +as_unset=as_fn_unset
464 -if as_func_success; then
468 - echo as_func_success failed.
470 +# as_fn_set_status STATUS
471 +# -----------------------
472 +# Set $? to STATUS, without forking.
476 +} # as_fn_set_status
478 -if as_func_failure; then
480 - echo as_func_failure succeeded.
484 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
488 + as_fn_set_status $1
494 +# Create "$as_dir" as a directory, including parents if necessary.
498 -if as_func_ret_success; then
502 - echo as_func_ret_success failed.
505 + -*) as_dir=./$as_dir;;
507 + test -d "$as_dir" || eval $as_mkdir_p || {
511 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
512 + *) as_qdir=$as_dir;;
514 + as_dirs="'$as_qdir' $as_dirs"
515 + as_dir=`$as_dirname -- "$as_dir" ||
516 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
517 + X"$as_dir" : 'X\(//\)[^/]' \| \
518 + X"$as_dir" : 'X\(//\)$' \| \
519 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
520 +$as_echo X"$as_dir" |
521 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
525 + /^X\(\/\/\)[^/].*/{
538 + test -d "$as_dir" && break
540 + test -z "$as_dirs" || eval "mkdir $as_dirs"
541 + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
543 -if as_func_ret_failure; then
545 - echo as_func_ret_failure succeeded.
548 -if ( set x; as_func_ret_success y && test x = "$1" ); then
551 +# as_fn_append VAR VALUE
552 +# ----------------------
553 +# Append the text in VALUE to the end of the definition contained in VAR. Take
554 +# advantage of any shell optimizations that allow amortized linear growth over
555 +# repeated appends, instead of the typical quadratic growth present in naive
557 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
558 + eval 'as_fn_append ()
564 - echo positional parameters were not saved.
567 -test $exitcode = 0) || { (exit 1); exit 1; }
570 - as_lineno_1=$LINENO
571 - as_lineno_2=$LINENO
572 - test "x$as_lineno_1" != "x$as_lineno_2" &&
573 - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
584 - if test "x$CONFIG_SHELL" != x; then
585 - for as_var in BASH_ENV ENV
586 - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
588 - export CONFIG_SHELL
589 - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
593 - if test $as_have_required = no; then
594 - echo This script requires a shell more modern than all the
595 - echo shells that I found on your system. Please install a
596 - echo modern shell, or manually run the script under such a
597 - echo shell if you do have one.
598 - { (exit 1); exit 1; }
611 +# as_fn_arith ARG...
612 +# ------------------
613 +# Perform arithmetic evaluation on the ARGs, and store the result in the
614 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
615 +# must be portable across $(()) and expr.
616 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
617 + eval 'as_fn_arith ()
624 + as_val=`expr "$@" || test $? -eq 1`
629 -(eval "as_func_return () {
632 -as_func_success () {
635 -as_func_failure () {
638 -as_func_ret_success () {
641 -as_func_ret_failure () {
644 +# as_fn_error ERROR [LINENO LOG_FD]
645 +# ---------------------------------
646 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
647 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
648 +# script with status $?, using 1 if that was 0.
651 + as_status=$?; test $as_status -eq 0 && as_status=1
653 + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
654 + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
656 + $as_echo "$as_me: error: $1" >&2
657 + as_fn_exit $as_status
661 -if as_func_success; then
663 +if expr a : '\(a\)' >/dev/null 2>&1 &&
664 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
668 - echo as_func_success failed.
671 -if as_func_failure; then
673 - echo as_func_failure succeeded.
677 -if as_func_ret_success; then
679 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
680 + as_basename=basename
683 - echo as_func_ret_success failed.
686 -if as_func_ret_failure; then
688 - echo as_func_ret_failure succeeded.
692 -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
694 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
698 - echo positional parameters were not saved.
702 -test \$exitcode = 0") || {
703 - echo No shell found that supports shell functions.
704 - echo Please tell autoconf@gnu.org about your system,
705 - echo including any error possibly output before this
709 +as_me=`$as_basename -- "$0" ||
710 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
711 + X"$0" : 'X\(//\)$' \| \
712 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
714 + sed '/^.*\/\([^/][^/]*\)\/*$/{
728 +# Avoid depending upon Character Ranges.
729 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
730 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
731 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
732 +as_cr_digits='0123456789'
733 +as_cr_alnum=$as_cr_Letters$as_cr_digits
735 - as_lineno_1=$LINENO
736 - as_lineno_2=$LINENO
737 - test "x$as_lineno_1" != "x$as_lineno_2" &&
738 - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
740 - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
741 - # uniformly replaced by the line number. The first 'sed' inserts a
742 - # line-number line after each line using $LINENO; the second 'sed'
743 - # does the real work. The second script uses 'N' to pair each
744 - # line-number line with the line containing $LINENO, and appends
745 - # trailing '-' during substitution so that $LINENO is not a special
746 - # case at line end.
747 - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
748 - # scripts with optimization help from Paolo Bonzini. Blame Lee
749 - # E. McMahon (1931-1989) for sed's syntax. :-)
750 + as_lineno_1=$LINENO as_lineno_1a=$LINENO
751 + as_lineno_2=$LINENO as_lineno_2a=$LINENO
752 + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
753 + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
754 + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
761 chmod +x "$as_me.lineno" ||
762 - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
763 - { (exit 1); exit 1; }; }
764 + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
766 # Don't try to exec as it changes $[0], causing all sort of problems
767 # (the dirname of $[0] is not the place where we might find the
768 @@ -464,49 +451,40 @@
773 -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
779 ECHO_C= ECHO_N= ECHO_T=
781 +case `echo -n x` in #(((((
783 - case `echo 'x\c'` in
784 + case `echo 'xy\c'` in
785 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
788 + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
795 -if expr a : '\(a\)' >/dev/null 2>&1 &&
796 - test "X`expr 00001 : '.*\(...\)'`" = X001; then
802 rm -f conf$$ conf$$.exe conf$$.file
803 if test -d conf$$.dir; then
804 rm -f conf$$.dir/conf$$.file
808 + mkdir conf$$.dir 2>/dev/null
811 -if ln -s conf$$.file conf$$ 2>/dev/null; then
813 - # ... but there are two gotchas:
814 - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
815 - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
816 - # In both cases, we have to default to `cp -p'.
817 - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
818 +if (echo >conf$$.file) 2>/dev/null; then
819 + if ln -s conf$$.file conf$$ 2>/dev/null; then
821 + # ... but there are two gotchas:
822 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
823 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
824 + # In both cases, we have to default to `cp -p'.
825 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
827 + elif ln conf$$.file conf$$ 2>/dev/null; then
831 -elif ln conf$$.file conf$$ 2>/dev/null; then
838 rmdir conf$$.dir 2>/dev/null
840 if mkdir -p . 2>/dev/null; then
842 + as_mkdir_p='mkdir -p "$as_dir"'
844 test -d ./-p && rmdir ./-p
846 @@ -531,12 +509,12 @@
849 if test -d "$1"; then
858 - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
859 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
860 ???[sx]*):;;*)false;;esac;fi
864 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
868 -exec 7<&0 </dev/null 6>&1
869 +test -n "$DJDIR" || exec 7<&0 </dev/null
873 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
878 -SHELL=${CONFIG_SHELL-/bin/sh}
880 # Identity of this package.
882 @@ -577,58 +554,66 @@
883 PACKAGE_VERSION='1.1'
884 PACKAGE_STRING='libnl 1.1'
885 PACKAGE_BUGREPORT='tgraf@suug.ch'
888 -ac_subst_vars='SHELL
897 -program_transform_name
936 +ac_subst_vars='LTLIBOBJS
978 +program_transform_name
991 +enable_option_checking
992 +enable_verbose_errors
995 ac_precious_vars='build_alias
999 # Initialize some variables set by options.
1001 ac_init_version=false
1002 +ac_unrecognized_opts=
1003 +ac_unrecognized_sep=
1004 # The variables have the same names as the options, with
1005 # dashes changed to underlines.
1006 cache_file=/dev/null
1007 @@ -740,13 +727,20 @@
1008 datarootdir=$ac_optarg ;;
1010 -disable-* | --disable-*)
1011 - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1012 + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1013 # Reject names that are not valid shell variable names.
1014 - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1015 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1016 - { (exit 1); exit 1; }; }
1017 - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1018 - eval enable_$ac_feature=no ;;
1019 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 + as_fn_error "invalid feature name: $ac_useropt"
1021 + ac_useropt_orig=$ac_useropt
1022 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 + case $ac_user_opts in
1025 +"enable_$ac_useropt"
1027 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1028 + ac_unrecognized_sep=', ';;
1030 + eval enable_$ac_useropt=no ;;
1032 -docdir | --docdir | --docdi | --doc | --do)
1034 @@ -759,13 +753,20 @@
1035 dvidir=$ac_optarg ;;
1037 -enable-* | --enable-*)
1038 - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1039 + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1040 # Reject names that are not valid shell variable names.
1041 - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1042 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1043 - { (exit 1); exit 1; }; }
1044 - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1045 - eval enable_$ac_feature=\$ac_optarg ;;
1046 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1047 + as_fn_error "invalid feature name: $ac_useropt"
1048 + ac_useropt_orig=$ac_useropt
1049 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1050 + case $ac_user_opts in
1052 +"enable_$ac_useropt"
1054 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1055 + ac_unrecognized_sep=', ';;
1057 + eval enable_$ac_useropt=\$ac_optarg ;;
1059 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1060 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1061 @@ -956,22 +957,36 @@
1062 ac_init_version=: ;;
1065 - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1066 + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1067 # Reject names that are not valid shell variable names.
1068 - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1069 - { echo "$as_me: error: invalid package name: $ac_package" >&2
1070 - { (exit 1); exit 1; }; }
1071 - ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1072 - eval with_$ac_package=\$ac_optarg ;;
1073 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1074 + as_fn_error "invalid package name: $ac_useropt"
1075 + ac_useropt_orig=$ac_useropt
1076 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077 + case $ac_user_opts in
1081 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1082 + ac_unrecognized_sep=', ';;
1084 + eval with_$ac_useropt=\$ac_optarg ;;
1086 -without-* | --without-*)
1087 - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1088 + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1089 # Reject names that are not valid shell variable names.
1090 - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1091 - { echo "$as_me: error: invalid package name: $ac_package" >&2
1092 - { (exit 1); exit 1; }; }
1093 - ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1094 - eval with_$ac_package=no ;;
1095 + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1096 + as_fn_error "invalid package name: $ac_useropt"
1097 + ac_useropt_orig=$ac_useropt
1098 + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 + case $ac_user_opts in
1103 + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1104 + ac_unrecognized_sep=', ';;
1106 + eval with_$ac_useropt=no ;;
1109 # Obsolete; use --with-x.
1110 @@ -991,25 +1006,25 @@
1111 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1112 x_libraries=$ac_optarg ;;
1114 - -*) { echo "$as_me: error: unrecognized option: $ac_option
1115 -Try \`$0 --help' for more information." >&2
1116 - { (exit 1); exit 1; }; }
1117 + -*) as_fn_error "unrecognized option: \`$ac_option'
1118 +Try \`$0 --help' for more information."
1122 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1123 # Reject names that are not valid shell variable names.
1124 - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1125 - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1126 - { (exit 1); exit 1; }; }
1127 + case $ac_envvar in #(
1128 + '' | [0-9]* | *[!_$as_cr_alnum]* )
1129 + as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1131 eval $ac_envvar=\$ac_optarg
1132 export $ac_envvar ;;
1135 # FIXME: should be removed in autoconf 3.0.
1136 - echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1137 + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1138 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1139 - echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1140 + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1141 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1144 @@ -1018,23 +1033,36 @@
1146 if test -n "$ac_prev"; then
1147 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1148 - { echo "$as_me: error: missing argument to $ac_option" >&2
1149 - { (exit 1); exit 1; }; }
1150 + as_fn_error "missing argument to $ac_option"
1153 +if test -n "$ac_unrecognized_opts"; then
1154 + case $enable_option_checking in
1156 + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1157 + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1161 -# Be sure to have absolute directory names.
1162 +# Check all directory arguments for consistency.
1163 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1164 datadir sysconfdir sharedstatedir localstatedir includedir \
1165 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1166 libdir localedir mandir
1168 eval ac_val=\$$ac_var
1169 + # Remove trailing slashes.
1172 + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1173 + eval $ac_var=\$ac_val;;
1175 + # Be sure to have absolute directory names.
1177 [\\/$]* | ?:[\\/]* ) continue;;
1178 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1180 - { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1181 - { (exit 1); exit 1; }; }
1182 + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1185 # There might be people who depend on the old broken behavior: `$host'
1186 @@ -1048,7 +1076,7 @@
1187 if test "x$host_alias" != x; then
1188 if test "x$build_alias" = x; then
1189 cross_compiling=maybe
1190 - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1191 + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1192 If a cross compiler is detected then cross compile mode will be used." >&2
1193 elif test "x$build_alias" != "x$host_alias"; then
1195 @@ -1064,23 +1092,21 @@
1196 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1197 ac_ls_di=`ls -di .` &&
1198 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1199 - { echo "$as_me: error: Working directory cannot be determined" >&2
1200 - { (exit 1); exit 1; }; }
1201 + as_fn_error "working directory cannot be determined"
1202 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1203 - { echo "$as_me: error: pwd does not report name of working directory" >&2
1204 - { (exit 1); exit 1; }; }
1205 + as_fn_error "pwd does not report name of working directory"
1208 # Find the source files, if location was not specified.
1209 if test -z "$srcdir"; then
1210 ac_srcdir_defaulted=yes
1211 # Try the directory containing this script, then the parent directory.
1212 - ac_confdir=`$as_dirname -- "$0" ||
1213 -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1214 - X"$0" : 'X\(//\)[^/]' \| \
1215 - X"$0" : 'X\(//\)$' \| \
1216 - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1218 + ac_confdir=`$as_dirname -- "$as_myself" ||
1219 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1220 + X"$as_myself" : 'X\(//\)[^/]' \| \
1221 + X"$as_myself" : 'X\(//\)$' \| \
1222 + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1223 +$as_echo X"$as_myself" |
1224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1227 @@ -1107,13 +1133,11 @@
1229 if test ! -r "$srcdir/$ac_unique_file"; then
1230 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1231 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1232 - { (exit 1); exit 1; }; }
1233 + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1235 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1237 - cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1238 - { (exit 1); exit 1; }; }
1239 + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1241 # When building in place, set srcdir=.
1242 if test "$ac_abs_confdir" = "$ac_pwd"; then
1243 @@ -1161,9 +1185,9 @@
1245 Installation directories:
1246 --prefix=PREFIX install architecture-independent files in PREFIX
1247 - [$ac_default_prefix]
1248 + [$ac_default_prefix]
1249 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1253 By default, \`make install' will install all the files in
1254 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1255 @@ -1173,25 +1197,25 @@
1256 For better control, use the options below.
1258 Fine tuning of the installation directories:
1259 - --bindir=DIR user executables [EPREFIX/bin]
1260 - --sbindir=DIR system admin executables [EPREFIX/sbin]
1261 - --libexecdir=DIR program executables [EPREFIX/libexec]
1262 - --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1263 - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1264 - --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1265 - --libdir=DIR object code libraries [EPREFIX/lib]
1266 - --includedir=DIR C header files [PREFIX/include]
1267 - --oldincludedir=DIR C header files for non-gcc [/usr/include]
1268 - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1269 - --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1270 - --infodir=DIR info documentation [DATAROOTDIR/info]
1271 - --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1272 - --mandir=DIR man documentation [DATAROOTDIR/man]
1273 - --docdir=DIR documentation root [DATAROOTDIR/doc/libnl]
1274 - --htmldir=DIR html documentation [DOCDIR]
1275 - --dvidir=DIR dvi documentation [DOCDIR]
1276 - --pdfdir=DIR pdf documentation [DOCDIR]
1277 - --psdir=DIR ps documentation [DOCDIR]
1278 + --bindir=DIR user executables [EPREFIX/bin]
1279 + --sbindir=DIR system admin executables [EPREFIX/sbin]
1280 + --libexecdir=DIR program executables [EPREFIX/libexec]
1281 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1282 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1283 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1284 + --libdir=DIR object code libraries [EPREFIX/lib]
1285 + --includedir=DIR C header files [PREFIX/include]
1286 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
1287 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1288 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1289 + --infodir=DIR info documentation [DATAROOTDIR/info]
1290 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1291 + --mandir=DIR man documentation [DATAROOTDIR/man]
1292 + --docdir=DIR documentation root [DATAROOTDIR/doc/libnl]
1293 + --htmldir=DIR html documentation [DOCDIR]
1294 + --dvidir=DIR dvi documentation [DOCDIR]
1295 + --pdfdir=DIR pdf documentation [DOCDIR]
1296 + --psdir=DIR ps documentation [DOCDIR]
1300 @@ -1205,9 +1229,11 @@
1304 + --disable-option-checking ignore unrecognized --enable/--with options
1305 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1306 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1307 --enable-verbose-errors enable verbose errors (debugging)
1308 + --enable-static make static library default=no
1310 Some influential environment variables:
1311 CC C compiler command
1312 @@ -1215,7 +1241,7 @@
1313 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1314 nonstandard directory <lib dir>
1315 LIBS libraries to pass to the linker, e.g. -l<library>
1316 - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1317 + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1318 you have headers in a nonstandard directory <include dir>
1320 Use these variables to override the choices made by `configure' or to help
1321 @@ -1229,15 +1255,17 @@
1322 if test "$ac_init_help" = "recursive"; then
1323 # If there are subdirs, report their specific --help.
1324 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1325 - test -d "$ac_dir" || continue
1326 + test -d "$ac_dir" ||
1327 + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1332 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1334 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1335 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1336 # A ".." for each directory in $ac_dir_suffix.
1337 - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1338 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1339 case $ac_top_builddir_sub in
1340 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1341 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1342 @@ -1273,7 +1301,7 @@
1344 $SHELL "$ac_srcdir/configure" --help=recursive
1346 - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1347 + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1349 cd "$ac_pwd" || { ac_status=$?; break; }
1351 @@ -1283,21 +1311,108 @@
1352 if $ac_init_version; then
1355 -generated by GNU Autoconf 2.61
1356 +generated by GNU Autoconf 2.65
1358 +Copyright (C) 2009 Free Software Foundation, Inc.
1359 +This configure script is free software; the Free Software Foundation
1360 +gives unlimited permission to copy, distribute and modify it.
1365 +## ------------------------ ##
1366 +## Autoconf initialization. ##
1367 +## ------------------------ ##
1369 +# ac_fn_c_try_compile LINENO
1370 +# --------------------------
1371 +# Try to compile conftest.$ac_ext, and return whether this succeeded.
1372 +ac_fn_c_try_compile ()
1374 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1375 + rm -f conftest.$ac_objext
1376 + if { { ac_try="$ac_compile"
1377 +case "(($ac_try" in
1378 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1379 + *) ac_try_echo=$ac_try;;
1381 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1382 +$as_echo "$ac_try_echo"; } >&5
1383 + (eval "$ac_compile") 2>conftest.err
1385 + if test -s conftest.err; then
1386 + grep -v '^ *+' conftest.err >conftest.er1
1387 + cat conftest.er1 >&5
1388 + mv -f conftest.er1 conftest.err
1390 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1391 + test $ac_status = 0; } && {
1392 + test -z "$ac_c_werror_flag" ||
1393 + test ! -s conftest.err
1394 + } && test -s conftest.$ac_objext; then :
1397 + $as_echo "$as_me: failed program was:" >&5
1398 +sed 's/^/| /' conftest.$ac_ext >&5
1402 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1403 + as_fn_set_status $ac_retval
1405 +} # ac_fn_c_try_compile
1407 +# ac_fn_c_try_link LINENO
1408 +# -----------------------
1409 +# Try to link conftest.$ac_ext, and return whether this succeeded.
1410 +ac_fn_c_try_link ()
1412 + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1413 + rm -f conftest.$ac_objext conftest$ac_exeext
1414 + if { { ac_try="$ac_link"
1415 +case "(($ac_try" in
1416 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1417 + *) ac_try_echo=$ac_try;;
1419 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1420 +$as_echo "$ac_try_echo"; } >&5
1421 + (eval "$ac_link") 2>conftest.err
1423 + if test -s conftest.err; then
1424 + grep -v '^ *+' conftest.err >conftest.er1
1425 + cat conftest.er1 >&5
1426 + mv -f conftest.er1 conftest.err
1428 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1429 + test $ac_status = 0; } && {
1430 + test -z "$ac_c_werror_flag" ||
1431 + test ! -s conftest.err
1432 + } && test -s conftest$ac_exeext && {
1433 + test "$cross_compiling" = yes ||
1434 + $as_test_x conftest$ac_exeext
1438 + $as_echo "$as_me: failed program was:" >&5
1439 +sed 's/^/| /' conftest.$ac_ext >&5
1441 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1442 -2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1443 -This configure script is free software; the Free Software Foundation
1444 -gives unlimited permission to copy, distribute and modify it.
1449 + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1450 + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1451 + # interfere with the next link command; also delete a directory that is
1452 + # left behind by Apple's compiler. We do this before executing the actions.
1453 + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1454 + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1455 + as_fn_set_status $ac_retval
1457 +} # ac_fn_c_try_link
1458 cat >config.log <<_ACEOF
1459 This file contains any messages produced by compilers while
1460 running configure, to aid debugging if configure makes a mistake.
1462 It was created by libnl $as_me 1.1, which was
1463 -generated by GNU Autoconf 2.61. Invocation command line was
1464 +generated by GNU Autoconf 2.65. Invocation command line was
1468 @@ -1333,8 +1448,8 @@
1471 test -z "$as_dir" && as_dir=.
1472 - echo "PATH: $as_dir"
1474 + $as_echo "PATH: $as_dir"
1479 @@ -1368,12 +1483,12 @@
1480 | -silent | --silent | --silen | --sile | --sil)
1483 - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1484 + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1487 - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1488 + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1490 - ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1491 + as_fn_append ac_configure_args1 " '$ac_arg'"
1492 if test $ac_must_keep_next = true; then
1493 ac_must_keep_next=false # Got value, back to normal.
1495 @@ -1389,13 +1504,13 @@
1496 -* ) ac_must_keep_next=true ;;
1499 - ac_configure_args="$ac_configure_args '$ac_arg'"
1500 + as_fn_append ac_configure_args " '$ac_arg'"
1505 -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1506 -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1507 +{ ac_configure_args0=; unset ac_configure_args0;}
1508 +{ ac_configure_args1=; unset ac_configure_args1;}
1510 # When interrupted or exit'd, cleanup temporary files, and complete
1511 # config.log. We remove comments because anyway the quotes in there
1512 @@ -1420,12 +1535,13 @@
1516 - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1517 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1518 + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1519 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1522 _ | IFS | as_nl) ;; #(
1523 - *) $as_unset $ac_var ;;
1524 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1525 + *) { eval $ac_var=; unset $ac_var;} ;;
1529 @@ -1454,9 +1570,9 @@
1531 eval ac_val=\$$ac_var
1533 - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1534 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1536 - echo "$ac_var='\''$ac_val'\''"
1537 + $as_echo "$ac_var='\''$ac_val'\''"
1541 @@ -1471,9 +1587,9 @@
1543 eval ac_val=\$$ac_var
1545 - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1546 + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1548 - echo "$ac_var='\''$ac_val'\''"
1549 + $as_echo "$ac_var='\''$ac_val'\''"
1553 @@ -1489,83 +1605,88 @@
1556 test "$ac_signal" != 0 &&
1557 - echo "$as_me: caught signal $ac_signal"
1558 - echo "$as_me: exit $exit_status"
1559 + $as_echo "$as_me: caught signal $ac_signal"
1560 + $as_echo "$as_me: exit $exit_status"
1562 rm -f core *.core core.conftest.* &&
1563 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1566 for ac_signal in 1 2 13 15; do
1567 - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1568 + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1572 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1573 rm -f -r conftest* confdefs.h
1575 +$as_echo "/* confdefs.h */" > confdefs.h
1577 # Predefined preprocessor variables.
1579 cat >>confdefs.h <<_ACEOF
1580 #define PACKAGE_NAME "$PACKAGE_NAME"
1584 cat >>confdefs.h <<_ACEOF
1585 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1589 cat >>confdefs.h <<_ACEOF
1590 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1594 cat >>confdefs.h <<_ACEOF
1595 #define PACKAGE_STRING "$PACKAGE_STRING"
1599 cat >>confdefs.h <<_ACEOF
1600 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1603 +cat >>confdefs.h <<_ACEOF
1604 +#define PACKAGE_URL "$PACKAGE_URL"
1608 # Let the site file select an alternate cache file if it wants to.
1609 -# Prefer explicitly selected file to automatically selected ones.
1610 +# Prefer an explicitly selected file to automatically selected ones.
1613 if test -n "$CONFIG_SITE"; then
1614 - set x "$CONFIG_SITE"
1615 + ac_site_file1=$CONFIG_SITE
1616 elif test "x$prefix" != xNONE; then
1617 - set x "$prefix/share/config.site" "$prefix/etc/config.site"
1618 + ac_site_file1=$prefix/share/config.site
1619 + ac_site_file2=$prefix/etc/config.site
1621 - set x "$ac_default_prefix/share/config.site" \
1622 - "$ac_default_prefix/etc/config.site"
1623 + ac_site_file1=$ac_default_prefix/share/config.site
1624 + ac_site_file2=$ac_default_prefix/etc/config.site
1628 +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1630 - if test -r "$ac_site_file"; then
1631 - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1632 -echo "$as_me: loading site script $ac_site_file" >&6;}
1633 + test "x$ac_site_file" = xNONE && continue
1634 + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1635 + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1636 +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1637 sed 's/^/| /' "$ac_site_file" >&5
1642 if test -r "$cache_file"; then
1643 - # Some versions of bash will fail to source /dev/null (special
1644 - # files actually), so we avoid doing that.
1645 - if test -f "$cache_file"; then
1646 - { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1647 -echo "$as_me: loading cache $cache_file" >&6;}
1648 + # Some versions of bash will fail to source /dev/null (special files
1649 + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1650 + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1651 + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1652 +$as_echo "$as_me: loading cache $cache_file" >&6;}
1654 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1655 *) . "./$cache_file";;
1659 - { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1660 -echo "$as_me: creating cache $cache_file" >&6;}
1661 + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1662 +$as_echo "$as_me: creating cache $cache_file" >&6;}
1666 @@ -1579,68 +1700,56 @@
1667 eval ac_new_val=\$ac_env_${ac_var}_value
1668 case $ac_old_set,$ac_new_set in
1670 - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1671 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1672 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1673 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1674 ac_cache_corrupted=: ;;
1676 - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1677 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1678 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1679 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1680 ac_cache_corrupted=: ;;
1683 if test "x$ac_old_val" != "x$ac_new_val"; then
1684 - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1685 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1686 - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1687 -echo "$as_me: former value: $ac_old_val" >&2;}
1688 - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1689 -echo "$as_me: current value: $ac_new_val" >&2;}
1690 - ac_cache_corrupted=:
1691 + # differences in whitespace do not lead to failure.
1692 + ac_old_val_w=`echo x $ac_old_val`
1693 + ac_new_val_w=`echo x $ac_new_val`
1694 + if test "$ac_old_val_w" != "$ac_new_val_w"; then
1695 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1696 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1697 + ac_cache_corrupted=:
1699 + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1700 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1701 + eval $ac_var=\$ac_old_val
1703 + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1704 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1705 + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1706 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1709 # Pass precious variables to config.status.
1710 if test "$ac_new_set" = set; then
1712 - *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1713 + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1714 *) ac_arg=$ac_var=$ac_new_val ;;
1716 case " $ac_configure_args " in
1717 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1718 - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1719 + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1723 if $ac_cache_corrupted; then
1724 - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1725 -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1726 - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1727 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1728 - { (exit 1); exit 1; }; }
1754 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1755 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1756 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1757 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1758 + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1760 +## -------------------- ##
1761 +## Main body of script. ##
1762 +## -------------------- ##
1765 ac_cpp='$CPP $CPPFLAGS'
1766 @@ -1664,10 +1773,10 @@
1767 if test -n "$ac_tool_prefix"; then
1768 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1769 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1770 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1771 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1772 -if test "${ac_cv_prog_CC+set}" = set; then
1773 - echo $ECHO_N "(cached) $ECHO_C" >&6
1774 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1775 +$as_echo_n "checking for $ac_word... " >&6; }
1776 +if test "${ac_cv_prog_CC+set}" = set; then :
1777 + $as_echo_n "(cached) " >&6
1779 if test -n "$CC"; then
1780 ac_cv_prog_CC="$CC" # Let the user override the test.
1781 @@ -1677,25 +1786,25 @@
1784 test -z "$as_dir" && as_dir=.
1785 - for ac_exec_ext in '' $ac_executable_extensions; do
1786 + for ac_exec_ext in '' $ac_executable_extensions; do
1787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1788 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1789 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1790 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1801 if test -n "$CC"; then
1802 - { echo "$as_me:$LINENO: result: $CC" >&5
1803 -echo "${ECHO_T}$CC" >&6; }
1804 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1805 +$as_echo "$CC" >&6; }
1807 - { echo "$as_me:$LINENO: result: no" >&5
1808 -echo "${ECHO_T}no" >&6; }
1809 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1810 +$as_echo "no" >&6; }
1814 @@ -1704,10 +1813,10 @@
1816 # Extract the first word of "gcc", so it can be a program name with args.
1817 set dummy gcc; ac_word=$2
1818 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1819 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1820 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1821 - echo $ECHO_N "(cached) $ECHO_C" >&6
1822 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1823 +$as_echo_n "checking for $ac_word... " >&6; }
1824 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1825 + $as_echo_n "(cached) " >&6
1827 if test -n "$ac_ct_CC"; then
1828 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1829 @@ -1717,25 +1826,25 @@
1832 test -z "$as_dir" && as_dir=.
1833 - for ac_exec_ext in '' $ac_executable_extensions; do
1834 + for ac_exec_ext in '' $ac_executable_extensions; do
1835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1836 ac_cv_prog_ac_ct_CC="gcc"
1837 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1838 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1848 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1849 if test -n "$ac_ct_CC"; then
1850 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1851 -echo "${ECHO_T}$ac_ct_CC" >&6; }
1852 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1853 +$as_echo "$ac_ct_CC" >&6; }
1855 - { echo "$as_me:$LINENO: result: no" >&5
1856 -echo "${ECHO_T}no" >&6; }
1857 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1858 +$as_echo "no" >&6; }
1861 if test "x$ac_ct_CC" = x; then
1862 @@ -1743,12 +1852,8 @@
1864 case $cross_compiling:$ac_tool_warned in
1866 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1867 -whose name does not start with the host triplet. If you think this
1868 -configuration is useful to you, please write to autoconf@gnu.org." >&5
1869 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1870 -whose name does not start with the host triplet. If you think this
1871 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1872 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1873 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1874 ac_tool_warned=yes ;;
1877 @@ -1761,10 +1866,10 @@
1878 if test -n "$ac_tool_prefix"; then
1879 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1880 set dummy ${ac_tool_prefix}cc; ac_word=$2
1881 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1882 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1883 -if test "${ac_cv_prog_CC+set}" = set; then
1884 - echo $ECHO_N "(cached) $ECHO_C" >&6
1885 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1886 +$as_echo_n "checking for $ac_word... " >&6; }
1887 +if test "${ac_cv_prog_CC+set}" = set; then :
1888 + $as_echo_n "(cached) " >&6
1890 if test -n "$CC"; then
1891 ac_cv_prog_CC="$CC" # Let the user override the test.
1892 @@ -1774,25 +1879,25 @@
1895 test -z "$as_dir" && as_dir=.
1896 - for ac_exec_ext in '' $ac_executable_extensions; do
1897 + for ac_exec_ext in '' $ac_executable_extensions; do
1898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1899 ac_cv_prog_CC="${ac_tool_prefix}cc"
1900 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1901 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1912 if test -n "$CC"; then
1913 - { echo "$as_me:$LINENO: result: $CC" >&5
1914 -echo "${ECHO_T}$CC" >&6; }
1915 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1916 +$as_echo "$CC" >&6; }
1918 - { echo "$as_me:$LINENO: result: no" >&5
1919 -echo "${ECHO_T}no" >&6; }
1920 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1921 +$as_echo "no" >&6; }
1925 @@ -1801,10 +1906,10 @@
1926 if test -z "$CC"; then
1927 # Extract the first word of "cc", so it can be a program name with args.
1928 set dummy cc; ac_word=$2
1929 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1931 -if test "${ac_cv_prog_CC+set}" = set; then
1932 - echo $ECHO_N "(cached) $ECHO_C" >&6
1933 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1934 +$as_echo_n "checking for $ac_word... " >&6; }
1935 +if test "${ac_cv_prog_CC+set}" = set; then :
1936 + $as_echo_n "(cached) " >&6
1938 if test -n "$CC"; then
1939 ac_cv_prog_CC="$CC" # Let the user override the test.
1940 @@ -1815,18 +1920,18 @@
1943 test -z "$as_dir" && as_dir=.
1944 - for ac_exec_ext in '' $ac_executable_extensions; do
1945 + for ac_exec_ext in '' $ac_executable_extensions; do
1946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1947 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1948 ac_prog_rejected=yes
1952 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1953 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1961 if test $ac_prog_rejected = yes; then
1962 @@ -1845,11 +1950,11 @@
1965 if test -n "$CC"; then
1966 - { echo "$as_me:$LINENO: result: $CC" >&5
1967 -echo "${ECHO_T}$CC" >&6; }
1968 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1969 +$as_echo "$CC" >&6; }
1971 - { echo "$as_me:$LINENO: result: no" >&5
1972 -echo "${ECHO_T}no" >&6; }
1973 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1974 +$as_echo "no" >&6; }
1978 @@ -1860,10 +1965,10 @@
1980 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1981 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1982 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1983 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1984 -if test "${ac_cv_prog_CC+set}" = set; then
1985 - echo $ECHO_N "(cached) $ECHO_C" >&6
1986 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1987 +$as_echo_n "checking for $ac_word... " >&6; }
1988 +if test "${ac_cv_prog_CC+set}" = set; then :
1989 + $as_echo_n "(cached) " >&6
1991 if test -n "$CC"; then
1992 ac_cv_prog_CC="$CC" # Let the user override the test.
1993 @@ -1873,25 +1978,25 @@
1996 test -z "$as_dir" && as_dir=.
1997 - for ac_exec_ext in '' $ac_executable_extensions; do
1998 + for ac_exec_ext in '' $ac_executable_extensions; do
1999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2000 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2001 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2002 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2013 if test -n "$CC"; then
2014 - { echo "$as_me:$LINENO: result: $CC" >&5
2015 -echo "${ECHO_T}$CC" >&6; }
2016 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2017 +$as_echo "$CC" >&6; }
2019 - { echo "$as_me:$LINENO: result: no" >&5
2020 -echo "${ECHO_T}no" >&6; }
2021 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2022 +$as_echo "no" >&6; }
2026 @@ -1904,10 +2009,10 @@
2028 # Extract the first word of "$ac_prog", so it can be a program name with args.
2029 set dummy $ac_prog; ac_word=$2
2030 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2031 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2032 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2033 - echo $ECHO_N "(cached) $ECHO_C" >&6
2034 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2035 +$as_echo_n "checking for $ac_word... " >&6; }
2036 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2037 + $as_echo_n "(cached) " >&6
2039 if test -n "$ac_ct_CC"; then
2040 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2041 @@ -1917,25 +2022,25 @@
2044 test -z "$as_dir" && as_dir=.
2045 - for ac_exec_ext in '' $ac_executable_extensions; do
2046 + for ac_exec_ext in '' $ac_executable_extensions; do
2047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2048 ac_cv_prog_ac_ct_CC="$ac_prog"
2049 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2050 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2060 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2061 if test -n "$ac_ct_CC"; then
2062 - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2063 -echo "${ECHO_T}$ac_ct_CC" >&6; }
2064 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2065 +$as_echo "$ac_ct_CC" >&6; }
2067 - { echo "$as_me:$LINENO: result: no" >&5
2068 -echo "${ECHO_T}no" >&6; }
2069 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2070 +$as_echo "no" >&6; }
2074 @@ -1947,12 +2052,8 @@
2076 case $cross_compiling:$ac_tool_warned in
2078 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2079 -whose name does not start with the host triplet. If you think this
2080 -configuration is useful to you, please write to autoconf@gnu.org." >&5
2081 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2082 -whose name does not start with the host triplet. If you think this
2083 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2084 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2085 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2086 ac_tool_warned=yes ;;
2089 @@ -1962,51 +2063,37 @@
2093 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2094 -See \`config.log' for more details." >&5
2095 -echo "$as_me: error: no acceptable C compiler found in \$PATH
2096 -See \`config.log' for more details." >&2;}
2097 - { (exit 1); exit 1; }; }
2098 +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2099 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2100 +as_fn_error "no acceptable C compiler found in \$PATH
2101 +See \`config.log' for more details." "$LINENO" 5; }
2103 # Provide some information about the compiler.
2104 -echo "$as_me:$LINENO: checking for C compiler version" >&5
2105 -ac_compiler=`set X $ac_compile; echo $2`
2106 -{ (ac_try="$ac_compiler --version >&5"
2107 -case "(($ac_try" in
2108 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2109 - *) ac_try_echo=$ac_try;;
2111 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2112 - (eval "$ac_compiler --version >&5") 2>&5
2114 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115 - (exit $ac_status); }
2116 -{ (ac_try="$ac_compiler -v >&5"
2117 -case "(($ac_try" in
2118 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2119 - *) ac_try_echo=$ac_try;;
2121 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2122 - (eval "$ac_compiler -v >&5") 2>&5
2124 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 - (exit $ac_status); }
2126 -{ (ac_try="$ac_compiler -V >&5"
2127 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2130 +for ac_option in --version -v -V -qversion; do
2131 + { { ac_try="$ac_compiler $ac_option >&5"
2133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2134 *) ac_try_echo=$ac_try;;
2136 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2137 - (eval "$ac_compiler -V >&5") 2>&5
2138 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2139 +$as_echo "$ac_try_echo"; } >&5
2140 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2142 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2143 - (exit $ac_status); }
2144 + if test -s conftest.err; then
2146 +... rest of stderr output deleted ...
2147 + 10q' conftest.err >conftest.er1
2148 + cat conftest.er1 >&5
2150 + rm -f conftest.er1 conftest.err
2151 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2152 + test $ac_status = 0; }
2155 -cat >conftest.$ac_ext <<_ACEOF
2158 -cat confdefs.h >>conftest.$ac_ext
2159 -cat >>conftest.$ac_ext <<_ACEOF
2160 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2164 @@ -2018,42 +2105,38 @@
2167 ac_clean_files_save=$ac_clean_files
2168 -ac_clean_files="$ac_clean_files a.out a.exe b.out"
2169 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2170 # Try to create an executable without -o first, disregard a.out.
2171 # It will help us diagnose broken compilers, and finding out an intuition
2173 -{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2174 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2175 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2177 -# List of possible output files, starting from the most likely.
2178 -# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2179 -# only as a last resort. b.out is created by i960 compilers.
2180 -ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2182 -# The IRIX 6 linker writes into existing files which may not be
2183 -# executable, retaining their permissions. Remove them first so a
2184 -# subsequent execution test works.
2185 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2186 +$as_echo_n "checking whether the C compiler works... " >&6; }
2187 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2189 +# The possible output files:
2190 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2193 for ac_file in $ac_files
2196 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2197 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2198 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2203 -if { (ac_try="$ac_link_default"
2204 +if { { ac_try="$ac_link_default"
2206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2207 *) ac_try_echo=$ac_try;;
2209 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2210 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2211 +$as_echo "$ac_try_echo"; } >&5
2212 (eval "$ac_link_default") 2>&5
2214 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2215 - (exit $ac_status); }; then
2216 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2217 + test $ac_status = 0; }; then :
2218 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2219 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2220 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2221 @@ -2063,14 +2146,14 @@
2223 test -f "$ac_file" || continue
2225 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2226 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2229 # We found the default executable, but exeext='' is most
2233 - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2234 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2236 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2238 @@ -2089,78 +2172,42 @@
2243 -{ echo "$as_me:$LINENO: result: $ac_file" >&5
2244 -echo "${ECHO_T}$ac_file" >&6; }
2245 -if test -z "$ac_file"; then
2246 - echo "$as_me: failed program was:" >&5
2247 +if test -z "$ac_file"; then :
2248 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2249 +$as_echo "no" >&6; }
2250 +$as_echo "$as_me: failed program was:" >&5
2251 sed 's/^/| /' conftest.$ac_ext >&5
2253 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2254 -See \`config.log' for more details." >&5
2255 -echo "$as_me: error: C compiler cannot create executables
2256 -See \`config.log' for more details." >&2;}
2257 - { (exit 77); exit 77; }; }
2260 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2261 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2262 +{ as_fn_set_status 77
2263 +as_fn_error "C compiler cannot create executables
2264 +See \`config.log' for more details." "$LINENO" 5; }; }
2266 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2267 +$as_echo "yes" >&6; }
2269 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2270 +$as_echo_n "checking for C compiler default output file name... " >&6; }
2271 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2272 +$as_echo "$ac_file" >&6; }
2273 ac_exeext=$ac_cv_exeext
2275 -# Check that the compiler produces executables we can run. If not, either
2276 -# the compiler is broken, or we cross compile.
2277 -{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2278 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2279 -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2280 -# If not cross compiling, check that we can run a simple program.
2281 -if test "$cross_compiling" != yes; then
2282 - if { ac_try='./$ac_file'
2283 - { (case "(($ac_try" in
2284 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2285 - *) ac_try_echo=$ac_try;;
2287 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2288 - (eval "$ac_try") 2>&5
2290 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2291 - (exit $ac_status); }; }; then
2292 - cross_compiling=no
2294 - if test "$cross_compiling" = maybe; then
2295 - cross_compiling=yes
2297 - { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2298 -If you meant to cross compile, use \`--host'.
2299 -See \`config.log' for more details." >&5
2300 -echo "$as_me: error: cannot run C compiled programs.
2301 -If you meant to cross compile, use \`--host'.
2302 -See \`config.log' for more details." >&2;}
2303 - { (exit 1); exit 1; }; }
2307 -{ echo "$as_me:$LINENO: result: yes" >&5
2308 -echo "${ECHO_T}yes" >&6; }
2310 -rm -f a.out a.exe conftest$ac_cv_exeext b.out
2311 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2312 ac_clean_files=$ac_clean_files_save
2313 -# Check that the compiler produces executables we can run. If not, either
2314 -# the compiler is broken, or we cross compile.
2315 -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2316 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2317 -{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2318 -echo "${ECHO_T}$cross_compiling" >&6; }
2320 -{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2321 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2322 -if { (ac_try="$ac_link"
2323 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2324 +$as_echo_n "checking for suffix of executables... " >&6; }
2325 +if { { ac_try="$ac_link"
2327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2328 *) ac_try_echo=$ac_try;;
2330 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2331 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2332 +$as_echo "$ac_try_echo"; } >&5
2333 (eval "$ac_link") 2>&5
2335 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 - (exit $ac_status); }; then
2337 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2338 + test $ac_status = 0; }; then :
2339 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2340 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2341 # work properly (i.e., refer to `conftest.exe'), while it won't with
2342 @@ -2168,37 +2215,90 @@
2343 for ac_file in conftest.exe conftest conftest.*; do
2344 test -f "$ac_file" || continue
2346 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2347 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2348 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2354 - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2355 -See \`config.log' for more details." >&5
2356 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2357 -See \`config.log' for more details." >&2;}
2358 - { (exit 1); exit 1; }; }
2361 -rm -f conftest$ac_cv_exeext
2362 -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2363 -echo "${ECHO_T}$ac_cv_exeext" >&6; }
2364 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2365 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2366 +as_fn_error "cannot compute suffix of executables: cannot compile and link
2367 +See \`config.log' for more details." "$LINENO" 5; }
2369 +rm -f conftest conftest$ac_cv_exeext
2370 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2371 +$as_echo "$ac_cv_exeext" >&6; }
2373 rm -f conftest.$ac_ext
2374 EXEEXT=$ac_cv_exeext
2376 -{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2377 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2378 -if test "${ac_cv_objext+set}" = set; then
2379 - echo $ECHO_N "(cached) $ECHO_C" >&6
2381 - cat >conftest.$ac_ext <<_ACEOF
2383 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2384 +/* end confdefs.h. */
2389 +FILE *f = fopen ("conftest.out", "w");
2390 + return ferror (f) || fclose (f) != 0;
2396 -cat confdefs.h >>conftest.$ac_ext
2397 -cat >>conftest.$ac_ext <<_ACEOF
2398 +ac_clean_files="$ac_clean_files conftest.out"
2399 +# Check that the compiler produces executables we can run. If not, either
2400 +# the compiler is broken, or we cross compile.
2401 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2402 +$as_echo_n "checking whether we are cross compiling... " >&6; }
2403 +if test "$cross_compiling" != yes; then
2404 + { { ac_try="$ac_link"
2405 +case "(($ac_try" in
2406 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2407 + *) ac_try_echo=$ac_try;;
2409 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2410 +$as_echo "$ac_try_echo"; } >&5
2411 + (eval "$ac_link") 2>&5
2413 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2414 + test $ac_status = 0; }
2415 + if { ac_try='./conftest$ac_cv_exeext'
2416 + { { case "(($ac_try" in
2417 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2418 + *) ac_try_echo=$ac_try;;
2420 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2421 +$as_echo "$ac_try_echo"; } >&5
2422 + (eval "$ac_try") 2>&5
2424 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2425 + test $ac_status = 0; }; }; then
2426 + cross_compiling=no
2428 + if test "$cross_compiling" = maybe; then
2429 + cross_compiling=yes
2431 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2432 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2433 +as_fn_error "cannot run C compiled programs.
2434 +If you meant to cross compile, use \`--host'.
2435 +See \`config.log' for more details." "$LINENO" 5; }
2439 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2440 +$as_echo "$cross_compiling" >&6; }
2442 +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2443 +ac_clean_files=$ac_clean_files_save
2444 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2445 +$as_echo_n "checking for suffix of object files... " >&6; }
2446 +if test "${ac_cv_objext+set}" = set; then :
2447 + $as_echo_n "(cached) " >&6
2449 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2450 /* end confdefs.h. */
2453 @@ -2210,51 +2310,46 @@
2456 rm -f conftest.o conftest.obj
2457 -if { (ac_try="$ac_compile"
2458 +if { { ac_try="$ac_compile"
2460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2461 *) ac_try_echo=$ac_try;;
2463 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2464 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2465 +$as_echo "$ac_try_echo"; } >&5
2466 (eval "$ac_compile") 2>&5
2468 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 - (exit $ac_status); }; then
2470 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2471 + test $ac_status = 0; }; then :
2472 for ac_file in conftest.o conftest.obj conftest.*; do
2473 test -f "$ac_file" || continue;
2475 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2476 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2477 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2482 - echo "$as_me: failed program was:" >&5
2483 + $as_echo "$as_me: failed program was:" >&5
2484 sed 's/^/| /' conftest.$ac_ext >&5
2486 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2487 -See \`config.log' for more details." >&5
2488 -echo "$as_me: error: cannot compute suffix of object files: cannot compile
2489 -See \`config.log' for more details." >&2;}
2490 - { (exit 1); exit 1; }; }
2491 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2492 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2493 +as_fn_error "cannot compute suffix of object files: cannot compile
2494 +See \`config.log' for more details." "$LINENO" 5; }
2497 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2499 -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2500 -echo "${ECHO_T}$ac_cv_objext" >&6; }
2501 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2502 +$as_echo "$ac_cv_objext" >&6; }
2503 OBJEXT=$ac_cv_objext
2505 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2506 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2507 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
2508 - echo $ECHO_N "(cached) $ECHO_C" >&6
2509 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2510 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2511 +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2512 + $as_echo_n "(cached) " >&6
2514 - cat >conftest.$ac_ext <<_ACEOF
2517 -cat confdefs.h >>conftest.$ac_ext
2518 -cat >>conftest.$ac_ext <<_ACEOF
2519 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2520 /* end confdefs.h. */
2523 @@ -2268,54 +2363,34 @@
2527 -rm -f conftest.$ac_objext
2528 -if { (ac_try="$ac_compile"
2529 -case "(($ac_try" in
2530 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2531 - *) ac_try_echo=$ac_try;;
2533 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2534 - (eval "$ac_compile") 2>conftest.er1
2536 - grep -v '^ *+' conftest.er1 >conftest.err
2537 - rm -f conftest.er1
2538 - cat conftest.err >&5
2539 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 - (exit $ac_status); } && {
2541 - test -z "$ac_c_werror_flag" ||
2542 - test ! -s conftest.err
2543 - } && test -s conftest.$ac_objext; then
2544 +if ac_fn_c_try_compile "$LINENO"; then :
2547 - echo "$as_me: failed program was:" >&5
2548 -sed 's/^/| /' conftest.$ac_ext >&5
2550 - ac_compiler_gnu=no
2551 + ac_compiler_gnu=no
2554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2555 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2558 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2559 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2560 -GCC=`test $ac_compiler_gnu = yes && echo yes`
2561 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2562 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2563 +if test $ac_compiler_gnu = yes; then
2568 ac_test_CFLAGS=${CFLAGS+set}
2569 ac_save_CFLAGS=$CFLAGS
2570 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2571 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2572 -if test "${ac_cv_prog_cc_g+set}" = set; then
2573 - echo $ECHO_N "(cached) $ECHO_C" >&6
2574 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2575 +$as_echo_n "checking whether $CC accepts -g... " >&6; }
2576 +if test "${ac_cv_prog_cc_g+set}" = set; then :
2577 + $as_echo_n "(cached) " >&6
2579 ac_save_c_werror_flag=$ac_c_werror_flag
2580 ac_c_werror_flag=yes
2583 - cat >conftest.$ac_ext <<_ACEOF
2586 -cat confdefs.h >>conftest.$ac_ext
2587 -cat >>conftest.$ac_ext <<_ACEOF
2588 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2589 /* end confdefs.h. */
2592 @@ -2326,34 +2401,11 @@
2596 -rm -f conftest.$ac_objext
2597 -if { (ac_try="$ac_compile"
2598 -case "(($ac_try" in
2599 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2600 - *) ac_try_echo=$ac_try;;
2602 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2603 - (eval "$ac_compile") 2>conftest.er1
2605 - grep -v '^ *+' conftest.er1 >conftest.err
2606 - rm -f conftest.er1
2607 - cat conftest.err >&5
2608 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 - (exit $ac_status); } && {
2610 - test -z "$ac_c_werror_flag" ||
2611 - test ! -s conftest.err
2612 - } && test -s conftest.$ac_objext; then
2613 +if ac_fn_c_try_compile "$LINENO"; then :
2616 - echo "$as_me: failed program was:" >&5
2617 -sed 's/^/| /' conftest.$ac_ext >&5
2620 - cat >conftest.$ac_ext <<_ACEOF
2623 -cat confdefs.h >>conftest.$ac_ext
2624 -cat >>conftest.$ac_ext <<_ACEOF
2626 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2627 /* end confdefs.h. */
2630 @@ -2364,35 +2416,12 @@
2634 -rm -f conftest.$ac_objext
2635 -if { (ac_try="$ac_compile"
2636 -case "(($ac_try" in
2637 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638 - *) ac_try_echo=$ac_try;;
2640 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2641 - (eval "$ac_compile") 2>conftest.er1
2643 - grep -v '^ *+' conftest.er1 >conftest.err
2644 - rm -f conftest.er1
2645 - cat conftest.err >&5
2646 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 - (exit $ac_status); } && {
2648 - test -z "$ac_c_werror_flag" ||
2649 - test ! -s conftest.err
2650 - } && test -s conftest.$ac_objext; then
2653 - echo "$as_me: failed program was:" >&5
2654 -sed 's/^/| /' conftest.$ac_ext >&5
2655 +if ac_fn_c_try_compile "$LINENO"; then :
2657 - ac_c_werror_flag=$ac_save_c_werror_flag
2659 + ac_c_werror_flag=$ac_save_c_werror_flag
2661 - cat >conftest.$ac_ext <<_ACEOF
2664 -cat confdefs.h >>conftest.$ac_ext
2665 -cat >>conftest.$ac_ext <<_ACEOF
2666 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2667 /* end confdefs.h. */
2670 @@ -2403,42 +2432,18 @@
2674 -rm -f conftest.$ac_objext
2675 -if { (ac_try="$ac_compile"
2676 -case "(($ac_try" in
2677 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2678 - *) ac_try_echo=$ac_try;;
2680 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2681 - (eval "$ac_compile") 2>conftest.er1
2683 - grep -v '^ *+' conftest.er1 >conftest.err
2684 - rm -f conftest.er1
2685 - cat conftest.err >&5
2686 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 - (exit $ac_status); } && {
2688 - test -z "$ac_c_werror_flag" ||
2689 - test ! -s conftest.err
2690 - } && test -s conftest.$ac_objext; then
2691 +if ac_fn_c_try_compile "$LINENO"; then :
2694 - echo "$as_me: failed program was:" >&5
2695 -sed 's/^/| /' conftest.$ac_ext >&5
2700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2707 ac_c_werror_flag=$ac_save_c_werror_flag
2709 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2710 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2711 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2712 +$as_echo "$ac_cv_prog_cc_g" >&6; }
2713 if test "$ac_test_CFLAGS" = set; then
2714 CFLAGS=$ac_save_CFLAGS
2715 elif test $ac_cv_prog_cc_g = yes; then
2716 @@ -2454,18 +2459,14 @@
2720 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2721 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2722 -if test "${ac_cv_prog_cc_c89+set}" = set; then
2723 - echo $ECHO_N "(cached) $ECHO_C" >&6
2724 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2725 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2726 +if test "${ac_cv_prog_cc_c89+set}" = set; then :
2727 + $as_echo_n "(cached) " >&6
2729 ac_cv_prog_cc_c89=no
2731 -cat >conftest.$ac_ext <<_ACEOF
2734 -cat confdefs.h >>conftest.$ac_ext
2735 -cat >>conftest.$ac_ext <<_ACEOF
2736 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2737 /* end confdefs.h. */
2740 @@ -2522,31 +2523,9 @@
2741 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2743 CC="$ac_save_CC $ac_arg"
2744 - rm -f conftest.$ac_objext
2745 -if { (ac_try="$ac_compile"
2746 -case "(($ac_try" in
2747 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2748 - *) ac_try_echo=$ac_try;;
2750 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2751 - (eval "$ac_compile") 2>conftest.er1
2753 - grep -v '^ *+' conftest.er1 >conftest.err
2754 - rm -f conftest.er1
2755 - cat conftest.err >&5
2756 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 - (exit $ac_status); } && {
2758 - test -z "$ac_c_werror_flag" ||
2759 - test ! -s conftest.err
2760 - } && test -s conftest.$ac_objext; then
2761 + if ac_fn_c_try_compile "$LINENO"; then :
2762 ac_cv_prog_cc_c89=$ac_arg
2764 - echo "$as_me: failed program was:" >&5
2765 -sed 's/^/| /' conftest.$ac_ext >&5
2770 rm -f core conftest.err conftest.$ac_objext
2771 test "x$ac_cv_prog_cc_c89" != "xno" && break
2773 @@ -2557,17 +2536,19 @@
2775 case "x$ac_cv_prog_cc_c89" in
2777 - { echo "$as_me:$LINENO: result: none needed" >&5
2778 -echo "${ECHO_T}none needed" >&6; } ;;
2779 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2780 +$as_echo "none needed" >&6; } ;;
2782 - { echo "$as_me:$LINENO: result: unsupported" >&5
2783 -echo "${ECHO_T}unsupported" >&6; } ;;
2784 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2785 +$as_echo "unsupported" >&6; } ;;
2787 CC="$CC $ac_cv_prog_cc_c89"
2788 - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2789 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2790 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2791 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2793 +if test "x$ac_cv_prog_cc_c89" != xno; then :
2798 ac_cpp='$CPP $CPPFLAGS'
2799 @@ -2577,24 +2558,16 @@
2802 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2803 - if test -f "$ac_dir/install-sh"; then
2804 - ac_aux_dir=$ac_dir
2805 - ac_install_sh="$ac_aux_dir/install-sh -c"
2807 - elif test -f "$ac_dir/install.sh"; then
2808 - ac_aux_dir=$ac_dir
2809 - ac_install_sh="$ac_aux_dir/install.sh -c"
2811 - elif test -f "$ac_dir/shtool"; then
2812 - ac_aux_dir=$ac_dir
2813 - ac_install_sh="$ac_aux_dir/shtool install -c"
2816 + for ac_t in install-sh install.sh shtool; do
2817 + if test -f "$ac_dir/$ac_t"; then
2818 + ac_aux_dir=$ac_dir
2819 + ac_install_sh="$ac_aux_dir/$ac_t -c"
2824 if test -z "$ac_aux_dir"; then
2825 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2826 -echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2827 - { (exit 1); exit 1; }; }
2828 + as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2831 # These three variables are undocumented and unsupported,
2832 @@ -2619,22 +2592,23 @@
2833 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2834 # OS/2's system install, which has a completely different semantic
2835 # ./install, which can be erroneously created by make from ./install.sh.
2836 -{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2837 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2838 +# Reject install programs that cannot install multiple files.
2839 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2840 +$as_echo_n "checking for a BSD-compatible install... " >&6; }
2841 if test -z "$INSTALL"; then
2842 -if test "${ac_cv_path_install+set}" = set; then
2843 - echo $ECHO_N "(cached) $ECHO_C" >&6
2844 +if test "${ac_cv_path_install+set}" = set; then :
2845 + $as_echo_n "(cached) " >&6
2847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir=.
2852 - # Account for people who put trailing slashes in PATH elements.
2854 - ./ | .// | /cC/* | \
2855 + # Account for people who put trailing slashes in PATH elements.
2856 +case $as_dir/ in #((
2857 + ./ | .// | /[cC]/* | \
2858 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2859 - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2860 + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2863 # OSF1 and SCO ODT 3.0 have their own names for install.
2864 @@ -2652,17 +2626,29 @@
2865 # program-specific install script used by HP pwplus--don't use.
2868 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2870 + rm -rf conftest.one conftest.two conftest.dir
2871 + echo one > conftest.one
2872 + echo two > conftest.two
2873 + mkdir conftest.dir
2874 + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2875 + test -s conftest.one && test -s conftest.two &&
2876 + test -s conftest.dir/conftest.one &&
2877 + test -s conftest.dir/conftest.two
2879 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2893 +rm -rf conftest.one conftest.two conftest.dir
2896 if test "${ac_cv_path_install+set}" = set; then
2897 @@ -2675,8 +2661,8 @@
2898 INSTALL=$ac_install_sh
2901 -{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2902 -echo "${ECHO_T}$INSTALL" >&6; }
2903 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2904 +$as_echo "$INSTALL" >&6; }
2906 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2907 # It thinks the first close brace ends the variable substitution.
2908 @@ -2688,16 +2674,12 @@
2912 -{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2913 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
2914 -if test "${ac_cv_c_const+set}" = set; then
2915 - echo $ECHO_N "(cached) $ECHO_C" >&6
2916 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
2917 +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
2918 +if test "${ac_cv_c_const+set}" = set; then :
2919 + $as_echo_n "(cached) " >&6
2921 - cat >conftest.$ac_ext <<_ACEOF
2924 -cat confdefs.h >>conftest.$ac_ext
2925 -cat >>conftest.$ac_ext <<_ACEOF
2926 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2927 /* end confdefs.h. */
2930 @@ -2757,55 +2739,29 @@
2934 -rm -f conftest.$ac_objext
2935 -if { (ac_try="$ac_compile"
2936 -case "(($ac_try" in
2937 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2938 - *) ac_try_echo=$ac_try;;
2940 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2941 - (eval "$ac_compile") 2>conftest.er1
2943 - grep -v '^ *+' conftest.er1 >conftest.err
2944 - rm -f conftest.er1
2945 - cat conftest.err >&5
2946 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 - (exit $ac_status); } && {
2948 - test -z "$ac_c_werror_flag" ||
2949 - test ! -s conftest.err
2950 - } && test -s conftest.$ac_objext; then
2951 +if ac_fn_c_try_compile "$LINENO"; then :
2954 - echo "$as_me: failed program was:" >&5
2955 -sed 's/^/| /' conftest.$ac_ext >&5
2961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2963 -{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
2964 -echo "${ECHO_T}$ac_cv_c_const" >&6; }
2965 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
2966 +$as_echo "$ac_cv_c_const" >&6; }
2967 if test $ac_cv_c_const = no; then
2969 -cat >>confdefs.h <<\_ACEOF
2972 +$as_echo "#define const /**/" >>confdefs.h
2976 -{ echo "$as_me:$LINENO: checking for inline" >&5
2977 -echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
2978 -if test "${ac_cv_c_inline+set}" = set; then
2979 - echo $ECHO_N "(cached) $ECHO_C" >&6
2980 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
2981 +$as_echo_n "checking for inline... " >&6; }
2982 +if test "${ac_cv_c_inline+set}" = set; then :
2983 + $as_echo_n "(cached) " >&6
2986 for ac_kw in inline __inline__ __inline; do
2987 - cat >conftest.$ac_ext <<_ACEOF
2990 -cat confdefs.h >>conftest.$ac_ext
2991 -cat >>conftest.$ac_ext <<_ACEOF
2992 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2993 /* end confdefs.h. */
2996 @@ -2814,39 +2770,16 @@
3000 -rm -f conftest.$ac_objext
3001 -if { (ac_try="$ac_compile"
3002 -case "(($ac_try" in
3003 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3004 - *) ac_try_echo=$ac_try;;
3006 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3007 - (eval "$ac_compile") 2>conftest.er1
3009 - grep -v '^ *+' conftest.er1 >conftest.err
3010 - rm -f conftest.er1
3011 - cat conftest.err >&5
3012 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 - (exit $ac_status); } && {
3014 - test -z "$ac_c_werror_flag" ||
3015 - test ! -s conftest.err
3016 - } && test -s conftest.$ac_objext; then
3017 +if ac_fn_c_try_compile "$LINENO"; then :
3018 ac_cv_c_inline=$ac_kw
3020 - echo "$as_me: failed program was:" >&5
3021 -sed 's/^/| /' conftest.$ac_ext >&5
3026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027 test "$ac_cv_c_inline" != no && break
3031 -{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3032 -echo "${ECHO_T}$ac_cv_c_inline" >&6; }
3034 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
3035 +$as_echo "$ac_cv_c_inline" >&6; }
3037 case $ac_cv_c_inline in
3039 @@ -2870,18 +2803,14 @@
3041 #####################################################################
3043 -{ echo "$as_me:$LINENO: checking for pow in -lm" >&5
3044 -echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; }
3045 -if test "${ac_cv_lib_m_pow+set}" = set; then
3046 - echo $ECHO_N "(cached) $ECHO_C" >&6
3047 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
3048 +$as_echo_n "checking for pow in -lm... " >&6; }
3049 +if test "${ac_cv_lib_m_pow+set}" = set; then :
3050 + $as_echo_n "(cached) " >&6
3052 ac_check_lib_save_LIBS=$LIBS
3054 -cat >conftest.$ac_ext <<_ACEOF
3057 -cat confdefs.h >>conftest.$ac_ext
3058 -cat >>conftest.$ac_ext <<_ACEOF
3059 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h. */
3062 /* Override any GCC internal prototype to avoid an error.
3063 @@ -2899,39 +2828,18 @@
3067 -rm -f conftest.$ac_objext conftest$ac_exeext
3068 -if { (ac_try="$ac_link"
3069 -case "(($ac_try" in
3070 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3071 - *) ac_try_echo=$ac_try;;
3073 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3074 - (eval "$ac_link") 2>conftest.er1
3076 - grep -v '^ *+' conftest.er1 >conftest.err
3077 - rm -f conftest.er1
3078 - cat conftest.err >&5
3079 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 - (exit $ac_status); } && {
3081 - test -z "$ac_c_werror_flag" ||
3082 - test ! -s conftest.err
3083 - } && test -s conftest$ac_exeext &&
3084 - $as_test_x conftest$ac_exeext; then
3085 +if ac_fn_c_try_link "$LINENO"; then :
3088 - echo "$as_me: failed program was:" >&5
3089 -sed 's/^/| /' conftest.$ac_ext >&5
3091 - ac_cv_lib_m_pow=no
3092 + ac_cv_lib_m_pow=no
3095 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3096 - conftest$ac_exeext conftest.$ac_ext
3097 +rm -f core conftest.err conftest.$ac_objext \
3098 + conftest$ac_exeext conftest.$ac_ext
3099 LIBS=$ac_check_lib_save_LIBS
3101 -{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
3102 -echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
3103 -if test $ac_cv_lib_m_pow = yes; then
3104 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
3105 +$as_echo "$ac_cv_lib_m_pow" >&6; }
3106 +if test "x$ac_cv_lib_m_pow" = x""yes; then :
3110 @@ -2952,7 +2860,7 @@
3112 #####################################################################
3113 # Check whether --enable-verbose-errors was given.
3114 -if test "${enable_verbose_errors+set}" = set; then
3115 +if test "${enable_verbose_errors+set}" = set; then :
3116 enableval=$enable_verbose_errors;
3117 if test x$enableval = xyes; then
3119 @@ -2960,10 +2868,24 @@
3120 #define VERBOSE_ERRORS "1"
3129 +# Check whether --enable-static was given.
3130 +if test "${enable_static+set}" = set; then :
3131 + enableval=$enable_static;
3133 + enable_static="no"
3136 + if test "x$enable_static" = "xyes"; then
3143 #####################################################################
3145 @@ -3004,12 +2926,13 @@
3149 - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3150 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3151 + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3152 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3155 _ | IFS | as_nl) ;; #(
3156 - *) $as_unset $ac_var ;;
3157 + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3158 + *) { eval $ac_var=; unset $ac_var;} ;;
3162 @@ -3017,8 +2940,8 @@
3164 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3165 *${as_nl}ac_space=\ *)
3166 - # `set' does not quote correctly, so add quotes (double-quote
3167 - # substitution turns \\\\ into \\, and sed turns \\ into \).
3168 + # `set' does not quote correctly, so add quotes: double-quote
3169 + # substitution turns \\\\ into \\, and sed turns \\ into \.
3172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3173 @@ -3041,12 +2964,12 @@
3174 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3175 if test -w "$cache_file"; then
3176 test "x$cache_file" != "x/dev/null" &&
3177 - { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3178 -echo "$as_me: updating cache $cache_file" >&6;}
3179 + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3180 +$as_echo "$as_me: updating cache $cache_file" >&6;}
3181 cat confcache >$cache_file
3183 - { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3184 -echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3185 + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3186 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3190 @@ -3062,11 +2985,11 @@
3191 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3192 # 1. Remove the extension, and $U if already installed.
3193 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3194 - ac_i=`echo "$ac_i" | sed "$ac_script"`
3195 + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3196 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3197 # will be set to the directory where LIBOBJS objects are built.
3198 - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3199 - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3200 + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3201 + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3205 @@ -3075,11 +2998,13 @@
3208 : ${CONFIG_STATUS=./config.status}
3210 ac_clean_files_save=$ac_clean_files
3211 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3212 -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3213 -echo "$as_me: creating $CONFIG_STATUS" >&6;}
3214 -cat >$CONFIG_STATUS <<_ACEOF
3215 +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3216 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3218 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3220 # Generated by $as_me.
3221 # Run this file to recreate the current configuration.
3222 @@ -3089,59 +3014,79 @@
3226 -SHELL=\${CONFIG_SHELL-$SHELL}
3229 -cat >>$CONFIG_STATUS <<\_ACEOF
3230 -## --------------------- ##
3231 -## M4sh Initialization. ##
3232 -## --------------------- ##
3233 +SHELL=\${CONFIG_SHELL-$SHELL}
3236 +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3237 +## -------------------- ##
3238 +## M4sh Initialization. ##
3239 +## -------------------- ##
3241 # Be more Bourne compatible
3242 DUALCASE=1; export DUALCASE # for MKS sh
3243 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3244 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3247 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3248 + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3249 # is contrary to our usage. Disable this feature.
3250 alias -g '${1+"$@"}'='"$@"'
3251 setopt NO_GLOB_SUBST
3253 - case `(set -o) 2>/dev/null` in
3254 - *posix*) set -o posix ;;
3255 + case `(set -o) 2>/dev/null` in #(
3257 + set -o posix ;; #(
3268 -# Avoid depending upon Character Ranges.
3269 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3270 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3271 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3272 -as_cr_digits='0123456789'
3273 -as_cr_alnum=$as_cr_Letters$as_cr_digits
3275 -# The user is always right.
3276 -if test "${PATH_SEPARATOR+set}" != set; then
3277 - echo "#! /bin/sh" >conf$$.sh
3278 - echo "exit 0" >>conf$$.sh
3279 - chmod +x conf$$.sh
3280 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3281 - PATH_SEPARATOR=';'
3285 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
3286 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3287 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3288 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3289 +# Prefer a ksh shell builtin over an external printf program on Solaris,
3290 +# but without wasting forks for bash or zsh.
3291 +if test -z "$BASH_VERSION$ZSH_VERSION" \
3292 + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3293 + as_echo='print -r --'
3294 + as_echo_n='print -rn --'
3295 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3296 + as_echo='printf %s\n'
3297 + as_echo_n='printf %s'
3299 + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3300 + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3301 + as_echo_n='/usr/ucb/echo -n'
3304 + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3305 + as_echo_n_body='eval
3309 + expr "X$arg" : "X\\(.*\\)$as_nl";
3310 + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3312 + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3314 + export as_echo_n_body
3315 + as_echo_n='sh -c $as_echo_n_body as_echo'
3318 + export as_echo_body
3319 + as_echo='sh -c $as_echo_body as_echo'
3322 -# Support unset when possible.
3323 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3327 +# The user is always right.
3328 +if test "${PATH_SEPARATOR+set}" != set; then
3330 + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3331 + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3332 + PATH_SEPARATOR=';'
3337 @@ -3150,20 +3095,18 @@
3338 # there to prevent editors from complaining about space-tab.
3339 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3340 # splitting by setting IFS to empty value.)
3345 # Find who we are. Look in the path if we contain no directory separator.
3348 *[\\/]* ) as_myself=$0 ;;
3349 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3353 test -z "$as_dir" && as_dir=.
3354 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3356 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3361 @@ -3174,32 +3117,111 @@
3364 if test ! -f "$as_myself"; then
3365 - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3366 - { (exit 1); exit 1; }
3367 + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3371 -# Work around bugs in pre-3.0 UWIN ksh.
3372 -for as_var in ENV MAIL MAILPATH
3373 -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3374 +# Unset variables that we do not need and which cause bugs (e.g. in
3375 +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3376 +# suppresses any "Segmentation fault" message there. '((' could
3377 +# trigger a bug in pdksh 5.2.14.
3378 +for as_var in BASH_ENV ENV MAIL MAILPATH
3379 +do eval test x\${$as_var+set} = xset \
3380 + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3388 - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3389 - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3390 - LC_TELEPHONE LC_TIME
3392 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3393 - eval $as_var=C; export $as_var
3395 - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3402 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3405 +# as_fn_error ERROR [LINENO LOG_FD]
3406 +# ---------------------------------
3407 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3408 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3409 +# script with status $?, using 1 if that was 0.
3412 + as_status=$?; test $as_status -eq 0 && as_status=1
3413 + if test "$3"; then
3414 + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3415 + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3418 + $as_echo "$as_me: error: $1" >&2
3419 + as_fn_exit $as_status
3423 +# as_fn_set_status STATUS
3424 +# -----------------------
3425 +# Set $? to STATUS, without forking.
3426 +as_fn_set_status ()
3429 +} # as_fn_set_status
3431 +# as_fn_exit STATUS
3432 +# -----------------
3433 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3437 + as_fn_set_status $1
3443 +# Portably unset VAR.
3446 + { eval $1=; unset $1;}
3448 +as_unset=as_fn_unset
3449 +# as_fn_append VAR VALUE
3450 +# ----------------------
3451 +# Append the text in VALUE to the end of the definition contained in VAR. Take
3452 +# advantage of any shell optimizations that allow amortized linear growth over
3453 +# repeated appends, instead of the typical quadratic growth present in naive
3455 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3456 + eval 'as_fn_append ()
3467 +# as_fn_arith ARG...
3468 +# ------------------
3469 +# Perform arithmetic evaluation on the ARGs, and store the result in the
3470 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
3471 +# must be portable across $(()) and expr.
3472 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3473 + eval 'as_fn_arith ()
3480 + as_val=`expr "$@" || test $? -eq 1`
3485 -# Required to use basename.
3486 if expr a : '\(a\)' >/dev/null 2>&1 &&
3487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3489 @@ -3213,13 +3235,17 @@
3493 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3494 + as_dirname=dirname
3499 -# Name of the executable.
3500 as_me=`$as_basename -- "$0" ||
3501 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3502 X"$0" : 'X\(//\)$' \| \
3503 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3506 sed '/^.*\/\([^/][^/]*\)\/*$/{
3509 @@ -3234,104 +3260,103 @@
3518 - as_lineno_1=$LINENO
3519 - as_lineno_2=$LINENO
3520 - test "x$as_lineno_1" != "x$as_lineno_2" &&
3521 - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3523 - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3524 - # uniformly replaced by the line number. The first 'sed' inserts a
3525 - # line-number line after each line using $LINENO; the second 'sed'
3526 - # does the real work. The second script uses 'N' to pair each
3527 - # line-number line with the line containing $LINENO, and appends
3528 - # trailing '-' during substitution so that $LINENO is not a special
3529 - # case at line end.
3530 - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3531 - # scripts with optimization help from Paolo Bonzini. Blame Lee
3532 - # E. McMahon (1931-1989) for sed's syntax. :-)
3544 - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3547 - ' >$as_me.lineno &&
3548 - chmod +x "$as_me.lineno" ||
3549 - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3550 - { (exit 1); exit 1; }; }
3552 - # Don't try to exec as it changes $[0], causing all sort of problems
3553 - # (the dirname of $[0] is not the place where we might find the
3554 - # original and so on. Autoconf is especially sensitive to this).
3555 - . "./$as_me.lineno"
3556 - # Exit status is that of the last command.
3561 -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3562 - as_dirname=dirname
3566 +# Avoid depending upon Character Ranges.
3567 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3568 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3569 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3570 +as_cr_digits='0123456789'
3571 +as_cr_alnum=$as_cr_Letters$as_cr_digits
3573 ECHO_C= ECHO_N= ECHO_T=
3574 -case `echo -n x` in
3575 +case `echo -n x` in #(((((
3577 - case `echo 'x\c'` in
3578 + case `echo 'xy\c'` in
3579 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3582 + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3589 -if expr a : '\(a\)' >/dev/null 2>&1 &&
3590 - test "X`expr 00001 : '.*\(...\)'`" = X001; then
3596 rm -f conf$$ conf$$.exe conf$$.file
3597 if test -d conf$$.dir; then
3598 rm -f conf$$.dir/conf$$.file
3602 + mkdir conf$$.dir 2>/dev/null
3605 -if ln -s conf$$.file conf$$ 2>/dev/null; then
3607 - # ... but there are two gotchas:
3608 - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3609 - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3610 - # In both cases, we have to default to `cp -p'.
3611 - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3612 +if (echo >conf$$.file) 2>/dev/null; then
3613 + if ln -s conf$$.file conf$$ 2>/dev/null; then
3615 + # ... but there are two gotchas:
3616 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3617 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3618 + # In both cases, we have to default to `cp -p'.
3619 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3621 + elif ln conf$$.file conf$$ 2>/dev/null; then
3625 -elif ln conf$$.file conf$$ 2>/dev/null; then
3631 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3632 rmdir conf$$.dir 2>/dev/null
3637 +# Create "$as_dir" as a directory, including parents if necessary.
3641 + case $as_dir in #(
3642 + -*) as_dir=./$as_dir;;
3644 + test -d "$as_dir" || eval $as_mkdir_p || {
3647 + case $as_dir in #(
3648 + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3649 + *) as_qdir=$as_dir;;
3651 + as_dirs="'$as_qdir' $as_dirs"
3652 + as_dir=`$as_dirname -- "$as_dir" ||
3653 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3654 + X"$as_dir" : 'X\(//\)[^/]' \| \
3655 + X"$as_dir" : 'X\(//\)$' \| \
3656 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3657 +$as_echo X"$as_dir" |
3658 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3662 + /^X\(\/\/\)[^/].*/{
3675 + test -d "$as_dir" && break
3677 + test -z "$as_dirs" || eval "mkdir $as_dirs"
3678 + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3682 if mkdir -p . 2>/dev/null; then
3684 + as_mkdir_p='mkdir -p "$as_dir"'
3686 test -d ./-p && rmdir ./-p
3688 @@ -3348,12 +3373,12 @@
3691 if test -d "$1"; then
3700 - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3701 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3702 ???[sx]*):;;*)false;;esac;fi
3705 @@ -3368,13 +3393,19 @@
3709 +## ----------------------------------- ##
3710 +## Main body of $CONFIG_STATUS script. ##
3711 +## ----------------------------------- ##
3713 +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3715 -# Save the log message, to keep $[0] and so on meaningful, and to
3716 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3717 +# Save the log message, to keep $0 and so on meaningful, and to
3718 # report actual input values of CONFIG_FILES etc. instead of their
3719 # values after options handling.
3721 This file was extended by libnl $as_me 1.1, which was
3722 -generated by GNU Autoconf 2.61. Invocation command line was
3723 +generated by GNU Autoconf 2.65. Invocation command line was
3725 CONFIG_FILES = $CONFIG_FILES
3726 CONFIG_HEADERS = $CONFIG_HEADERS
3727 @@ -3387,29 +3418,41 @@
3731 -cat >>$CONFIG_STATUS <<_ACEOF
3732 +case $ac_config_files in *"
3733 +"*) set x $ac_config_files; shift; ac_config_files=$*;;
3736 +case $ac_config_headers in *"
3737 +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3741 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3742 # Files that config.status was made for.
3743 config_files="$ac_config_files"
3744 config_headers="$ac_config_headers"
3748 -cat >>$CONFIG_STATUS <<\_ACEOF
3749 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3751 -\`$as_me' instantiates files from templates according to the
3752 -current configuration.
3753 +\`$as_me' instantiates files and other configuration actions
3754 +from templates according to the current configuration. Unless the files
3755 +and actions are specified as TAGs, all are instantiated by default.
3757 -Usage: $0 [OPTIONS] [FILE]...
3758 +Usage: $0 [OPTION]... [TAG]...
3760 -h, --help print this help, then exit
3761 -V, --version print version number and configuration settings, then exit
3762 - -q, --quiet do not print progress messages
3763 + --config print configuration, then exit
3764 + -q, --quiet, --silent
3765 + do not print progress messages
3766 -d, --debug don't remove temporary files
3767 --recheck update $as_me by reconfiguring in the same conditions
3768 - --file=FILE[:TEMPLATE]
3769 - instantiate the configuration file FILE
3770 - --header=FILE[:TEMPLATE]
3771 - instantiate the configuration header FILE
3772 + --file=FILE[:TEMPLATE]
3773 + instantiate the configuration file FILE
3774 + --header=FILE[:TEMPLATE]
3775 + instantiate the configuration header FILE
3777 Configuration files:
3779 @@ -3417,27 +3460,28 @@
3780 Configuration headers:
3783 -Report bugs to <bug-autoconf@gnu.org>."
3784 +Report bugs to <tgraf@suug.ch>."
3787 -cat >>$CONFIG_STATUS <<_ACEOF
3788 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3789 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3791 libnl config.status 1.1
3792 -configured by $0, generated by GNU Autoconf 2.61,
3793 - with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3794 +configured by $0, generated by GNU Autoconf 2.65,
3795 + with options \\"\$ac_cs_config\\"
3797 -Copyright (C) 2006 Free Software Foundation, Inc.
3798 +Copyright (C) 2009 Free Software Foundation, Inc.
3799 This config.status script is free software; the Free Software Foundation
3800 gives unlimited permission to copy, distribute and modify it."
3805 +test -n "\$AWK" || AWK=awk
3808 -cat >>$CONFIG_STATUS <<\_ACEOF
3809 -# If no file are specified by the user, then we need to provide default
3810 -# value. By we need to know if files were specified by the user.
3811 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3812 +# The default lists apply if the user does not specify any file.
3816 @@ -3459,34 +3503,40 @@
3817 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3819 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3820 - echo "$ac_cs_version"; exit ;;
3821 + $as_echo "$ac_cs_version"; exit ;;
3822 + --config | --confi | --conf | --con | --co | --c )
3823 + $as_echo "$ac_cs_config"; exit ;;
3824 --debug | --debu | --deb | --de | --d | -d )
3826 --file | --fil | --fi | --f )
3828 - CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3829 + case $ac_optarg in
3830 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3832 + as_fn_append CONFIG_FILES " '$ac_optarg'"
3833 ac_need_defaults=false;;
3834 --header | --heade | --head | --hea )
3836 - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3837 + case $ac_optarg in
3838 + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3840 + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3841 ac_need_defaults=false;;
3843 # Conflict between --help and --header
3844 - { echo "$as_me: error: ambiguous option: $1
3845 -Try \`$0 --help' for more information." >&2
3846 - { (exit 1); exit 1; }; };;
3847 + as_fn_error "ambiguous option: \`$1'
3848 +Try \`$0 --help' for more information.";;
3849 --help | --hel | -h )
3850 - echo "$ac_cs_usage"; exit ;;
3851 + $as_echo "$ac_cs_usage"; exit ;;
3852 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3853 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3857 - -*) { echo "$as_me: error: unrecognized option: $1
3858 -Try \`$0 --help' for more information." >&2
3859 - { (exit 1); exit 1; }; } ;;
3860 + -*) as_fn_error "unrecognized option: \`$1'
3861 +Try \`$0 --help' for more information." ;;
3863 - *) ac_config_targets="$ac_config_targets $1"
3864 + *) as_fn_append ac_config_targets " $1"
3865 ac_need_defaults=false ;;
3868 @@ -3501,30 +3551,32 @@
3872 -cat >>$CONFIG_STATUS <<_ACEOF
3873 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3874 if \$ac_cs_recheck; then
3875 - echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3876 - CONFIG_SHELL=$SHELL
3877 + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3879 + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3880 + CONFIG_SHELL='$SHELL'
3882 - exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3887 -cat >>$CONFIG_STATUS <<\_ACEOF
3888 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3892 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3893 ## Running $as_me. ##
3896 + $as_echo "$ac_log"
3900 -cat >>$CONFIG_STATUS <<_ACEOF
3901 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3904 -cat >>$CONFIG_STATUS <<\_ACEOF
3905 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3907 # Handling of arguments.
3908 for ac_config_target in $ac_config_targets
3909 @@ -3535,9 +3587,7 @@
3910 "libnl-1.pc") CONFIG_FILES="$CONFIG_FILES libnl-1.pc" ;;
3911 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
3913 - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3914 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3915 - { (exit 1); exit 1; }; };;
3916 + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3920 @@ -3563,7 +3613,7 @@
3921 trap 'exit_status=$?
3922 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3924 - trap '{ (exit 1); exit 1; }' 1 2 13 15
3925 + trap 'as_fn_exit 1' 1 2 13 15
3927 # Create a (secure) tmp directory for tmp files.
3929 @@ -3574,116 +3624,139 @@
3931 tmp=./conf$$-$RANDOM
3932 (umask 077 && mkdir "$tmp")
3935 - echo "$me: cannot create a temporary directory in ." >&2
3936 - { (exit 1); exit 1; }
3938 +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
3941 -# Set up the sed scripts for CONFIG_FILES section.
3944 -# No need to generate the scripts if there are no CONFIG_FILES.
3945 -# This happens for instance when ./config.status config.h
3946 +# Set up the scripts for CONFIG_FILES section.
3947 +# No need to generate them if there are no CONFIG_FILES.
3948 +# This happens for instance with `./config.status config.h'.
3949 if test -n "$CONFIG_FILES"; then
3953 +ac_cr=`echo X | tr X '\015'`
3954 +# On cygwin, bash can eat \r inside `` if the user requested igncr.
3955 +# But we know of no other shell where ac_cr would be empty at this
3956 +# point, so we can use a bashism as a fallback.
3957 +if test "x$ac_cr" = x; then
3958 + eval ac_cr=\$\'\\r\'
3960 +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3961 +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3964 + ac_cs_awk_cr=$ac_cr
3967 +echo 'BEGIN {' >"$tmp/subs1.awk" &&
3972 + echo "cat >conf$$subs.awk <<_ACEOF" &&
3973 + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3975 +} >conf$$subs.sh ||
3976 + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3977 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3979 for ac_last_try in false false false false false :; do
3980 - cat >conf$$subs.sed <<_ACEOF
3981 -SHELL!$SHELL$ac_delim
3982 -PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3983 -PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3984 -PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3985 -PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3986 -PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3987 -PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3988 -exec_prefix!$exec_prefix$ac_delim
3989 -prefix!$prefix$ac_delim
3990 -program_transform_name!$program_transform_name$ac_delim
3991 -bindir!$bindir$ac_delim
3992 -sbindir!$sbindir$ac_delim
3993 -libexecdir!$libexecdir$ac_delim
3994 -datarootdir!$datarootdir$ac_delim
3995 -datadir!$datadir$ac_delim
3996 -sysconfdir!$sysconfdir$ac_delim
3997 -sharedstatedir!$sharedstatedir$ac_delim
3998 -localstatedir!$localstatedir$ac_delim
3999 -includedir!$includedir$ac_delim
4000 -oldincludedir!$oldincludedir$ac_delim
4001 -docdir!$docdir$ac_delim
4002 -infodir!$infodir$ac_delim
4003 -htmldir!$htmldir$ac_delim
4004 -dvidir!$dvidir$ac_delim
4005 -pdfdir!$pdfdir$ac_delim
4006 -psdir!$psdir$ac_delim
4007 -libdir!$libdir$ac_delim
4008 -localedir!$localedir$ac_delim
4009 -mandir!$mandir$ac_delim
4010 -DEFS!$DEFS$ac_delim
4011 -ECHO_C!$ECHO_C$ac_delim
4012 -ECHO_N!$ECHO_N$ac_delim
4013 -ECHO_T!$ECHO_T$ac_delim
4014 -LIBS!$LIBS$ac_delim
4015 -build_alias!$build_alias$ac_delim
4016 -host_alias!$host_alias$ac_delim
4017 -target_alias!$target_alias$ac_delim
4019 -CFLAGS!$CFLAGS$ac_delim
4020 -LDFLAGS!$LDFLAGS$ac_delim
4021 -CPPFLAGS!$CPPFLAGS$ac_delim
4022 -ac_ct_CC!$ac_ct_CC$ac_delim
4023 -EXEEXT!$EXEEXT$ac_delim
4024 -OBJEXT!$OBJEXT$ac_delim
4025 -INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4026 -INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4027 -INSTALL_DATA!$INSTALL_DATA$ac_delim
4028 -LIBNL_LIB!$LIBNL_LIB$ac_delim
4029 -LIBOBJS!$LIBOBJS$ac_delim
4030 -LTLIBOBJS!$LTLIBOBJS$ac_delim
4032 + . ./conf$$subs.sh ||
4033 + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4035 - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 50; then
4036 + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4037 + if test $ac_delim_n = $ac_delim_num; then
4039 elif $ac_last_try; then
4040 - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4041 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4042 - { (exit 1); exit 1; }; }
4043 + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4045 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4048 +rm -f conf$$subs.sh
4050 -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4051 -if test -n "$ac_eof"; then
4052 - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4053 - ac_eof=`expr $ac_eof + 1`
4056 -cat >>$CONFIG_STATUS <<_ACEOF
4057 -cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4058 -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4061 -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4062 -s/^/s,@/; s/!/@,|#_!!_#|/
4065 -s/'"$ac_delim"'$/,g/; t
4067 -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4068 -' >>$CONFIG_STATUS <conf$$subs.sed
4069 -rm -f conf$$subs.sed
4070 -cat >>$CONFIG_STATUS <<_ACEOF
4074 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4075 +cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4079 +s/^/S["/; s/!.*/"]=/
4089 +s/\(.\{148\}\)..*/\1/
4091 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4096 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4103 +s/\(.\{148\}\)..*/\1/
4105 +s/["\\]/\\&/g; s/^/"/; s/$/"/
4109 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4114 +' <conf$$subs.awk | sed '
4119 +' >>$CONFIG_STATUS || ac_write_fail=1
4120 +rm -f conf$$subs.awk
4121 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4123 +cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4124 + for (key in S) S_is_set[key] = 1
4130 + nfields = split(line, field, "@")
4132 + len = length(field[1])
4133 + for (i = 2; i < nfields; i++) {
4135 + keylen = length(key)
4136 + if (S_is_set[key]) {
4138 + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4139 + len += length(value) + length(field[++i])
4150 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4151 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4152 + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4155 +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4156 + || as_fn_error "could not setup config files machinery" "$LINENO" 5
4159 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4160 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4161 @@ -3700,20 +3773,128 @@
4165 -cat >>$CONFIG_STATUS <<\_ACEOF
4166 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4167 fi # test -n "$CONFIG_FILES"
4169 +# Set up the scripts for CONFIG_HEADERS section.
4170 +# No need to generate them if there are no CONFIG_HEADERS.
4171 +# This happens for instance with `./config.status Makefile'.
4172 +if test -n "$CONFIG_HEADERS"; then
4173 +cat >"$tmp/defines.awk" <<\_ACAWK ||
4177 +# Transform confdefs.h into an awk script `defines.awk', embedded as
4178 +# here-document in config.status, that substitutes the proper values into
4179 +# config.h.in to produce config.h.
4181 +# Create a delimiter string that does not exist in confdefs.h, to ease
4182 +# handling of long lines.
4184 +for ac_last_try in false false :; do
4185 + ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4186 + if test -z "$ac_t"; then
4188 + elif $ac_last_try; then
4189 + as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
4191 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4195 +# For the awk script, D is an array of macro values keyed by name,
4196 +# likewise P contains macro parameters if any. Preserve backslash
4197 +# newline sequences.
4199 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4201 +s/.\{148\}/&'"$ac_delim"'/g
4204 +s/^[ ]*#[ ]*define[ ][ ]*/ /
4211 +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4213 +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4217 +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4218 +D["\1"]=" \3\\\\\\n"\\/p
4220 +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4225 +s/.\{148\}/&'"$ac_delim"'/g
4230 +s/["\\]/\\&/g; s/^/"/; s/$/"/p
4233 +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4235 +' <confdefs.h | sed '
4236 +s/'"$ac_delim"'/"\\\
4237 +"/g' >>$CONFIG_STATUS || ac_write_fail=1
4239 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4240 + for (key in D) D_is_set[key] = 1
4243 +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4245 + split(line, arg, " ")
4246 + if (arg[1] == "#") {
4250 + defundef = substr(arg[1], 2)
4253 + split(mac1, mac2, "(") #)
4255 + prefix = substr(line, 1, index(line, defundef) - 1)
4256 + if (D_is_set[macro]) {
4257 + # Preserve the white space surrounding the "#".
4258 + print prefix "define", macro P[macro] D[macro]
4261 + # Replace #undef with comments. This is necessary, for example,
4262 + # in the case of _POSIX_SOURCE, which is predefined and required
4263 + # on some systems where configure will not decide to define it.
4264 + if (defundef == "undef") {
4265 + print "/*", prefix defundef, macro, "*/"
4273 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4274 + as_fn_error "could not setup config headers machinery" "$LINENO" 5
4275 +fi # test -n "$CONFIG_HEADERS"
4278 -for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
4279 +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4284 :[FHLC]) ac_mode=$ac_tag; continue;;
4286 case $ac_mode$ac_tag in
4288 - :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4289 -echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4290 - { (exit 1); exit 1; }; };;
4291 + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4292 :[FH]-) ac_tag=-:-;;
4293 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4295 @@ -3741,26 +3922,34 @@
4297 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4299 - { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4300 -echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4301 - { (exit 1); exit 1; }; };;
4302 + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4304 - ac_file_inputs="$ac_file_inputs $ac_f"
4305 + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4306 + as_fn_append ac_file_inputs " '$ac_f'"
4309 # Let's still pretend it is `configure' which instantiates (i.e., don't
4310 # use $as_me), people would be surprised to read:
4311 # /* config.h. Generated by config.status. */
4312 - configure_input="Generated from "`IFS=:
4313 - echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4314 + configure_input='Generated from '`
4315 + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4317 if test x"$ac_file" != x-; then
4318 configure_input="$ac_file. $configure_input"
4319 - { echo "$as_me:$LINENO: creating $ac_file" >&5
4320 -echo "$as_me: creating $ac_file" >&6;}
4321 + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4322 +$as_echo "$as_me: creating $ac_file" >&6;}
4324 + # Neutralize special characters interpreted by sed in replacement strings.
4325 + case $configure_input in #(
4326 + *\&* | *\|* | *\\* )
4327 + ac_sed_conf_input=`$as_echo "$configure_input" |
4328 + sed 's/[\\\\&|]/\\\\&/g'`;; #(
4329 + *) ac_sed_conf_input=$configure_input;;
4333 - *:-:* | *:-) cat >"$tmp/stdin";;
4334 + *:-:* | *:-) cat >"$tmp/stdin" \
4335 + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4339 @@ -3770,42 +3959,7 @@
4340 X"$ac_file" : 'X\(//\)[^/]' \| \
4341 X"$ac_file" : 'X\(//\)$' \| \
4342 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4344 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4348 - /^X\(\/\/\)[^/].*/{
4361 - { as_dir="$ac_dir"
4362 - case $as_dir in #(
4363 - -*) as_dir=./$as_dir;;
4365 - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4368 - case $as_dir in #(
4369 - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4370 - *) as_qdir=$as_dir;;
4372 - as_dirs="'$as_qdir' $as_dirs"
4373 - as_dir=`$as_dirname -- "$as_dir" ||
4374 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4375 - X"$as_dir" : 'X\(//\)[^/]' \| \
4376 - X"$as_dir" : 'X\(//\)$' \| \
4377 - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4379 +$as_echo X"$ac_file" |
4380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4383 @@ -3823,20 +3977,15 @@
4387 - test -d "$as_dir" && break
4389 - test -z "$as_dirs" || eval "mkdir $as_dirs"
4390 - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4391 -echo "$as_me: error: cannot create directory $as_dir" >&2;}
4392 - { (exit 1); exit 1; }; }; }
4393 + as_dir="$ac_dir"; as_fn_mkdir_p
4397 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4399 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4400 + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4401 # A ".." for each directory in $ac_dir_suffix.
4402 - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4403 + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4404 case $ac_top_builddir_sub in
4405 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4406 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4407 @@ -3876,12 +4025,12 @@
4411 -cat >>$CONFIG_STATUS <<\_ACEOF
4412 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4413 # If the template does not know about datarootdir, expand it.
4414 # FIXME: This hack should be removed a few years after 2.60.
4415 ac_datarootdir_hack=; ac_datarootdir_seen=
4417 -case `sed -n '/datarootdir/ {
4423 @@ -3889,36 +4038,37 @@
4428 -' $ac_file_inputs` in
4430 +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4431 *datarootdir*) ac_datarootdir_seen=yes;;
4432 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4433 - { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4434 -echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4435 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4436 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4438 -cat >>$CONFIG_STATUS <<_ACEOF
4439 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4440 ac_datarootdir_hack='
4441 s&@datadir@&$datadir&g
4442 s&@docdir@&$docdir&g
4443 s&@infodir@&$infodir&g
4444 s&@localedir@&$localedir&g
4445 s&@mandir@&$mandir&g
4446 - s&\\\${datarootdir}&$datarootdir&g' ;;
4447 + s&\\\${datarootdir}&$datarootdir&g' ;;
4451 # Neutralize VPATH when `$srcdir' = `.'.
4452 # Shell code in configure.ac might set extrasub.
4453 # FIXME: do we really want to maintain this feature?
4454 -cat >>$CONFIG_STATUS <<_ACEOF
4456 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4457 +ac_sed_extra="$ac_vpsub
4460 -cat >>$CONFIG_STATUS <<\_ACEOF
4461 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4463 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4464 -s&@configure_input@&$configure_input&;t t
4465 +s|@configure_input@|$ac_sed_conf_input|;t t
4466 s&@top_builddir@&$ac_top_builddir_sub&;t t
4467 +s&@top_build_prefix@&$ac_top_build_prefix&;t t
4468 s&@srcdir@&$ac_srcdir&;t t
4469 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4470 s&@top_srcdir@&$ac_top_srcdir&;t t
4471 @@ -3928,119 +4078,48 @@
4472 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4473 s&@INSTALL@&$ac_INSTALL&;t t
4474 $ac_datarootdir_hack
4475 -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4477 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4478 + || as_fn_error "could not create $ac_file" "$LINENO" 5
4480 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4481 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4482 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4483 - { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4484 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4485 which seems to be undefined. Please make sure it is defined." >&5
4486 -echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4487 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4488 which seems to be undefined. Please make sure it is defined." >&2;}
4492 - -) cat "$tmp/out"; rm -f "$tmp/out";;
4493 - *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4495 + -) cat "$tmp/out" && rm -f "$tmp/out";;
4496 + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4498 + || as_fn_error "could not create $ac_file" "$LINENO" 5
4506 -# Transform confdefs.h into a sed script `conftest.defines', that
4507 -# substitutes the proper values into config.h.in to produce config.h.
4508 -rm -f conftest.defines conftest.tail
4509 -# First, append a space to every undef/define line, to ease matching.
4510 -echo 's/$/ /' >conftest.defines
4511 -# Then, protect against being on the right side of a sed subst, or in
4512 -# an unquoted here document, in config.status. If some macros were
4513 -# called several times there might be several #defines for the same
4514 -# symbol, which is useless. But do not sort them, since the last
4515 -# AC_DEFINE must be honored.
4516 -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4517 -# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
4518 -# NAME is the cpp macro being defined, VALUE is the value it is being given.
4519 -# PARAMS is the parameter list in the macro definition--in most cases, it's
4520 -# just an empty string.
4521 -ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
4522 -ac_dB='\\)[ (].*,\\1define\\2'
4530 - s/^[ ]*#[ ]*define[ ][ ]*//
4535 - s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
4536 - s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
4537 - ' >>conftest.defines
4539 -# Remove the space that was appended to ease matching.
4540 -# Then replace #undef with comments. This is necessary, for
4541 -# example, in the case of _POSIX_SOURCE, which is predefined and required
4542 -# on some systems where configure will not decide to define it.
4543 -# (The regexp can be short, since the line contains either #define or #undef.)
4545 -s,^[ #]*u.*,/* & */,' >>conftest.defines
4547 -# Break up conftest.defines:
4548 -ac_max_sed_lines=50
4550 -# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
4551 -# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
4552 -# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
4554 -ac_in='$ac_file_inputs'
4555 -ac_out='"$tmp/out1"'
4556 -ac_nxt='"$tmp/out2"'
4560 - # Write a here document:
4561 - cat >>$CONFIG_STATUS <<_ACEOF
4562 - # First, check the format of the line:
4563 - cat >"\$tmp/defines.sed" <<\\CEOF
4564 -/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
4565 -/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
4569 - sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
4571 - sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
4572 - ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
4573 - sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
4574 - grep . conftest.tail >/dev/null || break
4575 - rm -f conftest.defines
4576 - mv conftest.tail conftest.defines
4578 -rm -f conftest.defines conftest.tail
4580 -echo "ac_result=$ac_in" >>$CONFIG_STATUS
4581 -cat >>$CONFIG_STATUS <<\_ACEOF
4582 if test x"$ac_file" != x-; then
4583 - echo "/* $configure_input */" >"$tmp/config.h"
4584 - cat "$ac_result" >>"$tmp/config.h"
4585 - if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
4586 - { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4587 -echo "$as_me: $ac_file is unchanged" >&6;}
4589 + $as_echo "/* $configure_input */" \
4590 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
4591 + } >"$tmp/config.h" \
4592 + || as_fn_error "could not create $ac_file" "$LINENO" 5
4593 + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
4594 + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4595 +$as_echo "$as_me: $ac_file is unchanged" >&6;}
4598 - mv "$tmp/config.h" $ac_file
4600 + mv "$tmp/config.h" "$ac_file" \
4601 + || as_fn_error "could not create $ac_file" "$LINENO" 5
4604 - echo "/* $configure_input */"
4606 + $as_echo "/* $configure_input */" \
4607 + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
4608 + || as_fn_error "could not create -" "$LINENO" 5
4610 - rm -f "$tmp/out12"
4614 @@ -4049,11 +4128,13 @@
4618 -{ (exit 0); exit 0; }
4621 -chmod +x $CONFIG_STATUS
4622 ac_clean_files=$ac_clean_files_save
4624 +test $ac_write_fail = 0 ||
4625 + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4628 # configure is writing to config.log, and then calls config.status.
4629 # config.status does its own redirection, appending to config.log.
4630 @@ -4073,7 +4154,11 @@
4632 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4633 # would make configure fail if this is the last instruction.
4634 - $ac_cs_success || { (exit 1); exit 1; }
4635 + $ac_cs_success || as_fn_exit $?
4637 +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4638 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4639 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4643 diff -urP libnl-1.1.orig/configure.in libnl-1.1/configure.in
4644 --- libnl-1.1.orig/configure.in 2010-05-24 14:24:10.821385918 -0400
4645 +++ libnl-1.1/configure.in 2010-05-24 13:59:03.544399112 -0400
4650 +AC_ARG_ENABLE(static,
4651 +[ --enable-static make static library [default=no]],, enable_static="no")
4652 + if test "x$enable_static" = "xyes"; then
4657 + AC_SUBST(STATIC_LIB)
4659 #####################################################################
4661 ## compile decisions
4662 Binary files libnl-1.1.orig/lib/libnl.a and libnl-1.1/lib/libnl.a differ
4663 diff -urP libnl-1.1.orig/lib/Makefile libnl-1.1/lib/Makefile
4664 --- libnl-1.1.orig/lib/Makefile 2010-05-24 13:33:47.121512192 -0400
4665 +++ libnl-1.1/lib/Makefile 2010-05-24 14:25:07.710391644 -0400
4667 LN_SLIB := $(PACKAGE_NAME).so
4668 LN1_SLIB := $(LN_SLIB).1
4670 +ifeq ($(STATIC_LIB),True)
4671 + targets=$(OUT_SLIB) $(OUT_AR)
4673 + targets=$(OUT_SLIB)
4678 .PHONY: all clean install librtn.a $(OUT_SLIB)
4682 - $(MAKE) $(OUT_SLIB); \
4684 + $(MAKE) $(targets)
4686 $(OUT_SLIB): ../Makefile.opts $(OBJ)
4687 $(CC) -shared -Wl,-soname,libnl.so.1 -o $(OUT_SLIB) $(OBJ) $(LIBNL_LIB) -lc
4689 $(LN) -s $(OUT_SLIB) $(DESTDIR)$(libdir)/$(LN1_SLIB)
4690 rm -f $(DESTDIR)$(libdir)/$(LN_SLIB)
4691 $(LN) -s $(LN1_SLIB) $(DESTDIR)$(libdir)/$(LN_SLIB)
4692 +ifeq ($(STATIC_LIB),True)
4693 install -m 0644 $(OUT_AR) $(DESTDIR)$(libdir)
4696 $(DEPS): ../Makefile.opts
4698 diff -urP libnl-1.1.orig/Makefile.opts.in libnl-1.1/Makefile.opts.in
4699 --- libnl-1.1.orig/Makefile.opts.in 2008-01-14 10:48:45.000000000 -0500
4700 +++ libnl-1.1/Makefile.opts.in 2010-05-24 13:58:13.465385987 -0400
4705 +STATIC_LIB := @STATIC_LIB@
4707 DEPFLAGS += -M -I../include/ -I. $(CPPFLAGS)
4708 CFLAGS += -g -I./include -I../include -I. $(CPPFLAGS) -D_GNU_SOURCE
4709 MAKEFLAGS += --no-print-directory