2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libnl 1.0-pre6.
5 # Report bugs to <tgraf@suug.ch>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
271 PACKAGE_TARNAME='libnl'
272 PACKAGE_VERSION='1.0-pre6'
273 PACKAGE_STRING='libnl 1.0-pre6'
274 PACKAGE_BUGREPORT='tgraf@suug.ch'
276 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBNL_LIB LIBOBJS LTLIBOBJS'
279 # Initialize some variables set by options.
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name=s,x,x,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
338 -build | --build | --buil | --bui | --bu)
339 ac_prev=build_alias ;;
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build_alias=$ac_optarg ;;
343 -cache-file | --cache-file | --cache-fil | --cache-fi \
344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345 ac_prev=cache_file ;;
346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348 cache_file=$ac_optarg ;;
351 cache_file=config.cache ;;
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357 datadir=$ac_optarg ;;
359 -disable-* | --disable-*)
360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* | --enable-*)
369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383 | --exec | --exe | --ex)
384 ac_prev=exec_prefix ;;
385 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387 | --exec=* | --exe=* | --ex=*)
388 exec_prefix=$ac_optarg ;;
390 -gas | --gas | --ga | --g)
391 # Obsolete; use --with-gas.
394 -help | --help | --hel | --he | -h)
396 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397 ac_init_help=recursive ;;
398 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399 ac_init_help=short ;;
401 -host | --host | --hos | --ho)
402 ac_prev=host_alias ;;
403 -host=* | --host=* | --hos=* | --ho=*)
404 host_alias=$ac_optarg ;;
406 -includedir | --includedir | --includedi | --included | --include \
407 | --includ | --inclu | --incl | --inc)
408 ac_prev=includedir ;;
409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410 | --includ=* | --inclu=* | --incl=* | --inc=*)
411 includedir=$ac_optarg ;;
413 -infodir | --infodir | --infodi | --infod | --info | --inf)
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416 infodir=$ac_optarg ;;
418 -libdir | --libdir | --libdi | --libd)
420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424 | --libexe | --libex | --libe)
425 ac_prev=libexecdir ;;
426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427 | --libexe=* | --libex=* | --libe=*)
428 libexecdir=$ac_optarg ;;
430 -localstatedir | --localstatedir | --localstatedi | --localstated \
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
433 ac_prev=localstatedir ;;
434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437 localstatedir=$ac_optarg ;;
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
445 # Obsolete; use --without-fp.
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449 | --no-cr | --no-c | -n)
452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
456 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458 | --oldin | --oldi | --old | --ol | --o)
459 ac_prev=oldincludedir ;;
460 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463 oldincludedir=$ac_optarg ;;
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
470 -program-prefix | --program-prefix | --program-prefi | --program-pref \
471 | --program-pre | --program-pr | --program-p)
472 ac_prev=program_prefix ;;
473 -program-prefix=* | --program-prefix=* | --program-prefi=* \
474 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475 program_prefix=$ac_optarg ;;
477 -program-suffix | --program-suffix | --program-suffi | --program-suff \
478 | --program-suf | --program-su | --program-s)
479 ac_prev=program_suffix ;;
480 -program-suffix=* | --program-suffix=* | --program-suffi=* \
481 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482 program_suffix=$ac_optarg ;;
484 -program-transform-name | --program-transform-name \
485 | --program-transform-nam | --program-transform-na \
486 | --program-transform-n | --program-transform- \
487 | --program-transform | --program-transfor \
488 | --program-transfo | --program-transf \
489 | --program-trans | --program-tran \
490 | --progr-tra | --program-tr | --program-t)
491 ac_prev=program_transform_name ;;
492 -program-transform-name=* | --program-transform-name=* \
493 | --program-transform-nam=* | --program-transform-na=* \
494 | --program-transform-n=* | --program-transform-=* \
495 | --program-transform=* | --program-transfor=* \
496 | --program-transfo=* | --program-transf=* \
497 | --program-trans=* | --program-tran=* \
498 | --progr-tra=* | --program-tr=* | --program-t=*)
499 program_transform_name=$ac_optarg ;;
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502 | -silent | --silent | --silen | --sile | --sil)
505 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509 sbindir=$ac_optarg ;;
511 -sharedstatedir | --sharedstatedir | --sharedstatedi \
512 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513 | --sharedst | --shareds | --shared | --share | --shar \
515 ac_prev=sharedstatedir ;;
516 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520 sharedstatedir=$ac_optarg ;;
522 -site | --site | --sit)
524 -site=* | --site=* | --sit=*)
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
532 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533 | --syscon | --sysco | --sysc | --sys | --sy)
534 ac_prev=sysconfdir ;;
535 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537 sysconfdir=$ac_optarg ;;
539 -target | --target | --targe | --targ | --tar | --ta | --t)
540 ac_prev=target_alias ;;
541 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542 target_alias=$ac_optarg ;;
544 -v | -verbose | --verbose | --verbos | --verbo | --verb)
547 -version | --version | --versio | --versi | --vers | -V)
551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* | --without-*)
564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577 | --x-incl | --x-inc | --x-in | --x-i)
578 ac_prev=x_includes ;;
579 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581 x_includes=$ac_optarg ;;
583 -x-libraries | --x-libraries | --x-librarie | --x-librari \
584 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585 ac_prev=x_libraries ;;
586 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588 x_libraries=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
625 eval ac_val=$`echo $ac_var`
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val=$`echo $ac_var`
639 [\\/$]* | ?:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x; then
654 if test "x$build_alias" = x; then
655 cross_compiling=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
666 test "$silent" = yes && exec 6>/dev/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
717 ac_env_CC_set=${CC+set}
719 ac_cv_env_CC_set=${CC+set}
720 ac_cv_env_CC_value=$CC
721 ac_env_CFLAGS_set=${CFLAGS+set}
722 ac_env_CFLAGS_value=$CFLAGS
723 ac_cv_env_CFLAGS_set=${CFLAGS+set}
724 ac_cv_env_CFLAGS_value=$CFLAGS
725 ac_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_env_LDFLAGS_value=$LDFLAGS
727 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728 ac_cv_env_LDFLAGS_value=$LDFLAGS
729 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_env_CPPFLAGS_value=$CPPFLAGS
731 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
735 # Report the --help message.
737 if test "$ac_init_help" = "long"; then
738 # Omit some internal or obsolete options to make the list less imposing.
739 # This message is too long to be a string in the A/UX 3.1 sh.
741 \`configure' configures libnl 1.0-pre6 to adapt to many kinds of systems.
743 Usage: $0 [OPTION]... [VAR=VALUE]...
745 To assign environment variables (e.g., CC, CFLAGS...), specify them as
746 VAR=VALUE. See below for descriptions of some of the useful variables.
748 Defaults for the options are specified in brackets.
751 -h, --help display this help and exit
752 --help=short display options specific to this package
753 --help=recursive display the short help of all the included packages
754 -V, --version display version information and exit
755 -q, --quiet, --silent do not print \`checking...' messages
756 --cache-file=FILE cache test results in FILE [disabled]
757 -C, --config-cache alias for \`--cache-file=config.cache'
758 -n, --no-create do not create output files
759 --srcdir=DIR find the sources in DIR [configure dir or \`..']
764 Installation directories:
765 --prefix=PREFIX install architecture-independent files in PREFIX
767 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
770 By default, \`make install' will install all the files in
771 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
772 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
773 for instance \`--prefix=\$HOME'.
775 For better control, use the options below.
777 Fine tuning of the installation directories:
778 --bindir=DIR user executables [EPREFIX/bin]
779 --sbindir=DIR system admin executables [EPREFIX/sbin]
780 --libexecdir=DIR program executables [EPREFIX/libexec]
781 --datadir=DIR read-only architecture-independent data [PREFIX/share]
782 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
783 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
784 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
785 --libdir=DIR object code libraries [EPREFIX/lib]
786 --includedir=DIR C header files [PREFIX/include]
787 --oldincludedir=DIR C header files for non-gcc [/usr/include]
788 --infodir=DIR info documentation [PREFIX/info]
789 --mandir=DIR man documentation [PREFIX/man]
796 if test -n "$ac_init_help"; then
797 case $ac_init_help in
798 short | recursive ) echo "Configuration of libnl 1.0-pre6:";;
803 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
804 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
805 --enable-verbose-errors enable verbose errors (debugging)
807 Some influential environment variables:
808 CC C compiler command
809 CFLAGS C compiler flags
810 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
811 nonstandard directory <lib dir>
812 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
813 headers in a nonstandard directory <include dir>
815 Use these variables to override the choices made by `configure' or to help
816 it to find libraries and programs with nonstandard names/locations.
818 Report bugs to <tgraf@suug.ch>.
822 if test "$ac_init_help" = "recursive"; then
823 # If there are subdirs, report their specific --help.
825 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
826 test -d $ac_dir || continue
829 if test "$ac_dir" != .; then
830 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
831 # A "../" for each directory in $ac_dir_suffix.
832 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
834 ac_dir_suffix= ac_top_builddir=
838 .) # No --srcdir option. We are building in place.
840 if test -z "$ac_top_builddir"; then
843 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
845 [\\/]* | ?:[\\/]* ) # Absolute path.
846 ac_srcdir=$srcdir$ac_dir_suffix;
847 ac_top_srcdir=$srcdir ;;
849 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
850 ac_top_srcdir=$ac_top_builddir$srcdir ;;
853 # Do not use `cd foo && pwd` to compute absolute paths, because
854 # the directories may not exist.
856 .) ac_abs_builddir="$ac_dir";;
859 .) ac_abs_builddir=`pwd`;;
860 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
861 *) ac_abs_builddir=`pwd`/"$ac_dir";;
864 case $ac_abs_builddir in
865 .) ac_abs_top_builddir=${ac_top_builddir}.;;
867 case ${ac_top_builddir}. in
868 .) ac_abs_top_builddir=$ac_abs_builddir;;
869 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
870 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
873 case $ac_abs_builddir in
874 .) ac_abs_srcdir=$ac_srcdir;;
877 .) ac_abs_srcdir=$ac_abs_builddir;;
878 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
879 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
882 case $ac_abs_builddir in
883 .) ac_abs_top_srcdir=$ac_top_srcdir;;
885 case $ac_top_srcdir in
886 .) ac_abs_top_srcdir=$ac_abs_builddir;;
887 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
888 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
893 # Check for guested configure; otherwise get Cygnus style configure.
894 if test -f $ac_srcdir/configure.gnu; then
896 $SHELL $ac_srcdir/configure.gnu --help=recursive
897 elif test -f $ac_srcdir/configure; then
899 $SHELL $ac_srcdir/configure --help=recursive
900 elif test -f $ac_srcdir/configure.ac ||
901 test -f $ac_srcdir/configure.in; then
905 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
911 test -n "$ac_init_help" && exit 0
912 if $ac_init_version; then
914 libnl configure 1.0-pre6
915 generated by GNU Autoconf 2.59
917 Copyright (C) 2003 Free Software Foundation, Inc.
918 This configure script is free software; the Free Software Foundation
919 gives unlimited permission to copy, distribute and modify it.
925 This file contains any messages produced by compilers while
926 running configure, to aid debugging if configure makes a mistake.
928 It was created by libnl $as_me 1.0-pre6, which was
929 generated by GNU Autoconf 2.59. Invocation command line was
940 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
941 uname -m = `(uname -m) 2>/dev/null || echo unknown`
942 uname -r = `(uname -r) 2>/dev/null || echo unknown`
943 uname -s = `(uname -s) 2>/dev/null || echo unknown`
944 uname -v = `(uname -v) 2>/dev/null || echo unknown`
946 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
947 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
949 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
950 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
951 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
952 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
953 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
954 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
955 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
963 test -z "$as_dir" && as_dir=.
979 # Keep a trace of the command line.
980 # Strip out --no-create and --no-recursion so they do not pile up.
981 # Strip out --silent because we don't want to record it for future runs.
982 # Also quote any args containing shell meta-characters.
983 # Make two passes to allow for proper duplicate-argument suppression.
988 ac_must_keep_next=false
994 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
995 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
996 | -silent | --silent | --silen | --sile | --sil)
998 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
999 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1002 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1004 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1005 if test $ac_must_keep_next = true; then
1006 ac_must_keep_next=false # Got value, back to normal.
1009 *=* | --config-cache | -C | -disable-* | --disable-* \
1010 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1011 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1012 | -with-* | --with-* | -without-* | --without-* | --x)
1013 case "$ac_configure_args0 " in
1014 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1017 -* ) ac_must_keep_next=true ;;
1020 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1021 # Get rid of the leading space.
1027 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1028 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1030 # When interrupted or exit'd, cleanup temporary files, and complete
1031 # config.log. We remove comments because anyway the quotes in there
1032 # would cause problems or look ugly.
1033 # WARNING: Be sure not to use single quotes in there, as some shells,
1034 # such as our DU 5.0 friend, will then `close' the trap.
1035 trap 'exit_status=$?
1036 # Save into config.log some information that might help in debugging.
1041 ## ---------------- ##
1042 ## Cache variables. ##
1043 ## ---------------- ##
1046 # The following way of writing the cache mishandles newlines in values,
1049 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1052 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1053 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1057 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1064 ## ----------------- ##
1065 ## Output variables. ##
1066 ## ----------------- ##
1069 for ac_var in $ac_subst_vars
1071 eval ac_val=$`echo $ac_var`
1072 echo "$ac_var='"'"'$ac_val'"'"'"
1076 if test -n "$ac_subst_files"; then
1083 for ac_var in $ac_subst_files
1085 eval ac_val=$`echo $ac_var`
1086 echo "$ac_var='"'"'$ac_val'"'"'"
1091 if test -s confdefs.h; then
1098 sed "/^$/d" confdefs.h | sort
1101 test "$ac_signal" != 0 &&
1102 echo "$as_me: caught signal $ac_signal"
1103 echo "$as_me: exit $exit_status"
1105 rm -f core *.core &&
1106 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1109 for ac_signal in 1 2 13 15; do
1110 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1114 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1115 rm -rf conftest* confdefs.h
1116 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1119 # Predefined preprocessor variables.
1121 cat >>confdefs.h <<_ACEOF
1122 #define PACKAGE_NAME "$PACKAGE_NAME"
1126 cat >>confdefs.h <<_ACEOF
1127 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1131 cat >>confdefs.h <<_ACEOF
1132 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1136 cat >>confdefs.h <<_ACEOF
1137 #define PACKAGE_STRING "$PACKAGE_STRING"
1141 cat >>confdefs.h <<_ACEOF
1142 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1146 # Let the site file select an alternate cache file if it wants to.
1147 # Prefer explicitly selected file to automatically selected ones.
1148 if test -z "$CONFIG_SITE"; then
1149 if test "x$prefix" != xNONE; then
1150 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1152 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1155 for ac_site_file in $CONFIG_SITE; do
1156 if test -r "$ac_site_file"; then
1157 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1158 echo "$as_me: loading site script $ac_site_file" >&6;}
1159 sed 's/^/| /' "$ac_site_file" >&5
1164 if test -r "$cache_file"; then
1165 # Some versions of bash will fail to source /dev/null (special
1166 # files actually), so we avoid doing that.
1167 if test -f "$cache_file"; then
1168 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1169 echo "$as_me: loading cache $cache_file" >&6;}
1171 [\\/]* | ?:[\\/]* ) . $cache_file;;
1172 *) . ./$cache_file;;
1176 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1177 echo "$as_me: creating cache $cache_file" >&6;}
1181 # Check that the precious variables saved in the cache have kept the same
1183 ac_cache_corrupted=false
1184 for ac_var in `(set) 2>&1 |
1185 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1186 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1187 eval ac_new_set=\$ac_env_${ac_var}_set
1188 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1189 eval ac_new_val="\$ac_env_${ac_var}_value"
1190 case $ac_old_set,$ac_new_set in
1192 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1193 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1194 ac_cache_corrupted=: ;;
1196 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1197 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1198 ac_cache_corrupted=: ;;
1201 if test "x$ac_old_val" != "x$ac_new_val"; then
1202 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1203 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1204 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1205 echo "$as_me: former value: $ac_old_val" >&2;}
1206 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1207 echo "$as_me: current value: $ac_new_val" >&2;}
1208 ac_cache_corrupted=:
1211 # Pass precious variables to config.status.
1212 if test "$ac_new_set" = set; then
1214 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1215 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1216 *) ac_arg=$ac_var=$ac_new_val ;;
1218 case " $ac_configure_args " in
1219 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1220 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1224 if $ac_cache_corrupted; then
1225 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1226 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1227 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1228 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1229 { (exit 1); exit 1; }; }
1233 ac_cpp='$CPP $CPPFLAGS'
1234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1264 ac_config_headers="$ac_config_headers lib/defs.h"
1267 save_CFLAGS="${CFLAGS}"
1268 save_LDFLAGS="${LDFLAGS}"
1269 save_CPPFLAGS="${CPPFLAGS}"
1272 ac_cpp='$CPP $CPPFLAGS'
1273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1276 if test -n "$ac_tool_prefix"; then
1277 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1278 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1279 echo "$as_me:$LINENO: checking for $ac_word" >&5
1280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1281 if test "${ac_cv_prog_CC+set}" = set; then
1282 echo $ECHO_N "(cached) $ECHO_C" >&6
1284 if test -n "$CC"; then
1285 ac_cv_prog_CC="$CC" # Let the user override the test.
1287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1291 test -z "$as_dir" && as_dir=.
1292 for ac_exec_ext in '' $ac_executable_extensions; do
1293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1294 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1304 if test -n "$CC"; then
1305 echo "$as_me:$LINENO: result: $CC" >&5
1306 echo "${ECHO_T}$CC" >&6
1308 echo "$as_me:$LINENO: result: no" >&5
1309 echo "${ECHO_T}no" >&6
1313 if test -z "$ac_cv_prog_CC"; then
1315 # Extract the first word of "gcc", so it can be a program name with args.
1316 set dummy gcc; ac_word=$2
1317 echo "$as_me:$LINENO: checking for $ac_word" >&5
1318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1319 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1320 echo $ECHO_N "(cached) $ECHO_C" >&6
1322 if test -n "$ac_ct_CC"; then
1323 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1329 test -z "$as_dir" && as_dir=.
1330 for ac_exec_ext in '' $ac_executable_extensions; do
1331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1332 ac_cv_prog_ac_ct_CC="gcc"
1333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1341 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1342 if test -n "$ac_ct_CC"; then
1343 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1344 echo "${ECHO_T}$ac_ct_CC" >&6
1346 echo "$as_me:$LINENO: result: no" >&5
1347 echo "${ECHO_T}no" >&6
1355 if test -z "$CC"; then
1356 if test -n "$ac_tool_prefix"; then
1357 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1358 set dummy ${ac_tool_prefix}cc; ac_word=$2
1359 echo "$as_me:$LINENO: checking for $ac_word" >&5
1360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1361 if test "${ac_cv_prog_CC+set}" = set; then
1362 echo $ECHO_N "(cached) $ECHO_C" >&6
1364 if test -n "$CC"; then
1365 ac_cv_prog_CC="$CC" # Let the user override the test.
1367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1371 test -z "$as_dir" && as_dir=.
1372 for ac_exec_ext in '' $ac_executable_extensions; do
1373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1374 ac_cv_prog_CC="${ac_tool_prefix}cc"
1375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1384 if test -n "$CC"; then
1385 echo "$as_me:$LINENO: result: $CC" >&5
1386 echo "${ECHO_T}$CC" >&6
1388 echo "$as_me:$LINENO: result: no" >&5
1389 echo "${ECHO_T}no" >&6
1393 if test -z "$ac_cv_prog_CC"; then
1395 # Extract the first word of "cc", so it can be a program name with args.
1396 set dummy cc; ac_word=$2
1397 echo "$as_me:$LINENO: checking for $ac_word" >&5
1398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1399 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1400 echo $ECHO_N "(cached) $ECHO_C" >&6
1402 if test -n "$ac_ct_CC"; then
1403 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1409 test -z "$as_dir" && as_dir=.
1410 for ac_exec_ext in '' $ac_executable_extensions; do
1411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1412 ac_cv_prog_ac_ct_CC="cc"
1413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1421 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1422 if test -n "$ac_ct_CC"; then
1423 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1424 echo "${ECHO_T}$ac_ct_CC" >&6
1426 echo "$as_me:$LINENO: result: no" >&5
1427 echo "${ECHO_T}no" >&6
1436 if test -z "$CC"; then
1437 # Extract the first word of "cc", so it can be a program name with args.
1438 set dummy cc; ac_word=$2
1439 echo "$as_me:$LINENO: checking for $ac_word" >&5
1440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1441 if test "${ac_cv_prog_CC+set}" = set; then
1442 echo $ECHO_N "(cached) $ECHO_C" >&6
1444 if test -n "$CC"; then
1445 ac_cv_prog_CC="$CC" # Let the user override the test.
1448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1452 test -z "$as_dir" && as_dir=.
1453 for ac_exec_ext in '' $ac_executable_extensions; do
1454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1455 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1456 ac_prog_rejected=yes
1460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1466 if test $ac_prog_rejected = yes; then
1467 # We found a bogon in the path, so make sure we never use it.
1468 set dummy $ac_cv_prog_CC
1470 if test $# != 0; then
1471 # We chose a different compiler from the bogus one.
1472 # However, it has the same basename, so the bogon will be chosen
1473 # first if we set CC to just the basename; use the full file name.
1475 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1481 if test -n "$CC"; then
1482 echo "$as_me:$LINENO: result: $CC" >&5
1483 echo "${ECHO_T}$CC" >&6
1485 echo "$as_me:$LINENO: result: no" >&5
1486 echo "${ECHO_T}no" >&6
1490 if test -z "$CC"; then
1491 if test -n "$ac_tool_prefix"; then
1494 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1495 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1496 echo "$as_me:$LINENO: checking for $ac_word" >&5
1497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1498 if test "${ac_cv_prog_CC+set}" = set; then
1499 echo $ECHO_N "(cached) $ECHO_C" >&6
1501 if test -n "$CC"; then
1502 ac_cv_prog_CC="$CC" # Let the user override the test.
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1508 test -z "$as_dir" && as_dir=.
1509 for ac_exec_ext in '' $ac_executable_extensions; do
1510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1511 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1521 if test -n "$CC"; then
1522 echo "$as_me:$LINENO: result: $CC" >&5
1523 echo "${ECHO_T}$CC" >&6
1525 echo "$as_me:$LINENO: result: no" >&5
1526 echo "${ECHO_T}no" >&6
1529 test -n "$CC" && break
1532 if test -z "$CC"; then
1536 # Extract the first word of "$ac_prog", so it can be a program name with args.
1537 set dummy $ac_prog; ac_word=$2
1538 echo "$as_me:$LINENO: checking for $ac_word" >&5
1539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1540 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1541 echo $ECHO_N "(cached) $ECHO_C" >&6
1543 if test -n "$ac_ct_CC"; then
1544 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1550 test -z "$as_dir" && as_dir=.
1551 for ac_exec_ext in '' $ac_executable_extensions; do
1552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1553 ac_cv_prog_ac_ct_CC="$ac_prog"
1554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1562 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1563 if test -n "$ac_ct_CC"; then
1564 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1565 echo "${ECHO_T}$ac_ct_CC" >&6
1567 echo "$as_me:$LINENO: result: no" >&5
1568 echo "${ECHO_T}no" >&6
1571 test -n "$ac_ct_CC" && break
1580 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1581 See \`config.log' for more details." >&5
1582 echo "$as_me: error: no acceptable C compiler found in \$PATH
1583 See \`config.log' for more details." >&2;}
1584 { (exit 1); exit 1; }; }
1586 # Provide some information about the compiler.
1587 echo "$as_me:$LINENO:" \
1588 "checking for C compiler version" >&5
1589 ac_compiler=`set X $ac_compile; echo $2`
1590 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1591 (eval $ac_compiler --version </dev/null >&5) 2>&5
1593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1594 (exit $ac_status); }
1595 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1596 (eval $ac_compiler -v </dev/null >&5) 2>&5
1598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1599 (exit $ac_status); }
1600 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1601 (eval $ac_compiler -V </dev/null >&5) 2>&5
1603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1604 (exit $ac_status); }
1606 cat >conftest.$ac_ext <<_ACEOF
1609 cat confdefs.h >>conftest.$ac_ext
1610 cat >>conftest.$ac_ext <<_ACEOF
1611 /* end confdefs.h. */
1621 ac_clean_files_save=$ac_clean_files
1622 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1623 # Try to create an executable without -o first, disregard a.out.
1624 # It will help us diagnose broken compilers, and finding out an intuition
1626 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1627 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1628 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1629 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1630 (eval $ac_link_default) 2>&5
1632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1633 (exit $ac_status); }; then
1634 # Find the output, starting from the most likely. This scheme is
1635 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1638 # Be careful to initialize this variable, since it used to be cached.
1639 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1641 # b.out is created by i960 compilers.
1642 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1644 test -f "$ac_file" || continue
1646 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1649 # This is the source file.
1652 # We found the default executable, but exeext='' is most
1656 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1657 # FIXME: I believe we export ac_cv_exeext for Libtool,
1658 # but it would be cool to find out if it's true. Does anybody
1659 # maintain Libtool? --akim.
1667 echo "$as_me: failed program was:" >&5
1668 sed 's/^/| /' conftest.$ac_ext >&5
1670 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1671 See \`config.log' for more details." >&5
1672 echo "$as_me: error: C compiler cannot create executables
1673 See \`config.log' for more details." >&2;}
1674 { (exit 77); exit 77; }; }
1677 ac_exeext=$ac_cv_exeext
1678 echo "$as_me:$LINENO: result: $ac_file" >&5
1679 echo "${ECHO_T}$ac_file" >&6
1681 # Check the compiler produces executables we can run. If not, either
1682 # the compiler is broken, or we cross compile.
1683 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1684 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1685 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1686 # If not cross compiling, check that we can run a simple program.
1687 if test "$cross_compiling" != yes; then
1688 if { ac_try='./$ac_file'
1689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1693 (exit $ac_status); }; }; then
1696 if test "$cross_compiling" = maybe; then
1699 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1700 If you meant to cross compile, use \`--host'.
1701 See \`config.log' for more details." >&5
1702 echo "$as_me: error: cannot run C compiled programs.
1703 If you meant to cross compile, use \`--host'.
1704 See \`config.log' for more details." >&2;}
1705 { (exit 1); exit 1; }; }
1709 echo "$as_me:$LINENO: result: yes" >&5
1710 echo "${ECHO_T}yes" >&6
1712 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1713 ac_clean_files=$ac_clean_files_save
1714 # Check the compiler produces executables we can run. If not, either
1715 # the compiler is broken, or we cross compile.
1716 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1717 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1718 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1719 echo "${ECHO_T}$cross_compiling" >&6
1721 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1722 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1724 (eval $ac_link) 2>&5
1726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1727 (exit $ac_status); }; then
1728 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1729 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1730 # work properly (i.e., refer to `conftest.exe'), while it won't with
1732 for ac_file in conftest.exe conftest conftest.*; do
1733 test -f "$ac_file" || continue
1735 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1736 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1743 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1744 See \`config.log' for more details." >&5
1745 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1746 See \`config.log' for more details." >&2;}
1747 { (exit 1); exit 1; }; }
1750 rm -f conftest$ac_cv_exeext
1751 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1752 echo "${ECHO_T}$ac_cv_exeext" >&6
1754 rm -f conftest.$ac_ext
1755 EXEEXT=$ac_cv_exeext
1757 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1758 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1759 if test "${ac_cv_objext+set}" = set; then
1760 echo $ECHO_N "(cached) $ECHO_C" >&6
1762 cat >conftest.$ac_ext <<_ACEOF
1765 cat confdefs.h >>conftest.$ac_ext
1766 cat >>conftest.$ac_ext <<_ACEOF
1767 /* end confdefs.h. */
1777 rm -f conftest.o conftest.obj
1778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1779 (eval $ac_compile) 2>&5
1781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1782 (exit $ac_status); }; then
1783 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1785 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1786 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1791 echo "$as_me: failed program was:" >&5
1792 sed 's/^/| /' conftest.$ac_ext >&5
1794 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1795 See \`config.log' for more details." >&5
1796 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1797 See \`config.log' for more details." >&2;}
1798 { (exit 1); exit 1; }; }
1801 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1803 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1804 echo "${ECHO_T}$ac_cv_objext" >&6
1805 OBJEXT=$ac_cv_objext
1807 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1808 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1809 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1810 echo $ECHO_N "(cached) $ECHO_C" >&6
1812 cat >conftest.$ac_ext <<_ACEOF
1815 cat confdefs.h >>conftest.$ac_ext
1816 cat >>conftest.$ac_ext <<_ACEOF
1817 /* end confdefs.h. */
1830 rm -f conftest.$ac_objext
1831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1832 (eval $ac_compile) 2>conftest.er1
1834 grep -v '^ *+' conftest.er1 >conftest.err
1836 cat conftest.err >&5
1837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1838 (exit $ac_status); } &&
1839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1844 (exit $ac_status); }; } &&
1845 { ac_try='test -s conftest.$ac_objext'
1846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1850 (exit $ac_status); }; }; then
1853 echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.$ac_ext >&5
1858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1859 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1862 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1863 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1864 GCC=`test $ac_compiler_gnu = yes && echo yes`
1865 ac_test_CFLAGS=${CFLAGS+set}
1866 ac_save_CFLAGS=$CFLAGS
1868 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1869 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1870 if test "${ac_cv_prog_cc_g+set}" = set; then
1871 echo $ECHO_N "(cached) $ECHO_C" >&6
1873 cat >conftest.$ac_ext <<_ACEOF
1876 cat confdefs.h >>conftest.$ac_ext
1877 cat >>conftest.$ac_ext <<_ACEOF
1878 /* end confdefs.h. */
1888 rm -f conftest.$ac_objext
1889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1890 (eval $ac_compile) 2>conftest.er1
1892 grep -v '^ *+' conftest.er1 >conftest.err
1894 cat conftest.err >&5
1895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1896 (exit $ac_status); } &&
1897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1902 (exit $ac_status); }; } &&
1903 { ac_try='test -s conftest.$ac_objext'
1904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1908 (exit $ac_status); }; }; then
1911 echo "$as_me: failed program was:" >&5
1912 sed 's/^/| /' conftest.$ac_ext >&5
1916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1918 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1919 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1920 if test "$ac_test_CFLAGS" = set; then
1921 CFLAGS=$ac_save_CFLAGS
1922 elif test $ac_cv_prog_cc_g = yes; then
1923 if test "$GCC" = yes; then
1929 if test "$GCC" = yes; then
1935 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1936 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1937 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1938 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 ac_cv_prog_cc_stdc=no
1942 cat >conftest.$ac_ext <<_ACEOF
1945 cat confdefs.h >>conftest.$ac_ext
1946 cat >>conftest.$ac_ext <<_ACEOF
1947 /* end confdefs.h. */
1950 #include <sys/types.h>
1951 #include <sys/stat.h>
1952 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1953 struct buf { int x; };
1954 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1955 static char *e (p, i)
1961 static char *f (char * (*g) (char **, int), char **p, ...)
1966 s = g (p, va_arg (v,int));
1971 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1972 function prototypes and stuff, but not '\xHH' hex character constants.
1973 These don't provoke an error unfortunately, instead are silently treated
1974 as 'x'. The following induces an error, until -std1 is added to get
1975 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1976 array size at least. It's necessary to write '\x00'==0 to get something
1977 that's true only with -std1. */
1978 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1980 int test (int i, double x);
1981 struct s1 {int (*f) (int a);};
1982 struct s2 {int (*f) (double a);};
1983 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1989 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1994 # Don't try gcc -ansi; that turns off useful extensions and
1995 # breaks some systems' header files.
1996 # AIX -qlanglvl=ansi
1997 # Ultrix and OSF/1 -std1
1998 # HP-UX 10.20 and later -Ae
1999 # HP-UX older versions -Aa -D_HPUX_SOURCE
2000 # SVR4 -Xc -D__EXTENSIONS__
2001 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2003 CC="$ac_save_CC $ac_arg"
2004 rm -f conftest.$ac_objext
2005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2006 (eval $ac_compile) 2>conftest.er1
2008 grep -v '^ *+' conftest.er1 >conftest.err
2010 cat conftest.err >&5
2011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2012 (exit $ac_status); } &&
2013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2018 (exit $ac_status); }; } &&
2019 { ac_try='test -s conftest.$ac_objext'
2020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2024 (exit $ac_status); }; }; then
2025 ac_cv_prog_cc_stdc=$ac_arg
2028 echo "$as_me: failed program was:" >&5
2029 sed 's/^/| /' conftest.$ac_ext >&5
2032 rm -f conftest.err conftest.$ac_objext
2034 rm -f conftest.$ac_ext conftest.$ac_objext
2039 case "x$ac_cv_prog_cc_stdc" in
2041 echo "$as_me:$LINENO: result: none needed" >&5
2042 echo "${ECHO_T}none needed" >&6 ;;
2044 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2045 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2046 CC="$CC $ac_cv_prog_cc_stdc" ;;
2049 # Some people use a C++ compiler to compile C. Since we use `exit',
2050 # in C++ we need to declare it. In case someone uses the same compiler
2051 # for both compiling C and C++ we need to have the C++ compiler decide
2052 # the declaration of exit, since it's the most demanding environment.
2053 cat >conftest.$ac_ext <<_ACEOF
2058 rm -f conftest.$ac_objext
2059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2060 (eval $ac_compile) 2>conftest.er1
2062 grep -v '^ *+' conftest.er1 >conftest.err
2064 cat conftest.err >&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); } &&
2067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2072 (exit $ac_status); }; } &&
2073 { ac_try='test -s conftest.$ac_objext'
2074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2078 (exit $ac_status); }; }; then
2079 for ac_declaration in \
2081 'extern "C" void std::exit (int) throw (); using std::exit;' \
2082 'extern "C" void std::exit (int); using std::exit;' \
2083 'extern "C" void exit (int) throw ();' \
2084 'extern "C" void exit (int);' \
2087 cat >conftest.$ac_ext <<_ACEOF
2090 cat confdefs.h >>conftest.$ac_ext
2091 cat >>conftest.$ac_ext <<_ACEOF
2092 /* end confdefs.h. */
2103 rm -f conftest.$ac_objext
2104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2105 (eval $ac_compile) 2>conftest.er1
2107 grep -v '^ *+' conftest.er1 >conftest.err
2109 cat conftest.err >&5
2110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2111 (exit $ac_status); } &&
2112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2117 (exit $ac_status); }; } &&
2118 { ac_try='test -s conftest.$ac_objext'
2119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); }; }; then
2126 echo "$as_me: failed program was:" >&5
2127 sed 's/^/| /' conftest.$ac_ext >&5
2131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2132 cat >conftest.$ac_ext <<_ACEOF
2135 cat confdefs.h >>conftest.$ac_ext
2136 cat >>conftest.$ac_ext <<_ACEOF
2137 /* end confdefs.h. */
2147 rm -f conftest.$ac_objext
2148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2149 (eval $ac_compile) 2>conftest.er1
2151 grep -v '^ *+' conftest.er1 >conftest.err
2153 cat conftest.err >&5
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); } &&
2156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 (exit $ac_status); }; } &&
2162 { ac_try='test -s conftest.$ac_objext'
2163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); }; }; then
2170 echo "$as_me: failed program was:" >&5
2171 sed 's/^/| /' conftest.$ac_ext >&5
2174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2177 if test -n "$ac_declaration"; then
2178 echo '#ifdef __cplusplus' >>confdefs.h
2179 echo $ac_declaration >>confdefs.h
2180 echo '#endif' >>confdefs.h
2184 echo "$as_me: failed program was:" >&5
2185 sed 's/^/| /' conftest.$ac_ext >&5
2188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2190 ac_cpp='$CPP $CPPFLAGS'
2191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2196 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2197 if test -f $ac_dir/install-sh; then
2199 ac_install_sh="$ac_aux_dir/install-sh -c"
2201 elif test -f $ac_dir/install.sh; then
2203 ac_install_sh="$ac_aux_dir/install.sh -c"
2205 elif test -f $ac_dir/shtool; then
2207 ac_install_sh="$ac_aux_dir/shtool install -c"
2211 if test -z "$ac_aux_dir"; then
2212 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2213 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2214 { (exit 1); exit 1; }; }
2216 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2217 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2218 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2220 # Find a good install program. We prefer a C program (faster),
2221 # so one script is as good as another. But avoid the broken or
2222 # incompatible versions:
2223 # SysV /etc/install, /usr/sbin/install
2224 # SunOS /usr/etc/install
2225 # IRIX /sbin/install
2227 # AmigaOS /C/install, which installs bootblocks on floppy discs
2228 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2229 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2230 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2231 # OS/2's system install, which has a completely different semantic
2232 # ./install, which can be erroneously created by make from ./install.sh.
2233 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2234 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2235 if test -z "$INSTALL"; then
2236 if test "${ac_cv_path_install+set}" = set; then
2237 echo $ECHO_N "(cached) $ECHO_C" >&6
2239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2243 test -z "$as_dir" && as_dir=.
2244 # Account for people who put trailing slashes in PATH elements.
2246 ./ | .// | /cC/* | \
2247 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2248 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2251 # OSF1 and SCO ODT 3.0 have their own names for install.
2252 # Don't use installbsd from OSF since it installs stuff as root
2254 for ac_prog in ginstall scoinst install; do
2255 for ac_exec_ext in '' $ac_executable_extensions; do
2256 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2257 if test $ac_prog = install &&
2258 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2259 # AIX install. It has an incompatible calling convention.
2261 elif test $ac_prog = install &&
2262 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2263 # program-specific install script used by HP pwplus--don't use.
2266 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2278 if test "${ac_cv_path_install+set}" = set; then
2279 INSTALL=$ac_cv_path_install
2281 # As a last resort, use the slow shell script. We don't cache a
2282 # path for INSTALL within a source directory, because that will
2283 # break other packages using the cache if that directory is
2284 # removed, or if the path is relative.
2285 INSTALL=$ac_install_sh
2288 echo "$as_me:$LINENO: result: $INSTALL" >&5
2289 echo "${ECHO_T}$INSTALL" >&6
2291 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2292 # It thinks the first close brace ends the variable substitution.
2293 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2295 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2297 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2301 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2302 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2303 if test "${ac_cv_c_const+set}" = set; then
2304 echo $ECHO_N "(cached) $ECHO_C" >&6
2306 cat >conftest.$ac_ext <<_ACEOF
2309 cat confdefs.h >>conftest.$ac_ext
2310 cat >>conftest.$ac_ext <<_ACEOF
2311 /* end confdefs.h. */
2316 /* FIXME: Include the comments suggested by Paul. */
2318 /* Ultrix mips cc rejects this. */
2319 typedef int charset[2];
2321 /* SunOS 4.1.1 cc rejects this. */
2322 char const *const *ccp;
2324 /* NEC SVR4.0.2 mips cc rejects this. */
2325 struct point {int x, y;};
2326 static struct point const zero = {0,0};
2327 /* AIX XL C 1.02.0.0 rejects this.
2328 It does not let you subtract one const X* pointer from another in
2329 an arm of an if-expression whose if-part is not a constant
2331 const char *g = "string";
2332 ccp = &g + (g ? g-g : 0);
2333 /* HPUX 7.0 cc rejects these. */
2336 ccp = (char const *const *) p;
2337 { /* SCO 3.2v4 cc rejects this. */
2339 char const *s = 0 ? (char *) 0 : (char const *) 0;
2343 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2345 const int *foo = &x[0];
2348 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2349 typedef const int *iptr;
2353 { /* AIX XL C 1.02.0.0 rejects this saying
2354 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2355 struct s { int j; const int *ap[3]; };
2356 struct s *b; b->j = 5;
2358 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2367 rm -f conftest.$ac_objext
2368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2369 (eval $ac_compile) 2>conftest.er1
2371 grep -v '^ *+' conftest.er1 >conftest.err
2373 cat conftest.err >&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); } &&
2376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); }; } &&
2382 { ac_try='test -s conftest.$ac_objext'
2383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; }; then
2390 echo "$as_me: failed program was:" >&5
2391 sed 's/^/| /' conftest.$ac_ext >&5
2395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2397 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
2398 echo "${ECHO_T}$ac_cv_c_const" >&6
2399 if test $ac_cv_c_const = no; then
2401 cat >>confdefs.h <<\_ACEOF
2407 echo "$as_me:$LINENO: checking for inline" >&5
2408 echo $ECHO_N "checking for inline... $ECHO_C" >&6
2409 if test "${ac_cv_c_inline+set}" = set; then
2410 echo $ECHO_N "(cached) $ECHO_C" >&6
2413 for ac_kw in inline __inline__ __inline; do
2414 cat >conftest.$ac_ext <<_ACEOF
2417 cat confdefs.h >>conftest.$ac_ext
2418 cat >>conftest.$ac_ext <<_ACEOF
2419 /* end confdefs.h. */
2422 static $ac_kw foo_t static_foo () {return 0; }
2423 $ac_kw foo_t foo () {return 0; }
2427 rm -f conftest.$ac_objext
2428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2429 (eval $ac_compile) 2>conftest.er1
2431 grep -v '^ *+' conftest.er1 >conftest.err
2433 cat conftest.err >&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); } &&
2436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }; } &&
2442 { ac_try='test -s conftest.$ac_objext'
2443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447 (exit $ac_status); }; }; then
2448 ac_cv_c_inline=$ac_kw; break
2450 echo "$as_me: failed program was:" >&5
2451 sed 's/^/| /' conftest.$ac_ext >&5
2454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2458 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
2459 echo "${ECHO_T}$ac_cv_c_inline" >&6
2462 case $ac_cv_c_inline in
2465 case $ac_cv_c_inline in
2467 *) ac_val=$ac_cv_c_inline;;
2469 cat >>confdefs.h <<_ACEOF
2471 #define inline $ac_val
2478 #####################################################################
2482 #####################################################################
2484 echo "$as_me:$LINENO: checking for pow in -lm" >&5
2485 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
2486 if test "${ac_cv_lib_m_pow+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2489 ac_check_lib_save_LIBS=$LIBS
2491 cat >conftest.$ac_ext <<_ACEOF
2494 cat confdefs.h >>conftest.$ac_ext
2495 cat >>conftest.$ac_ext <<_ACEOF
2496 /* end confdefs.h. */
2498 /* Override any gcc2 internal prototype to avoid an error. */
2502 /* We use char because int might match the return type of a gcc2
2503 builtin and then its argument prototype would still apply. */
2513 rm -f conftest.$ac_objext conftest$ac_exeext
2514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2515 (eval $ac_link) 2>conftest.er1
2517 grep -v '^ *+' conftest.er1 >conftest.err
2519 cat conftest.err >&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); } &&
2522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; } &&
2528 { ac_try='test -s conftest$ac_exeext'
2529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }; }; then
2536 echo "$as_me: failed program was:" >&5
2537 sed 's/^/| /' conftest.$ac_ext >&5
2541 rm -f conftest.err conftest.$ac_objext \
2542 conftest$ac_exeext conftest.$ac_ext
2543 LIBS=$ac_check_lib_save_LIBS
2545 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
2546 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
2547 if test $ac_cv_lib_m_pow = yes; then
2555 echo "*** Error: libm required ***"
2562 #####################################################################
2564 ## verbose error strings
2566 #####################################################################
2567 # Check whether --enable-verbose-errors or --disable-verbose-errors was given.
2568 if test "${enable_verbose_errors+set}" = set; then
2569 enableval="$enable_verbose_errors"
2571 if test x$enableval = xyes; then
2573 cat >>confdefs.h <<_ACEOF
2574 #define VERBOSE_ERRORS "1"
2581 #####################################################################
2583 ## compile decisions
2585 #####################################################################
2586 COMPILE_LIBNL="Yes "
2591 ac_config_files="$ac_config_files Makefile.opts libnl-1.pc"
2592 cat >confcache <<\_ACEOF
2593 # This file is a shell script that caches the results of configure
2594 # tests run on this system so they can be shared between configure
2595 # scripts and configure runs, see configure's option --config-cache.
2596 # It is not useful on other systems. If it contains results you don't
2597 # want to keep, you may remove or edit it.
2599 # config.status only pays attention to the cache file if you give it
2600 # the --recheck option to rerun configure.
2602 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2603 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2608 # The following way of writing the cache mishandles newlines in values,
2609 # but we know of no workaround that is simple, portable, and efficient.
2610 # So, don't put newlines in cache variables' values.
2611 # Ultrix sh set writes to stderr and can't be redirected directly,
2612 # and sets the high bit in the cache file unless we assign to the vars.
2615 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2617 # `set' does not quote correctly, so add quotes (double-quote
2618 # substitution turns \\\\ into \\, and sed turns \\ into \).
2621 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2624 # `set' quotes correctly as required by POSIX, so do not add quotes.
2626 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2633 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2635 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2637 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2638 if test -w $cache_file; then
2639 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2640 cat confcache >$cache_file
2642 echo "not updating unwritable cache $cache_file"
2647 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2648 # Let make expand exec_prefix.
2649 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2651 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2652 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2653 # trailing colons and then remove the whole line if VPATH becomes empty
2654 # (actually we leave an empty line to preserve line numbers).
2655 if test "x$srcdir" = x.; then
2656 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2657 s/:*\$(srcdir):*/:/;
2658 s/:*\${srcdir}:*/:/;
2660 s/^\([^=]*=[ ]*\):*/\1/;
2666 DEFS=-DHAVE_CONFIG_H
2670 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2671 # 1. Remove the extension, and $U if already installed.
2672 ac_i=`echo "$ac_i" |
2673 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2675 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2676 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2680 LTLIBOBJS=$ac_ltlibobjs
2684 : ${CONFIG_STATUS=./config.status}
2685 ac_clean_files_save=$ac_clean_files
2686 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2687 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2688 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2689 cat >$CONFIG_STATUS <<_ACEOF
2691 # Generated by $as_me.
2692 # Run this file to recreate the current configuration.
2693 # Compiler output produced by configure, useful for debugging
2694 # configure, is in config.log if it exists.
2699 SHELL=\${CONFIG_SHELL-$SHELL}
2702 cat >>$CONFIG_STATUS <<\_ACEOF
2703 ## --------------------- ##
2704 ## M4sh Initialization. ##
2705 ## --------------------- ##
2707 # Be Bourne compatible
2708 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2711 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2712 # is contrary to our usage. Disable this feature.
2713 alias -g '${1+"$@"}'='"$@"'
2714 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2717 DUALCASE=1; export DUALCASE # for MKS sh
2719 # Support unset when possible.
2720 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2727 # Work around bugs in pre-3.0 UWIN ksh.
2728 $as_unset ENV MAIL MAILPATH
2735 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2736 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2737 LC_TELEPHONE LC_TIME
2739 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2740 eval $as_var=C; export $as_var
2746 # Required to use basename.
2747 if expr a : '\(a\)' >/dev/null 2>&1; then
2753 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2754 as_basename=basename
2760 # Name of the executable.
2761 as_me=`$as_basename "$0" ||
2762 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2763 X"$0" : 'X\(//\)$' \| \
2764 X"$0" : 'X\(/\)$' \| \
2765 . : '\(.\)' 2>/dev/null ||
2767 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2768 /^X\/\(\/\/\)$/{ s//\1/; q; }
2769 /^X\/\(\/\).*/{ s//\1/; q; }
2773 # PATH needs CR, and LINENO needs CR and PATH.
2774 # Avoid depending upon Character Ranges.
2775 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2776 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2777 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2778 as_cr_digits='0123456789'
2779 as_cr_alnum=$as_cr_Letters$as_cr_digits
2781 # The user is always right.
2782 if test "${PATH_SEPARATOR+set}" != set; then
2783 echo "#! /bin/sh" >conf$$.sh
2784 echo "exit 0" >>conf$$.sh
2786 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2797 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2798 test "x$as_lineno_1" != "x$as_lineno_2" &&
2799 test "x$as_lineno_3" = "x$as_lineno_2" || {
2800 # Find who we are. Look in the path if we contain no path at all
2803 *[\\/]* ) as_myself=$0 ;;
2804 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2808 test -z "$as_dir" && as_dir=.
2809 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2814 # We did not find ourselves, most probably we were run as `sh COMMAND'
2815 # in which case we are not to be found in the path.
2816 if test "x$as_myself" = x; then
2819 if test ! -f "$as_myself"; then
2820 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2821 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2822 { (exit 1); exit 1; }; }
2824 case $CONFIG_SHELL in
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2830 test -z "$as_dir" && as_dir=.
2831 for as_base in sh bash ksh sh5; do
2834 if ("$as_dir/$as_base" -c '
2837 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2838 test "x$as_lineno_1" != "x$as_lineno_2" &&
2839 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2840 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2841 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2842 CONFIG_SHELL=$as_dir/$as_base
2844 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2852 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2853 # uniformly replaced by the line number. The first 'sed' inserts a
2854 # line-number line before each line; the second 'sed' does the real
2855 # work. The second script uses 'N' to pair each line-number line
2856 # with the numbered line, and appends trailing '-' during
2857 # substitution so that $LINENO is not a special case at line end.
2858 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2859 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2860 sed '=' <$as_myself |
2865 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2868 s,^['$as_cr_digits']*\n,,
2870 chmod +x $as_me.lineno ||
2871 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2872 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2873 { (exit 1); exit 1; }; }
2875 # Don't try to exec as it changes $[0], causing all sort of problems
2876 # (the dirname of $[0] is not the place where we might find the
2877 # original and so on. Autoconf is especially sensible to this).
2879 # Exit status is that of the last command.
2884 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2885 *c*,-n*) ECHO_N= ECHO_C='
2887 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2888 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2891 if expr a : '\(a\)' >/dev/null 2>&1; then
2897 rm -f conf$$ conf$$.exe conf$$.file
2899 if ln -s conf$$.file conf$$ 2>/dev/null; then
2900 # We could just check for DJGPP; but this test a) works b) is more generic
2901 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2902 if test -f conf$$.exe; then
2903 # Don't use ln at all; we don't have any links
2908 elif ln conf$$.file conf$$ 2>/dev/null; then
2913 rm -f conf$$ conf$$.exe conf$$.file
2915 if mkdir -p . 2>/dev/null; then
2918 test -d ./-p && rmdir ./-p
2922 as_executable_p="test -f"
2924 # Sed expression to map a string onto a valid CPP name.
2925 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2927 # Sed expression to map a string onto a valid variable name.
2928 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2932 # We need space, tab and new line, in precisely that order.
2942 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2943 # report actual input values of CONFIG_FILES etc. instead of their
2944 # values after options handling. Logging --version etc. is OK.
2948 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2949 ## Running $as_me. ##
2954 This file was extended by libnl $as_me 1.0-pre6, which was
2955 generated by GNU Autoconf 2.59. Invocation command line was
2957 CONFIG_FILES = $CONFIG_FILES
2958 CONFIG_HEADERS = $CONFIG_HEADERS
2959 CONFIG_LINKS = $CONFIG_LINKS
2960 CONFIG_COMMANDS = $CONFIG_COMMANDS
2964 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2968 # Files that config.status was made for.
2969 if test -n "$ac_config_files"; then
2970 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2973 if test -n "$ac_config_headers"; then
2974 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2977 if test -n "$ac_config_links"; then
2978 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2981 if test -n "$ac_config_commands"; then
2982 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2985 cat >>$CONFIG_STATUS <<\_ACEOF
2988 \`$as_me' instantiates files from templates according to the
2989 current configuration.
2991 Usage: $0 [OPTIONS] [FILE]...
2993 -h, --help print this help, then exit
2994 -V, --version print version number, then exit
2995 -q, --quiet do not print progress messages
2996 -d, --debug don't remove temporary files
2997 --recheck update $as_me by reconfiguring in the same conditions
2998 --file=FILE[:TEMPLATE]
2999 instantiate the configuration file FILE
3000 --header=FILE[:TEMPLATE]
3001 instantiate the configuration header FILE
3003 Configuration files:
3006 Configuration headers:
3009 Report bugs to <bug-autoconf@gnu.org>."
3012 cat >>$CONFIG_STATUS <<_ACEOF
3014 libnl config.status 1.0-pre6
3015 configured by $0, generated by GNU Autoconf 2.59,
3016 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3018 Copyright (C) 2003 Free Software Foundation, Inc.
3019 This config.status script is free software; the Free Software Foundation
3020 gives unlimited permission to copy, distribute and modify it."
3025 cat >>$CONFIG_STATUS <<\_ACEOF
3026 # If no file are specified by the user, then we need to provide default
3027 # value. By we need to know if files were specified by the user.
3033 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3034 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3042 *) # This is not an option, so the user has probably given explicit
3045 ac_need_defaults=false;;
3049 # Handling of the options.
3051 cat >>$CONFIG_STATUS <<\_ACEOF
3052 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3054 --version | --vers* | -V )
3055 echo "$ac_cs_version"; exit 0 ;;
3057 # Conflict between --help and --header
3058 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3059 Try \`$0 --help' for more information." >&5
3060 echo "$as_me: error: ambiguous option: $1
3061 Try \`$0 --help' for more information." >&2;}
3062 { (exit 1); exit 1; }; };;
3063 --help | --hel | -h )
3064 echo "$ac_cs_usage"; exit 0 ;;
3065 --debug | --d* | -d )
3067 --file | --fil | --fi | --f )
3069 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3070 ac_need_defaults=false;;
3071 --header | --heade | --head | --hea )
3073 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3074 ac_need_defaults=false;;
3075 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3076 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3080 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3081 Try \`$0 --help' for more information." >&5
3082 echo "$as_me: error: unrecognized option: $1
3083 Try \`$0 --help' for more information." >&2;}
3084 { (exit 1); exit 1; }; } ;;
3086 *) ac_config_targets="$ac_config_targets $1" ;;
3092 ac_configure_extra_args=
3094 if $ac_cs_silent; then
3096 ac_configure_extra_args="$ac_configure_extra_args --silent"
3100 cat >>$CONFIG_STATUS <<_ACEOF
3101 if \$ac_cs_recheck; then
3102 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3103 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3112 cat >>$CONFIG_STATUS <<\_ACEOF
3113 for ac_config_target in $ac_config_targets
3115 case "$ac_config_target" in
3116 # Handling of arguments.
3117 "Makefile.opts" ) CONFIG_FILES="$CONFIG_FILES Makefile.opts" ;;
3118 "libnl-1.pc" ) CONFIG_FILES="$CONFIG_FILES libnl-1.pc" ;;
3119 "lib/defs.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/defs.h" ;;
3120 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3121 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3122 { (exit 1); exit 1; }; };;
3126 # If the user did not use the arguments to specify the items to instantiate,
3127 # then the envvar interface is used. Set only those that are not.
3128 # We use the long form for the default assignment because of an extremely
3129 # bizarre bug on SunOS 4.1.3.
3130 if $ac_need_defaults; then
3131 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3132 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3135 # Have a temporary directory for convenience. Make it in the build tree
3136 # simply because there is no reason to put it here, and in addition,
3137 # creating and moving files from /tmp can sometimes cause problems.
3138 # Create a temporary directory, and hook for its removal unless debugging.
3141 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3142 trap '{ (exit 1); exit 1; }' 1 2 13 15
3145 # Create a (secure) tmp directory for tmp files.
3148 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3149 test -n "$tmp" && test -d "$tmp"
3152 tmp=./confstat$$-$RANDOM
3153 (umask 077 && mkdir $tmp)
3156 echo "$me: cannot create a temporary directory in ." >&2
3157 { (exit 1); exit 1; }
3162 cat >>$CONFIG_STATUS <<_ACEOF
3165 # CONFIG_FILES section.
3168 # No need to generate the scripts if there are no CONFIG_FILES.
3169 # This happens for instance when ./config.status config.h
3170 if test -n "\$CONFIG_FILES"; then
3171 # Protect against being on the right side of a sed subst in config.status.
3172 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3173 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3174 s,@SHELL@,$SHELL,;t t
3175 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3176 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3177 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3178 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3179 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3180 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3181 s,@exec_prefix@,$exec_prefix,;t t
3182 s,@prefix@,$prefix,;t t
3183 s,@program_transform_name@,$program_transform_name,;t t
3184 s,@bindir@,$bindir,;t t
3185 s,@sbindir@,$sbindir,;t t
3186 s,@libexecdir@,$libexecdir,;t t
3187 s,@datadir@,$datadir,;t t
3188 s,@sysconfdir@,$sysconfdir,;t t
3189 s,@sharedstatedir@,$sharedstatedir,;t t
3190 s,@localstatedir@,$localstatedir,;t t
3191 s,@libdir@,$libdir,;t t
3192 s,@includedir@,$includedir,;t t
3193 s,@oldincludedir@,$oldincludedir,;t t
3194 s,@infodir@,$infodir,;t t
3195 s,@mandir@,$mandir,;t t
3196 s,@build_alias@,$build_alias,;t t
3197 s,@host_alias@,$host_alias,;t t
3198 s,@target_alias@,$target_alias,;t t
3200 s,@ECHO_C@,$ECHO_C,;t t
3201 s,@ECHO_N@,$ECHO_N,;t t
3202 s,@ECHO_T@,$ECHO_T,;t t
3205 s,@CFLAGS@,$CFLAGS,;t t
3206 s,@LDFLAGS@,$LDFLAGS,;t t
3207 s,@CPPFLAGS@,$CPPFLAGS,;t t
3208 s,@ac_ct_CC@,$ac_ct_CC,;t t
3209 s,@EXEEXT@,$EXEEXT,;t t
3210 s,@OBJEXT@,$OBJEXT,;t t
3211 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3212 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3213 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3214 s,@LIBNL_LIB@,$LIBNL_LIB,;t t
3215 s,@LIBOBJS@,$LIBOBJS,;t t
3216 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3221 cat >>$CONFIG_STATUS <<\_ACEOF
3222 # Split the substitutions into bite-sized pieces for seds with
3223 # small command number limits, like on Digital OSF/1 and HP-UX.
3225 ac_sed_frag=1 # Number of current file.
3226 ac_beg=1 # First line for current file.
3227 ac_end=$ac_max_sed_lines # Line after last line for current file.
3230 while $ac_more_lines; do
3231 if test $ac_beg -gt 1; then
3232 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3234 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3236 if test ! -s $tmp/subs.frag; then
3239 # The purpose of the label and of the branching condition is to
3240 # speed up the sed processing (if there are no `@' at all, there
3241 # is no need to browse any of the substitutions).
3242 # These are the two extra sed commands mentioned above.
3244 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3245 if test -z "$ac_sed_cmds"; then
3246 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3248 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3250 ac_sed_frag=`expr $ac_sed_frag + 1`
3252 ac_end=`expr $ac_end + $ac_max_sed_lines`
3255 if test -z "$ac_sed_cmds"; then
3258 fi # test -n "$CONFIG_FILES"
3261 cat >>$CONFIG_STATUS <<\_ACEOF
3262 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3263 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3265 - | *:- | *:-:* ) # input from stdin
3267 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3268 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3269 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3270 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3271 * ) ac_file_in=$ac_file.in ;;
3274 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3275 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3276 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3277 X"$ac_file" : 'X\(//\)[^/]' \| \
3278 X"$ac_file" : 'X\(//\)$' \| \
3279 X"$ac_file" : 'X\(/\)' \| \
3280 . : '\(.\)' 2>/dev/null ||
3282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3283 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3284 /^X\(\/\/\)$/{ s//\1/; q; }
3285 /^X\(\/\).*/{ s//\1/; q; }
3287 { if $as_mkdir_p; then
3292 while test ! -d "$as_dir"; do
3293 as_dirs="$as_dir $as_dirs"
3294 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3296 X"$as_dir" : 'X\(//\)[^/]' \| \
3297 X"$as_dir" : 'X\(//\)$' \| \
3298 X"$as_dir" : 'X\(/\)' \| \
3299 . : '\(.\)' 2>/dev/null ||
3301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3302 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3303 /^X\(\/\/\)$/{ s//\1/; q; }
3304 /^X\(\/\).*/{ s//\1/; q; }
3307 test ! -n "$as_dirs" || mkdir $as_dirs
3308 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3309 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3310 { (exit 1); exit 1; }; }; }
3314 if test "$ac_dir" != .; then
3315 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3316 # A "../" for each directory in $ac_dir_suffix.
3317 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3319 ac_dir_suffix= ac_top_builddir=
3323 .) # No --srcdir option. We are building in place.
3325 if test -z "$ac_top_builddir"; then
3328 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3330 [\\/]* | ?:[\\/]* ) # Absolute path.
3331 ac_srcdir=$srcdir$ac_dir_suffix;
3332 ac_top_srcdir=$srcdir ;;
3334 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3335 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3338 # Do not use `cd foo && pwd` to compute absolute paths, because
3339 # the directories may not exist.
3341 .) ac_abs_builddir="$ac_dir";;
3344 .) ac_abs_builddir=`pwd`;;
3345 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3346 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3349 case $ac_abs_builddir in
3350 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3352 case ${ac_top_builddir}. in
3353 .) ac_abs_top_builddir=$ac_abs_builddir;;
3354 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3355 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3358 case $ac_abs_builddir in
3359 .) ac_abs_srcdir=$ac_srcdir;;
3362 .) ac_abs_srcdir=$ac_abs_builddir;;
3363 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3364 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3367 case $ac_abs_builddir in
3368 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3370 case $ac_top_srcdir in
3371 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3372 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3373 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3379 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3380 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3383 # Let's still pretend it is `configure' which instantiates (i.e., don't
3384 # use $as_me), people would be surprised to read:
3385 # /* config.h. Generated by config.status. */
3386 if test x"$ac_file" = x-; then
3389 configure_input="$ac_file. "
3391 configure_input=$configure_input"Generated from `echo $ac_file_in |
3392 sed 's,.*/,,'` by configure."
3394 # First look for the input files in the build tree, otherwise in the
3396 ac_file_inputs=`IFS=:
3397 for f in $ac_file_in; do
3399 -) echo $tmp/stdin ;;
3401 # Absolute (can't be DOS-style, as IFS=:)
3402 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3403 echo "$as_me: error: cannot find input file: $f" >&2;}
3404 { (exit 1); exit 1; }; }
3407 if test -f "$f"; then
3410 elif test -f "$srcdir/$f"; then
3415 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3416 echo "$as_me: error: cannot find input file: $f" >&2;}
3417 { (exit 1); exit 1; }; }
3420 done` || { (exit 1); exit 1; }
3422 if test x"$ac_file" != x-; then
3423 { echo "$as_me:$LINENO: creating $ac_file" >&5
3424 echo "$as_me: creating $ac_file" >&6;}
3428 cat >>$CONFIG_STATUS <<_ACEOF
3432 cat >>$CONFIG_STATUS <<\_ACEOF
3434 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3435 s,@configure_input@,$configure_input,;t t
3436 s,@srcdir@,$ac_srcdir,;t t
3437 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3438 s,@top_srcdir@,$ac_top_srcdir,;t t
3439 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3440 s,@builddir@,$ac_builddir,;t t
3441 s,@abs_builddir@,$ac_abs_builddir,;t t
3442 s,@top_builddir@,$ac_top_builddir,;t t
3443 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3444 s,@INSTALL@,$ac_INSTALL,;t t
3445 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3447 if test x"$ac_file" != x-; then
3448 mv $tmp/out $ac_file
3456 cat >>$CONFIG_STATUS <<\_ACEOF
3459 # CONFIG_HEADER section.
3462 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3463 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3465 # ac_d sets the value in "#define NAME VALUE" lines.
3466 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3467 ac_dB='[ ].*$,\1#\2'
3470 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3471 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3472 ac_uB='$,\1#\2define\3'
3476 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3477 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3479 - | *:- | *:-:* ) # input from stdin
3481 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3482 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3483 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3484 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3485 * ) ac_file_in=$ac_file.in ;;
3488 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3489 echo "$as_me: creating $ac_file" >&6;}
3491 # First look for the input files in the build tree, otherwise in the
3493 ac_file_inputs=`IFS=:
3494 for f in $ac_file_in; do
3496 -) echo $tmp/stdin ;;
3498 # Absolute (can't be DOS-style, as IFS=:)
3499 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3500 echo "$as_me: error: cannot find input file: $f" >&2;}
3501 { (exit 1); exit 1; }; }
3502 # Do quote $f, to prevent DOS paths from being IFS'd.
3505 if test -f "$f"; then
3508 elif test -f "$srcdir/$f"; then
3513 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3514 echo "$as_me: error: cannot find input file: $f" >&2;}
3515 { (exit 1); exit 1; }; }
3518 done` || { (exit 1); exit 1; }
3519 # Remove the trailing spaces.
3520 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3524 # Transform confdefs.h into two sed scripts, `conftest.defines' and
3525 # `conftest.undefs', that substitutes the proper values into
3526 # config.h.in to produce config.h. The first handles `#define'
3527 # templates, and the second `#undef' templates.
3528 # And first: Protect against being on the right side of a sed subst in
3529 # config.status. Protect against being in an unquoted here document
3531 rm -f conftest.defines conftest.undefs
3532 # Using a here document instead of a string reduces the quoting nightmare.
3533 # Putting comments in sed scripts is not portable.
3535 # `end' is used to avoid that the second main sed command (meant for
3536 # 0-ary CPP macros) applies to n-ary macro definitions.
3537 # See the Autoconf documentation for `clear'.
3538 cat >confdef2sed.sed <<\_ACEOF
3543 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3545 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3548 # If some macros were called several times there might be several times
3549 # the same #defines, which is useless. Nevertheless, we may not want to
3550 # sort them, since we want the *last* AC-DEFINE to be honored.
3551 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3552 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3553 rm -f confdef2sed.sed
3555 # This sed command replaces #undef with comments. This is necessary, for
3556 # example, in the case of _POSIX_SOURCE, which is predefined and required
3557 # on some systems where configure will not decide to define it.
3558 cat >>conftest.undefs <<\_ACEOF
3559 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3562 # Break up conftest.defines because some shells have a limit on the size
3563 # of here documents, and old seds have small limits too (100 cmds).
3564 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3565 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3566 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3567 echo ' :' >>$CONFIG_STATUS
3569 while grep . conftest.defines >/dev/null
3571 # Write a limited-size here document to $tmp/defines.sed.
3572 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3573 # Speed up: don't consider the non `#define' lines.
3574 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
3575 # Work around the forget-to-reset-the-flag bug.
3576 echo 't clr' >>$CONFIG_STATUS
3577 echo ': clr' >>$CONFIG_STATUS
3578 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
3580 sed -f $tmp/defines.sed $tmp/in >$tmp/out
3584 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
3585 rm -f conftest.defines
3586 mv conftest.tail conftest.defines
3588 rm -f conftest.defines
3589 echo ' fi # grep' >>$CONFIG_STATUS
3590 echo >>$CONFIG_STATUS
3592 # Break up conftest.undefs because some shells have a limit on the size
3593 # of here documents, and old seds have small limits too (100 cmds).
3594 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
3596 while grep . conftest.undefs >/dev/null
3598 # Write a limited-size here document to $tmp/undefs.sed.
3599 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3600 # Speed up: don't consider the non `#undef'
3601 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
3602 # Work around the forget-to-reset-the-flag bug.
3603 echo 't clr' >>$CONFIG_STATUS
3604 echo ': clr' >>$CONFIG_STATUS
3605 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3607 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3611 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3612 rm -f conftest.undefs
3613 mv conftest.tail conftest.undefs
3615 rm -f conftest.undefs
3617 cat >>$CONFIG_STATUS <<\_ACEOF
3618 # Let's still pretend it is `configure' which instantiates (i.e., don't
3619 # use $as_me), people would be surprised to read:
3620 # /* config.h. Generated by config.status. */
3621 if test x"$ac_file" = x-; then
3622 echo "/* Generated by configure. */" >$tmp/config.h
3624 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
3626 cat $tmp/in >>$tmp/config.h
3628 if test x"$ac_file" != x-; then
3629 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
3630 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3631 echo "$as_me: $ac_file is unchanged" >&6;}
3633 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3634 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3635 X"$ac_file" : 'X\(//\)[^/]' \| \
3636 X"$ac_file" : 'X\(//\)$' \| \
3637 X"$ac_file" : 'X\(/\)' \| \
3638 . : '\(.\)' 2>/dev/null ||
3640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3641 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3642 /^X\(\/\/\)$/{ s//\1/; q; }
3643 /^X\(\/\).*/{ s//\1/; q; }
3645 { if $as_mkdir_p; then
3650 while test ! -d "$as_dir"; do
3651 as_dirs="$as_dir $as_dirs"
3652 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3653 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3654 X"$as_dir" : 'X\(//\)[^/]' \| \
3655 X"$as_dir" : 'X\(//\)$' \| \
3656 X"$as_dir" : 'X\(/\)' \| \
3657 . : '\(.\)' 2>/dev/null ||
3659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3660 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3661 /^X\(\/\/\)$/{ s//\1/; q; }
3662 /^X\(\/\).*/{ s//\1/; q; }
3665 test ! -n "$as_dirs" || mkdir $as_dirs
3666 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3667 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3668 { (exit 1); exit 1; }; }; }
3671 mv $tmp/config.h $ac_file
3680 cat >>$CONFIG_STATUS <<\_ACEOF
3682 { (exit 0); exit 0; }
3684 chmod +x $CONFIG_STATUS
3685 ac_clean_files=$ac_clean_files_save
3688 # configure is writing to config.log, and then calls config.status.
3689 # config.status does its own redirection, appending to config.log.
3690 # Unfortunately, on DOS this fails, as config.log is still kept open
3691 # by configure, so config.status won't be able to write to it; its
3692 # output is simply discarded. So we exec the FD to /dev/null,
3693 # effectively closing config.log, so it can be properly (re)opened and
3694 # appended to by config.status. When coming back to configure, we
3695 # need to make the FD available again.
3696 if test "$no_create" != yes; then
3698 ac_config_status_args=
3699 test "$silent" = yes &&
3700 ac_config_status_args="$ac_config_status_args --quiet"
3702 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3704 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3705 # would make configure fail if this is the last instruction.
3706 $ac_cs_success || { (exit 1); exit 1; }
3710 #####################################################################
3714 #####################################################################
3716 ----------------------------------------------------------------------
3719 Included in Compilation:
3720 libnl: $COMPILE_LIBNL $LIBNL_LIB