1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.65 for OpenLLDP 0.4alpha.
4#
5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8# Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92case $0 in #((
93  *[\\/]* ) as_myself=$0 ;;
94  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95for as_dir in $PATH
96do
97  IFS=$as_save_IFS
98  test -z "$as_dir" && as_dir=.
99    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100  done
101IFS=$as_save_IFS
102
103     ;;
104esac
105# We did not find ourselves, most probably we were run as `sh COMMAND'
106# in which case we are not to be found in the path.
107if test "x$as_myself" = x; then
108  as_myself=$0
109fi
110if test ! -f "$as_myself"; then
111  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112  exit 1
113fi
114
115# Unset variables that we do not need and which cause bugs (e.g. in
116# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117# suppresses any "Segmentation fault" message there.  '((' could
118# trigger a bug in pdksh 5.2.14.
119for as_var in BASH_ENV ENV MAIL MAILPATH
120do eval test x\${$as_var+set} = xset \
121  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122done
123PS1='$ '
124PS2='> '
125PS4='+ '
126
127# NLS nuisances.
128LC_ALL=C
129export LC_ALL
130LANGUAGE=C
131export LANGUAGE
132
133# CDPATH.
134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136if test "x$CONFIG_SHELL" = x; then
137  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138  emulate sh
139  NULLCMD=:
140  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141  # is contrary to our usage.  Disable this feature.
142  alias -g '\${1+\"\$@\"}'='\"\$@\"'
143  setopt NO_GLOB_SUBST
144else
145  case \`(set -o) 2>/dev/null\` in #(
146  *posix*) :
147    set -o posix ;; #(
148  *) :
149     ;;
150esac
151fi
152"
153  as_required="as_fn_return () { (exit \$1); }
154as_fn_success () { as_fn_return 0; }
155as_fn_failure () { as_fn_return 1; }
156as_fn_ret_success () { return 0; }
157as_fn_ret_failure () { return 1; }
158
159exitcode=0
160as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166else
167  exitcode=1; echo positional parameters were not saved.
168fi
169test x\$exitcode = x0 || exit 1"
170  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174test \$(( 1 + 1 )) = 2 || exit 1"
175  if (eval "$as_required") 2>/dev/null; then :
176  as_have_required=yes
177else
178  as_have_required=no
179fi
180  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182else
183  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184as_found=false
185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186do
187  IFS=$as_save_IFS
188  test -z "$as_dir" && as_dir=.
189  as_found=:
190  case $as_dir in #(
191	 /*)
192	   for as_base in sh bash ksh sh5; do
193	     # Try only shells that exist, to save several forks.
194	     as_shell=$as_dir/$as_base
195	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197  CONFIG_SHELL=$as_shell as_have_required=yes
198		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199  break 2
200fi
201fi
202	   done;;
203       esac
204  as_found=false
205done
206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208  CONFIG_SHELL=$SHELL as_have_required=yes
209fi; }
210IFS=$as_save_IFS
211
212
213      if test "x$CONFIG_SHELL" != x; then :
214  # We cannot yet assume a decent shell, so we have to provide a
215	# neutralization value for shells without unset; and this also
216	# works around shells that cannot unset nonexistent variables.
217	BASH_ENV=/dev/null
218	ENV=/dev/null
219	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220	export CONFIG_SHELL
221	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222fi
223
224    if test x$as_have_required = xno; then :
225  $as_echo "$0: This script requires a shell more modern than all"
226  $as_echo "$0: the shells that I found on your system."
227  if test x${ZSH_VERSION+set} = xset ; then
228    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230  else
231    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232$0: including any error possibly output before this
233$0: message. Then install a modern shell, or manually run
234$0: the script under such a shell if you do have one."
235  fi
236  exit 1
237fi
238fi
239fi
240SHELL=${CONFIG_SHELL-/bin/sh}
241export SHELL
242# Unset more variables known to interfere with behavior of common tools.
243CLICOLOR_FORCE= GREP_OPTIONS=
244unset CLICOLOR_FORCE GREP_OPTIONS
245
246## --------------------- ##
247## M4sh Shell Functions. ##
248## --------------------- ##
249# as_fn_unset VAR
250# ---------------
251# Portably unset VAR.
252as_fn_unset ()
253{
254  { eval $1=; unset $1;}
255}
256as_unset=as_fn_unset
257
258# as_fn_set_status STATUS
259# -----------------------
260# Set $? to STATUS, without forking.
261as_fn_set_status ()
262{
263  return $1
264} # as_fn_set_status
265
266# as_fn_exit STATUS
267# -----------------
268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269as_fn_exit ()
270{
271  set +e
272  as_fn_set_status $1
273  exit $1
274} # as_fn_exit
275
276# as_fn_mkdir_p
277# -------------
278# Create "$as_dir" as a directory, including parents if necessary.
279as_fn_mkdir_p ()
280{
281
282  case $as_dir in #(
283  -*) as_dir=./$as_dir;;
284  esac
285  test -d "$as_dir" || eval $as_mkdir_p || {
286    as_dirs=
287    while :; do
288      case $as_dir in #(
289      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290      *) as_qdir=$as_dir;;
291      esac
292      as_dirs="'$as_qdir' $as_dirs"
293      as_dir=`$as_dirname -- "$as_dir" ||
294$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295	 X"$as_dir" : 'X\(//\)[^/]' \| \
296	 X"$as_dir" : 'X\(//\)$' \| \
297	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298$as_echo X"$as_dir" |
299    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300	    s//\1/
301	    q
302	  }
303	  /^X\(\/\/\)[^/].*/{
304	    s//\1/
305	    q
306	  }
307	  /^X\(\/\/\)$/{
308	    s//\1/
309	    q
310	  }
311	  /^X\(\/\).*/{
312	    s//\1/
313	    q
314	  }
315	  s/.*/./; q'`
316      test -d "$as_dir" && break
317    done
318    test -z "$as_dirs" || eval "mkdir $as_dirs"
319  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
321
322} # as_fn_mkdir_p
323# as_fn_append VAR VALUE
324# ----------------------
325# Append the text in VALUE to the end of the definition contained in VAR. Take
326# advantage of any shell optimizations that allow amortized linear growth over
327# repeated appends, instead of the typical quadratic growth present in naive
328# implementations.
329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330  eval 'as_fn_append ()
331  {
332    eval $1+=\$2
333  }'
334else
335  as_fn_append ()
336  {
337    eval $1=\$$1\$2
338  }
339fi # as_fn_append
340
341# as_fn_arith ARG...
342# ------------------
343# Perform arithmetic evaluation on the ARGs, and store the result in the
344# global $as_val. Take advantage of shells that can avoid forks. The arguments
345# must be portable across $(()) and expr.
346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347  eval 'as_fn_arith ()
348  {
349    as_val=$(( $* ))
350  }'
351else
352  as_fn_arith ()
353  {
354    as_val=`expr "$@" || test $? -eq 1`
355  }
356fi # as_fn_arith
357
358
359# as_fn_error ERROR [LINENO LOG_FD]
360# ---------------------------------
361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363# script with status $?, using 1 if that was 0.
364as_fn_error ()
365{
366  as_status=$?; test $as_status -eq 0 && as_status=1
367  if test "$3"; then
368    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370  fi
371  $as_echo "$as_me: error: $1" >&2
372  as_fn_exit $as_status
373} # as_fn_error
374
375if expr a : '\(a\)' >/dev/null 2>&1 &&
376   test "X`expr 00001 : '.*\(...\)'`" = X001; then
377  as_expr=expr
378else
379  as_expr=false
380fi
381
382if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383  as_basename=basename
384else
385  as_basename=false
386fi
387
388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389  as_dirname=dirname
390else
391  as_dirname=false
392fi
393
394as_me=`$as_basename -- "$0" ||
395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396	 X"$0" : 'X\(//\)$' \| \
397	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398$as_echo X/"$0" |
399    sed '/^.*\/\([^/][^/]*\)\/*$/{
400	    s//\1/
401	    q
402	  }
403	  /^X\/\(\/\/\)$/{
404	    s//\1/
405	    q
406	  }
407	  /^X\/\(\/\).*/{
408	    s//\1/
409	    q
410	  }
411	  s/.*/./; q'`
412
413# Avoid depending upon Character Ranges.
414as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417as_cr_digits='0123456789'
418as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421  as_lineno_1=$LINENO as_lineno_1a=$LINENO
422  as_lineno_2=$LINENO as_lineno_2a=$LINENO
423  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
426  sed -n '
427    p
428    /[$]LINENO/=
429  ' <$as_myself |
430    sed '
431      s/[$]LINENO.*/&-/
432      t lineno
433      b
434      :lineno
435      N
436      :loop
437      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438      t loop
439      s/-\n.*//
440    ' >$as_me.lineno &&
441  chmod +x "$as_me.lineno" ||
442    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
444  # Don't try to exec as it changes $[0], causing all sort of problems
445  # (the dirname of $[0] is not the place where we might find the
446  # original and so on.  Autoconf is especially sensitive to this).
447  . "./$as_me.lineno"
448  # Exit status is that of the last command.
449  exit
450}
451
452ECHO_C= ECHO_N= ECHO_T=
453case `echo -n x` in #(((((
454-n*)
455  case `echo 'xy\c'` in
456  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
457  xy)  ECHO_C='\c';;
458  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459       ECHO_T='	';;
460  esac;;
461*)
462  ECHO_N='-n';;
463esac
464
465rm -f conf$$ conf$$.exe conf$$.file
466if test -d conf$$.dir; then
467  rm -f conf$$.dir/conf$$.file
468else
469  rm -f conf$$.dir
470  mkdir conf$$.dir 2>/dev/null
471fi
472if (echo >conf$$.file) 2>/dev/null; then
473  if ln -s conf$$.file conf$$ 2>/dev/null; then
474    as_ln_s='ln -s'
475    # ... but there are two gotchas:
476    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478    # In both cases, we have to default to `cp -p'.
479    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480      as_ln_s='cp -p'
481  elif ln conf$$.file conf$$ 2>/dev/null; then
482    as_ln_s=ln
483  else
484    as_ln_s='cp -p'
485  fi
486else
487  as_ln_s='cp -p'
488fi
489rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490rmdir conf$$.dir 2>/dev/null
491
492if mkdir -p . 2>/dev/null; then
493  as_mkdir_p='mkdir -p "$as_dir"'
494else
495  test -d ./-p && rmdir ./-p
496  as_mkdir_p=false
497fi
498
499if test -x / >/dev/null 2>&1; then
500  as_test_x='test -x'
501else
502  if ls -dL / >/dev/null 2>&1; then
503    as_ls_L_option=L
504  else
505    as_ls_L_option=
506  fi
507  as_test_x='
508    eval sh -c '\''
509      if test -d "$1"; then
510	test -d "$1/.";
511      else
512	case $1 in #(
513	-*)set "./$1";;
514	esac;
515	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516	???[sx]*):;;*)false;;esac;fi
517    '\'' sh
518  '
519fi
520as_executable_p=$as_test_x
521
522# Sed expression to map a string onto a valid CPP name.
523as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
525# Sed expression to map a string onto a valid variable name.
526as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
528
529test -n "$DJDIR" || exec 7<&0 </dev/null
530exec 6>&1
531
532# Name of the host.
533# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534# so uname gets run too.
535ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536
537#
538# Initializations.
539#
540ac_default_prefix=/usr/local
541ac_clean_files=
542ac_config_libobj_dir=.
543LIBOBJS=
544cross_compiling=no
545subdirs=
546MFLAGS=
547MAKEFLAGS=
548
549# Identity of this package.
550PACKAGE_NAME='OpenLLDP'
551PACKAGE_TARNAME='openlldp'
552PACKAGE_VERSION='0.4alpha'
553PACKAGE_STRING='OpenLLDP 0.4alpha'
554PACKAGE_BUGREPORT=''
555PACKAGE_URL=''
556
557# Factoring default headers for most tests.
558ac_includes_default="\
559#include <stdio.h>
560#ifdef HAVE_SYS_TYPES_H
561# include <sys/types.h>
562#endif
563#ifdef HAVE_SYS_STAT_H
564# include <sys/stat.h>
565#endif
566#ifdef STDC_HEADERS
567# include <stdlib.h>
568# include <stddef.h>
569#else
570# ifdef HAVE_STDLIB_H
571#  include <stdlib.h>
572# endif
573#endif
574#ifdef HAVE_STRING_H
575# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
576#  include <memory.h>
577# endif
578# include <string.h>
579#endif
580#ifdef HAVE_STRINGS_H
581# include <strings.h>
582#endif
583#ifdef HAVE_INTTYPES_H
584# include <inttypes.h>
585#endif
586#ifdef HAVE_STDINT_H
587# include <stdint.h>
588#endif
589#ifdef HAVE_UNISTD_H
590# include <unistd.h>
591#endif"
592
593ac_subst_vars='am__EXEEXT_FALSE
594am__EXEEXT_TRUE
595LTLIBOBJS
596LIBOBJS
597PREFIX
598DARWININCS
599AM_CPPFLAGS
600MOREDEFS
601CORELIBS
602DARWINLIBS
603MORELIBS
604FREEBSD_FALSE
605FREEBSD_TRUE
606NETBSD_FALSE
607NETBSD_TRUE
608OPENBSD_FALSE
609OPENBSD_TRUE
610WINDOWS_FALSE
611WINDOWS_TRUE
612DARWIN_FALSE
613DARWIN_TRUE
614LINUX_FALSE
615LINUX_TRUE
616FRAMER_WINDOWS_FALSE
617FRAMER_WINDOWS_TRUE
618FRAMER_RADIUS_FALSE
619FRAMER_RADIUS_TRUE
620FRAMER_DARWIN_FALSE
621FRAMER_DARWIN_TRUE
622FRAMER_BPF_FALSE
623FRAMER_BPF_TRUE
624FRAMER_LINUX_FALSE
625FRAMER_LINUX_TRUE
626FRAMER_GENERIC_FALSE
627FRAMER_GENERIC_TRUE
628EGREP
629GREP
630CPP
631host_os
632host_vendor
633host_cpu
634host
635build_os
636build_vendor
637build_cpu
638build
639MAINT
640MAINTAINER_MODE_FALSE
641MAINTAINER_MODE_TRUE
642am__fastdepCC_FALSE
643am__fastdepCC_TRUE
644CCDEPMODE
645AMDEPBACKSLASH
646AMDEP_FALSE
647AMDEP_TRUE
648am__quote
649am__include
650DEPDIR
651OBJEXT
652EXEEXT
653ac_ct_CC
654CPPFLAGS
655LDFLAGS
656CFLAGS
657CC
658RANLIB
659am__untar
660am__tar
661AMTAR
662am__leading_dot
663SET_MAKE
664AWK
665mkdir_p
666MKDIR_P
667INSTALL_STRIP_PROGRAM
668STRIP
669install_sh
670MAKEINFO
671AUTOHEADER
672AUTOMAKE
673AUTOCONF
674ACLOCAL
675VERSION
676PACKAGE
677CYGPATH_W
678am__isrc
679INSTALL_DATA
680INSTALL_SCRIPT
681INSTALL_PROGRAM
682target_alias
683host_alias
684build_alias
685LIBS
686ECHO_T
687ECHO_N
688ECHO_C
689DEFS
690mandir
691localedir
692libdir
693psdir
694pdfdir
695dvidir
696htmldir
697infodir
698docdir
699oldincludedir
700includedir
701localstatedir
702sharedstatedir
703sysconfdir
704datadir
705datarootdir
706libexecdir
707sbindir
708bindir
709program_transform_name
710prefix
711exec_prefix
712PACKAGE_URL
713PACKAGE_BUGREPORT
714PACKAGE_STRING
715PACKAGE_VERSION
716PACKAGE_TARNAME
717PACKAGE_NAME
718PATH_SEPARATOR
719SHELL'
720ac_subst_files=''
721ac_user_opts='
722enable_option_checking
723enable_dependency_tracking
724enable_maintainer_mode
725enable_experimental
726enable_efence
727enable_panther_binary
728enable_universal_binary
729'
730      ac_precious_vars='build_alias
731host_alias
732target_alias
733CC
734CFLAGS
735LDFLAGS
736LIBS
737CPPFLAGS
738CPP'
739
740
741# Initialize some variables set by options.
742ac_init_help=
743ac_init_version=false
744ac_unrecognized_opts=
745ac_unrecognized_sep=
746# The variables have the same names as the options, with
747# dashes changed to underlines.
748cache_file=/dev/null
749exec_prefix=NONE
750no_create=
751no_recursion=
752prefix=NONE
753program_prefix=NONE
754program_suffix=NONE
755program_transform_name=s,x,x,
756silent=
757site=
758srcdir=
759verbose=
760x_includes=NONE
761x_libraries=NONE
762
763# Installation directory options.
764# These are left unexpanded so users can "make install exec_prefix=/foo"
765# and all the variables that are supposed to be based on exec_prefix
766# by default will actually change.
767# Use braces instead of parens because sh, perl, etc. also accept them.
768# (The list follows the same order as the GNU Coding Standards.)
769bindir='${exec_prefix}/bin'
770sbindir='${exec_prefix}/sbin'
771libexecdir='${exec_prefix}/libexec'
772datarootdir='${prefix}/share'
773datadir='${datarootdir}'
774sysconfdir='${prefix}/etc'
775sharedstatedir='${prefix}/com'
776localstatedir='${prefix}/var'
777includedir='${prefix}/include'
778oldincludedir='/usr/include'
779docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
780infodir='${datarootdir}/info'
781htmldir='${docdir}'
782dvidir='${docdir}'
783pdfdir='${docdir}'
784psdir='${docdir}'
785libdir='${exec_prefix}/lib'
786localedir='${datarootdir}/locale'
787mandir='${datarootdir}/man'
788
789ac_prev=
790ac_dashdash=
791for ac_option
792do
793  # If the previous option needs an argument, assign it.
794  if test -n "$ac_prev"; then
795    eval $ac_prev=\$ac_option
796    ac_prev=
797    continue
798  fi
799
800  case $ac_option in
801  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
802  *)	ac_optarg=yes ;;
803  esac
804
805  # Accept the important Cygnus configure options, so we can diagnose typos.
806
807  case $ac_dashdash$ac_option in
808  --)
809    ac_dashdash=yes ;;
810
811  -bindir | --bindir | --bindi | --bind | --bin | --bi)
812    ac_prev=bindir ;;
813  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
814    bindir=$ac_optarg ;;
815
816  -build | --build | --buil | --bui | --bu)
817    ac_prev=build_alias ;;
818  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
819    build_alias=$ac_optarg ;;
820
821  -cache-file | --cache-file | --cache-fil | --cache-fi \
822  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
823    ac_prev=cache_file ;;
824  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
825  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
826    cache_file=$ac_optarg ;;
827
828  --config-cache | -C)
829    cache_file=config.cache ;;
830
831  -datadir | --datadir | --datadi | --datad)
832    ac_prev=datadir ;;
833  -datadir=* | --datadir=* | --datadi=* | --datad=*)
834    datadir=$ac_optarg ;;
835
836  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
837  | --dataroo | --dataro | --datar)
838    ac_prev=datarootdir ;;
839  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
840  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
841    datarootdir=$ac_optarg ;;
842
843  -disable-* | --disable-*)
844    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
845    # Reject names that are not valid shell variable names.
846    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
847      as_fn_error "invalid feature name: $ac_useropt"
848    ac_useropt_orig=$ac_useropt
849    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
850    case $ac_user_opts in
851      *"
852"enable_$ac_useropt"
853"*) ;;
854      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
855	 ac_unrecognized_sep=', ';;
856    esac
857    eval enable_$ac_useropt=no ;;
858
859  -docdir | --docdir | --docdi | --doc | --do)
860    ac_prev=docdir ;;
861  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
862    docdir=$ac_optarg ;;
863
864  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
865    ac_prev=dvidir ;;
866  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
867    dvidir=$ac_optarg ;;
868
869  -enable-* | --enable-*)
870    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
871    # Reject names that are not valid shell variable names.
872    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
873      as_fn_error "invalid feature name: $ac_useropt"
874    ac_useropt_orig=$ac_useropt
875    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876    case $ac_user_opts in
877      *"
878"enable_$ac_useropt"
879"*) ;;
880      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
881	 ac_unrecognized_sep=', ';;
882    esac
883    eval enable_$ac_useropt=\$ac_optarg ;;
884
885  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
886  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
887  | --exec | --exe | --ex)
888    ac_prev=exec_prefix ;;
889  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
890  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
891  | --exec=* | --exe=* | --ex=*)
892    exec_prefix=$ac_optarg ;;
893
894  -gas | --gas | --ga | --g)
895    # Obsolete; use --with-gas.
896    with_gas=yes ;;
897
898  -help | --help | --hel | --he | -h)
899    ac_init_help=long ;;
900  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
901    ac_init_help=recursive ;;
902  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
903    ac_init_help=short ;;
904
905  -host | --host | --hos | --ho)
906    ac_prev=host_alias ;;
907  -host=* | --host=* | --hos=* | --ho=*)
908    host_alias=$ac_optarg ;;
909
910  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
911    ac_prev=htmldir ;;
912  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
913  | --ht=*)
914    htmldir=$ac_optarg ;;
915
916  -includedir | --includedir | --includedi | --included | --include \
917  | --includ | --inclu | --incl | --inc)
918    ac_prev=includedir ;;
919  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
920  | --includ=* | --inclu=* | --incl=* | --inc=*)
921    includedir=$ac_optarg ;;
922
923  -infodir | --infodir | --infodi | --infod | --info | --inf)
924    ac_prev=infodir ;;
925  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
926    infodir=$ac_optarg ;;
927
928  -libdir | --libdir | --libdi | --libd)
929    ac_prev=libdir ;;
930  -libdir=* | --libdir=* | --libdi=* | --libd=*)
931    libdir=$ac_optarg ;;
932
933  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
934  | --libexe | --libex | --libe)
935    ac_prev=libexecdir ;;
936  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
937  | --libexe=* | --libex=* | --libe=*)
938    libexecdir=$ac_optarg ;;
939
940  -localedir | --localedir | --localedi | --localed | --locale)
941    ac_prev=localedir ;;
942  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
943    localedir=$ac_optarg ;;
944
945  -localstatedir | --localstatedir | --localstatedi | --localstated \
946  | --localstate | --localstat | --localsta | --localst | --locals)
947    ac_prev=localstatedir ;;
948  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
949  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
950    localstatedir=$ac_optarg ;;
951
952  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
953    ac_prev=mandir ;;
954  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
955    mandir=$ac_optarg ;;
956
957  -nfp | --nfp | --nf)
958    # Obsolete; use --without-fp.
959    with_fp=no ;;
960
961  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
962  | --no-cr | --no-c | -n)
963    no_create=yes ;;
964
965  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
966  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
967    no_recursion=yes ;;
968
969  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
970  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
971  | --oldin | --oldi | --old | --ol | --o)
972    ac_prev=oldincludedir ;;
973  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
974  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
975  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
976    oldincludedir=$ac_optarg ;;
977
978  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
979    ac_prev=prefix ;;
980  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
981    prefix=$ac_optarg ;;
982
983  -program-prefix | --program-prefix | --program-prefi | --program-pref \
984  | --program-pre | --program-pr | --program-p)
985    ac_prev=program_prefix ;;
986  -program-prefix=* | --program-prefix=* | --program-prefi=* \
987  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
988    program_prefix=$ac_optarg ;;
989
990  -program-suffix | --program-suffix | --program-suffi | --program-suff \
991  | --program-suf | --program-su | --program-s)
992    ac_prev=program_suffix ;;
993  -program-suffix=* | --program-suffix=* | --program-suffi=* \
994  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
995    program_suffix=$ac_optarg ;;
996
997  -program-transform-name | --program-transform-name \
998  | --program-transform-nam | --program-transform-na \
999  | --program-transform-n | --program-transform- \
1000  | --program-transform | --program-transfor \
1001  | --program-transfo | --program-transf \
1002  | --program-trans | --program-tran \
1003  | --progr-tra | --program-tr | --program-t)
1004    ac_prev=program_transform_name ;;
1005  -program-transform-name=* | --program-transform-name=* \
1006  | --program-transform-nam=* | --program-transform-na=* \
1007  | --program-transform-n=* | --program-transform-=* \
1008  | --program-transform=* | --program-transfor=* \
1009  | --program-transfo=* | --program-transf=* \
1010  | --program-trans=* | --program-tran=* \
1011  | --progr-tra=* | --program-tr=* | --program-t=*)
1012    program_transform_name=$ac_optarg ;;
1013
1014  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1015    ac_prev=pdfdir ;;
1016  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1017    pdfdir=$ac_optarg ;;
1018
1019  -psdir | --psdir | --psdi | --psd | --ps)
1020    ac_prev=psdir ;;
1021  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1022    psdir=$ac_optarg ;;
1023
1024  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1025  | -silent | --silent | --silen | --sile | --sil)
1026    silent=yes ;;
1027
1028  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1029    ac_prev=sbindir ;;
1030  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1031  | --sbi=* | --sb=*)
1032    sbindir=$ac_optarg ;;
1033
1034  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1035  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1036  | --sharedst | --shareds | --shared | --share | --shar \
1037  | --sha | --sh)
1038    ac_prev=sharedstatedir ;;
1039  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1040  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1041  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1042  | --sha=* | --sh=*)
1043    sharedstatedir=$ac_optarg ;;
1044
1045  -site | --site | --sit)
1046    ac_prev=site ;;
1047  -site=* | --site=* | --sit=*)
1048    site=$ac_optarg ;;
1049
1050  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1051    ac_prev=srcdir ;;
1052  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1053    srcdir=$ac_optarg ;;
1054
1055  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1056  | --syscon | --sysco | --sysc | --sys | --sy)
1057    ac_prev=sysconfdir ;;
1058  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1059  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1060    sysconfdir=$ac_optarg ;;
1061
1062  -target | --target | --targe | --targ | --tar | --ta | --t)
1063    ac_prev=target_alias ;;
1064  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1065    target_alias=$ac_optarg ;;
1066
1067  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1068    verbose=yes ;;
1069
1070  -version | --version | --versio | --versi | --vers | -V)
1071    ac_init_version=: ;;
1072
1073  -with-* | --with-*)
1074    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1075    # Reject names that are not valid shell variable names.
1076    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1077      as_fn_error "invalid package name: $ac_useropt"
1078    ac_useropt_orig=$ac_useropt
1079    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1080    case $ac_user_opts in
1081      *"
1082"with_$ac_useropt"
1083"*) ;;
1084      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1085	 ac_unrecognized_sep=', ';;
1086    esac
1087    eval with_$ac_useropt=\$ac_optarg ;;
1088
1089  -without-* | --without-*)
1090    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1091    # Reject names that are not valid shell variable names.
1092    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093      as_fn_error "invalid package name: $ac_useropt"
1094    ac_useropt_orig=$ac_useropt
1095    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096    case $ac_user_opts in
1097      *"
1098"with_$ac_useropt"
1099"*) ;;
1100      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1101	 ac_unrecognized_sep=', ';;
1102    esac
1103    eval with_$ac_useropt=no ;;
1104
1105  --x)
1106    # Obsolete; use --with-x.
1107    with_x=yes ;;
1108
1109  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1110  | --x-incl | --x-inc | --x-in | --x-i)
1111    ac_prev=x_includes ;;
1112  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1113  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1114    x_includes=$ac_optarg ;;
1115
1116  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1117  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1118    ac_prev=x_libraries ;;
1119  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1120  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1121    x_libraries=$ac_optarg ;;
1122
1123  -*) as_fn_error "unrecognized option: \`$ac_option'
1124Try \`$0 --help' for more information."
1125    ;;
1126
1127  *=*)
1128    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1129    # Reject names that are not valid shell variable names.
1130    case $ac_envvar in #(
1131      '' | [0-9]* | *[!_$as_cr_alnum]* )
1132      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1133    esac
1134    eval $ac_envvar=\$ac_optarg
1135    export $ac_envvar ;;
1136
1137  *)
1138    # FIXME: should be removed in autoconf 3.0.
1139    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1140    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1141      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1142    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1143    ;;
1144
1145  esac
1146done
1147
1148if test -n "$ac_prev"; then
1149  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1150  as_fn_error "missing argument to $ac_option"
1151fi
1152
1153if test -n "$ac_unrecognized_opts"; then
1154  case $enable_option_checking in
1155    no) ;;
1156    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1157    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1158  esac
1159fi
1160
1161# Check all directory arguments for consistency.
1162for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1163		datadir sysconfdir sharedstatedir localstatedir includedir \
1164		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1165		libdir localedir mandir
1166do
1167  eval ac_val=\$$ac_var
1168  # Remove trailing slashes.
1169  case $ac_val in
1170    */ )
1171      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1172      eval $ac_var=\$ac_val;;
1173  esac
1174  # Be sure to have absolute directory names.
1175  case $ac_val in
1176    [\\/$]* | ?:[\\/]* )  continue;;
1177    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1178  esac
1179  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1180done
1181
1182# There might be people who depend on the old broken behavior: `$host'
1183# used to hold the argument of --host etc.
1184# FIXME: To remove some day.
1185build=$build_alias
1186host=$host_alias
1187target=$target_alias
1188
1189# FIXME: To remove some day.
1190if test "x$host_alias" != x; then
1191  if test "x$build_alias" = x; then
1192    cross_compiling=maybe
1193    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1194    If a cross compiler is detected then cross compile mode will be used." >&2
1195  elif test "x$build_alias" != "x$host_alias"; then
1196    cross_compiling=yes
1197  fi
1198fi
1199
1200ac_tool_prefix=
1201test -n "$host_alias" && ac_tool_prefix=$host_alias-
1202
1203test "$silent" = yes && exec 6>/dev/null
1204
1205
1206ac_pwd=`pwd` && test -n "$ac_pwd" &&
1207ac_ls_di=`ls -di .` &&
1208ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1209  as_fn_error "working directory cannot be determined"
1210test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1211  as_fn_error "pwd does not report name of working directory"
1212
1213
1214# Find the source files, if location was not specified.
1215if test -z "$srcdir"; then
1216  ac_srcdir_defaulted=yes
1217  # Try the directory containing this script, then the parent directory.
1218  ac_confdir=`$as_dirname -- "$as_myself" ||
1219$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1220	 X"$as_myself" : 'X\(//\)[^/]' \| \
1221	 X"$as_myself" : 'X\(//\)$' \| \
1222	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1223$as_echo X"$as_myself" |
1224    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1225	    s//\1/
1226	    q
1227	  }
1228	  /^X\(\/\/\)[^/].*/{
1229	    s//\1/
1230	    q
1231	  }
1232	  /^X\(\/\/\)$/{
1233	    s//\1/
1234	    q
1235	  }
1236	  /^X\(\/\).*/{
1237	    s//\1/
1238	    q
1239	  }
1240	  s/.*/./; q'`
1241  srcdir=$ac_confdir
1242  if test ! -r "$srcdir/$ac_unique_file"; then
1243    srcdir=..
1244  fi
1245else
1246  ac_srcdir_defaulted=no
1247fi
1248if test ! -r "$srcdir/$ac_unique_file"; then
1249  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1250  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1251fi
1252ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1253ac_abs_confdir=`(
1254	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1255	pwd)`
1256# When building in place, set srcdir=.
1257if test "$ac_abs_confdir" = "$ac_pwd"; then
1258  srcdir=.
1259fi
1260# Remove unnecessary trailing slashes from srcdir.
1261# Double slashes in file names in object file debugging info
1262# mess up M-x gdb in Emacs.
1263case $srcdir in
1264*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1265esac
1266for ac_var in $ac_precious_vars; do
1267  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1268  eval ac_env_${ac_var}_value=\$${ac_var}
1269  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1270  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1271done
1272
1273#
1274# Report the --help message.
1275#
1276if test "$ac_init_help" = "long"; then
1277  # Omit some internal or obsolete options to make the list less imposing.
1278  # This message is too long to be a string in the A/UX 3.1 sh.
1279  cat <<_ACEOF
1280\`configure' configures OpenLLDP 0.4alpha to adapt to many kinds of systems.
1281
1282Usage: $0 [OPTION]... [VAR=VALUE]...
1283
1284To assign environment variables (e.g., CC, CFLAGS...), specify them as
1285VAR=VALUE.  See below for descriptions of some of the useful variables.
1286
1287Defaults for the options are specified in brackets.
1288
1289Configuration:
1290  -h, --help              display this help and exit
1291      --help=short        display options specific to this package
1292      --help=recursive    display the short help of all the included packages
1293  -V, --version           display version information and exit
1294  -q, --quiet, --silent   do not print \`checking...' messages
1295      --cache-file=FILE   cache test results in FILE [disabled]
1296  -C, --config-cache      alias for \`--cache-file=config.cache'
1297  -n, --no-create         do not create output files
1298      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1299
1300Installation directories:
1301  --prefix=PREFIX         install architecture-independent files in PREFIX
1302                          [$ac_default_prefix]
1303  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1304                          [PREFIX]
1305
1306By default, \`make install' will install all the files in
1307\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1308an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1309for instance \`--prefix=\$HOME'.
1310
1311For better control, use the options below.
1312
1313Fine tuning of the installation directories:
1314  --bindir=DIR            user executables [EPREFIX/bin]
1315  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1316  --libexecdir=DIR        program executables [EPREFIX/libexec]
1317  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1318  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1319  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1320  --libdir=DIR            object code libraries [EPREFIX/lib]
1321  --includedir=DIR        C header files [PREFIX/include]
1322  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1323  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1324  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1325  --infodir=DIR           info documentation [DATAROOTDIR/info]
1326  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1327  --mandir=DIR            man documentation [DATAROOTDIR/man]
1328  --docdir=DIR            documentation root [DATAROOTDIR/doc/openlldp]
1329  --htmldir=DIR           html documentation [DOCDIR]
1330  --dvidir=DIR            dvi documentation [DOCDIR]
1331  --pdfdir=DIR            pdf documentation [DOCDIR]
1332  --psdir=DIR             ps documentation [DOCDIR]
1333_ACEOF
1334
1335  cat <<\_ACEOF
1336
1337Program names:
1338  --program-prefix=PREFIX            prepend PREFIX to installed program names
1339  --program-suffix=SUFFIX            append SUFFIX to installed program names
1340  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1341
1342System types:
1343  --build=BUILD     configure for building on BUILD [guessed]
1344  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1345_ACEOF
1346fi
1347
1348if test -n "$ac_init_help"; then
1349  case $ac_init_help in
1350     short | recursive ) echo "Configuration of OpenLLDP 0.4alpha:";;
1351   esac
1352  cat <<\_ACEOF
1353
1354Optional Features:
1355  --disable-option-checking  ignore unrecognized --enable/--with options
1356  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1357  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1358  --disable-dependency-tracking  speeds up one-time build
1359  --enable-dependency-tracking   do not reject slow dependency extractors
1360  --enable-maintainer-mode  enable make rules and dependencies not useful
1361			  (and sometimes confusing) to the casual installer
1362  --enable-experimental   enable the use of experimental features/code.
1363  --enable-efence         enable use of Electric Fence for memory debugging.
1364  --enable-panther-binary build as Panther-compatible binary (Mac OS X Only)
1365  --enable-universal-binary
1366                          build as Universal Binary (Mac OS X Only)
1367
1368Some influential environment variables:
1369  CC          C compiler command
1370  CFLAGS      C compiler flags
1371  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1372              nonstandard directory <lib dir>
1373  LIBS        libraries to pass to the linker, e.g. -l<library>
1374  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1375              you have headers in a nonstandard directory <include dir>
1376  CPP         C preprocessor
1377
1378Use these variables to override the choices made by `configure' or to help
1379it to find libraries and programs with nonstandard names/locations.
1380
1381Report bugs to the package provider.
1382_ACEOF
1383ac_status=$?
1384fi
1385
1386if test "$ac_init_help" = "recursive"; then
1387  # If there are subdirs, report their specific --help.
1388  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1389    test -d "$ac_dir" ||
1390      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1391      continue
1392    ac_builddir=.
1393
1394case "$ac_dir" in
1395.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1396*)
1397  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1398  # A ".." for each directory in $ac_dir_suffix.
1399  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1400  case $ac_top_builddir_sub in
1401  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1402  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1403  esac ;;
1404esac
1405ac_abs_top_builddir=$ac_pwd
1406ac_abs_builddir=$ac_pwd$ac_dir_suffix
1407# for backward compatibility:
1408ac_top_builddir=$ac_top_build_prefix
1409
1410case $srcdir in
1411  .)  # We are building in place.
1412    ac_srcdir=.
1413    ac_top_srcdir=$ac_top_builddir_sub
1414    ac_abs_top_srcdir=$ac_pwd ;;
1415  [\\/]* | ?:[\\/]* )  # Absolute name.
1416    ac_srcdir=$srcdir$ac_dir_suffix;
1417    ac_top_srcdir=$srcdir
1418    ac_abs_top_srcdir=$srcdir ;;
1419  *) # Relative name.
1420    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1421    ac_top_srcdir=$ac_top_build_prefix$srcdir
1422    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1423esac
1424ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1425
1426    cd "$ac_dir" || { ac_status=$?; continue; }
1427    # Check for guested configure.
1428    if test -f "$ac_srcdir/configure.gnu"; then
1429      echo &&
1430      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1431    elif test -f "$ac_srcdir/configure"; then
1432      echo &&
1433      $SHELL "$ac_srcdir/configure" --help=recursive
1434    else
1435      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1436    fi || ac_status=$?
1437    cd "$ac_pwd" || { ac_status=$?; break; }
1438  done
1439fi
1440
1441test -n "$ac_init_help" && exit $ac_status
1442if $ac_init_version; then
1443  cat <<\_ACEOF
1444OpenLLDP configure 0.4alpha
1445generated by GNU Autoconf 2.65
1446
1447Copyright (C) 2009 Free Software Foundation, Inc.
1448This configure script is free software; the Free Software Foundation
1449gives unlimited permission to copy, distribute and modify it.
1450_ACEOF
1451  exit
1452fi
1453
1454## ------------------------ ##
1455## Autoconf initialization. ##
1456## ------------------------ ##
1457
1458# ac_fn_c_try_compile LINENO
1459# --------------------------
1460# Try to compile conftest.$ac_ext, and return whether this succeeded.
1461ac_fn_c_try_compile ()
1462{
1463  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1464  rm -f conftest.$ac_objext
1465  if { { ac_try="$ac_compile"
1466case "(($ac_try" in
1467  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1468  *) ac_try_echo=$ac_try;;
1469esac
1470eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1471$as_echo "$ac_try_echo"; } >&5
1472  (eval "$ac_compile") 2>conftest.err
1473  ac_status=$?
1474  if test -s conftest.err; then
1475    grep -v '^ *+' conftest.err >conftest.er1
1476    cat conftest.er1 >&5
1477    mv -f conftest.er1 conftest.err
1478  fi
1479  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1480  test $ac_status = 0; } && {
1481	 test -z "$ac_c_werror_flag" ||
1482	 test ! -s conftest.err
1483       } && test -s conftest.$ac_objext; then :
1484  ac_retval=0
1485else
1486  $as_echo "$as_me: failed program was:" >&5
1487sed 's/^/| /' conftest.$ac_ext >&5
1488
1489	ac_retval=1
1490fi
1491  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1492  as_fn_set_status $ac_retval
1493
1494} # ac_fn_c_try_compile
1495
1496# ac_fn_c_try_run LINENO
1497# ----------------------
1498# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1499# that executables *can* be run.
1500ac_fn_c_try_run ()
1501{
1502  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1503  if { { ac_try="$ac_link"
1504case "(($ac_try" in
1505  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1506  *) ac_try_echo=$ac_try;;
1507esac
1508eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1509$as_echo "$ac_try_echo"; } >&5
1510  (eval "$ac_link") 2>&5
1511  ac_status=$?
1512  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1513  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1514  { { case "(($ac_try" in
1515  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1516  *) ac_try_echo=$ac_try;;
1517esac
1518eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1519$as_echo "$ac_try_echo"; } >&5
1520  (eval "$ac_try") 2>&5
1521  ac_status=$?
1522  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1523  test $ac_status = 0; }; }; then :
1524  ac_retval=0
1525else
1526  $as_echo "$as_me: program exited with status $ac_status" >&5
1527       $as_echo "$as_me: failed program was:" >&5
1528sed 's/^/| /' conftest.$ac_ext >&5
1529
1530       ac_retval=$ac_status
1531fi
1532  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1533  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1534  as_fn_set_status $ac_retval
1535
1536} # ac_fn_c_try_run
1537
1538# ac_fn_c_try_cpp LINENO
1539# ----------------------
1540# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1541ac_fn_c_try_cpp ()
1542{
1543  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1544  if { { ac_try="$ac_cpp conftest.$ac_ext"
1545case "(($ac_try" in
1546  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1547  *) ac_try_echo=$ac_try;;
1548esac
1549eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1550$as_echo "$ac_try_echo"; } >&5
1551  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1552  ac_status=$?
1553  if test -s conftest.err; then
1554    grep -v '^ *+' conftest.err >conftest.er1
1555    cat conftest.er1 >&5
1556    mv -f conftest.er1 conftest.err
1557  fi
1558  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1559  test $ac_status = 0; } >/dev/null && {
1560	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1561	 test ! -s conftest.err
1562       }; then :
1563  ac_retval=0
1564else
1565  $as_echo "$as_me: failed program was:" >&5
1566sed 's/^/| /' conftest.$ac_ext >&5
1567
1568    ac_retval=1
1569fi
1570  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1571  as_fn_set_status $ac_retval
1572
1573} # ac_fn_c_try_cpp
1574
1575# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1576# -------------------------------------------------------
1577# Tests whether HEADER exists and can be compiled using the include files in
1578# INCLUDES, setting the cache variable VAR accordingly.
1579ac_fn_c_check_header_compile ()
1580{
1581  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1583$as_echo_n "checking for $2... " >&6; }
1584if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1585  $as_echo_n "(cached) " >&6
1586else
1587  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1588/* end confdefs.h.  */
1589$4
1590#include <$2>
1591_ACEOF
1592if ac_fn_c_try_compile "$LINENO"; then :
1593  eval "$3=yes"
1594else
1595  eval "$3=no"
1596fi
1597rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1598fi
1599eval ac_res=\$$3
1600	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1601$as_echo "$ac_res" >&6; }
1602  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1603
1604} # ac_fn_c_check_header_compile
1605
1606# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1607# -------------------------------------------------------
1608# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1609# the include files in INCLUDES and setting the cache variable VAR
1610# accordingly.
1611ac_fn_c_check_header_mongrel ()
1612{
1613  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1615  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1616$as_echo_n "checking for $2... " >&6; }
1617if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1618  $as_echo_n "(cached) " >&6
1619fi
1620eval ac_res=\$$3
1621	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1622$as_echo "$ac_res" >&6; }
1623else
1624  # Is the header compilable?
1625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1626$as_echo_n "checking $2 usability... " >&6; }
1627cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1628/* end confdefs.h.  */
1629$4
1630#include <$2>
1631_ACEOF
1632if ac_fn_c_try_compile "$LINENO"; then :
1633  ac_header_compiler=yes
1634else
1635  ac_header_compiler=no
1636fi
1637rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1639$as_echo "$ac_header_compiler" >&6; }
1640
1641# Is the header present?
1642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1643$as_echo_n "checking $2 presence... " >&6; }
1644cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1645/* end confdefs.h.  */
1646#include <$2>
1647_ACEOF
1648if ac_fn_c_try_cpp "$LINENO"; then :
1649  ac_header_preproc=yes
1650else
1651  ac_header_preproc=no
1652fi
1653rm -f conftest.err conftest.$ac_ext
1654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1655$as_echo "$ac_header_preproc" >&6; }
1656
1657# So?  What about this header?
1658case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1659  yes:no: )
1660    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1661$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1662    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1663$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1664    ;;
1665  no:yes:* )
1666    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1667$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1668    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1669$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1670    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1671$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1672    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1673$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1674    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1675$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1676    ;;
1677esac
1678  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1679$as_echo_n "checking for $2... " >&6; }
1680if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1681  $as_echo_n "(cached) " >&6
1682else
1683  eval "$3=\$ac_header_compiler"
1684fi
1685eval ac_res=\$$3
1686	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1687$as_echo "$ac_res" >&6; }
1688fi
1689  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1690
1691} # ac_fn_c_check_header_mongrel
1692
1693# ac_fn_c_try_link LINENO
1694# -----------------------
1695# Try to link conftest.$ac_ext, and return whether this succeeded.
1696ac_fn_c_try_link ()
1697{
1698  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699  rm -f conftest.$ac_objext conftest$ac_exeext
1700  if { { ac_try="$ac_link"
1701case "(($ac_try" in
1702  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1703  *) ac_try_echo=$ac_try;;
1704esac
1705eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706$as_echo "$ac_try_echo"; } >&5
1707  (eval "$ac_link") 2>conftest.err
1708  ac_status=$?
1709  if test -s conftest.err; then
1710    grep -v '^ *+' conftest.err >conftest.er1
1711    cat conftest.er1 >&5
1712    mv -f conftest.er1 conftest.err
1713  fi
1714  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715  test $ac_status = 0; } && {
1716	 test -z "$ac_c_werror_flag" ||
1717	 test ! -s conftest.err
1718       } && test -s conftest$ac_exeext && {
1719	 test "$cross_compiling" = yes ||
1720	 $as_test_x conftest$ac_exeext
1721       }; then :
1722  ac_retval=0
1723else
1724  $as_echo "$as_me: failed program was:" >&5
1725sed 's/^/| /' conftest.$ac_ext >&5
1726
1727	ac_retval=1
1728fi
1729  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1730  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1731  # interfere with the next link command; also delete a directory that is
1732  # left behind by Apple's compiler.  We do this before executing the actions.
1733  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1734  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1735  as_fn_set_status $ac_retval
1736
1737} # ac_fn_c_try_link
1738cat >config.log <<_ACEOF
1739This file contains any messages produced by compilers while
1740running configure, to aid debugging if configure makes a mistake.
1741
1742It was created by OpenLLDP $as_me 0.4alpha, which was
1743generated by GNU Autoconf 2.65.  Invocation command line was
1744
1745  $ $0 $@
1746
1747_ACEOF
1748exec 5>>config.log
1749{
1750cat <<_ASUNAME
1751## --------- ##
1752## Platform. ##
1753## --------- ##
1754
1755hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1756uname -m = `(uname -m) 2>/dev/null || echo unknown`
1757uname -r = `(uname -r) 2>/dev/null || echo unknown`
1758uname -s = `(uname -s) 2>/dev/null || echo unknown`
1759uname -v = `(uname -v) 2>/dev/null || echo unknown`
1760
1761/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1762/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1763
1764/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1765/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1766/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1767/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1768/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1769/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1770/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1771
1772_ASUNAME
1773
1774as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1775for as_dir in $PATH
1776do
1777  IFS=$as_save_IFS
1778  test -z "$as_dir" && as_dir=.
1779    $as_echo "PATH: $as_dir"
1780  done
1781IFS=$as_save_IFS
1782
1783} >&5
1784
1785cat >&5 <<_ACEOF
1786
1787
1788## ----------- ##
1789## Core tests. ##
1790## ----------- ##
1791
1792_ACEOF
1793
1794
1795# Keep a trace of the command line.
1796# Strip out --no-create and --no-recursion so they do not pile up.
1797# Strip out --silent because we don't want to record it for future runs.
1798# Also quote any args containing shell meta-characters.
1799# Make two passes to allow for proper duplicate-argument suppression.
1800ac_configure_args=
1801ac_configure_args0=
1802ac_configure_args1=
1803ac_must_keep_next=false
1804for ac_pass in 1 2
1805do
1806  for ac_arg
1807  do
1808    case $ac_arg in
1809    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1810    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1811    | -silent | --silent | --silen | --sile | --sil)
1812      continue ;;
1813    *\'*)
1814      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1815    esac
1816    case $ac_pass in
1817    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1818    2)
1819      as_fn_append ac_configure_args1 " '$ac_arg'"
1820      if test $ac_must_keep_next = true; then
1821	ac_must_keep_next=false # Got value, back to normal.
1822      else
1823	case $ac_arg in
1824	  *=* | --config-cache | -C | -disable-* | --disable-* \
1825	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1826	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1827	  | -with-* | --with-* | -without-* | --without-* | --x)
1828	    case "$ac_configure_args0 " in
1829	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1830	    esac
1831	    ;;
1832	  -* ) ac_must_keep_next=true ;;
1833	esac
1834      fi
1835      as_fn_append ac_configure_args " '$ac_arg'"
1836      ;;
1837    esac
1838  done
1839done
1840{ ac_configure_args0=; unset ac_configure_args0;}
1841{ ac_configure_args1=; unset ac_configure_args1;}
1842
1843# When interrupted or exit'd, cleanup temporary files, and complete
1844# config.log.  We remove comments because anyway the quotes in there
1845# would cause problems or look ugly.
1846# WARNING: Use '\'' to represent an apostrophe within the trap.
1847# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1848trap 'exit_status=$?
1849  # Save into config.log some information that might help in debugging.
1850  {
1851    echo
1852
1853    cat <<\_ASBOX
1854## ---------------- ##
1855## Cache variables. ##
1856## ---------------- ##
1857_ASBOX
1858    echo
1859    # The following way of writing the cache mishandles newlines in values,
1860(
1861  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1862    eval ac_val=\$$ac_var
1863    case $ac_val in #(
1864    *${as_nl}*)
1865      case $ac_var in #(
1866      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1867$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1868      esac
1869      case $ac_var in #(
1870      _ | IFS | as_nl) ;; #(
1871      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1872      *) { eval $ac_var=; unset $ac_var;} ;;
1873      esac ;;
1874    esac
1875  done
1876  (set) 2>&1 |
1877    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1878    *${as_nl}ac_space=\ *)
1879      sed -n \
1880	"s/'\''/'\''\\\\'\'''\''/g;
1881	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1882      ;; #(
1883    *)
1884      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1885      ;;
1886    esac |
1887    sort
1888)
1889    echo
1890
1891    cat <<\_ASBOX
1892## ----------------- ##
1893## Output variables. ##
1894## ----------------- ##
1895_ASBOX
1896    echo
1897    for ac_var in $ac_subst_vars
1898    do
1899      eval ac_val=\$$ac_var
1900      case $ac_val in
1901      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1902      esac
1903      $as_echo "$ac_var='\''$ac_val'\''"
1904    done | sort
1905    echo
1906
1907    if test -n "$ac_subst_files"; then
1908      cat <<\_ASBOX
1909## ------------------- ##
1910## File substitutions. ##
1911## ------------------- ##
1912_ASBOX
1913      echo
1914      for ac_var in $ac_subst_files
1915      do
1916	eval ac_val=\$$ac_var
1917	case $ac_val in
1918	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1919	esac
1920	$as_echo "$ac_var='\''$ac_val'\''"
1921      done | sort
1922      echo
1923    fi
1924
1925    if test -s confdefs.h; then
1926      cat <<\_ASBOX
1927## ----------- ##
1928## confdefs.h. ##
1929## ----------- ##
1930_ASBOX
1931      echo
1932      cat confdefs.h
1933      echo
1934    fi
1935    test "$ac_signal" != 0 &&
1936      $as_echo "$as_me: caught signal $ac_signal"
1937    $as_echo "$as_me: exit $exit_status"
1938  } >&5
1939  rm -f core *.core core.conftest.* &&
1940    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1941    exit $exit_status
1942' 0
1943for ac_signal in 1 2 13 15; do
1944  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1945done
1946ac_signal=0
1947
1948# confdefs.h avoids OS command line length limits that DEFS can exceed.
1949rm -f -r conftest* confdefs.h
1950
1951$as_echo "/* confdefs.h */" > confdefs.h
1952
1953# Predefined preprocessor variables.
1954
1955cat >>confdefs.h <<_ACEOF
1956#define PACKAGE_NAME "$PACKAGE_NAME"
1957_ACEOF
1958
1959cat >>confdefs.h <<_ACEOF
1960#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1961_ACEOF
1962
1963cat >>confdefs.h <<_ACEOF
1964#define PACKAGE_VERSION "$PACKAGE_VERSION"
1965_ACEOF
1966
1967cat >>confdefs.h <<_ACEOF
1968#define PACKAGE_STRING "$PACKAGE_STRING"
1969_ACEOF
1970
1971cat >>confdefs.h <<_ACEOF
1972#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1973_ACEOF
1974
1975cat >>confdefs.h <<_ACEOF
1976#define PACKAGE_URL "$PACKAGE_URL"
1977_ACEOF
1978
1979
1980# Let the site file select an alternate cache file if it wants to.
1981# Prefer an explicitly selected file to automatically selected ones.
1982ac_site_file1=NONE
1983ac_site_file2=NONE
1984if test -n "$CONFIG_SITE"; then
1985  ac_site_file1=$CONFIG_SITE
1986elif test "x$prefix" != xNONE; then
1987  ac_site_file1=$prefix/share/config.site
1988  ac_site_file2=$prefix/etc/config.site
1989else
1990  ac_site_file1=$ac_default_prefix/share/config.site
1991  ac_site_file2=$ac_default_prefix/etc/config.site
1992fi
1993for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1994do
1995  test "x$ac_site_file" = xNONE && continue
1996  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1997    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1998$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1999    sed 's/^/| /' "$ac_site_file" >&5
2000    . "$ac_site_file"
2001  fi
2002done
2003
2004if test -r "$cache_file"; then
2005  # Some versions of bash will fail to source /dev/null (special files
2006  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2007  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2008    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2009$as_echo "$as_me: loading cache $cache_file" >&6;}
2010    case $cache_file in
2011      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2012      *)                      . "./$cache_file";;
2013    esac
2014  fi
2015else
2016  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2017$as_echo "$as_me: creating cache $cache_file" >&6;}
2018  >$cache_file
2019fi
2020
2021# Check that the precious variables saved in the cache have kept the same
2022# value.
2023ac_cache_corrupted=false
2024for ac_var in $ac_precious_vars; do
2025  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2026  eval ac_new_set=\$ac_env_${ac_var}_set
2027  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2028  eval ac_new_val=\$ac_env_${ac_var}_value
2029  case $ac_old_set,$ac_new_set in
2030    set,)
2031      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2032$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2033      ac_cache_corrupted=: ;;
2034    ,set)
2035      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2036$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2037      ac_cache_corrupted=: ;;
2038    ,);;
2039    *)
2040      if test "x$ac_old_val" != "x$ac_new_val"; then
2041	# differences in whitespace do not lead to failure.
2042	ac_old_val_w=`echo x $ac_old_val`
2043	ac_new_val_w=`echo x $ac_new_val`
2044	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2045	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2046$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2047	  ac_cache_corrupted=:
2048	else
2049	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2050$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2051	  eval $ac_var=\$ac_old_val
2052	fi
2053	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2054$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2055	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2056$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2057      fi;;
2058  esac
2059  # Pass precious variables to config.status.
2060  if test "$ac_new_set" = set; then
2061    case $ac_new_val in
2062    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2063    *) ac_arg=$ac_var=$ac_new_val ;;
2064    esac
2065    case " $ac_configure_args " in
2066      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2067      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2068    esac
2069  fi
2070done
2071if $ac_cache_corrupted; then
2072  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2073$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2074  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2075$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2076  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2077fi
2078## -------------------- ##
2079## Main body of script. ##
2080## -------------------- ##
2081
2082ac_ext=c
2083ac_cpp='$CPP $CPPFLAGS'
2084ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2085ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2086ac_compiler_gnu=$ac_cv_c_compiler_gnu
2087
2088
2089
2090am__api_version='1.11'
2091
2092ac_aux_dir=
2093for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2094  for ac_t in install-sh install.sh shtool; do
2095    if test -f "$ac_dir/$ac_t"; then
2096      ac_aux_dir=$ac_dir
2097      ac_install_sh="$ac_aux_dir/$ac_t -c"
2098      break 2
2099    fi
2100  done
2101done
2102if test -z "$ac_aux_dir"; then
2103  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2104fi
2105
2106# These three variables are undocumented and unsupported,
2107# and are intended to be withdrawn in a future Autoconf release.
2108# They can cause serious problems if a builder's source tree is in a directory
2109# whose full name contains unusual characters.
2110ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2111ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2112ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2113
2114
2115# Find a good install program.  We prefer a C program (faster),
2116# so one script is as good as another.  But avoid the broken or
2117# incompatible versions:
2118# SysV /etc/install, /usr/sbin/install
2119# SunOS /usr/etc/install
2120# IRIX /sbin/install
2121# AIX /bin/install
2122# AmigaOS /C/install, which installs bootblocks on floppy discs
2123# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2124# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2125# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2126# OS/2's system install, which has a completely different semantic
2127# ./install, which can be erroneously created by make from ./install.sh.
2128# Reject install programs that cannot install multiple files.
2129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2130$as_echo_n "checking for a BSD-compatible install... " >&6; }
2131if test -z "$INSTALL"; then
2132if test "${ac_cv_path_install+set}" = set; then :
2133  $as_echo_n "(cached) " >&6
2134else
2135  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136for as_dir in $PATH
2137do
2138  IFS=$as_save_IFS
2139  test -z "$as_dir" && as_dir=.
2140    # Account for people who put trailing slashes in PATH elements.
2141case $as_dir/ in #((
2142  ./ | .// | /[cC]/* | \
2143  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2144  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2145  /usr/ucb/* ) ;;
2146  *)
2147    # OSF1 and SCO ODT 3.0 have their own names for install.
2148    # Don't use installbsd from OSF since it installs stuff as root
2149    # by default.
2150    for ac_prog in ginstall scoinst install; do
2151      for ac_exec_ext in '' $ac_executable_extensions; do
2152	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2153	  if test $ac_prog = install &&
2154	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2155	    # AIX install.  It has an incompatible calling convention.
2156	    :
2157	  elif test $ac_prog = install &&
2158	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2159	    # program-specific install script used by HP pwplus--don't use.
2160	    :
2161	  else
2162	    rm -rf conftest.one conftest.two conftest.dir
2163	    echo one > conftest.one
2164	    echo two > conftest.two
2165	    mkdir conftest.dir
2166	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2167	      test -s conftest.one && test -s conftest.two &&
2168	      test -s conftest.dir/conftest.one &&
2169	      test -s conftest.dir/conftest.two
2170	    then
2171	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2172	      break 3
2173	    fi
2174	  fi
2175	fi
2176      done
2177    done
2178    ;;
2179esac
2180
2181  done
2182IFS=$as_save_IFS
2183
2184rm -rf conftest.one conftest.two conftest.dir
2185
2186fi
2187  if test "${ac_cv_path_install+set}" = set; then
2188    INSTALL=$ac_cv_path_install
2189  else
2190    # As a last resort, use the slow shell script.  Don't cache a
2191    # value for INSTALL within a source directory, because that will
2192    # break other packages using the cache if that directory is
2193    # removed, or if the value is a relative name.
2194    INSTALL=$ac_install_sh
2195  fi
2196fi
2197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2198$as_echo "$INSTALL" >&6; }
2199
2200# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2201# It thinks the first close brace ends the variable substitution.
2202test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2203
2204test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2205
2206test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2207
2208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2209$as_echo_n "checking whether build environment is sane... " >&6; }
2210# Just in case
2211sleep 1
2212echo timestamp > conftest.file
2213# Reject unsafe characters in $srcdir or the absolute working directory
2214# name.  Accept space and tab only in the latter.
2215am_lf='
2216'
2217case `pwd` in
2218  *[\\\"\#\$\&\'\`$am_lf]*)
2219    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2220esac
2221case $srcdir in
2222  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2223    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2224esac
2225
2226# Do `set' in a subshell so we don't clobber the current shell's
2227# arguments.  Must try -L first in case configure is actually a
2228# symlink; some systems play weird games with the mod time of symlinks
2229# (eg FreeBSD returns the mod time of the symlink's containing
2230# directory).
2231if (
2232   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2233   if test "$*" = "X"; then
2234      # -L didn't work.
2235      set X `ls -t "$srcdir/configure" conftest.file`
2236   fi
2237   rm -f conftest.file
2238   if test "$*" != "X $srcdir/configure conftest.file" \
2239      && test "$*" != "X conftest.file $srcdir/configure"; then
2240
2241      # If neither matched, then we have a broken ls.  This can happen
2242      # if, for instance, CONFIG_SHELL is bash and it inherits a
2243      # broken ls alias from the environment.  This has actually
2244      # happened.  Such a system could not be considered "sane".
2245      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2246alias in your environment" "$LINENO" 5
2247   fi
2248
2249   test "$2" = conftest.file
2250   )
2251then
2252   # Ok.
2253   :
2254else
2255   as_fn_error "newly created file is older than distributed files!
2256Check your system clock" "$LINENO" 5
2257fi
2258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2259$as_echo "yes" >&6; }
2260test "$program_prefix" != NONE &&
2261  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2262# Use a double $ so make ignores it.
2263test "$program_suffix" != NONE &&
2264  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2265# Double any \ or $.
2266# By default was `s,x,x', remove it if useless.
2267ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2268program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2269
2270# expand $ac_aux_dir to an absolute path
2271am_aux_dir=`cd $ac_aux_dir && pwd`
2272
2273if test x"${MISSING+set}" != xset; then
2274  case $am_aux_dir in
2275  *\ * | *\	*)
2276    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2277  *)
2278    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2279  esac
2280fi
2281# Use eval to expand $SHELL
2282if eval "$MISSING --run true"; then
2283  am_missing_run="$MISSING --run "
2284else
2285  am_missing_run=
2286  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2287$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2288fi
2289
2290if test x"${install_sh}" != xset; then
2291  case $am_aux_dir in
2292  *\ * | *\	*)
2293    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2294  *)
2295    install_sh="\${SHELL} $am_aux_dir/install-sh"
2296  esac
2297fi
2298
2299# Installed binaries are usually stripped using `strip' when the user
2300# run `make install-strip'.  However `strip' might not be the right
2301# tool to use in cross-compilation environments, therefore Automake
2302# will honor the `STRIP' environment variable to overrule this program.
2303if test "$cross_compiling" != no; then
2304  if test -n "$ac_tool_prefix"; then
2305  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2306set dummy ${ac_tool_prefix}strip; ac_word=$2
2307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2308$as_echo_n "checking for $ac_word... " >&6; }
2309if test "${ac_cv_prog_STRIP+set}" = set; then :
2310  $as_echo_n "(cached) " >&6
2311else
2312  if test -n "$STRIP"; then
2313  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2314else
2315as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316for as_dir in $PATH
2317do
2318  IFS=$as_save_IFS
2319  test -z "$as_dir" && as_dir=.
2320    for ac_exec_ext in '' $ac_executable_extensions; do
2321  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2322    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2323    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2324    break 2
2325  fi
2326done
2327  done
2328IFS=$as_save_IFS
2329
2330fi
2331fi
2332STRIP=$ac_cv_prog_STRIP
2333if test -n "$STRIP"; then
2334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2335$as_echo "$STRIP" >&6; }
2336else
2337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2338$as_echo "no" >&6; }
2339fi
2340
2341
2342fi
2343if test -z "$ac_cv_prog_STRIP"; then
2344  ac_ct_STRIP=$STRIP
2345  # Extract the first word of "strip", so it can be a program name with args.
2346set dummy strip; ac_word=$2
2347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2348$as_echo_n "checking for $ac_word... " >&6; }
2349if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2350  $as_echo_n "(cached) " >&6
2351else
2352  if test -n "$ac_ct_STRIP"; then
2353  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2354else
2355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356for as_dir in $PATH
2357do
2358  IFS=$as_save_IFS
2359  test -z "$as_dir" && as_dir=.
2360    for ac_exec_ext in '' $ac_executable_extensions; do
2361  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2362    ac_cv_prog_ac_ct_STRIP="strip"
2363    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2364    break 2
2365  fi
2366done
2367  done
2368IFS=$as_save_IFS
2369
2370fi
2371fi
2372ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2373if test -n "$ac_ct_STRIP"; then
2374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2375$as_echo "$ac_ct_STRIP" >&6; }
2376else
2377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2378$as_echo "no" >&6; }
2379fi
2380
2381  if test "x$ac_ct_STRIP" = x; then
2382    STRIP=":"
2383  else
2384    case $cross_compiling:$ac_tool_warned in
2385yes:)
2386{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2387$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2388ac_tool_warned=yes ;;
2389esac
2390    STRIP=$ac_ct_STRIP
2391  fi
2392else
2393  STRIP="$ac_cv_prog_STRIP"
2394fi
2395
2396fi
2397INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2398
2399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2400$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2401if test -z "$MKDIR_P"; then
2402  if test "${ac_cv_path_mkdir+set}" = set; then :
2403  $as_echo_n "(cached) " >&6
2404else
2405  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2406for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2407do
2408  IFS=$as_save_IFS
2409  test -z "$as_dir" && as_dir=.
2410    for ac_prog in mkdir gmkdir; do
2411	 for ac_exec_ext in '' $ac_executable_extensions; do
2412	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2413	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2414	     'mkdir (GNU coreutils) '* | \
2415	     'mkdir (coreutils) '* | \
2416	     'mkdir (fileutils) '4.1*)
2417	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2418	       break 3;;
2419	   esac
2420	 done
2421       done
2422  done
2423IFS=$as_save_IFS
2424
2425fi
2426
2427  test -d ./--version && rmdir ./--version
2428  if test "${ac_cv_path_mkdir+set}" = set; then
2429    MKDIR_P="$ac_cv_path_mkdir -p"
2430  else
2431    # As a last resort, use the slow shell script.  Don't cache a
2432    # value for MKDIR_P within a source directory, because that will
2433    # break other packages using the cache if that directory is
2434    # removed, or if the value is a relative name.
2435    MKDIR_P="$ac_install_sh -d"
2436  fi
2437fi
2438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2439$as_echo "$MKDIR_P" >&6; }
2440
2441mkdir_p="$MKDIR_P"
2442case $mkdir_p in
2443  [\\/$]* | ?:[\\/]*) ;;
2444  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2445esac
2446
2447for ac_prog in gawk mawk nawk awk
2448do
2449  # Extract the first word of "$ac_prog", so it can be a program name with args.
2450set dummy $ac_prog; ac_word=$2
2451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2452$as_echo_n "checking for $ac_word... " >&6; }
2453if test "${ac_cv_prog_AWK+set}" = set; then :
2454  $as_echo_n "(cached) " >&6
2455else
2456  if test -n "$AWK"; then
2457  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2458else
2459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2460for as_dir in $PATH
2461do
2462  IFS=$as_save_IFS
2463  test -z "$as_dir" && as_dir=.
2464    for ac_exec_ext in '' $ac_executable_extensions; do
2465  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2466    ac_cv_prog_AWK="$ac_prog"
2467    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2468    break 2
2469  fi
2470done
2471  done
2472IFS=$as_save_IFS
2473
2474fi
2475fi
2476AWK=$ac_cv_prog_AWK
2477if test -n "$AWK"; then
2478  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2479$as_echo "$AWK" >&6; }
2480else
2481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2482$as_echo "no" >&6; }
2483fi
2484
2485
2486  test -n "$AWK" && break
2487done
2488
2489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2490$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2491set x ${MAKE-make}
2492ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2493if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2494  $as_echo_n "(cached) " >&6
2495else
2496  cat >conftest.make <<\_ACEOF
2497SHELL = /bin/sh
2498all:
2499	@echo '@@@%%%=$(MAKE)=@@@%%%'
2500_ACEOF
2501# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2502case `${MAKE-make} -f conftest.make 2>/dev/null` in
2503  *@@@%%%=?*=@@@%%%*)
2504    eval ac_cv_prog_make_${ac_make}_set=yes;;
2505  *)
2506    eval ac_cv_prog_make_${ac_make}_set=no;;
2507esac
2508rm -f conftest.make
2509fi
2510if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2512$as_echo "yes" >&6; }
2513  SET_MAKE=
2514else
2515  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2516$as_echo "no" >&6; }
2517  SET_MAKE="MAKE=${MAKE-make}"
2518fi
2519
2520rm -rf .tst 2>/dev/null
2521mkdir .tst 2>/dev/null
2522if test -d .tst; then
2523  am__leading_dot=.
2524else
2525  am__leading_dot=_
2526fi
2527rmdir .tst 2>/dev/null
2528
2529if test "`cd $srcdir && pwd`" != "`pwd`"; then
2530  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2531  # is not polluted with repeated "-I."
2532  am__isrc=' -I$(srcdir)'
2533  # test to see if srcdir already configured
2534  if test -f $srcdir/config.status; then
2535    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2536  fi
2537fi
2538
2539# test whether we have cygpath
2540if test -z "$CYGPATH_W"; then
2541  if (cygpath --version) >/dev/null 2>/dev/null; then
2542    CYGPATH_W='cygpath -w'
2543  else
2544    CYGPATH_W=echo
2545  fi
2546fi
2547
2548
2549# Define the identity of the package.
2550 PACKAGE='openlldp'
2551 VERSION='0.4alpha'
2552
2553
2554cat >>confdefs.h <<_ACEOF
2555#define PACKAGE "$PACKAGE"
2556_ACEOF
2557
2558
2559cat >>confdefs.h <<_ACEOF
2560#define VERSION "$VERSION"
2561_ACEOF
2562
2563# Some tools Automake needs.
2564
2565ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2566
2567
2568AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2569
2570
2571AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2572
2573
2574AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2575
2576
2577MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2578
2579# We need awk for the "check" target.  The system "awk" is bad on
2580# some platforms.
2581# Always define AMTAR for backward compatibility.
2582
2583AMTAR=${AMTAR-"${am_missing_run}tar"}
2584
2585am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2586
2587
2588
2589
2590
2591if test -n "$ac_tool_prefix"; then
2592  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2593set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2595$as_echo_n "checking for $ac_word... " >&6; }
2596if test "${ac_cv_prog_RANLIB+set}" = set; then :
2597  $as_echo_n "(cached) " >&6
2598else
2599  if test -n "$RANLIB"; then
2600  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2601else
2602as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2603for as_dir in $PATH
2604do
2605  IFS=$as_save_IFS
2606  test -z "$as_dir" && as_dir=.
2607    for ac_exec_ext in '' $ac_executable_extensions; do
2608  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2609    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2610    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2611    break 2
2612  fi
2613done
2614  done
2615IFS=$as_save_IFS
2616
2617fi
2618fi
2619RANLIB=$ac_cv_prog_RANLIB
2620if test -n "$RANLIB"; then
2621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2622$as_echo "$RANLIB" >&6; }
2623else
2624  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2625$as_echo "no" >&6; }
2626fi
2627
2628
2629fi
2630if test -z "$ac_cv_prog_RANLIB"; then
2631  ac_ct_RANLIB=$RANLIB
2632  # Extract the first word of "ranlib", so it can be a program name with args.
2633set dummy ranlib; ac_word=$2
2634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2635$as_echo_n "checking for $ac_word... " >&6; }
2636if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2637  $as_echo_n "(cached) " >&6
2638else
2639  if test -n "$ac_ct_RANLIB"; then
2640  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2641else
2642as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2643for as_dir in $PATH
2644do
2645  IFS=$as_save_IFS
2646  test -z "$as_dir" && as_dir=.
2647    for ac_exec_ext in '' $ac_executable_extensions; do
2648  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2649    ac_cv_prog_ac_ct_RANLIB="ranlib"
2650    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2651    break 2
2652  fi
2653done
2654  done
2655IFS=$as_save_IFS
2656
2657fi
2658fi
2659ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2660if test -n "$ac_ct_RANLIB"; then
2661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2662$as_echo "$ac_ct_RANLIB" >&6; }
2663else
2664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2665$as_echo "no" >&6; }
2666fi
2667
2668  if test "x$ac_ct_RANLIB" = x; then
2669    RANLIB=":"
2670  else
2671    case $cross_compiling:$ac_tool_warned in
2672yes:)
2673{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2674$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2675ac_tool_warned=yes ;;
2676esac
2677    RANLIB=$ac_ct_RANLIB
2678  fi
2679else
2680  RANLIB="$ac_cv_prog_RANLIB"
2681fi
2682
2683ac_ext=c
2684ac_cpp='$CPP $CPPFLAGS'
2685ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2686ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2687ac_compiler_gnu=$ac_cv_c_compiler_gnu
2688if test -n "$ac_tool_prefix"; then
2689  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2690set dummy ${ac_tool_prefix}gcc; ac_word=$2
2691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2692$as_echo_n "checking for $ac_word... " >&6; }
2693if test "${ac_cv_prog_CC+set}" = set; then :
2694  $as_echo_n "(cached) " >&6
2695else
2696  if test -n "$CC"; then
2697  ac_cv_prog_CC="$CC" # Let the user override the test.
2698else
2699as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700for as_dir in $PATH
2701do
2702  IFS=$as_save_IFS
2703  test -z "$as_dir" && as_dir=.
2704    for ac_exec_ext in '' $ac_executable_extensions; do
2705  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2707    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2708    break 2
2709  fi
2710done
2711  done
2712IFS=$as_save_IFS
2713
2714fi
2715fi
2716CC=$ac_cv_prog_CC
2717if test -n "$CC"; then
2718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2719$as_echo "$CC" >&6; }
2720else
2721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2722$as_echo "no" >&6; }
2723fi
2724
2725
2726fi
2727if test -z "$ac_cv_prog_CC"; then
2728  ac_ct_CC=$CC
2729  # Extract the first word of "gcc", so it can be a program name with args.
2730set dummy gcc; ac_word=$2
2731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2732$as_echo_n "checking for $ac_word... " >&6; }
2733if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2734  $as_echo_n "(cached) " >&6
2735else
2736  if test -n "$ac_ct_CC"; then
2737  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2738else
2739as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740for as_dir in $PATH
2741do
2742  IFS=$as_save_IFS
2743  test -z "$as_dir" && as_dir=.
2744    for ac_exec_ext in '' $ac_executable_extensions; do
2745  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2746    ac_cv_prog_ac_ct_CC="gcc"
2747    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2748    break 2
2749  fi
2750done
2751  done
2752IFS=$as_save_IFS
2753
2754fi
2755fi
2756ac_ct_CC=$ac_cv_prog_ac_ct_CC
2757if test -n "$ac_ct_CC"; then
2758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2759$as_echo "$ac_ct_CC" >&6; }
2760else
2761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2762$as_echo "no" >&6; }
2763fi
2764
2765  if test "x$ac_ct_CC" = x; then
2766    CC=""
2767  else
2768    case $cross_compiling:$ac_tool_warned in
2769yes:)
2770{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2771$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2772ac_tool_warned=yes ;;
2773esac
2774    CC=$ac_ct_CC
2775  fi
2776else
2777  CC="$ac_cv_prog_CC"
2778fi
2779
2780if test -z "$CC"; then
2781          if test -n "$ac_tool_prefix"; then
2782    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2783set dummy ${ac_tool_prefix}cc; ac_word=$2
2784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785$as_echo_n "checking for $ac_word... " >&6; }
2786if test "${ac_cv_prog_CC+set}" = set; then :
2787  $as_echo_n "(cached) " >&6
2788else
2789  if test -n "$CC"; then
2790  ac_cv_prog_CC="$CC" # Let the user override the test.
2791else
2792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793for as_dir in $PATH
2794do
2795  IFS=$as_save_IFS
2796  test -z "$as_dir" && as_dir=.
2797    for ac_exec_ext in '' $ac_executable_extensions; do
2798  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799    ac_cv_prog_CC="${ac_tool_prefix}cc"
2800    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801    break 2
2802  fi
2803done
2804  done
2805IFS=$as_save_IFS
2806
2807fi
2808fi
2809CC=$ac_cv_prog_CC
2810if test -n "$CC"; then
2811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2812$as_echo "$CC" >&6; }
2813else
2814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815$as_echo "no" >&6; }
2816fi
2817
2818
2819  fi
2820fi
2821if test -z "$CC"; then
2822  # Extract the first word of "cc", so it can be a program name with args.
2823set dummy cc; ac_word=$2
2824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2825$as_echo_n "checking for $ac_word... " >&6; }
2826if test "${ac_cv_prog_CC+set}" = set; then :
2827  $as_echo_n "(cached) " >&6
2828else
2829  if test -n "$CC"; then
2830  ac_cv_prog_CC="$CC" # Let the user override the test.
2831else
2832  ac_prog_rejected=no
2833as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2834for as_dir in $PATH
2835do
2836  IFS=$as_save_IFS
2837  test -z "$as_dir" && as_dir=.
2838    for ac_exec_ext in '' $ac_executable_extensions; do
2839  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2840    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2841       ac_prog_rejected=yes
2842       continue
2843     fi
2844    ac_cv_prog_CC="cc"
2845    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2846    break 2
2847  fi
2848done
2849  done
2850IFS=$as_save_IFS
2851
2852if test $ac_prog_rejected = yes; then
2853  # We found a bogon in the path, so make sure we never use it.
2854  set dummy $ac_cv_prog_CC
2855  shift
2856  if test $# != 0; then
2857    # We chose a different compiler from the bogus one.
2858    # However, it has the same basename, so the bogon will be chosen
2859    # first if we set CC to just the basename; use the full file name.
2860    shift
2861    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2862  fi
2863fi
2864fi
2865fi
2866CC=$ac_cv_prog_CC
2867if test -n "$CC"; then
2868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2869$as_echo "$CC" >&6; }
2870else
2871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872$as_echo "no" >&6; }
2873fi
2874
2875
2876fi
2877if test -z "$CC"; then
2878  if test -n "$ac_tool_prefix"; then
2879  for ac_prog in cl.exe
2880  do
2881    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2882set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2884$as_echo_n "checking for $ac_word... " >&6; }
2885if test "${ac_cv_prog_CC+set}" = set; then :
2886  $as_echo_n "(cached) " >&6
2887else
2888  if test -n "$CC"; then
2889  ac_cv_prog_CC="$CC" # Let the user override the test.
2890else
2891as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892for as_dir in $PATH
2893do
2894  IFS=$as_save_IFS
2895  test -z "$as_dir" && as_dir=.
2896    for ac_exec_ext in '' $ac_executable_extensions; do
2897  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2898    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2899    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900    break 2
2901  fi
2902done
2903  done
2904IFS=$as_save_IFS
2905
2906fi
2907fi
2908CC=$ac_cv_prog_CC
2909if test -n "$CC"; then
2910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2911$as_echo "$CC" >&6; }
2912else
2913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2914$as_echo "no" >&6; }
2915fi
2916
2917
2918    test -n "$CC" && break
2919  done
2920fi
2921if test -z "$CC"; then
2922  ac_ct_CC=$CC
2923  for ac_prog in cl.exe
2924do
2925  # Extract the first word of "$ac_prog", so it can be a program name with args.
2926set dummy $ac_prog; ac_word=$2
2927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2928$as_echo_n "checking for $ac_word... " >&6; }
2929if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2930  $as_echo_n "(cached) " >&6
2931else
2932  if test -n "$ac_ct_CC"; then
2933  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2934else
2935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936for as_dir in $PATH
2937do
2938  IFS=$as_save_IFS
2939  test -z "$as_dir" && as_dir=.
2940    for ac_exec_ext in '' $ac_executable_extensions; do
2941  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2942    ac_cv_prog_ac_ct_CC="$ac_prog"
2943    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2944    break 2
2945  fi
2946done
2947  done
2948IFS=$as_save_IFS
2949
2950fi
2951fi
2952ac_ct_CC=$ac_cv_prog_ac_ct_CC
2953if test -n "$ac_ct_CC"; then
2954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2955$as_echo "$ac_ct_CC" >&6; }
2956else
2957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2958$as_echo "no" >&6; }
2959fi
2960
2961
2962  test -n "$ac_ct_CC" && break
2963done
2964
2965  if test "x$ac_ct_CC" = x; then
2966    CC=""
2967  else
2968    case $cross_compiling:$ac_tool_warned in
2969yes:)
2970{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2971$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2972ac_tool_warned=yes ;;
2973esac
2974    CC=$ac_ct_CC
2975  fi
2976fi
2977
2978fi
2979
2980
2981test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2982$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2983as_fn_error "no acceptable C compiler found in \$PATH
2984See \`config.log' for more details." "$LINENO" 5; }
2985
2986# Provide some information about the compiler.
2987$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2988set X $ac_compile
2989ac_compiler=$2
2990for ac_option in --version -v -V -qversion; do
2991  { { ac_try="$ac_compiler $ac_option >&5"
2992case "(($ac_try" in
2993  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2994  *) ac_try_echo=$ac_try;;
2995esac
2996eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2997$as_echo "$ac_try_echo"; } >&5
2998  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2999  ac_status=$?
3000  if test -s conftest.err; then
3001    sed '10a\
3002... rest of stderr output deleted ...
3003         10q' conftest.err >conftest.er1
3004    cat conftest.er1 >&5
3005  fi
3006  rm -f conftest.er1 conftest.err
3007  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3008  test $ac_status = 0; }
3009done
3010
3011cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3012/* end confdefs.h.  */
3013
3014int
3015main ()
3016{
3017
3018  ;
3019  return 0;
3020}
3021_ACEOF
3022ac_clean_files_save=$ac_clean_files
3023ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3024# Try to create an executable without -o first, disregard a.out.
3025# It will help us diagnose broken compilers, and finding out an intuition
3026# of exeext.
3027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3028$as_echo_n "checking whether the C compiler works... " >&6; }
3029ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3030
3031# The possible output files:
3032ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3033
3034ac_rmfiles=
3035for ac_file in $ac_files
3036do
3037  case $ac_file in
3038    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3039    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3040  esac
3041done
3042rm -f $ac_rmfiles
3043
3044if { { ac_try="$ac_link_default"
3045case "(($ac_try" in
3046  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047  *) ac_try_echo=$ac_try;;
3048esac
3049eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3050$as_echo "$ac_try_echo"; } >&5
3051  (eval "$ac_link_default") 2>&5
3052  ac_status=$?
3053  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3054  test $ac_status = 0; }; then :
3055  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3056# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3057# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3058# so that the user can short-circuit this test for compilers unknown to
3059# Autoconf.
3060for ac_file in $ac_files ''
3061do
3062  test -f "$ac_file" || continue
3063  case $ac_file in
3064    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3065	;;
3066    [ab].out )
3067	# We found the default executable, but exeext='' is most
3068	# certainly right.
3069	break;;
3070    *.* )
3071	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3072	then :; else
3073	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3074	fi
3075	# We set ac_cv_exeext here because the later test for it is not
3076	# safe: cross compilers may not add the suffix if given an `-o'
3077	# argument, so we may need to know it at that point already.
3078	# Even if this section looks crufty: it has the advantage of
3079	# actually working.
3080	break;;
3081    * )
3082	break;;
3083  esac
3084done
3085test "$ac_cv_exeext" = no && ac_cv_exeext=
3086
3087else
3088  ac_file=''
3089fi
3090if test -z "$ac_file"; then :
3091  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092$as_echo "no" >&6; }
3093$as_echo "$as_me: failed program was:" >&5
3094sed 's/^/| /' conftest.$ac_ext >&5
3095
3096{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3097$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3098{ as_fn_set_status 77
3099as_fn_error "C compiler cannot create executables
3100See \`config.log' for more details." "$LINENO" 5; }; }
3101else
3102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3103$as_echo "yes" >&6; }
3104fi
3105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3106$as_echo_n "checking for C compiler default output file name... " >&6; }
3107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3108$as_echo "$ac_file" >&6; }
3109ac_exeext=$ac_cv_exeext
3110
3111rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3112ac_clean_files=$ac_clean_files_save
3113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3114$as_echo_n "checking for suffix of executables... " >&6; }
3115if { { ac_try="$ac_link"
3116case "(($ac_try" in
3117  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118  *) ac_try_echo=$ac_try;;
3119esac
3120eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3121$as_echo "$ac_try_echo"; } >&5
3122  (eval "$ac_link") 2>&5
3123  ac_status=$?
3124  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3125  test $ac_status = 0; }; then :
3126  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3127# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3128# work properly (i.e., refer to `conftest.exe'), while it won't with
3129# `rm'.
3130for ac_file in conftest.exe conftest conftest.*; do
3131  test -f "$ac_file" || continue
3132  case $ac_file in
3133    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3134    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3135	  break;;
3136    * ) break;;
3137  esac
3138done
3139else
3140  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3141$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3142as_fn_error "cannot compute suffix of executables: cannot compile and link
3143See \`config.log' for more details." "$LINENO" 5; }
3144fi
3145rm -f conftest conftest$ac_cv_exeext
3146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3147$as_echo "$ac_cv_exeext" >&6; }
3148
3149rm -f conftest.$ac_ext
3150EXEEXT=$ac_cv_exeext
3151ac_exeext=$EXEEXT
3152cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3153/* end confdefs.h.  */
3154#include <stdio.h>
3155int
3156main ()
3157{
3158FILE *f = fopen ("conftest.out", "w");
3159 return ferror (f) || fclose (f) != 0;
3160
3161  ;
3162  return 0;
3163}
3164_ACEOF
3165ac_clean_files="$ac_clean_files conftest.out"
3166# Check that the compiler produces executables we can run.  If not, either
3167# the compiler is broken, or we cross compile.
3168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3169$as_echo_n "checking whether we are cross compiling... " >&6; }
3170if test "$cross_compiling" != yes; then
3171  { { ac_try="$ac_link"
3172case "(($ac_try" in
3173  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174  *) ac_try_echo=$ac_try;;
3175esac
3176eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3177$as_echo "$ac_try_echo"; } >&5
3178  (eval "$ac_link") 2>&5
3179  ac_status=$?
3180  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3181  test $ac_status = 0; }
3182  if { ac_try='./conftest$ac_cv_exeext'
3183  { { case "(($ac_try" in
3184  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185  *) ac_try_echo=$ac_try;;
3186esac
3187eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3188$as_echo "$ac_try_echo"; } >&5
3189  (eval "$ac_try") 2>&5
3190  ac_status=$?
3191  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3192  test $ac_status = 0; }; }; then
3193    cross_compiling=no
3194  else
3195    if test "$cross_compiling" = maybe; then
3196	cross_compiling=yes
3197    else
3198	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3199$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3200as_fn_error "cannot run C compiled programs.
3201If you meant to cross compile, use \`--host'.
3202See \`config.log' for more details." "$LINENO" 5; }
3203    fi
3204  fi
3205fi
3206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3207$as_echo "$cross_compiling" >&6; }
3208
3209rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3210ac_clean_files=$ac_clean_files_save
3211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3212$as_echo_n "checking for suffix of object files... " >&6; }
3213if test "${ac_cv_objext+set}" = set; then :
3214  $as_echo_n "(cached) " >&6
3215else
3216  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3217/* end confdefs.h.  */
3218
3219int
3220main ()
3221{
3222
3223  ;
3224  return 0;
3225}
3226_ACEOF
3227rm -f conftest.o conftest.obj
3228if { { ac_try="$ac_compile"
3229case "(($ac_try" in
3230  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3231  *) ac_try_echo=$ac_try;;
3232esac
3233eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3234$as_echo "$ac_try_echo"; } >&5
3235  (eval "$ac_compile") 2>&5
3236  ac_status=$?
3237  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3238  test $ac_status = 0; }; then :
3239  for ac_file in conftest.o conftest.obj conftest.*; do
3240  test -f "$ac_file" || continue;
3241  case $ac_file in
3242    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3243    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3244       break;;
3245  esac
3246done
3247else
3248  $as_echo "$as_me: failed program was:" >&5
3249sed 's/^/| /' conftest.$ac_ext >&5
3250
3251{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3252$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3253as_fn_error "cannot compute suffix of object files: cannot compile
3254See \`config.log' for more details." "$LINENO" 5; }
3255fi
3256rm -f conftest.$ac_cv_objext conftest.$ac_ext
3257fi
3258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3259$as_echo "$ac_cv_objext" >&6; }
3260OBJEXT=$ac_cv_objext
3261ac_objext=$OBJEXT
3262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3263$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3264if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3265  $as_echo_n "(cached) " >&6
3266else
3267  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3268/* end confdefs.h.  */
3269
3270int
3271main ()
3272{
3273#ifndef __GNUC__
3274       choke me
3275#endif
3276
3277  ;
3278  return 0;
3279}
3280_ACEOF
3281if ac_fn_c_try_compile "$LINENO"; then :
3282  ac_compiler_gnu=yes
3283else
3284  ac_compiler_gnu=no
3285fi
3286rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3287ac_cv_c_compiler_gnu=$ac_compiler_gnu
3288
3289fi
3290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3291$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3292if test $ac_compiler_gnu = yes; then
3293  GCC=yes
3294else
3295  GCC=
3296fi
3297ac_test_CFLAGS=${CFLAGS+set}
3298ac_save_CFLAGS=$CFLAGS
3299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3300$as_echo_n "checking whether $CC accepts -g... " >&6; }
3301if test "${ac_cv_prog_cc_g+set}" = set; then :
3302  $as_echo_n "(cached) " >&6
3303else
3304  ac_save_c_werror_flag=$ac_c_werror_flag
3305   ac_c_werror_flag=yes
3306   ac_cv_prog_cc_g=no
3307   CFLAGS="-g"
3308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309/* end confdefs.h.  */
3310
3311int
3312main ()
3313{
3314
3315  ;
3316  return 0;
3317}
3318_ACEOF
3319if ac_fn_c_try_compile "$LINENO"; then :
3320  ac_cv_prog_cc_g=yes
3321else
3322  CFLAGS=""
3323      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324/* end confdefs.h.  */
3325
3326int
3327main ()
3328{
3329
3330  ;
3331  return 0;
3332}
3333_ACEOF
3334if ac_fn_c_try_compile "$LINENO"; then :
3335
3336else
3337  ac_c_werror_flag=$ac_save_c_werror_flag
3338	 CFLAGS="-g"
3339	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340/* end confdefs.h.  */
3341
3342int
3343main ()
3344{
3345
3346  ;
3347  return 0;
3348}
3349_ACEOF
3350if ac_fn_c_try_compile "$LINENO"; then :
3351  ac_cv_prog_cc_g=yes
3352fi
3353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3354fi
3355rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3356fi
3357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3358   ac_c_werror_flag=$ac_save_c_werror_flag
3359fi
3360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3361$as_echo "$ac_cv_prog_cc_g" >&6; }
3362if test "$ac_test_CFLAGS" = set; then
3363  CFLAGS=$ac_save_CFLAGS
3364elif test $ac_cv_prog_cc_g = yes; then
3365  if test "$GCC" = yes; then
3366    CFLAGS="-g -O2"
3367  else
3368    CFLAGS="-g"
3369  fi
3370else
3371  if test "$GCC" = yes; then
3372    CFLAGS="-O2"
3373  else
3374    CFLAGS=
3375  fi
3376fi
3377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3378$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3379if test "${ac_cv_prog_cc_c89+set}" = set; then :
3380  $as_echo_n "(cached) " >&6
3381else
3382  ac_cv_prog_cc_c89=no
3383ac_save_CC=$CC
3384cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3385/* end confdefs.h.  */
3386#include <stdarg.h>
3387#include <stdio.h>
3388#include <sys/types.h>
3389#include <sys/stat.h>
3390/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3391struct buf { int x; };
3392FILE * (*rcsopen) (struct buf *, struct stat *, int);
3393static char *e (p, i)
3394     char **p;
3395     int i;
3396{
3397  return p[i];
3398}
3399static char *f (char * (*g) (char **, int), char **p, ...)
3400{
3401  char *s;
3402  va_list v;
3403  va_start (v,p);
3404  s = g (p, va_arg (v,int));
3405  va_end (v);
3406  return s;
3407}
3408
3409/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3410   function prototypes and stuff, but not '\xHH' hex character constants.
3411   These don't provoke an error unfortunately, instead are silently treated
3412   as 'x'.  The following induces an error, until -std is added to get
3413   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3414   array size at least.  It's necessary to write '\x00'==0 to get something
3415   that's true only with -std.  */
3416int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3417
3418/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3419   inside strings and character constants.  */
3420#define FOO(x) 'x'
3421int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3422
3423int test (int i, double x);
3424struct s1 {int (*f) (int a);};
3425struct s2 {int (*f) (double a);};
3426int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3427int argc;
3428char **argv;
3429int
3430main ()
3431{
3432return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3433  ;
3434  return 0;
3435}
3436_ACEOF
3437for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3438	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3439do
3440  CC="$ac_save_CC $ac_arg"
3441  if ac_fn_c_try_compile "$LINENO"; then :
3442  ac_cv_prog_cc_c89=$ac_arg
3443fi
3444rm -f core conftest.err conftest.$ac_objext
3445  test "x$ac_cv_prog_cc_c89" != "xno" && break
3446done
3447rm -f conftest.$ac_ext
3448CC=$ac_save_CC
3449
3450fi
3451# AC_CACHE_VAL
3452case "x$ac_cv_prog_cc_c89" in
3453  x)
3454    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3455$as_echo "none needed" >&6; } ;;
3456  xno)
3457    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3458$as_echo "unsupported" >&6; } ;;
3459  *)
3460    CC="$CC $ac_cv_prog_cc_c89"
3461    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3462$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3463esac
3464if test "x$ac_cv_prog_cc_c89" != xno; then :
3465
3466fi
3467
3468ac_ext=c
3469ac_cpp='$CPP $CPPFLAGS'
3470ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3471ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3472ac_compiler_gnu=$ac_cv_c_compiler_gnu
3473DEPDIR="${am__leading_dot}deps"
3474
3475ac_config_commands="$ac_config_commands depfiles"
3476
3477
3478am_make=${MAKE-make}
3479cat > confinc << 'END'
3480am__doit:
3481	@echo this is the am__doit target
3482.PHONY: am__doit
3483END
3484# If we don't find an include directive, just comment out the code.
3485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3486$as_echo_n "checking for style of include used by $am_make... " >&6; }
3487am__include="#"
3488am__quote=
3489_am_result=none
3490# First try GNU make style include.
3491echo "include confinc" > confmf
3492# Ignore all kinds of additional output from `make'.
3493case `$am_make -s -f confmf 2> /dev/null` in #(
3494*the\ am__doit\ target*)
3495  am__include=include
3496  am__quote=
3497  _am_result=GNU
3498  ;;
3499esac
3500# Now try BSD make style include.
3501if test "$am__include" = "#"; then
3502   echo '.include "confinc"' > confmf
3503   case `$am_make -s -f confmf 2> /dev/null` in #(
3504   *the\ am__doit\ target*)
3505     am__include=.include
3506     am__quote="\""
3507     _am_result=BSD
3508     ;;
3509   esac
3510fi
3511
3512
3513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3514$as_echo "$_am_result" >&6; }
3515rm -f confinc confmf
3516
3517# Check whether --enable-dependency-tracking was given.
3518if test "${enable_dependency_tracking+set}" = set; then :
3519  enableval=$enable_dependency_tracking;
3520fi
3521
3522if test "x$enable_dependency_tracking" != xno; then
3523  am_depcomp="$ac_aux_dir/depcomp"
3524  AMDEPBACKSLASH='\'
3525fi
3526 if test "x$enable_dependency_tracking" != xno; then
3527  AMDEP_TRUE=
3528  AMDEP_FALSE='#'
3529else
3530  AMDEP_TRUE='#'
3531  AMDEP_FALSE=
3532fi
3533
3534
3535
3536depcc="$CC"   am_compiler_list=
3537
3538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3539$as_echo_n "checking dependency style of $depcc... " >&6; }
3540if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3541  $as_echo_n "(cached) " >&6
3542else
3543  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3544  # We make a subdir and do the tests there.  Otherwise we can end up
3545  # making bogus files that we don't know about and never remove.  For
3546  # instance it was reported that on HP-UX the gcc test will end up
3547  # making a dummy file named `D' -- because `-MD' means `put the output
3548  # in D'.
3549  mkdir conftest.dir
3550  # Copy depcomp to subdir because otherwise we won't find it if we're
3551  # using a relative directory.
3552  cp "$am_depcomp" conftest.dir
3553  cd conftest.dir
3554  # We will build objects and dependencies in a subdirectory because
3555  # it helps to detect inapplicable dependency modes.  For instance
3556  # both Tru64's cc and ICC support -MD to output dependencies as a
3557  # side effect of compilation, but ICC will put the dependencies in
3558  # the current directory while Tru64 will put them in the object
3559  # directory.
3560  mkdir sub
3561
3562  am_cv_CC_dependencies_compiler_type=none
3563  if test "$am_compiler_list" = ""; then
3564     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3565  fi
3566  am__universal=false
3567  case " $depcc " in #(
3568     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3569     esac
3570
3571  for depmode in $am_compiler_list; do
3572    # Setup a source with many dependencies, because some compilers
3573    # like to wrap large dependency lists on column 80 (with \), and
3574    # we should not choose a depcomp mode which is confused by this.
3575    #
3576    # We need to recreate these files for each test, as the compiler may
3577    # overwrite some of them when testing with obscure command lines.
3578    # This happens at least with the AIX C compiler.
3579    : > sub/conftest.c
3580    for i in 1 2 3 4 5 6; do
3581      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3582      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3583      # Solaris 8's {/usr,}/bin/sh.
3584      touch sub/conftst$i.h
3585    done
3586    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3587
3588    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3589    # mode.  It turns out that the SunPro C++ compiler does not properly
3590    # handle `-M -o', and we need to detect this.  Also, some Intel
3591    # versions had trouble with output in subdirs
3592    am__obj=sub/conftest.${OBJEXT-o}
3593    am__minus_obj="-o $am__obj"
3594    case $depmode in
3595    gcc)
3596      # This depmode causes a compiler race in universal mode.
3597      test "$am__universal" = false || continue
3598      ;;
3599    nosideeffect)
3600      # after this tag, mechanisms are not by side-effect, so they'll
3601      # only be used when explicitly requested
3602      if test "x$enable_dependency_tracking" = xyes; then
3603	continue
3604      else
3605	break
3606      fi
3607      ;;
3608    msvisualcpp | msvcmsys)
3609      # This compiler won't grok `-c -o', but also, the minuso test has
3610      # not run yet.  These depmodes are late enough in the game, and
3611      # so weak that their functioning should not be impacted.
3612      am__obj=conftest.${OBJEXT-o}
3613      am__minus_obj=
3614      ;;
3615    none) break ;;
3616    esac
3617    if depmode=$depmode \
3618       source=sub/conftest.c object=$am__obj \
3619       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3620       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3621         >/dev/null 2>conftest.err &&
3622       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3623       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3624       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3625       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3626      # icc doesn't choke on unknown options, it will just issue warnings
3627      # or remarks (even with -Werror).  So we grep stderr for any message
3628      # that says an option was ignored or not supported.
3629      # When given -MP, icc 7.0 and 7.1 complain thusly:
3630      #   icc: Command line warning: ignoring option '-M'; no argument required
3631      # The diagnosis changed in icc 8.0:
3632      #   icc: Command line remark: option '-MP' not supported
3633      if (grep 'ignoring option' conftest.err ||
3634          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3635        am_cv_CC_dependencies_compiler_type=$depmode
3636        break
3637      fi
3638    fi
3639  done
3640
3641  cd ..
3642  rm -rf conftest.dir
3643else
3644  am_cv_CC_dependencies_compiler_type=none
3645fi
3646
3647fi
3648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3649$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3650CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3651
3652 if
3653  test "x$enable_dependency_tracking" != xno \
3654  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3655  am__fastdepCC_TRUE=
3656  am__fastdepCC_FALSE='#'
3657else
3658  am__fastdepCC_TRUE='#'
3659  am__fastdepCC_FALSE=
3660fi
3661
3662
3663
3664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3665$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3666    # Check whether --enable-maintainer-mode was given.
3667if test "${enable_maintainer_mode+set}" = set; then :
3668  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3669else
3670  USE_MAINTAINER_MODE=no
3671fi
3672
3673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3674$as_echo "$USE_MAINTAINER_MODE" >&6; }
3675   if test $USE_MAINTAINER_MODE = yes; then
3676  MAINTAINER_MODE_TRUE=
3677  MAINTAINER_MODE_FALSE='#'
3678else
3679  MAINTAINER_MODE_TRUE='#'
3680  MAINTAINER_MODE_FALSE=
3681fi
3682
3683  MAINT=$MAINTAINER_MODE_TRUE
3684
3685
3686
3687# Host environment specific tests
3688# Make sure we can run config.sub.
3689$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3690  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3691
3692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3693$as_echo_n "checking build system type... " >&6; }
3694if test "${ac_cv_build+set}" = set; then :
3695  $as_echo_n "(cached) " >&6
3696else
3697  ac_build_alias=$build_alias
3698test "x$ac_build_alias" = x &&
3699  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3700test "x$ac_build_alias" = x &&
3701  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3702ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3703  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3704
3705fi
3706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3707$as_echo "$ac_cv_build" >&6; }
3708case $ac_cv_build in
3709*-*-*) ;;
3710*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3711esac
3712build=$ac_cv_build
3713ac_save_IFS=$IFS; IFS='-'
3714set x $ac_cv_build
3715shift
3716build_cpu=$1
3717build_vendor=$2
3718shift; shift
3719# Remember, the first character of IFS is used to create $*,
3720# except with old shells:
3721build_os=$*
3722IFS=$ac_save_IFS
3723case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3724
3725
3726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3727$as_echo_n "checking host system type... " >&6; }
3728if test "${ac_cv_host+set}" = set; then :
3729  $as_echo_n "(cached) " >&6
3730else
3731  if test "x$host_alias" = x; then
3732  ac_cv_host=$ac_cv_build
3733else
3734  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3735    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3736fi
3737
3738fi
3739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3740$as_echo "$ac_cv_host" >&6; }
3741case $ac_cv_host in
3742*-*-*) ;;
3743*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3744esac
3745host=$ac_cv_host
3746ac_save_IFS=$IFS; IFS='-'
3747set x $ac_cv_host
3748shift
3749host_cpu=$1
3750host_vendor=$2
3751shift; shift
3752# Remember, the first character of IFS is used to create $*,
3753# except with old shells:
3754host_os=$*
3755IFS=$ac_save_IFS
3756case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3757
3758
3759
3760ac_ext=c
3761ac_cpp='$CPP $CPPFLAGS'
3762ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3763ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3764ac_compiler_gnu=$ac_cv_c_compiler_gnu
3765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3766$as_echo_n "checking how to run the C preprocessor... " >&6; }
3767# On Suns, sometimes $CPP names a directory.
3768if test -n "$CPP" && test -d "$CPP"; then
3769  CPP=
3770fi
3771if test -z "$CPP"; then
3772  if test "${ac_cv_prog_CPP+set}" = set; then :
3773  $as_echo_n "(cached) " >&6
3774else
3775      # Double quotes because CPP needs to be expanded
3776    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3777    do
3778      ac_preproc_ok=false
3779for ac_c_preproc_warn_flag in '' yes
3780do
3781  # Use a header file that comes with gcc, so configuring glibc
3782  # with a fresh cross-compiler works.
3783  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3784  # <limits.h> exists even on freestanding compilers.
3785  # On the NeXT, cc -E runs the code through the compiler's parser,
3786  # not just through cpp. "Syntax error" is here to catch this case.
3787  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3788/* end confdefs.h.  */
3789#ifdef __STDC__
3790# include <limits.h>
3791#else
3792# include <assert.h>
3793#endif
3794		     Syntax error
3795_ACEOF
3796if ac_fn_c_try_cpp "$LINENO"; then :
3797
3798else
3799  # Broken: fails on valid input.
3800continue
3801fi
3802rm -f conftest.err conftest.$ac_ext
3803
3804  # OK, works on sane cases.  Now check whether nonexistent headers
3805  # can be detected and how.
3806  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3807/* end confdefs.h.  */
3808#include <ac_nonexistent.h>
3809_ACEOF
3810if ac_fn_c_try_cpp "$LINENO"; then :
3811  # Broken: success on invalid input.
3812continue
3813else
3814  # Passes both tests.
3815ac_preproc_ok=:
3816break
3817fi
3818rm -f conftest.err conftest.$ac_ext
3819
3820done
3821# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3822rm -f conftest.err conftest.$ac_ext
3823if $ac_preproc_ok; then :
3824  break
3825fi
3826
3827    done
3828    ac_cv_prog_CPP=$CPP
3829
3830fi
3831  CPP=$ac_cv_prog_CPP
3832else
3833  ac_cv_prog_CPP=$CPP
3834fi
3835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3836$as_echo "$CPP" >&6; }
3837ac_preproc_ok=false
3838for ac_c_preproc_warn_flag in '' yes
3839do
3840  # Use a header file that comes with gcc, so configuring glibc
3841  # with a fresh cross-compiler works.
3842  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3843  # <limits.h> exists even on freestanding compilers.
3844  # On the NeXT, cc -E runs the code through the compiler's parser,
3845  # not just through cpp. "Syntax error" is here to catch this case.
3846  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3847/* end confdefs.h.  */
3848#ifdef __STDC__
3849# include <limits.h>
3850#else
3851# include <assert.h>
3852#endif
3853		     Syntax error
3854_ACEOF
3855if ac_fn_c_try_cpp "$LINENO"; then :
3856
3857else
3858  # Broken: fails on valid input.
3859continue
3860fi
3861rm -f conftest.err conftest.$ac_ext
3862
3863  # OK, works on sane cases.  Now check whether nonexistent headers
3864  # can be detected and how.
3865  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866/* end confdefs.h.  */
3867#include <ac_nonexistent.h>
3868_ACEOF
3869if ac_fn_c_try_cpp "$LINENO"; then :
3870  # Broken: success on invalid input.
3871continue
3872else
3873  # Passes both tests.
3874ac_preproc_ok=:
3875break
3876fi
3877rm -f conftest.err conftest.$ac_ext
3878
3879done
3880# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3881rm -f conftest.err conftest.$ac_ext
3882if $ac_preproc_ok; then :
3883
3884else
3885  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3886$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3887as_fn_error "C preprocessor \"$CPP\" fails sanity check
3888See \`config.log' for more details." "$LINENO" 5; }
3889fi
3890
3891ac_ext=c
3892ac_cpp='$CPP $CPPFLAGS'
3893ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3894ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3895ac_compiler_gnu=$ac_cv_c_compiler_gnu
3896
3897
3898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3899$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3900if test "${ac_cv_path_GREP+set}" = set; then :
3901  $as_echo_n "(cached) " >&6
3902else
3903  if test -z "$GREP"; then
3904  ac_path_GREP_found=false
3905  # Loop through the user's path and test for each of PROGNAME-LIST
3906  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3907for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3908do
3909  IFS=$as_save_IFS
3910  test -z "$as_dir" && as_dir=.
3911    for ac_prog in grep ggrep; do
3912    for ac_exec_ext in '' $ac_executable_extensions; do
3913      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3914      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3915# Check for GNU ac_path_GREP and select it if it is found.
3916  # Check for GNU $ac_path_GREP
3917case `"$ac_path_GREP" --version 2>&1` in
3918*GNU*)
3919  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3920*)
3921  ac_count=0
3922  $as_echo_n 0123456789 >"conftest.in"
3923  while :
3924  do
3925    cat "conftest.in" "conftest.in" >"conftest.tmp"
3926    mv "conftest.tmp" "conftest.in"
3927    cp "conftest.in" "conftest.nl"
3928    $as_echo 'GREP' >> "conftest.nl"
3929    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3930    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3931    as_fn_arith $ac_count + 1 && ac_count=$as_val
3932    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3933      # Best one so far, save it but keep looking for a better one
3934      ac_cv_path_GREP="$ac_path_GREP"
3935      ac_path_GREP_max=$ac_count
3936    fi
3937    # 10*(2^10) chars as input seems more than enough
3938    test $ac_count -gt 10 && break
3939  done
3940  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3941esac
3942
3943      $ac_path_GREP_found && break 3
3944    done
3945  done
3946  done
3947IFS=$as_save_IFS
3948  if test -z "$ac_cv_path_GREP"; then
3949    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3950  fi
3951else
3952  ac_cv_path_GREP=$GREP
3953fi
3954
3955fi
3956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3957$as_echo "$ac_cv_path_GREP" >&6; }
3958 GREP="$ac_cv_path_GREP"
3959
3960
3961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3962$as_echo_n "checking for egrep... " >&6; }
3963if test "${ac_cv_path_EGREP+set}" = set; then :
3964  $as_echo_n "(cached) " >&6
3965else
3966  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3967   then ac_cv_path_EGREP="$GREP -E"
3968   else
3969     if test -z "$EGREP"; then
3970  ac_path_EGREP_found=false
3971  # Loop through the user's path and test for each of PROGNAME-LIST
3972  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3974do
3975  IFS=$as_save_IFS
3976  test -z "$as_dir" && as_dir=.
3977    for ac_prog in egrep; do
3978    for ac_exec_ext in '' $ac_executable_extensions; do
3979      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3980      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3981# Check for GNU ac_path_EGREP and select it if it is found.
3982  # Check for GNU $ac_path_EGREP
3983case `"$ac_path_EGREP" --version 2>&1` in
3984*GNU*)
3985  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3986*)
3987  ac_count=0
3988  $as_echo_n 0123456789 >"conftest.in"
3989  while :
3990  do
3991    cat "conftest.in" "conftest.in" >"conftest.tmp"
3992    mv "conftest.tmp" "conftest.in"
3993    cp "conftest.in" "conftest.nl"
3994    $as_echo 'EGREP' >> "conftest.nl"
3995    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3996    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3997    as_fn_arith $ac_count + 1 && ac_count=$as_val
3998    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3999      # Best one so far, save it but keep looking for a better one
4000      ac_cv_path_EGREP="$ac_path_EGREP"
4001      ac_path_EGREP_max=$ac_count
4002    fi
4003    # 10*(2^10) chars as input seems more than enough
4004    test $ac_count -gt 10 && break
4005  done
4006  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4007esac
4008
4009      $ac_path_EGREP_found && break 3
4010    done
4011  done
4012  done
4013IFS=$as_save_IFS
4014  if test -z "$ac_cv_path_EGREP"; then
4015    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4016  fi
4017else
4018  ac_cv_path_EGREP=$EGREP
4019fi
4020
4021   fi
4022fi
4023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4024$as_echo "$ac_cv_path_EGREP" >&6; }
4025 EGREP="$ac_cv_path_EGREP"
4026
4027
4028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4029$as_echo_n "checking for ANSI C header files... " >&6; }
4030if test "${ac_cv_header_stdc+set}" = set; then :
4031  $as_echo_n "(cached) " >&6
4032else
4033  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4034/* end confdefs.h.  */
4035#include <stdlib.h>
4036#include <stdarg.h>
4037#include <string.h>
4038#include <float.h>
4039
4040int
4041main ()
4042{
4043
4044  ;
4045  return 0;
4046}
4047_ACEOF
4048if ac_fn_c_try_compile "$LINENO"; then :
4049  ac_cv_header_stdc=yes
4050else
4051  ac_cv_header_stdc=no
4052fi
4053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4054
4055if test $ac_cv_header_stdc = yes; then
4056  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4057  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4058/* end confdefs.h.  */
4059#include <string.h>
4060
4061_ACEOF
4062if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4063  $EGREP "memchr" >/dev/null 2>&1; then :
4064
4065else
4066  ac_cv_header_stdc=no
4067fi
4068rm -f conftest*
4069
4070fi
4071
4072if test $ac_cv_header_stdc = yes; then
4073  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4074  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075/* end confdefs.h.  */
4076#include <stdlib.h>
4077
4078_ACEOF
4079if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4080  $EGREP "free" >/dev/null 2>&1; then :
4081
4082else
4083  ac_cv_header_stdc=no
4084fi
4085rm -f conftest*
4086
4087fi
4088
4089if test $ac_cv_header_stdc = yes; then
4090  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4091  if test "$cross_compiling" = yes; then :
4092  :
4093else
4094  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095/* end confdefs.h.  */
4096#include <ctype.h>
4097#include <stdlib.h>
4098#if ((' ' & 0x0FF) == 0x020)
4099# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4100# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4101#else
4102# define ISLOWER(c) \
4103		   (('a' <= (c) && (c) <= 'i') \
4104		     || ('j' <= (c) && (c) <= 'r') \
4105		     || ('s' <= (c) && (c) <= 'z'))
4106# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4107#endif
4108
4109#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4110int
4111main ()
4112{
4113  int i;
4114  for (i = 0; i < 256; i++)
4115    if (XOR (islower (i), ISLOWER (i))
4116	|| toupper (i) != TOUPPER (i))
4117      return 2;
4118  return 0;
4119}
4120_ACEOF
4121if ac_fn_c_try_run "$LINENO"; then :
4122
4123else
4124  ac_cv_header_stdc=no
4125fi
4126rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4127  conftest.$ac_objext conftest.beam conftest.$ac_ext
4128fi
4129
4130fi
4131fi
4132{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4133$as_echo "$ac_cv_header_stdc" >&6; }
4134if test $ac_cv_header_stdc = yes; then
4135
4136$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4137
4138fi
4139
4140# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4141for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4142		  inttypes.h stdint.h unistd.h
4143do :
4144  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4145ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4146"
4147eval as_val=\$$as_ac_Header
4148   if test "x$as_val" = x""yes; then :
4149  cat >>confdefs.h <<_ACEOF
4150#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4151_ACEOF
4152
4153fi
4154
4155done
4156
4157
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4159$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4160if test "${ac_cv_c_bigendian+set}" = set; then :
4161  $as_echo_n "(cached) " >&6
4162else
4163  ac_cv_c_bigendian=unknown
4164    # See if we're dealing with a universal compiler.
4165    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166/* end confdefs.h.  */
4167#ifndef __APPLE_CC__
4168	       not a universal capable compiler
4169	     #endif
4170	     typedef int dummy;
4171
4172_ACEOF
4173if ac_fn_c_try_compile "$LINENO"; then :
4174
4175	# Check for potential -arch flags.  It is not universal unless
4176	# there are at least two -arch flags with different values.
4177	ac_arch=
4178	ac_prev=
4179	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4180	 if test -n "$ac_prev"; then
4181	   case $ac_word in
4182	     i?86 | x86_64 | ppc | ppc64)
4183	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4184		 ac_arch=$ac_word
4185	       else
4186		 ac_cv_c_bigendian=universal
4187		 break
4188	       fi
4189	       ;;
4190	   esac
4191	   ac_prev=
4192	 elif test "x$ac_word" = "x-arch"; then
4193	   ac_prev=arch
4194	 fi
4195       done
4196fi
4197rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4198    if test $ac_cv_c_bigendian = unknown; then
4199      # See if sys/param.h defines the BYTE_ORDER macro.
4200      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4201/* end confdefs.h.  */
4202#include <sys/types.h>
4203	     #include <sys/param.h>
4204
4205int
4206main ()
4207{
4208#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4209		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4210		     && LITTLE_ENDIAN)
4211	      bogus endian macros
4212	     #endif
4213
4214  ;
4215  return 0;
4216}
4217_ACEOF
4218if ac_fn_c_try_compile "$LINENO"; then :
4219  # It does; now see whether it defined to BIG_ENDIAN or not.
4220	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221/* end confdefs.h.  */
4222#include <sys/types.h>
4223		#include <sys/param.h>
4224
4225int
4226main ()
4227{
4228#if BYTE_ORDER != BIG_ENDIAN
4229		 not big endian
4230		#endif
4231
4232  ;
4233  return 0;
4234}
4235_ACEOF
4236if ac_fn_c_try_compile "$LINENO"; then :
4237  ac_cv_c_bigendian=yes
4238else
4239  ac_cv_c_bigendian=no
4240fi
4241rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242fi
4243rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244    fi
4245    if test $ac_cv_c_bigendian = unknown; then
4246      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4247      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248/* end confdefs.h.  */
4249#include <limits.h>
4250
4251int
4252main ()
4253{
4254#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4255	      bogus endian macros
4256	     #endif
4257
4258  ;
4259  return 0;
4260}
4261_ACEOF
4262if ac_fn_c_try_compile "$LINENO"; then :
4263  # It does; now see whether it defined to _BIG_ENDIAN or not.
4264	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4265/* end confdefs.h.  */
4266#include <limits.h>
4267
4268int
4269main ()
4270{
4271#ifndef _BIG_ENDIAN
4272		 not big endian
4273		#endif
4274
4275  ;
4276  return 0;
4277}
4278_ACEOF
4279if ac_fn_c_try_compile "$LINENO"; then :
4280  ac_cv_c_bigendian=yes
4281else
4282  ac_cv_c_bigendian=no
4283fi
4284rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4285fi
4286rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4287    fi
4288    if test $ac_cv_c_bigendian = unknown; then
4289      # Compile a test program.
4290      if test "$cross_compiling" = yes; then :
4291  # Try to guess by grepping values from an object file.
4292	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293/* end confdefs.h.  */
4294short int ascii_mm[] =
4295		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4296		short int ascii_ii[] =
4297		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4298		int use_ascii (int i) {
4299		  return ascii_mm[i] + ascii_ii[i];
4300		}
4301		short int ebcdic_ii[] =
4302		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4303		short int ebcdic_mm[] =
4304		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4305		int use_ebcdic (int i) {
4306		  return ebcdic_mm[i] + ebcdic_ii[i];
4307		}
4308		extern int foo;
4309
4310int
4311main ()
4312{
4313return use_ascii (foo) == use_ebcdic (foo);
4314  ;
4315  return 0;
4316}
4317_ACEOF
4318if ac_fn_c_try_compile "$LINENO"; then :
4319  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4320	      ac_cv_c_bigendian=yes
4321	    fi
4322	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4323	      if test "$ac_cv_c_bigendian" = unknown; then
4324		ac_cv_c_bigendian=no
4325	      else
4326		# finding both strings is unlikely to happen, but who knows?
4327		ac_cv_c_bigendian=unknown
4328	      fi
4329	    fi
4330fi
4331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4332else
4333  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334/* end confdefs.h.  */
4335$ac_includes_default
4336int
4337main ()
4338{
4339
4340	     /* Are we little or big endian?  From Harbison&Steele.  */
4341	     union
4342	     {
4343	       long int l;
4344	       char c[sizeof (long int)];
4345	     } u;
4346	     u.l = 1;
4347	     return u.c[sizeof (long int) - 1] == 1;
4348
4349  ;
4350  return 0;
4351}
4352_ACEOF
4353if ac_fn_c_try_run "$LINENO"; then :
4354  ac_cv_c_bigendian=no
4355else
4356  ac_cv_c_bigendian=yes
4357fi
4358rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4359  conftest.$ac_objext conftest.beam conftest.$ac_ext
4360fi
4361
4362    fi
4363fi
4364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4365$as_echo "$ac_cv_c_bigendian" >&6; }
4366 case $ac_cv_c_bigendian in #(
4367   yes)
4368     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4369;; #(
4370   no)
4371      ;; #(
4372   universal)
4373
4374$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4375
4376     ;; #(
4377   *)
4378     as_fn_error "unknown endianness
4379 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4380 esac
4381
4382
4383# Enable all warnings for gcc (what about other compilers?)
4384if test -n "$GCC"; then
4385  CFLAGS="-Wall -fno-strict-aliasing $CFLAGS"
4386fi
4387
4388GGDBFLAGS=""
4389
4390########### CONFIGURE OPTIONS #############
4391# dnl Does this belong elsewhere?
4392# No libpcap support yet. ;)
4393# AC_MSG_CHECKING([user defined path to libpcap])
4394# AC_ARG_WITH(libpcap,
4395#   AS_HELP_STRING([--with-libpcap],
4396#    [location of libpcap/winpcap root development tree]),
4397#  [LDFLAGS="$LDFLAGS -L${with_libpcap}/lib";CPPFLAGS="$CPPFLAGS -I${with_libpcap}/include"])
4398# AC_MSG_RESULT([$with_libpcap])
4399
4400# AC_MSG_CHECKING([user defined path to libpcap libraries])
4401# AC_ARG_WITH(libpcap-libs,
4402#   AS_HELP_STRING([--with-libpcap-libs],
4403#       [location of libpcap libraries]),
4404#   [LDFLAGS="$LDFLAGS -L${with_libpcap_libs}"])
4405# AC_MSG_RESULT([$with_libpcap_libs])
4406# AC_SUBST(with_libpcap_libs)
4407
4408# AC_MSG_CHECKING([user defined path to libpcap includes])
4409# AC_ARG_WITH(libpcap-includes,
4410#   AS_HELP_STRING([--with-libpcap-includes],
4411#     [location of libpcapc includes]),
4412#   [CPPFLAGS="$CPPFLAGS -I${with_libpcap_includes}"])
4413# AC_MSG_RESULT([$with_libpcap_includes])
4414
4415# Check whether --enable-experimental was given.
4416if test "${enable_experimental+set}" = set; then :
4417  enableval=$enable_experimental;
4418else
4419  enable_experimental="no"
4420fi
4421
4422
4423# Check whether --enable-efence was given.
4424if test "${enable_efence+set}" = set; then :
4425  enableval=$enable_efence;
4426else
4427  enable_efence="no"
4428fi
4429
4430
4431# No PCAP support yet. ;)
4432# AC_ARG_ENABLE(generic-framer,
4433#   AS_HELP_STRING([--enable-generic-framer],
4434#     [enable the use of PCAP instead of native handler.]),
4435#   [],
4436#   [enable_generic_framer="no"])
4437
4438# Check whether --enable-panther-binary was given.
4439if test "${enable_panther_binary+set}" = set; then :
4440  enableval=$enable_panther_binary;
4441else
4442  enabled_panther_binary="no"
4443fi
4444
4445
4446# Check whether --enable-universal-binary was given.
4447if test "${enable_universal_binary+set}" = set; then :
4448  enableval=$enable_universal_binary;
4449else
4450  enabled_universal_binary="no"
4451fi
4452
4453
4454########### CONFIGURE TESTS #############
4455
4456if test "$enable_experimental" = yes; then :
4457  $as_echo "#define EXPERIMENTAL 1" >>confdefs.h
4458
4459fi
4460
4461if test "$enable_efence" = yes; then :
4462   ac_fn_c_check_header_mongrel "$LINENO" "efence.h" "ac_cv_header_efence_h" "$ac_includes_default"
4463if test "x$ac_cv_header_efence_h" = x""yes; then :
4464  MORELIBS="$MORELIBS -lefence -lpthread"
4465else
4466  as_fn_error "You must have Electric Fence installed to use it!" "$LINENO" 5
4467fi
4468
4469
4470    $as_echo "#define USE_EFENCE 1" >>confdefs.h
4471
4472fi
4473
4474# Might use this in the future...
4475# AC_MSG_CHECKING([for libxml-2.0])
4476# if `pkg-config libxml-2.0 --exists`; then
4477#     LIBS=`pkg-config libxml-2.0 --libs $LIBS`
4478#     AM_CPPFLAGS=`pkg-config libxml-2.0 --cflags $AM_CPPFLAGS`
4479#     AC_MSG_RESULT([found with pkg-config])
4480# elif test -e /usr/lib/libxml2.dylib; then
4481#     dnl Mac OS X doesn't have pkg-config.  So check in the defaut location.
4482#     LIBS="-L/usr/lib -lxml2 $LIBS"
4483#     AM_CPPFLAGS="-I/usr/include/libxml2 $AM_CPPFLAGS"
4484#     AC_MSG_RESULT([found in default location for Mac OS X])
4485# else
4486#     AC_MSG_ERROR([Xsupplicant requires libxml.  You need to either install libxml\
4487# , or set PKG_CONFIG_PATH to point to the location of the libxml-2.0.pc file.])
4488# fi
4489
4490case "$host_os" in
4491   *linux*)
4492      framer="linux"
4493      platform="linux"
4494      $as_echo "#define LINUX 1" >>confdefs.h
4495
4496      MORELIBS="${MORELIBS} -lm"
4497
4498      for ac_header in sys/socket.h
4499do :
4500  ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
4501if test "x$ac_cv_header_sys_socket_h" = x""yes; then :
4502  cat >>confdefs.h <<_ACEOF
4503#define HAVE_SYS_SOCKET_H 1
4504_ACEOF
4505
4506else
4507  as_fn_error "header file \
4508                       <sys/socket.h> is required for OpenLLDP." "$LINENO" 5
4509fi
4510
4511done
4512
4513   ;;
4514
4515   *darwin*)
4516      framer="bpf"
4517      platform="darwin"
4518      $as_echo "#define DARWIN 1" >>confdefs.h
4519
4520
4521      user_defined_sysroot="no"
4522
4523      if test "$enable_panther_binary" = "yes"; then :
4524
4525         user_defined_sysroot="yes"
4526	 sysroot_sdk="MacOSX10.3.9.sdk"
4527	 macosx_version_min="10.3"
4528
4529fi
4530
4531      if test "$enable_universal_binary" = "yes"; then :
4532
4533         user_defined_sysroot="yes"
4534         sysroot_sdk="MacOSX10.4u.sdk"
4535         macosx_version_min="10.4"
4536
4537         CFLAGS="$CFLAGS -arch i386 -arch ppc "
4538         LDFLAGS="$LDFLAGS -arch i386 -arch ppc"
4539
4540fi
4541
4542      if test "$user_defined_sysroot" = "yes"; then :
4543
4544         # Check to see if the system has xcode-select (Mac OS X 10.5 "Leopard" or later).
4545	 # This is necessary if the user has installed their development SDKs somewhere
4546         # other than the default location (/Developer)
4547         # if xcode-select doesn't exist, assume the tools are in /Developer
4548         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/bin/xcode-select" >&5
4549$as_echo_n "checking for /usr/bin/xcode-select... " >&6; }
4550if test "${ac_cv_file__usr_bin_xcode_select+set}" = set; then :
4551  $as_echo_n "(cached) " >&6
4552else
4553  test "$cross_compiling" = yes &&
4554  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
4555if test -r "/usr/bin/xcode-select"; then
4556  ac_cv_file__usr_bin_xcode_select=yes
4557else
4558  ac_cv_file__usr_bin_xcode_select=no
4559fi
4560fi
4561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_bin_xcode_select" >&5
4562$as_echo "$ac_cv_file__usr_bin_xcode_select" >&6; }
4563if test "x$ac_cv_file__usr_bin_xcode_select" = x""yes; then :
4564
4565            sysroot=`/usr/bin/xcode-select -print-path`
4566
4567else
4568
4569            sysroot="/Developer"
4570
4571fi
4572
4573
4574         { $as_echo "$as_me:${as_lineno-$LINENO}: checking For Mac OS X SDK Path" >&5
4575$as_echo_n "checking For Mac OS X SDK Path... " >&6; }
4576         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sysroot" >&5
4577$as_echo "$sysroot" >&6; }
4578
4579         CFLAGS="$CFLAGS -isysroot $sysroot/SDKs/${sysroot_sdk} -mmacosx-version-min=${macosx_version_min}"
4580
4581fi
4582   ;;
4583
4584      *freebsd*|*dragonfly*)
4585      framer="bpf"
4586      platform="freebsd"
4587      $as_echo "#define __BSD__ 1" >>confdefs.h
4588
4589      $as_echo "#define FREEBSD 1" >>confdefs.h
4590
4591   ;;
4592
4593   *openbsd*)
4594      framer="bpf"
4595      $as_echo "#define __BSD__ 1" >>confdefs.h
4596
4597      $as_echo "#define OPENBSD 1" >>confdefs.h
4598
4599   ;;
4600
4601   *netbsd*)
4602      framer="bpf"
4603      $as_echo "#define __BSD__ 1" >>confdefs.h
4604
4605      $as_echo "#define NETBSD 1" >>confdefs.h
4606
4607   ;;
4608
4609   *windows* | *cygwin* | *mingw*)
4610      framer="windows"
4611      platform="windows"
4612   ;;
4613
4614   *)
4615      framer="generic"
4616   ;;
4617esac
4618
4619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native frame interface" >&5
4620$as_echo_n "checking for native frame interface... " >&6; }
4621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $framer" >&5
4622$as_echo "$framer" >&6; }
4623
4624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for platform OS" >&5
4625$as_echo_n "checking for platform OS... " >&6; }
4626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform" >&5
4627$as_echo "$platform" >&6; }
4628
4629if test $framer = "linux"; then :
4630   MORELIBS="${MORELIBS} -lm"
4631    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procfs support" >&5
4632$as_echo_n "checking for procfs support... " >&6; }
4633    if test -r /proc/net/dev; then
4634      { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
4635$as_echo "okay" >&6; }
4636    else
4637      as_fn_error "You must have ProcFS enabled in your kernel!" "$LINENO" 5;
4638    fi
4639fi
4640
4641if test $framer = "generic"; then :
4642  MORELIBS="${MORELIBS} -lwpcap -lpcap -ldnet"
4643fi
4644
4645 if test "$framer" = generic; then
4646  FRAMER_GENERIC_TRUE=
4647  FRAMER_GENERIC_FALSE='#'
4648else
4649  FRAMER_GENERIC_TRUE='#'
4650  FRAMER_GENERIC_FALSE=
4651fi
4652
4653 if test "$framer" = linux; then
4654  FRAMER_LINUX_TRUE=
4655  FRAMER_LINUX_FALSE='#'
4656else
4657  FRAMER_LINUX_TRUE='#'
4658  FRAMER_LINUX_FALSE=
4659fi
4660
4661 if test "$framer" = bpf; then
4662  FRAMER_BPF_TRUE=
4663  FRAMER_BPF_FALSE='#'
4664else
4665  FRAMER_BPF_TRUE='#'
4666  FRAMER_BPF_FALSE=
4667fi
4668
4669 if test "$framer" = darwin; then
4670  FRAMER_DARWIN_TRUE=
4671  FRAMER_DARWIN_FALSE='#'
4672else
4673  FRAMER_DARWIN_TRUE='#'
4674  FRAMER_DARWIN_FALSE=
4675fi
4676
4677 if test "$framer" = radius; then
4678  FRAMER_RADIUS_TRUE=
4679  FRAMER_RADIUS_FALSE='#'
4680else
4681  FRAMER_RADIUS_TRUE='#'
4682  FRAMER_RADIUS_FALSE=
4683fi
4684
4685 if test "$framer" = windows; then
4686  FRAMER_WINDOWS_TRUE=
4687  FRAMER_WINDOWS_FALSE='#'
4688else
4689  FRAMER_WINDOWS_TRUE='#'
4690  FRAMER_WINDOWS_FALSE=
4691fi
4692
4693
4694 if test "$platform" = linux; then
4695  LINUX_TRUE=
4696  LINUX_FALSE='#'
4697else
4698  LINUX_TRUE='#'
4699  LINUX_FALSE=
4700fi
4701
4702 if test "$platform" = darwin; then
4703  DARWIN_TRUE=
4704  DARWIN_FALSE='#'
4705else
4706  DARWIN_TRUE='#'
4707  DARWIN_FALSE=
4708fi
4709
4710 if test "$platform" = windows; then
4711  WINDOWS_TRUE=
4712  WINDOWS_FALSE='#'
4713else
4714  WINDOWS_TRUE='#'
4715  WINDOWS_FALSE=
4716fi
4717
4718 if test "$platform" = openbsd; then
4719  OPENBSD_TRUE=
4720  OPENBSD_FALSE='#'
4721else
4722  OPENBSD_TRUE='#'
4723  OPENBSD_FALSE=
4724fi
4725
4726 if test "$platform" = netbsd; then
4727  NETBSD_TRUE=
4728  NETBSD_FALSE='#'
4729else
4730  NETBSD_TRUE='#'
4731  NETBSD_FALSE=
4732fi
4733
4734 if test "$platform" = freebsd; then
4735  FREEBSD_TRUE=
4736  FREEBSD_FALSE='#'
4737else
4738  FREEBSD_TRUE='#'
4739  FREEBSD_FALSE=
4740fi
4741
4742
4743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfg_title in -lconfuse" >&5
4744$as_echo_n "checking for cfg_title in -lconfuse... " >&6; }
4745if test "${ac_cv_lib_confuse_cfg_title+set}" = set; then :
4746  $as_echo_n "(cached) " >&6
4747else
4748  ac_check_lib_save_LIBS=$LIBS
4749LIBS="-lconfuse  $LIBS"
4750cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4751/* end confdefs.h.  */
4752
4753/* Override any GCC internal prototype to avoid an error.
4754   Use char because int might match the return type of a GCC
4755   builtin and then its argument prototype would still apply.  */
4756#ifdef __cplusplus
4757extern "C"
4758#endif
4759char cfg_title ();
4760int
4761main ()
4762{
4763return cfg_title ();
4764  ;
4765  return 0;
4766}
4767_ACEOF
4768if ac_fn_c_try_link "$LINENO"; then :
4769  ac_cv_lib_confuse_cfg_title=yes
4770else
4771  ac_cv_lib_confuse_cfg_title=no
4772fi
4773rm -f core conftest.err conftest.$ac_objext \
4774    conftest$ac_exeext conftest.$ac_ext
4775LIBS=$ac_check_lib_save_LIBS
4776fi
4777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_confuse_cfg_title" >&5
4778$as_echo "$ac_cv_lib_confuse_cfg_title" >&6; }
4779if test "x$ac_cv_lib_confuse_cfg_title" = x""yes; then :
4780  ac_fn_c_check_header_mongrel "$LINENO" "confuse.h" "ac_cv_header_confuse_h" "$ac_includes_default"
4781if test "x$ac_cv_header_confuse_h" = x""yes; then :
4782  CONFUSE="yes"
4783else
4784  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** libconfuse not found - LLDP MED Location functionality will be missing ***" >&5
4785$as_echo "$as_me: WARNING: *** libconfuse not found - LLDP MED Location functionality will be missing ***" >&2;}
4786fi
4787
4788
4789fi
4790
4791
4792if test "$CONFUSE" = "yes"; then
4793    MORELIBS="$MORELIBS -lconfuse"
4794    $as_echo "#define USE_CONFUSE 1" >>confdefs.h
4795
4796fi
4797
4798CFLAGS="$GGDBFLAGS $CFLAGS"
4799AM_CPPFLAGS="$AM_CPPFLAGS "'-I${top_srcdir} -I${top_srcdir}/src'
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810ac_config_files="$ac_config_files Makefile src/Makefile src/platform/Makefile"
4811
4812cat >confcache <<\_ACEOF
4813# This file is a shell script that caches the results of configure
4814# tests run on this system so they can be shared between configure
4815# scripts and configure runs, see configure's option --config-cache.
4816# It is not useful on other systems.  If it contains results you don't
4817# want to keep, you may remove or edit it.
4818#
4819# config.status only pays attention to the cache file if you give it
4820# the --recheck option to rerun configure.
4821#
4822# `ac_cv_env_foo' variables (set or unset) will be overridden when
4823# loading this file, other *unset* `ac_cv_foo' will be assigned the
4824# following values.
4825
4826_ACEOF
4827
4828# The following way of writing the cache mishandles newlines in values,
4829# but we know of no workaround that is simple, portable, and efficient.
4830# So, we kill variables containing newlines.
4831# Ultrix sh set writes to stderr and can't be redirected directly,
4832# and sets the high bit in the cache file unless we assign to the vars.
4833(
4834  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4835    eval ac_val=\$$ac_var
4836    case $ac_val in #(
4837    *${as_nl}*)
4838      case $ac_var in #(
4839      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4840$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4841      esac
4842      case $ac_var in #(
4843      _ | IFS | as_nl) ;; #(
4844      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4845      *) { eval $ac_var=; unset $ac_var;} ;;
4846      esac ;;
4847    esac
4848  done
4849
4850  (set) 2>&1 |
4851    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4852    *${as_nl}ac_space=\ *)
4853      # `set' does not quote correctly, so add quotes: double-quote
4854      # substitution turns \\\\ into \\, and sed turns \\ into \.
4855      sed -n \
4856	"s/'/'\\\\''/g;
4857	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4858      ;; #(
4859    *)
4860      # `set' quotes correctly as required by POSIX, so do not add quotes.
4861      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4862      ;;
4863    esac |
4864    sort
4865) |
4866  sed '
4867     /^ac_cv_env_/b end
4868     t clear
4869     :clear
4870     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4871     t end
4872     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4873     :end' >>confcache
4874if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4875  if test -w "$cache_file"; then
4876    test "x$cache_file" != "x/dev/null" &&
4877      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4878$as_echo "$as_me: updating cache $cache_file" >&6;}
4879    cat confcache >$cache_file
4880  else
4881    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4882$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4883  fi
4884fi
4885rm -f confcache
4886
4887test "x$prefix" = xNONE && prefix=$ac_default_prefix
4888# Let make expand exec_prefix.
4889test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4890
4891# Transform confdefs.h into DEFS.
4892# Protect against shell expansion while executing Makefile rules.
4893# Protect against Makefile macro expansion.
4894#
4895# If the first sed substitution is executed (which looks for macros that
4896# take arguments), then branch to the quote section.  Otherwise,
4897# look for a macro that doesn't take arguments.
4898ac_script='
4899:mline
4900/\\$/{
4901 N
4902 s,\\\n,,
4903 b mline
4904}
4905t clear
4906:clear
4907s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
4908t quote
4909s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
4910t quote
4911b any
4912:quote
4913s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4914s/\[/\\&/g
4915s/\]/\\&/g
4916s/\$/$$/g
4917H
4918:any
4919${
4920	g
4921	s/^\n//
4922	s/\n/ /g
4923	p
4924}
4925'
4926DEFS=`sed -n "$ac_script" confdefs.h`
4927
4928
4929ac_libobjs=
4930ac_ltlibobjs=
4931for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4932  # 1. Remove the extension, and $U if already installed.
4933  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4934  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4935  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4936  #    will be set to the directory where LIBOBJS objects are built.
4937  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4938  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4939done
4940LIBOBJS=$ac_libobjs
4941
4942LTLIBOBJS=$ac_ltlibobjs
4943
4944
4945 if test -n "$EXEEXT"; then
4946  am__EXEEXT_TRUE=
4947  am__EXEEXT_FALSE='#'
4948else
4949  am__EXEEXT_TRUE='#'
4950  am__EXEEXT_FALSE=
4951fi
4952
4953if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4954  as_fn_error "conditional \"AMDEP\" was never defined.
4955Usually this means the macro was only invoked conditionally." "$LINENO" 5
4956fi
4957if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4958  as_fn_error "conditional \"am__fastdepCC\" was never defined.
4959Usually this means the macro was only invoked conditionally." "$LINENO" 5
4960fi
4961if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4962  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
4963Usually this means the macro was only invoked conditionally." "$LINENO" 5
4964fi
4965
4966if test -z "${FRAMER_GENERIC_TRUE}" && test -z "${FRAMER_GENERIC_FALSE}"; then
4967  as_fn_error "conditional \"FRAMER_GENERIC\" was never defined.
4968Usually this means the macro was only invoked conditionally." "$LINENO" 5
4969fi
4970if test -z "${FRAMER_LINUX_TRUE}" && test -z "${FRAMER_LINUX_FALSE}"; then
4971  as_fn_error "conditional \"FRAMER_LINUX\" was never defined.
4972Usually this means the macro was only invoked conditionally." "$LINENO" 5
4973fi
4974if test -z "${FRAMER_BPF_TRUE}" && test -z "${FRAMER_BPF_FALSE}"; then
4975  as_fn_error "conditional \"FRAMER_BPF\" was never defined.
4976Usually this means the macro was only invoked conditionally." "$LINENO" 5
4977fi
4978if test -z "${FRAMER_DARWIN_TRUE}" && test -z "${FRAMER_DARWIN_FALSE}"; then
4979  as_fn_error "conditional \"FRAMER_DARWIN\" was never defined.
4980Usually this means the macro was only invoked conditionally." "$LINENO" 5
4981fi
4982if test -z "${FRAMER_RADIUS_TRUE}" && test -z "${FRAMER_RADIUS_FALSE}"; then
4983  as_fn_error "conditional \"FRAMER_RADIUS\" was never defined.
4984Usually this means the macro was only invoked conditionally." "$LINENO" 5
4985fi
4986if test -z "${FRAMER_WINDOWS_TRUE}" && test -z "${FRAMER_WINDOWS_FALSE}"; then
4987  as_fn_error "conditional \"FRAMER_WINDOWS\" was never defined.
4988Usually this means the macro was only invoked conditionally." "$LINENO" 5
4989fi
4990if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
4991  as_fn_error "conditional \"LINUX\" was never defined.
4992Usually this means the macro was only invoked conditionally." "$LINENO" 5
4993fi
4994if test -z "${DARWIN_TRUE}" && test -z "${DARWIN_FALSE}"; then
4995  as_fn_error "conditional \"DARWIN\" was never defined.
4996Usually this means the macro was only invoked conditionally." "$LINENO" 5
4997fi
4998if test -z "${WINDOWS_TRUE}" && test -z "${WINDOWS_FALSE}"; then
4999  as_fn_error "conditional \"WINDOWS\" was never defined.
5000Usually this means the macro was only invoked conditionally." "$LINENO" 5
5001fi
5002if test -z "${OPENBSD_TRUE}" && test -z "${OPENBSD_FALSE}"; then
5003  as_fn_error "conditional \"OPENBSD\" was never defined.
5004Usually this means the macro was only invoked conditionally." "$LINENO" 5
5005fi
5006if test -z "${NETBSD_TRUE}" && test -z "${NETBSD_FALSE}"; then
5007  as_fn_error "conditional \"NETBSD\" was never defined.
5008Usually this means the macro was only invoked conditionally." "$LINENO" 5
5009fi
5010if test -z "${FREEBSD_TRUE}" && test -z "${FREEBSD_FALSE}"; then
5011  as_fn_error "conditional \"FREEBSD\" was never defined.
5012Usually this means the macro was only invoked conditionally." "$LINENO" 5
5013fi
5014
5015: ${CONFIG_STATUS=./config.status}
5016ac_write_fail=0
5017ac_clean_files_save=$ac_clean_files
5018ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5019{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5020$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5021as_write_fail=0
5022cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5023#! $SHELL
5024# Generated by $as_me.
5025# Run this file to recreate the current configuration.
5026# Compiler output produced by configure, useful for debugging
5027# configure, is in config.log if it exists.
5028
5029debug=false
5030ac_cs_recheck=false
5031ac_cs_silent=false
5032
5033SHELL=\${CONFIG_SHELL-$SHELL}
5034export SHELL
5035_ASEOF
5036cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5037## -------------------- ##
5038## M4sh Initialization. ##
5039## -------------------- ##
5040
5041# Be more Bourne compatible
5042DUALCASE=1; export DUALCASE # for MKS sh
5043if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5044  emulate sh
5045  NULLCMD=:
5046  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5047  # is contrary to our usage.  Disable this feature.
5048  alias -g '${1+"$@"}'='"$@"'
5049  setopt NO_GLOB_SUBST
5050else
5051  case `(set -o) 2>/dev/null` in #(
5052  *posix*) :
5053    set -o posix ;; #(
5054  *) :
5055     ;;
5056esac
5057fi
5058
5059
5060as_nl='
5061'
5062export as_nl
5063# Printing a long string crashes Solaris 7 /usr/bin/printf.
5064as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5065as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5066as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5067# Prefer a ksh shell builtin over an external printf program on Solaris,
5068# but without wasting forks for bash or zsh.
5069if test -z "$BASH_VERSION$ZSH_VERSION" \
5070    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5071  as_echo='print -r --'
5072  as_echo_n='print -rn --'
5073elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5074  as_echo='printf %s\n'
5075  as_echo_n='printf %s'
5076else
5077  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5078    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5079    as_echo_n='/usr/ucb/echo -n'
5080  else
5081    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5082    as_echo_n_body='eval
5083      arg=$1;
5084      case $arg in #(
5085      *"$as_nl"*)
5086	expr "X$arg" : "X\\(.*\\)$as_nl";
5087	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5088      esac;
5089      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5090    '
5091    export as_echo_n_body
5092    as_echo_n='sh -c $as_echo_n_body as_echo'
5093  fi
5094  export as_echo_body
5095  as_echo='sh -c $as_echo_body as_echo'
5096fi
5097
5098# The user is always right.
5099if test "${PATH_SEPARATOR+set}" != set; then
5100  PATH_SEPARATOR=:
5101  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5102    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5103      PATH_SEPARATOR=';'
5104  }
5105fi
5106
5107
5108# IFS
5109# We need space, tab and new line, in precisely that order.  Quoting is
5110# there to prevent editors from complaining about space-tab.
5111# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5112# splitting by setting IFS to empty value.)
5113IFS=" ""	$as_nl"
5114
5115# Find who we are.  Look in the path if we contain no directory separator.
5116case $0 in #((
5117  *[\\/]* ) as_myself=$0 ;;
5118  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119for as_dir in $PATH
5120do
5121  IFS=$as_save_IFS
5122  test -z "$as_dir" && as_dir=.
5123    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5124  done
5125IFS=$as_save_IFS
5126
5127     ;;
5128esac
5129# We did not find ourselves, most probably we were run as `sh COMMAND'
5130# in which case we are not to be found in the path.
5131if test "x$as_myself" = x; then
5132  as_myself=$0
5133fi
5134if test ! -f "$as_myself"; then
5135  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5136  exit 1
5137fi
5138
5139# Unset variables that we do not need and which cause bugs (e.g. in
5140# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5141# suppresses any "Segmentation fault" message there.  '((' could
5142# trigger a bug in pdksh 5.2.14.
5143for as_var in BASH_ENV ENV MAIL MAILPATH
5144do eval test x\${$as_var+set} = xset \
5145  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5146done
5147PS1='$ '
5148PS2='> '
5149PS4='+ '
5150
5151# NLS nuisances.
5152LC_ALL=C
5153export LC_ALL
5154LANGUAGE=C
5155export LANGUAGE
5156
5157# CDPATH.
5158(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5159
5160
5161# as_fn_error ERROR [LINENO LOG_FD]
5162# ---------------------------------
5163# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5164# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5165# script with status $?, using 1 if that was 0.
5166as_fn_error ()
5167{
5168  as_status=$?; test $as_status -eq 0 && as_status=1
5169  if test "$3"; then
5170    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5171    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5172  fi
5173  $as_echo "$as_me: error: $1" >&2
5174  as_fn_exit $as_status
5175} # as_fn_error
5176
5177
5178# as_fn_set_status STATUS
5179# -----------------------
5180# Set $? to STATUS, without forking.
5181as_fn_set_status ()
5182{
5183  return $1
5184} # as_fn_set_status
5185
5186# as_fn_exit STATUS
5187# -----------------
5188# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5189as_fn_exit ()
5190{
5191  set +e
5192  as_fn_set_status $1
5193  exit $1
5194} # as_fn_exit
5195
5196# as_fn_unset VAR
5197# ---------------
5198# Portably unset VAR.
5199as_fn_unset ()
5200{
5201  { eval $1=; unset $1;}
5202}
5203as_unset=as_fn_unset
5204# as_fn_append VAR VALUE
5205# ----------------------
5206# Append the text in VALUE to the end of the definition contained in VAR. Take
5207# advantage of any shell optimizations that allow amortized linear growth over
5208# repeated appends, instead of the typical quadratic growth present in naive
5209# implementations.
5210if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5211  eval 'as_fn_append ()
5212  {
5213    eval $1+=\$2
5214  }'
5215else
5216  as_fn_append ()
5217  {
5218    eval $1=\$$1\$2
5219  }
5220fi # as_fn_append
5221
5222# as_fn_arith ARG...
5223# ------------------
5224# Perform arithmetic evaluation on the ARGs, and store the result in the
5225# global $as_val. Take advantage of shells that can avoid forks. The arguments
5226# must be portable across $(()) and expr.
5227if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5228  eval 'as_fn_arith ()
5229  {
5230    as_val=$(( $* ))
5231  }'
5232else
5233  as_fn_arith ()
5234  {
5235    as_val=`expr "$@" || test $? -eq 1`
5236  }
5237fi # as_fn_arith
5238
5239
5240if expr a : '\(a\)' >/dev/null 2>&1 &&
5241   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5242  as_expr=expr
5243else
5244  as_expr=false
5245fi
5246
5247if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5248  as_basename=basename
5249else
5250  as_basename=false
5251fi
5252
5253if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5254  as_dirname=dirname
5255else
5256  as_dirname=false
5257fi
5258
5259as_me=`$as_basename -- "$0" ||
5260$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5261	 X"$0" : 'X\(//\)$' \| \
5262	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5263$as_echo X/"$0" |
5264    sed '/^.*\/\([^/][^/]*\)\/*$/{
5265	    s//\1/
5266	    q
5267	  }
5268	  /^X\/\(\/\/\)$/{
5269	    s//\1/
5270	    q
5271	  }
5272	  /^X\/\(\/\).*/{
5273	    s//\1/
5274	    q
5275	  }
5276	  s/.*/./; q'`
5277
5278# Avoid depending upon Character Ranges.
5279as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5280as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5281as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5282as_cr_digits='0123456789'
5283as_cr_alnum=$as_cr_Letters$as_cr_digits
5284
5285ECHO_C= ECHO_N= ECHO_T=
5286case `echo -n x` in #(((((
5287-n*)
5288  case `echo 'xy\c'` in
5289  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5290  xy)  ECHO_C='\c';;
5291  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5292       ECHO_T='	';;
5293  esac;;
5294*)
5295  ECHO_N='-n';;
5296esac
5297
5298rm -f conf$$ conf$$.exe conf$$.file
5299if test -d conf$$.dir; then
5300  rm -f conf$$.dir/conf$$.file
5301else
5302  rm -f conf$$.dir
5303  mkdir conf$$.dir 2>/dev/null
5304fi
5305if (echo >conf$$.file) 2>/dev/null; then
5306  if ln -s conf$$.file conf$$ 2>/dev/null; then
5307    as_ln_s='ln -s'
5308    # ... but there are two gotchas:
5309    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5310    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5311    # In both cases, we have to default to `cp -p'.
5312    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5313      as_ln_s='cp -p'
5314  elif ln conf$$.file conf$$ 2>/dev/null; then
5315    as_ln_s=ln
5316  else
5317    as_ln_s='cp -p'
5318  fi
5319else
5320  as_ln_s='cp -p'
5321fi
5322rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5323rmdir conf$$.dir 2>/dev/null
5324
5325
5326# as_fn_mkdir_p
5327# -------------
5328# Create "$as_dir" as a directory, including parents if necessary.
5329as_fn_mkdir_p ()
5330{
5331
5332  case $as_dir in #(
5333  -*) as_dir=./$as_dir;;
5334  esac
5335  test -d "$as_dir" || eval $as_mkdir_p || {
5336    as_dirs=
5337    while :; do
5338      case $as_dir in #(
5339      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5340      *) as_qdir=$as_dir;;
5341      esac
5342      as_dirs="'$as_qdir' $as_dirs"
5343      as_dir=`$as_dirname -- "$as_dir" ||
5344$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5345	 X"$as_dir" : 'X\(//\)[^/]' \| \
5346	 X"$as_dir" : 'X\(//\)$' \| \
5347	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5348$as_echo X"$as_dir" |
5349    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5350	    s//\1/
5351	    q
5352	  }
5353	  /^X\(\/\/\)[^/].*/{
5354	    s//\1/
5355	    q
5356	  }
5357	  /^X\(\/\/\)$/{
5358	    s//\1/
5359	    q
5360	  }
5361	  /^X\(\/\).*/{
5362	    s//\1/
5363	    q
5364	  }
5365	  s/.*/./; q'`
5366      test -d "$as_dir" && break
5367    done
5368    test -z "$as_dirs" || eval "mkdir $as_dirs"
5369  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5370
5371
5372} # as_fn_mkdir_p
5373if mkdir -p . 2>/dev/null; then
5374  as_mkdir_p='mkdir -p "$as_dir"'
5375else
5376  test -d ./-p && rmdir ./-p
5377  as_mkdir_p=false
5378fi
5379
5380if test -x / >/dev/null 2>&1; then
5381  as_test_x='test -x'
5382else
5383  if ls -dL / >/dev/null 2>&1; then
5384    as_ls_L_option=L
5385  else
5386    as_ls_L_option=
5387  fi
5388  as_test_x='
5389    eval sh -c '\''
5390      if test -d "$1"; then
5391	test -d "$1/.";
5392      else
5393	case $1 in #(
5394	-*)set "./$1";;
5395	esac;
5396	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5397	???[sx]*):;;*)false;;esac;fi
5398    '\'' sh
5399  '
5400fi
5401as_executable_p=$as_test_x
5402
5403# Sed expression to map a string onto a valid CPP name.
5404as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5405
5406# Sed expression to map a string onto a valid variable name.
5407as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5408
5409
5410exec 6>&1
5411## ----------------------------------- ##
5412## Main body of $CONFIG_STATUS script. ##
5413## ----------------------------------- ##
5414_ASEOF
5415test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5416
5417cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5418# Save the log message, to keep $0 and so on meaningful, and to
5419# report actual input values of CONFIG_FILES etc. instead of their
5420# values after options handling.
5421ac_log="
5422This file was extended by OpenLLDP $as_me 0.4alpha, which was
5423generated by GNU Autoconf 2.65.  Invocation command line was
5424
5425  CONFIG_FILES    = $CONFIG_FILES
5426  CONFIG_HEADERS  = $CONFIG_HEADERS
5427  CONFIG_LINKS    = $CONFIG_LINKS
5428  CONFIG_COMMANDS = $CONFIG_COMMANDS
5429  $ $0 $@
5430
5431on `(hostname || uname -n) 2>/dev/null | sed 1q`
5432"
5433
5434_ACEOF
5435
5436case $ac_config_files in *"
5437"*) set x $ac_config_files; shift; ac_config_files=$*;;
5438esac
5439
5440
5441
5442cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5443# Files that config.status was made for.
5444config_files="$ac_config_files"
5445config_commands="$ac_config_commands"
5446
5447_ACEOF
5448
5449cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5450ac_cs_usage="\
5451\`$as_me' instantiates files and other configuration actions
5452from templates according to the current configuration.  Unless the files
5453and actions are specified as TAGs, all are instantiated by default.
5454
5455Usage: $0 [OPTION]... [TAG]...
5456
5457  -h, --help       print this help, then exit
5458  -V, --version    print version number and configuration settings, then exit
5459      --config     print configuration, then exit
5460  -q, --quiet, --silent
5461                   do not print progress messages
5462  -d, --debug      don't remove temporary files
5463      --recheck    update $as_me by reconfiguring in the same conditions
5464      --file=FILE[:TEMPLATE]
5465                   instantiate the configuration file FILE
5466
5467Configuration files:
5468$config_files
5469
5470Configuration commands:
5471$config_commands
5472
5473Report bugs to the package provider."
5474
5475_ACEOF
5476cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5477ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5478ac_cs_version="\\
5479OpenLLDP config.status 0.4alpha
5480configured by $0, generated by GNU Autoconf 2.65,
5481  with options \\"\$ac_cs_config\\"
5482
5483Copyright (C) 2009 Free Software Foundation, Inc.
5484This config.status script is free software; the Free Software Foundation
5485gives unlimited permission to copy, distribute and modify it."
5486
5487ac_pwd='$ac_pwd'
5488srcdir='$srcdir'
5489INSTALL='$INSTALL'
5490MKDIR_P='$MKDIR_P'
5491AWK='$AWK'
5492test -n "\$AWK" || AWK=awk
5493_ACEOF
5494
5495cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5496# The default lists apply if the user does not specify any file.
5497ac_need_defaults=:
5498while test $# != 0
5499do
5500  case $1 in
5501  --*=*)
5502    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5503    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5504    ac_shift=:
5505    ;;
5506  *)
5507    ac_option=$1
5508    ac_optarg=$2
5509    ac_shift=shift
5510    ;;
5511  esac
5512
5513  case $ac_option in
5514  # Handling of the options.
5515  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5516    ac_cs_recheck=: ;;
5517  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5518    $as_echo "$ac_cs_version"; exit ;;
5519  --config | --confi | --conf | --con | --co | --c )
5520    $as_echo "$ac_cs_config"; exit ;;
5521  --debug | --debu | --deb | --de | --d | -d )
5522    debug=: ;;
5523  --file | --fil | --fi | --f )
5524    $ac_shift
5525    case $ac_optarg in
5526    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5527    esac
5528    as_fn_append CONFIG_FILES " '$ac_optarg'"
5529    ac_need_defaults=false;;
5530  --he | --h |  --help | --hel | -h )
5531    $as_echo "$ac_cs_usage"; exit ;;
5532  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5533  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5534    ac_cs_silent=: ;;
5535
5536  # This is an error.
5537  -*) as_fn_error "unrecognized option: \`$1'
5538Try \`$0 --help' for more information." ;;
5539
5540  *) as_fn_append ac_config_targets " $1"
5541     ac_need_defaults=false ;;
5542
5543  esac
5544  shift
5545done
5546
5547ac_configure_extra_args=
5548
5549if $ac_cs_silent; then
5550  exec 6>/dev/null
5551  ac_configure_extra_args="$ac_configure_extra_args --silent"
5552fi
5553
5554_ACEOF
5555cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5556if \$ac_cs_recheck; then
5557  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5558  shift
5559  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5560  CONFIG_SHELL='$SHELL'
5561  export CONFIG_SHELL
5562  exec "\$@"
5563fi
5564
5565_ACEOF
5566cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5567exec 5>>config.log
5568{
5569  echo
5570  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5571## Running $as_me. ##
5572_ASBOX
5573  $as_echo "$ac_log"
5574} >&5
5575
5576_ACEOF
5577cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5578#
5579# INIT-COMMANDS
5580#
5581AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5582
5583_ACEOF
5584
5585cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5586
5587# Handling of arguments.
5588for ac_config_target in $ac_config_targets
5589do
5590  case $ac_config_target in
5591    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5592    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5593    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5594    "src/platform/Makefile") CONFIG_FILES="$CONFIG_FILES src/platform/Makefile" ;;
5595
5596  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5597  esac
5598done
5599
5600
5601# If the user did not use the arguments to specify the items to instantiate,
5602# then the envvar interface is used.  Set only those that are not.
5603# We use the long form for the default assignment because of an extremely
5604# bizarre bug on SunOS 4.1.3.
5605if $ac_need_defaults; then
5606  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5607  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5608fi
5609
5610# Have a temporary directory for convenience.  Make it in the build tree
5611# simply because there is no reason against having it here, and in addition,
5612# creating and moving files from /tmp can sometimes cause problems.
5613# Hook for its removal unless debugging.
5614# Note that there is a small window in which the directory will not be cleaned:
5615# after its creation but before its name has been assigned to `$tmp'.
5616$debug ||
5617{
5618  tmp=
5619  trap 'exit_status=$?
5620  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5621' 0
5622  trap 'as_fn_exit 1' 1 2 13 15
5623}
5624# Create a (secure) tmp directory for tmp files.
5625
5626{
5627  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5628  test -n "$tmp" && test -d "$tmp"
5629}  ||
5630{
5631  tmp=./conf$$-$RANDOM
5632  (umask 077 && mkdir "$tmp")
5633} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5634
5635# Set up the scripts for CONFIG_FILES section.
5636# No need to generate them if there are no CONFIG_FILES.
5637# This happens for instance with `./config.status config.h'.
5638if test -n "$CONFIG_FILES"; then
5639
5640
5641ac_cr=`echo X | tr X '\015'`
5642# On cygwin, bash can eat \r inside `` if the user requested igncr.
5643# But we know of no other shell where ac_cr would be empty at this
5644# point, so we can use a bashism as a fallback.
5645if test "x$ac_cr" = x; then
5646  eval ac_cr=\$\'\\r\'
5647fi
5648ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5649if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5650  ac_cs_awk_cr='\r'
5651else
5652  ac_cs_awk_cr=$ac_cr
5653fi
5654
5655echo 'BEGIN {' >"$tmp/subs1.awk" &&
5656_ACEOF
5657
5658
5659{
5660  echo "cat >conf$$subs.awk <<_ACEOF" &&
5661  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5662  echo "_ACEOF"
5663} >conf$$subs.sh ||
5664  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5665ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5666ac_delim='%!_!# '
5667for ac_last_try in false false false false false :; do
5668  . ./conf$$subs.sh ||
5669    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5670
5671  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5672  if test $ac_delim_n = $ac_delim_num; then
5673    break
5674  elif $ac_last_try; then
5675    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5676  else
5677    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5678  fi
5679done
5680rm -f conf$$subs.sh
5681
5682cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5683cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5684_ACEOF
5685sed -n '
5686h
5687s/^/S["/; s/!.*/"]=/
5688p
5689g
5690s/^[^!]*!//
5691:repl
5692t repl
5693s/'"$ac_delim"'$//
5694t delim
5695:nl
5696h
5697s/\(.\{148\}\)..*/\1/
5698t more1
5699s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5700p
5701n
5702b repl
5703:more1
5704s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5705p
5706g
5707s/.\{148\}//
5708t nl
5709:delim
5710h
5711s/\(.\{148\}\)..*/\1/
5712t more2
5713s/["\\]/\\&/g; s/^/"/; s/$/"/
5714p
5715b
5716:more2
5717s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5718p
5719g
5720s/.\{148\}//
5721t delim
5722' <conf$$subs.awk | sed '
5723/^[^""]/{
5724  N
5725  s/\n//
5726}
5727' >>$CONFIG_STATUS || ac_write_fail=1
5728rm -f conf$$subs.awk
5729cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5730_ACAWK
5731cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5732  for (key in S) S_is_set[key] = 1
5733  FS = ""
5734
5735}
5736{
5737  line = $ 0
5738  nfields = split(line, field, "@")
5739  substed = 0
5740  len = length(field[1])
5741  for (i = 2; i < nfields; i++) {
5742    key = field[i]
5743    keylen = length(key)
5744    if (S_is_set[key]) {
5745      value = S[key]
5746      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5747      len += length(value) + length(field[++i])
5748      substed = 1
5749    } else
5750      len += 1 + keylen
5751  }
5752
5753  print line
5754}
5755
5756_ACAWK
5757_ACEOF
5758cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5759if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5760  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5761else
5762  cat
5763fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5764  || as_fn_error "could not setup config files machinery" "$LINENO" 5
5765_ACEOF
5766
5767# VPATH may cause trouble with some makes, so we remove $(srcdir),
5768# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5769# trailing colons and then remove the whole line if VPATH becomes empty
5770# (actually we leave an empty line to preserve line numbers).
5771if test "x$srcdir" = x.; then
5772  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
5773s/:*\$(srcdir):*/:/
5774s/:*\${srcdir}:*/:/
5775s/:*@srcdir@:*/:/
5776s/^\([^=]*=[	 ]*\):*/\1/
5777s/:*$//
5778s/^[^=]*=[	 ]*$//
5779}'
5780fi
5781
5782cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5783fi # test -n "$CONFIG_FILES"
5784
5785
5786eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
5787shift
5788for ac_tag
5789do
5790  case $ac_tag in
5791  :[FHLC]) ac_mode=$ac_tag; continue;;
5792  esac
5793  case $ac_mode$ac_tag in
5794  :[FHL]*:*);;
5795  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
5796  :[FH]-) ac_tag=-:-;;
5797  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5798  esac
5799  ac_save_IFS=$IFS
5800  IFS=:
5801  set x $ac_tag
5802  IFS=$ac_save_IFS
5803  shift
5804  ac_file=$1
5805  shift
5806
5807  case $ac_mode in
5808  :L) ac_source=$1;;
5809  :[FH])
5810    ac_file_inputs=
5811    for ac_f
5812    do
5813      case $ac_f in
5814      -) ac_f="$tmp/stdin";;
5815      *) # Look for the file first in the build tree, then in the source tree
5816	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5817	 # because $ac_f cannot contain `:'.
5818	 test -f "$ac_f" ||
5819	   case $ac_f in
5820	   [\\/$]*) false;;
5821	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5822	   esac ||
5823	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5824      esac
5825      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5826      as_fn_append ac_file_inputs " '$ac_f'"
5827    done
5828
5829    # Let's still pretend it is `configure' which instantiates (i.e., don't
5830    # use $as_me), people would be surprised to read:
5831    #    /* config.h.  Generated by config.status.  */
5832    configure_input='Generated from '`
5833	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5834	`' by configure.'
5835    if test x"$ac_file" != x-; then
5836      configure_input="$ac_file.  $configure_input"
5837      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5838$as_echo "$as_me: creating $ac_file" >&6;}
5839    fi
5840    # Neutralize special characters interpreted by sed in replacement strings.
5841    case $configure_input in #(
5842    *\&* | *\|* | *\\* )
5843       ac_sed_conf_input=`$as_echo "$configure_input" |
5844       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5845    *) ac_sed_conf_input=$configure_input;;
5846    esac
5847
5848    case $ac_tag in
5849    *:-:* | *:-) cat >"$tmp/stdin" \
5850      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5851    esac
5852    ;;
5853  esac
5854
5855  ac_dir=`$as_dirname -- "$ac_file" ||
5856$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5857	 X"$ac_file" : 'X\(//\)[^/]' \| \
5858	 X"$ac_file" : 'X\(//\)$' \| \
5859	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5860$as_echo X"$ac_file" |
5861    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5862	    s//\1/
5863	    q
5864	  }
5865	  /^X\(\/\/\)[^/].*/{
5866	    s//\1/
5867	    q
5868	  }
5869	  /^X\(\/\/\)$/{
5870	    s//\1/
5871	    q
5872	  }
5873	  /^X\(\/\).*/{
5874	    s//\1/
5875	    q
5876	  }
5877	  s/.*/./; q'`
5878  as_dir="$ac_dir"; as_fn_mkdir_p
5879  ac_builddir=.
5880
5881case "$ac_dir" in
5882.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5883*)
5884  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5885  # A ".." for each directory in $ac_dir_suffix.
5886  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5887  case $ac_top_builddir_sub in
5888  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5889  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5890  esac ;;
5891esac
5892ac_abs_top_builddir=$ac_pwd
5893ac_abs_builddir=$ac_pwd$ac_dir_suffix
5894# for backward compatibility:
5895ac_top_builddir=$ac_top_build_prefix
5896
5897case $srcdir in
5898  .)  # We are building in place.
5899    ac_srcdir=.
5900    ac_top_srcdir=$ac_top_builddir_sub
5901    ac_abs_top_srcdir=$ac_pwd ;;
5902  [\\/]* | ?:[\\/]* )  # Absolute name.
5903    ac_srcdir=$srcdir$ac_dir_suffix;
5904    ac_top_srcdir=$srcdir
5905    ac_abs_top_srcdir=$srcdir ;;
5906  *) # Relative name.
5907    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5908    ac_top_srcdir=$ac_top_build_prefix$srcdir
5909    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5910esac
5911ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5912
5913
5914  case $ac_mode in
5915  :F)
5916  #
5917  # CONFIG_FILE
5918  #
5919
5920  case $INSTALL in
5921  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5922  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5923  esac
5924  ac_MKDIR_P=$MKDIR_P
5925  case $MKDIR_P in
5926  [\\/$]* | ?:[\\/]* ) ;;
5927  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5928  esac
5929_ACEOF
5930
5931cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5932# If the template does not know about datarootdir, expand it.
5933# FIXME: This hack should be removed a few years after 2.60.
5934ac_datarootdir_hack=; ac_datarootdir_seen=
5935ac_sed_dataroot='
5936/datarootdir/ {
5937  p
5938  q
5939}
5940/@datadir@/p
5941/@docdir@/p
5942/@infodir@/p
5943/@localedir@/p
5944/@mandir@/p'
5945case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5946*datarootdir*) ac_datarootdir_seen=yes;;
5947*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5948  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5949$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5950_ACEOF
5951cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5952  ac_datarootdir_hack='
5953  s&@datadir@&$datadir&g
5954  s&@docdir@&$docdir&g
5955  s&@infodir@&$infodir&g
5956  s&@localedir@&$localedir&g
5957  s&@mandir@&$mandir&g
5958  s&\\\${datarootdir}&$datarootdir&g' ;;
5959esac
5960_ACEOF
5961
5962# Neutralize VPATH when `$srcdir' = `.'.
5963# Shell code in configure.ac might set extrasub.
5964# FIXME: do we really want to maintain this feature?
5965cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5966ac_sed_extra="$ac_vpsub
5967$extrasub
5968_ACEOF
5969cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5970:t
5971/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5972s|@configure_input@|$ac_sed_conf_input|;t t
5973s&@top_builddir@&$ac_top_builddir_sub&;t t
5974s&@top_build_prefix@&$ac_top_build_prefix&;t t
5975s&@srcdir@&$ac_srcdir&;t t
5976s&@abs_srcdir@&$ac_abs_srcdir&;t t
5977s&@top_srcdir@&$ac_top_srcdir&;t t
5978s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5979s&@builddir@&$ac_builddir&;t t
5980s&@abs_builddir@&$ac_abs_builddir&;t t
5981s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5982s&@INSTALL@&$ac_INSTALL&;t t
5983s&@MKDIR_P@&$ac_MKDIR_P&;t t
5984$ac_datarootdir_hack
5985"
5986eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5987  || as_fn_error "could not create $ac_file" "$LINENO" 5
5988
5989test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5990  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5991  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5992  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5993which seems to be undefined.  Please make sure it is defined." >&5
5994$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5995which seems to be undefined.  Please make sure it is defined." >&2;}
5996
5997  rm -f "$tmp/stdin"
5998  case $ac_file in
5999  -) cat "$tmp/out" && rm -f "$tmp/out";;
6000  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6001  esac \
6002  || as_fn_error "could not create $ac_file" "$LINENO" 5
6003 ;;
6004
6005
6006  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6007$as_echo "$as_me: executing $ac_file commands" >&6;}
6008 ;;
6009  esac
6010
6011
6012  case $ac_file$ac_mode in
6013    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6014  # Autoconf 2.62 quotes --file arguments for eval, but not when files
6015  # are listed without --file.  Let's play safe and only enable the eval
6016  # if we detect the quoting.
6017  case $CONFIG_FILES in
6018  *\'*) eval set x "$CONFIG_FILES" ;;
6019  *)   set x $CONFIG_FILES ;;
6020  esac
6021  shift
6022  for mf
6023  do
6024    # Strip MF so we end up with the name of the file.
6025    mf=`echo "$mf" | sed -e 's/:.*$//'`
6026    # Check whether this is an Automake generated Makefile or not.
6027    # We used to match only the files named `Makefile.in', but
6028    # some people rename them; so instead we look at the file content.
6029    # Grep'ing the first line is not enough: some people post-process
6030    # each Makefile.in and add a new line on top of each file to say so.
6031    # Grep'ing the whole file is not good either: AIX grep has a line
6032    # limit of 2048, but all sed's we know have understand at least 4000.
6033    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6034      dirpart=`$as_dirname -- "$mf" ||
6035$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6036	 X"$mf" : 'X\(//\)[^/]' \| \
6037	 X"$mf" : 'X\(//\)$' \| \
6038	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6039$as_echo X"$mf" |
6040    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6041	    s//\1/
6042	    q
6043	  }
6044	  /^X\(\/\/\)[^/].*/{
6045	    s//\1/
6046	    q
6047	  }
6048	  /^X\(\/\/\)$/{
6049	    s//\1/
6050	    q
6051	  }
6052	  /^X\(\/\).*/{
6053	    s//\1/
6054	    q
6055	  }
6056	  s/.*/./; q'`
6057    else
6058      continue
6059    fi
6060    # Extract the definition of DEPDIR, am__include, and am__quote
6061    # from the Makefile without running `make'.
6062    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6063    test -z "$DEPDIR" && continue
6064    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6065    test -z "am__include" && continue
6066    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6067    # When using ansi2knr, U may be empty or an underscore; expand it
6068    U=`sed -n 's/^U = //p' < "$mf"`
6069    # Find all dependency output files, they are included files with
6070    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6071    # simplest approach to changing $(DEPDIR) to its actual value in the
6072    # expansion.
6073    for file in `sed -n "
6074      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6075	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6076      # Make sure the directory exists.
6077      test -f "$dirpart/$file" && continue
6078      fdir=`$as_dirname -- "$file" ||
6079$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6080	 X"$file" : 'X\(//\)[^/]' \| \
6081	 X"$file" : 'X\(//\)$' \| \
6082	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6083$as_echo X"$file" |
6084    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6085	    s//\1/
6086	    q
6087	  }
6088	  /^X\(\/\/\)[^/].*/{
6089	    s//\1/
6090	    q
6091	  }
6092	  /^X\(\/\/\)$/{
6093	    s//\1/
6094	    q
6095	  }
6096	  /^X\(\/\).*/{
6097	    s//\1/
6098	    q
6099	  }
6100	  s/.*/./; q'`
6101      as_dir=$dirpart/$fdir; as_fn_mkdir_p
6102      # echo "creating $dirpart/$file"
6103      echo '# dummy' > "$dirpart/$file"
6104    done
6105  done
6106}
6107 ;;
6108
6109  esac
6110done # for ac_tag
6111
6112
6113as_fn_exit 0
6114_ACEOF
6115ac_clean_files=$ac_clean_files_save
6116
6117test $ac_write_fail = 0 ||
6118  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6119
6120
6121# configure is writing to config.log, and then calls config.status.
6122# config.status does its own redirection, appending to config.log.
6123# Unfortunately, on DOS this fails, as config.log is still kept open
6124# by configure, so config.status won't be able to write to it; its
6125# output is simply discarded.  So we exec the FD to /dev/null,
6126# effectively closing config.log, so it can be properly (re)opened and
6127# appended to by config.status.  When coming back to configure, we
6128# need to make the FD available again.
6129if test "$no_create" != yes; then
6130  ac_cs_success=:
6131  ac_config_status_args=
6132  test "$silent" = yes &&
6133    ac_config_status_args="$ac_config_status_args --quiet"
6134  exec 5>/dev/null
6135  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6136  exec 5>>config.log
6137  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6138  # would make configure fail if this is the last instruction.
6139  $ac_cs_success || as_fn_exit $?
6140fi
6141if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6142  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6143$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6144fi
6145
6146