1 Index: linux-atm-2.4.1/Makefile.in
2 ===================================================================
3 --- linux-atm-2.4.1.orig/Makefile.in 2007-10-20 19:19:10.830245661 +0200
4 +++ linux-atm-2.4.1/Makefile.in 2007-10-20 19:19:11.698295124 +0200
6 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
7 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
9 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
10 # This Makefile.in is free software; the Free Software Foundation
13 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
20 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
21 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
22 + cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
24 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
25 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
27 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
30 awk ' { files[$$0] = 1; } \
31 END { for (i in files) print i; }'`; \
32 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
33 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
34 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP))
42 + here=`cd $(top_builddir) && pwd`; \
43 + top_distdir=`cd $(distdir) && pwd`; \
44 + distdir=`cd $(distdir) && pwd`; \
46 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
47 @for file in $(DISTFILES); do \
49 if test -d $$d/$$file; then \
50 Index: linux-atm-2.4.1/aclocal.m4
51 ===================================================================
52 --- linux-atm-2.4.1.orig/aclocal.m4 2007-10-20 19:19:10.838246113 +0200
53 +++ linux-atm-2.4.1/aclocal.m4 2007-10-20 19:19:11.710295812 +0200
55 -dnl aclocal.m4 generated automatically by aclocal 1.4-p5
56 +dnl aclocal.m4 generated automatically by aclocal 1.4-p6
58 dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
59 dnl This file is free software; the Free Software Foundation
61 dnl AM_INIT_AUTOMAKE(package,version, [no-define])
63 AC_DEFUN([AM_INIT_AUTOMAKE],
64 -[AC_REQUIRE([AC_PROG_INSTALL])
65 +[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
66 +AC_REQUIRE([AC_PROG_INSTALL])
71 AC_REQUIRE([AC_ARG_PROGRAM])
72 dnl FIXME This is truly gross.
73 missing_dir=`cd $ac_aux_dir && pwd`
74 -AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
75 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
76 AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
77 -AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
78 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
79 AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
80 AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
81 AC_REQUIRE([AC_PROG_MAKE_SET])])
83 +# Copyright 2002 Free Software Foundation, Inc.
85 +# This program is free software; you can redistribute it and/or modify
86 +# it under the terms of the GNU General Public License as published by
87 +# the Free Software Foundation; either version 2, or (at your option)
90 +# This program is distributed in the hope that it will be useful,
91 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
92 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
93 +# GNU General Public License for more details.
95 +# You should have received a copy of the GNU General Public License
96 +# along with this program; if not, write to the Free Software
97 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
99 +# AM_AUTOMAKE_VERSION(VERSION)
100 +# ----------------------------
101 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
102 +# generated from the m4 files accompanying Automake X.Y.
103 +AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
105 +# AM_SET_CURRENT_AUTOMAKE_VERSION
106 +# -------------------------------
107 +# Call AM_AUTOMAKE_VERSION so it can be traced.
108 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
109 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
110 + [AM_AUTOMAKE_VERSION([1.4-p6])])
113 # Check to make sure that the build environment is sane.
115 @@ -130,13 +160,14 @@
116 dnl Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
117 AC_DEFUN([AM_PROG_LEX],
118 [missing_dir=ifelse([$1],,`cd $ac_aux_dir && pwd`,$1)
119 -AC_CHECK_PROGS(LEX, flex lex, "$missing_dir/missing flex")
120 +AC_CHECK_PROGS(LEX, flex lex, $missing_dir/missing flex)
124 # libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
126 # serial 46 AC_PROG_LIBTOOL
128 AC_DEFUN([AC_PROG_LIBTOOL],
129 [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
132 AC_REQUIRE([AC_PROG_LD])dnl
133 AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
134 AC_REQUIRE([AC_PROG_NM])dnl
135 +AC_REQUIRE([LT_AC_PROG_SED])dnl
137 AC_REQUIRE([AC_PROG_LN_S])dnl
138 AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
139 AC_REQUIRE([AC_OBJEXT])dnl
144 +# AC_LIBTOOL_HEADER_ASSERT
145 +# ------------------------
146 +AC_DEFUN([AC_LIBTOOL_HEADER_ASSERT],
147 +[AC_CACHE_CHECK([whether $CC supports assert without backlinking],
148 + [lt_cv_func_assert_works],
151 + if test "$GCC" = yes && test "$with_gnu_ld" != yes; then
152 + case `$CC --version 2>/dev/null` in
153 + [[12]].*) lt_cv_func_assert_works=no ;;
154 + *) lt_cv_func_assert_works=yes ;;
160 +if test "x$lt_cv_func_assert_works" = xyes; then
161 + AC_CHECK_HEADERS(assert.h)
163 +])# AC_LIBTOOL_HEADER_ASSERT
166 # --------------------
167 -AC_DEFUN(_LT_AC_CHECK_DLFCN,
168 +AC_DEFUN([_LT_AC_CHECK_DLFCN],
169 [AC_CHECK_HEADERS(dlfcn.h)
170 ])# _LT_AC_CHECK_DLFCN
172 @@ -282,10 +336,10 @@
173 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
175 # Character class describing NM global symbol codes.
176 -[symcode='[BCDEGRST]']
177 +symcode='[[BCDEGRST]]'
179 # Regexp to match symbols that can be accessed directly from C.
180 -[sympat='\([_A-Za-z][_A-Za-z0-9]*\)']
181 +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
183 # Transform the above into a raw symbol and a C symbol.
185 @@ -293,25 +347,32 @@
186 # Transform an extracted symbol line into a proper C declaration
187 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
189 +# Transform an extracted symbol line into symbol name and symbol address
190 +lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
192 # Define system-specific variables.
198 cygwin* | mingw* | pw32*)
199 - [symcode='[ABCDGISTW]']
200 + symcode='[[ABCDGISTW]]'
202 hpux*) # Its linker distinguishes data from code symbols
203 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
204 + lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
207 + symcode='[[BCDEGRST]]'
210 - [symcode='[BCDEGRST]']
212 + symcode='[[BCDEGQRST]]'
219 - [symcode='[DFNSTU]']
220 + symcode='[[DFNSTU]]'
224 @@ -325,14 +386,14 @@
226 # If we're using GNU nm, then use its standard symbol codes.
227 if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
228 - [symcode='[ABCDGISTW]']
229 + symcode='[[ABCDGISTW]]'
232 # Try without a prefix undercore, then with it.
233 for ac_symprfx in "" "_"; do
235 # Write the raw and C identifiers.
236 -[lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"]
237 +lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
239 # Check to see that the pipe works correctly.
241 @@ -374,23 +435,23 @@
243 cat <<EOF >> conftest.$ac_ext
244 #if defined (__STDC__) && __STDC__
245 -# define lt_ptr_t void *
246 +# define lt_ptr void *
248 -# define lt_ptr_t char *
249 +# define lt_ptr char *
253 /* The mapping between symbol names and symbols. */
259 -[lt_preloaded_symbols[] =]
260 +lt_preloaded_symbols[[]] =
263 - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
264 + sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
265 cat <<\EOF >> conftest.$ac_ext
272 save_CFLAGS="$CFLAGS"
273 LIBS="conftstm.$ac_objext"
274 CFLAGS="$CFLAGS$no_builtin_flag"
275 - if AC_TRY_EVAL(ac_link) && test -s conftest; then
276 + if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
280 @@ -434,10 +495,13 @@
281 global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
282 if test -z "$lt_cv_sys_global_symbol_pipe"; then
283 global_symbol_to_cdecl=
284 + global_symbol_to_c_name_address=
286 global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
287 + global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
289 -if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
290 +if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
292 AC_MSG_RESULT(failed)
295 @@ -455,16 +519,17 @@
296 *-DOS) lt_cv_sys_path_separator=';' ;;
297 *) lt_cv_sys_path_separator=':' ;;
299 + PATH_SEPARATOR=$lt_cv_sys_path_separator
301 ])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
303 # _LT_AC_PROG_ECHO_BACKSLASH
304 # --------------------------
305 # Add some code to the start of the generated configure script which
306 -# will find an echo command which doesn;t interpret backslashes.
307 +# will find an echo command which doesn't interpret backslashes.
308 AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
309 [ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
310 - [AC_DIVERT_PUSH(NOTICE)])
311 + [AC_DIVERT_PUSH(NOTICE)])
312 _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
314 # Check that we are running under the correct shell.
317 # So, first we look for a working echo in the user's PATH.
319 - IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
320 + IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
321 for dir in $PATH /usr/ucb; do
322 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
323 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
325 # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
326 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
327 # ------------------------------------------------------------------
328 -AC_DEFUN(_LT_AC_TRY_DLOPEN_SELF,
329 +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
330 [if test "$cross_compiling" = yes; then :
335 # AC_LIBTOOL_DLOPEN_SELF
336 # -------------------
337 -AC_DEFUN(AC_LIBTOOL_DLOPEN_SELF,
338 +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
339 [if test "x$enable_dlopen" != xyes; then
340 enable_dlopen=unknown
341 enable_dlopen_self=unknown
342 @@ -728,16 +793,22 @@
346 - AC_CHECK_LIB(dl, dlopen, [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
347 - [AC_CHECK_FUNC(dlopen, lt_cv_dlopen="dlopen",
348 - [AC_CHECK_FUNC(shl_load, lt_cv_dlopen="shl_load",
349 - [AC_CHECK_LIB(svld, dlopen,
350 - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
351 - [AC_CHECK_LIB(dld, shl_load,
352 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
353 + AC_CHECK_FUNC([shl_load],
354 + [lt_cv_dlopen="shl_load"],
355 + [AC_CHECK_LIB([dld], [shl_load],
356 + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
357 + [AC_CHECK_FUNC([dlopen],
358 + [lt_cv_dlopen="dlopen"],
359 + [AC_CHECK_LIB([dl], [dlopen],
360 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
361 + [AC_CHECK_LIB([svld], [dlopen],
362 + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
363 + [AC_CHECK_LIB([dld], [dld_link],
364 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
374 @@ -800,10 +871,10 @@
375 # Sed substitution that helps us do robust quoting. It backslashifies
376 # metacharacters that are still active within double-quoted strings.
378 -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
379 +sed_quote_subst='s/\([[\\"\\`$\\\\]]\)/\\\1/g'
381 # Same as above, but do not quote variable references.
382 -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
383 +double_quote_subst='s/\([[\\"\\`\\\\]]\)/\\\1/g'
385 # Sed substitution to delay expansion of an escaped shell variable in a
386 # double_quote_subst'ed string.
388 old_postuninstall_cmds=
390 if test -n "$RANLIB"; then
393 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
396 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
399 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
400 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
403 # Allow CC to be a program name with arguments.
405 AC_MSG_RESULT($objdir)
410 [ --with-pic try to use only PIC/non-PIC objects [default=use both]],
411 pic_mode="$withval", pic_mode=default)
412 test -z "$pic_mode" && pic_mode=default
414 # libC (AIX C++ library), which obviously doesn't included in libraries
415 # list by gcc. This cause undefined symbols with -static flags.
416 # This hack allows C programs to be linked with "-static -ldl", but
417 - # we not sure about C++ programs.
418 + # not sure about C++ programs.
419 lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
424 lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
426 - beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
427 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
428 # PIC is the default for these OSes.
431 @@ -956,13 +1034,13 @@
432 # PORTME Check for PIC flags for the system compiler.
434 aix3* | aix4* | aix5*)
435 + lt_cv_prog_cc_wl='-Wl,'
436 # All AIX code is PIC.
437 if test "$host_cpu" = ia64; then
438 - # AIX 5 now supports IA64 processor
439 - lt_cv_prog_cc_static='-Bstatic'
440 - lt_cv_prog_cc_wl='-Wl,'
441 + # AIX 5 now supports IA64 processor
442 + lt_cv_prog_cc_static='-Bstatic'
444 - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
445 + lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
450 lt_cv_prog_cc_pic='+Z'
454 + irix5* | irix6* | nonstopux*)
455 lt_cv_prog_cc_wl='-Wl,'
456 lt_cv_prog_cc_static='-non_shared'
457 # PIC (with -KPIC) is the default.
458 @@ -1017,11 +1095,7 @@
459 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
460 lt_cv_prog_cc_pic='-KPIC'
461 lt_cv_prog_cc_static='-Bstatic'
462 - if test "x$host_vendor" = xsni; then
463 - lt_cv_prog_cc_wl='-LD'
465 - lt_cv_prog_cc_wl='-Wl,'
467 + lt_cv_prog_cc_wl='-Wl,'
471 @@ -1087,7 +1161,7 @@
472 # Check for any special shared library compilation flags.
473 if test -n "$lt_cv_prog_cc_shlib"; then
474 AC_MSG_WARN([\`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries])
475 - if echo "$old_CC $old_CFLAGS " | [egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]"] >/dev/null; then :
476 + if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$lt_cv_prog_cc_shlib[[ ]]" >/dev/null; then :
478 AC_MSG_WARN([add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure])
479 lt_cv_prog_cc_can_build_shared=no
480 @@ -1163,6 +1237,8 @@
481 lt_cv_compiler_o_lo=no
482 save_CFLAGS="$CFLAGS"
483 CFLAGS="$CFLAGS -c -o conftest.lo"
484 + save_objext="$ac_objext"
486 AC_TRY_COMPILE([], [int some_variable = 0;], [dnl
487 # The compiler can only warn and ignore the option if not recognized
488 # So say no if there are warnings
489 @@ -1172,6 +1248,7 @@
490 lt_cv_compiler_o_lo=yes
493 + ac_objext="$save_objext"
494 CFLAGS="$save_CFLAGS"
496 compiler_o_lo=$lt_cv_compiler_o_lo
497 @@ -1268,7 +1345,7 @@
498 extract_expsyms_cmds=
501 -cygwin* | mingw* | pw32* )
502 +cygwin* | mingw* | pw32*)
503 # FIXME: the MSVC++ port hasn't been tested in a loooong time
504 # When not using gcc, we currently assume that we are using
505 # Microsoft Visual C++.
506 @@ -1276,7 +1353,9 @@
517 @@ -1363,7 +1442,7 @@
518 # can override, but on older systems we have to supply one (in ltdll.c)
519 if test "x$lt_cv_need_dllmain" = "xyes"; then
520 ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
521 - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~
522 + ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
523 test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
526 @@ -1376,24 +1455,25 @@
527 # Be careful not to strip the DATA tag left be newer dlltools.
528 export_symbols_cmds="$ltdll_cmds"'
529 $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
530 - [sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//"] < $output_objdir/$soname-def > $export_symbols'
531 + sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
533 # If the export-symbols file already is a .def file (1st line
534 # is EXPORTS), use it as is.
535 # If DATA tags from a recent dlltool are present, honour them!
536 - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
537 - cp $export_symbols $output_objdir/$soname-def;
538 + archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
539 + cp $export_symbols $output_objdir/$soname-def;
541 - echo EXPORTS > $output_objdir/$soname-def;
543 - cat $export_symbols | while read symbol; do
544 - set dummy \$symbol;
546 - 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
547 - *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
549 - _lt_hint=`expr 1 + \$_lt_hint`;
551 + echo EXPORTS > $output_objdir/$soname-def;
553 + cat $export_symbols | while read symbol; do
554 + set dummy \$symbol;
556 + 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
557 + 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
558 + *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
560 + _lt_hint=`expr 1 + \$_lt_hint`;
564 $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
565 @@ -1488,80 +1568,98 @@
569 + if test "$host_cpu" = ia64; then
570 + # On IA64, the linker does run time linking by default, so we don't
571 + # have to do anything special.
572 + aix_use_runtimelinking=no
573 + exp_sym_flag='-Bexport'
576 + aix_use_runtimelinking=no
578 + # Test if we are trying to use run time linking or normal
579 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
580 + # need to do runtime linking.
581 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
582 + for ld_flag in $LDFLAGS; do
585 + aix_use_runtimelinking=yes
592 + exp_sym_flag='-bexport'
593 + no_entry_flag='-bnoentry'
596 # When large executables or shared objects are built, AIX ld can
597 # have problems creating the table of contents. If linking a library
598 # or program results in "error TOC overflow" add -mminimal-toc to
599 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
600 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
602 + hardcode_direct=yes
604 hardcode_libdir_separator=':'
605 if test "$GCC" = yes; then
606 - collect2name=`${CC} -print-prog-name=collect2`
607 - if test -f "$collect2name" && \
608 - strings "$collect2name" | grep resolve_lib_name >/dev/null
610 - # We have reworked collect2
611 - hardcode_direct=yes
613 - # We have old collect2
614 - hardcode_direct=unsupported
615 - # It fails to find uninstalled libraries when the uninstalled
616 - # path is not listed in the libpath. Setting hardcode_minus_L
617 - # to unsupported forces relinking
618 - hardcode_minus_L=yes
619 - hardcode_libdir_flag_spec='-L$libdir'
620 - hardcode_libdir_separator=
622 + case $host_os in aix4.[[012]]|aix4.[[012]].*)
623 + collect2name=`${CC} -print-prog-name=collect2`
624 + if test -f "$collect2name" && \
625 + strings "$collect2name" | grep resolve_lib_name >/dev/null
627 + # We have reworked collect2
628 + hardcode_direct=yes
630 + # We have old collect2
631 + hardcode_direct=unsupported
632 + # It fails to find uninstalled libraries when the uninstalled
633 + # path is not listed in the libpath. Setting hardcode_minus_L
634 + # to unsupported forces relinking
635 + hardcode_minus_L=yes
636 + hardcode_libdir_flag_spec='-L$libdir'
637 + hardcode_libdir_separator=
641 shared_flag='-shared'
644 if test "$host_cpu" = ia64; then
646 + shared_flag='${wl}-G'
648 - shared_flag='${wl}-bM:SRE'
649 + if test "$aix_use_runtimelinking" = yes; then
650 + shared_flag='${wl}-G'
652 + shared_flag='${wl}-bM:SRE'
655 - hardcode_direct=yes
658 - if test "$host_cpu" = ia64; then
659 - # On IA64, the linker does run time linking by default, so we don't
660 - # have to do anything special.
661 - aix_use_runtimelinking=no
662 - exp_sym_flag='-Bexport'
665 - # Test if we are trying to use run time linking, or normal AIX style linking.
666 - # If -brtl is somewhere in LDFLAGS, we need to do run time linking.
667 - aix_use_runtimelinking=no
668 - for ld_flag in $LDFLAGS; do
669 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then
670 - aix_use_runtimelinking=yes
674 - exp_sym_flag='-bexport'
675 - no_entry_flag='-bnoentry'
677 # It seems that -bexpall can do strange things, so it is better to
678 # generate a list of symbols to export.
679 always_export_symbols=yes
680 if test "$aix_use_runtimelinking" = yes; then
681 + # Warning - without using the other runtime loading flags (-brtl),
682 + # -berok will link without error, but may produce a broken library.
683 + allow_undefined_flag='-berok'
684 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
685 - allow_undefined_flag=' -Wl,-G'
686 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
687 + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
689 if test "$host_cpu" = ia64; then
690 - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
691 - allow_undefined_flag="-znodefs"
692 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
693 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
694 + allow_undefined_flag="-z nodefs"
695 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
697 - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
698 - # Warning - without using the other run time loading flags, -berok will
699 - # link without error, but may produce a broken library.
700 - allow_undefined_flag='${wl}-berok'
701 - # This is a bit strange, but is similar to how AIX traditionally builds
702 - # it's shared libraries.
703 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
704 + hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
705 + # Warning - without using the other run time loading flags,
706 + # -berok will link without error, but may produce a broken library.
707 + allow_undefined_flag='${wl}-berok'
708 + # This is a bit strange, but is similar to how AIX traditionally builds
709 + # it's shared libraries.
710 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname'
714 @@ -1593,11 +1691,19 @@
718 - allow_undefined_flag='-undefined suppress'
720 + rhapsody* | darwin1.[[012]])
721 + allow_undefined_flag='-undefined suppress'
724 + allow_undefined_flag='-flat_namespace -undefined suppress'
727 # FIXME: Relying on posixy $() will cause problems for
728 # cross-compilation, but unfortunately the echo tests do not
729 - # yet detect zsh echo's removal of \ escapes.
730 - archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
731 + # yet detect zsh echo's removal of \ escapes. Also zsh mangles
732 + # `"' quotes if we put them in here... so don't!
733 + archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
734 # We need to add '_' to the symbols in $export_symbols first
735 #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
737 @@ -1649,13 +1755,14 @@
738 export_dynamic_flag_spec='${wl}-E'
742 + irix5* | irix6* | nonstopux*)
743 if test "$GCC" = yes; then
744 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
745 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
747 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
748 + hardcode_libdir_flag_spec='-rpath $libdir'
750 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
751 hardcode_libdir_separator=:
754 @@ -1672,7 +1779,7 @@
758 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
759 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
761 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
762 hardcode_libdir_separator=:
763 @@ -1680,10 +1787,24 @@
767 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
768 - hardcode_libdir_flag_spec='-R$libdir'
770 hardcode_shlibpath_var=no
771 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
772 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
773 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
774 + export_dynamic_flag_spec='${wl}-E'
777 + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
778 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
779 + hardcode_libdir_flag_spec='-R$libdir'
782 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
783 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
790 @@ -1728,10 +1849,39 @@
791 hardcode_shlibpath_var=no
792 runpath_var=LD_RUN_PATH
793 hardcode_runpath_var=yes
794 + export_dynamic_flag_spec='${wl}-Bexport'
798 + # gcc --version < 3.0 without binutils cannot create self contained
799 + # shared libraries reliably, requiring libgcc.a to resolve some of
800 + # the object symbols generated in some cases. Libraries that use
801 + # assert need libgcc.a to resolve __eprintf, for example. Linking
802 + # a copy of libgcc.a into every shared library to guarantee resolving
803 + # such symbols causes other problems: According to Tim Van Holder
804 + # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
805 + # (to the application) exception stack for one thing.
806 no_undefined_flag=' -z defs'
807 + if test "$GCC" = yes; then
808 + case `$CC --version 2>/dev/null` in
812 +*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
813 +*** create self contained shared libraries on Solaris systems, without
814 +*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
815 +*** -no-undefined support, which will at least allow you to build shared
816 +*** libraries. However, you may find that when you link such libraries
817 +*** into an application without using GCC, you have to manually add
818 +*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
819 +*** upgrade to a newer version of GCC. Another option is to rebuild your
820 +*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
827 # $CC -shared without GNU ld will not create a library from C++
828 # object files and a static libstdc++, better avoid it by now
829 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
830 @@ -1740,7 +1890,7 @@
831 hardcode_libdir_flag_spec='-R$libdir'
832 hardcode_shlibpath_var=no
834 - [solaris2.[0-5] | solaris2.[0-5].*]) ;;
835 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
836 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
837 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
839 @@ -1762,13 +1912,23 @@
843 - if test "x$host_vendor" = xsno; then
844 - archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
845 - hardcode_direct=yes # is this really true???
847 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
848 - hardcode_direct=no #Motorola manual says yes, but my tests say they lie
850 + case $host_vendor in
852 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
853 + hardcode_direct=yes # is this really true???
856 + ## LD is ld it makes a PLAMLIB
857 + ## CC just makes a GrossModule.
858 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
859 + reload_cmds='$CC -r -o $output$reload_objs'
863 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
864 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
867 runpath_var='LD_RUN_PATH'
868 hardcode_shlibpath_var=no
870 @@ -1909,6 +2069,9 @@
876 + hardcode_into_libs=yes
877 if test "$host_cpu" = ia64; then
878 # AIX 5 supports IA64
879 library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
880 @@ -1920,22 +2083,24 @@
881 # depend on `.', always an invalid library. This was fixed in
882 # development snapshots of GCC prior to 3.0.
884 - [ aix4 | aix4.[01] | aix4.[01].*)]
885 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
887 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
890 - can_build_shared=no
893 + aix4 | aix4.[[01]] | aix4.[[01]].*)
894 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
896 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
899 + can_build_shared=no
903 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
904 - # soname into executable. Probably we can add versioning support to
905 - # collect2, so additional links can be useful in future.
906 + # AIX (on Power*) has no versioning support, so currently we can
907 + # not hardcode correct soname into executable. Probably we can
908 + # add versioning support to collect2, so additional links can
909 + # be useful in future.
910 if test "$aix_use_runtimelinking" = yes; then
911 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so instead of
912 - # lib<name>.a to let people know that these are not typical AIX shared libraries.
913 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
914 + # instead of lib<name>.a to let people know that these are not
915 + # typical AIX shared libraries.
916 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
918 # We preserve .a as extension for shared libraries through AIX4.2
919 @@ -1944,14 +2109,14 @@
920 soname_spec='${libname}${release}.so$major'
922 shlibpath_var=LIBPATH
923 - deplibs_check_method=pass_all
925 + hardcode_into_libs=yes
929 library_names_spec='$libname.ixlibrary $libname.a'
930 # Create ${libname}_ixlibrary.a entries in /sys/libs.
931 - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | [$Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\'']`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
932 + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
936 @@ -1982,7 +2147,7 @@
937 case $GCC,$host_os in
939 library_names_spec='$libname.dll.a'
940 - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
941 + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
942 postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
943 dldir=$destdir/`dirname \$dlpath`~
944 test -d \$dldir || mkdir -p \$dldir~
945 @@ -1992,14 +2157,14 @@
949 - library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll'
950 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
951 + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
952 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
955 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
958 - library_names_spec='${libname}`echo ${release} | [sed -e 's/[.]/-/g']`${versuffix}.dll $libname.lib'
959 + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib'
962 dynamic_linker='Win32 ld.exe'
963 @@ -2025,6 +2190,18 @@
971 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
972 + soname_spec='${libname}${release}.so$major'
973 + shlibpath_var=LD_LIBRARY_PATH
974 + shlibpath_overrides_runpath=no
975 + hardcode_into_libs=yes
976 + dynamic_linker='GNU/FreeBSD ld.so'
980 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
981 version_type=freebsd-$objformat
982 @@ -2076,14 +2253,17 @@
983 postinstall_cmds='chmod 555 $lib'
988 +irix5* | irix6* | nonstopux*)
990 + nonstopux*) version_type=nonstopux ;;
991 + *) version_type=irix ;;
995 soname_spec='${libname}${release}.so$major'
996 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
999 + irix5* | nonstopux*)
1003 @@ -2157,9 +2337,19 @@
1007 - if test "$with_gnu_ld" = yes; then
1008 - need_lib_prefix=no
1010 + need_lib_prefix=no
1012 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1013 + case "$host_os" in
1014 + openbsd2.[[89]] | openbsd2.[[89]].*)
1015 + shlibpath_overrides_runpath=no
1018 + shlibpath_overrides_runpath=yes
1022 + shlibpath_overrides_runpath=yes
1024 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
1025 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1026 @@ -2177,11 +2367,13 @@
1027 osf3* | osf4* | osf5*)
1030 - soname_spec='${libname}${release}.so'
1031 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
1032 + need_lib_prefix=no
1033 + soname_spec='${libname}${release}.so$major'
1034 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
1035 shlibpath_var=LD_LIBRARY_PATH
1036 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1037 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1038 + hardcode_into_libs=yes
1042 @@ -2224,6 +2416,12 @@
1043 case $host_vendor in
1045 shlibpath_overrides_runpath=no
1046 + need_lib_prefix=no
1047 + export_dynamic_flag_spec='${wl}-Blargedynsym'
1048 + runpath_var=LD_RUN_PATH
1051 + need_lib_prefix=no
1055 @@ -2270,6 +2468,33 @@
1056 AC_MSG_CHECKING([if libtool supports shared libraries])
1057 AC_MSG_RESULT([$can_build_shared])
1059 +AC_MSG_CHECKING([whether to build shared libraries])
1060 +test "$can_build_shared" = "no" && enable_shared=no
1062 +# On AIX, shared libraries and static libraries use the same namespace, and
1063 +# are all built from PIC.
1066 + test "$enable_shared" = yes && enable_static=no
1067 + if test -n "$RANLIB"; then
1068 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
1069 + postinstall_cmds='$RANLIB $lib'
1074 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
1075 + test "$enable_shared" = yes && enable_static=no
1079 +AC_MSG_RESULT([$enable_shared])
1081 +AC_MSG_CHECKING([whether to build static libraries])
1082 +# Make sure either enable_shared or enable_static is yes.
1083 +test "$enable_shared" = yes || enable_static=yes
1084 +AC_MSG_RESULT([$enable_static])
1086 if test "$hardcode_action" = relink; then
1087 # Fast installation is not supported
1088 enable_fast_install=no
1089 @@ -2351,7 +2576,7 @@
1090 # Now quote all the things that may contain metacharacters while being
1091 # careful not to overquote the AC_SUBSTed values. We take copies of the
1092 # variables and quote the copies for generation of the libtool script.
1093 - for var in echo old_CC old_CFLAGS \
1094 + for var in echo old_CC old_CFLAGS SED \
1095 AR AR_FLAGS CC LD LN_S NM SHELL \
1096 reload_flag reload_cmds wl \
1097 pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
1098 @@ -2363,6 +2588,7 @@
1099 old_striplib striplib file_magic_cmd export_symbols_cmds \
1100 deplibs_check_method allow_undefined_flag no_undefined_flag \
1101 finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
1102 + global_symbol_to_c_name_address \
1103 hardcode_libdir_flag_spec hardcode_libdir_separator \
1104 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
1105 compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
1106 @@ -2412,8 +2638,11 @@
1107 # configuration script generated by Autoconf, you may include it under
1108 # the same distribution terms that you use for the rest of that program.
1110 +# A sed that does not truncate output.
1113 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
1114 -Xsed="sed -e s/^X//"
1115 +Xsed="${SED} -e s/^X//"
1117 # The HP-UX ksh and POSIX shell print the target directory to stdout
1119 @@ -2429,12 +2658,12 @@
1120 # Whether or not to build shared libraries.
1121 build_libtool_libs=$enable_shared
1123 -# Whether or not to add -lc for building shared libraries.
1124 -build_libtool_need_lc=$need_lc
1126 # Whether or not to build static libraries.
1127 build_old_libs=$enable_static
1129 +# Whether or not to add -lc for building shared libraries.
1130 +build_libtool_need_lc=$need_lc
1132 # Whether or not to optimize for fast installation.
1133 fast_install=$enable_fast_install
1135 @@ -2600,6 +2829,9 @@
1136 # Transform the output of nm in a proper C declaration
1137 global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
1139 +# Transform the output of nm in a C name address pair
1140 +global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
1142 # This is the shared library runtime path variable.
1143 runpath_var=$runpath_var
1145 @@ -2722,9 +2954,9 @@
1148 # /* ltdll.c ends here */
1149 - # This is a source program that is used to create import libraries
1150 - # on Windows for dlls which lack them. Don't remove nor modify the
1151 - # starting and closing comments
1152 + # This is a source program that is used to create import libraries
1153 + # on Windows for dlls which lack them. Don't remove nor modify the
1154 + # starting and closing comments
1155 # /* impgen.c starts here */
1156 # /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
1158 @@ -3079,6 +3311,7 @@
1159 AC_REQUIRE([AC_PROG_CC])dnl
1160 AC_REQUIRE([AC_CANONICAL_HOST])dnl
1161 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
1162 +AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
1164 if test "$GCC" = yes; then
1165 # Check if gcc -print-prog-name=ld gives a path.
1166 @@ -3092,8 +3325,8 @@
1169 # Accept absolute paths.
1170 - [[\\/]* | [A-Za-z]:[\\/]*)]
1171 - [re_direlt='/[^/][^/]*/\.\./']
1172 + [[\\/]]* | [[A-Za-z]]:[[\\/]]*)
1173 + re_direlt='/[[^/]][[^/]]*/\.\./'
1174 # Canonicalize the path of ld
1175 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1176 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1177 @@ -3117,7 +3350,7 @@
1179 AC_CACHE_VAL(lt_cv_path_LD,
1180 [if test -z "$LD"; then
1181 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1182 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1183 for ac_dir in $PATH; do
1184 test -z "$ac_dir" && ac_dir=.
1185 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1186 @@ -3170,7 +3403,7 @@
1187 # AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
1188 # -- PORTME fill in with the dynamic library characteristics
1189 AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
1190 -[AC_CACHE_CHECK([how to recognise dependant libraries],
1191 +[AC_CACHE_CHECK([how to recognise dependent libraries],
1192 lt_cv_deplibs_check_method,
1193 [lt_cv_file_magic_cmd='$MAGIC_CMD'
1194 lt_cv_file_magic_test_file=
1195 @@ -3181,7 +3414,7 @@
1196 # `unknown' -- same as none, but documents that we really don't know.
1197 # 'pass_all' -- all dependencies passed with no checks.
1198 # 'test_compile' -- check by making test program.
1199 -# ['file_magic [regex]'] -- check by looking for files in library path
1200 +# 'file_magic [[regex]]' -- check by looking for files in library path
1201 # which responds to the $file_magic_cmd with a given egrep regex.
1202 # If you have `file' or equivalent on your system and you're not sure
1203 # whether `pass_all' will *always* work, you probably want this one.
1204 @@ -3196,7 +3429,7 @@
1208 - [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)']
1209 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
1210 lt_cv_file_magic_cmd='/usr/bin/file -L'
1211 lt_cv_file_magic_test_file=/shlib/libc.so
1213 @@ -3210,7 +3443,7 @@
1214 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1215 lt_cv_file_magic_cmd='/usr/bin/file -L'
1217 - rhapsody* | darwin1.[012])
1218 + rhapsody* | darwin1.[[012]])
1219 lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
1222 @@ -3225,7 +3458,7 @@
1224 # Not sure whether the presence of OpenBSD here was a mistake.
1225 # Let's accept both of them until this is cleared up.
1226 - [lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library']
1227 + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
1228 lt_cv_file_magic_cmd=/usr/bin/file
1229 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1231 @@ -3240,14 +3473,14 @@
1235 - [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library']
1236 + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
1237 lt_cv_file_magic_cmd=/usr/bin/file
1238 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1242 +irix5* | irix6* | nonstopux*)
1245 + irix5* | nonstopux*)
1246 # this will be overridden with pass_all, but let us keep it just in case
1247 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1249 @@ -3259,7 +3492,7 @@
1250 *) libmagic=never-match;;
1252 # this will be overridden with pass_all, but let us keep it just in case
1253 - [lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"]
1254 + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
1257 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1258 @@ -3269,29 +3502,39 @@
1259 # This must be Linux ELF.
1262 - alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* )
1263 + alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k)
1264 lt_cv_deplibs_check_method=pass_all ;;
1266 # glibc up to 2.1.1 does not perform some relocations on ARM
1267 - [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;]
1268 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
1270 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1274 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1275 - [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']
1276 + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$'
1278 - [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$']
1279 + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$'
1284 - [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)']
1285 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
1286 lt_cv_file_magic_cmd=/usr/bin/file
1287 lt_cv_file_magic_test_file=/usr/lib/libnls.so
1291 + lt_cv_file_magic_cmd=/usr/bin/file
1292 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1293 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1294 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
1296 + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
1300 osf3* | osf4* | osf5*)
1301 # this will be overridden with pass_all, but let us keep it just in case
1302 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1303 @@ -3308,14 +3551,14 @@
1304 lt_cv_file_magic_test_file=/lib/libc.so
1307 -[sysv5uw[78]* | sysv4*uw2*)]
1308 +sysv5uw[[78]]* | sysv4*uw2*)
1309 lt_cv_deplibs_check_method=pass_all
1312 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1313 case $host_vendor in
1315 - [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]']
1316 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
1317 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1320 @@ -3323,13 +3566,16 @@
1323 lt_cv_file_magic_cmd='/bin/file'
1324 - [lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )']
1325 + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
1328 lt_cv_file_magic_cmd='/bin/file'
1329 - [lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"]
1330 + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
1331 lt_cv_file_magic_test_file=/lib/libc.so
1334 + lt_cv_deplibs_check_method=pass_all
1339 @@ -3341,13 +3587,14 @@
1341 # AC_PROG_NM - find the path to a BSD-compatible name lister
1342 AC_DEFUN([AC_PROG_NM],
1343 -[AC_MSG_CHECKING([for BSD-compatible nm])
1344 +[AC_REQUIRE([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR])dnl
1345 +AC_MSG_CHECKING([for BSD-compatible nm])
1346 AC_CACHE_VAL(lt_cv_path_NM,
1347 [if test -n "$NM"; then
1348 # Let the user override the test.
1351 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1352 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1353 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1354 test -z "$ac_dir" && ac_dir=.
1355 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1356 @@ -3394,12 +3641,12 @@
1359 # AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
1360 -# the libltdl convenience library and INCLTDL to the include flags for
1361 +# the libltdl convenience library and LTDLINCL to the include flags for
1362 # the libltdl header and adds --enable-ltdl-convenience to the
1363 -# configure arguments. Note that LIBLTDL and INCLTDL are not
1364 +# configure arguments. Note that LIBLTDL and LTDLINCL are not
1365 # AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
1366 # provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
1367 -# with '${top_builddir}/' and INCLTDL will be prefixed with
1368 +# with '${top_builddir}/' and LTDLINCL will be prefixed with
1369 # '${top_srcdir}/' (note the single quotes!). If your package is not
1370 # flat and you're not using automake, define top_builddir and
1371 # top_srcdir appropriately in the Makefiles.
1372 @@ -3411,16 +3658,18 @@
1373 ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
1375 LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
1376 - INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
1377 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
1378 + # For backwards non-gettext consistent compatibility...
1379 + INCLTDL="$LTDLINCL"
1382 # AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
1383 -# the libltdl installable library and INCLTDL to the include flags for
1384 +# the libltdl installable library and LTDLINCL to the include flags for
1385 # the libltdl header and adds --enable-ltdl-install to the configure
1386 -# arguments. Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is
1387 +# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is
1388 # AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
1389 # libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
1390 -# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed
1391 +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed
1392 # with '${top_srcdir}/' (note the single quotes!). If your package is
1393 # not flat and you're not using automake, define top_builddir and
1394 # top_srcdir appropriately in the Makefiles.
1395 @@ -3438,12 +3687,14 @@
1396 if test x"$enable_ltdl_install" = x"yes"; then
1397 ac_configure_args="$ac_configure_args --enable-ltdl-install"
1398 LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
1399 - INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
1400 + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
1402 ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
1407 + # For backwards non-gettext consistent compatibility...
1408 + INCLTDL="$LTDLINCL"
1412 @@ -3458,3 +3709,92 @@
1413 # This is just to silence aclocal about the macro not being used
1414 ifelse([AC_DISABLE_FAST_INSTALL])
1416 +# NOTE: This macro has been submitted for inclusion into #
1417 +# GNU Autoconf as AC_PROG_SED. When it is available in #
1418 +# a released version of Autoconf we should remove this #
1419 +# macro and use it instead. #
1422 +# Check for a fully-functional sed program, that truncates
1423 +# as few characters as possible. Prefer GNU sed if found.
1424 +AC_DEFUN([LT_AC_PROG_SED],
1425 +[AC_MSG_CHECKING([for a sed that does not truncate output])
1426 +AC_CACHE_VAL(lt_cv_path_SED,
1427 +[# Loop through the user's path and test for sed and gsed.
1428 +# Then use that list of sed's as ones to test for truncation.
1429 +as_executable_p="test -f"
1430 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1431 +for as_dir in $PATH
1434 + test -z "$as_dir" && as_dir=.
1435 + for ac_prog in sed gsed; do
1436 + for ac_exec_ext in '' $ac_executable_extensions; do
1437 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1438 + _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
1444 + # Create a temporary directory, and hook for its removal unless debugging.
1447 + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1448 + trap '{ (exit 1); exit 1; }' 1 2 13 15
1451 +# Create a (secure) tmp directory for tmp files.
1454 + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
1455 + test -n "$tmp" && test -d "$tmp"
1458 + tmp=$TMPDIR/sed$$-$RANDOM
1459 + (umask 077 && mkdir $tmp)
1462 + echo "$me: cannot create a temporary directory in $TMPDIR" >&2
1463 + { (exit 1); exit 1; }
1467 + # Add /usr/xpg4/bin/sed as it is typically found on Solaris
1468 + # along with /bin/sed that truncates output.
1469 + for _sed in $_sed_list /usr/xpg4/bin/sed; do
1470 + test ! -f ${_sed} && break
1471 + cat /dev/null > "$tmp/sed.in"
1473 + echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
1474 + # Check for GNU sed and select it if it is found.
1475 + if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
1476 + lt_cv_path_SED=${_sed}
1480 + cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
1481 + mv "$tmp/sed.tmp" "$tmp/sed.in"
1482 + cp "$tmp/sed.in" "$tmp/sed.nl"
1483 + echo >>"$tmp/sed.nl"
1484 + ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
1485 + cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
1486 + # 40000 chars as input seems more than enough
1487 + test $_count -gt 10 && break
1488 + _count=`expr $_count + 1`
1489 + if test $_count -gt $_max; then
1491 + lt_cv_path_SED=$_sed
1497 +if test "X$SED" != "X"; then
1498 + lt_cv_path_SED=$SED
1500 + SED=$lt_cv_path_SED
1502 +AC_MSG_RESULT([$SED])
1505 Index: linux-atm-2.4.1/config.guess
1506 ===================================================================
1507 --- linux-atm-2.4.1.orig/config.guess 2007-10-20 19:19:10.846246570 +0200
1508 +++ linux-atm-2.4.1/config.guess 2007-10-20 19:19:11.718296264 +0200
1511 # Attempt to guess a canonical system name.
1512 -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
1513 -# Free Software Foundation, Inc.
1514 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
1515 +# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
1517 -timestamp='2001-04-20'
1518 +timestamp='2003-05-19'
1520 # This file is free software; you can redistribute it and/or modify it
1521 # under the terms of the GNU General Public License as published by
1523 # configuration script generated by Autoconf, you may include it under
1524 # the same distribution terms that you use for the rest of that program.
1526 -# Written by Per Bothner <bothner@cygnus.com>.
1527 -# Please send patches to <config-patches@gnu.org>.
1528 +# Originally written by Per Bothner <per@bothner.com>.
1529 +# Please send patches to <config-patches@gnu.org>. Submit a context
1530 +# diff and a properly formatted ChangeLog entry.
1532 # This script attempts to guess a canonical system name similar to
1533 # config.sub. If it succeeds, it prints the system name on stdout, and
1535 GNU config.guess ($timestamp)
1537 Originally written by Per Bothner.
1538 -Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 99, 2000
1539 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
1540 Free Software Foundation, Inc.
1542 This is free software; see the source for copying conditions. There is NO
1547 +trap 'exit 1' 1 2 15
1550 -trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
1551 +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
1552 +# compiler to aid in system detection is discouraged as it requires
1553 +# temporary files to be created and, as you can see below, it is a
1554 +# headache to deal with in a portable fashion.
1556 -# CC_FOR_BUILD -- compiler used by this script.
1557 # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
1558 # use `HOST_CC' if defined, but it is deprecated.
1560 +# Portable tmp directory creation inspired by the Autoconf team.
1563 +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
1564 +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
1566 + { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
1567 + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
1568 + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
1570 +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
1571 case $CC_FOR_BUILD,$HOST_CC,$CC in
1572 - ,,) echo "int dummy(){}" > $dummy.c
1573 - for c in cc gcc c89 ; do
1574 - ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1
1575 - if test $? = 0 ; then
1576 - CC_FOR_BUILD="$c"; break
1579 - rm -f $dummy.c $dummy.o $dummy.rel
1580 + ,,) echo "int x;" > $dummy.c ;
1581 + for c in cc gcc c89 c99 ; do
1582 + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
1583 + CC_FOR_BUILD="$c"; break ;
1586 if test x"$CC_FOR_BUILD" = x ; then
1587 - CC_FOR_BUILD=no_compiler_found
1588 + CC_FOR_BUILD=no_compiler_found ;
1591 ,,*) CC_FOR_BUILD=$CC ;;
1592 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
1596 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
1597 -# (ghazi@noc.rutgers.edu 8/24/94.)
1598 +# (ghazi@noc.rutgers.edu 1994-08-24)
1599 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
1600 PATH=$PATH:/.attbin ; export PATH
1602 @@ -127,29 +139,31 @@
1604 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
1606 - # Netbsd (nbsd) targets should (where applicable) match one or
1607 + # NetBSD (nbsd) targets should (where applicable) match one or
1608 # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
1609 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
1610 # switched to ELF, *-*-netbsd* would select the old
1611 # object file format. This provides both forward
1612 # compatibility and a consistent mechanism for selecting the
1613 # object file format.
1614 - # Determine the machine/vendor (is the vendor relevant).
1615 - case "${UNAME_MACHINE}" in
1616 - amiga) machine=m68k-unknown ;;
1617 - arm32) machine=arm-unknown ;;
1618 - atari*) machine=m68k-atari ;;
1619 - sun3*) machine=m68k-sun ;;
1620 - mac68k) machine=m68k-apple ;;
1621 - macppc) machine=powerpc-apple ;;
1622 - hp3[0-9][05]) machine=m68k-hp ;;
1623 - ibmrt|romp-ibm) machine=romp-ibm ;;
1624 - *) machine=${UNAME_MACHINE}-unknown ;;
1626 + # Note: NetBSD doesn't particularly care about the vendor
1627 + # portion of the name. We always set it to "unknown".
1628 + sysctl="sysctl -n hw.machine_arch"
1629 + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
1630 + /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
1631 + case "${UNAME_MACHINE_ARCH}" in
1632 + armeb) machine=armeb-unknown ;;
1633 + arm*) machine=arm-unknown ;;
1634 + sh3el) machine=shl-unknown ;;
1635 + sh3eb) machine=sh-unknown ;;
1636 + *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
1638 # The Operating System including object format, if it has switched
1639 # to ELF recently, or will in the future.
1640 - case "${UNAME_MACHINE}" in
1641 - i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k)
1642 + case "${UNAME_MACHINE_ARCH}" in
1643 + arm*|i386|m68k|ns32k|sh3*|sparc|vax)
1644 + eval $set_cc_for_build
1645 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
1646 | grep __ELF__ >/dev/null
1648 @@ -165,69 +179,107 @@
1652 - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
1653 + # Debian GNU/NetBSD machines have a different userland, and
1654 + # thus, need a distinct triplet. However, they do not need
1655 + # kernel version information, so it can be replaced with a
1656 + # suitable tag, in the style of linux-gnu.
1657 + case "${UNAME_VERSION}" in
1662 + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
1665 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
1666 # contains redundant information, the shorter form:
1667 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
1668 echo "${machine}-${os}${release}"
1670 + amiga:OpenBSD:*:*)
1671 + echo m68k-unknown-openbsd${UNAME_RELEASE}
1674 + echo mipsel-unknown-openbsd${UNAME_RELEASE}
1676 + hp300:OpenBSD:*:*)
1677 + echo m68k-unknown-openbsd${UNAME_RELEASE}
1679 + mac68k:OpenBSD:*:*)
1680 + echo m68k-unknown-openbsd${UNAME_RELEASE}
1682 + macppc:OpenBSD:*:*)
1683 + echo powerpc-unknown-openbsd${UNAME_RELEASE}
1685 + mvme68k:OpenBSD:*:*)
1686 + echo m68k-unknown-openbsd${UNAME_RELEASE}
1688 + mvme88k:OpenBSD:*:*)
1689 + echo m88k-unknown-openbsd${UNAME_RELEASE}
1691 + mvmeppc:OpenBSD:*:*)
1692 + echo powerpc-unknown-openbsd${UNAME_RELEASE}
1695 + echo mipsel-unknown-openbsd${UNAME_RELEASE}
1698 + echo mipseb-unknown-openbsd${UNAME_RELEASE}
1701 + echo m68k-unknown-openbsd${UNAME_RELEASE}
1703 + wgrisc:OpenBSD:*:*)
1704 + echo mipsel-unknown-openbsd${UNAME_RELEASE}
1707 + echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
1710 if test $UNAME_RELEASE = "V4.0"; then
1711 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
1713 + # According to Compaq, /usr/sbin/psrinfo has been available on
1714 + # OSF/1 and Tru64 systems produced since 1995. I hope that
1715 + # covers most systems running today. This code pipes the CPU
1716 + # types through head -n 1, so we only detect the type of CPU 0.
1717 + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
1718 + case "$ALPHA_CPU_TYPE" in
1720 + UNAME_MACHINE="alpha" ;;
1722 + UNAME_MACHINE="alpha" ;;
1723 + "LCA4 (21066/21068)")
1724 + UNAME_MACHINE="alpha" ;;
1726 + UNAME_MACHINE="alphaev5" ;;
1728 + UNAME_MACHINE="alphaev56" ;;
1729 + "EV5.6 (21164PC)")
1730 + UNAME_MACHINE="alphapca56" ;;
1731 + "EV5.7 (21164PC)")
1732 + UNAME_MACHINE="alphapca57" ;;
1734 + UNAME_MACHINE="alphaev6" ;;
1736 + UNAME_MACHINE="alphaev67" ;;
1737 + "EV6.8CB (21264C)")
1738 + UNAME_MACHINE="alphaev68" ;;
1739 + "EV6.8AL (21264B)")
1740 + UNAME_MACHINE="alphaev68" ;;
1741 + "EV6.8CX (21264D)")
1742 + UNAME_MACHINE="alphaev68" ;;
1743 + "EV6.9A (21264/EV69A)")
1744 + UNAME_MACHINE="alphaev69" ;;
1746 + UNAME_MACHINE="alphaev7" ;;
1748 + UNAME_MACHINE="alphaev79" ;;
1750 # A Vn.n version is a released version.
1751 # A Tn.n version is a released field test version.
1752 # A Xn.n version is an unreleased experimental baselevel.
1753 # 1.2 uses "1.2" for uname -r.
1754 - cat <<EOF >$dummy.s
1757 - .byte 37,100,45,37,120,10,0 # "%d-%x\n"
1764 - .frame \$30,16,\$26,0
1767 - .long 0x47e03d80 # implver \$0
1769 - .long 0x47e20c21 # amask \$2,\$1
1770 - lda \$16,\$Lformat
1779 - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
1780 - if test "$?" = 0 ; then
1781 - case `./$dummy` in
1783 - UNAME_MACHINE="alpha"
1786 - UNAME_MACHINE="alphaev5"
1789 - UNAME_MACHINE="alphaev56"
1792 - UNAME_MACHINE="alphapca56"
1795 - UNAME_MACHINE="alphaev6"
1798 - UNAME_MACHINE="alphaev67"
1802 - rm -f $dummy.s $dummy
1803 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
1805 Alpha\ *:Windows_NT*:*)
1806 @@ -242,29 +294,11 @@
1807 Amiga*:UNIX_System_V:4.0:*)
1808 echo m68k-unknown-sysv4
1810 - amiga:OpenBSD:*:*)
1811 - echo m68k-unknown-openbsd${UNAME_RELEASE}
1813 *:[Aa]miga[Oo][Ss]:*:*)
1814 echo ${UNAME_MACHINE}-unknown-amigaos
1816 - arc64:OpenBSD:*:*)
1817 - echo mips64el-unknown-openbsd${UNAME_RELEASE}
1820 - echo mipsel-unknown-openbsd${UNAME_RELEASE}
1822 - hkmips:OpenBSD:*:*)
1823 - echo mips-unknown-openbsd${UNAME_RELEASE}
1826 - echo mipsel-unknown-openbsd${UNAME_RELEASE}
1829 - echo mips-unknown-openbsd${UNAME_RELEASE}
1831 - wgrisc:OpenBSD:*:*)
1832 - echo mipsel-unknown-openbsd${UNAME_RELEASE}
1833 + *:[Mm]orph[Oo][Ss]:*:*)
1834 + echo ${UNAME_MACHINE}-unknown-morphos
1837 echo i370-ibm-openedition
1838 @@ -286,6 +320,10 @@
1840 echo pyramid-pyramid-svr4
1842 + DRS?6000:UNIX_SV:4.2*:7*)
1843 + case `/usr/bin/uname -p` in
1844 + sparc) echo sparc-icl-nx7 && exit 0 ;;
1847 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
1850 echo m68k-sun-sunos${UNAME_RELEASE}
1853 - UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
1854 + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
1855 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
1856 case "`/bin/arch`" in
1860 echo sparc-auspex-sunos${UNAME_RELEASE}
1862 - atari*:OpenBSD:*:*)
1863 - echo m68k-unknown-openbsd${UNAME_RELEASE}
1865 # The situation for MiNT is a little confusing. The machine name
1866 # can be virtually everything (everything which is not
1867 # "atarist" or "atariste" at least should have a processor
1868 @@ -357,18 +392,6 @@
1869 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
1870 echo m68k-unknown-mint${UNAME_RELEASE}
1872 - sun3*:OpenBSD:*:*)
1873 - echo m68k-unknown-openbsd${UNAME_RELEASE}
1875 - mac68k:OpenBSD:*:*)
1876 - echo m68k-unknown-openbsd${UNAME_RELEASE}
1878 - mvme68k:OpenBSD:*:*)
1879 - echo m68k-unknown-openbsd${UNAME_RELEASE}
1881 - mvme88k:OpenBSD:*:*)
1882 - echo m88k-unknown-openbsd${UNAME_RELEASE}
1884 powerpc:machten:*:*)
1885 echo powerpc-apple-machten${UNAME_RELEASE}
1888 echo clipper-intergraph-clix${UNAME_RELEASE}
1890 mips:*:*:UMIPS | mips:*:*:RISCos)
1891 + eval $set_cc_for_build
1892 sed 's/^ //' << EOF >$dummy.c
1894 #include <stdio.h> /* for printf() prototype */
1895 @@ -406,15 +430,20 @@
1899 - $CC_FOR_BUILD $dummy.c -o $dummy \
1900 - && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
1901 - && rm -f $dummy.c $dummy && exit 0
1902 - rm -f $dummy.c $dummy
1903 + $CC_FOR_BUILD -o $dummy $dummy.c \
1904 + && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
1906 echo mips-mips-riscos${UNAME_RELEASE}
1908 Motorola:PowerMAX_OS:*:*)
1909 echo powerpc-motorola-powermax
1911 + Motorola:*:4.3:PL8-*)
1912 + echo powerpc-harris-powermax
1914 + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
1915 + echo powerpc-harris-powermax
1917 Night_Hawk:Power_UNIX:*:*)
1918 echo powerpc-harris-powerunix
1923 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
1924 + eval $set_cc_for_build
1925 sed 's/^ //' << EOF >$dummy.c
1926 #include <sys/systemcfg.h>
1932 - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
1933 - rm -f $dummy.c $dummy
1934 + $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
1935 echo rs6000-ibm-aix3.2.5
1936 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
1937 echo rs6000-ibm-aix3.2.4
1942 - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
1943 + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
1944 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
1947 @@ -536,10 +565,8 @@
1948 9000/31? ) HP_ARCH=m68000 ;;
1949 9000/[34]?? ) HP_ARCH=m68k ;;
1950 9000/[678][0-9][0-9])
1951 - case "${HPUX_REV}" in
1953 - if [ -x /usr/bin/getconf ]; then
1954 - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
1955 + if [ -x /usr/bin/getconf ]; then
1956 + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
1957 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
1958 case "${sc_cpu_version}" in
1959 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
1960 @@ -548,12 +575,13 @@
1961 case "${sc_kernel_bits}" in
1962 32) HP_ARCH="hppa2.0n" ;;
1963 64) HP_ARCH="hppa2.0w" ;;
1964 + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
1969 - if [ "${HP_ARCH}" = "" ]; then
1970 - sed 's/^ //' << EOF >$dummy.c
1972 + if [ "${HP_ARCH}" = "" ]; then
1973 + eval $set_cc_for_build
1974 + sed 's/^ //' << EOF >$dummy.c
1976 #define _HPUX_SOURCE
1978 @@ -586,11 +614,21 @@
1982 - (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
1983 - if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
1984 - rm -f $dummy.c $dummy
1986 + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
1987 + test -z "$HP_ARCH" && HP_ARCH=hppa
1990 + if [ ${HP_ARCH} = "hppa2.0w" ]
1992 + # avoid double evaluation of $set_cc_for_build
1993 + test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
1994 + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null
1996 + HP_ARCH="hppa2.0w"
2001 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
2005 echo ia64-hp-hpux${HPUX_REV}
2008 + eval $set_cc_for_build
2009 sed 's/^ //' << EOF >$dummy.c
2016 - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
2017 - rm -f $dummy.c $dummy
2018 + $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0
2019 echo unknown-hitachi-hiuxwe2
2021 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
2023 9000/8??:4.3bsd:*:*)
2027 + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
2028 echo hppa1.0-hp-mpeix
2030 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
2033 echo hppa1.1-hp-lites
2035 - hppa*:OpenBSD:*:*)
2036 - echo hppa-unknown-openbsd
2038 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
2041 @@ -673,41 +708,33 @@
2042 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
2046 - echo xmp-cray-unicos
2049 - echo ymp-cray-unicos${UNAME_RELEASE}
2050 + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2053 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
2054 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
2055 - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/
2056 + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
2057 + -e 's/\.[^.]*$/.X/'
2060 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2063 - echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2066 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2069 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2072 - echo cray2-cray-unicos
2075 + echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
2077 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
2078 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
2079 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
2080 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
2081 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
2083 - hp300:OpenBSD:*:*)
2084 - echo m68k-unknown-openbsd${UNAME_RELEASE}
2086 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
2087 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
2089 @@ -717,11 +744,19 @@
2091 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
2094 - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
2097 - echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
2098 + *:FreeBSD:*:*|*:GNU/FreeBSD:*:*)
2099 + # Determine whether the default compiler uses glibc.
2100 + eval $set_cc_for_build
2101 + sed 's/^ //' << EOF >$dummy.c
2102 + #include <features.h>
2103 + #if __GLIBC__ >= 2
2109 + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
2110 + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
2113 echo ${UNAME_MACHINE}-pc-cygwin
2114 @@ -732,11 +767,17 @@
2116 echo ${UNAME_MACHINE}-pc-pw32
2119 + echo i586-pc-interix3
2121 + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
2122 + echo i${UNAME_MACHINE}-pc-mks
2124 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
2125 # How do we know it's Interix rather than the generic POSIX subsystem?
2126 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
2127 # UNAME_MACHINE based on the output of uname instead of i386?
2128 - echo i386-pc-interix
2129 + echo i586-pc-interix
2132 echo ${UNAME_MACHINE}-pc-uwin
2133 @@ -756,104 +797,71 @@
2135 echo ${UNAME_MACHINE}-unknown-linux-gnu
2138 + echo cris-axis-linux-gnu
2141 - echo ${UNAME_MACHINE}-unknown-linux
2142 + echo ${UNAME_MACHINE}-unknown-linux-gnu
2145 echo ${UNAME_MACHINE}-unknown-linux-gnu
2148 - cat >$dummy.c <<EOF
2150 -#include <stdio.h> /* for printf() prototype */
2151 -int main (int argc, char *argv[]) {
2153 -int main (argc, argv) int argc; char *argv[]; {
2156 - printf ("%s-unknown-linux-gnu\n", argv[1]);
2159 - printf ("%sel-unknown-linux-gnu\n", argv[1]);
2163 + eval $set_cc_for_build
2164 + sed 's/^ //' << EOF >$dummy.c
2168 + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
2171 + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
2178 - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
2179 - rm -f $dummy.c $dummy
2180 + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
2181 + test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
2184 - # Determine Lib Version
2185 - cat >$dummy.c <<EOF
2186 -#include <features.h>
2187 -#if defined(__GLIBC__)
2188 -extern char __libc_version[];
2189 -extern char __libc_release[];
2195 -#if defined(__GLIBC__)
2196 - printf("%s %s\n", __libc_version, __libc_release);
2198 - printf("unknown\n");
2203 + eval $set_cc_for_build
2204 + sed 's/^ //' << EOF >$dummy.c
2208 + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
2211 + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
2219 - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
2220 - if test "$?" = 0 ; then
2221 - ./$dummy | grep 1\.99 > /dev/null
2222 - if test "$?" = 0 ; then LIBC="libc1" ; fi
2224 - rm -f $dummy.c $dummy
2225 - echo powerpc-unknown-linux-gnu${LIBC}
2226 + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
2227 + test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
2230 + echo powerpc-unknown-linux-gnu
2233 + echo powerpc64-unknown-linux-gnu
2236 - cat <<EOF >$dummy.s
2239 - .byte 37,100,45,37,120,10,0 # "%d-%x\n"
2245 - .frame \$30,16,\$26,0
2248 - .long 0x47e03d80 # implver \$0
2250 - .long 0x47e20c21 # amask \$2,\$1
2251 - lda \$16,\$Lformat
2261 - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
2262 - if test "$?" = 0 ; then
2263 - case `./$dummy` in
2264 - 0-0) UNAME_MACHINE="alpha" ;;
2265 - 1-0) UNAME_MACHINE="alphaev5" ;;
2266 - 1-1) UNAME_MACHINE="alphaev56" ;;
2267 - 1-101) UNAME_MACHINE="alphapca56" ;;
2268 - 2-303) UNAME_MACHINE="alphaev6" ;;
2269 - 2-307) UNAME_MACHINE="alphaev67" ;;
2271 - objdump --private-headers $dummy | \
2272 - grep ld.so.1 > /dev/null
2273 - if test "$?" = 0 ; then
2277 - rm -f $dummy.s $dummy
2278 + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
2279 + EV5) UNAME_MACHINE=alphaev5 ;;
2280 + EV56) UNAME_MACHINE=alphaev56 ;;
2281 + PCA56) UNAME_MACHINE=alphapca56 ;;
2282 + PCA57) UNAME_MACHINE=alphapca56 ;;
2283 + EV6) UNAME_MACHINE=alphaev6 ;;
2284 + EV67) UNAME_MACHINE=alphaev67 ;;
2285 + EV68*) UNAME_MACHINE=alphaev68 ;;
2287 + objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
2288 + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
2289 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
2291 parisc:Linux:*:* | hppa:Linux:*:*)
2292 @@ -883,71 +891,59 @@
2293 # The BFD linker knows what the default object file format is, so
2294 # first see if it will tell us. cd to the root directory to prevent
2295 # problems with other programs or directories called `ld' in the path.
2296 - ld_supported_emulations=`cd /; ld --help 2>&1 \
2297 - | sed -ne '/supported emulations:/!d
2298 + # Set LC_ALL=C to ensure ld outputs messages in English.
2299 + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
2300 + | sed -ne '/supported targets:/!d
2302 - s/.*supported emulations: *//
2303 + s/.*supported targets: *//
2306 - case "$ld_supported_emulations" in
2308 - echo "${UNAME_MACHINE}-pc-linux-gnuaout"
2312 + case "$ld_supported_targets" in
2314 TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
2318 + echo "${UNAME_MACHINE}-pc-linux-gnuaout"
2321 echo "${UNAME_MACHINE}-pc-linux-gnucoff"
2325 - # Either a pre-BFD a.out linker (linux-gnuoldld)
2326 - # or one that does not give us useful --help.
2327 - # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
2328 - # If ld does not provide *any* "supported emulations:"
2329 - # that means it is gnuoldld.
2330 - test -z "$ld_supported_emulations" && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
2331 - case "${UNAME_MACHINE}" in
2340 + # Either a pre-BFD a.out linker (linux-gnuoldld) or
2341 + # one that does not give us useful --help.
2342 + echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
2345 # Determine whether the default compiler is a.out or elf
2346 - cat >$dummy.c <<EOF
2347 -#include <features.h>
2349 -#include <stdio.h> /* for printf() prototype */
2350 - int main (int argc, char *argv[]) {
2352 - int main (argc, argv) int argc; char *argv[]; {
2356 -# if __GLIBC__ >= 2
2357 - printf ("%s-${VENDOR}-linux-gnu\n", argv[1]);
2359 - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
2362 - printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
2365 - printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]);
2369 + eval $set_cc_for_build
2370 + sed 's/^ //' << EOF >$dummy.c
2371 + #include <features.h>
2374 + # if __GLIBC__ >= 2
2383 + #ifdef __INTEL_COMPILER
2390 - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0
2391 - rm -f $dummy.c $dummy
2392 + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
2393 + test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
2394 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
2396 -# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions
2397 -# are messed up and put the nodename in both sysname and nodename.
2398 i*86:DYNIX/ptx:4*:*)
2399 + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
2400 + # earlier versions are messed up and put the nodename in both
2401 + # sysname and nodename.
2402 echo i386-sequent-sysv4
2404 i*86:UNIX_SV:4.2MP:2.*)
2405 @@ -958,6 +954,23 @@
2406 # Use sysv4.2uw... so that sysv4* matches it.
2407 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
2410 + # If we were able to find `uname', then EMX Unix compatibility
2411 + # is probably installed.
2412 + echo ${UNAME_MACHINE}-pc-os2-emx
2414 + i*86:XTS-300:*:STOP)
2415 + echo ${UNAME_MACHINE}-unknown-stop
2418 + echo ${UNAME_MACHINE}-unknown-atheos
2420 + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
2421 + echo i386-unknown-lynxos${UNAME_RELEASE}
2424 + echo ${UNAME_MACHINE}-pc-msdosdjgpp
2426 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
2427 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
2428 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
2429 @@ -966,36 +979,32 @@
2430 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
2434 - # Fixed at (any) Pentium or better
2435 - UNAME_MACHINE=i586
2436 - if [ ${UNAME_SYSTEM} = "UnixWare" ] ; then
2437 - echo ${UNAME_MACHINE}-sco-sysv${UNAME_RELEASE}uw${UNAME_VERSION}
2439 - echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
2442 + case `/bin/uname -X | grep "^Machine"` in
2443 + *486*) UNAME_MACHINE=i486 ;;
2444 + *Pentium) UNAME_MACHINE=i586 ;;
2445 + *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
2447 + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
2450 if test -f /usr/options/cb.name; then
2451 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
2452 echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
2453 elif /bin/uname -X 2>/dev/null >/dev/null ; then
2454 - UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
2455 - (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
2456 - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
2457 + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
2458 + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
2459 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
2460 && UNAME_MACHINE=i586
2461 - (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
2462 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
2463 && UNAME_MACHINE=i686
2464 - (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
2465 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
2466 && UNAME_MACHINE=i686
2467 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
2469 echo ${UNAME_MACHINE}-pc-sysv32
2473 - echo ${UNAME_MACHINE}-pc-msdosdjgpp
2476 # Left here for compatibility:
2477 # uname -m prints for DJGPP always 'pc', but it prints nothing about
2478 @@ -1019,9 +1028,15 @@
2480 echo m68010-convergent-sysv
2482 + mc68k:UNIX:SYSTEM5:3.51m)
2483 + echo m68k-convergent-sysv
2485 + M680?0:D-NIX:5.3:*)
2486 + echo m68k-diab-dnix
2489 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
2490 - 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
2491 + 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
2493 test -r /etc/.relid \
2494 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
2495 @@ -1038,9 +1053,6 @@
2496 mc68030:UNIX_System_V:4.*:*)
2497 echo m68k-atari-sysv4
2499 - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
2500 - echo i386-unknown-lynxos${UNAME_RELEASE}
2502 TSUNAMI:LynxOS:2.*:*)
2503 echo sparc-unknown-lynxos${UNAME_RELEASE}
2505 @@ -1067,8 +1079,8 @@
2509 - PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
2510 - # says <Richard.M.Bartel@ccMail.Census.GOV>
2511 + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
2512 + # says <Richard.M.Bartel@ccMail.Census.GOV>
2513 echo i586-unisys-sysv4
2515 *:UNIX_System_V:4*:FTX*)
2516 @@ -1080,6 +1092,10 @@
2517 # From seanf@swdc.stratus.com.
2518 echo i860-stratus-sysv4
2521 + # From Paul.Green@stratus.com.
2522 + echo hppa1.1-stratus-vos
2525 echo m68k-apple-aux${UNAME_RELEASE}
2527 @@ -1108,6 +1124,9 @@
2529 echo sx5-nec-superux${UNAME_RELEASE}
2531 + SX-6:SUPER-UX:*:*)
2532 + echo sx6-nec-superux${UNAME_RELEASE}
2534 Power*:Rhapsody:*:*)
2535 echo powerpc-apple-rhapsody${UNAME_RELEASE}
2537 @@ -1115,18 +1134,24 @@
2538 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
2541 - echo `uname -p`-apple-darwin${UNAME_RELEASE}
2542 + case `uname -p` in
2543 + *86) UNAME_PROCESSOR=i686 ;;
2544 + powerpc) UNAME_PROCESSOR=powerpc ;;
2546 + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
2548 *:procnto*:*:* | *:QNX:[0123456789]*:*)
2549 - if test "${UNAME_MACHINE}" = "x86pc"; then
2550 + UNAME_PROCESSOR=`uname -p`
2551 + if test "$UNAME_PROCESSOR" = "x86"; then
2552 + UNAME_PROCESSOR=i386
2555 - echo `uname -p`-${UNAME_MACHINE}-nto-qnx
2556 + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
2561 - NSR-[KW]:NONSTOP_KERNEL:*:*)
2562 + NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
2563 echo nsr-tandem-nsk${UNAME_RELEASE}
2566 @@ -1149,11 +1174,6 @@
2568 echo ${UNAME_MACHINE}-unknown-plan9
2571 - # If we were able to find `uname', then EMX Unix compatibility
2572 - # is probably installed.
2573 - echo ${UNAME_MACHINE}-pc-os2-emx
2576 echo pdp10-unknown-tops10
2578 @@ -1177,6 +1197,7 @@
2579 #echo '(No uname command or uname output not recognized.)' 1>&2
2580 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
2582 +eval $set_cc_for_build
2585 # include <sys/types.h>
2586 @@ -1291,8 +1312,7 @@
2590 -$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
2591 -rm -f $dummy.c $dummy
2592 +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0
2594 # Apollos put the system type in the environment.
2596 Index: linux-atm-2.4.1/config.h.in
2597 ===================================================================
2598 --- linux-atm-2.4.1.orig/config.h.in 2007-10-20 19:19:10.850246801 +0200
2599 +++ linux-atm-2.4.1/config.h.in 2007-10-20 19:19:11.726296721 +0200
2601 -/* config.h.in. Generated automatically from configure.in by autoheader. */
2602 +/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
2603 #ifndef _ATM_CONFIG_H
2604 #define _ATM_CONFIG_H
2606 Index: linux-atm-2.4.1/config.sub
2607 ===================================================================
2608 --- linux-atm-2.4.1.orig/config.sub 2007-10-20 19:19:10.858247252 +0200
2609 +++ linux-atm-2.4.1/config.sub 2007-10-20 19:19:11.730296952 +0200
2612 # Configuration validation subroutine script.
2613 -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
2614 -# Free Software Foundation, Inc.
2615 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2616 +# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
2618 -timestamp='2001-04-20'
2619 +timestamp='2003-05-09'
2621 # This file is (in principle) common to ALL GNU software.
2622 # The presence of a machine in this file suggests that SOME GNU software
2624 # configuration script generated by Autoconf, you may include it under
2625 # the same distribution terms that you use for the rest of that program.
2627 -# Please send patches to <config-patches@gnu.org>.
2628 +# Please send patches to <config-patches@gnu.org>. Submit a context
2629 +# diff and a properly formatted ChangeLog entry.
2631 # Configuration subroutine to validate and canonicalize a configuration type.
2632 # Supply the specified configuration type as an argument.
2634 # Here we must recognize all the valid KERNEL-OS combinations.
2635 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
2637 - nto-qnx* | linux-gnu* | storm-chaos* | os2-emx*)
2638 + nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
2640 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
2642 @@ -157,6 +158,14 @@
2657 @@ -215,26 +224,48 @@
2658 case $basic_machine in
2659 # Recognize the basic CPU types without company name.
2660 # Some are omitted here because they have special meanings below.
2661 - tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \
2662 - | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \
2663 - | pyramid | mn10200 | mn10300 | tron | a29k \
2664 - | 580 | i960 | h8300 \
2665 - | x86 | ppcbe | mipsbe | mipsle | shbe | shle \
2666 - | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
2668 - | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
2670 - | we32k | ns16k | clipper | i370 | sh | sh[34] \
2671 - | powerpc | powerpcle \
2672 - | 1750a | dsp16xx | pdp10 | pdp11 \
2673 - | mips16 | mips64 | mipsel | mips64el \
2674 - | mips64orion | mips64orionel | mipstx39 | mipstx39el \
2675 - | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
2676 - | mips64vr5000 | miprs64vr5000el | mcore | s390 | s390x \
2677 - | sparc | sparclet | sparclite | sparc64 | sparcv9 | sparcv9b \
2679 - | thumb | d10v | d30v | fr30 | avr | openrisc | tic80 \
2680 - | pj | pjl | h8500)
2683 + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
2684 + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
2685 + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
2687 + | d10v | d30v | dlx | dsp16xx \
2689 + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
2690 + | i370 | i860 | i960 | ia64 \
2692 + | m32r | m68000 | m68k | m88k | mcore \
2693 + | mips | mipsbe | mipseb | mipsel | mipsle \
2695 + | mips64 | mips64el \
2696 + | mips64vr | mips64vrel \
2697 + | mips64orion | mips64orionel \
2698 + | mips64vr4100 | mips64vr4100el \
2699 + | mips64vr4300 | mips64vr4300el \
2700 + | mips64vr5000 | mips64vr5000el \
2701 + | mipsisa32 | mipsisa32el \
2702 + | mipsisa32r2 | mipsisa32r2el \
2703 + | mipsisa64 | mipsisa64el \
2704 + | mipsisa64sb1 | mipsisa64sb1el \
2705 + | mipsisa64sr71k | mipsisa64sr71kel \
2706 + | mipstx39 | mipstx39el \
2707 + | mn10200 | mn10300 \
2710 + | openrisc | or32 \
2711 + | pdp10 | pdp11 | pj | pjl \
2712 + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
2714 + | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
2716 + | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
2718 + | tahoe | thumb | tic80 | tron \
2721 + | x86 | xscale | xstormy16 | xtensa \
2723 basic_machine=$basic_machine-unknown
2725 m6811 | m68hc11 | m6812 | m68hc12)
2727 basic_machine=$basic_machine-unknown
2730 - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | w65)
2731 + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
2734 # We use `pc' rather than `unknown'
2735 @@ -257,31 +288,60 @@
2738 # Recognize the basic CPU types with company name.
2739 - # FIXME: clean up the formatting here.
2740 - vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
2741 - | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \
2742 - | arm-* | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \
2743 - | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
2744 - | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
2746 - | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \
2747 - | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \
2748 - | hppa2.0n-* | hppa64-* \
2749 - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \
2750 - | alphaev6[78]-* \
2751 - | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
2752 - | clipper-* | orion-* \
2753 - | sparclite-* | pdp10-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
2754 - | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \
2755 - | mips16-* | mips64-* | mipsel-* \
2756 - | mips64el-* | mips64orion-* | mips64orionel-* \
2757 - | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
2758 - | mipstx39-* | mipstx39el-* | mcore-* \
2759 - | f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \
2761 - | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
2762 - | thumb-* | v850-* | d30v-* | tic30-* | tic80-* | c30-* | fr30-* \
2763 - | bs2000-* | tic54x-* | c54x-* | x86_64-* | pj-* | pjl-*)
2766 + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
2767 + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
2768 + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
2769 + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
2772 + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
2773 + | clipper-* | cydra-* \
2774 + | d10v-* | d30v-* | dlx-* \
2776 + | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
2777 + | h8300-* | h8500-* \
2778 + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
2779 + | i*86-* | i860-* | i960-* | ia64-* \
2782 + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
2783 + | m88110-* | m88k-* | mcore-* \
2784 + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
2786 + | mips64-* | mips64el-* \
2787 + | mips64vr-* | mips64vrel-* \
2788 + | mips64orion-* | mips64orionel-* \
2789 + | mips64vr4100-* | mips64vr4100el-* \
2790 + | mips64vr4300-* | mips64vr4300el-* \
2791 + | mips64vr5000-* | mips64vr5000el-* \
2792 + | mipsisa32-* | mipsisa32el-* \
2793 + | mipsisa32r2-* | mipsisa32r2el-* \
2794 + | mipsisa64-* | mipsisa64el-* \
2795 + | mipsisa64sb1-* | mipsisa64sb1el-* \
2796 + | mipsisa64sr71k-* | mipsisa64sr71kel-* \
2797 + | mipstx39-* | mipstx39el-* \
2799 + | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
2801 + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
2802 + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
2804 + | romp-* | rs6000-* \
2805 + | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
2806 + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
2807 + | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
2808 + | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
2809 + | tahoe-* | thumb-* \
2810 + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
2812 + | v850-* | v850e-* | vax-* \
2814 + | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
2819 # Recognize the various machine names and aliases which stand
2820 # for a CPU type and a company and sometimes even an OS.
2822 basic_machine=a29k-none
2826 + basic_machine=x86_64-pc
2829 basic_machine=580-amdahl
2831 @@ -344,6 +407,10 @@
2832 basic_machine=ns32k-sequent
2836 + basic_machine=c90-cray
2840 basic_machine=c1-convex
2842 @@ -364,16 +431,8 @@
2843 basic_machine=c38-convex
2847 - basic_machine=ymp-cray
2851 - basic_machine=cray2-cray
2855 - basic_machine=${basic_machine}-cray
2857 + basic_machine=j90-cray
2861 @@ -388,6 +447,14 @@
2862 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
2863 basic_machine=mips-dec
2865 + decsystem10* | dec10*)
2866 + basic_machine=pdp10-dec
2869 + decsystem20* | dec20*)
2870 + basic_machine=pdp10-dec
2873 delta | 3300 | motorola-3300 | motorola-delta \
2874 | 3300-motorola | delta-motorola)
2875 basic_machine=m68k-motorola
2876 @@ -568,14 +635,6 @@
2877 basic_machine=m68k-atari
2881 - basic_machine=mipsel-unknown
2885 - basic_machine=mips-unknown
2889 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
2891 @@ -590,6 +649,10 @@
2892 basic_machine=m68k-rom68k
2896 + basic_machine=powerpc-unknown
2900 basic_machine=i386-pc
2902 @@ -662,6 +725,10 @@
2904 basic_machine=np1-gould
2907 + basic_machine=nv1-cray
2911 basic_machine=nsr-tandem
2913 @@ -669,6 +736,10 @@
2914 basic_machine=hppa1.1-oki
2918 + basic_machine=or32-unknown
2921 OSE68000 | ose68000)
2922 basic_machine=m68000-ericsson
2924 @@ -691,19 +762,19 @@
2926 basic_machine=m68k-tti
2930 basic_machine=ns32k-pc532
2932 - pentium | p5 | k5 | k6 | nexgen)
2933 + pentium | p5 | k5 | k6 | nexgen | viac3)
2934 basic_machine=i586-pc
2936 - pentiumpro | p6 | 6x86 | athlon)
2937 + pentiumpro | p6 | 6x86 | athlon | athlon_*)
2938 basic_machine=i686-pc
2940 pentiumii | pentium2)
2941 basic_machine=i686-pc
2943 - pentium-* | p5-* | k5-* | k6-* | nexgen-*)
2944 + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
2945 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
2947 pentiumpro-* | p6-* | 6x86-* | athlon-*)
2948 @@ -718,15 +789,25 @@
2949 power) basic_machine=power-ibm
2951 ppc) basic_machine=powerpc-unknown
2954 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
2956 ppcle | powerpclittle | ppc-le | powerpc-little)
2957 basic_machine=powerpcle-unknown
2960 ppcle-* | powerpclittle-*)
2961 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
2963 + ppc64) basic_machine=powerpc64-unknown
2965 + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
2967 + ppc64le | powerpc64little | ppc64-le | powerpc64-little)
2968 + basic_machine=powerpc64le-unknown
2970 + ppc64le-* | powerpc64little-*)
2971 + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
2974 basic_machine=i386-ibm
2976 @@ -744,10 +825,22 @@
2978 basic_machine=romp-ibm
2981 + basic_machine=s390-ibm
2984 + basic_machine=s390x-ibm
2987 basic_machine=a29k-amd
2991 + basic_machine=mipsisa64sb1-unknown
2994 + basic_machine=mipsisa64sb1el-unknown
2997 basic_machine=i386-sequent
3000 basic_machine=sh-hitachi
3004 + sparclite-wrs | simso-wrs)
3005 basic_machine=sparclite-wrs
3008 @@ -822,19 +915,39 @@
3012 - basic_machine=t3e-cray
3013 + basic_machine=alphaev5-cray
3017 + basic_machine=t90-cray
3021 + basic_machine=tic4x-unknown
3025 basic_machine=tic54x-unknown
3029 + basic_machine=tic55x-unknown
3033 + basic_machine=tic6x-unknown
3037 basic_machine=mipstx39-unknown
3040 basic_machine=mipstx39el-unknown
3043 + basic_machine=pdp10-xkl
3047 basic_machine=m68k-ncr
3053 - basic_machine=f301-fujitsu
3055 + basic_machine=f301-fujitsu
3058 basic_machine=i960-wrs
3060 @@ -881,13 +994,13 @@
3061 basic_machine=hppa1.1-winbond
3065 - basic_machine=xmp-cray
3070 basic_machine=xps100-honeywell
3073 + basic_machine=ymp-cray
3077 basic_machine=z8k-unknown
3079 @@ -908,13 +1021,6 @@
3081 basic_machine=hppa1.1-oki
3084 - if [ x$os = x-linux-gnu ]; then
3085 - basic_machine=mips-unknown
3087 - basic_machine=mips-mips
3091 basic_machine=romp-ibm
3093 @@ -934,13 +1040,16 @@
3095 basic_machine=we32k-att
3098 + sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
3099 basic_machine=sh-unknown
3102 + basic_machine=sh64-unknown
3104 sparc | sparcv9 | sparcv9b)
3105 basic_machine=sparc-sun
3109 basic_machine=cydra-cydrome
3112 @@ -955,10 +1064,6 @@
3114 basic_machine=powerpc-apple
3117 - basic_machine=c4x-none
3121 # Make sure to match an already-canonicalized machine name.
3123 @@ -1018,11 +1123,15 @@
3124 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
3125 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
3126 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
3127 + | -chorusos* | -chorusrdb* \
3128 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
3129 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
3130 - | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
3131 + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
3132 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
3133 - | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*)
3134 + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
3135 + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
3136 + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
3137 + | -powermax* | -dnix*)
3138 # Remember, each alternative MUST END IN *, to match a version number.
3141 @@ -1034,8 +1143,10 @@
3149 + os=`echo $os | sed -e 's|nto|nto-qnx|'`
3151 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
3152 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
3153 @@ -1074,14 +1185,20 @@
3175 @@ -1120,8 +1237,14 @@
3179 - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
3181 + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
3192 @@ -1154,10 +1277,11 @@
3196 + # This must come before the *-dec entry.
3205 @@ -1184,6 +1308,9 @@
3212 *-tti) # must be before sparc entry or we get the wrong os.
3215 @@ -1247,19 +1374,19 @@
3239 @@ -1331,7 +1458,7 @@
3243 - -vxsim* | -vxworks*)
3244 + -vxsim* | -vxworks* | -windiss*)
3248 @@ -1346,6 +1473,9 @@
3249 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
3256 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
3258 Index: linux-atm-2.4.1/configure
3259 ===================================================================
3260 --- linux-atm-2.4.1.orig/configure 2007-10-20 19:19:10.866247710 +0200
3261 +++ linux-atm-2.4.1/configure 2007-10-20 19:19:11.746297861 +0200
3265 # Guess values for system-dependent variables and create Makefiles.
3266 -# Generated automatically using autoconf version 2.13
3267 -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
3268 +# Generated by GNU Autoconf 2.57.
3270 +# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
3271 +# Free Software Foundation, Inc.
3272 # This configure script is free software; the Free Software Foundation
3273 # gives unlimited permission to copy, distribute and modify it.
3274 +## --------------------- ##
3275 +## M4sh Initialization. ##
3276 +## --------------------- ##
3278 +# Be Bourne compatible
3279 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3282 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3283 + # is contrary to our usage. Disable this feature.
3284 + alias -g '${1+"$@"}'='"$@"'
3285 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3289 +# Support unset when possible.
3290 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3297 +# Work around bugs in pre-3.0 UWIN ksh.
3298 +$as_unset ENV MAIL MAILPATH
3305 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3306 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3307 + LC_TELEPHONE LC_TIME
3309 + if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
3310 + eval $as_var=C; export $as_var
3316 +# Required to use basename.
3317 +if expr a : '\(a\)' >/dev/null 2>&1; then
3323 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3324 + as_basename=basename
3330 +# Name of the executable.
3331 +as_me=`$as_basename "$0" ||
3332 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3333 + X"$0" : 'X\(//\)$' \| \
3334 + X"$0" : 'X\(/\)$' \| \
3335 + . : '\(.\)' 2>/dev/null ||
3337 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3338 + /^X\/\(\/\/\)$/{ s//\1/; q; }
3339 + /^X\/\(\/\).*/{ s//\1/; q; }
3343 +# PATH needs CR, and LINENO needs CR and PATH.
3344 +# Avoid depending upon Character Ranges.
3345 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3346 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3347 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3348 +as_cr_digits='0123456789'
3349 +as_cr_alnum=$as_cr_Letters$as_cr_digits
3351 +# The user is always right.
3352 +if test "${PATH_SEPARATOR+set}" != set; then
3353 + echo "#! /bin/sh" >conf$$.sh
3354 + echo "exit 0" >>conf$$.sh
3355 + chmod +x conf$$.sh
3356 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3357 + PATH_SEPARATOR=';'
3365 + as_lineno_1=$LINENO
3366 + as_lineno_2=$LINENO
3367 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3368 + test "x$as_lineno_1" != "x$as_lineno_2" &&
3369 + test "x$as_lineno_3" = "x$as_lineno_2" || {
3370 + # Find who we are. Look in the path if we contain no path at all
3371 + # relative or not.
3373 + *[\\/]* ) as_myself=$0 ;;
3374 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3375 +for as_dir in $PATH
3378 + test -z "$as_dir" && as_dir=.
3379 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3384 + # We did not find ourselves, most probably we were run as `sh COMMAND'
3385 + # in which case we are not to be found in the path.
3386 + if test "x$as_myself" = x; then
3389 + if test ! -f "$as_myself"; then
3390 + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
3391 + { (exit 1); exit 1; }; }
3393 + case $CONFIG_SHELL in
3395 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3396 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3399 + test -z "$as_dir" && as_dir=.
3400 + for as_base in sh bash ksh sh5; do
3403 + if ("$as_dir/$as_base" -c '
3404 + as_lineno_1=$LINENO
3405 + as_lineno_2=$LINENO
3406 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3407 + test "x$as_lineno_1" != "x$as_lineno_2" &&
3408 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3409 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3410 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3411 + CONFIG_SHELL=$as_dir/$as_base
3412 + export CONFIG_SHELL
3413 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3421 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3422 + # uniformly replaced by the line number. The first 'sed' inserts a
3423 + # line-number line before each line; the second 'sed' does the real
3424 + # work. The second script uses 'N' to pair each line-number line
3425 + # with the numbered line, and appends trailing '-' during
3426 + # substitution so that $LINENO is not a special case at line end.
3427 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3428 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3429 + sed '=' <$as_myself |
3434 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3437 + s,^['$as_cr_digits']*\n,,
3438 + ' >$as_me.lineno &&
3439 + chmod +x $as_me.lineno ||
3440 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3441 + { (exit 1); exit 1; }; }
3443 + # Don't try to exec as it changes $[0], causing all sort of problems
3444 + # (the dirname of $[0] is not the place where we might find the
3445 + # original and so on. Autoconf is especially sensible to this).
3447 + # Exit status is that of the last command.
3452 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3453 + *c*,-n*) ECHO_N= ECHO_C='
3455 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3456 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3459 +if expr a : '\(a\)' >/dev/null 2>&1; then
3465 +rm -f conf$$ conf$$.exe conf$$.file
3467 +if ln -s conf$$.file conf$$ 2>/dev/null; then
3468 + # We could just check for DJGPP; but this test a) works b) is more generic
3469 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3470 + if test -f conf$$.exe; then
3471 + # Don't use ln at all; we don't have any links
3476 +elif ln conf$$.file conf$$ 2>/dev/null; then
3481 +rm -f conf$$ conf$$.exe conf$$.file
3483 +if mkdir -p . 2>/dev/null; then
3489 +as_executable_p="test -f"
3491 +# Sed expression to map a string onto a valid CPP name.
3492 +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3494 +# Sed expression to map a string onto a valid variable name.
3495 +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3499 +# We need space, tab and new line, in precisely that order.
3509 -ac_default_prefix=/usr/local
3510 -# Any additions from configure.in:
3512 - --enable-shared[=PKGS] build shared libraries [default=yes]"
3514 - --enable-static[=PKGS] build static libraries [default=yes]"
3516 - --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
3518 - --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
3520 # Find the correct PATH separator. Usually this is `:', but
3521 # DJGPP uses `;' like DOS.
3523 *-DOS) lt_cv_sys_path_separator=';' ;;
3524 *) lt_cv_sys_path_separator=':' ;;
3526 + PATH_SEPARATOR=$lt_cv_sys_path_separator
3532 # So, first we look for a working echo in the user's PATH.
3534 - IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
3535 + IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3536 for dir in $PATH /usr/ucb; do
3537 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
3538 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
3539 @@ -177,34 +398,86 @@
3544 - --disable-libtool-lock avoid locking (might break parallel builds)"
3546 - --with-pic try to use only PIC/non-PIC objects [default=use both]"
3548 - --with-uni=VERSION UNI version to use (3.0,3.1,4.0) [default=dynamic]"
3550 - --enable-allow_uni30 Allow UNI 3.0 backwards-compatible extensions (if using UNI 3.1)"
3552 - --enable-q2963_1 Enable peak cell rate modification as specified in Q.2963.1 (if using UNI 4.0)"
3554 - --enable-cisco Enable work around for point-to-multipoint signaling bug in Cisco LS100 or LS7010 switches"
3556 - --enable-thomflex Some versions of the Thomson Thomflex 5000 won't do any signaling before they get a RESTART. Enable sending of a RESTART whenever SAAL comes up."
3558 - --enable-mpoa_1_1 Enable proposed MPOA 1.1 features"
3560 - --enable-mpr Enable memory debugging (if MPR is installed)"
3562 +# Name of the host.
3563 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
3564 +# so uname gets run too.
3565 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
3572 +ac_default_prefix=/usr/local
3573 +ac_config_libobj_dir=.
3578 +SHELL=${CONFIG_SHELL-/bin/sh}
3580 +# Maximum number of lines to put in a shell here document.
3581 +# This variable seems obsolete. It should probably be removed, and
3582 +# only ac_max_sed_lines should be used.
3583 +: ${ac_max_here_lines=38}
3585 +# Identity of this package.
3592 +ac_unique_file="src/include/atm.h"
3593 +# Factoring default headers for most tests.
3594 +ac_includes_default="\
3596 +#if HAVE_SYS_TYPES_H
3597 +# include <sys/types.h>
3599 +#if HAVE_SYS_STAT_H
3600 +# include <sys/stat.h>
3603 +# include <stdlib.h>
3604 +# include <stddef.h>
3607 +# include <stdlib.h>
3611 +# if !STDC_HEADERS && HAVE_MEMORY_H
3612 +# include <memory.h>
3614 +# include <string.h>
3617 +# include <strings.h>
3619 +#if HAVE_INTTYPES_H
3620 +# include <inttypes.h>
3623 +# include <stdint.h>
3627 +# include <unistd.h>
3630 +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE LIBVER_CURRENT LIBVER_REVISION LIBVER_AGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LEX LEXLIB LEX_OUTPUT_ROOT YACC LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CPP EGREP LIBTOOL LIBTOOL_DEPS PERL LIBOBJS LTLIBOBJS'
3633 # Initialize some variables set by options.
3635 +ac_init_version=false
3636 # The variables have the same names as the options, with
3637 # dashes changed to underlines.
3639 -cache_file=./config.cache
3640 +cache_file=/dev/null
3648 @@ -213,10 +486,15 @@
3657 +# Installation directory options.
3658 +# These are left unexpanded so users can "make install exec_prefix=/foo"
3659 +# and all the variables that are supposed to be based on exec_prefix
3660 +# by default will actually change.
3661 +# Use braces instead of parens because sh, perl, etc. also accept them.
3662 bindir='${exec_prefix}/bin'
3663 sbindir='${exec_prefix}/sbin'
3664 libexecdir='${exec_prefix}/libexec'
3665 @@ -230,17 +508,9 @@
3666 infodir='${prefix}/info'
3667 mandir='${prefix}/man'
3669 -# Initialize some other variables.
3672 -SHELL=${CONFIG_SHELL-/bin/sh}
3673 -# Maximum number of lines to put in a shell here document.
3674 -ac_max_here_lines=12
3680 # If the previous option needs an argument, assign it.
3681 if test -n "$ac_prev"; then
3682 eval "$ac_prev=\$ac_option"
3683 @@ -248,59 +518,59 @@
3687 - case "$ac_option" in
3688 - -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
3691 + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
3693 # Accept the important Cygnus configure options, so we can diagnose typos.
3695 - case "$ac_option" in
3696 + case $ac_option in
3698 -bindir | --bindir | --bindi | --bind | --bin | --bi)
3700 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
3701 - bindir="$ac_optarg" ;;
3702 + bindir=$ac_optarg ;;
3704 -build | --build | --buil | --bui | --bu)
3706 + ac_prev=build_alias ;;
3707 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
3708 - build="$ac_optarg" ;;
3709 + build_alias=$ac_optarg ;;
3711 -cache-file | --cache-file | --cache-fil | --cache-fi \
3712 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3713 ac_prev=cache_file ;;
3714 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3715 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
3716 - cache_file="$ac_optarg" ;;
3717 + cache_file=$ac_optarg ;;
3719 + --config-cache | -C)
3720 + cache_file=config.cache ;;
3722 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
3724 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
3726 - datadir="$ac_optarg" ;;
3727 + datadir=$ac_optarg ;;
3729 -disable-* | --disable-*)
3730 - ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
3731 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
3732 # Reject names that are not valid shell variable names.
3733 - if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
3734 - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
3736 - ac_feature=`echo $ac_feature| sed 's/-/_/g'`
3737 - eval "enable_${ac_feature}=no" ;;
3738 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
3739 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
3740 + { (exit 1); exit 1; }; }
3741 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
3742 + eval "enable_$ac_feature=no" ;;
3744 -enable-* | --enable-*)
3745 - ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
3746 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
3747 # Reject names that are not valid shell variable names.
3748 - if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
3749 - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
3751 - ac_feature=`echo $ac_feature| sed 's/-/_/g'`
3752 - case "$ac_option" in
3754 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
3755 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
3756 + { (exit 1); exit 1; }; }
3757 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
3758 + case $ac_option in
3759 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
3762 - eval "enable_${ac_feature}='$ac_optarg'" ;;
3763 + eval "enable_$ac_feature='$ac_optarg'" ;;
3765 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
3766 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
3767 @@ -309,95 +579,47 @@
3768 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
3769 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
3770 | --exec=* | --exe=* | --ex=*)
3771 - exec_prefix="$ac_optarg" ;;
3772 + exec_prefix=$ac_optarg ;;
3774 -gas | --gas | --ga | --g)
3775 # Obsolete; use --with-gas.
3778 - -help | --help | --hel | --he)
3779 - # Omit some internal or obsolete options to make the list less imposing.
3780 - # This message is too long to be a string in the A/UX 3.1 sh.
3782 -Usage: configure [options] [host]
3783 -Options: [defaults in brackets after descriptions]
3785 - --cache-file=FILE cache test results in FILE
3786 - --help print this message
3787 - --no-create do not create output files
3788 - --quiet, --silent do not print \`checking...' messages
3789 - --version print the version of autoconf that created configure
3790 -Directory and file names:
3791 - --prefix=PREFIX install architecture-independent files in PREFIX
3792 - [$ac_default_prefix]
3793 - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
3795 - --bindir=DIR user executables in DIR [EPREFIX/bin]
3796 - --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
3797 - --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
3798 - --datadir=DIR read-only architecture-independent data in DIR
3800 - --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
3801 - --sharedstatedir=DIR modifiable architecture-independent data in DIR
3803 - --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
3804 - --libdir=DIR object code libraries in DIR [EPREFIX/lib]
3805 - --includedir=DIR C header files in DIR [PREFIX/include]
3806 - --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
3807 - --infodir=DIR info documentation in DIR [PREFIX/info]
3808 - --mandir=DIR man documentation in DIR [PREFIX/man]
3809 - --srcdir=DIR find the sources in DIR [configure dir or ..]
3810 - --program-prefix=PREFIX prepend PREFIX to installed program names
3811 - --program-suffix=SUFFIX append SUFFIX to installed program names
3812 - --program-transform-name=PROGRAM
3813 - run sed PROGRAM on installed program names
3817 - --build=BUILD configure for building on BUILD [BUILD=HOST]
3818 - --host=HOST configure for HOST [guessed]
3819 - --target=TARGET configure for TARGET [TARGET=HOST]
3820 -Features and packages:
3821 - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
3822 - --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
3823 - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
3824 - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
3825 - --x-includes=DIR X include files are in DIR
3826 - --x-libraries=DIR X library files are in DIR
3828 - if test -n "$ac_help"; then
3829 - echo "--enable and --with options recognized:$ac_help"
3832 + -help | --help | --hel | --he | -h)
3833 + ac_init_help=long ;;
3834 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
3835 + ac_init_help=recursive ;;
3836 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
3837 + ac_init_help=short ;;
3839 -host | --host | --hos | --ho)
3841 + ac_prev=host_alias ;;
3842 -host=* | --host=* | --hos=* | --ho=*)
3843 - host="$ac_optarg" ;;
3844 + host_alias=$ac_optarg ;;
3846 -includedir | --includedir | --includedi | --included | --include \
3847 | --includ | --inclu | --incl | --inc)
3848 ac_prev=includedir ;;
3849 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
3850 | --includ=* | --inclu=* | --incl=* | --inc=*)
3851 - includedir="$ac_optarg" ;;
3852 + includedir=$ac_optarg ;;
3854 -infodir | --infodir | --infodi | --infod | --info | --inf)
3856 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
3857 - infodir="$ac_optarg" ;;
3858 + infodir=$ac_optarg ;;
3860 -libdir | --libdir | --libdi | --libd)
3862 -libdir=* | --libdir=* | --libdi=* | --libd=*)
3863 - libdir="$ac_optarg" ;;
3864 + libdir=$ac_optarg ;;
3866 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
3867 | --libexe | --libex | --libe)
3868 ac_prev=libexecdir ;;
3869 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
3870 | --libexe=* | --libex=* | --libe=*)
3871 - libexecdir="$ac_optarg" ;;
3872 + libexecdir=$ac_optarg ;;
3874 -localstatedir | --localstatedir | --localstatedi | --localstated \
3875 | --localstate | --localstat | --localsta | --localst \
3876 @@ -406,19 +628,19 @@
3877 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
3878 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
3879 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
3880 - localstatedir="$ac_optarg" ;;
3881 + localstatedir=$ac_optarg ;;
3883 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
3885 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
3886 - mandir="$ac_optarg" ;;
3887 + mandir=$ac_optarg ;;
3889 -nfp | --nfp | --nf)
3890 # Obsolete; use --without-fp.
3893 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
3894 - | --no-cr | --no-c)
3895 + | --no-cr | --no-c | -n)
3898 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
3899 @@ -432,26 +654,26 @@
3900 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
3901 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
3902 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
3903 - oldincludedir="$ac_optarg" ;;
3904 + oldincludedir=$ac_optarg ;;
3906 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3908 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3909 - prefix="$ac_optarg" ;;
3910 + prefix=$ac_optarg ;;
3912 -program-prefix | --program-prefix | --program-prefi | --program-pref \
3913 | --program-pre | --program-pr | --program-p)
3914 ac_prev=program_prefix ;;
3915 -program-prefix=* | --program-prefix=* | --program-prefi=* \
3916 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
3917 - program_prefix="$ac_optarg" ;;
3918 + program_prefix=$ac_optarg ;;
3920 -program-suffix | --program-suffix | --program-suffi | --program-suff \
3921 | --program-suf | --program-su | --program-s)
3922 ac_prev=program_suffix ;;
3923 -program-suffix=* | --program-suffix=* | --program-suffi=* \
3924 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
3925 - program_suffix="$ac_optarg" ;;
3926 + program_suffix=$ac_optarg ;;
3928 -program-transform-name | --program-transform-name \
3929 | --program-transform-nam | --program-transform-na \
3931 | --program-transfo=* | --program-transf=* \
3932 | --program-trans=* | --program-tran=* \
3933 | --progr-tra=* | --program-tr=* | --program-t=*)
3934 - program_transform_name="$ac_optarg" ;;
3935 + program_transform_name=$ac_optarg ;;
3937 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3938 | -silent | --silent | --silen | --sile | --sil)
3941 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
3943 - sbindir="$ac_optarg" ;;
3944 + sbindir=$ac_optarg ;;
3946 -sharedstatedir | --sharedstatedir | --sharedstatedi \
3947 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
3948 @@ -489,58 +711,57 @@
3949 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
3950 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
3952 - sharedstatedir="$ac_optarg" ;;
3953 + sharedstatedir=$ac_optarg ;;
3955 -site | --site | --sit)
3957 -site=* | --site=* | --sit=*)
3958 - site="$ac_optarg" ;;
3959 + site=$ac_optarg ;;
3961 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3963 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3964 - srcdir="$ac_optarg" ;;
3965 + srcdir=$ac_optarg ;;
3967 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
3968 | --syscon | --sysco | --sysc | --sys | --sy)
3969 ac_prev=sysconfdir ;;
3970 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
3971 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
3972 - sysconfdir="$ac_optarg" ;;
3973 + sysconfdir=$ac_optarg ;;
3975 -target | --target | --targe | --targ | --tar | --ta | --t)
3977 + ac_prev=target_alias ;;
3978 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
3979 - target="$ac_optarg" ;;
3980 + target_alias=$ac_optarg ;;
3982 -v | -verbose | --verbose | --verbos | --verbo | --verb)
3985 - -version | --version | --versio | --versi | --vers)
3986 - echo "configure generated by autoconf version 2.13"
3988 + -version | --version | --versio | --versi | --vers | -V)
3989 + ac_init_version=: ;;
3992 - ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
3993 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
3994 # Reject names that are not valid shell variable names.
3995 - if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
3996 - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
3998 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
3999 + { echo "$as_me: error: invalid package name: $ac_package" >&2
4000 + { (exit 1); exit 1; }; }
4001 ac_package=`echo $ac_package| sed 's/-/_/g'`
4002 - case "$ac_option" in
4004 + case $ac_option in
4005 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
4008 - eval "with_${ac_package}='$ac_optarg'" ;;
4009 + eval "with_$ac_package='$ac_optarg'" ;;
4011 -without-* | --without-*)
4012 - ac_package=`echo $ac_option|sed -e 's/-*without-//'`
4013 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
4014 # Reject names that are not valid shell variable names.
4015 - if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
4016 - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
4018 - ac_package=`echo $ac_package| sed 's/-/_/g'`
4019 - eval "with_${ac_package}=no" ;;
4020 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
4021 + { echo "$as_me: error: invalid package name: $ac_package" >&2
4022 + { (exit 1); exit 1; }; }
4023 + ac_package=`echo $ac_package | sed 's/-/_/g'`
4024 + eval "with_$ac_package=no" ;;
4027 # Obsolete; use --with-x.
4028 @@ -551,99 +772,110 @@
4029 ac_prev=x_includes ;;
4030 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
4031 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
4032 - x_includes="$ac_optarg" ;;
4033 + x_includes=$ac_optarg ;;
4035 -x-libraries | --x-libraries | --x-librarie | --x-librari \
4036 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
4037 ac_prev=x_libraries ;;
4038 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
4039 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
4040 - x_libraries="$ac_optarg" ;;
4041 + x_libraries=$ac_optarg ;;
4043 - -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
4044 + -*) { echo "$as_me: error: unrecognized option: $ac_option
4045 +Try \`$0 --help' for more information." >&2
4046 + { (exit 1); exit 1; }; }
4050 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
4051 + # Reject names that are not valid shell variable names.
4052 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
4053 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
4054 + { (exit 1); exit 1; }; }
4055 + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
4056 + eval "$ac_envvar='$ac_optarg'"
4057 + export $ac_envvar ;;
4060 - if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
4061 - echo "configure: warning: $ac_option: invalid host type" 1>&2
4063 - if test "x$nonopt" != xNONE; then
4064 - { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
4066 - nonopt="$ac_option"
4067 + # FIXME: should be removed in autoconf 3.0.
4068 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
4069 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
4070 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
4071 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
4077 if test -n "$ac_prev"; then
4078 - { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
4081 -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
4083 -# File descriptor usage:
4086 -# 2 errors and warnings
4087 -# 3 some systems may open it to /dev/tty
4088 -# 4 used on the Kubota Titan
4089 -# 6 checking for... messages and results
4090 -# 5 compiler messages saved in config.log
4091 -if test "$silent" = yes; then
4095 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
4096 + { echo "$as_me: error: missing argument to $ac_option" >&2
4097 + { (exit 1); exit 1; }; }
4099 -exec 5>./config.log
4102 -This file contains any messages produced by compilers while
4103 -running configure, to aid debugging if configure makes a mistake.
4105 +# Be sure to have absolute paths.
4106 +for ac_var in exec_prefix prefix
4108 + eval ac_val=$`echo $ac_var`
4110 + [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
4111 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
4112 + { (exit 1); exit 1; }; };;
4116 -# Strip out --no-create and --no-recursion so they do not pile up.
4117 -# Also quote any args containing shell metacharacters.
4120 +# Be sure to have absolute paths.
4121 +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
4122 + localstatedir libdir includedir oldincludedir infodir mandir
4125 - -no-create | --no-create | --no-creat | --no-crea | --no-cre \
4126 - | --no-cr | --no-c) ;;
4127 - -no-recursion | --no-recursion | --no-recursio | --no-recursi \
4128 - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
4129 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
4130 - ac_configure_args="$ac_configure_args '$ac_arg'" ;;
4131 - *) ac_configure_args="$ac_configure_args $ac_arg" ;;
4132 + eval ac_val=$`echo $ac_var`
4134 + [\\/$]* | ?:[\\/]* ) ;;
4135 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
4136 + { (exit 1); exit 1; }; };;
4141 -# Only set these to C if already set. These must not be set unconditionally
4142 -# because not all systems understand e.g. LANG=C (notably SCO).
4143 -# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
4144 -# Non-C LC_CTYPE values break the ctype check.
4145 -if test "${LANG+set}" = set; then LANG=C; export LANG; fi
4146 -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
4147 -if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
4148 -if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
4149 +# There might be people who depend on the old broken behavior: `$host'
4150 +# used to hold the argument of --host etc.
4151 +# FIXME: To remove some day.
4154 +target=$target_alias
4156 +# FIXME: To remove some day.
4157 +if test "x$host_alias" != x; then
4158 + if test "x$build_alias" = x; then
4159 + cross_compiling=maybe
4160 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
4161 + If a cross compiler is detected then cross compile mode will be used." >&2
4162 + elif test "x$build_alias" != "x$host_alias"; then
4163 + cross_compiling=yes
4167 -# confdefs.h avoids OS command line length limits that DEFS can exceed.
4168 -rm -rf conftest* confdefs.h
4169 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
4172 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
4174 +test "$silent" = yes && exec 6>/dev/null
4176 -# A filename unique to this package, relative to the directory that
4177 -# configure is in, which we can look for to find out if srcdir is correct.
4178 -ac_unique_file=src/include/atm.h
4180 # Find the source files, if location was not specified.
4181 if test -z "$srcdir"; then
4182 ac_srcdir_defaulted=yes
4183 # Try the directory containing this script, then its parent.
4185 - ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
4186 - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
4187 + ac_confdir=`(dirname "$0") 2>/dev/null ||
4188 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4189 + X"$0" : 'X\(//\)[^/]' \| \
4190 + X"$0" : 'X\(//\)$' \| \
4191 + X"$0" : 'X\(/\)' \| \
4192 + . : '\(.\)' 2>/dev/null ||
4194 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4195 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4196 + /^X\(\/\/\)$/{ s//\1/; q; }
4197 + /^X\(\/\).*/{ s//\1/; q; }
4200 if test ! -r $srcdir/$ac_unique_file; then
4202 @@ -653,13 +885,453 @@
4204 if test ! -r $srcdir/$ac_unique_file; then
4205 if test "$ac_srcdir_defaulted" = yes; then
4206 - { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
4207 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
4208 + { (exit 1); exit 1; }; }
4210 - { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
4211 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
4212 + { (exit 1); exit 1; }; }
4215 -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
4216 +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
4217 + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
4218 + { (exit 1); exit 1; }; }
4219 +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
4220 +ac_env_build_alias_set=${build_alias+set}
4221 +ac_env_build_alias_value=$build_alias
4222 +ac_cv_env_build_alias_set=${build_alias+set}
4223 +ac_cv_env_build_alias_value=$build_alias
4224 +ac_env_host_alias_set=${host_alias+set}
4225 +ac_env_host_alias_value=$host_alias
4226 +ac_cv_env_host_alias_set=${host_alias+set}
4227 +ac_cv_env_host_alias_value=$host_alias
4228 +ac_env_target_alias_set=${target_alias+set}
4229 +ac_env_target_alias_value=$target_alias
4230 +ac_cv_env_target_alias_set=${target_alias+set}
4231 +ac_cv_env_target_alias_value=$target_alias
4232 +ac_env_CC_set=${CC+set}
4233 +ac_env_CC_value=$CC
4234 +ac_cv_env_CC_set=${CC+set}
4235 +ac_cv_env_CC_value=$CC
4236 +ac_env_CFLAGS_set=${CFLAGS+set}
4237 +ac_env_CFLAGS_value=$CFLAGS
4238 +ac_cv_env_CFLAGS_set=${CFLAGS+set}
4239 +ac_cv_env_CFLAGS_value=$CFLAGS
4240 +ac_env_LDFLAGS_set=${LDFLAGS+set}
4241 +ac_env_LDFLAGS_value=$LDFLAGS
4242 +ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
4243 +ac_cv_env_LDFLAGS_value=$LDFLAGS
4244 +ac_env_CPPFLAGS_set=${CPPFLAGS+set}
4245 +ac_env_CPPFLAGS_value=$CPPFLAGS
4246 +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
4247 +ac_cv_env_CPPFLAGS_value=$CPPFLAGS
4248 +ac_env_CPP_set=${CPP+set}
4249 +ac_env_CPP_value=$CPP
4250 +ac_cv_env_CPP_set=${CPP+set}
4251 +ac_cv_env_CPP_value=$CPP
4254 +# Report the --help message.
4256 +if test "$ac_init_help" = "long"; then
4257 + # Omit some internal or obsolete options to make the list less imposing.
4258 + # This message is too long to be a string in the A/UX 3.1 sh.
4260 +\`configure' configures this package to adapt to many kinds of systems.
4262 +Usage: $0 [OPTION]... [VAR=VALUE]...
4264 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
4265 +VAR=VALUE. See below for descriptions of some of the useful variables.
4267 +Defaults for the options are specified in brackets.
4270 + -h, --help display this help and exit
4271 + --help=short display options specific to this package
4272 + --help=recursive display the short help of all the included packages
4273 + -V, --version display version information and exit
4274 + -q, --quiet, --silent do not print \`checking...' messages
4275 + --cache-file=FILE cache test results in FILE [disabled]
4276 + -C, --config-cache alias for \`--cache-file=config.cache'
4277 + -n, --no-create do not create output files
4278 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
4283 +Installation directories:
4284 + --prefix=PREFIX install architecture-independent files in PREFIX
4285 + [$ac_default_prefix]
4286 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
4289 +By default, \`make install' will install all the files in
4290 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
4291 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
4292 +for instance \`--prefix=\$HOME'.
4294 +For better control, use the options below.
4296 +Fine tuning of the installation directories:
4297 + --bindir=DIR user executables [EPREFIX/bin]
4298 + --sbindir=DIR system admin executables [EPREFIX/sbin]
4299 + --libexecdir=DIR program executables [EPREFIX/libexec]
4300 + --datadir=DIR read-only architecture-independent data [PREFIX/share]
4301 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
4302 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
4303 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
4304 + --libdir=DIR object code libraries [EPREFIX/lib]
4305 + --includedir=DIR C header files [PREFIX/include]
4306 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
4307 + --infodir=DIR info documentation [PREFIX/info]
4308 + --mandir=DIR man documentation [PREFIX/man]
4314 + --program-prefix=PREFIX prepend PREFIX to installed program names
4315 + --program-suffix=SUFFIX append SUFFIX to installed program names
4316 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
4319 + --build=BUILD configure for building on BUILD [guessed]
4320 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
4321 + --target=TARGET configure for building compilers for TARGET [HOST]
4325 +if test -n "$ac_init_help"; then
4330 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
4331 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
4332 + --enable-shared=PKGS build shared libraries default=yes
4333 + --enable-static=PKGS build static libraries default=yes
4334 + --enable-fast-install=PKGS optimize for fast installation default=yes
4335 + --disable-libtool-lock avoid locking (might break parallel builds)
4336 + --enable-allow_uni30 Allow UNI 3.0 backwards-compatible extensions (if using UNI 3.1)
4337 + --enable-q2963_1 Enable peak cell rate modification as specified in Q.2963.1 (if using UNI 4.0)
4338 + --enable-cisco Enable work around for point-to-multipoint signaling bug in Cisco LS100 or LS7010 switches
4339 + --enable-thomflex Some versions of the Thomson Thomflex 5000 won't do any signaling before they get a RESTART. Enable sending of a RESTART whenever SAAL comes up.
4340 + --enable-mpoa_1_1 Enable proposed MPOA 1.1 features
4341 + --enable-mpr Enable memory debugging (if MPR is installed)
4344 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
4345 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
4346 + --with-gnu-ld assume the C compiler uses GNU ld default=no
4347 + --with-pic try to use only PIC/non-PIC objects default=use both
4348 + --with-uni=VERSION UNI version to use (3.0,3.1,4.0) default=dynamic
4350 +Some influential environment variables:
4351 + CC C compiler command
4352 + CFLAGS C compiler flags
4353 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
4354 + nonstandard directory <lib dir>
4355 + CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
4356 + headers in a nonstandard directory <include dir>
4357 + CPP C preprocessor
4359 +Use these variables to override the choices made by `configure' or to help
4360 +it to find libraries and programs with nonstandard names/locations.
4365 +if test "$ac_init_help" = "recursive"; then
4366 + # If there are subdirs, report their specific --help.
4368 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
4369 + test -d $ac_dir || continue
4372 +if test "$ac_dir" != .; then
4373 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4374 + # A "../" for each directory in $ac_dir_suffix.
4375 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4377 + ac_dir_suffix= ac_top_builddir=
4381 + .) # No --srcdir option. We are building in place.
4383 + if test -z "$ac_top_builddir"; then
4386 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4388 + [\\/]* | ?:[\\/]* ) # Absolute path.
4389 + ac_srcdir=$srcdir$ac_dir_suffix;
4390 + ac_top_srcdir=$srcdir ;;
4391 + *) # Relative path.
4392 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4393 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
4395 +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4397 +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4398 +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4399 +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4400 +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4403 + # Check for guested configure; otherwise get Cygnus style configure.
4404 + if test -f $ac_srcdir/configure.gnu; then
4406 + $SHELL $ac_srcdir/configure.gnu --help=recursive
4407 + elif test -f $ac_srcdir/configure; then
4409 + $SHELL $ac_srcdir/configure --help=recursive
4410 + elif test -f $ac_srcdir/configure.ac ||
4411 + test -f $ac_srcdir/configure.in; then
4413 + $ac_configure --help
4415 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
4421 +test -n "$ac_init_help" && exit 0
4422 +if $ac_init_version; then
4425 +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
4426 +Free Software Foundation, Inc.
4427 +This configure script is free software; the Free Software Foundation
4428 +gives unlimited permission to copy, distribute and modify it.
4434 +This file contains any messages produced by compilers while
4435 +running configure, to aid debugging if configure makes a mistake.
4437 +It was created by $as_me, which was
4438 +generated by GNU Autoconf 2.57. Invocation command line was
4449 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
4450 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
4451 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
4452 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
4453 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
4455 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
4456 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
4458 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
4459 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
4460 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
4461 +hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
4462 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
4463 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
4464 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
4468 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4469 +for as_dir in $PATH
4472 + test -z "$as_dir" && as_dir=.
4473 + echo "PATH: $as_dir"
4488 +# Keep a trace of the command line.
4489 +# Strip out --no-create and --no-recursion so they do not pile up.
4490 +# Strip out --silent because we don't want to record it for future runs.
4491 +# Also quote any args containing shell meta-characters.
4492 +# Make two passes to allow for proper duplicate-argument suppression.
4494 +ac_configure_args0=
4495 +ac_configure_args1=
4497 +ac_must_keep_next=false
4503 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
4504 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4505 + | -silent | --silent | --silen | --sile | --sil)
4507 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
4508 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4511 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
4513 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
4514 + if test $ac_must_keep_next = true; then
4515 + ac_must_keep_next=false # Got value, back to normal.
4518 + *=* | --config-cache | -C | -disable-* | --disable-* \
4519 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
4520 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
4521 + | -with-* | --with-* | -without-* | --without-* | --x)
4522 + case "$ac_configure_args0 " in
4523 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
4526 + -* ) ac_must_keep_next=true ;;
4529 + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
4530 + # Get rid of the leading space.
4536 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
4537 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
4539 +# When interrupted or exit'd, cleanup temporary files, and complete
4540 +# config.log. We remove comments because anyway the quotes in there
4541 +# would cause problems or look ugly.
4542 +# WARNING: Be sure not to use single quotes in there, as some shells,
4543 +# such as our DU 5.0 friend, will then `close' the trap.
4544 +trap 'exit_status=$?
4545 + # Save into config.log some information that might help in debugging.
4550 +## ---------------- ##
4551 +## Cache variables. ##
4552 +## ---------------- ##
4555 + # The following way of writing the cache mishandles newlines in values,
4558 + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
4561 + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
4562 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
4566 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4573 +## ----------------- ##
4574 +## Output variables. ##
4575 +## ----------------- ##
4578 + for ac_var in $ac_subst_vars
4580 + eval ac_val=$`echo $ac_var`
4581 + echo "$ac_var='"'"'$ac_val'"'"'"
4585 + if test -n "$ac_subst_files"; then
4587 +## ------------- ##
4588 +## Output files. ##
4589 +## ------------- ##
4592 + for ac_var in $ac_subst_files
4594 + eval ac_val=$`echo $ac_var`
4595 + echo "$ac_var='"'"'$ac_val'"'"'"
4600 + if test -s confdefs.h; then
4607 + sed "/^$/d" confdefs.h | sort
4610 + test "$ac_signal" != 0 &&
4611 + echo "$as_me: caught signal $ac_signal"
4612 + echo "$as_me: exit $exit_status"
4614 + rm -f core *.core &&
4615 + rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
4618 +for ac_signal in 1 2 13 15; do
4619 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
4623 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
4624 +rm -rf conftest* confdefs.h
4625 +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
4628 +# Predefined preprocessor variables.
4630 +cat >>confdefs.h <<_ACEOF
4631 +#define PACKAGE_NAME "$PACKAGE_NAME"
4635 +cat >>confdefs.h <<_ACEOF
4636 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
4640 +cat >>confdefs.h <<_ACEOF
4641 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
4645 +cat >>confdefs.h <<_ACEOF
4646 +#define PACKAGE_STRING "$PACKAGE_STRING"
4650 +cat >>confdefs.h <<_ACEOF
4651 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
4655 +# Let the site file select an alternate cache file if it wants to.
4656 # Prefer explicitly selected file to automatically selected ones.
4657 if test -z "$CONFIG_SITE"; then
4658 if test "x$prefix" != xNONE; then
4659 @@ -670,45 +1342,111 @@
4661 for ac_site_file in $CONFIG_SITE; do
4662 if test -r "$ac_site_file"; then
4663 - echo "loading site script $ac_site_file"
4664 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
4665 +echo "$as_me: loading site script $ac_site_file" >&6;}
4666 + sed 's/^/| /' "$ac_site_file" >&5
4671 if test -r "$cache_file"; then
4672 - echo "loading cache $cache_file"
4674 + # Some versions of bash will fail to source /dev/null (special
4675 + # files actually), so we avoid doing that.
4676 + if test -f "$cache_file"; then
4677 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4678 +echo "$as_me: loading cache $cache_file" >&6;}
4679 + case $cache_file in
4680 + [\\/]* | ?:[\\/]* ) . $cache_file;;
4681 + *) . ./$cache_file;;
4685 - echo "creating cache $cache_file"
4687 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4688 +echo "$as_me: creating cache $cache_file" >&6;}
4692 +# Check that the precious variables saved in the cache have kept the same
4694 +ac_cache_corrupted=false
4695 +for ac_var in `(set) 2>&1 |
4696 + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
4697 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
4698 + eval ac_new_set=\$ac_env_${ac_var}_set
4699 + eval ac_old_val="\$ac_cv_env_${ac_var}_value"
4700 + eval ac_new_val="\$ac_env_${ac_var}_value"
4701 + case $ac_old_set,$ac_new_set in
4703 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4704 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4705 + ac_cache_corrupted=: ;;
4707 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
4708 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4709 + ac_cache_corrupted=: ;;
4712 + if test "x$ac_old_val" != "x$ac_new_val"; then
4713 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
4714 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4715 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
4716 +echo "$as_me: former value: $ac_old_val" >&2;}
4717 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
4718 +echo "$as_me: current value: $ac_new_val" >&2;}
4719 + ac_cache_corrupted=:
4722 + # Pass precious variables to config.status.
4723 + if test "$ac_new_set" = set; then
4724 + case $ac_new_val in
4725 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
4726 + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4727 + *) ac_arg=$ac_var=$ac_new_val ;;
4729 + case " $ac_configure_args " in
4730 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4731 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
4735 +if $ac_cache_corrupted; then
4736 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
4737 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
4738 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
4739 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
4740 + { (exit 1); exit 1; }; }
4744 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4745 ac_cpp='$CPP $CPPFLAGS'
4746 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4747 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4748 -cross_compiling=$ac_cv_prog_cc_cross
4752 -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
4753 - # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
4754 - if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
4758 - ac_n=-n ac_c= ac_t=
4761 - ac_n= ac_c='\c' ac_t=
4763 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4764 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4765 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4786 + ac_config_headers="$ac_config_headers config.h"
4788 + ac_config_commands="$ac_config_commands default-1"
4792 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
4793 if test -f $ac_dir/install-sh; then
4794 @@ -719,105 +1457,105 @@
4796 ac_install_sh="$ac_aux_dir/install.sh -c"
4798 + elif test -f $ac_dir/shtool; then
4799 + ac_aux_dir=$ac_dir
4800 + ac_install_sh="$ac_aux_dir/shtool install -c"
4804 if test -z "$ac_aux_dir"; then
4805 - { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
4807 -ac_config_guess=$ac_aux_dir/config.guess
4808 -ac_config_sub=$ac_aux_dir/config.sub
4809 -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
4812 -# Do some error checking and defaulting for the host and target type.
4814 -# configure --host=HOST --target=TARGET --build=BUILD NONOPT
4817 -# 1. You are not allowed to specify --host, --target, and nonopt at the
4819 -# 2. Host defaults to nonopt.
4820 -# 3. If nonopt is not specified, then host defaults to the current host,
4821 -# as determined by config.guess.
4822 -# 4. Target and build default to nonopt.
4823 -# 5. If nonopt is not specified, then target and build default to host.
4825 -# The aliases save the names the user supplied, while $host etc.
4826 -# will get canonicalized.
4827 -case $host---$target---$nonopt in
4828 -NONE---*---* | *---NONE---* | *---*---NONE) ;;
4829 -*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
4832 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
4833 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
4834 + { (exit 1); exit 1; }; }
4836 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"
4837 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"
4838 +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
4840 # Make sure we can run config.sub.
4841 -if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
4842 -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
4844 +$ac_config_sub sun4 >/dev/null 2>&1 ||
4845 + { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
4846 +echo "$as_me: error: cannot run $ac_config_sub" >&2;}
4847 + { (exit 1); exit 1; }; }
4849 +echo "$as_me:$LINENO: checking build system type" >&5
4850 +echo $ECHO_N "checking build system type... $ECHO_C" >&6
4851 +if test "${ac_cv_build+set}" = set; then
4852 + echo $ECHO_N "(cached) $ECHO_C" >&6
4854 + ac_cv_build_alias=$build_alias
4855 +test -z "$ac_cv_build_alias" &&
4856 + ac_cv_build_alias=`$ac_config_guess`
4857 +test -z "$ac_cv_build_alias" &&
4858 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4859 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4860 + { (exit 1); exit 1; }; }
4861 +ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
4862 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
4863 +echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
4864 + { (exit 1); exit 1; }; }
4867 +echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4868 +echo "${ECHO_T}$ac_cv_build" >&6
4870 +build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4871 +build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4872 +build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4875 +echo "$as_me:$LINENO: checking host system type" >&5
4876 +echo $ECHO_N "checking host system type... $ECHO_C" >&6
4877 +if test "${ac_cv_host+set}" = set; then
4878 + echo $ECHO_N "(cached) $ECHO_C" >&6
4880 + ac_cv_host_alias=$host_alias
4881 +test -z "$ac_cv_host_alias" &&
4882 + ac_cv_host_alias=$ac_cv_build_alias
4883 +ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
4884 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
4885 +echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
4886 + { (exit 1); exit 1; }; }
4889 +echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4890 +echo "${ECHO_T}$ac_cv_host" >&6
4892 +host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4893 +host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4894 +host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4897 +echo "$as_me:$LINENO: checking target system type" >&5
4898 +echo $ECHO_N "checking target system type... $ECHO_C" >&6
4899 +if test "${ac_cv_target+set}" = set; then
4900 + echo $ECHO_N "(cached) $ECHO_C" >&6
4902 + ac_cv_target_alias=$target_alias
4903 +test "x$ac_cv_target_alias" = "x" &&
4904 + ac_cv_target_alias=$ac_cv_host_alias
4905 +ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
4906 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
4907 +echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
4908 + { (exit 1); exit 1; }; }
4911 +echo "$as_me:$LINENO: result: $ac_cv_target" >&5
4912 +echo "${ECHO_T}$ac_cv_target" >&6
4913 +target=$ac_cv_target
4914 +target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4915 +target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4916 +target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4918 -echo $ac_n "checking host system type""... $ac_c" 1>&6
4919 -echo "configure:760: checking host system type" >&5
4922 -case "$host_alias" in
4926 - if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
4927 - else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
4929 - *) host_alias=$nonopt ;;
4933 -host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
4934 -host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4935 -host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4936 -host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4937 -echo "$ac_t""$host" 1>&6
4939 -echo $ac_n "checking target system type""... $ac_c" 1>&6
4940 -echo "configure:781: checking target system type" >&5
4942 -target_alias=$target
4943 -case "$target_alias" in
4946 - NONE) target_alias=$host_alias ;;
4947 - *) target_alias=$nonopt ;;
4951 -target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
4952 -target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4953 -target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4954 -target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4955 -echo "$ac_t""$target" 1>&6
4957 -echo $ac_n "checking build system type""... $ac_c" 1>&6
4958 -echo "configure:799: checking build system type" >&5
4961 -case "$build_alias" in
4964 - NONE) build_alias=$host_alias ;;
4965 - *) build_alias=$nonopt ;;
4969 -build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
4970 -build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4971 -build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4972 -build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4973 -echo "$ac_t""$build" 1>&6
4975 -test "$host_alias" != "$target_alias" &&
4976 +# The aliases save the names the user supplied, while $host etc.
4977 +# will get canonicalized.
4978 +test -n "$target_alias" &&
4979 test "$program_prefix$program_suffix$program_transform_name" = \
4981 program_prefix=${target_alias}-
4984 +am__api_version="1.4"
4985 # Find a good install program. We prefer a C program (faster),
4986 # so one script is as good as another. But avoid the broken or
4987 # incompatible versions:
4988 @@ -825,65 +1563,78 @@
4989 # SunOS /usr/etc/install
4990 # IRIX /sbin/install
4992 +# AmigaOS /C/install, which installs bootblocks on floppy discs
4993 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4994 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4995 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4996 # ./install, which can be erroneously created by make from ./install.sh.
4997 -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
4998 -echo "configure:834: checking for a BSD compatible install" >&5
4999 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5000 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5001 if test -z "$INSTALL"; then
5002 -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
5003 - echo $ac_n "(cached) $ac_c" 1>&6
5004 +if test "${ac_cv_path_install+set}" = set; then
5005 + echo $ECHO_N "(cached) $ECHO_C" >&6
5007 - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
5008 - for ac_dir in $PATH; do
5009 - # Account for people who put trailing slashes in PATH elements.
5010 - case "$ac_dir/" in
5011 - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
5013 - # OSF1 and SCO ODT 3.0 have their own names for install.
5014 - # Don't use installbsd from OSF since it installs stuff as root
5016 - for ac_prog in ginstall scoinst install; do
5017 - if test -f $ac_dir/$ac_prog; then
5018 - if test $ac_prog = install &&
5019 - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
5020 - # AIX install. It has an incompatible calling convention.
5023 - ac_cv_path_install="$ac_dir/$ac_prog -c"
5027 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5028 +for as_dir in $PATH
5031 + test -z "$as_dir" && as_dir=.
5032 + # Account for people who put trailing slashes in PATH elements.
5034 + ./ | .// | /cC/* | \
5035 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5038 + # OSF1 and SCO ODT 3.0 have their own names for install.
5039 + # Don't use installbsd from OSF since it installs stuff as root
5041 + for ac_prog in ginstall scoinst install; do
5042 + for ac_exec_ext in '' $ac_executable_extensions; do
5043 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5044 + if test $ac_prog = install &&
5045 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5046 + # AIX install. It has an incompatible calling convention.
5048 + elif test $ac_prog = install &&
5049 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5050 + # program-specific install script used by HP pwplus--don't use.
5053 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5061 - IFS="$ac_save_IFS"
5069 if test "${ac_cv_path_install+set}" = set; then
5070 - INSTALL="$ac_cv_path_install"
5071 + INSTALL=$ac_cv_path_install
5073 # As a last resort, use the slow shell script. We don't cache a
5074 # path for INSTALL within a source directory, because that will
5075 # break other packages using the cache if that directory is
5076 # removed, or if the path is relative.
5077 - INSTALL="$ac_install_sh"
5078 + INSTALL=$ac_install_sh
5081 -echo "$ac_t""$INSTALL" 1>&6
5082 +echo "$as_me:$LINENO: result: $INSTALL" >&5
5083 +echo "${ECHO_T}$INSTALL" >&6
5085 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5086 # It thinks the first close brace ends the variable substitution.
5087 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5089 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
5090 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5092 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5094 -echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
5095 -echo "configure:887: checking whether build environment is sane" >&5
5096 +echo "$as_me:$LINENO: checking whether build environment is sane" >&5
5097 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
5100 echo timestamp > conftestfile
5101 @@ -905,8 +1656,11 @@
5102 # if, for instance, CONFIG_SHELL is bash and it inherits a
5103 # broken ls alias from the environment. This has actually
5104 # happened. Such a system could not be considered "sane".
5105 - { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
5106 -alias in your environment" 1>&2; exit 1; }
5107 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
5108 +alias in your environment" >&5
5109 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
5110 +alias in your environment" >&2;}
5111 + { (exit 1); exit 1; }; }
5114 test "$2" = conftestfile
5115 @@ -915,54 +1669,54 @@
5119 - { echo "configure: error: newly created file is older than distributed files!
5120 -Check your system clock" 1>&2; exit 1; }
5121 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
5122 +Check your system clock" >&5
5123 +echo "$as_me: error: newly created file is older than distributed files!
5124 +Check your system clock" >&2;}
5125 + { (exit 1); exit 1; }; }
5128 -echo "$ac_t""yes" 1>&6
5129 -if test "$program_transform_name" = s,x,x,; then
5130 - program_transform_name=
5132 - # Double any \ or $. echo might interpret backslashes.
5133 - cat <<\EOF_SED > conftestsed
5134 -s,\\,\\\\,g; s,\$,$$,g
5136 - program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
5139 +echo "$as_me:$LINENO: result: yes" >&5
5140 +echo "${ECHO_T}yes" >&6
5141 test "$program_prefix" != NONE &&
5142 - program_transform_name="s,^,${program_prefix},; $program_transform_name"
5143 + program_transform_name="s,^,$program_prefix,;$program_transform_name"
5144 # Use a double $ so make ignores it.
5145 test "$program_suffix" != NONE &&
5146 - program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
5148 -# sed with no file args requires a program.
5149 -test "$program_transform_name" = "" && program_transform_name="s,x,x,"
5151 -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
5152 -echo "configure:944: checking whether ${MAKE-make} sets \${MAKE}" >&5
5153 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
5154 -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
5155 - echo $ac_n "(cached) $ac_c" 1>&6
5156 + program_transform_name="s,\$,$program_suffix,;$program_transform_name"
5157 +# Double any \ or $. echo might interpret backslashes.
5158 +# By default was `s,x,x', remove it if useless.
5159 +cat <<\_ACEOF >conftest.sed
5160 +s/[\\$]/&&/g;s/;s,x,x,$//
5162 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
5165 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5166 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
5167 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5168 +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5169 + echo $ECHO_N "(cached) $ECHO_C" >&6
5171 - cat > conftestmake <<\EOF
5172 + cat >conftest.make <<\_ACEOF
5174 - @echo 'ac_maketemp="${MAKE}"'
5176 + @echo 'ac_maketemp="$(MAKE)"'
5178 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5179 -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
5180 +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
5181 if test -n "$ac_maketemp"; then
5182 eval ac_cv_prog_make_${ac_make}_set=yes
5184 eval ac_cv_prog_make_${ac_make}_set=no
5187 +rm -f conftest.make
5189 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5190 - echo "$ac_t""yes" 1>&6
5191 + echo "$as_me:$LINENO: result: yes" >&5
5192 +echo "${ECHO_T}yes" >&6
5195 - echo "$ac_t""no" 1>&6
5196 + echo "$as_me:$LINENO: result: no" >&5
5197 +echo "${ECHO_T}no" >&6
5198 SET_MAKE="MAKE=${MAKE-make}"
5201 @@ -972,82 +1726,96 @@
5204 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
5205 - { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
5206 + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
5207 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
5208 + { (exit 1); exit 1; }; }
5210 -cat >> confdefs.h <<EOF
5212 +cat >>confdefs.h <<_ACEOF
5213 #define PACKAGE "$PACKAGE"
5217 -cat >> confdefs.h <<EOF
5219 +cat >>confdefs.h <<_ACEOF
5220 #define VERSION "$VERSION"
5226 missing_dir=`cd $ac_aux_dir && pwd`
5227 -echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
5228 -echo "configure:990: checking for working aclocal" >&5
5229 +echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
5230 +echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
5231 # Run test in a subshell; some versions of sh will print an error if
5232 # an executable is not found, even if stderr is redirected.
5233 # Redirect stdin to placate older versions of autoconf. Sigh.
5234 -if (aclocal --version) < /dev/null > /dev/null 2>&1; then
5236 - echo "$ac_t""found" 1>&6
5238 - ACLOCAL="$missing_dir/missing aclocal"
5239 - echo "$ac_t""missing" 1>&6
5240 +if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
5241 + ACLOCAL=aclocal-${am__api_version}
5242 + echo "$as_me:$LINENO: result: found" >&5
5243 +echo "${ECHO_T}found" >&6
5245 + ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
5246 + echo "$as_me:$LINENO: result: missing" >&5
5247 +echo "${ECHO_T}missing" >&6
5250 -echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
5251 -echo "configure:1003: checking for working autoconf" >&5
5252 +echo "$as_me:$LINENO: checking for working autoconf" >&5
5253 +echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
5254 # Run test in a subshell; some versions of sh will print an error if
5255 # an executable is not found, even if stderr is redirected.
5256 # Redirect stdin to placate older versions of autoconf. Sigh.
5257 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
5259 - echo "$ac_t""found" 1>&6
5260 + echo "$as_me:$LINENO: result: found" >&5
5261 +echo "${ECHO_T}found" >&6
5263 AUTOCONF="$missing_dir/missing autoconf"
5264 - echo "$ac_t""missing" 1>&6
5265 + echo "$as_me:$LINENO: result: missing" >&5
5266 +echo "${ECHO_T}missing" >&6
5269 -echo $ac_n "checking for working automake""... $ac_c" 1>&6
5270 -echo "configure:1016: checking for working automake" >&5
5271 +echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
5272 +echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
5273 # Run test in a subshell; some versions of sh will print an error if
5274 # an executable is not found, even if stderr is redirected.
5275 # Redirect stdin to placate older versions of autoconf. Sigh.
5276 -if (automake --version) < /dev/null > /dev/null 2>&1; then
5278 - echo "$ac_t""found" 1>&6
5280 - AUTOMAKE="$missing_dir/missing automake"
5281 - echo "$ac_t""missing" 1>&6
5282 +if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
5283 + AUTOMAKE=automake-${am__api_version}
5284 + echo "$as_me:$LINENO: result: found" >&5
5285 +echo "${ECHO_T}found" >&6
5287 + AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
5288 + echo "$as_me:$LINENO: result: missing" >&5
5289 +echo "${ECHO_T}missing" >&6
5292 -echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
5293 -echo "configure:1029: checking for working autoheader" >&5
5294 +echo "$as_me:$LINENO: checking for working autoheader" >&5
5295 +echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
5296 # Run test in a subshell; some versions of sh will print an error if
5297 # an executable is not found, even if stderr is redirected.
5298 # Redirect stdin to placate older versions of autoconf. Sigh.
5299 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
5300 AUTOHEADER=autoheader
5301 - echo "$ac_t""found" 1>&6
5302 + echo "$as_me:$LINENO: result: found" >&5
5303 +echo "${ECHO_T}found" >&6
5305 AUTOHEADER="$missing_dir/missing autoheader"
5306 - echo "$ac_t""missing" 1>&6
5307 + echo "$as_me:$LINENO: result: missing" >&5
5308 +echo "${ECHO_T}missing" >&6
5311 -echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
5312 -echo "configure:1042: checking for working makeinfo" >&5
5313 +echo "$as_me:$LINENO: checking for working makeinfo" >&5
5314 +echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
5315 # Run test in a subshell; some versions of sh will print an error if
5316 # an executable is not found, even if stderr is redirected.
5317 # Redirect stdin to placate older versions of autoconf. Sigh.
5318 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
5320 - echo "$ac_t""found" 1>&6
5321 + echo "$as_me:$LINENO: result: found" >&5
5322 +echo "${ECHO_T}found" >&6
5324 MAKEINFO="$missing_dir/missing makeinfo"
5325 - echo "$ac_t""missing" 1>&6
5326 + echo "$as_me:$LINENO: result: missing" >&5
5327 +echo "${ECHO_T}missing" >&6
5331 @@ -1059,214 +1827,643 @@
5335 -# Extract the first word of "gcc", so it can be a program name with args.
5337 +ac_cpp='$CPP $CPPFLAGS'
5338 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5339 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5340 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5341 +if test -n "$ac_tool_prefix"; then
5342 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5343 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
5344 +echo "$as_me:$LINENO: checking for $ac_word" >&5
5345 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5346 +if test "${ac_cv_prog_CC+set}" = set; then
5347 + echo $ECHO_N "(cached) $ECHO_C" >&6
5349 + if test -n "$CC"; then
5350 + ac_cv_prog_CC="$CC" # Let the user override the test.
5352 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 +for as_dir in $PATH
5356 + test -z "$as_dir" && as_dir=.
5357 + for ac_exec_ext in '' $ac_executable_extensions; do
5358 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5359 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
5360 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5369 +if test -n "$CC"; then
5370 + echo "$as_me:$LINENO: result: $CC" >&5
5371 +echo "${ECHO_T}$CC" >&6
5373 + echo "$as_me:$LINENO: result: no" >&5
5374 +echo "${ECHO_T}no" >&6
5378 +if test -z "$ac_cv_prog_CC"; then
5380 + # Extract the first word of "gcc", so it can be a program name with args.
5381 set dummy gcc; ac_word=$2
5382 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5383 -echo "configure:1066: checking for $ac_word" >&5
5384 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5385 - echo $ac_n "(cached) $ac_c" 1>&6
5386 +echo "$as_me:$LINENO: checking for $ac_word" >&5
5387 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5388 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5389 + echo $ECHO_N "(cached) $ECHO_C" >&6
5391 + if test -n "$ac_ct_CC"; then
5392 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5394 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5395 +for as_dir in $PATH
5398 + test -z "$as_dir" && as_dir=.
5399 + for ac_exec_ext in '' $ac_executable_extensions; do
5400 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5401 + ac_cv_prog_ac_ct_CC="gcc"
5402 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
5411 +if test -n "$ac_ct_CC"; then
5412 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5413 +echo "${ECHO_T}$ac_ct_CC" >&6
5415 + echo "$as_me:$LINENO: result: no" >&5
5416 +echo "${ECHO_T}no" >&6
5421 + CC="$ac_cv_prog_CC"
5424 +if test -z "$CC"; then
5425 + if test -n "$ac_tool_prefix"; then
5426 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5427 +set dummy ${ac_tool_prefix}cc; ac_word=$2
5428 +echo "$as_me:$LINENO: checking for $ac_word" >&5
5429 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5430 +if test "${ac_cv_prog_CC+set}" = set; then
5431 + echo $ECHO_N "(cached) $ECHO_C" >&6
5433 if test -n "$CC"; then
5434 ac_cv_prog_CC="$CC" # Let the user override the test.
5436 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5438 - for ac_dir in $ac_dummy; do
5439 - test -z "$ac_dir" && ac_dir=.
5440 - if test -f $ac_dir/$ac_word; then
5441 - ac_cv_prog_CC="gcc"
5445 - IFS="$ac_save_ifs"
5446 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5447 +for as_dir in $PATH
5450 + test -z "$as_dir" && as_dir=.
5451 + for ac_exec_ext in '' $ac_executable_extensions; do
5452 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5453 + ac_cv_prog_CC="${ac_tool_prefix}cc"
5454 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5462 -CC="$ac_cv_prog_CC"
5464 if test -n "$CC"; then
5465 - echo "$ac_t""$CC" 1>&6
5466 + echo "$as_me:$LINENO: result: $CC" >&5
5467 +echo "${ECHO_T}$CC" >&6
5469 + echo "$as_me:$LINENO: result: no" >&5
5470 +echo "${ECHO_T}no" >&6
5474 +if test -z "$ac_cv_prog_CC"; then
5476 + # Extract the first word of "cc", so it can be a program name with args.
5477 +set dummy cc; ac_word=$2
5478 +echo "$as_me:$LINENO: checking for $ac_word" >&5
5479 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5480 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5481 + echo $ECHO_N "(cached) $ECHO_C" >&6
5483 + if test -n "$ac_ct_CC"; then
5484 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5486 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5487 +for as_dir in $PATH
5490 + test -z "$as_dir" && as_dir=.
5491 + for ac_exec_ext in '' $ac_executable_extensions; do
5492 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5493 + ac_cv_prog_ac_ct_CC="cc"
5494 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5502 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
5503 +if test -n "$ac_ct_CC"; then
5504 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5505 +echo "${ECHO_T}$ac_ct_CC" >&6
5507 - echo "$ac_t""no" 1>&6
5508 + echo "$as_me:$LINENO: result: no" >&5
5509 +echo "${ECHO_T}no" >&6
5514 + CC="$ac_cv_prog_CC"
5518 if test -z "$CC"; then
5519 # Extract the first word of "cc", so it can be a program name with args.
5520 set dummy cc; ac_word=$2
5521 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5522 -echo "configure:1096: checking for $ac_word" >&5
5523 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5524 - echo $ac_n "(cached) $ac_c" 1>&6
5525 +echo "$as_me:$LINENO: checking for $ac_word" >&5
5526 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5527 +if test "${ac_cv_prog_CC+set}" = set; then
5528 + echo $ECHO_N "(cached) $ECHO_C" >&6
5530 if test -n "$CC"; then
5531 ac_cv_prog_CC="$CC" # Let the user override the test.
5533 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5536 - for ac_dir in $ac_dummy; do
5537 - test -z "$ac_dir" && ac_dir=.
5538 - if test -f $ac_dir/$ac_word; then
5539 - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5540 - ac_prog_rejected=yes
5543 - ac_cv_prog_CC="cc"
5547 - IFS="$ac_save_ifs"
5548 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549 +for as_dir in $PATH
5552 + test -z "$as_dir" && as_dir=.
5553 + for ac_exec_ext in '' $ac_executable_extensions; do
5554 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5555 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5556 + ac_prog_rejected=yes
5559 + ac_cv_prog_CC="cc"
5560 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5566 if test $ac_prog_rejected = yes; then
5567 # We found a bogon in the path, so make sure we never use it.
5568 set dummy $ac_cv_prog_CC
5570 - if test $# -gt 0; then
5571 + if test $# != 0; then
5572 # We chose a different compiler from the bogus one.
5573 # However, it has the same basename, so the bogon will be chosen
5574 # first if we set CC to just the basename; use the full file name.
5576 - set dummy "$ac_dir/$ac_word" "$@"
5578 - ac_cv_prog_CC="$@"
5579 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5584 -CC="$ac_cv_prog_CC"
5586 if test -n "$CC"; then
5587 - echo "$ac_t""$CC" 1>&6
5588 + echo "$as_me:$LINENO: result: $CC" >&5
5589 +echo "${ECHO_T}$CC" >&6
5591 - echo "$ac_t""no" 1>&6
5592 + echo "$as_me:$LINENO: result: no" >&5
5593 +echo "${ECHO_T}no" >&6
5596 - if test -z "$CC"; then
5597 - case "`uname -s`" in
5598 - *win32* | *WIN32*)
5599 - # Extract the first word of "cl", so it can be a program name with args.
5600 -set dummy cl; ac_word=$2
5601 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5602 -echo "configure:1147: checking for $ac_word" >&5
5603 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5604 - echo $ac_n "(cached) $ac_c" 1>&6
5606 +if test -z "$CC"; then
5607 + if test -n "$ac_tool_prefix"; then
5610 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5611 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5612 +echo "$as_me:$LINENO: checking for $ac_word" >&5
5613 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5614 +if test "${ac_cv_prog_CC+set}" = set; then
5615 + echo $ECHO_N "(cached) $ECHO_C" >&6
5617 if test -n "$CC"; then
5618 ac_cv_prog_CC="$CC" # Let the user override the test.
5620 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5622 - for ac_dir in $ac_dummy; do
5623 - test -z "$ac_dir" && ac_dir=.
5624 - if test -f $ac_dir/$ac_word; then
5625 - ac_cv_prog_CC="cl"
5629 - IFS="$ac_save_ifs"
5630 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 +for as_dir in $PATH
5634 + test -z "$as_dir" && as_dir=.
5635 + for ac_exec_ext in '' $ac_executable_extensions; do
5636 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5637 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5638 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5646 -CC="$ac_cv_prog_CC"
5648 if test -n "$CC"; then
5649 - echo "$ac_t""$CC" 1>&6
5650 + echo "$as_me:$LINENO: result: $CC" >&5
5651 +echo "${ECHO_T}$CC" >&6
5653 - echo "$ac_t""no" 1>&6
5654 + echo "$as_me:$LINENO: result: no" >&5
5655 +echo "${ECHO_T}no" >&6
5660 + test -n "$CC" && break
5663 +if test -z "$CC"; then
5667 + # Extract the first word of "$ac_prog", so it can be a program name with args.
5668 +set dummy $ac_prog; ac_word=$2
5669 +echo "$as_me:$LINENO: checking for $ac_word" >&5
5670 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5671 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5672 + echo $ECHO_N "(cached) $ECHO_C" >&6
5674 + if test -n "$ac_ct_CC"; then
5675 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5677 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5678 +for as_dir in $PATH
5681 + test -z "$as_dir" && as_dir=.
5682 + for ac_exec_ext in '' $ac_executable_extensions; do
5683 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5684 + ac_cv_prog_ac_ct_CC="$ac_prog"
5685 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5694 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
5695 +if test -n "$ac_ct_CC"; then
5696 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5697 +echo "${ECHO_T}$ac_ct_CC" >&6
5699 + echo "$as_me:$LINENO: result: no" >&5
5700 +echo "${ECHO_T}no" >&6
5703 + test -n "$ac_ct_CC" && break
5706 -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5707 -echo "configure:1179: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5712 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5713 -ac_cpp='$CPP $CPPFLAGS'
5714 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5715 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5716 -cross_compiling=$ac_cv_prog_cc_cross
5719 -cat > conftest.$ac_ext << EOF
5721 -#line 1190 "configure"
5722 -#include "confdefs.h"
5723 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5724 +See \`config.log' for more details." >&5
5725 +echo "$as_me: error: no acceptable C compiler found in \$PATH
5726 +See \`config.log' for more details." >&2;}
5727 + { (exit 1); exit 1; }; }
5729 +# Provide some information about the compiler.
5730 +echo "$as_me:$LINENO:" \
5731 + "checking for C compiler version" >&5
5732 +ac_compiler=`set X $ac_compile; echo $2`
5733 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5734 + (eval $ac_compiler --version </dev/null >&5) 2>&5
5736 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 + (exit $ac_status); }
5738 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5739 + (eval $ac_compiler -v </dev/null >&5) 2>&5
5741 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 + (exit $ac_status); }
5743 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5744 + (eval $ac_compiler -V </dev/null >&5) 2>&5
5746 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 + (exit $ac_status); }
5749 +cat >conftest.$ac_ext <<_ACEOF
5750 +#line $LINENO "configure"
5753 +cat confdefs.h >>conftest.$ac_ext
5754 +cat >>conftest.$ac_ext <<_ACEOF
5755 +/* end confdefs.h. */
5759 -if { (eval echo configure:1195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5760 - ac_cv_prog_cc_works=yes
5761 - # If we can't run a trivial program, we are probably using a cross compiler.
5762 - if (./conftest; exit) 2>/dev/null; then
5763 - ac_cv_prog_cc_cross=no
5765 - ac_cv_prog_cc_cross=yes
5775 +ac_clean_files_save=$ac_clean_files
5776 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
5777 +# Try to create an executable without -o first, disregard a.out.
5778 +# It will help us diagnose broken compilers, and finding out an intuition
5780 +echo "$as_me:$LINENO: checking for C compiler default output" >&5
5781 +echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
5782 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5783 +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
5784 + (eval $ac_link_default) 2>&5
5786 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 + (exit $ac_status); }; then
5788 + # Find the output, starting from the most likely. This scheme is
5789 +# not robust to junk in `.', hence go to wildcards (a.*) only as a last
5792 +# Be careful to initialize this variable, since it used to be cached.
5793 +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
5795 +# b.out is created by i960 compilers.
5796 +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
5798 + test -f "$ac_file" || continue
5800 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
5802 + conftest.$ac_ext )
5803 + # This is the source file.
5806 + # We found the default executable, but exeext='' is most
5807 + # certainly right.
5810 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5811 + # FIXME: I believe we export ac_cv_exeext for Libtool,
5812 + # but it would be cool to find out if it's true. Does anybody
5813 + # maintain Libtool? --akim.
5814 + export ac_cv_exeext
5821 - echo "configure: failed program was:" >&5
5822 - cat conftest.$ac_ext >&5
5823 - ac_cv_prog_cc_works=no
5824 + echo "$as_me: failed program was:" >&5
5825 +sed 's/^/| /' conftest.$ac_ext >&5
5827 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
5828 +See \`config.log' for more details." >&5
5829 +echo "$as_me: error: C compiler cannot create executables
5830 +See \`config.log' for more details." >&2;}
5831 + { (exit 77); exit 77; }; }
5834 +ac_exeext=$ac_cv_exeext
5835 +echo "$as_me:$LINENO: result: $ac_file" >&5
5836 +echo "${ECHO_T}$ac_file" >&6
5838 +# Check the compiler produces executables we can run. If not, either
5839 +# the compiler is broken, or we cross compile.
5840 +echo "$as_me:$LINENO: checking whether the C compiler works" >&5
5841 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
5842 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
5843 +# If not cross compiling, check that we can run a simple program.
5844 +if test "$cross_compiling" != yes; then
5845 + if { ac_try='./$ac_file'
5846 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5847 + (eval $ac_try) 2>&5
5849 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 + (exit $ac_status); }; }; then
5851 + cross_compiling=no
5853 + if test "$cross_compiling" = maybe; then
5854 + cross_compiling=yes
5856 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
5857 +If you meant to cross compile, use \`--host'.
5858 +See \`config.log' for more details." >&5
5859 +echo "$as_me: error: cannot run C compiled programs.
5860 +If you meant to cross compile, use \`--host'.
5861 +See \`config.log' for more details." >&2;}
5862 + { (exit 1); exit 1; }; }
5868 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5869 -ac_cpp='$CPP $CPPFLAGS'
5870 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5871 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5872 -cross_compiling=$ac_cv_prog_cc_cross
5874 -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5875 -if test $ac_cv_prog_cc_works = no; then
5876 - { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5878 -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5879 -echo "configure:1221: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5880 -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5881 -cross_compiling=$ac_cv_prog_cc_cross
5883 -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5884 -echo "configure:1226: checking whether we are using GNU C" >&5
5885 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5886 - echo $ac_n "(cached) $ac_c" 1>&6
5888 - cat > conftest.c <<EOF
5893 -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
5894 - ac_cv_prog_gcc=yes
5895 +echo "$as_me:$LINENO: result: yes" >&5
5896 +echo "${ECHO_T}yes" >&6
5898 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
5899 +ac_clean_files=$ac_clean_files_save
5900 +# Check the compiler produces executables we can run. If not, either
5901 +# the compiler is broken, or we cross compile.
5902 +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
5903 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
5904 +echo "$as_me:$LINENO: result: $cross_compiling" >&5
5905 +echo "${ECHO_T}$cross_compiling" >&6
5907 +echo "$as_me:$LINENO: checking for suffix of executables" >&5
5908 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
5909 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5910 + (eval $ac_link) 2>&5
5912 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 + (exit $ac_status); }; then
5914 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
5915 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5916 +# work properly (i.e., refer to `conftest.exe'), while it won't with
5918 +for ac_file in conftest.exe conftest conftest.*; do
5919 + test -f "$ac_file" || continue
5921 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
5922 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5923 + export ac_cv_exeext
5931 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
5932 +See \`config.log' for more details." >&5
5933 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
5934 +See \`config.log' for more details." >&2;}
5935 + { (exit 1); exit 1; }; }
5938 -echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5939 +rm -f conftest$ac_cv_exeext
5940 +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
5941 +echo "${ECHO_T}$ac_cv_exeext" >&6
5943 +rm -f conftest.$ac_ext
5944 +EXEEXT=$ac_cv_exeext
5946 +echo "$as_me:$LINENO: checking for suffix of object files" >&5
5947 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
5948 +if test "${ac_cv_objext+set}" = set; then
5949 + echo $ECHO_N "(cached) $ECHO_C" >&6
5951 + cat >conftest.$ac_ext <<_ACEOF
5952 +#line $LINENO "configure"
5955 +cat confdefs.h >>conftest.$ac_ext
5956 +cat >>conftest.$ac_ext <<_ACEOF
5957 +/* end confdefs.h. */
5963 -if test $ac_cv_prog_gcc = yes; then
5969 +rm -f conftest.o conftest.obj
5970 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5971 + (eval $ac_compile) 2>&5
5973 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5974 + (exit $ac_status); }; then
5975 + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
5977 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
5978 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5984 + echo "$as_me: failed program was:" >&5
5985 +sed 's/^/| /' conftest.$ac_ext >&5
5987 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
5988 +See \`config.log' for more details." >&5
5989 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
5990 +See \`config.log' for more details." >&2;}
5991 + { (exit 1); exit 1; }; }
5994 -ac_test_CFLAGS="${CFLAGS+set}"
5995 -ac_save_CFLAGS="$CFLAGS"
5997 -echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5998 -echo "configure:1254: checking whether ${CC-cc} accepts -g" >&5
5999 -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6000 - echo $ac_n "(cached) $ac_c" 1>&6
6002 - echo 'void f(){}' > conftest.c
6003 -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6004 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
6006 +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
6007 +echo "${ECHO_T}$ac_cv_objext" >&6
6008 +OBJEXT=$ac_cv_objext
6010 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6011 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
6012 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
6013 + echo $ECHO_N "(cached) $ECHO_C" >&6
6015 + cat >conftest.$ac_ext <<_ACEOF
6016 +#line $LINENO "configure"
6019 +cat confdefs.h >>conftest.$ac_ext
6020 +cat >>conftest.$ac_ext <<_ACEOF
6021 +/* end confdefs.h. */
6034 +rm -f conftest.$ac_objext
6035 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6036 + (eval $ac_compile) 2>&5
6038 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 + (exit $ac_status); } &&
6040 + { ac_try='test -s conftest.$ac_objext'
6041 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6042 + (eval $ac_try) 2>&5
6044 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 + (exit $ac_status); }; }; then
6046 + ac_compiler_gnu=yes
6048 + echo "$as_me: failed program was:" >&5
6049 +sed 's/^/| /' conftest.$ac_ext >&5
6053 +rm -f conftest.$ac_objext conftest.$ac_ext
6054 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
6057 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6058 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
6059 +GCC=`test $ac_compiler_gnu = yes && echo yes`
6060 +ac_test_CFLAGS=${CFLAGS+set}
6061 +ac_save_CFLAGS=$CFLAGS
6063 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6064 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
6065 +if test "${ac_cv_prog_cc_g+set}" = set; then
6066 + echo $ECHO_N "(cached) $ECHO_C" >&6
6068 + cat >conftest.$ac_ext <<_ACEOF
6069 +#line $LINENO "configure"
6072 +cat confdefs.h >>conftest.$ac_ext
6073 +cat >>conftest.$ac_ext <<_ACEOF
6074 +/* end confdefs.h. */
6084 +rm -f conftest.$ac_objext
6085 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6086 + (eval $ac_compile) 2>&5
6088 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6089 + (exit $ac_status); } &&
6090 + { ac_try='test -s conftest.$ac_objext'
6091 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6092 + (eval $ac_try) 2>&5
6094 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 + (exit $ac_status); }; }; then
6098 - ac_cv_prog_cc_g=no
6101 + echo "$as_me: failed program was:" >&5
6102 +sed 's/^/| /' conftest.$ac_ext >&5
6107 -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6108 +rm -f conftest.$ac_objext conftest.$ac_ext
6110 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6111 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
6112 if test "$ac_test_CFLAGS" = set; then
6113 - CFLAGS="$ac_save_CFLAGS"
6114 + CFLAGS=$ac_save_CFLAGS
6115 elif test $ac_cv_prog_cc_g = yes; then
6116 if test "$GCC" = yes; then
6118 @@ -1280,295 +2477,548 @@
6122 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
6123 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
6124 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
6125 + echo $ECHO_N "(cached) $ECHO_C" >&6
6127 + ac_cv_prog_cc_stdc=no
6129 +cat >conftest.$ac_ext <<_ACEOF
6130 +#line $LINENO "configure"
6133 +cat confdefs.h >>conftest.$ac_ext
6134 +cat >>conftest.$ac_ext <<_ACEOF
6135 +/* end confdefs.h. */
6136 +#include <stdarg.h>
6138 +#include <sys/types.h>
6139 +#include <sys/stat.h>
6140 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6141 +struct buf { int x; };
6142 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
6143 +static char *e (p, i)
6149 +static char *f (char * (*g) (char **, int), char **p, ...)
6154 + s = g (p, va_arg (v,int));
6158 +int test (int i, double x);
6159 +struct s1 {int (*f) (int a);};
6160 +struct s2 {int (*f) (double a);};
6161 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6167 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6172 +# Don't try gcc -ansi; that turns off useful extensions and
6173 +# breaks some systems' header files.
6174 +# AIX -qlanglvl=ansi
6175 +# Ultrix and OSF/1 -std1
6176 +# HP-UX 10.20 and later -Ae
6177 +# HP-UX older versions -Aa -D_HPUX_SOURCE
6178 +# SVR4 -Xc -D__EXTENSIONS__
6179 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6181 + CC="$ac_save_CC $ac_arg"
6182 + rm -f conftest.$ac_objext
6183 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6184 + (eval $ac_compile) 2>&5
6186 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 + (exit $ac_status); } &&
6188 + { ac_try='test -s conftest.$ac_objext'
6189 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6190 + (eval $ac_try) 2>&5
6192 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 + (exit $ac_status); }; }; then
6194 + ac_cv_prog_cc_stdc=$ac_arg
6197 + echo "$as_me: failed program was:" >&5
6198 +sed 's/^/| /' conftest.$ac_ext >&5
6201 +rm -f conftest.$ac_objext
6203 +rm -f conftest.$ac_ext conftest.$ac_objext
6206 -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6207 -echo "configure:1286: checking how to run the C preprocessor" >&5
6208 -# On Suns, sometimes $CPP names a directory.
6209 -if test -n "$CPP" && test -d "$CPP"; then
6212 -if test -z "$CPP"; then
6213 -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6214 - echo $ac_n "(cached) $ac_c" 1>&6
6216 - # This must be in double quotes, not single quotes, because CPP may get
6217 - # substituted into the Makefile and "${CC-cc}" will confuse make.
6219 - # On the NeXT, cc -E runs the code through the compiler's parser,
6220 - # not just through cpp.
6221 - cat > conftest.$ac_ext <<EOF
6222 -#line 1301 "configure"
6223 -#include "confdefs.h"
6224 -#include <assert.h>
6227 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6228 -{ (eval echo configure:1307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6229 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6230 -if test -z "$ac_err"; then
6233 - echo "$ac_err" >&5
6234 - echo "configure: failed program was:" >&5
6235 - cat conftest.$ac_ext >&5
6237 - CPP="${CC-cc} -E -traditional-cpp"
6238 - cat > conftest.$ac_ext <<EOF
6239 -#line 1318 "configure"
6240 -#include "confdefs.h"
6241 -#include <assert.h>
6244 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6245 -{ (eval echo configure:1324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6246 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6247 -if test -z "$ac_err"; then
6250 - echo "$ac_err" >&5
6251 - echo "configure: failed program was:" >&5
6252 - cat conftest.$ac_ext >&5
6254 - CPP="${CC-cc} -nologo -E"
6255 - cat > conftest.$ac_ext <<EOF
6256 -#line 1335 "configure"
6257 -#include "confdefs.h"
6258 -#include <assert.h>
6261 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6262 -{ (eval echo configure:1341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6263 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6264 -if test -z "$ac_err"; then
6266 +case "x$ac_cv_prog_cc_stdc" in
6268 + echo "$as_me:$LINENO: result: none needed" >&5
6269 +echo "${ECHO_T}none needed" >&6 ;;
6271 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
6272 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
6273 + CC="$CC $ac_cv_prog_cc_stdc" ;;
6276 +# Some people use a C++ compiler to compile C. Since we use `exit',
6277 +# in C++ we need to declare it. In case someone uses the same compiler
6278 +# for both compiling C and C++ we need to have the C++ compiler decide
6279 +# the declaration of exit, since it's the most demanding environment.
6280 +cat >conftest.$ac_ext <<_ACEOF
6281 +#ifndef __cplusplus
6285 +rm -f conftest.$ac_objext
6286 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6287 + (eval $ac_compile) 2>&5
6289 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 + (exit $ac_status); } &&
6291 + { ac_try='test -s conftest.$ac_objext'
6292 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6293 + (eval $ac_try) 2>&5
6295 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 + (exit $ac_status); }; }; then
6297 + for ac_declaration in \
6299 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
6300 + 'extern "C" void std::exit (int); using std::exit;' \
6301 + 'extern "C" void exit (int) throw ();' \
6302 + 'extern "C" void exit (int);' \
6303 + 'void exit (int);'
6305 + cat >conftest.$ac_ext <<_ACEOF
6306 +#line $LINENO "configure"
6309 +cat confdefs.h >>conftest.$ac_ext
6310 +cat >>conftest.$ac_ext <<_ACEOF
6311 +/* end confdefs.h. */
6313 +#include <stdlib.h>
6322 +rm -f conftest.$ac_objext
6323 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6324 + (eval $ac_compile) 2>&5
6326 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6327 + (exit $ac_status); } &&
6328 + { ac_try='test -s conftest.$ac_objext'
6329 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6330 + (eval $ac_try) 2>&5
6332 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 + (exit $ac_status); }; }; then
6336 - echo "$ac_err" >&5
6337 - echo "configure: failed program was:" >&5
6338 - cat conftest.$ac_ext >&5
6343 + echo "$as_me: failed program was:" >&5
6344 +sed 's/^/| /' conftest.$ac_ext >&5
6349 +rm -f conftest.$ac_objext conftest.$ac_ext
6350 + cat >conftest.$ac_ext <<_ACEOF
6351 +#line $LINENO "configure"
6354 +cat confdefs.h >>conftest.$ac_ext
6355 +cat >>conftest.$ac_ext <<_ACEOF
6356 +/* end confdefs.h. */
6366 +rm -f conftest.$ac_objext
6367 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6368 + (eval $ac_compile) 2>&5
6370 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6371 + (exit $ac_status); } &&
6372 + { ac_try='test -s conftest.$ac_objext'
6373 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6374 + (eval $ac_try) 2>&5
6376 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377 + (exit $ac_status); }; }; then
6380 + echo "$as_me: failed program was:" >&5
6381 +sed 's/^/| /' conftest.$ac_ext >&5
6384 +rm -f conftest.$ac_objext conftest.$ac_ext
6387 - ac_cv_prog_CPP="$CPP"
6388 +if test -n "$ac_declaration"; then
6389 + echo '#ifdef __cplusplus' >>confdefs.h
6390 + echo $ac_declaration >>confdefs.h
6391 + echo '#endif' >>confdefs.h
6393 - CPP="$ac_cv_prog_CPP"
6396 - ac_cv_prog_CPP="$CPP"
6397 + echo "$as_me: failed program was:" >&5
6398 +sed 's/^/| /' conftest.$ac_ext >&5
6401 -echo "$ac_t""$CPP" 1>&6
6402 +rm -f conftest.$ac_objext conftest.$ac_ext
6404 +ac_cpp='$CPP $CPPFLAGS'
6405 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6406 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6407 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6410 missing_dir=`cd $ac_aux_dir && pwd`
6411 for ac_prog in flex lex
6413 -# Extract the first word of "$ac_prog", so it can be a program name with args.
6414 + # Extract the first word of "$ac_prog", so it can be a program name with args.
6415 set dummy $ac_prog; ac_word=$2
6416 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6417 -echo "configure:1371: checking for $ac_word" >&5
6418 -if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6419 - echo $ac_n "(cached) $ac_c" 1>&6
6420 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6421 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6422 +if test "${ac_cv_prog_LEX+set}" = set; then
6423 + echo $ECHO_N "(cached) $ECHO_C" >&6
6425 if test -n "$LEX"; then
6426 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6428 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
6430 - for ac_dir in $ac_dummy; do
6431 - test -z "$ac_dir" && ac_dir=.
6432 - if test -f $ac_dir/$ac_word; then
6433 - ac_cv_prog_LEX="$ac_prog"
6437 - IFS="$ac_save_ifs"
6438 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6439 +for as_dir in $PATH
6442 + test -z "$as_dir" && as_dir=.
6443 + for ac_exec_ext in '' $ac_executable_extensions; do
6444 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6445 + ac_cv_prog_LEX="$ac_prog"
6446 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6454 -LEX="$ac_cv_prog_LEX"
6455 +LEX=$ac_cv_prog_LEX
6456 if test -n "$LEX"; then
6457 - echo "$ac_t""$LEX" 1>&6
6458 + echo "$as_me:$LINENO: result: $LEX" >&5
6459 +echo "${ECHO_T}$LEX" >&6
6461 - echo "$ac_t""no" 1>&6
6462 + echo "$as_me:$LINENO: result: no" >&5
6463 +echo "${ECHO_T}no" >&6
6466 -test -n "$LEX" && break
6467 + test -n "$LEX" && break
6469 -test -n "$LEX" || LEX=""$missing_dir/missing flex""
6470 +test -n "$LEX" || LEX="$missing_dir/missing flex"
6472 -# Extract the first word of "flex", so it can be a program name with args.
6473 -set dummy flex; ac_word=$2
6474 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6475 -echo "configure:1404: checking for $ac_word" >&5
6476 -if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6477 - echo $ac_n "(cached) $ac_c" 1>&6
6478 +for ac_prog in flex lex
6480 + # Extract the first word of "$ac_prog", so it can be a program name with args.
6481 +set dummy $ac_prog; ac_word=$2
6482 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6483 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6484 +if test "${ac_cv_prog_LEX+set}" = set; then
6485 + echo $ECHO_N "(cached) $ECHO_C" >&6
6487 if test -n "$LEX"; then
6488 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6490 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
6492 - for ac_dir in $ac_dummy; do
6493 - test -z "$ac_dir" && ac_dir=.
6494 - if test -f $ac_dir/$ac_word; then
6495 - ac_cv_prog_LEX="flex"
6499 - IFS="$ac_save_ifs"
6500 - test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
6501 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6502 +for as_dir in $PATH
6505 + test -z "$as_dir" && as_dir=.
6506 + for ac_exec_ext in '' $ac_executable_extensions; do
6507 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6508 + ac_cv_prog_LEX="$ac_prog"
6509 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6517 -LEX="$ac_cv_prog_LEX"
6518 +LEX=$ac_cv_prog_LEX
6519 if test -n "$LEX"; then
6520 - echo "$ac_t""$LEX" 1>&6
6521 + echo "$as_me:$LINENO: result: $LEX" >&5
6522 +echo "${ECHO_T}$LEX" >&6
6524 - echo "$ac_t""no" 1>&6
6525 + echo "$as_me:$LINENO: result: no" >&5
6526 +echo "${ECHO_T}no" >&6
6529 + test -n "$LEX" && break
6531 +test -n "$LEX" || LEX=":"
6533 if test -z "$LEXLIB"
6536 - flex*) ac_lib=fl ;;
6539 - echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6540 -echo "configure:1438: checking for yywrap in -l$ac_lib" >&5
6541 -ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6542 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6543 - echo $ac_n "(cached) $ac_c" 1>&6
6545 - ac_save_LIBS="$LIBS"
6546 -LIBS="-l$ac_lib $LIBS"
6547 -cat > conftest.$ac_ext <<EOF
6548 -#line 1446 "configure"
6549 -#include "confdefs.h"
6550 + echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
6551 +echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
6552 +if test "${ac_cv_lib_fl_yywrap+set}" = set; then
6553 + echo $ECHO_N "(cached) $ECHO_C" >&6
6555 + ac_check_lib_save_LIBS=$LIBS
6557 +cat >conftest.$ac_ext <<_ACEOF
6558 +#line $LINENO "configure"
6561 +cat confdefs.h >>conftest.$ac_ext
6562 +cat >>conftest.$ac_ext <<_ACEOF
6563 +/* end confdefs.h. */
6565 /* Override any gcc2 internal prototype to avoid an error. */
6569 /* We use char because int might match the return type of a gcc2
6570 - builtin and then its argument prototype would still apply. */
6572 + builtin and then its argument prototype would still apply. */
6582 +rm -f conftest.$ac_objext conftest$ac_exeext
6583 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6584 + (eval $ac_link) 2>&5
6586 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 + (exit $ac_status); } &&
6588 + { ac_try='test -s conftest$ac_exeext'
6589 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6590 + (eval $ac_try) 2>&5
6592 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593 + (exit $ac_status); }; }; then
6594 + ac_cv_lib_fl_yywrap=yes
6596 + echo "$as_me: failed program was:" >&5
6597 +sed 's/^/| /' conftest.$ac_ext >&5
6599 +ac_cv_lib_fl_yywrap=no
6601 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6602 +LIBS=$ac_check_lib_save_LIBS
6604 +echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
6605 +echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
6606 +if test $ac_cv_lib_fl_yywrap = yes; then
6609 + echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
6610 +echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
6611 +if test "${ac_cv_lib_l_yywrap+set}" = set; then
6612 + echo $ECHO_N "(cached) $ECHO_C" >&6
6614 + ac_check_lib_save_LIBS=$LIBS
6616 +cat >conftest.$ac_ext <<_ACEOF
6617 +#line $LINENO "configure"
6620 +cat confdefs.h >>conftest.$ac_ext
6621 +cat >>conftest.$ac_ext <<_ACEOF
6622 +/* end confdefs.h. */
6628 -if { (eval echo configure:1457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6630 - eval "ac_cv_lib_$ac_lib_var=yes"
6631 +/* Override any gcc2 internal prototype to avoid an error. */
6635 +/* We use char because int might match the return type of a gcc2
6636 + builtin and then its argument prototype would still apply. */
6646 +rm -f conftest.$ac_objext conftest$ac_exeext
6647 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6648 + (eval $ac_link) 2>&5
6650 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 + (exit $ac_status); } &&
6652 + { ac_try='test -s conftest$ac_exeext'
6653 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6654 + (eval $ac_try) 2>&5
6656 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6657 + (exit $ac_status); }; }; then
6658 + ac_cv_lib_l_yywrap=yes
6660 - echo "configure: failed program was:" >&5
6661 - cat conftest.$ac_ext >&5
6663 - eval "ac_cv_lib_$ac_lib_var=no"
6666 -LIBS="$ac_save_LIBS"
6667 + echo "$as_me: failed program was:" >&5
6668 +sed 's/^/| /' conftest.$ac_ext >&5
6670 +ac_cv_lib_l_yywrap=no
6672 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6673 - echo "$ac_t""yes" 1>&6
6674 - LEXLIB="-l$ac_lib"
6676 - echo "$ac_t""no" 1>&6
6677 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6678 +LIBS=$ac_check_lib_save_LIBS
6680 +echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
6681 +echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
6682 +if test $ac_cv_lib_l_yywrap = yes; then
6690 -echo $ac_n "checking lex output file root""... $ac_c" 1>&6
6691 -echo "configure:1480: checking lex output file root" >&5
6692 -if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
6693 - echo $ac_n "(cached) $ac_c" 1>&6
6694 +if test "x$LEX" != "x:"; then
6695 + echo "$as_me:$LINENO: checking lex output file root" >&5
6696 +echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
6697 +if test "${ac_cv_prog_lex_root+set}" = set; then
6698 + echo $ECHO_N "(cached) $ECHO_C" >&6
6700 # The minimal lex program is just a single line: %%. But some broken lexes
6701 # (Solaris, I think it was) want two %% lines, so accommodate them.
6704 +cat >conftest.l <<_ACEOF
6708 +{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
6709 + (eval $LEX conftest.l) 2>&5
6711 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712 + (exit $ac_status); }
6713 if test -f lex.yy.c; then
6714 ac_cv_prog_lex_root=lex.yy
6715 elif test -f lexyy.c; then
6716 ac_cv_prog_lex_root=lexyy
6718 - { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
6719 + { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
6720 +echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
6721 + { (exit 1); exit 1; }; }
6725 -echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
6726 +echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
6727 +echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
6729 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
6731 -echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
6732 -echo "configure:1501: checking whether yytext is a pointer" >&5
6733 -if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
6734 - echo $ac_n "(cached) $ac_c" 1>&6
6735 +echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
6736 +echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
6737 +if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
6738 + echo $ECHO_N "(cached) $ECHO_C" >&6
6740 # POSIX says lex can declare yytext either as a pointer or an array; the
6741 # default is implementation-dependent. Figure out which it is, since
6742 # not all implementations provide the %pointer and %array declarations.
6743 ac_cv_prog_lex_yytext_pointer=no
6744 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
6745 -ac_save_LIBS="$LIBS"
6747 LIBS="$LIBS $LEXLIB"
6748 -cat > conftest.$ac_ext <<EOF
6749 -#line 1513 "configure"
6750 -#include "confdefs.h"
6751 +cat >conftest.$ac_ext <<_ACEOF
6752 `cat $LEX_OUTPUT_ROOT.c`
6757 -if { (eval echo configure:1520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6760 +rm -f conftest.$ac_objext conftest$ac_exeext
6761 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6762 + (eval $ac_link) 2>&5
6764 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 + (exit $ac_status); } &&
6766 + { ac_try='test -s conftest$ac_exeext'
6767 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6768 + (eval $ac_try) 2>&5
6770 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6771 + (exit $ac_status); }; }; then
6772 ac_cv_prog_lex_yytext_pointer=yes
6774 - echo "configure: failed program was:" >&5
6775 - cat conftest.$ac_ext >&5
6776 + echo "$as_me: failed program was:" >&5
6777 +sed 's/^/| /' conftest.$ac_ext >&5
6781 -LIBS="$ac_save_LIBS"
6782 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6784 rm -f "${LEX_OUTPUT_ROOT}.c"
6788 -echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
6789 +echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
6790 +echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
6791 if test $ac_cv_prog_lex_yytext_pointer = yes; then
6792 - cat >> confdefs.h <<\EOF
6794 +cat >>confdefs.h <<\_ACEOF
6795 #define YYTEXT_POINTER 1
6803 for ac_prog in 'bison -y' byacc
6805 -# Extract the first word of "$ac_prog", so it can be a program name with args.
6806 + # Extract the first word of "$ac_prog", so it can be a program name with args.
6807 set dummy $ac_prog; ac_word=$2
6808 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6809 -echo "configure:1546: checking for $ac_word" >&5
6810 -if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6811 - echo $ac_n "(cached) $ac_c" 1>&6
6812 +echo "$as_me:$LINENO: checking for $ac_word" >&5
6813 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6814 +if test "${ac_cv_prog_YACC+set}" = set; then
6815 + echo $ECHO_N "(cached) $ECHO_C" >&6
6817 if test -n "$YACC"; then
6818 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6820 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
6822 - for ac_dir in $ac_dummy; do
6823 - test -z "$ac_dir" && ac_dir=.
6824 - if test -f $ac_dir/$ac_word; then
6825 - ac_cv_prog_YACC="$ac_prog"
6829 - IFS="$ac_save_ifs"
6830 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6831 +for as_dir in $PATH
6834 + test -z "$as_dir" && as_dir=.
6835 + for ac_exec_ext in '' $ac_executable_extensions; do
6836 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6837 + ac_cv_prog_YACC="$ac_prog"
6838 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6846 -YACC="$ac_cv_prog_YACC"
6847 +YACC=$ac_cv_prog_YACC
6848 if test -n "$YACC"; then
6849 - echo "$ac_t""$YACC" 1>&6
6850 + echo "$as_me:$LINENO: result: $YACC" >&5
6851 +echo "${ECHO_T}$YACC" >&6
6853 - echo "$ac_t""no" 1>&6
6854 + echo "$as_me:$LINENO: result: no" >&5
6855 +echo "${ECHO_T}no" >&6
6858 -test -n "$YACC" && break
6859 + test -n "$YACC" && break
6861 test -n "$YACC" || YACC="yacc"
6863 @@ -1579,126 +3029,77 @@
6864 # SunOS /usr/etc/install
6865 # IRIX /sbin/install
6867 +# AmigaOS /C/install, which installs bootblocks on floppy discs
6868 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6869 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6870 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6871 # ./install, which can be erroneously created by make from ./install.sh.
6872 -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6873 -echo "configure:1588: checking for a BSD compatible install" >&5
6874 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6875 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6876 if test -z "$INSTALL"; then
6877 -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6878 - echo $ac_n "(cached) $ac_c" 1>&6
6879 +if test "${ac_cv_path_install+set}" = set; then
6880 + echo $ECHO_N "(cached) $ECHO_C" >&6
6882 - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
6883 - for ac_dir in $PATH; do
6884 - # Account for people who put trailing slashes in PATH elements.
6885 - case "$ac_dir/" in
6886 - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
6888 - # OSF1 and SCO ODT 3.0 have their own names for install.
6889 - # Don't use installbsd from OSF since it installs stuff as root
6891 - for ac_prog in ginstall scoinst install; do
6892 - if test -f $ac_dir/$ac_prog; then
6893 - if test $ac_prog = install &&
6894 - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
6895 - # AIX install. It has an incompatible calling convention.
6898 - ac_cv_path_install="$ac_dir/$ac_prog -c"
6902 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6903 +for as_dir in $PATH
6906 + test -z "$as_dir" && as_dir=.
6907 + # Account for people who put trailing slashes in PATH elements.
6909 + ./ | .// | /cC/* | \
6910 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6913 + # OSF1 and SCO ODT 3.0 have their own names for install.
6914 + # Don't use installbsd from OSF since it installs stuff as root
6916 + for ac_prog in ginstall scoinst install; do
6917 + for ac_exec_ext in '' $ac_executable_extensions; do
6918 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6919 + if test $ac_prog = install &&
6920 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6921 + # AIX install. It has an incompatible calling convention.
6923 + elif test $ac_prog = install &&
6924 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6925 + # program-specific install script used by HP pwplus--don't use.
6928 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6936 - IFS="$ac_save_IFS"
6944 if test "${ac_cv_path_install+set}" = set; then
6945 - INSTALL="$ac_cv_path_install"
6946 + INSTALL=$ac_cv_path_install
6948 # As a last resort, use the slow shell script. We don't cache a
6949 # path for INSTALL within a source directory, because that will
6950 # break other packages using the cache if that directory is
6951 # removed, or if the path is relative.
6952 - INSTALL="$ac_install_sh"
6953 + INSTALL=$ac_install_sh
6956 -echo "$ac_t""$INSTALL" 1>&6
6957 +echo "$as_me:$LINENO: result: $INSTALL" >&5
6958 +echo "${ECHO_T}$INSTALL" >&6
6960 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6961 # It thinks the first close brace ends the variable substitution.
6962 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6964 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
6965 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6967 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6970 -echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
6971 -echo "configure:1642: checking for Cygwin environment" >&5
6972 -if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
6973 - echo $ac_n "(cached) $ac_c" 1>&6
6975 - cat > conftest.$ac_ext <<EOF
6976 -#line 1647 "configure"
6977 -#include "confdefs.h"
6982 -#define __CYGWIN__ __CYGWIN32__
6987 -if { (eval echo configure:1658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6991 - echo "configure: failed program was:" >&5
6992 - cat conftest.$ac_ext >&5
7000 -echo "$ac_t""$ac_cv_cygwin" 1>&6
7002 -test "$ac_cv_cygwin" = yes && CYGWIN=yes
7003 -echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
7004 -echo "configure:1675: checking for mingw32 environment" >&5
7005 -if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
7006 - echo $ac_n "(cached) $ac_c" 1>&6
7008 - cat > conftest.$ac_ext <<EOF
7009 -#line 1680 "configure"
7010 -#include "confdefs.h"
7013 -return __MINGW32__;
7016 -if { (eval echo configure:1687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7020 - echo "configure: failed program was:" >&5
7021 - cat conftest.$ac_ext >&5
7029 -echo "$ac_t""$ac_cv_mingw32" 1>&6
7031 -test "$ac_cv_mingw32" = yes && MINGW32=yes
7032 # Check whether --enable-shared or --disable-shared was given.
7033 if test "${enable_shared+set}" = set; then
7034 enableval="$enable_shared"
7035 @@ -1720,8 +3121,7 @@
7042 # Check whether --enable-static or --disable-static was given.
7043 if test "${enable_static+set}" = set; then
7044 enableval="$enable_static"
7045 @@ -1743,8 +3143,7 @@
7052 # Check whether --enable-fast-install or --disable-fast-install was given.
7053 if test "${enable_fast_install+set}" = set; then
7054 enableval="$enable_fast_install"
7055 @@ -1766,21 +3165,31 @@
7058 enable_fast_install=yes
7060 +# Find the correct PATH separator. Usually this is `:', but
7061 +# DJGPP uses `;' like DOS.
7062 +if test "X${PATH_SEPARATOR+set}" != Xset; then
7063 + UNAME=${UNAME-`uname 2>/dev/null`}
7065 + *-DOS) lt_cv_sys_path_separator=';' ;;
7066 + *) lt_cv_sys_path_separator=':' ;;
7068 + PATH_SEPARATOR=$lt_cv_sys_path_separator
7072 # Check whether --with-gnu-ld or --without-gnu-ld was given.
7073 if test "${with_gnu_ld+set}" = set; then
7074 withval="$with_gnu_ld"
7075 test "$withval" = no || with_gnu_ld=yes
7082 if test "$GCC" = yes; then
7083 # Check if gcc -print-prog-name=ld gives a path.
7084 - echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
7085 -echo "configure:1784: checking for ld used by GCC" >&5
7086 + echo "$as_me:$LINENO: checking for ld used by GCC" >&5
7087 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
7090 # gcc leaves a trailing carriage return which upsets mingw
7091 @@ -1809,17 +3218,17 @@
7094 elif test "$with_gnu_ld" = yes; then
7095 - echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
7096 -echo "configure:1814: checking for GNU ld" >&5
7097 + echo "$as_me:$LINENO: checking for GNU ld" >&5
7098 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
7100 - echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
7101 -echo "configure:1817: checking for non-GNU ld" >&5
7102 + echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7103 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
7105 -if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
7106 - echo $ac_n "(cached) $ac_c" 1>&6
7107 +if test "${lt_cv_path_LD+set}" = set; then
7108 + echo $ECHO_N "(cached) $ECHO_C" >&6
7110 if test -z "$LD"; then
7111 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
7112 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7113 for ac_dir in $PATH; do
7114 test -z "$ac_dir" && ac_dir=.
7115 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7116 @@ -1842,15 +3251,19 @@
7119 if test -n "$LD"; then
7120 - echo "$ac_t""$LD" 1>&6
7121 + echo "$as_me:$LINENO: result: $LD" >&5
7122 +echo "${ECHO_T}$LD" >&6
7124 - echo "$ac_t""no" 1>&6
7125 + echo "$as_me:$LINENO: result: no" >&5
7126 +echo "${ECHO_T}no" >&6
7128 -test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
7129 -echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
7130 -echo "configure:1852: checking if the linker ($LD) is GNU ld" >&5
7131 -if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
7132 - echo $ac_n "(cached) $ac_c" 1>&6
7133 +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7134 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7135 + { (exit 1); exit 1; }; }
7136 +echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7137 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
7138 +if test "${lt_cv_prog_gnu_ld+set}" = set; then
7139 + echo $ECHO_N "(cached) $ECHO_C" >&6
7141 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7142 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
7143 @@ -1859,33 +3272,33 @@
7144 lt_cv_prog_gnu_ld=no
7148 -echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
7149 +echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
7150 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
7151 with_gnu_ld=$lt_cv_prog_gnu_ld
7154 -echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
7155 -echo "configure:1869: checking for $LD option to reload object files" >&5
7156 -if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
7157 - echo $ac_n "(cached) $ac_c" 1>&6
7158 +echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7159 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
7160 +if test "${lt_cv_ld_reload_flag+set}" = set; then
7161 + echo $ECHO_N "(cached) $ECHO_C" >&6
7163 lt_cv_ld_reload_flag='-r'
7166 -echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
7167 +echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7168 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
7169 reload_flag=$lt_cv_ld_reload_flag
7170 test -n "$reload_flag" && reload_flag=" $reload_flag"
7172 -echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
7173 -echo "configure:1881: checking for BSD-compatible nm" >&5
7174 -if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
7175 - echo $ac_n "(cached) $ac_c" 1>&6
7176 +echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
7177 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
7178 +if test "${lt_cv_path_NM+set}" = set; then
7179 + echo $ECHO_N "(cached) $ECHO_C" >&6
7181 if test -n "$NM"; then
7182 # Let the user override the test.
7185 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
7186 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7187 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
7188 test -z "$ac_dir" && ac_dir=.
7189 tmp_nm=$ac_dir/${ac_tool_prefix}nm
7190 @@ -1912,33 +3325,109 @@
7194 -echo "$ac_t""$NM" 1>&6
7195 +echo "$as_me:$LINENO: result: $NM" >&5
7196 +echo "${ECHO_T}$NM" >&6
7198 +echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7199 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
7200 +if test "${lt_cv_path_SED+set}" = set; then
7201 + echo $ECHO_N "(cached) $ECHO_C" >&6
7203 + # Loop through the user's path and test for sed and gsed.
7204 +# Then use that list of sed's as ones to test for truncation.
7205 +as_executable_p="test -f"
7206 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7207 +for as_dir in $PATH
7210 + test -z "$as_dir" && as_dir=.
7211 + for ac_prog in sed gsed; do
7212 + for ac_exec_ext in '' $ac_executable_extensions; do
7213 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7214 + _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
7220 + # Create a temporary directory, and hook for its removal unless debugging.
7223 + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7224 + trap '{ (exit 1); exit 1; }' 1 2 13 15
7227 +# Create a (secure) tmp directory for tmp files.
7230 + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
7231 + test -n "$tmp" && test -d "$tmp"
7234 + tmp=$TMPDIR/sed$$-$RANDOM
7235 + (umask 077 && mkdir $tmp)
7238 + echo "$me: cannot create a temporary directory in $TMPDIR" >&2
7239 + { (exit 1); exit 1; }
7243 + # Add /usr/xpg4/bin/sed as it is typically found on Solaris
7244 + # along with /bin/sed that truncates output.
7245 + for _sed in $_sed_list /usr/xpg4/bin/sed; do
7246 + test ! -f ${_sed} && break
7247 + cat /dev/null > "$tmp/sed.in"
7249 + echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
7250 + # Check for GNU sed and select it if it is found.
7251 + if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
7252 + lt_cv_path_SED=${_sed}
7256 + cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
7257 + mv "$tmp/sed.tmp" "$tmp/sed.in"
7258 + cp "$tmp/sed.in" "$tmp/sed.nl"
7259 + echo >>"$tmp/sed.nl"
7260 + ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
7261 + cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
7262 + # 40000 chars as input seems more than enough
7263 + test $_count -gt 10 && break
7264 + _count=`expr $_count + 1`
7265 + if test $_count -gt $_max; then
7267 + lt_cv_path_SED=$_sed
7273 -echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
7274 -echo "configure:1919: checking whether ln -s works" >&5
7275 -if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
7276 - echo $ac_n "(cached) $ac_c" 1>&6
7278 - rm -f conftestdata
7279 -if ln -s X conftestdata 2>/dev/null
7281 - rm -f conftestdata
7282 - ac_cv_prog_LN_S="ln -s"
7284 - ac_cv_prog_LN_S=ln
7287 +if test "X$SED" != "X"; then
7288 + lt_cv_path_SED=$SED
7290 + SED=$lt_cv_path_SED
7292 -LN_S="$ac_cv_prog_LN_S"
7293 -if test "$ac_cv_prog_LN_S" = "ln -s"; then
7294 - echo "$ac_t""yes" 1>&6
7295 +echo "$as_me:$LINENO: result: $SED" >&5
7296 +echo "${ECHO_T}$SED" >&6
7298 +echo "$as_me:$LINENO: checking whether ln -s works" >&5
7299 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
7301 +if test "$LN_S" = "ln -s"; then
7302 + echo "$as_me:$LINENO: result: yes" >&5
7303 +echo "${ECHO_T}yes" >&6
7305 - echo "$ac_t""no" 1>&6
7306 + echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7307 +echo "${ECHO_T}no, using $LN_S" >&6
7310 -echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
7311 -echo "configure:1940: checking how to recognise dependant libraries" >&5
7312 -if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
7313 - echo $ac_n "(cached) $ac_c" 1>&6
7314 +echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
7315 +echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
7316 +if test "${lt_cv_deplibs_check_method+set}" = set; then
7317 + echo $ECHO_N "(cached) $ECHO_C" >&6
7319 lt_cv_file_magic_cmd='$MAGIC_CMD'
7320 lt_cv_file_magic_test_file=
7321 @@ -1949,7 +3438,7 @@
7322 # `unknown' -- same as none, but documents that we really don't know.
7323 # 'pass_all' -- all dependencies passed with no checks.
7324 # 'test_compile' -- check by making test program.
7325 -# ['file_magic [regex]'] -- check by looking for files in library path
7326 +# 'file_magic [[regex]]' -- check by looking for files in library path
7327 # which responds to the $file_magic_cmd with a given egrep regex.
7328 # If you have `file' or equivalent on your system and you're not sure
7329 # whether `pass_all' will *always* work, you probably want this one.
7330 @@ -1978,7 +3467,7 @@
7331 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
7332 lt_cv_file_magic_cmd='/usr/bin/file -L'
7334 - rhapsody* | darwin1.012)
7335 + rhapsody* | darwin1.[012])
7336 lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
7339 @@ -2013,9 +3502,9 @@
7340 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7344 +irix5* | irix6* | nonstopux*)
7347 + irix5* | nonstopux*)
7348 # this will be overridden with pass_all, but let us keep it just in case
7349 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
7351 @@ -2037,7 +3526,7 @@
7352 # This must be Linux ELF.
7355 - alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* )
7356 + alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | arm* | m68k)
7357 lt_cv_deplibs_check_method=pass_all ;;
7359 # glibc up to 2.1.1 does not perform some relocations on ARM
7360 @@ -2060,6 +3549,16 @@
7361 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7365 + lt_cv_file_magic_cmd=/usr/bin/file
7366 + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7367 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7368 + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
7370 + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
7374 osf3* | osf4* | osf5*)
7375 # this will be overridden with pass_all, but let us keep it just in case
7376 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
7377 @@ -2098,89 +3597,32 @@
7378 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7379 lt_cv_file_magic_test_file=/lib/libc.so
7382 + lt_cv_deplibs_check_method=pass_all
7390 -echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
7391 +echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7392 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
7393 file_magic_cmd=$lt_cv_file_magic_cmd
7394 deplibs_check_method=$lt_cv_deplibs_check_method
7396 -echo $ac_n "checking for object suffix""... $ac_c" 1>&6
7397 -echo "configure:2113: checking for object suffix" >&5
7398 -if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
7399 - echo $ac_n "(cached) $ac_c" 1>&6
7402 -echo 'int i = 1;' > conftest.$ac_ext
7403 -if { (eval echo configure:2119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7404 - for ac_file in conftest.*; do
7407 - *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
7411 - { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
7416 -echo "$ac_t""$ac_cv_objext" 1>&6
7417 -OBJEXT=$ac_cv_objext
7418 -ac_objext=$ac_cv_objext
7422 -echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
7423 -echo "configure:2139: checking for executable suffix" >&5
7424 -if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
7425 - echo $ac_n "(cached) $ac_c" 1>&6
7427 - if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
7431 - echo 'int main () { return 0; }' > conftest.$ac_ext
7433 - if { (eval echo configure:2149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
7434 - for file in conftest.*; do
7436 - *.c | *.o | *.obj) ;;
7437 - *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
7441 - { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
7444 - test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
7449 -test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
7450 -echo "$ac_t""${ac_cv_exeext}" 1>&6
7453 -if test $host != $build; then
7454 - ac_tool_prefix=${host_alias}-
7462 # Check for command to grab the raw symbol name followed by C symbol from nm.
7463 -echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6
7464 -echo "configure:2180: checking command to parse $NM output" >&5
7465 -if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then
7466 - echo $ac_n "(cached) $ac_c" 1>&6
7467 +echo "$as_me:$LINENO: checking command to parse $NM output" >&5
7468 +echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
7469 +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7470 + echo $ECHO_N "(cached) $ECHO_C" >&6
7474 # These are sane defaults that work on at least a few old systems.
7475 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7477 @@ -2196,6 +3638,9 @@
7478 # Transform an extracted symbol line into a proper C declaration
7479 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
7481 +# Transform an extracted symbol line into symbol name and symbol address
7482 +lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7484 # Define system-specific variables.
7487 @@ -2206,10 +3651,14 @@
7489 hpux*) # Its linker distinguishes data from code symbols
7490 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7491 + lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7494 +irix* | nonstopux*)
7495 symcode='[BCDEGRST]'
7498 + symcode='[BCDEGQRST]'
7503 @@ -2252,10 +3701,18 @@
7504 int main(){nm_test_var='a';nm_test_func();return(0);}
7507 - if { (eval echo configure:2256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7508 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7509 + (eval $ac_compile) 2>&5
7511 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 + (exit $ac_status); }; then
7513 # Now try to grab the symbols.
7515 - if { (eval echo configure:2259: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
7516 + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7517 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7519 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 + (exit $ac_status); } && test -s "$nlist"; then
7521 # Try sorting and uniquifying the output.
7522 if sort "$nlist" | uniq > "$nlist"T; then
7523 mv -f "$nlist"T "$nlist"
7524 @@ -2277,23 +3734,23 @@
7526 cat <<EOF >> conftest.$ac_ext
7527 #if defined (__STDC__) && __STDC__
7528 -# define lt_ptr_t void *
7529 +# define lt_ptr void *
7531 -# define lt_ptr_t char *
7532 +# define lt_ptr char *
7536 /* The mapping between symbol names and symbols. */
7542 lt_preloaded_symbols[] =
7545 - sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
7546 + sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
7547 cat <<\EOF >> conftest.$ac_ext
7553 @@ -2306,7 +3763,11 @@
7554 save_CFLAGS="$CFLAGS"
7555 LIBS="conftstm.$ac_objext"
7556 CFLAGS="$CFLAGS$no_builtin_flag"
7557 - if { (eval echo configure:2310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7558 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7559 + (eval $ac_link) 2>&5
7561 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7562 + (exit $ac_status); } && test -s conftest$ac_exeext; then
7566 @@ -2339,84 +3800,665 @@
7567 global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
7568 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7569 global_symbol_to_cdecl=
7570 + global_symbol_to_c_name_address=
7572 global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
7573 + global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
7575 -if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then
7576 - echo "$ac_t""failed" 1>&6
7577 +if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
7579 + echo "$as_me:$LINENO: result: failed" >&5
7580 +echo "${ECHO_T}failed" >&6
7582 - echo "$ac_t""ok" 1>&6
7583 + echo "$as_me:$LINENO: result: ok" >&5
7584 +echo "${ECHO_T}ok" >&6
7587 -for ac_hdr in dlfcn.h
7589 +ac_cpp='$CPP $CPPFLAGS'
7590 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7591 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7592 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7593 +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7594 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
7595 +# On Suns, sometimes $CPP names a directory.
7596 +if test -n "$CPP" && test -d "$CPP"; then
7599 +if test -z "$CPP"; then
7600 + if test "${ac_cv_prog_CPP+set}" = set; then
7601 + echo $ECHO_N "(cached) $ECHO_C" >&6
7603 + # Double quotes because CPP needs to be expanded
7604 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7606 + ac_preproc_ok=false
7607 +for ac_c_preproc_warn_flag in '' yes
7609 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7610 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7611 -echo "configure:2356: checking for $ac_hdr" >&5
7612 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7613 - echo $ac_n "(cached) $ac_c" 1>&6
7614 + # Use a header file that comes with gcc, so configuring glibc
7615 + # with a fresh cross-compiler works.
7616 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7617 + # <limits.h> exists even on freestanding compilers.
7618 + # On the NeXT, cc -E runs the code through the compiler's parser,
7619 + # not just through cpp. "Syntax error" is here to catch this case.
7620 + cat >conftest.$ac_ext <<_ACEOF
7621 +#line $LINENO "configure"
7624 +cat confdefs.h >>conftest.$ac_ext
7625 +cat >>conftest.$ac_ext <<_ACEOF
7626 +/* end confdefs.h. */
7628 +# include <limits.h>
7630 +# include <assert.h>
7634 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7635 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7637 + grep -v '^ *+' conftest.er1 >conftest.err
7638 + rm -f conftest.er1
7639 + cat conftest.err >&5
7640 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641 + (exit $ac_status); } >/dev/null; then
7642 + if test -s conftest.err; then
7643 + ac_cpp_err=$ac_c_preproc_warn_flag
7648 - cat > conftest.$ac_ext <<EOF
7649 -#line 2361 "configure"
7650 -#include "confdefs.h"
7653 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7654 -{ (eval echo configure:2366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7655 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7656 -if test -z "$ac_err"; then
7658 - eval "ac_cv_header_$ac_safe=yes"
7661 +if test -z "$ac_cpp_err"; then
7664 - echo "$ac_err" >&5
7665 - echo "configure: failed program was:" >&5
7666 - cat conftest.$ac_ext >&5
7668 - eval "ac_cv_header_$ac_safe=no"
7669 + echo "$as_me: failed program was:" >&5
7670 +sed 's/^/| /' conftest.$ac_ext >&5
7672 + # Broken: fails on valid input.
7676 +rm -f conftest.err conftest.$ac_ext
7678 + # OK, works on sane cases. Now check whether non-existent headers
7679 + # can be detected and how.
7680 + cat >conftest.$ac_ext <<_ACEOF
7681 +#line $LINENO "configure"
7684 +cat confdefs.h >>conftest.$ac_ext
7685 +cat >>conftest.$ac_ext <<_ACEOF
7686 +/* end confdefs.h. */
7687 +#include <ac_nonexistent.h>
7689 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7690 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7692 + grep -v '^ *+' conftest.er1 >conftest.err
7693 + rm -f conftest.er1
7694 + cat conftest.err >&5
7695 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7696 + (exit $ac_status); } >/dev/null; then
7697 + if test -s conftest.err; then
7698 + ac_cpp_err=$ac_c_preproc_warn_flag
7705 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7706 - echo "$ac_t""yes" 1>&6
7707 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7708 - cat >> confdefs.h <<EOF
7709 -#define $ac_tr_hdr 1
7712 +if test -z "$ac_cpp_err"; then
7713 + # Broken: success on invalid input.
7716 - echo "$ac_t""no" 1>&6
7717 + echo "$as_me: failed program was:" >&5
7718 +sed 's/^/| /' conftest.$ac_ext >&5
7720 + # Passes both tests.
7724 +rm -f conftest.err conftest.$ac_ext
7727 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7728 +rm -f conftest.err conftest.$ac_ext
7729 +if $ac_preproc_ok; then
7734 + ac_cv_prog_CPP=$CPP
7737 + CPP=$ac_cv_prog_CPP
7739 + ac_cv_prog_CPP=$CPP
7741 +echo "$as_me:$LINENO: result: $CPP" >&5
7742 +echo "${ECHO_T}$CPP" >&6
7743 +ac_preproc_ok=false
7744 +for ac_c_preproc_warn_flag in '' yes
7746 + # Use a header file that comes with gcc, so configuring glibc
7747 + # with a fresh cross-compiler works.
7748 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7749 + # <limits.h> exists even on freestanding compilers.
7750 + # On the NeXT, cc -E runs the code through the compiler's parser,
7751 + # not just through cpp. "Syntax error" is here to catch this case.
7752 + cat >conftest.$ac_ext <<_ACEOF
7753 +#line $LINENO "configure"
7756 +cat confdefs.h >>conftest.$ac_ext
7757 +cat >>conftest.$ac_ext <<_ACEOF
7758 +/* end confdefs.h. */
7760 +# include <limits.h>
7762 +# include <assert.h>
7766 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7767 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7769 + grep -v '^ *+' conftest.er1 >conftest.err
7770 + rm -f conftest.er1
7771 + cat conftest.err >&5
7772 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7773 + (exit $ac_status); } >/dev/null; then
7774 + if test -s conftest.err; then
7775 + ac_cpp_err=$ac_c_preproc_warn_flag
7782 +if test -z "$ac_cpp_err"; then
7785 + echo "$as_me: failed program was:" >&5
7786 +sed 's/^/| /' conftest.$ac_ext >&5
7788 + # Broken: fails on valid input.
7791 +rm -f conftest.err conftest.$ac_ext
7793 + # OK, works on sane cases. Now check whether non-existent headers
7794 + # can be detected and how.
7795 + cat >conftest.$ac_ext <<_ACEOF
7796 +#line $LINENO "configure"
7799 +cat confdefs.h >>conftest.$ac_ext
7800 +cat >>conftest.$ac_ext <<_ACEOF
7801 +/* end confdefs.h. */
7802 +#include <ac_nonexistent.h>
7804 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7805 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7807 + grep -v '^ *+' conftest.er1 >conftest.err
7808 + rm -f conftest.er1
7809 + cat conftest.err >&5
7810 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 + (exit $ac_status); } >/dev/null; then
7812 + if test -s conftest.err; then
7813 + ac_cpp_err=$ac_c_preproc_warn_flag
7820 +if test -z "$ac_cpp_err"; then
7821 + # Broken: success on invalid input.
7824 + echo "$as_me: failed program was:" >&5
7825 +sed 's/^/| /' conftest.$ac_ext >&5
7827 + # Passes both tests.
7831 +rm -f conftest.err conftest.$ac_ext
7833 -# Only perform the check for file, if the check method requires it
7834 -case $deplibs_check_method in
7836 - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7837 - echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
7838 -echo "configure:2401: checking for ${ac_tool_prefix}file" >&5
7839 -if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
7840 - echo $ac_n "(cached) $ac_c" 1>&6
7842 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7843 +rm -f conftest.err conftest.$ac_ext
7844 +if $ac_preproc_ok; then
7847 - case $MAGIC_CMD in
7849 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7852 - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
7855 - ac_save_MAGIC_CMD="$MAGIC_CMD"
7856 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7857 - ac_dummy="/usr/bin:$PATH"
7858 - for ac_dir in $ac_dummy; do
7859 - test -z "$ac_dir" && ac_dir=.
7860 - if test -f $ac_dir/${ac_tool_prefix}file; then
7861 - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7862 - if test -n "$file_magic_test_file"; then
7863 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7864 +See \`config.log' for more details." >&5
7865 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7866 +See \`config.log' for more details." >&2;}
7867 + { (exit 1); exit 1; }; }
7871 +ac_cpp='$CPP $CPPFLAGS'
7872 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7873 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7874 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
7877 +echo "$as_me:$LINENO: checking for egrep" >&5
7878 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7879 +if test "${ac_cv_prog_egrep+set}" = set; then
7880 + echo $ECHO_N "(cached) $ECHO_C" >&6
7882 + if echo a | (grep -E '(a|b)') >/dev/null 2>&1
7883 + then ac_cv_prog_egrep='grep -E'
7884 + else ac_cv_prog_egrep='egrep'
7887 +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7888 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7889 + EGREP=$ac_cv_prog_egrep
7892 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7893 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7894 +if test "${ac_cv_header_stdc+set}" = set; then
7895 + echo $ECHO_N "(cached) $ECHO_C" >&6
7897 + cat >conftest.$ac_ext <<_ACEOF
7898 +#line $LINENO "configure"
7901 +cat confdefs.h >>conftest.$ac_ext
7902 +cat >>conftest.$ac_ext <<_ACEOF
7903 +/* end confdefs.h. */
7904 +#include <stdlib.h>
7905 +#include <stdarg.h>
7906 +#include <string.h>
7917 +rm -f conftest.$ac_objext
7918 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7919 + (eval $ac_compile) 2>&5
7921 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7922 + (exit $ac_status); } &&
7923 + { ac_try='test -s conftest.$ac_objext'
7924 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7925 + (eval $ac_try) 2>&5
7927 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7928 + (exit $ac_status); }; }; then
7929 + ac_cv_header_stdc=yes
7931 + echo "$as_me: failed program was:" >&5
7932 +sed 's/^/| /' conftest.$ac_ext >&5
7934 +ac_cv_header_stdc=no
7936 +rm -f conftest.$ac_objext conftest.$ac_ext
7938 +if test $ac_cv_header_stdc = yes; then
7939 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7940 + cat >conftest.$ac_ext <<_ACEOF
7941 +#line $LINENO "configure"
7944 +cat confdefs.h >>conftest.$ac_ext
7945 +cat >>conftest.$ac_ext <<_ACEOF
7946 +/* end confdefs.h. */
7947 +#include <string.h>
7950 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7951 + $EGREP "memchr" >/dev/null 2>&1; then
7954 + ac_cv_header_stdc=no
7960 +if test $ac_cv_header_stdc = yes; then
7961 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7962 + cat >conftest.$ac_ext <<_ACEOF
7963 +#line $LINENO "configure"
7966 +cat confdefs.h >>conftest.$ac_ext
7967 +cat >>conftest.$ac_ext <<_ACEOF
7968 +/* end confdefs.h. */
7969 +#include <stdlib.h>
7972 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7973 + $EGREP "free" >/dev/null 2>&1; then
7976 + ac_cv_header_stdc=no
7982 +if test $ac_cv_header_stdc = yes; then
7983 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7984 + if test "$cross_compiling" = yes; then
7987 + cat >conftest.$ac_ext <<_ACEOF
7988 +#line $LINENO "configure"
7991 +cat confdefs.h >>conftest.$ac_ext
7992 +cat >>conftest.$ac_ext <<_ACEOF
7993 +/* end confdefs.h. */
7995 +#if ((' ' & 0x0FF) == 0x020)
7996 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7997 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7999 +# define ISLOWER(c) \
8000 + (('a' <= (c) && (c) <= 'i') \
8001 + || ('j' <= (c) && (c) <= 'r') \
8002 + || ('s' <= (c) && (c) <= 'z'))
8003 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8006 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8011 + for (i = 0; i < 256; i++)
8012 + if (XOR (islower (i), ISLOWER (i))
8013 + || toupper (i) != TOUPPER (i))
8018 +rm -f conftest$ac_exeext
8019 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8020 + (eval $ac_link) 2>&5
8022 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8024 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8025 + (eval $ac_try) 2>&5
8027 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8028 + (exit $ac_status); }; }; then
8031 + echo "$as_me: program exited with status $ac_status" >&5
8032 +echo "$as_me: failed program was:" >&5
8033 +sed 's/^/| /' conftest.$ac_ext >&5
8035 +( exit $ac_status )
8036 +ac_cv_header_stdc=no
8038 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8042 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8043 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
8044 +if test $ac_cv_header_stdc = yes; then
8046 +cat >>confdefs.h <<\_ACEOF
8047 +#define STDC_HEADERS 1
8052 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8062 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8063 + inttypes.h stdint.h unistd.h
8065 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8066 +echo "$as_me:$LINENO: checking for $ac_header" >&5
8067 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8068 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
8069 + echo $ECHO_N "(cached) $ECHO_C" >&6
8071 + cat >conftest.$ac_ext <<_ACEOF
8072 +#line $LINENO "configure"
8075 +cat confdefs.h >>conftest.$ac_ext
8076 +cat >>conftest.$ac_ext <<_ACEOF
8077 +/* end confdefs.h. */
8078 +$ac_includes_default
8080 +#include <$ac_header>
8082 +rm -f conftest.$ac_objext
8083 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8084 + (eval $ac_compile) 2>&5
8086 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087 + (exit $ac_status); } &&
8088 + { ac_try='test -s conftest.$ac_objext'
8089 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8090 + (eval $ac_try) 2>&5
8092 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093 + (exit $ac_status); }; }; then
8094 + eval "$as_ac_Header=yes"
8096 + echo "$as_me: failed program was:" >&5
8097 +sed 's/^/| /' conftest.$ac_ext >&5
8099 +eval "$as_ac_Header=no"
8101 +rm -f conftest.$ac_objext conftest.$ac_ext
8103 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8104 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8105 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
8106 + cat >>confdefs.h <<_ACEOF
8107 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8116 +for ac_header in dlfcn.h
8118 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8119 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
8120 + echo "$as_me:$LINENO: checking for $ac_header" >&5
8121 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8122 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
8123 + echo $ECHO_N "(cached) $ECHO_C" >&6
8125 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8126 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8128 + # Is the header compilable?
8129 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
8130 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8131 +cat >conftest.$ac_ext <<_ACEOF
8132 +#line $LINENO "configure"
8135 +cat confdefs.h >>conftest.$ac_ext
8136 +cat >>conftest.$ac_ext <<_ACEOF
8137 +/* end confdefs.h. */
8138 +$ac_includes_default
8139 +#include <$ac_header>
8141 +rm -f conftest.$ac_objext
8142 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8143 + (eval $ac_compile) 2>&5
8145 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 + (exit $ac_status); } &&
8147 + { ac_try='test -s conftest.$ac_objext'
8148 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8149 + (eval $ac_try) 2>&5
8151 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 + (exit $ac_status); }; }; then
8153 + ac_header_compiler=yes
8155 + echo "$as_me: failed program was:" >&5
8156 +sed 's/^/| /' conftest.$ac_ext >&5
8158 +ac_header_compiler=no
8160 +rm -f conftest.$ac_objext conftest.$ac_ext
8161 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8162 +echo "${ECHO_T}$ac_header_compiler" >&6
8164 +# Is the header present?
8165 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
8166 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8167 +cat >conftest.$ac_ext <<_ACEOF
8168 +#line $LINENO "configure"
8171 +cat confdefs.h >>conftest.$ac_ext
8172 +cat >>conftest.$ac_ext <<_ACEOF
8173 +/* end confdefs.h. */
8174 +#include <$ac_header>
8176 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8177 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8179 + grep -v '^ *+' conftest.er1 >conftest.err
8180 + rm -f conftest.er1
8181 + cat conftest.err >&5
8182 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 + (exit $ac_status); } >/dev/null; then
8184 + if test -s conftest.err; then
8185 + ac_cpp_err=$ac_c_preproc_warn_flag
8192 +if test -z "$ac_cpp_err"; then
8193 + ac_header_preproc=yes
8195 + echo "$as_me: failed program was:" >&5
8196 +sed 's/^/| /' conftest.$ac_ext >&5
8198 + ac_header_preproc=no
8200 +rm -f conftest.err conftest.$ac_ext
8201 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8202 +echo "${ECHO_T}$ac_header_preproc" >&6
8204 +# So? What about this header?
8205 +case $ac_header_compiler:$ac_header_preproc in
8207 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8208 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8209 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8210 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8213 +## ------------------------------------ ##
8214 +## Report this to bug-autoconf@gnu.org. ##
8215 +## ------------------------------------ ##
8218 + sed "s/^/$as_me: WARNING: /" >&2
8221 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8222 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8223 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8224 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8225 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8226 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8229 +## ------------------------------------ ##
8230 +## Report this to bug-autoconf@gnu.org. ##
8231 +## ------------------------------------ ##
8234 + sed "s/^/$as_me: WARNING: /" >&2
8237 +echo "$as_me:$LINENO: checking for $ac_header" >&5
8238 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8239 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
8240 + echo $ECHO_N "(cached) $ECHO_C" >&6
8242 + eval "$as_ac_Header=$ac_header_preproc"
8244 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8245 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8248 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
8249 + cat >>confdefs.h <<_ACEOF
8250 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8262 +# Only perform the check for file, if the check method requires it
8263 +case $deplibs_check_method in
8265 + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8266 + echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8267 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
8268 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8269 + echo $ECHO_N "(cached) $ECHO_C" >&6
8271 + case $MAGIC_CMD in
8273 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8276 + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
8279 + ac_save_MAGIC_CMD="$MAGIC_CMD"
8280 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8281 + ac_dummy="/usr/bin:$PATH"
8282 + for ac_dir in $ac_dummy; do
8283 + test -z "$ac_dir" && ac_dir=.
8284 + if test -f $ac_dir/${ac_tool_prefix}file; then
8285 + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8286 + if test -n "$file_magic_test_file"; then
8287 case $deplibs_check_method in
8289 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
8290 @@ -2451,17 +4493,19 @@
8292 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8293 if test -n "$MAGIC_CMD"; then
8294 - echo "$ac_t""$MAGIC_CMD" 1>&6
8295 + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8296 +echo "${ECHO_T}$MAGIC_CMD" >&6
8298 - echo "$ac_t""no" 1>&6
8299 + echo "$as_me:$LINENO: result: no" >&5
8300 +echo "${ECHO_T}no" >&6
8303 if test -z "$lt_cv_path_MAGIC_CMD"; then
8304 if test -n "$ac_tool_prefix"; then
8305 - echo $ac_n "checking for file""... $ac_c" 1>&6
8306 -echo "configure:2463: checking for file" >&5
8307 -if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
8308 - echo $ac_n "(cached) $ac_c" 1>&6
8309 + echo "$as_me:$LINENO: checking for file" >&5
8310 +echo $ECHO_N "checking for file... $ECHO_C" >&6
8311 +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8312 + echo $ECHO_N "(cached) $ECHO_C" >&6
8316 @@ -2513,9 +4557,11 @@
8318 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8319 if test -n "$MAGIC_CMD"; then
8320 - echo "$ac_t""$MAGIC_CMD" 1>&6
8321 + echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8322 +echo "${ECHO_T}$MAGIC_CMD" >&6
8324 - echo "$ac_t""no" 1>&6
8325 + echo "$as_me:$LINENO: result: no" >&5
8326 +echo "${ECHO_T}no" >&6
8330 @@ -2527,138 +4573,164 @@
8334 -# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8335 +if test -n "$ac_tool_prefix"; then
8336 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8337 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8338 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8339 -echo "configure:2534: checking for $ac_word" >&5
8340 -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8341 - echo $ac_n "(cached) $ac_c" 1>&6
8342 +echo "$as_me:$LINENO: checking for $ac_word" >&5
8343 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8344 +if test "${ac_cv_prog_RANLIB+set}" = set; then
8345 + echo $ECHO_N "(cached) $ECHO_C" >&6
8347 if test -n "$RANLIB"; then
8348 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8350 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8352 - for ac_dir in $ac_dummy; do
8353 - test -z "$ac_dir" && ac_dir=.
8354 - if test -f $ac_dir/$ac_word; then
8355 - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8359 - IFS="$ac_save_ifs"
8360 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8361 +for as_dir in $PATH
8364 + test -z "$as_dir" && as_dir=.
8365 + for ac_exec_ext in '' $ac_executable_extensions; do
8366 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8367 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8368 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8376 -RANLIB="$ac_cv_prog_RANLIB"
8377 +RANLIB=$ac_cv_prog_RANLIB
8378 if test -n "$RANLIB"; then
8379 - echo "$ac_t""$RANLIB" 1>&6
8380 + echo "$as_me:$LINENO: result: $RANLIB" >&5
8381 +echo "${ECHO_T}$RANLIB" >&6
8383 - echo "$ac_t""no" 1>&6
8384 + echo "$as_me:$LINENO: result: no" >&5
8385 +echo "${ECHO_T}no" >&6
8390 if test -z "$ac_cv_prog_RANLIB"; then
8391 -if test -n "$ac_tool_prefix"; then
8392 + ac_ct_RANLIB=$RANLIB
8393 # Extract the first word of "ranlib", so it can be a program name with args.
8394 set dummy ranlib; ac_word=$2
8395 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8396 -echo "configure:2566: checking for $ac_word" >&5
8397 -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8398 - echo $ac_n "(cached) $ac_c" 1>&6
8399 +echo "$as_me:$LINENO: checking for $ac_word" >&5
8400 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8401 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8402 + echo $ECHO_N "(cached) $ECHO_C" >&6
8404 - if test -n "$RANLIB"; then
8405 - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8406 + if test -n "$ac_ct_RANLIB"; then
8407 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8409 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8411 - for ac_dir in $ac_dummy; do
8412 - test -z "$ac_dir" && ac_dir=.
8413 - if test -f $ac_dir/$ac_word; then
8414 - ac_cv_prog_RANLIB="ranlib"
8418 - IFS="$ac_save_ifs"
8419 - test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
8420 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8421 +for as_dir in $PATH
8424 + test -z "$as_dir" && as_dir=.
8425 + for ac_exec_ext in '' $ac_executable_extensions; do
8426 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8427 + ac_cv_prog_ac_ct_RANLIB="ranlib"
8428 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8434 + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
8437 -RANLIB="$ac_cv_prog_RANLIB"
8438 -if test -n "$RANLIB"; then
8439 - echo "$ac_t""$RANLIB" 1>&6
8440 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8441 +if test -n "$ac_ct_RANLIB"; then
8442 + echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8443 +echo "${ECHO_T}$ac_ct_RANLIB" >&6
8445 - echo "$ac_t""no" 1>&6
8446 + echo "$as_me:$LINENO: result: no" >&5
8447 +echo "${ECHO_T}no" >&6
8450 + RANLIB=$ac_ct_RANLIB
8454 + RANLIB="$ac_cv_prog_RANLIB"
8457 -# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8458 +if test -n "$ac_tool_prefix"; then
8459 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8460 set dummy ${ac_tool_prefix}strip; ac_word=$2
8461 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8462 -echo "configure:2601: checking for $ac_word" >&5
8463 -if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8464 - echo $ac_n "(cached) $ac_c" 1>&6
8465 +echo "$as_me:$LINENO: checking for $ac_word" >&5
8466 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8467 +if test "${ac_cv_prog_STRIP+set}" = set; then
8468 + echo $ECHO_N "(cached) $ECHO_C" >&6
8470 if test -n "$STRIP"; then
8471 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8473 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8475 - for ac_dir in $ac_dummy; do
8476 - test -z "$ac_dir" && ac_dir=.
8477 - if test -f $ac_dir/$ac_word; then
8478 - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8482 - IFS="$ac_save_ifs"
8483 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8484 +for as_dir in $PATH
8487 + test -z "$as_dir" && as_dir=.
8488 + for ac_exec_ext in '' $ac_executable_extensions; do
8489 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8490 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8491 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8499 -STRIP="$ac_cv_prog_STRIP"
8500 +STRIP=$ac_cv_prog_STRIP
8501 if test -n "$STRIP"; then
8502 - echo "$ac_t""$STRIP" 1>&6
8503 + echo "$as_me:$LINENO: result: $STRIP" >&5
8504 +echo "${ECHO_T}$STRIP" >&6
8506 - echo "$ac_t""no" 1>&6
8507 + echo "$as_me:$LINENO: result: no" >&5
8508 +echo "${ECHO_T}no" >&6
8513 if test -z "$ac_cv_prog_STRIP"; then
8514 -if test -n "$ac_tool_prefix"; then
8515 + ac_ct_STRIP=$STRIP
8516 # Extract the first word of "strip", so it can be a program name with args.
8517 set dummy strip; ac_word=$2
8518 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8519 -echo "configure:2633: checking for $ac_word" >&5
8520 -if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8521 - echo $ac_n "(cached) $ac_c" 1>&6
8522 +echo "$as_me:$LINENO: checking for $ac_word" >&5
8523 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8524 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8525 + echo $ECHO_N "(cached) $ECHO_C" >&6
8527 - if test -n "$STRIP"; then
8528 - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8529 + if test -n "$ac_ct_STRIP"; then
8530 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8532 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8534 - for ac_dir in $ac_dummy; do
8535 - test -z "$ac_dir" && ac_dir=.
8536 - if test -f $ac_dir/$ac_word; then
8537 - ac_cv_prog_STRIP="strip"
8541 - IFS="$ac_save_ifs"
8542 - test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
8543 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8544 +for as_dir in $PATH
8547 + test -z "$as_dir" && as_dir=.
8548 + for ac_exec_ext in '' $ac_executable_extensions; do
8549 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8550 + ac_cv_prog_ac_ct_STRIP="strip"
8551 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8557 + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
8560 -STRIP="$ac_cv_prog_STRIP"
8561 -if test -n "$STRIP"; then
8562 - echo "$ac_t""$STRIP" 1>&6
8563 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8564 +if test -n "$ac_ct_STRIP"; then
8565 + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8566 +echo "${ECHO_T}$ac_ct_STRIP" >&6
8568 - echo "$ac_t""no" 1>&6
8569 + echo "$as_me:$LINENO: result: no" >&5
8570 +echo "${ECHO_T}no" >&6
8573 + STRIP=$ac_ct_STRIP
8577 + STRIP="$ac_cv_prog_STRIP"
8581 @@ -2668,9 +4740,8 @@
8582 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
8583 if test "${enable_libtool_lock+set}" = set; then
8584 enableval="$enable_libtool_lock"
8589 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8591 # Some flags need to be propagated to the compiler or linker for good
8592 @@ -2678,8 +4749,12 @@
8595 # Find out which ABI we are using.
8596 - echo '#line 2682 "configure"' > conftest.$ac_ext
8597 - if { (eval echo configure:2683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8598 + echo '#line 4752 "configure"' > conftest.$ac_ext
8599 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8600 + (eval $ac_compile) 2>&5
8602 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 + (exit $ac_status); }; then
8604 case `/usr/bin/file conftest.$ac_objext` in
8607 @@ -2699,47 +4774,64 @@
8608 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8609 SAVE_CFLAGS="$CFLAGS"
8610 CFLAGS="$CFLAGS -belf"
8611 - echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
8612 -echo "configure:2704: checking whether the C compiler needs -belf" >&5
8613 -if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
8614 - echo $ac_n "(cached) $ac_c" 1>&6
8615 + echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8616 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
8617 +if test "${lt_cv_cc_needs_belf+set}" = set; then
8618 + echo $ECHO_N "(cached) $ECHO_C" >&6
8624 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8625 ac_cpp='$CPP $CPPFLAGS'
8626 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8627 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8628 -cross_compiling=$ac_cv_prog_cc_cross
8629 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8630 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8631 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
8633 + cat >conftest.$ac_ext <<_ACEOF
8634 +#line $LINENO "configure"
8637 +cat confdefs.h >>conftest.$ac_ext
8638 +cat >>conftest.$ac_ext <<_ACEOF
8639 +/* end confdefs.h. */
8641 - cat > conftest.$ac_ext <<EOF
8642 -#line 2717 "configure"
8643 -#include "confdefs.h"
8652 -if { (eval echo configure:2724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8658 +rm -f conftest.$ac_objext conftest$ac_exeext
8659 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8660 + (eval $ac_link) 2>&5
8662 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8663 + (exit $ac_status); } &&
8664 + { ac_try='test -s conftest$ac_exeext'
8665 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8666 + (eval $ac_try) 2>&5
8668 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669 + (exit $ac_status); }; }; then
8670 lt_cv_cc_needs_belf=yes
8672 - echo "configure: failed program was:" >&5
8673 - cat conftest.$ac_ext >&5
8675 - lt_cv_cc_needs_belf=no
8676 + echo "$as_me: failed program was:" >&5
8677 +sed 's/^/| /' conftest.$ac_ext >&5
8679 +lt_cv_cc_needs_belf=no
8682 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8684 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8685 ac_cpp='$CPP $CPPFLAGS'
8686 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8687 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8688 -cross_compiling=$ac_cv_prog_cc_cross
8689 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8690 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8691 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
8695 -echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
8696 +echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8697 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
8698 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8699 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8700 CFLAGS="$SAVE_CFLAGS"
8701 @@ -2824,16 +4916,23 @@
8702 old_postuninstall_cmds=
8704 if test -n "$RANLIB"; then
8707 + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
8710 + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
8713 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8714 - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
8717 # Allow CC to be a program name with arguments.
8721 -echo $ac_n "checking for objdir""... $ac_c" 1>&6
8722 -echo "configure:2837: checking for objdir" >&5
8723 +echo "$as_me:$LINENO: checking for objdir" >&5
8724 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6
8725 rm -f .libs 2>/dev/null
8726 mkdir .libs 2>/dev/null
8727 if test -d .libs; then
8728 @@ -2843,7 +4942,9 @@
8731 rmdir .libs 2>/dev/null
8732 -echo "$ac_t""$objdir" 1>&6
8733 +echo "$as_me:$LINENO: result: $objdir" >&5
8734 +echo "${ECHO_T}$objdir" >&6
8738 # Check whether --with-pic or --without-pic was given.
8739 @@ -2852,17 +4953,16 @@
8746 test -z "$pic_mode" && pic_mode=default
8748 # We assume here that the value for lt_cv_prog_cc_pic will not be cached
8749 # in isolation, and that seeing it set (from the cache) indicates that
8750 # the associated values are set (in the cache) correctly too.
8751 -echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6
8752 -echo "configure:2864: checking for $compiler option to produce PIC" >&5
8753 -if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then
8754 - echo $ac_n "(cached) $ac_c" 1>&6
8755 +echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8756 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8757 +if test "${lt_cv_prog_cc_pic+set}" = set; then
8758 + echo $ECHO_N "(cached) $ECHO_C" >&6
8761 lt_cv_prog_cc_shlib=
8762 @@ -2882,7 +4982,7 @@
8763 # libC (AIX C++ library), which obviously doesn't included in libraries
8764 # list by gcc. This cause undefined symbols with -static flags.
8765 # This hack allows C programs to be linked with "-static -ldl", but
8766 - # we not sure about C++ programs.
8767 + # not sure about C++ programs.
8768 lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
8771 @@ -2891,7 +4991,7 @@
8773 lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
8775 - beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
8776 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8777 # PIC is the default for these OSes.
8779 darwin* | rhapsody*)
8780 @@ -2917,13 +5017,13 @@
8781 # PORTME Check for PIC flags for the system compiler.
8783 aix3* | aix4* | aix5*)
8784 + lt_cv_prog_cc_wl='-Wl,'
8785 # All AIX code is PIC.
8786 if test "$host_cpu" = ia64; then
8787 - # AIX 5 now supports IA64 processor
8788 - lt_cv_prog_cc_static='-Bstatic'
8789 - lt_cv_prog_cc_wl='-Wl,'
8790 + # AIX 5 now supports IA64 processor
8791 + lt_cv_prog_cc_static='-Bstatic'
8793 - lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
8794 + lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
8798 @@ -2934,7 +5034,7 @@
8799 lt_cv_prog_cc_pic='+Z'
8803 + irix5* | irix6* | nonstopux*)
8804 lt_cv_prog_cc_wl='-Wl,'
8805 lt_cv_prog_cc_static='-non_shared'
8806 # PIC (with -KPIC) is the default.
8807 @@ -2978,11 +5078,7 @@
8808 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8809 lt_cv_prog_cc_pic='-KPIC'
8810 lt_cv_prog_cc_static='-Bstatic'
8811 - if test "x$host_vendor" = xsni; then
8812 - lt_cv_prog_cc_wl='-LD'
8814 - lt_cv_prog_cc_wl='-Wl,'
8816 + lt_cv_prog_cc_wl='-Wl,'
8820 @@ -3006,28 +5102,48 @@
8823 if test -z "$lt_cv_prog_cc_pic"; then
8824 - echo "$ac_t""none" 1>&6
8825 + echo "$as_me:$LINENO: result: none" >&5
8826 +echo "${ECHO_T}none" >&6
8828 - echo "$ac_t""$lt_cv_prog_cc_pic" 1>&6
8829 + echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
8830 +echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
8832 # Check to make sure the pic_flag actually works.
8833 - echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6
8834 -echo "configure:3016: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
8835 - if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then
8836 - echo $ac_n "(cached) $ac_c" 1>&6
8837 + echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
8838 +echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
8839 + if test "${lt_cv_prog_cc_pic_works+set}" = set; then
8840 + echo $ECHO_N "(cached) $ECHO_C" >&6
8842 save_CFLAGS="$CFLAGS"
8843 CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
8844 - cat > conftest.$ac_ext <<EOF
8845 -#line 3023 "configure"
8846 -#include "confdefs.h"
8847 + cat >conftest.$ac_ext <<_ACEOF
8848 +#line $LINENO "configure"
8851 +cat confdefs.h >>conftest.$ac_ext
8852 +cat >>conftest.$ac_ext <<_ACEOF
8853 +/* end confdefs.h. */
8862 -if { (eval echo configure:3030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8868 +rm -f conftest.$ac_objext
8869 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8870 + (eval $ac_compile) 2>&5
8872 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8873 + (exit $ac_status); } &&
8874 + { ac_try='test -s conftest.$ac_objext'
8875 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8876 + (eval $ac_try) 2>&5
8878 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8879 + (exit $ac_status); }; }; then
8881 hpux9* | hpux10* | hpux11*)
8882 # On HP-UX, both CC and GCC only warn that PIC is supported... then
8883 @@ -3043,17 +5159,17 @@
8884 lt_cv_prog_cc_pic_works=yes
8890 - echo "configure: failed program was:" >&5
8891 - cat conftest.$ac_ext >&5
8893 - lt_cv_prog_cc_pic_works=no
8895 + echo "$as_me: failed program was:" >&5
8896 +sed 's/^/| /' conftest.$ac_ext >&5
8898 + lt_cv_prog_cc_pic_works=no
8902 +rm -f conftest.$ac_objext conftest.$ac_ext
8903 CFLAGS="$save_CFLAGS"
8909 @@ -3064,43 +5180,65 @@
8910 lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
8913 - echo "$ac_t""$lt_cv_prog_cc_pic_works" 1>&6
8914 + echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
8915 +echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
8918 # Check for any special shared library compilation flags.
8919 if test -n "$lt_cv_prog_cc_shlib"; then
8920 - echo "configure: warning: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" 1>&2
8921 + { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
8922 +echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
8923 if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
8925 - echo "configure: warning: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" 1>&2
8926 + { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
8927 +echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
8928 lt_cv_prog_cc_can_build_shared=no
8932 -echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6
8933 -echo "configure:3082: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
8934 -if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then
8935 - echo $ac_n "(cached) $ac_c" 1>&6
8936 +echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
8937 +echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
8938 +if test "${lt_cv_prog_cc_static_works+set}" = set; then
8939 + echo $ECHO_N "(cached) $ECHO_C" >&6
8941 lt_cv_prog_cc_static_works=no
8942 save_LDFLAGS="$LDFLAGS"
8943 LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
8944 - cat > conftest.$ac_ext <<EOF
8945 -#line 3090 "configure"
8946 -#include "confdefs.h"
8947 + cat >conftest.$ac_ext <<_ACEOF
8948 +#line $LINENO "configure"
8951 +cat confdefs.h >>conftest.$ac_ext
8952 +cat >>conftest.$ac_ext <<_ACEOF
8953 +/* end confdefs.h. */
8962 -if { (eval echo configure:3097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8968 +rm -f conftest.$ac_objext conftest$ac_exeext
8969 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8970 + (eval $ac_link) 2>&5
8972 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973 + (exit $ac_status); } &&
8974 + { ac_try='test -s conftest$ac_exeext'
8975 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8976 + (eval $ac_try) 2>&5
8978 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 + (exit $ac_status); }; }; then
8980 lt_cv_prog_cc_static_works=yes
8982 - echo "configure: failed program was:" >&5
8983 - cat conftest.$ac_ext >&5
8984 + echo "$as_me: failed program was:" >&5
8985 +sed 's/^/| /' conftest.$ac_ext >&5
8989 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8990 LDFLAGS="$save_LDFLAGS"
8993 @@ -3108,7 +5246,8 @@
8995 # Belt *and* braces to stop my trousers falling down:
8996 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
8997 -echo "$ac_t""$lt_cv_prog_cc_static_works" 1>&6
8998 +echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
8999 +echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
9001 pic_flag="$lt_cv_prog_cc_pic"
9002 special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
9003 @@ -3119,12 +5258,12 @@
9006 # Check to see if options -o and -c are simultaneously supported by compiler
9007 -echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6
9008 -echo "configure:3124: checking if $compiler supports -c -o file.$ac_objext" >&5
9009 -if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then
9010 - echo $ac_n "(cached) $ac_c" 1>&6
9011 +echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9012 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9013 +if test "${lt_cv_compiler_c_o+set}" = set; then
9014 + echo $ECHO_N "(cached) $ECHO_C" >&6
9018 $rm -r conftest 2>/dev/null
9021 @@ -3139,7 +5278,7 @@
9022 save_CFLAGS="$CFLAGS"
9023 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
9025 -if { (eval echo configure:3143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
9026 +if { (eval echo configure:5281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
9027 # The compiler can only warn and ignore the option if not recognized
9028 # So say no if there are warnings
9029 if test -s out/conftest.err; then
9030 @@ -3163,29 +5302,50 @@
9033 compiler_c_o=$lt_cv_compiler_c_o
9034 -echo "$ac_t""$compiler_c_o" 1>&6
9035 +echo "$as_me:$LINENO: result: $compiler_c_o" >&5
9036 +echo "${ECHO_T}$compiler_c_o" >&6
9038 if test x"$compiler_c_o" = x"yes"; then
9039 # Check to see if we can write to a .lo
9040 - echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6
9041 -echo "configure:3172: checking if $compiler supports -c -o file.lo" >&5
9042 - if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then
9043 - echo $ac_n "(cached) $ac_c" 1>&6
9044 + echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
9045 +echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
9046 + if test "${lt_cv_compiler_o_lo+set}" = set; then
9047 + echo $ECHO_N "(cached) $ECHO_C" >&6
9051 lt_cv_compiler_o_lo=no
9052 save_CFLAGS="$CFLAGS"
9053 CFLAGS="$CFLAGS -c -o conftest.lo"
9054 - cat > conftest.$ac_ext <<EOF
9055 -#line 3181 "configure"
9056 -#include "confdefs.h"
9057 + save_objext="$ac_objext"
9059 + cat >conftest.$ac_ext <<_ACEOF
9060 +#line $LINENO "configure"
9063 +cat confdefs.h >>conftest.$ac_ext
9064 +cat >>conftest.$ac_ext <<_ACEOF
9065 +/* end confdefs.h. */
9071 int some_variable = 0;
9074 -if { (eval echo configure:3188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9080 +rm -f conftest.$ac_objext
9081 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9082 + (eval $ac_compile) 2>&5
9084 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085 + (exit $ac_status); } &&
9086 + { ac_try='test -s conftest.$ac_objext'
9087 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9088 + (eval $ac_try) 2>&5
9090 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9091 + (exit $ac_status); }; }; then
9092 # The compiler can only warn and ignore the option if not recognized
9093 # So say no if there are warnings
9094 if test -s conftest.err; then
9095 @@ -3193,18 +5353,21 @@
9097 lt_cv_compiler_o_lo=yes
9102 - echo "configure: failed program was:" >&5
9103 - cat conftest.$ac_ext >&5
9104 + echo "$as_me: failed program was:" >&5
9105 +sed 's/^/| /' conftest.$ac_ext >&5
9109 +rm -f conftest.$ac_objext conftest.$ac_ext
9110 + ac_objext="$save_objext"
9111 CFLAGS="$save_CFLAGS"
9116 compiler_o_lo=$lt_cv_compiler_o_lo
9117 - echo "$ac_t""$compiler_o_lo" 1>&6
9118 + echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
9119 +echo "${ECHO_T}$compiler_o_lo" >&6
9123 @@ -3213,17 +5376,19 @@
9124 hard_links="nottested"
9125 if test "$compiler_c_o" = no && test "$need_locks" != no; then
9126 # do not overwrite the value of need_locks provided by the user
9127 - echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6
9128 -echo "configure:3218: checking if we can lock with hard links" >&5
9129 + echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9130 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
9133 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9135 ln conftest.a conftest.b 2>&5 || hard_links=no
9136 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9137 - echo "$ac_t""$hard_links" 1>&6
9138 + echo "$as_me:$LINENO: result: $hard_links" >&5
9139 +echo "${ECHO_T}$hard_links" >&6
9140 if test "$hard_links" = no; then
9141 - echo "configure: warning: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" 1>&2
9142 + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9143 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9147 @@ -3232,22 +5397,40 @@
9149 if test "$GCC" = yes; then
9150 # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
9151 - echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6
9152 -echo "configure:3237: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9153 + echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9154 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
9155 echo "int some_variable = 0;" > conftest.$ac_ext
9156 save_CFLAGS="$CFLAGS"
9157 CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
9158 compiler_rtti_exceptions=no
9159 - cat > conftest.$ac_ext <<EOF
9160 -#line 3243 "configure"
9161 -#include "confdefs.h"
9162 + cat >conftest.$ac_ext <<_ACEOF
9163 +#line $LINENO "configure"
9166 +cat confdefs.h >>conftest.$ac_ext
9167 +cat >>conftest.$ac_ext <<_ACEOF
9168 +/* end confdefs.h. */
9174 int some_variable = 0;
9177 -if { (eval echo configure:3250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9183 +rm -f conftest.$ac_objext
9184 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9185 + (eval $ac_compile) 2>&5
9187 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 + (exit $ac_status); } &&
9189 + { ac_try='test -s conftest.$ac_objext'
9190 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9191 + (eval $ac_try) 2>&5
9193 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194 + (exit $ac_status); }; }; then
9195 # The compiler can only warn and ignore the option if not recognized
9196 # So say no if there are warnings
9197 if test -s conftest.err; then
9198 @@ -3255,14 +5438,16 @@
9200 compiler_rtti_exceptions=yes
9205 - echo "configure: failed program was:" >&5
9206 - cat conftest.$ac_ext >&5
9207 + echo "$as_me: failed program was:" >&5
9208 +sed 's/^/| /' conftest.$ac_ext >&5
9212 +rm -f conftest.$ac_objext conftest.$ac_ext
9213 CFLAGS="$save_CFLAGS"
9214 - echo "$ac_t""$compiler_rtti_exceptions" 1>&6
9215 + echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
9216 +echo "${ECHO_T}$compiler_rtti_exceptions" >&6
9218 if test "$compiler_rtti_exceptions" = "yes"; then
9219 no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
9220 @@ -3272,8 +5457,8 @@
9223 # See if the linker supports building shared libraries.
9224 -echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6
9225 -echo "configure:3277: checking whether the linker ($LD) supports shared libraries" >&5
9226 +echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
9227 +echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
9229 allow_undefined_flag=
9231 @@ -3314,7 +5499,7 @@
9232 extract_expsyms_cmds=
9235 -cygwin* | mingw* | pw32* )
9236 +cygwin* | mingw* | pw32*)
9237 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9238 # When not using gcc, we currently assume that we are using
9239 # Microsoft Visual C++.
9240 @@ -3322,7 +5507,9 @@
9251 @@ -3409,7 +5596,7 @@
9252 # can override, but on older systems we have to supply one (in ltdll.c)
9253 if test "x$lt_cv_need_dllmain" = "xyes"; then
9254 ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
9255 - ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~
9256 + ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
9257 test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
9260 @@ -3427,19 +5614,20 @@
9261 # If the export-symbols file already is a .def file (1st line
9262 # is EXPORTS), use it as is.
9263 # If DATA tags from a recent dlltool are present, honour them!
9264 - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
9265 - cp $export_symbols $output_objdir/$soname-def;
9266 + archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
9267 + cp $export_symbols $output_objdir/$soname-def;
9269 - echo EXPORTS > $output_objdir/$soname-def;
9271 - cat $export_symbols | while read symbol; do
9272 - set dummy \$symbol;
9274 - 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
9275 - *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
9277 - _lt_hint=`expr 1 + \$_lt_hint`;
9279 + echo EXPORTS > $output_objdir/$soname-def;
9281 + cat $export_symbols | while read symbol; do
9282 + set dummy \$symbol;
9284 + 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
9285 + 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
9286 + *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
9288 + _lt_hint=`expr 1 + \$_lt_hint`;
9292 $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
9293 @@ -3534,80 +5722,98 @@
9297 + if test "$host_cpu" = ia64; then
9298 + # On IA64, the linker does run time linking by default, so we don't
9299 + # have to do anything special.
9300 + aix_use_runtimelinking=no
9301 + exp_sym_flag='-Bexport'
9304 + aix_use_runtimelinking=no
9306 + # Test if we are trying to use run time linking or normal
9307 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9308 + # need to do runtime linking.
9309 + case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9310 + for ld_flag in $LDFLAGS; do
9313 + aix_use_runtimelinking=yes
9320 + exp_sym_flag='-bexport'
9321 + no_entry_flag='-bnoentry'
9324 # When large executables or shared objects are built, AIX ld can
9325 # have problems creating the table of contents. If linking a library
9326 # or program results in "error TOC overflow" add -mminimal-toc to
9327 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9328 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9330 + hardcode_direct=yes
9332 hardcode_libdir_separator=':'
9333 if test "$GCC" = yes; then
9334 - collect2name=`${CC} -print-prog-name=collect2`
9335 - if test -f "$collect2name" && \
9336 - strings "$collect2name" | grep resolve_lib_name >/dev/null
9338 - # We have reworked collect2
9339 - hardcode_direct=yes
9341 - # We have old collect2
9342 - hardcode_direct=unsupported
9343 - # It fails to find uninstalled libraries when the uninstalled
9344 - # path is not listed in the libpath. Setting hardcode_minus_L
9345 - # to unsupported forces relinking
9346 - hardcode_minus_L=yes
9347 - hardcode_libdir_flag_spec='-L$libdir'
9348 - hardcode_libdir_separator=
9350 - shared_flag='-shared'
9352 + case $host_os in aix4.[012]|aix4.[012].*)
9353 + collect2name=`${CC} -print-prog-name=collect2`
9354 + if test -f "$collect2name" && \
9355 + strings "$collect2name" | grep resolve_lib_name >/dev/null
9357 + # We have reworked collect2
9358 + hardcode_direct=yes
9360 + # We have old collect2
9361 + hardcode_direct=unsupported
9362 + # It fails to find uninstalled libraries when the uninstalled
9363 + # path is not listed in the libpath. Setting hardcode_minus_L
9364 + # to unsupported forces relinking
9365 + hardcode_minus_L=yes
9366 + hardcode_libdir_flag_spec='-L$libdir'
9367 + hardcode_libdir_separator=
9371 + shared_flag='-shared'
9374 if test "$host_cpu" = ia64; then
9376 + shared_flag='${wl}-G'
9378 - shared_flag='${wl}-bM:SRE'
9379 + if test "$aix_use_runtimelinking" = yes; then
9380 + shared_flag='${wl}-G'
9382 + shared_flag='${wl}-bM:SRE'
9385 - hardcode_direct=yes
9388 - if test "$host_cpu" = ia64; then
9389 - # On IA64, the linker does run time linking by default, so we don't
9390 - # have to do anything special.
9391 - aix_use_runtimelinking=no
9392 - exp_sym_flag='-Bexport'
9395 - # Test if we are trying to use run time linking, or normal AIX style linking.
9396 - # If -brtl is somewhere in LDFLAGS, we need to do run time linking.
9397 - aix_use_runtimelinking=no
9398 - for ld_flag in $LDFLAGS; do
9399 - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then
9400 - aix_use_runtimelinking=yes
9404 - exp_sym_flag='-bexport'
9405 - no_entry_flag='-bnoentry'
9407 # It seems that -bexpall can do strange things, so it is better to
9408 # generate a list of symbols to export.
9409 always_export_symbols=yes
9410 if test "$aix_use_runtimelinking" = yes; then
9411 + # Warning - without using the other runtime loading flags (-brtl),
9412 + # -berok will link without error, but may produce a broken library.
9413 + allow_undefined_flag='-berok'
9414 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
9415 - allow_undefined_flag=' -Wl,-G'
9416 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
9417 + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9419 if test "$host_cpu" = ia64; then
9420 - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9421 - allow_undefined_flag="-znodefs"
9422 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
9423 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9424 + allow_undefined_flag="-z nodefs"
9425 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
9427 - hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
9428 - # Warning - without using the other run time loading flags, -berok will
9429 - # link without error, but may produce a broken library.
9430 - allow_undefined_flag='${wl}-berok'
9431 - # This is a bit strange, but is similar to how AIX traditionally builds
9432 - # it's shared libraries.
9433 - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
9434 + hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
9435 + # Warning - without using the other run time loading flags,
9436 + # -berok will link without error, but may produce a broken library.
9437 + allow_undefined_flag='${wl}-berok'
9438 + # This is a bit strange, but is similar to how AIX traditionally builds
9439 + # it's shared libraries.
9440 + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $output_objdir/$libname$release.a $output_objdir/$soname'
9444 @@ -3639,11 +5845,19 @@
9447 darwin* | rhapsody*)
9448 - allow_undefined_flag='-undefined suppress'
9449 + case "$host_os" in
9450 + rhapsody* | darwin1.[012])
9451 + allow_undefined_flag='-undefined suppress'
9453 + *) # Darwin 1.3 on
9454 + allow_undefined_flag='-flat_namespace -undefined suppress'
9457 # FIXME: Relying on posixy $() will cause problems for
9458 # cross-compilation, but unfortunately the echo tests do not
9459 - # yet detect zsh echo's removal of \ escapes.
9460 - archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
9461 + # yet detect zsh echo's removal of \ escapes. Also zsh mangles
9462 + # `"' quotes if we put them in here... so don't!
9463 + archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
9464 # We need to add '_' to the symbols in $export_symbols first
9465 #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
9467 @@ -3695,13 +5909,14 @@
9468 export_dynamic_flag_spec='${wl}-E'
9472 + irix5* | irix6* | nonstopux*)
9473 if test "$GCC" = yes; then
9474 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9475 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9477 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9478 + hardcode_libdir_flag_spec='-rpath $libdir'
9480 - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9481 hardcode_libdir_separator=:
9482 link_all_deplibs=yes
9484 @@ -3718,7 +5933,7 @@
9488 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
9489 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9491 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9492 hardcode_libdir_separator=:
9493 @@ -3726,10 +5941,24 @@
9497 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9498 - hardcode_libdir_flag_spec='-R$libdir'
9500 hardcode_shlibpath_var=no
9501 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9502 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9503 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9504 + export_dynamic_flag_spec='${wl}-E'
9506 + case "$host_os" in
9507 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9508 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9509 + hardcode_libdir_flag_spec='-R$libdir'
9512 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9513 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9520 @@ -3774,10 +6003,39 @@
9521 hardcode_shlibpath_var=no
9522 runpath_var=LD_RUN_PATH
9523 hardcode_runpath_var=yes
9524 + export_dynamic_flag_spec='${wl}-Bexport'
9528 + # gcc --version < 3.0 without binutils cannot create self contained
9529 + # shared libraries reliably, requiring libgcc.a to resolve some of
9530 + # the object symbols generated in some cases. Libraries that use
9531 + # assert need libgcc.a to resolve __eprintf, for example. Linking
9532 + # a copy of libgcc.a into every shared library to guarantee resolving
9533 + # such symbols causes other problems: According to Tim Van Holder
9534 + # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
9535 + # (to the application) exception stack for one thing.
9536 no_undefined_flag=' -z defs'
9537 + if test "$GCC" = yes; then
9538 + case `$CC --version 2>/dev/null` in
9542 +*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
9543 +*** create self contained shared libraries on Solaris systems, without
9544 +*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
9545 +*** -no-undefined support, which will at least allow you to build shared
9546 +*** libraries. However, you may find that when you link such libraries
9547 +*** into an application without using GCC, you have to manually add
9548 +*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
9549 +*** upgrade to a newer version of GCC. Another option is to rebuild your
9550 +*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
9553 + no_undefined_flag=
9557 # $CC -shared without GNU ld will not create a library from C++
9558 # object files and a static libstdc++, better avoid it by now
9559 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9560 @@ -3808,13 +6066,23 @@
9564 - if test "x$host_vendor" = xsno; then
9565 - archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts'
9566 - hardcode_direct=yes # is this really true???
9568 - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9569 - hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9571 + case $host_vendor in
9573 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9574 + hardcode_direct=yes # is this really true???
9577 + ## LD is ld it makes a PLAMLIB
9578 + ## CC just makes a GrossModule.
9579 + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9580 + reload_cmds='$CC -r -o $output$reload_objs'
9581 + hardcode_direct=no
9584 + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9585 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9588 runpath_var='LD_RUN_PATH'
9589 hardcode_shlibpath_var=no
9591 @@ -3884,12 +6152,13 @@
9595 -echo "$ac_t""$ld_shlibs" 1>&6
9596 +echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9597 +echo "${ECHO_T}$ld_shlibs" >&6
9598 test "$ld_shlibs" = no && can_build_shared=no
9600 # Check hardcoding attributes.
9601 -echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6
9602 -echo "configure:3893: checking how to hardcode library paths into programs" >&5
9603 +echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9604 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9606 if test -n "$hardcode_libdir_flag_spec" || \
9607 test -n "$runpath_var"; then
9608 @@ -3912,26 +6181,29 @@
9610 hardcode_action=unsupported
9612 -echo "$ac_t""$hardcode_action" 1>&6
9613 +echo "$as_me:$LINENO: result: $hardcode_action" >&5
9614 +echo "${ECHO_T}$hardcode_action" >&6
9618 -echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6
9619 -echo "configure:3921: checking whether stripping libraries is possible" >&5
9620 +echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9621 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9622 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9623 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9624 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9625 - echo "$ac_t""yes" 1>&6
9626 + echo "$as_me:$LINENO: result: yes" >&5
9627 +echo "${ECHO_T}yes" >&6
9629 - echo "$ac_t""no" 1>&6
9630 + echo "$as_me:$LINENO: result: no" >&5
9631 +echo "${ECHO_T}no" >&6
9634 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9635 test -z "$deplibs_check_method" && deplibs_check_method=unknown
9637 # PORTME Fill in your ld.so characteristics
9638 -echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6
9639 -echo "configure:3935: checking dynamic linker characteristics" >&5
9640 +echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9641 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9643 libname_spec='lib$name'
9645 @@ -3958,6 +6230,9 @@
9649 + need_lib_prefix=no
9651 + hardcode_into_libs=yes
9652 if test "$host_cpu" = ia64; then
9653 # AIX 5 supports IA64
9654 library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
9655 @@ -3969,22 +6244,24 @@
9656 # depend on `.', always an invalid library. This was fixed in
9657 # development snapshots of GCC prior to 3.0.
9659 - aix4 | aix4.[01] | aix4.[01].*)
9660 - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9662 - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9665 - can_build_shared=no
9668 + aix4 | aix4.[01] | aix4.[01].*)
9669 + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9671 + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9674 + can_build_shared=no
9678 - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9679 - # soname into executable. Probably we can add versioning support to
9680 - # collect2, so additional links can be useful in future.
9681 + # AIX (on Power*) has no versioning support, so currently we can
9682 + # not hardcode correct soname into executable. Probably we can
9683 + # add versioning support to collect2, so additional links can
9684 + # be useful in future.
9685 if test "$aix_use_runtimelinking" = yes; then
9686 - # If using run time linking (on AIX 4.2 or later) use lib<name>.so instead of
9687 - # lib<name>.a to let people know that these are not typical AIX shared libraries.
9688 + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9689 + # instead of lib<name>.a to let people know that these are not
9690 + # typical AIX shared libraries.
9691 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
9693 # We preserve .a as extension for shared libraries through AIX4.2
9694 @@ -3993,8 +6270,8 @@
9695 soname_spec='${libname}${release}.so$major'
9697 shlibpath_var=LIBPATH
9698 - deplibs_check_method=pass_all
9700 + hardcode_into_libs=yes
9704 @@ -4042,7 +6319,7 @@
9707 library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
9708 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
9709 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
9712 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
9713 @@ -4074,6 +6351,18 @@
9718 + version_type=linux
9719 + need_lib_prefix=no
9721 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
9722 + soname_spec='${libname}${release}.so$major'
9723 + shlibpath_var=LD_LIBRARY_PATH
9724 + shlibpath_overrides_runpath=no
9725 + hardcode_into_libs=yes
9726 + dynamic_linker='GNU/FreeBSD ld.so'
9730 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
9731 version_type=freebsd-$objformat
9732 @@ -4125,14 +6414,17 @@
9733 postinstall_cmds='chmod 555 $lib'
9738 +irix5* | irix6* | nonstopux*)
9740 + nonstopux*) version_type=nonstopux ;;
9741 + *) version_type=irix ;;
9745 soname_spec='${libname}${release}.so$major'
9746 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
9749 + irix5* | nonstopux*)
9753 @@ -4206,9 +6498,19 @@
9757 - if test "$with_gnu_ld" = yes; then
9758 - need_lib_prefix=no
9760 + need_lib_prefix=no
9762 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9763 + case "$host_os" in
9764 + openbsd2.[89] | openbsd2.[89].*)
9765 + shlibpath_overrides_runpath=no
9768 + shlibpath_overrides_runpath=yes
9772 + shlibpath_overrides_runpath=yes
9774 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
9775 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9776 @@ -4226,11 +6528,13 @@
9777 osf3* | osf4* | osf5*)
9780 - soname_spec='${libname}${release}.so'
9781 - library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
9782 + need_lib_prefix=no
9783 + soname_spec='${libname}${release}.so$major'
9784 + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
9785 shlibpath_var=LD_LIBRARY_PATH
9786 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9787 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9788 + hardcode_into_libs=yes
9792 @@ -4273,6 +6577,12 @@
9793 case $host_vendor in
9795 shlibpath_overrides_runpath=no
9796 + need_lib_prefix=no
9797 + export_dynamic_flag_spec='${wl}-Blargedynsym'
9798 + runpath_var=LD_RUN_PATH
9801 + need_lib_prefix=no
9805 @@ -4312,13 +6622,46 @@
9809 -echo "$ac_t""$dynamic_linker" 1>&6
9810 +echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9811 +echo "${ECHO_T}$dynamic_linker" >&6
9812 test "$dynamic_linker" = no && can_build_shared=no
9814 # Report the final consequences.
9815 -echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6
9816 -echo "configure:4321: checking if libtool supports shared libraries" >&5
9817 -echo "$ac_t""$can_build_shared" 1>&6
9818 +echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9819 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9820 +echo "$as_me:$LINENO: result: $can_build_shared" >&5
9821 +echo "${ECHO_T}$can_build_shared" >&6
9823 +echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9824 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9825 +test "$can_build_shared" = "no" && enable_shared=no
9827 +# On AIX, shared libraries and static libraries use the same namespace, and
9828 +# are all built from PIC.
9831 + test "$enable_shared" = yes && enable_static=no
9832 + if test -n "$RANLIB"; then
9833 + archive_cmds="$archive_cmds~\$RANLIB \$lib"
9834 + postinstall_cmds='$RANLIB $lib'
9839 + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9840 + test "$enable_shared" = yes && enable_static=no
9844 +echo "$as_me:$LINENO: result: $enable_shared" >&5
9845 +echo "${ECHO_T}$enable_shared" >&6
9847 +echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9848 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9849 +# Make sure either enable_shared or enable_static is yes.
9850 +test "$enable_shared" = yes || enable_static=yes
9851 +echo "$as_me:$LINENO: result: $enable_static" >&5
9852 +echo "${ECHO_T}$enable_static" >&6
9854 if test "$hardcode_action" = relink; then
9855 # Fast installation is not supported
9856 @@ -4355,224 +6698,398 @@
9860 - echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
9861 -echo "configure:4360: checking for dlopen in -ldl" >&5
9862 -ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
9863 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9864 - echo $ac_n "(cached) $ac_c" 1>&6
9866 - ac_save_LIBS="$LIBS"
9868 -cat > conftest.$ac_ext <<EOF
9869 -#line 4368 "configure"
9870 -#include "confdefs.h"
9871 -/* Override any gcc2 internal prototype to avoid an error. */
9872 -/* We use char because int might match the return type of a gcc2
9873 - builtin and then its argument prototype would still apply. */
9880 -if { (eval echo configure:4379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9882 - eval "ac_cv_lib_$ac_lib_var=yes"
9884 - echo "configure: failed program was:" >&5
9885 - cat conftest.$ac_ext >&5
9887 - eval "ac_cv_lib_$ac_lib_var=no"
9890 -LIBS="$ac_save_LIBS"
9893 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9894 - echo "$ac_t""yes" 1>&6
9895 - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9897 - echo "$ac_t""no" 1>&6
9898 -echo $ac_n "checking for dlopen""... $ac_c" 1>&6
9899 -echo "configure:4398: checking for dlopen" >&5
9900 -if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
9901 - echo $ac_n "(cached) $ac_c" 1>&6
9903 - cat > conftest.$ac_ext <<EOF
9904 -#line 4403 "configure"
9905 -#include "confdefs.h"
9906 + echo "$as_me:$LINENO: checking for shl_load" >&5
9907 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9908 +if test "${ac_cv_func_shl_load+set}" = set; then
9909 + echo $ECHO_N "(cached) $ECHO_C" >&6
9911 + cat >conftest.$ac_ext <<_ACEOF
9912 +#line $LINENO "configure"
9915 +cat confdefs.h >>conftest.$ac_ext
9916 +cat >>conftest.$ac_ext <<_ACEOF
9917 +/* end confdefs.h. */
9918 /* System header to define __stub macros and hopefully few prototypes,
9919 - which can conflict with char dlopen(); below. */
9920 -#include <assert.h>
9921 + which can conflict with char shl_load (); below.
9922 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9923 + <limits.h> exists even on freestanding compilers. */
9925 +# include <limits.h>
9927 +# include <assert.h>
9929 /* Override any gcc2 internal prototype to avoid an error. */
9934 /* We use char because int might match the return type of a gcc2
9935 - builtin and then its argument prototype would still apply. */
9940 + builtin and then its argument prototype would still apply. */
9942 /* The GNU C library defines this for functions which it implements
9943 to always fail with ENOSYS. Some functions are actually named
9944 something starting with __ and the normal name is an alias. */
9945 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
9946 +#if defined (__stub_shl_load) || defined (__stub___shl_load)
9950 +char (*f) () = shl_load;
9958 -if { (eval echo configure:4426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9960 - eval "ac_cv_func_dlopen=yes"
9962 - echo "configure: failed program was:" >&5
9963 - cat conftest.$ac_ext >&5
9965 - eval "ac_cv_func_dlopen=no"
9970 -if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then
9971 - echo "$ac_t""yes" 1>&6
9972 - lt_cv_dlopen="dlopen"
9976 +return f != shl_load;
9981 +rm -f conftest.$ac_objext conftest$ac_exeext
9982 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9983 + (eval $ac_link) 2>&5
9985 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986 + (exit $ac_status); } &&
9987 + { ac_try='test -s conftest$ac_exeext'
9988 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9989 + (eval $ac_try) 2>&5
9991 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9992 + (exit $ac_status); }; }; then
9993 + ac_cv_func_shl_load=yes
9995 + echo "$as_me: failed program was:" >&5
9996 +sed 's/^/| /' conftest.$ac_ext >&5
9998 +ac_cv_func_shl_load=no
10000 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10002 +echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10003 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10004 +if test $ac_cv_func_shl_load = yes; then
10005 + lt_cv_dlopen="shl_load"
10007 - echo "$ac_t""no" 1>&6
10008 -echo $ac_n "checking for shl_load""... $ac_c" 1>&6
10009 -echo "configure:4444: checking for shl_load" >&5
10010 -if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
10011 - echo $ac_n "(cached) $ac_c" 1>&6
10012 + echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10013 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10014 +if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10015 + echo $ECHO_N "(cached) $ECHO_C" >&6
10017 - cat > conftest.$ac_ext <<EOF
10018 -#line 4449 "configure"
10019 -#include "confdefs.h"
10020 + ac_check_lib_save_LIBS=$LIBS
10021 +LIBS="-ldld $LIBS"
10022 +cat >conftest.$ac_ext <<_ACEOF
10023 +#line $LINENO "configure"
10026 +cat confdefs.h >>conftest.$ac_ext
10027 +cat >>conftest.$ac_ext <<_ACEOF
10028 +/* end confdefs.h. */
10030 +/* Override any gcc2 internal prototype to avoid an error. */
10031 +#ifdef __cplusplus
10034 +/* We use char because int might match the return type of a gcc2
10035 + builtin and then its argument prototype would still apply. */
10045 +rm -f conftest.$ac_objext conftest$ac_exeext
10046 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10047 + (eval $ac_link) 2>&5
10049 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 + (exit $ac_status); } &&
10051 + { ac_try='test -s conftest$ac_exeext'
10052 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10053 + (eval $ac_try) 2>&5
10055 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10056 + (exit $ac_status); }; }; then
10057 + ac_cv_lib_dld_shl_load=yes
10059 + echo "$as_me: failed program was:" >&5
10060 +sed 's/^/| /' conftest.$ac_ext >&5
10062 +ac_cv_lib_dld_shl_load=no
10064 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10065 +LIBS=$ac_check_lib_save_LIBS
10067 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10068 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10069 +if test $ac_cv_lib_dld_shl_load = yes; then
10070 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10072 + echo "$as_me:$LINENO: checking for dlopen" >&5
10073 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10074 +if test "${ac_cv_func_dlopen+set}" = set; then
10075 + echo $ECHO_N "(cached) $ECHO_C" >&6
10077 + cat >conftest.$ac_ext <<_ACEOF
10078 +#line $LINENO "configure"
10081 +cat confdefs.h >>conftest.$ac_ext
10082 +cat >>conftest.$ac_ext <<_ACEOF
10083 +/* end confdefs.h. */
10084 /* System header to define __stub macros and hopefully few prototypes,
10085 - which can conflict with char shl_load(); below. */
10086 -#include <assert.h>
10087 + which can conflict with char dlopen (); below.
10088 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10089 + <limits.h> exists even on freestanding compilers. */
10091 +# include <limits.h>
10093 +# include <assert.h>
10095 /* Override any gcc2 internal prototype to avoid an error. */
10096 +#ifdef __cplusplus
10100 /* We use char because int might match the return type of a gcc2
10101 - builtin and then its argument prototype would still apply. */
10106 + builtin and then its argument prototype would still apply. */
10108 /* The GNU C library defines this for functions which it implements
10109 to always fail with ENOSYS. Some functions are actually named
10110 something starting with __ and the normal name is an alias. */
10111 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
10112 +#if defined (__stub_dlopen) || defined (__stub___dlopen)
10116 +char (*f) () = dlopen;
10118 +#ifdef __cplusplus
10124 -if { (eval echo configure:4472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10126 - eval "ac_cv_func_shl_load=yes"
10130 +return f != dlopen;
10135 +rm -f conftest.$ac_objext conftest$ac_exeext
10136 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10137 + (eval $ac_link) 2>&5
10139 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 + (exit $ac_status); } &&
10141 + { ac_try='test -s conftest$ac_exeext'
10142 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10143 + (eval $ac_try) 2>&5
10145 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 + (exit $ac_status); }; }; then
10147 + ac_cv_func_dlopen=yes
10149 + echo "$as_me: failed program was:" >&5
10150 +sed 's/^/| /' conftest.$ac_ext >&5
10152 +ac_cv_func_dlopen=no
10154 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10156 +echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10157 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10158 +if test $ac_cv_func_dlopen = yes; then
10159 + lt_cv_dlopen="dlopen"
10161 - echo "configure: failed program was:" >&5
10162 - cat conftest.$ac_ext >&5
10164 - eval "ac_cv_func_shl_load=no"
10168 + echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10169 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10170 +if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10171 + echo $ECHO_N "(cached) $ECHO_C" >&6
10173 + ac_check_lib_save_LIBS=$LIBS
10175 +cat >conftest.$ac_ext <<_ACEOF
10176 +#line $LINENO "configure"
10179 +cat confdefs.h >>conftest.$ac_ext
10180 +cat >>conftest.$ac_ext <<_ACEOF
10181 +/* end confdefs.h. */
10183 -if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then
10184 - echo "$ac_t""yes" 1>&6
10185 - lt_cv_dlopen="shl_load"
10186 +/* Override any gcc2 internal prototype to avoid an error. */
10187 +#ifdef __cplusplus
10190 +/* We use char because int might match the return type of a gcc2
10191 + builtin and then its argument prototype would still apply. */
10201 +rm -f conftest.$ac_objext conftest$ac_exeext
10202 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10203 + (eval $ac_link) 2>&5
10205 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 + (exit $ac_status); } &&
10207 + { ac_try='test -s conftest$ac_exeext'
10208 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10209 + (eval $ac_try) 2>&5
10211 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10212 + (exit $ac_status); }; }; then
10213 + ac_cv_lib_dl_dlopen=yes
10215 + echo "$as_me: failed program was:" >&5
10216 +sed 's/^/| /' conftest.$ac_ext >&5
10218 +ac_cv_lib_dl_dlopen=no
10220 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10221 +LIBS=$ac_check_lib_save_LIBS
10223 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10224 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10225 +if test $ac_cv_lib_dl_dlopen = yes; then
10226 + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10228 - echo "$ac_t""no" 1>&6
10229 -echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
10230 -echo "configure:4490: checking for dlopen in -lsvld" >&5
10231 -ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
10232 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10233 - echo $ac_n "(cached) $ac_c" 1>&6
10234 + echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10235 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10236 +if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10237 + echo $ECHO_N "(cached) $ECHO_C" >&6
10239 - ac_save_LIBS="$LIBS"
10240 + ac_check_lib_save_LIBS=$LIBS
10241 LIBS="-lsvld $LIBS"
10242 -cat > conftest.$ac_ext <<EOF
10243 -#line 4498 "configure"
10244 -#include "confdefs.h"
10245 +cat >conftest.$ac_ext <<_ACEOF
10246 +#line $LINENO "configure"
10249 +cat confdefs.h >>conftest.$ac_ext
10250 +cat >>conftest.$ac_ext <<_ACEOF
10251 +/* end confdefs.h. */
10253 /* Override any gcc2 internal prototype to avoid an error. */
10254 +#ifdef __cplusplus
10257 /* We use char because int might match the return type of a gcc2
10258 - builtin and then its argument prototype would still apply. */
10265 -if { (eval echo configure:4509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10267 - eval "ac_cv_lib_$ac_lib_var=yes"
10269 - echo "configure: failed program was:" >&5
10270 - cat conftest.$ac_ext >&5
10272 - eval "ac_cv_lib_$ac_lib_var=no"
10275 -LIBS="$ac_save_LIBS"
10278 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10279 - echo "$ac_t""yes" 1>&6
10280 + builtin and then its argument prototype would still apply. */
10290 +rm -f conftest.$ac_objext conftest$ac_exeext
10291 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10292 + (eval $ac_link) 2>&5
10294 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 + (exit $ac_status); } &&
10296 + { ac_try='test -s conftest$ac_exeext'
10297 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10298 + (eval $ac_try) 2>&5
10300 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 + (exit $ac_status); }; }; then
10302 + ac_cv_lib_svld_dlopen=yes
10304 + echo "$as_me: failed program was:" >&5
10305 +sed 's/^/| /' conftest.$ac_ext >&5
10307 +ac_cv_lib_svld_dlopen=no
10309 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10310 +LIBS=$ac_check_lib_save_LIBS
10312 +echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10313 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10314 +if test $ac_cv_lib_svld_dlopen = yes; then
10315 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10317 - echo "$ac_t""no" 1>&6
10318 -echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
10319 -echo "configure:4528: checking for shl_load in -ldld" >&5
10320 -ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
10321 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10322 - echo $ac_n "(cached) $ac_c" 1>&6
10323 + echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10324 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10325 +if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10326 + echo $ECHO_N "(cached) $ECHO_C" >&6
10328 - ac_save_LIBS="$LIBS"
10329 + ac_check_lib_save_LIBS=$LIBS
10331 -cat > conftest.$ac_ext <<EOF
10332 -#line 4536 "configure"
10333 -#include "confdefs.h"
10334 +cat >conftest.$ac_ext <<_ACEOF
10335 +#line $LINENO "configure"
10338 +cat confdefs.h >>conftest.$ac_ext
10339 +cat >>conftest.$ac_ext <<_ACEOF
10340 +/* end confdefs.h. */
10342 /* Override any gcc2 internal prototype to avoid an error. */
10343 +#ifdef __cplusplus
10346 /* We use char because int might match the return type of a gcc2
10347 - builtin and then its argument prototype would still apply. */
10354 -if { (eval echo configure:4547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10356 - eval "ac_cv_lib_$ac_lib_var=yes"
10358 - echo "configure: failed program was:" >&5
10359 - cat conftest.$ac_ext >&5
10361 - eval "ac_cv_lib_$ac_lib_var=no"
10362 + builtin and then its argument prototype would still apply. */
10372 +rm -f conftest.$ac_objext conftest$ac_exeext
10373 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10374 + (eval $ac_link) 2>&5
10376 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 + (exit $ac_status); } &&
10378 + { ac_try='test -s conftest$ac_exeext'
10379 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10380 + (eval $ac_try) 2>&5
10382 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383 + (exit $ac_status); }; }; then
10384 + ac_cv_lib_dld_dld_link=yes
10386 + echo "$as_me: failed program was:" >&5
10387 +sed 's/^/| /' conftest.$ac_ext >&5
10389 +ac_cv_lib_dld_dld_link=no
10391 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10392 +LIBS=$ac_check_lib_save_LIBS
10394 +echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10395 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10396 +if test $ac_cv_lib_dld_dld_link = yes; then
10397 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10400 -LIBS="$ac_save_LIBS"
10403 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10404 - echo "$ac_t""yes" 1>&6
10405 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10407 - echo "$ac_t""no" 1>&6
10428 @@ -4595,10 +7112,10 @@
10430 LIBS="$lt_cv_dlopen_libs $LIBS"
10432 - echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6
10433 -echo "configure:4600: checking whether a program can dlopen itself" >&5
10434 -if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then
10435 - echo $ac_n "(cached) $ac_c" 1>&6
10436 + echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10437 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10438 +if test "${lt_cv_dlopen_self+set}" = set; then
10439 + echo $ECHO_N "(cached) $ECHO_C" >&6
10441 if test "$cross_compiling" = yes; then :
10442 lt_cv_dlopen_self=cross
10443 @@ -4606,7 +7123,7 @@
10444 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10445 lt_status=$lt_dlunknown
10446 cat > conftest.$ac_ext <<EOF
10447 -#line 4610 "configure"
10448 +#line 7126 "configure"
10449 #include "confdefs.h"
10452 @@ -4667,7 +7184,11 @@
10456 - if { (eval echo configure:4671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
10457 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10458 + (eval $ac_link) 2>&5
10460 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10461 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10462 (./conftest; exit; ) 2>/dev/null
10464 case x$lt_status in
10465 @@ -4682,17 +7203,17 @@
10472 -echo "$ac_t""$lt_cv_dlopen_self" 1>&6
10474 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10475 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10477 if test "x$lt_cv_dlopen_self" = xyes; then
10478 LDFLAGS="$LDFLAGS $link_static_flag"
10479 - echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6
10480 -echo "configure:4694: checking whether a statically linked program can dlopen itself" >&5
10481 -if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then
10482 - echo $ac_n "(cached) $ac_c" 1>&6
10483 + echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10484 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10485 +if test "${lt_cv_dlopen_self_static+set}" = set; then
10486 + echo $ECHO_N "(cached) $ECHO_C" >&6
10488 if test "$cross_compiling" = yes; then :
10489 lt_cv_dlopen_self_static=cross
10490 @@ -4700,7 +7221,7 @@
10491 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10492 lt_status=$lt_dlunknown
10493 cat > conftest.$ac_ext <<EOF
10494 -#line 4704 "configure"
10495 +#line 7224 "configure"
10496 #include "confdefs.h"
10499 @@ -4761,7 +7282,11 @@
10503 - if { (eval echo configure:4765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
10504 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10505 + (eval $ac_link) 2>&5
10507 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10509 (./conftest; exit; ) 2>/dev/null
10511 case x$lt_status in
10512 @@ -4776,10 +7301,10 @@
10519 -echo "$ac_t""$lt_cv_dlopen_self_static" 1>&6
10521 +echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10522 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10525 CPPFLAGS="$save_CPPFLAGS"
10526 @@ -4809,15 +7334,19 @@
10527 # Test whether the compiler implicitly links with -lc since on some
10528 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10529 # to ld, don't add -lc before -lgcc.
10530 - echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6
10531 -echo "configure:4814: checking whether -lc should be explicitly linked in" >&5
10532 - if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then
10533 - echo $ac_n "(cached) $ac_c" 1>&6
10534 + echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10535 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10536 + if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
10537 + echo $ECHO_N "(cached) $ECHO_C" >&6
10540 echo 'static int dummy;' > conftest.$ac_ext
10542 - if { (eval echo configure:4821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10543 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10544 + (eval $ac_compile) 2>&5
10546 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 + (exit $ac_status); }; then
10550 libobjs=conftest.$ac_objext
10551 @@ -4830,7 +7359,11 @@
10553 save_allow_undefined_flag=$allow_undefined_flag
10554 allow_undefined_flag=
10555 - if { (eval echo configure:4834: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
10556 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10557 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10559 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560 + (exit $ac_status); }
10562 lt_cv_archive_cmds_need_lc=no
10564 @@ -4842,7 +7375,8 @@
10568 - echo "$ac_t""$lt_cv_archive_cmds_need_lc" 1>&6
10569 + echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
10570 +echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
10574 @@ -4870,7 +7404,7 @@
10575 # Now quote all the things that may contain metacharacters while being
10576 # careful not to overquote the AC_SUBSTed values. We take copies of the
10577 # variables and quote the copies for generation of the libtool script.
10578 - for var in echo old_CC old_CFLAGS \
10579 + for var in echo old_CC old_CFLAGS SED \
10580 AR AR_FLAGS CC LD LN_S NM SHELL \
10581 reload_flag reload_cmds wl \
10582 pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
10583 @@ -4882,6 +7416,7 @@
10584 old_striplib striplib file_magic_cmd export_symbols_cmds \
10585 deplibs_check_method allow_undefined_flag no_undefined_flag \
10586 finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
10587 + global_symbol_to_c_name_address \
10588 hardcode_libdir_flag_spec hardcode_libdir_separator \
10589 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10590 compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
10591 @@ -4931,8 +7466,11 @@
10592 # configuration script generated by Autoconf, you may include it under
10593 # the same distribution terms that you use for the rest of that program.
10595 +# A sed that does not truncate output.
10598 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10599 -Xsed="sed -e s/^X//"
10600 +Xsed="${SED} -e s/^X//"
10602 # The HP-UX ksh and POSIX shell print the target directory to stdout
10603 # if CDPATH is set.
10604 @@ -4948,12 +7486,12 @@
10605 # Whether or not to build shared libraries.
10606 build_libtool_libs=$enable_shared
10608 -# Whether or not to add -lc for building shared libraries.
10609 -build_libtool_need_lc=$need_lc
10611 # Whether or not to build static libraries.
10612 build_old_libs=$enable_static
10614 +# Whether or not to add -lc for building shared libraries.
10615 +build_libtool_need_lc=$need_lc
10617 # Whether or not to optimize for fast installation.
10618 fast_install=$enable_fast_install
10620 @@ -5119,6 +7657,9 @@
10621 # Transform the output of nm in a proper C declaration
10622 global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
10624 +# Transform the output of nm in a C name address pair
10625 +global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
10627 # This is the shared library runtime path variable.
10628 runpath_var=$runpath_var
10630 @@ -5241,9 +7782,9 @@
10633 # /* ltdll.c ends here */
10634 - # This is a source program that is used to create import libraries
10635 - # on Windows for dlls which lack them. Don't remove nor modify the
10636 - # starting and closing comments
10637 + # This is a source program that is used to create import libraries
10638 + # on Windows for dlls which lack them. Don't remove nor modify the
10639 + # starting and closing comments
10640 # /* impgen.c starts here */
10641 # /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
10643 @@ -5411,156 +7952,386 @@
10645 # Extract the first word of "perl", so it can be a program name with args.
10646 set dummy perl; ac_word=$2
10647 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10648 -echo "configure:5416: checking for $ac_word" >&5
10649 -if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
10650 - echo $ac_n "(cached) $ac_c" 1>&6
10651 +echo "$as_me:$LINENO: checking for $ac_word" >&5
10652 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10653 +if test "${ac_cv_path_PERL+set}" = set; then
10654 + echo $ECHO_N "(cached) $ECHO_C" >&6
10659 + [\\/]* | ?:[\\/]*)
10660 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
10663 - ac_cv_path_PERL="$PERL" # Let the user override the test with a dos path.
10666 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10668 - for ac_dir in $ac_dummy; do
10669 - test -z "$ac_dir" && ac_dir=.
10670 - if test -f $ac_dir/$ac_word; then
10671 - ac_cv_path_PERL="$ac_dir/$ac_word"
10675 - IFS="$ac_save_ifs"
10676 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10677 +for as_dir in $PATH
10680 + test -z "$as_dir" && as_dir=.
10681 + for ac_exec_ext in '' $ac_executable_extensions; do
10682 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10683 + ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
10684 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10693 -PERL="$ac_cv_path_PERL"
10694 +PERL=$ac_cv_path_PERL
10696 if test -n "$PERL"; then
10697 - echo "$ac_t""$PERL" 1>&6
10698 + echo "$as_me:$LINENO: result: $PERL" >&5
10699 +echo "${ECHO_T}$PERL" >&6
10701 - echo "$ac_t""no" 1>&6
10702 + echo "$as_me:$LINENO: result: no" >&5
10703 +echo "${ECHO_T}no" >&6
10709 -ac_safe=`echo "asm/errno.h" | sed 'y%./+-%__p_%'`
10710 -echo $ac_n "checking for asm/errno.h""... $ac_c" 1>&6
10711 -echo "configure:5453: checking for asm/errno.h" >&5
10712 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10713 - echo $ac_n "(cached) $ac_c" 1>&6
10714 +if test "${ac_cv_header_asm_errno_h+set}" = set; then
10715 + echo "$as_me:$LINENO: checking for asm/errno.h" >&5
10716 +echo $ECHO_N "checking for asm/errno.h... $ECHO_C" >&6
10717 +if test "${ac_cv_header_asm_errno_h+set}" = set; then
10718 + echo $ECHO_N "(cached) $ECHO_C" >&6
10720 +echo "$as_me:$LINENO: result: $ac_cv_header_asm_errno_h" >&5
10721 +echo "${ECHO_T}$ac_cv_header_asm_errno_h" >&6
10723 - cat > conftest.$ac_ext <<EOF
10724 -#line 5458 "configure"
10725 -#include "confdefs.h"
10726 + # Is the header compilable?
10727 +echo "$as_me:$LINENO: checking asm/errno.h usability" >&5
10728 +echo $ECHO_N "checking asm/errno.h usability... $ECHO_C" >&6
10729 +cat >conftest.$ac_ext <<_ACEOF
10730 +#line $LINENO "configure"
10733 +cat confdefs.h >>conftest.$ac_ext
10734 +cat >>conftest.$ac_ext <<_ACEOF
10735 +/* end confdefs.h. */
10736 +$ac_includes_default
10737 #include <asm/errno.h>
10739 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10740 -{ (eval echo configure:5463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10741 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10742 -if test -z "$ac_err"; then
10744 - eval "ac_cv_header_$ac_safe=yes"
10746 +rm -f conftest.$ac_objext
10747 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10748 + (eval $ac_compile) 2>&5
10750 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 + (exit $ac_status); } &&
10752 + { ac_try='test -s conftest.$ac_objext'
10753 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10754 + (eval $ac_try) 2>&5
10756 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 + (exit $ac_status); }; }; then
10758 + ac_header_compiler=yes
10760 + echo "$as_me: failed program was:" >&5
10761 +sed 's/^/| /' conftest.$ac_ext >&5
10763 +ac_header_compiler=no
10765 +rm -f conftest.$ac_objext conftest.$ac_ext
10766 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10767 +echo "${ECHO_T}$ac_header_compiler" >&6
10769 +# Is the header present?
10770 +echo "$as_me:$LINENO: checking asm/errno.h presence" >&5
10771 +echo $ECHO_N "checking asm/errno.h presence... $ECHO_C" >&6
10772 +cat >conftest.$ac_ext <<_ACEOF
10773 +#line $LINENO "configure"
10776 +cat confdefs.h >>conftest.$ac_ext
10777 +cat >>conftest.$ac_ext <<_ACEOF
10778 +/* end confdefs.h. */
10779 +#include <asm/errno.h>
10781 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10782 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10784 + grep -v '^ *+' conftest.er1 >conftest.err
10785 + rm -f conftest.er1
10786 + cat conftest.err >&5
10787 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10788 + (exit $ac_status); } >/dev/null; then
10789 + if test -s conftest.err; then
10790 + ac_cpp_err=$ac_c_preproc_warn_flag
10795 - echo "$ac_err" >&5
10796 - echo "configure: failed program was:" >&5
10797 - cat conftest.$ac_ext >&5
10799 - eval "ac_cv_header_$ac_safe=no"
10803 +if test -z "$ac_cpp_err"; then
10804 + ac_header_preproc=yes
10806 + echo "$as_me: failed program was:" >&5
10807 +sed 's/^/| /' conftest.$ac_ext >&5
10809 + ac_header_preproc=no
10811 +rm -f conftest.err conftest.$ac_ext
10812 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10813 +echo "${ECHO_T}$ac_header_preproc" >&6
10815 +# So? What about this header?
10816 +case $ac_header_compiler:$ac_header_preproc in
10818 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: accepted by the compiler, rejected by the preprocessor!" >&5
10819 +echo "$as_me: WARNING: asm/errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10820 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: proceeding with the preprocessor's result" >&5
10821 +echo "$as_me: WARNING: asm/errno.h: proceeding with the preprocessor's result" >&2;}
10824 +## ------------------------------------ ##
10825 +## Report this to bug-autoconf@gnu.org. ##
10826 +## ------------------------------------ ##
10829 + sed "s/^/$as_me: WARNING: /" >&2
10832 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: present but cannot be compiled" >&5
10833 +echo "$as_me: WARNING: asm/errno.h: present but cannot be compiled" >&2;}
10834 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: check for missing prerequisite headers?" >&5
10835 +echo "$as_me: WARNING: asm/errno.h: check for missing prerequisite headers?" >&2;}
10836 + { echo "$as_me:$LINENO: WARNING: asm/errno.h: proceeding with the preprocessor's result" >&5
10837 +echo "$as_me: WARNING: asm/errno.h: proceeding with the preprocessor's result" >&2;}
10840 +## ------------------------------------ ##
10841 +## Report this to bug-autoconf@gnu.org. ##
10842 +## ------------------------------------ ##
10845 + sed "s/^/$as_me: WARNING: /" >&2
10848 +echo "$as_me:$LINENO: checking for asm/errno.h" >&5
10849 +echo $ECHO_N "checking for asm/errno.h... $ECHO_C" >&6
10850 +if test "${ac_cv_header_asm_errno_h+set}" = set; then
10851 + echo $ECHO_N "(cached) $ECHO_C" >&6
10853 + ac_cv_header_asm_errno_h=$ac_header_preproc
10855 +echo "$as_me:$LINENO: result: $ac_cv_header_asm_errno_h" >&5
10856 +echo "${ECHO_T}$ac_cv_header_asm_errno_h" >&6
10859 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10860 - echo "$ac_t""yes" 1>&6
10861 +if test $ac_cv_header_asm_errno_h = yes; then
10864 - echo "$ac_t""no" 1>&6
10865 -{ echo "configure: error: *** Unable to find asm/errno.h!!!" 1>&2; exit 1; }
10866 + { { echo "$as_me:$LINENO: error: *** Unable to find asm/errno.h!!!" >&5
10867 +echo "$as_me: error: *** Unable to find asm/errno.h!!!" >&2;}
10868 + { (exit 1); exit 1; }; }
10873 -ac_safe=`echo "linux/atmsap.h" | sed 'y%./+-%__p_%'`
10874 -echo $ac_n "checking for linux/atmsap.h""... $ac_c" 1>&6
10875 -echo "configure:5489: checking for linux/atmsap.h" >&5
10876 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10877 - echo $ac_n "(cached) $ac_c" 1>&6
10879 - cat > conftest.$ac_ext <<EOF
10880 -#line 5494 "configure"
10881 -#include "confdefs.h"
10883 +if test "${ac_cv_header_linux_atmsap_h+set}" = set; then
10884 + echo "$as_me:$LINENO: checking for linux/atmsap.h" >&5
10885 +echo $ECHO_N "checking for linux/atmsap.h... $ECHO_C" >&6
10886 +if test "${ac_cv_header_linux_atmsap_h+set}" = set; then
10887 + echo $ECHO_N "(cached) $ECHO_C" >&6
10889 +echo "$as_me:$LINENO: result: $ac_cv_header_linux_atmsap_h" >&5
10890 +echo "${ECHO_T}$ac_cv_header_linux_atmsap_h" >&6
10892 + # Is the header compilable?
10893 +echo "$as_me:$LINENO: checking linux/atmsap.h usability" >&5
10894 +echo $ECHO_N "checking linux/atmsap.h usability... $ECHO_C" >&6
10895 +cat >conftest.$ac_ext <<_ACEOF
10896 +#line $LINENO "configure"
10899 +cat confdefs.h >>conftest.$ac_ext
10900 +cat >>conftest.$ac_ext <<_ACEOF
10901 +/* end confdefs.h. */
10902 +$ac_includes_default
10903 #include <linux/atmsap.h>
10905 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10906 -{ (eval echo configure:5499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10907 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10908 -if test -z "$ac_err"; then
10910 - eval "ac_cv_header_$ac_safe=yes"
10912 +rm -f conftest.$ac_objext
10913 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10914 + (eval $ac_compile) 2>&5
10916 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917 + (exit $ac_status); } &&
10918 + { ac_try='test -s conftest.$ac_objext'
10919 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10920 + (eval $ac_try) 2>&5
10922 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 + (exit $ac_status); }; }; then
10924 + ac_header_compiler=yes
10926 + echo "$as_me: failed program was:" >&5
10927 +sed 's/^/| /' conftest.$ac_ext >&5
10929 +ac_header_compiler=no
10931 +rm -f conftest.$ac_objext conftest.$ac_ext
10932 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10933 +echo "${ECHO_T}$ac_header_compiler" >&6
10935 +# Is the header present?
10936 +echo "$as_me:$LINENO: checking linux/atmsap.h presence" >&5
10937 +echo $ECHO_N "checking linux/atmsap.h presence... $ECHO_C" >&6
10938 +cat >conftest.$ac_ext <<_ACEOF
10939 +#line $LINENO "configure"
10942 +cat confdefs.h >>conftest.$ac_ext
10943 +cat >>conftest.$ac_ext <<_ACEOF
10944 +/* end confdefs.h. */
10945 +#include <linux/atmsap.h>
10947 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10948 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10950 + grep -v '^ *+' conftest.er1 >conftest.err
10951 + rm -f conftest.er1
10952 + cat conftest.err >&5
10953 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 + (exit $ac_status); } >/dev/null; then
10955 + if test -s conftest.err; then
10956 + ac_cpp_err=$ac_c_preproc_warn_flag
10961 - echo "$ac_err" >&5
10962 - echo "configure: failed program was:" >&5
10963 - cat conftest.$ac_ext >&5
10965 - eval "ac_cv_header_$ac_safe=no"
10969 +if test -z "$ac_cpp_err"; then
10970 + ac_header_preproc=yes
10972 + echo "$as_me: failed program was:" >&5
10973 +sed 's/^/| /' conftest.$ac_ext >&5
10975 + ac_header_preproc=no
10977 +rm -f conftest.err conftest.$ac_ext
10978 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10979 +echo "${ECHO_T}$ac_header_preproc" >&6
10981 +# So? What about this header?
10982 +case $ac_header_compiler:$ac_header_preproc in
10984 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: accepted by the compiler, rejected by the preprocessor!" >&5
10985 +echo "$as_me: WARNING: linux/atmsap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10986 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: proceeding with the preprocessor's result" >&5
10987 +echo "$as_me: WARNING: linux/atmsap.h: proceeding with the preprocessor's result" >&2;}
10990 +## ------------------------------------ ##
10991 +## Report this to bug-autoconf@gnu.org. ##
10992 +## ------------------------------------ ##
10995 + sed "s/^/$as_me: WARNING: /" >&2
10998 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: present but cannot be compiled" >&5
10999 +echo "$as_me: WARNING: linux/atmsap.h: present but cannot be compiled" >&2;}
11000 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: check for missing prerequisite headers?" >&5
11001 +echo "$as_me: WARNING: linux/atmsap.h: check for missing prerequisite headers?" >&2;}
11002 + { echo "$as_me:$LINENO: WARNING: linux/atmsap.h: proceeding with the preprocessor's result" >&5
11003 +echo "$as_me: WARNING: linux/atmsap.h: proceeding with the preprocessor's result" >&2;}
11006 +## ------------------------------------ ##
11007 +## Report this to bug-autoconf@gnu.org. ##
11008 +## ------------------------------------ ##
11011 + sed "s/^/$as_me: WARNING: /" >&2
11014 +echo "$as_me:$LINENO: checking for linux/atmsap.h" >&5
11015 +echo $ECHO_N "checking for linux/atmsap.h... $ECHO_C" >&6
11016 +if test "${ac_cv_header_linux_atmsap_h+set}" = set; then
11017 + echo $ECHO_N "(cached) $ECHO_C" >&6
11019 + ac_cv_header_linux_atmsap_h=$ac_header_preproc
11021 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11022 - echo "$ac_t""yes" 1>&6
11023 +echo "$as_me:$LINENO: result: $ac_cv_header_linux_atmsap_h" >&5
11024 +echo "${ECHO_T}$ac_cv_header_linux_atmsap_h" >&6
11027 +if test $ac_cv_header_linux_atmsap_h = yes; then
11030 - echo "$ac_t""no" 1>&6
11031 -{ echo "configure: error: *** Unable to find linux/atmsap.h!!!" 1>&2; exit 1; }
11032 + { { echo "$as_me:$LINENO: error: *** Unable to find linux/atmsap.h!!!" >&5
11033 +echo "$as_me: error: *** Unable to find linux/atmsap.h!!!" >&2;}
11034 + { (exit 1); exit 1; }; }
11039 -echo $ac_n "checking for main in -lresolv""... $ac_c" 1>&6
11040 -echo "configure:5524: checking for main in -lresolv" >&5
11041 -ac_lib_var=`echo resolv'_'main | sed 'y%./+-%__p_%'`
11042 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11043 - echo $ac_n "(cached) $ac_c" 1>&6
11046 +echo "$as_me:$LINENO: checking for main in -lresolv" >&5
11047 +echo $ECHO_N "checking for main in -lresolv... $ECHO_C" >&6
11048 +if test "${ac_cv_lib_resolv_main+set}" = set; then
11049 + echo $ECHO_N "(cached) $ECHO_C" >&6
11051 - ac_save_LIBS="$LIBS"
11052 + ac_check_lib_save_LIBS=$LIBS
11053 LIBS="-lresolv $LIBS"
11054 -cat > conftest.$ac_ext <<EOF
11055 -#line 5532 "configure"
11056 -#include "confdefs.h"
11057 +cat >conftest.$ac_ext <<_ACEOF
11058 +#line $LINENO "configure"
11061 +cat confdefs.h >>conftest.$ac_ext
11062 +cat >>conftest.$ac_ext <<_ACEOF
11063 +/* end confdefs.h. */
11069 -if { (eval echo configure:5539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11071 - eval "ac_cv_lib_$ac_lib_var=yes"
11073 - echo "configure: failed program was:" >&5
11074 - cat conftest.$ac_ext >&5
11076 - eval "ac_cv_lib_$ac_lib_var=no"
11079 -LIBS="$ac_save_LIBS"
11082 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11083 - echo "$ac_t""yes" 1>&6
11084 - ac_tr_lib=HAVE_LIB`echo resolv | sed -e 's/[^a-zA-Z0-9_]/_/g' \
11085 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
11086 - cat >> confdefs.h <<EOF
11087 -#define $ac_tr_lib 1
11097 +rm -f conftest.$ac_objext conftest$ac_exeext
11098 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11099 + (eval $ac_link) 2>&5
11101 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 + (exit $ac_status); } &&
11103 + { ac_try='test -s conftest$ac_exeext'
11104 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11105 + (eval $ac_try) 2>&5
11107 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108 + (exit $ac_status); }; }; then
11109 + ac_cv_lib_resolv_main=yes
11111 + echo "$as_me: failed program was:" >&5
11112 +sed 's/^/| /' conftest.$ac_ext >&5
11114 +ac_cv_lib_resolv_main=no
11116 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11117 +LIBS=$ac_check_lib_save_LIBS
11119 +echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_main" >&5
11120 +echo "${ECHO_T}$ac_cv_lib_resolv_main" >&6
11121 +if test $ac_cv_lib_resolv_main = yes; then
11122 + cat >>confdefs.h <<_ACEOF
11123 +#define HAVE_LIBRESOLV 1
11126 LIBS="-lresolv $LIBS"
11129 - echo "$ac_t""no" 1>&6
11130 -{ echo "configure: error: *** Unable to find libresolv!!!" 1>&2; exit 1; }
11131 + { { echo "$as_me:$LINENO: error: *** Unable to find libresolv!!!" >&5
11132 +echo "$as_me: error: *** Unable to find libresolv!!!" >&2;}
11133 + { (exit 1); exit 1; }; }
11137 @@ -5571,639 +8342,1417 @@
11138 CFLAGS="$INCLUDES $CFLAGS -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes"
11141 -cat >> confdefs.h <<\EOF
11142 +cat >>confdefs.h <<\_ACEOF
11143 #define YY_USE_CONST 1
11148 atmsigd_conf_dir=` test "x$exec_prefix" = xNONE && exec_prefix=$ac_default_prefix
11149 test "x$prefix" = xNONE && prefix=${exec_prefix}
11150 eval echo "$sysconfdir"`
11151 -cat >> confdefs.h <<EOF
11152 +cat >>confdefs.h <<_ACEOF
11153 #define ATMSIGD_CONF "$atmsigd_conf_dir/atmsigd.conf"
11159 # Check whether --with-uni or --without-uni was given.
11160 if test "${with_uni+set}" = set; then
11161 withval="$with_uni"
11164 case "$with_uni" in
11165 - "3.0" ) cat >> confdefs.h <<\EOF
11166 + "3.0" ) cat >>confdefs.h <<\_ACEOF
11172 - "3.1" ) cat >> confdefs.h <<\EOF
11173 + "3.1" ) cat >>confdefs.h <<\_ACEOF
11179 - "4.0" ) cat >> confdefs.h <<\EOF
11180 + "4.0" ) cat >>confdefs.h <<\_ACEOF
11187 - cat >> confdefs.h <<\EOF
11188 + cat >>confdefs.h <<\_ACEOF
11189 #define DYNAMIC_UNI 1
11193 - echo "configure: warning: *** UNI version not specified correctly. Defaulting to dynamic UNI." 1>&2
11194 + { echo "$as_me:$LINENO: WARNING: *** UNI version not specified correctly. Defaulting to dynamic UNI." >&5
11195 +echo "$as_me: WARNING: *** UNI version not specified correctly. Defaulting to dynamic UNI." >&2;}
11200 - cat >> confdefs.h <<\EOF
11201 + cat >>confdefs.h <<\_ACEOF
11202 #define DYNAMIC_UNI 1
11211 # Check whether --enable-allow_uni30 or --disable-allow_uni30 was given.
11212 if test "${enable_allow_uni30+set}" = set; then
11213 enableval="$enable_allow_uni30"
11216 if test "$with_uni" = "3.1" ; then
11217 - cat >> confdefs.h <<\EOF
11218 + cat >>confdefs.h <<\_ACEOF
11219 #define ALLOW_UNI30 1
11224 - echo "configure: warning: *** Allow UNI 3.0 was not enabled. It is only valid when UNI 3.1 is specified as the default via --with-uni." 1>&2
11225 + { echo "$as_me:$LINENO: WARNING: *** Allow UNI 3.0 was not enabled. It is only valid when UNI 3.1 is specified as the default via --with-uni." >&5
11226 +echo "$as_me: WARNING: *** Allow UNI 3.0 was not enabled. It is only valid when UNI 3.1 is specified as the default via --with-uni." >&2;}
11234 # Check whether --enable-q2963_1 or --disable-q2963_1 was given.
11235 if test "${enable_q2963_1+set}" = set; then
11236 enableval="$enable_q2963_1"
11239 if test "$with_uni" = "4.0" ; then
11240 - cat >> confdefs.h <<\EOF
11241 + cat >>confdefs.h <<\_ACEOF
11247 - echo "configure: warning: *** Q.2963.1 was not enabled. It is only valid when UNI 4.0 is specified as the default via --with-uni." 1>&2
11248 + { echo "$as_me:$LINENO: WARNING: *** Q.2963.1 was not enabled. It is only valid when UNI 4.0 is specified as the default via --with-uni." >&5
11249 +echo "$as_me: WARNING: *** Q.2963.1 was not enabled. It is only valid when UNI 4.0 is specified as the default via --with-uni." >&2;}
11257 # Check whether --enable-cisco or --disable-cisco was given.
11258 if test "${enable_cisco+set}" = set; then
11259 enableval="$enable_cisco"
11260 - cat >> confdefs.h <<\EOF
11261 + cat >>confdefs.h <<\_ACEOF
11271 # Check whether --enable-thomflex or --disable-thomflex was given.
11272 if test "${enable_thomflex+set}" = set; then
11273 enableval="$enable_thomflex"
11274 - cat >> confdefs.h <<\EOF
11275 + cat >>confdefs.h <<\_ACEOF
11285 -cat >> confdefs.h <<\EOF
11286 +cat >>confdefs.h <<\_ACEOF
11287 #define BROKEN_POLL 1
11292 # Check whether --enable-mpoa_1_1 or --disable-mpoa_1_1 was given.
11293 if test "${enable_mpoa_1_1+set}" = set; then
11294 enableval="$enable_mpoa_1_1"
11295 - cat >> confdefs.h <<\EOF
11296 + cat >>confdefs.h <<\_ACEOF
11306 # Check whether --enable-mpr or --disable-mpr was given.
11307 if test "${enable_mpr+set}" = set; then
11308 enableval="$enable_mpr"
11311 case "$enable_mpr" in
11312 "" | y | ye | yes | Y | YE | YES )
11313 - echo $ac_n "checking for main in -lmpr""... $ac_c" 1>&6
11314 -echo "configure:5704: checking for main in -lmpr" >&5
11315 -ac_lib_var=`echo mpr'_'main | sed 'y%./+-%__p_%'`
11316 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11317 - echo $ac_n "(cached) $ac_c" 1>&6
11319 +echo "$as_me:$LINENO: checking for main in -lmpr" >&5
11320 +echo $ECHO_N "checking for main in -lmpr... $ECHO_C" >&6
11321 +if test "${ac_cv_lib_mpr_main+set}" = set; then
11322 + echo $ECHO_N "(cached) $ECHO_C" >&6
11324 - ac_save_LIBS="$LIBS"
11325 + ac_check_lib_save_LIBS=$LIBS
11327 -cat > conftest.$ac_ext <<EOF
11328 -#line 5712 "configure"
11329 -#include "confdefs.h"
11330 +cat >conftest.$ac_ext <<_ACEOF
11331 +#line $LINENO "configure"
11334 +cat confdefs.h >>conftest.$ac_ext
11335 +cat >>conftest.$ac_ext <<_ACEOF
11336 +/* end confdefs.h. */
11342 -if { (eval echo configure:5719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11344 - eval "ac_cv_lib_$ac_lib_var=yes"
11346 - echo "configure: failed program was:" >&5
11347 - cat conftest.$ac_ext >&5
11349 - eval "ac_cv_lib_$ac_lib_var=no"
11352 -LIBS="$ac_save_LIBS"
11355 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11356 - echo "$ac_t""yes" 1>&6
11357 - ac_tr_lib=HAVE_LIB`echo mpr | sed -e 's/[^a-zA-Z0-9_]/_/g' \
11358 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
11359 - cat >> confdefs.h <<EOF
11360 -#define $ac_tr_lib 1
11370 +rm -f conftest.$ac_objext conftest$ac_exeext
11371 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11372 + (eval $ac_link) 2>&5
11374 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 + (exit $ac_status); } &&
11376 + { ac_try='test -s conftest$ac_exeext'
11377 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11378 + (eval $ac_try) 2>&5
11380 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381 + (exit $ac_status); }; }; then
11382 + ac_cv_lib_mpr_main=yes
11384 + echo "$as_me: failed program was:" >&5
11385 +sed 's/^/| /' conftest.$ac_ext >&5
11387 +ac_cv_lib_mpr_main=no
11389 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11390 +LIBS=$ac_check_lib_save_LIBS
11392 +echo "$as_me:$LINENO: result: $ac_cv_lib_mpr_main" >&5
11393 +echo "${ECHO_T}$ac_cv_lib_mpr_main" >&6
11394 +if test $ac_cv_lib_mpr_main = yes; then
11395 + cat >>confdefs.h <<_ACEOF
11396 +#define HAVE_LIBMPR 1
11402 - echo "$ac_t""no" 1>&6
11404 - echo "configure: warning: *** Could not find libmpr! Is MPR installed?" 1>&2
11407 + { echo "$as_me:$LINENO: WARNING: *** Could not find libmpr! Is MPR installed?" >&5
11408 +echo "$as_me: WARNING: *** Could not find libmpr! Is MPR installed?" >&2;}
11423 -cat > confcache <<\EOF
11424 + ac_config_files="$ac_config_files Makefile doc/Makefile m4/Makefile src/Makefile src/include/Makefile src/lib/Makefile src/test/Makefile src/debug/Makefile src/qgen/Makefile src/saal/Makefile src/sigd/Makefile src/maint/Makefile src/arpd/Makefile src/ilmid/Makefile src/ilmid/asn1/Makefile src/man/Makefile src/led/Makefile src/lane/Makefile src/mpoad/Makefile src/switch/Makefile src/switch/debug/Makefile src/switch/tcp/Makefile src/config/Makefile src/config/init-redhat/Makefile src/extra/Makefile src/extra/linux-atm.spec src/extra/ANS/Makefile"
11425 +cat >confcache <<\_ACEOF
11426 # This file is a shell script that caches the results of configure
11427 # tests run on this system so they can be shared between configure
11428 -# scripts and configure runs. It is not useful on other systems.
11429 -# If it contains results you don't want to keep, you may remove or edit it.
11430 +# scripts and configure runs, see configure's option --config-cache.
11431 +# It is not useful on other systems. If it contains results you don't
11432 +# want to keep, you may remove or edit it.
11434 -# By default, configure uses ./config.cache as the cache file,
11435 -# creating it if it does not exist already. You can give configure
11436 -# the --cache-file=FILE option to use a different cache file; that is
11437 -# what configure does when it calls configure scripts in
11438 -# subdirectories, so they share the cache.
11439 -# Giving --cache-file=/dev/null disables caching, for debugging configure.
11440 -# config.status only pays attention to the cache file if you give it the
11441 -# --recheck option to rerun configure.
11442 +# config.status only pays attention to the cache file if you give it
11443 +# the --recheck option to rerun configure.
11446 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
11447 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
11448 +# following values.
11452 # The following way of writing the cache mishandles newlines in values,
11453 # but we know of no workaround that is simple, portable, and efficient.
11454 # So, don't put newlines in cache variables' values.
11455 # Ultrix sh set writes to stderr and can't be redirected directly,
11456 # and sets the high bit in the cache file unless we assign to the vars.
11458 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
11460 - # `set' does not quote correctly, so add quotes (double-quote substitution
11461 - # turns \\\\ into \\, and sed turns \\ into \).
11463 - -e "s/'/'\\\\''/g" \
11464 - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11467 - # `set' quotes correctly as required by POSIX, so do not add quotes.
11468 - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11470 - esac >> confcache
11471 -if cmp -s $cache_file confcache; then
11476 + case `(ac_space=' '; set | grep ac_space) 2>&1` in
11478 + # `set' does not quote correctly, so add quotes (double-quote
11479 + # substitution turns \\\\ into \\, and sed turns \\ into \).
11482 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11485 + # `set' quotes correctly as required by POSIX, so do not add quotes.
11487 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11494 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11496 + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11497 + : end' >>confcache
11498 +if diff $cache_file confcache >/dev/null 2>&1; then :; else
11499 if test -w $cache_file; then
11500 - echo "updating cache $cache_file"
11501 - cat confcache > $cache_file
11502 + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11503 + cat confcache >$cache_file
11505 echo "not updating unwritable cache $cache_file"
11510 -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
11512 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11513 # Let make expand exec_prefix.
11514 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11516 -# Any assignment to VPATH causes Sun make to only execute
11517 -# the first set of double-colon rules, so remove it if not needed.
11518 -# If there is a colon in the path, we need to keep it.
11519 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
11520 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11521 +# trailing colons and then remove the whole line if VPATH becomes empty
11522 +# (actually we leave an empty line to preserve line numbers).
11523 if test "x$srcdir" = x.; then
11524 - ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
11525 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
11526 +s/:*\$(srcdir):*/:/;
11527 +s/:*\${srcdir}:*/:/;
11528 +s/:*@srcdir@:*/:/;
11529 +s/^\([^=]*=[ ]*\):*/\1/;
11535 -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
11537 DEFS=-DHAVE_CONFIG_H
11539 -# Without the "./", some shells look in PATH for config.status.
11540 -: ${CONFIG_STATUS=./config.status}
11543 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11544 + # 1. Remove the extension, and $U if already installed.
11545 + ac_i=`echo "$ac_i" |
11546 + sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11548 + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11549 + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11551 +LIBOBJS=$ac_libobjs
11553 -echo creating $CONFIG_STATUS
11554 -rm -f $CONFIG_STATUS
11555 -cat > $CONFIG_STATUS <<EOF
11557 -# Generated automatically by configure.
11558 +LTLIBOBJS=$ac_ltlibobjs
11562 +: ${CONFIG_STATUS=./config.status}
11563 +ac_clean_files_save=$ac_clean_files
11564 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11565 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11566 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
11567 +cat >$CONFIG_STATUS <<_ACEOF
11569 +# Generated by $as_me.
11570 # Run this file to recreate the current configuration.
11571 -# This directory was configured as follows,
11572 -# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11574 -# $0 $ac_configure_args
11576 # Compiler output produced by configure, useful for debugging
11577 -# configure, is in ./config.log if it exists.
11578 +# configure, is in config.log if it exists.
11580 -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
11583 +ac_cs_recheck=false
11584 +ac_cs_silent=false
11585 +SHELL=\${CONFIG_SHELL-$SHELL}
11588 +cat >>$CONFIG_STATUS <<\_ACEOF
11589 +## --------------------- ##
11590 +## M4sh Initialization. ##
11591 +## --------------------- ##
11593 +# Be Bourne compatible
11594 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11597 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11598 + # is contrary to our usage. Disable this feature.
11599 + alias -g '${1+"$@"}'='"$@"'
11600 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11604 +# Support unset when possible.
11605 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
11612 +# Work around bugs in pre-3.0 UWIN ksh.
11613 +$as_unset ENV MAIL MAILPATH
11620 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11621 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11622 + LC_TELEPHONE LC_TIME
11624 - case "\$ac_option" in
11625 - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11626 - echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
11627 - exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
11628 - -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
11629 - echo "$CONFIG_STATUS generated by autoconf version 2.13"
11631 - -help | --help | --hel | --he | --h)
11632 - echo "\$ac_cs_usage"; exit 0 ;;
11633 - *) echo "\$ac_cs_usage"; exit 1 ;;
11634 + if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
11635 + eval $as_var=C; export $as_var
11637 + $as_unset $as_var
11641 +# Required to use basename.
11642 +if expr a : '\(a\)' >/dev/null 2>&1; then
11648 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11649 + as_basename=basename
11651 + as_basename=false
11655 +# Name of the executable.
11656 +as_me=`$as_basename "$0" ||
11657 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11658 + X"$0" : 'X\(//\)$' \| \
11659 + X"$0" : 'X\(/\)$' \| \
11660 + . : '\(.\)' 2>/dev/null ||
11662 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11663 + /^X\/\(\/\/\)$/{ s//\1/; q; }
11664 + /^X\/\(\/\).*/{ s//\1/; q; }
11668 +# PATH needs CR, and LINENO needs CR and PATH.
11669 +# Avoid depending upon Character Ranges.
11670 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11671 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11672 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11673 +as_cr_digits='0123456789'
11674 +as_cr_alnum=$as_cr_Letters$as_cr_digits
11676 +# The user is always right.
11677 +if test "${PATH_SEPARATOR+set}" != set; then
11678 + echo "#! /bin/sh" >conf$$.sh
11679 + echo "exit 0" >>conf$$.sh
11680 + chmod +x conf$$.sh
11681 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11682 + PATH_SEPARATOR=';'
11690 + as_lineno_1=$LINENO
11691 + as_lineno_2=$LINENO
11692 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11693 + test "x$as_lineno_1" != "x$as_lineno_2" &&
11694 + test "x$as_lineno_3" = "x$as_lineno_2" || {
11695 + # Find who we are. Look in the path if we contain no path at all
11696 + # relative or not.
11698 + *[\\/]* ) as_myself=$0 ;;
11699 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11700 +for as_dir in $PATH
11703 + test -z "$as_dir" && as_dir=.
11704 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11709 + # We did not find ourselves, most probably we were run as `sh COMMAND'
11710 + # in which case we are not to be found in the path.
11711 + if test "x$as_myself" = x; then
11714 + if test ! -f "$as_myself"; then
11715 + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11716 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11717 + { (exit 1); exit 1; }; }
11719 + case $CONFIG_SHELL in
11721 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11722 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11725 + test -z "$as_dir" && as_dir=.
11726 + for as_base in sh bash ksh sh5; do
11729 + if ("$as_dir/$as_base" -c '
11730 + as_lineno_1=$LINENO
11731 + as_lineno_2=$LINENO
11732 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11733 + test "x$as_lineno_1" != "x$as_lineno_2" &&
11734 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
11735 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11736 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11737 + CONFIG_SHELL=$as_dir/$as_base
11738 + export CONFIG_SHELL
11739 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11747 -ac_given_srcdir=$srcdir
11748 -ac_given_INSTALL="$INSTALL"
11750 -trap 'rm -fr `echo "Makefile \
11754 - src/include/Makefile \
11755 - src/lib/Makefile \
11756 - src/test/Makefile \
11757 - src/debug/Makefile \
11758 - src/qgen/Makefile \
11759 - src/saal/Makefile \
11760 - src/sigd/Makefile \
11761 - src/maint/Makefile \
11762 - src/arpd/Makefile \
11763 - src/ilmid/Makefile \
11764 - src/ilmid/asn1/Makefile \
11765 - src/man/Makefile \
11766 - src/led/Makefile \
11767 - src/lane/Makefile \
11768 - src/mpoad/Makefile \
11769 - src/switch/Makefile \
11770 - src/switch/debug/Makefile \
11771 - src/switch/tcp/Makefile \
11772 - src/config/Makefile \
11773 - src/config/init-redhat/Makefile \
11774 - src/extra/Makefile \
11775 - src/extra/linux-atm.spec \
11776 - src/extra/ANS/Makefile
11777 - config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
11779 -cat >> $CONFIG_STATUS <<EOF
11780 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11781 + # uniformly replaced by the line number. The first 'sed' inserts a
11782 + # line-number line before each line; the second 'sed' does the real
11783 + # work. The second script uses 'N' to pair each line-number line
11784 + # with the numbered line, and appends trailing '-' during
11785 + # substitution so that $LINENO is not a special case at line end.
11786 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11787 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11788 + sed '=' <$as_myself |
11793 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11796 + s,^['$as_cr_digits']*\n,,
11797 + ' >$as_me.lineno &&
11798 + chmod +x $as_me.lineno ||
11799 + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11800 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11801 + { (exit 1); exit 1; }; }
11803 + # Don't try to exec as it changes $[0], causing all sort of problems
11804 + # (the dirname of $[0] is not the place where we might find the
11805 + # original and so on. Autoconf is especially sensible to this).
11806 + . ./$as_me.lineno
11807 + # Exit status is that of the last command.
11811 -# Protect against being on the right side of a sed subst in config.status.
11812 -sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
11813 - s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
11816 -s%@SHELL@%$SHELL%g
11817 -s%@CFLAGS@%$CFLAGS%g
11818 -s%@CPPFLAGS@%$CPPFLAGS%g
11819 -s%@CXXFLAGS@%$CXXFLAGS%g
11820 -s%@FFLAGS@%$FFLAGS%g
11822 -s%@LDFLAGS@%$LDFLAGS%g
11824 -s%@exec_prefix@%$exec_prefix%g
11825 -s%@prefix@%$prefix%g
11826 -s%@program_transform_name@%$program_transform_name%g
11827 -s%@bindir@%$bindir%g
11828 -s%@sbindir@%$sbindir%g
11829 -s%@libexecdir@%$libexecdir%g
11830 -s%@datadir@%$datadir%g
11831 -s%@sysconfdir@%$sysconfdir%g
11832 -s%@sharedstatedir@%$sharedstatedir%g
11833 -s%@localstatedir@%$localstatedir%g
11834 -s%@libdir@%$libdir%g
11835 -s%@includedir@%$includedir%g
11836 -s%@oldincludedir@%$oldincludedir%g
11837 -s%@infodir@%$infodir%g
11838 -s%@mandir@%$mandir%g
11840 -s%@host_alias@%$host_alias%g
11841 -s%@host_cpu@%$host_cpu%g
11842 -s%@host_vendor@%$host_vendor%g
11843 -s%@host_os@%$host_os%g
11844 -s%@target@%$target%g
11845 -s%@target_alias@%$target_alias%g
11846 -s%@target_cpu@%$target_cpu%g
11847 -s%@target_vendor@%$target_vendor%g
11848 -s%@target_os@%$target_os%g
11849 -s%@build@%$build%g
11850 -s%@build_alias@%$build_alias%g
11851 -s%@build_cpu@%$build_cpu%g
11852 -s%@build_vendor@%$build_vendor%g
11853 -s%@build_os@%$build_os%g
11854 -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
11855 -s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
11856 -s%@INSTALL_DATA@%$INSTALL_DATA%g
11857 -s%@PACKAGE@%$PACKAGE%g
11858 -s%@VERSION@%$VERSION%g
11859 -s%@ACLOCAL@%$ACLOCAL%g
11860 -s%@AUTOCONF@%$AUTOCONF%g
11861 -s%@AUTOMAKE@%$AUTOMAKE%g
11862 -s%@AUTOHEADER@%$AUTOHEADER%g
11863 -s%@MAKEINFO@%$MAKEINFO%g
11864 -s%@SET_MAKE@%$SET_MAKE%g
11865 -s%@LIBVER_CURRENT@%$LIBVER_CURRENT%g
11866 -s%@LIBVER_REVISION@%$LIBVER_REVISION%g
11867 -s%@LIBVER_AGE@%$LIBVER_AGE%g
11870 -s%@LEXLIB@%$LEXLIB%g
11872 -s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
11875 -s%@OBJEXT@%$OBJEXT%g
11876 -s%@EXEEXT@%$EXEEXT%g
11878 -s%@RANLIB@%$RANLIB%g
11879 -s%@STRIP@%$STRIP%g
11880 -s%@LIBTOOL@%$LIBTOOL%g
11881 -s%@LIBTOOL_DEPS@%$LIBTOOL_DEPS%g
11886 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11887 + *c*,-n*) ECHO_N= ECHO_C='
11889 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11890 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
11893 -cat >> $CONFIG_STATUS <<\EOF
11894 +if expr a : '\(a\)' >/dev/null 2>&1; then
11900 -# Split the substitutions into bite-sized pieces for seds with
11901 -# small command number limits, like on Digital OSF/1 and HP-UX.
11902 -ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
11903 -ac_file=1 # Number of current file.
11904 -ac_beg=1 # First line for current file.
11905 -ac_end=$ac_max_sed_cmds # Line after last line for current file.
11908 -while $ac_more_lines; do
11909 - if test $ac_beg -gt 1; then
11910 - sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
11912 - sed "${ac_end}q" conftest.subs > conftest.s$ac_file
11914 - if test ! -s conftest.s$ac_file; then
11915 - ac_more_lines=false
11916 - rm -f conftest.s$ac_file
11917 +rm -f conf$$ conf$$.exe conf$$.file
11919 +if ln -s conf$$.file conf$$ 2>/dev/null; then
11920 + # We could just check for DJGPP; but this test a) works b) is more generic
11921 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11922 + if test -f conf$$.exe; then
11923 + # Don't use ln at all; we don't have any links
11926 - if test -z "$ac_sed_cmds"; then
11927 - ac_sed_cmds="sed -f conftest.s$ac_file"
11929 - ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
11931 - ac_file=`expr $ac_file + 1`
11933 - ac_end=`expr $ac_end + $ac_max_sed_cmds`
11936 +elif ln conf$$.file conf$$ 2>/dev/null; then
11941 +rm -f conf$$ conf$$.exe conf$$.file
11943 +if mkdir -p . 2>/dev/null; then
11949 +as_executable_p="test -f"
11951 +# Sed expression to map a string onto a valid CPP name.
11952 +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
11954 +# Sed expression to map a string onto a valid variable name.
11955 +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
11959 +# We need space, tab and new line, in precisely that order.
11969 +# Open the log real soon, to keep \$[0] and so on meaningful, and to
11970 +# report actual input values of CONFIG_FILES etc. instead of their
11971 +# values after options handling. Logging --version etc. is OK.
11972 +exec 5>>config.log
11975 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11976 +## Running $as_me. ##
11981 +This file was extended by $as_me, which was
11982 +generated by GNU Autoconf 2.57. Invocation command line was
11984 + CONFIG_FILES = $CONFIG_FILES
11985 + CONFIG_HEADERS = $CONFIG_HEADERS
11986 + CONFIG_LINKS = $CONFIG_LINKS
11987 + CONFIG_COMMANDS = $CONFIG_COMMANDS
11991 +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11995 +# Files that config.status was made for.
11996 +if test -n "$ac_config_files"; then
11997 + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12000 +if test -n "$ac_config_headers"; then
12001 + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12004 +if test -n "$ac_config_links"; then
12005 + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12008 +if test -n "$ac_config_commands"; then
12009 + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12012 +cat >>$CONFIG_STATUS <<\_ACEOF
12015 +\`$as_me' instantiates files from templates according to the
12016 +current configuration.
12018 +Usage: $0 [OPTIONS] [FILE]...
12020 + -h, --help print this help, then exit
12021 + -V, --version print version number, then exit
12022 + -q, --quiet do not print progress messages
12023 + -d, --debug don't remove temporary files
12024 + --recheck update $as_me by reconfiguring in the same conditions
12025 + --file=FILE[:TEMPLATE]
12026 + instantiate the configuration file FILE
12027 + --header=FILE[:TEMPLATE]
12028 + instantiate the configuration header FILE
12030 +Configuration files:
12033 +Configuration headers:
12036 +Configuration commands:
12039 +Report bugs to <bug-autoconf@gnu.org>."
12042 +cat >>$CONFIG_STATUS <<_ACEOF
12045 +configured by $0, generated by GNU Autoconf 2.57,
12046 + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12048 +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
12049 +Free Software Foundation, Inc.
12050 +This config.status script is free software; the Free Software Foundation
12051 +gives unlimited permission to copy, distribute and modify it."
12053 +INSTALL="$INSTALL"
12056 +cat >>$CONFIG_STATUS <<\_ACEOF
12057 +# If no file are specified by the user, then we need to provide default
12058 +# value. By we need to know if files were specified by the user.
12059 +ac_need_defaults=:
12060 +while test $# != 0
12064 + ac_option=`expr "x$1" : 'x\([^=]*\)='`
12065 + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
12073 + *) # This is not an option, so the user has probably given explicit
12076 + ac_need_defaults=false;;
12079 + case $ac_option in
12080 + # Handling of the options.
12082 +cat >>$CONFIG_STATUS <<\_ACEOF
12083 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12084 + ac_cs_recheck=: ;;
12085 + --version | --vers* | -V )
12086 + echo "$ac_cs_version"; exit 0 ;;
12088 + # Conflict between --help and --header
12089 + { { echo "$as_me:$LINENO: error: ambiguous option: $1
12090 +Try \`$0 --help' for more information." >&5
12091 +echo "$as_me: error: ambiguous option: $1
12092 +Try \`$0 --help' for more information." >&2;}
12093 + { (exit 1); exit 1; }; };;
12094 + --help | --hel | -h )
12095 + echo "$ac_cs_usage"; exit 0 ;;
12096 + --debug | --d* | -d )
12098 + --file | --fil | --fi | --f )
12100 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12101 + ac_need_defaults=false;;
12102 + --header | --heade | --head | --hea )
12104 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12105 + ac_need_defaults=false;;
12106 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12107 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
12108 + ac_cs_silent=: ;;
12110 + # This is an error.
12111 + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12112 +Try \`$0 --help' for more information." >&5
12113 +echo "$as_me: error: unrecognized option: $1
12114 +Try \`$0 --help' for more information." >&2;}
12115 + { (exit 1); exit 1; }; } ;;
12117 + *) ac_config_targets="$ac_config_targets $1" ;;
12123 +ac_configure_extra_args=
12125 +if $ac_cs_silent; then
12127 + ac_configure_extra_args="$ac_configure_extra_args --silent"
12131 +cat >>$CONFIG_STATUS <<_ACEOF
12132 +if \$ac_cs_recheck; then
12133 + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12134 + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12139 +cat >>$CONFIG_STATUS <<_ACEOF
12141 +# INIT-COMMANDS section.
12150 +cat >>$CONFIG_STATUS <<\_ACEOF
12151 +for ac_config_target in $ac_config_targets
12153 + case "$ac_config_target" in
12154 + # Handling of arguments.
12155 + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12156 + "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
12157 + "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
12158 + "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12159 + "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
12160 + "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
12161 + "src/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;;
12162 + "src/debug/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/debug/Makefile" ;;
12163 + "src/qgen/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/qgen/Makefile" ;;
12164 + "src/saal/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/saal/Makefile" ;;
12165 + "src/sigd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/sigd/Makefile" ;;
12166 + "src/maint/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/maint/Makefile" ;;
12167 + "src/arpd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/arpd/Makefile" ;;
12168 + "src/ilmid/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/ilmid/Makefile" ;;
12169 + "src/ilmid/asn1/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/ilmid/asn1/Makefile" ;;
12170 + "src/man/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/man/Makefile" ;;
12171 + "src/led/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/led/Makefile" ;;
12172 + "src/lane/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lane/Makefile" ;;
12173 + "src/mpoad/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/mpoad/Makefile" ;;
12174 + "src/switch/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/switch/Makefile" ;;
12175 + "src/switch/debug/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/switch/debug/Makefile" ;;
12176 + "src/switch/tcp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/switch/tcp/Makefile" ;;
12177 + "src/config/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/config/Makefile" ;;
12178 + "src/config/init-redhat/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/config/init-redhat/Makefile" ;;
12179 + "src/extra/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/extra/Makefile" ;;
12180 + "src/extra/linux-atm.spec" ) CONFIG_FILES="$CONFIG_FILES src/extra/linux-atm.spec" ;;
12181 + "src/extra/ANS/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/extra/ANS/Makefile" ;;
12182 + "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12183 + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12184 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12185 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12186 + { (exit 1); exit 1; }; };;
12189 -if test -z "$ac_sed_cmds"; then
12192 +# If the user did not use the arguments to specify the items to instantiate,
12193 +# then the envvar interface is used. Set only those that are not.
12194 +# We use the long form for the default assignment because of an extremely
12195 +# bizarre bug on SunOS 4.1.3.
12196 +if $ac_need_defaults; then
12197 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12198 + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12199 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12203 -cat >> $CONFIG_STATUS <<EOF
12204 +# Have a temporary directory for convenience. Make it in the build tree
12205 +# simply because there is no reason to put it here, and in addition,
12206 +# creating and moving files from /tmp can sometimes cause problems.
12207 +# Create a temporary directory, and hook for its removal unless debugging.
12210 + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12211 + trap '{ (exit 1); exit 1; }' 1 2 13 15
12214 -CONFIG_FILES=\${CONFIG_FILES-"Makefile \
12218 - src/include/Makefile \
12219 - src/lib/Makefile \
12220 - src/test/Makefile \
12221 - src/debug/Makefile \
12222 - src/qgen/Makefile \
12223 - src/saal/Makefile \
12224 - src/sigd/Makefile \
12225 - src/maint/Makefile \
12226 - src/arpd/Makefile \
12227 - src/ilmid/Makefile \
12228 - src/ilmid/asn1/Makefile \
12229 - src/man/Makefile \
12230 - src/led/Makefile \
12231 - src/lane/Makefile \
12232 - src/mpoad/Makefile \
12233 - src/switch/Makefile \
12234 - src/switch/debug/Makefile \
12235 - src/switch/tcp/Makefile \
12236 - src/config/Makefile \
12237 - src/config/init-redhat/Makefile \
12238 - src/extra/Makefile \
12239 - src/extra/linux-atm.spec \
12240 - src/extra/ANS/Makefile
12243 -cat >> $CONFIG_STATUS <<\EOF
12244 -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
12245 +# Create a (secure) tmp directory for tmp files.
12248 + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12249 + test -n "$tmp" && test -d "$tmp"
12252 + tmp=./confstat$$-$RANDOM
12253 + (umask 077 && mkdir $tmp)
12256 + echo "$me: cannot create a temporary directory in ." >&2
12257 + { (exit 1); exit 1; }
12262 +cat >>$CONFIG_STATUS <<_ACEOF
12265 +# CONFIG_FILES section.
12268 +# No need to generate the scripts if there are no CONFIG_FILES.
12269 +# This happens for instance when ./config.status config.h
12270 +if test -n "\$CONFIG_FILES"; then
12271 + # Protect against being on the right side of a sed subst in config.status.
12272 + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12273 + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12274 +s,@SHELL@,$SHELL,;t t
12275 +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12276 +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12277 +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12278 +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12279 +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12280 +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12281 +s,@exec_prefix@,$exec_prefix,;t t
12282 +s,@prefix@,$prefix,;t t
12283 +s,@program_transform_name@,$program_transform_name,;t t
12284 +s,@bindir@,$bindir,;t t
12285 +s,@sbindir@,$sbindir,;t t
12286 +s,@libexecdir@,$libexecdir,;t t
12287 +s,@datadir@,$datadir,;t t
12288 +s,@sysconfdir@,$sysconfdir,;t t
12289 +s,@sharedstatedir@,$sharedstatedir,;t t
12290 +s,@localstatedir@,$localstatedir,;t t
12291 +s,@libdir@,$libdir,;t t
12292 +s,@includedir@,$includedir,;t t
12293 +s,@oldincludedir@,$oldincludedir,;t t
12294 +s,@infodir@,$infodir,;t t
12295 +s,@mandir@,$mandir,;t t
12296 +s,@build_alias@,$build_alias,;t t
12297 +s,@host_alias@,$host_alias,;t t
12298 +s,@target_alias@,$target_alias,;t t
12299 +s,@DEFS@,$DEFS,;t t
12300 +s,@ECHO_C@,$ECHO_C,;t t
12301 +s,@ECHO_N@,$ECHO_N,;t t
12302 +s,@ECHO_T@,$ECHO_T,;t t
12303 +s,@LIBS@,$LIBS,;t t
12304 +s,@build@,$build,;t t
12305 +s,@build_cpu@,$build_cpu,;t t
12306 +s,@build_vendor@,$build_vendor,;t t
12307 +s,@build_os@,$build_os,;t t
12308 +s,@host@,$host,;t t
12309 +s,@host_cpu@,$host_cpu,;t t
12310 +s,@host_vendor@,$host_vendor,;t t
12311 +s,@host_os@,$host_os,;t t
12312 +s,@target@,$target,;t t
12313 +s,@target_cpu@,$target_cpu,;t t
12314 +s,@target_vendor@,$target_vendor,;t t
12315 +s,@target_os@,$target_os,;t t
12316 +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12317 +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12318 +s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12319 +s,@PACKAGE@,$PACKAGE,;t t
12320 +s,@VERSION@,$VERSION,;t t
12321 +s,@ACLOCAL@,$ACLOCAL,;t t
12322 +s,@AUTOCONF@,$AUTOCONF,;t t
12323 +s,@AUTOMAKE@,$AUTOMAKE,;t t
12324 +s,@AUTOHEADER@,$AUTOHEADER,;t t
12325 +s,@MAKEINFO@,$MAKEINFO,;t t
12326 +s,@SET_MAKE@,$SET_MAKE,;t t
12327 +s,@LIBVER_CURRENT@,$LIBVER_CURRENT,;t t
12328 +s,@LIBVER_REVISION@,$LIBVER_REVISION,;t t
12329 +s,@LIBVER_AGE@,$LIBVER_AGE,;t t
12331 +s,@CFLAGS@,$CFLAGS,;t t
12332 +s,@LDFLAGS@,$LDFLAGS,;t t
12333 +s,@CPPFLAGS@,$CPPFLAGS,;t t
12334 +s,@ac_ct_CC@,$ac_ct_CC,;t t
12335 +s,@EXEEXT@,$EXEEXT,;t t
12336 +s,@OBJEXT@,$OBJEXT,;t t
12338 +s,@LEXLIB@,$LEXLIB,;t t
12339 +s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
12340 +s,@YACC@,$YACC,;t t
12341 +s,@LN_S@,$LN_S,;t t
12342 +s,@ECHO@,$ECHO,;t t
12343 +s,@RANLIB@,$RANLIB,;t t
12344 +s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12345 +s,@STRIP@,$STRIP,;t t
12346 +s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12348 +s,@EGREP@,$EGREP,;t t
12349 +s,@LIBTOOL@,$LIBTOOL,;t t
12350 +s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
12351 +s,@PERL@,$PERL,;t t
12352 +s,@LIBOBJS@,$LIBOBJS,;t t
12353 +s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12358 + cat >>$CONFIG_STATUS <<\_ACEOF
12359 + # Split the substitutions into bite-sized pieces for seds with
12360 + # small command number limits, like on Digital OSF/1 and HP-UX.
12361 + ac_max_sed_lines=48
12362 + ac_sed_frag=1 # Number of current file.
12363 + ac_beg=1 # First line for current file.
12364 + ac_end=$ac_max_sed_lines # Line after last line for current file.
12367 + while $ac_more_lines; do
12368 + if test $ac_beg -gt 1; then
12369 + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12371 + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12373 + if test ! -s $tmp/subs.frag; then
12374 + ac_more_lines=false
12376 + # The purpose of the label and of the branching condition is to
12377 + # speed up the sed processing (if there are no `@' at all, there
12378 + # is no need to browse any of the substitutions).
12379 + # These are the two extra sed commands mentioned above.
12381 + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
12382 + if test -z "$ac_sed_cmds"; then
12383 + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
12385 + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12387 + ac_sed_frag=`expr $ac_sed_frag + 1`
12389 + ac_end=`expr $ac_end + $ac_max_sed_lines`
12392 + if test -z "$ac_sed_cmds"; then
12395 +fi # test -n "$CONFIG_FILES"
12398 +cat >>$CONFIG_STATUS <<\_ACEOF
12399 +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
12400 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12401 - case "$ac_file" in
12402 - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
12403 - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
12404 - *) ac_file_in="${ac_file}.in" ;;
12407 - # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
12409 - # Remove last slash and all that follows it. Not all systems have dirname.
12410 - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12411 - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12412 - # The file is in a subdirectory.
12413 - test ! -d "$ac_dir" && mkdir "$ac_dir"
12414 - ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
12415 - # A "../" for each directory in $ac_dir_suffix.
12416 - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
12418 - ac_dir_suffix= ac_dots=
12421 - case "$ac_given_srcdir" in
12423 - if test -z "$ac_dots"; then top_srcdir=.
12424 - else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
12425 - /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
12427 + - | *:- | *:-:* ) # input from stdin
12429 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12430 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12431 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12432 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12433 + * ) ac_file_in=$ac_file.in ;;
12436 + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12437 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12438 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12439 + X"$ac_file" : 'X\(//\)[^/]' \| \
12440 + X"$ac_file" : 'X\(//\)$' \| \
12441 + X"$ac_file" : 'X\(/\)' \| \
12442 + . : '\(.\)' 2>/dev/null ||
12443 +echo X"$ac_file" |
12444 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12445 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12446 + /^X\(\/\/\)$/{ s//\1/; q; }
12447 + /^X\(\/\).*/{ s//\1/; q; }
12449 + { if $as_mkdir_p; then
12450 + mkdir -p "$ac_dir"
12454 + while test ! -d "$as_dir"; do
12455 + as_dirs="$as_dir $as_dirs"
12456 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
12457 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12458 + X"$as_dir" : 'X\(//\)[^/]' \| \
12459 + X"$as_dir" : 'X\(//\)$' \| \
12460 + X"$as_dir" : 'X\(/\)' \| \
12461 + . : '\(.\)' 2>/dev/null ||
12463 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12464 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12465 + /^X\(\/\/\)$/{ s//\1/; q; }
12466 + /^X\(\/\).*/{ s//\1/; q; }
12469 + test ! -n "$as_dirs" || mkdir $as_dirs
12470 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12471 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12472 + { (exit 1); exit 1; }; }; }
12476 +if test "$ac_dir" != .; then
12477 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12478 + # A "../" for each directory in $ac_dir_suffix.
12479 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12481 + ac_dir_suffix= ac_top_builddir=
12485 + .) # No --srcdir option. We are building in place.
12487 + if test -z "$ac_top_builddir"; then
12490 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12492 + [\\/]* | ?:[\\/]* ) # Absolute path.
12493 + ac_srcdir=$srcdir$ac_dir_suffix;
12494 + ac_top_srcdir=$srcdir ;;
12495 *) # Relative path.
12496 - srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
12497 - top_srcdir="$ac_dots$ac_given_srcdir" ;;
12498 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12499 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
12501 +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
12503 +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
12504 +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
12505 +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
12506 +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
12510 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12511 + *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12514 - case "$ac_given_INSTALL" in
12515 - [/$]*) INSTALL="$ac_given_INSTALL" ;;
12516 - *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
12519 - echo creating "$ac_file"
12521 - configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
12522 - case "$ac_file" in
12523 - *Makefile*) ac_comsub="1i\\
12524 -# $configure_input" ;;
12528 - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12529 - sed -e "$ac_comsub
12530 -s%@configure_input@%$configure_input%g
12531 -s%@srcdir@%$srcdir%g
12532 -s%@top_srcdir@%$top_srcdir%g
12533 -s%@INSTALL@%$INSTALL%g
12534 -" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
12537 + if test x"$ac_file" != x-; then
12538 + { echo "$as_me:$LINENO: creating $ac_file" >&5
12539 +echo "$as_me: creating $ac_file" >&6;}
12542 + # Let's still pretend it is `configure' which instantiates (i.e., don't
12543 + # use $as_me), people would be surprised to read:
12544 + # /* config.h. Generated by config.status. */
12545 + if test x"$ac_file" = x-; then
12548 + configure_input="$ac_file. "
12550 + configure_input=$configure_input"Generated from `echo $ac_file_in |
12551 + sed 's,.*/,,'` by configure."
12553 + # First look for the input files in the build tree, otherwise in the
12555 + ac_file_inputs=`IFS=:
12556 + for f in $ac_file_in; do
12558 + -) echo $tmp/stdin ;;
12560 + # Absolute (can't be DOS-style, as IFS=:)
12561 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12562 +echo "$as_me: error: cannot find input file: $f" >&2;}
12563 + { (exit 1); exit 1; }; }
12566 + if test -f "$f"; then
12569 + elif test -f "$srcdir/$f"; then
12574 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12575 +echo "$as_me: error: cannot find input file: $f" >&2;}
12576 + { (exit 1); exit 1; }; }
12579 + done` || { (exit 1); exit 1; }
12581 +cat >>$CONFIG_STATUS <<_ACEOF
12585 +cat >>$CONFIG_STATUS <<\_ACEOF
12587 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12588 +s,@configure_input@,$configure_input,;t t
12589 +s,@srcdir@,$ac_srcdir,;t t
12590 +s,@abs_srcdir@,$ac_abs_srcdir,;t t
12591 +s,@top_srcdir@,$ac_top_srcdir,;t t
12592 +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12593 +s,@builddir@,$ac_builddir,;t t
12594 +s,@abs_builddir@,$ac_abs_builddir,;t t
12595 +s,@top_builddir@,$ac_top_builddir,;t t
12596 +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12597 +s,@INSTALL@,$ac_INSTALL,;t t
12598 +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12600 + if test x"$ac_file" != x-; then
12601 + mv $tmp/out $ac_file
12609 +cat >>$CONFIG_STATUS <<\_ACEOF
12612 +# CONFIG_HEADER section.
12615 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12616 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12618 # ac_d sets the value in "#define NAME VALUE" lines.
12619 -ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12620 -ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
12623 -# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
12624 -ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12625 -ac_uB='\([ ]\)%\1#\2define\3'
12626 +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12627 +ac_dB='[ ].*$,\1#\2'
12630 +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12631 +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12632 +ac_uB='$,\1#\2define\3'
12635 -# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12636 -ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12637 -ac_eB='$%\1#\2define\3'
12642 -if test "${CONFIG_HEADERS+set}" != set; then
12644 -cat >> $CONFIG_STATUS <<EOF
12645 - CONFIG_HEADERS="config.h"
12647 -cat >> $CONFIG_STATUS <<\EOF
12649 -for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
12650 +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
12651 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12652 - case "$ac_file" in
12653 - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
12654 - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
12655 - *) ac_file_in="${ac_file}.in" ;;
12657 + - | *:- | *:-:* ) # input from stdin
12659 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12660 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12661 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12662 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12663 + * ) ac_file_in=$ac_file.in ;;
12666 - echo creating $ac_file
12668 - rm -f conftest.frag conftest.in conftest.out
12669 - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12670 - cat $ac_file_inputs > conftest.in
12673 + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
12674 +echo "$as_me: creating $ac_file" >&6;}
12676 -# Transform confdefs.h into a sed script conftest.vals that substitutes
12677 -# the proper values into config.h.in to produce config.h. And first:
12678 -# Protect against being on the right side of a sed subst in config.status.
12679 -# Protect against being in an unquoted here document in config.status.
12680 -rm -f conftest.vals
12681 -cat > conftest.hdr <<\EOF
12684 -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
12688 -sed -n -f conftest.hdr confdefs.h > conftest.vals
12689 -rm -f conftest.hdr
12690 + # First look for the input files in the build tree, otherwise in the
12692 + ac_file_inputs=`IFS=:
12693 + for f in $ac_file_in; do
12695 + -) echo $tmp/stdin ;;
12697 + # Absolute (can't be DOS-style, as IFS=:)
12698 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12699 +echo "$as_me: error: cannot find input file: $f" >&2;}
12700 + { (exit 1); exit 1; }; }
12703 + if test -f "$f"; then
12706 + elif test -f "$srcdir/$f"; then
12711 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12712 +echo "$as_me: error: cannot find input file: $f" >&2;}
12713 + { (exit 1); exit 1; }; }
12716 + done` || { (exit 1); exit 1; }
12717 + # Remove the trailing spaces.
12718 + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12722 +# Transform confdefs.h into two sed scripts, `conftest.defines' and
12723 +# `conftest.undefs', that substitutes the proper values into
12724 +# config.h.in to produce config.h. The first handles `#define'
12725 +# templates, and the second `#undef' templates.
12726 +# And first: Protect against being on the right side of a sed subst in
12727 +# config.status. Protect against being in an unquoted here document
12728 +# in config.status.
12729 +rm -f conftest.defines conftest.undefs
12730 +# Using a here document instead of a string reduces the quoting nightmare.
12731 +# Putting comments in sed scripts is not portable.
12733 +# `end' is used to avoid that the second main sed command (meant for
12734 +# 0-ary CPP macros) applies to n-ary macro definitions.
12735 +# See the Autoconf documentation for `clear'.
12736 +cat >confdef2sed.sed <<\_ACEOF
12741 +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12743 +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12746 +# If some macros were called several times there might be several times
12747 +# the same #defines, which is useless. Nevertheless, we may not want to
12748 +# sort them, since we want the *last* AC-DEFINE to be honored.
12749 +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12750 +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12751 +rm -f confdef2sed.sed
12753 # This sed command replaces #undef with comments. This is necessary, for
12754 # example, in the case of _POSIX_SOURCE, which is predefined and required
12755 # on some systems where configure will not decide to define it.
12756 -cat >> conftest.vals <<\EOF
12757 -s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
12760 -# Break up conftest.vals because some shells have a limit on
12761 -# the size of here documents, and old seds have small limits too.
12763 +cat >>conftest.undefs <<\_ACEOF
12764 +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12767 +# Break up conftest.defines because some shells have a limit on the size
12768 +# of here documents, and old seds have small limits too (100 cmds).
12769 +echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12770 +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12771 +echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12772 +echo ' :' >>$CONFIG_STATUS
12773 +rm -f conftest.tail
12774 +while grep . conftest.defines >/dev/null
12776 + # Write a limited-size here document to $tmp/defines.sed.
12777 + echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12778 + # Speed up: don't consider the non `#define' lines.
12779 + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12780 + # Work around the forget-to-reset-the-flag bug.
12781 + echo 't clr' >>$CONFIG_STATUS
12782 + echo ': clr' >>$CONFIG_STATUS
12783 + sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
12785 + sed -f $tmp/defines.sed $tmp/in >$tmp/out
12787 + mv $tmp/out $tmp/in
12788 +' >>$CONFIG_STATUS
12789 + sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
12790 + rm -f conftest.defines
12791 + mv conftest.tail conftest.defines
12793 +rm -f conftest.defines
12794 +echo ' fi # grep' >>$CONFIG_STATUS
12795 +echo >>$CONFIG_STATUS
12797 +# Break up conftest.undefs because some shells have a limit on the size
12798 +# of here documents, and old seds have small limits too (100 cmds).
12799 +echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12800 rm -f conftest.tail
12802 +while grep . conftest.undefs >/dev/null
12804 - ac_lines=`grep -c . conftest.vals`
12805 - # grep -c gives empty output for an empty file on some AIX systems.
12806 - if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
12807 - # Write a limited-size here document to conftest.frag.
12808 - echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
12809 - sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
12810 + # Write a limited-size here document to $tmp/undefs.sed.
12811 + echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12812 + # Speed up: don't consider the non `#undef'
12813 + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12814 + # Work around the forget-to-reset-the-flag bug.
12815 + echo 't clr' >>$CONFIG_STATUS
12816 + echo ': clr' >>$CONFIG_STATUS
12817 + sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12819 - sed -f conftest.frag conftest.in > conftest.out
12820 - rm -f conftest.in
12821 - mv conftest.out conftest.in
12822 -' >> $CONFIG_STATUS
12823 - sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
12824 - rm -f conftest.vals
12825 - mv conftest.tail conftest.vals
12827 -rm -f conftest.vals
12829 -cat >> $CONFIG_STATUS <<\EOF
12830 - rm -f conftest.frag conftest.h
12831 - echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
12832 - cat conftest.in >> conftest.h
12833 - rm -f conftest.in
12834 - if cmp -s $ac_file conftest.h 2>/dev/null; then
12835 - echo "$ac_file is unchanged"
12838 - # Remove last slash and all that follows it. Not all systems have dirname.
12839 - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12840 - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12841 - # The file is in a subdirectory.
12842 - test ! -d "$ac_dir" && mkdir "$ac_dir"
12843 + sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12845 + mv $tmp/out $tmp/in
12846 +' >>$CONFIG_STATUS
12847 + sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12848 + rm -f conftest.undefs
12849 + mv conftest.tail conftest.undefs
12851 +rm -f conftest.undefs
12853 +cat >>$CONFIG_STATUS <<\_ACEOF
12854 + # Let's still pretend it is `configure' which instantiates (i.e., don't
12855 + # use $as_me), people would be surprised to read:
12856 + # /* config.h. Generated by config.status. */
12857 + if test x"$ac_file" = x-; then
12858 + echo "/* Generated by configure. */" >$tmp/config.h
12860 + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12862 + cat $tmp/in >>$tmp/config.h
12864 + if test x"$ac_file" != x-; then
12865 + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
12866 + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12867 +echo "$as_me: $ac_file is unchanged" >&6;}
12869 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12870 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12871 + X"$ac_file" : 'X\(//\)[^/]' \| \
12872 + X"$ac_file" : 'X\(//\)$' \| \
12873 + X"$ac_file" : 'X\(/\)' \| \
12874 + . : '\(.\)' 2>/dev/null ||
12875 +echo X"$ac_file" |
12876 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12877 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12878 + /^X\(\/\/\)$/{ s//\1/; q; }
12879 + /^X\(\/\).*/{ s//\1/; q; }
12881 + { if $as_mkdir_p; then
12882 + mkdir -p "$ac_dir"
12886 + while test ! -d "$as_dir"; do
12887 + as_dirs="$as_dir $as_dirs"
12888 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
12889 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12890 + X"$as_dir" : 'X\(//\)[^/]' \| \
12891 + X"$as_dir" : 'X\(//\)$' \| \
12892 + X"$as_dir" : 'X\(/\)' \| \
12893 + . : '\(.\)' 2>/dev/null ||
12895 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12896 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12897 + /^X\(\/\/\)$/{ s//\1/; q; }
12898 + /^X\(\/\).*/{ s//\1/; q; }
12901 + test ! -n "$as_dirs" || mkdir $as_dirs
12902 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12903 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12904 + { (exit 1); exit 1; }; }; }
12907 + mv $tmp/config.h $ac_file
12910 - mv conftest.h $ac_file
12912 + cat $tmp/config.h
12913 + rm -f $tmp/config.h
12918 +cat >>$CONFIG_STATUS <<\_ACEOF
12921 -cat >> $CONFIG_STATUS <<EOF
12923 +# CONFIG_COMMANDS section.
12925 +for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
12926 + ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
12927 + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
12928 + ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
12929 +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12930 + X"$ac_dest" : 'X\(//\)[^/]' \| \
12931 + X"$ac_dest" : 'X\(//\)$' \| \
12932 + X"$ac_dest" : 'X\(/\)' \| \
12933 + . : '\(.\)' 2>/dev/null ||
12934 +echo X"$ac_dest" |
12935 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12936 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12937 + /^X\(\/\/\)$/{ s//\1/; q; }
12938 + /^X\(\/\).*/{ s//\1/; q; }
12942 +if test "$ac_dir" != .; then
12943 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12944 + # A "../" for each directory in $ac_dir_suffix.
12945 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12947 + ac_dir_suffix= ac_top_builddir=
12951 + .) # No --srcdir option. We are building in place.
12953 + if test -z "$ac_top_builddir"; then
12956 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12958 + [\\/]* | ?:[\\/]* ) # Absolute path.
12959 + ac_srcdir=$srcdir$ac_dir_suffix;
12960 + ac_top_srcdir=$srcdir ;;
12961 + *) # Relative path.
12962 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12963 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
12965 +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
12967 +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
12968 +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
12969 +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
12970 +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
12974 -cat >> $CONFIG_STATUS <<\EOF
12975 -test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
12976 + { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12977 +echo "$as_me: executing $ac_dest commands" >&6;}
12979 + default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
12986 +cat >>$CONFIG_STATUS <<\_ACEOF
12988 +{ (exit 0); exit 0; }
12990 chmod +x $CONFIG_STATUS
12991 -rm -fr confdefs* $ac_clean_files
12992 -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
12993 +ac_clean_files=$ac_clean_files_save
12996 +# configure is writing to config.log, and then calls config.status.
12997 +# config.status does its own redirection, appending to config.log.
12998 +# Unfortunately, on DOS this fails, as config.log is still kept open
12999 +# by configure, so config.status won't be able to write to it; its
13000 +# output is simply discarded. So we exec the FD to /dev/null,
13001 +# effectively closing config.log, so it can be properly (re)opened and
13002 +# appended to by config.status. When coming back to configure, we
13003 +# need to make the FD available again.
13004 +if test "$no_create" != yes; then
13006 + ac_config_status_args=
13007 + test "$silent" = yes &&
13008 + ac_config_status_args="$ac_config_status_args --quiet"
13010 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13011 + exec 5>>config.log
13012 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13013 + # would make configure fail if this is the last instruction.
13014 + $ac_cs_success || { (exit 1); exit 1; }
13018 Index: linux-atm-2.4.1/ltmain.sh
13019 ===================================================================
13020 --- linux-atm-2.4.1.orig/ltmain.sh 2007-10-20 19:19:10.870247941 +0200
13021 +++ linux-atm-2.4.1/ltmain.sh 2007-10-20 19:19:11.774299458 +0200
13022 @@ -49,14 +49,14 @@
13025 # The name of this program.
13026 -progname=`$echo "$0" | sed 's%^.*/%%'`
13027 +progname=`$echo "$0" | ${SED} 's%^.*/%%'`
13028 modename="$progname"
13034 -TIMESTAMP=" (1.920 2001/04/24 23:26:18)"
13036 +TIMESTAMP=" (1.922.2.111 2002/10/23 02:54:36)"
13039 help="Try \`$progname --help' for more information."
13040 @@ -67,10 +67,19 @@
13042 # Sed substitution that helps us do robust quoting. It backslashifies
13043 # metacharacters that are still active within double-quoted strings.
13044 -Xsed='sed -e 1s/^X//'
13045 +Xsed="${SED}"' -e 1s/^X//'
13046 sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
13047 -SP2NL='tr \040 \012'
13048 -NL2SP='tr \015\012 \040\040'
13049 +# test EBCDIC or ASCII
13050 +case `echo A|od -x` in
13051 + *[Cc]1*) # EBCDIC based system
13052 + SP2NL="tr '\100' '\n'"
13053 + NL2SP="tr '\r\n' '\100\100'"
13055 + *) # Assume ASCII based system
13056 + SP2NL="tr '\040' '\012'"
13057 + NL2SP="tr '\015\012' '\040\040'"
13062 # Only set LANG and LC_ALL to C if already set.
13064 save_LANG="$LANG"; LANG=C; export LANG
13067 +# Make sure IFS has a sensible default
13070 if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
13071 echo "$modename: not configured to build any kind of library" 1>&2
13072 echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
13073 @@ -141,7 +153,7 @@
13077 - sed -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
13078 + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
13082 @@ -174,6 +186,8 @@
13083 --mode) prevopt="--mode" prev=mode ;;
13084 --mode=*) mode="$optarg" ;;
13086 + --preserve-dup-deps) duplicate_deps="yes" ;;
13088 --quiet | --silent)
13091 @@ -202,12 +216,17 @@
13095 +# If this variable is set in any of the actions, the command in it
13096 +# will be execed at the end. This prevents here-documents from being
13097 +# left over by shells.
13100 if test -z "$show_help"; then
13102 # Infer the operation mode.
13103 if test -z "$mode"; then
13105 - *cc | *++ | gcc* | *-gcc*)
13106 + *cc | *++ | gcc* | *-gcc* | g++* | xlc*)
13110 @@ -329,7 +348,7 @@
13112 args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
13114 - IFS="${IFS= }"; save_ifs="$IFS"; IFS=','
13115 + save_ifs="$IFS"; IFS=','
13116 for arg in $args; do
13119 @@ -615,6 +634,10 @@
13120 # Now arrange that obj and lo_libobj become the same file
13121 $show "(cd $xdir && $LN_S $baseobj $libobj)"
13122 if $run eval '(cd $xdir && $LN_S $baseobj $libobj)'; then
13123 + # Unlock the critical section if it was locked
13124 + if test "$need_locks" != no; then
13125 + $run $rm "$lockfile"
13130 @@ -745,6 +768,7 @@
13133 lib_search_path=`pwd`
13138 @@ -875,6 +899,11 @@
13143 + inst_prefix_dir="$arg"
13150 @@ -976,11 +1005,16 @@
13154 + -inst-prefix-dir)
13159 # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
13160 # so, if we see these flags be careful not to treat them like -L
13162 case $with_gcc/$host in
13164 + no/*-*-irix* | no/*-*-nonstopux*)
13165 compile_command="$compile_command $arg"
13166 finalize_command="$finalize_command $arg"
13168 @@ -1031,6 +1065,17 @@
13169 # These systems don't actually have a C library (as such)
13170 test "X$arg" = "X-lc" && continue
13172 + *-*-openbsd* | *-*-freebsd*)
13173 + # Do not include libc due to us having libc/libc_r.
13174 + test "X$arg" = "X-lc" && continue
13177 + elif test "X$arg" = "X-lc_r"; then
13179 + *-*-openbsd* | *-*-freebsd*)
13180 + # Do not include libc_r directly, use -pthread flag.
13185 deplibs="$deplibs $arg"
13186 @@ -1122,7 +1167,7 @@
13188 args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
13190 - IFS="${IFS= }"; save_ifs="$IFS"; IFS=','
13191 + save_ifs="$IFS"; IFS=','
13192 for flag in $args; do
13195 @@ -1140,7 +1185,7 @@
13197 args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
13199 - IFS="${IFS= }"; save_ifs="$IFS"; IFS=','
13200 + save_ifs="$IFS"; IFS=','
13201 for flag in $args; do
13204 @@ -1307,9 +1352,11 @@
13205 # Find all interdependent deplibs by searching for libraries
13206 # that are linked more than once (e.g. -la -lb -la)
13207 for deplib in $deplibs; do
13209 - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
13211 + if test "X$duplicate_deps" = "Xyes" ; then
13213 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
13216 libs="$libs $deplib"
13219 @@ -1343,7 +1390,7 @@
13222 for pass in $passes; do
13223 - if test "$linkmode" = prog; then
13224 + if test $linkmode = prog; then
13225 # Determine which files to process
13228 @@ -1360,11 +1407,11 @@
13232 - if test "$linkmode" = oldlib && test "$linkmode" = obj; then
13233 + if test $linkmode = oldlib && test $linkmode = obj; then
13234 $echo "$modename: warning: \`-l' is ignored for archives/objects: $deplib" 1>&2
13237 - if test "$pass" = conv; then
13238 + if test $pass = conv; then
13239 deplibs="$deplib $deplibs"
13242 @@ -1384,7 +1431,7 @@
13243 finalize_deplibs="$deplib $finalize_deplibs"
13245 deplibs="$deplib $deplibs"
13246 - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
13247 + test $linkmode = lib && newdependency_libs="$deplib $newdependency_libs"
13251 @@ -1393,16 +1440,16 @@
13254 deplibs="$deplib $deplibs"
13255 - test "$pass" = conv && continue
13256 + test $pass = conv && continue
13257 newdependency_libs="$deplib $newdependency_libs"
13258 newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
13261 - if test "$pass" = conv; then
13262 + if test $pass = conv; then
13263 deplibs="$deplib $deplibs"
13266 - if test "$pass" = scan; then
13267 + if test $pass = scan; then
13268 deplibs="$deplib $deplibs"
13269 newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
13271 @@ -1417,7 +1464,7 @@
13275 - if test "$pass" = link; then
13276 + if test $pass = link; then
13277 dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
13278 # Make sure the xrpath contains only unique directories.
13280 @@ -1430,7 +1477,7 @@
13282 *.la) lib="$deplib" ;;
13284 - if test "$pass" = conv; then
13285 + if test $pass = conv; then
13286 deplibs="$deplib $deplibs"
13289 @@ -1438,10 +1485,12 @@
13291 if test "$deplibs_check_method" != pass_all; then
13293 - echo "*** Warning: This library needs some functionality provided by $deplib."
13294 + echo "*** Warning: Trying to link with static lib archive $deplib."
13295 echo "*** I have the capability to make that library automatically link in when"
13296 echo "*** you link to this library. But I can only do this if you have a"
13297 - echo "*** shared version of the library, which you do not appear to have."
13298 + echo "*** shared version of the library, which you do not appear to have"
13299 + echo "*** because the file extensions .$libext of this argument makes me believe"
13300 + echo "*** that it is just a static archive that I should not used here."
13303 echo "*** Warning: Linking the shared library $output against the"
13304 @@ -1451,7 +1500,7 @@
13308 - if test "$pass" != link; then
13309 + if test $pass != link; then
13310 deplibs="$deplib $deplibs"
13312 compile_deplibs="$deplib $compile_deplibs"
13313 @@ -1462,7 +1511,7 @@
13317 - if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
13318 + if test $pass = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
13319 # If there is no dlopen support or we're linking statically,
13320 # we need to preload.
13321 newdlprefiles="$newdlprefiles $deplib"
13322 @@ -1485,7 +1534,7 @@
13325 # Check to see that this really is a libtool archive.
13326 - if (sed -e '2q' $lib | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
13327 + if (${SED} -e '2q' $lib | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
13329 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
13331 @@ -1512,13 +1561,13 @@
13333 if test "$linkmode,$pass" = "lib,link" ||
13334 test "$linkmode,$pass" = "prog,scan" ||
13335 - { test "$linkmode" = oldlib && test "$linkmode" = obj; }; then
13336 + { test $linkmode = oldlib && test $linkmode = obj; }; then
13337 # Add dl[pre]opened files of deplib
13338 test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
13339 test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
13342 - if test "$pass" = conv; then
13343 + if test $pass = conv; then
13344 # Only check for convenience libraries
13345 deplibs="$lib $deplibs"
13346 if test -z "$libdir"; then
13347 @@ -1532,12 +1581,14 @@
13349 for deplib in $dependency_libs; do
13350 deplibs="$deplib $deplibs"
13351 - case "$tmp_libs " in
13352 - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
13354 + if test "X$duplicate_deps" = "Xyes" ; then
13355 + case "$tmp_libs " in
13356 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
13359 tmp_libs="$tmp_libs $deplib"
13361 - elif test "$linkmode" != prog && test "$linkmode" != lib; then
13362 + elif test $linkmode != prog && test $linkmode != lib; then
13363 $echo "$modename: \`$lib' is not a convenience library" 1>&2
13366 @@ -1555,7 +1606,7 @@
13369 # This library was specified with -dlopen.
13370 - if test "$pass" = dlopen; then
13371 + if test $pass = dlopen; then
13372 if test -z "$libdir"; then
13373 $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
13375 @@ -1604,7 +1655,7 @@
13376 name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
13378 # This library was specified with -dlpreopen.
13379 - if test "$pass" = dlpreopen; then
13380 + if test $pass = dlpreopen; then
13381 if test -z "$libdir"; then
13382 $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
13384 @@ -1623,7 +1674,7 @@
13386 if test -z "$libdir"; then
13387 # Link the convenience library
13388 - if test "$linkmode" = lib; then
13389 + if test $linkmode = lib; then
13390 deplibs="$dir/$old_library $deplibs"
13391 elif test "$linkmode,$pass" = "prog,link"; then
13392 compile_deplibs="$dir/$old_library $compile_deplibs"
13393 @@ -1634,7 +1685,7 @@
13397 - if test "$linkmode" = prog && test "$pass" != link; then
13398 + if test $linkmode = prog && test $pass != link; then
13399 newlib_search_path="$newlib_search_path $ladir"
13400 deplibs="$lib $deplibs"
13402 @@ -1657,9 +1708,11 @@
13403 # or/and link against static libraries
13404 newdependency_libs="$deplib $newdependency_libs"
13406 - case "$tmp_libs " in
13407 - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
13409 + if test "X$duplicate_deps" = "Xyes" ; then
13410 + case "$tmp_libs " in
13411 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
13414 tmp_libs="$tmp_libs $deplib"
13417 @@ -1671,7 +1724,7 @@
13418 # Link against this shared library
13420 if test "$linkmode,$pass" = "prog,link" ||
13421 - { test "$linkmode" = lib && test "$hardcode_into_libs" = yes; }; then
13422 + { test $linkmode = lib && test $hardcode_into_libs = yes; }; then
13423 # Hardcode the library path.
13424 # Skip directories that are in the system default run-time
13426 @@ -1693,7 +1746,7 @@
13430 - if test "$linkmode" = prog; then
13431 + if test $linkmode = prog; then
13432 # We need to hardcode the library path
13433 if test -n "$shlibpath_var"; then
13434 # Make sure the rpath contains only unique directories.
13435 @@ -1743,14 +1796,14 @@
13437 # Make a new name for the extract_expsyms_cmds to use
13439 - soname=`echo $soroot | sed -e 's/^.*\///'`
13440 - newlib="libimp-`echo $soname | sed 's/^lib//;s/\.dll$//'`.a"
13441 + soname=`echo $soroot | ${SED} -e 's/^.*\///'`
13442 + newlib="libimp-`echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
13444 # If the library has no export list, then create one now
13445 if test -f "$output_objdir/$soname-def"; then :
13447 $show "extracting exported symbol list from \`$soname'"
13448 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
13449 + save_ifs="$IFS"; IFS='~'
13450 eval cmds=\"$extract_expsyms_cmds\"
13451 for cmd in $cmds; do
13453 @@ -1763,7 +1816,7 @@
13455 if test -f "$output_objdir/$newlib"; then :; else
13456 $show "generating import library for \`$soname'"
13457 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
13458 + save_ifs="$IFS"; IFS='~'
13459 eval cmds=\"$old_archive_from_expsyms_cmds\"
13460 for cmd in $cmds; do
13462 @@ -1777,7 +1830,7 @@
13464 fi # test -n $old_archive_from_expsyms_cmds
13466 - if test "$linkmode" = prog || test "$mode" != relink; then
13467 + if test $linkmode = prog || test "$mode" != relink; then
13471 @@ -1804,6 +1857,14 @@
13472 add="$dir/$linklib"
13473 elif test "$hardcode_minus_L" = yes; then
13475 + # Try looking first in the location we're being installed to.
13476 + if test -n "$inst_prefix_dir"; then
13477 + case "$libdir" in
13479 + add_dir="-L$inst_prefix_dir$libdir $add_dir"
13484 elif test "$hardcode_shlibpath_var" = yes; then
13485 add_shlibpath="$dir"
13486 @@ -1826,7 +1887,7 @@
13487 *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
13490 - if test "$linkmode" = prog; then
13491 + if test $linkmode = prog; then
13492 test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
13493 test -n "$add" && compile_deplibs="$add $compile_deplibs"
13495 @@ -1843,7 +1904,7 @@
13499 - if test "$linkmode" = prog || test "$mode" = relink; then
13500 + if test $linkmode = prog || test "$mode" = relink; then
13504 @@ -1862,10 +1923,18 @@
13506 # We cannot seem to hardcode it, guess we'll fake it.
13507 add_dir="-L$libdir"
13508 + # Try looking first in the location we're being installed to.
13509 + if test -n "$inst_prefix_dir"; then
13510 + case "$libdir" in
13512 + add_dir="-L$inst_prefix_dir$libdir $add_dir"
13519 - if test "$linkmode" = prog; then
13520 + if test $linkmode = prog; then
13521 test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
13522 test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
13524 @@ -1873,7 +1942,7 @@
13525 test -n "$add" && deplibs="$add $deplibs"
13528 - elif test "$linkmode" = prog; then
13529 + elif test $linkmode = prog; then
13530 if test "$alldeplibs" = yes &&
13531 { test "$deplibs_check_method" = pass_all ||
13532 { test "$build_libtool_libs" = yes &&
13533 @@ -1903,25 +1972,26 @@
13534 # Just print a warning and add the library to dependency_libs so
13535 # that the program can be linked against the static library.
13537 - echo "*** Warning: This library needs some functionality provided by $lib."
13538 + echo "*** Warning: This system can not link to static lib archive $lib."
13539 echo "*** I have the capability to make that library automatically link in when"
13540 echo "*** you link to this library. But I can only do this if you have a"
13541 echo "*** shared version of the library, which you do not appear to have."
13542 if test "$module" = yes; then
13543 - echo "*** Therefore, libtool will create a static module, that should work "
13544 - echo "*** as long as the dlopening application is linked with the -dlopen flag."
13545 + echo "*** But as you try to build a module library, libtool will still create "
13546 + echo "*** a static module, that should work as long as the dlopening application"
13547 + echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
13548 if test -z "$global_symbol_pipe"; then
13550 - echo "*** However, this would only work if libtool was able to extract symbol"
13551 - echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
13552 - echo "*** not find such a program. So, this module is probably useless."
13553 - echo "*** \`nm' from GNU binutils and a full rebuild may help."
13555 + echo "*** However, this would only work if libtool was able to extract symbol"
13556 + echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
13557 + echo "*** not find such a program. So, this module is probably useless."
13558 + echo "*** \`nm' from GNU binutils and a full rebuild may help."
13560 if test "$build_old_libs" = no; then
13561 - build_libtool_libs=module
13562 - build_old_libs=yes
13563 + build_libtool_libs=module
13564 + build_old_libs=yes
13566 - build_libtool_libs=no
13567 + build_libtool_libs=no
13571 @@ -1932,9 +2002,9 @@
13573 fi # link shared/static library?
13575 - if test "$linkmode" = lib; then
13576 + if test $linkmode = lib; then
13577 if test -n "$dependency_libs" &&
13578 - { test "$hardcode_into_libs" != yes || test $build_old_libs = yes ||
13579 + { test $hardcode_into_libs != yes || test $build_old_libs = yes ||
13580 test $link_static = yes; }; then
13581 # Extract -R from dependency_libs
13583 @@ -1958,13 +2028,15 @@
13585 for deplib in $dependency_libs; do
13586 newdependency_libs="$deplib $newdependency_libs"
13587 - case "$tmp_libs " in
13588 - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
13590 + if test "X$duplicate_deps" = "Xyes" ; then
13591 + case "$tmp_libs " in
13592 + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
13595 tmp_libs="$tmp_libs $deplib"
13598 - if test "$link_all_deplibs" != no; then
13599 + if test $link_all_deplibs != no; then
13600 # Add the search paths of all dependency libraries
13601 for deplib in $dependency_libs; do
13603 @@ -1986,7 +2058,7 @@
13604 if grep "^installed=no" $deplib > /dev/null; then
13605 path="-L$absdir/$objdir"
13607 - eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
13608 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
13609 if test -z "$libdir"; then
13610 $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
13612 @@ -2007,15 +2079,15 @@
13613 fi # link_all_deplibs != no
13614 fi # linkmode = lib
13615 done # for deplib in $libs
13616 - if test "$pass" = dlpreopen; then
13617 + if test $pass = dlpreopen; then
13618 # Link the dlpreopened libraries before other libraries
13619 for deplib in $save_deplibs; do
13620 deplibs="$deplib $deplibs"
13623 - if test "$pass" != dlopen; then
13624 - test "$pass" != scan && dependency_libs="$newdependency_libs"
13625 - if test "$pass" != conv; then
13626 + if test $pass != dlopen; then
13627 + test $pass != scan && dependency_libs="$newdependency_libs"
13628 + if test $pass != conv; then
13629 # Make sure lib_search_path contains only unique directories.
13631 for dir in $newlib_search_path; do
13632 @@ -2073,7 +2145,7 @@
13636 - if test "$linkmode" = prog; then
13637 + if test $linkmode = prog; then
13638 dlfiles="$newdlfiles"
13639 dlprefiles="$newdlprefiles"
13641 @@ -2175,7 +2247,7 @@
13644 # Parse the version information argument.
13645 - IFS="${IFS= }"; save_ifs="$IFS"; IFS=':'
13646 + save_ifs="$IFS"; IFS=':'
13647 set dummy $vinfo 0 0 0
13650 @@ -2250,16 +2322,21 @@
13651 versuffix=".$current";
13655 + irix | nonstopux)
13656 major=`expr $current - $age + 1`
13657 - verstring="sgi$major.$revision"
13659 + case $version_type in
13660 + nonstopux) verstring_prefix=nonstopux ;;
13661 + *) verstring_prefix=sgi ;;
13663 + verstring="$verstring_prefix$major.$revision"
13665 # Add in all the interfaces that we are compatible with.
13667 while test $loop != 0; do
13668 iface=`expr $revision - $loop`
13669 loop=`expr $loop - 1`
13670 - verstring="sgi$major.$iface:$verstring"
13671 + verstring="$verstring_prefix$major.$iface:$verstring"
13674 # Before this point, $major must not contain `.'.
13675 @@ -2273,7 +2350,7 @@
13679 - major=`expr $current - $age`
13680 + major=.`expr $current - $age`
13681 versuffix=".$current.$age.$revision"
13682 verstring="$current.$age.$revision"
13684 @@ -2312,6 +2389,16 @@
13685 if test -z "$vinfo" && test -n "$release"; then
13688 + case $version_type in
13690 + # we can't check for "0.0" in archive_cmds due to quoting
13691 + # problems, so we reset it completely
13698 if test "$need_version" = no; then
13701 @@ -2355,9 +2442,9 @@
13703 # Eliminate all temporary directories.
13704 for path in $notinst_path; do
13705 - lib_search_path=`echo "$lib_search_path " | sed -e 's% $path % %g'`
13706 - deplibs=`echo "$deplibs " | sed -e 's% -L$path % %g'`
13707 - dependency_libs=`echo "$dependency_libs " | sed -e 's% -L$path % %g'`
13708 + lib_search_path=`echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
13709 + deplibs=`echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
13710 + dependency_libs=`echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
13713 if test -n "$xrpath"; then
13714 @@ -2408,9 +2495,12 @@
13716 # Don't link with libc until the a.out ld.so is fixed.
13718 + *-*-openbsd* | *-*-freebsd*)
13719 + # Do not include libc due to us having libc/libc_r.
13722 # Add libc to deplibs on all other systems if necessary.
13723 - if test "$build_libtool_need_lc" = "yes"; then
13724 + if test $build_libtool_need_lc = "yes"; then
13725 deplibs="$deplibs -lc"
13728 @@ -2466,18 +2556,20 @@
13732 - echo "*** Warning: This library needs some functionality provided by $i."
13733 + echo "*** Warning: dynamic linker does not accept needed library $i."
13734 echo "*** I have the capability to make that library automatically link in when"
13735 echo "*** you link to this library. But I can only do this if you have a"
13736 - echo "*** shared version of the library, which you do not appear to have."
13737 + echo "*** shared version of the library, which I believe you do not have"
13738 + echo "*** because a test_compile did reveal that the linker did not use it for"
13739 + echo "*** its dynamic dependency list that programs get resolved with at runtime."
13742 newdeplibs="$newdeplibs $i"
13746 - # Error occured in the first compile. Let's try to salvage the situation:
13747 - # Compile a seperate program for each library.
13748 + # Error occured in the first compile. Let's try to salvage
13749 + # the situation: Compile a separate program for each library.
13750 for i in $deplibs; do
13751 name="`expr $i : '-l\(.*\)'`"
13752 # If $name is empty we are operating on a -L argument.
13753 @@ -2496,10 +2588,12 @@
13757 - echo "*** Warning: This library needs some functionality provided by $i."
13758 + echo "*** Warning: dynamic linker does not accept needed library $i."
13759 echo "*** I have the capability to make that library automatically link in when"
13760 echo "*** you link to this library. But I can only do this if you have a"
13761 - echo "*** shared version of the library, which you do not appear to have."
13762 + echo "*** shared version of the library, which you do not appear to have"
13763 + echo "*** because a test_compile did reveal that the linker did not use this one"
13764 + echo "*** as a dynamic dependency that programs can get resolved with at runtime."
13768 @@ -2538,14 +2632,14 @@
13770 potlib="$potent_lib"
13771 while test -h "$potlib" 2>/dev/null; do
13772 - potliblink=`ls -ld $potlib | sed 's/.* -> //'`
13773 + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
13774 case $potliblink in
13775 [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
13776 *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
13779 if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
13782 | egrep "$file_magic_regex" > /dev/null; then
13783 newdeplibs="$newdeplibs $a_deplib"
13785 @@ -2556,10 +2650,17 @@
13786 if test -n "$a_deplib" ; then
13789 - echo "*** Warning: This library needs some functionality provided by $a_deplib."
13790 + echo "*** Warning: linker path does not have real file for library $a_deplib."
13791 echo "*** I have the capability to make that library automatically link in when"
13792 echo "*** you link to this library. But I can only do this if you have a"
13793 - echo "*** shared version of the library, which you do not appear to have."
13794 + echo "*** shared version of the library, which you do not appear to have"
13795 + echo "*** because I did check the linker path looking for a file starting"
13796 + if test -z "$potlib" ; then
13797 + echo "*** with $libname but no candidates were found. (...for file magic test)"
13799 + echo "*** with $libname and none of the candidates passed a file format test"
13800 + echo "*** using a file magic. Last file checked: $potlib"
13804 # Add a -L argument.
13805 @@ -2578,8 +2679,9 @@
13806 for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
13807 potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
13808 for potent_lib in $potential_libs; do
13809 + potlib="$potent_lib" # see symlink-check below in file_magic test
13810 if eval echo \"$potent_lib\" 2>/dev/null \
13813 | egrep "$match_pattern_regex" > /dev/null; then
13814 newdeplibs="$newdeplibs $a_deplib"
13816 @@ -2590,10 +2692,17 @@
13817 if test -n "$a_deplib" ; then
13820 - echo "*** Warning: This library needs some functionality provided by $a_deplib."
13821 + echo "*** Warning: linker path does not have real file for library $a_deplib."
13822 echo "*** I have the capability to make that library automatically link in when"
13823 echo "*** you link to this library. But I can only do this if you have a"
13824 - echo "*** shared version of the library, which you do not appear to have."
13825 + echo "*** shared version of the library, which you do not appear to have"
13826 + echo "*** because I did check the linker path looking for a file starting"
13827 + if test -z "$potlib" ; then
13828 + echo "*** with $libname but no candidates were found. (...for regex pattern test)"
13830 + echo "*** with $libname and none of the candidates passed a file format test"
13831 + echo "*** using a regex pattern. Last file checked: $potlib"
13835 # Add a -L argument.
13836 @@ -2683,7 +2792,7 @@
13838 # Test again, we may have decided not to build it any more
13839 if test "$build_libtool_libs" = yes; then
13840 - if test "$hardcode_into_libs" = yes; then
13841 + if test $hardcode_into_libs = yes; then
13842 # Hardcode the library paths
13845 @@ -2784,7 +2893,7 @@
13846 export_symbols="$output_objdir/$libname.exp"
13847 $run $rm $export_symbols
13848 eval cmds=\"$export_symbols_cmds\"
13849 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
13850 + save_ifs="$IFS"; IFS='~'
13851 for cmd in $cmds; do
13854 @@ -2858,9 +2967,20 @@
13855 if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
13856 eval cmds=\"$archive_expsym_cmds\"
13858 + save_deplibs="$deplibs"
13859 + for conv in $convenience; do
13861 + for test_deplib in $deplibs; do
13862 + if test "$test_deplib" != "$conv"; then
13863 + tmp_deplibs="$tmp_deplibs $test_deplib"
13866 + deplibs="$tmp_deplibs"
13868 eval cmds=\"$archive_cmds\"
13869 + deplibs="$save_deplibs"
13871 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
13872 + save_ifs="$IFS"; IFS='~'
13873 for cmd in $cmds; do
13876 @@ -2988,7 +3108,7 @@
13879 eval cmds=\"$reload_cmds\"
13880 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
13881 + save_ifs="$IFS"; IFS='~'
13882 for cmd in $cmds; do
13885 @@ -3024,7 +3144,7 @@
13886 reload_objs="$libobjs $reload_conv_objs"
13888 eval cmds=\"$reload_cmds\"
13889 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
13890 + save_ifs="$IFS"; IFS='~'
13891 for cmd in $cmds; do
13894 @@ -3057,7 +3177,7 @@
13898 - *cygwin*) output=`echo $output | sed -e 's,.exe$,,;s,$,.exe,'` ;;
13899 + *cygwin*) output=`echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
13901 if test -n "$vinfo"; then
13902 $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
13903 @@ -3079,6 +3199,13 @@
13904 # On Rhapsody replace the C library is the System framework
13905 compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
13906 finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
13909 + # Don't allow lazy linking, it breaks C++ global constructors
13910 + compile_command="$compile_command ${wl}-bind_at_load"
13911 + finalize_command="$finalize_command ${wl}-bind_at_load"
13917 @@ -3245,9 +3372,9 @@
13918 if test -z "$export_symbols"; then
13919 export_symbols="$output_objdir/$output.exp"
13920 $run $rm $export_symbols
13921 - $run eval "sed -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
13922 + $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
13924 - $run eval "sed -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
13925 + $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
13926 $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
13927 $run eval 'mv "$nlist"T "$nlist"'
13929 @@ -3255,7 +3382,7 @@
13931 for arg in $dlprefiles; do
13932 $show "extracting global C symbols from \`$arg'"
13933 - name=`echo "$arg" | sed -e 's%^.*/%%'`
13934 + name=`echo "$arg" | ${SED} -e 's%^.*/%%'`
13935 $run eval 'echo ": $name " >> "$nlist"'
13936 $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
13938 @@ -3270,7 +3397,13 @@
13941 # Try sorting and uniquifying the output.
13942 - if grep -v "^: " < "$nlist" | sort +2 | uniq > "$nlist"S; then
13943 + if grep -v "^: " < "$nlist" |
13944 + if sort -k 3 </dev/null >/dev/null 2>&1; then
13949 + uniq > "$nlist"S; then
13952 grep -v "^: " < "$nlist" > "$nlist"S
13953 @@ -3287,27 +3420,25 @@
13954 #undef lt_preloaded_symbols
13956 #if defined (__STDC__) && __STDC__
13957 -# define lt_ptr_t void *
13958 +# define lt_ptr void *
13960 -# define lt_ptr_t char *
13961 +# define lt_ptr char *
13965 /* The mapping between symbol names and symbols. */
13968 - lt_ptr_t address;
13971 lt_preloaded_symbols[] =
13975 - sed -n -e 's/^: \([^ ]*\) $/ {\"\1\", (lt_ptr_t) 0},/p' \
13976 - -e 's/^. \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr_t) \&\2},/p' \
13977 - < "$nlist" >> "$output_objdir/$dlsyms"
13978 + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
13980 $echo >> "$output_objdir/$dlsyms" "\
13981 - {0, (lt_ptr_t) 0}
13985 /* This works around a problem in FreeBSD linker */
13986 @@ -3494,7 +3625,7 @@
13987 relink_command="$var=\"$var_value\"; export $var; $relink_command"
13990 - relink_command="cd `pwd`; $relink_command"
13991 + relink_command="(cd `pwd`; $relink_command)"
13992 relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
13995 @@ -3514,7 +3645,7 @@
13996 # win32 will think the script is a binary if it has
13997 # a .exe suffix, so we strip it off here.
13999 - *.exe) output=`echo $output|sed 's,.exe$,,'` ;;
14000 + *.exe) output=`echo $output|${SED} 's,.exe$,,'` ;;
14002 # test for cygwin because mv fails w/o .exe extensions
14004 @@ -3538,7 +3669,7 @@
14006 # Sed substitution that helps us do robust quoting. It backslashifies
14007 # metacharacters that are still active within double-quoted strings.
14008 -Xsed='sed -e 1s/^X//'
14009 +Xsed="${SED}"' -e 1s/^X//'
14010 sed_quote_subst='$sed_quote_subst'
14012 # The HP-UX ksh and POSIX shell print the target directory to stdout
14013 @@ -3576,7 +3707,7 @@
14014 test \"x\$thisdir\" = \"x\$file\" && thisdir=.
14016 # Follow symbolic links until we get to the real thisdir.
14017 - file=\`ls -ld \"\$file\" | sed -n 's/.*-> //p'\`
14018 + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
14019 while test -n \"\$file\"; do
14020 destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
14022 @@ -3589,7 +3720,7 @@
14025 file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
14026 - file=\`ls -ld \"\$thisdir/\$file\" | sed -n 's/.*-> //p'\`
14027 + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
14030 # Try to get the absolute directory name.
14031 @@ -3603,7 +3734,7 @@
14032 progdir=\"\$thisdir/$objdir\"
14034 if test ! -f \"\$progdir/\$program\" || \\
14035 - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | sed 1q\`; \\
14036 + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
14037 test \"X\$file\" != \"X\$progdir/\$program\"; }; then
14039 file=\"\$\$-\$program\"
14040 @@ -3618,8 +3749,9 @@
14042 # relink executable if necessary
14043 if test -n \"\$relink_command\"; then
14044 - if (eval \$relink_command); then :
14045 + if relink_command_output=\`eval \$relink_command 2>&1\`; then :
14047 + $echo \"\$relink_command_output\" >&2
14048 $rm \"\$progdir/\$file\"
14051 @@ -3648,7 +3780,7 @@
14052 $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
14054 # Some systems cannot cope with colon-terminated $shlibpath_var
14055 - # The second colon is a workaround for a bug in BeOS R4 sed
14056 + # The second colon is a workaround for a bug in BeOS R4 ${SED}
14057 $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
14059 export $shlibpath_var
14060 @@ -3790,7 +3922,7 @@
14062 eval cmds=\"$old_archive_cmds\"
14064 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
14065 + save_ifs="$IFS"; IFS='~'
14066 for cmd in $cmds; do
14069 @@ -3823,7 +3955,7 @@
14072 # Quote the link command for shipping.
14073 - relink_command="cd `pwd`; $SHELL $0 --mode=relink $libtool_args"
14074 + relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)"
14075 relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
14077 # Only create the output if not a dry run.
14078 @@ -3840,7 +3972,7 @@
14081 name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
14082 - eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
14083 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
14084 if test -z "$libdir"; then
14085 $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
14087 @@ -3854,7 +3986,7 @@
14089 for lib in $dlfiles; do
14090 name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
14091 - eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
14092 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
14093 if test -z "$libdir"; then
14094 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
14096 @@ -3865,7 +3997,7 @@
14098 for lib in $dlprefiles; do
14099 name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
14100 - eval libdir=`sed -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
14101 + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
14102 if test -z "$libdir"; then
14103 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
14105 @@ -4089,7 +4221,7 @@
14108 # Check to see that this really is a libtool archive.
14109 - if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
14110 + if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
14112 $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
14114 @@ -4124,12 +4256,30 @@
14117 if test -n "$relink_command"; then
14118 + # Determine the prefix the user has applied to our future dir.
14119 + inst_prefix_dir=`$echo "$destdir" | sed "s%$libdir\$%%"`
14121 + # Don't allow the user to place us outside of our expected
14122 + # location b/c this prevents finding dependent libraries that
14123 + # are installed to the same prefix.
14124 + if test "$inst_prefix_dir" = "$destdir"; then
14125 + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
14129 + if test -n "$inst_prefix_dir"; then
14130 + # Stick the inst_prefix_dir data into the link command.
14131 + relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
14133 + relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%%"`
14136 $echo "$modename: warning: relinking \`$file'" 1>&2
14137 $show "$relink_command"
14138 if $run eval "$relink_command"; then :
14140 $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
14146 @@ -4165,7 +4315,7 @@
14147 # Do each command in the postinstall commands.
14148 lib="$destdir/$realname"
14149 eval cmds=\"$postinstall_cmds\"
14150 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
14151 + save_ifs="$IFS"; IFS='~'
14152 for cmd in $cmds; do
14155 @@ -4238,19 +4388,27 @@
14158 # Do a test to see if this is really a libtool program.
14159 - if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
14161 + *cygwin*|*mingw*)
14162 + wrapper=`echo $file | ${SED} -e 's,.exe$,,'`
14168 + if (${SED} -e '4q' $wrapper | egrep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
14172 # If there is no directory component, then add one.
14174 - */* | *\\*) . $file ;;
14176 + */* | *\\*) . $wrapper ;;
14177 + *) . ./$wrapper ;;
14180 # Check the variables that should have been set.
14181 if test -z "$notinst_deplibs"; then
14182 - $echo "$modename: invalid libtool wrapper script \`$file'" 1>&2
14183 + $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
14187 @@ -4275,8 +4433,8 @@
14189 # If there is no directory component, then add one.
14191 - */* | *\\*) . $file ;;
14193 + */* | *\\*) . $wrapper ;;
14194 + *) . ./$wrapper ;;
14198 @@ -4324,7 +4482,7 @@
14199 destfile=$destfile.exe
14202 - destfile=`echo $destfile | sed -e 's,.exe$,,'`
14203 + destfile=`echo $destfile | ${SED} -e 's,.exe$,,'`
14207 @@ -4352,7 +4510,7 @@
14209 # Do each command in the postinstall commands.
14210 eval cmds=\"$old_postinstall_cmds\"
14211 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
14212 + save_ifs="$IFS"; IFS='~'
14213 for cmd in $cmds; do
14216 @@ -4368,11 +4526,10 @@
14217 if test -n "$current_libdirs"; then
14218 # Maybe just do a dry run.
14219 test -n "$run" && current_libdirs=" -n$current_libdirs"
14220 - exec $SHELL $0 --finish$current_libdirs
14222 + exec_cmd='$SHELL $0 --finish$current_libdirs'
14230 # libtool finish mode
14231 @@ -4391,7 +4548,7 @@
14232 if test -n "$finish_cmds"; then
14233 # Do each command in the finish commands.
14234 eval cmds=\"$finish_cmds\"
14235 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
14236 + save_ifs="$IFS"; IFS='~'
14237 for cmd in $cmds; do
14240 @@ -4473,7 +4630,7 @@
14243 # Check to see that this really is a libtool archive.
14244 - if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
14245 + if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
14247 $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
14249 @@ -4544,7 +4701,7 @@
14252 # Do a test to see if this is really a libtool program.
14253 - if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
14254 + if (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
14255 # If there is no directory component, then add one.
14257 */* | *\\*) . $file ;;
14258 @@ -4575,11 +4732,8 @@
14259 LANG="$save_LANG"; export LANG
14262 - # Now actually exec the command.
14263 - eval "exec \$cmd$args"
14265 - $echo "$modename: cannot exec \$cmd$args"
14267 + # Now prepare to actually exec the command.
14268 + exec_cmd="\$cmd$args"
14270 # Display what would be done.
14271 if test -n "$shlibpath_var"; then
14272 @@ -4641,14 +4795,14 @@
14274 # Don't error if the file doesn't exist and rm -f was used.
14275 if (test -L "$file") >/dev/null 2>&1 \
14276 - || (test -h "$file") >/dev/null 2>&1 \
14277 + || (test -h "$file") >/dev/null 2>&1 \
14278 || test -f "$file"; then
14281 elif test -d "$file"; then
14285 elif test "$rmforce" = yes; then
14291 @@ -4656,7 +4810,7 @@
14294 # Possibly a libtool archive, so verify it.
14295 - if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
14296 + if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
14299 # Delete the libtool libraries and symlinks.
14300 @@ -4670,7 +4824,7 @@
14301 if test -n "$library_names"; then
14302 # Do each command in the postuninstall commands.
14303 eval cmds=\"$postuninstall_cmds\"
14304 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
14305 + save_ifs="$IFS"; IFS='~'
14306 for cmd in $cmds; do
14309 @@ -4685,7 +4839,7 @@
14310 if test -n "$old_library"; then
14311 # Do each command in the old_postuninstall commands.
14312 eval cmds=\"$old_postuninstall_cmds\"
14313 - IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
14314 + save_ifs="$IFS"; IFS='~'
14315 for cmd in $cmds; do
14318 @@ -4711,7 +4865,7 @@
14320 # Do a test to see if this is a libtool program.
14321 if test $mode = clean &&
14322 - (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
14323 + (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
14327 @@ -4744,11 +4898,18 @@
14331 - $echo "$modename: invalid operation mode \`$mode'" 1>&2
14332 - $echo "$generic_help" 1>&2
14334 + if test -z "$exec_cmd"; then
14335 + $echo "$modename: invalid operation mode \`$mode'" 1>&2
14336 + $echo "$generic_help" 1>&2
14339 fi # test -z "$show_help"
14341 +if test -n "$exec_cmd"; then
14342 + eval exec $exec_cmd
14346 # We need to display help for each of the modes.
14349 Index: linux-atm-2.4.1/m4/Makefile.in
14350 ===================================================================
14351 --- linux-atm-2.4.1.orig/m4/Makefile.in 2007-10-20 19:19:10.878248392 +0200
14352 +++ linux-atm-2.4.1/m4/Makefile.in 2007-10-20 19:19:11.778299683 +0200
14354 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
14355 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
14357 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
14358 # This Makefile.in is free software; the Free Software Foundation
14359 @@ -92,14 +92,14 @@
14361 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
14368 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
14369 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps m4/Makefile
14370 + cd $(top_srcdir) && $(AUTOMAKE) --gnu m4/Makefile
14372 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
14373 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
14374 cd $(top_builddir) \
14375 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
14377 @@ -112,6 +112,11 @@
14380 distdir: $(DISTFILES)
14381 + here=`cd $(top_builddir) && pwd`; \
14382 + top_distdir=`cd $(top_distdir) && pwd`; \
14383 + distdir=`cd $(distdir) && pwd`; \
14384 + cd $(top_srcdir) \
14385 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu m4/Makefile
14386 @for file in $(DISTFILES); do \
14388 if test -d $$d/$$file; then \
14389 Index: linux-atm-2.4.1/src/Makefile.in
14390 ===================================================================
14391 --- linux-atm-2.4.1.orig/src/Makefile.in 2007-10-20 19:19:10.886248850 +0200
14392 +++ linux-atm-2.4.1/src/Makefile.in 2007-10-20 19:19:11.790300372 +0200
14394 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
14395 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
14397 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
14398 # This Makefile.in is free software; the Free Software Foundation
14400 VERSION = @VERSION@
14403 -SUBDIRS = include lib test debug qgen saal sigd maint arpd ilmid man led lane \
14404 - mpoad switch config extra
14405 +SUBDIRS = include lib
14407 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
14408 CONFIG_HEADER = ../config.h
14409 @@ -96,14 +95,14 @@
14411 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
14418 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
14419 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile
14420 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile
14422 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
14423 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
14424 cd $(top_builddir) \
14425 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
14427 @@ -186,7 +185,7 @@
14428 awk ' { files[$$0] = 1; } \
14429 END { for (i in files) print i; }'`; \
14430 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
14431 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
14432 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
14436 @@ -202,6 +201,11 @@
14439 distdir: $(DISTFILES)
14440 + here=`cd $(top_builddir) && pwd`; \
14441 + top_distdir=`cd $(top_distdir) && pwd`; \
14442 + distdir=`cd $(distdir) && pwd`; \
14443 + cd $(top_srcdir) \
14444 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile
14445 @for file in $(DISTFILES); do \
14447 if test -d $$d/$$file; then \
14448 Index: linux-atm-2.4.1/src/include/Makefile.in
14449 ===================================================================
14450 --- linux-atm-2.4.1.orig/src/include/Makefile.in 2007-10-20 19:19:10.894249307 +0200
14451 +++ linux-atm-2.4.1/src/include/Makefile.in 2007-10-20 19:19:11.798300823 +0200
14453 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
14454 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
14456 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
14457 # This Makefile.in is free software; the Free Software Foundation
14458 @@ -97,14 +97,14 @@
14460 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
14467 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
14468 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/include/Makefile
14469 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/include/Makefile
14471 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
14472 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
14473 cd $(top_builddir) \
14474 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
14476 @@ -142,7 +142,7 @@
14477 awk ' { files[$$0] = 1; } \
14478 END { for (i in files) print i; }'`; \
14479 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
14480 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
14481 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
14485 @@ -158,6 +158,11 @@
14486 subdir = src/include
14488 distdir: $(DISTFILES)
14489 + here=`cd $(top_builddir) && pwd`; \
14490 + top_distdir=`cd $(top_distdir) && pwd`; \
14491 + distdir=`cd $(distdir) && pwd`; \
14492 + cd $(top_srcdir) \
14493 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/include/Makefile
14494 @for file in $(DISTFILES); do \
14496 if test -d $$d/$$file; then \
14497 Index: linux-atm-2.4.1/src/include/atmd.h
14498 ===================================================================
14499 --- linux-atm-2.4.1.orig/src/include/atmd.h 2007-10-20 19:19:10.902249761 +0200
14500 +++ linux-atm-2.4.1/src/include/atmd.h 2007-10-20 19:19:11.802301052 +0200
14502 (i)->prev = (b)->prev; if ((b)->prev) (b)->prev->next = i; else r = i; \
14503 (b)->prev = i; } else { (i)->next = r; (i)->prev = NULL; \
14504 if (r) (r)->prev = i; r = i; } })
14505 +#define Q_INSERT_BEFORE_TYPED(r,t,i,b) ({ if (b) { (i)->next = b; \
14506 + (i)->prev = (b)->prev; if ((b)->prev) (b)->prev->next = i; else r = i; \
14507 + (b)->prev = i; } else { (i)->next = t r; (i)->prev = NULL; \
14508 + if (t r) (t r)->prev = i; r = i; } })
14509 #define Q_REMOVE(r,i) ({ if ((i)->next) (i)->next->prev = (i)->prev; \
14510 if ((i)->prev) (i)->prev->next = (i)->next; else r = (i)->next; })
14512 Index: linux-atm-2.4.1/src/lib/Makefile.in
14513 ===================================================================
14514 --- linux-atm-2.4.1.orig/src/lib/Makefile.in 2007-10-20 19:19:10.910250220 +0200
14515 +++ linux-atm-2.4.1/src/lib/Makefile.in 2007-10-20 19:19:11.806301281 +0200
14517 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
14518 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
14520 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
14521 # This Makefile.in is free software; the Free Software Foundation
14522 @@ -92,16 +92,10 @@
14523 # ATMLIBS_VERSION comes from configure.in in the toplevel directory
14524 LDFLAGS = -version-info @LIBVER_CURRENT@:@LIBVER_REVISION@:@LIBVER_AGE@
14526 -libatm_la_SOURCES = text2atm.c atm2text.c atmequal.c sdu2cell.c text2qos.c \
14527 - qos2text.c qosequal.c sap2text.c text2sap.c sapequal.c \
14528 - misc.c atmres.h ans.c \
14529 - common.c diag.c kptr.c text2ip.c timer.c unix.c
14530 +libatm_la_SOURCES = text2atm.c atm2text.c atmequal.c sdu2cell.c text2qos.c qos2text.c qosequal.c sap2text.c text2sap.c sapequal.c misc.c atmres.h ans.c common.c diag.c kptr.c text2ip.c timer.c unix.c
14532 libatm_la_LIBADD = -lresolv
14533 -libatm_la_DEPENDENCIES = $(top_builddir)/src/include/atm.h \
14534 - $(top_builddir)/src/include/atmsap.h \
14535 - $(top_builddir)/src/include/stdint.h \
14536 - $(top_builddir)/src/include/atmd.h
14537 +libatm_la_DEPENDENCIES = $(top_builddir)/src/include/atm.h $(top_builddir)/src/include/atmsap.h $(top_builddir)/src/include/stdint.h $(top_builddir)/src/include/atmd.h
14539 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
14540 CONFIG_HEADER = ../../config.h
14541 @@ -126,8 +120,13 @@
14543 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
14548 +DEP_FILES = .deps/ans.P .deps/atm2text.P .deps/atmequal.P \
14549 +.deps/common.P .deps/diag.P .deps/kptr.P .deps/misc.P .deps/qos2text.P \
14550 +.deps/qosequal.P .deps/sap2text.P .deps/sapequal.P .deps/sdu2cell.P \
14551 +.deps/text2atm.P .deps/text2ip.P .deps/text2qos.P .deps/text2sap.P \
14552 +.deps/timer.P .deps/unix.P
14553 SOURCES = $(libatm_la_SOURCES)
14554 OBJECTS = $(libatm_la_OBJECTS)
14556 @@ -135,9 +134,9 @@
14558 .SUFFIXES: .S .c .lo .o .obj .s
14559 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
14560 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/lib/Makefile
14561 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/lib/Makefile
14563 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
14564 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
14565 cd $(top_builddir) \
14566 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
14568 @@ -167,9 +166,6 @@
14569 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
14575 # FIXME: We should only use cygpath when building on Windows,
14576 # and only if it is available.
14578 @@ -192,9 +188,6 @@
14580 maintainer-clean-compile:
14583 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
14586 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
14588 @@ -232,7 +225,7 @@
14589 awk ' { files[$$0] = 1; } \
14590 END { for (i in files) print i; }'`; \
14591 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
14592 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
14593 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
14597 @@ -248,6 +241,11 @@
14600 distdir: $(DISTFILES)
14601 + here=`cd $(top_builddir) && pwd`; \
14602 + top_distdir=`cd $(top_distdir) && pwd`; \
14603 + distdir=`cd $(distdir) && pwd`; \
14604 + cd $(top_srcdir) \
14605 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/lib/Makefile
14606 @for file in $(DISTFILES); do \
14608 if test -d $$d/$$file; then \
14609 @@ -258,48 +256,38 @@
14610 || cp -p $$d/$$file $(distdir)/$$file || :; \
14613 -ans.lo ans.o : ans.c ../../config.h ../../src/include/stdint.h \
14614 - ../../src/include/atm.h atmres.h
14615 -atm2text.lo atm2text.o : atm2text.c ../../config.h \
14616 - ../../src/include/atm.h ../../src/include/stdint.h atmres.h
14617 -atmequal.lo atmequal.o : atmequal.c ../../config.h \
14618 - ../../src/include/atm.h ../../src/include/stdint.h
14619 -common.lo common.o : common.c ../../config.h ../../src/include/stdint.h \
14620 - ../../src/include/atmd.h ../../src/include/atm.h
14621 -diag.lo diag.o : diag.c ../../config.h ../../src/include/atmd.h \
14622 - ../../src/include/stdint.h ../../src/include/atm.h
14623 -kptr.lo kptr.o : kptr.c ../../config.h ../../src/include/atm.h \
14624 - ../../src/include/stdint.h ../../src/include/atmd.h
14625 -misc.lo misc.o : misc.c ../../config.h ../../src/include/stdint.h \
14626 - ../../src/include/atm.h ../../src/include/atmsap.h
14627 -qos2text.lo qos2text.o : qos2text.c ../../config.h \
14628 - ../../src/include/atm.h ../../src/include/stdint.h
14629 -qosequal.lo qosequal.o : qosequal.c ../../config.h \
14630 - ../../src/include/atm.h ../../src/include/stdint.h
14631 -sap2text.lo sap2text.o : sap2text.c ../../config.h \
14632 - ../../src/include/atmsap.h ../../src/include/stdint.h \
14633 - ../../src/include/atm.h
14634 -sapequal.lo sapequal.o : sapequal.c ../../config.h \
14635 - ../../src/include/atm.h ../../src/include/stdint.h \
14636 - ../../src/include/atmsap.h
14637 -sdu2cell.lo sdu2cell.o : sdu2cell.c ../../config.h \
14638 - ../../src/include/atm.h ../../src/include/stdint.h
14639 -text2atm.lo text2atm.o : text2atm.c ../../config.h \
14640 - ../../src/include/atm.h ../../src/include/stdint.h \
14641 - ../../src/include/atmsap.h atmres.h
14642 -text2ip.lo text2ip.o : text2ip.c ../../config.h \
14643 - ../../src/include/stdint.h ../../src/include/atm.h \
14644 - ../../src/include/atmd.h
14645 -text2qos.lo text2qos.o : text2qos.c ../../config.h \
14646 - ../../src/include/atm.h ../../src/include/stdint.h
14647 -text2sap.lo text2sap.o : text2sap.c ../../config.h \
14648 - ../../src/include/atmsap.h ../../src/include/stdint.h \
14649 - ../../src/include/atm.h
14650 -timer.lo timer.o : timer.c ../../config.h ../../src/include/atmd.h \
14651 - ../../src/include/stdint.h ../../src/include/atm.h
14652 -unix.lo unix.o : unix.c ../../config.h ../../src/include/atmd.h \
14653 - ../../src/include/stdint.h ../../src/include/atm.h
14655 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
14657 +-include $(DEP_FILES)
14659 +mostlyclean-depend:
14666 +maintainer-clean-depend:
14669 + @echo '$(COMPILE) -c $<'; \
14670 + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
14671 + @-cp .deps/$(*F).pp .deps/$(*F).P; \
14672 + tr ' ' '\012' < .deps/$(*F).pp \
14673 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
14674 + >> .deps/$(*F).P; \
14675 + rm .deps/$(*F).pp
14678 + @echo '$(LTCOMPILE) -c $<'; \
14679 + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
14680 + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
14681 + < .deps/$(*F).pp > .deps/$(*F).P; \
14682 + tr ' ' '\012' < .deps/$(*F).pp \
14683 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
14684 + >> .deps/$(*F).P; \
14685 + rm -f .deps/$(*F).pp
14689 @@ -337,27 +325,27 @@
14691 maintainer-clean-generic:
14692 mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
14693 - mostlyclean-libtool mostlyclean-tags \
14694 + mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
14695 mostlyclean-generic
14697 mostlyclean: mostlyclean-am
14699 clean-am: clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
14700 - clean-generic mostlyclean-am
14701 + clean-depend clean-generic mostlyclean-am
14705 distclean-am: distclean-libLTLIBRARIES distclean-compile \
14706 - distclean-libtool distclean-tags distclean-generic \
14708 + distclean-libtool distclean-tags distclean-depend \
14709 + distclean-generic clean-am
14712 distclean: distclean-am
14714 maintainer-clean-am: maintainer-clean-libLTLIBRARIES \
14715 maintainer-clean-compile maintainer-clean-libtool \
14716 - maintainer-clean-tags maintainer-clean-generic \
14718 + maintainer-clean-tags maintainer-clean-depend \
14719 + maintainer-clean-generic distclean-am
14720 @echo "This command is intended for maintainers to use;"
14721 @echo "it deletes files that may require special tools to rebuild."
14723 @@ -369,12 +357,13 @@
14724 distclean-compile clean-compile maintainer-clean-compile \
14725 mostlyclean-libtool distclean-libtool clean-libtool \
14726 maintainer-clean-libtool tags mostlyclean-tags distclean-tags \
14727 -clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
14728 -check-am installcheck-am installcheck install-exec-am install-exec \
14729 -install-data-am install-data install-am install uninstall-am uninstall \
14730 -all-redirect all-am all installdirs mostlyclean-generic \
14731 -distclean-generic clean-generic maintainer-clean-generic clean \
14732 -mostlyclean distclean maintainer-clean
14733 +clean-tags maintainer-clean-tags distdir mostlyclean-depend \
14734 +distclean-depend clean-depend maintainer-clean-depend info-am info \
14735 +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
14736 +install-exec install-data-am install-data install-am install \
14737 +uninstall-am uninstall all-redirect all-am all installdirs \
14738 +mostlyclean-generic distclean-generic clean-generic \
14739 +maintainer-clean-generic clean mostlyclean distclean maintainer-clean
14742 #libatm_la_SOURCES = text2atm.c atm2text.c atmequal.c sdu2cell.c text2qos.c \
14743 Index: linux-atm-2.4.1/src/lib/sapequal.c
14744 ===================================================================
14745 --- linux-atm-2.4.1.orig/src/lib/sapequal.c 2007-10-20 19:19:10.918250672 +0200
14746 +++ linux-atm-2.4.1/src/lib/sapequal.c 2007-10-20 19:19:11.822302192 +0200
14748 CHECK(l2.itu.window,a.l2.itu.window > b.l2.itu.window);
14753 switch (a.l3_proto) {
14756 if (a.l3.user != b.l3.user) return 0;
14763 Index: linux-atm-2.4.1/src/test/Makefile.in
14764 ===================================================================
14765 --- linux-atm-2.4.1.orig/src/test/Makefile.in 2007-10-20 19:19:10.922250901 +0200
14766 +++ linux-atm-2.4.1/src/test/Makefile.in 2007-10-20 19:19:11.826302420 +0200
14768 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
14769 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
14771 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
14772 # This Makefile.in is free software; the Free Software Foundation
14773 @@ -168,8 +168,11 @@
14775 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
14780 +DEP_FILES = .deps/align.P .deps/aping.P .deps/aread.P .deps/awrite.P \
14781 +.deps/br.P .deps/bw.P .deps/isp.P .deps/ispl_l.P .deps/ispl_y.P \
14782 +.deps/ttcp.P .deps/window.P
14783 SOURCES = $(aread_SOURCES) $(awrite_SOURCES) $(ttcp_atm_SOURCES) $(align_SOURCES) $(aping_SOURCES) $(br_SOURCES) $(bw_SOURCES) $(isp_SOURCES) $(window_SOURCES)
14784 OBJECTS = $(aread_OBJECTS) $(awrite_OBJECTS) $(ttcp_atm_OBJECTS) $(align_OBJECTS) $(aping_OBJECTS) $(br_OBJECTS) $(bw_OBJECTS) $(isp_OBJECTS) $(window_OBJECTS)
14786 @@ -177,9 +180,9 @@
14788 .SUFFIXES: .S .c .l .lo .o .obj .s .y
14789 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
14790 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/test/Makefile
14791 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/test/Makefile
14793 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
14794 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
14795 cd $(top_builddir) \
14796 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
14798 @@ -218,9 +221,6 @@
14800 maintainer-clean-noinstPROGRAMS:
14805 # FIXME: We should only use cygpath when building on Windows,
14806 # and only if it is available.
14808 @@ -243,9 +243,6 @@
14810 maintainer-clean-compile:
14813 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
14816 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
14818 @@ -325,7 +322,7 @@
14819 awk ' { files[$$0] = 1; } \
14820 END { for (i in files) print i; }'`; \
14821 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
14822 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
14823 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
14827 @@ -341,6 +338,11 @@
14830 distdir: $(DISTFILES)
14831 + here=`cd $(top_builddir) && pwd`; \
14832 + top_distdir=`cd $(top_distdir) && pwd`; \
14833 + distdir=`cd $(distdir) && pwd`; \
14834 + cd $(top_srcdir) \
14835 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/test/Makefile
14836 @for file in $(DISTFILES); do \
14838 if test -d $$d/$$file; then \
14839 @@ -351,30 +353,38 @@
14840 || cp -p $$d/$$file $(distdir)/$$file || :; \
14843 -align.o: align.c ../../config.h ../../src/include/atm.h \
14844 - ../../src/include/stdint.h
14845 -aping.o: aping.c ../../config.h ../../src/include/atm.h \
14846 - ../../src/include/stdint.h
14847 -aread.o: aread.c ../../config.h ../../src/include/atm.h \
14848 - ../../src/include/stdint.h
14849 -awrite.o: awrite.c ../../config.h ../../src/include/atm.h \
14850 - ../../src/include/stdint.h
14851 -br.o: br.c ../../config.h ../../src/include/atm.h \
14852 - ../../src/include/stdint.h
14853 -bw.o: bw.c ../../config.h ../../src/include/atm.h \
14854 - ../../src/include/stdint.h
14855 -isp.o: isp.c ../../config.h ../../src/include/atm.h \
14856 - ../../src/include/stdint.h ../../src/include/atmd.h isp.h \
14858 -ispl_l.o: ispl_l.c ../../config.h ../../src/include/stdint.h isp.h \
14859 - ../../src/include/atm.h ispl_y.h
14860 -ispl_y.o: ispl_y.c ../../config.h ../../src/include/atm.h \
14861 - ../../src/include/stdint.h isp.h
14862 -ttcp.o: ttcp.c ../../config.h ../../src/include/stdint.h \
14863 - ../../src/include/atm.h ../../src/include/atmsap.h
14864 -window.o: window.c ../../config.h ../../src/include/atm.h \
14865 - ../../src/include/stdint.h
14867 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
14869 +-include $(DEP_FILES)
14871 +mostlyclean-depend:
14878 +maintainer-clean-depend:
14881 + @echo '$(COMPILE) -c $<'; \
14882 + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
14883 + @-cp .deps/$(*F).pp .deps/$(*F).P; \
14884 + tr ' ' '\012' < .deps/$(*F).pp \
14885 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
14886 + >> .deps/$(*F).P; \
14887 + rm .deps/$(*F).pp
14890 + @echo '$(LTCOMPILE) -c $<'; \
14891 + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
14892 + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
14893 + < .deps/$(*F).pp > .deps/$(*F).P; \
14894 + tr ' ' '\012' < .deps/$(*F).pp \
14895 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
14896 + >> .deps/$(*F).P; \
14897 + rm -f .deps/$(*F).pp
14901 @@ -412,21 +422,22 @@
14902 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
14904 maintainer-clean-generic:
14905 - -test -z "ispl_llispl_yhispl_yc" || rm -f ispl_ll ispl_yh ispl_yc
14906 + -test -z "ispl_lcispl_yhispl_yc" || rm -f ispl_lc ispl_yh ispl_yc
14907 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-noinstPROGRAMS \
14908 mostlyclean-compile mostlyclean-libtool \
14909 - mostlyclean-tags mostlyclean-generic
14910 + mostlyclean-tags mostlyclean-depend mostlyclean-generic
14912 mostlyclean: mostlyclean-am
14914 clean-am: clean-binPROGRAMS clean-noinstPROGRAMS clean-compile \
14915 - clean-libtool clean-tags clean-generic mostlyclean-am
14916 + clean-libtool clean-tags clean-depend clean-generic \
14921 distclean-am: distclean-binPROGRAMS distclean-noinstPROGRAMS \
14922 distclean-compile distclean-libtool distclean-tags \
14923 - distclean-generic clean-am
14924 + distclean-depend distclean-generic clean-am
14927 distclean: distclean-am
14928 @@ -434,8 +445,8 @@
14929 maintainer-clean-am: maintainer-clean-binPROGRAMS \
14930 maintainer-clean-noinstPROGRAMS \
14931 maintainer-clean-compile maintainer-clean-libtool \
14932 - maintainer-clean-tags maintainer-clean-generic \
14934 + maintainer-clean-tags maintainer-clean-depend \
14935 + maintainer-clean-generic distclean-am
14936 @echo "This command is intended for maintainers to use;"
14937 @echo "it deletes files that may require special tools to rebuild."
14939 @@ -448,19 +459,22 @@
14940 mostlyclean-compile distclean-compile clean-compile \
14941 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
14942 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
14943 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
14944 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
14945 -install-exec install-data-am install-data install-am install \
14946 -uninstall-am uninstall all-redirect all-am all installdirs \
14947 -mostlyclean-generic distclean-generic clean-generic \
14948 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
14949 +distclean-tags clean-tags maintainer-clean-tags distdir \
14950 +mostlyclean-depend distclean-depend clean-depend \
14951 +maintainer-clean-depend info-am info dvi-am dvi check check-am \
14952 +installcheck-am installcheck install-exec-am install-exec \
14953 +install-data-am install-data install-am install uninstall-am uninstall \
14954 +all-redirect all-am all installdirs mostlyclean-generic \
14955 +distclean-generic clean-generic maintainer-clean-generic clean \
14956 +mostlyclean distclean maintainer-clean
14961 errnos.inc: mkerrnos.pl
14962 - @PERL@ ./mkerrnos.pl </usr/include/asm/errno.h \
14963 - >errnos.inc || { rm -f errnos.inc; exit 1; }
14964 + cpp -I/usr/include/ -dM /usr/include/asm/errno.h | grep "^#define E" \
14965 + | @PERL@ ./mkerrnos.pl | grep -v EMAXERRNO >errnos.inc \
14966 + || { rm -f errnos.inc; exit 1; }
14968 # Tell versions [3.59,3.63) of GNU make to not export all variables.
14969 # Otherwise a system limit (for SysV at least) may be exceeded.
14970 Index: linux-atm-2.4.1/src/test/Makefile.am
14971 ===================================================================
14972 --- linux-atm-2.4.1.orig/src/test/Makefile.am 2007-10-20 19:19:10.946252269 +0200
14973 +++ linux-atm-2.4.1/src/test/Makefile.am 2007-10-20 19:19:11.858304242 +0200
14977 errnos.inc: mkerrnos.pl
14978 - @PERL@ ./mkerrnos.pl </usr/include/asm/errno.h \
14979 - >errnos.inc || { rm -f errnos.inc; exit 1; }
14981 + cpp -I/usr/include/ -dM /usr/include/asm/errno.h | grep "^#define E" \
14982 + | @PERL@ ./mkerrnos.pl | grep -v EMAXERRNO >errnos.inc \
14983 + || { rm -f errnos.inc; exit 1; }
14985 Index: linux-atm-2.4.1/src/test/ttcp.c
14986 ===================================================================
14987 --- linux-atm-2.4.1.orig/src/test/ttcp.c 2007-10-20 19:19:10.954252727 +0200
14988 +++ linux-atm-2.4.1/src/test/ttcp.c 2007-10-20 19:19:11.866304700 +0200
14990 /* #define SYSV */ /* required on SGI IRIX releases before 3.3 */
14993 +#include <stdlib.h>
14994 +#include <string.h>
14995 #include <signal.h>
14999 #include <sys/time.h> /* struct timeval */
15001 #include <atmsap.h>
15002 +#include <unistd.h>
15005 #include <sys/times.h>
15007 struct sockaddr_atmsvc satm;
15008 struct atm_qos qos;
15010 -int domain, fromlen;
15012 +socklen_t fromlen;
15013 int fd; /* fd of network socket */
15015 int buflen = 8 * 1024; /* length of buffer */
15016 @@ -120,7 +124,6 @@
15017 static struct rusage ru0; /* Resource utilization at the start */
15019 struct hostent *addr;
15022 extern char *optarg;
15024 @@ -158,23 +161,21 @@
15025 unsigned long numCalls; /* # of I/O system calls */
15026 double cput, realt; /* user, real time (seconds) */
15031 -void prep_timer();
15032 -double read_timer();
15038 -static void prusage();
15039 -static void tvadd();
15040 -static void tvsub();
15041 -static void psecs();
15042 +void err(const char *s);
15043 +void mes(const char *s);
15044 +void prep_timer(void);
15045 +void pattern(char *cp, int cnt);
15046 +int Nread(int nfd, char *Nbuf, int count);
15047 +int Nwrite(int nfd, char *Nbuf, int count);
15048 +void delay(int us);
15049 +int mread(int mfd, char *bufp, unsigned n);
15050 +char *outfmt(double b);
15051 +static void prusage(struct rusage *r0, struct rusage *r1, struct timeval *e, struct timeval *b, char *outp);
15052 +static void tvadd(struct timeval *tsum, struct timeval *t0, struct timeval *t1);
15053 +static void tvsub(struct timeval *tdiff, struct timeval *t1, struct timeval *t0);
15054 +static void psecs(long l, char *cp);
15058 +void sigpipe(int unused)
15062 @@ -183,16 +184,14 @@
15064 *-------------------------------------------------------------------------
15069 +int main(int argc,char **argv)
15072 unsigned long addr_tmp;
15073 const char *port_name = NULL,*tos = NULL;
15077 + int no_check = 0;
15079 if (argc < 2) goto usage;
15081 @@ -275,7 +274,7 @@
15087 if (atm) goto usage;
15089 struct servent *se;
15090 @@ -283,13 +282,13 @@
15091 se = getservbyname(port_name,udp ? "udp" : "tcp");
15092 if (se) port = ntohs(se->s_port);
15097 port = strtoul(port_name,&end,0);
15098 if (*end) goto usage;
15103 host = argv[optind];
15106 @@ -435,9 +434,9 @@
15109 if (!atm || satm.sas_family == AF_ATMPVC || !trans)
15110 - if (bind(fd, atm ? &satm : &sinme, atm ? satm.sas_family == AF_ATMPVC ?
15111 - sizeof(struct sockaddr_atmpvc) : sizeof(struct sockaddr_atmsvc) :
15112 - sizeof(sinme)) < 0)
15113 + if (bind(fd, atm ?
15114 + (struct sockaddr *)&satm : (struct sockaddr *)&sinme,
15115 + atm ? satm.sas_family == AF_ATMPVC ? sizeof(struct sockaddr_atmpvc) : sizeof(struct sockaddr_atmsvc) : sizeof(sinme)) < 0)
15118 if (!udp || (atm && satm.sas_family == AF_ATMSVC)) {
15119 @@ -453,8 +452,8 @@
15123 - if (connect(fd, atm ? &satm : &sinhim, atm ? sizeof(satm) :
15124 - sizeof(sinhim)) < 0)
15126 + atm ? (struct sockaddr *)&satm : (struct sockaddr *)&sinhim, atm ? sizeof(satm) : sizeof(sinhim)) < 0)
15130 @@ -482,13 +481,13 @@
15131 fromlen = sizeof(frominet);
15134 - if ((fd=accept(fd, &frominet, &fromlen) ) < 0)
15135 + if ((fd=accept(fd, (struct sockaddr *)&frominet, &fromlen) ) < 0)
15139 struct sockaddr_atmsvc peer;
15140 int peerlen = sizeof(peer);
15141 - if (getpeername(fd, (struct sockaddr_in *) &peer,
15142 + if (getpeername(fd, (struct sockaddr *) &peer,
15144 err("getpeername");
15146 @@ -638,13 +637,13 @@
15147 nbytes, cput, outfmt((double)nbytes/cput));
15150 - "ttcp%s: %d I/O calls, msec/call = %.2f, calls/sec = %.2f\n",
15151 + "ttcp%s: %lu I/O calls, msec/call = %.2f, calls/sec = %.2f\n",
15154 1000.0 * realt/((double)numCalls),
15155 ((double)numCalls)/realt);
15157 - "ttcp%s: buffer address %#x\n",
15158 + "ttcp%s: buffer address %p\n",
15162 @@ -656,8 +655,7 @@
15168 +err(const char *s)
15172 @@ -670,8 +668,7 @@
15178 +mes(const char *s)
15180 fprintf(stderr,"ttcp%s: %s\n", trans?"-t":"-r", s);
15182 @@ -681,9 +678,7 @@
15184 *-------------------------------------------------------------------------
15187 -register char *cp;
15189 +void pattern(char *cp, int cnt)
15193 @@ -694,9 +689,7 @@
15200 +char *outfmt(double b)
15202 static char obuf[50];
15204 @@ -758,7 +751,7 @@
15205 * P R E P _ T I M E R
15211 gettimeofday(&start_time, (struct timezone *)0);
15212 getrusage(RUSAGE_SELF, &ru0);
15213 @@ -768,8 +761,7 @@
15215 *-------------------------------------------------------------------------
15217 -double read_timer(str,len)
15219 +double read_timer(char *str,int len)
15222 struct timeval tend, tstart, td;
15223 @@ -788,15 +780,11 @@
15228 -prusage(r0, r1, e, b, outp)
15229 - register struct rusage *r0, *r1;
15230 - struct timeval *e, *b;
15232 +static void prusage(struct rusage *r0, struct rusage *r1, struct timeval *e, struct timeval *b, char *outp)
15234 struct timeval tdiff;
15236 - register char *cp;
15237 + register const char *cp;
15241 @@ -823,13 +811,13 @@
15244 tvsub(&tdiff, &r1->ru_utime, &r0->ru_utime);
15245 - sprintf(outp,"%d.%01d", tdiff.tv_sec, tdiff.tv_usec/100000);
15246 + sprintf(outp,"%ld.%01ld", tdiff.tv_sec, tdiff.tv_usec/100000);
15251 tvsub(&tdiff, &r1->ru_stime, &r0->ru_stime);
15252 - sprintf(outp,"%d.%01d", tdiff.tv_sec, tdiff.tv_usec/100000);
15253 + sprintf(outp,"%ld.%01ld", tdiff.tv_sec, tdiff.tv_usec/100000);
15257 @@ -851,49 +839,49 @@
15261 - sprintf(outp,"%d", t == 0 ? 0 : (r1->ru_ixrss-r0->ru_ixrss)/t);
15262 + sprintf(outp,"%ld", t == 0 ? 0 : (r1->ru_ixrss-r0->ru_ixrss)/t);
15267 - sprintf(outp,"%d", t == 0 ? 0 :
15268 + sprintf(outp,"%ld", t == 0 ? 0 :
15269 (r1->ru_idrss+r1->ru_isrss-(r0->ru_idrss+r0->ru_isrss))/t);
15274 - sprintf(outp,"%d", t == 0 ? 0 :
15275 + sprintf(outp,"%ld", t == 0 ? 0 :
15276 ((r1->ru_ixrss+r1->ru_isrss+r1->ru_idrss) -
15277 (r0->ru_ixrss+r0->ru_idrss+r0->ru_isrss))/t);
15282 - sprintf(outp,"%d", r1->ru_maxrss/2);
15283 + sprintf(outp,"%ld", r1->ru_maxrss/2);
15288 - sprintf(outp,"%d", r1->ru_majflt-r0->ru_majflt);
15289 + sprintf(outp,"%ld", r1->ru_majflt-r0->ru_majflt);
15294 - sprintf(outp,"%d", r1->ru_minflt-r0->ru_minflt);
15295 + sprintf(outp,"%ld", r1->ru_minflt-r0->ru_minflt);
15300 - sprintf(outp,"%d", r1->ru_inblock-r0->ru_inblock);
15301 + sprintf(outp,"%ld", r1->ru_inblock-r0->ru_inblock);
15306 - sprintf(outp,"%d", r1->ru_oublock-r0->ru_oublock);
15307 + sprintf(outp,"%ld", r1->ru_oublock-r0->ru_oublock);
15311 - sprintf(outp,"%d+%d", r1->ru_nvcsw-r0->ru_nvcsw,
15312 + sprintf(outp,"%ld+%ld", r1->ru_nvcsw-r0->ru_nvcsw,
15313 r1->ru_nivcsw-r0->ru_nivcsw );
15316 @@ -903,9 +891,7 @@
15321 -tvadd(tsum, t0, t1)
15322 - struct timeval *tsum, *t0, *t1;
15323 +static void tvadd(struct timeval *tsum, struct timeval *t0, struct timeval *t1)
15326 tsum->tv_sec = t0->tv_sec + t1->tv_sec;
15327 @@ -919,8 +905,7 @@
15328 * tvsub - tdiff = t1 - t0
15329 *-------------------------------------------------------------------------
15331 -static void tvsub(tdiff, t1, t0)
15332 - struct timeval *tdiff, *t1, *t0;
15333 +static void tvsub(struct timeval *tdiff, struct timeval *t1, struct timeval *t0)
15336 tdiff->tv_sec = t1->tv_sec - t0->tv_sec;
15337 @@ -931,10 +916,7 @@
15344 -register char *cp;
15345 +static void psecs(long l, char *cp)
15349 @@ -958,26 +940,23 @@
15353 -Nread( fd, buf, count )
15357 +int Nread( int nfd, char *Nbuf, int count )
15359 struct sockaddr_in from;
15360 int len = sizeof(from);
15364 - cnt = recvfrom( fd, buf, count, 0, &from, &len );
15365 + cnt = recvfrom( nfd, Nbuf, count, 0, &from, &len );
15367 - cnt = recv( fd, buf, count, 0);
15368 + cnt = recv( nfd, Nbuf, count, 0);
15373 - cnt = mread( fd, buf, count ); /* fill buf */
15374 + cnt = mread( nfd, Nbuf, count ); /* fill buf */
15376 - cnt = read( fd, buf, count );
15377 + cnt = read( nfd, Nbuf, count );
15380 if (touchdata && cnt > 0) {
15381 @@ -994,17 +973,15 @@
15383 *-------------------------------------------------------------------------
15385 -Nwrite(fd, buf, count)
15389 +int Nwrite(int nfd, char *Nbuf, int count)
15395 - if (atm) cnt = write(fd, buf, count);
15396 - else cnt = sendto(fd, buf, count, 0, &sinhim, sizeof(sinhim));
15397 + if (atm) cnt = write(nfd, Nbuf, count);
15398 + else cnt = sendto(nfd, Nbuf, count, 0, (struct sockaddr *)&sinhim,
15401 if ( cnt<0 && errno == ENOBUFS ) {
15403 @@ -1012,7 +989,7 @@
15407 - cnt = write(fd, buf, count);
15408 + cnt = write(nfd, Nbuf, count);
15411 if (cnt < 0) perror("WA:write");
15412 @@ -1020,13 +997,13 @@
15423 - (void)select( 1, (char *)0, (char *)0, (char *)0, &tv );
15424 + (void)select( 1, NULL, NULL, NULL, &tv );
15428 @@ -1038,17 +1015,13 @@
15429 * network connections don't deliver data with the same
15430 * grouping as it is written with. Written by Robert S. Miles, BRL.
15433 -mread(fd, bufp, n)
15435 -register char *bufp;
15437 +int mread(int mfd, char *bufp, unsigned n)
15439 register unsigned count = 0;
15440 register int nread;
15443 - nread = read(fd, bufp, n-count);
15444 + nread = read(mfd, bufp, n-count);
15447 perror("ttcp_mread");
15448 Index: linux-atm-2.4.1/src/debug/Makefile.in
15449 ===================================================================
15450 --- linux-atm-2.4.1.orig/src/debug/Makefile.in 2007-10-20 19:19:10.962253180 +0200
15451 +++ linux-atm-2.4.1/src/debug/Makefile.in 2007-10-20 19:19:11.894306297 +0200
15453 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
15454 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
15456 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
15457 # This Makefile.in is free software; the Free Software Foundation
15458 @@ -129,8 +129,9 @@
15460 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
15465 +DEP_FILES = .deps/delay.P .deps/svctor.P
15466 SOURCES = $(delay_SOURCES) $(svctor_SOURCES)
15467 OBJECTS = $(delay_OBJECTS) $(svctor_OBJECTS)
15469 @@ -138,9 +139,9 @@
15471 .SUFFIXES: .S .c .lo .o .obj .s
15472 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
15473 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/debug/Makefile
15474 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/debug/Makefile
15476 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
15477 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
15478 cd $(top_builddir) \
15479 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
15481 @@ -154,9 +155,6 @@
15483 maintainer-clean-noinstPROGRAMS:
15488 # FIXME: We should only use cygpath when building on Windows,
15489 # and only if it is available.
15491 @@ -179,9 +177,6 @@
15493 maintainer-clean-compile:
15496 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
15499 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
15501 @@ -224,7 +219,7 @@
15502 awk ' { files[$$0] = 1; } \
15503 END { for (i in files) print i; }'`; \
15504 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
15505 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
15506 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
15510 @@ -240,6 +235,11 @@
15513 distdir: $(DISTFILES)
15514 + here=`cd $(top_builddir) && pwd`; \
15515 + top_distdir=`cd $(top_distdir) && pwd`; \
15516 + distdir=`cd $(distdir) && pwd`; \
15517 + cd $(top_srcdir) \
15518 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/debug/Makefile
15519 @for file in $(DISTFILES); do \
15521 if test -d $$d/$$file; then \
15522 @@ -250,11 +250,38 @@
15523 || cp -p $$d/$$file $(distdir)/$$file || :; \
15526 -delay.o: delay.c ../../config.h ../../src/include/atm.h \
15527 - ../../src/include/stdint.h
15528 -svctor.o: svctor.c ../../config.h ../../src/include/atm.h \
15529 - ../../src/include/stdint.h
15531 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
15533 +-include $(DEP_FILES)
15535 +mostlyclean-depend:
15542 +maintainer-clean-depend:
15545 + @echo '$(COMPILE) -c $<'; \
15546 + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
15547 + @-cp .deps/$(*F).pp .deps/$(*F).P; \
15548 + tr ' ' '\012' < .deps/$(*F).pp \
15549 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
15550 + >> .deps/$(*F).P; \
15551 + rm .deps/$(*F).pp
15554 + @echo '$(LTCOMPILE) -c $<'; \
15555 + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
15556 + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
15557 + < .deps/$(*F).pp > .deps/$(*F).P; \
15558 + tr ' ' '\012' < .deps/$(*F).pp \
15559 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
15560 + >> .deps/$(*F).P; \
15561 + rm -f .deps/$(*F).pp
15565 @@ -291,27 +318,27 @@
15567 maintainer-clean-generic:
15568 mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \
15569 - mostlyclean-libtool mostlyclean-tags \
15570 + mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
15571 mostlyclean-generic
15573 mostlyclean: mostlyclean-am
15575 clean-am: clean-noinstPROGRAMS clean-compile clean-libtool clean-tags \
15576 - clean-generic mostlyclean-am
15577 + clean-depend clean-generic mostlyclean-am
15581 distclean-am: distclean-noinstPROGRAMS distclean-compile \
15582 - distclean-libtool distclean-tags distclean-generic \
15584 + distclean-libtool distclean-tags distclean-depend \
15585 + distclean-generic clean-am
15588 distclean: distclean-am
15590 maintainer-clean-am: maintainer-clean-noinstPROGRAMS \
15591 maintainer-clean-compile maintainer-clean-libtool \
15592 - maintainer-clean-tags maintainer-clean-generic \
15594 + maintainer-clean-tags maintainer-clean-depend \
15595 + maintainer-clean-generic distclean-am
15596 @echo "This command is intended for maintainers to use;"
15597 @echo "it deletes files that may require special tools to rebuild."
15599 @@ -322,12 +349,14 @@
15600 mostlyclean-compile distclean-compile clean-compile \
15601 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
15602 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
15603 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
15604 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
15605 -install-exec install-data-am install-data install-am install \
15606 -uninstall-am uninstall all-redirect all-am all installdirs \
15607 -mostlyclean-generic distclean-generic clean-generic \
15608 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
15609 +distclean-tags clean-tags maintainer-clean-tags distdir \
15610 +mostlyclean-depend distclean-depend clean-depend \
15611 +maintainer-clean-depend info-am info dvi-am dvi check check-am \
15612 +installcheck-am installcheck install-exec-am install-exec \
15613 +install-data-am install-data install-am install uninstall-am uninstall \
15614 +all-redirect all-am all installdirs mostlyclean-generic \
15615 +distclean-generic clean-generic maintainer-clean-generic clean \
15616 +mostlyclean distclean maintainer-clean
15619 # Tell versions [3.59,3.63) of GNU make to not export all variables.
15620 Index: linux-atm-2.4.1/src/qgen/Makefile.in
15621 ===================================================================
15622 --- linux-atm-2.4.1.orig/src/qgen/Makefile.in 2007-10-20 19:19:10.966253409 +0200
15623 +++ linux-atm-2.4.1/src/qgen/Makefile.in 2007-10-20 19:19:11.898306522 +0200
15625 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
15626 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
15628 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
15629 # This Makefile.in is free software; the Free Software Foundation
15631 noinst_PROGRAMS = qgen q.dump # q40.out.o
15632 check_PROGRAMS = q.test
15634 -qgen_SOURCES = common.c common.h file.c file.h first.c ql_y.y ql_l.l qgen.c \
15635 - qgen.h second.c third.c
15636 +qgen_SOURCES = common.c common.h file.c file.h first.c ql_y.y ql_l.l qgen.c qgen.h second.c third.c
15640 @@ -108,17 +107,10 @@
15642 EXTRA_DIST = ql_y.h incl.pl mknl.pl msg.fmt TODO
15644 -CLEANFILES = q.out.h q.out.c q.test.c qd.out.h qd.out.c qd.dump.c qd.test.c \
15645 - default.nl # q40.out.h q40.out.c q40.test.c
15646 +CLEANFILES = q.out.h q.out.c q.test.c qd.out.h qd.out.c qd.dump.c qd.test.c default.nl # q40.out.h q40.out.c q40.test.c
15649 -NLS = atm_ai_msg atm_ai_ie atm_loc atm_cv atm_pu atm_na atm_cond atm_ie \
15650 - atm_msg atm_np atm_ton atm_sat atm_prs atm_scrn atm_vpa atm_poe \
15651 - q2931_cs atm_td atm_bc atm_tc atm_stc atm_upcc q2931_proto atm_flag \
15652 - atm_aalp atm_fd atm_tag atm_l2 atm_l3 atm_tt atm_mc atm_hl atm_imd \
15653 - atm_tdl atm_tni atm_nip atm_shi atm_oci atm_unfm atm_ofi atm_irs \
15654 - atm_it atm_lit atm_lsi atm_tcs atm_css atm_eqo atm_eqp atm_aap \
15656 +NLS = atm_ai_msg atm_ai_ie atm_loc atm_cv atm_pu atm_na atm_cond atm_ie atm_msg atm_np atm_ton atm_sat atm_prs atm_scrn atm_vpa atm_poe q2931_cs atm_td atm_bc atm_tc atm_stc atm_upcc q2931_proto atm_flag atm_aalp atm_fd atm_tag atm_l2 atm_l3 atm_tt atm_mc atm_hl atm_imd atm_tdl atm_tni atm_nip atm_shi atm_oci atm_unfm atm_ofi atm_irs atm_it atm_lit atm_lsi atm_tcs atm_css atm_eqo atm_eqp atm_aap atm_asp atm_tor
15658 SYMFILES = uni.h $(shell @PERL@ incl.pl $(CFLAGS) linux/atmsap.h)
15659 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
15660 @@ -155,8 +147,11 @@
15662 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
15667 +DEP_FILES = .deps/common.P .deps/file.P .deps/first.P .deps/qgen.P \
15668 +.deps/ql_l.P .deps/ql_y.P .deps/qlib.P .deps/qtest.P .deps/second.P \
15670 SOURCES = $(q_test_SOURCES) $(qgen_SOURCES) $(q_dump_SOURCES) $(EXTRA_q_dump_SOURCES)
15671 OBJECTS = $(q_test_OBJECTS) $(qgen_OBJECTS) $(q_dump_OBJECTS)
15673 @@ -164,9 +159,9 @@
15675 .SUFFIXES: .S .c .l .lo .o .obj .s .y
15676 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
15677 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/qgen/Makefile
15678 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/qgen/Makefile
15680 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
15681 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
15682 cd $(top_builddir) \
15683 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
15685 @@ -189,9 +184,6 @@
15687 maintainer-clean-noinstPROGRAMS:
15692 # FIXME: We should only use cygpath when building on Windows,
15693 # and only if it is available.
15695 @@ -214,9 +206,6 @@
15697 maintainer-clean-compile:
15700 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
15703 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
15705 @@ -272,7 +261,7 @@
15706 awk ' { files[$$0] = 1; } \
15707 END { for (i in files) print i; }'`; \
15708 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
15709 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
15710 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
15714 @@ -288,6 +277,11 @@
15717 distdir: $(DISTFILES)
15718 + here=`cd $(top_builddir) && pwd`; \
15719 + top_distdir=`cd $(top_distdir) && pwd`; \
15720 + distdir=`cd $(distdir) && pwd`; \
15721 + cd $(top_srcdir) \
15722 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/qgen/Makefile
15723 @for file in $(DISTFILES); do \
15725 if test -d $$d/$$file; then \
15726 @@ -298,15 +292,38 @@
15727 || cp -p $$d/$$file $(distdir)/$$file || :; \
15730 -common.o: common.c ../../config.h common.h
15731 -file.o: file.c ../../config.h common.h file.h
15732 -first.o: first.c ../../config.h common.h qgen.h file.h
15733 -qgen.o: qgen.c ../../config.h common.h file.h qgen.h
15734 -ql_l.o: ql_l.c ../../config.h common.h qgen.h ql_y.h
15735 -ql_y.o: ql_y.c ../../config.h common.h qgen.h file.h
15736 -second.o: second.c ../../config.h common.h qgen.h file.h
15737 -third.o: third.c ../../config.h common.h qgen.h file.h
15739 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
15741 +-include $(DEP_FILES)
15743 +mostlyclean-depend:
15750 +maintainer-clean-depend:
15753 + @echo '$(COMPILE) -c $<'; \
15754 + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
15755 + @-cp .deps/$(*F).pp .deps/$(*F).P; \
15756 + tr ' ' '\012' < .deps/$(*F).pp \
15757 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
15758 + >> .deps/$(*F).P; \
15759 + rm .deps/$(*F).pp
15762 + @echo '$(LTCOMPILE) -c $<'; \
15763 + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
15764 + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
15765 + < .deps/$(*F).pp > .deps/$(*F).P; \
15766 + tr ' ' '\012' < .deps/$(*F).pp \
15767 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
15768 + >> .deps/$(*F).P; \
15769 + rm -f .deps/$(*F).pp
15773 @@ -344,21 +361,22 @@
15774 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
15776 maintainer-clean-generic:
15777 - -test -z "ql_llql_yhql_yc" || rm -f ql_ll ql_yh ql_yc
15778 + -test -z "ql_lcql_yhql_yc" || rm -f ql_lc ql_yh ql_yc
15779 mostlyclean-am: mostlyclean-checkPROGRAMS mostlyclean-noinstPROGRAMS \
15780 mostlyclean-compile mostlyclean-libtool \
15781 - mostlyclean-tags mostlyclean-generic
15782 + mostlyclean-tags mostlyclean-depend mostlyclean-generic
15784 mostlyclean: mostlyclean-am
15786 clean-am: clean-checkPROGRAMS clean-noinstPROGRAMS clean-compile \
15787 - clean-libtool clean-tags clean-generic mostlyclean-am
15788 + clean-libtool clean-tags clean-depend clean-generic \
15793 distclean-am: distclean-checkPROGRAMS distclean-noinstPROGRAMS \
15794 distclean-compile distclean-libtool distclean-tags \
15795 - distclean-generic clean-am
15796 + distclean-depend distclean-generic clean-am
15799 distclean: distclean-am
15800 @@ -366,8 +384,8 @@
15801 maintainer-clean-am: maintainer-clean-checkPROGRAMS \
15802 maintainer-clean-noinstPROGRAMS \
15803 maintainer-clean-compile maintainer-clean-libtool \
15804 - maintainer-clean-tags maintainer-clean-generic \
15806 + maintainer-clean-tags maintainer-clean-depend \
15807 + maintainer-clean-generic distclean-am
15808 @echo "This command is intended for maintainers to use;"
15809 @echo "it deletes files that may require special tools to rebuild."
15811 @@ -380,12 +398,14 @@
15812 mostlyclean-compile distclean-compile clean-compile \
15813 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
15814 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
15815 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
15816 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
15817 -install-exec install-data-am install-data install-am install \
15818 -uninstall-am uninstall all-redirect all-am all installdirs \
15819 -mostlyclean-generic distclean-generic clean-generic \
15820 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
15821 +distclean-tags clean-tags maintainer-clean-tags distdir \
15822 +mostlyclean-depend distclean-depend clean-depend \
15823 +maintainer-clean-depend info-am info dvi-am dvi check check-am \
15824 +installcheck-am installcheck install-exec-am install-exec \
15825 +install-data-am install-data install-am install uninstall-am uninstall \
15826 +all-redirect all-am all installdirs mostlyclean-generic \
15827 +distclean-generic clean-generic maintainer-clean-generic clean \
15828 +mostlyclean distclean maintainer-clean
15831 default.nl: mknl.pl $(SYMFILES)
15832 Index: linux-atm-2.4.1/src/qgen/ql_l.c
15833 ===================================================================
15834 --- linux-atm-2.4.1.orig/src/qgen/ql_l.c 2007-10-20 19:19:10.974253866 +0200
15835 +++ linux-atm-2.4.1/src/qgen/ql_l.c 2007-10-20 19:19:11.906306980 +0200
15837 -/* A lexical scanner generated by flex */
15839 -/* Scanner skeleton version:
15840 - * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $
15842 +#line 3 "lex.yy.c"
15844 +#define YY_INT_ALIGNED short int
15846 +/* A lexical scanner generated by flex */
15848 #define FLEX_SCANNER
15849 #define YY_FLEX_MAJOR_VERSION 2
15850 #define YY_FLEX_MINOR_VERSION 5
15851 +#define YY_FLEX_SUBMINOR_VERSION 31
15852 +#if YY_FLEX_SUBMINOR_VERSION > 0
15856 +/* First, we deal with platform-specific or compiler-specific issues. */
15858 +/* begin standard C headers. */
15860 -#include <unistd.h>
15861 +#include <string.h>
15862 +#include <errno.h>
15863 +#include <stdlib.h>
15865 +/* end standard C headers. */
15867 -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
15869 -#ifndef __cplusplus
15870 -#define __cplusplus
15871 +/* flex integer type definitions */
15876 +/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
15878 +#if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
15879 +#include <inttypes.h>
15880 +typedef int8_t flex_int8_t;
15881 +typedef uint8_t flex_uint8_t;
15882 +typedef int16_t flex_int16_t;
15883 +typedef uint16_t flex_uint16_t;
15884 +typedef int32_t flex_int32_t;
15885 +typedef uint32_t flex_uint32_t;
15887 +typedef signed char flex_int8_t;
15888 +typedef short int flex_int16_t;
15889 +typedef int flex_int32_t;
15890 +typedef unsigned char flex_uint8_t;
15891 +typedef unsigned short int flex_uint16_t;
15892 +typedef unsigned int flex_uint32_t;
15893 +#endif /* ! C99 */
15895 +/* Limits of integral types. */
15897 +#define INT8_MIN (-128)
15900 +#define INT16_MIN (-32767-1)
15903 +#define INT32_MIN (-2147483647-1)
15906 +#define INT8_MAX (127)
15909 +#define INT16_MAX (32767)
15912 +#define INT32_MAX (2147483647)
15915 +#define UINT8_MAX (255U)
15917 +#ifndef UINT16_MAX
15918 +#define UINT16_MAX (65535U)
15920 +#ifndef UINT32_MAX
15921 +#define UINT32_MAX (4294967295U)
15924 +#endif /* ! FLEXINT_H */
15928 -#include <stdlib.h>
15930 -/* Use prototypes in function declarations. */
15931 -#define YY_USE_PROTOS
15933 /* The "const" storage-class-modifier is valid. */
15934 #define YY_USE_CONST
15936 @@ -34,34 +87,17 @@
15940 -#define YY_USE_PROTOS
15941 #define YY_USE_CONST
15943 #endif /* __STDC__ */
15944 #endif /* ! __cplusplus */
15947 - #pragma warn -rch
15948 - #pragma warn -use
15950 -#include <stdlib.h>
15951 -#define YY_USE_CONST
15952 -#define YY_USE_PROTOS
15955 #ifdef YY_USE_CONST
15956 #define yyconst const
15962 -#ifdef YY_USE_PROTOS
15963 -#define YY_PROTO(proto) proto
15965 -#define YY_PROTO(proto) ()
15968 /* Returned upon end-of-file. */
15971 @@ -76,71 +112,71 @@
15972 * but we do it the disgusting crufty way forced on us by the ()-less
15973 * definition of BEGIN.
15975 -#define BEGIN yy_start = 1 + 2 *
15976 +#define BEGIN (yy_start) = 1 + 2 *
15978 /* Translate the current start state into a value that can be later handed
15979 * to BEGIN to return to the state. The YYSTATE alias is for lex
15982 -#define YY_START ((yy_start - 1) / 2)
15983 +#define YY_START (((yy_start) - 1) / 2)
15984 #define YYSTATE YY_START
15986 /* Action number for EOF rule of a given start state. */
15987 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
15989 /* Special action meaning "start processing a new file". */
15990 -#define YY_NEW_FILE yyrestart( yyin )
15991 +#define YY_NEW_FILE yyrestart(yyin )
15993 #define YY_END_OF_BUFFER_CHAR 0
15995 /* Size of default input buffer. */
15996 +#ifndef YY_BUF_SIZE
15997 #define YY_BUF_SIZE 16384
16000 +#ifndef YY_TYPEDEF_YY_BUFFER_STATE
16001 +#define YY_TYPEDEF_YY_BUFFER_STATE
16002 typedef struct yy_buffer_state *YY_BUFFER_STATE;
16007 extern FILE *yyin, *yyout;
16009 #define EOB_ACT_CONTINUE_SCAN 0
16010 #define EOB_ACT_END_OF_FILE 1
16011 #define EOB_ACT_LAST_MATCH 2
16013 -/* The funky do-while in the following #define is used to turn the definition
16014 - * int a single C statement (which needs a semi-colon terminator). This
16015 - * avoids problems with code like:
16017 - * if ( condition_holds )
16020 - * do_something_else();
16022 - * Prior to using the do-while the compiler would get upset at the
16023 - * "else" because it interpreted the "if" statement as being all
16024 - * done when it reached the ';' after the yyless() call.
16027 -/* Return all but the first 'n' matched characters back to the input stream. */
16029 + #define YY_LESS_LINENO(n)
16031 +/* Return all but the first "n" matched characters back to the input stream. */
16032 #define yyless(n) \
16035 /* Undo effects of setting up yytext. */ \
16036 - *yy_cp = yy_hold_char; \
16037 + int yyless_macro_arg = (n); \
16038 + YY_LESS_LINENO(yyless_macro_arg);\
16039 + *yy_cp = (yy_hold_char); \
16040 YY_RESTORE_YY_MORE_OFFSET \
16041 - yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
16042 + (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
16043 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
16047 -#define unput(c) yyunput( c, yytext_ptr )
16048 +#define unput(c) yyunput( c, (yytext_ptr) )
16050 /* The following is because we cannot portably get our hands on size_t
16051 * (without autoconf's help, which isn't available because we want
16052 * flex-generated scanners to compile on their own).
16054 -typedef unsigned int yy_size_t;
16056 +#ifndef YY_TYPEDEF_YY_SIZE_T
16057 +#define YY_TYPEDEF_YY_SIZE_T
16058 +typedef unsigned int yy_size_t;
16061 +#ifndef YY_STRUCT_YY_BUFFER_STATE
16062 +#define YY_STRUCT_YY_BUFFER_STATE
16063 struct yy_buffer_state
16065 FILE *yy_input_file;
16066 @@ -177,12 +213,16 @@
16070 + int yy_bs_lineno; /**< The line count. */
16071 + int yy_bs_column; /**< The column count. */
16073 /* Whether to try to fill the input buffer when we reach the
16076 int yy_fill_buffer;
16078 int yy_buffer_status;
16080 #define YY_BUFFER_NEW 0
16081 #define YY_BUFFER_NORMAL 1
16082 /* When an EOF's been seen but there's still some text to process
16083 @@ -196,23 +236,33 @@
16084 * just pointing yyin at a new input file.
16086 #define YY_BUFFER_EOF_PENDING 2
16089 +#endif /* !YY_STRUCT_YY_BUFFER_STATE */
16091 -static YY_BUFFER_STATE yy_current_buffer = 0;
16092 +/* Stack of input buffers. */
16093 +static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
16094 +static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
16095 +static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
16097 /* We provide macros for accessing buffer states in case in the
16098 * future we want to put the buffer states in a more general
16101 + * Returns the top of the stack, or NULL.
16103 -#define YY_CURRENT_BUFFER yy_current_buffer
16104 +#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
16105 + ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
16108 +/* Same as previous macro, but useful when we know that the buffer stack is not
16109 + * NULL or when we need an lvalue. For internal use only.
16111 +#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
16113 /* yy_hold_char holds the character lost when yytext is formed. */
16114 static char yy_hold_char;
16116 static int yy_n_chars; /* number of characters read into yy_ch_buf */
16121 /* Points to current character in buffer. */
16122 @@ -225,66 +275,92 @@
16124 static int yy_did_buffer_switch_on_eof;
16126 -void yyrestart YY_PROTO(( FILE *input_file ));
16128 -void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
16129 -void yy_load_buffer_state YY_PROTO(( void ));
16130 -YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
16131 -void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
16132 -void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
16133 -void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
16134 -#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
16136 -YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
16137 -YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
16138 -YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
16140 -static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
16141 -static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
16142 -static void yy_flex_free YY_PROTO(( void * ));
16143 +void yyrestart (FILE *input_file );
16144 +void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
16145 +YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
16146 +void yy_delete_buffer (YY_BUFFER_STATE b );
16147 +void yy_flush_buffer (YY_BUFFER_STATE b );
16148 +void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
16149 +void yypop_buffer_state (void );
16151 +static void yyensure_buffer_stack (void );
16152 +static void yy_load_buffer_state (void );
16153 +static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
16155 +#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
16157 +YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
16158 +YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
16159 +YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
16161 +void *yyalloc (yy_size_t );
16162 +void *yyrealloc (void *,yy_size_t );
16163 +void yyfree (void * );
16165 #define yy_new_buffer yy_create_buffer
16167 #define yy_set_interactive(is_interactive) \
16169 - if ( ! yy_current_buffer ) \
16170 - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
16171 - yy_current_buffer->yy_is_interactive = is_interactive; \
16172 + if ( ! YY_CURRENT_BUFFER ){ \
16173 + yyensure_buffer_stack (); \
16174 + YY_CURRENT_BUFFER_LVALUE = \
16175 + yy_create_buffer(yyin,YY_BUF_SIZE ); \
16177 + YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
16180 #define yy_set_bol(at_bol) \
16182 - if ( ! yy_current_buffer ) \
16183 - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
16184 - yy_current_buffer->yy_at_bol = at_bol; \
16185 + if ( ! YY_CURRENT_BUFFER ){\
16186 + yyensure_buffer_stack (); \
16187 + YY_CURRENT_BUFFER_LVALUE = \
16188 + yy_create_buffer(yyin,YY_BUF_SIZE ); \
16190 + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
16193 -#define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
16194 +#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
16196 +/* Begin user sect3 */
16198 typedef unsigned char YY_CHAR;
16200 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
16202 typedef int yy_state_type;
16204 +extern int yylineno;
16208 extern char *yytext;
16209 #define yytext_ptr yytext
16211 -static yy_state_type yy_get_previous_state YY_PROTO(( void ));
16212 -static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
16213 -static int yy_get_next_buffer YY_PROTO(( void ));
16214 -static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
16215 +static yy_state_type yy_get_previous_state (void );
16216 +static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
16217 +static int yy_get_next_buffer (void );
16218 +static void yy_fatal_error (yyconst char msg[] );
16220 /* Done after the current pattern has been matched and before the
16221 * corresponding action - sets up yytext.
16223 #define YY_DO_BEFORE_ACTION \
16224 - yytext_ptr = yy_bp; \
16225 - yyleng = (int) (yy_cp - yy_bp); \
16226 - yy_hold_char = *yy_cp; \
16227 + (yytext_ptr) = yy_bp; \
16228 + yyleng = (size_t) (yy_cp - yy_bp); \
16229 + (yy_hold_char) = *yy_cp; \
16231 - yy_c_buf_p = yy_cp;
16232 + (yy_c_buf_p) = yy_cp;
16234 #define YY_NUM_RULES 16
16235 #define YY_END_OF_BUFFER 17
16236 -static yyconst short int yy_accept[70] =
16237 +/* This struct is not used in this scanner,
16238 + but its presence is necessary. */
16239 +struct yy_trans_info
16241 + flex_int32_t yy_verify;
16242 + flex_int32_t yy_nxt;
16244 +static yyconst flex_int16_t yy_accept[70] =
16246 10, 10, 17, 15, 10, 10, 15, 15, 9, 9,
16247 9, 9, 9, 9, 9, 9, 9, 10, 0, 0,
16248 @@ -295,7 +371,7 @@
16249 7, 0, 0, 0, 0, 0, 11, 12, 0
16252 -static yyconst int yy_ec[256] =
16253 +static yyconst flex_int32_t yy_ec[256] =
16255 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
16256 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
16257 @@ -327,14 +403,14 @@
16261 -static yyconst int yy_meta[29] =
16262 +static yyconst flex_int32_t yy_meta[29] =
16264 1, 2, 2, 1, 3, 1, 4, 5, 5, 4,
16265 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
16266 4, 4, 4, 4, 4, 4, 4, 4
16269 -static yyconst short int yy_base[75] =
16270 +static yyconst flex_int16_t yy_base[75] =
16272 0, 0, 99, 100, 27, 28, 0, 95, 0, 86,
16273 72, 85, 80, 71, 78, 64, 76, 31, 84, 85,
16274 @@ -346,7 +422,7 @@
16278 -static yyconst short int yy_def[75] =
16279 +static yyconst flex_int16_t yy_def[75] =
16281 69, 1, 69, 69, 69, 69, 70, 71, 72, 72,
16282 72, 72, 72, 72, 72, 72, 72, 69, 70, 71,
16283 @@ -358,7 +434,7 @@
16287 -static yyconst short int yy_nxt[129] =
16288 +static yyconst flex_int16_t yy_nxt[129] =
16290 4, 5, 6, 5, 7, 8, 9, 4, 4, 10,
16291 11, 12, 13, 9, 9, 9, 9, 14, 9, 15,
16292 @@ -376,7 +452,7 @@
16293 69, 69, 69, 69, 69, 69, 69, 69
16296 -static yyconst short int yy_chk[129] =
16297 +static yyconst flex_int16_t yy_chk[129] =
16299 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
16300 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
16301 @@ -397,6 +473,9 @@
16302 static yy_state_type yy_last_accepting_state;
16303 static char *yy_last_accepting_cpos;
16305 +extern int yy_flex_debug;
16306 +int yy_flex_debug = 0;
16308 /* The intent behind this definition is that it'll catch
16309 * any uses of REJECT which flex missed.
16311 @@ -406,7 +485,6 @@
16312 #define YY_RESTORE_YY_MORE_OFFSET
16317 /* ql.l - Q.2931 data structures description language */
16319 @@ -451,7 +529,21 @@
16320 return (*walk)->str;
16323 -#line 455 "lex.yy.c"
16324 +#line 533 "lex.yy.c"
16328 +#ifndef YY_NO_UNISTD_H
16329 +/* Special case for "unistd.h", since it is non-ANSI. We include it way
16330 + * down here because we want the user's section 1 to have been scanned first.
16331 + * The user has a chance to override it with an option.
16333 +#include <unistd.h>
16336 +#ifndef YY_EXTRA_TYPE
16337 +#define YY_EXTRA_TYPE void *
16340 /* Macros after this point can all be overridden by user definitions in
16342 @@ -459,65 +551,30 @@
16344 #ifndef YY_SKIP_YYWRAP
16346 -extern "C" int yywrap YY_PROTO(( void ));
16347 +extern "C" int yywrap (void );
16349 -extern int yywrap YY_PROTO(( void ));
16350 +extern int yywrap (void );
16354 -#ifndef YY_NO_UNPUT
16355 -static void yyunput YY_PROTO(( int c, char *buf_ptr ));
16358 + static void yyunput (int c,char *buf_ptr );
16361 -static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
16362 +static void yy_flex_strncpy (char *,yyconst char *,int );
16365 #ifdef YY_NEED_STRLEN
16366 -static int yy_flex_strlen YY_PROTO(( yyconst char * ));
16367 +static int yy_flex_strlen (yyconst char * );
16370 #ifndef YY_NO_INPUT
16373 -static int yyinput YY_PROTO(( void ));
16374 +static int yyinput (void );
16376 -static int input YY_PROTO(( void ));
16381 -static int yy_start_stack_ptr = 0;
16382 -static int yy_start_stack_depth = 0;
16383 -static int *yy_start_stack = 0;
16384 -#ifndef YY_NO_PUSH_STATE
16385 -static void yy_push_state YY_PROTO(( int new_state ));
16387 -#ifndef YY_NO_POP_STATE
16388 -static void yy_pop_state YY_PROTO(( void ));
16390 -#ifndef YY_NO_TOP_STATE
16391 -static int yy_top_state YY_PROTO(( void ));
16392 +static int input (void );
16396 -#define YY_NO_PUSH_STATE 1
16397 -#define YY_NO_POP_STATE 1
16398 -#define YY_NO_TOP_STATE 1
16401 -#ifdef YY_MALLOC_DECL
16405 -#ifndef __cplusplus
16406 -#include <stdlib.h>
16409 -/* Just try to get by without declaring the routines. This will fail
16410 - * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
16411 - * or sizeof(void*) != sizeof(int).
16416 /* Amount of stuff to slurp up with each read. */
16417 @@ -526,7 +583,6 @@
16420 /* Copy whatever the last rule matched to the standard output. */
16423 /* This used to be an fputs(), but since the string might contain NUL's,
16424 * we now use fwrite().
16425 @@ -539,9 +595,10 @@
16428 #define YY_INPUT(buf,result,max_size) \
16429 - if ( yy_current_buffer->yy_is_interactive ) \
16430 + if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
16432 - int c = '*', n; \
16435 for ( n = 0; n < max_size && \
16436 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
16437 buf[n] = (char) c; \
16438 @@ -551,9 +608,22 @@
16439 YY_FATAL_ERROR( "input in flex scanner failed" ); \
16442 - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
16443 - && ferror( yyin ) ) \
16444 - YY_FATAL_ERROR( "input in flex scanner failed" );
16448 + while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
16450 + if( errno != EINTR) \
16452 + YY_FATAL_ERROR( "input in flex scanner failed" ); \
16456 + clearerr(yyin); \
16463 /* No semi-colon after return; correct usage is to write "yyterminate();" -
16464 @@ -574,12 +644,18 @@
16465 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
16468 +/* end tables serialization structures and prototypes */
16470 /* Default declaration of generated scanner - a define so the user can
16471 * easily add parameters.
16474 -#define YY_DECL int yylex YY_PROTO(( void ))
16476 +#define YY_DECL_IS_OURS 1
16478 +extern int yylex (void);
16480 +#define YY_DECL int yylex (void)
16481 +#endif /* !YY_DECL */
16483 /* Code executed at the beginning of each rule, after yytext and yyleng
16484 * have been set up.
16485 @@ -596,27 +672,29 @@
16486 #define YY_RULE_SETUP \
16489 +/** The main scanner function which does all the work.
16494 register yy_state_type yy_current_state;
16495 - register char *yy_cp = NULL, *yy_bp = NULL;
16496 + register char *yy_cp, *yy_bp;
16497 register int yy_act;
16503 -#line 609 "lex.yy.c"
16504 +#line 687 "lex.yy.c"
16512 #ifdef YY_USER_INIT
16516 - if ( ! yy_start )
16517 - yy_start = 1; /* first start state */
16518 + if ( ! (yy_start) )
16519 + (yy_start) = 1; /* first start state */
16523 @@ -624,34 +702,36 @@
16527 - if ( ! yy_current_buffer )
16528 - yy_current_buffer =
16529 - yy_create_buffer( yyin, YY_BUF_SIZE );
16530 + if ( ! YY_CURRENT_BUFFER ) {
16531 + yyensure_buffer_stack ();
16532 + YY_CURRENT_BUFFER_LVALUE =
16533 + yy_create_buffer(yyin,YY_BUF_SIZE );
16536 - yy_load_buffer_state();
16537 + yy_load_buffer_state( );
16540 while ( 1 ) /* loops until end-of-file is reached */
16542 - yy_cp = yy_c_buf_p;
16543 + yy_cp = (yy_c_buf_p);
16545 /* Support of yytext. */
16546 - *yy_cp = yy_hold_char;
16547 + *yy_cp = (yy_hold_char);
16549 /* yy_bp points to the position in yy_ch_buf of the start of
16554 - yy_current_state = yy_start;
16555 + yy_current_state = (yy_start);
16559 register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
16560 if ( yy_accept[yy_current_state] )
16562 - yy_last_accepting_state = yy_current_state;
16563 - yy_last_accepting_cpos = yy_cp;
16564 + (yy_last_accepting_state) = yy_current_state;
16565 + (yy_last_accepting_cpos) = yy_cp;
16567 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
16569 @@ -668,24 +748,22 @@
16570 yy_act = yy_accept[yy_current_state];
16572 { /* have to back up */
16573 - yy_cp = yy_last_accepting_cpos;
16574 - yy_current_state = yy_last_accepting_state;
16575 + yy_cp = (yy_last_accepting_cpos);
16576 + yy_current_state = (yy_last_accepting_state);
16577 yy_act = yy_accept[yy_current_state];
16580 YY_DO_BEFORE_ACTION;
16583 do_action: /* This label is used only to access EOF actions. */
16587 { /* beginning of action switch */
16588 case 0: /* must back up */
16589 /* undo the effects of YY_DO_BEFORE_ACTION */
16590 - *yy_cp = yy_hold_char;
16591 - yy_cp = yy_last_accepting_cpos;
16592 - yy_current_state = yy_last_accepting_state;
16593 + *yy_cp = (yy_hold_char);
16594 + yy_cp = (yy_last_accepting_cpos);
16595 + yy_current_state = (yy_last_accepting_state);
16596 goto yy_find_action;
16599 @@ -735,6 +813,7 @@
16603 +/* rule 10 can match eol */
16606 lineno += *yytext == '\n';
16607 @@ -755,6 +834,7 @@
16608 return TOK_STRING; }
16611 +/* rule 14 can match eol */
16615 @@ -769,33 +849,33 @@
16619 -#line 773 "lex.yy.c"
16620 +#line 853 "lex.yy.c"
16621 case YY_STATE_EOF(INITIAL):
16624 case YY_END_OF_BUFFER:
16626 /* Amount of text matched not including the EOB char. */
16627 - int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
16628 + int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
16630 /* Undo the effects of YY_DO_BEFORE_ACTION. */
16631 - *yy_cp = yy_hold_char;
16632 + *yy_cp = (yy_hold_char);
16633 YY_RESTORE_YY_MORE_OFFSET
16635 - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
16636 + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
16638 /* We're scanning a new file or input source. It's
16639 * possible that this happened because the user
16640 * just pointed yyin at a new source and called
16641 * yylex(). If so, then we have to assure
16642 - * consistency between yy_current_buffer and our
16643 + * consistency between YY_CURRENT_BUFFER and our
16644 * globals. Here is the right place to do so, because
16645 * this is the first action (other than possibly a
16646 * back-up) that will match for the new input source.
16648 - yy_n_chars = yy_current_buffer->yy_n_chars;
16649 - yy_current_buffer->yy_input_file = yyin;
16650 - yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
16651 + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
16652 + YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
16653 + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
16656 /* Note that here we test for yy_c_buf_p "<=" to the position
16657 @@ -805,13 +885,13 @@
16658 * end-of-buffer state). Contrast this with the test
16661 - if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
16662 + if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
16663 { /* This was really a NUL. */
16664 yy_state_type yy_next_state;
16666 - yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
16667 + (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
16669 - yy_current_state = yy_get_previous_state();
16670 + yy_current_state = yy_get_previous_state( );
16672 /* Okay, we're now positioned to make the NUL
16673 * transition. We couldn't have
16674 @@ -824,30 +904,30 @@
16676 yy_next_state = yy_try_NUL_trans( yy_current_state );
16678 - yy_bp = yytext_ptr + YY_MORE_ADJ;
16679 + yy_bp = (yytext_ptr) + YY_MORE_ADJ;
16681 if ( yy_next_state )
16683 /* Consume the NUL. */
16684 - yy_cp = ++yy_c_buf_p;
16685 + yy_cp = ++(yy_c_buf_p);
16686 yy_current_state = yy_next_state;
16692 - yy_cp = yy_c_buf_p;
16693 + yy_cp = (yy_c_buf_p);
16694 goto yy_find_action;
16698 - else switch ( yy_get_next_buffer() )
16699 + else switch ( yy_get_next_buffer( ) )
16701 case EOB_ACT_END_OF_FILE:
16703 - yy_did_buffer_switch_on_eof = 0;
16704 + (yy_did_buffer_switch_on_eof) = 0;
16709 /* Note: because we've taken care in
16710 * yy_get_next_buffer() to have set up
16711 @@ -858,7 +938,7 @@
16712 * YY_NULL, it'll still work - another
16713 * YY_NULL will get returned.
16715 - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
16716 + (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
16718 yy_act = YY_STATE_EOF(YY_START);
16720 @@ -866,30 +946,30 @@
16724 - if ( ! yy_did_buffer_switch_on_eof )
16725 + if ( ! (yy_did_buffer_switch_on_eof) )
16731 case EOB_ACT_CONTINUE_SCAN:
16733 - yytext_ptr + yy_amount_of_matched_text;
16735 + (yytext_ptr) + yy_amount_of_matched_text;
16737 - yy_current_state = yy_get_previous_state();
16738 + yy_current_state = yy_get_previous_state( );
16740 - yy_cp = yy_c_buf_p;
16741 - yy_bp = yytext_ptr + YY_MORE_ADJ;
16742 + yy_cp = (yy_c_buf_p);
16743 + yy_bp = (yytext_ptr) + YY_MORE_ADJ;
16746 case EOB_ACT_LAST_MATCH:
16748 - &yy_current_buffer->yy_ch_buf[yy_n_chars];
16750 + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
16752 - yy_current_state = yy_get_previous_state();
16753 + yy_current_state = yy_get_previous_state( );
16755 - yy_cp = yy_c_buf_p;
16756 - yy_bp = yytext_ptr + YY_MORE_ADJ;
16757 + yy_cp = (yy_c_buf_p);
16758 + yy_bp = (yytext_ptr) + YY_MORE_ADJ;
16759 goto yy_find_action;
16762 @@ -900,8 +980,7 @@
16763 "fatal flex scanner internal error--no action found" );
16764 } /* end of action switch */
16765 } /* end of scanning one token */
16766 - } /* end of yylex */
16768 +} /* end of yylex */
16770 /* yy_get_next_buffer - try to read in a new buffer
16772 @@ -910,21 +989,20 @@
16773 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
16774 * EOB_ACT_END_OF_FILE - end of file
16777 -static int yy_get_next_buffer()
16779 - register char *dest = yy_current_buffer->yy_ch_buf;
16780 - register char *source = yytext_ptr;
16781 +static int yy_get_next_buffer (void)
16783 + register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
16784 + register char *source = (yytext_ptr);
16785 register int number_to_move, i;
16788 - if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
16789 + if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
16791 "fatal flex scanner internal error--end of buffer missed" );
16793 - if ( yy_current_buffer->yy_fill_buffer == 0 )
16794 + if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
16795 { /* Don't try to fill the buffer, so this is an EOF. */
16796 - if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
16797 + if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
16799 /* We matched a single character, the EOB, so
16800 * treat this as a final EOF.
16801 @@ -944,34 +1022,30 @@
16802 /* Try to read more data. */
16804 /* First move last chars to start of buffer. */
16805 - number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
16806 + number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
16808 for ( i = 0; i < number_to_move; ++i )
16809 *(dest++) = *(source++);
16811 - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
16812 + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
16813 /* don't do the read, it's not guaranteed to return an EOF,
16814 * just force an EOF
16816 - yy_current_buffer->yy_n_chars = yy_n_chars = 0;
16817 + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
16821 - int num_to_read =
16822 - yy_current_buffer->yy_buf_size - number_to_move - 1;
16823 + size_t num_to_read =
16824 + YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
16826 while ( num_to_read <= 0 )
16827 { /* Not enough room in the buffer - grow it. */
16828 -#ifdef YY_USES_REJECT
16830 -"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
16833 /* just a shorter name for the current buffer */
16834 - YY_BUFFER_STATE b = yy_current_buffer;
16835 + YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
16837 int yy_c_buf_p_offset =
16838 - (int) (yy_c_buf_p - b->yy_ch_buf);
16839 + (int) ((yy_c_buf_p) - b->yy_ch_buf);
16841 if ( b->yy_is_our_buffer )
16843 @@ -984,8 +1058,7 @@
16845 b->yy_ch_buf = (char *)
16846 /* Include room in for 2 EOB chars. */
16847 - yy_flex_realloc( (void *) b->yy_ch_buf,
16848 - b->yy_buf_size + 2 );
16849 + yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
16852 /* Can't grow it, we don't own it. */
16853 @@ -995,35 +1068,35 @@
16855 "fatal error - scanner input buffer overflow" );
16857 - yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
16858 + (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
16860 - num_to_read = yy_current_buffer->yy_buf_size -
16861 + num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
16862 number_to_move - 1;
16867 if ( num_to_read > YY_READ_BUF_SIZE )
16868 num_to_read = YY_READ_BUF_SIZE;
16870 /* Read in more data. */
16871 - YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
16872 - yy_n_chars, num_to_read );
16873 + YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
16874 + (yy_n_chars), num_to_read );
16876 - yy_current_buffer->yy_n_chars = yy_n_chars;
16877 + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
16880 - if ( yy_n_chars == 0 )
16881 + if ( (yy_n_chars) == 0 )
16883 if ( number_to_move == YY_MORE_ADJ )
16885 ret_val = EOB_ACT_END_OF_FILE;
16886 - yyrestart( yyin );
16887 + yyrestart(yyin );
16892 ret_val = EOB_ACT_LAST_MATCH;
16893 - yy_current_buffer->yy_buffer_status =
16894 + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
16895 YY_BUFFER_EOF_PENDING;
16898 @@ -1031,32 +1104,31 @@
16900 ret_val = EOB_ACT_CONTINUE_SCAN;
16902 - yy_n_chars += number_to_move;
16903 - yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
16904 - yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
16905 + (yy_n_chars) += number_to_move;
16906 + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
16907 + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
16909 - yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
16910 + (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
16917 /* yy_get_previous_state - get the state just before the EOB char was reached */
16919 -static yy_state_type yy_get_previous_state()
16921 + static yy_state_type yy_get_previous_state (void)
16923 register yy_state_type yy_current_state;
16924 register char *yy_cp;
16926 + yy_current_state = (yy_start);
16928 - yy_current_state = yy_start;
16930 - for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
16931 + for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
16933 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
16934 if ( yy_accept[yy_current_state] )
16936 - yy_last_accepting_state = yy_current_state;
16937 - yy_last_accepting_cpos = yy_cp;
16938 + (yy_last_accepting_state) = yy_current_state;
16939 + (yy_last_accepting_cpos) = yy_cp;
16941 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
16943 @@ -1068,30 +1140,23 @@
16946 return yy_current_state;
16951 /* yy_try_NUL_trans - try to make a transition on the NUL character
16954 * next_state = yy_try_NUL_trans( current_state );
16957 -#ifdef YY_USE_PROTOS
16958 -static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
16960 -static yy_state_type yy_try_NUL_trans( yy_current_state )
16961 -yy_state_type yy_current_state;
16964 + static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
16966 register int yy_is_jam;
16967 - register char *yy_cp = yy_c_buf_p;
16968 + register char *yy_cp = (yy_c_buf_p);
16970 register YY_CHAR yy_c = 1;
16971 if ( yy_accept[yy_current_state] )
16973 - yy_last_accepting_state = yy_current_state;
16974 - yy_last_accepting_cpos = yy_cp;
16975 + (yy_last_accepting_state) = yy_current_state;
16976 + (yy_last_accepting_cpos) = yy_cp;
16978 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
16980 @@ -1103,80 +1168,73 @@
16981 yy_is_jam = (yy_current_state == 69);
16983 return yy_is_jam ? 0 : yy_current_state;
16988 -#ifndef YY_NO_UNPUT
16989 -#ifdef YY_USE_PROTOS
16990 -static void yyunput( int c, register char *yy_bp )
16992 -static void yyunput( c, yy_bp )
16994 -register char *yy_bp;
16997 - register char *yy_cp = yy_c_buf_p;
16998 + static void yyunput (int c, register char * yy_bp )
17000 + register char *yy_cp;
17002 + yy_cp = (yy_c_buf_p);
17004 /* undo effects of setting up yytext */
17005 - *yy_cp = yy_hold_char;
17006 + *yy_cp = (yy_hold_char);
17008 - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
17009 + if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
17010 { /* need to shift things up to make room */
17011 /* +2 for EOB chars. */
17012 - register int number_to_move = yy_n_chars + 2;
17013 - register char *dest = &yy_current_buffer->yy_ch_buf[
17014 - yy_current_buffer->yy_buf_size + 2];
17015 + register int number_to_move = (yy_n_chars) + 2;
17016 + register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
17017 + YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
17018 register char *source =
17019 - &yy_current_buffer->yy_ch_buf[number_to_move];
17020 + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
17022 - while ( source > yy_current_buffer->yy_ch_buf )
17023 + while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
17024 *--dest = *--source;
17026 yy_cp += (int) (dest - source);
17027 yy_bp += (int) (dest - source);
17028 - yy_current_buffer->yy_n_chars =
17029 - yy_n_chars = yy_current_buffer->yy_buf_size;
17030 + YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
17031 + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
17033 - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
17034 + if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
17035 YY_FATAL_ERROR( "flex scanner push-back overflow" );
17038 *--yy_cp = (char) c;
17040 + (yytext_ptr) = yy_bp;
17041 + (yy_hold_char) = *yy_cp;
17042 + (yy_c_buf_p) = yy_cp;
17045 - yytext_ptr = yy_bp;
17046 - yy_hold_char = *yy_cp;
17047 - yy_c_buf_p = yy_cp;
17049 -#endif /* ifndef YY_NO_UNPUT */
17052 +#ifndef YY_NO_INPUT
17054 -static int yyinput()
17055 + static int yyinput (void)
17057 -static int input()
17058 + static int input (void)
17063 - *yy_c_buf_p = yy_hold_char;
17067 + *(yy_c_buf_p) = (yy_hold_char);
17069 - if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
17070 + if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
17072 /* yy_c_buf_p now points to the character we want to return.
17073 * If this occurs *before* the EOB characters, then it's a
17074 * valid NUL; if not, then we've hit the end of the buffer.
17076 - if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
17077 + if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
17078 /* This was really a NUL. */
17079 - *yy_c_buf_p = '\0';
17080 + *(yy_c_buf_p) = '\0';
17083 { /* need more input */
17084 - int offset = yy_c_buf_p - yytext_ptr;
17086 + int offset = (yy_c_buf_p) - (yytext_ptr);
17089 - switch ( yy_get_next_buffer() )
17090 + switch ( yy_get_next_buffer( ) )
17092 case EOB_ACT_LAST_MATCH:
17093 /* This happens because yy_g_n_b()
17094 @@ -1190,16 +1248,16 @@
17097 /* Reset buffer status. */
17098 - yyrestart( yyin );
17099 + yyrestart(yyin );
17101 - /* fall through */
17104 case EOB_ACT_END_OF_FILE:
17110 - if ( ! yy_did_buffer_switch_on_eof )
17111 + if ( ! (yy_did_buffer_switch_on_eof) )
17115 @@ -1209,90 +1267,92 @@
17118 case EOB_ACT_CONTINUE_SCAN:
17119 - yy_c_buf_p = yytext_ptr + offset;
17120 + (yy_c_buf_p) = (yytext_ptr) + offset;
17126 - c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */
17127 - *yy_c_buf_p = '\0'; /* preserve yytext */
17128 - yy_hold_char = *++yy_c_buf_p;
17130 + c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
17131 + *(yy_c_buf_p) = '\0'; /* preserve yytext */
17132 + (yy_hold_char) = *++(yy_c_buf_p);
17138 -#ifdef YY_USE_PROTOS
17139 -void yyrestart( FILE *input_file )
17141 -void yyrestart( input_file )
17145 - if ( ! yy_current_buffer )
17146 - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
17148 +#endif /* ifndef YY_NO_INPUT */
17150 - yy_init_buffer( yy_current_buffer, input_file );
17151 - yy_load_buffer_state();
17152 +/** Immediately switch to a different input stream.
17153 + * @param input_file A readable stream.
17155 + * @note This function does not reset the start condition to @c INITIAL .
17157 + void yyrestart (FILE * input_file )
17160 + if ( ! YY_CURRENT_BUFFER ){
17161 + yyensure_buffer_stack ();
17162 + YY_CURRENT_BUFFER_LVALUE =
17163 + yy_create_buffer(yyin,YY_BUF_SIZE );
17166 + yy_init_buffer(YY_CURRENT_BUFFER,input_file );
17167 + yy_load_buffer_state( );
17170 -#ifdef YY_USE_PROTOS
17171 -void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
17173 -void yy_switch_to_buffer( new_buffer )
17174 -YY_BUFFER_STATE new_buffer;
17177 - if ( yy_current_buffer == new_buffer )
17178 +/** Switch to a different input buffer.
17179 + * @param new_buffer The new input buffer.
17182 + void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
17185 + /* TODO. We should be able to replace this entire function body
17187 + * yypop_buffer_state();
17188 + * yypush_buffer_state(new_buffer);
17190 + yyensure_buffer_stack ();
17191 + if ( YY_CURRENT_BUFFER == new_buffer )
17194 - if ( yy_current_buffer )
17195 + if ( YY_CURRENT_BUFFER )
17197 /* Flush out information for old buffer. */
17198 - *yy_c_buf_p = yy_hold_char;
17199 - yy_current_buffer->yy_buf_pos = yy_c_buf_p;
17200 - yy_current_buffer->yy_n_chars = yy_n_chars;
17201 + *(yy_c_buf_p) = (yy_hold_char);
17202 + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
17203 + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
17206 - yy_current_buffer = new_buffer;
17207 - yy_load_buffer_state();
17208 + YY_CURRENT_BUFFER_LVALUE = new_buffer;
17209 + yy_load_buffer_state( );
17211 /* We don't actually know whether we did this switch during
17212 * EOF (yywrap()) processing, but the only time this flag
17213 * is looked at is after yywrap() is called, so it's safe
17214 * to go ahead and always set it.
17216 - yy_did_buffer_switch_on_eof = 1;
17220 -#ifdef YY_USE_PROTOS
17221 -void yy_load_buffer_state( void )
17223 -void yy_load_buffer_state()
17226 - yy_n_chars = yy_current_buffer->yy_n_chars;
17227 - yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
17228 - yyin = yy_current_buffer->yy_input_file;
17229 - yy_hold_char = *yy_c_buf_p;
17231 + (yy_did_buffer_switch_on_eof) = 1;
17234 +static void yy_load_buffer_state (void)
17236 + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
17237 + (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
17238 + yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
17239 + (yy_hold_char) = *(yy_c_buf_p);
17242 -#ifdef YY_USE_PROTOS
17243 -YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
17245 -YY_BUFFER_STATE yy_create_buffer( file, size )
17250 +/** Allocate and initialize an input buffer state.
17251 + * @param file A readable stream.
17252 + * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
17254 + * @return the allocated buffer state.
17256 + YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
17260 - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
17262 + b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
17264 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
17266 @@ -1301,75 +1361,75 @@
17267 /* yy_ch_buf has to be 2 characters longer than the size given because
17268 * we need to put in 2 end-of-buffer characters.
17270 - b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
17271 + b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
17272 if ( ! b->yy_ch_buf )
17273 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
17275 b->yy_is_our_buffer = 1;
17277 - yy_init_buffer( b, file );
17278 + yy_init_buffer(b,file );
17285 -#ifdef YY_USE_PROTOS
17286 -void yy_delete_buffer( YY_BUFFER_STATE b )
17288 -void yy_delete_buffer( b )
17289 -YY_BUFFER_STATE b;
17292 +/** Destroy the buffer.
17293 + * @param b a buffer created with yy_create_buffer()
17296 + void yy_delete_buffer (YY_BUFFER_STATE b )
17302 - if ( b == yy_current_buffer )
17303 - yy_current_buffer = (YY_BUFFER_STATE) 0;
17304 + if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
17305 + YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
17307 if ( b->yy_is_our_buffer )
17308 - yy_flex_free( (void *) b->yy_ch_buf );
17309 + yyfree((void *) b->yy_ch_buf );
17311 - yy_flex_free( (void *) b );
17316 -#ifdef YY_USE_PROTOS
17317 -void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
17319 -void yy_init_buffer( b, file )
17320 -YY_BUFFER_STATE b;
17323 + yyfree((void *) b );
17326 +#ifndef __cplusplus
17327 +extern int isatty (int );
17328 +#endif /* __cplusplus */
17330 +/* Initializes or reinitializes a buffer.
17331 + * This function is sometimes called more than once on the same buffer,
17332 + * such as during a yyrestart() or at EOF.
17334 + static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
17337 - yy_flush_buffer( b );
17339 + int oerrno = errno;
17341 + yy_flush_buffer(b );
17343 b->yy_input_file = file;
17344 b->yy_fill_buffer = 1;
17346 -#if YY_ALWAYS_INTERACTIVE
17347 - b->yy_is_interactive = 1;
17349 -#if YY_NEVER_INTERACTIVE
17350 - b->yy_is_interactive = 0;
17352 - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
17357 + /* If b is the current buffer, then yy_init_buffer was _probably_
17358 + * called from yyrestart() or through yy_get_next_buffer.
17359 + * In that case, we don't want to reset the lineno or column.
17361 + if (b != YY_CURRENT_BUFFER){
17362 + b->yy_bs_lineno = 1;
17363 + b->yy_bs_column = 0;
17366 -#ifdef YY_USE_PROTOS
17367 -void yy_flush_buffer( YY_BUFFER_STATE b )
17369 -void yy_flush_buffer( b )
17370 -YY_BUFFER_STATE b;
17372 + b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
17379 +/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
17380 + * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
17383 + void yy_flush_buffer (YY_BUFFER_STATE b )
17389 @@ -1386,29 +1446,121 @@
17391 b->yy_buffer_status = YY_BUFFER_NEW;
17393 - if ( b == yy_current_buffer )
17394 - yy_load_buffer_state();
17395 + if ( b == YY_CURRENT_BUFFER )
17396 + yy_load_buffer_state( );
17399 +/** Pushes the new state onto the stack. The new state becomes
17400 + * the current state. This function will allocate the stack
17402 + * @param new_buffer The new state.
17405 +void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
17407 + if (new_buffer == NULL)
17410 + yyensure_buffer_stack();
17412 + /* This block is copied from yy_switch_to_buffer. */
17413 + if ( YY_CURRENT_BUFFER )
17415 + /* Flush out information for old buffer. */
17416 + *(yy_c_buf_p) = (yy_hold_char);
17417 + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
17418 + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
17421 + /* Only push if top exists. Otherwise, replace top. */
17422 + if (YY_CURRENT_BUFFER)
17423 + (yy_buffer_stack_top)++;
17424 + YY_CURRENT_BUFFER_LVALUE = new_buffer;
17426 + /* copied from yy_switch_to_buffer. */
17427 + yy_load_buffer_state( );
17428 + (yy_did_buffer_switch_on_eof) = 1;
17431 +/** Removes and deletes the top of the stack, if present.
17432 + * The next element becomes the new top.
17435 +void yypop_buffer_state (void)
17437 + if (!YY_CURRENT_BUFFER)
17440 + yy_delete_buffer(YY_CURRENT_BUFFER );
17441 + YY_CURRENT_BUFFER_LVALUE = NULL;
17442 + if ((yy_buffer_stack_top) > 0)
17443 + --(yy_buffer_stack_top);
17445 + if (YY_CURRENT_BUFFER) {
17446 + yy_load_buffer_state( );
17447 + (yy_did_buffer_switch_on_eof) = 1;
17451 +/* Allocates the stack if it does not exist.
17452 + * Guarantees space for at least one push.
17454 +static void yyensure_buffer_stack (void)
17456 + int num_to_alloc;
17458 + if (!(yy_buffer_stack)) {
17460 + /* First allocation is just for 2 elements, since we don't know if this
17461 + * scanner will even need a stack. We use 2 instead of 1 to avoid an
17462 + * immediate realloc on the next call.
17464 + num_to_alloc = 1;
17465 + (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
17466 + (num_to_alloc * sizeof(struct yy_buffer_state*)
17469 + memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
17471 + (yy_buffer_stack_max) = num_to_alloc;
17472 + (yy_buffer_stack_top) = 0;
17476 -#ifndef YY_NO_SCAN_BUFFER
17477 -#ifdef YY_USE_PROTOS
17478 -YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
17480 -YY_BUFFER_STATE yy_scan_buffer( base, size )
17485 - YY_BUFFER_STATE b;
17486 + if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
17488 + /* Increase the buffer to prepare for a possible push. */
17489 + int grow_size = 8 /* arbitrary grow size */;
17491 + num_to_alloc = (yy_buffer_stack_max) + grow_size;
17492 + (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
17493 + ((yy_buffer_stack),
17494 + num_to_alloc * sizeof(struct yy_buffer_state*)
17497 + /* zero only the new slots.*/
17498 + memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
17499 + (yy_buffer_stack_max) = num_to_alloc;
17503 +/** Setup the input buffer state to scan directly from a user-specified character buffer.
17504 + * @param base the character buffer
17505 + * @param size the size in bytes of the character buffer
17507 + * @return the newly allocated buffer state object.
17509 +YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
17511 + YY_BUFFER_STATE b;
17514 base[size-2] != YY_END_OF_BUFFER_CHAR ||
17515 base[size-1] != YY_END_OF_BUFFER_CHAR )
17516 /* They forgot to leave room for the EOB's. */
17519 - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
17520 + b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
17522 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
17524 @@ -1422,47 +1574,42 @@
17525 b->yy_fill_buffer = 0;
17526 b->yy_buffer_status = YY_BUFFER_NEW;
17528 - yy_switch_to_buffer( b );
17529 + yy_switch_to_buffer(b );
17536 -#ifndef YY_NO_SCAN_STRING
17537 -#ifdef YY_USE_PROTOS
17538 -YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
17540 -YY_BUFFER_STATE yy_scan_string( yy_str )
17541 -yyconst char *yy_str;
17545 - for ( len = 0; yy_str[len]; ++len )
17548 - return yy_scan_bytes( yy_str, len );
17553 +/** Setup the input buffer state to scan a string. The next call to yylex() will
17554 + * scan from a @e copy of @a str.
17555 + * @param str a NUL-terminated string to scan
17557 + * @return the newly allocated buffer state object.
17558 + * @note If you want to scan bytes that may contain NUL values, then use
17559 + * yy_scan_bytes() instead.
17561 +YY_BUFFER_STATE yy_scan_string (yyconst char * yy_str )
17564 + return yy_scan_bytes(yy_str,strlen(yy_str) );
17567 -#ifndef YY_NO_SCAN_BYTES
17568 -#ifdef YY_USE_PROTOS
17569 -YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
17571 -YY_BUFFER_STATE yy_scan_bytes( bytes, len )
17572 -yyconst char *bytes;
17576 +/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
17577 + * scan from a @e copy of @a bytes.
17578 + * @param bytes the byte buffer to scan
17579 + * @param len the number of bytes in the buffer pointed to by @a bytes.
17581 + * @return the newly allocated buffer state object.
17583 +YY_BUFFER_STATE yy_scan_bytes (yyconst char * bytes, int len )
17591 /* Get memory for full buffer, including space for trailing EOB's. */
17593 - buf = (char *) yy_flex_alloc( n );
17594 + buf = (char *) yyalloc(n );
17596 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
17598 @@ -1471,7 +1618,7 @@
17600 buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
17602 - b = yy_scan_buffer( buf, n );
17603 + b = yy_scan_buffer(buf,n );
17605 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
17607 @@ -1481,148 +1628,164 @@
17608 b->yy_is_our_buffer = 1;
17616 -#ifndef YY_NO_PUSH_STATE
17617 -#ifdef YY_USE_PROTOS
17618 -static void yy_push_state( int new_state )
17620 -static void yy_push_state( new_state )
17622 +#ifndef YY_EXIT_FAILURE
17623 +#define YY_EXIT_FAILURE 2
17626 - if ( yy_start_stack_ptr >= yy_start_stack_depth )
17628 - yy_size_t new_size;
17630 - yy_start_stack_depth += YY_START_STACK_INCR;
17631 - new_size = yy_start_stack_depth * sizeof( int );
17632 +static void yy_fatal_error (yyconst char* msg )
17634 + (void) fprintf( stderr, "%s\n", msg );
17635 + exit( YY_EXIT_FAILURE );
17638 - if ( ! yy_start_stack )
17639 - yy_start_stack = (int *) yy_flex_alloc( new_size );
17640 +/* Redefine yyless() so it works in section 3 code. */
17643 - yy_start_stack = (int *) yy_flex_realloc(
17644 - (void *) yy_start_stack, new_size );
17646 +#define yyless(n) \
17649 + /* Undo effects of setting up yytext. */ \
17650 + int yyless_macro_arg = (n); \
17651 + YY_LESS_LINENO(yyless_macro_arg);\
17652 + yytext[yyleng] = (yy_hold_char); \
17653 + (yy_c_buf_p) = yytext + yyless_macro_arg; \
17654 + (yy_hold_char) = *(yy_c_buf_p); \
17655 + *(yy_c_buf_p) = '\0'; \
17656 + yyleng = yyless_macro_arg; \
17660 - if ( ! yy_start_stack )
17662 - "out of memory expanding start-condition stack" );
17664 +/* Accessor methods (get/set functions) to struct members. */
17666 - yy_start_stack[yy_start_stack_ptr++] = YY_START;
17667 +/** Get the current line number.
17670 +int yyget_lineno (void)
17676 - BEGIN(new_state);
17679 +/** Get the input stream.
17682 +FILE *yyget_in (void)
17687 +/** Get the output stream.
17690 +FILE *yyget_out (void)
17695 -#ifndef YY_NO_POP_STATE
17696 -static void yy_pop_state()
17698 - if ( --yy_start_stack_ptr < 0 )
17699 - YY_FATAL_ERROR( "start-condition stack underflow" );
17700 +/** Get the length of the current token.
17703 +int yyget_leng (void)
17708 - BEGIN(yy_start_stack[yy_start_stack_ptr]);
17711 +/** Get the current token.
17715 +char *yyget_text (void)
17720 -#ifndef YY_NO_TOP_STATE
17721 -static int yy_top_state()
17723 - return yy_start_stack[yy_start_stack_ptr - 1];
17726 +/** Set the current line number.
17727 + * @param line_number
17730 +void yyset_lineno (int line_number )
17733 + yylineno = line_number;
17736 -#ifndef YY_EXIT_FAILURE
17737 -#define YY_EXIT_FAILURE 2
17739 +/** Set the input stream. This does not discard the current
17741 + * @param in_str A readable stream.
17743 + * @see yy_switch_to_buffer
17745 +void yyset_in (FILE * in_str )
17750 -#ifdef YY_USE_PROTOS
17751 -static void yy_fatal_error( yyconst char msg[] )
17753 -static void yy_fatal_error( msg )
17757 - (void) fprintf( stderr, "%s\n", msg );
17758 - exit( YY_EXIT_FAILURE );
17760 +void yyset_out (FILE * out_str )
17762 + yyout = out_str ;
17765 +int yyget_debug (void)
17767 + return yy_flex_debug;
17770 +void yyset_debug (int bdebug )
17772 + yy_flex_debug = bdebug ;
17775 -/* Redefine yyless() so it works in section 3 code. */
17776 +/* yylex_destroy is for both reentrant and non-reentrant scanners. */
17777 +int yylex_destroy (void)
17780 + /* Pop the buffer stack, destroying each element. */
17781 + while(YY_CURRENT_BUFFER){
17782 + yy_delete_buffer(YY_CURRENT_BUFFER );
17783 + YY_CURRENT_BUFFER_LVALUE = NULL;
17784 + yypop_buffer_state();
17788 -#define yyless(n) \
17791 - /* Undo effects of setting up yytext. */ \
17792 - yytext[yyleng] = yy_hold_char; \
17793 - yy_c_buf_p = yytext + n; \
17794 - yy_hold_char = *yy_c_buf_p; \
17795 - *yy_c_buf_p = '\0'; \
17799 + /* Destroy the stack itself. */
17800 + yyfree((yy_buffer_stack) );
17801 + (yy_buffer_stack) = NULL;
17806 -/* Internal utility routines. */
17808 + * Internal utility routines.
17812 -#ifdef YY_USE_PROTOS
17813 -static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
17815 -static void yy_flex_strncpy( s1, s2, n )
17821 +static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
17824 - for ( i = 0; i < n; ++i )
17825 + for ( i = 0; i < n; ++i )
17831 #ifdef YY_NEED_STRLEN
17832 -#ifdef YY_USE_PROTOS
17833 -static int yy_flex_strlen( yyconst char *s )
17835 -static int yy_flex_strlen( s )
17839 +static int yy_flex_strlen (yyconst char * s )
17842 - for ( n = 0; s[n]; ++n )
17843 + for ( n = 0; s[n]; ++n )
17852 -#ifdef YY_USE_PROTOS
17853 -static void *yy_flex_alloc( yy_size_t size )
17855 -static void *yy_flex_alloc( size )
17859 +void *yyalloc (yy_size_t size )
17861 return (void *) malloc( size );
17865 -#ifdef YY_USE_PROTOS
17866 -static void *yy_flex_realloc( void *ptr, yy_size_t size )
17868 -static void *yy_flex_realloc( ptr, size )
17873 +void *yyrealloc (void * ptr, yy_size_t size )
17875 /* The cast to (char *) in the following accommodates both
17876 * implementations that use char* generic pointers, and those
17877 * that use void* generic pointers. It works with the latter
17878 @@ -1631,30 +1794,34 @@
17879 * as though doing an assignment.
17881 return (void *) realloc( (char *) ptr, size );
17885 -#ifdef YY_USE_PROTOS
17886 -static void yy_flex_free( void *ptr )
17888 -static void yy_flex_free( ptr )
17894 +void yyfree (void * ptr )
17896 + free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
17905 +#define YYTABLES_NAME "yytables"
17907 +#undef YY_NEW_FILE
17908 +#undef YY_FLUSH_BUFFER
17910 +#undef yy_new_buffer
17911 +#undef yy_set_interactive
17913 +#undef YY_DO_BEFORE_ACTION
17915 +#ifdef YY_DECL_IS_OURS
17916 +#undef YY_DECL_IS_OURS
17922 -void yyerror(char *s)
17924 +void yyerror(const char *s)
17926 fprintf(stderr,"line %d: %s near \"%s\"\n",lineno,s,yytext);
17930 Index: linux-atm-2.4.1/src/qgen/ql_y.c
17931 ===================================================================
17932 --- linux-atm-2.4.1.orig/src/qgen/ql_y.c 2007-10-20 19:19:10.982254320 +0200
17933 +++ linux-atm-2.4.1/src/qgen/ql_y.c 2007-10-20 19:19:11.938308801 +0200
17935 +/* A Bison parser, made by GNU Bison 1.875d. */
17937 -/* A Bison parser, made from ql_y.y
17938 - by GNU Bison version 1.28 */
17939 +/* Skeleton parser for Yacc-like parsing with Bison,
17940 + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
17942 -#define YYBISON 1 /* Identify Bison output. */
17943 + This program is free software; you can redistribute it and/or modify
17944 + it under the terms of the GNU General Public License as published by
17945 + the Free Software Foundation; either version 2, or (at your option)
17946 + any later version.
17948 -#define TOK_BREAK 257
17949 -#define TOK_CASE 258
17950 -#define TOK_DEF 259
17951 -#define TOK_DEFAULT 260
17952 -#define TOK_LENGTH 261
17953 -#define TOK_MULTI 262
17954 -#define TOK_RECOVER 263
17955 -#define TOK_ABORT 264
17956 -#define TOK_ID 265
17957 -#define TOK_INCLUDE 266
17958 -#define TOK_STRING 267
17959 + This program is distributed in the hope that it will be useful,
17960 + but WITHOUT ANY WARRANTY; without even the implied warranty of
17961 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17962 + GNU General Public License for more details.
17964 + You should have received a copy of the GNU General Public License
17965 + along with this program; if not, write to the Free Software
17966 + Foundation, Inc., 59 Temple Place - Suite 330,
17967 + Boston, MA 02111-1307, USA. */
17969 +/* As a special exception, when this file is copied by Bison into a
17970 + Bison output file, you may use that output file without restriction.
17971 + This special exception was added by the Free Software Foundation
17972 + in version 1.24 of Bison. */
17974 +/* Written by Richard Stallman by simplifying the original so called
17975 + ``semantic'' parser. */
17977 +/* All symbols defined below should begin with yy or YY, to avoid
17978 + infringing on user name space. This should be done even for local
17979 + variables, as they might otherwise be expanded by user macros.
17980 + There are some unavoidable exceptions within include files to
17981 + define necessary library symbols; they are noted "INFRINGES ON
17982 + USER NAME SPACE" below. */
17984 +/* Identify Bison output. */
17987 +/* Skeleton name. */
17988 +#define YYSKELETON_NAME "yacc.c"
17990 +/* Pure parsers. */
17993 +/* Using locations. */
17994 +#define YYLSP_NEEDED 0
17999 +#ifndef YYTOKENTYPE
18000 +# define YYTOKENTYPE
18001 + /* Put the tokens into the symbol table, so that GDB and other debuggers
18002 + know about them. */
18003 + enum yytokentype {
18007 + TOK_DEFAULT = 261,
18008 + TOK_LENGTH = 262,
18010 + TOK_RECOVER = 264,
18013 + TOK_INCLUDE = 267,
18017 +#define TOK_BREAK 258
18018 +#define TOK_CASE 259
18019 +#define TOK_DEF 260
18020 +#define TOK_DEFAULT 261
18021 +#define TOK_LENGTH 262
18022 +#define TOK_MULTI 263
18023 +#define TOK_RECOVER 264
18024 +#define TOK_ABORT 265
18025 +#define TOK_ID 266
18026 +#define TOK_INCLUDE 267
18027 +#define TOK_STRING 268
18032 +/* Copy the first part of user declarations. */
18035 /* ql.y - Q.2931 data structures description language */
18040 +extern void yyerror(const char *s);
18043 #define MAX_TOKEN 256
18044 #define DEFAULT_NAMELIST_FILE "default.nl"
18045 @@ -77,9 +145,10 @@
18046 for (walk = strchr(start,0)-1; walk > start && isspace(*walk); walk--)
18048 if (*start == ':') {
18049 - if (!(searching = strcmp(start+1,name)))
18050 + if (!(searching = strcmp(start+1,name))) {
18051 if (found) yyerror("multiple entries");
18056 if (searching) continue;
18057 @@ -154,8 +223,23 @@
18061 -#line 139 "ql_y.y"
18064 +/* Enabling traces. */
18066 +# define YYDEBUG 0
18069 +/* Enabling verbose error messages. */
18070 +#ifdef YYERROR_VERBOSE
18071 +# undef YYERROR_VERBOSE
18072 +# define YYERROR_VERBOSE 1
18074 +# define YYERROR_VERBOSE 0
18077 +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
18078 +#line 142 "ql_y.y"
18079 +typedef union YYSTYPE {
18083 @@ -164,470 +248,762 @@
18087 -#include <stdio.h>
18088 +/* Line 191 of yacc.c. */
18089 +#line 253 "y.tab.c"
18090 +# define yystype YYSTYPE /* obsolescent; will be withdrawn */
18091 +# define YYSTYPE_IS_DECLARED 1
18092 +# define YYSTYPE_IS_TRIVIAL 1
18097 +/* Copy the second part of user declarations. */
18100 +/* Line 214 of yacc.c. */
18101 +#line 265 "y.tab.c"
18103 +#if ! defined (yyoverflow) || YYERROR_VERBOSE
18106 +# define YYFREE free
18109 +# define YYMALLOC malloc
18112 +/* The parser invokes alloca or malloc; define the necessary symbols. */
18114 +# ifdef YYSTACK_USE_ALLOCA
18115 +# if YYSTACK_USE_ALLOCA
18116 +# define YYSTACK_ALLOC alloca
18119 +# if defined (alloca) || defined (_ALLOCA_H)
18120 +# define YYSTACK_ALLOC alloca
18123 +# define YYSTACK_ALLOC __builtin_alloca
18128 +# ifdef YYSTACK_ALLOC
18129 + /* Pacify GCC's `empty if-body' warning. */
18130 +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
18132 +# if defined (__STDC__) || defined (__cplusplus)
18133 +# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
18134 +# define YYSIZE_T size_t
18136 +# define YYSTACK_ALLOC YYMALLOC
18137 +# define YYSTACK_FREE YYFREE
18139 +#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */
18142 +#if (! defined (yyoverflow) \
18143 + && (! defined (__cplusplus) \
18144 + || (defined (YYSTYPE_IS_TRIVIAL) && YYSTYPE_IS_TRIVIAL)))
18146 +/* A type that is properly aligned for any stack member. */
18153 +/* The size of the maximum gap between one aligned stack and the next. */
18154 +# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
18156 +/* The size of an array large to enough to hold all stacks, each with
18158 +# define YYSTACK_BYTES(N) \
18159 + ((N) * (sizeof (short int) + sizeof (YYSTYPE)) \
18160 + + YYSTACK_GAP_MAXIMUM)
18162 +/* Copy COUNT objects from FROM to TO. The source and destination do
18165 +# if defined (__GNUC__) && 1 < __GNUC__
18166 +# define YYCOPY(To, From, Count) \
18167 + __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
18169 +# define YYCOPY(To, From, Count) \
18172 + register YYSIZE_T yyi; \
18173 + for (yyi = 0; yyi < (Count); yyi++) \
18174 + (To)[yyi] = (From)[yyi]; \
18180 +/* Relocate STACK from its old location to the new one. The
18181 + local variables YYSIZE and YYSTACKSIZE give the old and new number of
18182 + elements in the stack, and YYPTR gives the new location of the
18183 + stack. Advance YYPTR to a properly aligned location for the next
18185 +# define YYSTACK_RELOCATE(Stack) \
18188 + YYSIZE_T yynewbytes; \
18189 + YYCOPY (&yyptr->Stack, Stack, yysize); \
18190 + Stack = &yyptr->Stack; \
18191 + yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
18192 + yyptr += yynewbytes / sizeof (*yyptr); \
18196 -#ifndef __cplusplus
18202 +#if defined (__STDC__) || defined (__cplusplus)
18203 + typedef signed char yysigned_char;
18205 + typedef short int yysigned_char;
18209 -#define YYFINAL 86
18210 -#define YYFLAG -32768
18211 -#define YYNTBASE 23
18213 -#define YYTRANSLATE(x) ((unsigned)(x) <= 267 ? yytranslate[x] : 47)
18215 -static const char yytranslate[] = { 0,
18216 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18217 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18218 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18219 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18220 - 2, 2, 2, 21, 18, 2, 2, 2, 2, 2,
18221 - 2, 2, 2, 2, 2, 2, 2, 22, 2, 17,
18222 - 14, 19, 2, 20, 2, 2, 2, 2, 2, 2,
18223 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18224 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18225 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18226 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18227 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18228 - 2, 2, 15, 2, 16, 2, 2, 2, 2, 2,
18229 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18230 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18231 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18232 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18233 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18234 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18235 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18236 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18237 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18238 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18239 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18240 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18241 - 2, 2, 2, 2, 2, 1, 3, 4, 5, 6,
18242 - 7, 8, 9, 10, 11, 12, 13
18243 +/* YYFINAL -- State number of the termination state. */
18245 +/* YYLAST -- Last index in YYTABLE. */
18248 +/* YYNTOKENS -- Number of terminals. */
18249 +#define YYNTOKENS 23
18250 +/* YYNNTS -- Number of nonterminals. */
18252 +/* YYNRULES -- Number of rules. */
18253 +#define YYNRULES 46
18254 +/* YYNRULES -- Number of states. */
18255 +#define YYNSTATES 86
18257 +/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
18258 +#define YYUNDEFTOK 2
18259 +#define YYMAXUTOK 268
18261 +#define YYTRANSLATE(YYX) \
18262 + ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
18264 +/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
18265 +static const unsigned char yytranslate[] =
18267 + 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18268 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18269 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18270 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18271 + 2, 2, 2, 2, 21, 18, 2, 2, 2, 2,
18272 + 2, 2, 2, 2, 2, 2, 2, 2, 22, 2,
18273 + 17, 14, 19, 2, 20, 2, 2, 2, 2, 2,
18274 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18275 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18276 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18277 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18278 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18279 + 2, 2, 2, 15, 2, 16, 2, 2, 2, 2,
18280 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18281 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18282 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18283 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18284 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18285 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18286 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18287 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18288 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18289 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18290 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18291 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
18292 + 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
18293 + 5, 6, 7, 8, 9, 10, 11, 12, 13
18297 -static const short yyprhs[] = { 0,
18298 - 0, 4, 5, 8, 9, 12, 17, 18, 21, 23,
18299 - 27, 30, 31, 34, 40, 41, 43, 47, 53, 54,
18300 - 57, 59, 60, 63, 64, 67, 69, 74, 79, 83,
18301 - 84, 87, 88, 90, 91, 97, 98, 105, 106, 112,
18302 - 113, 120, 121, 124, 125
18304 +/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
18306 +static const unsigned char yyprhs[] =
18308 + 0, 0, 3, 7, 8, 11, 12, 15, 20, 21,
18309 + 24, 26, 30, 33, 34, 37, 43, 44, 46, 50,
18310 + 56, 57, 60, 62, 63, 66, 67, 70, 72, 77,
18311 + 82, 86, 87, 90, 91, 93, 94, 100, 101, 108,
18312 + 109, 115, 116, 123, 124, 127, 128
18315 -static const short yyrhs[] = { 24,
18316 - 25, 29, 0, 0, 12, 24, 0, 0, 25, 26,
18317 - 0, 5, 11, 14, 29, 0, 0, 28, 29, 0,
18318 - 11, 0, 15, 30, 16, 0, 10, 11, 0, 0,
18319 - 31, 30, 0, 32, 11, 40, 17, 33, 0, 0,
18320 - 3, 0, 18, 35, 19, 0, 35, 34, 36, 19,
18321 - 37, 0, 0, 20, 35, 0, 11, 0, 0, 21,
18322 - 11, 0, 0, 14, 38, 0, 11, 0, 4, 15,
18323 - 41, 16, 0, 8, 15, 43, 16, 0, 39, 7,
18324 - 29, 0, 0, 9, 11, 0, 0, 13, 0, 0,
18325 - 6, 11, 45, 46, 29, 0, 0, 11, 45, 46,
18326 - 29, 42, 41, 0, 0, 6, 11, 45, 46, 27,
18327 - 0, 0, 11, 45, 46, 27, 44, 43, 0, 0,
18328 - 22, 11, 0, 0, 21, 11, 46, 0
18329 +/* YYRHS -- A `-1'-separated list of the rules' RHS. */
18330 +static const yysigned_char yyrhs[] =
18332 + 24, 0, -1, 25, 26, 30, -1, -1, 12, 25,
18333 + -1, -1, 26, 27, -1, 5, 11, 14, 30, -1,
18334 + -1, 29, 30, -1, 11, -1, 15, 31, 16, -1,
18335 + 10, 11, -1, -1, 32, 31, -1, 33, 11, 41,
18336 + 17, 34, -1, -1, 3, -1, 18, 36, 19, -1,
18337 + 36, 35, 37, 19, 38, -1, -1, 20, 36, -1,
18338 + 11, -1, -1, 21, 11, -1, -1, 14, 39, -1,
18339 + 11, -1, 4, 15, 42, 16, -1, 8, 15, 44,
18340 + 16, -1, 40, 7, 30, -1, -1, 9, 11, -1,
18341 + -1, 13, -1, -1, 6, 11, 46, 47, 30, -1,
18342 + -1, 11, 46, 47, 30, 43, 42, -1, -1, 6,
18343 + 11, 46, 47, 28, -1, -1, 11, 46, 47, 28,
18344 + 45, 44, -1, -1, 22, 11, -1, -1, 21, 11,
18351 -static const short yyrline[] = { 0,
18352 - 163, 175, 176, 184, 185, 188, 202, 207, 212, 231,
18353 - 236, 243, 247, 254, 278, 282, 288, 301, 318, 322,
18354 - 329, 339, 343, 350, 354, 360, 367, 374, 380, 390,
18355 - 394, 400, 404, 410, 414, 431, 437, 454, 458, 474,
18356 - 480, 497, 501, 507, 511
18357 +/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
18358 +static const unsigned short int yyrline[] =
18360 + 0, 167, 167, 178, 179, 187, 188, 192, 206, 206,
18361 + 216, 234, 239, 247, 250, 258, 282, 285, 292, 304,
18362 + 323, 326, 334, 344, 347, 355, 358, 365, 371, 378,
18363 + 384, 395, 398, 405, 408, 415, 418, 436, 435, 459,
18364 + 462, 479, 478, 502, 505, 512, 515
18369 -#if YYDEBUG != 0 || defined (YYERROR_VERBOSE)
18371 -static const char * const yytname[] = { "$","error","$undefined.","TOK_BREAK",
18372 -"TOK_CASE","TOK_DEF","TOK_DEFAULT","TOK_LENGTH","TOK_MULTI","TOK_RECOVER","TOK_ABORT",
18373 -"TOK_ID","TOK_INCLUDE","TOK_STRING","'='","'{'","'}'","'<'","'-'","'>'","'@'",
18374 -"','","':'","all","includes","structures","structure","rep_block","@1","block",
18375 -"fields","field","opt_break","field_cont","opt_pos","decimal","opt_more","opt_val",
18376 -"value","opt_recover","opt_name_list","tags","@2","rep_tags","@3","opt_id","list", NULL
18377 +#if YYDEBUG || YYERROR_VERBOSE
18378 +/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
18379 + First, the terminals, then, starting at YYNTOKENS, nonterminals. */
18380 +static const char *const yytname[] =
18382 + "$end", "error", "$undefined", "TOK_BREAK", "TOK_CASE", "TOK_DEF",
18383 + "TOK_DEFAULT", "TOK_LENGTH", "TOK_MULTI", "TOK_RECOVER", "TOK_ABORT",
18384 + "TOK_ID", "TOK_INCLUDE", "TOK_STRING", "'='", "'{'", "'}'", "'<'", "'-'",
18385 + "'>'", "'@'", "','", "':'", "$accept", "all", "includes", "structures",
18386 + "structure", "rep_block", "@1", "block", "fields", "field", "opt_break",
18387 + "field_cont", "opt_pos", "decimal", "opt_more", "opt_val", "value",
18388 + "opt_recover", "opt_name_list", "tags", "@2", "rep_tags", "@3", "opt_id",
18393 -static const short yyr1[] = { 0,
18394 - 23, 24, 24, 25, 25, 26, 28, 27, 29, 29,
18395 - 29, 30, 30, 31, 32, 32, 33, 33, 34, 34,
18396 - 35, 36, 36, 37, 37, 38, 38, 38, 38, 39,
18397 - 39, 40, 40, 41, 41, 42, 41, 43, 43, 44,
18398 - 43, 45, 45, 46, 46
18400 +/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
18401 + token YYLEX-NUM. */
18402 +static const unsigned short int yytoknum[] =
18404 + 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
18405 + 265, 266, 267, 268, 61, 123, 125, 60, 45, 62,
18410 -static const short yyr2[] = { 0,
18411 - 3, 0, 2, 0, 2, 4, 0, 2, 1, 3,
18412 - 2, 0, 2, 5, 0, 1, 3, 5, 0, 2,
18413 - 1, 0, 2, 0, 2, 1, 4, 4, 3, 0,
18414 - 2, 0, 1, 0, 5, 0, 6, 0, 5, 0,
18416 +/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
18417 +static const unsigned char yyr1[] =
18419 + 0, 23, 24, 25, 25, 26, 26, 27, 29, 28,
18420 + 30, 30, 30, 31, 31, 32, 33, 33, 34, 34,
18421 + 35, 35, 36, 37, 37, 38, 38, 39, 39, 39,
18422 + 39, 40, 40, 41, 41, 42, 42, 43, 42, 44,
18423 + 44, 45, 44, 46, 46, 47, 47
18426 -static const short yydefact[] = { 2,
18427 - 2, 4, 3, 0, 0, 0, 9, 12, 5, 1,
18428 - 0, 11, 16, 0, 12, 0, 0, 10, 13, 32,
18429 - 6, 33, 0, 0, 21, 0, 14, 19, 0, 0,
18430 - 22, 17, 20, 0, 0, 23, 24, 30, 18, 0,
18431 - 0, 0, 26, 25, 0, 34, 38, 31, 0, 0,
18432 - 42, 0, 0, 42, 0, 29, 42, 0, 44, 27,
18433 - 42, 44, 28, 44, 43, 0, 0, 44, 7, 0,
18434 - 44, 36, 7, 40, 0, 35, 45, 34, 39, 38,
18435 - 8, 37, 41, 0, 0, 0
18436 +/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
18437 +static const unsigned char yyr2[] =
18439 + 0, 2, 3, 0, 2, 0, 2, 4, 0, 2,
18440 + 1, 3, 2, 0, 2, 5, 0, 1, 3, 5,
18441 + 0, 2, 1, 0, 2, 0, 2, 1, 4, 4,
18442 + 3, 0, 2, 0, 1, 0, 5, 0, 6, 0,
18443 + 5, 0, 6, 0, 2, 0, 3
18446 -static const short yydefgoto[] = { 84,
18447 - 2, 4, 9, 74, 75, 10, 14, 15, 16, 27,
18448 - 31, 28, 35, 39, 44, 45, 23, 52, 78, 55,
18450 +/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
18451 + STATE-NUM when YYTABLE doesn't specify something else to do. Zero
18452 + means the default is an error. */
18453 +static const unsigned char yydefact[] =
18455 + 3, 3, 0, 5, 4, 1, 0, 0, 0, 10,
18456 + 13, 6, 2, 0, 12, 17, 0, 13, 0, 0,
18457 + 11, 14, 33, 7, 34, 0, 0, 22, 0, 15,
18458 + 20, 0, 0, 23, 18, 21, 0, 0, 24, 25,
18459 + 31, 19, 0, 0, 0, 27, 26, 0, 35, 39,
18460 + 32, 0, 0, 43, 0, 0, 43, 0, 30, 43,
18461 + 0, 45, 28, 43, 45, 29, 45, 44, 0, 0,
18462 + 45, 8, 0, 45, 37, 8, 41, 0, 36, 46,
18463 + 35, 40, 39, 9, 38, 42
18466 -static const short yypact[] = { -8,
18467 - -8,-32768,-32768, -4, 3, 17,-32768, -1,-32768,-32768,
18468 - 20,-32768,-32768, 21, -1, 22, 11,-32768,-32768, 23,
18469 --32768,-32768, 24, -3,-32768, 27,-32768, 15, 25, 27,
18470 - 26,-32768,-32768, 28, 29,-32768, 31, 9,-32768, 34,
18471 - 36, 32,-32768,-32768, 33, 18, 19,-32768, 11, 35,
18472 - 30, 38, 44, 30, 40,-32768, 30, 46, 39,-32768,
18473 - 30, 39,-32768, 39,-32768, 48, 11, 39,-32768, 11,
18474 - 39,-32768,-32768,-32768, 11,-32768,-32768, 18,-32768, 19,
18475 --32768,-32768,-32768, 42, 61,-32768
18476 +/* YYDEFGOTO[NTERM-NUM]. */
18477 +static const yysigned_char yydefgoto[] =
18479 + -1, 2, 3, 6, 11, 76, 77, 12, 16, 17,
18480 + 18, 29, 33, 30, 37, 41, 46, 47, 25, 54,
18481 + 80, 57, 82, 61, 69
18484 -static const short yypgoto[] = {-32768,
18485 - 62,-32768,-32768, -11,-32768, -17, 49,-32768,-32768,-32768,
18486 --32768, 1,-32768,-32768,-32768,-32768,-32768, -13,-32768, -14,
18488 +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
18490 +#define YYPACT_NINF -62
18491 +static const yysigned_char yypact[] =
18493 + -8, -8, 14, -62, -62, -62, -4, 16, 17, -62,
18494 + -1, -62, -62, 20, -62, -62, 21, -1, 22, 11,
18495 + -62, -62, 23, -62, -62, 24, -3, -62, 27, -62,
18496 + 25, 28, 27, 30, -62, -62, 29, 33, -62, 32,
18497 + 9, -62, 34, 39, 31, -62, -62, 36, 18, 19,
18498 + -62, 11, 37, 35, 40, 44, 35, 43, -62, 35,
18499 + 49, 41, -62, 35, 41, -62, 41, -62, 50, 11,
18500 + 41, -62, 11, 41, -62, -62, -62, 11, -62, -62,
18501 + 18, -62, 19, -62, -62, -62
18508 -static const short yytable[] = { 21,
18509 - 5, 13, 69, 1, 70, 6, 7, 25, 73, -15,
18510 - 8, 77, 40, 11, 26, 62, 41, 42, 64, 43,
18511 - 6, 7, 68, 50, 53, 8, 29, 12, 51, 54,
18512 - 33, 56, 20, 17, 30, 22, 18, 25, 36, 49,
18513 - 24, 85, 48, 32, 38, 57, 34, 37, 46, 72,
18514 - 47, 58, 76, 60, 61, 63, 65, 81, 71, 66,
18515 - 86, 79, 3, 19, 82, 83
18516 +/* YYPGOTO[NTERM-NUM]. */
18517 +static const yysigned_char yypgoto[] =
18519 + -62, -62, 38, -62, -62, -31, -62, -19, 46, -62,
18520 + -62, -62, -62, 3, -62, -62, -62, -62, -62, -16,
18521 + -62, -17, -62, -40, -61
18524 -static const short yycheck[] = { 17,
18525 - 5, 3, 62, 12, 64, 10, 11, 11, 68, 11,
18526 - 15, 71, 4, 11, 18, 54, 8, 9, 57, 11,
18527 - 10, 11, 61, 6, 6, 15, 26, 11, 11, 11,
18528 - 30, 49, 11, 14, 20, 13, 16, 11, 11, 7,
18529 - 17, 0, 11, 19, 14, 11, 21, 19, 15, 67,
18530 - 15, 22, 70, 16, 11, 16, 11, 75, 11, 21,
18531 - 0, 73, 1, 15, 78, 80
18532 +/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
18533 + positive, shift that token. If negative, reduce the rule which
18534 + number is the opposite. If zero, do what YYDEFACT says.
18535 + If YYTABLE_NINF, syntax error. */
18536 +#define YYTABLE_NINF -17
18537 +static const yysigned_char yytable[] =
18539 + 23, 7, 15, 71, 1, 72, 8, 9, 27, 75,
18540 + -16, 10, 79, 42, 5, 28, 64, 43, 44, 66,
18541 + 45, 8, 9, 70, 52, 55, 10, 13, 14, 53,
18542 + 56, 31, 58, 22, 19, 35, 24, 20, 27, 4,
18543 + 38, 26, 50, 51, 81, 32, 40, 34, 59, 48,
18544 + 74, 36, 39, 78, 49, 63, 62, 60, 83, 65,
18545 + 67, 73, 68, 21, 84, 85
18547 -/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
18548 -#line 3 "/usr/lib/bison.simple"
18549 -/* This file comes from bison-1.28. */
18551 -/* Skeleton output parser for bison,
18552 - Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
18554 - This program is free software; you can redistribute it and/or modify
18555 - it under the terms of the GNU General Public License as published by
18556 - the Free Software Foundation; either version 2, or (at your option)
18557 - any later version.
18559 - This program is distributed in the hope that it will be useful,
18560 - but WITHOUT ANY WARRANTY; without even the implied warranty of
18561 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18562 - GNU General Public License for more details.
18564 - You should have received a copy of the GNU General Public License
18565 - along with this program; if not, write to the Free Software
18566 - Foundation, Inc., 59 Temple Place - Suite 330,
18567 - Boston, MA 02111-1307, USA. */
18569 -/* As a special exception, when this file is copied by Bison into a
18570 - Bison output file, you may use that output file without restriction.
18571 - This special exception was added by the Free Software Foundation
18572 - in version 1.24 of Bison. */
18573 +static const unsigned char yycheck[] =
18575 + 19, 5, 3, 64, 12, 66, 10, 11, 11, 70,
18576 + 11, 15, 73, 4, 0, 18, 56, 8, 9, 59,
18577 + 11, 10, 11, 63, 6, 6, 15, 11, 11, 11,
18578 + 11, 28, 51, 11, 14, 32, 13, 16, 11, 1,
18579 + 11, 17, 11, 7, 75, 20, 14, 19, 11, 15,
18580 + 69, 21, 19, 72, 15, 11, 16, 22, 77, 16,
18581 + 11, 11, 21, 17, 80, 82
18584 -/* This is the parser code that is written into each bison parser
18585 - when the %semantic_parser declaration is not specified in the grammar.
18586 - It was written by Richard Stallman by simplifying the hairy parser
18587 - used when %semantic_parser is specified. */
18589 -#ifndef YYSTACK_USE_ALLOCA
18591 -#define YYSTACK_USE_ALLOCA
18592 -#else /* alloca not defined */
18594 -#define YYSTACK_USE_ALLOCA
18595 -#define alloca __builtin_alloca
18596 -#else /* not GNU C. */
18597 -#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) || (defined (__sun) && defined (__i386))
18598 -#define YYSTACK_USE_ALLOCA
18599 -#include <alloca.h>
18600 -#else /* not sparc */
18601 -/* We think this test detects Watcom and Microsoft C. */
18602 -/* This used to test MSDOS, but that is a bad idea
18603 - since that symbol is in the user namespace. */
18604 -#if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__)
18605 -#if 0 /* No need for malloc.h, which pollutes the namespace;
18606 - instead, just don't use alloca. */
18607 -#include <malloc.h>
18609 -#else /* not MSDOS, or __TURBOC__ */
18611 -/* I don't know what this was needed for, but it pollutes the namespace.
18612 - So I turned it off. rms, 2 May 1997. */
18613 -/* #include <malloc.h> */
18615 -#define YYSTACK_USE_ALLOCA
18616 -#else /* not MSDOS, or __TURBOC__, or _AIX */
18618 -#ifdef __hpux /* haible@ilog.fr says this works for HPUX 9.05 and up,
18619 - and on HPUX 10. Eventually we can turn this on. */
18620 -#define YYSTACK_USE_ALLOCA
18621 -#define alloca __builtin_alloca
18622 -#endif /* __hpux */
18624 -#endif /* not _AIX */
18625 -#endif /* not MSDOS, or __TURBOC__ */
18626 -#endif /* not sparc */
18627 -#endif /* not GNU C */
18628 -#endif /* alloca not defined */
18629 -#endif /* YYSTACK_USE_ALLOCA not defined */
18630 +/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
18631 + symbol of state STATE-NUM. */
18632 +static const unsigned char yystos[] =
18634 + 0, 12, 24, 25, 25, 0, 26, 5, 10, 11,
18635 + 15, 27, 30, 11, 11, 3, 31, 32, 33, 14,
18636 + 16, 31, 11, 30, 13, 41, 17, 11, 18, 34,
18637 + 36, 36, 20, 35, 19, 36, 21, 37, 11, 19,
18638 + 14, 38, 4, 8, 9, 11, 39, 40, 15, 15,
18639 + 11, 7, 6, 11, 42, 6, 11, 44, 30, 11,
18640 + 22, 46, 16, 11, 46, 16, 46, 11, 21, 47,
18641 + 46, 47, 47, 11, 30, 47, 28, 29, 30, 47,
18642 + 43, 28, 45, 30, 42, 44
18645 -#ifdef YYSTACK_USE_ALLOCA
18646 -#define YYSTACK_ALLOC alloca
18648 -#define YYSTACK_ALLOC malloc
18649 +#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
18650 +# define YYSIZE_T __SIZE_TYPE__
18652 +#if ! defined (YYSIZE_T) && defined (size_t)
18653 +# define YYSIZE_T size_t
18655 +#if ! defined (YYSIZE_T)
18656 +# if defined (__STDC__) || defined (__cplusplus)
18657 +# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
18658 +# define YYSIZE_T size_t
18661 +#if ! defined (YYSIZE_T)
18662 +# define YYSIZE_T unsigned int
18665 -/* Note: there must be only one dollar sign in this file.
18666 - It is replaced by the list of actions, each action
18667 - as one case of the switch. */
18669 #define yyerrok (yyerrstatus = 0)
18670 #define yyclearin (yychar = YYEMPTY)
18671 -#define YYEMPTY -2
18672 +#define YYEMPTY (-2)
18675 #define YYACCEPT goto yyacceptlab
18676 -#define YYABORT goto yyabortlab
18677 -#define YYERROR goto yyerrlab1
18678 -/* Like YYERROR except do call yyerror.
18679 - This remains here temporarily to ease the
18680 - transition to the new meaning of YYERROR, for GCC.
18681 +#define YYABORT goto yyabortlab
18682 +#define YYERROR goto yyerrorlab
18685 +/* Like YYERROR except do call yyerror. This remains here temporarily
18686 + to ease the transition to the new meaning of YYERROR, for GCC.
18687 Once GCC version 2 has supplanted version 1, this can go. */
18689 #define YYFAIL goto yyerrlab
18691 #define YYRECOVERING() (!!yyerrstatus)
18692 -#define YYBACKUP(token, value) \
18694 +#define YYBACKUP(Token, Value) \
18696 if (yychar == YYEMPTY && yylen == 1) \
18697 - { yychar = (token), yylval = (value); \
18698 - yychar1 = YYTRANSLATE (yychar); \
18700 + yychar = (Token); \
18701 + yylval = (Value); \
18702 + yytoken = YYTRANSLATE (yychar); \
18707 - { yyerror ("syntax error: cannot back up"); YYERROR; } \
18709 + yyerror ("syntax error: cannot back up");\
18715 #define YYERRCODE 256
18718 -#define YYLEX yylex()
18720 +/* YYLLOC_DEFAULT -- Compute the default location (before the actions
18724 -#ifdef YYLSP_NEEDED
18725 -#ifdef YYLEX_PARAM
18726 -#define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM)
18728 -#define YYLEX yylex(&yylval, &yylloc)
18729 +#ifndef YYLLOC_DEFAULT
18730 +# define YYLLOC_DEFAULT(Current, Rhs, N) \
18731 + ((Current).first_line = (Rhs)[1].first_line, \
18732 + (Current).first_column = (Rhs)[1].first_column, \
18733 + (Current).last_line = (Rhs)[N].last_line, \
18734 + (Current).last_column = (Rhs)[N].last_column)
18736 -#else /* not YYLSP_NEEDED */
18738 +/* YYLEX -- calling `yylex' with the right arguments. */
18741 -#define YYLEX yylex(&yylval, YYLEX_PARAM)
18742 +# define YYLEX yylex (YYLEX_PARAM)
18744 -#define YYLEX yylex(&yylval)
18746 -#endif /* not YYLSP_NEEDED */
18747 +# define YYLEX yylex ()
18750 -/* If nonreentrant, generate the variables here */
18751 +/* Enable debugging if requested. */
18755 +# ifndef YYFPRINTF
18756 +# include <stdio.h> /* INFRINGES ON USER NAME SPACE */
18757 +# define YYFPRINTF fprintf
18760 +# define YYDPRINTF(Args) \
18763 + YYFPRINTF Args; \
18766 +# define YYDSYMPRINT(Args) \
18769 + yysymprint Args; \
18772 +# define YYDSYMPRINTF(Title, Token, Value, Location) \
18776 + YYFPRINTF (stderr, "%s ", Title); \
18777 + yysymprint (stderr, \
18779 + YYFPRINTF (stderr, "\n"); \
18783 -int yychar; /* the lookahead symbol */
18784 -YYSTYPE yylval; /* the semantic value of the */
18785 - /* lookahead symbol */
18786 +/*------------------------------------------------------------------.
18787 +| yy_stack_print -- Print the state stack from its BOTTOM up to its |
18788 +| TOP (included). |
18789 +`------------------------------------------------------------------*/
18791 -#ifdef YYLSP_NEEDED
18792 -YYLTYPE yylloc; /* location data for the lookahead */
18794 +#if defined (__STDC__) || defined (__cplusplus)
18796 +yy_stack_print (short int *bottom, short int *top)
18799 +yy_stack_print (bottom, top)
18800 + short int *bottom;
18804 + YYFPRINTF (stderr, "Stack now");
18805 + for (/* Nothing. */; bottom <= top; ++bottom)
18806 + YYFPRINTF (stderr, " %d", *bottom);
18807 + YYFPRINTF (stderr, "\n");
18810 -int yynerrs; /* number of parse errors so far */
18811 -#endif /* not YYPURE */
18812 +# define YY_STACK_PRINT(Bottom, Top) \
18815 + yy_stack_print ((Bottom), (Top)); \
18819 -int yydebug; /* nonzero means print parse trace */
18820 -/* Since this is uninitialized, it does not stop multiple parsers
18821 - from coexisting. */
18823 +/*------------------------------------------------.
18824 +| Report that the YYRULE is going to be reduced. |
18825 +`------------------------------------------------*/
18827 +#if defined (__STDC__) || defined (__cplusplus)
18829 +yy_reduce_print (int yyrule)
18832 +yy_reduce_print (yyrule)
18837 + unsigned int yylno = yyrline[yyrule];
18838 + YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ",
18839 + yyrule - 1, yylno);
18840 + /* Print the symbols being reduced, and their result. */
18841 + for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)
18842 + YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]);
18843 + YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]);
18846 -/* YYINITDEPTH indicates the initial size of the parser's stacks */
18847 +# define YY_REDUCE_PRINT(Rule) \
18850 + yy_reduce_print (Rule); \
18853 +/* Nonzero means print parse trace. It is left uninitialized so that
18854 + multiple parsers can coexist. */
18856 +#else /* !YYDEBUG */
18857 +# define YYDPRINTF(Args)
18858 +# define YYDSYMPRINT(Args)
18859 +# define YYDSYMPRINTF(Title, Token, Value, Location)
18860 +# define YY_STACK_PRINT(Bottom, Top)
18861 +# define YY_REDUCE_PRINT(Rule)
18862 +#endif /* !YYDEBUG */
18865 +/* YYINITDEPTH -- initial size of the parser's stacks. */
18866 #ifndef YYINITDEPTH
18867 -#define YYINITDEPTH 200
18868 +# define YYINITDEPTH 200
18871 -/* YYMAXDEPTH is the maximum size the stacks can grow to
18872 - (effective only if the built-in stack extension method is used). */
18873 +/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
18874 + if the built-in stack extension method is used).
18876 + Do not make this value too large; the results are undefined if
18877 + SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH)
18878 + evaluated with infinite-precision integer arithmetic. */
18880 -#if YYMAXDEPTH == 0
18882 +#if defined (YYMAXDEPTH) && YYMAXDEPTH == 0
18883 +# undef YYMAXDEPTH
18887 -#define YYMAXDEPTH 10000
18888 +# define YYMAXDEPTH 10000
18892 -/* Define __yy_memcpy. Note that the size argument
18893 - should be passed with type unsigned int, because that is what the non-GCC
18894 - definitions require. With GCC, __builtin_memcpy takes an arg
18895 - of type size_t, but it can handle unsigned int. */
18897 -#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
18898 -#define __yy_memcpy(TO,FROM,COUNT) __builtin_memcpy(TO,FROM,COUNT)
18899 -#else /* not GNU C or C++ */
18900 -#ifndef __cplusplus
18902 -/* This is the most reliable way to avoid incompatibilities
18903 - in available built-in functions on various systems. */
18905 -__yy_memcpy (to, from, count)
18908 - unsigned int count;
18910 - register char *f = from;
18911 - register char *t = to;
18912 - register int i = count;
18913 +#if YYERROR_VERBOSE
18916 +# if defined (__GLIBC__) && defined (_STRING_H)
18917 +# define yystrlen strlen
18919 +/* Return the length of YYSTR. */
18921 +# if defined (__STDC__) || defined (__cplusplus)
18922 +yystrlen (const char *yystr)
18925 + const char *yystr;
18928 + register const char *yys = yystr;
18930 + while (*yys++ != '\0')
18935 + return yys - yystr - 1;
18940 -#else /* __cplusplus */
18942 +# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE)
18943 +# define yystpcpy stpcpy
18945 +/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
18948 +# if defined (__STDC__) || defined (__cplusplus)
18949 +yystpcpy (char *yydest, const char *yysrc)
18951 +yystpcpy (yydest, yysrc)
18953 + const char *yysrc;
18956 + register char *yyd = yydest;
18957 + register const char *yys = yysrc;
18959 + while ((*yyd++ = *yys++) != '\0')
18967 +#endif /* !YYERROR_VERBOSE */
18972 +/*--------------------------------.
18973 +| Print this symbol on YYOUTPUT. |
18974 +`--------------------------------*/
18976 -/* This is the most reliable way to avoid incompatibilities
18977 - in available built-in functions on various systems. */
18978 +#if defined (__STDC__) || defined (__cplusplus)
18980 -__yy_memcpy (char *to, char *from, unsigned int count)
18981 +yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep)
18984 +yysymprint (yyoutput, yytype, yyvaluep)
18987 + YYSTYPE *yyvaluep;
18990 - register char *t = to;
18991 - register char *f = from;
18992 - register int i = count;
18993 + /* Pacify ``unused variable'' warnings. */
18996 + if (yytype < YYNTOKENS)
18998 + YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
19000 + YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
19004 + YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
19013 + YYFPRINTF (yyoutput, ")");
19016 +#endif /* ! YYDEBUG */
19017 +/*-----------------------------------------------.
19018 +| Release the memory associated to this symbol. |
19019 +`-----------------------------------------------*/
19021 +#if defined (__STDC__) || defined (__cplusplus)
19023 +yydestruct (int yytype, YYSTYPE *yyvaluep)
19026 +yydestruct (yytype, yyvaluep)
19028 + YYSTYPE *yyvaluep;
19032 + /* Pacify ``unused variable'' warnings. */
19043 -#line 217 "/usr/lib/bison.simple"
19045 -/* The user can define YYPARSE_PARAM as the name of an argument to be passed
19046 - into yyparse. The argument should have type void *.
19047 - It should actually point to an object.
19048 - Grammar actions can access the variable by casting it
19049 - to the proper pointer type. */
19050 +/* Prevent warnings from -Wmissing-prototypes. */
19052 #ifdef YYPARSE_PARAM
19053 -#ifdef __cplusplus
19054 -#define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
19055 -#define YYPARSE_PARAM_DECL
19056 -#else /* not __cplusplus */
19057 -#define YYPARSE_PARAM_ARG YYPARSE_PARAM
19058 -#define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
19059 -#endif /* not __cplusplus */
19060 -#else /* not YYPARSE_PARAM */
19061 -#define YYPARSE_PARAM_ARG
19062 -#define YYPARSE_PARAM_DECL
19063 -#endif /* not YYPARSE_PARAM */
19064 +# if defined (__STDC__) || defined (__cplusplus)
19065 +int yyparse (void *YYPARSE_PARAM);
19069 +#else /* ! YYPARSE_PARAM */
19070 +#if defined (__STDC__) || defined (__cplusplus)
19071 +int yyparse (void);
19075 +#endif /* ! YYPARSE_PARAM */
19079 +/* The lookahead symbol. */
19082 +/* The semantic value of the lookahead symbol. */
19085 +/* Number of syntax errors so far. */
19094 -/* Prevent warning if -Wstrict-prototypes. */
19096 #ifdef YYPARSE_PARAM
19097 -int yyparse (void *);
19098 +# if defined (__STDC__) || defined (__cplusplus)
19099 +int yyparse (void *YYPARSE_PARAM)
19101 +int yyparse (YYPARSE_PARAM)
19102 + void *YYPARSE_PARAM;
19104 +#else /* ! YYPARSE_PARAM */
19105 +#if defined (__STDC__) || defined (__cplusplus)
19109 -int yyparse (void);
19117 -yyparse(YYPARSE_PARAM_ARG)
19118 - YYPARSE_PARAM_DECL
19121 register int yystate;
19123 - register short *yyssp;
19125 + /* Number of tokens to shift before error messages enabled. */
19127 + /* Lookahead token as an internal (translated) token number. */
19130 + /* Three stacks and their tools:
19131 + `yyss': related to states,
19132 + `yyvs': related to semantic values,
19133 + `yyls': related to locations.
19135 + Refer to the stacks thru separate pointers, to allow yyoverflow
19136 + to reallocate them elsewhere. */
19138 + /* The state stack. */
19139 + short int yyssa[YYINITDEPTH];
19140 + short int *yyss = yyssa;
19141 + register short int *yyssp;
19143 + /* The semantic value stack. */
19144 + YYSTYPE yyvsa[YYINITDEPTH];
19145 + YYSTYPE *yyvs = yyvsa;
19146 register YYSTYPE *yyvsp;
19147 - int yyerrstatus; /* number of tokens to shift before error messages enabled */
19148 - int yychar1 = 0; /* lookahead token as an internal (translated) token number */
19150 - short yyssa[YYINITDEPTH]; /* the state stack */
19151 - YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */
19153 - short *yyss = yyssa; /* refer to the stacks thru separate pointers */
19154 - YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */
19156 -#ifdef YYLSP_NEEDED
19157 - YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */
19158 - YYLTYPE *yyls = yylsa;
19161 -#define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
19163 #define YYPOPSTACK (yyvsp--, yyssp--)
19166 - int yystacksize = YYINITDEPTH;
19167 - int yyfree_stacks = 0;
19168 + YYSIZE_T yystacksize = YYINITDEPTH;
19174 -#ifdef YYLSP_NEEDED
19178 + /* The variables used to return semantic value and location from the
19179 + action routines. */
19182 - YYSTYPE yyval; /* the variable used to return */
19183 - /* semantic values from the action */
19186 + /* When reducing, the number of symbols on the RHS of the reduced
19192 - fprintf(stderr, "Starting parse\n");
19194 + YYDPRINTF ((stderr, "Starting parse\n"));
19198 @@ -639,110 +1015,97 @@
19199 so that they stay on the same level as the state stack.
19200 The wasted elements are never initialized. */
19202 - yyssp = yyss - 1;
19205 -#ifdef YYLSP_NEEDED
19209 -/* Push a new state, which is found in yystate . */
19210 -/* In all cases, when you get here, the value and location stacks
19211 - have just been pushed. so pushing a state here evens the stacks. */
19214 - *++yyssp = yystate;
19217 - if (yyssp >= yyss + yystacksize - 1)
19219 - /* Give user a chance to reallocate the stack */
19220 - /* Use copies of these so that the &'s don't force the real ones into memory. */
19221 - YYSTYPE *yyvs1 = yyvs;
19222 - short *yyss1 = yyss;
19223 -#ifdef YYLSP_NEEDED
19224 - YYLTYPE *yyls1 = yyls;
19226 +/*------------------------------------------------------------.
19227 +| yynewstate -- Push a new state, which is found in yystate. |
19228 +`------------------------------------------------------------*/
19230 + /* In all cases, when you get here, the value and location stacks
19231 + have just been pushed. so pushing a state here evens the stacks.
19236 + *yyssp = yystate;
19238 + if (yyss + yystacksize - 1 <= yyssp)
19240 /* Get the current used size of the three stacks, in elements. */
19241 - int size = yyssp - yyss + 1;
19242 + YYSIZE_T yysize = yyssp - yyss + 1;
19245 - /* Each stack pointer address is followed by the size of
19246 - the data in use in that stack, in bytes. */
19247 -#ifdef YYLSP_NEEDED
19248 - /* This used to be a conditional around just the two extra args,
19249 - but that might be undefined if yyoverflow is a macro. */
19250 - yyoverflow("parser stack overflow",
19251 - &yyss1, size * sizeof (*yyssp),
19252 - &yyvs1, size * sizeof (*yyvsp),
19253 - &yyls1, size * sizeof (*yylsp),
19256 - yyoverflow("parser stack overflow",
19257 - &yyss1, size * sizeof (*yyssp),
19258 - &yyvs1, size * sizeof (*yyvsp),
19262 - yyss = yyss1; yyvs = yyvs1;
19263 -#ifdef YYLSP_NEEDED
19267 + /* Give user a chance to reallocate the stack. Use copies of
19268 + these so that the &'s don't force the real ones into
19270 + YYSTYPE *yyvs1 = yyvs;
19271 + short int *yyss1 = yyss;
19274 + /* Each stack pointer address is followed by the size of the
19275 + data in use in that stack, in bytes. This used to be a
19276 + conditional around just the two extra args, but that might
19277 + be undefined if yyoverflow is a macro. */
19278 + yyoverflow ("parser stack overflow",
19279 + &yyss1, yysize * sizeof (*yyssp),
19280 + &yyvs1, yysize * sizeof (*yyvsp),
19287 #else /* no yyoverflow */
19288 +# ifndef YYSTACK_RELOCATE
19289 + goto yyoverflowlab;
19291 /* Extend the stack our own way. */
19292 - if (yystacksize >= YYMAXDEPTH)
19294 - yyerror("parser stack overflow");
19295 - if (yyfree_stacks)
19299 -#ifdef YYLSP_NEEDED
19305 + if (YYMAXDEPTH <= yystacksize)
19306 + goto yyoverflowlab;
19308 - if (yystacksize > YYMAXDEPTH)
19309 + if (YYMAXDEPTH < yystacksize)
19310 yystacksize = YYMAXDEPTH;
19311 -#ifndef YYSTACK_USE_ALLOCA
19312 - yyfree_stacks = 1;
19314 - yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp));
19315 - __yy_memcpy ((char *)yyss, (char *)yyss1,
19316 - size * (unsigned int) sizeof (*yyssp));
19317 - yyvs = (YYSTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yyvsp));
19318 - __yy_memcpy ((char *)yyvs, (char *)yyvs1,
19319 - size * (unsigned int) sizeof (*yyvsp));
19320 -#ifdef YYLSP_NEEDED
19321 - yyls = (YYLTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yylsp));
19322 - __yy_memcpy ((char *)yyls, (char *)yyls1,
19323 - size * (unsigned int) sizeof (*yylsp));
19327 + short int *yyss1 = yyss;
19328 + union yyalloc *yyptr =
19329 + (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
19331 + goto yyoverflowlab;
19332 + YYSTACK_RELOCATE (yyss);
19333 + YYSTACK_RELOCATE (yyvs);
19335 +# undef YYSTACK_RELOCATE
19336 + if (yyss1 != yyssa)
19337 + YYSTACK_FREE (yyss1);
19340 #endif /* no yyoverflow */
19342 - yyssp = yyss + size - 1;
19343 - yyvsp = yyvs + size - 1;
19344 -#ifdef YYLSP_NEEDED
19345 - yylsp = yyls + size - 1;
19347 + yyssp = yyss + yysize - 1;
19348 + yyvsp = yyvs + yysize - 1;
19352 - fprintf(stderr, "Stack size increased to %d\n", yystacksize);
19355 - if (yyssp >= yyss + yystacksize - 1)
19356 + YYDPRINTF ((stderr, "Stack size increased to %lu\n",
19357 + (unsigned long int) yystacksize));
19359 + if (yyss + yystacksize - 1 <= yyssp)
19365 - fprintf(stderr, "Entering state %d\n", yystate);
19367 + YYDPRINTF ((stderr, "Entering state %d\n", yystate));
19377 /* Do appropriate processing given the current state. */
19378 /* Read a lookahead token if we need one and don't already have one. */
19379 @@ -751,154 +1114,120 @@
19380 /* First try to decide what to do without reference to lookahead token. */
19382 yyn = yypact[yystate];
19383 - if (yyn == YYFLAG)
19384 + if (yyn == YYPACT_NINF)
19387 /* Not known => get a lookahead token if don't already have one. */
19389 - /* yychar is either YYEMPTY or YYEOF
19390 - or a valid token in external form. */
19392 + /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */
19393 if (yychar == YYEMPTY)
19397 - fprintf(stderr, "Reading a token: ");
19399 + YYDPRINTF ((stderr, "Reading a token: "));
19403 - /* Convert token to internal form (in yychar1) for indexing tables with */
19405 - if (yychar <= 0) /* This means end of input. */
19406 + if (yychar <= YYEOF)
19409 - yychar = YYEOF; /* Don't call YYLEX any more */
19413 - fprintf(stderr, "Now at end of input.\n");
19415 + yychar = yytoken = YYEOF;
19416 + YYDPRINTF ((stderr, "Now at end of input.\n"));
19420 - yychar1 = YYTRANSLATE(yychar);
19425 - fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
19426 - /* Give the individual parser a way to print the precise meaning
19427 - of a token, for further debugging info. */
19429 - YYPRINT (stderr, yychar, yylval);
19431 - fprintf (stderr, ")\n");
19434 + yytoken = YYTRANSLATE (yychar);
19435 + YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc);
19439 - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
19440 + /* If the proper action on seeing token YYTOKEN is to reduce or to
19441 + detect an error, take that action. */
19443 + if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
19446 yyn = yytable[yyn];
19448 - /* yyn is what to do for this token type in this state.
19449 - Negative => reduce, -yyn is rule number.
19450 - Positive => shift, yyn is new state.
19451 - New state is final state => don't bother to shift,
19452 - just return success.
19453 - 0, or most negative number => error. */
19458 - if (yyn == YYFLAG)
19459 + if (yyn == 0 || yyn == YYTABLE_NINF)
19464 - else if (yyn == 0)
19467 if (yyn == YYFINAL)
19470 /* Shift the lookahead token. */
19474 - fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
19476 + YYDPRINTF ((stderr, "Shifting token %s, ", yytname[yytoken]));
19478 /* Discard the token being shifted unless it is eof. */
19479 if (yychar != YYEOF)
19483 -#ifdef YYLSP_NEEDED
19484 - *++yylsp = yylloc;
19487 - /* count tokens shifted since error; after three, turn off error status. */
19488 - if (yyerrstatus) yyerrstatus--;
19490 + /* Count tokens shifted since error; after three, turn off error
19498 -/* Do the default action for the current state. */
19501 +/*-----------------------------------------------------------.
19502 +| yydefault -- do the default action for the current state. |
19503 +`-----------------------------------------------------------*/
19505 yyn = yydefact[yystate];
19510 -/* Do a reduction. yyn is the number of a rule to reduce with. */
19512 +/*-----------------------------.
19513 +| yyreduce -- Do a reduction. |
19514 +`-----------------------------*/
19516 + /* yyn is the number of a rule to reduce with. */
19519 - yyval = yyvsp[1-yylen]; /* implement default value of the action */
19525 + /* If YYLEN is nonzero, implement the default value of the action:
19528 - fprintf (stderr, "Reducing via rule %d (line %d), ",
19529 - yyn, yyrline[yyn]);
19530 + Otherwise, the following line sets YYVAL to garbage.
19531 + This behavior is undocumented and Bison
19532 + users should not rely upon it. Assigning to YYVAL
19533 + unconditionally makes the parser a bit smaller, and it avoids a
19534 + GCC warning that YYVAL may be used uninitialized. */
19535 + yyval = yyvsp[1-yylen];
19537 - /* Print the symbols being reduced, and their result. */
19538 - for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
19539 - fprintf (stderr, "%s ", yytname[yyrhs[i]]);
19540 - fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
19548 -#line 165 "ql_y.y"
19550 + YY_REDUCE_PRINT (yyn);
19554 +#line 168 "ql_y.y"
19558 def = yyvsp[0].field;
19559 for (walk = structures; walk; walk = walk->next)
19560 if (!walk->instances)
19561 fprintf(stderr,"unused structure: %s\n",walk->id);
19565 -#line 177 "ql_y.y"
19571 +#line 180 "ql_y.y"
19573 to_c("#%s\n",yyvsp[-1].str);
19574 to_test("#%s\n",yyvsp[-1].str);
19575 if (dump) to_dump("#%s\n",yyvsp[-1].str);
19579 -#line 190 "ql_y.y"
19585 +#line 193 "ql_y.y"
19589 n = alloc_t(STRUCTURE);
19590 @@ -907,23 +1236,26 @@
19592 n->next = structures;
19597 -#line 203 "ql_y.y"
19603 +#line 206 "ql_y.y"
19609 -#line 207 "ql_y.y"
19615 +#line 210 "ql_y.y"
19617 yyval.field = yyvsp[0].field;
19621 -#line 214 "ql_y.y"
19627 +#line 217 "ql_y.y"
19631 for (walk = structures; walk; walk = walk->next)
19632 @@ -939,38 +1271,43 @@
19633 yyval.field->my_block = copy_block(walk->block);
19634 yyval.field->next = NULL;
19639 -#line 232 "ql_y.y"
19645 +#line 235 "ql_y.y"
19647 yyval.field = yyvsp[-1].field;
19652 -#line 237 "ql_y.y"
19658 +#line 240 "ql_y.y"
19660 yyval.field = NULL;
19661 abort_id = yyvsp[0].str;
19665 -#line 244 "ql_y.y"
19671 +#line 247 "ql_y.y"
19673 yyval.field = NULL;
19677 -#line 248 "ql_y.y"
19683 +#line 251 "ql_y.y"
19685 yyval.field = yyvsp[-1].field;
19686 yyvsp[-1].field->next = yyvsp[0].field;
19690 -#line 256 "ql_y.y"
19696 +#line 259 "ql_y.y"
19700 yyval.field = yyvsp[0].field;
19701 @@ -989,23 +1326,26 @@
19703 if (*yyval.field->id != '_' && yyval.field->value && yyval.field->value->type == vt_multi)
19704 yyerror("multi selectors must be unnamed");
19708 -#line 279 "ql_y.y"
19714 +#line 282 "ql_y.y"
19720 -#line 283 "ql_y.y"
19726 +#line 286 "ql_y.y"
19732 -#line 290 "ql_y.y"
19738 +#line 293 "ql_y.y"
19740 yyval.field = alloc_t(FIELD);
19741 yyval.field->size = yyvsp[-1].num;
19742 yyval.field->var_len = -2; /* hack */
19743 @@ -1015,140 +1355,159 @@
19744 yyval.field->value = NULL;
19745 yyval.field->structure = NULL;
19746 yyval.field->next = NULL;
19750 -#line 302 "ql_y.y"
19756 +#line 305 "ql_y.y"
19758 yyval.field = alloc_t(FIELD);
19759 yyval.field->size = yyvsp[-4].num;
19760 yyval.field->var_len = -1;
19761 yyval.field->pos = yyvsp[-3].num;
19762 yyval.field->flush = !yyvsp[-2].num;
19763 - if (yyval.field->pos == -1)
19764 + if (yyval.field->pos == -1) {
19765 if (yyval.field->size & 7)
19766 yyerror("position required for small fields");
19767 else yyval.field->pos = 0;
19769 yyval.field->value = yyvsp[0].value;
19770 yyval.field->structure = NULL;
19771 yyval.field->next = NULL;
19775 -#line 319 "ql_y.y"
19793 +#line 327 "ql_y.y"
19795 yyval.num = yyvsp[0].num-1;
19796 if (yyval.num < 0 || yyval.num > 7) yyerror("invalid position");
19800 -#line 331 "ql_y.y"
19806 +#line 335 "ql_y.y"
19810 yyval.num = strtoul(yyvsp[0].str,&end,10);
19811 if (*end) yyerror("no a decimal number");
19815 -#line 340 "ql_y.y"
19833 +#line 348 "ql_y.y"
19835 if (strcmp(yyvsp[0].str,"more")) yyerror("\"more\" expected");
19840 -#line 351 "ql_y.y"
19842 - yyval.value = NULL;
19853 + yyval.value = NULL;
19858 +#line 359 "ql_y.y"
19860 yyval.value = yyvsp[0].value;
19864 -#line 362 "ql_y.y"
19870 +#line 366 "ql_y.y"
19872 yyval.value = alloc_t(VALUE);
19873 yyval.value->type = vt_id;
19874 yyval.value->id = yyvsp[0].str;
19878 -#line 368 "ql_y.y"
19884 +#line 372 "ql_y.y"
19886 yyval.value = alloc_t(VALUE);
19887 yyval.value->type = vt_case;
19888 yyval.value->id = NULL;
19889 yyval.value->tags = yyvsp[-1].tag;
19893 -#line 375 "ql_y.y"
19899 +#line 379 "ql_y.y"
19901 yyval.value = alloc_t(VALUE);
19902 yyval.value->type = vt_multi;
19903 yyval.value->tags = yyvsp[-1].tag;
19907 -#line 381 "ql_y.y"
19913 +#line 385 "ql_y.y"
19915 yyval.value = alloc_t(VALUE);
19916 yyval.value->type = vt_length;
19917 yyval.value->recovery = yyvsp[-2].str;
19918 yyval.value->block = yyvsp[0].field;
19919 yyval.value->abort_id = abort_id;
19923 -#line 391 "ql_y.y"
19925 - yyval.str = NULL;
19936 + yyval.str = NULL;
19941 +#line 399 "ql_y.y"
19943 yyval.str = yyvsp[0].str;
19947 -#line 401 "ql_y.y"
19949 - yyval.nlist = NULL;
19960 + yyval.nlist = NULL;
19965 +#line 409 "ql_y.y"
19967 yyval.nlist = get_name_list(yyvsp[0].str);
19971 -#line 411 "ql_y.y"
19973 - yyval.tag = NULL;
19984 + yyval.tag = NULL;
19989 +#line 419 "ql_y.y"
19991 yyval.tag = alloc_t(TAG);
19992 yyval.tag->deflt = 1;
19993 if (yyvsp[-2].str) {
19994 @@ -1163,18 +1522,20 @@
19995 yyval.tag->block = yyvsp[0].field;
19996 yyval.tag->next = NULL;
19997 yyval.tag->abort_id = abort_id;
20001 -#line 432 "ql_y.y"
20007 +#line 436 "ql_y.y"
20009 yyval.tag = alloc_t(TAG);
20010 yyval.tag->abort_id = abort_id;
20014 -#line 437 "ql_y.y"
20020 +#line 441 "ql_y.y"
20022 yyval.tag = yyvsp[-1].tag;
20023 yyval.tag->deflt = 0;
20024 if (yyvsp[-4].str) {
20025 @@ -1188,17 +1549,19 @@
20026 yyval.tag->more = yyvsp[-3].list;
20027 yyval.tag->block = yyvsp[-2].field;
20028 yyval.tag->next = yyvsp[0].tag;
20032 -#line 455 "ql_y.y"
20034 - yyval.tag = NULL;
20045 + yyval.tag = NULL;
20050 +#line 463 "ql_y.y"
20052 yyval.tag = alloc_t(TAG);
20053 yyval.tag->deflt = 1;
20054 if (yyvsp[-2].str) {
20055 @@ -1212,18 +1575,20 @@
20056 yyval.tag->more = yyvsp[-1].list;
20057 yyval.tag->block = yyvsp[0].field;
20058 yyval.tag->next = NULL;
20062 -#line 475 "ql_y.y"
20068 +#line 479 "ql_y.y"
20070 yyval.tag = alloc_t(TAG);
20071 yyval.tag->abort_id = abort_id;
20075 -#line 480 "ql_y.y"
20081 +#line 484 "ql_y.y"
20083 yyval.tag = yyvsp[-1].tag;
20084 yyval.tag->deflt = 0;
20085 if (yyvsp[-4].str) {
20086 @@ -1237,254 +1602,266 @@
20087 yyval.tag->more = yyvsp[-3].list;
20088 yyval.tag->block = yyvsp[-2].field;
20089 yyval.tag->next = yyvsp[0].tag;
20093 -#line 498 "ql_y.y"
20095 - yyval.str = NULL;
20106 + yyval.str = NULL;
20111 +#line 506 "ql_y.y"
20113 yyval.str = yyvsp[0].str;
20117 -#line 508 "ql_y.y"
20119 - yyval.list = NULL;
20130 + yyval.list = NULL;
20135 +#line 516 "ql_y.y"
20137 yyval.list = alloc_t(VALUE_LIST);
20138 yyval.list->value = yyvsp[-1].str;
20139 yyval.list->next = yyvsp[0].list;
20143 - /* the action file gets copied in in place of this dollarsign */
20144 -#line 543 "/usr/lib/bison.simple"
20151 +/* Line 1010 of yacc.c. */
20152 +#line 1643 "y.tab.c"
20156 -#ifdef YYLSP_NEEDED
20163 - short *ssp1 = yyss - 1;
20164 - fprintf (stderr, "state stack now");
20165 - while (ssp1 != yyssp)
20166 - fprintf (stderr, " %d", *++ssp1);
20167 - fprintf (stderr, "\n");
20171 + YY_STACK_PRINT (yyss, yyssp);
20175 -#ifdef YYLSP_NEEDED
20179 - yylsp->first_line = yylloc.first_line;
20180 - yylsp->first_column = yylloc.first_column;
20181 - yylsp->last_line = (yylsp-1)->last_line;
20182 - yylsp->last_column = (yylsp-1)->last_column;
20187 - yylsp->last_line = (yylsp+yylen-1)->last_line;
20188 - yylsp->last_column = (yylsp+yylen-1)->last_column;
20192 - /* Now "shift" the result of the reduction.
20193 - Determine what state that goes to,
20194 - based on the state we popped back to
20195 - and the rule number reduced by. */
20196 + /* Now `shift' the result of the reduction. Determine what state
20197 + that goes to, based on the state we popped back to and the rule
20198 + number reduced by. */
20202 - yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
20203 - if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
20204 + yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
20205 + if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
20206 yystate = yytable[yystate];
20208 - yystate = yydefgoto[yyn - YYNTBASE];
20209 + yystate = yydefgoto[yyn - YYNTOKENS];
20213 -yyerrlab: /* here on detecting error */
20215 - if (! yyerrstatus)
20216 - /* If not already recovering from an error, report this error. */
20217 +/*------------------------------------.
20218 +| yyerrlab -- here on detecting error |
20219 +`------------------------------------*/
20221 + /* If not already recovering from an error, report this error. */
20222 + if (!yyerrstatus)
20226 -#ifdef YYERROR_VERBOSE
20227 +#if YYERROR_VERBOSE
20228 yyn = yypact[yystate];
20230 - if (yyn > YYFLAG && yyn < YYLAST)
20231 + if (YYPACT_NINF < yyn && yyn < YYLAST)
20238 - /* Start X at -yyn if nec to avoid negative indexes in yycheck. */
20239 - for (x = (yyn < 0 ? -yyn : 0);
20240 - x < (sizeof(yytname) / sizeof(char *)); x++)
20241 - if (yycheck[x + yyn] == x)
20242 - size += strlen(yytname[x]) + 15, count++;
20243 - msg = (char *) malloc(size + 15);
20245 + YYSIZE_T yysize = 0;
20246 + int yytype = YYTRANSLATE (yychar);
20247 + const char* yyprefix;
20251 + /* Start YYX at -YYN if negative to avoid negative indexes in
20253 + int yyxbegin = yyn < 0 ? -yyn : 0;
20255 + /* Stay within bounds of both yycheck and yytname. */
20256 + int yychecklim = YYLAST - yyn;
20257 + int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
20260 + yyprefix = ", expecting ";
20261 + for (yyx = yyxbegin; yyx < yyxend; ++yyx)
20262 + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
20264 + yysize += yystrlen (yyprefix) + yystrlen (yytname [yyx]);
20266 + if (yycount == 5)
20272 + yysize += (sizeof ("syntax error, unexpected ")
20273 + + yystrlen (yytname[yytype]));
20274 + yymsg = (char *) YYSTACK_ALLOC (yysize);
20277 - strcpy(msg, "parse error");
20278 + char *yyp = yystpcpy (yymsg, "syntax error, unexpected ");
20279 + yyp = yystpcpy (yyp, yytname[yytype]);
20285 - for (x = (yyn < 0 ? -yyn : 0);
20286 - x < (sizeof(yytname) / sizeof(char *)); x++)
20287 - if (yycheck[x + yyn] == x)
20288 + yyprefix = ", expecting ";
20289 + for (yyx = yyxbegin; yyx < yyxend; ++yyx)
20290 + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
20292 - strcat(msg, count == 0 ? ", expecting `" : " or `");
20293 - strcat(msg, yytname[x]);
20294 - strcat(msg, "'");
20296 + yyp = yystpcpy (yyp, yyprefix);
20297 + yyp = yystpcpy (yyp, yytname[yyx]);
20298 + yyprefix = " or ";
20304 + YYSTACK_FREE (yymsg);
20307 - yyerror ("parse error; also virtual memory exceeded");
20308 + yyerror ("syntax error; also virtual memory exhausted");
20311 #endif /* YYERROR_VERBOSE */
20312 - yyerror("parse error");
20313 + yyerror ("syntax error");
20317 -yyerrlab1: /* here on error raised explicitly by an action */
20320 if (yyerrstatus == 3)
20322 - /* if just tried and failed to reuse lookahead token after an error, discard it. */
20323 + /* If just tried and failed to reuse lookahead token after an
20324 + error, discard it. */
20326 - /* return failure if at end of input */
20327 - if (yychar == YYEOF)
20332 - fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
20334 + if (yychar <= YYEOF)
20336 + /* If at end of input, pop the error token,
20337 + then the rest of the stack, then return failure. */
20338 + if (yychar == YYEOF)
20342 + if (yyssp == yyss)
20344 + YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp);
20345 + yydestruct (yystos[*yyssp], yyvsp);
20350 + YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc);
20351 + yydestruct (yytoken, &yylval);
20352 + yychar = YYEMPTY;
20354 - yychar = YYEMPTY;
20358 - /* Else will try to reuse lookahead token
20359 - after shifting the error token. */
20361 - yyerrstatus = 3; /* Each real token shifted decrements this */
20362 + /* Else will try to reuse lookahead token after shifting the error
20366 - goto yyerrhandle;
20368 -yyerrdefault: /* current state does not do anything special for the error token. */
20369 +/*---------------------------------------------------.
20370 +| yyerrorlab -- error raised explicitly by YYERROR. |
20371 +`---------------------------------------------------*/
20375 - /* This is wrong; only states that explicitly want error tokens
20376 - should shift them. */
20377 - yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/
20378 - if (yyn) goto yydefault;
20380 + /* Pacify GCC when the user code never invokes YYERROR and the label
20381 + yyerrorlab therefore never appears in user code. */
20386 -yyerrpop: /* pop the current state because it cannot handle the error token */
20388 - if (yyssp == yyss) YYABORT;
20390 - yystate = *--yyssp;
20391 -#ifdef YYLSP_NEEDED
20396 + yystate = *yyssp;
20402 - short *ssp1 = yyss - 1;
20403 - fprintf (stderr, "Error: state stack now");
20404 - while (ssp1 != yyssp)
20405 - fprintf (stderr, " %d", *++ssp1);
20406 - fprintf (stderr, "\n");
20411 +/*-------------------------------------------------------------.
20412 +| yyerrlab1 -- common code for both syntax error and YYERROR. |
20413 +`-------------------------------------------------------------*/
20415 + yyerrstatus = 3; /* Each real token shifted decrements this. */
20417 - yyn = yypact[yystate];
20418 - if (yyn == YYFLAG)
20419 - goto yyerrdefault;
20422 + yyn = yypact[yystate];
20423 + if (yyn != YYPACT_NINF)
20426 + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
20428 + yyn = yytable[yyn];
20435 - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
20436 - goto yyerrdefault;
20437 + /* Pop the current state because it cannot handle the error token. */
20438 + if (yyssp == yyss)
20441 - yyn = yytable[yyn];
20444 - if (yyn == YYFLAG)
20448 + YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp);
20449 + yydestruct (yystos[yystate], yyvsp);
20451 + yystate = *yyssp;
20452 + YY_STACK_PRINT (yyss, yyssp);
20454 - else if (yyn == 0)
20457 if (yyn == YYFINAL)
20462 - fprintf(stderr, "Shifting error token, ");
20464 + YYDPRINTF ((stderr, "Shifting error token, "));
20467 -#ifdef YYLSP_NEEDED
20468 - *++yylsp = yylloc;
20476 - /* YYACCEPT comes here. */
20477 - if (yyfree_stacks)
20481 -#ifdef YYLSP_NEEDED
20488 - /* YYABORT comes here. */
20489 - if (yyfree_stacks)
20493 -#ifdef YYLSP_NEEDED
20495 +/*-------------------------------------.
20496 +| yyacceptlab -- YYACCEPT comes here. |
20497 +`-------------------------------------*/
20502 +/*-----------------------------------.
20503 +| yyabortlab -- YYABORT comes here. |
20504 +`-----------------------------------*/
20509 +#ifndef yyoverflow
20510 +/*----------------------------------------------.
20511 +| yyoverflowlab -- parser overflow comes here. |
20512 +`----------------------------------------------*/
20514 + yyerror ("parser stack overflow");
20516 + /* Fall through. */
20520 +#ifndef yyoverflow
20521 + if (yyss != yyssa)
20522 + YYSTACK_FREE (yyss);
20528 -#line 518 "ql_y.y"
20532 Index: linux-atm-2.4.1/src/qgen/ql_y.y
20533 ===================================================================
20534 --- linux-atm-2.4.1.orig/src/qgen/ql_y.y 2007-10-20 19:19:10.990254780 +0200
20535 +++ linux-atm-2.4.1/src/qgen/ql_y.y 2007-10-20 19:19:11.946309259 +0200
20540 +extern void yyerror(const char *s);
20543 #define MAX_TOKEN 256
20544 #define DEFAULT_NAMELIST_FILE "default.nl"
20546 for (walk = strchr(start,0)-1; walk > start && isspace(*walk); walk--)
20548 if (*start == ':') {
20549 - if (!(searching = strcmp(start+1,name)))
20550 + if (!(searching = strcmp(start+1,name))) {
20551 if (found) yyerror("multiple entries");
20556 if (searching) continue;
20557 @@ -305,10 +308,11 @@
20561 - if ($$->pos == -1)
20562 + if ($$->pos == -1) {
20564 yyerror("position required for small fields");
20568 $$->structure = NULL;
20570 Index: linux-atm-2.4.1/src/qgen/ql_l.l
20571 ===================================================================
20572 --- linux-atm-2.4.1.orig/src/qgen/ql_l.l 2007-10-20 19:19:10.994255006 +0200
20573 +++ linux-atm-2.4.1/src/qgen/ql_l.l 2007-10-20 19:19:11.946309259 +0200
20578 -void yyerror(char *s)
20579 +void yyerror(const char *s)
20581 fprintf(stderr,"line %d: %s near \"%s\"\n",lineno,s,yytext);
20583 Index: linux-atm-2.4.1/src/qgen/qlib.c
20584 ===================================================================
20585 --- linux-atm-2.4.1.orig/src/qgen/qlib.c 2007-10-20 19:19:11.002255460 +0200
20586 +++ linux-atm-2.4.1/src/qgen/qlib.c 2007-10-20 19:19:11.954309717 +0200
20587 @@ -26,14 +26,14 @@
20591 -static int debug = 0;
20592 +static int q_debug = 0;
20595 void PREFIX(report)(int severity,const char *msg,...)
20599 - if (!debug && severity > Q_ERROR) return;
20600 + if (!q_debug && severity > Q_ERROR) return;
20604 @@ -836,7 +836,7 @@
20608 - debug = argc != 1;
20609 + q_debug = argc != 1;
20611 while (scanf("%x",&c) == 1) msg[len++] = c;
20613 Index: linux-atm-2.4.1/src/qgen/qlib.h
20614 ===================================================================
20615 --- linux-atm-2.4.1.orig/src/qgen/qlib.h 2007-10-20 19:19:11.010255919 +0200
20616 +++ linux-atm-2.4.1/src/qgen/qlib.h 2007-10-20 19:19:11.958309941 +0200
20624 extern void q_report(int severity,const char *msg,...);
20627 Index: linux-atm-2.4.1/src/qgen/ql_y.h
20628 ===================================================================
20629 --- linux-atm-2.4.1.orig/src/qgen/ql_y.h 2007-10-20 19:19:11.014256146 +0200
20630 +++ linux-atm-2.4.1/src/qgen/ql_y.h 2007-10-20 19:19:11.970310630 +0200
20633 +/* A Bison parser, made by GNU Bison 1.875d. */
20635 +/* Skeleton parser for Yacc-like parsing with Bison,
20636 + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
20638 + This program is free software; you can redistribute it and/or modify
20639 + it under the terms of the GNU General Public License as published by
20640 + the Free Software Foundation; either version 2, or (at your option)
20641 + any later version.
20643 + This program is distributed in the hope that it will be useful,
20644 + but WITHOUT ANY WARRANTY; without even the implied warranty of
20645 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20646 + GNU General Public License for more details.
20648 + You should have received a copy of the GNU General Public License
20649 + along with this program; if not, write to the Free Software
20650 + Foundation, Inc., 59 Temple Place - Suite 330,
20651 + Boston, MA 02111-1307, USA. */
20653 +/* As a special exception, when this file is copied by Bison into a
20654 + Bison output file, you may use that output file without restriction.
20655 + This special exception was added by the Free Software Foundation
20656 + in version 1.24 of Bison. */
20659 +#ifndef YYTOKENTYPE
20660 +# define YYTOKENTYPE
20661 + /* Put the tokens into the symbol table, so that GDB and other debuggers
20662 + know about them. */
20663 + enum yytokentype {
20667 + TOK_DEFAULT = 261,
20668 + TOK_LENGTH = 262,
20670 + TOK_RECOVER = 264,
20673 + TOK_INCLUDE = 267,
20677 +#define TOK_BREAK 258
20678 +#define TOK_CASE 259
20679 +#define TOK_DEF 260
20680 +#define TOK_DEFAULT 261
20681 +#define TOK_LENGTH 262
20682 +#define TOK_MULTI 263
20683 +#define TOK_RECOVER 264
20684 +#define TOK_ABORT 265
20685 +#define TOK_ID 266
20686 +#define TOK_INCLUDE 267
20687 +#define TOK_STRING 268
20692 +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
20693 +#line 142 "ql_y.y"
20694 +typedef union YYSTYPE {
20702 -#define TOK_BREAK 257
20703 -#define TOK_CASE 258
20704 -#define TOK_DEF 259
20705 -#define TOK_DEFAULT 260
20706 -#define TOK_LENGTH 261
20707 -#define TOK_MULTI 262
20708 -#define TOK_RECOVER 263
20709 -#define TOK_ABORT 264
20710 -#define TOK_ID 265
20711 -#define TOK_INCLUDE 266
20712 -#define TOK_STRING 267
20714 +/* Line 1285 of yacc.c. */
20715 +#line 73 "y.tab.h"
20716 +# define yystype YYSTYPE /* obsolescent; will be withdrawn */
20717 +# define YYSTYPE_IS_DECLARED 1
20718 +# define YYSTYPE_IS_TRIVIAL 1
20721 extern YYSTYPE yylval;
20725 Index: linux-atm-2.4.1/src/qgen/incl.pl
20726 ===================================================================
20727 --- linux-atm-2.4.1.orig/src/qgen/incl.pl 2007-10-20 19:19:11.022256600 +0200
20728 +++ linux-atm-2.4.1/src/qgen/incl.pl 2007-10-20 19:19:11.990311770 +0200
20731 die "no include file specified" unless defined $last;
20733 - next unless defined stat $_."/".$last;
20734 + next unless -e "$_/$last";
20735 print $_."/".$last."\n" || die "print STDOUT: $!";
20738 Index: linux-atm-2.4.1/src/qgen/msg.fmt
20739 ===================================================================
20740 --- linux-atm-2.4.1.orig/src/qgen/msg.fmt 2007-10-20 19:19:11.030257059 +0200
20741 +++ linux-atm-2.4.1/src/qgen/msg.fmt 2007-10-20 19:19:11.998312221 +0200
20743 ATM_TD_FW_PCR_0 { p##fw_pcr_0 <24> } \
20744 ATM_TD_BW_PCR_0 { p##bw_pcr_0 <24> } \
20745 ATM_TD_FW_PCR_01 { p##fw_pcr_01 <24> } \
20746 - ATM_TD_BW_PCR_01 { p##bw_pcr_01 <24> } \
20747 + ATM_TD_BW_PCR_01 { p##bw_pcr_01 <24> }
20749 #define TRAFFIC_DESCRIPTOR_VBR(p) \
20750 ATM_TD_FW_SCR_0 { p##fw_scr_0 <24> } \
20751 @@ -63,15 +63,15 @@
20752 ATM_TD_FW_MBS_0 { p##fw_mbs_0 <24> } \
20753 ATM_TD_BW_MBS_0 { p##bw_mbs_0 <24> } \
20754 ATM_TD_FW_MBS_01 { p##fw_mbs_01 <24> } \
20755 - ATM_TD_BW_MBS_01 { p##bw_mbs_01 <24> } \
20756 + ATM_TD_BW_MBS_01 { p##bw_mbs_01 <24> }
20758 #define TRAFFIC_DESCRIPTOR_BE(p) \
20759 - ATM_TD_BEST_EFFORT { p##best_effort <0> } \
20760 + ATM_TD_BEST_EFFORT { p##best_effort <0> }
20762 #if defined(UNI40) || defined(DYNAMIC_UNI)
20763 #define TRAFFIC_DESCRIPTOR_ABR(p) \
20764 ATM_TD_FW_MCR_01 { p##fw_mcr_01 <24> } \
20765 - ATM_TD_BW_MCR_01 { p##bw_mcr_01 <24> } \
20766 + ATM_TD_BW_MCR_01 { p##bw_mcr_01 <24> }
20769 #define TRAFFIC_DESCRIPTOR_ABR(p) /* not yet */
20770 Index: linux-atm-2.4.1/src/qgen/output
20771 ===================================================================
20772 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
20773 +++ linux-atm-2.4.1/src/qgen/output 2007-10-20 19:19:12.006312679 +0200
20777 +# 1 "<command line>"
20784 +# 1 "../../config.h" 1
20790 +include "atmsap.h"
20794 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
20795 + aal_type <8> = case {
20797 + _id "atm_aalp" <8> = multi {
20798 + ATM_AALP_FW_MAX_SDU {
20801 + ATM_AALP_BW_MAX_SDU {
20805 + ATM_AALP_AAL_MODE {
20806 + aal_mode <8> # UNI 3.0 only
20818 +def ie_td = { # UNI 3.0 calls this "User Cell Rate"
20819 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
20820 + _id "atm_td" <8> = multi {
20821 + ATM_TD_FW_PCR_0 { _dummy <0> = length {}fw_pcr_0 <24> } ATM_TD_BW_PCR_0 { _dummy <0> = length {}bw_pcr_0 <24> } ATM_TD_FW_PCR_01 { _dummy <0> = length {}fw_pcr_01 <24> } ATM_TD_BW_PCR_01 { _dummy <0> = length {}bw_pcr_01 <24> } ATM_TD_FW_SCR_0 { _dummy <0> = length {}fw_scr_0 <24> } ATM_TD_BW_SCR_0 { _dummy <0> = length {}bw_scr_0 <24> } ATM_TD_FW_SCR_01 { _dummy <0> = length {}fw_scr_01 <24> } ATM_TD_BW_SCR_01 { _dummy <0> = length {}bw_scr_01 <24> } ATM_TD_FW_MBS_0 { _dummy <0> = length {}fw_mbs_0 <24> } ATM_TD_BW_MBS_0 { _dummy <0> = length {}bw_mbs_0 <24> } ATM_TD_FW_MBS_01 { _dummy <0> = length {}fw_mbs_01 <24> } ATM_TD_BW_MBS_01 { _dummy <0> = length {}bw_mbs_01 <24> } ATM_TD_BEST_EFFORT { _dummy <0> = length {}best_effort <0> }
20823 + ATM_TD_TM_OPT { # @@@ should this also go into the TD macro ?
20825 + fw_fdisc "atm_fd" <1@8,more> = ATM_FD_NO
20826 + bw_fdisc "atm_fd" <1@7,more> = ATM_FD_NO
20828 + bw_tag "atm_tag" <1@2,more> = ATM_TAG_NO
20829 + fw_tag "atm_tag" <1@1> = ATM_TAG_NO
20837 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
20838 + bearer_class "atm_bc" <5@1,more>
20839 + _ext <1@8> = case {
20841 + _ext <1@8,more> = 1
20842 + trans_cap "atm_tc" <7@1>
20846 + _ext <1@8,more> = 1
20847 + susc_clip "atm_stc" <2@6,more> = ATM_STC_NO
20848 + upcc "atm_upcc" <2@1> = ATM_UPCC_P2P
20854 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
20855 + _ext <1@8,more> = 1
20856 + hli_type <7@1> = case {
20862 + 1 { # User Specific
20866 + 2 { # High layer profile - UNI 3.0 only
20870 + 3 { # Vendor-Specific Application identifier
20875 + 4 { # Reference to ITU-T SG 1 B-ISDN Teleservice Recommendation
20885 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
20886 + _lid <2@6,more> = multi {
20888 + _ext <1@8,more> = 1
20892 + uil2_proto "atm_l2" <5@1,more> = case {
20893 + ATM_L2_X25_LL,ATM_L2_X25_ML,ATM_L2_HDLC_ARM,
20894 + ATM_L2_HDLC_NRM,ATM_L2_HDLC_ABM,ATM_L2_Q922,
20895 + ATM_L2_ISO7776 { # CCITT encoding
20896 + _ext <1@8> = case {
20898 + l2_mode "atm_imd" <2@6,more> = ATM_IMD_NORMAL
20899 + q933 <2@1,more> = 0
20900 + _ext <1@8> = case {
20902 + window_size <7@1,more>
20911 + ATM_L2_USER { # User specified
20913 + user_l2 <7@1,more>
20916 + default ATM_L2_ISO1745,ATM_L2_Q291,ATM_L2_LAPB,
20917 + ATM_L2_ISO8802,ATM_L2_X75 { # No additional data
20923 + uil3_proto "atm_l3" <5@1,more> = case {
20924 + ATM_L3_X25,ATM_L3_ISO8208,ATM_L3_X223 { # CCITT coding
20925 + _ext <1@8> = case {
20927 + l3_mode "atm_imd" <2@6,more> = ATM_IMD_NORMAL
20928 + _ext <1@8> = case {
20930 + def_pck_size <4@1,more>
20931 + _ext <1@8> = case {
20934 + pck_win_size <7@1>
20946 + ATM_L3_H310 { # ITU-T Rec. H.310
20947 + _ext <1@8> = case {
20949 + term_type "atm_tt" <4@1,more> = ATM_TT_RXTX
20950 + _ext <1@8> = case {
20952 + _ext <1@8,more> = 1
20953 + fw_mpx_cap "atm_mc" <3@4,more> =
20955 + bw_mpx_cap "atm_mc" <3@1> = ATM_MC_NONE
20964 + ATM_L3_TR9577 { # ISO/IEC TR9577
20965 + _ext <1@8> = case {
20967 + _ext <1@8,more> = 0
20968 + ipi_high <7@1> = case {
20969 + 0x40 { # SNAP hack
20970 + _ext <1@8,more> = 1
20971 + _ipi_low <1@7> = case { # ugly
20973 + _ext <1@8,more> = 1
20974 + _snap_id <2@6> = 0
20981 + default 0x0 { # ugly
20982 + _ext <1@8,more> = 1
20990 + ATM_L3_USER { # User specified
20992 + user_l3 <7@1,more>
21002 +def ie_call_state = {
21003 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21010 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21011 + _ext <1@8,more> = 1
21012 + _plan "atm_np" <4@1,more> = case {
21014 + _type "atm_ton" <3@5> = ATM_TON_INTRNTNL
21017 + ATM_NP_AEA { # ATM Endsystem Address
21018 + _type "atm_ton" <3@5> = ATM_TON_UNKNOWN
21027 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21028 + _ext <1@8,more> = 1
21033 + cdps_type "atm_sat" <3@5,more> = ATM_SAT_AEA
21035 + _oddeven <1@4> = 0
21041 +def ie_cgpn = { # @@@ extend language to allow same trick as for cdpn
21042 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21043 + cgpn_plan "atm_np" <4@1,more>
21044 + cgpn_type "atm_ton" <3@5,more>
21045 + _ext <1@8> = case {
21047 + _ext <1@8,more> = 1
21048 + pres_ind "atm_prs" <2@6,more> = ATM_PRS_ALLOW
21049 + scr_ind "atm_scrn" <2@1> = ATM_SCRN_UP_NS
21059 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21060 + _ext <1@8,more> = 1
21065 + cgps_type "atm_sat" <3@5,more> = ATM_SAT_AEA
21067 + _oddeven <1@4> = 0
21074 + _ext <1@8,more> = 1 cause_cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21075 + _ext <1@8,more> = 1
21076 + location "atm_loc" <4@1> = ATM_LOC_USER
21077 + _ext <1@8,more> = 1
21078 + cause "atm_cv" <7@1> = case {
21079 + ATM_CV_UNALLOC,ATM_CV_NO_ROUTE_DEST,ATM_CV_QOS_UNAVAIL { # Note 2
21081 + _ext <1@8,more> = 1
21082 + pu "atm_pu" <1@4,more> = ATM_PU_USER
21083 + na "atm_na" <1@3,more> = ATM_NA_NORMAL
21084 + cond2 "atm_cond" <2@1> = ATM_COND_UNKNOWN
21086 + ATM_CV_CALL_REJ { # Note 3
21088 + _ext <1@8,more> = 1
21089 + cond3 "atm_cond" <2@1,more> = ATM_COND_UNKNOWN
21090 + reason <5@3> = case {
21094 + ATM_RSN_IE_MISS,ATM_RSN_IE_INSUFF {
21095 + ie_id3 "atm_ie" <8>
21099 + ATM_CV_NUM_CHANGED { # Note 4
21101 + new_dest <-224> # good luck ...
21103 + ATM_CV_REJ_CLIR { # Note 5
21105 + invalid <8> # not supported
21107 + ATM_CV_ACC_INF_DISC,ATM_CV_INCOMP_DEST,ATM_CV_MAND_IE_MISSING,
21108 + ATM_CV_UNKNOWN_IE,ATM_CV_INVALID_IE { # Note 6
21113 + ATM_CV_UCR_UNAVAIL_OLD,ATM_CV_UCR_UNAVAIL_NEW { # Note 8
21124 + ATM_CV_NO_SUCH_CHAN { # Note 9
21129 + ATM_CV_UNKNOWN_MSG_TYPE,ATM_CV_INCOMP_MSG { # Note 10
21131 + bad_msg_type "atm_msg" <8>
21133 + ATM_CV_TIMER_EXP { # Note 11
21143 +def ie_conn_id = {
21144 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21145 + _ext <1@8,more> = 1
21146 + _vp_ass "atm_vpa" <2@4,more> = ATM_VPA_EXPL
21147 + _pref_exc "atm_poe" <3@1> = 0
21156 +def ie_e2e_tdl = {
21157 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21158 + _id "atm_tdl" <8> = multi {
21176 + _ext <1@8,more> = 1 qos_cs "q2931_cs" <2@6,more> = Q2931_CS_NET _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21185 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21186 + _ext <1@8,more> = 1
21187 + rep_ind <4@1> = 2
21192 +def ie_restart = {
21193 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21194 + _ext <1@8,more> = 1
21200 +def ie_bbs_comp = {
21201 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21202 + _ext <1@8,more> = 1
21203 + bbsc_ind <7@1> = 0x21
21209 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21210 + _ext <1@8,more> = 1
21211 + _net_type "atm_tni" <3@5,more> = ATM_TNI_NNI
21212 + _carrier_id "atm_nip" <4@1> = ATM_NIP_CARRIER
21221 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21222 + notification <-32> # @@@ how many actually ?
21228 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21229 + _ext <1@8,more> = 1
21230 + shaping "atm_shi" <2@6,more> = ATM_SHI_NONE
21231 + compliance "atm_oci" <1@5,more> = ATM_OCI_OPT
21232 + fault "atm_unfm" <3@1> = ATM_UNFM_NONE
21233 + _ext <1@8,more> = 1
21234 + fwd_ofi "atm_ofi" <3@5,more> = ATM_OFI_0_0
21235 + bwd_ofi "atm_ofi" <3@1> = ATM_OFI_0_0
21241 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_NET _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length { # @@@ UNI 4.0 does not specify the coding
21242 + _dummy <1@8> = 0 # bit is "spare", although not indicated in spec
21243 + id_std_app "atm_irs" <7@1> = case {
21244 + ATM_IRS_DSMCC,ATM_IRS_H245 {
21245 + _type "atm_it" <8> = ATM_IT_SESSION
21246 + _length <8> = length {
21247 + session_id <-160>
21249 + _type "atm_it" <8> = ATM_IT_RESOURCE
21250 + _length <8> = length {
21251 + resource_id <-32>
21255 + unrecognized_git_identifiers <-224> # 33-5 bytes
21263 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_NET _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length { # @@@ UNI 4.0 does not specify the coding
21264 + _ext <1@8,more> = 1
21265 + lij_id_type "atm_lit" <7@1> = ATM_LIT_ROOT
21271 +def ie_lij_prm = {
21272 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_NET _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length { # @@@ UNI 4.0 does not specify the coding
21273 + _ext <1@8,more> = 1
21274 + lij_scr_ind "atm_lsi" <2@1>
21279 +def ie_leaf_sn = {
21280 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_NET _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length { # @@@ UNI 4.0 does not specify the coding
21286 +def ie_scope_sel = {
21287 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_NET _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length { # @@@ UNI 4.0 does not specify the coding
21288 + _ext <1@8,more> = 1
21289 + scope_type "atm_tcs" <4@1> = ATM_TCS_ORGANIZATIONAL
21290 + scope_sel "atm_css" <8>
21296 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21297 + _id "atm_td" <8> = multi {
21298 + ATM_TD_FW_PCR_0 { altfw_pcr_0 <24> } ATM_TD_BW_PCR_0 { altbw_pcr_0 <24> } ATM_TD_FW_PCR_01 { altfw_pcr_01 <24> } ATM_TD_BW_PCR_01 { altbw_pcr_01 <24> } ATM_TD_FW_SCR_0 { altfw_scr_0 <24> } ATM_TD_BW_SCR_0 { altbw_scr_0 <24> } ATM_TD_FW_SCR_01 { altfw_scr_01 <24> } ATM_TD_BW_SCR_01 { altbw_scr_01 <24> } ATM_TD_FW_MBS_0 { altfw_mbs_0 <24> } ATM_TD_BW_MBS_0 { altbw_mbs_0 <24> } ATM_TD_FW_MBS_01 { altfw_mbs_01 <24> } ATM_TD_BW_MBS_01 { altbw_mbs_01 <24> } ATM_TD_BEST_EFFORT { altbest_effort <0> }
21305 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_NET _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length { # @@@ UNI 4.0 does not specify the coding
21306 + _id "atm_td" <8> = multi {
21307 + ATM_TD_FW_PCR_0 { minfw_pcr_0 <24> } ATM_TD_BW_PCR_0 { minbw_pcr_0 <24> } ATM_TD_FW_PCR_01 { minfw_pcr_01 <24> } ATM_TD_BW_PCR_01 { minbw_pcr_01 <24> }
21308 + ATM_TD_FW_MCR_01 { minfw_mcr_01 <24> } ATM_TD_BW_MCR_01 { minbw_mcr_01 <24> }
21315 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_NET _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21316 + eqos_origin "atm_eqo" <8>
21317 + _id "atm_eqp" <8> = multi {
21318 + ATM_EQP_ACC_FW_CDV {
21321 + ATM_EQP_ACC_BW_CDV {
21324 + ATM_EQP_CUM_FW_CDV {
21327 + ATM_EQP_CUM_BW_CDV {
21330 + ATM_EQP_ACC_FW_CLR {
21333 + ATM_EQP_ACC_BW_CLR {
21341 +def ie_abr_add_prm = {
21342 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_NET _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21343 + _id "atm_aap" <8> = multi {
21345 + abr_fw_add_rec <32>
21348 + abr_bw_add_rec <32>
21355 +def ie_abr_set_prm = {
21356 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_NET _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length { # @@@ UNI 4.0 does not specify the coding
21357 + _id "atm_asp" <8> = multi {
21370 + ATM_ASP_CRF_RTT {
21393 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21400 +def ie_ep_state = {
21401 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21410 + _ext <1@8,more> = 1 _cs "q2931_cs" <2@6,more> = Q2931_CS_ITU _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length {
21411 + type_of_report "atm_tor" <8>
21419 + _pdsc "q2931_proto" <8> = Q2931_PROTO_DSC
21422 + msg_type "atm_msg" <8>
21423 + _ext <1@8,more> = 1
21424 + _flag "atm_flag" <1@5,more> = ATM_FLAG_NO
21425 + _action_ind "atm_ai_msg" <2@1> = 0
21426 + msg_len <16> = length {
21427 + _ie_id "atm_ie" <8> = multi {
21428 + aal: ATM_IE_AAL ie_aal
21429 + td: ATM_IE_TD ie_td
21430 + bbcap: ATM_IE_BBCAP ie_bbcap
21431 + bhli: ATM_IE_BHLI ie_bhli
21432 + blli1: ATM_IE_BLLI ie_blli
21433 + blli2: ATM_IE_BLLI ie_blli
21434 + blli3: ATM_IE_BLLI ie_blli
21435 + call_state: ATM_IE_CALL_STATE ie_call_state
21436 + cdpn: ATM_IE_CDPN ie_cdpn
21437 + cdps: ATM_IE_CDPS ie_cdps
21438 + cgpn: ATM_IE_CGPN ie_cgpn
21439 + cgps: ATM_IE_CGPS ie_cgps
21440 + cause: ATM_IE_CAUSE ie_cause
21441 + cause2: ATM_IE_CAUSE ie_cause
21442 + conn_id: ATM_IE_CONN_ID ie_conn_id
21444 + e2e_tdl: ATM_IE_E2E_TDL ie_e2e_tdl
21446 + qos: ATM_IE_QOS ie_qos
21447 + bbrep: ATM_IE_BBREP ie_bbrep
21448 + restart: ATM_IE_RESTART ie_restart
21449 + bbs_comp: ATM_IE_BBS_COMP ie_bbs_comp
21450 + tns: ATM_IE_TNS ie_tns
21452 + notify: ATM_IE_NOTIFY ie_notify
21453 + oam_td: ATM_IE_OAM_TD ie_oam_td
21454 + git: ATM_IE_GIT ie_git
21455 + git2: ATM_IE_GIT ie_git
21456 + git3: ATM_IE_GIT ie_git
21457 + lij_id: ATM_IE_LIJ_ID ie_lij_id
21458 + lij_prm: ATM_IE_LIJ_PRM ie_lij_prm
21459 + leaf_sn: ATM_IE_LEAF_SN ie_leaf_sn
21460 + scope_sel: ATM_IE_SCOPE_SEL ie_scope_sel
21461 + alt_td: ATM_IE_ALT_TD ie_alt_td
21462 + min_td: ATM_IE_MIN_TD ie_min_td
21463 + eqos: ATM_IE_EQOS ie_eqos
21464 + abr_add_prm:ATM_IE_ABR_ADD_PRM ie_abr_add_prm
21465 + abr_set_prm:ATM_IE_ABR_SET_PRM ie_abr_set_prm
21467 + ep_ref: ATM_IE_EPR ie_ep_ref
21468 + ep_state: ATM_IE_EP_STATE ie_ep_state
21470 + bbrt: ATM_IE_BBRT ie_bbrt
21473 + _ext <1@8,more> = 1 __cs "q2931_cs" <2@6,more> = 0 _flag "atm_flag" <1@5,more> = ATM_FLAG_NO _action_ind "atm_ai_ie" <3@1> = 0 _ie_len <16> = recover RECOV_IND_IE length
21474 + abort RECOV_ASE_UNKNOWN_IE
21479 Index: linux-atm-2.4.1/src/saal/Makefile.in
21480 ===================================================================
21481 --- linux-atm-2.4.1.orig/src/saal/Makefile.in 2007-10-20 19:19:11.078259790 +0200
21482 +++ linux-atm-2.4.1/src/saal/Makefile.in 2007-10-20 19:19:12.010312909 +0200
21484 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
21485 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
21487 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
21488 # This Makefile.in is free software; the Free Software Foundation
21491 noinst_LIBRARIES = libsaal.a
21493 -libsaal_a_SOURCES = pdu.h queue.h saal.h sscf.h sscop.h pdu.c queue.c saal.c \
21495 +libsaal_a_SOURCES = pdu.h queue.h saal.h sscf.h sscop.h pdu.c queue.c saal.c sscf.c sscop.c
21497 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
21498 CONFIG_HEADER = ../../config.h
21499 @@ -114,8 +113,10 @@
21501 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
21506 +DEP_FILES = .deps/pdu.P .deps/queue.P .deps/saal.P .deps/sscf.P \
21508 SOURCES = $(libsaal_a_SOURCES)
21509 OBJECTS = $(libsaal_a_OBJECTS)
21511 @@ -123,9 +124,9 @@
21513 .SUFFIXES: .S .c .lo .o .obj .s
21514 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
21515 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/saal/Makefile
21516 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/saal/Makefile
21518 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
21519 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
21520 cd $(top_builddir) \
21521 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
21523 @@ -139,9 +140,6 @@
21525 maintainer-clean-noinstLIBRARIES:
21530 # FIXME: We should only use cygpath when building on Windows,
21531 # and only if it is available.
21533 @@ -164,9 +162,6 @@
21535 maintainer-clean-compile:
21538 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
21541 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
21543 @@ -206,7 +201,7 @@
21544 awk ' { files[$$0] = 1; } \
21545 END { for (i in files) print i; }'`; \
21546 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
21547 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
21548 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
21552 @@ -222,6 +217,11 @@
21555 distdir: $(DISTFILES)
21556 + here=`cd $(top_builddir) && pwd`; \
21557 + top_distdir=`cd $(top_distdir) && pwd`; \
21558 + distdir=`cd $(distdir) && pwd`; \
21559 + cd $(top_srcdir) \
21560 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/saal/Makefile
21561 @for file in $(DISTFILES); do \
21563 if test -d $$d/$$file; then \
21564 @@ -232,20 +232,38 @@
21565 || cp -p $$d/$$file $(distdir)/$$file || :; \
21568 -pdu.o: pdu.c ../../config.h ../../src/include/stdint.h pdu.h \
21569 - ../../src/include/atmd.h ../../src/include/atm.h
21570 -queue.o: queue.c ../../config.h ../../src/include/atmd.h \
21571 - ../../src/include/stdint.h ../../src/include/atm.h queue.h
21572 -saal.o: saal.c ../../config.h sscop.h ../../src/include/stdint.h \
21573 - ../../src/include/atmd.h ../../src/include/atm.h queue.h saal.h \
21575 -sscf.o: sscf.c ../../config.h ../../src/include/atmd.h \
21576 - ../../src/include/stdint.h ../../src/include/atm.h sscop.h \
21578 -sscop.o: sscop.c ../../config.h ../../src/include/stdint.h \
21579 - ../../src/include/atmd.h ../../src/include/atm.h sscop.h \
21582 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
21584 +-include $(DEP_FILES)
21586 +mostlyclean-depend:
21593 +maintainer-clean-depend:
21596 + @echo '$(COMPILE) -c $<'; \
21597 + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
21598 + @-cp .deps/$(*F).pp .deps/$(*F).P; \
21599 + tr ' ' '\012' < .deps/$(*F).pp \
21600 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
21601 + >> .deps/$(*F).P; \
21602 + rm .deps/$(*F).pp
21605 + @echo '$(LTCOMPILE) -c $<'; \
21606 + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
21607 + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
21608 + < .deps/$(*F).pp > .deps/$(*F).P; \
21609 + tr ' ' '\012' < .deps/$(*F).pp \
21610 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
21611 + >> .deps/$(*F).P; \
21612 + rm -f .deps/$(*F).pp
21616 @@ -282,27 +300,27 @@
21618 maintainer-clean-generic:
21619 mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
21620 - mostlyclean-libtool mostlyclean-tags \
21621 + mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
21622 mostlyclean-generic
21624 mostlyclean: mostlyclean-am
21626 clean-am: clean-noinstLIBRARIES clean-compile clean-libtool clean-tags \
21627 - clean-generic mostlyclean-am
21628 + clean-depend clean-generic mostlyclean-am
21632 distclean-am: distclean-noinstLIBRARIES distclean-compile \
21633 - distclean-libtool distclean-tags distclean-generic \
21635 + distclean-libtool distclean-tags distclean-depend \
21636 + distclean-generic clean-am
21639 distclean: distclean-am
21641 maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
21642 maintainer-clean-compile maintainer-clean-libtool \
21643 - maintainer-clean-tags maintainer-clean-generic \
21645 + maintainer-clean-tags maintainer-clean-depend \
21646 + maintainer-clean-generic distclean-am
21647 @echo "This command is intended for maintainers to use;"
21648 @echo "it deletes files that may require special tools to rebuild."
21650 @@ -313,12 +331,14 @@
21651 mostlyclean-compile distclean-compile clean-compile \
21652 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
21653 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
21654 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
21655 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
21656 -install-exec install-data-am install-data install-am install \
21657 -uninstall-am uninstall all-redirect all-am all installdirs \
21658 -mostlyclean-generic distclean-generic clean-generic \
21659 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
21660 +distclean-tags clean-tags maintainer-clean-tags distdir \
21661 +mostlyclean-depend distclean-depend clean-depend \
21662 +maintainer-clean-depend info-am info dvi-am dvi check check-am \
21663 +installcheck-am installcheck install-exec-am install-exec \
21664 +install-data-am install-data install-am install uninstall-am uninstall \
21665 +all-redirect all-am all installdirs mostlyclean-generic \
21666 +distclean-generic clean-generic maintainer-clean-generic clean \
21667 +mostlyclean distclean maintainer-clean
21670 # Tell versions [3.59,3.63) of GNU make to not export all variables.
21671 Index: linux-atm-2.4.1/src/sigd/Makefile.in
21672 ===================================================================
21673 --- linux-atm-2.4.1.orig/src/sigd/Makefile.in 2007-10-20 19:19:11.082260019 +0200
21674 +++ linux-atm-2.4.1/src/sigd/Makefile.in 2007-10-20 19:19:12.018313361 +0200
21676 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
21677 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
21679 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
21680 # This Makefile.in is free software; the Free Software Foundation
21682 INCLUDES = -I$(top_builddir)/src/qgen -I$(top_builddir)/src/saal -I.
21684 sbin_PROGRAMS = atmsigd
21685 -atmsigd_SOURCES = atmsigd.c io.c io.h kernel.c proto.c proto.h uni.c \
21686 - sap.c sap.h timeout.c timeout.h trace.c trace.h \
21687 - policy.c policy.h cfg_y.y cfg_l.l
21689 -atmsigd_XTRAS = mess.o $(top_builddir)/src/qgen/q.out.o \
21690 - $(top_builddir)/src/qgen/qd.dump.o \
21691 - $(top_builddir)/src/lib/libatm.la \
21692 - $(top_builddir)/src/saal/libsaal.a
21693 +atmsigd_SOURCES = atmsigd.c io.c io.h kernel.c proto.c proto.h uni.c sap.c sap.h timeout.c timeout.h trace.c trace.h policy.c policy.h cfg_y.y cfg_l.l
21695 +atmsigd_XTRAS = mess.o $(top_builddir)/src/qgen/q.out.o $(top_builddir)/src/qgen/qd.dump.o $(top_builddir)/src/lib/libatm.la $(top_builddir)/src/saal/libsaal.a
21697 atmsigd_LDADD = $(atmsigd_XTRAS) -lfl
21698 atmsigd_DEPENDENCIES = mess.c $(atmsigd_XTRAS)
21699 @@ -140,8 +135,11 @@
21701 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
21706 +DEP_FILES = .deps/atmsigd.P .deps/cfg_l.P .deps/cfg_y.P .deps/io.P \
21707 +.deps/kernel.P .deps/policy.P .deps/proto.P .deps/sap.P .deps/timeout.P \
21708 +.deps/trace.P .deps/uni.P
21709 SOURCES = $(atmsigd_SOURCES)
21710 OBJECTS = $(atmsigd_OBJECTS)
21712 @@ -149,9 +147,9 @@
21714 .SUFFIXES: .S .c .l .lo .o .obj .s .y
21715 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
21716 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/sigd/Makefile
21717 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/sigd/Makefile
21719 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
21720 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
21721 cd $(top_builddir) \
21722 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
21724 @@ -181,9 +179,6 @@
21725 rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
21731 # FIXME: We should only use cygpath when building on Windows,
21732 # and only if it is available.
21734 @@ -206,9 +201,6 @@
21736 maintainer-clean-compile:
21739 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
21742 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
21744 @@ -347,7 +339,7 @@
21745 awk ' { files[$$0] = 1; } \
21746 END { for (i in files) print i; }'`; \
21747 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
21748 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
21749 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
21753 @@ -363,6 +355,11 @@
21756 distdir: $(DISTFILES)
21757 + here=`cd $(top_builddir) && pwd`; \
21758 + top_distdir=`cd $(top_distdir) && pwd`; \
21759 + distdir=`cd $(distdir) && pwd`; \
21760 + cd $(top_srcdir) \
21761 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/sigd/Makefile
21762 @for file in $(DISTFILES); do \
21764 if test -d $$d/$$file; then \
21765 @@ -373,69 +370,38 @@
21766 || cp -p $$d/$$file $(distdir)/$$file || :; \
21769 -atmsigd.o: atmsigd.c ../../config.h ../../src/include/atm.h \
21770 - ../../src/include/stdint.h ../../src/include/atmd.h \
21771 - ../../src/qgen/qlib.h io.h proto.h ../../src/include/atmsap.h \
21772 - ../../src/saal/saal.h ../../src/saal/sscf.h \
21773 - ../../src/saal/sscop.h ../../src/saal/queue.h trace.h
21774 -cfg_l.o: cfg_l.c ../../config.h ../../src/include/atm.h \
21775 - ../../src/include/stdint.h cfg_y.h
21776 -cfg_y.o: cfg_y.c ../../config.h ../../src/include/atm.h \
21777 - ../../src/include/stdint.h ../../src/include/atmd.h proto.h \
21778 - ../../src/include/atmsap.h ../../src/saal/saal.h \
21779 - ../../src/saal/sscf.h ../../src/saal/sscop.h \
21780 - ../../src/saal/queue.h io.h trace.h policy.h
21781 -io.o: io.c ../../config.h ../../src/include/atm.h \
21782 - ../../src/include/stdint.h ../../src/include/atmd.h \
21783 - ../../src/qgen/uni.h ../../src/saal/pdu.h proto.h \
21784 - ../../src/include/atmsap.h ../../src/saal/saal.h \
21785 - ../../src/saal/sscf.h ../../src/saal/sscop.h \
21786 - ../../src/saal/queue.h io.h trace.h
21787 -kernel.o: kernel.c ../../config.h ../../src/include/atm.h \
21788 - ../../src/include/stdint.h ../../src/include/atmd.h \
21789 - ../../src/qgen/uni.h ../../src/qgen/qlib.h \
21790 - ../../src/qgen/q.out.h proto.h ../../src/include/atmsap.h \
21791 - ../../src/saal/saal.h ../../src/saal/sscf.h \
21792 - ../../src/saal/sscop.h ../../src/saal/queue.h sap.h io.h \
21793 - policy.h timeout.h
21794 -mess.o: mess.c ../../config.h
21795 -policy.o: policy.c ../../config.h ../../src/include/atm.h \
21796 - ../../src/include/stdint.h ../../src/include/atmd.h proto.h \
21797 - ../../src/include/atmsap.h ../../src/saal/saal.h \
21798 - ../../src/saal/sscf.h ../../src/saal/sscop.h \
21799 - ../../src/saal/queue.h policy.h
21800 -proto.o: proto.c ../../config.h ../../src/include/atmd.h \
21801 - ../../src/include/stdint.h ../../src/include/atm.h \
21802 - ../../src/qgen/uni.h ../../src/qgen/qlib.h \
21803 - ../../src/qgen/q.out.h io.h proto.h ../../src/include/atmsap.h \
21804 - ../../src/saal/saal.h ../../src/saal/sscf.h \
21805 - ../../src/saal/sscop.h ../../src/saal/queue.h sap.h
21806 -sap.o: sap.c ../../config.h ../../src/include/atm.h \
21807 - ../../src/include/stdint.h ../../src/include/atmd.h \
21808 - ../../src/qgen/uni.h ../../src/qgen/qlib.h \
21809 - ../../src/qgen/q.out.h ../../src/qgen/common.h proto.h \
21810 - ../../src/include/atmsap.h ../../src/saal/saal.h \
21811 - ../../src/saal/sscf.h ../../src/saal/sscop.h \
21812 - ../../src/saal/queue.h sap.h
21813 -timeout.o: timeout.c ../../config.h ../../src/include/atm.h \
21814 - ../../src/include/stdint.h ../../src/include/atmd.h \
21815 - ../../src/qgen/uni.h proto.h ../../src/include/atmsap.h \
21816 - ../../src/saal/saal.h ../../src/saal/sscf.h \
21817 - ../../src/saal/sscop.h ../../src/saal/queue.h timeout.h
21818 -trace.o: trace.c ../../config.h ../../src/include/atm.h \
21819 - ../../src/include/stdint.h ../../src/include/atmd.h \
21820 - ../../src/include/atmsap.h trace.h proto.h \
21821 - ../../src/saal/saal.h ../../src/saal/sscf.h \
21822 - ../../src/saal/sscop.h ../../src/saal/queue.h \
21823 - ../../src/qgen/qlib.h
21824 -uni.o: uni.c ../../config.h ../../src/include/atm.h \
21825 - ../../src/include/stdint.h ../../src/include/atmd.h \
21826 - ../../src/qgen/uni.h ../../src/qgen/qlib.h \
21827 - ../../src/qgen/q.out.h proto.h ../../src/include/atmsap.h \
21828 - ../../src/saal/saal.h ../../src/saal/sscf.h \
21829 - ../../src/saal/sscop.h ../../src/saal/queue.h sap.h io.h \
21830 - policy.h timeout.h trace.h
21832 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
21834 +-include $(DEP_FILES)
21836 +mostlyclean-depend:
21843 +maintainer-clean-depend:
21846 + @echo '$(COMPILE) -c $<'; \
21847 + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
21848 + @-cp .deps/$(*F).pp .deps/$(*F).P; \
21849 + tr ' ' '\012' < .deps/$(*F).pp \
21850 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
21851 + >> .deps/$(*F).P; \
21852 + rm .deps/$(*F).pp
21855 + @echo '$(LTCOMPILE) -c $<'; \
21856 + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
21857 + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
21858 + < .deps/$(*F).pp > .deps/$(*F).P; \
21859 + tr ' ' '\012' < .deps/$(*F).pp \
21860 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
21861 + >> .deps/$(*F).P; \
21862 + rm -f .deps/$(*F).pp
21866 @@ -474,29 +440,29 @@
21867 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
21869 maintainer-clean-generic:
21870 - -test -z "cfg_llcfg_yhcfg_yc" || rm -f cfg_ll cfg_yh cfg_yc
21871 + -test -z "cfg_lccfg_yhcfg_yc" || rm -f cfg_lc cfg_yh cfg_yc
21872 mostlyclean-am: mostlyclean-sbinPROGRAMS mostlyclean-compile \
21873 - mostlyclean-libtool mostlyclean-tags \
21874 + mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
21875 mostlyclean-generic
21877 mostlyclean: mostlyclean-am
21879 clean-am: clean-sbinPROGRAMS clean-compile clean-libtool clean-tags \
21880 - clean-generic mostlyclean-am
21881 + clean-depend clean-generic mostlyclean-am
21885 distclean-am: distclean-sbinPROGRAMS distclean-compile \
21886 - distclean-libtool distclean-tags distclean-generic \
21888 + distclean-libtool distclean-tags distclean-depend \
21889 + distclean-generic clean-am
21892 distclean: distclean-am
21894 maintainer-clean-am: maintainer-clean-sbinPROGRAMS \
21895 maintainer-clean-compile maintainer-clean-libtool \
21896 - maintainer-clean-tags maintainer-clean-generic \
21898 + maintainer-clean-tags maintainer-clean-depend \
21899 + maintainer-clean-generic distclean-am
21900 @echo "This command is intended for maintainers to use;"
21901 @echo "it deletes files that may require special tools to rebuild."
21903 @@ -509,12 +475,14 @@
21904 distclean-libtool clean-libtool maintainer-clean-libtool install-man4 \
21905 uninstall-man4 install-man8 uninstall-man8 install-man uninstall-man \
21906 uninstall-sysconfDATA install-sysconfDATA tags mostlyclean-tags \
21907 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
21908 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
21909 -install-exec install-data-am install-data install-am install \
21910 -uninstall-am uninstall all-redirect all-am all installdirs \
21911 -mostlyclean-generic distclean-generic clean-generic \
21912 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
21913 +distclean-tags clean-tags maintainer-clean-tags distdir \
21914 +mostlyclean-depend distclean-depend clean-depend \
21915 +maintainer-clean-depend info-am info dvi-am dvi check check-am \
21916 +installcheck-am installcheck install-exec-am install-exec \
21917 +install-data-am install-data install-am install uninstall-am uninstall \
21918 +all-redirect all-am all installdirs mostlyclean-generic \
21919 +distclean-generic clean-generic maintainer-clean-generic clean \
21920 +mostlyclean distclean maintainer-clean
21923 mess.c: $(top_builddir)/src/qgen/uni.h mkmess.pl
21924 Index: linux-atm-2.4.1/src/sigd/cfg_y.c
21925 ===================================================================
21926 --- linux-atm-2.4.1.orig/src/sigd/cfg_y.c 2007-10-20 19:19:11.090260479 +0200
21927 +++ linux-atm-2.4.1/src/sigd/cfg_y.c 2007-10-20 19:19:12.050315189 +0200
21929 +/* A Bison parser, made by GNU Bison 1.875d. */
21931 -/* A Bison parser, made from cfg_y.y
21932 - by GNU Bison version 1.28 */
21933 +/* Skeleton parser for Yacc-like parsing with Bison,
21934 + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
21936 -#define YYBISON 1 /* Identify Bison output. */
21937 + This program is free software; you can redistribute it and/or modify
21938 + it under the terms of the GNU General Public License as published by
21939 + the Free Software Foundation; either version 2, or (at your option)
21940 + any later version.
21942 -#define TOK_LEVEL 257
21943 -#define TOK_DEBUG 258
21944 -#define TOK_INFO 259
21945 -#define TOK_WARN 260
21946 -#define TOK_ERROR 261
21947 -#define TOK_FATAL 262
21948 -#define TOK_SIG 263
21949 -#define TOK_UNI30 264
21950 -#define TOK_UNI31 265
21951 -#define TOK_UNI40 266
21952 -#define TOK_Q2963_1 267
21953 -#define TOK_SAAL 268
21954 -#define TOK_VC 269
21955 -#define TOK_IO 270
21956 -#define TOK_MODE 271
21957 -#define TOK_USER 272
21958 -#define TOK_NET 273
21959 -#define TOK_SWITCH 274
21960 -#define TOK_VPCI 275
21961 -#define TOK_ITF 276
21962 -#define TOK_PCR 277
21963 -#define TOK_TRACE 278
21964 -#define TOK_POLICY 279
21965 -#define TOK_ALLOW 280
21966 -#define TOK_REJECT 281
21967 -#define TOK_ENTITY 282
21968 -#define TOK_DEFAULT 283
21969 -#define TOK_NUMBER 284
21970 -#define TOK_MAX_RATE 285
21971 -#define TOK_DUMP_DIR 286
21972 -#define TOK_LOGFILE 287
21973 -#define TOK_QOS 288
21974 -#define TOK_FROM 289
21975 -#define TOK_TO 290
21976 -#define TOK_ROUTE 291
21977 -#define TOK_PVC 292
21978 + This program is distributed in the hope that it will be useful,
21979 + but WITHOUT ANY WARRANTY; without even the implied warranty of
21980 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21981 + GNU General Public License for more details.
21983 + You should have received a copy of the GNU General Public License
21984 + along with this program; if not, write to the Free Software
21985 + Foundation, Inc., 59 Temple Place - Suite 330,
21986 + Boston, MA 02111-1307, USA. */
21988 +/* As a special exception, when this file is copied by Bison into a
21989 + Bison output file, you may use that output file without restriction.
21990 + This special exception was added by the Free Software Foundation
21991 + in version 1.24 of Bison. */
21993 +/* Written by Richard Stallman by simplifying the original so called
21994 + ``semantic'' parser. */
21996 +/* All symbols defined below should begin with yy or YY, to avoid
21997 + infringing on user name space. This should be done even for local
21998 + variables, as they might otherwise be expanded by user macros.
21999 + There are some unavoidable exceptions within include files to
22000 + define necessary library symbols; they are noted "INFRINGES ON
22001 + USER NAME SPACE" below. */
22003 +/* Identify Bison output. */
22006 +/* Skeleton name. */
22007 +#define YYSKELETON_NAME "yacc.c"
22009 +/* Pure parsers. */
22012 +/* Using locations. */
22013 +#define YYLSP_NEEDED 0
22018 +#ifndef YYTOKENTYPE
22019 +# define YYTOKENTYPE
22020 + /* Put the tokens into the symbol table, so that GDB and other debuggers
22021 + know about them. */
22022 + enum yytokentype {
22033 + TOK_Q2963_1 = 268,
22040 + TOK_SWITCH = 275,
22045 + TOK_POLICY = 280,
22047 + TOK_REJECT = 282,
22048 + TOK_ENTITY = 283,
22049 + TOK_DEFAULT = 284,
22050 + TOK_NUMBER = 285,
22051 + TOK_MAX_RATE = 286,
22052 + TOK_DUMP_DIR = 287,
22053 + TOK_LOGFILE = 288,
22061 +#define TOK_LEVEL 258
22062 +#define TOK_DEBUG 259
22063 +#define TOK_INFO 260
22064 +#define TOK_WARN 261
22065 +#define TOK_ERROR 262
22066 +#define TOK_FATAL 263
22067 +#define TOK_SIG 264
22068 +#define TOK_UNI30 265
22069 +#define TOK_UNI31 266
22070 +#define TOK_UNI40 267
22071 +#define TOK_Q2963_1 268
22072 +#define TOK_SAAL 269
22073 +#define TOK_VC 270
22074 +#define TOK_IO 271
22075 +#define TOK_MODE 272
22076 +#define TOK_USER 273
22077 +#define TOK_NET 274
22078 +#define TOK_SWITCH 275
22079 +#define TOK_VPCI 276
22080 +#define TOK_ITF 277
22081 +#define TOK_PCR 278
22082 +#define TOK_TRACE 279
22083 +#define TOK_POLICY 280
22084 +#define TOK_ALLOW 281
22085 +#define TOK_REJECT 282
22086 +#define TOK_ENTITY 283
22087 +#define TOK_DEFAULT 284
22088 +#define TOK_NUMBER 285
22089 +#define TOK_MAX_RATE 286
22090 +#define TOK_DUMP_DIR 287
22091 +#define TOK_LOGFILE 288
22092 +#define TOK_QOS 289
22093 +#define TOK_FROM 290
22094 +#define TOK_TO 291
22095 +#define TOK_ROUTE 292
22096 +#define TOK_PVC 293
22101 +/* Copy the first part of user declarations. */
22104 /* cfg.y - configuration language */
22106 #include <config.h>
22109 +#include <stdlib.h>
22110 #include <string.h>
22112 #include <limits.h>
22115 #include "policy.h"
22117 +extern void yywarn(const char *s);
22118 +extern void yyerror(const char *s);
22121 static SIG_ENTITY *curr_sig = &_entity;
22122 @@ -93,516 +187,830 @@
22126 -#line 53 "cfg_y.y"
22129 +/* Enabling traces. */
22131 +# define YYDEBUG 0
22134 +/* Enabling verbose error messages. */
22135 +#ifdef YYERROR_VERBOSE
22136 +# undef YYERROR_VERBOSE
22137 +# define YYERROR_VERBOSE 1
22139 +# define YYERROR_VERBOSE 0
22142 +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
22143 +#line 56 "cfg_y.y"
22144 +typedef union YYSTYPE {
22147 struct sockaddr_atmpvc pvc;
22149 -#include <stdio.h>
22150 +/* Line 191 of yacc.c. */
22151 +#line 213 "y.tab.c"
22152 +# define yystype YYSTYPE /* obsolescent; will be withdrawn */
22153 +# define YYSTYPE_IS_DECLARED 1
22154 +# define YYSTYPE_IS_TRIVIAL 1
22159 +/* Copy the second part of user declarations. */
22162 +/* Line 214 of yacc.c. */
22163 +#line 225 "y.tab.c"
22165 +#if ! defined (yyoverflow) || YYERROR_VERBOSE
22168 +# define YYFREE free
22171 +# define YYMALLOC malloc
22174 +/* The parser invokes alloca or malloc; define the necessary symbols. */
22176 +# ifdef YYSTACK_USE_ALLOCA
22177 +# if YYSTACK_USE_ALLOCA
22178 +# define YYSTACK_ALLOC alloca
22181 +# if defined (alloca) || defined (_ALLOCA_H)
22182 +# define YYSTACK_ALLOC alloca
22185 +# define YYSTACK_ALLOC __builtin_alloca
22190 +# ifdef YYSTACK_ALLOC
22191 + /* Pacify GCC's `empty if-body' warning. */
22192 +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
22194 +# if defined (__STDC__) || defined (__cplusplus)
22195 +# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
22196 +# define YYSIZE_T size_t
22198 +# define YYSTACK_ALLOC YYMALLOC
22199 +# define YYSTACK_FREE YYFREE
22201 +#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */
22204 +#if (! defined (yyoverflow) \
22205 + && (! defined (__cplusplus) \
22206 + || (defined (YYSTYPE_IS_TRIVIAL) && YYSTYPE_IS_TRIVIAL)))
22208 +/* A type that is properly aligned for any stack member. */
22215 +/* The size of the maximum gap between one aligned stack and the next. */
22216 +# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
22218 +/* The size of an array large to enough to hold all stacks, each with
22220 +# define YYSTACK_BYTES(N) \
22221 + ((N) * (sizeof (short int) + sizeof (YYSTYPE)) \
22222 + + YYSTACK_GAP_MAXIMUM)
22224 +/* Copy COUNT objects from FROM to TO. The source and destination do
22227 +# if defined (__GNUC__) && 1 < __GNUC__
22228 +# define YYCOPY(To, From, Count) \
22229 + __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
22231 +# define YYCOPY(To, From, Count) \
22234 + register YYSIZE_T yyi; \
22235 + for (yyi = 0; yyi < (Count); yyi++) \
22236 + (To)[yyi] = (From)[yyi]; \
22242 +/* Relocate STACK from its old location to the new one. The
22243 + local variables YYSIZE and YYSTACKSIZE give the old and new number of
22244 + elements in the stack, and YYPTR gives the new location of the
22245 + stack. Advance YYPTR to a properly aligned location for the next
22247 +# define YYSTACK_RELOCATE(Stack) \
22250 + YYSIZE_T yynewbytes; \
22251 + YYCOPY (&yyptr->Stack, Stack, yysize); \
22252 + Stack = &yyptr->Stack; \
22253 + yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
22254 + yyptr += yynewbytes / sizeof (*yyptr); \
22258 -#ifndef __cplusplus
22264 +#if defined (__STDC__) || defined (__cplusplus)
22265 + typedef signed char yysigned_char;
22267 + typedef short int yysigned_char;
22271 -#define YYFINAL 117
22272 -#define YYFLAG -32768
22273 -#define YYNTBASE 41
22275 -#define YYTRANSLATE(x) ((unsigned)(x) <= 292 ? yytranslate[x] : 71)
22277 -static const char yytranslate[] = { 0,
22278 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22279 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22280 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22281 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22282 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22283 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22284 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22285 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22286 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22287 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22288 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22289 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22290 - 2, 2, 39, 2, 40, 2, 2, 2, 2, 2,
22291 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22292 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22293 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22294 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22295 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22296 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22297 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22298 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22299 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22300 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22301 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22302 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22303 - 2, 2, 2, 2, 2, 1, 3, 4, 5, 6,
22304 - 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
22305 - 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
22306 - 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
22308 +/* YYFINAL -- State number of the termination state. */
22309 +#define YYFINAL 53
22310 +/* YYLAST -- Last index in YYTABLE. */
22311 +#define YYLAST 108
22313 +/* YYNTOKENS -- Number of terminals. */
22314 +#define YYNTOKENS 41
22315 +/* YYNNTS -- Number of nonterminals. */
22317 +/* YYNRULES -- Number of rules. */
22318 +#define YYNRULES 79
22319 +/* YYNRULES -- Number of states. */
22320 +#define YYNSTATES 117
22322 +/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
22323 +#define YYUNDEFTOK 2
22324 +#define YYMAXUTOK 293
22326 +#define YYTRANSLATE(YYX) \
22327 + ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
22329 +/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
22330 +static const unsigned char yytranslate[] =
22332 + 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22333 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22334 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22335 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22336 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22337 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22338 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22339 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22340 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22341 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22342 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22343 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22344 + 2, 2, 2, 39, 2, 40, 2, 2, 2, 2,
22345 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22346 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22347 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22348 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22349 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22350 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22351 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22352 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22353 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22354 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22355 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22356 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
22357 + 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
22358 + 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
22359 + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
22360 + 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
22365 -static const short yyprhs[] = { 0,
22366 - 0, 3, 4, 7, 8, 11, 14, 17, 20, 23,
22367 - 26, 29, 30, 35, 36, 40, 41, 44, 49, 52,
22368 - 54, 56, 58, 60, 62, 66, 67, 70, 72, 76,
22369 - 77, 80, 82, 86, 87, 90, 92, 96, 97, 100,
22370 - 102, 106, 107, 110, 113, 118, 120, 122, 124, 126,
22371 - 128, 131, 134, 137, 140, 143, 145, 147, 150, 152,
22372 - 154, 157, 158, 160, 162, 164, 166, 168, 170, 172,
22373 - 174, 176, 179, 180, 184, 186, 188, 190
22375 +/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
22377 +static const unsigned char yyprhs[] =
22379 + 0, 0, 3, 6, 7, 10, 11, 14, 17, 20,
22380 + 23, 26, 29, 32, 33, 38, 39, 43, 44, 47,
22381 + 52, 55, 57, 59, 61, 63, 65, 69, 70, 73,
22382 + 75, 79, 80, 83, 85, 89, 90, 93, 95, 99,
22383 + 100, 103, 105, 109, 110, 113, 116, 121, 123, 125,
22384 + 127, 129, 131, 134, 137, 140, 143, 146, 148, 150,
22385 + 153, 155, 157, 160, 161, 163, 165, 167, 169, 171,
22386 + 173, 175, 177, 179, 182, 183, 187, 189, 191, 193
22389 -static const short yyrhs[] = { 42,
22390 - 43, 0, 0, 44, 42, 0, 0, 45, 43, 0,
22391 - 3, 65, 0, 9, 50, 0, 14, 52, 0, 16,
22392 - 54, 0, 4, 56, 0, 25, 58, 0, 0, 28,
22393 - 38, 46, 47, 0, 0, 39, 48, 40, 0, 0,
22394 - 49, 48, 0, 21, 30, 22, 30, 0, 17, 66,
22395 - 0, 34, 0, 31, 0, 37, 0, 29, 0, 60,
22396 - 0, 39, 51, 40, 0, 0, 60, 51, 0, 61,
22397 - 0, 39, 53, 40, 0, 0, 61, 53, 0, 62,
22398 - 0, 39, 55, 40, 0, 0, 62, 55, 0, 63,
22399 - 0, 39, 57, 40, 0, 0, 63, 57, 0, 67,
22400 - 0, 39, 59, 40, 0, 0, 67, 59, 0, 3,
22401 - 65, 0, 21, 30, 22, 30, 0, 10, 0, 11,
22402 - 0, 12, 0, 13, 0, 19, 0, 17, 66, 0,
22403 - 3, 65, 0, 3, 65, 0, 15, 38, 0, 23,
22404 - 30, 0, 34, 0, 31, 0, 3, 65, 0, 32,
22405 - 0, 33, 0, 24, 64, 0, 0, 30, 0, 4,
22406 - 0, 5, 0, 6, 0, 7, 0, 8, 0, 18,
22407 - 0, 19, 0, 20, 0, 3, 65, 0, 0, 69,
22408 - 68, 70, 0, 26, 0, 27, 0, 35, 0, 36,
22410 +/* YYRHS -- A `-1'-separated list of the rules' RHS. */
22411 +static const yysigned_char yyrhs[] =
22413 + 42, 0, -1, 43, 44, -1, -1, 45, 43, -1,
22414 + -1, 46, 44, -1, 3, 66, -1, 9, 51, -1,
22415 + 14, 53, -1, 16, 55, -1, 4, 57, -1, 25,
22416 + 59, -1, -1, 28, 38, 47, 48, -1, -1, 39,
22417 + 49, 40, -1, -1, 50, 49, -1, 21, 30, 22,
22418 + 30, -1, 17, 67, -1, 34, -1, 31, -1, 37,
22419 + -1, 29, -1, 61, -1, 39, 52, 40, -1, -1,
22420 + 61, 52, -1, 62, -1, 39, 54, 40, -1, -1,
22421 + 62, 54, -1, 63, -1, 39, 56, 40, -1, -1,
22422 + 63, 56, -1, 64, -1, 39, 58, 40, -1, -1,
22423 + 64, 58, -1, 68, -1, 39, 60, 40, -1, -1,
22424 + 68, 60, -1, 3, 66, -1, 21, 30, 22, 30,
22425 + -1, 10, -1, 11, -1, 12, -1, 13, -1, 19,
22426 + -1, 17, 67, -1, 3, 66, -1, 3, 66, -1,
22427 + 15, 38, -1, 23, 30, -1, 34, -1, 31, -1,
22428 + 3, 66, -1, 32, -1, 33, -1, 24, 65, -1,
22429 + -1, 30, -1, 4, -1, 5, -1, 6, -1, 7,
22430 + -1, 8, -1, 18, -1, 19, -1, 20, -1, 3,
22431 + 66, -1, -1, 70, 69, 71, -1, 26, -1, 27,
22432 + -1, 35, -1, 36, -1
22438 -static const short yyrline[] = { 0,
22439 - 73, 77, 78, 81, 82, 105, 110, 111, 112, 113,
22440 - 114, 117, 138, 140, 141, 144, 145, 148, 153, 154,
22441 - 158, 162, 176, 182, 184, 187, 188, 191, 193, 196,
22442 - 197, 200, 202, 205, 206, 209, 211, 214, 215, 218,
22443 - 220, 223, 224, 227, 234, 238, 247, 256, 265, 274,
22444 - 279, 282, 290, 295, 299, 304, 308, 314, 319, 324,
22445 - 328, 334, 338, 344, 349, 353, 357, 361, 367, 372,
22446 - 376, 382, 387, 393, 395, 400, 406, 412
22447 +/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
22448 +static const unsigned short int yyrline[] =
22450 + 0, 77, 77, 80, 81, 84, 85, 109, 113, 114,
22451 + 115, 116, 117, 122, 121, 151, 152, 155, 156, 160,
22452 + 164, 165, 169, 173, 187, 194, 195, 198, 199, 203,
22453 + 204, 207, 208, 212, 213, 216, 217, 221, 222, 225,
22454 + 226, 230, 231, 234, 235, 239, 245, 249, 258, 267,
22455 + 276, 285, 290, 294, 302, 306, 310, 315, 319, 326,
22456 + 330, 335, 339, 346, 349, 356, 360, 364, 368, 372,
22457 + 379, 383, 387, 394, 399, 398, 407, 411, 418, 423
22462 -#if YYDEBUG != 0 || defined (YYERROR_VERBOSE)
22464 -static const char * const yytname[] = { "$","error","$undefined.","TOK_LEVEL",
22465 -"TOK_DEBUG","TOK_INFO","TOK_WARN","TOK_ERROR","TOK_FATAL","TOK_SIG","TOK_UNI30",
22466 -"TOK_UNI31","TOK_UNI40","TOK_Q2963_1","TOK_SAAL","TOK_VC","TOK_IO","TOK_MODE",
22467 -"TOK_USER","TOK_NET","TOK_SWITCH","TOK_VPCI","TOK_ITF","TOK_PCR","TOK_TRACE",
22468 -"TOK_POLICY","TOK_ALLOW","TOK_REJECT","TOK_ENTITY","TOK_DEFAULT","TOK_NUMBER",
22469 -"TOK_MAX_RATE","TOK_DUMP_DIR","TOK_LOGFILE","TOK_QOS","TOK_FROM","TOK_TO","TOK_ROUTE",
22470 -"TOK_PVC","'{'","'}'","all","global","local","item","entity","@1","opt_options",
22471 -"options","option","sig","sig_items","saal","saal_items","io","io_items","debug",
22472 -"debug_items","policy","policy_items","sig_item","saal_item","io_item","debug_item",
22473 -"opt_trace_size","level","mode","policy_item","@2","action","direction", NULL
22474 +#if YYDEBUG || YYERROR_VERBOSE
22475 +/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
22476 + First, the terminals, then, starting at YYNTOKENS, nonterminals. */
22477 +static const char *const yytname[] =
22479 + "$end", "error", "$undefined", "TOK_LEVEL", "TOK_DEBUG", "TOK_INFO",
22480 + "TOK_WARN", "TOK_ERROR", "TOK_FATAL", "TOK_SIG", "TOK_UNI30",
22481 + "TOK_UNI31", "TOK_UNI40", "TOK_Q2963_1", "TOK_SAAL", "TOK_VC", "TOK_IO",
22482 + "TOK_MODE", "TOK_USER", "TOK_NET", "TOK_SWITCH", "TOK_VPCI", "TOK_ITF",
22483 + "TOK_PCR", "TOK_TRACE", "TOK_POLICY", "TOK_ALLOW", "TOK_REJECT",
22484 + "TOK_ENTITY", "TOK_DEFAULT", "TOK_NUMBER", "TOK_MAX_RATE",
22485 + "TOK_DUMP_DIR", "TOK_LOGFILE", "TOK_QOS", "TOK_FROM", "TOK_TO",
22486 + "TOK_ROUTE", "TOK_PVC", "'{'", "'}'", "$accept", "all", "global",
22487 + "local", "item", "entity", "@1", "opt_options", "options", "option",
22488 + "sig", "sig_items", "saal", "saal_items", "io", "io_items", "debug",
22489 + "debug_items", "policy", "policy_items", "sig_item", "saal_item",
22490 + "io_item", "debug_item", "opt_trace_size", "level", "mode",
22491 + "policy_item", "@2", "action", "direction", 0
22495 -static const short yyr1[] = { 0,
22496 - 41, 42, 42, 43, 43, 44, 44, 44, 44, 44,
22497 - 44, 46, 45, 47, 47, 48, 48, 49, 49, 49,
22498 - 49, 49, 49, 50, 50, 51, 51, 52, 52, 53,
22499 - 53, 54, 54, 55, 55, 56, 56, 57, 57, 58,
22500 - 58, 59, 59, 60, 60, 60, 60, 60, 60, 60,
22501 - 60, 61, 62, 62, 62, 62, 62, 63, 63, 63,
22502 - 63, 64, 64, 65, 65, 65, 65, 65, 66, 66,
22503 - 66, 67, 68, 67, 69, 69, 70, 70
22505 +/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
22506 + token YYLEX-NUM. */
22507 +static const unsigned short int yytoknum[] =
22509 + 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
22510 + 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
22511 + 275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
22512 + 285, 286, 287, 288, 289, 290, 291, 292, 293, 123,
22517 -static const short yyr2[] = { 0,
22518 - 2, 0, 2, 0, 2, 2, 2, 2, 2, 2,
22519 - 2, 0, 4, 0, 3, 0, 2, 4, 2, 1,
22520 - 1, 1, 1, 1, 3, 0, 2, 1, 3, 0,
22521 - 2, 1, 3, 0, 2, 1, 3, 0, 2, 1,
22522 - 3, 0, 2, 2, 4, 1, 1, 1, 1, 1,
22523 - 2, 2, 2, 2, 2, 1, 1, 2, 1, 1,
22524 - 2, 0, 1, 1, 1, 1, 1, 1, 1, 1,
22525 - 1, 2, 0, 3, 1, 1, 1, 1
22526 +/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
22527 +static const unsigned char yyr1[] =
22529 + 0, 41, 42, 43, 43, 44, 44, 45, 45, 45,
22530 + 45, 45, 45, 47, 46, 48, 48, 49, 49, 50,
22531 + 50, 50, 50, 50, 50, 51, 51, 52, 52, 53,
22532 + 53, 54, 54, 55, 55, 56, 56, 57, 57, 58,
22533 + 58, 59, 59, 60, 60, 61, 61, 61, 61, 61,
22534 + 61, 61, 61, 62, 63, 63, 63, 63, 63, 64,
22535 + 64, 64, 64, 65, 65, 66, 66, 66, 66, 66,
22536 + 67, 67, 67, 68, 69, 68, 70, 70, 71, 71
22539 -static const short yydefact[] = { 2,
22540 - 0, 0, 0, 0, 0, 0, 4, 2, 64, 65,
22541 - 66, 67, 68, 6, 0, 62, 59, 60, 38, 10,
22542 - 36, 0, 46, 47, 48, 49, 0, 50, 0, 26,
22543 - 7, 24, 0, 30, 8, 28, 0, 0, 0, 57,
22544 - 56, 34, 9, 32, 0, 75, 76, 42, 11, 40,
22545 - 73, 0, 1, 4, 3, 58, 63, 61, 0, 38,
22546 - 44, 69, 70, 71, 51, 0, 0, 26, 52, 0,
22547 - 30, 53, 54, 55, 0, 34, 72, 0, 42, 0,
22548 - 12, 5, 37, 39, 0, 25, 27, 29, 31, 33,
22549 - 35, 41, 43, 77, 78, 74, 14, 45, 16, 13,
22550 - 0, 0, 23, 21, 20, 22, 0, 16, 19, 0,
22551 - 15, 17, 0, 18, 0, 0, 0
22552 +/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
22553 +static const unsigned char yyr2[] =
22555 + 0, 2, 2, 0, 2, 0, 2, 2, 2, 2,
22556 + 2, 2, 2, 0, 4, 0, 3, 0, 2, 4,
22557 + 2, 1, 1, 1, 1, 1, 3, 0, 2, 1,
22558 + 3, 0, 2, 1, 3, 0, 2, 1, 3, 0,
22559 + 2, 1, 3, 0, 2, 2, 4, 1, 1, 1,
22560 + 1, 1, 2, 2, 2, 2, 2, 1, 1, 2,
22561 + 1, 1, 2, 0, 1, 1, 1, 1, 1, 1,
22562 + 1, 1, 1, 2, 0, 3, 1, 1, 1, 1
22565 -static const short yydefgoto[] = { 115,
22566 - 7, 53, 8, 54, 97, 100, 107, 108, 31, 67,
22567 - 35, 70, 43, 75, 20, 59, 49, 78, 68, 71,
22568 - 76, 60, 58, 14, 65, 79, 80, 51, 96
22569 +/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
22570 + STATE-NUM when YYTABLE doesn't specify something else to do. Zero
22571 + means the default is an error. */
22572 +static const unsigned char yydefact[] =
22574 + 3, 0, 0, 0, 0, 0, 0, 0, 5, 3,
22575 + 65, 66, 67, 68, 69, 7, 0, 63, 60, 61,
22576 + 39, 11, 37, 0, 47, 48, 49, 50, 0, 51,
22577 + 0, 27, 8, 25, 0, 31, 9, 29, 0, 0,
22578 + 0, 58, 57, 35, 10, 33, 0, 76, 77, 43,
22579 + 12, 41, 74, 1, 0, 2, 5, 4, 59, 64,
22580 + 62, 0, 39, 45, 70, 71, 72, 52, 0, 0,
22581 + 27, 53, 0, 31, 54, 55, 56, 0, 35, 73,
22582 + 0, 43, 0, 13, 6, 38, 40, 0, 26, 28,
22583 + 30, 32, 34, 36, 42, 44, 78, 79, 75, 15,
22584 + 46, 17, 14, 0, 0, 24, 22, 21, 23, 0,
22585 + 17, 20, 0, 16, 18, 0, 19
22588 -static const short yypact[] = { 52,
22589 - 100, 1, -3, -1, -2, 0, -17, 52,-32768,-32768,
22590 --32768,-32768,-32768,-32768, 100, -18,-32768,-32768, 25,-32768,
22591 --32768, 100,-32768,-32768,-32768,-32768, 60,-32768, -15, 82,
22592 --32768,-32768, 100, 14,-32768,-32768, 100, -19, -10,-32768,
22593 --32768, 20,-32768,-32768, 100,-32768,-32768, 19,-32768,-32768,
22594 --32768, -14,-32768, -17,-32768,-32768,-32768,-32768, -9, 25,
22595 --32768,-32768,-32768,-32768,-32768, 8, 2, 82,-32768, 4,
22596 - 14,-32768,-32768,-32768, 7, 20,-32768, 10, 19, -30,
22597 --32768,-32768,-32768,-32768, 22,-32768,-32768,-32768,-32768,-32768,
22598 --32768,-32768,-32768,-32768,-32768,-32768, 21,-32768, 53,-32768,
22599 - 60, 23,-32768,-32768,-32768,-32768, 24, 53,-32768, 40,
22600 --32768,-32768, 35,-32768, 67, 69,-32768
22601 +/* YYDEFGOTO[NTERM-NUM]. */
22602 +static const yysigned_char yydefgoto[] =
22604 + -1, 7, 8, 55, 9, 56, 99, 102, 109, 110,
22605 + 32, 69, 36, 72, 44, 77, 21, 61, 50, 80,
22606 + 70, 73, 78, 62, 60, 15, 67, 81, 82, 52,
22610 -static const short yypgoto[] = {-32768,
22611 - 64, 27,-32768,-32768,-32768,-32768, -35,-32768,-32768, 15,
22612 --32768, 5,-32768, 12,-32768, 29,-32768, -4, 83, 87,
22613 - 91, 95,-32768, 26, 9, 92,-32768,-32768,-32768
22614 +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
22616 +#define YYPACT_NINF -31
22617 +static const yysigned_char yypact[] =
22619 + 53, 69, 1, -3, -1, -2, 0, 11, -16, 53,
22620 + -31, -31, -31, -31, -31, -31, 69, -15, -31, -31,
22621 + 28, -31, -31, 69, -31, -31, -31, -31, 46, -31,
22622 + -13, 80, -31, -31, 69, 16, -31, -31, 69, -18,
22623 + -6, -31, -31, 20, -31, -31, 69, -31, -31, 19,
22624 + -31, -31, -31, -31, -10, -31, -16, -31, -31, -31,
22625 + -31, 2, 28, -31, -31, -31, -31, -31, 8, 4,
22626 + 80, -31, 7, 16, -31, -31, -31, 9, 20, -31,
22627 + 10, 19, -30, -31, -31, -31, -31, 23, -31, -31,
22628 + -31, -31, -31, -31, -31, -31, -31, -31, -31, 31,
22629 + -31, 51, -31, 46, 49, -31, -31, -31, -31, 15,
22630 + 51, -31, 36, -31, -31, 54, -31
22634 -#define YYLAST 110
22637 -static const short yytable[] = { 22,
22638 - 37, 33, 45, 15, 94, 95, 23, 24, 25, 26,
22639 - 52, 57, 38, 27, 66, 28, 33, 29, 73, 74,
22640 - 39, 45, 37, 81, 16, 46, 47, 15, 40, 85,
22641 - 83, 41, 17, 18, 38, 30, 42, 34, 48, 19,
22642 - 56, 86, 39, 88, 46, 47, 90, 61, 16, 92,
22643 - 40, 98, 110, 41, 1, 2, 17, 18, 69, 99,
22644 - 3, 113, 72, 111, 114, 4, 116, 5, 117, 101,
22645 - 77, 55, 112, 102, 93, 89, 6, 62, 63, 64,
22646 - 82, 103, 87, 104, 22, 32, 105, 91, 84, 106,
22647 - 36, 23, 24, 25, 26, 44, 21, 50, 27, 0,
22648 - 28, 0, 29, 9, 10, 11, 12, 13, 0, 109
22649 +/* YYPGOTO[NTERM-NUM]. */
22650 +static const yysigned_char yypgoto[] =
22652 + -31, -31, 72, 30, -31, -31, -31, -31, -23, -31,
22653 + -31, 24, -31, 22, -31, 18, -31, 27, -31, 17,
22654 + 97, 98, 99, 101, -31, 25, 3, 102, -31, -31,
22658 -static const short yycheck[] = { 3,
22659 - 3, 3, 3, 3, 35, 36, 10, 11, 12, 13,
22660 - 28, 30, 15, 17, 30, 19, 3, 21, 38, 30,
22661 - 23, 3, 3, 38, 24, 26, 27, 3, 31, 22,
22662 - 40, 34, 32, 33, 15, 39, 39, 39, 39, 39,
22663 - 15, 40, 23, 40, 26, 27, 40, 22, 24, 40,
22664 - 31, 30, 30, 34, 3, 4, 32, 33, 33, 39,
22665 - 9, 22, 37, 40, 30, 14, 0, 16, 0, 17,
22666 - 45, 8, 108, 21, 79, 71, 25, 18, 19, 20,
22667 - 54, 29, 68, 31, 3, 3, 34, 76, 60, 37,
22668 - 4, 10, 11, 12, 13, 5, 2, 6, 17, -1,
22669 - 19, -1, 21, 4, 5, 6, 7, 8, -1, 101
22670 +/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
22671 + positive, shift that token. If negative, reduce the rule which
22672 + number is the opposite. If zero, do what YYDEFACT says.
22673 + If YYTABLE_NINF, syntax error. */
22674 +#define YYTABLE_NINF -1
22675 +static const unsigned char yytable[] =
22677 + 23, 38, 34, 46, 16, 96, 97, 24, 25, 26,
22678 + 27, 53, 54, 39, 28, 59, 29, 68, 30, 34,
22679 + 75, 40, 46, 38, 76, 17, 47, 48, 83, 41,
22680 + 87, 16, 42, 18, 19, 39, 31, 43, 35, 49,
22681 + 20, 58, 85, 40, 88, 47, 48, 90, 63, 92,
22682 + 94, 41, 17, 100, 42, 113, 1, 2, 115, 71,
22683 + 18, 19, 3, 74, 64, 65, 66, 4, 103, 5,
22684 + 101, 79, 104, 10, 11, 12, 13, 14, 6, 112,
22685 + 105, 57, 106, 23, 116, 107, 84, 114, 108, 86,
22686 + 24, 25, 26, 27, 89, 91, 93, 28, 95, 29,
22687 + 33, 30, 37, 22, 45, 0, 111, 0, 51
22689 -/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
22690 -#line 3 "/usr/lib/bison.simple"
22691 -/* This file comes from bison-1.28. */
22693 -/* Skeleton output parser for bison,
22694 - Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
22696 - This program is free software; you can redistribute it and/or modify
22697 - it under the terms of the GNU General Public License as published by
22698 - the Free Software Foundation; either version 2, or (at your option)
22699 - any later version.
22701 - This program is distributed in the hope that it will be useful,
22702 - but WITHOUT ANY WARRANTY; without even the implied warranty of
22703 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22704 - GNU General Public License for more details.
22706 - You should have received a copy of the GNU General Public License
22707 - along with this program; if not, write to the Free Software
22708 - Foundation, Inc., 59 Temple Place - Suite 330,
22709 - Boston, MA 02111-1307, USA. */
22711 -/* As a special exception, when this file is copied by Bison into a
22712 - Bison output file, you may use that output file without restriction.
22713 - This special exception was added by the Free Software Foundation
22714 - in version 1.24 of Bison. */
22715 +static const yysigned_char yycheck[] =
22717 + 3, 3, 3, 3, 3, 35, 36, 10, 11, 12,
22718 + 13, 0, 28, 15, 17, 30, 19, 30, 21, 3,
22719 + 38, 23, 3, 3, 30, 24, 26, 27, 38, 31,
22720 + 22, 3, 34, 32, 33, 15, 39, 39, 39, 39,
22721 + 39, 16, 40, 23, 40, 26, 27, 40, 23, 40,
22722 + 40, 31, 24, 30, 34, 40, 3, 4, 22, 34,
22723 + 32, 33, 9, 38, 18, 19, 20, 14, 17, 16,
22724 + 39, 46, 21, 4, 5, 6, 7, 8, 25, 30,
22725 + 29, 9, 31, 3, 30, 34, 56, 110, 37, 62,
22726 + 10, 11, 12, 13, 70, 73, 78, 17, 81, 19,
22727 + 3, 21, 4, 2, 5, -1, 103, -1, 6
22730 -/* This is the parser code that is written into each bison parser
22731 - when the %semantic_parser declaration is not specified in the grammar.
22732 - It was written by Richard Stallman by simplifying the hairy parser
22733 - used when %semantic_parser is specified. */
22735 -#ifndef YYSTACK_USE_ALLOCA
22737 -#define YYSTACK_USE_ALLOCA
22738 -#else /* alloca not defined */
22740 -#define YYSTACK_USE_ALLOCA
22741 -#define alloca __builtin_alloca
22742 -#else /* not GNU C. */
22743 -#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) || (defined (__sun) && defined (__i386))
22744 -#define YYSTACK_USE_ALLOCA
22745 -#include <alloca.h>
22746 -#else /* not sparc */
22747 -/* We think this test detects Watcom and Microsoft C. */
22748 -/* This used to test MSDOS, but that is a bad idea
22749 - since that symbol is in the user namespace. */
22750 -#if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__)
22751 -#if 0 /* No need for malloc.h, which pollutes the namespace;
22752 - instead, just don't use alloca. */
22753 -#include <malloc.h>
22755 -#else /* not MSDOS, or __TURBOC__ */
22757 -/* I don't know what this was needed for, but it pollutes the namespace.
22758 - So I turned it off. rms, 2 May 1997. */
22759 -/* #include <malloc.h> */
22761 -#define YYSTACK_USE_ALLOCA
22762 -#else /* not MSDOS, or __TURBOC__, or _AIX */
22764 -#ifdef __hpux /* haible@ilog.fr says this works for HPUX 9.05 and up,
22765 - and on HPUX 10. Eventually we can turn this on. */
22766 -#define YYSTACK_USE_ALLOCA
22767 -#define alloca __builtin_alloca
22768 -#endif /* __hpux */
22770 -#endif /* not _AIX */
22771 -#endif /* not MSDOS, or __TURBOC__ */
22772 -#endif /* not sparc */
22773 -#endif /* not GNU C */
22774 -#endif /* alloca not defined */
22775 -#endif /* YYSTACK_USE_ALLOCA not defined */
22776 +/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
22777 + symbol of state STATE-NUM. */
22778 +static const unsigned char yystos[] =
22780 + 0, 3, 4, 9, 14, 16, 25, 42, 43, 45,
22781 + 4, 5, 6, 7, 8, 66, 3, 24, 32, 33,
22782 + 39, 57, 64, 3, 10, 11, 12, 13, 17, 19,
22783 + 21, 39, 51, 61, 3, 39, 53, 62, 3, 15,
22784 + 23, 31, 34, 39, 55, 63, 3, 26, 27, 39,
22785 + 59, 68, 70, 0, 28, 44, 46, 43, 66, 30,
22786 + 65, 58, 64, 66, 18, 19, 20, 67, 30, 52,
22787 + 61, 66, 54, 62, 66, 38, 30, 56, 63, 66,
22788 + 60, 68, 69, 38, 44, 40, 58, 22, 40, 52,
22789 + 40, 54, 40, 56, 40, 60, 35, 36, 71, 47,
22790 + 30, 39, 48, 17, 21, 29, 31, 34, 37, 49,
22791 + 50, 67, 30, 40, 49, 22, 30
22794 -#ifdef YYSTACK_USE_ALLOCA
22795 -#define YYSTACK_ALLOC alloca
22797 -#define YYSTACK_ALLOC malloc
22798 +#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
22799 +# define YYSIZE_T __SIZE_TYPE__
22801 +#if ! defined (YYSIZE_T) && defined (size_t)
22802 +# define YYSIZE_T size_t
22804 +#if ! defined (YYSIZE_T)
22805 +# if defined (__STDC__) || defined (__cplusplus)
22806 +# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
22807 +# define YYSIZE_T size_t
22810 +#if ! defined (YYSIZE_T)
22811 +# define YYSIZE_T unsigned int
22814 -/* Note: there must be only one dollar sign in this file.
22815 - It is replaced by the list of actions, each action
22816 - as one case of the switch. */
22818 #define yyerrok (yyerrstatus = 0)
22819 #define yyclearin (yychar = YYEMPTY)
22820 -#define YYEMPTY -2
22821 +#define YYEMPTY (-2)
22824 #define YYACCEPT goto yyacceptlab
22825 -#define YYABORT goto yyabortlab
22826 -#define YYERROR goto yyerrlab1
22827 -/* Like YYERROR except do call yyerror.
22828 - This remains here temporarily to ease the
22829 - transition to the new meaning of YYERROR, for GCC.
22830 +#define YYABORT goto yyabortlab
22831 +#define YYERROR goto yyerrorlab
22834 +/* Like YYERROR except do call yyerror. This remains here temporarily
22835 + to ease the transition to the new meaning of YYERROR, for GCC.
22836 Once GCC version 2 has supplanted version 1, this can go. */
22838 #define YYFAIL goto yyerrlab
22840 #define YYRECOVERING() (!!yyerrstatus)
22841 -#define YYBACKUP(token, value) \
22843 +#define YYBACKUP(Token, Value) \
22845 if (yychar == YYEMPTY && yylen == 1) \
22846 - { yychar = (token), yylval = (value); \
22847 - yychar1 = YYTRANSLATE (yychar); \
22849 + yychar = (Token); \
22850 + yylval = (Value); \
22851 + yytoken = YYTRANSLATE (yychar); \
22856 - { yyerror ("syntax error: cannot back up"); YYERROR; } \
22858 + yyerror ("syntax error: cannot back up");\
22864 #define YYERRCODE 256
22867 -#define YYLEX yylex()
22869 +/* YYLLOC_DEFAULT -- Compute the default location (before the actions
22873 -#ifdef YYLSP_NEEDED
22874 -#ifdef YYLEX_PARAM
22875 -#define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM)
22877 -#define YYLEX yylex(&yylval, &yylloc)
22878 +#ifndef YYLLOC_DEFAULT
22879 +# define YYLLOC_DEFAULT(Current, Rhs, N) \
22880 + ((Current).first_line = (Rhs)[1].first_line, \
22881 + (Current).first_column = (Rhs)[1].first_column, \
22882 + (Current).last_line = (Rhs)[N].last_line, \
22883 + (Current).last_column = (Rhs)[N].last_column)
22885 -#else /* not YYLSP_NEEDED */
22887 +/* YYLEX -- calling `yylex' with the right arguments. */
22890 -#define YYLEX yylex(&yylval, YYLEX_PARAM)
22891 +# define YYLEX yylex (YYLEX_PARAM)
22893 -#define YYLEX yylex(&yylval)
22895 -#endif /* not YYLSP_NEEDED */
22896 +# define YYLEX yylex ()
22899 -/* If nonreentrant, generate the variables here */
22900 +/* Enable debugging if requested. */
22904 +# ifndef YYFPRINTF
22905 +# include <stdio.h> /* INFRINGES ON USER NAME SPACE */
22906 +# define YYFPRINTF fprintf
22909 +# define YYDPRINTF(Args) \
22912 + YYFPRINTF Args; \
22915 +# define YYDSYMPRINT(Args) \
22918 + yysymprint Args; \
22921 +# define YYDSYMPRINTF(Title, Token, Value, Location) \
22925 + YYFPRINTF (stderr, "%s ", Title); \
22926 + yysymprint (stderr, \
22928 + YYFPRINTF (stderr, "\n"); \
22932 -int yychar; /* the lookahead symbol */
22933 -YYSTYPE yylval; /* the semantic value of the */
22934 - /* lookahead symbol */
22935 +/*------------------------------------------------------------------.
22936 +| yy_stack_print -- Print the state stack from its BOTTOM up to its |
22937 +| TOP (included). |
22938 +`------------------------------------------------------------------*/
22940 -#ifdef YYLSP_NEEDED
22941 -YYLTYPE yylloc; /* location data for the lookahead */
22943 +#if defined (__STDC__) || defined (__cplusplus)
22945 +yy_stack_print (short int *bottom, short int *top)
22948 +yy_stack_print (bottom, top)
22949 + short int *bottom;
22953 + YYFPRINTF (stderr, "Stack now");
22954 + for (/* Nothing. */; bottom <= top; ++bottom)
22955 + YYFPRINTF (stderr, " %d", *bottom);
22956 + YYFPRINTF (stderr, "\n");
22959 +# define YY_STACK_PRINT(Bottom, Top) \
22962 + yy_stack_print ((Bottom), (Top)); \
22965 -int yynerrs; /* number of parse errors so far */
22966 -#endif /* not YYPURE */
22969 -int yydebug; /* nonzero means print parse trace */
22970 -/* Since this is uninitialized, it does not stop multiple parsers
22971 - from coexisting. */
22972 +/*------------------------------------------------.
22973 +| Report that the YYRULE is going to be reduced. |
22974 +`------------------------------------------------*/
22976 +#if defined (__STDC__) || defined (__cplusplus)
22978 +yy_reduce_print (int yyrule)
22981 +yy_reduce_print (yyrule)
22986 + unsigned int yylno = yyrline[yyrule];
22987 + YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ",
22988 + yyrule - 1, yylno);
22989 + /* Print the symbols being reduced, and their result. */
22990 + for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)
22991 + YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]);
22992 + YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]);
22995 +# define YY_REDUCE_PRINT(Rule) \
22998 + yy_reduce_print (Rule); \
23001 +/* Nonzero means print parse trace. It is left uninitialized so that
23002 + multiple parsers can coexist. */
23004 +#else /* !YYDEBUG */
23005 +# define YYDPRINTF(Args)
23006 +# define YYDSYMPRINT(Args)
23007 +# define YYDSYMPRINTF(Title, Token, Value, Location)
23008 +# define YY_STACK_PRINT(Bottom, Top)
23009 +# define YY_REDUCE_PRINT(Rule)
23010 +#endif /* !YYDEBUG */
23012 -/* YYINITDEPTH indicates the initial size of the parser's stacks */
23014 +/* YYINITDEPTH -- initial size of the parser's stacks. */
23015 #ifndef YYINITDEPTH
23016 -#define YYINITDEPTH 200
23017 +# define YYINITDEPTH 200
23020 -/* YYMAXDEPTH is the maximum size the stacks can grow to
23021 - (effective only if the built-in stack extension method is used). */
23022 +/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
23023 + if the built-in stack extension method is used).
23025 -#if YYMAXDEPTH == 0
23027 + Do not make this value too large; the results are undefined if
23028 + SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH)
23029 + evaluated with infinite-precision integer arithmetic. */
23031 +#if defined (YYMAXDEPTH) && YYMAXDEPTH == 0
23032 +# undef YYMAXDEPTH
23036 -#define YYMAXDEPTH 10000
23037 +# define YYMAXDEPTH 10000
23041 -/* Define __yy_memcpy. Note that the size argument
23042 - should be passed with type unsigned int, because that is what the non-GCC
23043 - definitions require. With GCC, __builtin_memcpy takes an arg
23044 - of type size_t, but it can handle unsigned int. */
23046 -#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
23047 -#define __yy_memcpy(TO,FROM,COUNT) __builtin_memcpy(TO,FROM,COUNT)
23048 -#else /* not GNU C or C++ */
23049 -#ifndef __cplusplus
23051 -/* This is the most reliable way to avoid incompatibilities
23052 - in available built-in functions on various systems. */
23054 -__yy_memcpy (to, from, count)
23057 - unsigned int count;
23059 - register char *f = from;
23060 - register char *t = to;
23061 - register int i = count;
23062 +#if YYERROR_VERBOSE
23067 +# if defined (__GLIBC__) && defined (_STRING_H)
23068 +# define yystrlen strlen
23070 +/* Return the length of YYSTR. */
23072 +# if defined (__STDC__) || defined (__cplusplus)
23073 +yystrlen (const char *yystr)
23076 + const char *yystr;
23079 + register const char *yys = yystr;
23081 + while (*yys++ != '\0')
23084 + return yys - yystr - 1;
23089 -#else /* __cplusplus */
23091 +# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE)
23092 +# define yystpcpy stpcpy
23094 +/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
23097 +# if defined (__STDC__) || defined (__cplusplus)
23098 +yystpcpy (char *yydest, const char *yysrc)
23100 +yystpcpy (yydest, yysrc)
23102 + const char *yysrc;
23105 + register char *yyd = yydest;
23106 + register const char *yys = yysrc;
23108 + while ((*yyd++ = *yys++) != '\0')
23116 -/* This is the most reliable way to avoid incompatibilities
23117 - in available built-in functions on various systems. */
23118 +#endif /* !YYERROR_VERBOSE */
23123 +/*--------------------------------.
23124 +| Print this symbol on YYOUTPUT. |
23125 +`--------------------------------*/
23127 +#if defined (__STDC__) || defined (__cplusplus)
23129 -__yy_memcpy (char *to, char *from, unsigned int count)
23130 +yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep)
23133 +yysymprint (yyoutput, yytype, yyvaluep)
23136 + YYSTYPE *yyvaluep;
23139 - register char *t = to;
23140 - register char *f = from;
23141 - register int i = count;
23142 + /* Pacify ``unused variable'' warnings. */
23147 + if (yytype < YYNTOKENS)
23149 + YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
23151 + YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
23155 + YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
23162 + YYFPRINTF (yyoutput, ")");
23165 +#endif /* ! YYDEBUG */
23166 +/*-----------------------------------------------.
23167 +| Release the memory associated to this symbol. |
23168 +`-----------------------------------------------*/
23170 +#if defined (__STDC__) || defined (__cplusplus)
23172 +yydestruct (int yytype, YYSTYPE *yyvaluep)
23175 +yydestruct (yytype, yyvaluep)
23177 + YYSTYPE *yyvaluep;
23181 + /* Pacify ``unused variable'' warnings. */
23192 -#line 217 "/usr/lib/bison.simple"
23194 -/* The user can define YYPARSE_PARAM as the name of an argument to be passed
23195 - into yyparse. The argument should have type void *.
23196 - It should actually point to an object.
23197 - Grammar actions can access the variable by casting it
23198 - to the proper pointer type. */
23199 +/* Prevent warnings from -Wmissing-prototypes. */
23201 #ifdef YYPARSE_PARAM
23202 -#ifdef __cplusplus
23203 -#define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
23204 -#define YYPARSE_PARAM_DECL
23205 -#else /* not __cplusplus */
23206 -#define YYPARSE_PARAM_ARG YYPARSE_PARAM
23207 -#define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
23208 -#endif /* not __cplusplus */
23209 -#else /* not YYPARSE_PARAM */
23210 -#define YYPARSE_PARAM_ARG
23211 -#define YYPARSE_PARAM_DECL
23212 -#endif /* not YYPARSE_PARAM */
23213 +# if defined (__STDC__) || defined (__cplusplus)
23214 +int yyparse (void *YYPARSE_PARAM);
23218 +#else /* ! YYPARSE_PARAM */
23219 +#if defined (__STDC__) || defined (__cplusplus)
23220 +int yyparse (void);
23224 +#endif /* ! YYPARSE_PARAM */
23228 +/* The lookahead symbol. */
23231 +/* The semantic value of the lookahead symbol. */
23234 +/* Number of syntax errors so far. */
23243 -/* Prevent warning if -Wstrict-prototypes. */
23245 #ifdef YYPARSE_PARAM
23246 -int yyparse (void *);
23247 +# if defined (__STDC__) || defined (__cplusplus)
23248 +int yyparse (void *YYPARSE_PARAM)
23250 +int yyparse (YYPARSE_PARAM)
23251 + void *YYPARSE_PARAM;
23253 +#else /* ! YYPARSE_PARAM */
23254 +#if defined (__STDC__) || defined (__cplusplus)
23258 -int yyparse (void);
23266 -yyparse(YYPARSE_PARAM_ARG)
23267 - YYPARSE_PARAM_DECL
23270 register int yystate;
23272 - register short *yyssp;
23274 + /* Number of tokens to shift before error messages enabled. */
23276 + /* Lookahead token as an internal (translated) token number. */
23279 + /* Three stacks and their tools:
23280 + `yyss': related to states,
23281 + `yyvs': related to semantic values,
23282 + `yyls': related to locations.
23284 + Refer to the stacks thru separate pointers, to allow yyoverflow
23285 + to reallocate them elsewhere. */
23287 + /* The state stack. */
23288 + short int yyssa[YYINITDEPTH];
23289 + short int *yyss = yyssa;
23290 + register short int *yyssp;
23292 + /* The semantic value stack. */
23293 + YYSTYPE yyvsa[YYINITDEPTH];
23294 + YYSTYPE *yyvs = yyvsa;
23295 register YYSTYPE *yyvsp;
23296 - int yyerrstatus; /* number of tokens to shift before error messages enabled */
23297 - int yychar1 = 0; /* lookahead token as an internal (translated) token number */
23299 - short yyssa[YYINITDEPTH]; /* the state stack */
23300 - YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */
23302 - short *yyss = yyssa; /* refer to the stacks thru separate pointers */
23303 - YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */
23305 -#ifdef YYLSP_NEEDED
23306 - YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */
23307 - YYLTYPE *yyls = yylsa;
23310 -#define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
23312 #define YYPOPSTACK (yyvsp--, yyssp--)
23315 - int yystacksize = YYINITDEPTH;
23316 - int yyfree_stacks = 0;
23317 + YYSIZE_T yystacksize = YYINITDEPTH;
23323 -#ifdef YYLSP_NEEDED
23327 + /* The variables used to return semantic value and location from the
23328 + action routines. */
23331 - YYSTYPE yyval; /* the variable used to return */
23332 - /* semantic values from the action */
23335 + /* When reducing, the number of symbols on the RHS of the reduced
23341 - fprintf(stderr, "Starting parse\n");
23343 + YYDPRINTF ((stderr, "Starting parse\n"));
23347 @@ -614,110 +1022,97 @@
23348 so that they stay on the same level as the state stack.
23349 The wasted elements are never initialized. */
23351 - yyssp = yyss - 1;
23354 -#ifdef YYLSP_NEEDED
23358 -/* Push a new state, which is found in yystate . */
23359 -/* In all cases, when you get here, the value and location stacks
23360 - have just been pushed. so pushing a state here evens the stacks. */
23363 - *++yyssp = yystate;
23366 - if (yyssp >= yyss + yystacksize - 1)
23368 - /* Give user a chance to reallocate the stack */
23369 - /* Use copies of these so that the &'s don't force the real ones into memory. */
23370 - YYSTYPE *yyvs1 = yyvs;
23371 - short *yyss1 = yyss;
23372 -#ifdef YYLSP_NEEDED
23373 - YYLTYPE *yyls1 = yyls;
23375 +/*------------------------------------------------------------.
23376 +| yynewstate -- Push a new state, which is found in yystate. |
23377 +`------------------------------------------------------------*/
23379 + /* In all cases, when you get here, the value and location stacks
23380 + have just been pushed. so pushing a state here evens the stacks.
23385 + *yyssp = yystate;
23387 + if (yyss + yystacksize - 1 <= yyssp)
23389 /* Get the current used size of the three stacks, in elements. */
23390 - int size = yyssp - yyss + 1;
23391 + YYSIZE_T yysize = yyssp - yyss + 1;
23394 - /* Each stack pointer address is followed by the size of
23395 - the data in use in that stack, in bytes. */
23396 -#ifdef YYLSP_NEEDED
23397 - /* This used to be a conditional around just the two extra args,
23398 - but that might be undefined if yyoverflow is a macro. */
23399 - yyoverflow("parser stack overflow",
23400 - &yyss1, size * sizeof (*yyssp),
23401 - &yyvs1, size * sizeof (*yyvsp),
23402 - &yyls1, size * sizeof (*yylsp),
23405 - yyoverflow("parser stack overflow",
23406 - &yyss1, size * sizeof (*yyssp),
23407 - &yyvs1, size * sizeof (*yyvsp),
23411 - yyss = yyss1; yyvs = yyvs1;
23412 -#ifdef YYLSP_NEEDED
23416 + /* Give user a chance to reallocate the stack. Use copies of
23417 + these so that the &'s don't force the real ones into
23419 + YYSTYPE *yyvs1 = yyvs;
23420 + short int *yyss1 = yyss;
23423 + /* Each stack pointer address is followed by the size of the
23424 + data in use in that stack, in bytes. This used to be a
23425 + conditional around just the two extra args, but that might
23426 + be undefined if yyoverflow is a macro. */
23427 + yyoverflow ("parser stack overflow",
23428 + &yyss1, yysize * sizeof (*yyssp),
23429 + &yyvs1, yysize * sizeof (*yyvsp),
23436 #else /* no yyoverflow */
23437 +# ifndef YYSTACK_RELOCATE
23438 + goto yyoverflowlab;
23440 /* Extend the stack our own way. */
23441 - if (yystacksize >= YYMAXDEPTH)
23443 - yyerror("parser stack overflow");
23444 - if (yyfree_stacks)
23448 -#ifdef YYLSP_NEEDED
23454 + if (YYMAXDEPTH <= yystacksize)
23455 + goto yyoverflowlab;
23457 - if (yystacksize > YYMAXDEPTH)
23458 + if (YYMAXDEPTH < yystacksize)
23459 yystacksize = YYMAXDEPTH;
23460 -#ifndef YYSTACK_USE_ALLOCA
23461 - yyfree_stacks = 1;
23463 - yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp));
23464 - __yy_memcpy ((char *)yyss, (char *)yyss1,
23465 - size * (unsigned int) sizeof (*yyssp));
23466 - yyvs = (YYSTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yyvsp));
23467 - __yy_memcpy ((char *)yyvs, (char *)yyvs1,
23468 - size * (unsigned int) sizeof (*yyvsp));
23469 -#ifdef YYLSP_NEEDED
23470 - yyls = (YYLTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yylsp));
23471 - __yy_memcpy ((char *)yyls, (char *)yyls1,
23472 - size * (unsigned int) sizeof (*yylsp));
23476 + short int *yyss1 = yyss;
23477 + union yyalloc *yyptr =
23478 + (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
23480 + goto yyoverflowlab;
23481 + YYSTACK_RELOCATE (yyss);
23482 + YYSTACK_RELOCATE (yyvs);
23484 +# undef YYSTACK_RELOCATE
23485 + if (yyss1 != yyssa)
23486 + YYSTACK_FREE (yyss1);
23489 #endif /* no yyoverflow */
23491 - yyssp = yyss + size - 1;
23492 - yyvsp = yyvs + size - 1;
23493 -#ifdef YYLSP_NEEDED
23494 - yylsp = yyls + size - 1;
23496 + yyssp = yyss + yysize - 1;
23497 + yyvsp = yyvs + yysize - 1;
23501 - fprintf(stderr, "Stack size increased to %d\n", yystacksize);
23504 - if (yyssp >= yyss + yystacksize - 1)
23505 + YYDPRINTF ((stderr, "Stack size increased to %lu\n",
23506 + (unsigned long int) yystacksize));
23508 + if (yyss + yystacksize - 1 <= yyssp)
23514 - fprintf(stderr, "Entering state %d\n", yystate);
23516 + YYDPRINTF ((stderr, "Entering state %d\n", yystate));
23526 /* Do appropriate processing given the current state. */
23527 /* Read a lookahead token if we need one and don't already have one. */
23528 @@ -726,135 +1121,99 @@
23529 /* First try to decide what to do without reference to lookahead token. */
23531 yyn = yypact[yystate];
23532 - if (yyn == YYFLAG)
23533 + if (yyn == YYPACT_NINF)
23536 /* Not known => get a lookahead token if don't already have one. */
23538 - /* yychar is either YYEMPTY or YYEOF
23539 - or a valid token in external form. */
23541 + /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */
23542 if (yychar == YYEMPTY)
23546 - fprintf(stderr, "Reading a token: ");
23548 + YYDPRINTF ((stderr, "Reading a token: "));
23552 - /* Convert token to internal form (in yychar1) for indexing tables with */
23554 - if (yychar <= 0) /* This means end of input. */
23555 + if (yychar <= YYEOF)
23558 - yychar = YYEOF; /* Don't call YYLEX any more */
23562 - fprintf(stderr, "Now at end of input.\n");
23564 + yychar = yytoken = YYEOF;
23565 + YYDPRINTF ((stderr, "Now at end of input.\n"));
23569 - yychar1 = YYTRANSLATE(yychar);
23574 - fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
23575 - /* Give the individual parser a way to print the precise meaning
23576 - of a token, for further debugging info. */
23578 - YYPRINT (stderr, yychar, yylval);
23580 - fprintf (stderr, ")\n");
23583 + yytoken = YYTRANSLATE (yychar);
23584 + YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc);
23588 - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
23589 + /* If the proper action on seeing token YYTOKEN is to reduce or to
23590 + detect an error, take that action. */
23592 + if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
23595 yyn = yytable[yyn];
23597 - /* yyn is what to do for this token type in this state.
23598 - Negative => reduce, -yyn is rule number.
23599 - Positive => shift, yyn is new state.
23600 - New state is final state => don't bother to shift,
23601 - just return success.
23602 - 0, or most negative number => error. */
23607 - if (yyn == YYFLAG)
23608 + if (yyn == 0 || yyn == YYTABLE_NINF)
23613 - else if (yyn == 0)
23616 if (yyn == YYFINAL)
23619 /* Shift the lookahead token. */
23623 - fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
23625 + YYDPRINTF ((stderr, "Shifting token %s, ", yytname[yytoken]));
23627 /* Discard the token being shifted unless it is eof. */
23628 if (yychar != YYEOF)
23632 -#ifdef YYLSP_NEEDED
23633 - *++yylsp = yylloc;
23636 - /* count tokens shifted since error; after three, turn off error status. */
23637 - if (yyerrstatus) yyerrstatus--;
23639 + /* Count tokens shifted since error; after three, turn off error
23647 -/* Do the default action for the current state. */
23650 +/*-----------------------------------------------------------.
23651 +| yydefault -- do the default action for the current state. |
23652 +`-----------------------------------------------------------*/
23654 yyn = yydefact[yystate];
23660 -/* Do a reduction. yyn is the number of a rule to reduce with. */
23661 +/*-----------------------------.
23662 +| yyreduce -- Do a reduction. |
23663 +`-----------------------------*/
23665 + /* yyn is the number of a rule to reduce with. */
23668 - yyval = yyvsp[1-yylen]; /* implement default value of the action */
23675 - fprintf (stderr, "Reducing via rule %d (line %d), ",
23676 - yyn, yyrline[yyn]);
23677 + /* If YYLEN is nonzero, implement the default value of the action:
23680 - /* Print the symbols being reduced, and their result. */
23681 - for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
23682 - fprintf (stderr, "%s ", yytname[yyrhs[i]]);
23683 - fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
23686 + Otherwise, the following line sets YYVAL to garbage.
23687 + This behavior is undocumented and Bison
23688 + users should not rely upon it. Assigning to YYVAL
23689 + unconditionally makes the parser a bit smaller, and it avoids a
23690 + GCC warning that YYVAL may be used uninitialized. */
23691 + yyval = yyvsp[1-yylen];
23697 -#line 83 "cfg_y.y"
23699 + YY_REDUCE_PRINT (yyn);
23703 +#line 86 "cfg_y.y"
23705 if (!curr_sig->uni)
23707 #if defined(UNI30) || defined(DYNAMIC_UNI)
23708 @@ -873,17 +1232,19 @@
23715 -#line 107 "cfg_y.y"
23721 +#line 110 "cfg_y.y"
23723 set_verbosity(NULL,yyvsp[0].num);
23727 -#line 119 "cfg_y.y"
23733 +#line 122 "cfg_y.y"
23735 SIG_ENTITY *sig,**walk;
23737 if (atmpvc_addr_in_use(_entity.signaling_pvc))
23738 @@ -892,37 +1253,49 @@
23739 if (entities == &_entity) entities = NULL;
23740 for (sig = entities; sig; sig = sig->next)
23741 if (atm_equal((struct sockaddr *) &sig->signaling_pvc,
23742 - (struct sockaddr *) &yyvsp[0].pvc,0,0))
23743 - yyerror("duplicate PVC address %d.%d.%d",S_PVC(sig));
23744 + (struct sockaddr *) &yyvsp[0].pvc,0,0)) {
23746 + asprintf(&err,"duplicate PVC address %d.%d.%d",S_PVC(sig));
23752 + yyerror("duplicate PVC address");
23754 curr_sig = alloc_t(SIG_ENTITY);
23755 *curr_sig = _entity;
23756 curr_sig->signaling_pvc = yyvsp[0].pvc;
23757 curr_sig->next = NULL;
23758 for (walk = &entities; *walk; walk = &(*walk)->next);
23763 -#line 150 "cfg_y.y"
23769 +#line 161 "cfg_y.y"
23771 enter_vpci(curr_sig,yyvsp[-2].num,yyvsp[0].num);
23775 -#line 155 "cfg_y.y"
23781 +#line 166 "cfg_y.y"
23783 curr_sig->sig_qos = yyvsp[0].str;
23787 -#line 159 "cfg_y.y"
23793 +#line 170 "cfg_y.y"
23795 curr_sig->max_rate = yyvsp[0].num;
23799 -#line 163 "cfg_y.y"
23805 +#line 174 "cfg_y.y"
23807 struct sockaddr_atmsvc addr;
23810 @@ -931,464 +1304,506 @@
23811 if (text2atm(yyvsp[0].str,(struct sockaddr *) &addr,sizeof(addr),
23812 T2A_SVC | T2A_WILDCARD | T2A_NAME | T2A_LOCAL) < 0) {
23813 yyerror("invalid address");
23817 add_route(curr_sig,&addr,mask ? strtol(mask,NULL,10) : INT_MAX);
23821 -#line 177 "cfg_y.y"
23827 +#line 188 "cfg_y.y"
23829 add_route(curr_sig,NULL,0);
23833 -#line 229 "cfg_y.y"
23839 +#line 240 "cfg_y.y"
23841 set_verbosity("UNI",yyvsp[0].num);
23842 set_verbosity("KERNEL",yyvsp[0].num);
23843 set_verbosity("SAP",yyvsp[0].num);
23847 -#line 235 "cfg_y.y"
23853 +#line 246 "cfg_y.y"
23855 enter_vpci(curr_sig,yyvsp[-2].num,yyvsp[0].num);
23859 -#line 239 "cfg_y.y"
23865 +#line 250 "cfg_y.y"
23867 #if defined(UNI30) || defined(ALLOW_UNI30) || defined(DYNAMIC_UNI)
23868 if (curr_sig->uni & ~S_UNI31) yyerror("UNI mode is already set");
23869 curr_sig->uni |= S_UNI30;
23871 yyerror("Sorry, not supported yet");
23876 -#line 248 "cfg_y.y"
23882 +#line 259 "cfg_y.y"
23884 #if defined(UNI31) || defined(ALLOW_UNI30) || defined(DYNAMIC_UNI)
23885 if (curr_sig->uni & ~S_UNI30) yyerror("UNI mode is already set");
23886 curr_sig->uni |= S_UNI31;
23888 yyerror("Sorry, not supported yet");
23893 -#line 257 "cfg_y.y"
23899 +#line 268 "cfg_y.y"
23901 #if defined(UNI40) || defined(DYNAMIC_UNI)
23902 if (curr_sig->uni) yyerror("UNI mode is already set");
23903 curr_sig->uni = S_UNI40;
23905 yyerror("Sorry, not supported yet");
23910 -#line 266 "cfg_y.y"
23916 +#line 277 "cfg_y.y"
23918 #if defined(Q2963_1) || defined(DYNAMIC_UNI)
23919 if (!(curr_sig->uni & S_UNI40)) yyerror("Incompatible UNI mode");
23920 curr_sig->uni |= S_Q2963_1;
23922 yyerror("Sorry, not supported yet");
23927 -#line 275 "cfg_y.y"
23933 +#line 286 "cfg_y.y"
23935 yywarn("sig net is obsolete, please use sig mode net instead");
23936 curr_sig->mode = sm_net;
23940 -#line 284 "cfg_y.y"
23946 +#line 295 "cfg_y.y"
23948 set_verbosity("SSCF",yyvsp[0].num);
23949 set_verbosity("SSCOP",yyvsp[0].num);
23953 -#line 292 "cfg_y.y"
23959 +#line 303 "cfg_y.y"
23961 set_verbosity("IO",yyvsp[0].num);
23965 -#line 296 "cfg_y.y"
23971 +#line 307 "cfg_y.y"
23973 curr_sig->signaling_pvc = yyvsp[0].pvc;
23977 -#line 300 "cfg_y.y"
23983 +#line 311 "cfg_y.y"
23985 yywarn("io pcr is obsolete, please use io qos instead");
23986 curr_sig->sig_pcr = yyvsp[0].num;
23990 -#line 305 "cfg_y.y"
23996 +#line 316 "cfg_y.y"
23998 curr_sig->sig_qos = yyvsp[0].str;
24002 -#line 309 "cfg_y.y"
24008 +#line 320 "cfg_y.y"
24010 curr_sig->max_rate = yyvsp[0].num;
24014 -#line 316 "cfg_y.y"
24020 +#line 327 "cfg_y.y"
24022 set_verbosity(NULL,yyvsp[0].num);
24026 -#line 320 "cfg_y.y"
24032 +#line 331 "cfg_y.y"
24034 dump_dir = yyvsp[0].str;
24035 if (!trace_size) trace_size = DEFAULT_TRACE_SIZE;
24039 -#line 325 "cfg_y.y"
24045 +#line 336 "cfg_y.y"
24047 set_logfile(yyvsp[0].str);
24051 -#line 329 "cfg_y.y"
24057 +#line 340 "cfg_y.y"
24059 trace_size = yyvsp[0].num;
24063 -#line 335 "cfg_y.y"
24069 +#line 346 "cfg_y.y"
24071 yyval.num = DEFAULT_TRACE_SIZE;
24075 -#line 339 "cfg_y.y"
24081 +#line 350 "cfg_y.y"
24083 yyval.num = yyvsp[0].num;
24087 -#line 346 "cfg_y.y"
24093 +#line 357 "cfg_y.y"
24095 yyval.num = DIAG_DEBUG;
24099 -#line 350 "cfg_y.y"
24105 +#line 361 "cfg_y.y"
24107 yyval.num = DIAG_INFO;
24111 -#line 354 "cfg_y.y"
24117 +#line 365 "cfg_y.y"
24119 yyval.num = DIAG_WARN;
24123 -#line 358 "cfg_y.y"
24129 +#line 369 "cfg_y.y"
24131 yyval.num = DIAG_ERROR;
24135 -#line 362 "cfg_y.y"
24141 +#line 373 "cfg_y.y"
24143 yyval.num = DIAG_FATAL;
24147 -#line 369 "cfg_y.y"
24153 +#line 380 "cfg_y.y"
24155 curr_sig->mode = sm_user;
24159 -#line 373 "cfg_y.y"
24165 +#line 384 "cfg_y.y"
24167 curr_sig->mode = sm_net;
24171 -#line 377 "cfg_y.y"
24177 +#line 388 "cfg_y.y"
24179 curr_sig->mode = sm_switch;
24183 -#line 384 "cfg_y.y"
24189 +#line 395 "cfg_y.y"
24191 set_verbosity("POLICY",yyvsp[0].num);
24195 -#line 388 "cfg_y.y"
24201 +#line 399 "cfg_y.y"
24203 rule = alloc_t(RULE);
24204 rule->type = yyvsp[0].num;
24208 -#line 397 "cfg_y.y"
24214 +#line 408 "cfg_y.y"
24216 yyval.num = ACL_ALLOW;
24220 -#line 401 "cfg_y.y"
24226 +#line 412 "cfg_y.y"
24228 yyval.num = ACL_REJECT;
24232 -#line 408 "cfg_y.y"
24238 +#line 419 "cfg_y.y"
24240 rule->type |= ACL_IN;
24241 put_address(yyvsp[0].str);
24245 -#line 413 "cfg_y.y"
24251 +#line 424 "cfg_y.y"
24253 rule->type |= ACL_OUT;
24254 put_address(yyvsp[0].str);
24258 - /* the action file gets copied in in place of this dollarsign */
24259 -#line 543 "/usr/lib/bison.simple"
24266 +/* Line 1010 of yacc.c. */
24267 +#line 1585 "y.tab.c"
24271 -#ifdef YYLSP_NEEDED
24278 - short *ssp1 = yyss - 1;
24279 - fprintf (stderr, "state stack now");
24280 - while (ssp1 != yyssp)
24281 - fprintf (stderr, " %d", *++ssp1);
24282 - fprintf (stderr, "\n");
24286 + YY_STACK_PRINT (yyss, yyssp);
24290 -#ifdef YYLSP_NEEDED
24294 - yylsp->first_line = yylloc.first_line;
24295 - yylsp->first_column = yylloc.first_column;
24296 - yylsp->last_line = (yylsp-1)->last_line;
24297 - yylsp->last_column = (yylsp-1)->last_column;
24302 - yylsp->last_line = (yylsp+yylen-1)->last_line;
24303 - yylsp->last_column = (yylsp+yylen-1)->last_column;
24307 - /* Now "shift" the result of the reduction.
24308 - Determine what state that goes to,
24309 - based on the state we popped back to
24310 - and the rule number reduced by. */
24311 + /* Now `shift' the result of the reduction. Determine what state
24312 + that goes to, based on the state we popped back to and the rule
24313 + number reduced by. */
24317 - yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
24318 - if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
24319 + yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
24320 + if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
24321 yystate = yytable[yystate];
24323 - yystate = yydefgoto[yyn - YYNTBASE];
24324 + yystate = yydefgoto[yyn - YYNTOKENS];
24328 -yyerrlab: /* here on detecting error */
24330 - if (! yyerrstatus)
24331 - /* If not already recovering from an error, report this error. */
24332 +/*------------------------------------.
24333 +| yyerrlab -- here on detecting error |
24334 +`------------------------------------*/
24336 + /* If not already recovering from an error, report this error. */
24337 + if (!yyerrstatus)
24341 -#ifdef YYERROR_VERBOSE
24342 +#if YYERROR_VERBOSE
24343 yyn = yypact[yystate];
24345 - if (yyn > YYFLAG && yyn < YYLAST)
24346 + if (YYPACT_NINF < yyn && yyn < YYLAST)
24353 - /* Start X at -yyn if nec to avoid negative indexes in yycheck. */
24354 - for (x = (yyn < 0 ? -yyn : 0);
24355 - x < (sizeof(yytname) / sizeof(char *)); x++)
24356 - if (yycheck[x + yyn] == x)
24357 - size += strlen(yytname[x]) + 15, count++;
24358 - msg = (char *) malloc(size + 15);
24360 + YYSIZE_T yysize = 0;
24361 + int yytype = YYTRANSLATE (yychar);
24362 + const char* yyprefix;
24366 + /* Start YYX at -YYN if negative to avoid negative indexes in
24368 + int yyxbegin = yyn < 0 ? -yyn : 0;
24370 + /* Stay within bounds of both yycheck and yytname. */
24371 + int yychecklim = YYLAST - yyn;
24372 + int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
24375 + yyprefix = ", expecting ";
24376 + for (yyx = yyxbegin; yyx < yyxend; ++yyx)
24377 + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
24379 + yysize += yystrlen (yyprefix) + yystrlen (yytname [yyx]);
24381 + if (yycount == 5)
24387 + yysize += (sizeof ("syntax error, unexpected ")
24388 + + yystrlen (yytname[yytype]));
24389 + yymsg = (char *) YYSTACK_ALLOC (yysize);
24392 - strcpy(msg, "parse error");
24393 + char *yyp = yystpcpy (yymsg, "syntax error, unexpected ");
24394 + yyp = yystpcpy (yyp, yytname[yytype]);
24400 - for (x = (yyn < 0 ? -yyn : 0);
24401 - x < (sizeof(yytname) / sizeof(char *)); x++)
24402 - if (yycheck[x + yyn] == x)
24403 + yyprefix = ", expecting ";
24404 + for (yyx = yyxbegin; yyx < yyxend; ++yyx)
24405 + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
24407 - strcat(msg, count == 0 ? ", expecting `" : " or `");
24408 - strcat(msg, yytname[x]);
24409 - strcat(msg, "'");
24411 + yyp = yystpcpy (yyp, yyprefix);
24412 + yyp = yystpcpy (yyp, yytname[yyx]);
24413 + yyprefix = " or ";
24419 + YYSTACK_FREE (yymsg);
24422 - yyerror ("parse error; also virtual memory exceeded");
24423 + yyerror ("syntax error; also virtual memory exhausted");
24426 #endif /* YYERROR_VERBOSE */
24427 - yyerror("parse error");
24428 + yyerror ("syntax error");
24432 -yyerrlab1: /* here on error raised explicitly by an action */
24435 if (yyerrstatus == 3)
24437 - /* if just tried and failed to reuse lookahead token after an error, discard it. */
24438 + /* If just tried and failed to reuse lookahead token after an
24439 + error, discard it. */
24441 - /* return failure if at end of input */
24442 - if (yychar == YYEOF)
24447 - fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
24449 + if (yychar <= YYEOF)
24451 + /* If at end of input, pop the error token,
24452 + then the rest of the stack, then return failure. */
24453 + if (yychar == YYEOF)
24457 + if (yyssp == yyss)
24459 + YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp);
24460 + yydestruct (yystos[*yyssp], yyvsp);
24465 + YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc);
24466 + yydestruct (yytoken, &yylval);
24467 + yychar = YYEMPTY;
24469 - yychar = YYEMPTY;
24473 - /* Else will try to reuse lookahead token
24474 - after shifting the error token. */
24476 - yyerrstatus = 3; /* Each real token shifted decrements this */
24477 + /* Else will try to reuse lookahead token after shifting the error
24481 - goto yyerrhandle;
24483 -yyerrdefault: /* current state does not do anything special for the error token. */
24484 +/*---------------------------------------------------.
24485 +| yyerrorlab -- error raised explicitly by YYERROR. |
24486 +`---------------------------------------------------*/
24490 - /* This is wrong; only states that explicitly want error tokens
24491 - should shift them. */
24492 - yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/
24493 - if (yyn) goto yydefault;
24495 + /* Pacify GCC when the user code never invokes YYERROR and the label
24496 + yyerrorlab therefore never appears in user code. */
24501 -yyerrpop: /* pop the current state because it cannot handle the error token */
24503 - if (yyssp == yyss) YYABORT;
24505 - yystate = *--yyssp;
24506 -#ifdef YYLSP_NEEDED
24511 + yystate = *yyssp;
24517 - short *ssp1 = yyss - 1;
24518 - fprintf (stderr, "Error: state stack now");
24519 - while (ssp1 != yyssp)
24520 - fprintf (stderr, " %d", *++ssp1);
24521 - fprintf (stderr, "\n");
24526 +/*-------------------------------------------------------------.
24527 +| yyerrlab1 -- common code for both syntax error and YYERROR. |
24528 +`-------------------------------------------------------------*/
24530 + yyerrstatus = 3; /* Each real token shifted decrements this. */
24532 - yyn = yypact[yystate];
24533 - if (yyn == YYFLAG)
24534 - goto yyerrdefault;
24537 + yyn = yypact[yystate];
24538 + if (yyn != YYPACT_NINF)
24541 + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
24543 + yyn = yytable[yyn];
24550 - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
24551 - goto yyerrdefault;
24552 + /* Pop the current state because it cannot handle the error token. */
24553 + if (yyssp == yyss)
24556 - yyn = yytable[yyn];
24559 - if (yyn == YYFLAG)
24563 + YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp);
24564 + yydestruct (yystos[yystate], yyvsp);
24566 + yystate = *yyssp;
24567 + YY_STACK_PRINT (yyss, yyssp);
24569 - else if (yyn == 0)
24572 if (yyn == YYFINAL)
24577 - fprintf(stderr, "Shifting error token, ");
24579 + YYDPRINTF ((stderr, "Shifting error token, "));
24582 -#ifdef YYLSP_NEEDED
24583 - *++yylsp = yylloc;
24591 - /* YYACCEPT comes here. */
24592 - if (yyfree_stacks)
24596 -#ifdef YYLSP_NEEDED
24603 - /* YYABORT comes here. */
24604 - if (yyfree_stacks)
24608 -#ifdef YYLSP_NEEDED
24610 +/*-------------------------------------.
24611 +| yyacceptlab -- YYACCEPT comes here. |
24612 +`-------------------------------------*/
24617 +/*-----------------------------------.
24618 +| yyabortlab -- YYABORT comes here. |
24619 +`-----------------------------------*/
24624 +#ifndef yyoverflow
24625 +/*----------------------------------------------.
24626 +| yyoverflowlab -- parser overflow comes here. |
24627 +`----------------------------------------------*/
24629 + yyerror ("parser stack overflow");
24631 + /* Fall through. */
24635 +#ifndef yyoverflow
24636 + if (yyss != yyssa)
24637 + YYSTACK_FREE (yyss);
24643 -#line 418 "cfg_y.y"
24647 Index: linux-atm-2.4.1/src/sigd/proto.c
24648 ===================================================================
24649 --- linux-atm-2.4.1.orig/src/sigd/proto.c 2007-10-20 19:19:11.098260930 +0200
24650 +++ linux-atm-2.4.1/src/sigd/proto.c 2007-10-20 19:19:12.058315640 +0200
24651 @@ -259,6 +259,7 @@
24658 if ((size = q_close(&dsc)) >= 0) to_signaling(sock->sig,q_buffer,size);
24659 @@ -288,6 +289,7 @@
24667 Index: linux-atm-2.4.1/src/sigd/cfg_y.y
24668 ===================================================================
24669 --- linux-atm-2.4.1.orig/src/sigd/cfg_y.y 2007-10-20 19:19:11.106261388 +0200
24670 +++ linux-atm-2.4.1/src/sigd/cfg_y.y 2007-10-20 19:19:12.066316098 +0200
24672 #include <config.h>
24675 +#include <stdlib.h>
24676 #include <string.h>
24678 #include <limits.h>
24681 #include "policy.h"
24683 +extern void yywarn(const char *s);
24684 +extern void yyerror(const char *s);
24687 static SIG_ENTITY *curr_sig = &_entity;
24688 @@ -125,8 +128,16 @@
24689 if (entities == &_entity) entities = NULL;
24690 for (sig = entities; sig; sig = sig->next)
24691 if (atm_equal((struct sockaddr *) &sig->signaling_pvc,
24692 - (struct sockaddr *) &$2,0,0))
24693 - yyerror("duplicate PVC address %d.%d.%d",S_PVC(sig));
24694 + (struct sockaddr *) &$2,0,0)) {
24696 + asprintf(&err,"duplicate PVC address %d.%d.%d",S_PVC(sig));
24702 + yyerror("duplicate PVC address");
24704 curr_sig = alloc_t(SIG_ENTITY);
24705 *curr_sig = _entity;
24706 curr_sig->signaling_pvc = $2;
24707 @@ -169,7 +180,7 @@
24708 if (text2atm($1,(struct sockaddr *) &addr,sizeof(addr),
24709 T2A_SVC | T2A_WILDCARD | T2A_NAME | T2A_LOCAL) < 0) {
24710 yyerror("invalid address");
24714 add_route(curr_sig,&addr,mask ? strtol(mask,NULL,10) : INT_MAX);
24716 Index: linux-atm-2.4.1/src/sigd/cfg_y.h
24717 ===================================================================
24718 --- linux-atm-2.4.1.orig/src/sigd/cfg_y.h 2007-10-20 19:19:11.110261618 +0200
24719 +++ linux-atm-2.4.1/src/sigd/cfg_y.h 2007-10-20 19:19:12.066316098 +0200
24722 +/* A Bison parser, made by GNU Bison 1.875d. */
24724 +/* Skeleton parser for Yacc-like parsing with Bison,
24725 + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
24727 + This program is free software; you can redistribute it and/or modify
24728 + it under the terms of the GNU General Public License as published by
24729 + the Free Software Foundation; either version 2, or (at your option)
24730 + any later version.
24732 + This program is distributed in the hope that it will be useful,
24733 + but WITHOUT ANY WARRANTY; without even the implied warranty of
24734 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24735 + GNU General Public License for more details.
24737 + You should have received a copy of the GNU General Public License
24738 + along with this program; if not, write to the Free Software
24739 + Foundation, Inc., 59 Temple Place - Suite 330,
24740 + Boston, MA 02111-1307, USA. */
24742 +/* As a special exception, when this file is copied by Bison into a
24743 + Bison output file, you may use that output file without restriction.
24744 + This special exception was added by the Free Software Foundation
24745 + in version 1.24 of Bison. */
24748 +#ifndef YYTOKENTYPE
24749 +# define YYTOKENTYPE
24750 + /* Put the tokens into the symbol table, so that GDB and other debuggers
24751 + know about them. */
24752 + enum yytokentype {
24763 + TOK_Q2963_1 = 268,
24770 + TOK_SWITCH = 275,
24775 + TOK_POLICY = 280,
24777 + TOK_REJECT = 282,
24778 + TOK_ENTITY = 283,
24779 + TOK_DEFAULT = 284,
24780 + TOK_NUMBER = 285,
24781 + TOK_MAX_RATE = 286,
24782 + TOK_DUMP_DIR = 287,
24783 + TOK_LOGFILE = 288,
24791 +#define TOK_LEVEL 258
24792 +#define TOK_DEBUG 259
24793 +#define TOK_INFO 260
24794 +#define TOK_WARN 261
24795 +#define TOK_ERROR 262
24796 +#define TOK_FATAL 263
24797 +#define TOK_SIG 264
24798 +#define TOK_UNI30 265
24799 +#define TOK_UNI31 266
24800 +#define TOK_UNI40 267
24801 +#define TOK_Q2963_1 268
24802 +#define TOK_SAAL 269
24803 +#define TOK_VC 270
24804 +#define TOK_IO 271
24805 +#define TOK_MODE 272
24806 +#define TOK_USER 273
24807 +#define TOK_NET 274
24808 +#define TOK_SWITCH 275
24809 +#define TOK_VPCI 276
24810 +#define TOK_ITF 277
24811 +#define TOK_PCR 278
24812 +#define TOK_TRACE 279
24813 +#define TOK_POLICY 280
24814 +#define TOK_ALLOW 281
24815 +#define TOK_REJECT 282
24816 +#define TOK_ENTITY 283
24817 +#define TOK_DEFAULT 284
24818 +#define TOK_NUMBER 285
24819 +#define TOK_MAX_RATE 286
24820 +#define TOK_DUMP_DIR 287
24821 +#define TOK_LOGFILE 288
24822 +#define TOK_QOS 289
24823 +#define TOK_FROM 290
24824 +#define TOK_TO 291
24825 +#define TOK_ROUTE 292
24826 +#define TOK_PVC 293
24831 +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
24832 +#line 56 "cfg_y.y"
24833 +typedef union YYSTYPE {
24836 struct sockaddr_atmpvc pvc;
24838 -#define TOK_LEVEL 257
24839 -#define TOK_DEBUG 258
24840 -#define TOK_INFO 259
24841 -#define TOK_WARN 260
24842 -#define TOK_ERROR 261
24843 -#define TOK_FATAL 262
24844 -#define TOK_SIG 263
24845 -#define TOK_UNI30 264
24846 -#define TOK_UNI31 265
24847 -#define TOK_UNI40 266
24848 -#define TOK_Q2963_1 267
24849 -#define TOK_SAAL 268
24850 -#define TOK_VC 269
24851 -#define TOK_IO 270
24852 -#define TOK_MODE 271
24853 -#define TOK_USER 272
24854 -#define TOK_NET 273
24855 -#define TOK_SWITCH 274
24856 -#define TOK_VPCI 275
24857 -#define TOK_ITF 276
24858 -#define TOK_PCR 277
24859 -#define TOK_TRACE 278
24860 -#define TOK_POLICY 279
24861 -#define TOK_ALLOW 280
24862 -#define TOK_REJECT 281
24863 -#define TOK_ENTITY 282
24864 -#define TOK_DEFAULT 283
24865 -#define TOK_NUMBER 284
24866 -#define TOK_MAX_RATE 285
24867 -#define TOK_DUMP_DIR 286
24868 -#define TOK_LOGFILE 287
24869 -#define TOK_QOS 288
24870 -#define TOK_FROM 289
24871 -#define TOK_TO 290
24872 -#define TOK_ROUTE 291
24873 -#define TOK_PVC 292
24875 +/* Line 1285 of yacc.c. */
24876 +#line 119 "y.tab.h"
24877 +# define yystype YYSTYPE /* obsolescent; will be withdrawn */
24878 +# define YYSTYPE_IS_DECLARED 1
24879 +# define YYSTYPE_IS_TRIVIAL 1
24882 extern YYSTYPE yylval;
24886 Index: linux-atm-2.4.1/src/maint/Makefile.in
24887 ===================================================================
24888 --- linux-atm-2.4.1.orig/src/maint/Makefile.in 2007-10-20 19:19:11.118262070 +0200
24889 +++ linux-atm-2.4.1/src/maint/Makefile.in 2007-10-20 19:19:12.086317238 +0200
24891 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
24892 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
24894 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
24895 # This Makefile.in is free software; the Free Software Foundation
24896 @@ -181,8 +181,11 @@
24898 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
24903 +DEP_FILES = .deps/atmaddr.P .deps/atmdiag.P .deps/atmdump.P \
24904 +.deps/atmloop.P .deps/atmtcp.P .deps/enitune.P .deps/esi.P \
24905 +.deps/saaldump.P .deps/sonetdiag.P .deps/zntune.P
24906 SOURCES = $(atmdiag_SOURCES) $(atmdump_SOURCES) $(sonetdiag_SOURCES) $(saaldump_SOURCES) $(atmaddr_SOURCES) $(esi_SOURCES) $(atmloop_SOURCES) $(atmtcp_SOURCES) $(enitune_SOURCES) $(zntune_SOURCES)
24907 OBJECTS = $(atmdiag_OBJECTS) $(atmdump_OBJECTS) $(sonetdiag_OBJECTS) $(saaldump_OBJECTS) $(atmaddr_OBJECTS) $(esi_OBJECTS) $(atmloop_OBJECTS) $(atmtcp_OBJECTS) $(enitune_OBJECTS) $(zntune_OBJECTS)
24909 @@ -190,9 +193,9 @@
24911 .SUFFIXES: .S .c .lo .o .obj .s
24912 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
24913 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/maint/Makefile
24914 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/maint/Makefile
24916 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
24917 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
24918 cd $(top_builddir) \
24919 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
24921 @@ -247,9 +250,6 @@
24922 rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
24928 # FIXME: We should only use cygpath when building on Windows,
24929 # and only if it is available.
24931 @@ -272,9 +272,6 @@
24933 maintainer-clean-compile:
24936 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
24939 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
24941 @@ -388,7 +385,7 @@
24942 awk ' { files[$$0] = 1; } \
24943 END { for (i in files) print i; }'`; \
24944 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
24945 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
24946 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
24950 @@ -404,6 +401,11 @@
24953 distdir: $(DISTFILES)
24954 + here=`cd $(top_builddir) && pwd`; \
24955 + top_distdir=`cd $(top_distdir) && pwd`; \
24956 + distdir=`cd $(distdir) && pwd`; \
24957 + cd $(top_srcdir) \
24958 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/maint/Makefile
24959 @for file in $(DISTFILES); do \
24961 if test -d $$d/$$file; then \
24962 @@ -414,28 +416,38 @@
24963 || cp -p $$d/$$file $(distdir)/$$file || :; \
24966 -atmaddr.o: atmaddr.c ../../config.h ../../src/include/atm.h \
24967 - ../../src/include/stdint.h
24968 -atmdiag.o: atmdiag.c ../../config.h ../../src/include/atm.h \
24969 - ../../src/include/stdint.h
24970 -atmdump.o: atmdump.c ../../config.h ../../src/include/stdint.h \
24971 - ../../src/include/atm.h
24972 -atmloop.o: atmloop.c ../../config.h ../../src/include/atm.h \
24973 - ../../src/include/stdint.h
24974 -atmtcp.o: atmtcp.c ../../config.h ../../src/include/stdint.h \
24975 - ../../src/include/atm.h ../../src/include/atmd.h
24976 -enitune.o: enitune.c ../../config.h ../../src/include/atm.h \
24977 - ../../src/include/stdint.h
24978 -esi.o: esi.c ../../config.h ../../src/include/atm.h \
24979 - ../../src/include/stdint.h
24980 -saaldump.o: saaldump.c ../../config.h ../../src/include/atm.h \
24981 - ../../src/include/stdint.h ../../src/saal/pdu.h \
24982 - ../../src/include/atmd.h ../../src/qgen/qlib.h
24983 -sonetdiag.o: sonetdiag.c ../../config.h ../../src/include/atm.h \
24984 - ../../src/include/stdint.h
24985 -zntune.o: zntune.c ../../config.h ../../src/include/atm.h \
24986 - ../../src/include/stdint.h
24988 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
24990 +-include $(DEP_FILES)
24992 +mostlyclean-depend:
24999 +maintainer-clean-depend:
25002 + @echo '$(COMPILE) -c $<'; \
25003 + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
25004 + @-cp .deps/$(*F).pp .deps/$(*F).P; \
25005 + tr ' ' '\012' < .deps/$(*F).pp \
25006 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
25007 + >> .deps/$(*F).P; \
25008 + rm .deps/$(*F).pp
25011 + @echo '$(LTCOMPILE) -c $<'; \
25012 + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
25013 + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
25014 + < .deps/$(*F).pp > .deps/$(*F).P; \
25015 + tr ' ' '\012' < .deps/$(*F).pp \
25016 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
25017 + >> .deps/$(*F).P; \
25018 + rm -f .deps/$(*F).pp
25022 @@ -475,18 +487,19 @@
25023 maintainer-clean-generic:
25024 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-sbinPROGRAMS \
25025 mostlyclean-compile mostlyclean-libtool \
25026 - mostlyclean-tags mostlyclean-generic
25027 + mostlyclean-tags mostlyclean-depend mostlyclean-generic
25029 mostlyclean: mostlyclean-am
25031 clean-am: clean-binPROGRAMS clean-sbinPROGRAMS clean-compile \
25032 - clean-libtool clean-tags clean-generic mostlyclean-am
25033 + clean-libtool clean-tags clean-depend clean-generic \
25038 distclean-am: distclean-binPROGRAMS distclean-sbinPROGRAMS \
25039 distclean-compile distclean-libtool distclean-tags \
25040 - distclean-generic clean-am
25041 + distclean-depend distclean-generic clean-am
25044 distclean: distclean-am
25045 @@ -494,7 +507,8 @@
25046 maintainer-clean-am: maintainer-clean-binPROGRAMS \
25047 maintainer-clean-sbinPROGRAMS maintainer-clean-compile \
25048 maintainer-clean-libtool maintainer-clean-tags \
25049 - maintainer-clean-generic distclean-am
25050 + maintainer-clean-depend maintainer-clean-generic \
25052 @echo "This command is intended for maintainers to use;"
25053 @echo "it deletes files that may require special tools to rebuild."
25055 @@ -508,12 +522,14 @@
25056 clean-compile maintainer-clean-compile mostlyclean-libtool \
25057 distclean-libtool clean-libtool maintainer-clean-libtool install-man8 \
25058 uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
25059 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
25060 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
25061 -install-exec install-data-am install-data install-am install \
25062 -uninstall-am uninstall all-redirect all-am all installdirs \
25063 -mostlyclean-generic distclean-generic clean-generic \
25064 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
25065 +distclean-tags clean-tags maintainer-clean-tags distdir \
25066 +mostlyclean-depend distclean-depend clean-depend \
25067 +maintainer-clean-depend info-am info dvi-am dvi check check-am \
25068 +installcheck-am installcheck install-exec-am install-exec \
25069 +install-data-am install-data install-am install uninstall-am uninstall \
25070 +all-redirect all-am all installdirs mostlyclean-generic \
25071 +distclean-generic clean-generic maintainer-clean-generic clean \
25072 +mostlyclean distclean maintainer-clean
25075 # Tell versions [3.59,3.63) of GNU make to not export all variables.
25076 Index: linux-atm-2.4.1/src/maint/atmtcp.c
25077 ===================================================================
25078 --- linux-atm-2.4.1.orig/src/maint/atmtcp.c 2007-10-20 19:19:11.126262528 +0200
25079 +++ linux-atm-2.4.1/src/maint/atmtcp.c 2007-10-20 19:19:12.114318835 +0200
25081 static IN *inputs = NULL;
25082 static fd_set in_set;
25083 static int fds = 0;
25084 -static int debug = 0;
25085 +static int atmtcp_debug = 0;
25086 static int links = 0;
25094 + if (atmtcp_debug)
25095 fprintf(stderr,"Emit: %d.%d, %d bytes\n",ntohs(hdr->vpi),
25096 ntohs(hdr->vci),(int) ntohl(hdr->length));
25097 for (out = outputs; out; out = out->next)
25103 + if (atmtcp_debug)
25104 fprintf(stderr,"Control: (%d.%d) %s %d.%d, vcc %s\n",
25105 ntohs(msg->hdr.vpi),ntohs(msg->hdr.vci),
25106 msg->type == ATMTCP_CTRL_OPEN ? "OPEN" :
25107 @@ -295,19 +295,19 @@
25109 if ((s = socket(PF_ATMPVC,SOCK_DGRAM,0)) < 0) {
25110 msg->result = -errno;
25111 - if (debug) perror("socket");
25112 + if (atmtcp_debug) perror("socket");
25115 if (setsockopt(s,SOL_ATM,SO_ATMQOS,&msg->qos,sizeof(msg->qos)) < 0) {
25116 msg->result = -errno;
25117 - if (debug) perror("setsockopt SO_ATMQOS");
25118 + if (atmtcp_debug) perror("setsockopt SO_ATMQOS");
25121 msg->addr.sap_addr.itf = data->itf;
25122 if (connect(s,(struct sockaddr *) &msg->addr,
25123 sizeof(struct sockaddr_atmpvc)) < 0) {
25124 msg->result = -errno;
25125 - if (debug) perror("connect");
25126 + if (atmtcp_debug) perror("connect");
25129 (*vcc) = alloc_t(VCC);
25130 @@ -333,7 +333,7 @@
25131 addr.sap_addr.vci = ntohs(hdr->vci);
25132 vcc = real_lookup(data,&addr);
25135 + if (atmtcp_debug)
25136 fprintf(stderr,"VCC %d.%d not found\n",addr.sap_addr.vpi,
25137 addr.sap_addr.vci);
25139 @@ -430,7 +430,7 @@
25142 if (in->bytes < sizeof(*hdr)+ntohl(hdr->length)) return;
25144 + if (atmtcp_debug)
25145 fprintf(stderr,"TCP %d.%d, %d bytes\n",ntohs(hdr->vpi),
25146 ntohs(hdr->vci),(unsigned int) ntohl(hdr->length));
25148 @@ -447,7 +447,7 @@
25149 fprintf(stderr,"unrecognized control message \"%s\"\n",msg);
25152 - if (debug) fprintf(stderr,"received control \"%s\"\n",msg);
25153 + if (atmtcp_debug) fprintf(stderr,"received control \"%s\"\n",msg);
25154 ctl.hdr.vpi = htons(vpi);
25155 ctl.hdr.vci = htons(vci);
25156 ctl.hdr.length = htonl(ATMTCP_HDR_MAGIC);
25157 @@ -508,7 +508,7 @@
25159 hdr->vpi = hdr->vci = htons(0);
25160 hdr->length = htonl(pos-start);
25161 - if (debug) fprintf(stderr,"sending control \"%s\"\n",start);
25162 + if (atmtcp_debug) fprintf(stderr,"sending control \"%s\"\n",start);
25163 tcp_do_send(*(int *) out->user,buf,pos-buf);
25166 @@ -555,7 +555,7 @@
25169 if (in->bytes < sizeof(int)+sizeof(*hdr)+ntohl(hdr->length)) return;
25171 + if (atmtcp_debug)
25172 fprintf(stderr,"File %d.%d, %d bytes\n",ntohs(hdr->vpi),
25173 ntohs(hdr->vci),(unsigned int) ntohl(hdr->length));
25175 @@ -708,7 +708,7 @@
25176 while ((c = getopt(argc,argv,"dvV")) != EOF)
25180 + atmtcp_debug = 1;
25184 @@ -817,7 +817,8 @@
25186 else if (!strcmp(ARG,"listen") ||
25187 (do_background = !strcmp(ARG,"listen-bg"))) {
25188 - int fd,port,addr_len;
25191 int *fd2 = alloc_t(int);
25193 if ((fd = socket(PF_INET,SOCK_STREAM,0)) < 0) {
25194 Index: linux-atm-2.4.1/src/maint/enitune.c
25195 ===================================================================
25196 --- linux-atm-2.4.1.orig/src/maint/enitune.c 2007-10-20 19:19:11.134262985 +0200
25197 +++ linux-atm-2.4.1/src/maint/enitune.c 2007-10-20 19:19:12.118319060 +0200
25199 if (*end || mult.rx <= 100) usage(name);
25204 if (argc != optind+1) usage(name);
25205 sioc.number = strtol(argv[optind],&end,0);
25206 Index: linux-atm-2.4.1/src/arpd/Makefile.in
25207 ===================================================================
25208 --- linux-atm-2.4.1.orig/src/arpd/Makefile.in 2007-10-20 19:19:11.142263438 +0200
25209 +++ linux-atm-2.4.1/src/arpd/Makefile.in 2007-10-20 19:19:12.126319517 +0200
25211 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
25212 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
25214 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
25215 # This Makefile.in is free software; the Free Software Foundation
25217 sbin_PROGRAMS = atmarp atmarpd
25219 atmarp_SOURCES = atmarp.c atmarp.h atmarpd.h
25220 -atmarpd_SOURCES = atmarpd.c atmarpd.h arp.c arp.h io.c io.h itf.c itf.h \
25221 - table.c table.h atmarp.h
25222 +atmarpd_SOURCES = atmarpd.c atmarpd.h arp.c arp.h io.c io.h itf.c itf.h table.c table.h atmarp.h
25225 include_HEADERS = atmarp.h atmarpd.h
25226 @@ -135,8 +134,10 @@
25228 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
25233 +DEP_FILES = .deps/arp.P .deps/atmarp.P .deps/atmarpd.P .deps/io.P \
25234 +.deps/itf.P .deps/table.P
25235 SOURCES = $(atmarp_SOURCES) $(atmarpd_SOURCES)
25236 OBJECTS = $(atmarp_OBJECTS) $(atmarpd_OBJECTS)
25238 @@ -144,9 +145,9 @@
25240 .SUFFIXES: .S .c .lo .o .obj .s
25241 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
25242 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/arpd/Makefile
25243 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/arpd/Makefile
25245 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
25246 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
25247 cd $(top_builddir) \
25248 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
25250 @@ -176,9 +177,6 @@
25251 rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
25257 # FIXME: We should only use cygpath when building on Windows,
25258 # and only if it is available.
25260 @@ -201,9 +199,6 @@
25262 maintainer-clean-compile:
25265 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
25268 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
25270 @@ -300,7 +295,7 @@
25271 awk ' { files[$$0] = 1; } \
25272 END { for (i in files) print i; }'`; \
25273 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
25274 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
25275 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
25279 @@ -316,6 +311,11 @@
25282 distdir: $(DISTFILES)
25283 + here=`cd $(top_builddir) && pwd`; \
25284 + top_distdir=`cd $(top_distdir) && pwd`; \
25285 + distdir=`cd $(distdir) && pwd`; \
25286 + cd $(top_srcdir) \
25287 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/arpd/Makefile
25288 @for file in $(DISTFILES); do \
25290 if test -d $$d/$$file; then \
25291 @@ -326,24 +326,38 @@
25292 || cp -p $$d/$$file $(distdir)/$$file || :; \
25295 -arp.o: arp.c ../../config.h ../../src/include/stdint.h \
25296 - ../../src/include/atm.h ../../src/include/atmd.h atmarp.h \
25297 - atmarpd.h table.h itf.h io.h arp.h
25298 -atmarp.o: atmarp.c ../../config.h ../../src/include/stdint.h \
25299 - ../../src/include/atm.h ../../src/include/atmd.h atmarpd.h
25300 -atmarpd.o: atmarpd.c ../../config.h ../../src/include/atm.h \
25301 - ../../src/include/stdint.h ../../src/include/atmd.h atmarpd.h \
25303 -io.o: io.c ../../config.h ../../src/include/stdint.h \
25304 - ../../src/include/atm.h ../../src/include/atmd.h atmarpd.h \
25305 - table.h arp.h atmarp.h itf.h io.h
25306 -itf.o: itf.c ../../config.h ../../src/include/stdint.h \
25307 - ../../src/include/atmd.h ../../src/include/atm.h table.h io.h \
25308 - itf.h arp.h atmarp.h atmarpd.h
25309 -table.o: table.c ../../config.h ../../src/include/stdint.h \
25310 - ../../src/include/atm.h ../../src/include/atmd.h atmarpd.h \
25313 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
25315 +-include $(DEP_FILES)
25317 +mostlyclean-depend:
25324 +maintainer-clean-depend:
25327 + @echo '$(COMPILE) -c $<'; \
25328 + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
25329 + @-cp .deps/$(*F).pp .deps/$(*F).P; \
25330 + tr ' ' '\012' < .deps/$(*F).pp \
25331 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
25332 + >> .deps/$(*F).P; \
25333 + rm .deps/$(*F).pp
25336 + @echo '$(LTCOMPILE) -c $<'; \
25337 + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
25338 + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
25339 + < .deps/$(*F).pp > .deps/$(*F).P; \
25340 + tr ' ' '\012' < .deps/$(*F).pp \
25341 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
25342 + >> .deps/$(*F).P; \
25343 + rm -f .deps/$(*F).pp
25347 @@ -383,27 +397,27 @@
25349 maintainer-clean-generic:
25350 mostlyclean-am: mostlyclean-sbinPROGRAMS mostlyclean-compile \
25351 - mostlyclean-libtool mostlyclean-tags \
25352 + mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
25353 mostlyclean-generic
25355 mostlyclean: mostlyclean-am
25357 clean-am: clean-sbinPROGRAMS clean-compile clean-libtool clean-tags \
25358 - clean-generic mostlyclean-am
25359 + clean-depend clean-generic mostlyclean-am
25363 distclean-am: distclean-sbinPROGRAMS distclean-compile \
25364 - distclean-libtool distclean-tags distclean-generic \
25366 + distclean-libtool distclean-tags distclean-depend \
25367 + distclean-generic clean-am
25370 distclean: distclean-am
25372 maintainer-clean-am: maintainer-clean-sbinPROGRAMS \
25373 maintainer-clean-compile maintainer-clean-libtool \
25374 - maintainer-clean-tags maintainer-clean-generic \
25376 + maintainer-clean-tags maintainer-clean-depend \
25377 + maintainer-clean-generic distclean-am
25378 @echo "This command is intended for maintainers to use;"
25379 @echo "it deletes files that may require special tools to rebuild."
25381 @@ -416,8 +430,9 @@
25382 distclean-libtool clean-libtool maintainer-clean-libtool install-man8 \
25383 uninstall-man8 install-man uninstall-man uninstall-includeHEADERS \
25384 install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
25385 -maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
25386 -installcheck-am installcheck install-exec-am install-exec \
25387 +maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
25388 +clean-depend maintainer-clean-depend info-am info dvi-am dvi check \
25389 +check-am installcheck-am installcheck install-exec-am install-exec \
25390 install-data-am install-data install-am install uninstall-am uninstall \
25391 all-redirect all-am all installdirs mostlyclean-generic \
25392 distclean-generic clean-generic maintainer-clean-generic clean \
25393 Index: linux-atm-2.4.1/src/arpd/atmarp.c
25394 ===================================================================
25395 --- linux-atm-2.4.1.orig/src/arpd/atmarp.c 2007-10-20 19:19:11.150263898 +0200
25396 +++ linux-atm-2.4.1/src/arpd/atmarp.c 2007-10-20 19:19:12.126319517 +0200
25398 perror("read " ATMARP_DUMP_DIR "/" ATMARP_DUMP_FILE);
25401 - if (write(0,buffer,size) < 0) {
25402 + if (write(1,buffer,size) < 0) {
25403 perror("write stdout");
25406 Index: linux-atm-2.4.1/src/ilmid/Makefile.in
25407 ===================================================================
25408 --- linux-atm-2.4.1.orig/src/ilmid/Makefile.in 2007-10-20 19:19:11.154264125 +0200
25409 +++ linux-atm-2.4.1/src/ilmid/Makefile.in 2007-10-20 19:19:12.142320428 +0200
25411 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
25412 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
25414 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
25415 # This Makefile.in is free software; the Free Software Foundation
25418 sbin_PROGRAMS = ilmid
25420 -ilmid_SOURCES = rfc1157_snmp.c rfc1157_snmp.h rfc1155_smi.c rfc1155_smi.h \
25421 - util.c util.h io.c io.h message.c message.h \
25422 - atmf_uni.c atmf_uni.h mib.c mib.h \
25423 - sysgroup.c sysgroup.h ilmid.c
25424 +ilmid_SOURCES = rfc1157_snmp.c rfc1157_snmp.h rfc1155_smi.c rfc1155_smi.h util.c util.h io.c io.h message.c message.h atmf_uni.c atmf_uni.h mib.c mib.h sysgroup.c sysgroup.h ilmid.c
25426 -ilmid_LDADD = $(top_builddir)/src/lib/libatm.la \
25427 - $(top_builddir)/src/ilmid/asn1/libasn1.a
25428 +ilmid_LDADD = $(top_builddir)/src/lib/libatm.la $(top_builddir)/src/ilmid/asn1/libasn1.a
25430 ilmid_DEPENDENCIES = $(ilmid_LDADD)
25432 @@ -127,8 +123,11 @@
25434 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
25439 +DEP_FILES = .deps/atmf_uni.P .deps/ilmid.P .deps/io.P .deps/message.P \
25440 +.deps/mib.P .deps/rfc1155_smi.P .deps/rfc1157_snmp.P .deps/sysgroup.P \
25442 SOURCES = $(ilmid_SOURCES)
25443 OBJECTS = $(ilmid_OBJECTS)
25445 @@ -136,9 +135,9 @@
25447 .SUFFIXES: .S .c .lo .o .obj .s
25448 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
25449 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/ilmid/Makefile
25450 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ilmid/Makefile
25452 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
25453 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
25454 cd $(top_builddir) \
25455 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
25457 @@ -168,9 +167,6 @@
25458 rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
25464 # FIXME: We should only use cygpath when building on Windows,
25465 # and only if it is available.
25467 @@ -193,9 +189,6 @@
25469 maintainer-clean-compile:
25472 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
25475 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
25477 @@ -294,7 +287,7 @@
25478 awk ' { files[$$0] = 1; } \
25479 END { for (i in files) print i; }'`; \
25480 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
25481 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
25482 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
25486 @@ -310,6 +303,11 @@
25489 distdir: $(DISTFILES)
25490 + here=`cd $(top_builddir) && pwd`; \
25491 + top_distdir=`cd $(top_distdir) && pwd`; \
25492 + distdir=`cd $(distdir) && pwd`; \
25493 + cd $(top_srcdir) \
25494 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/ilmid/Makefile
25495 @for file in $(DISTFILES); do \
25497 if test -d $$d/$$file; then \
25498 @@ -330,62 +328,38 @@
25502 -atmf_uni.o: atmf_uni.c ../../config.h atmf_uni.h asn1/asn_incl.h \
25503 - asn1/asn_config.h asn1/nibble_alloc.h asn1/sbuf.h asn1/print.h \
25504 - asn1/asn_len.h asn1/asn_tag.h asn1/asn_int.h asn1/asn_octs.h \
25505 - asn1/asn_bits.h asn1/asn_oid.h asn1/asn_null.h asn1/asn_list.h \
25506 - rfc1155_smi.h rfc1157_snmp.h mib.h ../../src/include/atmd.h \
25507 - ../../src/include/stdint.h ../../src/include/atm.h util.h
25508 -ilmid.o: ilmid.c ../../config.h asn1/asn_incl.h asn1/asn_config.h \
25509 - asn1/nibble_alloc.h asn1/sbuf.h asn1/print.h asn1/asn_len.h \
25510 - asn1/asn_tag.h asn1/asn_int.h asn1/asn_octs.h asn1/asn_bits.h \
25511 - asn1/asn_oid.h asn1/asn_null.h asn1/asn_list.h rfc1155_smi.h \
25512 - rfc1157_snmp.h message.h util.h ../../src/include/atmd.h \
25513 - ../../src/include/stdint.h ../../src/include/atm.h io.h mib.h \
25514 - atmf_uni.h sysgroup.h
25515 -io.o: io.c ../../config.h ../../src/include/stdint.h \
25516 - ../../src/include/atm.h io.h asn1/asn_incl.h asn1/asn_config.h \
25517 - asn1/nibble_alloc.h asn1/sbuf.h asn1/print.h asn1/asn_len.h \
25518 - asn1/asn_tag.h asn1/asn_int.h asn1/asn_octs.h asn1/asn_bits.h \
25519 - asn1/asn_oid.h asn1/asn_null.h asn1/asn_list.h rfc1155_smi.h \
25520 - rfc1157_snmp.h ../../src/include/atmd.h atmf_uni.h mib.h
25521 -message.o: message.c ../../config.h message.h asn1/asn_incl.h \
25522 - asn1/asn_config.h asn1/nibble_alloc.h asn1/sbuf.h asn1/print.h \
25523 - asn1/asn_len.h asn1/asn_tag.h asn1/asn_int.h asn1/asn_octs.h \
25524 - asn1/asn_bits.h asn1/asn_oid.h asn1/asn_null.h asn1/asn_list.h \
25525 - rfc1155_smi.h rfc1157_snmp.h atmf_uni.h mib.h \
25526 - ../../src/include/atmd.h ../../src/include/stdint.h \
25527 - ../../src/include/atm.h util.h
25528 -mib.o: mib.c ../../config.h mib.h ../../src/include/atmd.h \
25529 - ../../src/include/stdint.h ../../src/include/atm.h \
25530 - asn1/asn_incl.h asn1/asn_config.h asn1/nibble_alloc.h \
25531 - asn1/sbuf.h asn1/print.h asn1/asn_len.h asn1/asn_tag.h \
25532 - asn1/asn_int.h asn1/asn_octs.h asn1/asn_bits.h asn1/asn_oid.h \
25533 - asn1/asn_null.h asn1/asn_list.h rfc1155_smi.h rfc1157_snmp.h \
25534 - sysgroup.h atmf_uni.h util.h
25535 -rfc1155_smi.o: rfc1155_smi.c ../../config.h asn1/asn_incl.h \
25536 - asn1/asn_config.h asn1/nibble_alloc.h asn1/sbuf.h asn1/print.h \
25537 - asn1/asn_len.h asn1/asn_tag.h asn1/asn_int.h asn1/asn_octs.h \
25538 - asn1/asn_bits.h asn1/asn_oid.h asn1/asn_null.h asn1/asn_list.h \
25539 - rfc1155_smi.h rfc1157_snmp.h
25540 -rfc1157_snmp.o: rfc1157_snmp.c ../../config.h asn1/asn_incl.h \
25541 - asn1/asn_config.h asn1/nibble_alloc.h asn1/sbuf.h asn1/print.h \
25542 - asn1/asn_len.h asn1/asn_tag.h asn1/asn_int.h asn1/asn_octs.h \
25543 - asn1/asn_bits.h asn1/asn_oid.h asn1/asn_null.h asn1/asn_list.h \
25544 - rfc1155_smi.h rfc1157_snmp.h
25545 -sysgroup.o: sysgroup.c ../../config.h sysgroup.h asn1/asn_incl.h \
25546 - asn1/asn_config.h asn1/nibble_alloc.h asn1/sbuf.h asn1/print.h \
25547 - asn1/asn_len.h asn1/asn_tag.h asn1/asn_int.h asn1/asn_octs.h \
25548 - asn1/asn_bits.h asn1/asn_oid.h asn1/asn_null.h asn1/asn_list.h \
25549 - rfc1155_smi.h rfc1157_snmp.h mib.h ../../src/include/atmd.h \
25550 - ../../src/include/stdint.h ../../src/include/atm.h
25551 -util.o: util.c ../../config.h util.h asn1/asn_incl.h asn1/asn_config.h \
25552 - asn1/nibble_alloc.h asn1/sbuf.h asn1/print.h asn1/asn_len.h \
25553 - asn1/asn_tag.h asn1/asn_int.h asn1/asn_octs.h asn1/asn_bits.h \
25554 - asn1/asn_oid.h asn1/asn_null.h asn1/asn_list.h rfc1155_smi.h \
25555 - rfc1157_snmp.h ../../src/include/atmd.h \
25556 - ../../src/include/stdint.h ../../src/include/atm.h
25558 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
25560 +-include $(DEP_FILES)
25562 +mostlyclean-depend:
25569 +maintainer-clean-depend:
25572 + @echo '$(COMPILE) -c $<'; \
25573 + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
25574 + @-cp .deps/$(*F).pp .deps/$(*F).P; \
25575 + tr ' ' '\012' < .deps/$(*F).pp \
25576 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
25577 + >> .deps/$(*F).P; \
25578 + rm .deps/$(*F).pp
25581 + @echo '$(LTCOMPILE) -c $<'; \
25582 + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
25583 + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
25584 + < .deps/$(*F).pp > .deps/$(*F).P; \
25585 + tr ' ' '\012' < .deps/$(*F).pp \
25586 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
25587 + >> .deps/$(*F).P; \
25588 + rm -f .deps/$(*F).pp
25590 info: info-recursive
25592 @@ -424,27 +398,27 @@
25594 maintainer-clean-generic:
25595 mostlyclean-am: mostlyclean-sbinPROGRAMS mostlyclean-compile \
25596 - mostlyclean-libtool mostlyclean-tags \
25597 + mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
25598 mostlyclean-generic
25600 mostlyclean: mostlyclean-recursive
25602 clean-am: clean-sbinPROGRAMS clean-compile clean-libtool clean-tags \
25603 - clean-generic mostlyclean-am
25604 + clean-depend clean-generic mostlyclean-am
25606 clean: clean-recursive
25608 distclean-am: distclean-sbinPROGRAMS distclean-compile \
25609 - distclean-libtool distclean-tags distclean-generic \
25611 + distclean-libtool distclean-tags distclean-depend \
25612 + distclean-generic clean-am
25615 distclean: distclean-recursive
25617 maintainer-clean-am: maintainer-clean-sbinPROGRAMS \
25618 maintainer-clean-compile maintainer-clean-libtool \
25619 - maintainer-clean-tags maintainer-clean-generic \
25621 + maintainer-clean-tags maintainer-clean-depend \
25622 + maintainer-clean-generic distclean-am
25623 @echo "This command is intended for maintainers to use;"
25624 @echo "it deletes files that may require special tools to rebuild."
25626 @@ -460,12 +434,14 @@
25627 all-recursive check-recursive installcheck-recursive info-recursive \
25628 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
25629 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
25630 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
25631 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
25632 -install-exec install-data-am install-data install-am install \
25633 -uninstall-am uninstall all-redirect all-am all installdirs-am \
25634 -installdirs mostlyclean-generic distclean-generic clean-generic \
25635 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
25636 +distclean-tags clean-tags maintainer-clean-tags distdir \
25637 +mostlyclean-depend distclean-depend clean-depend \
25638 +maintainer-clean-depend info-am info dvi-am dvi check check-am \
25639 +installcheck-am installcheck install-exec-am install-exec \
25640 +install-data-am install-data install-am install uninstall-am uninstall \
25641 +all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
25642 +distclean-generic clean-generic maintainer-clean-generic clean \
25643 +mostlyclean distclean maintainer-clean
25646 # Tell versions [3.59,3.63) of GNU make to not export all variables.
25647 Index: linux-atm-2.4.1/src/ilmid/io.c
25648 ===================================================================
25649 --- linux-atm-2.4.1.orig/src/ilmid/io.c 2007-10-20 19:19:11.162264578 +0200
25650 +++ linux-atm-2.4.1/src/ilmid/io.c 2007-10-20 19:19:12.166321797 +0200
25652 #include <net/if.h>
25654 #include <linux/atmdev.h>
25655 +#include <unistd.h>
25658 #include "atmf_uni.h"
25659 @@ -299,4 +300,5 @@
25660 diag(COMPONENT,DIAG_ERROR,"ioctl ATM_GETCIRANGE: %s",strerror(errno));
25665 Index: linux-atm-2.4.1/src/ilmid/atmf_uni.c
25666 ===================================================================
25667 --- linux-atm-2.4.1.orig/src/ilmid/atmf_uni.c 2007-10-20 19:19:11.174265264 +0200
25668 +++ linux-atm-2.4.1/src/ilmid/atmf_uni.c 2007-10-20 19:19:12.174322254 +0200
25669 @@ -187,7 +187,7 @@
25670 newPrefix->name = alloc_t(AsnOid);
25671 newPrefix->name->octs = alloc(varBindName->octetLen);
25672 AsnOidCopy(newPrefix->name, varBindName);
25673 - Q_INSERT_BEFORE((NetPrefixNode *) var->value, newPrefix, prefix);
25674 + Q_INSERT_BEFORE_TYPED(var->value,(NetPrefixNode *), newPrefix, prefix);
25675 if(atmNetPrefix.octs == NULL)
25677 atmNetPrefix.octetLen = varBindName->octetLen - NETPREFIX_LEN - 2;
25678 @@ -197,7 +197,7 @@
25680 else if (varbind->value->a.simple->a.number == INVALID && cmp == AsnOidEqual)
25682 - Q_REMOVE((NetPrefixNode *) var->value, prefix);
25683 + Q_REMOVE(var->value, prefix);
25687 Index: linux-atm-2.4.1/src/ilmid/mib.c
25688 ===================================================================
25689 --- linux-atm-2.4.1.orig/src/ilmid/mib.c 2007-10-20 19:19:11.182265718 +0200
25690 +++ linux-atm-2.4.1/src/ilmid/mib.c 2007-10-20 19:19:12.182322708 +0200
25691 @@ -58,13 +58,13 @@
25695 -void MIBget(VarBindList *list, PDUInt *status, AsnInt *index)
25696 +void MIBget(VarBindList *list, PDUInt *status, AsnInt *Mindex)
25700 AsnOidResult result;
25704 FOR_EACH_LIST_ELMT(varbind, list)
25706 /* Find the first MIB object not lexigraphically less than the *
25707 @@ -91,20 +91,20 @@
25708 if(*status != NOERROR)
25720 -void MIBgetnext(VarBindList *list, PDUInt *status, AsnInt *index)
25721 +void MIBgetnext(VarBindList *list, PDUInt *status, AsnInt *Mindex)
25725 AsnOidResult result;
25729 FOR_EACH_LIST_ELMT(varbind, list)
25731 /* Find the first complex MIB object not lexigraphically less than *
25732 @@ -139,19 +139,19 @@
25733 if(*status != NOERROR)
25744 -void MIBset(VarBindList *list, PDUInt *status, AsnInt *index)
25745 +void MIBset(VarBindList *list, PDUInt *status, AsnInt *Mindex)
25749 AsnOidResult result;
25753 FOR_EACH_LIST_ELMT(varbind, list)
25755 /* Find the first MIB object not lexigraphically less than the *
25756 @@ -182,9 +182,9 @@
25757 if(*status != NOERROR)
25768 Index: linux-atm-2.4.1/src/ilmid/mib.h
25769 ===================================================================
25770 --- linux-atm-2.4.1.orig/src/ilmid/mib.h 2007-10-20 19:19:11.190266178 +0200
25771 +++ linux-atm-2.4.1/src/ilmid/mib.h 2007-10-20 19:19:12.182322708 +0200
25776 -void MIBget(VarBindList *list, PDUInt *status, AsnInt *index);
25777 -void MIBgetnext(VarBindList *list, PDUInt *status, AsnInt *index);
25778 -void MIBset(VarBindList *list, PDUInt *status, AsnInt *index);
25779 +void MIBget(VarBindList *list, PDUInt *status, AsnInt *Mindex);
25780 +void MIBgetnext(VarBindList *list, PDUInt *status, AsnInt *Mindex);
25781 +void MIBset(VarBindList *list, PDUInt *status, AsnInt *Mindex);
25782 void *MIBdelete(AsnOid *oid);
25784 AsnInt getString(VarBind *varbind, Variable *var);
25785 Index: linux-atm-2.4.1/src/ilmid/ilmid.c
25786 ===================================================================
25787 --- linux-atm-2.4.1.orig/src/ilmid/ilmid.c 2007-10-20 19:19:11.198266629 +0200
25788 +++ linux-atm-2.4.1/src/ilmid/ilmid.c 2007-10-20 19:19:12.186322937 +0200
25790 #include <config.h>
25793 +#include <stdlib.h>
25794 #include <unistd.h>
25795 #include <sys/time.h>
25797 Index: linux-atm-2.4.1/src/ilmid/asn1/Makefile.in
25798 ===================================================================
25799 --- linux-atm-2.4.1.orig/src/ilmid/asn1/Makefile.in 2007-10-20 19:19:11.202266858 +0200
25800 +++ linux-atm-2.4.1/src/ilmid/asn1/Makefile.in 2007-10-20 19:19:12.190323167 +0200
25802 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
25803 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
25805 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
25806 # This Makefile.in is free software; the Free Software Foundation
25809 noinst_LIBRARIES = libasn1.a
25811 -libasn1_a_SOURCES = asn_len.c asn_len.h asn_tag.c asn_tag.h \
25812 - asn_int.c asn_int.h asn_octs.c asn_octs.h \
25813 - asn_bits.c asn_bits.h str_stk.c str_stk.h \
25814 - asn_oid.c asn_oid.h asn_null.c asn_null.h \
25815 - asn_list.c asn_list.h nibble_alloc.c nibble_alloc.h \
25816 - print.c print.h \
25817 - asn_config.h min_buf.h sbuf.h exp_buf.h
25818 +libasn1_a_SOURCES = asn_len.c asn_len.h asn_tag.c asn_tag.h asn_int.c asn_int.h asn_octs.c asn_octs.h asn_bits.c asn_bits.h str_stk.c str_stk.h asn_oid.c asn_oid.h asn_null.c asn_null.h asn_list.c asn_list.h nibble_alloc.c nibble_alloc.h print.c print.h asn_config.h min_buf.h sbuf.h exp_buf.h
25821 EXTRA_libasn1_a_SOURCES = asn_incl.h exp_buf.c
25822 @@ -125,8 +119,12 @@
25824 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
25829 +DEP_FILES = .deps/asn_bits.P .deps/asn_int.P .deps/asn_len.P \
25830 +.deps/asn_list.P .deps/asn_null.P .deps/asn_octs.P .deps/asn_oid.P \
25831 +.deps/asn_tag.P .deps/exp_buf.P .deps/nibble_alloc.P .deps/print.P \
25833 SOURCES = $(libasn1_a_SOURCES) $(EXTRA_libasn1_a_SOURCES)
25834 OBJECTS = $(libasn1_a_OBJECTS)
25836 @@ -134,9 +132,9 @@
25838 .SUFFIXES: .S .c .lo .o .obj .s
25839 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
25840 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/ilmid/asn1/Makefile
25841 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/ilmid/asn1/Makefile
25843 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
25844 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
25845 cd $(top_builddir) \
25846 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
25848 @@ -150,9 +148,6 @@
25850 maintainer-clean-noinstLIBRARIES:
25855 # FIXME: We should only use cygpath when building on Windows,
25856 # and only if it is available.
25858 @@ -175,9 +170,6 @@
25860 maintainer-clean-compile:
25863 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
25866 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
25868 @@ -217,7 +209,7 @@
25869 awk ' { files[$$0] = 1; } \
25870 END { for (i in files) print i; }'`; \
25871 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
25872 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
25873 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
25877 @@ -233,6 +225,11 @@
25878 subdir = src/ilmid/asn1
25880 distdir: $(DISTFILES)
25881 + here=`cd $(top_builddir) && pwd`; \
25882 + top_distdir=`cd $(top_distdir) && pwd`; \
25883 + distdir=`cd $(distdir) && pwd`; \
25884 + cd $(top_srcdir) \
25885 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/ilmid/asn1/Makefile
25886 @for file in $(DISTFILES); do \
25888 if test -d $$d/$$file; then \
25889 @@ -243,30 +240,38 @@
25890 || cp -p $$d/$$file $(distdir)/$$file || :; \
25893 -asn_bits.o: asn_bits.c ../../../config.h asn_config.h nibble_alloc.h \
25894 - sbuf.h print.h asn_len.h asn_tag.h str_stk.h asn_bits.h
25895 -asn_int.o: asn_int.c ../../../config.h asn_config.h nibble_alloc.h \
25896 - sbuf.h print.h asn_len.h asn_tag.h asn_int.h
25897 -asn_len.o: asn_len.c ../../../config.h asn_config.h nibble_alloc.h \
25898 - sbuf.h print.h asn_len.h
25899 -asn_list.o: asn_list.c ../../../config.h asn_config.h nibble_alloc.h \
25900 - sbuf.h print.h asn_list.h
25901 -asn_null.o: asn_null.c ../../../config.h asn_config.h nibble_alloc.h \
25902 - sbuf.h print.h asn_len.h asn_tag.h asn_null.h
25903 -asn_octs.o: asn_octs.c ../../../config.h asn_config.h nibble_alloc.h \
25904 - sbuf.h print.h asn_len.h asn_tag.h str_stk.h asn_bits.h \
25906 -asn_oid.o: asn_oid.c ../../../config.h asn_config.h nibble_alloc.h \
25907 - sbuf.h print.h asn_len.h asn_tag.h asn_octs.h asn_oid.h
25908 -asn_tag.o: asn_tag.c ../../../config.h asn_config.h nibble_alloc.h \
25909 - sbuf.h print.h asn_len.h asn_tag.h
25910 -nibble_alloc.o: nibble_alloc.c ../../../config.h asn_config.h \
25911 - nibble_alloc.h sbuf.h print.h
25912 -print.o: print.c ../../../config.h asn_config.h nibble_alloc.h sbuf.h \
25914 -str_stk.o: str_stk.c ../../../config.h asn_config.h nibble_alloc.h \
25915 - sbuf.h print.h str_stk.h
25917 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
25919 +-include $(DEP_FILES)
25921 +mostlyclean-depend:
25928 +maintainer-clean-depend:
25931 + @echo '$(COMPILE) -c $<'; \
25932 + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
25933 + @-cp .deps/$(*F).pp .deps/$(*F).P; \
25934 + tr ' ' '\012' < .deps/$(*F).pp \
25935 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
25936 + >> .deps/$(*F).P; \
25937 + rm .deps/$(*F).pp
25940 + @echo '$(LTCOMPILE) -c $<'; \
25941 + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
25942 + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
25943 + < .deps/$(*F).pp > .deps/$(*F).P; \
25944 + tr ' ' '\012' < .deps/$(*F).pp \
25945 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
25946 + >> .deps/$(*F).P; \
25947 + rm -f .deps/$(*F).pp
25951 @@ -303,27 +308,27 @@
25953 maintainer-clean-generic:
25954 mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
25955 - mostlyclean-libtool mostlyclean-tags \
25956 + mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
25957 mostlyclean-generic
25959 mostlyclean: mostlyclean-am
25961 clean-am: clean-noinstLIBRARIES clean-compile clean-libtool clean-tags \
25962 - clean-generic mostlyclean-am
25963 + clean-depend clean-generic mostlyclean-am
25967 distclean-am: distclean-noinstLIBRARIES distclean-compile \
25968 - distclean-libtool distclean-tags distclean-generic \
25970 + distclean-libtool distclean-tags distclean-depend \
25971 + distclean-generic clean-am
25974 distclean: distclean-am
25976 maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
25977 maintainer-clean-compile maintainer-clean-libtool \
25978 - maintainer-clean-tags maintainer-clean-generic \
25980 + maintainer-clean-tags maintainer-clean-depend \
25981 + maintainer-clean-generic distclean-am
25982 @echo "This command is intended for maintainers to use;"
25983 @echo "it deletes files that may require special tools to rebuild."
25985 @@ -334,12 +339,14 @@
25986 mostlyclean-compile distclean-compile clean-compile \
25987 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
25988 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
25989 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
25990 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
25991 -install-exec install-data-am install-data install-am install \
25992 -uninstall-am uninstall all-redirect all-am all installdirs \
25993 -mostlyclean-generic distclean-generic clean-generic \
25994 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
25995 +distclean-tags clean-tags maintainer-clean-tags distdir \
25996 +mostlyclean-depend distclean-depend clean-depend \
25997 +maintainer-clean-depend info-am info dvi-am dvi check check-am \
25998 +installcheck-am installcheck install-exec-am install-exec \
25999 +install-data-am install-data install-am install uninstall-am uninstall \
26000 +all-redirect all-am all installdirs mostlyclean-generic \
26001 +distclean-generic clean-generic maintainer-clean-generic clean \
26002 +mostlyclean distclean maintainer-clean
26005 # Tell versions [3.59,3.63) of GNU make to not export all variables.
26006 Index: linux-atm-2.4.1/src/ilmid/asn1/asn_int.c
26007 ===================================================================
26008 --- linux-atm-2.4.1.orig/src/ilmid/asn1/asn_int.c 2007-10-20 19:19:11.210267317 +0200
26009 +++ linux-atm-2.4.1/src/ilmid/asn1/asn_int.c 2007-10-20 19:19:12.226325216 +0200
26010 @@ -185,7 +185,7 @@
26012 unsigned short int indent)
26014 - fprintf(f,"%d", *v);
26015 + fprintf(f,"%ld", *v);
26019 @@ -252,7 +252,6 @@
26025 unsigned long int mask;
26026 unsigned long int dataCpy;
26027 @@ -370,5 +369,5 @@
26029 unsigned short int indent)
26031 - fprintf(f,"%u", *v);
26032 + fprintf(f,"%lu", *v);
26034 Index: linux-atm-2.4.1/src/ilmid/asn1/asn_octs.c
26035 ===================================================================
26036 --- linux-atm-2.4.1.orig/src/ilmid/asn1/asn_octs.c 2007-10-20 19:19:11.218267769 +0200
26037 +++ linux-atm-2.4.1/src/ilmid/asn1/asn_octs.c 2007-10-20 19:19:12.230325447 +0200
26039 #include <config.h>
26042 +#include <stdlib.h>
26043 +#include <string.h>
26045 #include "asn_config.h"
26046 #include "asn_len.h"
26047 #include "asn_tag.h"
26048 Index: linux-atm-2.4.1/src/ilmid/asn1/asn_bits.c
26049 ===================================================================
26050 --- linux-atm-2.4.1.orig/src/ilmid/asn1/asn_bits.c 2007-10-20 19:19:11.222267998 +0200
26051 +++ linux-atm-2.4.1/src/ilmid/asn1/asn_bits.c 2007-10-20 19:19:12.234325674 +0200
26053 #include <config.h>
26056 +#include <stdlib.h>
26057 +#include <string.h>
26059 #include "asn_config.h"
26060 #include "asn_len.h"
26061 #include "asn_tag.h"
26062 Index: linux-atm-2.4.1/src/ilmid/asn1/asn_oid.c
26063 ===================================================================
26064 --- linux-atm-2.4.1.orig/src/ilmid/asn1/asn_oid.c 2007-10-20 19:19:11.230268457 +0200
26065 +++ linux-atm-2.4.1/src/ilmid/asn1/asn_oid.c 2007-10-20 19:19:12.246326356 +0200
26067 #include <config.h>
26070 +#include <stdlib.h>
26071 +#include <string.h>
26073 #include "asn_config.h"
26074 #include "asn_len.h"
26075 #include "asn_tag.h"
26076 @@ -125,7 +128,7 @@
26077 if (firstArcNum > 2)
26080 - fprintf(f,"%u %u", firstArcNum, arcNum - (firstArcNum * 40));
26081 + fprintf(f,"%d %lu", firstArcNum, arcNum - (firstArcNum * 40));
26083 for (; i < v->octetLen ; )
26085 @@ -134,7 +137,7 @@
26087 arcNum = (arcNum << 7) + (v->octs[i] & 0x7f);
26089 - fprintf(f," %u", arcNum);
26090 + fprintf(f," %lu", arcNum);
26094 Index: linux-atm-2.4.1/src/ilmid/asn1/asn_list.c
26095 ===================================================================
26096 --- linux-atm-2.4.1.orig/src/ilmid/asn1/asn_list.c 2007-10-20 19:19:11.238268909 +0200
26097 +++ linux-atm-2.4.1/src/ilmid/asn1/asn_list.c 2007-10-20 19:19:12.262327267 +0200
26099 #include <config.h>
26102 +#include <stdlib.h>
26104 #include "asn_config.h"
26105 #include "asn_list.h"
26107 Index: linux-atm-2.4.1/src/ilmid/asn1/nibble_alloc.c
26108 ===================================================================
26109 --- linux-atm-2.4.1.orig/src/ilmid/asn1/nibble_alloc.c 2007-10-20 19:19:11.246269366 +0200
26110 +++ linux-atm-2.4.1/src/ilmid/asn1/nibble_alloc.c 2007-10-20 19:19:12.286328636 +0200
26112 #include <config.h>
26115 +#include <string.h>
26116 #include <memory.h>
26117 +#include <stdlib.h>
26118 #include "asn_config.h"
26119 #include "nibble_alloc.h"
26121 Index: linux-atm-2.4.1/src/ilmid/asn1/nibble_alloc.h
26122 ===================================================================
26123 --- linux-atm-2.4.1.orig/src/ilmid/asn1/nibble_alloc.h 2007-10-20 19:19:11.254269824 +0200
26124 +++ linux-atm-2.4.1/src/ilmid/asn1/nibble_alloc.h 2007-10-20 19:19:12.294329093 +0200
26125 @@ -39,13 +39,13 @@
26126 void InitNibbleMem PROTO((unsigned long int initialSize,
26127 unsigned long int incrementSize));
26129 -void ShutdownNibbleMem();
26130 +void ShutdownNibbleMem(void);
26132 void ServiceNibbleFault PROTO((unsigned long int size));
26134 void* NibbleAlloc PROTO((unsigned long int size));
26136 -void ResetNibbleMem();
26137 +void ResetNibbleMem(void);
26140 #endif /* conditional include */
26141 Index: linux-atm-2.4.1/src/man/Makefile.in
26142 ===================================================================
26143 --- linux-atm-2.4.1.orig/src/man/Makefile.in 2007-10-20 19:19:11.262270277 +0200
26144 +++ linux-atm-2.4.1/src/man/Makefile.in 2007-10-20 19:19:12.302329547 +0200
26146 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
26147 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
26149 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
26150 # This Makefile.in is free software; the Free Software Foundation
26151 @@ -100,14 +100,14 @@
26153 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
26160 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
26161 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/man/Makefile
26162 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/man/Makefile
26164 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
26165 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
26166 cd $(top_builddir) \
26167 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
26169 @@ -159,6 +159,11 @@
26172 distdir: $(DISTFILES)
26173 + here=`cd $(top_builddir) && pwd`; \
26174 + top_distdir=`cd $(top_distdir) && pwd`; \
26175 + distdir=`cd $(distdir) && pwd`; \
26176 + cd $(top_srcdir) \
26177 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/man/Makefile
26178 @for file in $(DISTFILES); do \
26180 if test -d $$d/$$file; then \
26181 Index: linux-atm-2.4.1/src/led/Makefile.in
26182 ===================================================================
26183 --- linux-atm-2.4.1.orig/src/led/Makefile.in 2007-10-20 19:19:11.270270737 +0200
26184 +++ linux-atm-2.4.1/src/led/Makefile.in 2007-10-20 19:19:12.306329776 +0200
26186 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
26187 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
26189 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
26190 # This Makefile.in is free software; the Free Software Foundation
26193 sbin_PROGRAMS = zeppelin
26195 -zeppelin_SOURCES = join.c join.h conn.c conn.h main.c address.c address.h \
26196 - frames.c frames.h display.c display.h \
26197 - kernel.c kernel.h frame_defs.h lec.h
26198 +zeppelin_SOURCES = join.c join.h conn.c conn.h main.c address.c address.h frames.c frames.h display.c display.h kernel.c kernel.h frame_defs.h lec.h
26200 zeppelin_LDADD = $(top_builddir)/src/lib/libatm.la
26201 zeppelin_DEPENDENCIES = $(zeppelin_LDADD)
26202 @@ -125,8 +123,10 @@
26204 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
26209 +DEP_FILES = .deps/address.P .deps/conn.P .deps/display.P .deps/frames.P \
26210 +.deps/join.P .deps/kernel.P .deps/main.P
26211 SOURCES = $(zeppelin_SOURCES)
26212 OBJECTS = $(zeppelin_OBJECTS)
26214 @@ -134,9 +134,9 @@
26216 .SUFFIXES: .S .c .lo .o .obj .s
26217 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
26218 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/led/Makefile
26219 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/led/Makefile
26221 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
26222 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
26223 cd $(top_builddir) \
26224 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
26226 @@ -166,9 +166,6 @@
26227 rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
26233 # FIXME: We should only use cygpath when building on Windows,
26234 # and only if it is available.
26236 @@ -191,9 +188,6 @@
26238 maintainer-clean-compile:
26241 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
26244 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
26246 @@ -271,7 +265,7 @@
26247 awk ' { files[$$0] = 1; } \
26248 END { for (i in files) print i; }'`; \
26249 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
26250 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
26251 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
26255 @@ -287,6 +281,11 @@
26258 distdir: $(DISTFILES)
26259 + here=`cd $(top_builddir) && pwd`; \
26260 + top_distdir=`cd $(top_distdir) && pwd`; \
26261 + distdir=`cd $(distdir) && pwd`; \
26262 + cd $(top_srcdir) \
26263 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/led/Makefile
26264 @for file in $(DISTFILES); do \
26266 if test -d $$d/$$file; then \
26267 @@ -297,28 +296,38 @@
26268 || cp -p $$d/$$file $(distdir)/$$file || :; \
26271 -address.o: address.c ../../config.h ../../src/include/atm.h \
26272 - ../../src/include/stdint.h ../../src/include/atmd.h address.h
26273 -conn.o: conn.c ../../config.h ../../src/include/atm.h \
26274 - ../../src/include/stdint.h ../../src/include/atmsap.h \
26275 - ../../src/include/atmd.h conn.h display.h lec.h frames.h \
26276 - frame_defs.h kernel.h
26277 -display.o: display.c ../../config.h ../../src/include/atm.h \
26278 - ../../src/include/stdint.h ../../src/include/atmd.h display.h \
26280 -frames.o: frames.c ../../config.h ../../src/include/atm.h \
26281 - ../../src/include/stdint.h ../../src/include/atmd.h conn.h \
26282 - lec.h frames.h frame_defs.h display.h kernel.h
26283 -join.o: join.c ../../config.h ../../src/include/atm.h \
26284 - ../../src/include/stdint.h ../../src/include/atmd.h conn.h \
26285 - lec.h join.h frames.h frame_defs.h display.h
26286 -kernel.o: kernel.c ../../config.h ../../src/include/atm.h \
26287 - ../../src/include/stdint.h ../../src/include/atmd.h kernel.h \
26288 - lec.h conn.h frames.h frame_defs.h
26289 -main.o: main.c ../../config.h ../../src/include/atm.h \
26290 - ../../src/include/stdint.h ../../src/include/atmd.h join.h \
26291 - lec.h conn.h address.h display.h kernel.h
26293 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
26295 +-include $(DEP_FILES)
26297 +mostlyclean-depend:
26304 +maintainer-clean-depend:
26307 + @echo '$(COMPILE) -c $<'; \
26308 + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
26309 + @-cp .deps/$(*F).pp .deps/$(*F).P; \
26310 + tr ' ' '\012' < .deps/$(*F).pp \
26311 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
26312 + >> .deps/$(*F).P; \
26313 + rm .deps/$(*F).pp
26316 + @echo '$(LTCOMPILE) -c $<'; \
26317 + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
26318 + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
26319 + < .deps/$(*F).pp > .deps/$(*F).P; \
26320 + tr ' ' '\012' < .deps/$(*F).pp \
26321 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
26322 + >> .deps/$(*F).P; \
26323 + rm -f .deps/$(*F).pp
26327 @@ -356,27 +365,27 @@
26329 maintainer-clean-generic:
26330 mostlyclean-am: mostlyclean-sbinPROGRAMS mostlyclean-compile \
26331 - mostlyclean-libtool mostlyclean-tags \
26332 + mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
26333 mostlyclean-generic
26335 mostlyclean: mostlyclean-am
26337 clean-am: clean-sbinPROGRAMS clean-compile clean-libtool clean-tags \
26338 - clean-generic mostlyclean-am
26339 + clean-depend clean-generic mostlyclean-am
26343 distclean-am: distclean-sbinPROGRAMS distclean-compile \
26344 - distclean-libtool distclean-tags distclean-generic \
26346 + distclean-libtool distclean-tags distclean-depend \
26347 + distclean-generic clean-am
26350 distclean: distclean-am
26352 maintainer-clean-am: maintainer-clean-sbinPROGRAMS \
26353 maintainer-clean-compile maintainer-clean-libtool \
26354 - maintainer-clean-tags maintainer-clean-generic \
26356 + maintainer-clean-tags maintainer-clean-depend \
26357 + maintainer-clean-generic distclean-am
26358 @echo "This command is intended for maintainers to use;"
26359 @echo "it deletes files that may require special tools to rebuild."
26361 @@ -388,12 +397,14 @@
26362 clean-compile maintainer-clean-compile mostlyclean-libtool \
26363 distclean-libtool clean-libtool maintainer-clean-libtool install-man8 \
26364 uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
26365 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
26366 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
26367 -install-exec install-data-am install-data install-am install \
26368 -uninstall-am uninstall all-redirect all-am all installdirs \
26369 -mostlyclean-generic distclean-generic clean-generic \
26370 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
26371 +distclean-tags clean-tags maintainer-clean-tags distdir \
26372 +mostlyclean-depend distclean-depend clean-depend \
26373 +maintainer-clean-depend info-am info dvi-am dvi check check-am \
26374 +installcheck-am installcheck install-exec-am install-exec \
26375 +install-data-am install-data install-am install uninstall-am uninstall \
26376 +all-redirect all-am all installdirs mostlyclean-generic \
26377 +distclean-generic clean-generic maintainer-clean-generic clean \
26378 +mostlyclean distclean maintainer-clean
26381 # Tell versions [3.59,3.63) of GNU make to not export all variables.
26382 Index: linux-atm-2.4.1/src/lane/Makefile.in
26383 ===================================================================
26384 --- linux-atm-2.4.1.orig/src/lane/Makefile.in 2007-10-20 19:19:11.302272557 +0200
26385 +++ linux-atm-2.4.1/src/lane/Makefile.in 2007-10-20 19:19:12.310330006 +0200
26387 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
26388 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
26390 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
26391 # This Makefile.in is free software; the Free Software Foundation
26392 @@ -89,14 +89,11 @@
26394 LDADD = $(top_builddir)/src/lib/libatm.la
26396 -LES_BUS_SRCS = mem.c mem.h load.c load.h units.c units.h load_lex.l load_lex.h \
26397 - timers.c timers.h dump.c dump.h lane_atm.c lane_atm.h \
26398 - events.c events.h lane.c lane.h
26399 +LES_BUS_SRCS = mem.c mem.h load.c load.h units.c units.h load_lex.l load_lex.h timers.c timers.h dump.c dump.h lane_atm.c lane_atm.h events.c events.h lane.c lane.h
26401 les_SOURCES = $(LES_BUS_SRCS) packet.c packet.h connect.c connect.h db.c db.h
26402 bus_SOURCES = $(LES_BUS_SRCS) connect_bus.c
26403 -lecs_SOURCES = lecs_db.l lecs_db.h lecs_load.c lecs_load.h lecs.c lecs.h \
26404 - ldb.c ldb.h mem_lecs.c mem_lecs.h atm_lecs.c atm_lecs.h
26405 +lecs_SOURCES = lecs_db.l lecs_db.h lecs_load.c lecs_load.h lecs.c lecs.h ldb.c ldb.h mem_lecs.c mem_lecs.h atm_lecs.c atm_lecs.h
26408 man_MANS = les.8 lecs.8 bus.8
26409 @@ -148,8 +145,13 @@
26411 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
26416 +DEP_FILES = .deps/atm_lecs.P .deps/connect.P .deps/connect_bus.P \
26417 +.deps/db.P .deps/dump.P .deps/events.P .deps/lane.P .deps/lane_atm.P \
26418 +.deps/ldb.P .deps/lecs.P .deps/lecs_db.P .deps/lecs_load.P .deps/load.P \
26419 +.deps/load_lex.P .deps/mem.P .deps/mem_lecs.P .deps/packet.P \
26420 +.deps/timers.P .deps/units.P
26421 SOURCES = $(les_SOURCES) $(bus_SOURCES) $(lecs_SOURCES)
26422 OBJECTS = $(les_OBJECTS) $(bus_OBJECTS) $(lecs_OBJECTS)
26424 @@ -157,9 +159,9 @@
26426 .SUFFIXES: .S .c .l .lo .o .obj .s
26427 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
26428 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/lane/Makefile
26429 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/lane/Makefile
26431 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
26432 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
26433 cd $(top_builddir) \
26434 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
26436 @@ -189,9 +191,6 @@
26437 rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
26443 # FIXME: We should only use cygpath when building on Windows,
26444 # and only if it is available.
26446 @@ -214,9 +213,6 @@
26448 maintainer-clean-compile:
26451 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
26454 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
26456 @@ -304,7 +300,7 @@
26457 awk ' { files[$$0] = 1; } \
26458 END { for (i in files) print i; }'`; \
26459 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
26460 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
26461 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
26465 @@ -320,6 +316,11 @@
26468 distdir: $(DISTFILES)
26469 + here=`cd $(top_builddir) && pwd`; \
26470 + top_distdir=`cd $(top_distdir) && pwd`; \
26471 + distdir=`cd $(distdir) && pwd`; \
26472 + cd $(top_srcdir) \
26473 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/lane/Makefile
26474 @for file in $(DISTFILES); do \
26476 if test -d $$d/$$file; then \
26477 @@ -330,62 +331,38 @@
26478 || cp -p $$d/$$file $(distdir)/$$file || :; \
26481 -atm_lecs.o: atm_lecs.c ../../config.h ../../src/include/atm.h \
26482 - ../../src/include/stdint.h ../../src/include/atmsap.h \
26484 -connect.o: connect.c ../../config.h ../../src/include/stdint.h mem.h \
26485 - units.h lane.h dump.h ../../src/include/atm.h \
26486 - ../../src/include/atmsap.h load.h connect.h timers.h events.h \
26487 - db.h packet.h lane_atm.h
26488 -connect_bus.o: connect_bus.c ../../config.h ../../src/include/stdint.h \
26489 - mem.h units.h lane.h dump.h ../../src/include/atm.h \
26490 - ../../src/include/atmsap.h load.h connect.h timers.h events.h \
26492 -db.o: db.c ../../config.h ../../src/include/stdint.h mem.h units.h \
26493 - lane.h dump.h ../../src/include/atm.h \
26494 - ../../src/include/atmsap.h load.h connect.h timers.h events.h \
26496 -dump.o: dump.c ../../config.h ../../src/include/stdint.h \
26497 - ../../src/include/atm.h ../../src/include/atmsap.h dump.h \
26498 - units.h lane.h load.h
26499 -events.o: events.c ../../config.h events.h units.h load.h lane.h dump.h \
26500 - ../../src/include/atm.h ../../src/include/stdint.h \
26501 - ../../src/include/atmsap.h mem.h timers.h connect.h
26502 -lane.o: lane.c ../../config.h units.h load.h lane.h dump.h \
26503 - ../../src/include/atm.h ../../src/include/stdint.h \
26504 - ../../src/include/atmsap.h mem.h connect.h timers.h events.h
26505 -lane_atm.o: lane_atm.c ../../config.h lane_atm.h units.h lane.h \
26506 - connect.h timers.h load.h events.h ../../src/include/atmsap.h \
26507 - ../../src/include/stdint.h dump.h ../../src/include/atm.h mem.h
26508 -ldb.o: ldb.c ../../config.h ../../src/include/atm.h \
26509 - ../../src/include/stdint.h lecs.h ldb.h mem_lecs.h
26510 -lecs.o: lecs.c ../../config.h ../../src/include/stdint.h \
26511 - ../../src/include/atm.h lecs_load.h ldb.h mem_lecs.h lecs.h \
26513 -lecs_db.o: lecs_db.c ../../config.h lecs_load.h lecs_db.h
26514 -lecs_load.o: lecs_load.c ../../config.h lecs_load.h lecs_db.h ldb.h \
26516 -load.o: load.c ../../config.h load.h units.h lane.h dump.h \
26517 - ../../src/include/atm.h ../../src/include/stdint.h \
26518 - ../../src/include/atmsap.h mem.h load_lex.h
26519 -load_lex.o: load_lex.c ../../config.h ../../src/include/stdint.h \
26520 - load_lex.h lane.h units.h load.h mem.h
26521 -mem.o: mem.c ../../config.h mem.h units.h dump.h ../../src/include/atm.h \
26522 - ../../src/include/stdint.h ../../src/include/atmsap.h lane.h \
26524 -mem_lecs.o: mem_lecs.c ../../config.h mem_lecs.h
26525 -packet.o: packet.c ../../config.h ../../src/include/stdint.h mem.h \
26526 - units.h lane.h dump.h ../../src/include/atm.h \
26527 - ../../src/include/atmsap.h load.h connect.h timers.h events.h \
26529 -timers.o: timers.c ../../config.h timers.h units.h load.h lane.h dump.h \
26530 - ../../src/include/atm.h ../../src/include/stdint.h \
26531 - ../../src/include/atmsap.h mem.h
26532 -units.o: units.c ../../config.h units.h mem.h lane.h load.h dump.h \
26533 - ../../src/include/atm.h ../../src/include/stdint.h \
26534 - ../../src/include/atmsap.h connect.h timers.h events.h \
26537 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
26539 +-include $(DEP_FILES)
26541 +mostlyclean-depend:
26548 +maintainer-clean-depend:
26551 + @echo '$(COMPILE) -c $<'; \
26552 + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
26553 + @-cp .deps/$(*F).pp .deps/$(*F).P; \
26554 + tr ' ' '\012' < .deps/$(*F).pp \
26555 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
26556 + >> .deps/$(*F).P; \
26557 + rm .deps/$(*F).pp
26560 + @echo '$(LTCOMPILE) -c $<'; \
26561 + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
26562 + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
26563 + < .deps/$(*F).pp > .deps/$(*F).P; \
26564 + tr ' ' '\012' < .deps/$(*F).pp \
26565 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
26566 + >> .deps/$(*F).P; \
26567 + rm -f .deps/$(*F).pp
26571 @@ -422,29 +399,29 @@
26572 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
26574 maintainer-clean-generic:
26575 - -test -z "lecs_dblload_lexl" || rm -f lecs_dbl load_lexl
26576 + -test -z "lecs_dbcload_lexc" || rm -f lecs_dbc load_lexc
26577 mostlyclean-am: mostlyclean-sbinPROGRAMS mostlyclean-compile \
26578 - mostlyclean-libtool mostlyclean-tags \
26579 + mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
26580 mostlyclean-generic
26582 mostlyclean: mostlyclean-am
26584 clean-am: clean-sbinPROGRAMS clean-compile clean-libtool clean-tags \
26585 - clean-generic mostlyclean-am
26586 + clean-depend clean-generic mostlyclean-am
26590 distclean-am: distclean-sbinPROGRAMS distclean-compile \
26591 - distclean-libtool distclean-tags distclean-generic \
26593 + distclean-libtool distclean-tags distclean-depend \
26594 + distclean-generic clean-am
26597 distclean: distclean-am
26599 maintainer-clean-am: maintainer-clean-sbinPROGRAMS \
26600 maintainer-clean-compile maintainer-clean-libtool \
26601 - maintainer-clean-tags maintainer-clean-generic \
26603 + maintainer-clean-tags maintainer-clean-depend \
26604 + maintainer-clean-generic distclean-am
26605 @echo "This command is intended for maintainers to use;"
26606 @echo "it deletes files that may require special tools to rebuild."
26608 @@ -456,12 +433,14 @@
26609 clean-compile maintainer-clean-compile mostlyclean-libtool \
26610 distclean-libtool clean-libtool maintainer-clean-libtool install-man8 \
26611 uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
26612 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
26613 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
26614 -install-exec install-data-am install-data install-am install \
26615 -uninstall-am uninstall all-redirect all-am all installdirs \
26616 -mostlyclean-generic distclean-generic clean-generic \
26617 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
26618 +distclean-tags clean-tags maintainer-clean-tags distdir \
26619 +mostlyclean-depend distclean-depend clean-depend \
26620 +maintainer-clean-depend info-am info dvi-am dvi check check-am \
26621 +installcheck-am installcheck install-exec-am install-exec \
26622 +install-data-am install-data install-am install uninstall-am uninstall \
26623 +all-redirect all-am all installdirs mostlyclean-generic \
26624 +distclean-generic clean-generic maintainer-clean-generic clean \
26625 +mostlyclean distclean maintainer-clean
26628 # Tell versions [3.59,3.63) of GNU make to not export all variables.
26629 Index: linux-atm-2.4.1/src/mpoad/Makefile.in
26630 ===================================================================
26631 --- linux-atm-2.4.1.orig/src/mpoad/Makefile.in 2007-10-20 19:19:11.310273016 +0200
26632 +++ linux-atm-2.4.1/src/mpoad/Makefile.in 2007-10-20 19:19:12.346332055 +0200
26634 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
26635 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
26637 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
26638 # This Makefile.in is free software; the Free Software Foundation
26641 LDADD = $(top_builddir)/src/lib/libatm.la
26643 -mpcd_SOURCES = get_vars.c get_vars.h io.c io.h k_interf.c k_interf.h main.c \
26644 - p_factory.c p_recogn.c id_list.c tag_list.c \
26645 - poll2select.c poll2select.h lecs.c lecs.h packets.h
26646 +mpcd_SOURCES = get_vars.c get_vars.h io.c io.h k_interf.c k_interf.h main.c p_factory.c p_recogn.c id_list.c tag_list.c poll2select.c poll2select.h lecs.c lecs.h packets.h
26650 @@ -128,8 +126,11 @@
26652 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
26657 +DEP_FILES = .deps/get_vars.P .deps/id_list.P .deps/io.P \
26658 +.deps/k_interf.P .deps/lecs.P .deps/main.P .deps/p_factory.P \
26659 +.deps/p_recogn.P .deps/poll2select.P .deps/tag_list.P
26660 SOURCES = $(mpcd_SOURCES)
26661 OBJECTS = $(mpcd_OBJECTS)
26663 @@ -137,9 +138,9 @@
26665 .SUFFIXES: .S .c .lo .o .obj .s
26666 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
26667 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/mpoad/Makefile
26668 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/mpoad/Makefile
26670 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
26671 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
26672 cd $(top_builddir) \
26673 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
26675 @@ -169,9 +170,6 @@
26676 rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
26682 # FIXME: We should only use cygpath when building on Windows,
26683 # and only if it is available.
26685 @@ -194,9 +192,6 @@
26687 maintainer-clean-compile:
26690 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
26693 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
26695 @@ -274,7 +269,7 @@
26696 awk ' { files[$$0] = 1; } \
26697 END { for (i in files) print i; }'`; \
26698 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
26699 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
26700 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
26704 @@ -290,6 +285,11 @@
26707 distdir: $(DISTFILES)
26708 + here=`cd $(top_builddir) && pwd`; \
26709 + top_distdir=`cd $(top_distdir) && pwd`; \
26710 + distdir=`cd $(distdir) && pwd`; \
26711 + cd $(top_srcdir) \
26712 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/mpoad/Makefile
26713 @for file in $(DISTFILES); do \
26715 if test -d $$d/$$file; then \
26716 @@ -300,29 +300,38 @@
26717 || cp -p $$d/$$file $(distdir)/$$file || :; \
26720 -get_vars.o: get_vars.c ../../config.h ../../src/include/stdint.h \
26721 - ../../src/include/atm.h packets.h get_vars.h io.h
26722 -id_list.o: id_list.c ../../config.h ../../src/include/atm.h \
26723 - ../../src/include/stdint.h packets.h
26724 -io.o: io.c ../../config.h ../../src/include/atm.h \
26725 - ../../src/include/stdint.h packets.h k_interf.h io.h get_vars.h \
26727 -k_interf.o: k_interf.c ../../config.h ../../src/include/stdint.h \
26728 - ../../src/include/atm.h k_interf.h packets.h io.h get_vars.h
26729 -lecs.o: lecs.c ../../config.h ../../src/include/stdint.h \
26730 - ../../src/include/atm.h ../../src/include/atmsap.h lecs.h \
26732 -main.o: main.c ../../config.h ../../src/include/atm.h \
26733 - ../../src/include/stdint.h packets.h io.h k_interf.h get_vars.h \
26735 -p_factory.o: p_factory.c ../../config.h ../../src/include/stdint.h \
26736 - ../../src/include/atm.h packets.h get_vars.h io.h
26737 -p_recogn.o: p_recogn.c ../../config.h ../../src/include/atm.h \
26738 - ../../src/include/stdint.h io.h k_interf.h packets.h
26739 -poll2select.o: poll2select.c ../../config.h
26740 -tag_list.o: tag_list.c ../../config.h packets.h ../../src/include/atm.h \
26741 - ../../src/include/stdint.h
26743 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
26745 +-include $(DEP_FILES)
26747 +mostlyclean-depend:
26754 +maintainer-clean-depend:
26757 + @echo '$(COMPILE) -c $<'; \
26758 + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
26759 + @-cp .deps/$(*F).pp .deps/$(*F).P; \
26760 + tr ' ' '\012' < .deps/$(*F).pp \
26761 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
26762 + >> .deps/$(*F).P; \
26763 + rm .deps/$(*F).pp
26766 + @echo '$(LTCOMPILE) -c $<'; \
26767 + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
26768 + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
26769 + < .deps/$(*F).pp > .deps/$(*F).P; \
26770 + tr ' ' '\012' < .deps/$(*F).pp \
26771 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
26772 + >> .deps/$(*F).P; \
26773 + rm -f .deps/$(*F).pp
26777 @@ -360,27 +369,27 @@
26779 maintainer-clean-generic:
26780 mostlyclean-am: mostlyclean-sbinPROGRAMS mostlyclean-compile \
26781 - mostlyclean-libtool mostlyclean-tags \
26782 + mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
26783 mostlyclean-generic
26785 mostlyclean: mostlyclean-am
26787 clean-am: clean-sbinPROGRAMS clean-compile clean-libtool clean-tags \
26788 - clean-generic mostlyclean-am
26789 + clean-depend clean-generic mostlyclean-am
26793 distclean-am: distclean-sbinPROGRAMS distclean-compile \
26794 - distclean-libtool distclean-tags distclean-generic \
26796 + distclean-libtool distclean-tags distclean-depend \
26797 + distclean-generic clean-am
26800 distclean: distclean-am
26802 maintainer-clean-am: maintainer-clean-sbinPROGRAMS \
26803 maintainer-clean-compile maintainer-clean-libtool \
26804 - maintainer-clean-tags maintainer-clean-generic \
26806 + maintainer-clean-tags maintainer-clean-depend \
26807 + maintainer-clean-generic distclean-am
26808 @echo "This command is intended for maintainers to use;"
26809 @echo "it deletes files that may require special tools to rebuild."
26811 @@ -392,12 +401,14 @@
26812 clean-compile maintainer-clean-compile mostlyclean-libtool \
26813 distclean-libtool clean-libtool maintainer-clean-libtool install-man8 \
26814 uninstall-man8 install-man uninstall-man tags mostlyclean-tags \
26815 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
26816 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
26817 -install-exec install-data-am install-data install-am install \
26818 -uninstall-am uninstall all-redirect all-am all installdirs \
26819 -mostlyclean-generic distclean-generic clean-generic \
26820 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
26821 +distclean-tags clean-tags maintainer-clean-tags distdir \
26822 +mostlyclean-depend distclean-depend clean-depend \
26823 +maintainer-clean-depend info-am info dvi-am dvi check check-am \
26824 +installcheck-am installcheck install-exec-am install-exec \
26825 +install-data-am install-data install-am install uninstall-am uninstall \
26826 +all-redirect all-am all installdirs mostlyclean-generic \
26827 +distclean-generic clean-generic maintainer-clean-generic clean \
26828 +mostlyclean distclean maintainer-clean
26831 # Tell versions [3.59,3.63) of GNU make to not export all variables.
26832 Index: linux-atm-2.4.1/src/mpoad/p_factory.c
26833 ===================================================================
26834 --- linux-atm-2.4.1.orig/src/mpoad/p_factory.c 2007-10-20 19:19:11.318273468 +0200
26835 +++ linux-atm-2.4.1/src/mpoad/p_factory.c 2007-10-20 19:19:12.350332286 +0200
26838 while( count > 1 ) {
26839 /* This is the inner loop */
26840 - sum += * ((uint16_t *) addr)++;
26841 + sum += * ((uint16_t *) addr); addr += sizeof(uint16_t);
26845 Index: linux-atm-2.4.1/src/switch/Makefile.in
26846 ===================================================================
26847 --- linux-atm-2.4.1.orig/src/switch/Makefile.in 2007-10-20 19:19:11.322273697 +0200
26848 +++ linux-atm-2.4.1/src/switch/Makefile.in 2007-10-20 19:19:12.358332737 +0200
26850 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
26851 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
26853 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
26854 # This Makefile.in is free software; the Free Software Foundation
26857 swc_SOURCES = swc.c swc.h
26858 swc_LDADD = $(top_builddir)/src/lib/libatm.la
26859 -swc_DEPENDENCIES = $(swc_LDADD) $(top_builddir)/src/include/atm.h \
26860 - $(top_builddir)/src/include/atmd.h
26861 +swc_DEPENDENCIES = $(swc_LDADD) $(top_builddir)/src/include/atm.h $(top_builddir)/src/include/atmd.h
26863 -libsw_a_SOURCES = control.c dispatch.c dispatch.h proto.c proto.h relay.c \
26864 - route.c route.h sig.c sig.h cfg_y.y cfg_l.l fab.h
26865 +libsw_a_SOURCES = control.c dispatch.c dispatch.h proto.c proto.h relay.c route.c route.h sig.c sig.h cfg_y.y cfg_l.l fab.h
26868 EXTRA_DIST = cfg_y.h README
26869 @@ -132,8 +130,11 @@
26871 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
26876 +DEP_FILES = .deps/cfg_l.P .deps/cfg_y.P .deps/control.P \
26877 +.deps/dispatch.P .deps/proto.P .deps/relay.P .deps/route.P .deps/sig.P \
26879 SOURCES = $(libsw_a_SOURCES) $(swc_SOURCES)
26880 OBJECTS = $(libsw_a_OBJECTS) $(swc_OBJECTS)
26882 @@ -141,9 +142,9 @@
26884 .SUFFIXES: .S .c .l .lo .o .obj .s .y
26885 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
26886 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/switch/Makefile
26887 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/switch/Makefile
26889 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
26890 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
26891 cd $(top_builddir) \
26892 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
26894 @@ -157,9 +158,6 @@
26896 maintainer-clean-noinstLIBRARIES:
26901 # FIXME: We should only use cygpath when building on Windows,
26902 # and only if it is available.
26904 @@ -182,9 +180,6 @@
26906 maintainer-clean-compile:
26909 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
26912 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
26914 @@ -306,7 +301,7 @@
26915 awk ' { files[$$0] = 1; } \
26916 END { for (i in files) print i; }'`; \
26917 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
26918 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
26919 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
26923 @@ -322,6 +317,11 @@
26924 subdir = src/switch
26926 distdir: $(DISTFILES)
26927 + here=`cd $(top_builddir) && pwd`; \
26928 + top_distdir=`cd $(top_distdir) && pwd`; \
26929 + distdir=`cd $(distdir) && pwd`; \
26930 + cd $(top_srcdir) \
26931 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/switch/Makefile
26932 @for file in $(DISTFILES); do \
26934 if test -d $$d/$$file; then \
26935 @@ -342,32 +342,38 @@
26939 -cfg_l.o: cfg_l.c ../../config.h ../../src/include/atm.h \
26940 - ../../src/include/stdint.h cfg_y.h
26941 -cfg_y.o: cfg_y.c ../../config.h ../../src/include/atm.h \
26942 - ../../src/include/stdint.h fab.h proto.h \
26943 - ../../src/include/atmsap.h ../../src/include/atmd.h sig.h \
26945 -control.o: control.c ../../config.h ../../src/include/atm.h \
26946 - ../../src/include/stdint.h ../../src/include/atmd.h fab.h \
26947 - proto.h ../../src/include/atmsap.h sig.h dispatch.h swc.h
26948 -dispatch.o: dispatch.c ../../config.h ../../src/include/atmd.h \
26949 - ../../src/include/stdint.h ../../src/include/atm.h dispatch.h
26950 -proto.o: proto.c ../../config.h ../../src/include/atm.h \
26951 - ../../src/include/stdint.h ../../src/include/atmd.h sig.h fab.h \
26952 - proto.h ../../src/include/atmsap.h
26953 -relay.o: relay.c ../../config.h ../../src/include/atm.h \
26954 - ../../src/include/stdint.h ../../src/include/atmd.h fab.h \
26955 - proto.h ../../src/include/atmsap.h sig.h dispatch.h route.h
26956 -route.o: route.c ../../config.h ../../src/include/atm.h \
26957 - ../../src/include/stdint.h ../../src/include/atmd.h route.h \
26959 -sig.o: sig.c ../../config.h ../../src/include/stdint.h \
26960 - ../../src/include/atmd.h ../../src/include/atm.h dispatch.h \
26961 - proto.h ../../src/include/atmsap.h sig.h route.h fab.h
26962 -swc.o: swc.c ../../config.h ../../src/include/atm.h \
26963 - ../../src/include/stdint.h ../../src/include/atmd.h swc.h
26965 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
26967 +-include $(DEP_FILES)
26969 +mostlyclean-depend:
26976 +maintainer-clean-depend:
26979 + @echo '$(COMPILE) -c $<'; \
26980 + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
26981 + @-cp .deps/$(*F).pp .deps/$(*F).P; \
26982 + tr ' ' '\012' < .deps/$(*F).pp \
26983 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
26984 + >> .deps/$(*F).P; \
26985 + rm .deps/$(*F).pp
26988 + @echo '$(LTCOMPILE) -c $<'; \
26989 + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
26990 + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
26991 + < .deps/$(*F).pp > .deps/$(*F).P; \
26992 + tr ' ' '\012' < .deps/$(*F).pp \
26993 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
26994 + >> .deps/$(*F).P; \
26995 + rm -f .deps/$(*F).pp
26997 info: info-recursive
26999 @@ -404,22 +410,23 @@
27000 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
27002 maintainer-clean-generic:
27003 - -test -z "cfg_llcfg_yhcfg_yc" || rm -f cfg_ll cfg_yh cfg_yc
27004 + -test -z "cfg_lccfg_yhcfg_yc" || rm -f cfg_lc cfg_yh cfg_yc
27005 mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
27006 mostlyclean-libtool mostlyclean-noinstPROGRAMS \
27007 - mostlyclean-tags mostlyclean-generic
27008 + mostlyclean-tags mostlyclean-depend mostlyclean-generic
27010 mostlyclean: mostlyclean-recursive
27012 clean-am: clean-noinstLIBRARIES clean-compile clean-libtool \
27013 - clean-noinstPROGRAMS clean-tags clean-generic \
27015 + clean-noinstPROGRAMS clean-tags clean-depend \
27016 + clean-generic mostlyclean-am
27018 clean: clean-recursive
27020 distclean-am: distclean-noinstLIBRARIES distclean-compile \
27021 distclean-libtool distclean-noinstPROGRAMS \
27022 - distclean-tags distclean-generic clean-am
27023 + distclean-tags distclean-depend distclean-generic \
27027 distclean: distclean-recursive
27028 @@ -427,7 +434,8 @@
27029 maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
27030 maintainer-clean-compile maintainer-clean-libtool \
27031 maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
27032 - maintainer-clean-generic distclean-am
27033 + maintainer-clean-depend maintainer-clean-generic \
27035 @echo "This command is intended for maintainers to use;"
27036 @echo "it deletes files that may require special tools to rebuild."
27038 @@ -445,12 +453,14 @@
27039 all-recursive check-recursive installcheck-recursive info-recursive \
27040 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
27041 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
27042 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
27043 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
27044 -install-exec install-data-am install-data install-am install \
27045 -uninstall-am uninstall all-redirect all-am all installdirs-am \
27046 -installdirs mostlyclean-generic distclean-generic clean-generic \
27047 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
27048 +distclean-tags clean-tags maintainer-clean-tags distdir \
27049 +mostlyclean-depend distclean-depend clean-depend \
27050 +maintainer-clean-depend info-am info dvi-am dvi check check-am \
27051 +installcheck-am installcheck install-exec-am install-exec \
27052 +install-data-am install-data install-am install uninstall-am uninstall \
27053 +all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
27054 +distclean-generic clean-generic maintainer-clean-generic clean \
27055 +mostlyclean distclean maintainer-clean
27058 # Tell versions [3.59,3.63) of GNU make to not export all variables.
27059 Index: linux-atm-2.4.1/src/switch/cfg_y.c
27060 ===================================================================
27061 --- linux-atm-2.4.1.orig/src/switch/cfg_y.c 2007-10-20 19:19:11.330274156 +0200
27062 +++ linux-atm-2.4.1/src/switch/cfg_y.c 2007-10-20 19:19:12.366333195 +0200
27064 +/* A Bison parser, made by GNU Bison 1.875d. */
27066 -/* A Bison parser, made from cfg_y.y
27067 - by GNU Bison version 1.28 */
27068 +/* Skeleton parser for Yacc-like parsing with Bison,
27069 + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
27071 -#define YYBISON 1 /* Identify Bison output. */
27072 + This program is free software; you can redistribute it and/or modify
27073 + it under the terms of the GNU General Public License as published by
27074 + the Free Software Foundation; either version 2, or (at your option)
27075 + any later version.
27077 + This program is distributed in the hope that it will be useful,
27078 + but WITHOUT ANY WARRANTY; without even the implied warranty of
27079 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27080 + GNU General Public License for more details.
27082 + You should have received a copy of the GNU General Public License
27083 + along with this program; if not, write to the Free Software
27084 + Foundation, Inc., 59 Temple Place - Suite 330,
27085 + Boston, MA 02111-1307, USA. */
27087 +/* As a special exception, when this file is copied by Bison into a
27088 + Bison output file, you may use that output file without restriction.
27089 + This special exception was added by the Free Software Foundation
27090 + in version 1.24 of Bison. */
27092 +/* Written by Richard Stallman by simplifying the original so called
27093 + ``semantic'' parser. */
27095 +/* All symbols defined below should begin with yy or YY, to avoid
27096 + infringing on user name space. This should be done even for local
27097 + variables, as they might otherwise be expanded by user macros.
27098 + There are some unavoidable exceptions within include files to
27099 + define necessary library symbols; they are noted "INFRINGES ON
27100 + USER NAME SPACE" below. */
27102 +/* Identify Bison output. */
27105 +/* Skeleton name. */
27106 +#define YYSKELETON_NAME "yacc.c"
27108 +/* Pure parsers. */
27111 +/* Using locations. */
27112 +#define YYLSP_NEEDED 0
27114 -#define TOK_COMMAND 257
27115 -#define TOK_VPCI 258
27116 -#define TOK_ITF 259
27117 -#define TOK_DEFAULT 260
27118 -#define TOK_ROUTE 261
27119 -#define TOK_STR 262
27120 -#define TOK_SOCKET 263
27121 -#define TOK_OPTION 264
27122 -#define TOK_CONTROL 265
27123 -#define TOK_NUM 266
27124 -#define TOK_PVC 267
27128 +#ifndef YYTOKENTYPE
27129 +# define YYTOKENTYPE
27130 + /* Put the tokens into the symbol table, so that GDB and other debuggers
27131 + know about them. */
27132 + enum yytokentype {
27133 + TOK_COMMAND = 258,
27136 + TOK_DEFAULT = 261,
27139 + TOK_SOCKET = 264,
27140 + TOK_OPTION = 265,
27141 + TOK_CONTROL = 266,
27146 +#define TOK_COMMAND 258
27147 +#define TOK_VPCI 259
27148 +#define TOK_ITF 260
27149 +#define TOK_DEFAULT 261
27150 +#define TOK_ROUTE 262
27151 +#define TOK_STR 263
27152 +#define TOK_SOCKET 264
27153 +#define TOK_OPTION 265
27154 +#define TOK_CONTROL 266
27155 +#define TOK_NUM 267
27156 +#define TOK_PVC 268
27161 +/* Copy the first part of user declarations. */
27164 /* cfg.y - switch configuration language */
27166 #include <string.h>
27168 #include <limits.h>
27169 +#include <stdlib.h>
27173 @@ -38,436 +105,743 @@
27177 +extern void yyerror(const char *s);
27180 static SIGNALING_ENTITY *sig;
27183 -#line 27 "cfg_y.y"
27186 +/* Enabling traces. */
27188 +# define YYDEBUG 0
27191 +/* Enabling verbose error messages. */
27192 +#ifdef YYERROR_VERBOSE
27193 +# undef YYERROR_VERBOSE
27194 +# define YYERROR_VERBOSE 1
27196 +# define YYERROR_VERBOSE 0
27199 +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
27200 +#line 30 "cfg_y.y"
27201 +typedef union YYSTYPE {
27204 struct sockaddr_atmpvc pvc;
27206 -#include <stdio.h>
27208 -#ifndef __cplusplus
27212 +/* Line 191 of yacc.c. */
27213 +#line 137 "y.tab.c"
27214 +# define yystype YYSTYPE /* obsolescent; will be withdrawn */
27215 +# define YYSTYPE_IS_DECLARED 1
27216 +# define YYSTYPE_IS_TRIVIAL 1
27221 -#define YYFINAL 31
27222 -#define YYFLAG -32768
27223 -#define YYNTBASE 16
27225 -#define YYTRANSLATE(x) ((unsigned)(x) <= 267 ? yytranslate[x] : 27)
27227 -static const char yytranslate[] = { 0,
27228 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27229 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27230 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27231 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27232 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27233 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27234 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27235 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27236 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27237 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27238 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27239 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27240 - 2, 2, 14, 2, 15, 2, 2, 2, 2, 2,
27241 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27242 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27243 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27244 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27245 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27246 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27247 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27248 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27249 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27250 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27251 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27252 - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27253 - 2, 2, 2, 2, 2, 1, 3, 4, 5, 6,
27254 - 7, 8, 9, 10, 11, 12, 13
27258 -static const short yyprhs[] = { 0,
27259 - 0, 1, 4, 7, 10, 13, 14, 15, 25, 26,
27260 - 29, 30, 33, 34, 36, 37, 40, 41, 45
27262 +/* Copy the second part of user declarations. */
27265 +/* Line 214 of yacc.c. */
27266 +#line 149 "y.tab.c"
27268 +#if ! defined (yyoverflow) || YYERROR_VERBOSE
27271 +# define YYFREE free
27274 +# define YYMALLOC malloc
27277 +/* The parser invokes alloca or malloc; define the necessary symbols. */
27279 +# ifdef YYSTACK_USE_ALLOCA
27280 +# if YYSTACK_USE_ALLOCA
27281 +# define YYSTACK_ALLOC alloca
27284 +# if defined (alloca) || defined (_ALLOCA_H)
27285 +# define YYSTACK_ALLOC alloca
27288 +# define YYSTACK_ALLOC __builtin_alloca
27293 +# ifdef YYSTACK_ALLOC
27294 + /* Pacify GCC's `empty if-body' warning. */
27295 +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
27297 +# if defined (__STDC__) || defined (__cplusplus)
27298 +# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
27299 +# define YYSIZE_T size_t
27301 +# define YYSTACK_ALLOC YYMALLOC
27302 +# define YYSTACK_FREE YYFREE
27304 +#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */
27307 +#if (! defined (yyoverflow) \
27308 + && (! defined (__cplusplus) \
27309 + || (defined (YYSTYPE_IS_TRIVIAL) && YYSTYPE_IS_TRIVIAL)))
27311 -static const short yyrhs[] = { -1,
27312 - 17, 16, 0, 18, 16, 0, 11, 16, 0, 10,
27313 - 8, 0, 0, 0, 21, 9, 14, 19, 22, 20,
27314 - 23, 24, 15, 0, 0, 3, 8, 0, 0, 5,
27315 - 12, 0, 0, 13, 0, 0, 26, 24, 0, 0,
27316 - 6, 25, 24, 0, 7, 0
27318 +/* A type that is properly aligned for any stack member. */
27325 +/* The size of the maximum gap between one aligned stack and the next. */
27326 +# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
27328 +/* The size of an array large to enough to hold all stacks, each with
27330 +# define YYSTACK_BYTES(N) \
27331 + ((N) * (sizeof (short int) + sizeof (YYSTYPE)) \
27332 + + YYSTACK_GAP_MAXIMUM)
27334 +/* Copy COUNT objects from FROM to TO. The source and destination do
27337 +# if defined (__GNUC__) && 1 < __GNUC__
27338 +# define YYCOPY(To, From, Count) \
27339 + __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
27341 +# define YYCOPY(To, From, Count) \
27344 + register YYSIZE_T yyi; \
27345 + for (yyi = 0; yyi < (Count); yyi++) \
27346 + (To)[yyi] = (From)[yyi]; \
27352 +/* Relocate STACK from its old location to the new one. The
27353 + local variables YYSIZE and YYSTACKSIZE give the old and new number of
27354 + elements in the stack, and YYPTR gives the new location of the
27355 + stack. Advance YYPTR to a properly aligned location for the next
27357 +# define YYSTACK_RELOCATE(Stack) \
27360 + YYSIZE_T yynewbytes; \
27361 + YYCOPY (&yyptr->Stack, Stack, yysize); \
27362 + Stack = &yyptr->Stack; \
27363 + yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
27364 + yyptr += yynewbytes / sizeof (*yyptr); \
27371 -static const short yyrline[] = { 0,
27372 - 43, 44, 45, 46, 52, 59, 65, 73, 76, 80,
27373 - 87, 88, 94, 95, 101, 102, 103, 108, 110
27375 +#if defined (__STDC__) || defined (__cplusplus)
27376 + typedef signed char yysigned_char;
27378 + typedef short int yysigned_char;
27381 +/* YYFINAL -- State number of the termination state. */
27382 +#define YYFINAL 11
27383 +/* YYLAST -- Last index in YYTABLE. */
27386 +/* YYNTOKENS -- Number of terminals. */
27387 +#define YYNTOKENS 16
27388 +/* YYNNTS -- Number of nonterminals. */
27390 +/* YYNRULES -- Number of rules. */
27391 +#define YYNRULES 20
27392 +/* YYNRULES -- Number of states. */
27393 +#define YYNSTATES 31
27395 +/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
27396 +#define YYUNDEFTOK 2
27397 +#define YYMAXUTOK 268
27399 -#if YYDEBUG != 0 || defined (YYERROR_VERBOSE)
27400 +#define YYTRANSLATE(YYX) \
27401 + ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
27403 -static const char * const yytname[] = { "$","error","$undefined.","TOK_COMMAND",
27404 -"TOK_VPCI","TOK_ITF","TOK_DEFAULT","TOK_ROUTE","TOK_STR","TOK_SOCKET","TOK_OPTION",
27405 -"TOK_CONTROL","TOK_NUM","TOK_PVC","'{'","'}'","all","option","sig","@1","@2",
27406 -"opt_command","opt_itf","opt_via","routes","@3","route", NULL
27407 +/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
27408 +static const unsigned char yytranslate[] =
27410 + 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27411 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27412 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27413 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27414 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27415 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27416 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27417 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27418 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27419 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27420 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27421 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27422 + 2, 2, 2, 14, 2, 15, 2, 2, 2, 2,
27423 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27424 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27425 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27426 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27427 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27428 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27429 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27430 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27431 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27432 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27433 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27434 + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27435 + 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
27436 + 5, 6, 7, 8, 9, 10, 11, 12, 13
27440 -static const short yyr1[] = { 0,
27441 - 16, 16, 16, 16, 17, 19, 20, 18, 21, 21,
27442 - 22, 22, 23, 23, 24, 24, 25, 24, 26
27444 +/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
27446 +static const unsigned char yyprhs[] =
27448 + 0, 0, 3, 4, 7, 10, 13, 16, 17, 18,
27449 + 28, 29, 32, 33, 36, 37, 39, 40, 43, 44,
27453 -static const short yyr2[] = { 0,
27454 - 0, 2, 2, 2, 2, 0, 0, 9, 0, 2,
27455 - 0, 2, 0, 1, 0, 2, 0, 3, 1
27456 +/* YYRHS -- A `-1'-separated list of the rules' RHS. */
27457 +static const yysigned_char yyrhs[] =
27459 + 17, 0, -1, -1, 18, 17, -1, 19, 17, -1,
27460 + 11, 17, -1, 10, 8, -1, -1, -1, 22, 9,
27461 + 14, 20, 23, 21, 24, 25, 15, -1, -1, 3,
27462 + 8, -1, -1, 5, 12, -1, -1, 13, -1, -1,
27463 + 27, 25, -1, -1, 6, 26, 25, -1, 7, -1
27466 -static const short yydefact[] = { 1,
27467 - 0, 0, 1, 1, 1, 0, 10, 5, 4, 2,
27468 - 3, 0, 6, 11, 0, 7, 12, 13, 14, 15,
27469 - 17, 19, 0, 15, 15, 8, 16, 18, 0, 0,
27471 +/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
27472 +static const unsigned char yyrline[] =
27474 + 0, 46, 46, 47, 48, 49, 56, 64, 68, 63,
27475 + 80, 83, 90, 91, 97, 98, 104, 105, 107, 106,
27480 -static const short yydefgoto[] = { 9,
27481 - 4, 5, 14, 18, 6, 16, 20, 23, 25, 24
27482 +#if YYDEBUG || YYERROR_VERBOSE
27483 +/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
27484 + First, the terminals, then, starting at YYNTOKENS, nonterminals. */
27485 +static const char *const yytname[] =
27487 + "$end", "error", "$undefined", "TOK_COMMAND", "TOK_VPCI", "TOK_ITF",
27488 + "TOK_DEFAULT", "TOK_ROUTE", "TOK_STR", "TOK_SOCKET", "TOK_OPTION",
27489 + "TOK_CONTROL", "TOK_NUM", "TOK_PVC", "'{'", "'}'", "$accept", "all",
27490 + "option", "sig", "@1", "@2", "opt_command", "opt_itf", "opt_via",
27491 + "routes", "@3", "route", 0
27495 -static const short yypact[] = { -3,
27496 - 3, 4, -3, -3, -3, 6,-32768,-32768,-32768,-32768,
27497 --32768, -1,-32768, 9, 7,-32768,-32768, 8,-32768, -5,
27498 --32768,-32768, 1, -5, -5,-32768,-32768,-32768, 17, 18,
27501 +/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
27502 + token YYLEX-NUM. */
27503 +static const unsigned short int yytoknum[] =
27505 + 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
27506 + 265, 266, 267, 268, 123, 125
27510 -static const short yypgoto[] = { 5,
27511 --32768,-32768,-32768,-32768,-32768,-32768,-32768, -21,-32768,-32768
27512 +/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
27513 +static const unsigned char yyr1[] =
27515 + 0, 16, 17, 17, 17, 17, 18, 20, 21, 19,
27516 + 22, 22, 23, 23, 24, 24, 25, 25, 26, 25,
27524 -static const short yytable[] = { 1,
27525 - 21, 22, 27, 28, 29, -9, 2, 3, 10, 11,
27526 - 7, 8, 13, 15, 12, 26, 30, 31, 17, 0,
27528 +/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
27529 +static const unsigned char yyr2[] =
27531 + 0, 2, 0, 2, 2, 2, 2, 0, 0, 9,
27532 + 0, 2, 0, 2, 0, 1, 0, 2, 0, 3,
27536 -static const short yycheck[] = { 3,
27537 - 6, 7, 24, 25, 0, 9, 10, 11, 4, 5,
27538 - 8, 8, 14, 5, 9, 15, 0, 0, 12, -1,
27540 +/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
27541 + STATE-NUM when YYTABLE doesn't specify something else to do. Zero
27542 + means the default is an error. */
27543 +static const unsigned char yydefact[] =
27545 + 2, 0, 0, 2, 0, 2, 2, 0, 11, 6,
27546 + 5, 1, 3, 4, 0, 7, 12, 0, 8, 13,
27547 + 14, 15, 16, 18, 20, 0, 16, 16, 9, 17,
27550 -/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
27551 -#line 3 "/usr/lib/bison.simple"
27552 -/* This file comes from bison-1.28. */
27554 -/* Skeleton output parser for bison,
27555 - Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
27556 +/* YYDEFGOTO[NTERM-NUM]. */
27557 +static const yysigned_char yydefgoto[] =
27559 + -1, 4, 5, 6, 16, 20, 7, 18, 22, 25,
27563 - This program is free software; you can redistribute it and/or modify
27564 - it under the terms of the GNU General Public License as published by
27565 - the Free Software Foundation; either version 2, or (at your option)
27566 - any later version.
27567 +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
27569 +#define YYPACT_NINF -16
27570 +static const yysigned_char yypact[] =
27572 + -3, -6, 5, -3, 14, -3, -3, -4, -16, -16,
27573 + -16, -16, -16, -16, 1, -16, 11, 6, -16, -16,
27574 + 4, -16, 3, -16, -16, 7, 3, 3, -16, -16,
27578 - This program is distributed in the hope that it will be useful,
27579 - but WITHOUT ANY WARRANTY; without even the implied warranty of
27580 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27581 - GNU General Public License for more details.
27582 +/* YYPGOTO[NTERM-NUM]. */
27583 +static const yysigned_char yypgoto[] =
27585 + -16, -2, -16, -16, -16, -16, -16, -16, -16, -15,
27589 - You should have received a copy of the GNU General Public License
27590 - along with this program; if not, write to the Free Software
27591 - Foundation, Inc., 59 Temple Place - Suite 330,
27592 - Boston, MA 02111-1307, USA. */
27593 +/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
27594 + positive, shift that token. If negative, reduce the rule which
27595 + number is the opposite. If zero, do what YYDEFACT says.
27596 + If YYTABLE_NINF, syntax error. */
27597 +#define YYTABLE_NINF -11
27598 +static const yysigned_char yytable[] =
27600 + 1, 10, 8, 12, 13, 14, -10, 2, 3, 23,
27601 + 24, 29, 30, 9, 11, 15, 17, 21, 19, 0,
27605 -/* As a special exception, when this file is copied by Bison into a
27606 - Bison output file, you may use that output file without restriction.
27607 - This special exception was added by the Free Software Foundation
27608 - in version 1.24 of Bison. */
27609 +static const yysigned_char yycheck[] =
27611 + 3, 3, 8, 5, 6, 9, 9, 10, 11, 6,
27612 + 7, 26, 27, 8, 0, 14, 5, 13, 12, -1,
27616 -/* This is the parser code that is written into each bison parser
27617 - when the %semantic_parser declaration is not specified in the grammar.
27618 - It was written by Richard Stallman by simplifying the hairy parser
27619 - used when %semantic_parser is specified. */
27621 -#ifndef YYSTACK_USE_ALLOCA
27623 -#define YYSTACK_USE_ALLOCA
27624 -#else /* alloca not defined */
27626 -#define YYSTACK_USE_ALLOCA
27627 -#define alloca __builtin_alloca
27628 -#else /* not GNU C. */
27629 -#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) || (defined (__sun) && defined (__i386))
27630 -#define YYSTACK_USE_ALLOCA
27631 -#include <alloca.h>
27632 -#else /* not sparc */
27633 -/* We think this test detects Watcom and Microsoft C. */
27634 -/* This used to test MSDOS, but that is a bad idea
27635 - since that symbol is in the user namespace. */
27636 -#if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__)
27637 -#if 0 /* No need for malloc.h, which pollutes the namespace;
27638 - instead, just don't use alloca. */
27639 -#include <malloc.h>
27641 -#else /* not MSDOS, or __TURBOC__ */
27643 -/* I don't know what this was needed for, but it pollutes the namespace.
27644 - So I turned it off. rms, 2 May 1997. */
27645 -/* #include <malloc.h> */
27647 -#define YYSTACK_USE_ALLOCA
27648 -#else /* not MSDOS, or __TURBOC__, or _AIX */
27650 -#ifdef __hpux /* haible@ilog.fr says this works for HPUX 9.05 and up,
27651 - and on HPUX 10. Eventually we can turn this on. */
27652 -#define YYSTACK_USE_ALLOCA
27653 -#define alloca __builtin_alloca
27654 -#endif /* __hpux */
27656 -#endif /* not _AIX */
27657 -#endif /* not MSDOS, or __TURBOC__ */
27658 -#endif /* not sparc */
27659 -#endif /* not GNU C */
27660 -#endif /* alloca not defined */
27661 -#endif /* YYSTACK_USE_ALLOCA not defined */
27662 +/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
27663 + symbol of state STATE-NUM. */
27664 +static const unsigned char yystos[] =
27666 + 0, 3, 10, 11, 17, 18, 19, 22, 8, 8,
27667 + 17, 0, 17, 17, 9, 14, 20, 5, 23, 12,
27668 + 21, 13, 24, 6, 7, 25, 27, 26, 15, 25,
27672 -#ifdef YYSTACK_USE_ALLOCA
27673 -#define YYSTACK_ALLOC alloca
27675 -#define YYSTACK_ALLOC malloc
27676 +#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
27677 +# define YYSIZE_T __SIZE_TYPE__
27679 +#if ! defined (YYSIZE_T) && defined (size_t)
27680 +# define YYSIZE_T size_t
27682 +#if ! defined (YYSIZE_T)
27683 +# if defined (__STDC__) || defined (__cplusplus)
27684 +# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
27685 +# define YYSIZE_T size_t
27688 +#if ! defined (YYSIZE_T)
27689 +# define YYSIZE_T unsigned int
27692 -/* Note: there must be only one dollar sign in this file.
27693 - It is replaced by the list of actions, each action
27694 - as one case of the switch. */
27696 #define yyerrok (yyerrstatus = 0)
27697 #define yyclearin (yychar = YYEMPTY)
27698 -#define YYEMPTY -2
27699 +#define YYEMPTY (-2)
27702 #define YYACCEPT goto yyacceptlab
27703 -#define YYABORT goto yyabortlab
27704 -#define YYERROR goto yyerrlab1
27705 -/* Like YYERROR except do call yyerror.
27706 - This remains here temporarily to ease the
27707 - transition to the new meaning of YYERROR, for GCC.
27708 +#define YYABORT goto yyabortlab
27709 +#define YYERROR goto yyerrorlab
27712 +/* Like YYERROR except do call yyerror. This remains here temporarily
27713 + to ease the transition to the new meaning of YYERROR, for GCC.
27714 Once GCC version 2 has supplanted version 1, this can go. */
27716 #define YYFAIL goto yyerrlab
27718 #define YYRECOVERING() (!!yyerrstatus)
27719 -#define YYBACKUP(token, value) \
27721 +#define YYBACKUP(Token, Value) \
27723 if (yychar == YYEMPTY && yylen == 1) \
27724 - { yychar = (token), yylval = (value); \
27725 - yychar1 = YYTRANSLATE (yychar); \
27727 + yychar = (Token); \
27728 + yylval = (Value); \
27729 + yytoken = YYTRANSLATE (yychar); \
27734 - { yyerror ("syntax error: cannot back up"); YYERROR; } \
27736 + yyerror ("syntax error: cannot back up");\
27742 #define YYERRCODE 256
27745 -#define YYLEX yylex()
27747 +/* YYLLOC_DEFAULT -- Compute the default location (before the actions
27751 -#ifdef YYLSP_NEEDED
27752 -#ifdef YYLEX_PARAM
27753 -#define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM)
27755 -#define YYLEX yylex(&yylval, &yylloc)
27756 +#ifndef YYLLOC_DEFAULT
27757 +# define YYLLOC_DEFAULT(Current, Rhs, N) \
27758 + ((Current).first_line = (Rhs)[1].first_line, \
27759 + (Current).first_column = (Rhs)[1].first_column, \
27760 + (Current).last_line = (Rhs)[N].last_line, \
27761 + (Current).last_column = (Rhs)[N].last_column)
27763 -#else /* not YYLSP_NEEDED */
27765 +/* YYLEX -- calling `yylex' with the right arguments. */
27768 -#define YYLEX yylex(&yylval, YYLEX_PARAM)
27769 +# define YYLEX yylex (YYLEX_PARAM)
27771 -#define YYLEX yylex(&yylval)
27773 -#endif /* not YYLSP_NEEDED */
27774 +# define YYLEX yylex ()
27777 -/* If nonreentrant, generate the variables here */
27778 +/* Enable debugging if requested. */
27782 +# ifndef YYFPRINTF
27783 +# include <stdio.h> /* INFRINGES ON USER NAME SPACE */
27784 +# define YYFPRINTF fprintf
27787 +# define YYDPRINTF(Args) \
27790 + YYFPRINTF Args; \
27793 +# define YYDSYMPRINT(Args) \
27796 + yysymprint Args; \
27799 +# define YYDSYMPRINTF(Title, Token, Value, Location) \
27803 + YYFPRINTF (stderr, "%s ", Title); \
27804 + yysymprint (stderr, \
27806 + YYFPRINTF (stderr, "\n"); \
27810 -int yychar; /* the lookahead symbol */
27811 -YYSTYPE yylval; /* the semantic value of the */
27812 - /* lookahead symbol */
27813 +/*------------------------------------------------------------------.
27814 +| yy_stack_print -- Print the state stack from its BOTTOM up to its |
27815 +| TOP (included). |
27816 +`------------------------------------------------------------------*/
27818 -#ifdef YYLSP_NEEDED
27819 -YYLTYPE yylloc; /* location data for the lookahead */
27821 +#if defined (__STDC__) || defined (__cplusplus)
27823 +yy_stack_print (short int *bottom, short int *top)
27826 +yy_stack_print (bottom, top)
27827 + short int *bottom;
27831 + YYFPRINTF (stderr, "Stack now");
27832 + for (/* Nothing. */; bottom <= top; ++bottom)
27833 + YYFPRINTF (stderr, " %d", *bottom);
27834 + YYFPRINTF (stderr, "\n");
27837 -int yynerrs; /* number of parse errors so far */
27838 -#endif /* not YYPURE */
27839 +# define YY_STACK_PRINT(Bottom, Top) \
27842 + yy_stack_print ((Bottom), (Top)); \
27846 -int yydebug; /* nonzero means print parse trace */
27847 -/* Since this is uninitialized, it does not stop multiple parsers
27848 - from coexisting. */
27850 +/*------------------------------------------------.
27851 +| Report that the YYRULE is going to be reduced. |
27852 +`------------------------------------------------*/
27854 +#if defined (__STDC__) || defined (__cplusplus)
27856 +yy_reduce_print (int yyrule)
27859 +yy_reduce_print (yyrule)
27864 + unsigned int yylno = yyrline[yyrule];
27865 + YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ",
27866 + yyrule - 1, yylno);
27867 + /* Print the symbols being reduced, and their result. */
27868 + for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)
27869 + YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]);
27870 + YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]);
27873 +# define YY_REDUCE_PRINT(Rule) \
27876 + yy_reduce_print (Rule); \
27879 +/* Nonzero means print parse trace. It is left uninitialized so that
27880 + multiple parsers can coexist. */
27882 +#else /* !YYDEBUG */
27883 +# define YYDPRINTF(Args)
27884 +# define YYDSYMPRINT(Args)
27885 +# define YYDSYMPRINTF(Title, Token, Value, Location)
27886 +# define YY_STACK_PRINT(Bottom, Top)
27887 +# define YY_REDUCE_PRINT(Rule)
27888 +#endif /* !YYDEBUG */
27890 -/* YYINITDEPTH indicates the initial size of the parser's stacks */
27892 +/* YYINITDEPTH -- initial size of the parser's stacks. */
27893 #ifndef YYINITDEPTH
27894 -#define YYINITDEPTH 200
27895 +# define YYINITDEPTH 200
27898 -/* YYMAXDEPTH is the maximum size the stacks can grow to
27899 - (effective only if the built-in stack extension method is used). */
27900 +/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
27901 + if the built-in stack extension method is used).
27903 -#if YYMAXDEPTH == 0
27905 + Do not make this value too large; the results are undefined if
27906 + SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH)
27907 + evaluated with infinite-precision integer arithmetic. */
27909 +#if defined (YYMAXDEPTH) && YYMAXDEPTH == 0
27910 +# undef YYMAXDEPTH
27914 -#define YYMAXDEPTH 10000
27915 +# define YYMAXDEPTH 10000
27919 -/* Define __yy_memcpy. Note that the size argument
27920 - should be passed with type unsigned int, because that is what the non-GCC
27921 - definitions require. With GCC, __builtin_memcpy takes an arg
27922 - of type size_t, but it can handle unsigned int. */
27924 -#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
27925 -#define __yy_memcpy(TO,FROM,COUNT) __builtin_memcpy(TO,FROM,COUNT)
27926 -#else /* not GNU C or C++ */
27927 -#ifndef __cplusplus
27929 -/* This is the most reliable way to avoid incompatibilities
27930 - in available built-in functions on various systems. */
27932 -__yy_memcpy (to, from, count)
27935 - unsigned int count;
27937 - register char *f = from;
27938 - register char *t = to;
27939 - register int i = count;
27940 +#if YYERROR_VERBOSE
27943 +# if defined (__GLIBC__) && defined (_STRING_H)
27944 +# define yystrlen strlen
27946 +/* Return the length of YYSTR. */
27948 +# if defined (__STDC__) || defined (__cplusplus)
27949 +yystrlen (const char *yystr)
27952 + const char *yystr;
27955 + register const char *yys = yystr;
27957 + while (*yys++ != '\0')
27960 + return yys - yystr - 1;
27966 +# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE)
27967 +# define yystpcpy stpcpy
27969 +/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
27972 +# if defined (__STDC__) || defined (__cplusplus)
27973 +yystpcpy (char *yydest, const char *yysrc)
27975 +yystpcpy (yydest, yysrc)
27977 + const char *yysrc;
27980 + register char *yyd = yydest;
27981 + register const char *yys = yysrc;
27985 + while ((*yyd++ = *yys++) != '\0')
27993 +#endif /* !YYERROR_VERBOSE */
27995 -#else /* __cplusplus */
27999 +/*--------------------------------.
28000 +| Print this symbol on YYOUTPUT. |
28001 +`--------------------------------*/
28003 -/* This is the most reliable way to avoid incompatibilities
28004 - in available built-in functions on various systems. */
28005 +#if defined (__STDC__) || defined (__cplusplus)
28007 -__yy_memcpy (char *to, char *from, unsigned int count)
28008 +yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep)
28011 +yysymprint (yyoutput, yytype, yyvaluep)
28014 + YYSTYPE *yyvaluep;
28017 - register char *t = to;
28018 - register char *f = from;
28019 - register int i = count;
28020 + /* Pacify ``unused variable'' warnings. */
28025 + if (yytype < YYNTOKENS)
28027 + YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
28029 + YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
28033 + YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
28040 + YYFPRINTF (yyoutput, ")");
28043 +#endif /* ! YYDEBUG */
28044 +/*-----------------------------------------------.
28045 +| Release the memory associated to this symbol. |
28046 +`-----------------------------------------------*/
28048 +#if defined (__STDC__) || defined (__cplusplus)
28050 +yydestruct (int yytype, YYSTYPE *yyvaluep)
28053 +yydestruct (yytype, yyvaluep)
28055 + YYSTYPE *yyvaluep;
28059 + /* Pacify ``unused variable'' warnings. */
28070 -#line 217 "/usr/lib/bison.simple"
28072 -/* The user can define YYPARSE_PARAM as the name of an argument to be passed
28073 - into yyparse. The argument should have type void *.
28074 - It should actually point to an object.
28075 - Grammar actions can access the variable by casting it
28076 - to the proper pointer type. */
28077 +/* Prevent warnings from -Wmissing-prototypes. */
28079 #ifdef YYPARSE_PARAM
28080 -#ifdef __cplusplus
28081 -#define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
28082 -#define YYPARSE_PARAM_DECL
28083 -#else /* not __cplusplus */
28084 -#define YYPARSE_PARAM_ARG YYPARSE_PARAM
28085 -#define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
28086 -#endif /* not __cplusplus */
28087 -#else /* not YYPARSE_PARAM */
28088 -#define YYPARSE_PARAM_ARG
28089 -#define YYPARSE_PARAM_DECL
28090 -#endif /* not YYPARSE_PARAM */
28091 +# if defined (__STDC__) || defined (__cplusplus)
28092 +int yyparse (void *YYPARSE_PARAM);
28096 +#else /* ! YYPARSE_PARAM */
28097 +#if defined (__STDC__) || defined (__cplusplus)
28098 +int yyparse (void);
28102 +#endif /* ! YYPARSE_PARAM */
28106 +/* The lookahead symbol. */
28109 +/* The semantic value of the lookahead symbol. */
28112 +/* Number of syntax errors so far. */
28121 -/* Prevent warning if -Wstrict-prototypes. */
28123 #ifdef YYPARSE_PARAM
28124 -int yyparse (void *);
28125 +# if defined (__STDC__) || defined (__cplusplus)
28126 +int yyparse (void *YYPARSE_PARAM)
28128 +int yyparse (YYPARSE_PARAM)
28129 + void *YYPARSE_PARAM;
28131 +#else /* ! YYPARSE_PARAM */
28132 +#if defined (__STDC__) || defined (__cplusplus)
28136 -int yyparse (void);
28144 -yyparse(YYPARSE_PARAM_ARG)
28145 - YYPARSE_PARAM_DECL
28148 register int yystate;
28150 - register short *yyssp;
28152 + /* Number of tokens to shift before error messages enabled. */
28154 + /* Lookahead token as an internal (translated) token number. */
28157 + /* Three stacks and their tools:
28158 + `yyss': related to states,
28159 + `yyvs': related to semantic values,
28160 + `yyls': related to locations.
28162 + Refer to the stacks thru separate pointers, to allow yyoverflow
28163 + to reallocate them elsewhere. */
28165 + /* The state stack. */
28166 + short int yyssa[YYINITDEPTH];
28167 + short int *yyss = yyssa;
28168 + register short int *yyssp;
28170 + /* The semantic value stack. */
28171 + YYSTYPE yyvsa[YYINITDEPTH];
28172 + YYSTYPE *yyvs = yyvsa;
28173 register YYSTYPE *yyvsp;
28174 - int yyerrstatus; /* number of tokens to shift before error messages enabled */
28175 - int yychar1 = 0; /* lookahead token as an internal (translated) token number */
28177 - short yyssa[YYINITDEPTH]; /* the state stack */
28178 - YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */
28180 - short *yyss = yyssa; /* refer to the stacks thru separate pointers */
28181 - YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */
28183 -#ifdef YYLSP_NEEDED
28184 - YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */
28185 - YYLTYPE *yyls = yylsa;
28188 -#define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
28190 #define YYPOPSTACK (yyvsp--, yyssp--)
28193 - int yystacksize = YYINITDEPTH;
28194 - int yyfree_stacks = 0;
28195 + YYSIZE_T yystacksize = YYINITDEPTH;
28201 -#ifdef YYLSP_NEEDED
28205 + /* The variables used to return semantic value and location from the
28206 + action routines. */
28209 - YYSTYPE yyval; /* the variable used to return */
28210 - /* semantic values from the action */
28213 + /* When reducing, the number of symbols on the RHS of the reduced
28219 - fprintf(stderr, "Starting parse\n");
28221 + YYDPRINTF ((stderr, "Starting parse\n"));
28225 @@ -479,110 +853,97 @@
28226 so that they stay on the same level as the state stack.
28227 The wasted elements are never initialized. */
28229 - yyssp = yyss - 1;
28232 -#ifdef YYLSP_NEEDED
28236 -/* Push a new state, which is found in yystate . */
28237 -/* In all cases, when you get here, the value and location stacks
28238 - have just been pushed. so pushing a state here evens the stacks. */
28241 - *++yyssp = yystate;
28244 - if (yyssp >= yyss + yystacksize - 1)
28246 - /* Give user a chance to reallocate the stack */
28247 - /* Use copies of these so that the &'s don't force the real ones into memory. */
28248 - YYSTYPE *yyvs1 = yyvs;
28249 - short *yyss1 = yyss;
28250 -#ifdef YYLSP_NEEDED
28251 - YYLTYPE *yyls1 = yyls;
28253 +/*------------------------------------------------------------.
28254 +| yynewstate -- Push a new state, which is found in yystate. |
28255 +`------------------------------------------------------------*/
28257 + /* In all cases, when you get here, the value and location stacks
28258 + have just been pushed. so pushing a state here evens the stacks.
28263 + *yyssp = yystate;
28265 + if (yyss + yystacksize - 1 <= yyssp)
28267 /* Get the current used size of the three stacks, in elements. */
28268 - int size = yyssp - yyss + 1;
28269 + YYSIZE_T yysize = yyssp - yyss + 1;
28272 - /* Each stack pointer address is followed by the size of
28273 - the data in use in that stack, in bytes. */
28274 -#ifdef YYLSP_NEEDED
28275 - /* This used to be a conditional around just the two extra args,
28276 - but that might be undefined if yyoverflow is a macro. */
28277 - yyoverflow("parser stack overflow",
28278 - &yyss1, size * sizeof (*yyssp),
28279 - &yyvs1, size * sizeof (*yyvsp),
28280 - &yyls1, size * sizeof (*yylsp),
28283 - yyoverflow("parser stack overflow",
28284 - &yyss1, size * sizeof (*yyssp),
28285 - &yyvs1, size * sizeof (*yyvsp),
28289 - yyss = yyss1; yyvs = yyvs1;
28290 -#ifdef YYLSP_NEEDED
28294 + /* Give user a chance to reallocate the stack. Use copies of
28295 + these so that the &'s don't force the real ones into
28297 + YYSTYPE *yyvs1 = yyvs;
28298 + short int *yyss1 = yyss;
28301 + /* Each stack pointer address is followed by the size of the
28302 + data in use in that stack, in bytes. This used to be a
28303 + conditional around just the two extra args, but that might
28304 + be undefined if yyoverflow is a macro. */
28305 + yyoverflow ("parser stack overflow",
28306 + &yyss1, yysize * sizeof (*yyssp),
28307 + &yyvs1, yysize * sizeof (*yyvsp),
28314 #else /* no yyoverflow */
28315 +# ifndef YYSTACK_RELOCATE
28316 + goto yyoverflowlab;
28318 /* Extend the stack our own way. */
28319 - if (yystacksize >= YYMAXDEPTH)
28321 - yyerror("parser stack overflow");
28322 - if (yyfree_stacks)
28326 -#ifdef YYLSP_NEEDED
28332 + if (YYMAXDEPTH <= yystacksize)
28333 + goto yyoverflowlab;
28335 - if (yystacksize > YYMAXDEPTH)
28336 + if (YYMAXDEPTH < yystacksize)
28337 yystacksize = YYMAXDEPTH;
28338 -#ifndef YYSTACK_USE_ALLOCA
28339 - yyfree_stacks = 1;
28341 - yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp));
28342 - __yy_memcpy ((char *)yyss, (char *)yyss1,
28343 - size * (unsigned int) sizeof (*yyssp));
28344 - yyvs = (YYSTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yyvsp));
28345 - __yy_memcpy ((char *)yyvs, (char *)yyvs1,
28346 - size * (unsigned int) sizeof (*yyvsp));
28347 -#ifdef YYLSP_NEEDED
28348 - yyls = (YYLTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yylsp));
28349 - __yy_memcpy ((char *)yyls, (char *)yyls1,
28350 - size * (unsigned int) sizeof (*yylsp));
28354 + short int *yyss1 = yyss;
28355 + union yyalloc *yyptr =
28356 + (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
28358 + goto yyoverflowlab;
28359 + YYSTACK_RELOCATE (yyss);
28360 + YYSTACK_RELOCATE (yyvs);
28362 +# undef YYSTACK_RELOCATE
28363 + if (yyss1 != yyssa)
28364 + YYSTACK_FREE (yyss1);
28367 #endif /* no yyoverflow */
28369 - yyssp = yyss + size - 1;
28370 - yyvsp = yyvs + size - 1;
28371 -#ifdef YYLSP_NEEDED
28372 - yylsp = yyls + size - 1;
28374 + yyssp = yyss + yysize - 1;
28375 + yyvsp = yyvs + yysize - 1;
28379 - fprintf(stderr, "Stack size increased to %d\n", yystacksize);
28382 - if (yyssp >= yyss + yystacksize - 1)
28383 + YYDPRINTF ((stderr, "Stack size increased to %lu\n",
28384 + (unsigned long int) yystacksize));
28386 + if (yyss + yystacksize - 1 <= yyssp)
28392 - fprintf(stderr, "Entering state %d\n", yystate);
28394 + YYDPRINTF ((stderr, "Entering state %d\n", yystate));
28404 /* Do appropriate processing given the current state. */
28405 /* Read a lookahead token if we need one and don't already have one. */
28406 @@ -591,194 +952,167 @@
28407 /* First try to decide what to do without reference to lookahead token. */
28409 yyn = yypact[yystate];
28410 - if (yyn == YYFLAG)
28411 + if (yyn == YYPACT_NINF)
28414 /* Not known => get a lookahead token if don't already have one. */
28416 - /* yychar is either YYEMPTY or YYEOF
28417 - or a valid token in external form. */
28419 + /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */
28420 if (yychar == YYEMPTY)
28424 - fprintf(stderr, "Reading a token: ");
28426 + YYDPRINTF ((stderr, "Reading a token: "));
28430 - /* Convert token to internal form (in yychar1) for indexing tables with */
28432 - if (yychar <= 0) /* This means end of input. */
28433 + if (yychar <= YYEOF)
28436 - yychar = YYEOF; /* Don't call YYLEX any more */
28440 - fprintf(stderr, "Now at end of input.\n");
28442 + yychar = yytoken = YYEOF;
28443 + YYDPRINTF ((stderr, "Now at end of input.\n"));
28447 - yychar1 = YYTRANSLATE(yychar);
28452 - fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
28453 - /* Give the individual parser a way to print the precise meaning
28454 - of a token, for further debugging info. */
28456 - YYPRINT (stderr, yychar, yylval);
28458 - fprintf (stderr, ")\n");
28461 + yytoken = YYTRANSLATE (yychar);
28462 + YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc);
28466 - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
28467 + /* If the proper action on seeing token YYTOKEN is to reduce or to
28468 + detect an error, take that action. */
28470 + if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
28473 yyn = yytable[yyn];
28475 - /* yyn is what to do for this token type in this state.
28476 - Negative => reduce, -yyn is rule number.
28477 - Positive => shift, yyn is new state.
28478 - New state is final state => don't bother to shift,
28479 - just return success.
28480 - 0, or most negative number => error. */
28485 - if (yyn == YYFLAG)
28486 + if (yyn == 0 || yyn == YYTABLE_NINF)
28491 - else if (yyn == 0)
28494 if (yyn == YYFINAL)
28497 /* Shift the lookahead token. */
28501 - fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
28503 + YYDPRINTF ((stderr, "Shifting token %s, ", yytname[yytoken]));
28505 /* Discard the token being shifted unless it is eof. */
28506 if (yychar != YYEOF)
28510 -#ifdef YYLSP_NEEDED
28511 - *++yylsp = yylloc;
28514 - /* count tokens shifted since error; after three, turn off error status. */
28515 - if (yyerrstatus) yyerrstatus--;
28517 + /* Count tokens shifted since error; after three, turn off error
28525 -/* Do the default action for the current state. */
28528 +/*-----------------------------------------------------------.
28529 +| yydefault -- do the default action for the current state. |
28530 +`-----------------------------------------------------------*/
28532 yyn = yydefact[yystate];
28538 -/* Do a reduction. yyn is the number of a rule to reduce with. */
28539 +/*-----------------------------.
28540 +| yyreduce -- Do a reduction. |
28541 +`-----------------------------*/
28543 + /* yyn is the number of a rule to reduce with. */
28546 - yyval = yyvsp[1-yylen]; /* implement default value of the action */
28552 + /* If YYLEN is nonzero, implement the default value of the action:
28555 - fprintf (stderr, "Reducing via rule %d (line %d), ",
28556 - yyn, yyrline[yyn]);
28557 + Otherwise, the following line sets YYVAL to garbage.
28558 + This behavior is undocumented and Bison
28559 + users should not rely upon it. Assigning to YYVAL
28560 + unconditionally makes the parser a bit smaller, and it avoids a
28561 + GCC warning that YYVAL may be used uninitialized. */
28562 + yyval = yyvsp[1-yylen];
28564 - /* Print the symbols being reduced, and their result. */
28565 - for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
28566 - fprintf (stderr, "%s ", yytname[yyrhs[i]]);
28567 - fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
28575 -#line 47 "cfg_y.y"
28577 + YY_REDUCE_PRINT (yyn);
28581 +#line 50 "cfg_y.y"
28583 control_init(yyvsp[-1].str);
28587 -#line 54 "cfg_y.y"
28593 +#line 57 "cfg_y.y"
28595 fab_option(yyvsp[-1].str,yyvsp[0].str);
28599 -#line 61 "cfg_y.y"
28605 +#line 64 "cfg_y.y"
28611 -#line 65 "cfg_y.y"
28617 +#line 68 "cfg_y.y"
28621 tmp = strdup(yyvsp[-3].str);
28622 if (!tmp) yyerror(strerror(errno));
28623 sig = sig_vc(yyvsp[-4].str,tmp,itf);
28627 -#line 77 "cfg_y.y"
28633 +#line 80 "cfg_y.y"
28639 -#line 81 "cfg_y.y"
28645 +#line 84 "cfg_y.y"
28647 yyval.str = strdup(yyvsp[0].str);
28648 if (!yyval.str) yyerror(strerror(errno));
28652 -#line 89 "cfg_y.y"
28658 +#line 92 "cfg_y.y"
28660 itf = yyvsp[0].num;
28664 -#line 96 "cfg_y.y"
28670 +#line 99 "cfg_y.y"
28672 sig->pvc = yyvsp[0].pvc;
28676 -#line 104 "cfg_y.y"
28682 +#line 107 "cfg_y.y"
28684 put_route(NULL,0,sig);
28688 -#line 112 "cfg_y.y"
28694 +#line 115 "cfg_y.y"
28696 struct sockaddr_atmsvc addr;
28699 @@ -790,228 +1124,236 @@
28702 put_route(&addr,mask ? strtol(mask,NULL,10) : INT_MAX,sig);
28706 - /* the action file gets copied in in place of this dollarsign */
28707 -#line 543 "/usr/lib/bison.simple"
28714 +/* Line 1010 of yacc.c. */
28715 +#line 1135 "y.tab.c"
28719 -#ifdef YYLSP_NEEDED
28726 - short *ssp1 = yyss - 1;
28727 - fprintf (stderr, "state stack now");
28728 - while (ssp1 != yyssp)
28729 - fprintf (stderr, " %d", *++ssp1);
28730 - fprintf (stderr, "\n");
28734 + YY_STACK_PRINT (yyss, yyssp);
28738 -#ifdef YYLSP_NEEDED
28742 - yylsp->first_line = yylloc.first_line;
28743 - yylsp->first_column = yylloc.first_column;
28744 - yylsp->last_line = (yylsp-1)->last_line;
28745 - yylsp->last_column = (yylsp-1)->last_column;
28750 - yylsp->last_line = (yylsp+yylen-1)->last_line;
28751 - yylsp->last_column = (yylsp+yylen-1)->last_column;
28755 - /* Now "shift" the result of the reduction.
28756 - Determine what state that goes to,
28757 - based on the state we popped back to
28758 - and the rule number reduced by. */
28759 + /* Now `shift' the result of the reduction. Determine what state
28760 + that goes to, based on the state we popped back to and the rule
28761 + number reduced by. */
28765 - yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
28766 - if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
28767 + yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
28768 + if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
28769 yystate = yytable[yystate];
28771 - yystate = yydefgoto[yyn - YYNTBASE];
28772 + yystate = yydefgoto[yyn - YYNTOKENS];
28776 -yyerrlab: /* here on detecting error */
28778 - if (! yyerrstatus)
28779 - /* If not already recovering from an error, report this error. */
28780 +/*------------------------------------.
28781 +| yyerrlab -- here on detecting error |
28782 +`------------------------------------*/
28784 + /* If not already recovering from an error, report this error. */
28785 + if (!yyerrstatus)
28789 -#ifdef YYERROR_VERBOSE
28790 +#if YYERROR_VERBOSE
28791 yyn = yypact[yystate];
28793 - if (yyn > YYFLAG && yyn < YYLAST)
28794 + if (YYPACT_NINF < yyn && yyn < YYLAST)
28801 - /* Start X at -yyn if nec to avoid negative indexes in yycheck. */
28802 - for (x = (yyn < 0 ? -yyn : 0);
28803 - x < (sizeof(yytname) / sizeof(char *)); x++)
28804 - if (yycheck[x + yyn] == x)
28805 - size += strlen(yytname[x]) + 15, count++;
28806 - msg = (char *) malloc(size + 15);
28808 + YYSIZE_T yysize = 0;
28809 + int yytype = YYTRANSLATE (yychar);
28810 + const char* yyprefix;
28814 + /* Start YYX at -YYN if negative to avoid negative indexes in
28816 + int yyxbegin = yyn < 0 ? -yyn : 0;
28818 + /* Stay within bounds of both yycheck and yytname. */
28819 + int yychecklim = YYLAST - yyn;
28820 + int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
28823 + yyprefix = ", expecting ";
28824 + for (yyx = yyxbegin; yyx < yyxend; ++yyx)
28825 + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
28827 + yysize += yystrlen (yyprefix) + yystrlen (yytname [yyx]);
28829 + if (yycount == 5)
28835 + yysize += (sizeof ("syntax error, unexpected ")
28836 + + yystrlen (yytname[yytype]));
28837 + yymsg = (char *) YYSTACK_ALLOC (yysize);
28840 - strcpy(msg, "parse error");
28841 + char *yyp = yystpcpy (yymsg, "syntax error, unexpected ");
28842 + yyp = yystpcpy (yyp, yytname[yytype]);
28848 - for (x = (yyn < 0 ? -yyn : 0);
28849 - x < (sizeof(yytname) / sizeof(char *)); x++)
28850 - if (yycheck[x + yyn] == x)
28851 + yyprefix = ", expecting ";
28852 + for (yyx = yyxbegin; yyx < yyxend; ++yyx)
28853 + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
28855 - strcat(msg, count == 0 ? ", expecting `" : " or `");
28856 - strcat(msg, yytname[x]);
28857 - strcat(msg, "'");
28859 + yyp = yystpcpy (yyp, yyprefix);
28860 + yyp = yystpcpy (yyp, yytname[yyx]);
28861 + yyprefix = " or ";
28867 + YYSTACK_FREE (yymsg);
28870 - yyerror ("parse error; also virtual memory exceeded");
28871 + yyerror ("syntax error; also virtual memory exhausted");
28874 #endif /* YYERROR_VERBOSE */
28875 - yyerror("parse error");
28876 + yyerror ("syntax error");
28880 -yyerrlab1: /* here on error raised explicitly by an action */
28883 if (yyerrstatus == 3)
28885 - /* if just tried and failed to reuse lookahead token after an error, discard it. */
28886 + /* If just tried and failed to reuse lookahead token after an
28887 + error, discard it. */
28889 - /* return failure if at end of input */
28890 - if (yychar == YYEOF)
28895 - fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
28897 + if (yychar <= YYEOF)
28899 + /* If at end of input, pop the error token,
28900 + then the rest of the stack, then return failure. */
28901 + if (yychar == YYEOF)
28905 + if (yyssp == yyss)
28907 + YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp);
28908 + yydestruct (yystos[*yyssp], yyvsp);
28913 + YYDSYMPRINTF ("Error: discarding", yytoken, &yylval, &yylloc);
28914 + yydestruct (yytoken, &yylval);
28915 + yychar = YYEMPTY;
28917 - yychar = YYEMPTY;
28921 - /* Else will try to reuse lookahead token
28922 - after shifting the error token. */
28924 - yyerrstatus = 3; /* Each real token shifted decrements this */
28925 + /* Else will try to reuse lookahead token after shifting the error
28929 - goto yyerrhandle;
28931 -yyerrdefault: /* current state does not do anything special for the error token. */
28932 +/*---------------------------------------------------.
28933 +| yyerrorlab -- error raised explicitly by YYERROR. |
28934 +`---------------------------------------------------*/
28938 - /* This is wrong; only states that explicitly want error tokens
28939 - should shift them. */
28940 - yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/
28941 - if (yyn) goto yydefault;
28943 + /* Pacify GCC when the user code never invokes YYERROR and the label
28944 + yyerrorlab therefore never appears in user code. */
28949 -yyerrpop: /* pop the current state because it cannot handle the error token */
28951 - if (yyssp == yyss) YYABORT;
28953 - yystate = *--yyssp;
28954 -#ifdef YYLSP_NEEDED
28959 + yystate = *yyssp;
28965 - short *ssp1 = yyss - 1;
28966 - fprintf (stderr, "Error: state stack now");
28967 - while (ssp1 != yyssp)
28968 - fprintf (stderr, " %d", *++ssp1);
28969 - fprintf (stderr, "\n");
28974 +/*-------------------------------------------------------------.
28975 +| yyerrlab1 -- common code for both syntax error and YYERROR. |
28976 +`-------------------------------------------------------------*/
28978 + yyerrstatus = 3; /* Each real token shifted decrements this. */
28980 - yyn = yypact[yystate];
28981 - if (yyn == YYFLAG)
28982 - goto yyerrdefault;
28985 + yyn = yypact[yystate];
28986 + if (yyn != YYPACT_NINF)
28989 + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
28991 + yyn = yytable[yyn];
28998 - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
28999 - goto yyerrdefault;
29000 + /* Pop the current state because it cannot handle the error token. */
29001 + if (yyssp == yyss)
29004 - yyn = yytable[yyn];
29007 - if (yyn == YYFLAG)
29011 + YYDSYMPRINTF ("Error: popping", yystos[*yyssp], yyvsp, yylsp);
29012 + yydestruct (yystos[yystate], yyvsp);
29014 + yystate = *yyssp;
29015 + YY_STACK_PRINT (yyss, yyssp);
29017 - else if (yyn == 0)
29020 if (yyn == YYFINAL)
29025 - fprintf(stderr, "Shifting error token, ");
29027 + YYDPRINTF ((stderr, "Shifting error token, "));
29030 -#ifdef YYLSP_NEEDED
29031 - *++yylsp = yylloc;
29039 - /* YYACCEPT comes here. */
29040 - if (yyfree_stacks)
29044 -#ifdef YYLSP_NEEDED
29051 - /* YYABORT comes here. */
29052 - if (yyfree_stacks)
29056 -#ifdef YYLSP_NEEDED
29058 +/*-------------------------------------.
29059 +| yyacceptlab -- YYACCEPT comes here. |
29060 +`-------------------------------------*/
29065 +/*-----------------------------------.
29066 +| yyabortlab -- YYABORT comes here. |
29067 +`-----------------------------------*/
29072 +#ifndef yyoverflow
29073 +/*----------------------------------------------.
29074 +| yyoverflowlab -- parser overflow comes here. |
29075 +`----------------------------------------------*/
29077 + yyerror ("parser stack overflow");
29079 + /* Fall through. */
29083 +#ifndef yyoverflow
29084 + if (yyss != yyssa)
29085 + YYSTACK_FREE (yyss);
29091 -#line 126 "cfg_y.y"
29095 Index: linux-atm-2.4.1/src/switch/cfg_y.y
29096 ===================================================================
29097 --- linux-atm-2.4.1.orig/src/switch/cfg_y.y 2007-10-20 19:19:11.338274608 +0200
29098 +++ linux-atm-2.4.1/src/switch/cfg_y.y 2007-10-20 19:19:12.366333195 +0200
29100 #include <string.h>
29102 #include <limits.h>
29103 +#include <stdlib.h>
29111 +extern void yyerror(const char *s);
29114 static SIGNALING_ENTITY *sig;
29116 Index: linux-atm-2.4.1/src/switch/cfg_y.h
29117 ===================================================================
29118 --- linux-atm-2.4.1.orig/src/switch/cfg_y.h 2007-10-20 19:19:11.346275065 +0200
29119 +++ linux-atm-2.4.1/src/switch/cfg_y.h 2007-10-20 19:19:12.370333426 +0200
29122 +/* A Bison parser, made by GNU Bison 1.875d. */
29124 +/* Skeleton parser for Yacc-like parsing with Bison,
29125 + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
29127 + This program is free software; you can redistribute it and/or modify
29128 + it under the terms of the GNU General Public License as published by
29129 + the Free Software Foundation; either version 2, or (at your option)
29130 + any later version.
29132 + This program is distributed in the hope that it will be useful,
29133 + but WITHOUT ANY WARRANTY; without even the implied warranty of
29134 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29135 + GNU General Public License for more details.
29137 + You should have received a copy of the GNU General Public License
29138 + along with this program; if not, write to the Free Software
29139 + Foundation, Inc., 59 Temple Place - Suite 330,
29140 + Boston, MA 02111-1307, USA. */
29142 +/* As a special exception, when this file is copied by Bison into a
29143 + Bison output file, you may use that output file without restriction.
29144 + This special exception was added by the Free Software Foundation
29145 + in version 1.24 of Bison. */
29148 +#ifndef YYTOKENTYPE
29149 +# define YYTOKENTYPE
29150 + /* Put the tokens into the symbol table, so that GDB and other debuggers
29151 + know about them. */
29152 + enum yytokentype {
29153 + TOK_COMMAND = 258,
29156 + TOK_DEFAULT = 261,
29159 + TOK_SOCKET = 264,
29160 + TOK_OPTION = 265,
29161 + TOK_CONTROL = 266,
29166 +#define TOK_COMMAND 258
29167 +#define TOK_VPCI 259
29168 +#define TOK_ITF 260
29169 +#define TOK_DEFAULT 261
29170 +#define TOK_ROUTE 262
29171 +#define TOK_STR 263
29172 +#define TOK_SOCKET 264
29173 +#define TOK_OPTION 265
29174 +#define TOK_CONTROL 266
29175 +#define TOK_NUM 267
29176 +#define TOK_PVC 268
29181 +#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
29182 +#line 30 "cfg_y.y"
29183 +typedef union YYSTYPE {
29186 struct sockaddr_atmpvc pvc;
29188 -#define TOK_COMMAND 257
29189 -#define TOK_VPCI 258
29190 -#define TOK_ITF 259
29191 -#define TOK_DEFAULT 260
29192 -#define TOK_ROUTE 261
29193 -#define TOK_STR 262
29194 -#define TOK_SOCKET 263
29195 -#define TOK_OPTION 264
29196 -#define TOK_CONTROL 265
29197 -#define TOK_NUM 266
29198 -#define TOK_PVC 267
29200 +/* Line 1285 of yacc.c. */
29201 +#line 69 "y.tab.h"
29202 +# define yystype YYSTYPE /* obsolescent; will be withdrawn */
29203 +# define YYSTYPE_IS_DECLARED 1
29204 +# define YYSTYPE_IS_TRIVIAL 1
29207 extern YYSTYPE yylval;
29211 Index: linux-atm-2.4.1/src/switch/debug/Makefile.in
29212 ===================================================================
29213 --- linux-atm-2.4.1.orig/src/switch/debug/Makefile.in 2007-10-20 19:19:11.350275296 +0200
29214 +++ linux-atm-2.4.1/src/switch/debug/Makefile.in 2007-10-20 19:19:12.378333877 +0200
29216 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
29217 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
29219 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
29220 # This Makefile.in is free software; the Free Software Foundation
29222 INCLUDES = -I$(top_builddir)/src/qgen
29224 sw_debug_SOURCES = debug.c
29225 -sw_debug_XTRAS = $(top_builddir)/src/switch/libsw.a \
29226 - $(top_builddir)/src/lib/libatm.la
29227 +sw_debug_XTRAS = $(top_builddir)/src/switch/libsw.a $(top_builddir)/src/lib/libatm.la
29229 sw_debug_LDADD = $(sw_debug_XTRAS) -lfl
29231 @@ -121,8 +120,9 @@
29233 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
29238 +DEP_FILES = .deps/debug.P
29239 SOURCES = $(sw_debug_SOURCES)
29240 OBJECTS = $(sw_debug_OBJECTS)
29242 @@ -130,9 +130,9 @@
29244 .SUFFIXES: .S .c .lo .o .obj .s
29245 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
29246 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/switch/debug/Makefile
29247 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/switch/debug/Makefile
29249 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
29250 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
29251 cd $(top_builddir) \
29252 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
29254 @@ -146,9 +146,6 @@
29256 maintainer-clean-noinstPROGRAMS:
29261 # FIXME: We should only use cygpath when building on Windows,
29262 # and only if it is available.
29264 @@ -171,9 +168,6 @@
29266 maintainer-clean-compile:
29269 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
29272 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
29274 @@ -212,7 +206,7 @@
29275 awk ' { files[$$0] = 1; } \
29276 END { for (i in files) print i; }'`; \
29277 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
29278 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
29279 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
29283 @@ -228,6 +222,11 @@
29284 subdir = src/switch/debug
29286 distdir: $(DISTFILES)
29287 + here=`cd $(top_builddir) && pwd`; \
29288 + top_distdir=`cd $(top_distdir) && pwd`; \
29289 + distdir=`cd $(distdir) && pwd`; \
29290 + cd $(top_srcdir) \
29291 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/switch/debug/Makefile
29292 @for file in $(DISTFILES); do \
29294 if test -d $$d/$$file; then \
29295 @@ -238,11 +237,38 @@
29296 || cp -p $$d/$$file $(distdir)/$$file || :; \
29299 -debug.o: debug.c ../../../config.h ../../../src/include/atm.h \
29300 - ../../../src/include/stdint.h ../../../src/include/atmd.h \
29301 - ../../../src/qgen/uni.h ../fab.h ../proto.h \
29302 - ../../../src/include/atmsap.h ../sig.h
29304 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
29306 +-include $(DEP_FILES)
29308 +mostlyclean-depend:
29315 +maintainer-clean-depend:
29318 + @echo '$(COMPILE) -c $<'; \
29319 + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
29320 + @-cp .deps/$(*F).pp .deps/$(*F).P; \
29321 + tr ' ' '\012' < .deps/$(*F).pp \
29322 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
29323 + >> .deps/$(*F).P; \
29324 + rm .deps/$(*F).pp
29327 + @echo '$(LTCOMPILE) -c $<'; \
29328 + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
29329 + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
29330 + < .deps/$(*F).pp > .deps/$(*F).P; \
29331 + tr ' ' '\012' < .deps/$(*F).pp \
29332 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
29333 + >> .deps/$(*F).P; \
29334 + rm -f .deps/$(*F).pp
29338 @@ -279,27 +305,27 @@
29340 maintainer-clean-generic:
29341 mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \
29342 - mostlyclean-libtool mostlyclean-tags \
29343 + mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
29344 mostlyclean-generic
29346 mostlyclean: mostlyclean-am
29348 clean-am: clean-noinstPROGRAMS clean-compile clean-libtool clean-tags \
29349 - clean-generic mostlyclean-am
29350 + clean-depend clean-generic mostlyclean-am
29354 distclean-am: distclean-noinstPROGRAMS distclean-compile \
29355 - distclean-libtool distclean-tags distclean-generic \
29357 + distclean-libtool distclean-tags distclean-depend \
29358 + distclean-generic clean-am
29361 distclean: distclean-am
29363 maintainer-clean-am: maintainer-clean-noinstPROGRAMS \
29364 maintainer-clean-compile maintainer-clean-libtool \
29365 - maintainer-clean-tags maintainer-clean-generic \
29367 + maintainer-clean-tags maintainer-clean-depend \
29368 + maintainer-clean-generic distclean-am
29369 @echo "This command is intended for maintainers to use;"
29370 @echo "it deletes files that may require special tools to rebuild."
29372 @@ -310,12 +336,14 @@
29373 mostlyclean-compile distclean-compile clean-compile \
29374 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
29375 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
29376 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
29377 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
29378 -install-exec install-data-am install-data install-am install \
29379 -uninstall-am uninstall all-redirect all-am all installdirs \
29380 -mostlyclean-generic distclean-generic clean-generic \
29381 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
29382 +distclean-tags clean-tags maintainer-clean-tags distdir \
29383 +mostlyclean-depend distclean-depend clean-depend \
29384 +maintainer-clean-depend info-am info dvi-am dvi check check-am \
29385 +installcheck-am installcheck install-exec-am install-exec \
29386 +install-data-am install-data install-am install uninstall-am uninstall \
29387 +all-redirect all-am all installdirs mostlyclean-generic \
29388 +distclean-generic clean-generic maintainer-clean-generic clean \
29389 +mostlyclean distclean maintainer-clean
29392 # Tell versions [3.59,3.63) of GNU make to not export all variables.
29393 Index: linux-atm-2.4.1/src/switch/debug/debug.c
29394 ===================================================================
29395 --- linux-atm-2.4.1.orig/src/switch/debug/debug.c 2007-10-20 19:19:11.358275747 +0200
29396 +++ linux-atm-2.4.1/src/switch/debug/debug.c 2007-10-20 19:19:12.414335932 +0200
29399 void fab_init(CALL *call)
29401 - PRV(call) = alloc_t(FAB);
29402 + call->fab = alloc_t(FAB);
29403 PRV(call)->next = calls;
29407 diag(COMPONENT,DIAG_FATAL,"fab_destroy: call %p not found",call);
29408 *walk = PRV(call)->next;
29410 - PRV(call) = NULL;
29411 + call->fab = NULL;
29415 Index: linux-atm-2.4.1/src/switch/tcp/Makefile.in
29416 ===================================================================
29417 --- linux-atm-2.4.1.orig/src/switch/tcp/Makefile.in 2007-10-20 19:19:11.366276205 +0200
29418 +++ linux-atm-2.4.1/src/switch/tcp/Makefile.in 2007-10-20 19:19:12.422336385 +0200
29420 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
29421 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
29423 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
29424 # This Makefile.in is free software; the Free Software Foundation
29426 INCLUDES = -I$(top_builddir)/src/qgen
29428 sw_tcp_SOURCES = tcpsw.c
29429 -sw_tcp_XTRAS = $(top_builddir)/src/switch/libsw.a \
29430 - $(top_builddir)/src/lib/libatm.la
29431 +sw_tcp_XTRAS = $(top_builddir)/src/switch/libsw.a $(top_builddir)/src/lib/libatm.la
29433 sw_tcp_LDADD = $(sw_tcp_XTRAS) -lfl
29434 sw_tcp_DEPENDENCIES = $(sw_tcp_XTRAS)
29435 @@ -120,8 +119,9 @@
29437 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
29442 +DEP_FILES = .deps/tcpsw.P
29443 SOURCES = $(sw_tcp_SOURCES)
29444 OBJECTS = $(sw_tcp_OBJECTS)
29446 @@ -129,9 +129,9 @@
29448 .SUFFIXES: .S .c .lo .o .obj .s
29449 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
29450 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/switch/tcp/Makefile
29451 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/switch/tcp/Makefile
29453 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
29454 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
29455 cd $(top_builddir) \
29456 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
29458 @@ -145,9 +145,6 @@
29460 maintainer-clean-noinstPROGRAMS:
29465 # FIXME: We should only use cygpath when building on Windows,
29466 # and only if it is available.
29468 @@ -170,9 +167,6 @@
29470 maintainer-clean-compile:
29473 - $(LIBTOOL) --mode=compile $(COMPILE) -c $<
29476 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
29478 @@ -211,7 +205,7 @@
29479 awk ' { files[$$0] = 1; } \
29480 END { for (i in files) print i; }'`; \
29481 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
29482 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
29483 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
29487 @@ -227,6 +221,11 @@
29488 subdir = src/switch/tcp
29490 distdir: $(DISTFILES)
29491 + here=`cd $(top_builddir) && pwd`; \
29492 + top_distdir=`cd $(top_distdir) && pwd`; \
29493 + distdir=`cd $(distdir) && pwd`; \
29494 + cd $(top_srcdir) \
29495 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/switch/tcp/Makefile
29496 @for file in $(DISTFILES); do \
29498 if test -d $$d/$$file; then \
29499 @@ -237,11 +236,38 @@
29500 || cp -p $$d/$$file $(distdir)/$$file || :; \
29503 -tcpsw.o: tcpsw.c ../../../config.h ../../../src/include/stdint.h \
29504 - ../../../src/include/atm.h ../../../src/include/atmd.h \
29505 - ../../../src/qgen/uni.h ../fab.h ../proto.h \
29506 - ../../../src/include/atmsap.h ../sig.h ../dispatch.h ../swc.h
29508 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
29510 +-include $(DEP_FILES)
29512 +mostlyclean-depend:
29519 +maintainer-clean-depend:
29522 + @echo '$(COMPILE) -c $<'; \
29523 + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
29524 + @-cp .deps/$(*F).pp .deps/$(*F).P; \
29525 + tr ' ' '\012' < .deps/$(*F).pp \
29526 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
29527 + >> .deps/$(*F).P; \
29528 + rm .deps/$(*F).pp
29531 + @echo '$(LTCOMPILE) -c $<'; \
29532 + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
29533 + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
29534 + < .deps/$(*F).pp > .deps/$(*F).P; \
29535 + tr ' ' '\012' < .deps/$(*F).pp \
29536 + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
29537 + >> .deps/$(*F).P; \
29538 + rm -f .deps/$(*F).pp
29542 @@ -278,27 +304,27 @@
29544 maintainer-clean-generic:
29545 mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \
29546 - mostlyclean-libtool mostlyclean-tags \
29547 + mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
29548 mostlyclean-generic
29550 mostlyclean: mostlyclean-am
29552 clean-am: clean-noinstPROGRAMS clean-compile clean-libtool clean-tags \
29553 - clean-generic mostlyclean-am
29554 + clean-depend clean-generic mostlyclean-am
29558 distclean-am: distclean-noinstPROGRAMS distclean-compile \
29559 - distclean-libtool distclean-tags distclean-generic \
29561 + distclean-libtool distclean-tags distclean-depend \
29562 + distclean-generic clean-am
29565 distclean: distclean-am
29567 maintainer-clean-am: maintainer-clean-noinstPROGRAMS \
29568 maintainer-clean-compile maintainer-clean-libtool \
29569 - maintainer-clean-tags maintainer-clean-generic \
29571 + maintainer-clean-tags maintainer-clean-depend \
29572 + maintainer-clean-generic distclean-am
29573 @echo "This command is intended for maintainers to use;"
29574 @echo "it deletes files that may require special tools to rebuild."
29576 @@ -309,12 +335,14 @@
29577 mostlyclean-compile distclean-compile clean-compile \
29578 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
29579 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
29580 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
29581 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
29582 -install-exec install-data-am install-data install-am install \
29583 -uninstall-am uninstall all-redirect all-am all installdirs \
29584 -mostlyclean-generic distclean-generic clean-generic \
29585 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
29586 +distclean-tags clean-tags maintainer-clean-tags distdir \
29587 +mostlyclean-depend distclean-depend clean-depend \
29588 +maintainer-clean-depend info-am info dvi-am dvi check check-am \
29589 +installcheck-am installcheck install-exec-am install-exec \
29590 +install-data-am install-data install-am install uninstall-am uninstall \
29591 +all-redirect all-am all installdirs mostlyclean-generic \
29592 +distclean-generic clean-generic maintainer-clean-generic clean \
29593 +mostlyclean distclean maintainer-clean
29596 # Tell versions [3.59,3.63) of GNU make to not export all variables.
29597 Index: linux-atm-2.4.1/src/switch/tcp/tcpsw.c
29598 ===================================================================
29599 --- linux-atm-2.4.1.orig/src/switch/tcp/tcpsw.c 2007-10-20 19:19:11.374276662 +0200
29600 +++ linux-atm-2.4.1/src/switch/tcp/tcpsw.c 2007-10-20 19:19:12.426336614 +0200
29601 @@ -345,7 +345,7 @@
29603 void fab_init(CALL *call)
29605 - PRV(call) = alloc_t(FAB);
29606 + call->fab = alloc_t(FAB);
29607 PRV(call)->active = 0;
29608 PRV(call)->next = calls;
29610 @@ -362,7 +362,7 @@
29611 diag(COMPONENT,DIAG_FATAL,"fab_destroy: call %p not found",call);
29612 *walk = PRV(call)->next;
29614 - PRV(call) = NULL;
29615 + call->fab = NULL;
29619 Index: linux-atm-2.4.1/src/config/Makefile.in
29620 ===================================================================
29621 --- linux-atm-2.4.1.orig/src/config/Makefile.in 2007-10-20 19:19:11.382277116 +0200
29622 +++ linux-atm-2.4.1/src/config/Makefile.in 2007-10-20 19:19:12.430336845 +0200
29624 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
29625 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
29627 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
29628 # This Makefile.in is free software; the Free Software Foundation
29629 @@ -96,14 +96,14 @@
29631 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
29638 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
29639 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/config/Makefile
29640 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/config/Makefile
29642 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
29643 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
29644 cd $(top_builddir) \
29645 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
29647 @@ -186,7 +186,7 @@
29648 awk ' { files[$$0] = 1; } \
29649 END { for (i in files) print i; }'`; \
29650 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
29651 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
29652 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
29656 @@ -202,6 +202,11 @@
29657 subdir = src/config
29659 distdir: $(DISTFILES)
29660 + here=`cd $(top_builddir) && pwd`; \
29661 + top_distdir=`cd $(top_distdir) && pwd`; \
29662 + distdir=`cd $(distdir) && pwd`; \
29663 + cd $(top_srcdir) \
29664 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/config/Makefile
29665 @for file in $(DISTFILES); do \
29667 if test -d $$d/$$file; then \
29668 Index: linux-atm-2.4.1/src/config/init-redhat/Makefile.in
29669 ===================================================================
29670 --- linux-atm-2.4.1.orig/src/config/init-redhat/Makefile.in 2007-10-20 19:19:11.390277576 +0200
29671 +++ linux-atm-2.4.1/src/config/init-redhat/Makefile.in 2007-10-20 19:19:12.438337296 +0200
29673 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
29674 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
29676 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
29677 # This Makefile.in is free software; the Free Software Foundation
29678 @@ -94,14 +94,14 @@
29680 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
29687 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
29688 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/config/init-redhat/Makefile
29689 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/config/init-redhat/Makefile
29691 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
29692 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
29693 cd $(top_builddir) \
29694 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
29696 @@ -114,6 +114,11 @@
29697 subdir = src/config/init-redhat
29699 distdir: $(DISTFILES)
29700 + here=`cd $(top_builddir) && pwd`; \
29701 + top_distdir=`cd $(top_distdir) && pwd`; \
29702 + distdir=`cd $(distdir) && pwd`; \
29703 + cd $(top_srcdir) \
29704 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/config/init-redhat/Makefile
29705 @for file in $(DISTFILES); do \
29707 if test -d $$d/$$file; then \
29708 Index: linux-atm-2.4.1/src/extra/Makefile.in
29709 ===================================================================
29710 --- linux-atm-2.4.1.orig/src/extra/Makefile.in 2007-10-20 19:19:11.422279396 +0200
29711 +++ linux-atm-2.4.1/src/extra/Makefile.in 2007-10-20 19:19:12.474339351 +0200
29713 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
29714 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
29716 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
29717 # This Makefile.in is free software; the Free Software Foundation
29718 @@ -96,14 +96,14 @@
29720 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
29727 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
29728 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/extra/Makefile
29729 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/extra/Makefile
29731 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
29732 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
29733 cd $(top_builddir) \
29734 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
29736 @@ -188,7 +188,7 @@
29737 awk ' { files[$$0] = 1; } \
29738 END { for (i in files) print i; }'`; \
29739 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
29740 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
29741 + || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
29745 @@ -204,6 +204,11 @@
29748 distdir: $(DISTFILES)
29749 + here=`cd $(top_builddir) && pwd`; \
29750 + top_distdir=`cd $(top_distdir) && pwd`; \
29751 + distdir=`cd $(distdir) && pwd`; \
29752 + cd $(top_srcdir) \
29753 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/extra/Makefile
29754 @for file in $(DISTFILES); do \
29756 if test -d $$d/$$file; then \
29757 Index: linux-atm-2.4.1/src/extra/ANS/Makefile.in
29758 ===================================================================
29759 --- linux-atm-2.4.1.orig/src/extra/ANS/Makefile.in 2007-10-20 19:19:11.442280535 +0200
29760 +++ linux-atm-2.4.1/src/extra/ANS/Makefile.in 2007-10-20 19:19:12.482339805 +0200
29762 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
29763 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
29765 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
29766 # This Makefile.in is free software; the Free Software Foundation
29767 @@ -94,14 +94,14 @@
29769 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
29776 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
29777 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/extra/ANS/Makefile
29778 + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/extra/ANS/Makefile
29780 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
29781 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
29782 cd $(top_builddir) \
29783 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
29785 @@ -114,6 +114,11 @@
29786 subdir = src/extra/ANS
29788 distdir: $(DISTFILES)
29789 + here=`cd $(top_builddir) && pwd`; \
29790 + top_distdir=`cd $(top_distdir) && pwd`; \
29791 + distdir=`cd $(distdir) && pwd`; \
29792 + cd $(top_srcdir) \
29793 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/extra/ANS/Makefile
29794 @for file in $(DISTFILES); do \
29796 if test -d $$d/$$file; then \
29797 Index: linux-atm-2.4.1/doc/Makefile.in
29798 ===================================================================
29799 --- linux-atm-2.4.1.orig/doc/Makefile.in 2007-10-20 19:19:11.450280995 +0200
29800 +++ linux-atm-2.4.1/doc/Makefile.in 2007-10-20 19:19:12.494340491 +0200
29802 -# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
29803 +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
29805 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
29806 # This Makefile.in is free software; the Free Software Foundation
29807 @@ -96,14 +96,14 @@
29809 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
29816 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
29817 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps doc/Makefile
29818 + cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile
29820 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
29821 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
29822 cd $(top_builddir) \
29823 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
29825 @@ -116,6 +116,11 @@
29828 distdir: $(DISTFILES)
29829 + here=`cd $(top_builddir) && pwd`; \
29830 + top_distdir=`cd $(top_distdir) && pwd`; \
29831 + distdir=`cd $(distdir) && pwd`; \
29832 + cd $(top_srcdir) \
29833 + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/Makefile
29834 @for file in $(DISTFILES); do \
29836 if test -d $$d/$$file; then \
29837 Index: linux-atm-2.4.1/debian/patches/00list
29838 ===================================================================
29839 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
29840 +++ linux-atm-2.4.1/debian/patches/00list 2007-10-20 19:19:12.494340491 +0200
29843 Index: linux-atm-2.4.1/debian/patches/10_atmbr2684.h.dpatch
29844 ===================================================================
29845 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
29846 +++ linux-atm-2.4.1/debian/patches/10_atmbr2684.h.dpatch 2007-10-20 19:19:12.506341173 +0200
29849 +## 01_kernel-header.dpatch by <bengen+debian@hilluzination.de>
29851 +## All lines beginning with ## DP:' are a description of the patch.
29852 +## DP: add header file atmbr2684.h
29854 +if [ -e /usr/include/linux/atmbr2684.h ]; then exit 0; fi
29856 +if [ $# -ne 1 ]; then
29857 + echo "basename $0: script expects -patch|-unpatch as argument" >&2
29861 + -patch) patch -f --no-backup-if-mismatch -p1 < $0;;
29862 + -unpatch) patch -f --no-backup-if-mismatch -E -R -p1 < $0;;
29864 + echo "basename $0: script expects -patch|-unpatch as argument" >&2
29871 +--- linux-atm.orig/src/include/linux/atmbr2684.h
29872 ++++ linux-atm/src/include/linux/atmbr2684.h
29874 ++#ifndef _LINUX_ATMBR2684_H
29875 ++#define _LINUX_ATMBR2684_H
29877 ++#include <linux/atm.h>
29878 ++#include <linux/if.h> /* For IFNAMSIZ */
29881 ++ * Type of media we're bridging (ethernet, token ring, etc) Currently only
29882 ++ * ethernet is supported
29884 ++#define BR2684_MEDIA_ETHERNET (0) /* 802.3 */
29885 ++#define BR2684_MEDIA_802_4 (1) /* 802.4 */
29886 ++#define BR2684_MEDIA_TR (2) /* 802.5 - token ring */
29887 ++#define BR2684_MEDIA_FDDI (3)
29888 ++#define BR2684_MEDIA_802_6 (4) /* 802.6 */
29891 ++ * Is there FCS inbound on this VC? This currently isn't supported.
29893 ++#define BR2684_FCSIN_NO (0)
29894 ++#define BR2684_FCSIN_IGNORE (1)
29895 ++#define BR2684_FCSIN_VERIFY (2)
29898 ++ * Is there FCS outbound on this VC? This currently isn't supported.
29900 ++#define BR2684_FCSOUT_NO (0)
29901 ++#define BR2684_FCSOUT_SENDZERO (1)
29902 ++#define BR2684_FCSOUT_GENERATE (2)
29905 ++ * Does this VC include LLC encapsulation?
29907 ++#define BR2684_ENCAPS_VC (0) /* VC-mux */
29908 ++#define BR2684_ENCAPS_LLC (1)
29909 ++#define BR2684_ENCAPS_AUTODETECT (2) /* Unsuported */
29912 ++ * This is for the ATM_NEWBACKENDIF call - these are like socket families:
29913 ++ * the first element of the structure is the backend number and the rest
29914 ++ * is per-backend specific
29916 ++struct atm_newif_br2684 {
29917 ++ atm_backend_t backend_num; /* ATM_BACKEND_BR2684 */
29918 ++ int media; /* BR2684_MEDIA_* */
29919 ++ char ifname[IFNAMSIZ];
29924 ++ * This structure is used to specify a br2684 interface - either by a
29925 ++ * positive integer (returned by ATM_NEWBACKENDIF) or the interfaces name
29927 ++#define BR2684_FIND_BYNOTHING (0)
29928 ++#define BR2684_FIND_BYNUM (1)
29929 ++#define BR2684_FIND_BYIFNAME (2)
29930 ++struct br2684_if_spec {
29931 ++ int method; /* BR2684_FIND_* */
29933 ++ char ifname[IFNAMSIZ];
29939 ++ * This is for the ATM_SETBACKEND call - these are like socket families:
29940 ++ * the first element of the structure is the backend number and the rest
29941 ++ * is per-backend specific
29943 ++struct atm_backend_br2684 {
29944 ++ atm_backend_t backend_num; /* ATM_BACKEND_BR2684 */
29945 ++ struct br2684_if_spec ifspec;
29946 ++ int fcs_in; /* BR2684_FCSIN_* */
29947 ++ int fcs_out; /* BR2684_FCSOUT_* */
29948 ++ int fcs_auto; /* 1: fcs_{in,out} disabled if no FCS rx'ed */
29949 ++ int encaps; /* BR2684_ENCAPS_* */
29950 ++ int has_vpiid; /* 1: use vpn_id - Unsupported */
29952 ++ int send_padding; /* unsupported */
29953 ++ int min_size; /* we will pad smaller packets than this */
29957 ++ * The BR2684_SETFILT ioctl is an experimental mechanism for folks
29958 ++ * terminating a large number of IP-only vcc's. When netfilter allows
29959 ++ * efficient per-if in/out filters, this support will be removed
29961 ++struct br2684_filter {
29962 ++ __u32 prefix; /* network byte order */
29963 ++ __u32 netmask; /* 0 = disable filter */
29966 ++struct br2684_filter_set {
29967 ++ struct br2684_if_spec ifspec;
29968 ++ struct br2684_filter filter;
29971 ++#define BR2684_SETFILT _IOW( 'a', ATMIOC_BACKEND + 0, \
29972 ++ struct br2684_filter_set)
29974 ++#endif /* _LINUX_ATMBR2684_H */
29975 +--- linux-atm.orig/src/include/linux/atmdev.h
29976 ++++ linux-atm/src/include/linux/atmdev.h
29978 ++/* atmdev.h - ATM device driver declarations and various related items */
29980 ++/* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */
29983 ++#ifndef LINUX_ATMDEV_H
29984 ++#define LINUX_ATMDEV_H
29987 ++#include <linux/config.h>
29988 ++#include <linux/atmapi.h>
29989 ++#include <linux/atm.h>
29990 ++#include <linux/atmioc.h>
29993 ++#define ESI_LEN 6
29995 ++#define ATM_OC3_PCR (155520000/270*260/8/53)
29996 ++ /* OC3 link rate: 155520000 bps
29997 ++ SONET overhead: /270*260 (9 section, 1 path)
29998 ++ bits per cell: /8/53
29999 ++ max cell rate: 353207.547 cells/sec */
30000 ++#define ATM_25_PCR ((25600000/8-8000)/54)
30001 ++ /* 25 Mbps ATM cell rate (59111) */
30002 ++#define ATM_OC12_PCR (622080000/1080*1040/8/53)
30003 ++ /* OC12 link rate: 622080000 bps
30004 ++ SONET overhead: /1080*1040
30005 ++ bits per cell: /8/53
30006 ++ max cell rate: 1412830.188 cells/sec */
30007 ++#define ATM_DS3_PCR (8000*12)
30008 ++ /* DS3: 12 cells in a 125 usec time slot */
30010 ++#define ATM_SD(s) ((s)->sk->protinfo.af_atm)
30013 ++#define __AAL_STAT_ITEMS \
30014 ++ __HANDLE_ITEM(tx); /* TX okay */ \
30015 ++ __HANDLE_ITEM(tx_err); /* TX errors */ \
30016 ++ __HANDLE_ITEM(rx); /* RX okay */ \
30017 ++ __HANDLE_ITEM(rx_err); /* RX errors */ \
30018 ++ __HANDLE_ITEM(rx_drop); /* RX out of memory */
30020 ++struct atm_aal_stats {
30021 ++#define __HANDLE_ITEM(i) int i
30022 ++ __AAL_STAT_ITEMS
30023 ++#undef __HANDLE_ITEM
30027 ++struct atm_dev_stats {
30028 ++ struct atm_aal_stats aal0;
30029 ++ struct atm_aal_stats aal34;
30030 ++ struct atm_aal_stats aal5;
30031 ++} __ATM_API_ALIGN;
30034 ++#define ATM_GETLINKRATE _IOW('a',ATMIOC_ITF+1,struct atmif_sioc)
30035 ++ /* get link rate */
30036 ++#define ATM_GETNAMES _IOW('a',ATMIOC_ITF+3,struct atm_iobuf)
30037 ++ /* get interface names (numbers) */
30038 ++#define ATM_GETTYPE _IOW('a',ATMIOC_ITF+4,struct atmif_sioc)
30039 ++ /* get interface type name */
30040 ++#define ATM_GETESI _IOW('a',ATMIOC_ITF+5,struct atmif_sioc)
30041 ++ /* get interface ESI */
30042 ++#define ATM_GETADDR _IOW('a',ATMIOC_ITF+6,struct atmif_sioc)
30043 ++ /* get itf's local ATM addr. list */
30044 ++#define ATM_RSTADDR _IOW('a',ATMIOC_ITF+7,struct atmif_sioc)
30045 ++ /* reset itf's ATM address list */
30046 ++#define ATM_ADDADDR _IOW('a',ATMIOC_ITF+8,struct atmif_sioc)
30047 ++ /* add a local ATM address */
30048 ++#define ATM_DELADDR _IOW('a',ATMIOC_ITF+9,struct atmif_sioc)
30049 ++ /* remove a local ATM address */
30050 ++#define ATM_GETCIRANGE _IOW('a',ATMIOC_ITF+10,struct atmif_sioc)
30051 ++ /* get connection identifier range */
30052 ++#define ATM_SETCIRANGE _IOW('a',ATMIOC_ITF+11,struct atmif_sioc)
30053 ++ /* set connection identifier range */
30054 ++#define ATM_SETESI _IOW('a',ATMIOC_ITF+12,struct atmif_sioc)
30055 ++ /* set interface ESI */
30056 ++#define ATM_SETESIF _IOW('a',ATMIOC_ITF+13,struct atmif_sioc)
30057 ++ /* force interface ESI */
30058 ++#define ATM_GETSTAT _IOW('a',ATMIOC_SARCOM+0,struct atmif_sioc)
30059 ++ /* get AAL layer statistics */
30060 ++#define ATM_GETSTATZ _IOW('a',ATMIOC_SARCOM+1,struct atmif_sioc)
30061 ++ /* get AAL layer statistics and zero */
30062 ++#define ATM_GETLOOP _IOW('a',ATMIOC_SARCOM+2,struct atmif_sioc)
30063 ++ /* get loopback mode */
30064 ++#define ATM_SETLOOP _IOW('a',ATMIOC_SARCOM+3,struct atmif_sioc)
30065 ++ /* set loopback mode */
30066 ++#define ATM_QUERYLOOP _IOW('a',ATMIOC_SARCOM+4,struct atmif_sioc)
30067 ++ /* query supported loopback modes */
30068 ++#define ATM_SETSC _IOW('a',ATMIOC_SPECIAL+1,int)
30069 ++ /* enable or disable single-copy */
30070 ++#define ATM_SETBACKEND _IOW('a',ATMIOC_SPECIAL+2,atm_backend_t)
30071 ++ /* set backend handler */
30072 ++#define ATM_NEWBACKENDIF _IOW('a',ATMIOC_SPECIAL+3,atm_backend_t)
30073 ++ /* use backend to make new if */
30076 ++ * These are backend handkers that can be set via the ATM_SETBACKEND call
30077 ++ * above. In the future we may support dynamic loading of these - for now,
30078 ++ * they're just being used to share the ATMIOC_BACKEND ioctls
30080 ++#define ATM_BACKEND_RAW 0
30081 ++#define ATM_BACKEND_PPP 1 /* PPPoATM - RFC2364 */
30082 ++#define ATM_BACKEND_BR2684 2 /* Bridged RFC1483/2684 */
30084 ++/* for ATM_GETTYPE */
30085 ++#define ATM_ITFTYP_LEN 8 /* maximum length of interface type name */
30088 ++ * Loopback modes for ATM_{PHY,SAR}_{GET,SET}LOOP
30091 ++/* Point of loopback CPU-->SAR-->PHY-->line--> ... */
30092 ++#define __ATM_LM_NONE 0 /* no loop back ^ ^ ^ ^ */
30093 ++#define __ATM_LM_AAL 1 /* loop back PDUs --' | | | */
30094 ++#define __ATM_LM_ATM 2 /* loop back ATM cells ---' | | */
30095 ++/* RESERVED 4 loop back on PHY side ---' */
30096 ++#define __ATM_LM_PHY 8 /* loop back bits (digital) ----' | */
30097 ++#define __ATM_LM_ANALOG 16 /* loop back the analog signal --------' */
30099 ++/* Direction of loopback */
30100 ++#define __ATM_LM_MKLOC(n) ((n)) /* Local (i.e. loop TX to RX) */
30101 ++#define __ATM_LM_MKRMT(n) ((n) << 8) /* Remote (i.e. loop RX to TX) */
30103 ++#define __ATM_LM_XTLOC(n) ((n) & 0xff)
30104 ++#define __ATM_LM_XTRMT(n) (((n) >> 8) & 0xff)
30106 ++#define ATM_LM_NONE 0 /* no loopback */
30108 ++#define ATM_LM_LOC_AAL __ATM_LM_MKLOC(__ATM_LM_AAL)
30109 ++#define ATM_LM_LOC_ATM __ATM_LM_MKLOC(__ATM_LM_ATM)
30110 ++#define ATM_LM_LOC_PHY __ATM_LM_MKLOC(__ATM_LM_PHY)
30111 ++#define ATM_LM_LOC_ANALOG __ATM_LM_MKLOC(__ATM_LM_ANALOG)
30113 ++#define ATM_LM_RMT_AAL __ATM_LM_MKRMT(__ATM_LM_AAL)
30114 ++#define ATM_LM_RMT_ATM __ATM_LM_MKRMT(__ATM_LM_ATM)
30115 ++#define ATM_LM_RMT_PHY __ATM_LM_MKRMT(__ATM_LM_PHY)
30116 ++#define ATM_LM_RMT_ANALOG __ATM_LM_MKRMT(__ATM_LM_ANALOG)
30119 ++ * Note: ATM_LM_LOC_* and ATM_LM_RMT_* can be combined, provided that
30120 ++ * __ATM_LM_XTLOC(x) <= __ATM_LM_XTRMT(x)
30124 ++struct atm_iobuf {
30129 ++/* for ATM_GETCIRANGE / ATM_SETCIRANGE */
30131 ++#define ATM_CI_MAX -1 /* use maximum range of VPI/VCI */
30133 ++struct atm_cirange {
30134 ++ char vpi_bits; /* 1..8, ATM_CI_MAX (-1) for maximum */
30135 ++ char vci_bits; /* 1..16, ATM_CI_MAX (-1) for maximum */
30138 ++/* for ATM_SETSC; actually taken from the ATM_VF number space */
30140 ++#define ATM_SC_RX 1024 /* enable RX single-copy */
30141 ++#define ATM_SC_TX 2048 /* enable TX single-copy */
30143 ++#define ATM_BACKLOG_DEFAULT 32 /* if we get more, we're likely to time out
30146 ++/* MF: change_qos (Modify) flags */
30148 ++#define ATM_MF_IMMED 1 /* Block until change is effective */
30149 ++#define ATM_MF_INC_RSV 2 /* Change reservation on increase */
30150 ++#define ATM_MF_INC_SHP 4 /* Change shaping on increase */
30151 ++#define ATM_MF_DEC_RSV 8 /* Change reservation on decrease */
30152 ++#define ATM_MF_DEC_SHP 16 /* Change shaping on decrease */
30153 ++#define ATM_MF_BWD 32 /* Set the backward direction parameters */
30155 ++#define ATM_MF_SET (ATM_MF_INC_RSV | ATM_MF_INC_SHP | ATM_MF_DEC_RSV | \
30156 ++ ATM_MF_DEC_SHP | ATM_MF_BWD)
30159 ++ * ATM_VS_* are used to express VC state in a human-friendly way.
30162 ++#define ATM_VS_IDLE 0 /* VC is not used */
30163 ++#define ATM_VS_CONNECTED 1 /* VC is connected */
30164 ++#define ATM_VS_CLOSING 2 /* VC is closing */
30165 ++#define ATM_VS_LISTEN 3 /* VC is listening for incoming setups */
30166 ++#define ATM_VS_INUSE 4 /* VC is in use (registered with atmsigd) */
30167 ++#define ATM_VS_BOUND 5 /* VC is bound */
30169 ++#define ATM_VS2TXT_MAP \
30170 ++ "IDLE", "CONNECTED", "CLOSING", "LISTEN", "INUSE", "BOUND"
30172 ++#define ATM_VF2TXT_MAP \
30173 ++ "ADDR", "READY", "PARTIAL", "REGIS", \
30174 ++ "RELEASED", "HASQOS", "LISTEN", "META", \
30175 ++ "256", "512", "1024", "2048", \
30176 ++ "SESSION", "HASSAP", "BOUND", "CLOSE"
30179 ++#ifndef __KERNEL__
30180 ++#undef __AAL_STAT_ITEMS
30183 ++#include <linux/sched.h> /* wait_queue_head_t */
30184 ++#include <linux/time.h> /* struct timeval */
30185 ++#include <linux/net.h>
30186 ++#include <linux/skbuff.h> /* struct sk_buff */
30187 ++#include <linux/uio.h>
30188 ++#include <net/sock.h>
30189 ++#include <asm/atomic.h>
30191 ++#ifdef CONFIG_PROC_FS
30192 ++#include <linux/proc_fs.h>
30196 ++struct k_atm_aal_stats {
30197 ++#define __HANDLE_ITEM(i) atomic_t i
30198 ++ __AAL_STAT_ITEMS
30199 ++#undef __HANDLE_ITEM
30203 ++struct k_atm_dev_stats {
30204 ++ struct k_atm_aal_stats aal0;
30205 ++ struct k_atm_aal_stats aal34;
30206 ++ struct k_atm_aal_stats aal5;
30211 ++ ATM_VF_ADDR, /* Address is in use. Set by anybody, cleared
30212 ++ by device driver. */
30213 ++ ATM_VF_READY, /* VC is ready to transfer data. Set by device
30214 ++ driver, cleared by anybody. */
30215 ++ ATM_VF_PARTIAL, /* resources are bound to PVC (partial PVC
30216 ++ setup), controlled by socket layer */
30217 ++ ATM_VF_REGIS, /* registered with demon, controlled by SVC
30219 ++ ATM_VF_BOUND, /* local SAP is set, controlled by SVC socket
30221 ++ ATM_VF_RELEASED, /* demon has indicated/requested release,
30222 ++ controlled by SVC socket layer */
30223 ++ ATM_VF_HASQOS, /* QOS parameters have been set */
30224 ++ ATM_VF_LISTEN, /* socket is used for listening */
30225 ++ ATM_VF_META, /* SVC socket isn't used for normal data
30226 ++ traffic and doesn't depend on signaling
30227 ++ to be available */
30228 ++ ATM_VF_SESSION, /* VCC is p2mp session control descriptor */
30229 ++ ATM_VF_HASSAP, /* SAP has been set */
30230 ++ ATM_VF_CLOSE, /* asynchronous close - treat like VF_RELEASED*/
30234 ++#define ATM_VF2VS(flags) \
30235 ++ (test_bit(ATM_VF_READY,&(flags)) ? ATM_VS_CONNECTED : \
30236 ++ test_bit(ATM_VF_RELEASED,&(flags)) ? ATM_VS_CLOSING : \
30237 ++ test_bit(ATM_VF_LISTEN,&(flags)) ? ATM_VS_LISTEN : \
30238 ++ test_bit(ATM_VF_REGIS,&(flags)) ? ATM_VS_INUSE : \
30239 ++ test_bit(ATM_VF_BOUND,&(flags)) ? ATM_VS_BOUND : ATM_VS_IDLE)
30243 ++ ATM_DF_CLOSE, /* close device when last VCC is closed */
30247 ++#define ATM_PHY_SIG_LOST 0 /* no carrier/light */
30248 ++#define ATM_PHY_SIG_UNKNOWN 1 /* carrier/light status is unknown */
30249 ++#define ATM_PHY_SIG_FOUND 2 /* carrier/light okay */
30251 ++#define ATM_ATMOPT_CLP 1 /* set CLP bit */
30254 ++typedef struct { unsigned long bits; } atm_vcc_flags_t;
30258 ++ atm_vcc_flags_t flags; /* VCC flags (ATM_VF_*) */
30259 ++ short vpi; /* VPI and VCI (types must be equal */
30260 ++ /* with sockaddr) */
30262 ++ unsigned long aal_options; /* AAL layer options */
30263 ++ unsigned long atm_options; /* ATM layer options */
30264 ++ struct atm_dev *dev; /* device back pointer */
30265 ++ struct atm_qos qos; /* QOS */
30266 ++ struct atm_sap sap; /* SAP */
30267 ++ void (*push)(struct atm_vcc *vcc,struct sk_buff *skb);
30268 ++ void (*pop)(struct atm_vcc *vcc,struct sk_buff *skb); /* optional */
30269 ++ int (*push_oam)(struct atm_vcc *vcc,void *cell);
30270 ++ int (*send)(struct atm_vcc *vcc,struct sk_buff *skb);
30271 ++ void *dev_data; /* per-device data */
30272 ++ void *proto_data; /* per-protocol data */
30273 ++ struct k_atm_aal_stats *stats; /* pointer to AAL stats group */
30274 ++ wait_queue_head_t sleep; /* if socket is busy */
30275 ++ struct sock *sk; /* socket backpointer */
30276 ++ struct atm_vcc *prev,*next;
30277 ++ /* SVC part --- may move later ------------------------------------- */
30278 ++ short itf; /* interface number */
30279 ++ struct sockaddr_atmsvc local;
30280 ++ struct sockaddr_atmsvc remote;
30281 ++ void (*callback)(struct atm_vcc *vcc);
30282 ++ struct sk_buff_head listenq;
30283 ++ int backlog_quota; /* number of connection requests we */
30284 ++ /* can still accept */
30285 ++ int reply; /* also used by ATMTCP */
30286 ++ /* Multipoint part ------------------------------------------------- */
30287 ++ struct atm_vcc *session; /* session VCC descriptor */
30288 ++ /* Other stuff ----------------------------------------------------- */
30289 ++ void *user_back; /* user backlink - not touched by */
30290 ++ /* native ATM stack. Currently used */
30291 ++ /* by CLIP and sch_atm. */
30295 ++struct atm_dev_addr {
30296 ++ struct sockaddr_atmsvc addr; /* ATM address */
30297 ++ struct atm_dev_addr *next; /* next address */
30301 ++typedef struct { unsigned int bits; } atm_dev_flags_t;
30305 ++ const struct atmdev_ops *ops; /* device operations; NULL if unused */
30306 ++ const struct atmphy_ops *phy; /* PHY operations, may be undefined */
30308 ++ const char *type; /* device type name */
30309 ++ int number; /* device index */
30310 ++ struct atm_vcc *vccs; /* VCC table (or NULL) */
30311 ++ struct atm_vcc *last; /* last VCC (or undefined) */
30312 ++ void *dev_data; /* per-device data */
30313 ++ void *phy_data; /* private PHY date */
30314 ++ atm_dev_flags_t flags; /* device flags (ATM_DF_*) */
30315 ++ struct atm_dev_addr *local; /* local ATM addresses */
30316 ++ unsigned char esi[ESI_LEN]; /* ESI ("MAC" addr) */
30317 ++ struct atm_cirange ci_range; /* VPI/VCI range */
30318 ++ struct k_atm_dev_stats stats; /* statistics */
30319 ++ char signal; /* signal status (ATM_PHY_SIG_*) */
30320 ++ int link_rate; /* link rate (default: OC3) */
30321 ++ atomic_t refcnt; /* reference count */
30322 ++ spinlock_t lock; /* protect internal members */
30323 ++#ifdef CONFIG_PROC_FS
30324 ++ struct proc_dir_entry *proc_entry; /* proc entry */
30325 ++ char *proc_name; /* proc entry name */
30327 ++ struct list_head dev_list; /* linkage */
30332 ++ * ioctl, getsockopt, setsockopt, and sg_send are optional and can be set to
30335 ++/* OF: send_Oam Flags */
30337 ++#define ATM_OF_IMMED 1 /* Attempt immediate delivery */
30338 ++#define ATM_OF_INRATE 2 /* Attempt in-rate delivery */
30340 ++struct atmdev_ops { /* only send is required */
30341 ++ void (*dev_close)(struct atm_dev *dev);
30342 ++ int (*open)(struct atm_vcc *vcc,short vpi,int vci);
30343 ++ void (*close)(struct atm_vcc *vcc);
30344 ++ int (*ioctl)(struct atm_dev *dev,unsigned int cmd,void *arg);
30345 ++ int (*getsockopt)(struct atm_vcc *vcc,int level,int optname,
30346 ++ void *optval,int optlen);
30347 ++ int (*setsockopt)(struct atm_vcc *vcc,int level,int optname,
30348 ++ void *optval,int optlen);
30349 ++ int (*send)(struct atm_vcc *vcc,struct sk_buff *skb);
30350 ++ int (*sg_send)(struct atm_vcc *vcc,unsigned long start,
30351 ++ unsigned long size);
30352 ++#if 0 /* keep the current hack for now */
30353 ++ int (*send_iovec)(struct atm_vcc *vcc,struct iovec *iov,int size,
30354 ++ void (*discard)(struct atm_vcc *vcc,void *user),void *user);
30356 ++ int (*send_oam)(struct atm_vcc *vcc,void *cell,int flags);
30357 ++ void (*phy_put)(struct atm_dev *dev,unsigned char value,
30358 ++ unsigned long addr);
30359 ++ unsigned char (*phy_get)(struct atm_dev *dev,unsigned long addr);
30360 ++ void (*feedback)(struct atm_vcc *vcc,struct sk_buff *skb,
30361 ++ unsigned long start,unsigned long dest,int len);
30362 ++ int (*change_qos)(struct atm_vcc *vcc,struct atm_qos *qos,int flags);
30363 ++ int (*proc_read)(struct atm_dev *dev,loff_t *pos,char *page);
30364 ++ struct module *owner;
30368 ++struct atmphy_ops {
30369 ++ int (*start)(struct atm_dev *dev);
30370 ++ int (*ioctl)(struct atm_dev *dev,unsigned int cmd,void *arg);
30371 ++ void (*interrupt)(struct atm_dev *dev);
30372 ++ int (*stop)(struct atm_dev *dev);
30375 ++struct atm_skb_data {
30376 ++ struct atm_vcc *vcc; /* ATM VCC */
30377 ++ unsigned long atm_options; /* ATM layer options */
30380 ++#define ATM_SKB(skb) (((struct atm_skb_data *) (skb)->cb))
30382 ++struct atm_dev *atm_dev_register(const char *type,const struct atmdev_ops *ops,
30383 ++ int number,atm_dev_flags_t *flags); /* number == -1: pick first available */
30384 ++struct atm_dev *atm_dev_lookup(int number);
30385 ++void atm_dev_deregister(struct atm_dev *dev);
30386 ++void shutdown_atm_dev(struct atm_dev *dev);
30387 ++void bind_vcc(struct atm_vcc *vcc,struct atm_dev *dev);
30391 ++ * This is approximately the algorithm used by alloc_skb.
30395 ++static inline int atm_guess_pdu2truesize(int pdu_size)
30397 ++ return ((pdu_size+15) & ~15) + sizeof(struct sk_buff);
30401 ++static inline void atm_force_charge(struct atm_vcc *vcc,int truesize)
30403 ++ atomic_add(truesize, &vcc->sk->rmem_alloc);
30407 ++static inline void atm_return(struct atm_vcc *vcc,int truesize)
30409 ++ atomic_sub(truesize, &vcc->sk->rmem_alloc);
30413 ++static inline int atm_may_send(struct atm_vcc *vcc,unsigned int size)
30415 ++ return (size + atomic_read(&vcc->sk->wmem_alloc)) < vcc->sk->sndbuf;
30419 ++static inline void atm_dev_hold(struct atm_dev *dev)
30421 ++ atomic_inc(&dev->refcnt);
30425 ++static inline void atm_dev_release(struct atm_dev *dev)
30427 ++ atomic_dec(&dev->refcnt);
30429 ++ if ((atomic_read(&dev->refcnt) == 1) &&
30430 ++ test_bit(ATM_DF_CLOSE,&dev->flags))
30431 ++ shutdown_atm_dev(dev);
30435 ++int atm_charge(struct atm_vcc *vcc,int truesize);
30436 ++struct sk_buff *atm_alloc_charge(struct atm_vcc *vcc,int pdu_size,
30438 ++int atm_find_ci(struct atm_vcc *vcc,short *vpi,int *vci);
30439 ++int atm_pcr_goal(struct atm_trafprm *tp);
30441 ++void atm_async_release_vcc(struct atm_vcc *vcc,int reply);
30443 ++#endif /* __KERNEL__ */
30446 Index: linux-atm-2.4.1/debian/control
30447 ===================================================================
30448 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
30449 +++ linux-atm-2.4.1/debian/control 2007-10-20 19:19:12.506341173 +0200
30453 +Priority: optional
30454 +Maintainer: Peter De Schrijver (p2) <p2@mind.be>
30455 +Build-Depends: debhelper (>> 4.0.0), bison, flex, perl, dpatch, automake1.4
30456 +Standards-Version: 3.6.1
30458 +Package: atm-tools
30460 +Depends: ${shlibs:Depends}
30461 +Description: Base programs for ATM in Linux, the net-tools for ATM
30462 + This package provides all the basic programs needed for setting up,
30463 + monitoring and tuning ATM networks. Such as:
30464 + * atmsigd, an ATM signal daemon that implements the ATM UNI protocol.
30465 + * atmtcp, a tool to setup ATM over TCP connections.
30466 + * atmarpd, an implementation of the ATMARP protocol (RFC1577, RFC1755)
30467 + * zeppelin, an ATM LAN Emulation client daemon
30468 + * les and bus, ATM LAN Emulation service daemons
30470 + Notice that upstream still flags these tools as experimental software and
30471 + says that there is still a number of known bugs and issues. The
30472 + software is, however, in productive use at a number of sites and is
30473 + working reliably.
30475 + Homepage: http://linux-atm.sourceforge.net/
30478 +Depends: libatm1-dev
30481 +Description: Development files for compiling ATM programs (dummy package)
30482 + This dummy package provides a transition from the previous atm packages.
30483 + It is provided for backwards compatibility only and may be removedafter
30484 + the upgrade has completed or when when no other package depend on it.
30489 +Depends: ${shlibs:Depends}
30490 +Conflicts: atm-tools (<< 2.4.1-6)
30491 +Description: shared library for ATM (Asynchronous Transfer Mode)
30492 + Shared libraries needed by ATM (Asynchronous Transfer Mode) related programs
30494 + Homepage: http://linux-atm.sourceforge.net/
30496 +Package: libatm1-dev
30499 +Depends: libc6-dev, libatm1
30500 +Replaces: atm-dev (<< 2.4.1-7)
30501 +Conflicts: atm-dev (<< 2.4.1-7)
30502 +Provides: libatm-dev
30503 +Description: Development files for compiling ATM programs
30504 + Header files and development libraries for compiling ATM (Asynchronous
30505 + Transfer Mode) related programs.
30507 + Homepage: http://linux-atm.sourceforge.net/
30508 Index: linux-atm-2.4.1/debian/rules
30509 ===================================================================
30510 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
30511 +++ linux-atm-2.4.1/debian/rules 2007-10-20 19:19:12.510341404 +0200
30513 +#!/usr/bin/make -f
30514 +# Sample debian/rules that uses debhelper.
30515 +# GNU copyright 1997 to 1999 by Joey Hess.
30517 +# Uncomment this to turn on verbose mode.
30518 +#export DH_VERBOSE=1
30520 +# This is the debhelper compatability version to use.
30521 +export DH_COMPAT=4
30523 +export PACKAGE=linux-atm
30525 +buildindeppackages=atm-dev
30526 +buildarchpackages=atm-tools libatm1 libatm1-dev
30528 +# generate -ppackage1 -ppackage2 ... commandline for debhelper
30529 +dhbuildarchpackages=$(addprefix -p,$(buildarchpackages))
30530 +dhbuildindeppackages=$(addprefix -p,$(buildindeppackages))
30532 +include /usr/share/dpatch/dpatch.make
30534 +configure: configure-stamp
30537 + ./configure --prefix /usr --mandir /usr/share/man --sysconfdir /etc
30538 + touch configure-stamp
30540 +build: configure-stamp build-stamp
30541 +build-stamp: patch-stamp
30544 + # Add here commands to compile the package.
30545 + $(MAKE) $(EXTRA_VARS)
30546 + cat debian/copyright.header COPYING > debian/copyright
30548 + touch build-stamp
30550 +clean: clean1 unpatch
30554 + rm -f build-stamp configure-stamp
30556 + # Add here commands to clean up after the build process.
30557 + -$(MAKE) distclean
30560 + rm -rf debian/atm-tools.8 debian/copyright
30568 + # Add here commands to install the package into debian/atm-tools
30569 + $(MAKE) DESTDIR=`pwd`/debian/tmp install
30572 + /usr/bin/pod2man --section=8 --release="atm-tools $(PKG_VER)" --lax \
30573 + --center="Debian GNU/Linux" debian/atm-tools.pod > debian/atm-tools.8
30575 + ln -s atm-tools.8 debian/tmp/usr/share/man/man8/aread.8
30576 + ln -s atm-tools.8 debian/tmp/usr/share/man/man8/awrite.8
30577 + ln -s atm-tools.8 debian/tmp/usr/share/man/man8/enitune.8
30578 + ln -s atm-tools.8 debian/tmp/usr/share/man/man8/ilmid.8
30579 + ln -s atm-tools.8 debian/tmp/usr/share/man/man8/saaldump.8
30580 + ln -s atm-tools.8 debian/tmp/usr/share/man/man8/sonetdiag.8
30581 + ln -s atm-tools.8 debian/tmp/usr/share/man/man8/ttcp_atm.8
30582 + ln -s atm-tools.8 debian/tmp/usr/share/man/man8/zntune.8
30584 +# Build architecture-independent files here.
30585 +binary-indep: build install
30586 + dh_testdir $(dhbuildindeppackages)
30587 + dh_testroot $(dhbuildindeppackages)
30588 + dh_install $(dhbuildindeppackages)
30590 +# dh_installdebconf $(dhbuildindeppackages)
30591 + dh_installdocs $(dhbuildindeppackages)
30592 + dh_installmenu $(dhbuildindeppackages)
30593 +# dh_installlogrotate $(dhbuildindeppackages)
30594 +# dh_installemacsen $(dhbuildindeppackages)
30595 +# dh_installpam $(dhbuildindeppackages)
30596 +# dh_installmime $(dhbuildindeppackages)
30597 + dh_installinit $(dhbuildindeppackages) --init-script=atm -- start 34 0 6 . start 39 S .
30598 + dh_installcron $(dhbuildindeppackages)
30599 + dh_installman $(dhbuildindeppackages)
30600 + dh_installinfo $(dhbuildindeppackages)
30601 +# dh_undocumented $(dhbuildindeppackages)
30602 + dh_installchangelogs -i ChangeLog $(dhbuildpackages)
30603 + dh_link $(dhbuildindeppackages)
30604 + dh_strip $(dhbuildindeppackages)
30605 + dh_compress $(dhbuildindeppackages)
30606 + dh_fixperms $(dhbuildindeppackages)
30607 + dh_makeshlibs $(dhbuildindeppackages)
30608 + dh_installdeb $(dhbuildindeppackages)
30609 +# dh_perl $(dhbuildindeppackages)
30610 + dh_shlibdeps $(dhbuildindeppackages)
30611 + dh_gencontrol $(dhbuildindeppackages)
30612 + dh_md5sums $(dhbuildindeppackages)
30613 + dh_builddeb $(dhbuildindeppackages)
30615 +# Build architecture-dependent files here.
30616 +binary-arch: build install
30617 + dh_testdir $(dhbuildarchpackages)
30618 + dh_testroot $(dhbuildarchpackages)
30619 + dh_install $(dhbuildarchpackages)
30621 +# dh_installdebconf $(dhbuildarchpackages)
30622 + dh_installdocs $(dhbuildarchpackages)
30623 + dh_installmenu $(dhbuildarchpackages)
30624 +# dh_installlogrotate $(dhbuildarchpackages)
30625 +# dh_installemacsen $(dhbuildarchpackages)
30626 +# dh_installpam $(dhbuildarchpackages)
30627 +# dh_installmime $(dhbuildarchpackages)
30628 + dh_installinit $(dhbuildarchpackages) --init-script=atm -- start 34 0 6 . start 39 S .
30629 + dh_installcron $(dhbuildarchpackages)
30630 + dh_installman $(dhbuildarchpackages)
30631 + dh_installinfo $(dhbuildarchpackages)
30632 +# dh_undocumented $(dhbuildarchpackages)
30633 + dh_installchangelogs -a ChangeLog $(dhbuildarchpackages)
30634 + dh_link $(dhbuildarchpackages)
30635 + dh_strip $(dhbuildarchpackages)
30636 + dh_compress $(dhbuildarchpackages)
30637 + dh_fixperms $(dhbuildarchpackages)
30638 + dh_makeshlibs $(dhbuildarchpackages)
30639 + dh_installdeb $(dhbuildarchpackages)
30640 +# dh_perl $(dhbuildarchpackages)
30641 + dh_shlibdeps -a -L libatm1 -l debian/libatm1/lib $(dhbuildarchpackages)
30642 + dh_gencontrol $(dhbuildarchpackages)
30643 + dh_md5sums $(dhbuildarchpackages)
30644 + dh_builddeb $(dhbuildarchpackages)
30646 +binary: binary-indep binary-arch
30647 +.PHONY: build binary-indep binary-arch binary install configure
30648 + get-2684 patch unpatch clean1
30649 Index: linux-atm-2.4.1/debian/atm-tools-br2684.install
30650 ===================================================================
30651 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
30652 +++ linux-atm-2.4.1/debian/atm-tools-br2684.install 2007-10-20 19:19:12.538342995 +0200
30654 +debian/tmp/usr/sbin/br2684ctl usr/sbin
30655 Index: linux-atm-2.4.1/debian/atm-tools-br2684/usr/share/doc/atm-tools-br2684/changelog.Debian
30656 ===================================================================
30657 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
30658 +++ linux-atm-2.4.1/debian/atm-tools-br2684/usr/share/doc/atm-tools-br2684/changelog.Debian 2007-10-20 19:19:12.546343453 +0200
30660 +linux-atm (2.4.1-16) unstable; urgency=low
30662 + * Fix build problem with gcc 3.4 (Closes: #259422)
30664 + -- Peter De Schrijver (p2) <p2@mind.be> Thu, 15 Jul 2004 14:28:10 +0200
30666 +linux-atm (2.4.1-15) unstable; urgency=low
30668 + * Updated descriptions (Closes: #239161)
30670 + -- Peter De Schrijver (p2) <p2@mind.be> Sun, 4 Apr 2004 21:10:20 +0200
30672 +linux-atm (2.4.1-14) unstable; urgency=low
30674 + * Fix symlink for /usr/lib/libatm.so (Closes: #221011)
30676 + -- Peter De Schrijver (p2) <p2@mind.be> Sun, 7 Dec 2003 21:53:19 +0100
30678 +linux-atm (2.4.1-13) unstable; urgency=low
30680 + * Previous version fixed #217259, but no changelog entry (Closes: #217259)
30681 + * Previous version fixed #216662, but no changelog entry (Closes: #216662)
30682 + * Added missing build dependency on automake1.4 (Closes: #221120, #221284)
30683 + * New Maintainer (Closes: #206982)
30685 + -- Peter De Schrijver (p2) <p2@mind.be> Mon, 17 Nov 2003 23:03:58 +0100
30687 +linux-atm (2.4.1-12) unstable; urgency=low
30689 + * don't build atm-tools-br2684 by default. Thanks to ftpmaster for
30690 + not allowing the package to be in Debian.
30691 + * Since we don't build atm-tools-br2684 any more, revert back to
30692 + autotools output from 2.4.1-9
30693 + * Add README.br2684 documenting a way to build the package locally.
30695 + -- Marc Haber <mh+debian-packages@zugschlus.de> Wed, 5 Nov 2003 21:31:42 +0000
30697 +linux-atm (2.4.1-11) experimental; urgency=low
30699 + * Build-Depend on dpatch
30700 + * dpatch br2684 header files from later libc for old libc (woody)
30702 + -- Marc Haber <mh+debian-packages@zugschlus.de> Wed, 29 Oct 2003 19:05:07 +0000
30704 +linux-atm (2.4.1-10) experimental; urgency=low
30706 + * add br2684 to package (closes: #216663)
30707 + * autoreconf to actually build br2684
30708 + * have libatm1-dev provide libatm-dev (closes: #216662)
30709 + * move lib symlink to libatm1-dev as well (closes: #217259)
30711 + -- Marc Haber <mh+debian-packages@zugschlus.de> Thu, 23 Oct 2003 17:55:43 +0000
30713 +linux-atm (2.4.1-9) unstable; urgency=low
30715 + * put libatm1-dev in libdevel (closes: #213170)
30716 + * make sure that new descriptions actually make it into the package
30718 + -- Marc Haber <mh+debian-packages@zugschlus.de> Thu, 9 Oct 2003 17:08:10 +0000
30720 +linux-atm (2.4.1-8) unstable; urgency=low
30722 + * build arch-indep package as targets of binary-indep (closes: #212124)
30723 + * use dh_installdocs to install files to libatm1-dev/docs
30724 + * symlink shared lib to usr/bin (closes: #213146)
30725 + * Use better long descriptions. Thanks to Javier (closes: #209427)
30726 + Fernandez-Sanguino (closes: #209612)
30728 + -- Marc Haber <mh+debian-packages@zugschlus.de> Sun, 28 Sep 2003 19:29:08 +0000
30730 +linux-atm (2.4.1-7) unstable; urgency=low
30732 + * libatm1 now conflicts with atm-tools (<< 2.4.1-6) (closes: #208170)
30733 + * armarp now writes output to stdout.
30734 + * add atm-dev as empty transitional package to help upgrades
30736 + -- Marc Haber <mh+debian-packages@zugschlus.de> Tue, 2 Sep 2003 09:20:33 +0000
30738 +linux-atm (2.4.1-6) unstable; urgency=low
30740 + * split off shared libraries to libatm1
30741 + * rename atm-dev to libatm1-dev
30742 + * Standards-Version: 3.6.1
30744 + -- Marc Haber <mh+debian-packages@zugschlus.de> Tue, 26 Aug 2003 15:46:27 +0000
30746 +linux-atm (2.4.1-5) unstable; urgency=low
30748 + * move *.a and *.la to usr/lib (closes: #199506).
30749 + * let atm-dev depend on atm-tools to avoid dangling /lib/libatm.so
30751 + * Standards-Version: 3.5.6
30753 + -- Marc Haber <mh+debian-packages@zugschlus.de> Wed, 30 Jul 2003 11:46:19 +0000
30755 +linux-atm (2.4.1-4) unstable; urgency=low
30757 + * add Build-Depends: on automake1.4
30759 + -- Marc Haber <mh+debian-packages@zugschlus.de> Wed, 11 Jun 2003 16:58:21 +0000
30761 +linux-atm (2.4.1-3) unstable; urgency=low
30763 + * rebuilding libtool broke src/test/Makefile.in. Applied fix to
30764 + Makefile.am and re-built again.
30766 + -- Marc Haber <mh+debian-packages@zugschlus.de> Wed, 11 Jun 2003 11:05:26 +0000
30768 +linux-atm (2.4.1-2) unstable; urgency=low
30770 + * rebuild configure script with new libtool (closes: #196909)
30772 + -- Marc Haber <mh+debian-packages@zugschlus.de> Tue, 10 Jun 2003 21:01:50 +0000
30774 +linux-atm (2.4.1-1) unstable; urgency=low
30776 + * new upstream source
30777 + * remove atmarp and atmarpd from /usr/sbin as they are already in
30778 + /sbin (closes: #196216)
30781 + -- Marc Haber <mh+debian-packages@zugschlus.de> Mon, 9 Jun 2003 16:03:45 +0000
30783 +linux-atm (2.4.0-5) unstable; urgency=low
30785 + * Fix for src/test/Makefile.in to allow building on hppa and ia64
30786 + which the fix introduced to 2.4.0-4 broke. Thanks to Goswin
30788 + * Move init.d priority to that atmarpd is started before network
30789 + interfaces are started.
30790 + * Move atmarpd and libatm to /sbin and /lib to allow atmarpd to be
30791 + started before /usr is mounted.
30792 + * use dh_install instead of dh_movefiles.
30794 + -- Marc Haber <mh+debian-packages@zugschlus.de> Sat, 24 Aug 2002 15:13:48 +0000
30796 +linux-atm (2.4.0-4) unstable; urgency=low
30799 + * Fix for src/test/Makefile.in to allow building on sparc.
30800 + Thanks to Patrick Mauritz. (closes: #144225).
30801 + * added pseudo-manpage for manpage-less binaries.
30802 + * removed rpath by changing configure and make install paramaters
30804 + -- Marc Haber <mh+debian-packages@zugschlus.de> Fri, 16 Aug 2002 20:39:05 +0000
30806 +linux-atm (2.4.0-3) unstable; urgency=HIGH
30808 + * Re-ran libtoolize.
30811 + * Previous version Closes: #135328
30813 + -- Russell Coker <russell@coker.com.au> Fri, 19 Apr 2002 01:55:00 +0200
30815 +linux-atm (2.4.0-2) unstable; urgency=HIGH
30817 + * Put a "grep -v EMAXERRNO" into the build process to deal with mipsel and
30818 + the "#ifdef __KERNEL__" it has in it's /usr/include/asm/errno.h .
30820 + -- Russell Coker <russell@coker.com.au> Thu, 18 Apr 2002 19:56:00 +0200
30822 +linux-atm (2.4.0-1) unstable; urgency=HIGH
30824 + * New upstream version which changes source package name.
30827 + -- Russell Coker <russell@coker.com.au> Mon, 18 Mar 2002 17:42:00 +0100
30829 +atm (0.79-4) unstable; urgency=low
30831 + * Added build-depends on flex.
30834 + * Made the atm tools use a shared object to save space.
30836 + * Fixed the copyright file and put all copyright details in both packages.
30838 + * Added support for easy building with different kernel headers.
30841 + -- Russell Coker <russell@coker.com.au> Sun, 7 Oct 2001 14:11:33 +0200
30843 +atm (0.79-3) unstable; urgency=low
30845 + * Created /etc/init.d/atm to start and stop atmarpd.
30848 + * Added build-depends on bison.
30851 + -- Russell Coker <russell@coker.com.au> Fri, 31 Aug 2001 15:21:44 +0200
30853 +atm (0.79-2) unstable; urgency=low
30855 + * Changed the main package name to atm-tools to indicate that it doesn't
30856 + provide ATM (gotta have the kernel support), it just has the daemons and
30859 + -- Russell Coker <russell@coker.com.au> Sat, 25 Aug 2001 17:55:00 +0200
30861 +atm (0.79-1) unstable; urgency=low
30863 + * Initial Release.
30865 + -- Russell Coker <russell@coker.com.au> Fri, 24 Aug 2001 17:31:00 +0200
30866 Index: linux-atm-2.4.1/debian/atm-tools-br2684/usr/share/doc/atm-tools-br2684/changelog
30867 ===================================================================
30868 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
30869 +++ linux-atm-2.4.1/debian/atm-tools-br2684/usr/share/doc/atm-tools-br2684/changelog 2007-10-20 19:19:12.566344593 +0200
30871 +Version 2.4.0 to 2.4.1 (25-APR-2003)
30872 +=====================
30877 + - vsprintf's changed to vsnprintf's to prevent possible stack overflows
30880 +Version 0.79 to 2.4.0 (18-OCT-2001)
30881 +=====================
30886 + - defined 'now' in src/lib/timer.c
30887 + - ia64 build fix for ASN (Chas Williams)
30892 + - In general, the source tree was rearranged and the old cruft was removed
30893 + - Old ad hoc build system replaced in favor of a standardized autoconfiscation
30894 + - Build configuration options are now controlled by 'configure' script instead
30895 + of changes to the previous 'Rules.make' file
30896 + - libatm and libatmd merged into one lib: libatm
30897 + - Both static and shared libraries are built by default. Binaries now built
30898 + with shared library by default.
30899 + - Sample atmsigd.conf and hosts.atm are now installed when doing 'make install'
30900 + - RPM spec file is now available in src/extra/
30901 + - New RedHat init scripts available in src/config/init-redhat/ (John Strange)
30902 + (old RedHat 4.0 scripts removed)
30903 + - ATM on Linux HOWTO now included in doc/ (much derived from usage.tex). We
30904 + will publish this on the home page as well as linuxdoc.org
30905 + - tcpdump and libpcap ATM patches/build removed (they have been integrated into
30906 + their respective packages; see www.tcpdump.org)
30907 + - ATM Name Service (ANS) files coalesced into src/extra/ANS
30908 + - ANS bind patch upgraded to bind-4.9.8 (untested)
30909 + - rtf2e164_cc.pl removed in favor of src/extra/ANS/pdf2e164_cc.pl. The ITU no
30910 + longer provides E.164 country codes in RTF format. PDF used instead.
30913 +Version 0.78 to 0.79 (15-AUG-2001)
30914 +====================
30919 +- uni.c fix for newer versions of gcc
30920 +- mpoad/io.c quick fix for undefined OPEN_MAX
30923 +Version 0.77 to 0.78 (7-JUL-2000)
30924 +====================
30929 + - skb_migrate wasn't protected against functions accessing the list via
30931 + - removal of MOD_xxx races in FORE 200E and atmtcp (by Jeff Garzik)
30932 + - CONFIG_ATM_NICSTAR_USE_IDT77105 set NEED_SUNI_MX instead of
30933 + NEED_IDT77105_MX (fix from mainstream)
30934 + - ambassador.c: changed string concatenation and offset calculation breaking
30935 + compilation with gcc 2.96 (by Jakub Jelinek)
30936 + - nicstar.c: various locking fixes for SMP (by Rui Prior)
30937 + - LANE vs. bridging build conflict solved (from mainstream)
30938 + - %%u instead of %u in mpc.c
30939 + - fixed formatting of /proc/net/atm/svc
30940 + - /proc/net/atm/clip always added + after public address, not only if followed
30941 + by private address
30942 + - atmsigd now returns EINVAL if attempting to change max_sdu
30943 + - atm_change_qos now calls adjust_to for additional parameter checking
30944 + - sendmsg now returns error if size > max_sdu (reported by Alan Kennington)
30945 + - removed explicit defaults in Config.in (by Christoph Hellwig)
30946 + - Fore200E: removed #ifdef MODULE
30947 + - ipcommon.c didn't export skb_migrate to modules (by Mitchell Blank)
30948 + - ENI: /proc/net/atm/eni:* claimed backlog was in bytes instead of packets
30949 + - br, bw, window: changed variables receiving possibly negative return values
30950 + from size_t to ssize_t (reported by Alan Kennington)
30951 + - LANE: fixed stray errors on lack of ATM address, ATM address change, or ESI
30952 + change (by Heikki Vatiainen)
30953 + - LANE: could loop forwever when trying to connect to LECS (by Heikki
30959 + - upgraded to the 2.4.0-test3-pre4 kernel
30964 + - as_reject now returns the errno value in msg->reply
30965 + - removed save_qos hack in svc_change_qos
30966 + - atmsigd: sap_encode now always includes both max_sdu fields, even if one
30967 + contains the null value for some reason (by Mohsen Souissi)
30968 + - PCI updates for Ambassador, FORE 200E, Horizon, Iphase, nicstar, ENI, and
30969 + ZATM (by Jeff Garzik)
30970 + - removal of unnecessary #ifdef MODULE for nicstar, idt77105, and FORE 200E
30972 + - generalized skb_migrate to append to an arbitrary sk_buff list
30973 + - iphase.c: timer initialization cleanup (from mainstream)
30974 + - clip: dev->name initialization change (from mainstream)
30975 + - idt77105: cleaned up timer initialization
30976 + - clip.c: some general cleanup
30977 + - removed redundant return in clip.c (by Heikki Vatiainen)
30978 + - changed atm_change_qos to static
30979 + - fore200e.c: re-enabled anti-unloading code
30980 + - lec.c: now drops packets on overrun instead of growing infinite queue (by
30981 + Heikki Vatiainen)
30982 + - COPYING still mentioned the old led code with partial DEC copyright
30983 + (reported by Chris Pimlott)
30984 + - Horizon: removed const warning by casting to (hrz_flags *)
30985 + - Iphase: tried to print unsigned long with %x when errors are enabled
30986 + - ENI: eni_send tries to use do_tx instead of tasklet_schedule to reduce delay
30987 + - ENI: removed eni_dev->backlog_len (information is already in backlog->qlen)
30988 + - changed the kernel source tree references from .gz to .bz2 compression
30989 + - changed mkdiff to allow more flexible selection of additional patch
30992 +Version 0.76 to 0.77 (29-APR-2000)
30993 +====================
30998 + - atmaddr.8, atmarp.8, atmdump.8, atmloop.8, esi.8 didn't print all options
31000 + - atmsigd crashed if an interface had more than one local ATM address
31001 + - atmarpd continued to use VCs after closing if they were closed because
31002 + ATMARP_SETENTRY failed (reported by Joseph Gooch)
31007 + - upgraded to the 2.3.99-pre6 kernel
31012 + - CLIP now uses NETDEV_GOING_DOWN instead of NETDEV_DOWN; also avoids
31013 + "clip_device_event: unknown event 9" warning
31014 + - added ubr:pcr example to qos(7)
31015 + - added -V option to atmaddr, atmarp, atmarpd, atmloop, atmsigd, atmtcp, esi,
31017 + - sock->sk->sleep now points to vcc->sleep (by Alexander Viro)
31018 + - CLIP: ATMARP server now reponds to query for local IP address (suggested by
31023 +Version 0.75 to 0.76 (13-APR-2000)
31024 +====================
31029 + - ttcp_atm declared port as "short" instead of "unsigned short", yielding
31030 + confusing diagnostic output
31035 + - upgraded to the 2.3.99-pre5 kernel
31040 + - eliminated eni_send-tasklet synchronization
31041 + - PCA200: merged unconditional #inclusion of linux/pci.h from pre5
31044 +Version 0.74 to 0.75 (7-APR-2000)
31045 +====================
31050 + - ENI: moved send operation into tasklet to correct synchronization (reported
31051 + by Heikki Vatiainen)
31052 + - MPOA: possible deadlock fix (by Heikki Vatiainen)
31053 + - atm_vcc_flags_t was too small on PPC, causing an overlap with vcc->family
31054 + (fixed by Chas Williams)
31055 + - CLIP: needs spin_lock_irqsave instead of only spin_lock (by Rui Prior)
31056 + - CLIP: clip_push may be called from an interrupt, so the kfree_skb has to
31057 + become dev_kfree_skb_any (by Heikki Vatiainen)
31062 + - removed INCLUDES from atm/ilmid/asn1/Makefile (suggested by Jean Marc
31064 + - atm/maint/Makefile no longer special-cases atmdiag.c (suggested by Jean Marc
31068 +Version 0.73 to 0.74 (2-APR-2000)
31069 +====================
31074 + - atm_poll tried to sleep on two wait queues, which is no longer possible.
31075 + Removed vcc->wsleep to solve this. (Reported by Joseph Gooch)
31076 + - lec.c:lec_arp_clear_vccs changed the VCC flags of the wrong VCC, fortunately
31077 + only in commented-out code
31078 + - major revision of MPOA ingress and egress cache locking (Heikki Vatiainen)
31083 + - removed last remnants of bogus bridging lock from lane_mpoa_init.c
31084 + (reported by Heikki Vatiainen)
31085 + - removed last traces of TNET1570A driver
31086 + - atmdev_init still knew about ENI, but ENI now uses new-style initialization
31087 + - improved Fore 200E configuration to catch useless settings already at
31088 + configuration time (by Christophe Lizzi)
31091 +Version 0.72 to 0.73 (29-MAR-2000)
31092 +====================
31097 + - ambassador.c and horizon.c had module loading races (fixed by Giuliano
31099 + - fore200e: one set_bit was accidently converted to clear_bit, preventing VCs
31100 + from being opened (fixed by Christophe Lizzi)
31105 + - fore200e: moved interrupt handler work to tasklet (by Christophe Lizzi)
31106 + - fore200e: fixed SBUS DMA direction flags (by Christophe Lizzi)
31107 + - fore200e: the compile no longer fails when the driver is compiled without
31108 + any hardware support (and displays a warning; by Christophe Lizzi)
31109 + - oops, atm/README was lagging behind a few versions
31112 +Version 0.71 to 0.72 (25-MAR-2000)
31113 +====================
31118 + - fore200e.h and lec.h didn't #include <linux/config.h> (fixed by David S.
31120 + - atmloop.c always assumed -q to be present
31125 + - upgraded to the 2.3.99-pre3 kernel
31130 + - kernel patch still included wd.c hack (reported by David S. Miller)
31131 + - removed bogus initialization of skb->rx_dev (spotted by Alexey Kuznetsov)
31132 + - removed bogus lane_bridge_hook_lock (by Heikki Vatiainen)
31133 + - added sparc64 support for ATM_QUERYLOOP (by Christophe Lizzi)
31134 + - minor Fore driver cleanup (by Christophe Lizzi)
31135 + - eni.c: moved interrupt handler work to tasklet
31138 +Version 0.70 to 0.71 (21-MAR-2000)
31139 +====================
31144 + - eni.c: fixed potential SMP deadlock on tx_wait
31145 + - clip.c and lec.c didn't initialize skb->rx_dev
31146 + - net/atm/svc.c:svc_connect left wait entry in queue on return in some cases
31147 + - idiot bug in skb_migrate caused weird crashes
31148 + - atmloop usage erroneously claimed -s was optional
31153 + - upgraded to the 2.3.99-pre2 kernel
31154 + - added atmloop.8 man page
31155 + - added enqueuing result NET_XMIT_BYPASS for qdiscs that send packets on a
31156 + path without dequeue (e.g. sch_atm)
31161 + - ambassador.c: removed warnings when compiling with CONFIG_SMP (by Giuliano
31163 + - changed drivers/atm target from atm.a to atm.o, to make initcalls work
31164 + - converted eni.c to use pci_register_driver and initcall
31165 + - cleaned up #ifdef hell in net/atm/signaling.c:sigd_put_skb
31168 +Version 0.69 to 0.70 (20-MAR-2000)
31169 +====================
31174 + - LEC compilation as a module still left it in the kernel
31179 + - moved LANE-bridging interface code from lec.c to lane_mpoa_init.c (by
31180 + Heikki Vatiainen)
31181 + - made SONET and ATM statistics counters atomic to avoid cli() when reading
31182 + (not updated: similar mechanism in idt77105.c and private shadow statistics
31184 + - changed access to VCC and device flags (ATM_VF_* and ATM_DF_*) to bit set
31186 + - changed flag types to structs to fail compilation of old code
31187 + - changed last argument of atm_dev_register to a pointer to a bit set for
31189 + - net/atm/*.c: eliminated all sleep_on and cli (except in lec.c)
31190 + - ditto for eni.c and suni.c
31191 + - corrected indentation of some "permanent" debugging code in zatm.c
31192 + - made skb_migrate partially atomic, obsoleting yet another cli() in clip.c
31195 +Version 0.68 to 0.69 (19-MAR-2000)
31196 +====================
31201 + - ambassador.c: corrected location of initial PLX window for use on Alpha (by
31202 + Giuliano Procida)
31203 + - zeppelin: fixed address initialization (found by Christophe Lizzi)
31204 + - atmsigd.conf man page erroneously described the option "q.2963.1" as
31206 + - LANE didn't compile when bridging was enabled (fixed by Heikki Vatiainen;
31207 + note that bridging also needs an update which is being merged via the
31208 + mainstream kernel)
31213 + - atmsigd: added command-line option -u to set the UNI mode
31214 + - added ioctl ATM_QUERYLOOP to determine supported loopback modes
31215 + - added atmloop(8) option -q
31220 + - added CREDITS entry of Giuliano Procida
31221 + - various cosmetic changes to horizon.c (by Giuliano Procida)
31222 + - ambassador.c: various bits of cleanup (by Giuliano Procida)
31223 + - added -S <tos> option to ttcp_atm to set the IPv4 TOS byte (this is not
31224 + really related to ATM)
31225 + - changed loopback mode values to a bit set
31226 + - idt77105_ioctl: returned sizeof(int) instead of 0 on ATM_GETLOOP
31227 + - added phy_ops->stop to suni.c and uPD98402_stop, cleaned up suni.c in the
31229 + - removed (very obsolete) mmuio.o from net/atm/Makefile
31232 +Version 0.67 to 0.68 (28-FEB-2000)
31233 +====================
31238 + - removed potential dev_kfree_skb(NULL) from *_send of eni.c, zatm.c, iphase.c
31239 + - eni.c, zatm.c, iphase.c sometimes returned PCI error codes instead of errno
31241 + - arpd/io.c could try to de-reference entry->addr with addr == NULL (fixed by
31243 + - LANE copied more than dev->addr_len address bytes (fixed by Heikki
31245 + - sch_atm didn't remove filters on destroy
31246 + - fixed typo in esi.c error message
31247 + - esi.8 claimed to be the man page of atmarp, and it wasn't installed
31248 + - added checking for VPI/VCI when sending AAL0 cells (by Mitchell Blank)
31249 + - atmtcp allowed sending on receive-only VCs
31250 + - various ioctl permission checks were missing (fixed by Mitchell Blank)
31251 + - fore200e.c and horizon.c didn't always free skbs on send error (fixed by
31253 + - included an ugly hack to fix the wd.c driver that was broken around 2.3.47
31254 + (not related to ATM at all...)
31259 + - upgraded to the 2.3.48 kernel
31260 + - added device-independent SAR/PHY loopback setting interface (with many good
31261 + ideas from Greg Banks and Mitchell Blank), and removed old loopback ioctls
31262 + - new utility atmloop to set loopback mode
31263 + - added "stop" to atmphy_ops (requested by Mitchell Blank)
31268 + - mkdiff can now also use pre-release kernels
31269 + - changed *kfree_skb to dev_kfree_skb_{irq,any} in eni.c, zatm.c, and raw.c,
31270 + where necessary (with help from Heikki Vatiainen)
31271 + - changed {dev_,}kfree_skb to dev_kfree_skb_any in ambassador.c, horizon.c,
31272 + iphase.c, and nicstar.c (needs further cleanup)
31273 + - softnet updates for LANE (by Heikki Vatiainen)
31274 + - fixed firmeware license of Fore 200E driver and general 0.46/0.47 updates
31275 + (Christophe Lizzi)
31276 + - more CREDITS file additions
31277 + - softnet updates for sch_atm
31278 + - softnet updates for CLIP (also cleaned up flow control for > 1 VCC/itf;
31279 + reported by Alexey Kuznetsov)
31280 + - updated documentation for iproute2-2.2.4-now-ss000225 and streamlined the
31282 + - PCI DMA updates for ENI driver
31283 + - changed the default install location of executables and man pages from
31284 + /usr/local to /usr
31285 + - make install no longer installs align, aping, br, bw, delay, isp, svctor,
31286 + sw_debug, sw_tcp, swc, and window
31287 + - eni.c: made highly controversial aal5 = ... line more readable
31288 + - moved /proc/atm to /proc/net/atm
31289 + - added vcc->send function to allow for AAL-specific processing (may be set
31290 + to dev->ops->send)
31291 + - atm_do_connect_dev now calls bind_vcc before AAL initialization to make
31292 + vcc->dev available
31293 + - change_qos no longer allows changing of AAL or traffic class (by Mitchell
31295 + - changes for new loopback support to fore200e driver and sparc64 code (by
31296 + Christophe Lizzi)
31299 +Version 0.66 to 0.67 (2-FEB-2000)
31300 +====================
31305 + - upgraded to 2.3.42
31306 + - added sunimode utility to set SUNI loopback mode (by Christophe Lizzi)
31311 + - removed unused variable warning in net/sched/sch_atm.c
31312 + - changed ENI_SETMULT from ATMIOC_SARPRV+1 to ATMIOC_SARPRV+7
31313 + - changed atmarpd's complaint about VCC-less non-ATMARP-server entries from
31314 + DIAG_ERROR to DIAG_INFO (the condition is okay for an ATMARP server)
31317 +Version 0.65 to 0.66 (31-JAN-2000)
31318 +====================
31323 + - atmsigd crashed on reception of as_accept, etc., because of inverted NULL
31324 + pointer test (reported by Kevin Vargo, Rui Prior, fixed by Julian Cable)
31325 + - fixed various SPARC build problems (by Christophe Lizzi)
31326 + - atmsigd insisted that calling party number is local in switch mode
31327 + - debug switch didn't initialize any ports
31328 + - net/atm/signaling.c:sigd_enq didn't properly zero the message, yielding
31329 + kernel pointers partially containing junk
31330 + - accept(2) didn't copy local ATM address to VCC descriptor (reported by
31332 + - ilmid/io.c didn't compile on SPARC (reported by Christophe Lizzi)
31333 + - usage.txt didn't define the %: macro, leaving garbage in usage.txt
31338 + - upgraded to 2.3.41
31339 + - Fore 200E driver now also works for SBA-200E (by Christophe Lizzi)
31344 + - added various CREDITS entries
31345 + - changed TIOC{IN,OUT}Q to SIOC{IN,OUT}Q (no user space rebuild required;
31346 + the values are identical)
31347 + - added script atm/switch/tcp/mkfiles for automatic extraction of
31348 + configuration files
31349 + - atmsigd called ATM_GETLINKRATE "ATM_GETLINERATE" in complaints
31350 + - atmsigd tried to obtain link speed in switch mode, although it's not used
31351 + - Ambassador NIC: various files still had the wrong copyright/licensing text
31352 + (patch by Giuliano Procida)
31355 +Version 0.64 to 0.65 (21-JAN-2000)
31356 +====================
31361 + - fixed 32/64 bit %p formatting problem in /proc/atm/vc
31362 + - atmtcp: fixed RX/TX statistics (by Jens Axboe)
31363 + - sparc64-specific ioctl 32/64 bit marshalling fixes (by Christophe Lizzi,
31364 + with further improvements by Jens Axboe)
31365 + - zeppelin -l option handling (reported by Mike Prudence, fixed by Heikki
31367 + - mkpatch didn't include drivers/atm/eni.h
31368 + - updated eni.h (tx->backlog_len was missing)
31369 + - fixed various uint32_t build problems of user space tools by including
31370 + atm.h before anything other ATM headers (first reported by Rashmi Dravid)
31371 + - "natmtcp virtual" didn't parse the command line properly
31372 + - natmtcp's TCP link changed VPI/VCI to 0.0 on close
31373 + - CLIP: fixed crash after sending ARP (reported by Rui Prior)
31378 + - upgraded to 2.3.40 (with help from Jens Axboe)
31379 + - added sparc64 changes for ENI driver (by Heikki Vatiainen)
31380 + - added the Fore PCA-200E(/SBA-200E) driver (by Uwe Dannowski and Christophe
31382 + - added the Interphase ATM PCI (i)Chip (x575, x525, x531, etc.) driver (by
31383 + Monalisa Agrawal and Peter Wang)
31384 + - added ABR fields to struct atm_trafprm (by Peter Wang)
31385 + - nicstar driver now supports setting of the CLP bit (by Rui Prior)
31386 + - added ENI_SETMULT ioctl and enitune utility to change ENI buffer size
31387 + multipliers at run time
31392 + - atmsigd: changed default UNI version from 3.0 to dynamic (which defaults
31394 + - atmtcp: removed ugly ../../net/atm/protocols.h include
31395 + - ioctls now internally return -ENOIOCTLCMD if ioctl command number is not
31397 + - removed ATM_CREATE_LEAF ioctl (wasn't used and suggested the wrong design
31399 + - updated README.DRIVERS
31400 + - natmtcp now uses port 2812 (assigned by IANA)
31401 + - moved Documentation/atm.txt to Documentation/networking
31402 + - improved atm_kptr_int_t for non-Sparc architectures (by Christophe Lizzi)
31403 + - removed two compiler warnings from nicstar.c
31404 + - some minor nicstar cleanup (by Rui Prior)
31405 + - added "vbr" and "abr" to text2qos/qos2text ("vbr" not used for anything
31407 + - natmtcp: added commands "create", "remove", "switch", corresponding to
31408 + options -p, -r, and -s of atmtcp
31409 + - natmtcp: added link type "print" (write PDU content to stdout)
31410 + - natmtcp: now uses atm_kptr_int_t for VCC kernel pointer instead of unsigned
31412 + - added apologetic man page for natmtcp
31413 + - renamed natmtcp to atmtcp and removed the old atmtcp
31414 + - changed some user-space code to avoid patronizing "ambiguous `else'"
31415 + warnings from egcs, adding as few ugly redundant curly braces as possible
31416 + - fixed some other compiler warnings
31417 + - kernel part: trimmed operations structure initializers which consisted
31418 + mainly of NULL pointers
31419 + - kernel pointers sent as opaque references to user space are now of type
31420 + atm_kptr_t. Added support functions kptr_eq and kptr_print. (With help from
31421 + Richard Johnson and Mitchell Blank)
31422 + - removed various "overriding commands" warnings in user-space build process
31423 + - mkdist now creates arcvie in current directory if ~/l/arch doesn't exist
31424 + - make clean && make now works also if dependencies are present (make clean
31425 + used to remove sigd/q.out.h, which the dependencies required)
31426 + - atmtcp uses command bg instead of -b for backgrounding. Also, listen-bg
31427 + listens and backgrounds before calling accept.
31430 +Version 0.63 to 0.64 (1-DEC-1999)
31431 +====================
31436 + - atmapi.h logic was still wrong (fixed by Christophe Lizzi)
31437 + - LANE: fixed BUS filtering and net/atm/lec.c cleanup (by Heikki Vatiainen)
31438 + - arpd/io.c assumed that diag() preserves errno
31439 + - atmarpd didn't include QOS in output if getsockopt failed
31444 + - /proc/atm/eni:* now also shows transmit queue and backlog length
31445 + - added option "sndbuf" to atmarp
31446 + - added option "sndbuf" to tc ... atm ...
31447 + - /proc/atm/vc lists internal details for all VCs (flags, buffers, etc.);
31448 + added ATM_VF2TXT_MAP to atmdev.h to allow translation of flag values
31453 + - ATM now uses sk->sndbuf/rvcbuf instead of atm_vcc->tx_quota/rx_quota
31454 + - removed rx_quota hack from zatm.c
31455 + - removed net/atm/tunable.h
31456 + - CLIP and sch_atm now only send packets if the VC's send queue allows them to
31457 + - implemented correct "requeue" function in sch_atm
31458 + - updated zeppelin(8) man page (Heikki Vatiainen)
31459 + - atmarp: atmarp -q qos_spec usage is obsolete; use atmarp -q qos qos_spec
31461 + - /proc/atm/svc now prints "N/A@xxxxxxxx" instead of "Unassigned", with the
31462 + address of the descriptor in xxxxxxxx
31463 + - removed all traces of CONFIG_MMU_HACKS
31464 + - obsoleted ATM_SETSC (single-copy control)
31467 +Version 0.62 to 0.63 (22-NOV-1999)
31468 +====================
31473 + - horizon.c: cleared weird rate_lock/rates_lock patch conflict
31474 + - saaldump output formatting was completely wrecked; added option -q for
31475 + "quiet" output (no Q.2931 printing)
31476 + - fixed LANE Ethernet interface MTU mapping (patch by Rob Scott)
31477 + - atmsigd incorrectly rejected CONNECTION AVAILABLE (Q.2963.1)
31478 + - SVC address was wrong in /proc/atm/arp if using private and public part
31479 + - RESTART ACKNOWLEDGE was not sent with the correct global call reference
31480 + value (reported by Peter Ryan)
31481 + - zatm: usec timestamps need 64 division of x86, so this option must be
31482 + unavailable on other architectures (reported by Matti Aarnio)
31483 + - nicstar: added "fix3" and "fix4" (by Rui Prior)
31484 + - LANE: non-proxy didn't filter packets coming from BUS (fix by Marko Kiiskila
31485 + and Heikki Vatiainen)
31490 + - upgraded to kernel version 2.3.28
31491 + - atmtcp now reports VC open/close and generates timestamps (Note: the
31492 + protocol used between the kernel and the atmtcp utility has changed)
31493 + - new utility "natmtcp" which combines the ATMTCP protocol, ATMTCP ("virtual")
31494 + interfaces, "real" ATM interfaces, and log files (experimental)
31495 + - added ILMI 4.0 MIB variables atmfPortMyIdentifier and atmfMySystemIdentifier
31496 + (by Thomas Seidel)
31497 + - zeppelin: new command line option -I to select interface, allowing the use
31498 + of LANE with multiple physical interfaces (by Heikki Vatiainen)
31499 + - UltraSparc (sparc64) support (by Christophe Lizzi)
31500 + - nicstar: added IDT77105 PHY support (by Greg Banks)
31501 + - added utility loop25 to control ForeRunner LE loopback mode (by Greg Banks)
31502 + - added support for DNS lookup of NSAP addresses (by Rui Prior)
31503 + - added utility debug/dnstest (by Rui Prior)
31508 + - net/atm/tunable.h cleanup
31509 + - removed SO_BCTXOPT, SO_BCRXOPT, and struct atm_buffconst
31510 + - removed obsolete field "next" from struct atm_blli
31511 + - changed potentially unaligned 32 bit accesses in SAAL to use read_netl
31512 + (spotted by Christophe Lizzi)
31513 + - added __attribute__ ((aligned(8))) to many structures containing structures
31514 + which are shared by kernel and user space to enfore uniform packing on
31515 + sparc64 (with help from Christophe Lizzi)
31516 + - changed unsigned long to unsigned int at API for compatibility with
31517 + architecture where sizeof(long) differs between user and kernel space
31518 + (e.g. sparc64; suggested by Christophe Lizzi)
31519 + - changed struct atmsvc_msg.{vcc,listen_vcc} from unsigned long to new type
31520 + atm_kptr_int_t; changed atmsigd accordingly (NB: debugging output may strip
31522 + - changed various casts pointer->int to pointer->long->int (where the pointer
31523 + does indeed only contain an int, e.g. in ioctl) for Alpha (reported by
31525 + - nicstar: changes card->membase from u32 to unsigned long
31526 + - added __attribute__ ((unused)) to mpc.c and mpoa_caches.c to remove
31527 + warnings about variables used only for debugging
31528 + - drivers/atm/Config.in: changed ! "$foo" = "x" to "$foo" != "x"
31531 +Version 0.61 to 0.62 (27-AUG-1999)
31532 +====================
31537 + - lib/diag.c:set_logfile didn't set log_to_initialized (reported by Lars
31539 + - sch_atm did not use classifiers attached to the x:0 class (reported by Lars
31541 + - net/atm/atm_misc.c EXPORT'ed atm_return, which is an inline function (fixed
31542 + by Mitchell Blank)
31543 + - work-around for SO_LEVEL range problems (by Mitchell Blank)
31544 + - nicstar oops fix (by Rui Prior and John Brosnan)
31545 + - nicstar should now work also as non-module (by Rui Prior)
31546 + - nicstar fix for chip bug showing up on 64-bit CPCI bus systems (by Jay
31548 + - cleared confusion about inclusion of suni.o when building both nicstar and
31550 + - suni.c now always exports suni_init
31551 + - various fixes and cleanups in the Madge drivers (by Giuliano Procida)
31552 + - fixed new set of atm_pdu2truesize problems by introducing atm_alloc_charge
31553 + which handles the allocation too (problem report and work-around by Alexey
31555 + - getsockname on unbound PVC socket caused an oops
31556 + - LANE: Token Ring source route bridge support fix (by Heikki Vatiainen)
31561 + - upgraded to kernel version 2.3.15 (mainly by Alexey Kuznetsov and Mitchell
31563 + - new socket option SO_ATMPVC to retrieve the "PVC" address (PVC & SVC) (based
31564 + on a patch by Jay Talbott)
31565 + - zeppelin -l now also accepts only the selector byte (by Robert Slaski)
31570 + - removed obsolete drivers/atm/nicstar.c.old_skb
31571 + - removed all references to Arequipa (obsolete)
31572 + - SO_BCTXOPT/SO_BCRXOPT are now obsolete, given that the final verdict on page
31573 + flipping has been spoken in linux-kernel
31574 + - interface statistics are now counted in struct net_device_stats instead of
31575 + struct enet_statistics (by Mitchell Blank)
31576 + - added pointer to mailing list to Documentation/atm.txt
31577 + - Documentation/Configure.help now points to Documentation/atm.txt instead of
31578 + directly to the Web page.
31579 + - usage.tex: clarified the consequences of interrupting atmtcp
31580 + - changed the highly misleading "atmarpd:ITF: no such interface" message to
31584 +Version 0.60 to 0.61 (11-JUN-1999)
31585 +====================
31590 + - nicstar: driver sometimes crashed when starting for 25 Mbps cards (Rui
31592 + - Zeitnet driver: uPD98402.c wasn't compiled with -DEXPORT_SYMTAB when
31593 + building as a module
31594 + - net/atm/raw.c didn't export atm_init_aal5, so ATMTCP didn't load as a module
31595 + - atmtcp could still be accessed after loading and then unloading, yielding an
31601 + - PPC configuration now also includes ATM (Jay Talbott)
31602 + - lots of cleanup in the Madge drivers (Giuliano Procida)
31603 + - tamed down a bit the tone in README
31606 +Version 0.59 to 0.60 (3-JUN-1999)
31607 +====================
31612 + - upgraded to kernel version 2.3.3 (main change is slightly different wait
31613 + queue handling; affects all drivers)
31618 + - mkdiff script now takes .bz2 kernel if no .gz can be found
31619 + - made a few changes to the Madge drivers to reduce the number of warnings
31622 +Version 0.58 to 0.59 (3-JUN-1999)
31623 +====================
31628 + - upgrade to kernel version 2.2.9
31629 + - zeppelin now adjusts MTU when joining ELAN (Heikki Vatiainen)
31634 + - adjusted tr interface name limit to 8 characters (down from a wasteful 9)
31637 +Version 0.57 to 0.58 (3-JUN-1999)
31638 +====================
31643 + - ENI drivers sometimes directly dereferenced pointers instead of using readl/
31644 + writel (fixed by Mitchell Blank)
31645 + - nicstar driver no longer uses floating point (fixed by Rui Prior)
31646 + - nicstar driver may have refused CBR VC in some cases even with enough
31647 + bandwidth available (fixed by Rui Prior)
31648 + - usage.tex failed to build (fixed by Bill Brooks)
31649 + - zeppelin got byte order in BLLI wrong (reported by Chas Williams; fixed by
31650 + Mitchell Blank and Heikki Vatiainen)
31651 + - zeppelin did not work when the host had multiple ATM addresses (reported by
31652 + Benoit Steiner; fixed by Heikki Vatiainen)
31653 + - zeppelin incorrectly parsed -i command line option (reported by Benoit
31654 + Steiner; fixed by Heikki Vatiainen)
31655 + - atm_connect_vcc and /proc/atm/pvc report AAL0 now properly (reported by Zhu
31656 + Qun Ying and Uwe Dannowski)
31661 + - nicstar driver now support SONET diagnostics (by Rui Prior)
31662 + - nicstar driver now works on PowerPC (by Jay Talbott)
31663 + - LANE now also supports Token Ring (Heikki Vatiainen, with testing by
31664 + Holger Smolinski)
31669 + - major non-i386 architecture and other cleanup in ENI driver (by Mitchell
31671 + - number of lec devices is 40+8 (lec0-lec39 are Ethernet and lec40-lec47 are
31672 + Token Ring; Heikki Vatiainen)
31673 + - lec.c and mpc.c now use atm_force_charge (Heikki Vatiainen)
31674 + - net/802/tr.c limited interface names to 4 characters (fixed by Heikki
31676 + - zeppelin man page updated (Heikki Vatiainen)
31677 + - "zeppelin.new" is now "zeppelin", the old "zeppelin" is gone
31678 + - set "atm_connect" printk to KERN_DEBUG
31679 + - removed ATM_SAAL from include/linux/atm.h (there never was any support for
31680 + SAAL in the kernel)
31683 +Version 0.56 to 0.57 (18-MAY-1999)
31684 +====================
31689 + - atmarpd complained "invalid control msg type" when changing interface
31690 + characteristics (reported by Soo-Khim Ho)
31691 + - sch_atm didn't compile without CLIP (reported by Zhu Qun Ying)
31692 + - LANE & MPOA: plugged a few memory leaks after failure to atm_charge (Heikki
31694 + - mpcd could not be killed if MPS's address was not known (fixed by Heikki
31696 + - nicstar: fixed the sleeping in interrupt issue (Rui Prior)
31701 + - drivers for the Madge "Ambassador" and "Horizon [Ultra]" NICs, also known
31702 + as Collage PCI 155 Server, 25, and 155 Client (by Giuliano Procida)
31707 + - MPOA code cleanup and debugging printks are now conditional (Heikki
31709 + - removed both led/USAGE files
31710 + - removed the old atmsigd (was in atm/sig.old/)
31711 + - nicstar driver now works around TSQ bug on older chips (77201) (by Rui
31712 + Prior, with the detective work by Jay Talbott)
31715 +Version 0.55 to 0.56 (22-APR-1999)
31716 +====================
31721 + - atm/doc/Makefile assumed . to be included in PATH when invoking rlatex
31722 + (fix by Heikki Vatiainen)
31723 + - usage.txt leaked Arequipa configuration examples (fix by Heikki Vatiainen)
31724 + - plugged a small memory leak in led.new which occurred when using the LANE
31725 + client as a proxy (Heikki Vatiainen)
31726 + - atmarpd crashed when printing ATMARP table entries with flag 0x8000 set
31727 + (reported by Vinay Kulkarni)
31728 + - CLIP interfaces now follow netmask changes
31729 + - Nicstar: 25.6 Mbps cell rate corrected (by Rui Prior)
31730 + - atm_equal could loop forever when comparing NSAP-encoded E.164 addresses
31731 + (reported by Valley Zhizhkun)
31732 + - [AP]F_ATM[PS]VC definitions in lib/atm.h conflicted with glibc 2.1
31733 + (reported by Heikki Vatiainen and Jens Vagelpohl)
31734 + - changed a few non-int main to int main (reported by Heikki Vatiainen)
31735 + - changed lib/diag.c work with glibc 2.1, where stderr is no longer a constant
31736 + (based on a patch by Heikki Vatiainen, also reported by Giuliano Procida)
31737 + - make clean didn't remove qgen/q.test.c, qgen/qd.out.h, qgen/qd.test.c,
31738 + sigd/q.out.h and sigd.old/q.out.h (reported by Giuliano Procida)
31739 + - optional headers were installed even with system headers present if
31740 + INSTROOT was different from / (reported by Giuliano Procida)
31741 + - lib/stdint.h was used even on systems that had a "real" stdlib.h (based on a
31742 + patch by Heikki Vatiainen, also reported by Giuliano Procida)
31743 + - renamed net/atm/misc.c to atm_misc.c to avoid name clash with
31744 + drivers/char/misc.c on include/linux/modules/misc.* (reported by Borek
31750 + - new ioctl ATM_GETLINKRATE to query link rate of an interface (suggested by
31752 + - new atmsigd.conf option io max_rate to specify rate to signal if
31753 + application requests the "maximum"
31754 + - added decription of CONFIG_ATM_LANE and CONFIG_ATM_MPOA to the kernel
31755 + configuration help (Heikki Vatiainen)
31756 + - added description of LANE to usage.tex (Heikki Vatiainen)
31757 + - new function atm_force_charge to unconditionally add data to a receive
31763 + - atmsigd now determines maximum link rate by querying interfaces (suggested
31764 + by Vitaly Lavrov)
31765 + - moved local address registry from a global table to VPCI structures
31766 + - changed unknown net device notification severity from KERN_ERR to
31768 + - atmarpd now overwrites old atmarpd.table on startup (it used to keep it
31769 + until the first configuration change)
31770 + - shutdown(2) of native ATM VCs now returns 0 instead of -EOPNOTSUPP
31771 + (suggested by Mitchell Blank)
31772 + - Nicstar: IRQ sharing is now allowed (by Rui Prior)
31773 + - Nicstar: default maximum number of cards is now 4 (by Rui Prior)
31774 + - Nicstar: when compiled as a module, the driver may no longer be removed
31775 + while in use (by Rui Prior)
31776 + - Nicstar: loss of cells is no longer reported as a plain CRC error (by Rui
31778 + - atmsigd now always clears the endpoint reference flag if in UNI 3.0 mode
31779 + (based on a patch by Heikki Vatiainen)
31782 +Version 0.54 to 0.55 (1-MAR-1999)
31783 +====================
31788 + - SELECT_TOP_PCR didn't take intro account the "pcr" field, causing SVC with
31789 + QoS pcr=xxx to be set up at link speed
31790 + - qos_equal didn't detect differences in the "pcr" fields
31791 + - sch_atm only accepted parent == root or absent (reported by John Loughney)
31792 + - sch_atm:atm_tc_put accessed flow structure after kfree'ing it
31793 + - sch_atm:atm_tc_change didn't put excess traffic class if class creation
31795 + - sch_atm:atm_tc_dump_class didn't return class ID in tcm->tcm_handle
31796 + - sch_atm:atm_tc_delete refused to delete classes because it expected
31797 + ref == 1, but ref == 2 (reported by John Loughney)
31800 +Version 0.53 to 0.54 (19-FEB-1999)
31801 +====================
31806 + - led.new: fixed build problem and warning (Heikki Vatiainen)
31807 + - fixed LANE arp cache timeouts (Heikki Vatiainen)
31808 + - ilmid -i option fell through into -l, causing logging to go into a file
31809 + named after the local address
31810 + - flipping the highest bit of ep_ref made it negative which was erroneously
31811 + interpreted to mean "absent" (reported by Giuliano Procida and Chas
31813 + - ilmid used the result of AsnOidCompare inconsistently, causing network
31814 + prefix registration to fail with some switches (based on a patch by Giuliano
31820 + - tc:q_atm: new option "clip" to select Classical IP processing of inbound
31822 + - new sch_atm class attribute TCA_ATM_STATE to retrieve VC state
31827 + - led.new: improved handling of LANE flush protocol (Heikki Vatiainen)
31828 + - copied USAGE from led/ to led.new/
31829 + - added description of ilmid options -i and -u to USAGE (Heikki Vatiainen)
31830 + - ilmid -u now also works without -DDYNAMIC_UNI (all values but the default
31832 + - tcpdump patch updated to tcpdump version 3.4 (Heikki Vatiainen)
31833 + - updated "tc" patch to iproute2 version 2.1.99-now-ss990203
31836 +Version 0.52 to 0.53 (9-FEB-1999)
31837 +====================
31842 + - atmsigd: selecting the UNI version via compile-time options didn't yield
31843 + the desired result in some cases (reported by Vinay Kulkarni and others)
31844 + - ATM VCCs now use struct sock, as required by protocol-independent layer
31845 + starting with recent 2.1 kernels (by Mitchell Blank)
31846 + - led fixes: htons/htonl bugs in LANEv2 code, one duplicate close() removed
31847 + (by Heikki Vatiainen)
31852 + - upgraded to the 2.2.1 kernel (by Mitchell Blank)
31853 + - LANE: added bridging support (by Heikki Vatiainen)
31854 + - complete rewrite of led (in led.new), which is now leaner and no longer
31855 + contains code (c) Digital (by Heikki Vatiainen)
31856 + - added macros for local AESA format and group addresses, and support in
31857 + atm2text (by Heikki Vatiainen)
31862 + - ENI: buffer sizes are now limited to MID_MAX_BUF_SIZE even if max_sdu >
31863 + MID_MAX_BUF_SIZE/3 (reported by Andrew Lunn)
31864 + - plenty of NICStAR changes (Rui Prior and Mitchell Blank)
31865 + - LANE interface to upper layer looks more like Ethernet, so adding bridge and
31866 + 802.1Q support is easier, and tcpdump does not need any extra patches (by
31867 + Heikki Vatiainen)
31870 +Version 0.51 to 0.52 (5-DEC-1998)
31871 +====================
31876 + - atmsigd crashed when receiving STATUS ENQUIRY for call in Null state
31877 + (reported by Heikki Vatiainen)
31878 + - outbound endpoint reference didin't have the 16th bit toggled (fixed by
31880 + - lec.c: fixed a bug in kernel which could cause kernel part to deadlock when
31881 + signalling was not started successfully (by Heikki Vatiainen)
31882 + - MPOA: bug fixes and other changes, see atm/mpoa/CHANGELOG (by Heikki
31888 + - LANE: both kernel & daemon: support for ELANs which have MTUs greater than
31889 + 1516 (by Eric H. Kinzie)
31890 + - MPOA: can now ask LECS for configuratino information (by Heikki Vatiainen)
31895 + - zeppelin.8: updated (Heikki Vatiainen)
31898 +Version 0.50 to 0.51 (6-NOV-1998)
31899 +====================
31904 + - atmsigd: typo prevented kernel.c from compiling with UNI30 disabled (fix by
31905 + Andrew Lunn and Uwe Dannowski)
31906 + - option -u crashed ilmid (reported by Michael Wolf)
31911 + - bearer capability is now set to "CBR" for CBR (suggested by Heikki
31915 +Version 0.49 to 0.50 (3-NOV-1998)
31916 +====================
31921 + - atmsigd didn't compile for -DUNI31 -DALLOW_UNI30 (fixed by Richard Gooch)
31922 + - atmsigd crashed on as_bind and also had problems with as_connect after
31923 + as_bind (reported by Heiko Krupp, Heikki Vatiainen, and many others)
31928 + - atmsigd now enables tracing by default (use -t 0 to turn it off)
31929 + - added "terminate" message to test/isp
31930 + - mpoad defaults to UBR if service category is absent (by Heikki Vatiainen)
31931 + - LANE now avoids blocking intact connections when other connections have
31932 + problems by queuing packets independently per destination while waiting for
31933 + a connection (by Heikki Vatiainen)
31936 +Version 0.48 to 0.49 (1-NOV-1998)
31937 +====================
31942 + - q_atm.c passed TCA_ATM_EXCESS even if zero, while the kernel expected it
31943 + to be absent in this case (changed q_atm.c)
31944 + - q_atm: tc class show didn't separate fields properly with blanks
31945 + - removed double inclusion of atm/config from mkdist
31950 + - upgraded to the 2.1.126 kernel
31955 + - "new" atmsigd is now the default (atm/sigd got renamed to atm/sigd.old,
31956 + atm/sigd.new to atm/sigd)
31957 + - updated extra/tc/README
31960 +Version 0.47 to 0.48 (30-OCT-1998)
31961 +====================
31966 + - ilmid didn't recognize the -u option
31967 + - ATM_GETCIRANGE copied wrong amount of data (fix by Heikki Vatiainen)
31968 + - sch_atm didn't compile without policing enabled (reported by Calin Poenaru)
31969 + - BHLI octets: qgen/msg.fmt allowed nine instead of eight bytes for ISO and
31970 + user specified, include/linux/atmsap.h:ATM_MAX_HLI was 7 instead of 8 (by
31971 + Damian Gilmurray and Paisit Thamsakorn)
31972 + - MPOA: bug fixes and other changes, see atm/mpoa/CHANGELOG (by Heikki
31978 + - ilmid: new option -i to set local IP address (suggested by Andrew May)
31979 + - ilmid now also supports the MIB variables atmfAtmLayerMaxVpiBits and
31980 + atmfAtmLayerMaxVciBits (based on a patch by Uwe Dannowski)
31985 + - ilmid: search for local IP address didn't consider LANE interfaces (lec*)
31986 + - consolidated most of the various calls to gethostbyname and friends into
31987 + text2ip (libatmd)
31988 + - corrected some glitches in net/sched/sch_atm.c (untested)
31989 + - removed debug/encopy, debug/endump, and debug/zndump from the distribution.
31990 + They were almost useless and caused problems with make depend
31991 + - SYMFILES in qgen/Makefile now determines location of atmsap.h at run time to
31992 + avoid problems when kernel headers are not in /usr/include/linux (reported
31993 + by Uwe Dannowski)
31996 +Version 0.46 to 0.47 (6-OCT-1998)
31997 +====================
32002 + - qgen didn't build for all UNI versions (fixed by Richard Gooch)
32007 + - ilmid: new option -u to set UNI version (3.0, 3.1, or 4.0). Only available
32008 + if compiled with -DDYNAMIC_UNI.
32013 + - ilmid: getIpAddr: improved robustness and added debugging output
32016 +Version 0.45 to 0.46 (5-OCT-1998)
32017 +====================
32022 + - ENI and ZATM driver used to read IRQ directly from PCI configuration,
32023 + bypassing any fixups (reported by Richard Gooch)
32024 + - atmsigd.new: removed "Known bug" memory leak (when tracing)
32025 + - led/lec_ctrl.c: signalling bug fixed, max_sdu now has correct value instead
32026 + of 1 (by Heikki Vatiainen, reported by Josh Baratz <jbaratz@lucentctc.com>
32027 + and Wolfgang Platzer <wplatzer@iaik.tu-graz.ac.at>)
32028 + - lots of MPOA bug fixes and other changes, see atm/mpoa/CHANGELOG (by Heikki
32030 + - atmsigd reported "Q.2931.1" when configured to support Q.2963.1
32035 + - atmsigd.new now supports run-time configuration of the signaling protocol
32036 + version (via atmsigd.conf)
32041 + - added 16W bursts to ENI burst size configuration (NB: 16W may actually be
32042 + *slower* than 8W)
32043 + - lec_ctrl.c: zeppelin now uses LE_REGISTER protocol when TLVs are associated
32044 + with client's MAC address (by Heikki Vatiainen)
32047 +Version 0.44 to 0.45 (1-OCT-1998)
32048 +====================
32053 + - ENI driver didn't do four-word bursts on RX for sizes < 8 words
32054 + - arequipad, atmarpd, bus, lecs, les, mpcd, sw_*, and zeppelin silently
32055 + ignored extra command-line arguments instead of complaining
32060 + - ENI: added configuration options to fine-tune burst sizes (in reponse to
32061 + incompatibility found by Dave Airlie)
32066 + - changed the way how ATM-specific data is stored in skbs. Tentatively updated
32067 + the the stack, including drivers. Use CONFIG_ATM_SKB to enable the new-style
32069 + - Rules.make no longer discards the previous value of LDLIBS
32070 + - sw_tcp now only establishes bi-directional VCs if both directions are really
32071 + requested in the QoS structure
32072 + - moved manual switch control from sw_tcp to the generic switch code; "tcpswc"
32073 + is now called "swc", the corresponding switch.conf clause is now
32074 + 'control <path>' instead of 'option control "<path>"'
32077 +Version 0.43 to 0.44 (24-SEP-1998)
32078 +====================
32083 + - CONNECT messages no longer contain the AAL type IE if EP ref is present and
32084 + non-zero (reported by Heikki Vatiainen)
32085 + - SSCOP: added mode for partial compatibility with Q.SAAL1 (to get rid of
32086 + warnings reported by Heikki Vatiainen and of interoperability problems with
32087 + Virata switches reported by Damian Gilmurray)
32088 + - ilmid now returns a valid response for atmfMyIpNmAddress (by Uwe Dannowski)
32089 + - configuration on-line help for CLIP didn't work because tag was different
32090 + from configuration variable
32091 + - atmsigd crashed when adding multiple local addresses on an interface
32092 + (reported by Heiko Krupp)
32093 + - atmaddr.8 said "ATMARP" in the header (reported by Hans Einsiedler)
32094 + - net/atm/misc.c didn't include linux/config.h and linux/module.h, causing
32095 + symbols to be missing when rebuilding the kernel after enabling modules
32096 + (reported by Thomas Parvais)
32101 + - new maintenance utility tcpswc to control sw_tcp "switches" (description at
32102 + the end of switch/tcp/README)
32103 + - added support for setting the CLP bit (untested; see doc/README.CLP)
32104 + - added support for policing to the ATM qdisc (untested; see extra/tc/README)
32105 + - ilmid: added support for atmfAtmLayerUniVersion (by Uwe Dannowski)
32110 + - updated the NICStAR driver to version 008b (by Rui Prior)
32111 + - new switch fabric function fab_option to pass configuration options
32112 + - atm2text now also supports unspecified and wildcard components in PVC
32114 + - added configuration option CONFIG_ATM_CLIP_NO_ICMP to discard packets for
32115 + which no ATMARP entry exists silently instead of sending an ICMP (this is an
32116 + ugly hack-around for the revalidation problem reported by Gerald Hanusch)
32117 + - various minor documentation updates
32118 + - atmarpd now sends InARP requests when active VC setup completes in order to
32119 + tell the peer our IP address(es)
32122 +Version 0.42 to 0.43 (21-AUG-1998)
32123 +====================
32128 + - trying to use atmtcp when compiled as a module with the module not loaded
32129 + crashed the kernel
32134 + - upgraded to the 2.1.117 kernel
32135 + - included NICStAR driver by Rui Prior at INESC (this driver also includes
32136 + parts of an earlier driver written by Matt Welsh, then enhanced by R. D.
32137 + Rechenmacher and Jawaid Bazyar)
32138 + - new atmsigd with support for multiple signaling entities (experimental)
32143 + - removed register dumping code from suni.c (leaked out into the distribution)
32146 +Version 0.41 to 0.42 (19-AUG-1998)
32147 +====================
32152 + - atm.patch was out of sync again :-(
32155 +Version 0.40 to 0.41 (19-AUG-1998)
32156 +====================
32161 + - 0.40 contained an older atm.patch than the one that was supposed to go with
32162 + it (some changes to sch_atm and MPOA were missing)
32163 + - kernel didn't build with LANE enabled and MPOA disabled (fix by Mitchell
32169 + - MPOA now also supports CBR SVCs (by Heikki Vatiainen and Sampo Saaristo)
32174 + - atmtcp may work as a module (untested)
32175 + - kernel code now uses capabilities instead of suser()
32176 + - removed obsolete recycle_buffer code
32177 + - distribution now also includes mkpatch, the script that's used to create
32181 +Version 0.39 to 0.40 (13-AUG-1998)
32182 +====================
32187 + - ilmid defined the value of "invalid" as 0 instead of 2 (fix by Timo
32189 + - bash-2 doesn't like for n in $(SUBDIR); ... if SUBDIR is undefined (fix
32190 + by Heikki Vatiainen)
32191 + - LANE still cleared ATM_VF_RELEASED instead of calling atm_async_release_vcc,
32192 + which apparently led to stray kernel crashes in signaling (found with a lot
32193 + of help from John McPherson)
32194 + - ATM qdisc now properly re-allocates skb memory to grow headers, if necessary
32195 + - atm/switch/Makefile didn't build SUBDIRS
32196 + - atmarpd sent garbage ATM addresses in InARP responses over PVCs (reported by
32197 + Stefan Keller-Tuberg)
32202 + - MPOA (Multi-Protocol Over ATM) client support written by Heikki Vatiainen
32203 + and Sampo Saaristo
32204 + - LANE client (zeppelin) now also supports LANE2 (by Heikki Vatiainen)
32209 + - accept() now also returns on ATM_VF_CLOSE
32210 + - ATM qdisc now uses the same data format on rtnetlink as other qdiscs; new
32211 + option for user-provided headers
32212 + - atm/switch can now use "external" routing (e.g. provided by the fab control)
32215 +Version 0.38 to 0.39 (4-AUG-1998)
32216 +====================
32221 + - added missing #include <atm.h> in tcpsw.c (fixed by Heikki Vatiainen)
32222 + - atmsigd allowed both sides to initiate PCR modification; Q.2963.1 only
32223 + allows the connection owner (i.e. the caller) to do this
32224 + - atmarpd no longer tries to use incoming SVCs with zero backward bandwidth
32226 + - ENI and ZATM drivers didn't invoke vcc->pop on dev->ops->send failure
32227 + - make install didn't probe correctly for presence of /usr/include/stdint.h
32228 + (needed on GLIBC 1 systems)
32229 + - net/atm/resources.c didn't export bind_vcc to modules (fix by Oliver
32231 + - net/arpd/atmarp didn't build without make depend (reported by Stefano
32233 + - clip_mkip zeroed vcc->rx_inuse and didn't take into account that clip_push
32234 + calls atm_return, which subtracts from vcc->rx_inuse too
32235 + - fixed typos in qgen/uni.h (and msg.fmt) for causes 38, 41, and 43
32236 + - atmsigd wrote exit trace to stderr when it had a dump directory and vice
32238 + - documentation still claimed that atmtcp yields messages at boot time
32243 + - added flow to ATM VCC mapping queuing discipline (experimental)
32244 + - module for setting up ATM PVC/SVC mappings with "tc" in extra/tc (see
32246 + - atmarpd: new request type art_query to request resolution without VC setup
32247 + - atmarp: new undocumented option -Q to test art_query
32248 + - added ATMTCP interfaces that survive disconnects (persistent; new atmtcp(8)
32249 + options -p and -r; new ioctls ATMTCP_CREATE and ATMTCP_REMOVE)
32254 + - zeppelin didn't explicitly set the AAL type for outbound connections (by
32255 + Heikki Vatiainen)
32256 + - CLIP also allows SVCs to have no idle timeout at all (timeout = 0)
32257 + - moved SUNI private ioctls (SUNI_GETLOOP and SUNI_SETLOOP) from
32258 + drivers/atm/suni.h to include/linux/atm_suni.h
32259 + - atmarpd now shows QoS information for VCs where it differs from the default
32260 + or where no default is applicable
32261 + - removed the file atm/WARNING, which gave an overly pessimistic perspective
32262 + of the state of things
32263 + - switch: fab_op now returns the cause value plus (optionally) a pointer to
32264 + diagnostics in the callback instead of a simple okay/not okay indication
32265 + - updated and corrected the atmtcp man page
32266 + - further cleanup of the build procedure
32267 + - README now mainly refers to http://lrcwww.epfl.ch/linux-atm/info.html
32268 + - updated and trimmed BUGS
32269 + - added a note to CREDITS indicating its obsolescence
32272 +Version 0.37 to 0.38 (25-JUN-1998)
32273 +====================
32278 + - fixed the remaining few #include <linux/atm.h>
32279 + - invoking fcntl() or socketpair() on an ATM socket caused an "Oops" (reported
32280 + by Jonathan Chan)
32281 + - CLIP PVCs caused an "Oops" when cat'ing /proc/atm/pvc (reported by Marko
32282 + Kiiskila and Robert Olsson)
32283 + - atm/qgen/default.nl wasn't removed after build failure
32284 + - debugging switch (sw_debug) did not stop operations after the first error
32285 + - svc_accept returned apparent success instead of -EAGAIN, usually leading to
32286 + a later -ENOTCONN
32287 + - ttcp.c didn't initialize port_name, leading to erratic behaviour when making
32288 + slight changes to the build process
32289 + - atm_pdu2truesize diverged from alloc_skb, leading to sudden failure of VCs
32290 + or of ATMARP (reported by Robert Olsson)
32291 + - corrected use of '~' when applied to unsigned longs representing memory
32292 + addresses in aread, ENI, and ZATM (reported by Wai-Sun Chia)
32293 + - atmtcp and LANE didn't use bind_vcc when setting up control VCs
32294 + - atmtcp got ENOMEM/EBUSY wrong when failing to create an interface
32295 + - sig level <level> in atmsigd.conf didn't affect UNI diagnostics
32300 + - upgraded to the 2.1.105 kernel
32301 + - added ATMTCP "switch" in atm/switch/tcp
32302 + - atmtcp: new mode -s to connect to an ATMTCP "switch"
32303 + - atmtcp: new option -d for debugging output
32304 + - added -b option (the usual "background") to switch/relay.c
32309 + - changed "PDU" to "SDU" in the atmtcp(8) man page
32310 + - atmarpd now includes the interface netmask in ATMARP table dumps
32311 + - added ATM devices also to the Alpha architecture, because at least ATMTCP
32312 + works (by Wai-Sun Chia)
32313 + - added the removal of -Wmissing-prototypes to the 0.37 changes
32314 + - removed -Wcast-align from Rules.make because of a conflict with
32315 + /usr/include/socketbits.h of glibc 2 on Alphas (reported by Wai-Sun Chia)
32316 + - atmsigd.conf.4: documented that debug log stderr works too
32317 + - sap_equal now also allows wildcard matches for BHLI (with SXE_COMPATIBLE)
32318 + - atmsigd now uses -m <mode> instead of -N and -A
32319 + - atmsigd.conf now uses sig mode <mode> instead of sig net
32322 +Version 0.36 to 0.37 (6-JUN-1998)
32323 +====================
32328 + - lib/atm.h defined AF_ATMPVC to 20, but the correct value is 8. Likewise,
32329 + AF_ATMSVC should be 20, not 21. (Reported by Luke Diamand)
32330 + - fixed bad ASN encoding in ilmid (by Vesa-Matti Puro)
32331 + - make install and make instdirs didn't stop on error
32336 + - upgraded to the 2.1.104 kernel
32337 + - included a script to demonstrate the debug switch (see switch/debug/README)
32342 + - moved definitions not used by the kernel from linux/atmarp.h to atmarp.h
32343 + - removed linux/atm_stdint.h (linux/types.h has now caught up)
32344 + - changed ENI and ZATM driver to use new PCI interface
32345 + - net/atm/clip.c no longer uses ether_setup (suggested by Alexey Kuznetsov)
32346 + - more header file cleanup (main change: applications should now
32347 + #include <atm.h> instead of #include <linux/atm.h>)
32348 + - removed -Wmissing-prototypes from Rules.make because of a conflict with
32349 + include/linux/byteorder/swab.h
32352 +Version 0.35 to 0.36 (23-APR-1998)
32353 +====================
32358 + - changed the numeric values of PF/AF_ATMPVC/SVC and SOL_ATM/AAL to avoid
32359 + conflicts with other allocations. This breaks binary compatibility with
32360 + ATM programs compiled under older kernels
32361 + - RESTART ACK was sent with the wrong class when acknowledging the restart of
32362 + the indicated virtual channel (fix by Mohsen Souissi)
32363 + - RELEASE was retransmitted forever (to avoid having to perform a RESTART),
32364 + although it's sufficient to retransmit once and then drop the connection
32365 + - esi.c checked the kernel version code without including linux/version.h
32366 + - CLIP changes magically fixed hangs on SICGIFCONF (reported by Wayne Salamon)
32367 + - atmsigd usually didn't set pvc.sap_family in ISP messages
32372 + - added build-time option -DTHOMFLEX to send RESTART when SAAL comes up, which
32373 + works around a bug in some Thomson Thomflex 5000 switches (by Mohsen
32375 + - atmtcp: new option "-i itf" to request a specific interface number
32376 + - the "debug switch" (switch/debug/sw_debug) is now capable of successfully
32377 + signaling a UNI 3.x call (see switch/debug/README for details)
32382 + - atm_equal can now also compare PVC addresses. The argument type has
32383 + therefore been changed from struct sockaddr_atmsvc * to struct sockaddr *
32384 + - moved driver-private data from skb->atm.* into skb->cb
32385 + - complete redesign of communication between atmarp(8) and atmarpd(8) (now
32386 + uses a UNIX domain socket; suggested by Alexey Kuznetsov)
32387 + - atmarp -a now also produces correct output if atmarpd is running with -d
32388 + - removed clip(8)
32389 + - moved atmarp(8) from atm/ip into atm/arpd, removed atm/ip
32390 + - /proc/atm/svc shows listening sockets again
32391 + - cleaned up a few cases where diag(...,DIAG_FATAL,...) was followed by an
32392 + "else" or a "return".
32393 + - atmsigd now uses Unix domain sockets (instead of named pipes) to communicate
32394 + with non-kernel ISP users (updated test/isp too)
32395 + - net/atm/resources.c:atm_dev_register can now be asked to assign a specific
32396 + interface number (-1 yields the old behaviour)
32399 +Version 0.34 to 0.35 (27-MAR-1998)
32400 +====================
32405 + - ilmid compared memcmp results with -1,1, which fails under optimization
32406 + (fixed by Damian Gilmurray)
32407 + - various fixes and cleanup in how CLIP interacts with the neighbour cache
32408 + (spotted by Alexey Kuznetsov)
32409 + - Rules.make complained about missing "optprocess" command on some occasions
32414 + - upgraded to the 2.1.90 kernel
32415 + - added some components for ATM switch control (not properly integrated yet,
32416 + so they don't do anything useful at the moment; written by Roman Pletka)
32421 + - eliminated various compiler warnings when compiling with glibc2
32422 + - removed clip_hard_header (suggested by Alexey Kuznetsov)
32425 +Version 0.33 to 0.34 (13-MAR-1998)
32426 +====================
32431 + - eni.c didn't include config.h (fix by Pete Wyckoff)
32432 + - (yet another) VCC list handling bug (fixed by Heikki Vatiainen)
32433 + - kernel also applied idle timeout to CLIP PVCs
32434 + - make clean didn't remove test/errnos.inc
32435 + - atmsigd errored as_connect and as_accept with as_close instead of as_error
32436 + - eni: bandwidth was sometimes reserved for UBR VCs
32437 + - eni: checking of bandwidth changes was broken
32438 + - eni: error handling after failed bw change checks destroyed the free list
32439 + - test/errnos.inc sometimes wasn't generated because of mtime granularity (fix
32440 + by Brian Armstrong and Corinne Rosier)
32441 + - fixed use of return code of get/put_user and copy_from/to_user
32442 + - kernel: fixed a few minor race conditions
32443 + - ATM_GETADDR left address list locked on fault
32444 + - maximum length of high layer information was 7 bytes instead of 8 for ISO
32445 + and User Specific high layer information (reported by Damian Gilmurray)
32446 + - some tools didn't include errno.h although they use errno or Exxx
32447 + - atmsigd usually accessed deallocated memory when writing traces, which
32448 + sometimes led to crashes (reported by Heikki Vatiainen)
32449 + - indentation of the first two lines of UNI signaling messages in traces was
32451 + - LANE: duplicate data direct connections to entities where we already
32452 + have a connection are now forbidden. LES and BUS can now co-reside.
32453 + (Reported by Jean-Francois Moine, fixed by Heikki Vatiainen)
32454 + - LANE: plugged a file descriptor leak (by Heikki Vatiainen)
32455 + - atmsigd.conf.4 incorrectly stated that diagnostics must have a higher
32456 + priority than the specified level to get printed (they're also printed if
32457 + their priority is equal to that level)
32458 + - zatm driver didn't virt_to_bus the back pointer of TX rings, leading to
32459 + crash after sending the 32nd PDU of a VCC (reported by Ajay Bakre)
32460 + - zatm_feedback sometimes returned with interrupts disabled
32461 + - ENI driver didn't treat requests for UBR at link speed as "unlimited" and
32462 + allocated one shaper for each such VCC
32463 + - atm_async_release_vcc now has its own flag ATM_VF_CLOSE. Overloading
32464 + ATM_VF_RELEASED caused hung SVCs under some conditions.
32465 + - atmsigd sometimes released listening sockets before kernel completed its
32466 + cleanup, yielding warnings and zombies
32467 + - atmsigd accessed already deallocated data structures when handling
32468 + unparseable signaling messages
32474 + - upgraded to the 2.1.79 kernel
32475 + - CLIP now handles NETDEV_CHANGE (proposed by Pete Wyckoff; untested)
32476 + - various minor signaling changes for operation as switch control
32477 + - new device operation proc_read: device drivers can now register in /proc
32478 + (e.g. /proc/atm/eni:0)
32479 + - added some more BHLI definitions to include/atmsap.h, including draft
32480 + mapping of well-known TCP/UDP port numbers
32481 + - added support for TIOCOUTQ/TIOCINQ on native ATM
32482 + - new library function sap_equal
32483 + - added convenience function atmpvc_addr_in_use to linux/atm.h
32484 + - major overhaul of "isp", which is now a good tool for signaling regression
32485 + tests. See atm/test/README.isp
32486 + - LANE can now be compiled as a kernel module (by Heikki Vatiainen)
32487 + - new tool debug/svctor.c to torture signaling by setting up and releasing
32488 + lots of SVCs (see the source for details)
32493 + - cleaned up the copying terms: libraries are now covered by LGPL instead of
32494 + GPL and qgen doesn't "taint" the code it generates
32495 + - atmarpd: IP addresses are now __u32 instead of unsigned long
32496 + - atmarpd: changed printf("... %08x ...",(unsigned long) ptr) to %p ...",ptr
32497 + - /proc support now allocates inode numbers dynamically
32498 + - added comment to clarify motivation for useless buffer alignment in aread.c
32499 + (reported by Jeon Jong Hwan)
32500 + - suni.c and uPD98402.c: SONET_GETSTATZ no longer clears the statistics if the
32502 + - ilmid should now work on any interface (patch by Heikki Vatiainen)
32503 + - changed all __uNN of tools to uintNN_t for glibc2-compatibility
32504 + - added stdint.h to lib for compatibility with future versions of glibc2
32505 + - various other evil hacks in tools to make things compile with glibc2
32506 + - the NIC debugging programs ed, encopy, endump, zndump, and znth are no
32507 + longer built and installed by default
32508 + - for compatibility with POSIX 1003.1g, accept now returns ECONNABORTED
32509 + instead of ECONNREFUSED if connection is already gone (proposed by Heikki
32511 + - listening sockets now return instantly if the signaling demon dies
32512 + - various minor LANE updates to track API changes (by Heikki Vatiainen)
32513 + - SUNI now also warns if signal is missing at initialization time
32514 + - zatm: added work-around for unfair buffer space accounting
32515 + - clarified some of atmarpd's diagnostics
32516 + - documentation updates
32519 +Version 0.32 to 0.33 (19-NOV-1997)
32520 +====================
32525 + - SSCOP did poll sequence number comparisons in the (data) sequence number
32526 + space, typically leading to periodic SSCOP restarts (reported by Heikki
32528 + - atmsigd now releases calls on receipt of STATUS with call state 0 (reported
32529 + by Heikki Vatiainen)
32530 + - qgen tried to print the names of unnamed groups (fix by Simon Leinen)
32531 + - make clean in qgen left all the .c and .h files produced by qgen
32532 + - minor fixes to signaling message format description (qgen/msg.fmt,
32533 + previously qgen/uni*)
32534 + - /usr/include/atm.h was calling itself "atmlib" (found by Leena Chandran)
32535 + - atmsigd: the address format of the calling party number was used to
32536 + determine the format of the called party number in a SETUP message
32537 + - added some semicolons to Rules.make for bash 2.0 compatibility (by Tan Chang
32538 + Hu and Rolf Kunisch)
32539 + - select/poll indicated an exception when a non-blocking connect terminated.
32540 + Now it indicates writability, and an error only if the connect failed.
32541 + - LES/BUS can now co-exist at the same address (by Heikki Vatiainen)
32542 + - fixed race condition between asynchronous release (e.g. on ATMARP idle timer
32543 + expiration) and signaling demon response
32544 + - fixed a typo "[itf]." instead of "[itf.]" in atmsigd.conf.8
32545 + - "ATM drivers" kernel configuration section is no longer a top-level menu
32546 + item but it's now under "Network devices"
32547 + - sigd_close forgot to purge VCs not connected to devices (e.g. closing ones),
32549 + - the list of unconnected VCs was sometimes garbled
32550 + - atmsigd printed null string for as_itf_notify message name when debugging
32551 + - Arequipa: check_aq_vcc also accepted VCs that were already released by
32553 + - ATM_VF_PARTIAL and ATM_VF_BOUND had the same value
32554 + - atmaddr still used old calling convention of ATM_GETNAMES
32555 + - the atmarpd man page referred to atmarpd as "atmsigd"
32556 + - various atmtcp bug fixes
32557 + - atm_recvmsg sometimes returned with interrupts disabled (reported by Pete
32559 + - fixed ttcp_atm dependencies (.depend contains dependencies for "ttcp.o")
32560 + - UNI message format: "more" was missing for def_pck_size
32561 + - eni/suni didn't compile as modules (fixed by Pete Wyckoff and Ladislav
32563 + - further net/atm/Makefile cleanup
32564 + - arequipa_close always left the socket with arequipa_expect enabled. Now it
32565 + returns it to the previous state.
32566 + - ENI driver was leaking buffer memory on failure of set_tx
32567 + - atmarpd didn't print symbolic names of "new" flags (ATF_ARPSRV, etc.)
32568 + - ATM ARP server didn't make client entries public (reported by Tom Mahieu)
32569 + - drivers/atm/Config.in had extra "endmenu" (fixed by Ladislav Lhotka)
32570 + - atmarpd got confused when receiving InARP reply without source ATM address
32571 + - atmsigd sometimes didn't stop timers if Q.2963.1 wasn't enabled
32572 + - when rejecting a call, the kernel freed the VCC twice
32577 + - merged source tree (except Arequipa, single-copy, and various NIC drivers)
32578 + with 2.1.65-Linus tree
32579 + - qgen can now handle repeated information elements
32580 + - added ATM_SETESI[F] ioctl and esi utility (boards without a real ESI in ROM
32581 + should now set the default ESI to 0x000000000000)
32582 + - new socket option SO_ATMSAP along with struct atm_sap (using a fixed-size
32583 + BLLI array instead of the linked list in struct sockaddr_atmsvc)
32584 + - added Q.2963.1 PCR modification in signaling and the ENI driver
32585 + - aread: new option -c to print received data as characters (similar to od -c)
32586 + - new tool test/align to test handling of mis-alignment in NIC drivers
32587 + - atmsigd now supports policy restrictions for incoming/outgoing calls (see
32588 + atmsigd.conf.4, "policy")
32589 + - atmsigd can now also use a pair of named pipes (or, actually, any named
32590 + object in the file system) for communicating with the user of signaling
32591 + (normally the kernel)
32592 + - new tool called "isp" (for "Internal Signaling Protocol") to talk ISP with
32593 + atmsigd over named pipes
32594 + - new functions sap2text and text2sap to converts SAPs to/from textual
32595 + representation, and a sap(7) man page
32596 + - new traffic parameter field "pcr" to indicate the desired PCR. min_pcr and
32597 + max_pcr can the be used to indicate the acceptable range.
32598 + - new function atm_pcr_goal to help drivers to interpret traffic parameters
32603 + - removed some more obsolete CLIP-related ioctls
32604 + - qgen: simplified generation of engines with a prefix other than "q" or "qd"
32605 + - ENI and ZATM drivers now use shareable interrupts
32606 + - cleaned up some 32bit-isms in ENI driver
32607 + - cleaned up several 32bit-isms in SSCOP (reported by Tan Chang Hu)
32608 + - SSCOP: work-arounds for buggy ntohl prototype in some early versions of
32609 + glibc (reported by Tan Chang Hu, further explored by David S. Miller and
32610 + Richard Henderson)
32611 + - started updating the ZATM driver for 2.1 (still crashes under load)
32612 + - added missing 2.1 pieces in ENI's SUNI driver
32613 + - added __initfunc and __initdata where appropriate
32614 + - tools tree now compiles under 0.31 (2.0.25 kernel) and 0.33 (2.1.55 kernel)
32615 + - gratuitous improvement of identifier tree allocation in qgen
32616 + - the interface number is now optional for sonetdiag (like for atmdiag)
32617 + - started implementing the kernel side of point-to-multipoint signaling
32619 + - /proc/atm/arp now displays "resolving" or "expired" (with the number of
32620 + times the entry is referenced) instead of "incomplete".
32621 + - moved ATM_MAX_BLLI from linux/atm.h to linux/atmsap.h
32622 + - changed ttcp_atm to use SO_ATMSAP (if available) to set BHLI
32623 + Note: ttcp_atm previously didn't use a BHLI, so old and new versions of
32624 + ttcp_atm don't interoperate.
32625 + - updated all other programs using SAPs too, except for LANE
32626 + - ENI: failure to allocate a traffic shaper now yields EBUSY instead of EAGAIN
32627 + - instead of just complaining, the ENI driver now handles all kinds of
32628 + mis-alignment in the TX path properly
32629 + - re-implemented send and receive side of Arequipa
32630 + - merged qgen/uni3x and qgen/uni40 into msg.fmt
32631 + - added missing Q.2931/UNI 4.0 items to qgen/q2931.h and msg.fmt
32632 + - also added BLLI L3 H.310 codepoint with related encodings
32633 + - various file name and identifier changes to give a more appropriate name
32634 + (e.g. "uni" or "call") to something that's never been Q.2931
32635 + - added library dependencies
32636 + - atmsigd produces more readable and usually more comprehensive debugging
32638 + - atmsigd.conf.4 now mentions that -d is the debugging output addict's choice
32639 + - all programs accepting -l syslog now also accept -l stderr. (This is useful
32640 + for atmsigd if atmsigd.conf sets logging to something else.)
32641 + - atmsigd now issues ATM_GETADDR ioctls on the signaling socket, not on the
32643 + - WARNING: text2qos: "pcr" is no longer a synonym for "max_pcr" !
32644 + - text2qos now refuses min_pcr=max
32645 + - device driver interface: removed vcc->peek; device drivers now choose their
32646 + own allocation strategy (change motivated by bug report from Furquan Ansari)
32647 + - drive driver interface: new helper functions atm_charge/atm_return to handle
32648 + buffer space allocation
32649 + - device driver interface: vcc->push no longer allocates buffer space. This is
32650 + now done by the driver, via atm_charge
32651 + - updated eni, zatm, and atmtcp to use the new mechanism
32652 + - zero padding in eni driver failed due to mis-alignment on some systems
32653 + (fixed by Pete Wyckoff)
32654 + - various compiler warnings removed (by Pete Wyckoff)
32655 + - removed support for pre-AREQUIPA_WORK mechanism
32656 + - arequipa close mechanism cleanup
32657 + - further cleaned up QOS parameter checking
32658 + - new ISP message as_identify for parallel call processing (not supported yet)
32659 + - zatm: renamed struct zatm_thist to struct zatm_t_hist after wondering
32660 + myself what on earth "this t" could be ...
32661 + - doc/Makefile now invokes dvips with -o
32664 +Version 0.31 to 0.32 (10-JUL-1997)
32665 +====================
32670 + - manipulation of local ATM addresses didn't check for permission
32675 + - ilmid now supports the system group and a couple of ILMI MIB objects (by
32677 + - device and VCC allocation is now dynamic
32678 + - E.164 addressing support and corrections to address coding in uni3x/uni40
32679 + (by S. A. Wright, T. C. Jepsen, and Z. Zhang)
32680 + - support for device de-allocation via per-device operation dev_close
32685 + - upgrade to kernel version 2.1.37
32686 + - ENI driver cleanup (uses readl/writel, skb_put, etc.)
32687 + - socket option handling has changed: optval is now void * (to improve
32688 + compile-time type checking) and optlen is int (not int *) in getsockopt
32689 + - socket option "names" now encode the level and the size (based on an idea of
32691 + - cleaned up some of the #includes in net/atm/proc.c
32692 + - total rewrite of ATMTCP (now the data forwarding is done in user space,
32693 + which makes things slower but a lot more flexible)
32694 + - separated PDU parsing and printing from SSCOP state machine
32695 + - new per-device operation dev_close to shut down devices
32696 + - changed a few DIAG_WARNs to DIAG_INFO in ilmid
32701 + - polled ATM devices are no longer supported
32702 + - CLIP is gone (use ATMARP instead)
32703 + - Arequipa and LANE don't work yet (will come back later)
32706 +Version 0.30 to 0.31 (22-APR-1997)
32707 +====================
32712 + - atmarpd even refused IP address changes by the ATMARP server, which
32713 + typically led to the creation of one extra SVC
32714 + - ATMARP timeouts were computed at the wrong place (found by Gerald Hanusch)
32715 + - aqtest's usage didn't mention the -v option
32716 + - some tools used 0x%p instead of %p (which is fine in the kernel, by the way)
32717 + - skb_migrate didn't update skb->list
32718 + - zeppelin: incurred spurious core dumps on unsuccessful attempts to connect
32719 + to LANE servers, ESI parsing from command line seg faulted, obtaining ESI
32720 + from NIC left an ATM socket hanging, man page didn't describe all options
32721 + (by Marko Kiiskila and Heikki Vatiainen)
32726 + - arequipa_close now only returns after the Arequipa connection has been
32727 + successfully closed. This allows applications to reliably close and
32728 + re-create Arequipa SVCs, e.g. to change the traffic parameters.
32729 + - the arequipad operations 3rd party close and synchronization are now handled
32730 + inside the kernel and survive arequipad restarts
32733 +Version 0.29 to 0.30 (10-APR-1997)
32734 +====================
32739 + - atmtcp didn't use vcc->push and therefore got the buffer usage accounting
32740 + wrong (fix by Gerald Hanusch)
32741 + - when closing a VC, the ENI driver didn't wait until all TX data has really
32742 + left the board, which created a close/open race (found by Richard Jones)
32743 + - SSCOP sometimes omitted the last element in a STAT PDU (fix - even with
32744 + optimization vs. Q.2110 - by Ngo Bach Long)
32745 + - atmarpd allowed ARP information to change permanent entries (found by Gerald
32747 + - atmsigd's get_pvc used the maximum SDU size, thereby wasting buffer space
32748 + very quickly, which led to signaling problems (reported by Richard Jones and
32750 + - oops, the BUGS file was always one version number ahead
32751 + - ATMARP had a race between packets sent by the remote station and the
32752 + ATMARP_MKIP ioctl. This caused the dreaded "unknown hw protocol 0xaaaa"
32753 + error. (Finally fixed thanks to a dump provided by Patrick Flynn)
32754 + - Arequipa had the same race for AREQUIPA_INCOMING. This probably caused the
32755 + occasional "loss" (they were actually kept in vcc->recvq until the
32756 + connection was closed) of the first packet(s).
32759 +Version 0.28 to 0.29 (4-APR-1997)
32760 +====================
32765 + - saal/sscop.c: NORMALIZE macro was weird and broken (fix by Ngo Bach Long)
32766 + - InARP queries didn't contain the target ATM address, even if it is known,
32767 + which stretches the allowances RFC1577 makes for violating RFC1293 (found
32768 + by Juha Heinanen)
32769 + - tcp_conn_request: Arequipa modification to MTU size calculation used wrong
32770 + socket (fix by Gerald Hanusch)
32771 + - kernel ATMARP table handling had some obscure races
32772 + - temporary work-around: added A2T_LOCAL when using A2T_NAME in atmsigd and
32773 + atmarpd. Before, systems using ANS where the name server is reached via (IP
32774 + over) ATM exhibited truly bizarre failure patterns when refreshing ATMARP
32775 + entries. (With a lot of help from Juha Heinanen)
32776 + - ditto for arequipad, although the effects were less dramatic
32777 + - atmarpd: if not using -m, incoming connections for which a valid entry
32778 + already existed (e.g. due to manual configuration) were not entered in the
32779 + kernel ATMARP table until after the entry timed out for the first time (by
32781 + - skb data areas are now aligned using skb_reserve instead of directly
32782 + tampering with skb->data (and forgetting skb->tail in the process ...)
32783 + (found by Uwe Dannowski)
32788 + - atmarpd is now automatically notified of IP over ATM interfaces already
32789 + existing at startup. This greatly simplifies the atmarpd restart ritual.
32790 + (All ATMARP table entries and the default QoS are still lost, though.)
32795 + - cleaned up some weird and partially dead code in arpd/arp.c (found by
32797 + - removed superfluous continue in arp.c:atmarp_setentry
32798 + - device-driver specific declarations now reside in
32799 + /usr/include/linux/atm_<drv_name>.h, so that disgusting hacks like
32800 + #include "/usr/src/linux/..." can be avoided (based on proposal by Uwe
32802 + - updated the list of supported NICs in README and the on-line help
32803 + - arpd/atmarpd.8: documented that atmarpd -m may violate RFC1577 in subtle
32804 + ways (pointed out by Gerald Hanusch)
32805 + - updated MPR usage description to version 1.5 and removed mpr.patch
32806 + - removed MEM_DEBUG from the build process (MPR 1.5 initializes itself
32810 +Version 0.27 to 0.28 (27-MAR-1997)
32811 +====================
32816 + - atmarpd restarted timers on as_valid -> as_valid transitions, illegally
32817 + delayed necessary refreshes (reported by Juha Heinanen)
32818 + - SSCOP cleared POLL timer on IDLE timer expiry (fix by Ngo Bach Long)
32819 + - atmsigd didn't initialize "now" soon enough, causing an unnecessary
32820 + retransmission of the first BGN PDU (by Ngo Bach Long)
32821 + - atmsigd responded to RELEASE COMPLETE in ss_rel_ind with a STATUS instead of
32822 + entering ss_wait_close (by Steve Pope)
32827 + - new tool aqpvc to declare incoming Arequipa traffic on a PVC to the system
32828 + (caveat: removing such a PVC can turn out to be surprisingly difficult)
32833 + - removed some useless code in atmarpd's handling of VC disconnects
32834 + - removed unused signaling state ss_hold (equivalent to ss_wait_rel)
32837 +Version 0.26 to 0.27 (11-MAR-1997)
32838 +====================
32843 + - oops, forgot to include atm/lib/rtf2e164_cc.pl in the distribution
32844 + - atmsigd's VCI allocation in -N mode was too simplistic and failed after some
32845 + signaling activity (reported by Richard Jones)
32846 + - atm_connect was rejecting ATM_{VPI,VCI}_ANY
32847 + - aq_prev in the list of Arequipa connections wasn't set properly, leading to
32848 + random crashes when using Arequipa (found and fixed by Richard Jones, after
32849 + weeks of tearing his hair out)
32850 + - arequipa_close didn't remove the Arequipa route, which kept the upper layer
32851 + protocol connection alive for a rather long time (reported by Richard Jones)
32856 + - ilmid enhancements: vastly improved retry mechanism, workaround for a bug in
32857 + the ATML Virata switch, -v option for very detailed debug output (Scott
32859 + - atmsigd now also accepts the signaling VC as a command line argument
32860 + - qos2text appended colon to traffic type even if nothing else followed
32861 + - new program debug/aqtest to test Arequipa (based on work by Mehdi Tazi)
32866 + - added a few missing NULLs to struct atmdev_ops initialization in various
32867 + drivers (this change does not alter any semantics)
32868 + - changed printk ...%lx... (unsigned long) ptr to ...%p... ptr at many
32870 + - removed atm/lib/rtf2cc.pl and atm/lib/cc.inc (they were only used by an
32871 + interim version of cc_len)
32872 + - atmarp's usage no longer contains lines longer than 80 characters
32873 + - added get_logfile() and get_verbosity() to libatm (for ilmid, by Scott
32875 + - select() consumed CPU time unnecessarily if testing for one direction while
32876 + there's a lot of activity in the other direction (e.g. atmarpd wasted cycles
32877 + in select() for each outbound packet while waiting for ARP messages)
32878 + - the value of ATM_AAL0 has changed (from zero to 13), so all programs using
32879 + AAL0 need to be recompiled
32880 + - MAX_ATM_QOS_LEN has changed, so most programs using qos2text need to be
32882 + - the AAL can now also be set along with the QoS parameters. This approach
32883 + should be used instead of specifying it in the socket() call.
32884 + - if no AAL is specified, the kernel now defaults to AAL5 (was AAL0)
32885 + - updated most demons, tools, and library functions to set the AAL along with
32886 + the QoS parameters
32889 +Version 0.25 to 0.26 (29-JAN-1997)
32890 +====================
32895 + - ATMARP VCCs could stay around forever even after timing out, because the
32896 + process was not woken up.
32897 + - the ATMARP "fix" in 0.25 introduced an infinite loop. Fixed that one too.
32898 + - bit 8 in octets 6 and 7 of BLLI ("ext") were set to 1 instead of 0 when
32899 + using ATM_L2_USER/ATM_L3_USER (reported by ukl2@rz.uni-karlsruhe.de)
32900 + - qlib added silly offset (which fortunately happened to be zero most of the
32901 + time) to dumps of large fields (fixed by Jean-Francois Moine)
32902 + - IP over ATM restricted MTU changes to valid Ethernet MTU sizes
32903 + - LANE: fixed two bugs that crashed zeppelin when the connection to the
32904 + servers failed (by Marko Kiiskila)
32909 + - lib/ans.c now properly computes the length of the country prefix of E.164
32910 + addresses for reverse lookups (needs file /etc/e164_cc, see USAGE)
32911 + - if the new -m option is set, atmarpd now merges incoming calls into the
32912 + ATMARP table if the ATM address is known (see atmarpd.8 for details)
32913 + - included an RPM spec file (this is still very experimental)
32914 + - NICStAR driver now also works with IP over ATM (by Stuart Daniel)
32915 + - usage.txt: added description of how to run ATM NICs back-to-back (by Richard
32921 + - signaling traces now also include SAAL up/down transitions
32922 + - qgen no longer (unnecessarily) depends on libatm.a
32923 + - started work on letting qgen handle items that appear at more than one
32924 + place, e.g. repeated IEs (after an idea by Jean-Francois Moine)
32925 + - did some cleanup and added comments to qlib.[ch]
32926 + - added -m option to atmarp in config/redhat-4.0/atm.init
32927 + - added new make target "filenames" to generate a list of all the files which
32929 + - config/redhat-4.0 now contains an example hosts.atm file and also a Makefile
32930 + for more convenient installation
32931 + - atmsigd now reads atmsigd.conf before parsing the command-line options,
32932 + thereby allowing values set in the file to be superseeded
32933 + - atmsigd now also logs the internal reference and the caller's address on
32934 + calls establishment
32935 + - ilmid: very dirty hack to give switches some time to process ILMI cold start
32936 + (by Joseph Evans)
32939 +Version 0.24 to 0.25 (20-DEC-1996)
32940 +====================
32945 + - net/atm/atmarp.c:idle_timer_check only expired every other entry (reported
32946 + by Marko Kiiskila)
32951 + - LANE now also supports IPX (SNAP and 802.3; by Marko Kiiskila)
32952 + - NICStAR driver now supports VPI != 0 and has configurable settings in
32953 + nicstar.h (by Stuart Daniel)
32958 + - ENI: TX DMA scratch are is now stored per device. This should allow multiple
32962 +Version 0.23 to 0.24 (29-NOV-1996)
32963 +====================
32968 + - atm/test/window.c was missing in 0.23
32969 + - atm/debug/delay didn't build unless atm/lib headers were already installed
32971 + - atm/debug/znth had undefined return value
32972 + - SSCOP: fixed typo (that could probably kill the SSCOP connection in case of
32973 + a retransmission); fix by Olivier Bonaventure
32974 + - corrected unnecessarily large buffer allocation in zatm.c:pool_index (by
32975 + Jonathan Larmour)
32976 + - hosts2ans.pl generated reverse addresses for the domain "ATM.INT" instead of
32978 + - atmarpd "forgot" any pre-set QOS when receiving new ARP information for the
32979 + respective entry (reported by Gerald Hanusch)
32980 + - window scale didn't scale the window sent in the SYNACK packet (reported by
32981 + Juan-Antonio Ibanez)
32982 + - LANE: better connection failure handling in zeppelin (by Marko Kiiskila)
32983 + - LEC kernel timer wasn't restarted when restarting zeppelin (found by Gerald
32984 + Hanusch, fixed by Marko Kiiskila)
32985 + - LANE: le_flush_request was sent too early when establishing connection (by
32987 + - zeppelin stopped operation (unwantedly) in random cases when LANE servers
32988 + were down (by Marko Kiiskila)
32989 + - LANE: non-blocking connections, VCC and LE ARP timeouts, and TLV fields in
32990 + LE_CONFIG_RESPONSE fixed (by Marko Kiiskila)
32995 + - atm2text now also uses ANS
32996 + - signaling traces now also contain error reports from qgen
32997 + - added new build-time configuration option "CISCO" (in atm/Rules.make) to
32998 + work around a bug in Cisco's point-to-multipoint signaling
32999 + - included example configuration files for RedHat 4.0 (see
33000 + atm/config/redhat-4.0/README)
33005 + - local variable "link" in atm/debug/delay.c:loop was shadowing "link" system
33007 + - cleaned up various Makefiles
33008 + - qgen: bytes left in qet_space are now more meaningful
33009 + - named (ANS) now also starts even if atmsigd is not running and retries to
33010 + create the ATM socket in 15 minute intervals until is succeeds (by Marko
33012 + - LANE: (too) short le_flush_responses (Cisco 7010, sw ??.??) are now handled
33013 + (by Marko Kiiskila)
33016 +Version 0.22 to 0.23 (16-NOV-1996)
33017 +====================
33022 + - fixed stupid typos in atm/lib/atmres.h and an unnecessary dependency on
33023 + libresolv.a in atm/lib/Makefile (reported by Gerald Hanusch)
33024 + - fixed warning about implicit declaration of function bigphysarea_init in
33026 + - I think I fixed the SSCOP VR(MR) problems that were first reported by
33027 + Edouard Lamboray in '95, then by Heinz Schuerch, and that finally led to a
33028 + total SSCOP breakdown (in 0.22) reported by Gerald Hanusch
33033 + - integrated the IDT 77201 (NICStAR) driver by Matt Welsh and Stuart Daniel
33034 + <stuartd@eecs.umich.edu>. Note that this driver currently only supports
33036 + - new throughput and latency benchmark test/window (by Matt Welsh)
33041 + - upgrade to kernel version 2.0.25
33042 + - changed drivers/atm/eni.c:do_tx:dma to static in order to reduce kernel
33043 + stack use (by 480 bytes). Note that this hack may crash systems with more
33044 + than one ENI adapter.
33045 + - qlib now also complains if changing a field without a fixed list of values
33046 + - made a few changes to the native ATM data delivery path to handle some
33047 + strangeness required by the IDT driver
33050 +Version 0.21 to 0.22 (13-NOV-1996)
33051 +====================
33056 + - (dummy) depend target was missing in atm/man (reported by Bernd Wolf)
33057 + - net/atm/arequipa.c:make_aq_vcc didn't set ATM_VF_AQINUSE, thereby allowing
33058 + race conditions to slip through
33059 + - fixed a few potential race conditions when activating Arequipa
33060 + - text2qos didn't complain if unit was omitted after multiplier, allowing
33061 + misleading settings like pcr=50M (that's 19.2 Gbps)
33062 + - SSCOP: took wrong branch if POLL_AFTER_RETRANSMISSION was enabled (fix by
33063 + Jonathan Larmour)
33064 + - SSCOP: rel_ind for ENDAK and BGREJ PDU in sscop_inconn was sent with "user"
33065 + = 1 (must be 0 for "Source := SSCOP")
33066 + - initialize_vr_mr now initializes vr_mr to a constant value (instead of
33067 + garbage plus constant value)
33068 + - atm_recvmsg now ignores msg->msg_name, as it should by POSIX 1003.1g (fix by
33070 + - atm_sendmsg now fails with EISCONN instead of with EINVAL if msg->msg_name
33071 + is set, as it should by POSIX 1003.1g (reported by Mike Wooten)
33072 + - atm_recvmsg and atm_sendmsg now return ENOTCONN if not connected and
33073 + EOPNOTSUP if flags are passed, as they should by POSIX 1003.1g
33074 + - the QOS zeppelin uses for its connections can now be set with the option -q
33075 + - atmarpd didn't include the QOS in PVC entries, so atmarp -a complained about
33081 + - kernel changes to support tcpdump with LANE (by Marko Kiiskila)
33082 + - patch for tcpdump 3.0.4 (installed as tcpdump_atm) to support Classical IP
33083 + and LANE (by Marko Kiiskila)
33084 + - patch for BIND 4.9.5 to support ANS (ATM Name Service) functionality (by
33086 + - added hierarchy extra/ for packages for which only patches are contained in
33087 + the ATM on Linux distribution
33088 + - enhanced text2atm to use ANS if local lookups fail (atm2text will be updated
33090 + - wrote script extra/hosts2ans.pl to convert hosts.atm file to ANS zone files
33095 + - changed ATM_VF_AQINUSE to ATM_VF_AQDANG and changed aq_list membership to
33096 + be for dangling VCs only
33097 + - added the new command-line options to ttcp_atm's online help (finally !)
33098 + - atm_sendmsg now returns error codes from the driver's send function
33099 + (suggested by Jonathan Larmour)
33100 + - text2qos now performs a syntax check if NULL is passed in the qos argument
33101 + - various minor LANE cleanup (Marko Kiiskila)
33102 + - upgraded to the latest version of t2a.pl
33103 + - {A2T,T2A}_REMOTE is obsolete; instead, {A2T,T2A}_LOCAL should be used if
33104 + ANS lookups are _not_ desired
33107 +Version 0.20 to 0.21 (18-OCT-1996)
33108 +====================
33113 + - net/atm/common.c:atm_connect didn't refuse traffic_class == ATM_NONE in both
33115 + - include/linux/atmsvc.h:SELECT_TOP_PCR didn't default to ATM_MAX_PCR if
33116 + min_pcr == 0 && max_pcr == 0
33117 + - debug/delay swallowed one-byte packets
33118 + - oops, forgot man/Makefile, so qos.7 wasn't installed
33119 + - atmarpd left max_sdu at zero for automatically generated entries
33120 + - atmarpd now only uses the default QOS if the traffic type is set in neither
33122 + - signaling: if the listen queue was full, new connections were rejected with
33123 + as_close instead of as_reject, thereby upsetting atmsigd
33124 + - svc_accept didn't adjust the listen queue quota when rejecting incoming
33125 + connection requests
33126 + - fixed a few bad font selections in atmsigd(8)
33131 + - included the window scale patch by Randy Scott <scottr@belle.bork.com> and
33132 + Robert Hill <rhill@tisl.ukans.edu>
33133 + - -q option for ilmid to set the QOS (like in atmsigd)
33134 + - new script mkbindist to install the utilities into a tar.gz file
33139 + - debug/delay now prints the usage if invoked without arguments
33140 + - removed the pretentious usec resolution for delays in debug/delay
33141 + - removed the UBR semantics change warning
33142 + - qos.7: clarified that bps are the user data rate
33143 + - arequipa_attach_unchecked now also adjusts the upper layer MTU (which can
33144 + violate RFC1122, but I'll tackle that later)
33145 + - text2qos now also accepts fractional values, e.g. 9.6kbps
33148 +Version 0.19 to 0.20 (14-OCT-1996)
33149 +====================
33154 + - fixed a few typos and errors in the 0.18 to 0.19 change log
33155 + - signaling traces only included hl_type bytes instead of hl_length
33157 + - TNET1570 driver: various fixes (DMA allocation, seg ring overflow,
33158 + timeouts, etc.) (Christian Paetz)
33159 + - TNET1570 driver: removed most compiler warnings (Christian Paetz)
33160 + - listen() on an arequipa_preset() socket and arequipa_preset() on a listening
33161 + socket now both return EPROTO
33162 + - oops, forgot to enable the "rm" in make uninstall
33163 + - kernel didn't set interface number field in act_create messages to atmarpd
33168 + - added ioctl ATM_SETSC to enable or disable RX and TX single-copy per VC
33169 + - new device driver operation change_qos (not yet implemented)
33170 + - TNET1570 driver supports DEC Alphas and 64 bit PCI transfer (for CIA PCI
33171 + chipsets) (Christian Paetz)
33172 + - TNET1570 driver also supports the UniNET1570 board (Christian Paetz)
33173 + - new functions text2qos and qos2text to convert between textual and binary
33174 + QOS specifications (the format is described in man qos)
33175 + - atmarp -q ip_addr qos sets the default QOS to use for all VCs created for
33176 + that IP interface
33177 + - new utility debug/delay to use machine as AAL5-level delay line
33182 + - NLPIDs and vendor-specific application identifiers are now collected in
33183 + the new file /usr/include/atmsap.h
33184 + - SO_ATMQOS now attempts to change the QOS settings when invoked on an active
33186 + - included Matt Welsh's bigphysarea patch (this isn't related to ATM, but it
33187 + keeps my development source tree simpler)
33188 + - arequipa_preset now initializes max_sdu to RFC1626_MTU+RFC1483LLC_LEN if
33190 + - atmarp: new option qos <spec> to set the QOS parameters (uses text2qos)
33191 + Use of pcr <pcr> is deprecated.
33192 + - ttcp_atm's -P option now also accepts a QOS specification string. (use of
33193 + -P <number> is deprecated.
33194 + - atmsigd: new option -q <qos> and configuration clause io qos <qos> to
33195 + set the QOS of the signaling VC. Use of -P <pcr> or io pcr <pcr> is
33197 + - removed the backward compatibility #define class traffic_class in
33199 + - removed obsolete keywords from atmsigd.conf language
33200 + - atmarp -a now also includes QOS parameters
33201 + - UBR now respects txtp.max_pcr if set
33202 + - new rules for the use of [rt]xtp.traffic_class: both fields must be either
33203 + equal or zero, e.g. ATM_CBR in TX and ATM_UBR in RX no longer works
33204 + - doc/usage.tex now points to the man pages instead of repeating their content
33207 +Version 0.18 to 0.19 (27-SEP-1996)
33208 +====================
33213 + - sscop.c:data_sd had a comparison inversed, so generation of USTAT PDUs was
33214 + wrong in some cases (by Juhana Rasanen)
33215 + - sigd_enq: accessed vcc->qos without checking for vcc == NULL, causing an
33216 + "Oops" in atmaddr
33217 + - svc_accept: generated a general protection fault when atmsigd was killed
33218 + while a process was waiting for new incoming connections
33219 + - atmaddr didn't zero the address structure before calling text2atm
33220 + - LANE: fixed usage of kernel timers and LE_ARP_REQUESTs should now get sent
33221 + until the entry expires or a response is received (by Marko Kiiskila)
33222 + - less compiler warnings from LANE servers (Marko Kiiskila)
33223 + - SSCOP: fixed SDU size in AA-RETRIEVE.indication (reported by Heinz Schuerch)
33224 + - NULL encapsulation for ATMARP works now (reported by Gerald Hanusch)
33225 + - fixed stray EINVAL from get{sock,peer}name on PVCs (reported by Gerald
33227 + - clip now sets max_sdu to RFC1626_MTU+RFC1483LLC_LEN when using LLC/SNAP
33229 + - if parsing of a Q.2931 message fails, atmsigd now aborts the call instead of
33230 + (stupidly) trying to process the incomplete and probably inconsistent data
33231 + - SUNI driver didn't properly mask out unused highest bits of some statistics
33232 + counters, thereby yielding absurdly high values
33233 + - zatm: changed timing of RX channel closing, so the dreaded "can't close RX
33234 + channel" message should be history
33235 + - fixed race between Arequipa attachment due to packet reception and closing
33236 + of the Arequipa VC
33237 + - local address validity check (for ATM_???ADDR) was all wrong (reported by
33239 + - message dumper ignored fatal errors if debugging was not enabled
33244 + - man pages for lecs, les, bus, and zeppelin (Marko Kiiskila)
33245 + - configuration file name for les and bus can be defined (Marko Kiiskila)
33246 + - zatm: new kernel configuration option CONFIG_ATM_ZATM_EXACT_TS now supports
33247 + reception timestamps with microsecond resolution (the accuracy is only in
33248 + the ms range, though)
33249 + - new utility znth (ZeitNet Timer History) to monitor timer synchronization
33250 + - LANE now supports up to 4 LEC network interfaces (Marko Kiiskila)
33251 + - the Q.2931 message parser now recovers nicely from IE errors, logs the
33252 + event, and continues parsing. The higher layers of the signaling stack
33253 + don't use this information yet, though.
33258 + - Arequipa's BHLI now uses a "vendor-specific application identifier" under
33260 + - moved buffer/queue handling from lib/libatmd to saal/, because it is rather
33261 + SSCOP-specific anyway
33262 + - atm_release_vcc now complains if rx_inuse != 0 when closing (if this ever
33263 + happens, it may point out dangerous races with upper layer protocols)
33264 + - SO_ATMQOS now issues a warning when using UBR with {min,max}_pcr != 0
33265 + - max_sdu is now set by atmarpd to MTU+RFC1483LLC_LEN (atmarp could still
33266 + override this, if necessary)
33267 + - atmdump: new option -i to display the arrival interval instead of the
33268 + absolute time. Also changed the time format to be more readable.
33269 + - updated the kernel configuration documentation to indicate that the SMC
33270 + ATM Power155 adapters are compatible with the Efficient ENI-155
33271 + - atmarpd now deletes the old table file (containing stale information) if
33272 + invoked with -d (debug)
33275 +Version 0.17 to 0.18 (9-SEP-1996)
33276 +====================
33281 + - atmsigd didn't respond to SETUP followed by RELEASE with a RELEASE COMPLETE
33282 + - atmsigd now implements incoming call rejection (as_indicate -> as_close)
33283 + - kernel now opens the VC before sending the as_accept. This a) allows to
33284 + check if the parameters are acceptable, and b) avoids a race condition
33285 + between the sender and the local VC open procedure, which frequently led to
33286 + loss of the beginning of the first PDU sent on a new connection.
33287 + - qdump: _q_parse used the wrong length when dumping variable-length fields,
33288 + yielding a fatal internal error
33289 + - clip didn't set rxtp.max_sdu
33290 + - svc_accept didn't set ATM_VF_HASQOS, so getsockopt SO_ATMQOS didn't work
33291 + (by Marko Kiiskila)
33292 + - ttcp_atm calculated Mbps as 2^20 bits/sec instead of 10^6, thereby making
33293 + all results come out approximately 5% too low (by Fraz Ahmad)
33294 + - added $(LDLIBS) to linking of lane/lecs (by Lawrence MacIntyre)
33295 + - interface number allocation in clip and atmarp did not check for collision
33296 + with the respective other name space
33297 + - atmarp's -c option didn't work when omitting the "atm" in the interface name
33302 + - new man page: arequipad.8
33307 + - simplified the internal signaling protocol by adding the as_reject message
33308 + (sent by kernel in response to as_indicate; not acknowledged by demon)
33309 + - packets received from Arequipa are no longer forwarded to other hosts
33310 + - further ilmid improvements to use RSTADDR less frequently (by Gerald
33311 + Hanusch; with a slight modification)
33314 +Version 0.16 to 0.17 (2-SEP-1996)
33315 +====================
33320 + - lib/diag.c didn't fflush when logging to a file
33321 + - arequipad didn't accept the -l option
33322 + - qgen: possible weird crashes because second.c:find_required accessed
33323 + value->tag even if vt_id
33324 + - qgen: fixed wrong PC indication in one error message in _q_parse
33325 + - make spotless didn't know about new $(*PGMS) targets
33326 + - atmsigd: fixed memory leak when sending messages to the kernel
33327 + - atmarpd: fixed memory leak when sending messages to the network
33328 + - atmsigd: didn't send final as_close when kernel closed connection
33329 + immediately after requesting it (as_connect)
33330 + - several minor corrections
33335 + - added make target "uninstall" to remove all files installed by
33337 + - atmsigd has two new options: -D dump_dir to set the dump directory and
33338 + -t trace_length to set the length of the trace buffer
33339 + - wrote a few man pages: atmarp.8, atmarpd.8, atmsigd.8, atmsigd.conf.4
33340 + - added automatic support for memory debugging if MPR is installed (and
33341 + included a patch to make MPR 1.1 work with ELF). atmarpd and atmsigd
33342 + currently use this feature.
33347 + - changed "class" to "traffic_class" everywhere
33348 + - make install is now implemented in a more elegant way
33349 + - q.dump is now much better at finding symbolic names for numbers
33350 + - q.dump no longer prints zero-length fields
33351 + - qgen no longer includes constructor "microcode" in dumper
33352 + - atmarp now gives more informative error messages on ioctl failure
33353 + - removed obsolete ioctls SIOCGIFATMADDR and SIOCSIFATMADDR
33354 + - added hack to allow ilmid to be less hostile to locally configured addresses
33355 + (by Gerald Hanusch; with slight modifications)
33356 + - atmarpd now automatically sets ATF_PERM of PVC entries with NULL
33360 +Version 0.15 to 0.16 (29-AUG-1996)
33361 +====================
33366 + - fixed an "unterminated character constant" warning by CPP in qgen/uni3x
33367 + - atm/sigd/q2931.c always tried to read the Cause IE of RELEASE COMPLETE
33368 + messages even if it wasn't included
33369 + - LANE: fixed buffer allocation and VCC timeouts (Marko Kiiskila)
33370 + - LANE: when connecting directly to LES, name of the ELAN was not set
33371 + properly (discoverd by Gerald Hanusch; fixed by Marko Kiiskila)
33372 + - LANE, ATMARP, signaling: control sockets didn't account for messages sent
33373 + back from demons (fixed by Marko Kiiskila)
33374 + - permanent ATMARP entries for SVCs were ignored if no ATMARP server was
33375 + configured (reported by Gerald Hanusch)
33376 + - atmarp option "temp" mis-spelled as "term" (fixed by Gerald Hanusch)
33377 + - forgot to undo experimental rcvbuf/sndbuf change to unsigned long
33378 + - make modules didn't generate ATM modules
33379 + - atmtcp_attach_hook wasn't defined when compiling ATMTCP as a module
33380 + - ATM patch set dev->ip_atm to ether_arp in net/ppp.c and net/eql.c, so they
33381 + failed to work as modules
33386 + - added LANE servers (LECS, LES, and BUS) by Marko Kiiskila
33387 + - Rules.make: new variable INSTROOT for easier cross-installation
33388 + - atmsigd: added option -P to set the maximum PCR used on the signaling VC
33389 + - atmarp: added option "pcr <value>" (proposed by Gerald Hanusch)
33390 + - added the usual -l <logfile> option to arequipad
33395 + - upgrade to kernel version 2.0.14
33396 + - SVCs can now be bound with any SEL value
33397 + - messages of size > quota can be sent if the send buffer is empty
33398 + - ilmid no longer empties the address list when refreshing the NSAP address
33399 + (by Gerald Hanusch)
33400 + - LANE client should now survive network reset (e.g. restart) gracefully
33402 + - LANE: major cleanup of zeppelin code (Marko Kiiskila)
33403 + - improved loadable module support for eni and zatm (i.e. loading works now)
33404 + - the message dumper can now be linked to programs that also use the
33405 + compilation/parsing functions
33408 +Version 0.14 to 0.15 (31-JUL-1996)
33409 +====================
33414 + - zatm: fixed traffic shaper settings for UBR (with a little help from Joern
33416 + - atmsigd compilation didn't use the same UNI version configuration as qgen
33417 + - field "class" in struct atm_traform broke compilation of ATM applications
33418 + written in C++, so it has been renamed to "traffic_class" (reported by
33420 + - AAL parameters IE wasn't included in CONNECT, which violated RFC1755
33421 + (discovered by Robert Olsson)
33422 + - zatm: removed broken sanity check for in-sequence skb delivery on RX
33423 + - clip didn't have clip_open function, so SIOCSIFFLAGS on the interface failed
33425 + - single-copy compiles again
33426 + - zatm: driver doesn't pretend any longer to support single-copy (but
33427 + single-copy will come back later)
33428 + - QOS IE was sent with the wrong coding standard when using UNI 3.1 (with help
33430 + - zatm: forgot to remove some debugging code (around ZATM_TUNE)
33431 + - qlib.c didn't zero the length array, leading to (rare) "not enough space"
33432 + errors from QMSG (actually, the "break" mechanism seems to be flaky - will
33434 + - fixed Arequipa race condition when the upper layer protocol and signaling
33435 + decided to close the SVC at the same time
33436 + - alloc_tx used to return NULL in out of memory conditions, thereby possibly
33437 + hanging atm_sendmsg
33442 + - ttcp_atm now also accepts names with -p
33443 + - (finally !) added send/receive buffer limits and cleaned up the use of
33444 + vcc->[rt]x_{inuse,quota}
33445 + - added mkdiff script for automatic generation of diffs
33446 + - Arequipa now works for PVCs too (but arequipad is now required for any
33447 + use of Arequipa, not only for incoming connections)
33452 + - atm/atm-<version>.patch is now called atm/atm.patch (to make the diffs more
33454 + - the maximum SDU size is now checked in net/atm/common.c:adjust_tp
33455 + - text2atm/atm2text now accepts/generates E.164 addresses with a leading +
33456 + sign, as required by ANS (atm95-1532)
33457 + - internal signaling protocol: added message as_error to un-overload as_close
33458 + - internal signaling protocol: split as_establish into as_connect and
33460 + - internal signaling prococol: as_close.reply no longer contains positive
33462 + - internal signaling prococol: as_bind now also carries the AAL type
33463 + - atmsigd: now also checks the AAL type in as_bind messages
33464 + - kernel signaling: a few minor changes
33465 + - STANDARDS (i.e. UNI version) configuration option has been moved from
33466 + atm/qgen/Makefile to atm/Rules.make
33467 + - atmsigd's startup message now gives more useful indication of which UNI
33468 + version(s) it supports
33469 + - signaling no longer uses sa[sp]_[rt]xtp, so ...
33470 + - sa[sp]_[rt]xtp is gone
33471 + - removed atm/sigd/svc.c from the distribution. We now have many other tools
33472 + for testing SVCs, so it's superfluous.
33473 + - atmarpd: revalidation is now less frequent (use -DFREQUENT_REVAL for
33474 + the faster timeout)
33475 + - ioctl CLIP_PVC now returns the number of the new interface and clip prints
33476 + its name to standard output (like atmarp -c)
33477 + - clip now issues the CLIP_PVC ioctl after binding, which avoids wasting
33478 + interface numbers on failed setup attempts
33479 + - atmsigd -d now sets the debug level for qgen and SSCOP to DIAG_INFO, and
33480 + doesn't set q_dump
33481 + - zatm: added protection against I > M
33482 + - atm_peek_aal5 now only aligns to page boundaries for pdu_size >= PAGE_SIZE
33483 + - eni driver now spits out CRC error messages at most every other second
33484 + - zatm driver now repeats RX error messages at most every other second
33485 + - ttcp_atm now sleeps for a second after setting up an SVC, because the
33486 + switch seems to lag behind (need to examine this further)
33487 + - moved SAAL from sigd/ to saal/ (for sharing with UNI 4.0 signaling)
33488 + - Arequipa sockets are now closed via arequipad instead of via atmsigd (new
33489 + ioctls AREQUIPA_CTRL and AREQUIPA_CLS3RD)
33490 + - various minor changes
33493 +Version 0.13 to 0.14 (19-JUL-1996)
33494 +====================
33499 + - LANE: reaction to LE_ARP_RESPONSE's wasn't always correct
33500 + - LANE: compiler warnings fixed
33501 + - LANE: comparing ATM addresses in checking whether connection is formed was
33503 + - zntune didn't divide by 1024 when displaying the "k"
33504 + - .depend wasn't deleted by make spotless
33505 + - ATM_GETSTAT and ATM_GETSTATZ used wrong argument type for coding ioctl
33506 + number. WARNING: programs using ATM_GETSTAT{,Z} need to be recompiled.
33507 + - requests to set up SVCs with ATM_NONE in both directions are now caught by
33508 + svc_connect (used to yield an invalid SETUP message)
33509 + - signaling: fixed connection identifier setting when acting as network side
33510 + (fix by Elwyn B Davies)
33511 + - ATMARP server ARP entries were undeletable
33512 + - atmarp showed wrong argument in error message when given an invalid ATM
33514 + - zatm: do_tx left interrupts turned off when returning with RING_BUSY
33515 + - LANE ARP hash table handling bugs fixed
33516 + - atmarp: act_create is now only sent on interface creation
33517 + - atmarp: act_down is now only sent once per transition
33518 + - demon control SVCs are no longer closed when atmsigd dies (new VCC flag
33520 + - netdevice notifier is now properly unregistered when atmarpd goes down
33521 + (not doing so caused endless loop in kernel on atmarpd restart)
33522 + - sigd_enq{_atomic} never calls schedule()
33523 + - atmsigd no longer "forgets" to bring up ARP server SVC before sending an
33525 + - atmarpd no longer dies with "timer in state 3" when the ARP server becomes
33527 + - atm/atmarp.c: clip_create() now refuses creation of already existing
33529 + - Documentation/Configure.help gave an obsolete URL for CONFIG_AREQUIPA
33530 + and doc/usage.tex also mentioned the old file name
33531 + - Arequipa didn't work in the outbound direction for TCP, because
33532 + net/ipv4/tcp.c was missing in the kernel patch
33533 + - drivers/atm/eni.c:foo raced with initialization of eni_boards if the
33534 + board lost the signal _immediately_ after being initialized
33535 + - atmarpd: fixed a few uninitialized entry->timer pointers (discovered by
33537 + - atmarpd: arps entry should no longer get stuck in as_resolv
33542 + - compiles on SparcLinux too (but only atmtcp works)
33547 + - upgrade to kernel version 2.0.0
33548 + - BHLI matching changed: SAPs without BHLI are now incompatible with calls
33549 + that specify a BHLI
33550 + - LANE: interface stays up when zeppelin dies -> possibility for
33551 + wrapper script around zeppelin
33552 + - LANE: LUNI interoperability test (ATM Forum/96-0805) is now followed
33553 + in setting ELAN name in LE_CONFIG_RESPONSE and LE_JOIN_RESPONSE,
33554 + there is also a delay of 1 second before sending LE_CONFIG_REQUEST and
33555 + LE_JOIN_REQUEST. This allows 'slow' LE servers to catch up.
33556 + - LANE: no longer uses sa[sp]_[rt]xtp
33557 + - LANE: now adjusts better to ATM address changes
33558 + - zeppelin: new option -m to select debugging output
33559 + - updated aping, aread, awrite, br, bw, atmdump, ilmid, atmarp, clip, atmarpd,
33560 + and zeppelin to use setsockopt SO_ATMQOS
33561 + - added option -x for ilmid to disable variable bindings (caused
33562 + interoperability problems with certain switches, e.g. the LS100)
33563 + - changed SO_CIRANGE into a pair of ioctls
33564 + - changed return value of fetch() (passed to atm_vcc->peek) from unsigned long
33566 + - atmarp now accepts arpsrv option also for -d
33567 + - zatm driver can now also read ESIs of rev. 10 boards (with help from Nikos
33569 + - awrite: fixed txtp.max_sdu calculation in awrite (was using uninitialized
33570 + variable "offset")
33571 + - atmarpd: IP interface removal now has the desired effect (used to do
33573 + - atmarpd: now reports and ignores unexpected interface transitions
33574 + - added sigd_enq_atomic for atomic sigd_enq (so that non-Arequipa SVCs can
33575 + still use the "safe" but non-atomic version)
33576 + - made SIOCGIF* failures in atmarpd non-fatal (itf.c:itf_up was handling them
33578 + - moved Arequipa-specific code from net/atm/clip.c to net/atm/arequipa.c, and
33579 + put code common to CLIP, Arequipa, and - to a lesser extent - ATMARP into
33580 + net/atm/ipcommon.[ch]
33581 + - Arequipa can now be complied without CLIP
33582 + - various minor documentation changes
33583 + - moved ATM device initialization from net/atm/pvc.c to drivers/block/genhd.c,
33584 + where most other devices are initialized too
33585 + - preparation for new binary locations: tools build process now knows about
33586 + four types of programs: for booting, for system use, for users, and for
33587 + internal use during build
33588 + - make install now hides the for loops
33589 + - non-user binaries are now installed in /usr/local/sbin
33590 + - struct atm_iobuf.buffer is now of type void * (was int*). Also,
33591 + ATM_GETNAMES now returns the length in bytes in that field.
33594 +Version 0.12 to 0.13 (7-JUN-1996)
33595 +====================
33600 + - BHLI type used the ATM_HL_* values (which are off by one) in qgen/uni3x
33601 + - atmarpd ended up in a tight select-accept loop if atmsigd went away
33602 + - removed sleep in ZATM's do_tx (so it works with IP over ATM again)
33607 + - added experimental support for Application requested IP over ATM (Arequipa),
33608 + prototyped by Jean-Michel Pittet
33609 + - new traffic class ATM_ANYCLASS to accept incoming SVCs without looking at
33610 + the traffic parameters
33611 + - added (untested) support for SO_BCTXOPT/SO_BCRXOPT
33616 + - SVCs used to listen are now marked as "LISTEN" in /proc/atm/svc
33617 + - added option -Q <atm_addr> to ttcp_atm to support AREQUIPA
33618 + - cleaned up the FILE macro and removed atm_dir in net/atm/proc.c
33621 +Version 0.11 to 0.12 (3-JUN-1996)
33622 +====================
33627 + - atm/lib/Makefile: had to comment out PGMS=test
33628 + - distribution didn't include atm/doc/usage.txt
33629 + - patch didn't include arch/i386/config.in
33630 + - return 0; was missing at the end of net/atm/mmuio.c:mmu_step
33631 + - atm/ilmid didn't install into INSTBIN; also made some other Makefile
33633 + - read() returned garbage instead of error when network drops connections
33634 + - POLL_AFTER_RETRANSMISSION in SSCOP didn't even compile
33635 + - SVCs: bind to wildcard addresses should now work even if no local address
33637 + - make clean in atm/qgen left some dirt
33638 + - ATM drivers didn't free skbs when detecting an error in TX direction
33639 + - SIOCMKCLIP was in the wrong #ifdef, so CLIP had to be enabled to make
33641 + - signaling didn't respond properly to messages with non-existent call
33647 + - merged in LAN Emulation client support written by Marko Kiiskila
33648 + - new socket option SO_ATMQOS at SOL_ATM to set/get QOS parameters
33653 + - t2a.pl now also works with Perl 5.001
33654 + - changed the TX side of the ZATM driver to use a ring instead of a list in
33655 + order to improve stability and throughput (needs some more testing)
33658 +Version 0.10 to 0.11 (21-MAY-1996)
33659 +====================
33664 + - README.DRIVERS still referenced INSTALL (it's now in USAGE)
33665 + - sap_decode didn't clear BLLI part of address structure
33666 + - trying to connect to NULL address fails locally instead of yielding an
33667 + invalid SETUP message
33668 + - bind now properly sets the local address
33669 + - SVC getname now returns the traffic parameters
33670 + - oops, zatm open_tx didn't return PCR
33671 + - awrite printed errors for connect() as "bind: ..."
33672 + - atmsigd no longer generates dummy call references (0x7fffff)
33673 + - atmtcp: changed a few kfree_skb to dev_kfree_skb, which should make it
33674 + work better (does anybody care to try ?)
33675 + - some more dev_kfree_skb fixed for control messages from or to demons (led
33676 + to some minor memory leaks)
33677 + - various major fixes for CBR SVCs
33678 + - RELEASE was signaled for SVCs before all data was sent
33679 + - single copy tried to access mem_map with user space addresses, leading to
33681 + - zatm: sleep_on was racing with TX completion in close_tx, leading to hangs
33682 + - zatm: now fails attempts to open AAL0 VCs (used to accept them and to
33684 + - BHLI encoding/decoding was broken in several ways
33689 + - hacked in primitive leaf-only p2m support (based on an idea by Marko
33691 + - the socket layer, and the zatm, eni, and atmtcp drivers now support
33692 + two-phase connect
33693 + - PVCs now respect max_pcr (SVCs can't for now)
33694 + - lib/diag.c can now also log to a file or to syslog, and atmarpd, atmsigd,
33695 + and ilmid now have a -l option to use that
33696 + - new option -c config_file for atmsigd
33697 + - zatm and atmtcp now also support timestamps (but zatm timestamps can be
33698 + improved a lot by using the timestamps the uPD98401 generates)
33699 + - Classical IP over ATM support is now configurable
33700 + - added on-line help texts for configuration
33701 + - added atm/test/aping, a round-trip tester for PVCs
33702 + - added "flags" field to struct atm_dev and to atm_dev_register, on request
33708 + - past versions of the BUGS list aren't included in the distribution anymore
33709 + because I didn't update them anyway
33710 + - invalid connect() calls now return an error instead of panicing atmsigd
33711 + - text2atm no longer clobbers sas_addr.{blli,bhli}
33712 + - greatly simplified zatm traffic shaper settings calculation (and it's
33713 + better than before too)
33714 + - atmsigd: diagnostics class "sig" (in atmsigd.conf) now also includes "SAP"
33715 + - DPRINTK now uses GNU-specific #define foo(bar...)
33716 + - signaling: PCR is now also indicated (0) for directions in which ATM_NONE
33717 + is requested, which is probably "cleaner" (for CBR)
33718 + - added logging priorities to most printks
33719 + - the default location for atmsigd.conf changed from . to /etc
33720 + - ipv4/af_inet.c: atmtcp_attach_hook is now only included when using ATM over
33722 + - configuration options for extended driver debugging, (old) CLIP, and
33723 + ATM over TCP are turned off by default
33726 +Version 0.9 to 0.10 (21-MAR-1996)
33727 +===================
33732 + - zatm: deallocated UBR shaper when closing UBR VC, which the other UBR VCs
33733 + didn't really appreciate
33734 + - fixed nasty memory leak for native ATM (spotted by Rolf Fiedler)
33739 + - added Rolf Fiedler's driver for his adapter based on the TI TNETA1570
33740 + - single-copy is back again !
33745 + - eni buffers are now slightly (50%) bigger, allowing for more effective
33746 + overlapped operations
33747 + - documented zntune
33750 +Version 0.8 to 0.9 (14-MAR-1996)
33751 +==================
33756 + - oops, accidently removed ZN1221 from drivers/pci/pci.c (so /proc/pci
33757 + reported it as "unknown")
33758 + - sigd didn't poll for the default interface on startup
33759 + - atmarpd didn't initialize timer field in newly allocated table entries,
33760 + which led to crashes
33761 + - removed a few stray debugging printks in net/atm/svc.c:svc_bind
33762 + - ATMARP tried to send queued packet before adding new table entry, so the
33763 + packet was always discarded
33764 + - sigd/sap.c: didn't allow to use different traffic classes for fwd and bwd
33766 + - atm2text accepted SVC addresses of all zeroes
33767 + - atmsigd didn't refresh its local address list properly after ilmid restart
33768 + - net/atm/common.c: returned positive error codes (-vcc->reply) instead of
33770 + - forgot to include maint/zntune.c in the distribution
33775 + - sigd/svc now accepts ATM addresses in all formats supported by text2atm
33780 + - upgraded to kernel version 1.3.73
33781 + - the called party number must now match the local address (if bound)
33782 + - renamed ttcp.atm to ttcp_atm
33783 + - all executables are now explicitly linked (so make works even without
33787 +Version 0.7 to 0.8 (12-MAR-1996)
33788 +==================
33793 + - fixed stray segmentation violation in arpd/arp.c:learn
33794 + - fixed coding standard of the QoS IE if using UNI 3.0 (and made coding
33795 + standard variable)
33796 + - made coding standard variable for Cause IE
33797 + - SSCOP didn't properly set N(MR)
33798 + - list elements in STAT PDUs had host byte order
33799 + - SSCF didn't call sscop_estab_resp on restart (AA-EST.ind in 1/1)
33800 + - signaling didn't handle SAPs with >= 2 BLLI IEs properly
33801 + - uni3x: iso_hli and user_hli were confined to 7 bytes, but UNI allows up to 8
33802 + - q_read choked on non-variable-length fields
33803 + - qgen sometimes didn't read all IEs of a signaling message
33804 + - fixed usage line of test/bw
33805 + - qgen no longer complains about missing required fields after a break
33806 + - fixed compiler warning in zntune.c
33807 + - fixed ATMARP table additions (caused GPF when flushing ATMARP entry at
33808 + the end of the table and possibly other problems)
33809 + - qgen: q_put or'ed data instead of overwriting it, which caused problems
33810 + only on surprisingly few occasions
33815 + - atm2text and text2atm now also do name lookups via a /etc/hosts.atm file
33816 + - atmaddr, atmarpd, and atmsigd now pretty-print addresses using name
33817 + translation (unless invoked with -n)
33818 + - atmarpd now dumps its table into /var/run/atmarpd.table and atmarp -a
33819 + reads it from there
33820 + - started modularizing the ENI and ZATM drivers
33821 + - ilmid and atmsigd now support multiple interfaces (untested)
33826 + - the documentation is now available in LaTeX and in ASCII
33827 + - rewrote most of the SAP handling code (now everything is in sigd/sap.c)
33828 + - proto.c:lookup_sap now picks wildcard SAP last
33829 + - signaling always includes SSCS type = 0 in SETUP messages (for LANE)
33830 + - changed the message format for the the kernel-demon signaling protocol
33831 + - qgen is now a bit more tolerant when being fed with bad data
33832 + - qgen now assumes that q_report(Q_FATAL,...) doesn't return
33833 + - marked sigd/test.c as obsolete
33834 + - svc_accept failing in atm_connect no longer returns success
33835 + - atmsigd -n is now atmsigd -N
33836 + - qgen now puts the PC in q.out.c and qd.out.c at the beginning of the code
33837 + line and not on a line by itself
33840 +Version 0.6 to 0.7 (2-FEB-1996)
33841 +==================
33846 + - removed TTL setting ioctl (1234) used for something entirely unrelated to
33848 + - changed kfree_skb in atm_pop_raw to dev_kfree_skb (this fixes the socket
33850 + - more unusual configurations (no PCI, no IP, no /proc) should compile now
33851 + - atm_equal didn't recognize wildcards in embedded E.164 addresses
33852 + - fixed net/atm/proc.c:svc_addr (too many bugs to mention)
33853 + - atmarpd didn't check for ARP traffic on inbound connections
33854 + - atmarpd didn't properly merge incoming connections with existing entries
33855 + - various other ATMARP fixes
33856 + - free list was too short in ENI driver for worst case fragmentation on
33858 + - signaling didn't set ISO/IEC TR9577 IPI and NLPID correctly in active open
33859 + - getname looked at *sockaddr_len, which is uninitialized (need to fix this
33860 + later in the common socket code)
33861 + - SSCOP generated incorrect error code ("1" instead of "B") for BGN PDU
33867 + - new ioctls ATM_GETADDR, ATM_RSTADDR, ATM_ADDADDR, and ATM_DELADDR to
33868 + manage local ATM addresses
33869 + - signaling now handles incoming RESTART, SAAL failure, and SAAL
33871 + - ATMARP now times out idle connection; ATMARP_MKIP ioctl takes a timeout
33873 + - ATMARP (kernel) now queues one skb per pending ARP request and limits the
33874 + rate of requests for the same address (default 2 req/min)
33875 + - atmsigd now prints cause values when receiving a RELEASE or a RELEASE
33876 + COMPLETE and returns more informative error codes
33877 + - atmarpd falls back to PVC-only operation if signaling is unavailable at
33879 + - kernel can now assign next free number on IP interface creation (atmarp
33880 + prints the interface name)
33881 + - qgen -D generates a Q.2931 message dumper (see USAGE for details)
33882 + - qgen now checks for proper use of repetition indicator (but doesn't
33883 + support repeated IEs yet)
33884 + - protocols and device drivers can now use their own memory allocator in the
33885 + TX direction by changing vcc->alloc_tx
33890 + - upgraded to kernel version 1.3.53
33891 + - build process now uses Perl
33892 + - ATM ioctls writing back data now always return the size of the data
33893 + structure written
33894 + - struct atmif_sioc now has a length field (recompile all atmarpd, ilmid,
33895 + debug/ed, and everything in maint)
33896 + - PHY driver no longer has to check validity (permissions and access) for
33897 + "standard" ioctls
33898 + - signaling should now also work on an interface > 0 (but there's still only
33899 + one interface using signaling per host)
33900 + - make install now adds /usr/include/atm.h and /usr/include/atmd.h
33901 + - atmarpd now also displays if SVC has been opened actively or passively
33902 + - atmaddr(8) now uses new ioctls and has different command-line syntax
33903 + and even has a man page
33904 + - example IP addresses in USAGE now conform to RFC1597
33905 + - diagnostics now also include the application name (optional)
33908 +Version 0.5 to 0.6 (21-DEC-1995)
33909 +==================
33914 + - ARP ioctls stopped working for most non-ATM devices, oops
33915 + - ATMTCP driver counted lack of memory as rx_err instead of rx_drop
33916 + - select on driver using polling may have hung
33917 + - atmarp man page and usage didn't indicate that the interface number is
33919 + - restricted atmarpd and signaling control, and SIOCSIFATMADDR to the super
33921 + - atmtcp: fixed handling of VPI/VCI <= 0 for setsockopt(SO_CIRANGE)
33922 + - eni and zn driver had static UBR shaper pointer, making it difficult to have
33923 + more than one such device per system
33924 + - eni driver initialization didn't work properly in systems with ASIC Tonga
33925 + - suni.[ch]: confused MC (Master Config) and MCT (Master ConTrol) registers
33926 + - (SVC) accept now returns PVC -EAGAIN as -EBUSY because the operation cannot
33928 + - qgen: fixed several bugs in case handling (and made defaults work for
33930 + - svc_dup passed PF_ATMSVC instead of AAL to svc_create
33931 + - plugged a few skb leaks in svc_accept
33932 + - text2atm didn't properly NUL-terminate E.164 addresses
33937 + - ZN1221 driver works partially for AAL5 (still hangs after a few dozen MB)
33938 + (also wrote maint/zntune to monitor/adjust free buffer pools)
33939 + - ENI driver now supports new Tonga ASIC boards
33940 + - added Scott Shumate's ILMI demon (for automatic address registration)
33941 + - text2atm: added wildcard support for SVCs (syntax: addr/bits)
33942 + - new library function atm_equal to compare SVC addresses
33943 + - new ioctl ATM_GETTYPE to obtain interface type name
33944 + - new ioctl ATM_GETESI to obtain ESI (parallels /proc/atm/devices)
33945 + - new ioctls SONET_SETFRAMING, SONET_GETFRAMING, and SONET_GETFRSENSE to
33946 + handle SONET vs. SDH framing
33947 + - added socket option SO_AALTYPE (SOL_AAL) to query AAL type (getsockopt
33949 + - signaling demon is now notified on address changes (new message
33955 + - known bugs are now listed in a file called BUGS
33956 + - all utility programs (aread, awrite, atmdump, br, bw, clip, ttcp) now use
33957 + the notation [itf.]vpi.vci for PVCs (was itf vpi vci , except for ttcp,
33958 + where it was only vpi vci (no itf))
33959 + - all ioctl values have changed
33960 + Note: most programs have to be recompiled because of this
33961 + - sigd and arpd now register their control sockets via ioctls
33962 + - (old) clip now creates interfaces with an ioctl
33963 + - text2atm now returns the wildcard length, i.e. a non-zero return value
33964 + no longer implies failure
33965 + - push_oam now returns an int (was void)
33966 + - push_oam now has several flags (in a bit set) instead of the immed
33968 + - the peek function must now update the statistics if it rejects a packet
33969 + - (ATM device) close is now only invoked after a successful open
33970 + - the SUNI_GETLOOP ioctl now has an int * argument (was unsigned long *)
33971 + - uPD98402 driver no longer tries to detect return of the signal (didn't
33972 + work anyway - would have to sample section errors)
33973 + - ATMARP no longer supports mixed PVC/SVC entries (I'm sure this will be
33975 + - ATMARP no longer supports "IP address discovery" via InARP for PVCs
33977 + - specifying an invalid AAL now yields EPROTOTYPE
33978 + - specifying an invalid address family (connect, bind) now yields EAFNOSUPPORT
33979 + - make install now also installs libraries (in /usr/lib)
33980 + - improved many header file comments
33981 + - re-arranged some comments to simplify automated document generation
33982 + - added copyright statement
33983 + - UNI 3.0 IE fields are now always recognized (but we shouldn't generate them)
33984 + - UNI 3.0 wants octet 5a when using BCOB-X, so we'll set it to twice "No
33986 + - aread, awrite, br, bw, ttcp, atmsigd, and atmdump now set max_sdu
33987 + - aread and awrite no longer print strerror(errno) on success
33990 +Version 0.4 to 0.5 (26-OCT-1995)
33991 +==================
33996 + - now only root can open a CLIP socket (thereby creating an IP interface)
33997 + - now only root can issue CLIP_NULENCAP and CLIP_LLCENCAP ioctls
33998 + - atmdump: forgot default in getopt switch
33999 + - eni driver: called misc_int on every interrupt
34000 + - Q.2931 message description: various fixes and improvements
34001 + - linux/atm.h: ATM_*_UNSPEC used the same value as ATM_*_ANY, oops !
34002 + - SSCOP is now more careful about not accessing the descriptor if it might
34003 + possibly have been deleted
34004 + - typo in SSCF leading to wrong response to AA-RECOVER.indication
34005 + - SSCOP now correctly copies N(PS) from POLL to STAT PDUs
34006 + - SSCF now discards data when not ready instead of issuing a fatal error
34007 + - AAL initialization failure no longer leaks memory
34008 + - closing an SVC without VCC no longer yields a GPF
34013 + - ZN1221 driver is starting to work
34014 + - new, ARP-based mechanism for IP over ATM (with atmarpd, atmarp, etc.)
34015 + - /proc/atm/pvc now displays more information for CLIP PVCs (after a patch
34016 + by Raghavan Menon)
34017 + - added max_pcr to struct atm_trafprm (also fixed a few comments in atm.h)
34018 + Note: all programs using sockaddr_atm* will have to be recompiled.
34019 + - qgen now handles value lists in named selections
34020 + - signaling now supports bhli/blli, plus various other minor extensions
34021 + - new ioctls to set/get local ATM address
34022 + - added library with address to/from text conversion functions
34023 + - finally implemented getname()
34028 + - eni driver: avoided potential generation of superfluous code if extended
34029 + debugging is disabled
34030 + - eni driver: detects new boards using ASIC PCI chip (doesn't support them
34032 + - qgen: semicolon is now comment character and no longer used to terminate
34034 + - qgen: replaced term "item" with "field"
34035 + - linux/include/atmsap.h: removed obsolete comment "protocol cannot be fully
34036 + encoded in current structure". Also re-arranged some comments to simplify
34037 + automated document generation.
34038 + - saal,sscf,sscop: callbacks don't pass the pointer to the descriptor of the
34039 + calling protocol anymore
34040 + - SSCOP no longer prints a number for non-'V' errors
34041 + - improved handling of STATUS messages
34042 + - select now indicates ready for writing if max_sdu packet can be enqueued
34044 + - select can now also be used to check status of non-blocking connect
34045 + - moved some common demon functions from sigd into a common demon library
34048 +Version 0.3 to 0.4 (27-SEP-1995)
34049 +==================
34054 + - various minor documentation fixes
34055 + - clip.c:atm_push_clip now updates statistics before forwarding the skb to
34056 + the upper layer (which may free and overwrite the skb)
34061 + - added partial UNI 3.x signaling
34062 + - added various adapter debugging programs to the distribution
34063 + - new config option CONFIG_ATM_ENI_DEBUG to enable extended debugging
34069 + - upgraded to kernel version 1.3.24
34070 + - changed the distribution directory structure (programs are now in maint/,
34071 + test/, ip/, debug/, and sigd/, see INSTALL)
34072 + - ATM interfaces are no longer named, only numbered. This affects the
34073 + ATM_GETNAMES ioctl, all ioctls using struct atmif_sioc, the usage of atmdiag
34074 + and sonetdiag, and various diagnostic kernel messages.
34075 + - ATM socket state is now recorded in field "flags" (this also replaces the
34076 + SVC fields "released", "registered", and "state")
34077 + - added #ifdef __KERNEL__ to some header files
34078 + - added "int immed" argument to send_oam
34079 + - some minor modifications to the distribution process (mkdist)
34080 + - removed devmap.c
34081 + - SVC sockets no longer hang if the signaling demon dies
34084 +Version 0.2 to 0.3 (8-SEP-1995)
34085 +==================
34090 + - select(2) didn't work (was sleeping on sock->wait instead of
34091 + &ATM_SD(sock)->sleep)
34092 + - ENI driver did allow binding to VPI/VCI already in use
34093 + - ENI driver now properly handles PDUs with CRC errors
34094 + - ENI driver had race condition when discarding PDUs causing new PDUs to be
34095 + shifted in adapter memory by one word (which confused the driver quite a
34097 + - ENI driver now enables VC _after_ setting all pointers (caused crashes if
34098 + data was already coming in while opening VC)
34099 + - various bugs fixes related to SVC sockets
34100 + - fixed GPF (in kernel) when running atmdiag without arguments
34101 + - atmdiag now left-adjusts interface names
34102 + - fixed ttcp.atm crash when not specifying vpi.vci
34103 + - clip_xmit now checks for NULL vcc (e.g. after failure to connect)
34108 + - zatm driver now reads ESI correctly
34109 + - blocking svc_connect is now interruptible
34110 + - atmdump now also displays the numeric PTI value of incoming cells
34111 + - added RX/TX buffer quotas (default is 64 kB)
34112 + - added OAM hooks to device driver interface (but there's no OAM support yet)
34117 + - ENI driver now checks ID field of reassembly buffer descriptors
34118 + - ENI driver now uses vremap
34119 + - ENI driver now prints more useful physical layer type information (e.g.
34120 + "MMF" and "UTP" instead of "UTOPIA")
34121 + - some redesign of the protocol used for signaling between kernel and demon
34122 + - disabled "Grr, servicing VCC twice" message in ENI driver
34123 + - device drivers now have to adapt AAL0 cell header byte order
34124 + - some cleanup in common.c:atm_getsockopt
34125 + - device drivers are now required to use the peek function; protocols now
34129 +Version 0.1 to 0.2 (15-AUG-1995)
34130 +==================
34135 + - VCC family field is now correctly set to protocol family in
34136 + common.c:atm_create (was pvc.c:pvc_create). With protocol set to zero,
34137 + this created all types of strange problems, because the family field
34138 + is used to indicate whether an VCC slot is busy/free.
34139 + - fixed race condition in common.c:atm_read (reader might have blocked
34140 + even if data is ready)
34141 + - fixed dereferencing of uninitialized skb->dev pointer in
34142 + clip.c:atm_push_clip
34143 + - SIOCSIFATMTCP now refuses to attach the same socket twice
34144 + - zatm.c: fixed setting of the VPI/VCI mask
34145 + - USAGE said ttcp uses -B for the bandwidth, but it's -P
34146 + - mkdist didn't include man pages
34151 + - added some /proc/atm functionality
34152 + - added support for ATM_{VPI,VCI}_ANY
34153 + - SIOCSIFATMTCP now returns the interface number and atmtcp(8) prints it
34154 + - wrote atmtcp man page
34155 + - added kernel part of SVC support
34160 + - common.c: only root is now allowed to bind to reserved VCIs
34161 + - Classical IP interfaces are now removed by downing by ifconfig; clip(8)
34162 + returns immediately
34163 + - PVC-connect for non-existing device now returns ENODEV instead of EINVAL
34164 + - new field (type) in struct atm_dev to indicate device type
34165 + - moved getsockopt(SO_CIRANGE) to common.c (removed atmtcp's own version)
34166 + - added ci_range to struct atm_dev (and removed it from atmtcp's private
34168 + - added code to read the ESI to zatm.c (but that code doesn't seem to work
34170 Index: linux-atm-2.4.1/debian/atm-tools-br2684.manpages
34171 ===================================================================
34172 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
34173 +++ linux-atm-2.4.1/debian/atm-tools-br2684.manpages 2007-10-20 19:19:12.574345050 +0200
34175 +debian/tmp/usr/share/man/man8/br2684ctl.8
34176 Index: linux-atm-2.4.1/debian/atm-tools.atm
34177 ===================================================================
34178 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
34179 +++ linux-atm-2.4.1/debian/atm-tools.atm 2007-10-20 19:19:12.582345504 +0200
34182 +# Start/stop the atm daemon(s).
34184 +DAEMON="/sbin/atmarpd"
34186 +test -f $DAEMON || exit 0
34189 +start) echo -n "Starting ATM ARP Daemon: "
34190 + start-stop-daemon --start --quiet --exec $DAEMON -b
34194 +stop) echo -n "Stopping ATM ARP Daemon: "
34195 + start-stop-daemon --stop --quiet --exec $DAEMON
34198 +restart|force-reload) echo -n "Re-starting ATM ARP Daemon: "
34199 + start-stop-daemon --stop --quiet --exec $DAEMON
34200 + start-stop-daemon --start --quiet --exec $DAEMON -b
34204 +*) echo "Usage: /etc/init.d/atm start|stop|restart|force-reload"; exit 1
34208 Index: linux-atm-2.4.1/debian/atm-tools.docs
34209 ===================================================================
34210 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
34211 +++ linux-atm-2.4.1/debian/atm-tools.docs 2007-10-20 19:19:12.582345504 +0200
34216 +debian/README.br2684
34217 Index: linux-atm-2.4.1/debian/control.old
34218 ===================================================================
34219 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
34220 +++ linux-atm-2.4.1/debian/control.old 2007-10-20 19:19:12.598346415 +0200
34224 +Priority: optional
34225 +Maintainer: Peter De Schrijver (p2) <p2@mind.be>
34226 +Build-Depends: debhelper (>> 4.0.0), bison, flex, perl, dpatch, automake1.4
34227 +Standards-Version: 3.6.1
34229 +Package: atm-tools
34231 +Depends: ${shlibs:Depends}
34232 +Description: Base programs for ATM in Linux, the net-tools for ATM
34233 + This package provides all the basic programs needed for setting up,
34234 + monitoring and tuning ATM networks. Such as:
34235 + * atmsigd, an ATM signal daemon that implements the ATM UNI protocol.
34236 + * atmtcp, a tool to setup ATM over TCP connections.
34237 + * atmarpd, an implementation of the ATMARP protocol (RFC1577, RFC1755)
34238 + * zeppelin, an ATM LAN Emulation client daemon
34239 + * les and bus, ATM LAN Emulation service daemons
34241 + Notice that upstream still flags these tools as experimental software and
34242 + says that there is still a number of known bugs and issues. The
34243 + software is, however, in productive use at a number of sites and is
34244 + working reliably.
34246 + Homepage: http://linux-atm.sourceforge.net/
34248 +Package: atm-tools-br2684
34250 +Depends: ${shlibs:Depends}
34251 +Description: br2864ctl - RFC1483/2864 Bridge Daemon for ATM Networks
34252 + br2684ctl handles RFC1483/2684 bridged PDUs. This is most often
34253 + used in ADSL scenarios where usually the subscribers' ethernet
34254 + traffic is encapsulated in ATM AAL5 (by bridging ADSL modems)
34255 + according to RFC2684
34257 + The sources for br2684ctl has been pulled from linux-atm's CVS
34258 + repository. Warning: This is unreleased software that can break any
34259 + time, any place. If it does, you get to keep the pieces. linux-atm's
34260 + upstream flags even the released software as experimental software.
34261 + There is still a number of known bugs and issues.
34264 +Depends: libatm1-dev
34267 +Description: Development files for compiling ATM programs (dummy package)
34268 + This dummy package provides a transition from the previous atm packages.
34269 + It is provided for backwards compatibility only and may be removedafter
34270 + the upgrade has completed or when when no other package depend on it.
34275 +Depends: ${shlibs:Depends}
34276 +Conflicts: atm-tools (<< 2.4.1-6)
34277 +Description: shared library for ATM (Asynchronous Transfer Mode)
34278 + Shared libraries needed by ATM (Asynchronous Transfer Mode) related programs
34280 + Homepage: http://linux-atm.sourceforge.net/
34282 +Package: libatm1-dev
34285 +Depends: libc6-dev, libatm1
34286 +Replaces: atm-dev (<< 2.4.1-7)
34287 +Conflicts: atm-dev (<< 2.4.1-7)
34288 +Provides: libatm-dev
34289 +Description: Development files for compiling ATM programs
34290 + Header files and development libraries for compiling ATM (Asynchronous
34291 + Transfer Mode) related programs.
34293 + Homepage: http://linux-atm.sourceforge.net/
34294 Index: linux-atm-2.4.1/debian/atm-tools.install
34295 ===================================================================
34296 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
34297 +++ linux-atm-2.4.1/debian/atm-tools.install 2007-10-20 19:19:12.618347555 +0200
34299 +debian/tmp/usr/share/man/*
34300 +debian/tmp/usr/bin/*
34301 +debian/tmp/usr/sbin/atmsigd
34302 +debian/tmp/usr/sbin/atmaddr
34303 +debian/tmp/usr/sbin/esi
34304 +debian/tmp/usr/sbin/atmloop
34305 +debian/tmp/usr/sbin/atmtcp
34306 +debian/tmp/usr/sbin/enitune
34307 +debian/tmp/usr/sbin/zntune
34308 +debian/tmp/usr/sbin/atmarp sbin
34309 +debian/tmp/usr/sbin/atmarpd sbin
34310 +debian/tmp/usr/sbin/ilmid
34311 +debian/tmp/usr/sbin/zeppelin
34312 +debian/tmp/usr/sbin/les
34313 +debian/tmp/usr/sbin/bus
34314 +debian/tmp/usr/sbin/lecs
34315 +debian/tmp/usr/sbin/mpcd
34316 +debian/tmp/etc/atmsigd.conf
34317 Index: linux-atm-2.4.1/debian/atm-tools.manpages
34318 ===================================================================
34319 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
34320 +++ linux-atm-2.4.1/debian/atm-tools.manpages 2007-10-20 19:19:12.622347783 +0200
34322 +debian/atm-tools.8
34323 Index: linux-atm-2.4.1/debian/atm-tools.pod
34324 ===================================================================
34325 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
34326 +++ linux-atm-2.4.1/debian/atm-tools.pod 2007-10-20 19:19:12.638348694 +0200
34330 +linux-atm - preliminary manpage
34340 +=head1 DOCUMENTATION
34342 +atm-tools is a package containing the basic tools that are needed for
34343 +setting up, monitoring, and tuning ATM networks. All available
34344 +documentation can be found in /usr/share/doc/atnm-tools in Debian
34345 +systems, and on the Web on: http://linux-atm.sourceforge.net.
34349 +Many. Be prepared to debug.
34353 +This manpage was written by Marc Haber for linux-atm packaging in
34354 +Debian/GNU Operating System.
34355 Index: linux-atm-2.4.1/debian/changelog
34356 ===================================================================
34357 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
34358 +++ linux-atm-2.4.1/debian/changelog 2007-10-20 19:19:12.650349383 +0200
34360 +linux-atm (2.4.1-17) unstable; urgency=low
34362 + * Fix build problem with gcc 4.0 (Closes: )
34364 + -- Peter De Schrijver (p2) <p2@mind.be> Thu, 17 Mar 2005 23:02:03 +0100
34366 +linux-atm (2.4.1-16) unstable; urgency=low
34368 + * Fix build problem with gcc 3.4 (Closes: #259422)
34370 + -- Peter De Schrijver (p2) <p2@mind.be> Thu, 15 Jul 2004 14:28:10 +0200
34372 +linux-atm (2.4.1-15) unstable; urgency=low
34374 + * Updated descriptions (Closes: #239161)
34376 + -- Peter De Schrijver (p2) <p2@mind.be> Sun, 4 Apr 2004 21:10:20 +0200
34378 +linux-atm (2.4.1-14) unstable; urgency=low
34380 + * Fix symlink for /usr/lib/libatm.so (Closes: #221011)
34382 + -- Peter De Schrijver (p2) <p2@mind.be> Sun, 7 Dec 2003 21:53:19 +0100
34384 +linux-atm (2.4.1-13) unstable; urgency=low
34386 + * Previous version fixed #217259, but no changelog entry (Closes: #217259)
34387 + * Previous version fixed #216662, but no changelog entry (Closes: #216662)
34388 + * Added missing build dependency on automake1.4 (Closes: #221120, #221284)
34389 + * New Maintainer (Closes: #206982)
34391 + -- Peter De Schrijver (p2) <p2@mind.be> Mon, 17 Nov 2003 23:03:58 +0100
34393 +linux-atm (2.4.1-12) unstable; urgency=low
34395 + * don't build atm-tools-br2684 by default. Thanks to ftpmaster for
34396 + not allowing the package to be in Debian.
34397 + * Since we don't build atm-tools-br2684 any more, revert back to
34398 + autotools output from 2.4.1-9
34399 + * Add README.br2684 documenting a way to build the package locally.
34401 + -- Marc Haber <mh+debian-packages@zugschlus.de> Wed, 5 Nov 2003 21:31:42 +0000
34403 +linux-atm (2.4.1-11) experimental; urgency=low
34405 + * Build-Depend on dpatch
34406 + * dpatch br2684 header files from later libc for old libc (woody)
34408 + -- Marc Haber <mh+debian-packages@zugschlus.de> Wed, 29 Oct 2003 19:05:07 +0000
34410 +linux-atm (2.4.1-10) experimental; urgency=low
34412 + * add br2684 to package (closes: #216663)
34413 + * autoreconf to actually build br2684
34414 + * have libatm1-dev provide libatm-dev (closes: #216662)
34415 + * move lib symlink to libatm1-dev as well (closes: #217259)
34417 + -- Marc Haber <mh+debian-packages@zugschlus.de> Thu, 23 Oct 2003 17:55:43 +0000
34419 +linux-atm (2.4.1-9) unstable; urgency=low
34421 + * put libatm1-dev in libdevel (closes: #213170)
34422 + * make sure that new descriptions actually make it into the package
34424 + -- Marc Haber <mh+debian-packages@zugschlus.de> Thu, 9 Oct 2003 17:08:10 +0000
34426 +linux-atm (2.4.1-8) unstable; urgency=low
34428 + * build arch-indep package as targets of binary-indep (closes: #212124)
34429 + * use dh_installdocs to install files to libatm1-dev/docs
34430 + * symlink shared lib to usr/bin (closes: #213146)
34431 + * Use better long descriptions. Thanks to Javier (closes: #209427)
34432 + Fernandez-Sanguino (closes: #209612)
34434 + -- Marc Haber <mh+debian-packages@zugschlus.de> Sun, 28 Sep 2003 19:29:08 +0000
34436 +linux-atm (2.4.1-7) unstable; urgency=low
34438 + * libatm1 now conflicts with atm-tools (<< 2.4.1-6) (closes: #208170)
34439 + * armarp now writes output to stdout.
34440 + * add atm-dev as empty transitional package to help upgrades
34442 + -- Marc Haber <mh+debian-packages@zugschlus.de> Tue, 2 Sep 2003 09:20:33 +0000
34444 +linux-atm (2.4.1-6) unstable; urgency=low
34446 + * split off shared libraries to libatm1
34447 + * rename atm-dev to libatm1-dev
34448 + * Standards-Version: 3.6.1
34450 + -- Marc Haber <mh+debian-packages@zugschlus.de> Tue, 26 Aug 2003 15:46:27 +0000
34452 +linux-atm (2.4.1-5) unstable; urgency=low
34454 + * move *.a and *.la to usr/lib (closes: #199506).
34455 + * let atm-dev depend on atm-tools to avoid dangling /lib/libatm.so
34457 + * Standards-Version: 3.5.6
34459 + -- Marc Haber <mh+debian-packages@zugschlus.de> Wed, 30 Jul 2003 11:46:19 +0000
34461 +linux-atm (2.4.1-4) unstable; urgency=low
34463 + * add Build-Depends: on automake1.4
34465 + -- Marc Haber <mh+debian-packages@zugschlus.de> Wed, 11 Jun 2003 16:58:21 +0000
34467 +linux-atm (2.4.1-3) unstable; urgency=low
34469 + * rebuilding libtool broke src/test/Makefile.in. Applied fix to
34470 + Makefile.am and re-built again.
34472 + -- Marc Haber <mh+debian-packages@zugschlus.de> Wed, 11 Jun 2003 11:05:26 +0000
34474 +linux-atm (2.4.1-2) unstable; urgency=low
34476 + * rebuild configure script with new libtool (closes: #196909)
34478 + -- Marc Haber <mh+debian-packages@zugschlus.de> Tue, 10 Jun 2003 21:01:50 +0000
34480 +linux-atm (2.4.1-1) unstable; urgency=low
34482 + * new upstream source
34483 + * remove atmarp and atmarpd from /usr/sbin as they are already in
34484 + /sbin (closes: #196216)
34487 + -- Marc Haber <mh+debian-packages@zugschlus.de> Mon, 9 Jun 2003 16:03:45 +0000
34489 +linux-atm (2.4.0-5) unstable; urgency=low
34491 + * Fix for src/test/Makefile.in to allow building on hppa and ia64
34492 + which the fix introduced to 2.4.0-4 broke. Thanks to Goswin
34494 + * Move init.d priority to that atmarpd is started before network
34495 + interfaces are started.
34496 + * Move atmarpd and libatm to /sbin and /lib to allow atmarpd to be
34497 + started before /usr is mounted.
34498 + * use dh_install instead of dh_movefiles.
34500 + -- Marc Haber <mh+debian-packages@zugschlus.de> Sat, 24 Aug 2002 15:13:48 +0000
34502 +linux-atm (2.4.0-4) unstable; urgency=low
34505 + * Fix for src/test/Makefile.in to allow building on sparc.
34506 + Thanks to Patrick Mauritz. (closes: #144225).
34507 + * added pseudo-manpage for manpage-less binaries.
34508 + * removed rpath by changing configure and make install paramaters
34510 + -- Marc Haber <mh+debian-packages@zugschlus.de> Fri, 16 Aug 2002 20:39:05 +0000
34512 +linux-atm (2.4.0-3) unstable; urgency=HIGH
34514 + * Re-ran libtoolize.
34517 + * Previous version Closes: #135328
34519 + -- Russell Coker <russell@coker.com.au> Fri, 19 Apr 2002 01:55:00 +0200
34521 +linux-atm (2.4.0-2) unstable; urgency=HIGH
34523 + * Put a "grep -v EMAXERRNO" into the build process to deal with mipsel and
34524 + the "#ifdef __KERNEL__" it has in it's /usr/include/asm/errno.h .
34526 + -- Russell Coker <russell@coker.com.au> Thu, 18 Apr 2002 19:56:00 +0200
34528 +linux-atm (2.4.0-1) unstable; urgency=HIGH
34530 + * New upstream version which changes source package name.
34533 + -- Russell Coker <russell@coker.com.au> Mon, 18 Mar 2002 17:42:00 +0100
34535 +atm (0.79-4) unstable; urgency=low
34537 + * Added build-depends on flex.
34540 + * Made the atm tools use a shared object to save space.
34542 + * Fixed the copyright file and put all copyright details in both packages.
34544 + * Added support for easy building with different kernel headers.
34547 + -- Russell Coker <russell@coker.com.au> Sun, 7 Oct 2001 14:11:33 +0200
34549 +atm (0.79-3) unstable; urgency=low
34551 + * Created /etc/init.d/atm to start and stop atmarpd.
34554 + * Added build-depends on bison.
34557 + -- Russell Coker <russell@coker.com.au> Fri, 31 Aug 2001 15:21:44 +0200
34559 +atm (0.79-2) unstable; urgency=low
34561 + * Changed the main package name to atm-tools to indicate that it doesn't
34562 + provide ATM (gotta have the kernel support), it just has the daemons and
34565 + -- Russell Coker <russell@coker.com.au> Sat, 25 Aug 2001 17:55:00 +0200
34567 +atm (0.79-1) unstable; urgency=low
34569 + * Initial Release.
34571 + -- Russell Coker <russell@coker.com.au> Fri, 24 Aug 2001 17:31:00 +0200
34572 Index: linux-atm-2.4.1/debian/checkout-br2684
34573 ===================================================================
34574 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
34575 +++ linux-atm-2.4.1/debian/checkout-br2684 2007-10-20 19:19:12.654349609 +0200
34581 +# check out br2684 from upstream CVS. We need to jump through hoops if
34582 +# the local source package is under cvs control as well.
34584 +CVSDIR=":pserver:anonymous:@cvs.linux-atm.sourceforge.net.:/cvsroot/linux-atm"
34589 +cvs -d${CVSDIR} login
34593 +cvs -z6 -d${CVSDIR} export -d $DIR -r V2_5_0 linux-atm/src/br2684
34597 +mv $TMPDIR/$DIR/* $TARGETDIR/$DIR
34598 +rm -rf $TMPDIR/$DIR
34602 Index: linux-atm-2.4.1/debian/copyright.header
34603 ===================================================================
34604 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
34605 +++ linux-atm-2.4.1/debian/copyright.header 2007-10-20 19:19:12.662350063 +0200
34607 +This package was debianized by Russell Coker <russell@coker.com.au> on
34608 +Fri, 24 Aug 2001 16:11:12 +0200 and is now maintained by Marc Haber
34609 +<mh+debian-packages@zugschlus.de>.
34611 +It was downloaded from http://www.sourceforge.net/projects/linux-atm/
34613 +See also http://linux-atm.sourceforge.net/dist.php
34616 +Werner Almesberger EPFL ICA <Werner.Almesberger@epfl.ch>
34617 +Mitchell Blank Jr. <mitch@sfgoth.com>
34618 +Paul B Schroeder <paulsch@us.ibm.com>
34624 +See /usr/share/common-licenses/GPL-2
34625 Index: linux-atm-2.4.1/debian/libatm1-dev.dirs
34626 ===================================================================
34627 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
34628 +++ linux-atm-2.4.1/debian/libatm1-dev.dirs 2007-10-20 19:19:12.686351432 +0200
34632 Index: linux-atm-2.4.1/debian/libatm1-dev.docs
34633 ===================================================================
34634 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
34635 +++ linux-atm-2.4.1/debian/libatm1-dev.docs 2007-10-20 19:19:12.690351662 +0200
34638 +doc/atm-linux-howto.txt
34639 Index: linux-atm-2.4.1/debian/libatm1-dev.install
34640 ===================================================================
34641 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
34642 +++ linux-atm-2.4.1/debian/libatm1-dev.install 2007-10-20 19:19:12.694351889 +0200
34644 +debian/tmp/usr/include/*
34645 +debian/tmp/usr/lib/*.a usr/lib
34646 Index: linux-atm-2.4.1/debian/libatm1-dev.links
34647 ===================================================================
34648 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
34649 +++ linux-atm-2.4.1/debian/libatm1-dev.links 2007-10-20 19:19:12.706352571 +0200
34651 +lib/libatm.so.1 usr/lib/libatm.so
34652 Index: linux-atm-2.4.1/debian/libatm1.dirs
34653 ===================================================================
34654 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
34655 +++ linux-atm-2.4.1/debian/libatm1.dirs 2007-10-20 19:19:12.734354169 +0200
34658 Index: linux-atm-2.4.1/debian/libatm1.install
34659 ===================================================================
34660 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
34661 +++ linux-atm-2.4.1/debian/libatm1.install 2007-10-20 19:19:12.738354393 +0200
34663 +debian/tmp/usr/lib/libatm.so.* lib