2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for libnl 1.1.
5 # Report bugs to <tgraf@suug.ch>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix=/usr/local
566 ac_config_libobj_dir=.
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME='libnl'
577 PACKAGE_VERSION='1.1'
578 PACKAGE_STRING='libnl 1.1'
579 PACKAGE_BUGREPORT='tgraf@suug.ch'
590 program_transform_name
632 ac_precious_vars='build_alias
642 # Initialize some variables set by options.
644 ac_init_version=false
645 # The variables have the same names as the options, with
646 # dashes changed to underlines.
654 program_transform_name=s,x,x,
662 # Installation directory options.
663 # These are left unexpanded so users can "make install exec_prefix=/foo"
664 # and all the variables that are supposed to be based on exec_prefix
665 # by default will actually change.
666 # Use braces instead of parens because sh, perl, etc. also accept them.
667 # (The list follows the same order as the GNU Coding Standards.)
668 bindir='${exec_prefix}/bin'
669 sbindir='${exec_prefix}/sbin'
670 libexecdir='${exec_prefix}/libexec'
671 datarootdir='${prefix}/share'
672 datadir='${datarootdir}'
673 sysconfdir='${prefix}/etc'
674 sharedstatedir='${prefix}/com'
675 localstatedir='${prefix}/var'
676 includedir='${prefix}/include'
677 oldincludedir='/usr/include'
678 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
679 infodir='${datarootdir}/info'
684 libdir='${exec_prefix}/lib'
685 localedir='${datarootdir}/locale'
686 mandir='${datarootdir}/man'
692 # If the previous option needs an argument, assign it.
693 if test -n "$ac_prev"; then
694 eval $ac_prev=\$ac_option
700 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
704 # Accept the important Cygnus configure options, so we can diagnose typos.
706 case $ac_dashdash$ac_option in
710 -bindir | --bindir | --bindi | --bind | --bin | --bi)
712 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
715 -build | --build | --buil | --bui | --bu)
716 ac_prev=build_alias ;;
717 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
718 build_alias=$ac_optarg ;;
720 -cache-file | --cache-file | --cache-fil | --cache-fi \
721 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
722 ac_prev=cache_file ;;
723 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
724 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
725 cache_file=$ac_optarg ;;
728 cache_file=config.cache ;;
730 -datadir | --datadir | --datadi | --datad)
732 -datadir=* | --datadir=* | --datadi=* | --datad=*)
733 datadir=$ac_optarg ;;
735 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
736 | --dataroo | --dataro | --datar)
737 ac_prev=datarootdir ;;
738 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
739 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
740 datarootdir=$ac_optarg ;;
742 -disable-* | --disable-*)
743 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
744 # Reject names that are not valid shell variable names.
745 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
746 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
747 { (exit 1); exit 1; }; }
748 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
749 eval enable_$ac_feature=no ;;
751 -docdir | --docdir | --docdi | --doc | --do)
753 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
756 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
758 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
761 -enable-* | --enable-*)
762 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
763 # Reject names that are not valid shell variable names.
764 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
765 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
766 { (exit 1); exit 1; }; }
767 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
768 eval enable_$ac_feature=\$ac_optarg ;;
770 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
771 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
772 | --exec | --exe | --ex)
773 ac_prev=exec_prefix ;;
774 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
775 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
776 | --exec=* | --exe=* | --ex=*)
777 exec_prefix=$ac_optarg ;;
779 -gas | --gas | --ga | --g)
780 # Obsolete; use --with-gas.
783 -help | --help | --hel | --he | -h)
785 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
786 ac_init_help=recursive ;;
787 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
788 ac_init_help=short ;;
790 -host | --host | --hos | --ho)
791 ac_prev=host_alias ;;
792 -host=* | --host=* | --hos=* | --ho=*)
793 host_alias=$ac_optarg ;;
795 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
797 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
799 htmldir=$ac_optarg ;;
801 -includedir | --includedir | --includedi | --included | --include \
802 | --includ | --inclu | --incl | --inc)
803 ac_prev=includedir ;;
804 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
805 | --includ=* | --inclu=* | --incl=* | --inc=*)
806 includedir=$ac_optarg ;;
808 -infodir | --infodir | --infodi | --infod | --info | --inf)
810 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
811 infodir=$ac_optarg ;;
813 -libdir | --libdir | --libdi | --libd)
815 -libdir=* | --libdir=* | --libdi=* | --libd=*)
818 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
819 | --libexe | --libex | --libe)
820 ac_prev=libexecdir ;;
821 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
822 | --libexe=* | --libex=* | --libe=*)
823 libexecdir=$ac_optarg ;;
825 -localedir | --localedir | --localedi | --localed | --locale)
827 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
828 localedir=$ac_optarg ;;
830 -localstatedir | --localstatedir | --localstatedi | --localstated \
831 | --localstate | --localstat | --localsta | --localst | --locals)
832 ac_prev=localstatedir ;;
833 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
834 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
835 localstatedir=$ac_optarg ;;
837 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
839 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
843 # Obsolete; use --without-fp.
846 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
847 | --no-cr | --no-c | -n)
850 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
851 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
854 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
855 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
856 | --oldin | --oldi | --old | --ol | --o)
857 ac_prev=oldincludedir ;;
858 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
859 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
860 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
861 oldincludedir=$ac_optarg ;;
863 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
865 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
868 -program-prefix | --program-prefix | --program-prefi | --program-pref \
869 | --program-pre | --program-pr | --program-p)
870 ac_prev=program_prefix ;;
871 -program-prefix=* | --program-prefix=* | --program-prefi=* \
872 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
873 program_prefix=$ac_optarg ;;
875 -program-suffix | --program-suffix | --program-suffi | --program-suff \
876 | --program-suf | --program-su | --program-s)
877 ac_prev=program_suffix ;;
878 -program-suffix=* | --program-suffix=* | --program-suffi=* \
879 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
880 program_suffix=$ac_optarg ;;
882 -program-transform-name | --program-transform-name \
883 | --program-transform-nam | --program-transform-na \
884 | --program-transform-n | --program-transform- \
885 | --program-transform | --program-transfor \
886 | --program-transfo | --program-transf \
887 | --program-trans | --program-tran \
888 | --progr-tra | --program-tr | --program-t)
889 ac_prev=program_transform_name ;;
890 -program-transform-name=* | --program-transform-name=* \
891 | --program-transform-nam=* | --program-transform-na=* \
892 | --program-transform-n=* | --program-transform-=* \
893 | --program-transform=* | --program-transfor=* \
894 | --program-transfo=* | --program-transf=* \
895 | --program-trans=* | --program-tran=* \
896 | --progr-tra=* | --program-tr=* | --program-t=*)
897 program_transform_name=$ac_optarg ;;
899 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
901 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
904 -psdir | --psdir | --psdi | --psd | --ps)
906 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
909 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
910 | -silent | --silent | --silen | --sile | --sil)
913 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
915 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
917 sbindir=$ac_optarg ;;
919 -sharedstatedir | --sharedstatedir | --sharedstatedi \
920 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
921 | --sharedst | --shareds | --shared | --share | --shar \
923 ac_prev=sharedstatedir ;;
924 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
925 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
926 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
928 sharedstatedir=$ac_optarg ;;
930 -site | --site | --sit)
932 -site=* | --site=* | --sit=*)
935 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
937 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
940 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
941 | --syscon | --sysco | --sysc | --sys | --sy)
942 ac_prev=sysconfdir ;;
943 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
944 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
945 sysconfdir=$ac_optarg ;;
947 -target | --target | --targe | --targ | --tar | --ta | --t)
948 ac_prev=target_alias ;;
949 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
950 target_alias=$ac_optarg ;;
952 -v | -verbose | --verbose | --verbos | --verbo | --verb)
955 -version | --version | --versio | --versi | --vers | -V)
959 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
960 # Reject names that are not valid shell variable names.
961 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
962 { echo "$as_me: error: invalid package name: $ac_package" >&2
963 { (exit 1); exit 1; }; }
964 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
965 eval with_$ac_package=\$ac_optarg ;;
967 -without-* | --without-*)
968 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
969 # Reject names that are not valid shell variable names.
970 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
971 { echo "$as_me: error: invalid package name: $ac_package" >&2
972 { (exit 1); exit 1; }; }
973 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
974 eval with_$ac_package=no ;;
977 # Obsolete; use --with-x.
980 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
981 | --x-incl | --x-inc | --x-in | --x-i)
982 ac_prev=x_includes ;;
983 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
984 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
985 x_includes=$ac_optarg ;;
987 -x-libraries | --x-libraries | --x-librarie | --x-librari \
988 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
989 ac_prev=x_libraries ;;
990 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
991 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
992 x_libraries=$ac_optarg ;;
994 -*) { echo "$as_me: error: unrecognized option: $ac_option
995 Try \`$0 --help' for more information." >&2
996 { (exit 1); exit 1; }; }
1000 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1003 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1004 { (exit 1); exit 1; }; }
1005 eval $ac_envvar=\$ac_optarg
1006 export $ac_envvar ;;
1009 # FIXME: should be removed in autoconf 3.0.
1010 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1011 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1012 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1013 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1019 if test -n "$ac_prev"; then
1020 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1021 { echo "$as_me: error: missing argument to $ac_option" >&2
1022 { (exit 1); exit 1; }; }
1025 # Be sure to have absolute directory names.
1026 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1027 datadir sysconfdir sharedstatedir localstatedir includedir \
1028 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1029 libdir localedir mandir
1031 eval ac_val=\$$ac_var
1033 [\\/$]* | ?:[\\/]* ) continue;;
1034 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1036 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1037 { (exit 1); exit 1; }; }
1040 # There might be people who depend on the old broken behavior: `$host'
1041 # used to hold the argument of --host etc.
1042 # FIXME: To remove some day.
1045 target=$target_alias
1047 # FIXME: To remove some day.
1048 if test "x$host_alias" != x; then
1049 if test "x$build_alias" = x; then
1050 cross_compiling=maybe
1051 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1052 If a cross compiler is detected then cross compile mode will be used." >&2
1053 elif test "x$build_alias" != "x$host_alias"; then
1059 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1061 test "$silent" = yes && exec 6>/dev/null
1064 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1065 ac_ls_di=`ls -di .` &&
1066 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1067 { echo "$as_me: error: Working directory cannot be determined" >&2
1068 { (exit 1); exit 1; }; }
1069 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1070 { echo "$as_me: error: pwd does not report name of working directory" >&2
1071 { (exit 1); exit 1; }; }
1074 # Find the source files, if location was not specified.
1075 if test -z "$srcdir"; then
1076 ac_srcdir_defaulted=yes
1077 # Try the directory containing this script, then the parent directory.
1078 ac_confdir=`$as_dirname -- "$0" ||
1079 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1080 X"$0" : 'X\(//\)[^/]' \| \
1081 X"$0" : 'X\(//\)$' \| \
1082 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1102 if test ! -r "$srcdir/$ac_unique_file"; then
1106 ac_srcdir_defaulted=no
1108 if test ! -r "$srcdir/$ac_unique_file"; then
1109 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1110 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1111 { (exit 1); exit 1; }; }
1113 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1115 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1116 { (exit 1); exit 1; }; }
1118 # When building in place, set srcdir=.
1119 if test "$ac_abs_confdir" = "$ac_pwd"; then
1122 # Remove unnecessary trailing slashes from srcdir.
1123 # Double slashes in file names in object file debugging info
1124 # mess up M-x gdb in Emacs.
1126 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1128 for ac_var in $ac_precious_vars; do
1129 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1130 eval ac_env_${ac_var}_value=\$${ac_var}
1131 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1132 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1136 # Report the --help message.
1138 if test "$ac_init_help" = "long"; then
1139 # Omit some internal or obsolete options to make the list less imposing.
1140 # This message is too long to be a string in the A/UX 3.1 sh.
1142 \`configure' configures libnl 1.1 to adapt to many kinds of systems.
1144 Usage: $0 [OPTION]... [VAR=VALUE]...
1146 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1147 VAR=VALUE. See below for descriptions of some of the useful variables.
1149 Defaults for the options are specified in brackets.
1152 -h, --help display this help and exit
1153 --help=short display options specific to this package
1154 --help=recursive display the short help of all the included packages
1155 -V, --version display version information and exit
1156 -q, --quiet, --silent do not print \`checking...' messages
1157 --cache-file=FILE cache test results in FILE [disabled]
1158 -C, --config-cache alias for \`--cache-file=config.cache'
1159 -n, --no-create do not create output files
1160 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1162 Installation directories:
1163 --prefix=PREFIX install architecture-independent files in PREFIX
1164 [$ac_default_prefix]
1165 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1168 By default, \`make install' will install all the files in
1169 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1170 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1171 for instance \`--prefix=\$HOME'.
1173 For better control, use the options below.
1175 Fine tuning of the installation directories:
1176 --bindir=DIR user executables [EPREFIX/bin]
1177 --sbindir=DIR system admin executables [EPREFIX/sbin]
1178 --libexecdir=DIR program executables [EPREFIX/libexec]
1179 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1180 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1181 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1182 --libdir=DIR object code libraries [EPREFIX/lib]
1183 --includedir=DIR C header files [PREFIX/include]
1184 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1185 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1186 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1187 --infodir=DIR info documentation [DATAROOTDIR/info]
1188 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1189 --mandir=DIR man documentation [DATAROOTDIR/man]
1190 --docdir=DIR documentation root [DATAROOTDIR/doc/libnl]
1191 --htmldir=DIR html documentation [DOCDIR]
1192 --dvidir=DIR dvi documentation [DOCDIR]
1193 --pdfdir=DIR pdf documentation [DOCDIR]
1194 --psdir=DIR ps documentation [DOCDIR]
1201 if test -n "$ac_init_help"; then
1202 case $ac_init_help in
1203 short | recursive ) echo "Configuration of libnl 1.1:";;
1208 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1209 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1210 --enable-verbose-errors enable verbose errors (debugging)
1212 Some influential environment variables:
1213 CC C compiler command
1214 CFLAGS C compiler flags
1215 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1216 nonstandard directory <lib dir>
1217 LIBS libraries to pass to the linker, e.g. -l<library>
1218 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1219 you have headers in a nonstandard directory <include dir>
1221 Use these variables to override the choices made by `configure' or to help
1222 it to find libraries and programs with nonstandard names/locations.
1224 Report bugs to <tgraf@suug.ch>.
1229 if test "$ac_init_help" = "recursive"; then
1230 # If there are subdirs, report their specific --help.
1231 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1232 test -d "$ac_dir" || continue
1236 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1238 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1239 # A ".." for each directory in $ac_dir_suffix.
1240 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1241 case $ac_top_builddir_sub in
1242 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1243 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1246 ac_abs_top_builddir=$ac_pwd
1247 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1248 # for backward compatibility:
1249 ac_top_builddir=$ac_top_build_prefix
1252 .) # We are building in place.
1254 ac_top_srcdir=$ac_top_builddir_sub
1255 ac_abs_top_srcdir=$ac_pwd ;;
1256 [\\/]* | ?:[\\/]* ) # Absolute name.
1257 ac_srcdir=$srcdir$ac_dir_suffix;
1258 ac_top_srcdir=$srcdir
1259 ac_abs_top_srcdir=$srcdir ;;
1261 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1262 ac_top_srcdir=$ac_top_build_prefix$srcdir
1263 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1265 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1267 cd "$ac_dir" || { ac_status=$?; continue; }
1268 # Check for guested configure.
1269 if test -f "$ac_srcdir/configure.gnu"; then
1271 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1272 elif test -f "$ac_srcdir/configure"; then
1274 $SHELL "$ac_srcdir/configure" --help=recursive
1276 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1278 cd "$ac_pwd" || { ac_status=$?; break; }
1282 test -n "$ac_init_help" && exit $ac_status
1283 if $ac_init_version; then
1286 generated by GNU Autoconf 2.61
1288 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1289 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1290 This configure script is free software; the Free Software Foundation
1291 gives unlimited permission to copy, distribute and modify it.
1295 cat >config.log <<_ACEOF
1296 This file contains any messages produced by compilers while
1297 running configure, to aid debugging if configure makes a mistake.
1299 It was created by libnl $as_me 1.1, which was
1300 generated by GNU Autoconf 2.61. Invocation command line was
1312 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1313 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1314 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1315 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1316 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1318 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1319 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1321 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1322 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1323 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1324 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1325 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1326 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1327 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1335 test -z "$as_dir" && as_dir=.
1336 echo "PATH: $as_dir"
1352 # Keep a trace of the command line.
1353 # Strip out --no-create and --no-recursion so they do not pile up.
1354 # Strip out --silent because we don't want to record it for future runs.
1355 # Also quote any args containing shell meta-characters.
1356 # Make two passes to allow for proper duplicate-argument suppression.
1360 ac_must_keep_next=false
1366 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1367 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1368 | -silent | --silent | --silen | --sile | --sil)
1371 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1374 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1376 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1377 if test $ac_must_keep_next = true; then
1378 ac_must_keep_next=false # Got value, back to normal.
1381 *=* | --config-cache | -C | -disable-* | --disable-* \
1382 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1383 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1384 | -with-* | --with-* | -without-* | --without-* | --x)
1385 case "$ac_configure_args0 " in
1386 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1389 -* ) ac_must_keep_next=true ;;
1392 ac_configure_args="$ac_configure_args '$ac_arg'"
1397 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1398 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1400 # When interrupted or exit'd, cleanup temporary files, and complete
1401 # config.log. We remove comments because anyway the quotes in there
1402 # would cause problems or look ugly.
1403 # WARNING: Use '\'' to represent an apostrophe within the trap.
1404 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1405 trap 'exit_status=$?
1406 # Save into config.log some information that might help in debugging.
1411 ## ---------------- ##
1412 ## Cache variables. ##
1413 ## ---------------- ##
1416 # The following way of writing the cache mishandles newlines in values,
1418 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1419 eval ac_val=\$$ac_var
1423 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1424 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1427 _ | IFS | as_nl) ;; #(
1428 *) $as_unset $ac_var ;;
1433 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1434 *${as_nl}ac_space=\ *)
1436 "s/'\''/'\''\\\\'\'''\''/g;
1437 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1440 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1448 ## ----------------- ##
1449 ## Output variables. ##
1450 ## ----------------- ##
1453 for ac_var in $ac_subst_vars
1455 eval ac_val=\$$ac_var
1457 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1459 echo "$ac_var='\''$ac_val'\''"
1463 if test -n "$ac_subst_files"; then
1465 ## ------------------- ##
1466 ## File substitutions. ##
1467 ## ------------------- ##
1470 for ac_var in $ac_subst_files
1472 eval ac_val=\$$ac_var
1474 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1476 echo "$ac_var='\''$ac_val'\''"
1481 if test -s confdefs.h; then
1491 test "$ac_signal" != 0 &&
1492 echo "$as_me: caught signal $ac_signal"
1493 echo "$as_me: exit $exit_status"
1495 rm -f core *.core core.conftest.* &&
1496 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1499 for ac_signal in 1 2 13 15; do
1500 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1504 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1505 rm -f -r conftest* confdefs.h
1507 # Predefined preprocessor variables.
1509 cat >>confdefs.h <<_ACEOF
1510 #define PACKAGE_NAME "$PACKAGE_NAME"
1514 cat >>confdefs.h <<_ACEOF
1515 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1519 cat >>confdefs.h <<_ACEOF
1520 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1524 cat >>confdefs.h <<_ACEOF
1525 #define PACKAGE_STRING "$PACKAGE_STRING"
1529 cat >>confdefs.h <<_ACEOF
1530 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1534 # Let the site file select an alternate cache file if it wants to.
1535 # Prefer explicitly selected file to automatically selected ones.
1536 if test -n "$CONFIG_SITE"; then
1537 set x "$CONFIG_SITE"
1538 elif test "x$prefix" != xNONE; then
1539 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1541 set x "$ac_default_prefix/share/config.site" \
1542 "$ac_default_prefix/etc/config.site"
1547 if test -r "$ac_site_file"; then
1548 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1549 echo "$as_me: loading site script $ac_site_file" >&6;}
1550 sed 's/^/| /' "$ac_site_file" >&5
1555 if test -r "$cache_file"; then
1556 # Some versions of bash will fail to source /dev/null (special
1557 # files actually), so we avoid doing that.
1558 if test -f "$cache_file"; then
1559 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1560 echo "$as_me: loading cache $cache_file" >&6;}
1562 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1563 *) . "./$cache_file";;
1567 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1568 echo "$as_me: creating cache $cache_file" >&6;}
1572 # Check that the precious variables saved in the cache have kept the same
1574 ac_cache_corrupted=false
1575 for ac_var in $ac_precious_vars; do
1576 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1577 eval ac_new_set=\$ac_env_${ac_var}_set
1578 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1579 eval ac_new_val=\$ac_env_${ac_var}_value
1580 case $ac_old_set,$ac_new_set in
1582 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1583 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1584 ac_cache_corrupted=: ;;
1586 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1587 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1588 ac_cache_corrupted=: ;;
1591 if test "x$ac_old_val" != "x$ac_new_val"; then
1592 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1593 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1594 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1595 echo "$as_me: former value: $ac_old_val" >&2;}
1596 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1597 echo "$as_me: current value: $ac_new_val" >&2;}
1598 ac_cache_corrupted=:
1601 # Pass precious variables to config.status.
1602 if test "$ac_new_set" = set; then
1604 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1605 *) ac_arg=$ac_var=$ac_new_val ;;
1607 case " $ac_configure_args " in
1608 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1609 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1613 if $ac_cache_corrupted; then
1614 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1615 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1616 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1617 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1618 { (exit 1); exit 1; }; }
1646 ac_cpp='$CPP $CPPFLAGS'
1647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1652 ac_config_headers="$ac_config_headers lib/defs.h"
1655 save_CFLAGS="${CFLAGS}"
1656 save_LDFLAGS="${LDFLAGS}"
1657 save_CPPFLAGS="${CPPFLAGS}"
1660 ac_cpp='$CPP $CPPFLAGS'
1661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1664 if test -n "$ac_tool_prefix"; then
1665 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1666 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1669 if test "${ac_cv_prog_CC+set}" = set; then
1670 echo $ECHO_N "(cached) $ECHO_C" >&6
1672 if test -n "$CC"; then
1673 ac_cv_prog_CC="$CC" # Let the user override the test.
1675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1679 test -z "$as_dir" && as_dir=.
1680 for ac_exec_ext in '' $ac_executable_extensions; do
1681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1682 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1693 if test -n "$CC"; then
1694 { echo "$as_me:$LINENO: result: $CC" >&5
1695 echo "${ECHO_T}$CC" >&6; }
1697 { echo "$as_me:$LINENO: result: no" >&5
1698 echo "${ECHO_T}no" >&6; }
1703 if test -z "$ac_cv_prog_CC"; then
1705 # Extract the first word of "gcc", so it can be a program name with args.
1706 set dummy gcc; ac_word=$2
1707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1709 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1710 echo $ECHO_N "(cached) $ECHO_C" >&6
1712 if test -n "$ac_ct_CC"; then
1713 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1719 test -z "$as_dir" && as_dir=.
1720 for ac_exec_ext in '' $ac_executable_extensions; do
1721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1722 ac_cv_prog_ac_ct_CC="gcc"
1723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1732 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1733 if test -n "$ac_ct_CC"; then
1734 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1735 echo "${ECHO_T}$ac_ct_CC" >&6; }
1737 { echo "$as_me:$LINENO: result: no" >&5
1738 echo "${ECHO_T}no" >&6; }
1741 if test "x$ac_ct_CC" = x; then
1744 case $cross_compiling:$ac_tool_warned in
1746 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1747 whose name does not start with the host triplet. If you think this
1748 configuration is useful to you, please write to autoconf@gnu.org." >&5
1749 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1750 whose name does not start with the host triplet. If you think this
1751 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1752 ac_tool_warned=yes ;;
1760 if test -z "$CC"; then
1761 if test -n "$ac_tool_prefix"; then
1762 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1763 set dummy ${ac_tool_prefix}cc; ac_word=$2
1764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1766 if test "${ac_cv_prog_CC+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 if test -n "$CC"; then
1770 ac_cv_prog_CC="$CC" # Let the user override the test.
1772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1776 test -z "$as_dir" && as_dir=.
1777 for ac_exec_ext in '' $ac_executable_extensions; do
1778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1779 ac_cv_prog_CC="${ac_tool_prefix}cc"
1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1790 if test -n "$CC"; then
1791 { echo "$as_me:$LINENO: result: $CC" >&5
1792 echo "${ECHO_T}$CC" >&6; }
1794 { echo "$as_me:$LINENO: result: no" >&5
1795 echo "${ECHO_T}no" >&6; }
1801 if test -z "$CC"; then
1802 # Extract the first word of "cc", so it can be a program name with args.
1803 set dummy cc; ac_word=$2
1804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1806 if test "${ac_cv_prog_CC+set}" = set; then
1807 echo $ECHO_N "(cached) $ECHO_C" >&6
1809 if test -n "$CC"; then
1810 ac_cv_prog_CC="$CC" # Let the user override the test.
1813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1817 test -z "$as_dir" && as_dir=.
1818 for ac_exec_ext in '' $ac_executable_extensions; do
1819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1820 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1821 ac_prog_rejected=yes
1825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1832 if test $ac_prog_rejected = yes; then
1833 # We found a bogon in the path, so make sure we never use it.
1834 set dummy $ac_cv_prog_CC
1836 if test $# != 0; then
1837 # We chose a different compiler from the bogus one.
1838 # However, it has the same basename, so the bogon will be chosen
1839 # first if we set CC to just the basename; use the full file name.
1841 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1847 if test -n "$CC"; then
1848 { echo "$as_me:$LINENO: result: $CC" >&5
1849 echo "${ECHO_T}$CC" >&6; }
1851 { echo "$as_me:$LINENO: result: no" >&5
1852 echo "${ECHO_T}no" >&6; }
1857 if test -z "$CC"; then
1858 if test -n "$ac_tool_prefix"; then
1859 for ac_prog in cl.exe
1861 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1862 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1863 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1865 if test "${ac_cv_prog_CC+set}" = set; then
1866 echo $ECHO_N "(cached) $ECHO_C" >&6
1868 if test -n "$CC"; then
1869 ac_cv_prog_CC="$CC" # Let the user override the test.
1871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875 test -z "$as_dir" && as_dir=.
1876 for ac_exec_ext in '' $ac_executable_extensions; do
1877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1878 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 if test -n "$CC"; then
1890 { echo "$as_me:$LINENO: result: $CC" >&5
1891 echo "${ECHO_T}$CC" >&6; }
1893 { echo "$as_me:$LINENO: result: no" >&5
1894 echo "${ECHO_T}no" >&6; }
1898 test -n "$CC" && break
1901 if test -z "$CC"; then
1903 for ac_prog in cl.exe
1905 # Extract the first word of "$ac_prog", so it can be a program name with args.
1906 set dummy $ac_prog; ac_word=$2
1907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1909 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1910 echo $ECHO_N "(cached) $ECHO_C" >&6
1912 if test -n "$ac_ct_CC"; then
1913 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 test -z "$as_dir" && as_dir=.
1920 for ac_exec_ext in '' $ac_executable_extensions; do
1921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1922 ac_cv_prog_ac_ct_CC="$ac_prog"
1923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1932 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1933 if test -n "$ac_ct_CC"; then
1934 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1935 echo "${ECHO_T}$ac_ct_CC" >&6; }
1937 { echo "$as_me:$LINENO: result: no" >&5
1938 echo "${ECHO_T}no" >&6; }
1942 test -n "$ac_ct_CC" && break
1945 if test "x$ac_ct_CC" = x; then
1948 case $cross_compiling:$ac_tool_warned in
1950 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1951 whose name does not start with the host triplet. If you think this
1952 configuration is useful to you, please write to autoconf@gnu.org." >&5
1953 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1954 whose name does not start with the host triplet. If you think this
1955 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1956 ac_tool_warned=yes ;;
1965 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1966 See \`config.log' for more details." >&5
1967 echo "$as_me: error: no acceptable C compiler found in \$PATH
1968 See \`config.log' for more details." >&2;}
1969 { (exit 1); exit 1; }; }
1971 # Provide some information about the compiler.
1972 echo "$as_me:$LINENO: checking for C compiler version" >&5
1973 ac_compiler=`set X $ac_compile; echo $2`
1974 { (ac_try="$ac_compiler --version >&5"
1976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1977 *) ac_try_echo=$ac_try;;
1979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1980 (eval "$ac_compiler --version >&5") 2>&5
1982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1983 (exit $ac_status); }
1984 { (ac_try="$ac_compiler -v >&5"
1986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1987 *) ac_try_echo=$ac_try;;
1989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1990 (eval "$ac_compiler -v >&5") 2>&5
1992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1993 (exit $ac_status); }
1994 { (ac_try="$ac_compiler -V >&5"
1996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1997 *) ac_try_echo=$ac_try;;
1999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2000 (eval "$ac_compiler -V >&5") 2>&5
2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003 (exit $ac_status); }
2005 cat >conftest.$ac_ext <<_ACEOF
2008 cat confdefs.h >>conftest.$ac_ext
2009 cat >>conftest.$ac_ext <<_ACEOF
2010 /* end confdefs.h. */
2020 ac_clean_files_save=$ac_clean_files
2021 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2022 # Try to create an executable without -o first, disregard a.out.
2023 # It will help us diagnose broken compilers, and finding out an intuition
2025 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2026 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2027 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2029 # List of possible output files, starting from the most likely.
2030 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2031 # only as a last resort. b.out is created by i960 compilers.
2032 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2034 # The IRIX 6 linker writes into existing files which may not be
2035 # executable, retaining their permissions. Remove them first so a
2036 # subsequent execution test works.
2038 for ac_file in $ac_files
2041 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2042 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2047 if { (ac_try="$ac_link_default"
2049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2050 *) ac_try_echo=$ac_try;;
2052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2053 (eval "$ac_link_default") 2>&5
2055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056 (exit $ac_status); }; then
2057 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2058 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2059 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2060 # so that the user can short-circuit this test for compilers unknown to
2062 for ac_file in $ac_files ''
2064 test -f "$ac_file" || continue
2066 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2069 # We found the default executable, but exeext='' is most
2073 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2075 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2077 # We set ac_cv_exeext here because the later test for it is not
2078 # safe: cross compilers may not add the suffix if given an `-o'
2079 # argument, so we may need to know it at that point already.
2080 # Even if this section looks crufty: it has the advantage of
2087 test "$ac_cv_exeext" = no && ac_cv_exeext=
2093 { echo "$as_me:$LINENO: result: $ac_file" >&5
2094 echo "${ECHO_T}$ac_file" >&6; }
2095 if test -z "$ac_file"; then
2096 echo "$as_me: failed program was:" >&5
2097 sed 's/^/| /' conftest.$ac_ext >&5
2099 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2100 See \`config.log' for more details." >&5
2101 echo "$as_me: error: C compiler cannot create executables
2102 See \`config.log' for more details." >&2;}
2103 { (exit 77); exit 77; }; }
2106 ac_exeext=$ac_cv_exeext
2108 # Check that the compiler produces executables we can run. If not, either
2109 # the compiler is broken, or we cross compile.
2110 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2111 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2112 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2113 # If not cross compiling, check that we can run a simple program.
2114 if test "$cross_compiling" != yes; then
2115 if { ac_try='./$ac_file'
2116 { (case "(($ac_try" in
2117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2118 *) ac_try_echo=$ac_try;;
2120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2121 (eval "$ac_try") 2>&5
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); }; }; then
2127 if test "$cross_compiling" = maybe; then
2130 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2131 If you meant to cross compile, use \`--host'.
2132 See \`config.log' for more details." >&5
2133 echo "$as_me: error: cannot run C compiled programs.
2134 If you meant to cross compile, use \`--host'.
2135 See \`config.log' for more details." >&2;}
2136 { (exit 1); exit 1; }; }
2140 { echo "$as_me:$LINENO: result: yes" >&5
2141 echo "${ECHO_T}yes" >&6; }
2143 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2144 ac_clean_files=$ac_clean_files_save
2145 # Check that the compiler produces executables we can run. If not, either
2146 # the compiler is broken, or we cross compile.
2147 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2148 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2149 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2150 echo "${ECHO_T}$cross_compiling" >&6; }
2152 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2153 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2154 if { (ac_try="$ac_link"
2156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2157 *) ac_try_echo=$ac_try;;
2159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2160 (eval "$ac_link") 2>&5
2162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2163 (exit $ac_status); }; then
2164 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2165 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2166 # work properly (i.e., refer to `conftest.exe'), while it won't with
2168 for ac_file in conftest.exe conftest conftest.*; do
2169 test -f "$ac_file" || continue
2171 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2172 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2178 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2179 See \`config.log' for more details." >&5
2180 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2181 See \`config.log' for more details." >&2;}
2182 { (exit 1); exit 1; }; }
2185 rm -f conftest$ac_cv_exeext
2186 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2187 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2189 rm -f conftest.$ac_ext
2190 EXEEXT=$ac_cv_exeext
2192 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2193 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2194 if test "${ac_cv_objext+set}" = set; then
2195 echo $ECHO_N "(cached) $ECHO_C" >&6
2197 cat >conftest.$ac_ext <<_ACEOF
2200 cat confdefs.h >>conftest.$ac_ext
2201 cat >>conftest.$ac_ext <<_ACEOF
2202 /* end confdefs.h. */
2212 rm -f conftest.o conftest.obj
2213 if { (ac_try="$ac_compile"
2215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2216 *) ac_try_echo=$ac_try;;
2218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2219 (eval "$ac_compile") 2>&5
2221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2222 (exit $ac_status); }; then
2223 for ac_file in conftest.o conftest.obj conftest.*; do
2224 test -f "$ac_file" || continue;
2226 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2227 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2232 echo "$as_me: failed program was:" >&5
2233 sed 's/^/| /' conftest.$ac_ext >&5
2235 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2236 See \`config.log' for more details." >&5
2237 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2238 See \`config.log' for more details." >&2;}
2239 { (exit 1); exit 1; }; }
2242 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2244 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2245 echo "${ECHO_T}$ac_cv_objext" >&6; }
2246 OBJEXT=$ac_cv_objext
2248 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2249 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2250 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2251 echo $ECHO_N "(cached) $ECHO_C" >&6
2253 cat >conftest.$ac_ext <<_ACEOF
2256 cat confdefs.h >>conftest.$ac_ext
2257 cat >>conftest.$ac_ext <<_ACEOF
2258 /* end confdefs.h. */
2271 rm -f conftest.$ac_objext
2272 if { (ac_try="$ac_compile"
2274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2275 *) ac_try_echo=$ac_try;;
2277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2278 (eval "$ac_compile") 2>conftest.er1
2280 grep -v '^ *+' conftest.er1 >conftest.err
2282 cat conftest.err >&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); } && {
2285 test -z "$ac_c_werror_flag" ||
2286 test ! -s conftest.err
2287 } && test -s conftest.$ac_objext; then
2290 echo "$as_me: failed program was:" >&5
2291 sed 's/^/| /' conftest.$ac_ext >&5
2296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2297 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2300 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2301 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2302 GCC=`test $ac_compiler_gnu = yes && echo yes`
2303 ac_test_CFLAGS=${CFLAGS+set}
2304 ac_save_CFLAGS=$CFLAGS
2305 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2306 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2307 if test "${ac_cv_prog_cc_g+set}" = set; then
2308 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 ac_save_c_werror_flag=$ac_c_werror_flag
2311 ac_c_werror_flag=yes
2314 cat >conftest.$ac_ext <<_ACEOF
2317 cat confdefs.h >>conftest.$ac_ext
2318 cat >>conftest.$ac_ext <<_ACEOF
2319 /* end confdefs.h. */
2329 rm -f conftest.$ac_objext
2330 if { (ac_try="$ac_compile"
2332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2333 *) ac_try_echo=$ac_try;;
2335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2336 (eval "$ac_compile") 2>conftest.er1
2338 grep -v '^ *+' conftest.er1 >conftest.err
2340 cat conftest.err >&5
2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342 (exit $ac_status); } && {
2343 test -z "$ac_c_werror_flag" ||
2344 test ! -s conftest.err
2345 } && test -s conftest.$ac_objext; then
2348 echo "$as_me: failed program was:" >&5
2349 sed 's/^/| /' conftest.$ac_ext >&5
2352 cat >conftest.$ac_ext <<_ACEOF
2355 cat confdefs.h >>conftest.$ac_ext
2356 cat >>conftest.$ac_ext <<_ACEOF
2357 /* end confdefs.h. */
2367 rm -f conftest.$ac_objext
2368 if { (ac_try="$ac_compile"
2370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2371 *) ac_try_echo=$ac_try;;
2373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2374 (eval "$ac_compile") 2>conftest.er1
2376 grep -v '^ *+' conftest.er1 >conftest.err
2378 cat conftest.err >&5
2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380 (exit $ac_status); } && {
2381 test -z "$ac_c_werror_flag" ||
2382 test ! -s conftest.err
2383 } && test -s conftest.$ac_objext; then
2386 echo "$as_me: failed program was:" >&5
2387 sed 's/^/| /' conftest.$ac_ext >&5
2389 ac_c_werror_flag=$ac_save_c_werror_flag
2391 cat >conftest.$ac_ext <<_ACEOF
2394 cat confdefs.h >>conftest.$ac_ext
2395 cat >>conftest.$ac_ext <<_ACEOF
2396 /* end confdefs.h. */
2406 rm -f conftest.$ac_objext
2407 if { (ac_try="$ac_compile"
2409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2410 *) ac_try_echo=$ac_try;;
2412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2413 (eval "$ac_compile") 2>conftest.er1
2415 grep -v '^ *+' conftest.er1 >conftest.err
2417 cat conftest.err >&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); } && {
2420 test -z "$ac_c_werror_flag" ||
2421 test ! -s conftest.err
2422 } && test -s conftest.$ac_objext; then
2425 echo "$as_me: failed program was:" >&5
2426 sed 's/^/| /' conftest.$ac_ext >&5
2431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2438 ac_c_werror_flag=$ac_save_c_werror_flag
2440 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2441 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2442 if test "$ac_test_CFLAGS" = set; then
2443 CFLAGS=$ac_save_CFLAGS
2444 elif test $ac_cv_prog_cc_g = yes; then
2445 if test "$GCC" = yes; then
2451 if test "$GCC" = yes; then
2457 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2458 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2459 if test "${ac_cv_prog_cc_c89+set}" = set; then
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 ac_cv_prog_cc_c89=no
2464 cat >conftest.$ac_ext <<_ACEOF
2467 cat confdefs.h >>conftest.$ac_ext
2468 cat >>conftest.$ac_ext <<_ACEOF
2469 /* end confdefs.h. */
2472 #include <sys/types.h>
2473 #include <sys/stat.h>
2474 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2475 struct buf { int x; };
2476 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2477 static char *e (p, i)
2483 static char *f (char * (*g) (char **, int), char **p, ...)
2488 s = g (p, va_arg (v,int));
2493 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2494 function prototypes and stuff, but not '\xHH' hex character constants.
2495 These don't provoke an error unfortunately, instead are silently treated
2496 as 'x'. The following induces an error, until -std is added to get
2497 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2498 array size at least. It's necessary to write '\x00'==0 to get something
2499 that's true only with -std. */
2500 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2502 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2503 inside strings and character constants. */
2505 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2507 int test (int i, double x);
2508 struct s1 {int (*f) (int a);};
2509 struct s2 {int (*f) (double a);};
2510 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2516 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2521 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2522 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2524 CC="$ac_save_CC $ac_arg"
2525 rm -f conftest.$ac_objext
2526 if { (ac_try="$ac_compile"
2528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2529 *) ac_try_echo=$ac_try;;
2531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2532 (eval "$ac_compile") 2>conftest.er1
2534 grep -v '^ *+' conftest.er1 >conftest.err
2536 cat conftest.err >&5
2537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538 (exit $ac_status); } && {
2539 test -z "$ac_c_werror_flag" ||
2540 test ! -s conftest.err
2541 } && test -s conftest.$ac_objext; then
2542 ac_cv_prog_cc_c89=$ac_arg
2544 echo "$as_me: failed program was:" >&5
2545 sed 's/^/| /' conftest.$ac_ext >&5
2550 rm -f core conftest.err conftest.$ac_objext
2551 test "x$ac_cv_prog_cc_c89" != "xno" && break
2553 rm -f conftest.$ac_ext
2558 case "x$ac_cv_prog_cc_c89" in
2560 { echo "$as_me:$LINENO: result: none needed" >&5
2561 echo "${ECHO_T}none needed" >&6; } ;;
2563 { echo "$as_me:$LINENO: result: unsupported" >&5
2564 echo "${ECHO_T}unsupported" >&6; } ;;
2566 CC="$CC $ac_cv_prog_cc_c89"
2567 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2568 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2573 ac_cpp='$CPP $CPPFLAGS'
2574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2579 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2580 if test -f "$ac_dir/install-sh"; then
2582 ac_install_sh="$ac_aux_dir/install-sh -c"
2584 elif test -f "$ac_dir/install.sh"; then
2586 ac_install_sh="$ac_aux_dir/install.sh -c"
2588 elif test -f "$ac_dir/shtool"; then
2590 ac_install_sh="$ac_aux_dir/shtool install -c"
2594 if test -z "$ac_aux_dir"; then
2595 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2596 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2597 { (exit 1); exit 1; }; }
2600 # These three variables are undocumented and unsupported,
2601 # and are intended to be withdrawn in a future Autoconf release.
2602 # They can cause serious problems if a builder's source tree is in a directory
2603 # whose full name contains unusual characters.
2604 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2605 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2606 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2609 # Find a good install program. We prefer a C program (faster),
2610 # so one script is as good as another. But avoid the broken or
2611 # incompatible versions:
2612 # SysV /etc/install, /usr/sbin/install
2613 # SunOS /usr/etc/install
2614 # IRIX /sbin/install
2616 # AmigaOS /C/install, which installs bootblocks on floppy discs
2617 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2618 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2619 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2620 # OS/2's system install, which has a completely different semantic
2621 # ./install, which can be erroneously created by make from ./install.sh.
2622 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2623 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2624 if test -z "$INSTALL"; then
2625 if test "${ac_cv_path_install+set}" = set; then
2626 echo $ECHO_N "(cached) $ECHO_C" >&6
2628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2632 test -z "$as_dir" && as_dir=.
2633 # Account for people who put trailing slashes in PATH elements.
2635 ./ | .// | /cC/* | \
2636 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2637 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2640 # OSF1 and SCO ODT 3.0 have their own names for install.
2641 # Don't use installbsd from OSF since it installs stuff as root
2643 for ac_prog in ginstall scoinst install; do
2644 for ac_exec_ext in '' $ac_executable_extensions; do
2645 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2646 if test $ac_prog = install &&
2647 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2648 # AIX install. It has an incompatible calling convention.
2650 elif test $ac_prog = install &&
2651 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2652 # program-specific install script used by HP pwplus--don't use.
2655 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2668 if test "${ac_cv_path_install+set}" = set; then
2669 INSTALL=$ac_cv_path_install
2671 # As a last resort, use the slow shell script. Don't cache a
2672 # value for INSTALL within a source directory, because that will
2673 # break other packages using the cache if that directory is
2674 # removed, or if the value is a relative name.
2675 INSTALL=$ac_install_sh
2678 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2679 echo "${ECHO_T}$INSTALL" >&6; }
2681 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2682 # It thinks the first close brace ends the variable substitution.
2683 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2685 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2687 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2691 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2692 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
2693 if test "${ac_cv_c_const+set}" = set; then
2694 echo $ECHO_N "(cached) $ECHO_C" >&6
2696 cat >conftest.$ac_ext <<_ACEOF
2699 cat confdefs.h >>conftest.$ac_ext
2700 cat >>conftest.$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2706 /* FIXME: Include the comments suggested by Paul. */
2708 /* Ultrix mips cc rejects this. */
2709 typedef int charset[2];
2711 /* SunOS 4.1.1 cc rejects this. */
2712 char const *const *pcpcc;
2714 /* NEC SVR4.0.2 mips cc rejects this. */
2715 struct point {int x, y;};
2716 static struct point const zero = {0,0};
2717 /* AIX XL C 1.02.0.0 rejects this.
2718 It does not let you subtract one const X* pointer from another in
2719 an arm of an if-expression whose if-part is not a constant
2721 const char *g = "string";
2722 pcpcc = &g + (g ? g-g : 0);
2723 /* HPUX 7.0 cc rejects these. */
2725 ppc = (char**) pcpcc;
2726 pcpcc = (char const *const *) ppc;
2727 { /* SCO 3.2v4 cc rejects this. */
2729 char const *s = 0 ? (char *) 0 : (char const *) 0;
2734 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2736 const int *foo = &x[0];
2739 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2740 typedef const int *iptr;
2744 { /* AIX XL C 1.02.0.0 rejects this saying
2745 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2746 struct s { int j; const int *ap[3]; };
2747 struct s *b; b->j = 5;
2749 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2753 return !cs[0] && !zero.x;
2760 rm -f conftest.$ac_objext
2761 if { (ac_try="$ac_compile"
2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2767 (eval "$ac_compile") 2>conftest.er1
2769 grep -v '^ *+' conftest.er1 >conftest.err
2771 cat conftest.err >&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); } && {
2774 test -z "$ac_c_werror_flag" ||
2775 test ! -s conftest.err
2776 } && test -s conftest.$ac_objext; then
2779 echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.$ac_ext >&5
2785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2787 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
2788 echo "${ECHO_T}$ac_cv_c_const" >&6; }
2789 if test $ac_cv_c_const = no; then
2791 cat >>confdefs.h <<\_ACEOF
2797 { echo "$as_me:$LINENO: checking for inline" >&5
2798 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
2799 if test "${ac_cv_c_inline+set}" = set; then
2800 echo $ECHO_N "(cached) $ECHO_C" >&6
2803 for ac_kw in inline __inline__ __inline; do
2804 cat >conftest.$ac_ext <<_ACEOF
2807 cat confdefs.h >>conftest.$ac_ext
2808 cat >>conftest.$ac_ext <<_ACEOF
2809 /* end confdefs.h. */
2812 static $ac_kw foo_t static_foo () {return 0; }
2813 $ac_kw foo_t foo () {return 0; }
2817 rm -f conftest.$ac_objext
2818 if { (ac_try="$ac_compile"
2820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2821 *) ac_try_echo=$ac_try;;
2823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2824 (eval "$ac_compile") 2>conftest.er1
2826 grep -v '^ *+' conftest.er1 >conftest.err
2828 cat conftest.err >&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); } && {
2831 test -z "$ac_c_werror_flag" ||
2832 test ! -s conftest.err
2833 } && test -s conftest.$ac_objext; then
2834 ac_cv_c_inline=$ac_kw
2836 echo "$as_me: failed program was:" >&5
2837 sed 's/^/| /' conftest.$ac_ext >&5
2842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2843 test "$ac_cv_c_inline" != no && break
2847 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
2848 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
2851 case $ac_cv_c_inline in
2854 case $ac_cv_c_inline in
2856 *) ac_val=$ac_cv_c_inline;;
2858 cat >>confdefs.h <<_ACEOF
2860 #define inline $ac_val
2867 #####################################################################
2871 #####################################################################
2873 { echo "$as_me:$LINENO: checking for pow in -lm" >&5
2874 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; }
2875 if test "${ac_cv_lib_m_pow+set}" = set; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 ac_check_lib_save_LIBS=$LIBS
2880 cat >conftest.$ac_ext <<_ACEOF
2883 cat confdefs.h >>conftest.$ac_ext
2884 cat >>conftest.$ac_ext <<_ACEOF
2885 /* end confdefs.h. */
2887 /* Override any GCC internal prototype to avoid an error.
2888 Use char because int might match the return type of a GCC
2889 builtin and then its argument prototype would still apply. */
2902 rm -f conftest.$ac_objext conftest$ac_exeext
2903 if { (ac_try="$ac_link"
2905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2906 *) ac_try_echo=$ac_try;;
2908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2909 (eval "$ac_link") 2>conftest.er1
2911 grep -v '^ *+' conftest.er1 >conftest.err
2913 cat conftest.err >&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); } && {
2916 test -z "$ac_c_werror_flag" ||
2917 test ! -s conftest.err
2918 } && test -s conftest$ac_exeext &&
2919 $as_test_x conftest$ac_exeext; then
2922 echo "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.$ac_ext >&5
2928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2929 conftest$ac_exeext conftest.$ac_ext
2930 LIBS=$ac_check_lib_save_LIBS
2932 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
2933 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
2934 if test $ac_cv_lib_m_pow = yes; then
2942 echo "*** Error: libm required ***"
2949 #####################################################################
2951 ## verbose error strings
2953 #####################################################################
2954 # Check whether --enable-verbose-errors was given.
2955 if test "${enable_verbose_errors+set}" = set; then
2956 enableval=$enable_verbose_errors;
2957 if test x$enableval = xyes; then
2959 cat >>confdefs.h <<_ACEOF
2960 #define VERBOSE_ERRORS "1"
2968 #####################################################################
2970 ## compile decisions
2972 #####################################################################
2973 COMPILE_LIBNL="Yes "
2978 ac_config_files="$ac_config_files Makefile.opts libnl-1.pc doc/Doxyfile"
2980 cat >confcache <<\_ACEOF
2981 # This file is a shell script that caches the results of configure
2982 # tests run on this system so they can be shared between configure
2983 # scripts and configure runs, see configure's option --config-cache.
2984 # It is not useful on other systems. If it contains results you don't
2985 # want to keep, you may remove or edit it.
2987 # config.status only pays attention to the cache file if you give it
2988 # the --recheck option to rerun configure.
2990 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2991 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2996 # The following way of writing the cache mishandles newlines in values,
2997 # but we know of no workaround that is simple, portable, and efficient.
2998 # So, we kill variables containing newlines.
2999 # Ultrix sh set writes to stderr and can't be redirected directly,
3000 # and sets the high bit in the cache file unless we assign to the vars.
3002 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3003 eval ac_val=\$$ac_var
3007 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3008 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3011 _ | IFS | as_nl) ;; #(
3012 *) $as_unset $ac_var ;;
3018 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3019 *${as_nl}ac_space=\ *)
3020 # `set' does not quote correctly, so add quotes (double-quote
3021 # substitution turns \\\\ into \\, and sed turns \\ into \).
3024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3027 # `set' quotes correctly as required by POSIX, so do not add quotes.
3028 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3037 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3039 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3041 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3042 if test -w "$cache_file"; then
3043 test "x$cache_file" != "x/dev/null" &&
3044 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3045 echo "$as_me: updating cache $cache_file" >&6;}
3046 cat confcache >$cache_file
3048 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3049 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3054 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3055 # Let make expand exec_prefix.
3056 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3058 DEFS=-DHAVE_CONFIG_H
3062 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3063 # 1. Remove the extension, and $U if already installed.
3064 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3065 ac_i=`echo "$ac_i" | sed "$ac_script"`
3066 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3067 # will be set to the directory where LIBOBJS objects are built.
3068 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3069 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3073 LTLIBOBJS=$ac_ltlibobjs
3077 : ${CONFIG_STATUS=./config.status}
3078 ac_clean_files_save=$ac_clean_files
3079 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3080 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3081 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3082 cat >$CONFIG_STATUS <<_ACEOF
3084 # Generated by $as_me.
3085 # Run this file to recreate the current configuration.
3086 # Compiler output produced by configure, useful for debugging
3087 # configure, is in config.log if it exists.
3092 SHELL=\${CONFIG_SHELL-$SHELL}
3095 cat >>$CONFIG_STATUS <<\_ACEOF
3096 ## --------------------- ##
3097 ## M4sh Initialization. ##
3098 ## --------------------- ##
3100 # Be more Bourne compatible
3101 DUALCASE=1; export DUALCASE # for MKS sh
3102 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3105 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3106 # is contrary to our usage. Disable this feature.
3107 alias -g '${1+"$@"}'='"$@"'
3108 setopt NO_GLOB_SUBST
3110 case `(set -o) 2>/dev/null` in
3111 *posix*) set -o posix ;;
3120 # Avoid depending upon Character Ranges.
3121 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3122 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3123 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3124 as_cr_digits='0123456789'
3125 as_cr_alnum=$as_cr_Letters$as_cr_digits
3127 # The user is always right.
3128 if test "${PATH_SEPARATOR+set}" != set; then
3129 echo "#! /bin/sh" >conf$$.sh
3130 echo "exit 0" >>conf$$.sh
3132 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3140 # Support unset when possible.
3141 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3149 # We need space, tab and new line, in precisely that order. Quoting is
3150 # there to prevent editors from complaining about space-tab.
3151 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3152 # splitting by setting IFS to empty value.)
3157 # Find who we are. Look in the path if we contain no directory separator.
3159 *[\\/]* ) as_myself=$0 ;;
3160 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164 test -z "$as_dir" && as_dir=.
3165 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3171 # We did not find ourselves, most probably we were run as `sh COMMAND'
3172 # in which case we are not to be found in the path.
3173 if test "x$as_myself" = x; then
3176 if test ! -f "$as_myself"; then
3177 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3178 { (exit 1); exit 1; }
3181 # Work around bugs in pre-3.0 UWIN ksh.
3182 for as_var in ENV MAIL MAILPATH
3183 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3191 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3192 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3193 LC_TELEPHONE LC_TIME
3195 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3196 eval $as_var=C; export $as_var
3198 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3202 # Required to use basename.
3203 if expr a : '\(a\)' >/dev/null 2>&1 &&
3204 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3210 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3211 as_basename=basename
3217 # Name of the executable.
3218 as_me=`$as_basename -- "$0" ||
3219 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3220 X"$0" : 'X\(//\)$' \| \
3221 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3223 sed '/^.*\/\([^/][^/]*\)\/*$/{
3244 test "x$as_lineno_1" != "x$as_lineno_2" &&
3245 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3247 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3248 # uniformly replaced by the line number. The first 'sed' inserts a
3249 # line-number line after each line using $LINENO; the second 'sed'
3250 # does the real work. The second script uses 'N' to pair each
3251 # line-number line with the line containing $LINENO, and appends
3252 # trailing '-' during substitution so that $LINENO is not a special
3254 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3255 # scripts with optimization help from Paolo Bonzini. Blame Lee
3256 # E. McMahon (1931-1989) for sed's syntax. :-)
3268 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3272 chmod +x "$as_me.lineno" ||
3273 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3274 { (exit 1); exit 1; }; }
3276 # Don't try to exec as it changes $[0], causing all sort of problems
3277 # (the dirname of $[0] is not the place where we might find the
3278 # original and so on. Autoconf is especially sensitive to this).
3280 # Exit status is that of the last command.
3285 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3291 ECHO_C= ECHO_N= ECHO_T=
3294 case `echo 'x\c'` in
3295 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3302 if expr a : '\(a\)' >/dev/null 2>&1 &&
3303 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3309 rm -f conf$$ conf$$.exe conf$$.file
3310 if test -d conf$$.dir; then
3311 rm -f conf$$.dir/conf$$.file
3317 if ln -s conf$$.file conf$$ 2>/dev/null; then
3319 # ... but there are two gotchas:
3320 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3321 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3322 # In both cases, we have to default to `cp -p'.
3323 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3325 elif ln conf$$.file conf$$ 2>/dev/null; then
3330 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3331 rmdir conf$$.dir 2>/dev/null
3333 if mkdir -p . 2>/dev/null; then
3336 test -d ./-p && rmdir ./-p
3340 if test -x / >/dev/null 2>&1; then
3343 if ls -dL / >/dev/null 2>&1; then
3350 if test -d "$1"; then
3356 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3357 ???[sx]*):;;*)false;;esac;fi
3361 as_executable_p=$as_test_x
3363 # Sed expression to map a string onto a valid CPP name.
3364 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3366 # Sed expression to map a string onto a valid variable name.
3367 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3372 # Save the log message, to keep $[0] and so on meaningful, and to
3373 # report actual input values of CONFIG_FILES etc. instead of their
3374 # values after options handling.
3376 This file was extended by libnl $as_me 1.1, which was
3377 generated by GNU Autoconf 2.61. Invocation command line was
3379 CONFIG_FILES = $CONFIG_FILES
3380 CONFIG_HEADERS = $CONFIG_HEADERS
3381 CONFIG_LINKS = $CONFIG_LINKS
3382 CONFIG_COMMANDS = $CONFIG_COMMANDS
3385 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3390 cat >>$CONFIG_STATUS <<_ACEOF
3391 # Files that config.status was made for.
3392 config_files="$ac_config_files"
3393 config_headers="$ac_config_headers"
3397 cat >>$CONFIG_STATUS <<\_ACEOF
3399 \`$as_me' instantiates files from templates according to the
3400 current configuration.
3402 Usage: $0 [OPTIONS] [FILE]...
3404 -h, --help print this help, then exit
3405 -V, --version print version number and configuration settings, then exit
3406 -q, --quiet do not print progress messages
3407 -d, --debug don't remove temporary files
3408 --recheck update $as_me by reconfiguring in the same conditions
3409 --file=FILE[:TEMPLATE]
3410 instantiate the configuration file FILE
3411 --header=FILE[:TEMPLATE]
3412 instantiate the configuration header FILE
3414 Configuration files:
3417 Configuration headers:
3420 Report bugs to <bug-autoconf@gnu.org>."
3423 cat >>$CONFIG_STATUS <<_ACEOF
3425 libnl config.status 1.1
3426 configured by $0, generated by GNU Autoconf 2.61,
3427 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3429 Copyright (C) 2006 Free Software Foundation, Inc.
3430 This config.status script is free software; the Free Software Foundation
3431 gives unlimited permission to copy, distribute and modify it."
3438 cat >>$CONFIG_STATUS <<\_ACEOF
3439 # If no file are specified by the user, then we need to provide default
3440 # value. By we need to know if files were specified by the user.
3446 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3447 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3458 # Handling of the options.
3459 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3461 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3462 echo "$ac_cs_version"; exit ;;
3463 --debug | --debu | --deb | --de | --d | -d )
3465 --file | --fil | --fi | --f )
3467 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3468 ac_need_defaults=false;;
3469 --header | --heade | --head | --hea )
3471 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3472 ac_need_defaults=false;;
3474 # Conflict between --help and --header
3475 { echo "$as_me: error: ambiguous option: $1
3476 Try \`$0 --help' for more information." >&2
3477 { (exit 1); exit 1; }; };;
3478 --help | --hel | -h )
3479 echo "$ac_cs_usage"; exit ;;
3480 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3481 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3485 -*) { echo "$as_me: error: unrecognized option: $1
3486 Try \`$0 --help' for more information." >&2
3487 { (exit 1); exit 1; }; } ;;
3489 *) ac_config_targets="$ac_config_targets $1"
3490 ac_need_defaults=false ;;
3496 ac_configure_extra_args=
3498 if $ac_cs_silent; then
3500 ac_configure_extra_args="$ac_configure_extra_args --silent"
3504 cat >>$CONFIG_STATUS <<_ACEOF
3505 if \$ac_cs_recheck; then
3506 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3509 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3513 cat >>$CONFIG_STATUS <<\_ACEOF
3517 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3518 ## Running $as_me. ##
3524 cat >>$CONFIG_STATUS <<_ACEOF
3527 cat >>$CONFIG_STATUS <<\_ACEOF
3529 # Handling of arguments.
3530 for ac_config_target in $ac_config_targets
3532 case $ac_config_target in
3533 "lib/defs.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/defs.h" ;;
3534 "Makefile.opts") CONFIG_FILES="$CONFIG_FILES Makefile.opts" ;;
3535 "libnl-1.pc") CONFIG_FILES="$CONFIG_FILES libnl-1.pc" ;;
3536 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
3538 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3539 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3540 { (exit 1); exit 1; }; };;
3545 # If the user did not use the arguments to specify the items to instantiate,
3546 # then the envvar interface is used. Set only those that are not.
3547 # We use the long form for the default assignment because of an extremely
3548 # bizarre bug on SunOS 4.1.3.
3549 if $ac_need_defaults; then
3550 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3551 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3554 # Have a temporary directory for convenience. Make it in the build tree
3555 # simply because there is no reason against having it here, and in addition,
3556 # creating and moving files from /tmp can sometimes cause problems.
3557 # Hook for its removal unless debugging.
3558 # Note that there is a small window in which the directory will not be cleaned:
3559 # after its creation but before its name has been assigned to `$tmp'.
3563 trap 'exit_status=$?
3564 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3566 trap '{ (exit 1); exit 1; }' 1 2 13 15
3568 # Create a (secure) tmp directory for tmp files.
3571 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3572 test -n "$tmp" && test -d "$tmp"
3575 tmp=./conf$$-$RANDOM
3576 (umask 077 && mkdir "$tmp")
3579 echo "$me: cannot create a temporary directory in ." >&2
3580 { (exit 1); exit 1; }
3584 # Set up the sed scripts for CONFIG_FILES section.
3587 # No need to generate the scripts if there are no CONFIG_FILES.
3588 # This happens for instance when ./config.status config.h
3589 if test -n "$CONFIG_FILES"; then
3596 for ac_last_try in false false false false false :; do
3597 cat >conf$$subs.sed <<_ACEOF
3598 SHELL!$SHELL$ac_delim
3599 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3600 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3601 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3602 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3603 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3604 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3605 exec_prefix!$exec_prefix$ac_delim
3606 prefix!$prefix$ac_delim
3607 program_transform_name!$program_transform_name$ac_delim
3608 bindir!$bindir$ac_delim
3609 sbindir!$sbindir$ac_delim
3610 libexecdir!$libexecdir$ac_delim
3611 datarootdir!$datarootdir$ac_delim
3612 datadir!$datadir$ac_delim
3613 sysconfdir!$sysconfdir$ac_delim
3614 sharedstatedir!$sharedstatedir$ac_delim
3615 localstatedir!$localstatedir$ac_delim
3616 includedir!$includedir$ac_delim
3617 oldincludedir!$oldincludedir$ac_delim
3618 docdir!$docdir$ac_delim
3619 infodir!$infodir$ac_delim
3620 htmldir!$htmldir$ac_delim
3621 dvidir!$dvidir$ac_delim
3622 pdfdir!$pdfdir$ac_delim
3623 psdir!$psdir$ac_delim
3624 libdir!$libdir$ac_delim
3625 localedir!$localedir$ac_delim
3626 mandir!$mandir$ac_delim
3628 ECHO_C!$ECHO_C$ac_delim
3629 ECHO_N!$ECHO_N$ac_delim
3630 ECHO_T!$ECHO_T$ac_delim
3632 build_alias!$build_alias$ac_delim
3633 host_alias!$host_alias$ac_delim
3634 target_alias!$target_alias$ac_delim
3636 CFLAGS!$CFLAGS$ac_delim
3637 LDFLAGS!$LDFLAGS$ac_delim
3638 CPPFLAGS!$CPPFLAGS$ac_delim
3639 ac_ct_CC!$ac_ct_CC$ac_delim
3640 EXEEXT!$EXEEXT$ac_delim
3641 OBJEXT!$OBJEXT$ac_delim
3642 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3643 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3644 INSTALL_DATA!$INSTALL_DATA$ac_delim
3645 LIBNL_LIB!$LIBNL_LIB$ac_delim
3646 LIBOBJS!$LIBOBJS$ac_delim
3647 LTLIBOBJS!$LTLIBOBJS$ac_delim
3650 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 50; then
3652 elif $ac_last_try; then
3653 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3654 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3655 { (exit 1); exit 1; }; }
3657 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3661 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3662 if test -n "$ac_eof"; then
3663 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3664 ac_eof=`expr $ac_eof + 1`
3667 cat >>$CONFIG_STATUS <<_ACEOF
3668 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3669 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3672 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3673 s/^/s,@/; s/!/@,|#_!!_#|/
3676 s/'"$ac_delim"'$/,g/; t
3678 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3679 ' >>$CONFIG_STATUS <conf$$subs.sed
3680 rm -f conf$$subs.sed
3681 cat >>$CONFIG_STATUS <<_ACEOF
3688 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3689 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3690 # trailing colons and then remove the whole line if VPATH becomes empty
3691 # (actually we leave an empty line to preserve line numbers).
3692 if test "x$srcdir" = x.; then
3693 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3697 s/^\([^=]*=[ ]*\):*/\1/
3703 cat >>$CONFIG_STATUS <<\_ACEOF
3704 fi # test -n "$CONFIG_FILES"
3707 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
3710 :[FHLC]) ac_mode=$ac_tag; continue;;
3712 case $ac_mode$ac_tag in
3714 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3715 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3716 { (exit 1); exit 1; }; };;
3717 :[FH]-) ac_tag=-:-;;
3718 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3735 -) ac_f="$tmp/stdin";;
3736 *) # Look for the file first in the build tree, then in the source tree
3737 # (if the path is not absolute). The absolute path cannot be DOS-style,
3738 # because $ac_f cannot contain `:'.
3742 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3744 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3745 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3746 { (exit 1); exit 1; }; };;
3748 ac_file_inputs="$ac_file_inputs $ac_f"
3751 # Let's still pretend it is `configure' which instantiates (i.e., don't
3752 # use $as_me), people would be surprised to read:
3753 # /* config.h. Generated by config.status. */
3754 configure_input="Generated from "`IFS=:
3755 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3756 if test x"$ac_file" != x-; then
3757 configure_input="$ac_file. $configure_input"
3758 { echo "$as_me:$LINENO: creating $ac_file" >&5
3759 echo "$as_me: creating $ac_file" >&6;}
3763 *:-:* | *:-) cat >"$tmp/stdin";;
3768 ac_dir=`$as_dirname -- "$ac_file" ||
3769 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3770 X"$ac_file" : 'X\(//\)[^/]' \| \
3771 X"$ac_file" : 'X\(//\)$' \| \
3772 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3793 -*) as_dir=./$as_dir;;
3795 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3799 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3800 *) as_qdir=$as_dir;;
3802 as_dirs="'$as_qdir' $as_dirs"
3803 as_dir=`$as_dirname -- "$as_dir" ||
3804 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3805 X"$as_dir" : 'X\(//\)[^/]' \| \
3806 X"$as_dir" : 'X\(//\)$' \| \
3807 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3826 test -d "$as_dir" && break
3828 test -z "$as_dirs" || eval "mkdir $as_dirs"
3829 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3830 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3831 { (exit 1); exit 1; }; }; }
3835 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3837 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3838 # A ".." for each directory in $ac_dir_suffix.
3839 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3840 case $ac_top_builddir_sub in
3841 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3842 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3845 ac_abs_top_builddir=$ac_pwd
3846 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3847 # for backward compatibility:
3848 ac_top_builddir=$ac_top_build_prefix
3851 .) # We are building in place.
3853 ac_top_srcdir=$ac_top_builddir_sub
3854 ac_abs_top_srcdir=$ac_pwd ;;
3855 [\\/]* | ?:[\\/]* ) # Absolute name.
3856 ac_srcdir=$srcdir$ac_dir_suffix;
3857 ac_top_srcdir=$srcdir
3858 ac_abs_top_srcdir=$srcdir ;;
3860 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3861 ac_top_srcdir=$ac_top_build_prefix$srcdir
3862 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3864 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3874 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3875 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3879 cat >>$CONFIG_STATUS <<\_ACEOF
3880 # If the template does not know about datarootdir, expand it.
3881 # FIXME: This hack should be removed a few years after 2.60.
3882 ac_datarootdir_hack=; ac_datarootdir_seen=
3884 case `sed -n '/datarootdir/ {
3893 ' $ac_file_inputs` in
3894 *datarootdir*) ac_datarootdir_seen=yes;;
3895 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3896 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3897 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3899 cat >>$CONFIG_STATUS <<_ACEOF
3900 ac_datarootdir_hack='
3901 s&@datadir@&$datadir&g
3902 s&@docdir@&$docdir&g
3903 s&@infodir@&$infodir&g
3904 s&@localedir@&$localedir&g
3905 s&@mandir@&$mandir&g
3906 s&\\\${datarootdir}&$datarootdir&g' ;;
3910 # Neutralize VPATH when `$srcdir' = `.'.
3911 # Shell code in configure.ac might set extrasub.
3912 # FIXME: do we really want to maintain this feature?
3913 cat >>$CONFIG_STATUS <<_ACEOF
3917 cat >>$CONFIG_STATUS <<\_ACEOF
3919 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3920 s&@configure_input@&$configure_input&;t t
3921 s&@top_builddir@&$ac_top_builddir_sub&;t t
3922 s&@srcdir@&$ac_srcdir&;t t
3923 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3924 s&@top_srcdir@&$ac_top_srcdir&;t t
3925 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3926 s&@builddir@&$ac_builddir&;t t
3927 s&@abs_builddir@&$ac_abs_builddir&;t t
3928 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3929 s&@INSTALL@&$ac_INSTALL&;t t
3930 $ac_datarootdir_hack
3931 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3933 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3934 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3935 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3936 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3937 which seems to be undefined. Please make sure it is defined." >&5
3938 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3939 which seems to be undefined. Please make sure it is defined." >&2;}
3943 -) cat "$tmp/out"; rm -f "$tmp/out";;
3944 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3953 # Transform confdefs.h into a sed script `conftest.defines', that
3954 # substitutes the proper values into config.h.in to produce config.h.
3955 rm -f conftest.defines conftest.tail
3956 # First, append a space to every undef/define line, to ease matching.
3957 echo 's/$/ /' >conftest.defines
3958 # Then, protect against being on the right side of a sed subst, or in
3959 # an unquoted here document, in config.status. If some macros were
3960 # called several times there might be several #defines for the same
3961 # symbol, which is useless. But do not sort them, since the last
3962 # AC_DEFINE must be honored.
3963 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3964 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
3965 # NAME is the cpp macro being defined, VALUE is the value it is being given.
3966 # PARAMS is the parameter list in the macro definition--in most cases, it's
3967 # just an empty string.
3968 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
3969 ac_dB='\\)[ (].*,\\1define\\2'
3977 s/^[ ]*#[ ]*define[ ][ ]*//
3982 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
3983 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
3984 ' >>conftest.defines
3986 # Remove the space that was appended to ease matching.
3987 # Then replace #undef with comments. This is necessary, for
3988 # example, in the case of _POSIX_SOURCE, which is predefined and required
3989 # on some systems where configure will not decide to define it.
3990 # (The regexp can be short, since the line contains either #define or #undef.)
3992 s,^[ #]*u.*,/* & */,' >>conftest.defines
3994 # Break up conftest.defines:
3997 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
3998 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
3999 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
4001 ac_in='$ac_file_inputs'
4002 ac_out='"$tmp/out1"'
4003 ac_nxt='"$tmp/out2"'
4007 # Write a here document:
4008 cat >>$CONFIG_STATUS <<_ACEOF
4009 # First, check the format of the line:
4010 cat >"\$tmp/defines.sed" <<\\CEOF
4011 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
4012 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
4016 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
4018 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
4019 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
4020 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
4021 grep . conftest.tail >/dev/null || break
4022 rm -f conftest.defines
4023 mv conftest.tail conftest.defines
4025 rm -f conftest.defines conftest.tail
4027 echo "ac_result=$ac_in" >>$CONFIG_STATUS
4028 cat >>$CONFIG_STATUS <<\_ACEOF
4029 if test x"$ac_file" != x-; then
4030 echo "/* $configure_input */" >"$tmp/config.h"
4031 cat "$ac_result" >>"$tmp/config.h"
4032 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
4033 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4034 echo "$as_me: $ac_file is unchanged" >&6;}
4037 mv "$tmp/config.h" $ac_file
4040 echo "/* $configure_input */"
4052 { (exit 0); exit 0; }
4054 chmod +x $CONFIG_STATUS
4055 ac_clean_files=$ac_clean_files_save
4058 # configure is writing to config.log, and then calls config.status.
4059 # config.status does its own redirection, appending to config.log.
4060 # Unfortunately, on DOS this fails, as config.log is still kept open
4061 # by configure, so config.status won't be able to write to it; its
4062 # output is simply discarded. So we exec the FD to /dev/null,
4063 # effectively closing config.log, so it can be properly (re)opened and
4064 # appended to by config.status. When coming back to configure, we
4065 # need to make the FD available again.
4066 if test "$no_create" != yes; then
4068 ac_config_status_args=
4069 test "$silent" = yes &&
4070 ac_config_status_args="$ac_config_status_args --quiet"
4072 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4074 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4075 # would make configure fail if this is the last instruction.
4076 $ac_cs_success || { (exit 1); exit 1; }
4080 #####################################################################
4084 #####################################################################
4086 ----------------------------------------------------------------------
4089 Included in Compilation:
4090 libnl: $COMPILE_LIBNL $LIBNL_LIB