diff options
70 files changed, 7604 insertions, 754 deletions
@@ -2,58 +2,26 @@ # Automatically generated file; DO NOT EDIT. # Build training documents # -CONFIG_BUILD_HANDOUTS=y -CONFIG_SECURITY_VPN=y +# CONFIG_BUILD_HANDOUTS is not set +# CONFIG_BUILD_MASTER_PRES is not set +# CONFIG_SECURITY_VPN is not set CONFIG_BASICS=y CONFIG_APPLICATION_DEVELOPMENT=y CONFIG_DEVEL_SCENARIOS=y CONFIG_DEVEL_BEST_PRACTICES=y -CONFIG_DEBIAN_PACKAGING=y -CONFIG_APPLICATION_DEBUGGING=y -CONFIG_DEVEL_EMBEDDED=y -CONFIG_POSIX_IPC=y +# CONFIG_DEBIAN_PACKAGING is not set +# CONFIG_APPLICATION_DEBUGGING is not set +# CONFIG_DEVEL_EMBEDDED is not set +# CONFIG_POSIX_IPC is not set CONFIG_DEVEL_ENVIRONMENT=y CONFIG_COMPILE_TOOLS=y CONFIG_CROSS_DEVEL=y -CONFIG_ELBE=y -CONFIG_ELBE_DEVEL=y -CONFIG_ELBE_USAGE=y -CONFIG_FLASH=y -CONFIG_UBI=y -CONFIG_MTD=y -CONFIG_FLASH_FILESYSTEM=y -CONFIG_FLASH_TECH=y -CONFIG_FORMS=y -CONFIG_MIDDLEWARE=y -CONFIG_KERNEL=y -CONFIG_KERNEL_CHAR_DEV=y -CONFIG_KERNEL_DRIVER_BASIC=y -CONFIG_KERNEL_BASICS=y -CONFIG_KERNEL_BEST_PRACTICES=y -CONFIG_KERNEL_BUILD=y -CONFIG_KERNEL_DEBUGGING=y -CONFIG_KERNEL_TRACING=y -CONFIG_KERNEL_MM_BASICS=y -CONFIG_KERNEL_MODULES_BASIC=y -CONFIG_KERNEL_UIO=y -CONFIG_LINUX_BASICS=y -CONFIG_LINUX_BOOT_PROCESS_BASIC=y -CONFIG_LINUX_BOOT_PROCESS=y -CONFIG_LINUX_FILESYSTEM_STRUC=y -CONFIG_LINUX_FILESYSTEMS=y -CONFIG_LINUX_FROM_SCRATCH=y -CONFIG_LINUX_IMPORTANT_TOOLS=y -CONFIG_LINUX_LICENSES=y -CONFIG_LINUX_PROCESSES=y -CONFIG_LINUX_NETWORKING=y -CONFIG_LINUX_PACKAGE_MANAGMENT=y -CONFIG_LINUX_SHELL=y -CONFIG_LINUX_UDEV=y -CONFIG_LINUX_LINUX=y -CONFIG_LINUX_XORG=y +# CONFIG_ELBE is not set +# CONFIG_FLASH is not set +# CONFIG_FORMS is not set +# CONFIG_MIDDLEWARE is not set +# CONFIG_KERNEL is not set +# CONFIG_LINUX_BASICS is not set CONFIG_MISC_XML=y -CONFIG_SOCKETCAN=y -CONFIG_REALTIME_MAIN=y -CONFIG_REALTIME_APP_BASICS=y -CONFIG_REALTIME_BASICS=y -CONFIG_REALTIME_SPECIALITIES=y +# CONFIG_SOCKETCAN is not set +# CONFIG_REALTIME_MAIN is not set diff --git a/.config.old b/.config.old index 7feab86..d988747 100644 --- a/.config.old +++ b/.config.old @@ -2,26 +2,17 @@ # Automatically generated file; DO NOT EDIT. # Build training documents # -CONFIG_BUILD_HANDOUTS=y +# CONFIG_BUILD_HANDOUTS is not set +CONFIG_BUILD_MASTER_PRES=y # CONFIG_SECURITY_VPN is not set -# CONFIG_BASICS is not set +CONFIG_BASICS=y # CONFIG_APPLICATION_DEVELOPMENT is not set # CONFIG_ELBE is not set # CONFIG_FLASH is not set # CONFIG_FORMS is not set # CONFIG_MIDDLEWARE is not set -CONFIG_KERNEL=y -CONFIG_KERNEL_CHAR_DEV=y -CONFIG_KERNEL_DRIVER_BASIC=y -CONFIG_KERNEL_BASICS=y -CONFIG_KERNEL_BEST_PRACTICES=y -CONFIG_KERNEL_BUILD=y -CONFIG_KERNEL_DEBUGGING=y -CONFIG_KERNEL_TRACING=y -CONFIG_KERNEL_MM_BASICS=y -CONFIG_KERNEL_MODULES_BASIC=y -CONFIG_KERNEL_UIO=y +# CONFIG_KERNEL is not set # CONFIG_LINUX_BASICS is not set -# CONFIG_MISC_XML is not set +CONFIG_MISC_XML=y # CONFIG_SOCKETCAN is not set # CONFIG_REALTIME_MAIN is not set diff --git a/.modules.mk.swp b/.modules.mk.swp Binary files differnew file mode 100644 index 0000000..8173901 --- /dev/null +++ b/.modules.mk.swp diff --git a/.pres_master.tex.swp b/.pres_master.tex.swp Binary files differnew file mode 100644 index 0000000..e158b5b --- /dev/null +++ b/.pres_master.tex.swp @@ -5,12 +5,23 @@ config BUILD_HANDOUTS help Build papers with or without handouts +config BUILD_MASTER_HANDOUT + bool "Build master handout" + depends on BUILD_HANDOUTS + help + Build one big master handout with all selected topics + +config BUILD_MASTER_PRES + bool "Build master presentation" + help + Build on big master presentation with all selected topics + source "security/vpn/Kconfig" source "basics/cpu-arch/Kconfig" source "application-devel/Kconfig" source "distribution/Kconfig" source "flash-memory/Kconfig" -source "forms/Kconfig" +source "forms/eval/Kconfig" source "frameworks/middleware/Kconfig" source "kernel-devel/Kconfig" source "linux-basics/Kconfig" @@ -23,11 +23,16 @@ KMCONFIG := $(KCONFIG_PATH)/mconf/mconf LATEX_CONFIG := $(TOP_DIR)/config/ +MASTER_PRES := tmp_master_pres.tex +MATSER_HANDOUT := tmp_master_handout.tex + EXCLUDE_PATH := grep -v ./kconfig-frontends | grep -v ./kernel-devel/module-basics/vain | grep -v ./kernel-devel/module-basics/vain_pci | grep -v ./kernel-devel/module-basics/vain_plat # Sesrch for all folders with Makfile MAKE_FILES = $(shell find . -mindepth 2 -name Makefile | $(EXCLUDE_PATH)) PATHS = $(dir $(MAKE_FILES)) +FIRST_FOLDER_LEVEL := $(shell find . -maxdepth 1 -type d | $(EXCLUDE_PATH)) + export build: @@ -35,6 +40,9 @@ build: for dir in $(PATHS) ; do \ ($(MAKE) -C $$dir -f $(CURDIR)/modules.mk $@ ); \ done +ifeq ($(CONFIG_BUILD_MASTER_PRES),y) + ($(MAKE) -C ./ -f Makefile build_master_pres ); +endif menuconfig: $(KMCONFIG) Kconfig @@ -62,4 +70,19 @@ mrproper distclean: ($(MAKE) -C $$dir -f $(CURDIR)/modules.mk clean ); \ done +build_master_pres: + @echo "Build masterpres with:"$(obj-y) + `echo "\input{configmasterpres}" > $(MASTER_PRES)` + for dir in $(PATHS) ; do \ + ($(MAKE) -C $$dir -f $(CURDIR)/modules.mk build_master_pres ); \ + done + `echo "\input{tailmasterpres}" >> $(MASTER_PRES)` + $(BUILD) $(MASTER_PRES) + cp $(subst .tex,.pdf,$(MASTER_PRES)) $(DEPLOY)/ + +build_master_handout: + @echo "Build matser handout"$(obj-handout-y) + + + .PHONY: config oldconfig menuconfig build clean mrproper distclean diff --git a/forms/Kconfig b/forms/eval/Kconfig index c117dbe..c117dbe 100644 --- a/forms/Kconfig +++ b/forms/eval/Kconfig diff --git a/forms/Makefile b/forms/eval/Makefile index bd67e2b..bd67e2b 100644 --- a/forms/Makefile +++ b/forms/eval/Makefile diff --git a/forms/evalsheet_en.tex b/forms/eval/evalsheet_en.tex index 068d092..068d092 100644 --- a/forms/evalsheet_en.tex +++ b/forms/eval/evalsheet_en.tex diff --git a/forms/section.tex b/forms/section.tex new file mode 100644 index 0000000..cd3fc7f --- /dev/null +++ b/forms/section.tex @@ -0,0 +1 @@ +\section{Evaluation} diff --git a/kconfig-frontends/Makefile b/kconfig-frontends/Makefile index 52245b8..a5c91a5 100644 --- a/kconfig-frontends/Makefile +++ b/kconfig-frontends/Makefile @@ -146,15 +146,15 @@ distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print -ACLOCAL = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 +ACLOCAL = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 AMTAR = $${TAR-tar} AM_DEFAULT_VERBOSITY = 0 AM_LFLAGS = -L -P zconf AM_YFLAGS = -t -l -p zconf AR = ar -AUTOCONF = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf -AUTOHEADER = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader -AUTOMAKE = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 +AUTOCONF = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf +AUTOHEADER = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader +AUTOMAKE = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 @@ -184,7 +184,7 @@ INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -KCONFIGPARSER_LIB_VERSION = 3.9.0 +KCONFIGPARSER_LIB_VERSION = LD = /usr/bin/ld -m elf_x86_64 LDFLAGS = LEX = flex @@ -196,10 +196,10 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool LIPO = LN_S = ln -s LTLIBOBJS = -MAKEINFO = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo +MAKEINFO = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo MANIFEST_TOOL = : MKDIR_P = /bin/mkdir -p -MOC = +MOC = /usr/bin/moc-qt4 NM = /usr/bin/nm -B NMEDIT = OBJDUMP = objdump @@ -209,10 +209,10 @@ OTOOL64 = PACKAGE = kconfig-frontends PACKAGE_BUGREPORT = yann.morin.1998@free.fr PACKAGE_NAME = kconfig-frontends -PACKAGE_STRING = kconfig-frontends 3.9.0.0 +PACKAGE_STRING = kconfig-frontends PACKAGE_TARNAME = kconfig-frontends PACKAGE_URL = -PACKAGE_VERSION = 3.9.0.0 +PACKAGE_VERSION = PATH_SEPARATOR = : PKG_CONFIG = /usr/bin/pkg-config PKG_CONFIG_LIBDIR = @@ -220,16 +220,16 @@ PKG_CONFIG_PATH = RANLIB = ranlib SED = /bin/sed SET_MAKE = -SHELL = /bin/sh +SHELL = /bin/bash SILENT_MAKEFLAGS = --no-print-directory -s STRIP = strip -VERSION = 3.9.0.0 +VERSION = YACC = bison -y YFLAGS = -abs_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends -abs_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends -abs_top_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends -abs_top_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends +abs_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends +abs_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends +abs_top_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends +abs_top_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ @@ -255,15 +255,15 @@ dvidir = ${docdir} enable_L10n = yes enable_conf = yes enable_frontends = -enable_gconf = yes +enable_gconf = no enable_mconf = yes enable_nconf = yes -enable_qconf = no +enable_qconf = yes enable_utils = yes exec_prefix = ${prefix} gconf_EXTRA_LIBS = -gtk_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -gtk_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +gtk_CFLAGS = +gtk_LIBS = host = x86_64-unknown-linux-gnu host_alias = host_cpu = x86_64 @@ -272,7 +272,7 @@ host_vendor = unknown htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh +install_sh = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh intl_CPPFLAGS = intl_LIBS = kf_CFLAGS = -Wall @@ -284,18 +284,18 @@ mandir = ${datarootdir}/man mconf_EXTRA_LIBS = mkdir_p = /bin/mkdir -p nconf_EXTRA_LIBS = -ncurses_LIBS = -lncursesw -ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncursesw/curses.h\" -DNCURSES_WIDECHAR=1 -ncurses_nconf_CPPFLAGS = -I/usr/include/ncursesw -ncurses_panel_menu_LIBS = -lmenuw -lpanelw +ncurses_LIBS = -lncurses +ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncurses.h\" +ncurses_nconf_CPPFLAGS = +ncurses_panel_menu_LIBS = -lmenu -lpanel oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local program_transform_name = s&^&kconfig-& psdir = ${docdir} qconf_EXTRA_LIBS = -qt4_CFLAGS = -qt4_LIBS = +qt4_CFLAGS = -DQT_SHARED -DQT3_SUPPORT -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSql +qt4_LIBS = -lQt3Support -lQtGui -lQtNetwork -lQtSql -lQtCore root_menu = Configuration sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com diff --git a/kconfig-frontends/autom4te.cache/output.1 b/kconfig-frontends/autom4te.cache/output.1 index 3e484c2..b95c2fa 100644 --- a/kconfig-frontends/autom4te.cache/output.1 +++ b/kconfig-frontends/autom4te.cache/output.1 @@ -1,6 +1,6 @@ @%:@! /bin/sh @%:@ Guess values for system-dependent variables and create Makefiles. -@%:@ Generated by GNU Autoconf 2.69 for kconfig-frontends 3.9.0.0. +@%:@ Generated by GNU Autoconf 2.69 for kconfig-frontends . @%:@ @%:@ Report bugs to <yann.morin.1998@free.fr>. @%:@ @@ -590,8 +590,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='kconfig-frontends' PACKAGE_TARNAME='kconfig-frontends' -PACKAGE_VERSION='3.9.0.0' -PACKAGE_STRING='kconfig-frontends 3.9.0.0' +PACKAGE_VERSION='' +PACKAGE_STRING='kconfig-frontends ' PACKAGE_BUGREPORT='yann.morin.1998@free.fr' PACKAGE_URL='' @@ -1408,7 +1408,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures kconfig-frontends 3.9.0.0 to adapt to many kinds of systems. +\`configure' configures kconfig-frontends to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1479,7 +1479,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of kconfig-frontends 3.9.0.0:";; + short | recursive ) echo "Configuration of kconfig-frontends :";; esac cat <<\_ACEOF @@ -1630,7 +1630,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -kconfig-frontends configure 3.9.0.0 +kconfig-frontends configure generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2166,7 +2166,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by kconfig-frontends $as_me 3.9.0.0, which was +It was created by kconfig-frontends $as_me , which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2998,7 +2998,7 @@ fi # Define the identity of the package. PACKAGE='kconfig-frontends' - VERSION='3.9.0.0' + VERSION='' cat >>confdefs.h <<_ACEOF @@ -17637,7 +17637,7 @@ fi #---------------------------------------- # Get the version to apply to the parser shared library -KCONFIGPARSER_LIB_VERSION=3.9.0 +KCONFIGPARSER_LIB_VERSION= #---------------------------------------- @@ -18210,7 +18210,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by kconfig-frontends $as_me 3.9.0.0, which was +This file was extended by kconfig-frontends $as_me , which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -18276,7 +18276,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -kconfig-frontends config.status 3.9.0.0 +kconfig-frontends config.status configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/kconfig-frontends/autom4te.cache/requests b/kconfig-frontends/autom4te.cache/requests index 06fe73a..efb8608 100644 --- a/kconfig-frontends/autom4te.cache/requests +++ b/kconfig-frontends/autom4te.cache/requests @@ -58,8 +58,8 @@ '_m4_warn' => 1, 'AC_LIBTOOL_OBJDIR' => 1, 'gl_FUNC_ARGZ' => 1, - 'AM_SANITY_CHECK' => 1, 'LTOBSOLETE_VERSION' => 1, + 'AM_SANITY_CHECK' => 1, 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1, 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1, 'LT_LIB_M' => 1, @@ -73,19 +73,19 @@ '_LT_WITH_SYSROOT' => 1, 'LT_FUNC_DLSYM_USCORE' => 1, 'LT_SYS_DLOPEN_DEPLIBS' => 1, - 'AC_LIBTOOL_CONFIG' => 1, '_LT_AC_LANG_F77' => 1, - '_AM_SUBST_NOTMAKE' => 1, + 'AC_LIBTOOL_CONFIG' => 1, 'AC_LTDL_DLLIB' => 1, + '_AM_SUBST_NOTMAKE' => 1, '_AM_AUTOCONF_VERSION' => 1, 'AM_DISABLE_SHARED' => 1, '_LT_PROG_ECHO_BACKSLASH' => 1, '_LTDL_SETUP' => 1, - '_LT_AC_LANG_CXX' => 1, 'AM_PROG_LIBTOOL' => 1, - 'AC_LIB_LTDL' => 1, - '_LT_AC_FILE_LTDLL_C' => 1, + '_LT_AC_LANG_CXX' => 1, 'AM_PROG_LD' => 1, + '_LT_AC_FILE_LTDLL_C' => 1, + 'AC_LIB_LTDL' => 1, 'AU_DEFUN' => 1, 'AC_PROG_NM' => 1, 'AC_LIBTOOL_DLOPEN' => 1, @@ -110,35 +110,35 @@ 'AC_LTDL_OBJDIR' => 1, '_LT_PATH_TOOL_PREFIX' => 1, 'AC_LIBTOOL_RC' => 1, - 'AM_SILENT_RULES' => 1, - 'AC_DISABLE_FAST_INSTALL' => 1, '_LT_AC_PROG_ECHO_BACKSLASH' => 1, - '_LT_AC_SYS_LIBPATH_AIX' => 1, - '_LT_AC_TRY_DLOPEN_SELF' => 1, + 'AC_DISABLE_FAST_INSTALL' => 1, + 'AM_SILENT_RULES' => 1, 'include' => 1, + '_LT_AC_TRY_DLOPEN_SELF' => 1, + '_LT_AC_SYS_LIBPATH_AIX' => 1, 'LT_AC_PROG_SED' => 1, 'AM_ENABLE_SHARED' => 1, - 'LTDL_INSTALLABLE' => 1, 'AM_PROG_AR' => 1, + 'LTDL_INSTALLABLE' => 1, '_LT_AC_LANG_GCJ_CONFIG' => 1, 'AC_ENABLE_SHARED' => 1, - 'AC_ENABLE_STATIC' => 1, - 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1, '_LT_REQUIRED_DARWIN_CHECKS' => 1, - '_LT_AC_TAGVAR' => 1, + 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1, + 'AC_ENABLE_STATIC' => 1, 'AM_PROG_CC_C_O' => 1, + '_LT_AC_TAGVAR' => 1, 'AC_LIBTOOL_LANG_F77_CONFIG' => 1, 'AM_CONDITIONAL' => 1, 'LT_LIB_DLLOAD' => 1, - 'LTDL_INIT' => 1, - '_LT_PROG_F77' => 1, - '_LT_PROG_CXX' => 1, 'LTVERSION_VERSION' => 1, - 'AM_PROG_INSTALL_SH' => 1, + '_LT_PROG_CXX' => 1, + '_LT_PROG_F77' => 1, + 'LTDL_INIT' => 1, 'm4_include' => 1, + 'AM_PROG_INSTALL_SH' => 1, 'AC_PROG_EGREP' => 1, - '_AC_AM_CONFIG_HEADER_HOOK' => 1, 'AC_PATH_MAGIC' => 1, + '_AC_AM_CONFIG_HEADER_HOOK' => 1, 'AC_LTDL_SYSSEARCHPATH' => 1, 'AM_MAKE_INCLUDE' => 1, 'LT_CMD_MAX_LEN' => 1, @@ -174,11 +174,11 @@ '_AC_PROG_LIBTOOL' => 1, '_AM_IF_OPTION' => 1, 'AC_PATH_TOOL_PREFIX' => 1, - 'AC_LIBTOOL_F77' => 1, 'm4_pattern_allow' => 1, + 'AC_LIBTOOL_F77' => 1, 'AM_SET_LEADING_DOT' => 1, - 'LT_AC_PROG_EGREP' => 1, '_LT_PROG_FC' => 1, + 'LT_AC_PROG_EGREP' => 1, '_AM_DEPENDENCIES' => 1, 'AC_LIBTOOL_LANG_C_CONFIG' => 1, 'LTOPTIONS_VERSION' => 1, @@ -187,11 +187,11 @@ 'PKG_CHECK_MODULES' => 1, 'AC_LIBLTDL_CONVENIENCE' => 1, 'AC_DEPLIBS_CHECK_METHOD' => 1, - 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, 'AC_LIBLTDL_INSTALLABLE' => 1, + 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, 'AC_LTDL_ENABLE_INSTALL' => 1, - 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1, 'LT_PROG_GCJ' => 1, + 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1, 'AM_INIT_AUTOMAKE' => 1, 'AC_DISABLE_STATIC' => 1, 'LT_PATH_NM' => 1, @@ -200,28 +200,28 @@ '_LT_AC_LANG_RC_CONFIG' => 1, 'LT_PROG_GO' => 1, 'LT_SYS_MODULE_PATH' => 1, - 'AC_LIBTOOL_POSTDEP_PREDEP' => 1, 'LT_WITH_LTDL' => 1, + 'AC_LIBTOOL_POSTDEP_PREDEP' => 1, 'AC_LTDL_SHLIBPATH' => 1, 'AM_AUX_DIR_EXPAND' => 1, - '_LT_AC_LANG_F77_CONFIG' => 1, 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1, - '_AM_SET_OPTIONS' => 1, + '_LT_AC_LANG_F77_CONFIG' => 1, '_LT_COMPILER_OPTION' => 1, - '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, + '_AM_SET_OPTIONS' => 1, 'AM_RUN_LOG' => 1, - 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1, - 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1, + '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, 'AC_LIBTOOL_PICMODE' => 1, - 'LT_PATH_LD' => 1, + 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1, + 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1, 'AC_CHECK_LIBM' => 1, + 'LT_PATH_LD' => 1, 'AC_LIBTOOL_SYS_LIB_STRIP' => 1, '_AM_MANGLE_OPTION' => 1, - 'AC_LTDL_SYMBOL_USCORE' => 1, 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1, + 'AC_LTDL_SYMBOL_USCORE' => 1, 'AM_SET_DEPDIR' => 1, - '_LT_CC_BASENAME' => 1, 'PKG_PROG_PKG_CONFIG' => 1, + '_LT_CC_BASENAME' => 1, '_LT_LIBOBJ' => 1 } ], 'Autom4te::Request' ), @@ -237,57 +237,57 @@ 'configure.ac' ], { - 'AM_PROG_F77_C_O' => 1, '_LT_AC_TAGCONFIG' => 1, - 'm4_pattern_forbid' => 1, + 'AM_PROG_F77_C_O' => 1, 'AC_INIT' => 1, - '_AM_COND_IF' => 1, + 'm4_pattern_forbid' => 1, 'AC_CANONICAL_TARGET' => 1, - 'AC_SUBST' => 1, + '_AM_COND_IF' => 1, 'AC_CONFIG_LIBOBJ_DIR' => 1, - 'AC_FC_SRCEXT' => 1, + 'AC_SUBST' => 1, 'AC_CANONICAL_HOST' => 1, + 'AC_FC_SRCEXT' => 1, 'AC_PROG_LIBTOOL' => 1, 'AM_INIT_AUTOMAKE' => 1, - 'AM_PATH_GUILE' => 1, 'AC_CONFIG_SUBDIRS' => 1, + 'AM_PATH_GUILE' => 1, 'AM_AUTOMAKE_VERSION' => 1, 'LT_CONFIG_LTDL_DIR' => 1, - 'AC_CONFIG_LINKS' => 1, 'AC_REQUIRE_AUX_FILE' => 1, - 'm4_sinclude' => 1, + 'AC_CONFIG_LINKS' => 1, 'LT_SUPPORTED_TAG' => 1, + 'm4_sinclude' => 1, 'AM_MAINTAINER_MODE' => 1, 'AM_NLS' => 1, 'AC_FC_PP_DEFINE' => 1, 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, - 'AM_MAKEFILE_INCLUDE' => 1, '_m4_warn' => 1, + 'AM_MAKEFILE_INCLUDE' => 1, 'AM_PROG_CXX_C_O' => 1, - '_AM_MAKEFILE_INCLUDE' => 1, '_AM_COND_ENDIF' => 1, + '_AM_MAKEFILE_INCLUDE' => 1, 'AM_ENABLE_MULTILIB' => 1, 'AM_PROG_MOC' => 1, 'AM_SILENT_RULES' => 1, 'AC_CONFIG_FILES' => 1, - 'LT_INIT' => 1, 'include' => 1, - 'AM_GNU_GETTEXT' => 1, + 'LT_INIT' => 1, 'AM_PROG_AR' => 1, + 'AM_GNU_GETTEXT' => 1, 'AC_LIBSOURCE' => 1, - 'AM_PROG_FC_C_O' => 1, 'AC_CANONICAL_BUILD' => 1, + 'AM_PROG_FC_C_O' => 1, 'AC_FC_FREEFORM' => 1, - 'AH_OUTPUT' => 1, 'AC_FC_PP_SRCEXT' => 1, - 'AC_CONFIG_AUX_DIR' => 1, + 'AH_OUTPUT' => 1, '_AM_SUBST_NOTMAKE' => 1, - 'm4_pattern_allow' => 1, - 'sinclude' => 1, + 'AC_CONFIG_AUX_DIR' => 1, 'AM_PROG_CC_C_O' => 1, - 'AM_XGETTEXT_OPTION' => 1, - 'AC_CANONICAL_SYSTEM' => 1, + 'sinclude' => 1, + 'm4_pattern_allow' => 1, 'AM_CONDITIONAL' => 1, + 'AC_CANONICAL_SYSTEM' => 1, + 'AM_XGETTEXT_OPTION' => 1, 'AC_CONFIG_HEADERS' => 1, 'AC_DEFINE_TRACE_LITERAL' => 1, 'AM_POT_TOOLS' => 1, diff --git a/kconfig-frontends/config.status b/kconfig-frontends/config.status index c1badee..e5895c0 100644..100755 --- a/kconfig-frontends/config.status +++ b/kconfig-frontends/config.status @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # Generated by configure. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging @@ -8,7 +8,7 @@ debug=false ac_cs_recheck=false ac_cs_silent=false -SHELL=${CONFIG_SHELL-/bin/sh} +SHELL=${CONFIG_SHELL-/bin/bash} export SHELL ## -------------------- ## ## M4sh Initialization. ## @@ -380,7 +380,7 @@ exec 6>&1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by kconfig-frontends $as_me 3.9.0.0, which was +This file was extended by kconfig-frontends $as_me , which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -429,7 +429,7 @@ Report bugs to <yann.morin.1998@free.fr>." ac_cs_config="" ac_cs_version="\ -kconfig-frontends config.status 3.9.0.0 +kconfig-frontends config.status configured by ./configure, generated by GNU Autoconf 2.69, with options \"$ac_cs_config\" @@ -437,7 +437,7 @@ Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." -ac_pwd='/home/epplerc/schulungsunterlagen/schulung/kconfig-frontends' +ac_pwd='/home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends' srcdir='.' INSTALL='/usr/bin/install -c' MKDIR_P='/bin/mkdir -p' @@ -519,10 +519,10 @@ if $ac_cs_silent; then fi if $ac_cs_recheck; then - set X /bin/sh './configure' $ac_configure_extra_args --no-create --no-recursion + set X /bin/bash './configure' $ac_configure_extra_args --no-create --no-recursion shift - $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 - CONFIG_SHELL='/bin/sh' + $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6 + CONFIG_SHELL='/bin/bash' export CONFIG_SHELL exec "$@" fi @@ -555,7 +555,7 @@ enable_static='no' enable_shared='yes' pic_mode='default' enable_fast_install='yes' -SHELL='/bin/sh' +SHELL='/bin/bash' ECHO='printf %s\n' PATH_SEPARATOR=':' host_alias='' @@ -572,7 +572,7 @@ FGREP='/bin/grep -F' LD='/usr/bin/ld -m elf_x86_64' NM='/usr/bin/nm -B' LN_S='ln -s' -max_cmd_len='3458764513820540925' +max_cmd_len='1572864' ac_objext='o' exeext='' lt_unset='unset' @@ -674,8 +674,8 @@ postuninstall_cmds='' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' finish_eval='' hardcode_into_libs='yes' -sys_lib_search_path_spec='/usr/lib/gcc/x86_64-linux-gnu/4.7 /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib ' -sys_lib_dlsearch_path_spec='/lib /usr/lib /lib/arm-linux-gnueabi /usr/lib/arm-linux-gnueabi /lib/arm-linux-gnueabihf /usr/lib/arm-linux-gnueabihf /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /lib32 /usr/lib32 /libx32 /usr/libx32 ' +sys_lib_search_path_spec='/usr/lib/gcc/x86_64-linux-gnu/4.4.7 /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib ' +sys_lib_dlsearch_path_spec='/lib /usr/lib /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /lib32 /usr/lib32 ' hardcode_action='immediate' enable_dlopen='unknown' enable_dlopen_self='unknown' @@ -730,12 +730,12 @@ prelink_cmds_CXX='' postlink_cmds_CXX='' file_list_spec_CXX='' hardcode_action_CXX='immediate' -compiler_lib_search_dirs_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.7 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /usr/lib/gcc/x86_64-linux-gnu/4.7/../../..' -predep_objects_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbeginS.o' -postdep_objects_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o' +compiler_lib_search_dirs_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.4.7 /usr/lib/gcc/x86_64-linux-gnu/4.4.7 /usr/lib/gcc/x86_64-linux-gnu/4.4.7/../../../x86_64-linux-gnu /usr/lib/gcc/x86_64-linux-gnu/4.4.7/../../../../lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /usr/lib/gcc/x86_64-linux-gnu/4.4.7/../../..' +predep_objects_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.4.7/crtbeginS.o' +postdep_objects_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.4.7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.4.7/../../../x86_64-linux-gnu/crtn.o' predeps_CXX='' postdeps_CXX='-lstdc++ -lm -lgcc_s -lc -lgcc_s' -compiler_lib_search_path_CXX='-L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..' +compiler_lib_search_path_CXX='-L/usr/lib/gcc/x86_64-linux-gnu/4.4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.4.7/../../..' LTCC='gcc' LTCFLAGS='-g -O2' @@ -785,7 +785,7 @@ fi PACKAGE='kconfig-frontends' - VERSION='3.9.0.0' + VERSION='' TIMESTAMP='' RM='rm -f' ofile='libtool' @@ -886,7 +886,7 @@ S["am__EXEEXT_FALSE"]="" S["am__EXEEXT_TRUE"]="#" S["LTLIBOBJS"]="" S["LIBOBJS"]="" -S["KCONFIGPARSER_LIB_VERSION"]="3.9.0" +S["KCONFIGPARSER_LIB_VERSION"]="" S["COND_utils_gettext_FALSE"]="#" S["COND_utils_gettext_TRUE"]="" S["COND_utils_FALSE"]="#" @@ -895,10 +895,10 @@ S["COND_images_FALSE"]="#" S["COND_images_TRUE"]="" S["COND_lxdialog_FALSE"]="#" S["COND_lxdialog_TRUE"]="" -S["COND_qconf_FALSE"]="" -S["COND_qconf_TRUE"]="#" -S["COND_gconf_FALSE"]="#" -S["COND_gconf_TRUE"]="" +S["COND_qconf_FALSE"]="#" +S["COND_qconf_TRUE"]="" +S["COND_gconf_FALSE"]="" +S["COND_gconf_TRUE"]="#" S["COND_nconf_FALSE"]="#" S["COND_nconf_TRUE"]="" S["COND_mconf_FALSE"]="#" @@ -910,18 +910,16 @@ S["nconf_EXTRA_LIBS"]="" S["mconf_EXTRA_LIBS"]="" S["gconf_EXTRA_LIBS"]="" S["conf_EXTRA_LIBS"]="" -S["MOC"]="" -S["qt4_LIBS"]="" -S["qt4_CFLAGS"]="" -S["gtk_LIBS"]="-Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 "\ -"-lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 " -S["gtk_CFLAGS"]="-pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2."\ -"0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1"\ -" -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libxml2 -I/usr/include/libglade-2.0 " -S["ncurses_panel_menu_LIBS"]="-lmenuw -lpanelw " -S["ncurses_nconf_CPPFLAGS"]="-I/usr/include/ncursesw" -S["ncurses_LIBS"]="-lncursesw " -S["ncurses_mconf_CPPFLAGS"]="-DCURSES_LOC=\\\"ncursesw/curses.h\\\" -DNCURSES_WIDECHAR=1" +S["MOC"]="/usr/bin/moc-qt4" +S["qt4_LIBS"]="-lQt3Support -lQtGui -lQtNetwork -lQtSql -lQtCore " +S["qt4_CFLAGS"]="-DQT_SHARED -DQT3_SUPPORT -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtN"\ +"etwork -I/usr/include/qt4/QtSql " +S["gtk_LIBS"]="" +S["gtk_CFLAGS"]="" +S["ncurses_panel_menu_LIBS"]="-lmenu -lpanel " +S["ncurses_nconf_CPPFLAGS"]="" +S["ncurses_LIBS"]="-lncurses " +S["ncurses_mconf_CPPFLAGS"]="-DCURSES_LOC=\\\"ncurses.h\\\"" S["intl_LIBS"]="" S["intl_CPPFLAGS"]="" S["AM_YFLAGS"]="-t -l -p zconf" @@ -944,8 +942,8 @@ S["CXXFLAGS"]="-g -O2" S["CXX"]="g++" S["kf_CFLAGS"]="-Wall " S["enable_frontends"]="" -S["enable_qconf"]="no" -S["enable_gconf"]="yes" +S["enable_qconf"]="yes" +S["enable_gconf"]="no" S["enable_nconf"]="yes" S["enable_mconf"]="yes" S["enable_conf"]="yes" @@ -1017,13 +1015,13 @@ S["mkdir_p"]="/bin/mkdir -p" S["MKDIR_P"]="/bin/mkdir -p" S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" S["STRIP"]="strip" -S["install_sh"]="${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh" -S["MAKEINFO"]="${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo" -S["AUTOHEADER"]="${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader" -S["AUTOMAKE"]="${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11" -S["AUTOCONF"]="${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf" -S["ACLOCAL"]="${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11" -S["VERSION"]="3.9.0.0" +S["install_sh"]="${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh" +S["MAKEINFO"]="${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo" +S["AUTOHEADER"]="${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader" +S["AUTOMAKE"]="${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11" +S["AUTOCONF"]="${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf" +S["ACLOCAL"]="${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11" +S["VERSION"]="" S["PACKAGE"]="kconfig-frontends" S["CYGPATH_W"]="echo" S["am__isrc"]="" @@ -1062,12 +1060,12 @@ S["prefix"]="/usr/local" S["exec_prefix"]="${prefix}" S["PACKAGE_URL"]="" S["PACKAGE_BUGREPORT"]="yann.morin.1998@free.fr" -S["PACKAGE_STRING"]="kconfig-frontends 3.9.0.0" -S["PACKAGE_VERSION"]="3.9.0.0" +S["PACKAGE_STRING"]="kconfig-frontends " +S["PACKAGE_VERSION"]="" S["PACKAGE_TARNAME"]="kconfig-frontends" S["PACKAGE_NAME"]="kconfig-frontends" S["PATH_SEPARATOR"]=":" -S["SHELL"]="/bin/sh" +S["SHELL"]="/bin/bash" _ACAWK cat >>"$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 @@ -1111,12 +1109,12 @@ cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { D["PACKAGE_NAME"]=" \"kconfig-frontends\"" D["PACKAGE_TARNAME"]=" \"kconfig-frontends\"" -D["PACKAGE_VERSION"]=" \"3.9.0.0\"" -D["PACKAGE_STRING"]=" \"kconfig-frontends 3.9.0.0\"" +D["PACKAGE_VERSION"]=" \"\"" +D["PACKAGE_STRING"]=" \"kconfig-frontends \"" D["PACKAGE_BUGREPORT"]=" \"yann.morin.1998@free.fr\"" D["PACKAGE_URL"]=" \"\"" D["PACKAGE"]=" \"kconfig-frontends\"" -D["VERSION"]=" \"3.9.0.0\"" +D["VERSION"]=" \"\"" D["STDC_HEADERS"]=" 1" D["HAVE_SYS_TYPES_H"]=" 1" D["HAVE_SYS_STAT_H"]=" 1" @@ -1131,7 +1129,7 @@ D["HAVE_DLFCN_H"]=" 1" D["LT_OBJDIR"]=" \".libs/\"" D["YYTEXT_POINTER"]=" 1" D["HAVE_LIBINTL_H"]=" 1" -D["HAVE_NCURSESW_CURSES_H"]=" 1" +D["HAVE_NCURSES_H"]=" 1" for (key in D) D_is_set[key] = 1 FS = "" } diff --git a/kconfig-frontends/configure b/kconfig-frontends/configure index fb0ac14..342c66c 100644..100755 --- a/kconfig-frontends/configure +++ b/kconfig-frontends/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for kconfig-frontends 3.9.0.0. +# Generated by GNU Autoconf 2.69 for kconfig-frontends . # # Report bugs to <yann.morin.1998@free.fr>. # @@ -590,8 +590,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='kconfig-frontends' PACKAGE_TARNAME='kconfig-frontends' -PACKAGE_VERSION='3.9.0.0' -PACKAGE_STRING='kconfig-frontends 3.9.0.0' +PACKAGE_VERSION='' +PACKAGE_STRING='kconfig-frontends ' PACKAGE_BUGREPORT='yann.morin.1998@free.fr' PACKAGE_URL='' @@ -1408,7 +1408,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures kconfig-frontends 3.9.0.0 to adapt to many kinds of systems. +\`configure' configures kconfig-frontends to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1479,7 +1479,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of kconfig-frontends 3.9.0.0:";; + short | recursive ) echo "Configuration of kconfig-frontends :";; esac cat <<\_ACEOF @@ -1630,7 +1630,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -kconfig-frontends configure 3.9.0.0 +kconfig-frontends configure generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2166,7 +2166,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by kconfig-frontends $as_me 3.9.0.0, which was +It was created by kconfig-frontends $as_me , which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2998,7 +2998,7 @@ fi # Define the identity of the package. PACKAGE='kconfig-frontends' - VERSION='3.9.0.0' + VERSION='' cat >>confdefs.h <<_ACEOF @@ -17637,7 +17637,7 @@ fi #---------------------------------------- # Get the version to apply to the parser shared library -KCONFIGPARSER_LIB_VERSION=3.9.0 +KCONFIGPARSER_LIB_VERSION= #---------------------------------------- @@ -18210,7 +18210,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by kconfig-frontends $as_me 3.9.0.0, which was +This file was extended by kconfig-frontends $as_me , which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -18276,7 +18276,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -kconfig-frontends config.status 3.9.0.0 +kconfig-frontends config.status configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/kconfig-frontends/docs/Makefile b/kconfig-frontends/docs/Makefile index 849545b..c259997 100644 --- a/kconfig-frontends/docs/Makefile +++ b/kconfig-frontends/docs/Makefile @@ -110,15 +110,15 @@ am__uninstall_files_from_dir = { \ am__installdirs = "$(DESTDIR)$(docdir)" DATA = $(dist_doc_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 +ACLOCAL = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 AMTAR = $${TAR-tar} AM_DEFAULT_VERBOSITY = 0 AM_LFLAGS = -L -P zconf AM_YFLAGS = -t -l -p zconf AR = ar -AUTOCONF = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf -AUTOHEADER = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader -AUTOMAKE = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 +AUTOCONF = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf +AUTOHEADER = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader +AUTOMAKE = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 @@ -148,7 +148,7 @@ INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -KCONFIGPARSER_LIB_VERSION = 3.9.0 +KCONFIGPARSER_LIB_VERSION = LD = /usr/bin/ld -m elf_x86_64 LDFLAGS = LEX = flex @@ -160,10 +160,10 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool LIPO = LN_S = ln -s LTLIBOBJS = -MAKEINFO = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo +MAKEINFO = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo MANIFEST_TOOL = : MKDIR_P = /bin/mkdir -p -MOC = +MOC = /usr/bin/moc-qt4 NM = /usr/bin/nm -B NMEDIT = OBJDUMP = objdump @@ -173,10 +173,10 @@ OTOOL64 = PACKAGE = kconfig-frontends PACKAGE_BUGREPORT = yann.morin.1998@free.fr PACKAGE_NAME = kconfig-frontends -PACKAGE_STRING = kconfig-frontends 3.9.0.0 +PACKAGE_STRING = kconfig-frontends PACKAGE_TARNAME = kconfig-frontends PACKAGE_URL = -PACKAGE_VERSION = 3.9.0.0 +PACKAGE_VERSION = PATH_SEPARATOR = : PKG_CONFIG = /usr/bin/pkg-config PKG_CONFIG_LIBDIR = @@ -184,16 +184,16 @@ PKG_CONFIG_PATH = RANLIB = ranlib SED = /bin/sed SET_MAKE = -SHELL = /bin/sh +SHELL = /bin/bash SILENT_MAKEFLAGS = --no-print-directory -s STRIP = strip -VERSION = 3.9.0.0 +VERSION = YACC = bison -y YFLAGS = -abs_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/docs -abs_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/docs -abs_top_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends -abs_top_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends +abs_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/docs +abs_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/docs +abs_top_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends +abs_top_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ @@ -219,15 +219,15 @@ dvidir = ${docdir} enable_L10n = yes enable_conf = yes enable_frontends = -enable_gconf = yes +enable_gconf = no enable_mconf = yes enable_nconf = yes -enable_qconf = no +enable_qconf = yes enable_utils = yes exec_prefix = ${prefix} gconf_EXTRA_LIBS = -gtk_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -gtk_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +gtk_CFLAGS = +gtk_LIBS = host = x86_64-unknown-linux-gnu host_alias = host_cpu = x86_64 @@ -236,7 +236,7 @@ host_vendor = unknown htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh +install_sh = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh intl_CPPFLAGS = intl_LIBS = kf_CFLAGS = -Wall @@ -248,18 +248,18 @@ mandir = ${datarootdir}/man mconf_EXTRA_LIBS = mkdir_p = /bin/mkdir -p nconf_EXTRA_LIBS = -ncurses_LIBS = -lncursesw -ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncursesw/curses.h\" -DNCURSES_WIDECHAR=1 -ncurses_nconf_CPPFLAGS = -I/usr/include/ncursesw -ncurses_panel_menu_LIBS = -lmenuw -lpanelw +ncurses_LIBS = -lncurses +ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncurses.h\" +ncurses_nconf_CPPFLAGS = +ncurses_panel_menu_LIBS = -lmenu -lpanel oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local program_transform_name = s&^&kconfig-& psdir = ${docdir} qconf_EXTRA_LIBS = -qt4_CFLAGS = -qt4_LIBS = +qt4_CFLAGS = -DQT_SHARED -DQT3_SUPPORT -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSql +qt4_LIBS = -lQt3Support -lQtGui -lQtNetwork -lQtSql -lQtCore root_menu = Configuration sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com diff --git a/kconfig-frontends/frontends/Makefile b/kconfig-frontends/frontends/Makefile index f64b9bb..cd072f2 100644 --- a/kconfig-frontends/frontends/Makefile +++ b/kconfig-frontends/frontends/Makefile @@ -119,15 +119,15 @@ am__relativize = \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" -ACLOCAL = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 +ACLOCAL = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 AMTAR = $${TAR-tar} AM_DEFAULT_VERBOSITY = 0 AM_LFLAGS = -L -P zconf AM_YFLAGS = -t -l -p zconf AR = ar -AUTOCONF = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf -AUTOHEADER = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader -AUTOMAKE = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 +AUTOCONF = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf +AUTOHEADER = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader +AUTOMAKE = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 @@ -157,7 +157,7 @@ INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -KCONFIGPARSER_LIB_VERSION = 3.9.0 +KCONFIGPARSER_LIB_VERSION = LD = /usr/bin/ld -m elf_x86_64 LDFLAGS = LEX = flex @@ -169,10 +169,10 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool LIPO = LN_S = ln -s LTLIBOBJS = -MAKEINFO = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo +MAKEINFO = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo MANIFEST_TOOL = : MKDIR_P = /bin/mkdir -p -MOC = +MOC = /usr/bin/moc-qt4 NM = /usr/bin/nm -B NMEDIT = OBJDUMP = objdump @@ -182,10 +182,10 @@ OTOOL64 = PACKAGE = kconfig-frontends PACKAGE_BUGREPORT = yann.morin.1998@free.fr PACKAGE_NAME = kconfig-frontends -PACKAGE_STRING = kconfig-frontends 3.9.0.0 +PACKAGE_STRING = kconfig-frontends PACKAGE_TARNAME = kconfig-frontends PACKAGE_URL = -PACKAGE_VERSION = 3.9.0.0 +PACKAGE_VERSION = PATH_SEPARATOR = : PKG_CONFIG = /usr/bin/pkg-config PKG_CONFIG_LIBDIR = @@ -193,16 +193,16 @@ PKG_CONFIG_PATH = RANLIB = ranlib SED = /bin/sed SET_MAKE = -SHELL = /bin/sh +SHELL = /bin/bash SILENT_MAKEFLAGS = --no-print-directory -s STRIP = strip -VERSION = 3.9.0.0 +VERSION = YACC = bison -y YFLAGS = -abs_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/frontends -abs_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/frontends -abs_top_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends -abs_top_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends +abs_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/frontends +abs_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/frontends +abs_top_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends +abs_top_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ @@ -228,15 +228,15 @@ dvidir = ${docdir} enable_L10n = yes enable_conf = yes enable_frontends = -enable_gconf = yes +enable_gconf = no enable_mconf = yes enable_nconf = yes -enable_qconf = no +enable_qconf = yes enable_utils = yes exec_prefix = ${prefix} gconf_EXTRA_LIBS = -gtk_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -gtk_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +gtk_CFLAGS = +gtk_LIBS = host = x86_64-unknown-linux-gnu host_alias = host_cpu = x86_64 @@ -245,7 +245,7 @@ host_vendor = unknown htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh +install_sh = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh intl_CPPFLAGS = intl_LIBS = kf_CFLAGS = -Wall @@ -257,18 +257,18 @@ mandir = ${datarootdir}/man mconf_EXTRA_LIBS = mkdir_p = /bin/mkdir -p nconf_EXTRA_LIBS = -ncurses_LIBS = -lncursesw -ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncursesw/curses.h\" -DNCURSES_WIDECHAR=1 -ncurses_nconf_CPPFLAGS = -I/usr/include/ncursesw -ncurses_panel_menu_LIBS = -lmenuw -lpanelw +ncurses_LIBS = -lncurses +ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncurses.h\" +ncurses_nconf_CPPFLAGS = +ncurses_panel_menu_LIBS = -lmenu -lpanel oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local program_transform_name = s&^&kconfig-& psdir = ${docdir} qconf_EXTRA_LIBS = -qt4_CFLAGS = -qt4_LIBS = +qt4_CFLAGS = -DQT_SHARED -DQT3_SUPPORT -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSql +qt4_LIBS = -lQt3Support -lQtGui -lQtNetwork -lQtSql -lQtCore root_menu = Configuration sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com @@ -283,8 +283,8 @@ werror_CFLAGS = MAYBE_conf = conf MAYBE_mconf = mconf MAYBE_nconf = nconf -MAYBE_gconf = gconf -#MAYBE_qconf = qconf +#MAYBE_gconf = gconf +MAYBE_qconf = qconf SUBDIRS = $(MAYBE_conf) $(MAYBE_mconf) $(MAYBE_nconf) $(MAYBE_gconf) $(MAYBE_qconf) all: all-recursive diff --git a/kconfig-frontends/frontends/conf/.deps/conf-conf.Po b/kconfig-frontends/frontends/conf/.deps/conf-conf.Po index 84f2cc8..e32d76d 100644 --- a/kconfig-frontends/frontends/conf/.deps/conf-conf.Po +++ b/kconfig-frontends/frontends/conf/.deps/conf-conf.Po @@ -4,7 +4,7 @@ conf-conf.o: conf.c /usr/include/locale.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h \ /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/xlocale.h \ /usr/include/ctype.h /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \ @@ -12,7 +12,7 @@ conf-conf.o: conf.c /usr/include/locale.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdio.h \ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h /usr/include/stdlib.h \ @@ -35,7 +35,7 @@ conf-conf.o: conf.c /usr/include/locale.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/stat.h \ /usr/include/x86_64-linux-gnu/sys/time.h ../../libs/parser/lkc.h \ ../../libs/parser/expr.h /usr/include/assert.h ../../libs/parser/list.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h \ /usr/include/libintl.h ../../libs/parser/lkc_proto.h /usr/include/locale.h: @@ -54,7 +54,7 @@ conf-conf.o: conf.c /usr/include/locale.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h: /usr/include/x86_64-linux-gnu/bits/locale.h: @@ -82,7 +82,7 @@ conf-conf.o: conf.c /usr/include/locale.h /usr/include/features.h \ /usr/include/wchar.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h: /usr/include/x86_64-linux-gnu/bits/stdio_lim.h: @@ -146,7 +146,7 @@ conf-conf.o: conf.c /usr/include/locale.h /usr/include/features.h \ ../../libs/parser/list.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h: /usr/include/libintl.h: diff --git a/kconfig-frontends/frontends/conf/.libs/conf b/kconfig-frontends/frontends/conf/.libs/conf Binary files differnew file mode 100755 index 0000000..a785c11 --- /dev/null +++ b/kconfig-frontends/frontends/conf/.libs/conf diff --git a/kconfig-frontends/frontends/conf/Makefile b/kconfig-frontends/frontends/conf/Makefile index 85e46a9..37e90e0 100644 --- a/kconfig-frontends/frontends/conf/Makefile +++ b/kconfig-frontends/frontends/conf/Makefile @@ -116,15 +116,15 @@ am__can_run_installinfo = \ ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 +ACLOCAL = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 AMTAR = $${TAR-tar} AM_DEFAULT_VERBOSITY = 0 AM_LFLAGS = -L -P zconf AM_YFLAGS = -t -l -p zconf AR = ar -AUTOCONF = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf -AUTOHEADER = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader -AUTOMAKE = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 +AUTOCONF = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf +AUTOHEADER = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader +AUTOMAKE = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 @@ -154,7 +154,7 @@ INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -KCONFIGPARSER_LIB_VERSION = 3.9.0 +KCONFIGPARSER_LIB_VERSION = LD = /usr/bin/ld -m elf_x86_64 LDFLAGS = LEX = flex @@ -166,10 +166,10 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool LIPO = LN_S = ln -s LTLIBOBJS = -MAKEINFO = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo +MAKEINFO = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo MANIFEST_TOOL = : MKDIR_P = /bin/mkdir -p -MOC = +MOC = /usr/bin/moc-qt4 NM = /usr/bin/nm -B NMEDIT = OBJDUMP = objdump @@ -179,10 +179,10 @@ OTOOL64 = PACKAGE = kconfig-frontends PACKAGE_BUGREPORT = yann.morin.1998@free.fr PACKAGE_NAME = kconfig-frontends -PACKAGE_STRING = kconfig-frontends 3.9.0.0 +PACKAGE_STRING = kconfig-frontends PACKAGE_TARNAME = kconfig-frontends PACKAGE_URL = -PACKAGE_VERSION = 3.9.0.0 +PACKAGE_VERSION = PATH_SEPARATOR = : PKG_CONFIG = /usr/bin/pkg-config PKG_CONFIG_LIBDIR = @@ -190,16 +190,16 @@ PKG_CONFIG_PATH = RANLIB = ranlib SED = /bin/sed SET_MAKE = -SHELL = /bin/sh +SHELL = /bin/bash SILENT_MAKEFLAGS = --no-print-directory -s STRIP = strip -VERSION = 3.9.0.0 +VERSION = YACC = bison -y YFLAGS = -abs_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/frontends/conf -abs_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/frontends/conf -abs_top_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends -abs_top_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends +abs_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/frontends/conf +abs_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/frontends/conf +abs_top_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends +abs_top_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ @@ -225,15 +225,15 @@ dvidir = ${docdir} enable_L10n = yes enable_conf = yes enable_frontends = -enable_gconf = yes +enable_gconf = no enable_mconf = yes enable_nconf = yes -enable_qconf = no +enable_qconf = yes enable_utils = yes exec_prefix = ${prefix} gconf_EXTRA_LIBS = -gtk_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -gtk_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +gtk_CFLAGS = +gtk_LIBS = host = x86_64-unknown-linux-gnu host_alias = host_cpu = x86_64 @@ -242,7 +242,7 @@ host_vendor = unknown htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh +install_sh = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh intl_CPPFLAGS = intl_LIBS = kf_CFLAGS = -Wall @@ -254,18 +254,18 @@ mandir = ${datarootdir}/man mconf_EXTRA_LIBS = mkdir_p = /bin/mkdir -p nconf_EXTRA_LIBS = -ncurses_LIBS = -lncursesw -ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncursesw/curses.h\" -DNCURSES_WIDECHAR=1 -ncurses_nconf_CPPFLAGS = -I/usr/include/ncursesw -ncurses_panel_menu_LIBS = -lmenuw -lpanelw +ncurses_LIBS = -lncurses +ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncurses.h\" +ncurses_nconf_CPPFLAGS = +ncurses_panel_menu_LIBS = -lmenu -lpanel oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local program_transform_name = s&^&kconfig-& psdir = ${docdir} qconf_EXTRA_LIBS = -qt4_CFLAGS = -qt4_LIBS = +qt4_CFLAGS = -DQT_SHARED -DQT3_SUPPORT -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSql +qt4_LIBS = -lQt3Support -lQtGui -lQtNetwork -lQtSql -lQtCore root_menu = Configuration sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com diff --git a/kconfig-frontends/frontends/conf/conf b/kconfig-frontends/frontends/conf/conf new file mode 100755 index 0000000..ba1eea1 --- /dev/null +++ b/kconfig-frontends/frontends/conf/conf @@ -0,0 +1,228 @@ +#! /bin/bash + +# conf - temporary wrapper script for .libs/conf +# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.2ubuntu1 +# +# The conf program cannot be directly executed until all the libtool +# libraries that it depends on are installed. +# +# This wrapper script should never be moved out of the build directory. +# If it is, it will not operate correctly. + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +sed_quote_subst='s/\([`"$\\]\)/\\\1/g' + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +relink_command="(cd /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/frontends/conf; { test -z \"\${LIBRARY_PATH+set}\" || unset LIBRARY_PATH || { LIBRARY_PATH=; export LIBRARY_PATH; }; }; { test -z \"\${COMPILER_PATH+set}\" || unset COMPILER_PATH || { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z \"\${GCC_EXEC_PREFIX+set}\" || unset GCC_EXEC_PREFIX || { GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z \"\${LD_RUN_PATH+set}\" || unset LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; { test -z \"\${LD_LIBRARY_PATH+set}\" || unset LD_LIBRARY_PATH || { LD_LIBRARY_PATH=; export LD_LIBRARY_PATH; }; }; PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games; export PATH; gcc -Wall -g -O2 -o \$progdir/\$file conf-conf.o ../../libs/parser/.libs/libkconfig-parser.so -Wl,-rpath -Wl,/home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/libs/parser/.libs)" + +# This environment variable determines our operation mode. +if test "$libtool_install_magic" = "%%%MAGIC variable%%%"; then + # install mode needs the following variables: + generated_by_libtool_version='2.4.2' + notinst_deplibs=' ../../libs/parser/libkconfig-parser.la' +else + # When we are sourced in execute mode, $file and $ECHO are already set. + if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then + file="$0" + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' +} + ECHO="printf %s\\n" + fi + +# Very basic option parsing. These options are (a) specific to +# the libtool wrapper, (b) are identical between the wrapper +# /script/ and the wrapper /executable/ which is used only on +# windows platforms, and (c) all begin with the string --lt- +# (application programs are unlikely to have options which match +# this pattern). +# +# There are only two supported options: --lt-debug and +# --lt-dump-script. There is, deliberately, no --lt-help. +# +# The first argument to this parsing function should be the +# script's ../../libtool value, followed by no. +lt_option_debug= +func_parse_lt_options () +{ + lt_script_arg0=$0 + shift + for lt_opt + do + case "$lt_opt" in + --lt-debug) lt_option_debug=1 ;; + --lt-dump-script) + lt_dump_D=`$ECHO "X$lt_script_arg0" | /bin/sed -e 's/^X//' -e 's%/[^/]*$%%'` + test "X$lt_dump_D" = "X$lt_script_arg0" && lt_dump_D=. + lt_dump_F=`$ECHO "X$lt_script_arg0" | /bin/sed -e 's/^X//' -e 's%^.*/%%'` + cat "$lt_dump_D/$lt_dump_F" + exit 0 + ;; + --lt-*) + $ECHO "Unrecognized --lt- option: '$lt_opt'" 1>&2 + exit 1 + ;; + esac + done + + # Print the debug banner immediately: + if test -n "$lt_option_debug"; then + echo "conf:conf:${LINENO}: libtool wrapper (GNU libtool) 2.4.2 Debian-2.4.2-1.2ubuntu1" 1>&2 + fi +} + +# Used when --lt-debug. Prints its arguments to stdout +# (redirection is the responsibility of the caller) +func_lt_dump_args () +{ + lt_dump_args_N=1; + for lt_arg + do + $ECHO "conf:conf:${LINENO}: newargv[$lt_dump_args_N]: $lt_arg" + lt_dump_args_N=`expr $lt_dump_args_N + 1` + done +} + +# Core function for launching the target application +func_exec_program_core () +{ + + if test -n "$lt_option_debug"; then + $ECHO "conf:conf:${LINENO}: newargv[0]: $progdir/$program" 1>&2 + func_lt_dump_args ${1+"$@"} 1>&2 + fi + exec "$progdir/$program" ${1+"$@"} + + $ECHO "$0: cannot exec $program $*" 1>&2 + exit 1 +} + +# A function to encapsulate launching the target application +# Strips options in the --lt-* namespace from $@ and +# launches target application with the remaining arguments. +func_exec_program () +{ + case " $* " in + *\ --lt-*) + for lt_wr_arg + do + case $lt_wr_arg in + --lt-*) ;; + *) set x "$@" "$lt_wr_arg"; shift;; + esac + shift + done ;; + esac + func_exec_program_core ${1+"$@"} +} + + # Parse options + func_parse_lt_options "$0" ${1+"$@"} + + # Find the directory that this script lives in. + thisdir=`$ECHO "$file" | /bin/sed 's%/[^/]*$%%'` + test "x$thisdir" = "x$file" && thisdir=. + + # Follow symbolic links until we get to the real thisdir. + file=`ls -ld "$file" | /bin/sed -n 's/.*-> //p'` + while test -n "$file"; do + destdir=`$ECHO "$file" | /bin/sed 's%/[^/]*$%%'` + + # If there was a directory component, then change thisdir. + if test "x$destdir" != "x$file"; then + case "$destdir" in + [\\/]* | [A-Za-z]:[\\/]*) thisdir="$destdir" ;; + *) thisdir="$thisdir/$destdir" ;; + esac + fi + + file=`$ECHO "$file" | /bin/sed 's%^.*/%%'` + file=`ls -ld "$thisdir/$file" | /bin/sed -n 's/.*-> //p'` + done + + # Usually 'no', except on cygwin/mingw when embedded into + # the cwrapper. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=no + if test "$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR" = "yes"; then + # special case for '.' + if test "$thisdir" = "."; then + thisdir=`pwd` + fi + # remove .libs from thisdir + case "$thisdir" in + *[\\/].libs ) thisdir=`$ECHO "$thisdir" | /bin/sed 's%[\\/][^\\/]*$%%'` ;; + .libs ) thisdir=. ;; + esac + fi + + # Try to get the absolute directory name. + absdir=`cd "$thisdir" && pwd` + test -n "$absdir" && thisdir="$absdir" + + program=lt-'conf' + progdir="$thisdir/.libs" + + if test ! -f "$progdir/$program" || + { file=`ls -1dt "$progdir/$program" "$progdir/../$program" 2>/dev/null | /bin/sed 1q`; \ + test "X$file" != "X$progdir/$program"; }; then + + file="$$-$program" + + if test ! -d "$progdir"; then + mkdir "$progdir" + else + rm -f "$progdir/$file" + fi + + # relink executable if necessary + if test -n "$relink_command"; then + if relink_command_output=`eval $relink_command 2>&1`; then : + else + printf %s\n "$relink_command_output" >&2 + rm -f "$progdir/$file" + exit 1 + fi + fi + + mv -f "$progdir/$file" "$progdir/$program" 2>/dev/null || + { rm -f "$progdir/$program"; + mv -f "$progdir/$file" "$progdir/$program"; } + rm -f "$progdir/$file" + fi + + if test -f "$progdir/$program"; then + if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then + # Run the actual program with our arguments. + func_exec_program ${1+"$@"} + fi + else + # The program doesn't exist. + $ECHO "$0: error: \`$progdir/$program' does not exist" 1>&2 + $ECHO "This script is just a wrapper for $program." 1>&2 + $ECHO "See the libtool documentation for more information." 1>&2 + exit 1 + fi +fi diff --git a/kconfig-frontends/frontends/gconf/Makefile b/kconfig-frontends/frontends/gconf/Makefile index 8044815..0896f8c 100644 --- a/kconfig-frontends/frontends/gconf/Makefile +++ b/kconfig-frontends/frontends/gconf/Makefile @@ -147,15 +147,15 @@ DATA = $(gconf_DATA) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 +ACLOCAL = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 AMTAR = $${TAR-tar} AM_DEFAULT_VERBOSITY = 0 AM_LFLAGS = -L -P zconf AM_YFLAGS = -t -l -p zconf AR = ar -AUTOCONF = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf -AUTOHEADER = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader -AUTOMAKE = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 +AUTOCONF = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf +AUTOHEADER = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader +AUTOMAKE = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 @@ -185,7 +185,7 @@ INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -KCONFIGPARSER_LIB_VERSION = 3.9.0 +KCONFIGPARSER_LIB_VERSION = LD = /usr/bin/ld -m elf_x86_64 LDFLAGS = LEX = flex @@ -197,10 +197,10 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool LIPO = LN_S = ln -s LTLIBOBJS = -MAKEINFO = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo +MAKEINFO = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo MANIFEST_TOOL = : MKDIR_P = /bin/mkdir -p -MOC = +MOC = /usr/bin/moc-qt4 NM = /usr/bin/nm -B NMEDIT = OBJDUMP = objdump @@ -210,10 +210,10 @@ OTOOL64 = PACKAGE = kconfig-frontends PACKAGE_BUGREPORT = yann.morin.1998@free.fr PACKAGE_NAME = kconfig-frontends -PACKAGE_STRING = kconfig-frontends 3.9.0.0 +PACKAGE_STRING = kconfig-frontends PACKAGE_TARNAME = kconfig-frontends PACKAGE_URL = -PACKAGE_VERSION = 3.9.0.0 +PACKAGE_VERSION = PATH_SEPARATOR = : PKG_CONFIG = /usr/bin/pkg-config PKG_CONFIG_LIBDIR = @@ -221,16 +221,16 @@ PKG_CONFIG_PATH = RANLIB = ranlib SED = /bin/sed SET_MAKE = -SHELL = /bin/sh +SHELL = /bin/bash SILENT_MAKEFLAGS = --no-print-directory -s STRIP = strip -VERSION = 3.9.0.0 +VERSION = YACC = bison -y YFLAGS = -abs_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/frontends/gconf -abs_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/frontends/gconf -abs_top_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends -abs_top_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends +abs_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/frontends/gconf +abs_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/frontends/gconf +abs_top_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends +abs_top_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ @@ -256,15 +256,15 @@ dvidir = ${docdir} enable_L10n = yes enable_conf = yes enable_frontends = -enable_gconf = yes +enable_gconf = no enable_mconf = yes enable_nconf = yes -enable_qconf = no +enable_qconf = yes enable_utils = yes exec_prefix = ${prefix} gconf_EXTRA_LIBS = -gtk_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -gtk_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +gtk_CFLAGS = +gtk_LIBS = host = x86_64-unknown-linux-gnu host_alias = host_cpu = x86_64 @@ -273,7 +273,7 @@ host_vendor = unknown htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh +install_sh = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh intl_CPPFLAGS = intl_LIBS = kf_CFLAGS = -Wall @@ -285,18 +285,18 @@ mandir = ${datarootdir}/man mconf_EXTRA_LIBS = mkdir_p = /bin/mkdir -p nconf_EXTRA_LIBS = -ncurses_LIBS = -lncursesw -ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncursesw/curses.h\" -DNCURSES_WIDECHAR=1 -ncurses_nconf_CPPFLAGS = -I/usr/include/ncursesw -ncurses_panel_menu_LIBS = -lmenuw -lpanelw +ncurses_LIBS = -lncurses +ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncurses.h\" +ncurses_nconf_CPPFLAGS = +ncurses_panel_menu_LIBS = -lmenu -lpanel oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local program_transform_name = s&^&kconfig-& psdir = ${docdir} qconf_EXTRA_LIBS = -qt4_CFLAGS = -qt4_LIBS = +qt4_CFLAGS = -DQT_SHARED -DQT3_SUPPORT -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSql +qt4_LIBS = -lQt3Support -lQtGui -lQtNetwork -lQtSql -lQtCore root_menu = Configuration sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com diff --git a/kconfig-frontends/frontends/mconf/.deps/mconf-mconf.Po b/kconfig-frontends/frontends/mconf/.deps/mconf-mconf.Po index 1435778..e92865a 100644 --- a/kconfig-frontends/frontends/mconf/.deps/mconf-mconf.Po +++ b/kconfig-frontends/frontends/mconf/.deps/mconf-mconf.Po @@ -15,14 +15,15 @@ mconf-mconf.o: mconf.c /usr/include/ctype.h /usr/include/features.h \ /usr/include/fcntl.h /usr/include/x86_64-linux-gnu/bits/fcntl.h \ /usr/include/x86_64-linux-gnu/bits/fcntl-linux.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/bits/stat.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/limits.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/syslimits.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include-fixed/syslimits.h \ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ /usr/include/x86_64-linux-gnu/bits/local_lim.h \ /usr/include/linux/limits.h \ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h \ + /usr/include/stdlib.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ /usr/include/x86_64-linux-gnu/sys/types.h \ @@ -51,10 +52,10 @@ mconf-mconf.o: mconf.c /usr/include/ctype.h /usr/include/features.h \ /usr/include/wchar.h /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h ../../libs/parser/list.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h \ /usr/include/libintl.h ../../libs/parser/lkc_proto.h \ - ../../libs/lxdialog/dialog.h /usr/include/ncursesw/curses.h \ - /usr/include/ncursesw/ncurses_dll.h /usr/include/ncursesw/unctrl.h + ../../libs/lxdialog/dialog.h /usr/include/ncurses.h \ + /usr/include/ncurses_dll.h /usr/include/unctrl.h /usr/include/curses.h /usr/include/ctype.h: @@ -108,9 +109,9 @@ mconf-mconf.o: mconf.c /usr/include/ctype.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/stat.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/limits.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include-fixed/limits.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/syslimits.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include-fixed/syslimits.h: /usr/include/limits.h: @@ -122,11 +123,11 @@ mconf-mconf.o: mconf.c /usr/include/ctype.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h: /usr/include/stdlib.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h: /usr/include/x86_64-linux-gnu/bits/waitflags.h: @@ -208,7 +209,7 @@ mconf-mconf.o: mconf.c /usr/include/ctype.h /usr/include/features.h \ ../../libs/parser/list.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h: /usr/include/libintl.h: @@ -216,8 +217,10 @@ mconf-mconf.o: mconf.c /usr/include/ctype.h /usr/include/features.h \ ../../libs/lxdialog/dialog.h: -/usr/include/ncursesw/curses.h: +/usr/include/ncurses.h: -/usr/include/ncursesw/ncurses_dll.h: +/usr/include/ncurses_dll.h: -/usr/include/ncursesw/unctrl.h: +/usr/include/unctrl.h: + +/usr/include/curses.h: diff --git a/kconfig-frontends/frontends/mconf/.libs/lt-mconf b/kconfig-frontends/frontends/mconf/.libs/lt-mconf Binary files differnew file mode 100755 index 0000000..07acf93 --- /dev/null +++ b/kconfig-frontends/frontends/mconf/.libs/lt-mconf diff --git a/kconfig-frontends/frontends/mconf/.libs/mconf b/kconfig-frontends/frontends/mconf/.libs/mconf Binary files differnew file mode 100755 index 0000000..261b114 --- /dev/null +++ b/kconfig-frontends/frontends/mconf/.libs/mconf diff --git a/kconfig-frontends/frontends/mconf/Makefile b/kconfig-frontends/frontends/mconf/Makefile index 7619cd9..2b231ce 100644 --- a/kconfig-frontends/frontends/mconf/Makefile +++ b/kconfig-frontends/frontends/mconf/Makefile @@ -118,15 +118,15 @@ am__can_run_installinfo = \ ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 +ACLOCAL = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 AMTAR = $${TAR-tar} AM_DEFAULT_VERBOSITY = 0 AM_LFLAGS = -L -P zconf AM_YFLAGS = -t -l -p zconf AR = ar -AUTOCONF = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf -AUTOHEADER = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader -AUTOMAKE = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 +AUTOCONF = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf +AUTOHEADER = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader +AUTOMAKE = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 @@ -156,7 +156,7 @@ INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -KCONFIGPARSER_LIB_VERSION = 3.9.0 +KCONFIGPARSER_LIB_VERSION = LD = /usr/bin/ld -m elf_x86_64 LDFLAGS = LEX = flex @@ -168,10 +168,10 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool LIPO = LN_S = ln -s LTLIBOBJS = -MAKEINFO = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo +MAKEINFO = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo MANIFEST_TOOL = : MKDIR_P = /bin/mkdir -p -MOC = +MOC = /usr/bin/moc-qt4 NM = /usr/bin/nm -B NMEDIT = OBJDUMP = objdump @@ -181,10 +181,10 @@ OTOOL64 = PACKAGE = kconfig-frontends PACKAGE_BUGREPORT = yann.morin.1998@free.fr PACKAGE_NAME = kconfig-frontends -PACKAGE_STRING = kconfig-frontends 3.9.0.0 +PACKAGE_STRING = kconfig-frontends PACKAGE_TARNAME = kconfig-frontends PACKAGE_URL = -PACKAGE_VERSION = 3.9.0.0 +PACKAGE_VERSION = PATH_SEPARATOR = : PKG_CONFIG = /usr/bin/pkg-config PKG_CONFIG_LIBDIR = @@ -192,16 +192,16 @@ PKG_CONFIG_PATH = RANLIB = ranlib SED = /bin/sed SET_MAKE = -SHELL = /bin/sh +SHELL = /bin/bash SILENT_MAKEFLAGS = --no-print-directory -s STRIP = strip -VERSION = 3.9.0.0 +VERSION = YACC = bison -y YFLAGS = -abs_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/frontends/mconf -abs_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/frontends/mconf -abs_top_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends -abs_top_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends +abs_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/frontends/mconf +abs_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/frontends/mconf +abs_top_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends +abs_top_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ @@ -227,15 +227,15 @@ dvidir = ${docdir} enable_L10n = yes enable_conf = yes enable_frontends = -enable_gconf = yes +enable_gconf = no enable_mconf = yes enable_nconf = yes -enable_qconf = no +enable_qconf = yes enable_utils = yes exec_prefix = ${prefix} gconf_EXTRA_LIBS = -gtk_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -gtk_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +gtk_CFLAGS = +gtk_LIBS = host = x86_64-unknown-linux-gnu host_alias = host_cpu = x86_64 @@ -244,7 +244,7 @@ host_vendor = unknown htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh +install_sh = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh intl_CPPFLAGS = intl_LIBS = kf_CFLAGS = -Wall @@ -256,18 +256,18 @@ mandir = ${datarootdir}/man mconf_EXTRA_LIBS = mkdir_p = /bin/mkdir -p nconf_EXTRA_LIBS = -ncurses_LIBS = -lncursesw -ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncursesw/curses.h\" -DNCURSES_WIDECHAR=1 -ncurses_nconf_CPPFLAGS = -I/usr/include/ncursesw -ncurses_panel_menu_LIBS = -lmenuw -lpanelw +ncurses_LIBS = -lncurses +ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncurses.h\" +ncurses_nconf_CPPFLAGS = +ncurses_panel_menu_LIBS = -lmenu -lpanel oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local program_transform_name = s&^&kconfig-& psdir = ${docdir} qconf_EXTRA_LIBS = -qt4_CFLAGS = -qt4_LIBS = +qt4_CFLAGS = -DQT_SHARED -DQT3_SUPPORT -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSql +qt4_LIBS = -lQt3Support -lQtGui -lQtNetwork -lQtSql -lQtCore root_menu = Configuration sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com diff --git a/kconfig-frontends/frontends/mconf/mconf b/kconfig-frontends/frontends/mconf/mconf new file mode 100755 index 0000000..cc4b7b9 --- /dev/null +++ b/kconfig-frontends/frontends/mconf/mconf @@ -0,0 +1,228 @@ +#! /bin/bash + +# mconf - temporary wrapper script for .libs/mconf +# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.2ubuntu1 +# +# The mconf program cannot be directly executed until all the libtool +# libraries that it depends on are installed. +# +# This wrapper script should never be moved out of the build directory. +# If it is, it will not operate correctly. + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +sed_quote_subst='s/\([`"$\\]\)/\\\1/g' + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +relink_command="(cd /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/frontends/mconf; { test -z \"\${LIBRARY_PATH+set}\" || unset LIBRARY_PATH || { LIBRARY_PATH=; export LIBRARY_PATH; }; }; { test -z \"\${COMPILER_PATH+set}\" || unset COMPILER_PATH || { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z \"\${GCC_EXEC_PREFIX+set}\" || unset GCC_EXEC_PREFIX || { GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z \"\${LD_RUN_PATH+set}\" || unset LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; { test -z \"\${LD_LIBRARY_PATH+set}\" || unset LD_LIBRARY_PATH || { LD_LIBRARY_PATH=; export LD_LIBRARY_PATH; }; }; PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games; export PATH; gcc -Wall -g -O2 -o \$progdir/\$file mconf-mconf.o ../../libs/parser/.libs/libkconfig-parser.so ../../libs/lxdialog/libkconfig-lxdialog.a -lncurses -Wl,-rpath -Wl,/home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/libs/parser/.libs)" + +# This environment variable determines our operation mode. +if test "$libtool_install_magic" = "%%%MAGIC variable%%%"; then + # install mode needs the following variables: + generated_by_libtool_version='2.4.2' + notinst_deplibs=' ../../libs/parser/libkconfig-parser.la' +else + # When we are sourced in execute mode, $file and $ECHO are already set. + if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then + file="$0" + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' +} + ECHO="printf %s\\n" + fi + +# Very basic option parsing. These options are (a) specific to +# the libtool wrapper, (b) are identical between the wrapper +# /script/ and the wrapper /executable/ which is used only on +# windows platforms, and (c) all begin with the string --lt- +# (application programs are unlikely to have options which match +# this pattern). +# +# There are only two supported options: --lt-debug and +# --lt-dump-script. There is, deliberately, no --lt-help. +# +# The first argument to this parsing function should be the +# script's ../../libtool value, followed by no. +lt_option_debug= +func_parse_lt_options () +{ + lt_script_arg0=$0 + shift + for lt_opt + do + case "$lt_opt" in + --lt-debug) lt_option_debug=1 ;; + --lt-dump-script) + lt_dump_D=`$ECHO "X$lt_script_arg0" | /bin/sed -e 's/^X//' -e 's%/[^/]*$%%'` + test "X$lt_dump_D" = "X$lt_script_arg0" && lt_dump_D=. + lt_dump_F=`$ECHO "X$lt_script_arg0" | /bin/sed -e 's/^X//' -e 's%^.*/%%'` + cat "$lt_dump_D/$lt_dump_F" + exit 0 + ;; + --lt-*) + $ECHO "Unrecognized --lt- option: '$lt_opt'" 1>&2 + exit 1 + ;; + esac + done + + # Print the debug banner immediately: + if test -n "$lt_option_debug"; then + echo "mconf:mconf:${LINENO}: libtool wrapper (GNU libtool) 2.4.2 Debian-2.4.2-1.2ubuntu1" 1>&2 + fi +} + +# Used when --lt-debug. Prints its arguments to stdout +# (redirection is the responsibility of the caller) +func_lt_dump_args () +{ + lt_dump_args_N=1; + for lt_arg + do + $ECHO "mconf:mconf:${LINENO}: newargv[$lt_dump_args_N]: $lt_arg" + lt_dump_args_N=`expr $lt_dump_args_N + 1` + done +} + +# Core function for launching the target application +func_exec_program_core () +{ + + if test -n "$lt_option_debug"; then + $ECHO "mconf:mconf:${LINENO}: newargv[0]: $progdir/$program" 1>&2 + func_lt_dump_args ${1+"$@"} 1>&2 + fi + exec "$progdir/$program" ${1+"$@"} + + $ECHO "$0: cannot exec $program $*" 1>&2 + exit 1 +} + +# A function to encapsulate launching the target application +# Strips options in the --lt-* namespace from $@ and +# launches target application with the remaining arguments. +func_exec_program () +{ + case " $* " in + *\ --lt-*) + for lt_wr_arg + do + case $lt_wr_arg in + --lt-*) ;; + *) set x "$@" "$lt_wr_arg"; shift;; + esac + shift + done ;; + esac + func_exec_program_core ${1+"$@"} +} + + # Parse options + func_parse_lt_options "$0" ${1+"$@"} + + # Find the directory that this script lives in. + thisdir=`$ECHO "$file" | /bin/sed 's%/[^/]*$%%'` + test "x$thisdir" = "x$file" && thisdir=. + + # Follow symbolic links until we get to the real thisdir. + file=`ls -ld "$file" | /bin/sed -n 's/.*-> //p'` + while test -n "$file"; do + destdir=`$ECHO "$file" | /bin/sed 's%/[^/]*$%%'` + + # If there was a directory component, then change thisdir. + if test "x$destdir" != "x$file"; then + case "$destdir" in + [\\/]* | [A-Za-z]:[\\/]*) thisdir="$destdir" ;; + *) thisdir="$thisdir/$destdir" ;; + esac + fi + + file=`$ECHO "$file" | /bin/sed 's%^.*/%%'` + file=`ls -ld "$thisdir/$file" | /bin/sed -n 's/.*-> //p'` + done + + # Usually 'no', except on cygwin/mingw when embedded into + # the cwrapper. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=no + if test "$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR" = "yes"; then + # special case for '.' + if test "$thisdir" = "."; then + thisdir=`pwd` + fi + # remove .libs from thisdir + case "$thisdir" in + *[\\/].libs ) thisdir=`$ECHO "$thisdir" | /bin/sed 's%[\\/][^\\/]*$%%'` ;; + .libs ) thisdir=. ;; + esac + fi + + # Try to get the absolute directory name. + absdir=`cd "$thisdir" && pwd` + test -n "$absdir" && thisdir="$absdir" + + program=lt-'mconf' + progdir="$thisdir/.libs" + + if test ! -f "$progdir/$program" || + { file=`ls -1dt "$progdir/$program" "$progdir/../$program" 2>/dev/null | /bin/sed 1q`; \ + test "X$file" != "X$progdir/$program"; }; then + + file="$$-$program" + + if test ! -d "$progdir"; then + mkdir "$progdir" + else + rm -f "$progdir/$file" + fi + + # relink executable if necessary + if test -n "$relink_command"; then + if relink_command_output=`eval $relink_command 2>&1`; then : + else + printf %s\n "$relink_command_output" >&2 + rm -f "$progdir/$file" + exit 1 + fi + fi + + mv -f "$progdir/$file" "$progdir/$program" 2>/dev/null || + { rm -f "$progdir/$program"; + mv -f "$progdir/$file" "$progdir/$program"; } + rm -f "$progdir/$file" + fi + + if test -f "$progdir/$program"; then + if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then + # Run the actual program with our arguments. + func_exec_program ${1+"$@"} + fi + else + # The program doesn't exist. + $ECHO "$0: error: \`$progdir/$program' does not exist" 1>&2 + $ECHO "This script is just a wrapper for $program." 1>&2 + $ECHO "See the libtool documentation for more information." 1>&2 + exit 1 + fi +fi diff --git a/kconfig-frontends/frontends/nconf/.deps/nconf-nconf.Po b/kconfig-frontends/frontends/nconf/.deps/nconf-nconf.Po index 1cc6080..905185c 100644 --- a/kconfig-frontends/frontends/nconf/.deps/nconf-nconf.Po +++ b/kconfig-frontends/frontends/nconf/.deps/nconf-nconf.Po @@ -4,7 +4,7 @@ nconf-nconf.o: nconf.c /usr/include/string.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h \ /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ @@ -24,11 +24,12 @@ nconf-nconf.o: nconf.c /usr/include/string.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ ../../libs/parser/lkc.h ../../libs/parser/expr.h /usr/include/assert.h \ /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h \ + /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h ../../libs/parser/list.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h \ /usr/include/libintl.h /usr/include/locale.h \ /usr/include/x86_64-linux-gnu/bits/locale.h \ ../../libs/parser/lkc_proto.h nconf.h /usr/include/ctype.h \ @@ -39,8 +40,8 @@ nconf-nconf.o: nconf.c /usr/include/string.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/fcntl-linux.h \ /usr/include/x86_64-linux-gnu/bits/uio.h \ /usr/include/x86_64-linux-gnu/bits/stat.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/limits.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/syslimits.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include-fixed/syslimits.h \ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ /usr/include/x86_64-linux-gnu/bits/local_lim.h \ /usr/include/linux/limits.h \ @@ -49,13 +50,10 @@ nconf-nconf.o: nconf.c /usr/include/string.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/posix_opt.h \ /usr/include/x86_64-linux-gnu/bits/environments.h \ /usr/include/x86_64-linux-gnu/bits/confname.h /usr/include/getopt.h \ - /usr/include/ncursesw/curses.h /usr/include/ncursesw/ncurses_dll.h \ - /usr/include/x86_64-linux-gnu/bits/wchar.h \ - /usr/include/ncursesw/unctrl.h /usr/include/ncursesw/curses.h \ - /usr/include/ncursesw/menu.h /usr/include/ncursesw/eti.h \ - /usr/include/ncursesw/panel.h /usr/include/ncursesw/form.h \ - /usr/include/x86_64-linux-gnu/bits/timex.h \ - /usr/include/x86_64-linux-gnu/sys/time.h /usr/include/ncursesw/ncurses.h + /usr/include/curses.h /usr/include/ncurses_dll.h /usr/include/unctrl.h \ + /usr/include/menu.h /usr/include/eti.h /usr/include/panel.h \ + /usr/include/form.h /usr/include/x86_64-linux-gnu/bits/timex.h \ + /usr/include/x86_64-linux-gnu/sys/time.h /usr/include/ncurses.h /usr/include/string.h: @@ -73,7 +71,7 @@ nconf-nconf.o: nconf.c /usr/include/string.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h: /usr/include/xlocale.h: @@ -133,7 +131,7 @@ nconf-nconf.o: nconf.c /usr/include/string.h /usr/include/features.h \ /usr/include/wchar.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h: /usr/include/x86_64-linux-gnu/bits/stdio_lim.h: @@ -143,7 +141,7 @@ nconf-nconf.o: nconf.c /usr/include/string.h /usr/include/features.h \ ../../libs/parser/list.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h: /usr/include/libintl.h: @@ -179,9 +177,9 @@ nconf.h: /usr/include/x86_64-linux-gnu/bits/stat.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/limits.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include-fixed/limits.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/syslimits.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include-fixed/syslimits.h: /usr/include/limits.h: @@ -205,26 +203,22 @@ nconf.h: /usr/include/getopt.h: -/usr/include/ncursesw/curses.h: +/usr/include/curses.h: -/usr/include/ncursesw/ncurses_dll.h: +/usr/include/ncurses_dll.h: -/usr/include/x86_64-linux-gnu/bits/wchar.h: +/usr/include/unctrl.h: -/usr/include/ncursesw/unctrl.h: +/usr/include/menu.h: -/usr/include/ncursesw/curses.h: +/usr/include/eti.h: -/usr/include/ncursesw/menu.h: +/usr/include/panel.h: -/usr/include/ncursesw/eti.h: - -/usr/include/ncursesw/panel.h: - -/usr/include/ncursesw/form.h: +/usr/include/form.h: /usr/include/x86_64-linux-gnu/bits/timex.h: /usr/include/x86_64-linux-gnu/sys/time.h: -/usr/include/ncursesw/ncurses.h: +/usr/include/ncurses.h: diff --git a/kconfig-frontends/frontends/nconf/.deps/nconf-nconf.gui.Po b/kconfig-frontends/frontends/nconf/.deps/nconf-nconf.gui.Po index a3fcd26..7894a0b 100644 --- a/kconfig-frontends/frontends/nconf/.deps/nconf-nconf.gui.Po +++ b/kconfig-frontends/frontends/nconf/.deps/nconf-nconf.gui.Po @@ -16,14 +16,15 @@ nconf-nconf.gui.o: nconf.gui.c nconf.h /usr/include/ctype.h \ /usr/include/fcntl.h /usr/include/x86_64-linux-gnu/bits/fcntl.h \ /usr/include/x86_64-linux-gnu/bits/fcntl-linux.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/bits/stat.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/limits.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/syslimits.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include-fixed/syslimits.h \ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ /usr/include/x86_64-linux-gnu/bits/local_lim.h \ /usr/include/linux/limits.h \ /usr/include/x86_64-linux-gnu/bits/posix2_lim.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h /usr/include/stdlib.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h \ + /usr/include/stdlib.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ /usr/include/x86_64-linux-gnu/sys/types.h \ @@ -40,16 +41,15 @@ nconf-nconf.gui.o: nconf.gui.c nconf.h /usr/include/ctype.h \ /usr/include/x86_64-linux-gnu/bits/environments.h \ /usr/include/x86_64-linux-gnu/bits/confname.h /usr/include/getopt.h \ /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ - /usr/include/ncursesw/curses.h /usr/include/ncursesw/ncurses_dll.h \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/curses.h /usr/include/ncurses_dll.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h \ - /usr/include/ncursesw/unctrl.h /usr/include/ncursesw/curses.h \ - /usr/include/ncursesw/menu.h /usr/include/ncursesw/eti.h \ - /usr/include/ncursesw/panel.h /usr/include/ncursesw/form.h \ - /usr/include/x86_64-linux-gnu/sys/time.h /usr/include/ncursesw/ncurses.h + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h \ + /usr/include/unctrl.h /usr/include/menu.h /usr/include/eti.h \ + /usr/include/panel.h /usr/include/form.h \ + /usr/include/x86_64-linux-gnu/sys/time.h /usr/include/ncurses.h nconf.h: @@ -105,9 +105,9 @@ nconf.h: /usr/include/x86_64-linux-gnu/bits/stat.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/limits.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include-fixed/limits.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/syslimits.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include-fixed/syslimits.h: /usr/include/limits.h: @@ -119,11 +119,11 @@ nconf.h: /usr/include/x86_64-linux-gnu/bits/posix2_lim.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h: /usr/include/stdlib.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h: /usr/include/x86_64-linux-gnu/bits/waitflags.h: @@ -167,9 +167,9 @@ nconf.h: /usr/include/x86_64-linux-gnu/bits/locale.h: -/usr/include/ncursesw/curses.h: +/usr/include/curses.h: -/usr/include/ncursesw/ncurses_dll.h: +/usr/include/ncurses_dll.h: /usr/include/stdio.h: @@ -185,20 +185,18 @@ nconf.h: /usr/include/x86_64-linux-gnu/bits/stdio.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h: -/usr/include/ncursesw/unctrl.h: +/usr/include/unctrl.h: -/usr/include/ncursesw/curses.h: +/usr/include/menu.h: -/usr/include/ncursesw/menu.h: +/usr/include/eti.h: -/usr/include/ncursesw/eti.h: +/usr/include/panel.h: -/usr/include/ncursesw/panel.h: - -/usr/include/ncursesw/form.h: +/usr/include/form.h: /usr/include/x86_64-linux-gnu/sys/time.h: -/usr/include/ncursesw/ncurses.h: +/usr/include/ncurses.h: diff --git a/kconfig-frontends/frontends/nconf/.libs/nconf b/kconfig-frontends/frontends/nconf/.libs/nconf Binary files differnew file mode 100755 index 0000000..603ccd2 --- /dev/null +++ b/kconfig-frontends/frontends/nconf/.libs/nconf diff --git a/kconfig-frontends/frontends/nconf/Makefile b/kconfig-frontends/frontends/nconf/Makefile index d30fd05..7458d09 100644 --- a/kconfig-frontends/frontends/nconf/Makefile +++ b/kconfig-frontends/frontends/nconf/Makefile @@ -117,15 +117,15 @@ am__can_run_installinfo = \ ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 +ACLOCAL = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 AMTAR = $${TAR-tar} AM_DEFAULT_VERBOSITY = 0 AM_LFLAGS = -L -P zconf AM_YFLAGS = -t -l -p zconf AR = ar -AUTOCONF = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf -AUTOHEADER = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader -AUTOMAKE = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 +AUTOCONF = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf +AUTOHEADER = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader +AUTOMAKE = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 @@ -155,7 +155,7 @@ INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -KCONFIGPARSER_LIB_VERSION = 3.9.0 +KCONFIGPARSER_LIB_VERSION = LD = /usr/bin/ld -m elf_x86_64 LDFLAGS = LEX = flex @@ -167,10 +167,10 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool LIPO = LN_S = ln -s LTLIBOBJS = -MAKEINFO = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo +MAKEINFO = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo MANIFEST_TOOL = : MKDIR_P = /bin/mkdir -p -MOC = +MOC = /usr/bin/moc-qt4 NM = /usr/bin/nm -B NMEDIT = OBJDUMP = objdump @@ -180,10 +180,10 @@ OTOOL64 = PACKAGE = kconfig-frontends PACKAGE_BUGREPORT = yann.morin.1998@free.fr PACKAGE_NAME = kconfig-frontends -PACKAGE_STRING = kconfig-frontends 3.9.0.0 +PACKAGE_STRING = kconfig-frontends PACKAGE_TARNAME = kconfig-frontends PACKAGE_URL = -PACKAGE_VERSION = 3.9.0.0 +PACKAGE_VERSION = PATH_SEPARATOR = : PKG_CONFIG = /usr/bin/pkg-config PKG_CONFIG_LIBDIR = @@ -191,16 +191,16 @@ PKG_CONFIG_PATH = RANLIB = ranlib SED = /bin/sed SET_MAKE = -SHELL = /bin/sh +SHELL = /bin/bash SILENT_MAKEFLAGS = --no-print-directory -s STRIP = strip -VERSION = 3.9.0.0 +VERSION = YACC = bison -y YFLAGS = -abs_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/frontends/nconf -abs_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/frontends/nconf -abs_top_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends -abs_top_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends +abs_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/frontends/nconf +abs_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/frontends/nconf +abs_top_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends +abs_top_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ @@ -226,15 +226,15 @@ dvidir = ${docdir} enable_L10n = yes enable_conf = yes enable_frontends = -enable_gconf = yes +enable_gconf = no enable_mconf = yes enable_nconf = yes -enable_qconf = no +enable_qconf = yes enable_utils = yes exec_prefix = ${prefix} gconf_EXTRA_LIBS = -gtk_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -gtk_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +gtk_CFLAGS = +gtk_LIBS = host = x86_64-unknown-linux-gnu host_alias = host_cpu = x86_64 @@ -243,7 +243,7 @@ host_vendor = unknown htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh +install_sh = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh intl_CPPFLAGS = intl_LIBS = kf_CFLAGS = -Wall @@ -255,18 +255,18 @@ mandir = ${datarootdir}/man mconf_EXTRA_LIBS = mkdir_p = /bin/mkdir -p nconf_EXTRA_LIBS = -ncurses_LIBS = -lncursesw -ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncursesw/curses.h\" -DNCURSES_WIDECHAR=1 -ncurses_nconf_CPPFLAGS = -I/usr/include/ncursesw -ncurses_panel_menu_LIBS = -lmenuw -lpanelw +ncurses_LIBS = -lncurses +ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncurses.h\" +ncurses_nconf_CPPFLAGS = +ncurses_panel_menu_LIBS = -lmenu -lpanel oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local program_transform_name = s&^&kconfig-& psdir = ${docdir} qconf_EXTRA_LIBS = -qt4_CFLAGS = -qt4_LIBS = +qt4_CFLAGS = -DQT_SHARED -DQT3_SUPPORT -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSql +qt4_LIBS = -lQt3Support -lQtGui -lQtNetwork -lQtSql -lQtCore root_menu = Configuration sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com diff --git a/kconfig-frontends/frontends/nconf/nconf b/kconfig-frontends/frontends/nconf/nconf new file mode 100755 index 0000000..214dfd2 --- /dev/null +++ b/kconfig-frontends/frontends/nconf/nconf @@ -0,0 +1,228 @@ +#! /bin/bash + +# nconf - temporary wrapper script for .libs/nconf +# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.2ubuntu1 +# +# The nconf program cannot be directly executed until all the libtool +# libraries that it depends on are installed. +# +# This wrapper script should never be moved out of the build directory. +# If it is, it will not operate correctly. + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +sed_quote_subst='s/\([`"$\\]\)/\\\1/g' + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +relink_command="(cd /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/frontends/nconf; { test -z \"\${LIBRARY_PATH+set}\" || unset LIBRARY_PATH || { LIBRARY_PATH=; export LIBRARY_PATH; }; }; { test -z \"\${COMPILER_PATH+set}\" || unset COMPILER_PATH || { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z \"\${GCC_EXEC_PREFIX+set}\" || unset GCC_EXEC_PREFIX || { GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z \"\${LD_RUN_PATH+set}\" || unset LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; { test -z \"\${LD_LIBRARY_PATH+set}\" || unset LD_LIBRARY_PATH || { LD_LIBRARY_PATH=; export LD_LIBRARY_PATH; }; }; PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games; export PATH; gcc -Wall -g -O2 -o \$progdir/\$file nconf-nconf.o nconf-nconf.gui.o ../../libs/parser/.libs/libkconfig-parser.so -lmenu -lpanel -lncurses -Wl,-rpath -Wl,/home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/libs/parser/.libs)" + +# This environment variable determines our operation mode. +if test "$libtool_install_magic" = "%%%MAGIC variable%%%"; then + # install mode needs the following variables: + generated_by_libtool_version='2.4.2' + notinst_deplibs=' ../../libs/parser/libkconfig-parser.la' +else + # When we are sourced in execute mode, $file and $ECHO are already set. + if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then + file="$0" + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' +} + ECHO="printf %s\\n" + fi + +# Very basic option parsing. These options are (a) specific to +# the libtool wrapper, (b) are identical between the wrapper +# /script/ and the wrapper /executable/ which is used only on +# windows platforms, and (c) all begin with the string --lt- +# (application programs are unlikely to have options which match +# this pattern). +# +# There are only two supported options: --lt-debug and +# --lt-dump-script. There is, deliberately, no --lt-help. +# +# The first argument to this parsing function should be the +# script's ../../libtool value, followed by no. +lt_option_debug= +func_parse_lt_options () +{ + lt_script_arg0=$0 + shift + for lt_opt + do + case "$lt_opt" in + --lt-debug) lt_option_debug=1 ;; + --lt-dump-script) + lt_dump_D=`$ECHO "X$lt_script_arg0" | /bin/sed -e 's/^X//' -e 's%/[^/]*$%%'` + test "X$lt_dump_D" = "X$lt_script_arg0" && lt_dump_D=. + lt_dump_F=`$ECHO "X$lt_script_arg0" | /bin/sed -e 's/^X//' -e 's%^.*/%%'` + cat "$lt_dump_D/$lt_dump_F" + exit 0 + ;; + --lt-*) + $ECHO "Unrecognized --lt- option: '$lt_opt'" 1>&2 + exit 1 + ;; + esac + done + + # Print the debug banner immediately: + if test -n "$lt_option_debug"; then + echo "nconf:nconf:${LINENO}: libtool wrapper (GNU libtool) 2.4.2 Debian-2.4.2-1.2ubuntu1" 1>&2 + fi +} + +# Used when --lt-debug. Prints its arguments to stdout +# (redirection is the responsibility of the caller) +func_lt_dump_args () +{ + lt_dump_args_N=1; + for lt_arg + do + $ECHO "nconf:nconf:${LINENO}: newargv[$lt_dump_args_N]: $lt_arg" + lt_dump_args_N=`expr $lt_dump_args_N + 1` + done +} + +# Core function for launching the target application +func_exec_program_core () +{ + + if test -n "$lt_option_debug"; then + $ECHO "nconf:nconf:${LINENO}: newargv[0]: $progdir/$program" 1>&2 + func_lt_dump_args ${1+"$@"} 1>&2 + fi + exec "$progdir/$program" ${1+"$@"} + + $ECHO "$0: cannot exec $program $*" 1>&2 + exit 1 +} + +# A function to encapsulate launching the target application +# Strips options in the --lt-* namespace from $@ and +# launches target application with the remaining arguments. +func_exec_program () +{ + case " $* " in + *\ --lt-*) + for lt_wr_arg + do + case $lt_wr_arg in + --lt-*) ;; + *) set x "$@" "$lt_wr_arg"; shift;; + esac + shift + done ;; + esac + func_exec_program_core ${1+"$@"} +} + + # Parse options + func_parse_lt_options "$0" ${1+"$@"} + + # Find the directory that this script lives in. + thisdir=`$ECHO "$file" | /bin/sed 's%/[^/]*$%%'` + test "x$thisdir" = "x$file" && thisdir=. + + # Follow symbolic links until we get to the real thisdir. + file=`ls -ld "$file" | /bin/sed -n 's/.*-> //p'` + while test -n "$file"; do + destdir=`$ECHO "$file" | /bin/sed 's%/[^/]*$%%'` + + # If there was a directory component, then change thisdir. + if test "x$destdir" != "x$file"; then + case "$destdir" in + [\\/]* | [A-Za-z]:[\\/]*) thisdir="$destdir" ;; + *) thisdir="$thisdir/$destdir" ;; + esac + fi + + file=`$ECHO "$file" | /bin/sed 's%^.*/%%'` + file=`ls -ld "$thisdir/$file" | /bin/sed -n 's/.*-> //p'` + done + + # Usually 'no', except on cygwin/mingw when embedded into + # the cwrapper. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=no + if test "$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR" = "yes"; then + # special case for '.' + if test "$thisdir" = "."; then + thisdir=`pwd` + fi + # remove .libs from thisdir + case "$thisdir" in + *[\\/].libs ) thisdir=`$ECHO "$thisdir" | /bin/sed 's%[\\/][^\\/]*$%%'` ;; + .libs ) thisdir=. ;; + esac + fi + + # Try to get the absolute directory name. + absdir=`cd "$thisdir" && pwd` + test -n "$absdir" && thisdir="$absdir" + + program=lt-'nconf' + progdir="$thisdir/.libs" + + if test ! -f "$progdir/$program" || + { file=`ls -1dt "$progdir/$program" "$progdir/../$program" 2>/dev/null | /bin/sed 1q`; \ + test "X$file" != "X$progdir/$program"; }; then + + file="$$-$program" + + if test ! -d "$progdir"; then + mkdir "$progdir" + else + rm -f "$progdir/$file" + fi + + # relink executable if necessary + if test -n "$relink_command"; then + if relink_command_output=`eval $relink_command 2>&1`; then : + else + printf %s\n "$relink_command_output" >&2 + rm -f "$progdir/$file" + exit 1 + fi + fi + + mv -f "$progdir/$file" "$progdir/$program" 2>/dev/null || + { rm -f "$progdir/$program"; + mv -f "$progdir/$file" "$progdir/$program"; } + rm -f "$progdir/$file" + fi + + if test -f "$progdir/$program"; then + if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then + # Run the actual program with our arguments. + func_exec_program ${1+"$@"} + fi + else + # The program doesn't exist. + $ECHO "$0: error: \`$progdir/$program' does not exist" 1>&2 + $ECHO "This script is just a wrapper for $program." 1>&2 + $ECHO "See the libtool documentation for more information." 1>&2 + exit 1 + fi +fi diff --git a/kconfig-frontends/frontends/qconf/.libs/qconf b/kconfig-frontends/frontends/qconf/.libs/qconf Binary files differnew file mode 100755 index 0000000..22c949f --- /dev/null +++ b/kconfig-frontends/frontends/qconf/.libs/qconf diff --git a/kconfig-frontends/frontends/qconf/Makefile b/kconfig-frontends/frontends/qconf/Makefile index e55a145..84e4522 100644 --- a/kconfig-frontends/frontends/qconf/Makefile +++ b/kconfig-frontends/frontends/qconf/Makefile @@ -134,15 +134,15 @@ am__can_run_installinfo = \ ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 +ACLOCAL = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 AMTAR = $${TAR-tar} AM_DEFAULT_VERBOSITY = 0 AM_LFLAGS = -L -P zconf AM_YFLAGS = -t -l -p zconf AR = ar -AUTOCONF = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf -AUTOHEADER = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader -AUTOMAKE = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 +AUTOCONF = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf +AUTOHEADER = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader +AUTOMAKE = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 @@ -172,7 +172,7 @@ INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -KCONFIGPARSER_LIB_VERSION = 3.9.0 +KCONFIGPARSER_LIB_VERSION = LD = /usr/bin/ld -m elf_x86_64 LDFLAGS = LEX = flex @@ -184,10 +184,10 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool LIPO = LN_S = ln -s LTLIBOBJS = -MAKEINFO = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo +MAKEINFO = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo MANIFEST_TOOL = : MKDIR_P = /bin/mkdir -p -MOC = +MOC = /usr/bin/moc-qt4 NM = /usr/bin/nm -B NMEDIT = OBJDUMP = objdump @@ -197,10 +197,10 @@ OTOOL64 = PACKAGE = kconfig-frontends PACKAGE_BUGREPORT = yann.morin.1998@free.fr PACKAGE_NAME = kconfig-frontends -PACKAGE_STRING = kconfig-frontends 3.9.0.0 +PACKAGE_STRING = kconfig-frontends PACKAGE_TARNAME = kconfig-frontends PACKAGE_URL = -PACKAGE_VERSION = 3.9.0.0 +PACKAGE_VERSION = PATH_SEPARATOR = : PKG_CONFIG = /usr/bin/pkg-config PKG_CONFIG_LIBDIR = @@ -208,16 +208,16 @@ PKG_CONFIG_PATH = RANLIB = ranlib SED = /bin/sed SET_MAKE = -SHELL = /bin/sh +SHELL = /bin/bash SILENT_MAKEFLAGS = --no-print-directory -s STRIP = strip -VERSION = 3.9.0.0 +VERSION = YACC = bison -y YFLAGS = -abs_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/frontends/qconf -abs_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/frontends/qconf -abs_top_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends -abs_top_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends +abs_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/frontends/qconf +abs_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/frontends/qconf +abs_top_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends +abs_top_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ @@ -243,15 +243,15 @@ dvidir = ${docdir} enable_L10n = yes enable_conf = yes enable_frontends = -enable_gconf = yes +enable_gconf = no enable_mconf = yes enable_nconf = yes -enable_qconf = no +enable_qconf = yes enable_utils = yes exec_prefix = ${prefix} gconf_EXTRA_LIBS = -gtk_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -gtk_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +gtk_CFLAGS = +gtk_LIBS = host = x86_64-unknown-linux-gnu host_alias = host_cpu = x86_64 @@ -260,7 +260,7 @@ host_vendor = unknown htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh +install_sh = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh intl_CPPFLAGS = intl_LIBS = kf_CFLAGS = -Wall @@ -272,18 +272,18 @@ mandir = ${datarootdir}/man mconf_EXTRA_LIBS = mkdir_p = /bin/mkdir -p nconf_EXTRA_LIBS = -ncurses_LIBS = -lncursesw -ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncursesw/curses.h\" -DNCURSES_WIDECHAR=1 -ncurses_nconf_CPPFLAGS = -I/usr/include/ncursesw -ncurses_panel_menu_LIBS = -lmenuw -lpanelw +ncurses_LIBS = -lncurses +ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncurses.h\" +ncurses_nconf_CPPFLAGS = +ncurses_panel_menu_LIBS = -lmenu -lpanel oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local program_transform_name = s&^&kconfig-& psdir = ${docdir} qconf_EXTRA_LIBS = -qt4_CFLAGS = -qt4_LIBS = +qt4_CFLAGS = -DQT_SHARED -DQT3_SUPPORT -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSql +qt4_LIBS = -lQt3Support -lQtGui -lQtNetwork -lQtSql -lQtCore root_menu = Configuration sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com diff --git a/kconfig-frontends/frontends/qconf/qconf b/kconfig-frontends/frontends/qconf/qconf index 676f5c8..47e2c71 100644..100755 --- a/kconfig-frontends/frontends/qconf/qconf +++ b/kconfig-frontends/frontends/qconf/qconf @@ -31,7 +31,7 @@ DUALCASE=1; export DUALCASE # for MKS sh # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH -relink_command="(cd /hd/linutronix/schulungsunterlagen/schulung/kconfig-frontends/frontends/qconf; { test -z \"\${LIBRARY_PATH+set}\" || unset LIBRARY_PATH || { LIBRARY_PATH=; export LIBRARY_PATH; }; }; { test -z \"\${COMPILER_PATH+set}\" || unset COMPILER_PATH || { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z \"\${GCC_EXEC_PREFIX+set}\" || unset GCC_EXEC_PREFIX || { GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z \"\${LD_RUN_PATH+set}\" || unset LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; { test -z \"\${LD_LIBRARY_PATH+set}\" || unset LD_LIBRARY_PATH || { LD_LIBRARY_PATH=; export LD_LIBRARY_PATH; }; }; PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games; export PATH; g++ -Wall -DQT_SHARED -DQT3_SUPPORT -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSql -g -O2 -o \$progdir/\$file qconf-qconf.o ../../libs/parser/.libs/libkconfig-parser.so ../../libs/images/libkconfig-images.a -lQt3Support -lQtGui -lQtNetwork -lQtSql -lQtCore -Wl,-rpath -Wl,/hd/linutronix/schulungsunterlagen/schulung/kconfig-frontends/libs/parser/.libs)" +relink_command="(cd /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/frontends/qconf; { test -z \"\${LIBRARY_PATH+set}\" || unset LIBRARY_PATH || { LIBRARY_PATH=; export LIBRARY_PATH; }; }; { test -z \"\${COMPILER_PATH+set}\" || unset COMPILER_PATH || { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z \"\${GCC_EXEC_PREFIX+set}\" || unset GCC_EXEC_PREFIX || { GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z \"\${LD_RUN_PATH+set}\" || unset LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; { test -z \"\${LD_LIBRARY_PATH+set}\" || unset LD_LIBRARY_PATH || { LD_LIBRARY_PATH=; export LD_LIBRARY_PATH; }; }; PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games; export PATH; g++ -Wall -DQT_SHARED -DQT3_SUPPORT -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSql -g -O2 -o \$progdir/\$file qconf-qconf.o ../../libs/parser/.libs/libkconfig-parser.so ../../libs/images/libkconfig-images.a -lQt3Support -lQtGui -lQtNetwork -lQtSql -lQtCore -Wl,-rpath -Wl,/home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/libs/parser/.libs)" # This environment variable determines our operation mode. if test "$libtool_install_magic" = "%%%MAGIC variable%%%"; then diff --git a/kconfig-frontends/frontends/qconf/qconf.moc b/kconfig-frontends/frontends/qconf/qconf.moc index 43bbb4a..b1bcf65 100644 --- a/kconfig-frontends/frontends/qconf/qconf.moc +++ b/kconfig-frontends/frontends/qconf/qconf.moc @@ -1,7 +1,7 @@ /**************************************************************************** ** Meta object code from reading C++ file 'qconf.h' ** -** Created: Mon May 13 13:53:37 2013 +** Created: Tue May 14 14:56:52 2013 ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.2) ** ** WARNING! All changes made in this file will be lost! diff --git a/kconfig-frontends/libs/Makefile b/kconfig-frontends/libs/Makefile index 5296286..3b4b3c5 100644 --- a/kconfig-frontends/libs/Makefile +++ b/kconfig-frontends/libs/Makefile @@ -119,15 +119,15 @@ am__relativize = \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" -ACLOCAL = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 +ACLOCAL = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 AMTAR = $${TAR-tar} AM_DEFAULT_VERBOSITY = 0 AM_LFLAGS = -L -P zconf AM_YFLAGS = -t -l -p zconf AR = ar -AUTOCONF = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf -AUTOHEADER = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader -AUTOMAKE = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 +AUTOCONF = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf +AUTOHEADER = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader +AUTOMAKE = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 @@ -157,7 +157,7 @@ INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -KCONFIGPARSER_LIB_VERSION = 3.9.0 +KCONFIGPARSER_LIB_VERSION = LD = /usr/bin/ld -m elf_x86_64 LDFLAGS = LEX = flex @@ -169,10 +169,10 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool LIPO = LN_S = ln -s LTLIBOBJS = -MAKEINFO = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo +MAKEINFO = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo MANIFEST_TOOL = : MKDIR_P = /bin/mkdir -p -MOC = +MOC = /usr/bin/moc-qt4 NM = /usr/bin/nm -B NMEDIT = OBJDUMP = objdump @@ -182,10 +182,10 @@ OTOOL64 = PACKAGE = kconfig-frontends PACKAGE_BUGREPORT = yann.morin.1998@free.fr PACKAGE_NAME = kconfig-frontends -PACKAGE_STRING = kconfig-frontends 3.9.0.0 +PACKAGE_STRING = kconfig-frontends PACKAGE_TARNAME = kconfig-frontends PACKAGE_URL = -PACKAGE_VERSION = 3.9.0.0 +PACKAGE_VERSION = PATH_SEPARATOR = : PKG_CONFIG = /usr/bin/pkg-config PKG_CONFIG_LIBDIR = @@ -193,16 +193,16 @@ PKG_CONFIG_PATH = RANLIB = ranlib SED = /bin/sed SET_MAKE = -SHELL = /bin/sh +SHELL = /bin/bash SILENT_MAKEFLAGS = --no-print-directory -s STRIP = strip -VERSION = 3.9.0.0 +VERSION = YACC = bison -y YFLAGS = -abs_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/libs -abs_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/libs -abs_top_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends -abs_top_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends +abs_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/libs +abs_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/libs +abs_top_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends +abs_top_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ @@ -228,15 +228,15 @@ dvidir = ${docdir} enable_L10n = yes enable_conf = yes enable_frontends = -enable_gconf = yes +enable_gconf = no enable_mconf = yes enable_nconf = yes -enable_qconf = no +enable_qconf = yes enable_utils = yes exec_prefix = ${prefix} gconf_EXTRA_LIBS = -gtk_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -gtk_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +gtk_CFLAGS = +gtk_LIBS = host = x86_64-unknown-linux-gnu host_alias = host_cpu = x86_64 @@ -245,7 +245,7 @@ host_vendor = unknown htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh +install_sh = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh intl_CPPFLAGS = intl_LIBS = kf_CFLAGS = -Wall @@ -257,18 +257,18 @@ mandir = ${datarootdir}/man mconf_EXTRA_LIBS = mkdir_p = /bin/mkdir -p nconf_EXTRA_LIBS = -ncurses_LIBS = -lncursesw -ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncursesw/curses.h\" -DNCURSES_WIDECHAR=1 -ncurses_nconf_CPPFLAGS = -I/usr/include/ncursesw -ncurses_panel_menu_LIBS = -lmenuw -lpanelw +ncurses_LIBS = -lncurses +ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncurses.h\" +ncurses_nconf_CPPFLAGS = +ncurses_panel_menu_LIBS = -lmenu -lpanel oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local program_transform_name = s&^&kconfig-& psdir = ${docdir} qconf_EXTRA_LIBS = -qt4_CFLAGS = -qt4_LIBS = +qt4_CFLAGS = -DQT_SHARED -DQT3_SUPPORT -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSql +qt4_LIBS = -lQt3Support -lQtGui -lQtNetwork -lQtSql -lQtCore root_menu = Configuration sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com diff --git a/kconfig-frontends/libs/images/Makefile b/kconfig-frontends/libs/images/Makefile index f318d54..97cabf3 100644 --- a/kconfig-frontends/libs/images/Makefile +++ b/kconfig-frontends/libs/images/Makefile @@ -117,15 +117,15 @@ am__can_run_installinfo = \ ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 +ACLOCAL = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 AMTAR = $${TAR-tar} AM_DEFAULT_VERBOSITY = 0 AM_LFLAGS = -L -P zconf AM_YFLAGS = -t -l -p zconf AR = ar -AUTOCONF = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf -AUTOHEADER = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader -AUTOMAKE = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 +AUTOCONF = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf +AUTOHEADER = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader +AUTOMAKE = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 @@ -155,7 +155,7 @@ INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -KCONFIGPARSER_LIB_VERSION = 3.9.0 +KCONFIGPARSER_LIB_VERSION = LD = /usr/bin/ld -m elf_x86_64 LDFLAGS = LEX = flex @@ -167,10 +167,10 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool LIPO = LN_S = ln -s LTLIBOBJS = -MAKEINFO = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo +MAKEINFO = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo MANIFEST_TOOL = : MKDIR_P = /bin/mkdir -p -MOC = +MOC = /usr/bin/moc-qt4 NM = /usr/bin/nm -B NMEDIT = OBJDUMP = objdump @@ -180,10 +180,10 @@ OTOOL64 = PACKAGE = kconfig-frontends PACKAGE_BUGREPORT = yann.morin.1998@free.fr PACKAGE_NAME = kconfig-frontends -PACKAGE_STRING = kconfig-frontends 3.9.0.0 +PACKAGE_STRING = kconfig-frontends PACKAGE_TARNAME = kconfig-frontends PACKAGE_URL = -PACKAGE_VERSION = 3.9.0.0 +PACKAGE_VERSION = PATH_SEPARATOR = : PKG_CONFIG = /usr/bin/pkg-config PKG_CONFIG_LIBDIR = @@ -191,16 +191,16 @@ PKG_CONFIG_PATH = RANLIB = ranlib SED = /bin/sed SET_MAKE = -SHELL = /bin/sh +SHELL = /bin/bash SILENT_MAKEFLAGS = --no-print-directory -s STRIP = strip -VERSION = 3.9.0.0 +VERSION = YACC = bison -y YFLAGS = -abs_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/libs/images -abs_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/libs/images -abs_top_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends -abs_top_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends +abs_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/libs/images +abs_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/libs/images +abs_top_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends +abs_top_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ @@ -226,15 +226,15 @@ dvidir = ${docdir} enable_L10n = yes enable_conf = yes enable_frontends = -enable_gconf = yes +enable_gconf = no enable_mconf = yes enable_nconf = yes -enable_qconf = no +enable_qconf = yes enable_utils = yes exec_prefix = ${prefix} gconf_EXTRA_LIBS = -gtk_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -gtk_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +gtk_CFLAGS = +gtk_LIBS = host = x86_64-unknown-linux-gnu host_alias = host_cpu = x86_64 @@ -243,7 +243,7 @@ host_vendor = unknown htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh +install_sh = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh intl_CPPFLAGS = intl_LIBS = kf_CFLAGS = -Wall @@ -255,18 +255,18 @@ mandir = ${datarootdir}/man mconf_EXTRA_LIBS = mkdir_p = /bin/mkdir -p nconf_EXTRA_LIBS = -ncurses_LIBS = -lncursesw -ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncursesw/curses.h\" -DNCURSES_WIDECHAR=1 -ncurses_nconf_CPPFLAGS = -I/usr/include/ncursesw -ncurses_panel_menu_LIBS = -lmenuw -lpanelw +ncurses_LIBS = -lncurses +ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncurses.h\" +ncurses_nconf_CPPFLAGS = +ncurses_panel_menu_LIBS = -lmenu -lpanel oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local program_transform_name = s&^&kconfig-& psdir = ${docdir} qconf_EXTRA_LIBS = -qt4_CFLAGS = -qt4_LIBS = +qt4_CFLAGS = -DQT_SHARED -DQT3_SUPPORT -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSql +qt4_LIBS = -lQt3Support -lQtGui -lQtNetwork -lQtSql -lQtCore root_menu = Configuration sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com diff --git a/kconfig-frontends/libs/images/images.c b/kconfig-frontends/libs/images/images.c new file mode 100644 index 0000000..6f51bac --- /dev/null +++ b/kconfig-frontends/libs/images/images.c @@ -0,0 +1,326 @@ +/* + * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> + * Released under the terms of the GNU GPL v2.0. + */ + +const char *xpm_load[] = { +"22 22 5 1", +". c None", +"# c #000000", +"c c #838100", +"a c #ffff00", +"b c #ffffff", +"......................", +"......................", +"......................", +"............####....#.", +"...........#....##.##.", +"..................###.", +".................####.", +".####...........#####.", +"#abab##########.......", +"#babababababab#.......", +"#ababababababa#.......", +"#babababababab#.......", +"#ababab###############", +"#babab##cccccccccccc##", +"#abab##cccccccccccc##.", +"#bab##cccccccccccc##..", +"#ab##cccccccccccc##...", +"#b##cccccccccccc##....", +"###cccccccccccc##.....", +"##cccccccccccc##......", +"###############.......", +"......................"}; + +const char *xpm_save[] = { +"22 22 5 1", +". c None", +"# c #000000", +"a c #838100", +"b c #c5c2c5", +"c c #cdb6d5", +"......................", +".####################.", +".#aa#bbbbbbbbbbbb#bb#.", +".#aa#bbbbbbbbbbbb#bb#.", +".#aa#bbbbbbbbbcbb####.", +".#aa#bbbccbbbbbbb#aa#.", +".#aa#bbbccbbbbbbb#aa#.", +".#aa#bbbbbbbbbbbb#aa#.", +".#aa#bbbbbbbbbbbb#aa#.", +".#aa#bbbbbbbbbbbb#aa#.", +".#aa#bbbbbbbbbbbb#aa#.", +".#aaa############aaa#.", +".#aaaaaaaaaaaaaaaaaa#.", +".#aaaaaaaaaaaaaaaaaa#.", +".#aaa#############aa#.", +".#aaa#########bbb#aa#.", +".#aaa#########bbb#aa#.", +".#aaa#########bbb#aa#.", +".#aaa#########bbb#aa#.", +".#aaa#########bbb#aa#.", +"..##################..", +"......................"}; + +const char *xpm_back[] = { +"22 22 3 1", +". c None", +"# c #000083", +"a c #838183", +"......................", +"......................", +"......................", +"......................", +"......................", +"...........######a....", +"..#......##########...", +"..##...####......##a..", +"..###.###.........##..", +"..######..........##..", +"..#####...........##..", +"..######..........##..", +"..#######.........##..", +"..########.......##a..", +"...............a###...", +"...............###....", +"......................", +"......................", +"......................", +"......................", +"......................", +"......................"}; + +const char *xpm_tree_view[] = { +"22 22 2 1", +". c None", +"# c #000000", +"......................", +"......................", +"......#...............", +"......#...............", +"......#...............", +"......#...............", +"......#...............", +"......########........", +"......#...............", +"......#...............", +"......#...............", +"......#...............", +"......#...............", +"......########........", +"......#...............", +"......#...............", +"......#...............", +"......#...............", +"......#...............", +"......########........", +"......................", +"......................"}; + +const char *xpm_single_view[] = { +"22 22 2 1", +". c None", +"# c #000000", +"......................", +"......................", +"..........#...........", +"..........#...........", +"..........#...........", +"..........#...........", +"..........#...........", +"..........#...........", +"..........#...........", +"..........#...........", +"..........#...........", +"..........#...........", +"..........#...........", +"..........#...........", +"..........#...........", +"..........#...........", +"..........#...........", +"..........#...........", +"..........#...........", +"..........#...........", +"......................", +"......................"}; + +const char *xpm_split_view[] = { +"22 22 2 1", +". c None", +"# c #000000", +"......................", +"......................", +"......#......#........", +"......#......#........", +"......#......#........", +"......#......#........", +"......#......#........", +"......#......#........", +"......#......#........", +"......#......#........", +"......#......#........", +"......#......#........", +"......#......#........", +"......#......#........", +"......#......#........", +"......#......#........", +"......#......#........", +"......#......#........", +"......#......#........", +"......#......#........", +"......................", +"......................"}; + +const char *xpm_symbol_no[] = { +"12 12 2 1", +" c white", +". c black", +" ", +" .......... ", +" . . ", +" . . ", +" . . ", +" . . ", +" . . ", +" . . ", +" . . ", +" . . ", +" .......... ", +" "}; + +const char *xpm_symbol_mod[] = { +"12 12 2 1", +" c white", +". c black", +" ", +" .......... ", +" . . ", +" . . ", +" . .. . ", +" . .... . ", +" . .... . ", +" . .. . ", +" . . ", +" . . ", +" .......... ", +" "}; + +const char *xpm_symbol_yes[] = { +"12 12 2 1", +" c white", +". c black", +" ", +" .......... ", +" . . ", +" . . ", +" . . . ", +" . .. . ", +" . . .. . ", +" . .... . ", +" . .. . ", +" . . ", +" .......... ", +" "}; + +const char *xpm_choice_no[] = { +"12 12 2 1", +" c white", +". c black", +" ", +" .... ", +" .. .. ", +" . . ", +" . . ", +" . . ", +" . . ", +" . . ", +" . . ", +" .. .. ", +" .... ", +" "}; + +const char *xpm_choice_yes[] = { +"12 12 2 1", +" c white", +". c black", +" ", +" .... ", +" .. .. ", +" . . ", +" . .. . ", +" . .... . ", +" . .... . ", +" . .. . ", +" . . ", +" .. .. ", +" .... ", +" "}; + +const char *xpm_menu[] = { +"12 12 2 1", +" c white", +". c black", +" ", +" .......... ", +" . . ", +" . .. . ", +" . .... . ", +" . ...... . ", +" . ...... . ", +" . .... . ", +" . .. . ", +" . . ", +" .......... ", +" "}; + +const char *xpm_menu_inv[] = { +"12 12 2 1", +" c white", +". c black", +" ", +" .......... ", +" .......... ", +" .. ...... ", +" .. .... ", +" .. .. ", +" .. .. ", +" .. .... ", +" .. ...... ", +" .......... ", +" .......... ", +" "}; + +const char *xpm_menuback[] = { +"12 12 2 1", +" c white", +". c black", +" ", +" .......... ", +" . . ", +" . .. . ", +" . .... . ", +" . ...... . ", +" . ...... . ", +" . .... . ", +" . .. . ", +" . . ", +" .......... ", +" "}; + +const char *xpm_void[] = { +"12 12 2 1", +" c white", +". c black", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" ", +" "}; diff --git a/kconfig-frontends/libs/images/images.h b/kconfig-frontends/libs/images/images.h new file mode 100644 index 0000000..4d528a7 --- /dev/null +++ b/kconfig-frontends/libs/images/images.h @@ -0,0 +1,15 @@ +extern const char *xpm_load[]; +extern const char *xpm_save[]; +extern const char *xpm_back[]; +extern const char *xpm_tree_view[]; +extern const char *xpm_single_view[]; +extern const char *xpm_split_view[]; +extern const char *xpm_symbol_no[]; +extern const char *xpm_symbol_mod[]; +extern const char *xpm_symbol_yes[]; +extern const char *xpm_choice_no[]; +extern const char *xpm_choice_yes[]; +extern const char *xpm_menu[]; +extern const char *xpm_menu_inv[]; +extern const char *xpm_menuback[]; +extern const char *xpm_void[]; diff --git a/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-checklist.Po b/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-checklist.Po index 5acb9d0..27f9573 100644 --- a/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-checklist.Po +++ b/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-checklist.Po @@ -7,8 +7,8 @@ libkconfig_lxdialog_a-checklist.o: checklist.c dialog.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/time.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h /usr/include/endian.h \ - /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h \ + /usr/include/endian.h /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ @@ -29,16 +29,16 @@ libkconfig_lxdialog_a-checklist.o: checklist.c dialog.h \ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h /usr/include/string.h \ /usr/include/x86_64-linux-gnu/bits/string.h \ /usr/include/x86_64-linux-gnu/bits/string2.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h \ /usr/include/libintl.h /usr/include/locale.h \ - /usr/include/x86_64-linux-gnu/bits/locale.h \ - /usr/include/ncursesw/curses.h /usr/include/ncursesw/ncurses_dll.h \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/ncurses.h \ + /usr/include/ncurses_dll.h /usr/include/stdio.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ - /usr/include/x86_64-linux-gnu/bits/stdio.h \ - /usr/include/ncursesw/unctrl.h + /usr/include/x86_64-linux-gnu/bits/stdio.h /usr/include/unctrl.h \ + /usr/include/curses.h dialog.h: @@ -64,7 +64,7 @@ dialog.h: /usr/include/time.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h: /usr/include/endian.h: @@ -124,7 +124,7 @@ dialog.h: /usr/include/x86_64-linux-gnu/bits/string2.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h: /usr/include/libintl.h: @@ -132,9 +132,9 @@ dialog.h: /usr/include/x86_64-linux-gnu/bits/locale.h: -/usr/include/ncursesw/curses.h: +/usr/include/ncurses.h: -/usr/include/ncursesw/ncurses_dll.h: +/usr/include/ncurses_dll.h: /usr/include/stdio.h: @@ -144,7 +144,7 @@ dialog.h: /usr/include/wchar.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h: /usr/include/x86_64-linux-gnu/bits/stdio_lim.h: @@ -152,4 +152,6 @@ dialog.h: /usr/include/x86_64-linux-gnu/bits/stdio.h: -/usr/include/ncursesw/unctrl.h: +/usr/include/unctrl.h: + +/usr/include/curses.h: diff --git a/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-inputbox.Po b/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-inputbox.Po index cbedb5a..1186fa5 100644 --- a/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-inputbox.Po +++ b/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-inputbox.Po @@ -7,8 +7,8 @@ libkconfig_lxdialog_a-inputbox.o: inputbox.c dialog.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/time.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h /usr/include/endian.h \ - /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h \ + /usr/include/endian.h /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ @@ -29,16 +29,16 @@ libkconfig_lxdialog_a-inputbox.o: inputbox.c dialog.h \ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h /usr/include/string.h \ /usr/include/x86_64-linux-gnu/bits/string.h \ /usr/include/x86_64-linux-gnu/bits/string2.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h \ /usr/include/libintl.h /usr/include/locale.h \ - /usr/include/x86_64-linux-gnu/bits/locale.h \ - /usr/include/ncursesw/curses.h /usr/include/ncursesw/ncurses_dll.h \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/ncurses.h \ + /usr/include/ncurses_dll.h /usr/include/stdio.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ - /usr/include/x86_64-linux-gnu/bits/stdio.h \ - /usr/include/ncursesw/unctrl.h + /usr/include/x86_64-linux-gnu/bits/stdio.h /usr/include/unctrl.h \ + /usr/include/curses.h dialog.h: @@ -64,7 +64,7 @@ dialog.h: /usr/include/time.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h: /usr/include/endian.h: @@ -124,7 +124,7 @@ dialog.h: /usr/include/x86_64-linux-gnu/bits/string2.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h: /usr/include/libintl.h: @@ -132,9 +132,9 @@ dialog.h: /usr/include/x86_64-linux-gnu/bits/locale.h: -/usr/include/ncursesw/curses.h: +/usr/include/ncurses.h: -/usr/include/ncursesw/ncurses_dll.h: +/usr/include/ncurses_dll.h: /usr/include/stdio.h: @@ -144,7 +144,7 @@ dialog.h: /usr/include/wchar.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h: /usr/include/x86_64-linux-gnu/bits/stdio_lim.h: @@ -152,4 +152,6 @@ dialog.h: /usr/include/x86_64-linux-gnu/bits/stdio.h: -/usr/include/ncursesw/unctrl.h: +/usr/include/unctrl.h: + +/usr/include/curses.h: diff --git a/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-menubox.Po b/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-menubox.Po index 9aeb6f3..3037bc2 100644 --- a/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-menubox.Po +++ b/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-menubox.Po @@ -7,8 +7,8 @@ libkconfig_lxdialog_a-menubox.o: menubox.c dialog.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/time.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h /usr/include/endian.h \ - /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h \ + /usr/include/endian.h /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ @@ -29,16 +29,16 @@ libkconfig_lxdialog_a-menubox.o: menubox.c dialog.h \ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h /usr/include/string.h \ /usr/include/x86_64-linux-gnu/bits/string.h \ /usr/include/x86_64-linux-gnu/bits/string2.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h \ /usr/include/libintl.h /usr/include/locale.h \ - /usr/include/x86_64-linux-gnu/bits/locale.h \ - /usr/include/ncursesw/curses.h /usr/include/ncursesw/ncurses_dll.h \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/ncurses.h \ + /usr/include/ncurses_dll.h /usr/include/stdio.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ - /usr/include/x86_64-linux-gnu/bits/stdio.h \ - /usr/include/ncursesw/unctrl.h + /usr/include/x86_64-linux-gnu/bits/stdio.h /usr/include/unctrl.h \ + /usr/include/curses.h dialog.h: @@ -64,7 +64,7 @@ dialog.h: /usr/include/time.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h: /usr/include/endian.h: @@ -124,7 +124,7 @@ dialog.h: /usr/include/x86_64-linux-gnu/bits/string2.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h: /usr/include/libintl.h: @@ -132,9 +132,9 @@ dialog.h: /usr/include/x86_64-linux-gnu/bits/locale.h: -/usr/include/ncursesw/curses.h: +/usr/include/ncurses.h: -/usr/include/ncursesw/ncurses_dll.h: +/usr/include/ncurses_dll.h: /usr/include/stdio.h: @@ -144,7 +144,7 @@ dialog.h: /usr/include/wchar.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h: /usr/include/x86_64-linux-gnu/bits/stdio_lim.h: @@ -152,4 +152,6 @@ dialog.h: /usr/include/x86_64-linux-gnu/bits/stdio.h: -/usr/include/ncursesw/unctrl.h: +/usr/include/unctrl.h: + +/usr/include/curses.h: diff --git a/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-textbox.Po b/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-textbox.Po index 03eb3e2..12c4202 100644 --- a/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-textbox.Po +++ b/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-textbox.Po @@ -7,8 +7,8 @@ libkconfig_lxdialog_a-textbox.o: textbox.c dialog.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/time.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h /usr/include/endian.h \ - /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h \ + /usr/include/endian.h /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ @@ -29,16 +29,16 @@ libkconfig_lxdialog_a-textbox.o: textbox.c dialog.h \ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h /usr/include/string.h \ /usr/include/x86_64-linux-gnu/bits/string.h \ /usr/include/x86_64-linux-gnu/bits/string2.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h \ /usr/include/libintl.h /usr/include/locale.h \ - /usr/include/x86_64-linux-gnu/bits/locale.h \ - /usr/include/ncursesw/curses.h /usr/include/ncursesw/ncurses_dll.h \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/ncurses.h \ + /usr/include/ncurses_dll.h /usr/include/stdio.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ - /usr/include/x86_64-linux-gnu/bits/stdio.h \ - /usr/include/ncursesw/unctrl.h + /usr/include/x86_64-linux-gnu/bits/stdio.h /usr/include/unctrl.h \ + /usr/include/curses.h dialog.h: @@ -64,7 +64,7 @@ dialog.h: /usr/include/time.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h: /usr/include/endian.h: @@ -124,7 +124,7 @@ dialog.h: /usr/include/x86_64-linux-gnu/bits/string2.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h: /usr/include/libintl.h: @@ -132,9 +132,9 @@ dialog.h: /usr/include/x86_64-linux-gnu/bits/locale.h: -/usr/include/ncursesw/curses.h: +/usr/include/ncurses.h: -/usr/include/ncursesw/ncurses_dll.h: +/usr/include/ncurses_dll.h: /usr/include/stdio.h: @@ -144,7 +144,7 @@ dialog.h: /usr/include/wchar.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h: /usr/include/x86_64-linux-gnu/bits/stdio_lim.h: @@ -152,4 +152,6 @@ dialog.h: /usr/include/x86_64-linux-gnu/bits/stdio.h: -/usr/include/ncursesw/unctrl.h: +/usr/include/unctrl.h: + +/usr/include/curses.h: diff --git a/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-util.Po b/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-util.Po index 1cd6f27..3ab5b3e 100644 --- a/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-util.Po +++ b/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-util.Po @@ -1,5 +1,5 @@ libkconfig_lxdialog_a-util.o: util.c \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h dialog.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h dialog.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/features.h \ /usr/include/stdc-predef.h /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ @@ -8,8 +8,8 @@ libkconfig_lxdialog_a-util.o: util.c \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/time.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h /usr/include/endian.h \ - /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h \ + /usr/include/endian.h /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ @@ -30,17 +30,17 @@ libkconfig_lxdialog_a-util.o: util.c \ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h /usr/include/string.h \ /usr/include/x86_64-linux-gnu/bits/string.h \ /usr/include/x86_64-linux-gnu/bits/string2.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h \ /usr/include/libintl.h /usr/include/locale.h \ - /usr/include/x86_64-linux-gnu/bits/locale.h \ - /usr/include/ncursesw/curses.h /usr/include/ncursesw/ncurses_dll.h \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/ncurses.h \ + /usr/include/ncurses_dll.h /usr/include/stdio.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ - /usr/include/x86_64-linux-gnu/bits/stdio.h \ - /usr/include/ncursesw/unctrl.h + /usr/include/x86_64-linux-gnu/bits/stdio.h /usr/include/unctrl.h \ + /usr/include/curses.h -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h: dialog.h: @@ -66,7 +66,7 @@ dialog.h: /usr/include/time.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h: /usr/include/endian.h: @@ -126,7 +126,7 @@ dialog.h: /usr/include/x86_64-linux-gnu/bits/string2.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h: /usr/include/libintl.h: @@ -134,9 +134,9 @@ dialog.h: /usr/include/x86_64-linux-gnu/bits/locale.h: -/usr/include/ncursesw/curses.h: +/usr/include/ncurses.h: -/usr/include/ncursesw/ncurses_dll.h: +/usr/include/ncurses_dll.h: /usr/include/stdio.h: @@ -152,4 +152,6 @@ dialog.h: /usr/include/x86_64-linux-gnu/bits/stdio.h: -/usr/include/ncursesw/unctrl.h: +/usr/include/unctrl.h: + +/usr/include/curses.h: diff --git a/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-yesno.Po b/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-yesno.Po index b81a002..c3ac070 100644 --- a/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-yesno.Po +++ b/kconfig-frontends/libs/lxdialog/.deps/libkconfig_lxdialog_a-yesno.Po @@ -7,8 +7,8 @@ libkconfig_lxdialog_a-yesno.o: yesno.c dialog.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/time.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h /usr/include/endian.h \ - /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h \ + /usr/include/endian.h /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ @@ -29,16 +29,16 @@ libkconfig_lxdialog_a-yesno.o: yesno.c dialog.h \ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h /usr/include/string.h \ /usr/include/x86_64-linux-gnu/bits/string.h \ /usr/include/x86_64-linux-gnu/bits/string2.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h \ /usr/include/libintl.h /usr/include/locale.h \ - /usr/include/x86_64-linux-gnu/bits/locale.h \ - /usr/include/ncursesw/curses.h /usr/include/ncursesw/ncurses_dll.h \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/ncurses.h \ + /usr/include/ncurses_dll.h /usr/include/stdio.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ - /usr/include/x86_64-linux-gnu/bits/stdio.h \ - /usr/include/ncursesw/unctrl.h + /usr/include/x86_64-linux-gnu/bits/stdio.h /usr/include/unctrl.h \ + /usr/include/curses.h dialog.h: @@ -64,7 +64,7 @@ dialog.h: /usr/include/time.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h: /usr/include/endian.h: @@ -124,7 +124,7 @@ dialog.h: /usr/include/x86_64-linux-gnu/bits/string2.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h: /usr/include/libintl.h: @@ -132,9 +132,9 @@ dialog.h: /usr/include/x86_64-linux-gnu/bits/locale.h: -/usr/include/ncursesw/curses.h: +/usr/include/ncurses.h: -/usr/include/ncursesw/ncurses_dll.h: +/usr/include/ncurses_dll.h: /usr/include/stdio.h: @@ -144,7 +144,7 @@ dialog.h: /usr/include/wchar.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h: /usr/include/x86_64-linux-gnu/bits/stdio_lim.h: @@ -152,4 +152,6 @@ dialog.h: /usr/include/x86_64-linux-gnu/bits/stdio.h: -/usr/include/ncursesw/unctrl.h: +/usr/include/unctrl.h: + +/usr/include/curses.h: diff --git a/kconfig-frontends/libs/lxdialog/Makefile b/kconfig-frontends/libs/lxdialog/Makefile index 86f157c..91d47ff 100644 --- a/kconfig-frontends/libs/lxdialog/Makefile +++ b/kconfig-frontends/libs/lxdialog/Makefile @@ -120,15 +120,15 @@ am__can_run_installinfo = \ ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 +ACLOCAL = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 AMTAR = $${TAR-tar} AM_DEFAULT_VERBOSITY = 0 AM_LFLAGS = -L -P zconf AM_YFLAGS = -t -l -p zconf AR = ar -AUTOCONF = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf -AUTOHEADER = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader -AUTOMAKE = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 +AUTOCONF = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf +AUTOHEADER = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader +AUTOMAKE = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 @@ -158,7 +158,7 @@ INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -KCONFIGPARSER_LIB_VERSION = 3.9.0 +KCONFIGPARSER_LIB_VERSION = LD = /usr/bin/ld -m elf_x86_64 LDFLAGS = LEX = flex @@ -170,10 +170,10 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool LIPO = LN_S = ln -s LTLIBOBJS = -MAKEINFO = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo +MAKEINFO = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo MANIFEST_TOOL = : MKDIR_P = /bin/mkdir -p -MOC = +MOC = /usr/bin/moc-qt4 NM = /usr/bin/nm -B NMEDIT = OBJDUMP = objdump @@ -183,10 +183,10 @@ OTOOL64 = PACKAGE = kconfig-frontends PACKAGE_BUGREPORT = yann.morin.1998@free.fr PACKAGE_NAME = kconfig-frontends -PACKAGE_STRING = kconfig-frontends 3.9.0.0 +PACKAGE_STRING = kconfig-frontends PACKAGE_TARNAME = kconfig-frontends PACKAGE_URL = -PACKAGE_VERSION = 3.9.0.0 +PACKAGE_VERSION = PATH_SEPARATOR = : PKG_CONFIG = /usr/bin/pkg-config PKG_CONFIG_LIBDIR = @@ -194,16 +194,16 @@ PKG_CONFIG_PATH = RANLIB = ranlib SED = /bin/sed SET_MAKE = -SHELL = /bin/sh +SHELL = /bin/bash SILENT_MAKEFLAGS = --no-print-directory -s STRIP = strip -VERSION = 3.9.0.0 +VERSION = YACC = bison -y YFLAGS = -abs_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/libs/lxdialog -abs_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/libs/lxdialog -abs_top_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends -abs_top_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends +abs_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/libs/lxdialog +abs_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/libs/lxdialog +abs_top_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends +abs_top_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ @@ -229,15 +229,15 @@ dvidir = ${docdir} enable_L10n = yes enable_conf = yes enable_frontends = -enable_gconf = yes +enable_gconf = no enable_mconf = yes enable_nconf = yes -enable_qconf = no +enable_qconf = yes enable_utils = yes exec_prefix = ${prefix} gconf_EXTRA_LIBS = -gtk_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -gtk_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +gtk_CFLAGS = +gtk_LIBS = host = x86_64-unknown-linux-gnu host_alias = host_cpu = x86_64 @@ -246,7 +246,7 @@ host_vendor = unknown htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh +install_sh = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh intl_CPPFLAGS = intl_LIBS = kf_CFLAGS = -Wall @@ -258,18 +258,18 @@ mandir = ${datarootdir}/man mconf_EXTRA_LIBS = mkdir_p = /bin/mkdir -p nconf_EXTRA_LIBS = -ncurses_LIBS = -lncursesw -ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncursesw/curses.h\" -DNCURSES_WIDECHAR=1 -ncurses_nconf_CPPFLAGS = -I/usr/include/ncursesw -ncurses_panel_menu_LIBS = -lmenuw -lpanelw +ncurses_LIBS = -lncurses +ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncurses.h\" +ncurses_nconf_CPPFLAGS = +ncurses_panel_menu_LIBS = -lmenu -lpanel oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local program_transform_name = s&^&kconfig-& psdir = ${docdir} qconf_EXTRA_LIBS = -qt4_CFLAGS = -qt4_LIBS = +qt4_CFLAGS = -DQT_SHARED -DQT3_SUPPORT -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSql +qt4_LIBS = -lQt3Support -lQtGui -lQtNetwork -lQtSql -lQtCore root_menu = Configuration sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com diff --git a/kconfig-frontends/libs/parser/.deps/libkconfig_parser_la-yconf.Plo b/kconfig-frontends/libs/parser/.deps/libkconfig_parser_la-yconf.Plo index 9d3ec5e..3ef8597 100644 --- a/kconfig-frontends/libs/parser/.deps/libkconfig_parser_la-yconf.Plo +++ b/kconfig-frontends/libs/parser/.deps/libkconfig_parser_la-yconf.Plo @@ -10,9 +10,10 @@ libkconfig_parser_la-yconf.lo: yconf.c /usr/include/ctype.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/xlocale.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h /usr/include/stdio.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h /usr/include/libio.h \ - /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h \ + /usr/include/stdio.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h /usr/include/stdlib.h \ @@ -28,15 +29,15 @@ libkconfig_parser_la-yconf.lo: yconf.c /usr/include/ctype.h \ /usr/include/x86_64-linux-gnu/bits/stdlib-float.h /usr/include/string.h \ /usr/include/x86_64-linux-gnu/bits/string.h \ /usr/include/x86_64-linux-gnu/bits/string2.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h lkc.h expr.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h lkc.h expr.h \ /usr/include/assert.h list.h /usr/include/libintl.h \ /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ lkc_proto.h hconf.c lconf.c /usr/include/errno.h \ /usr/include/x86_64-linux-gnu/bits/errno.h /usr/include/linux/errno.h \ /usr/include/x86_64-linux-gnu/asm/errno.h \ /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/limits.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/syslimits.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include-fixed/syslimits.h \ /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ /usr/include/x86_64-linux-gnu/bits/local_lim.h \ /usr/include/linux/limits.h \ @@ -82,11 +83,11 @@ libkconfig_parser_la-yconf.lo: yconf.c /usr/include/ctype.h \ /usr/include/xlocale.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h: /usr/include/stdio.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h: /usr/include/libio.h: @@ -132,7 +133,7 @@ libkconfig_parser_la-yconf.lo: yconf.c /usr/include/ctype.h \ /usr/include/x86_64-linux-gnu/bits/string2.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h: lkc.h: @@ -166,9 +167,9 @@ lconf.c: /usr/include/asm-generic/errno-base.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/limits.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include-fixed/limits.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/syslimits.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include-fixed/syslimits.h: /usr/include/limits.h: diff --git a/kconfig-frontends/libs/parser/.libs/libkconfig-parser--no-undefined.so b/kconfig-frontends/libs/parser/.libs/libkconfig-parser--no-undefined.so Binary files differnew file mode 100755 index 0000000..ee10d24 --- /dev/null +++ b/kconfig-frontends/libs/parser/.libs/libkconfig-parser--no-undefined.so diff --git a/kconfig-frontends/libs/parser/.libs/libkconfig-parser.la b/kconfig-frontends/libs/parser/.libs/libkconfig-parser.la new file mode 120000 index 0000000..5cba158 --- /dev/null +++ b/kconfig-frontends/libs/parser/.libs/libkconfig-parser.la @@ -0,0 +1 @@ +../libkconfig-parser.la
\ No newline at end of file diff --git a/kconfig-frontends/libs/parser/.libs/libkconfig-parser.lai b/kconfig-frontends/libs/parser/.libs/libkconfig-parser.lai new file mode 100644 index 0000000..1c15229 --- /dev/null +++ b/kconfig-frontends/libs/parser/.libs/libkconfig-parser.lai @@ -0,0 +1,41 @@ +# libkconfig-parser.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.2ubuntu1 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='libkconfig-parser--no-undefined.so' + +# Names of this library. +library_names='libkconfig-parser--no-undefined.so libkconfig-parser--no-undefined.so libkconfig-parser.so' + +# The name of the static archive. +old_library='' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs='' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libkconfig-parser. +current=0 +age=0 +revision=0 + +# Is this an already installed library? +installed=yes + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/usr/local/lib' diff --git a/kconfig-frontends/libs/parser/.libs/libkconfig-parser.so b/kconfig-frontends/libs/parser/.libs/libkconfig-parser.so new file mode 120000 index 0000000..70e39b4 --- /dev/null +++ b/kconfig-frontends/libs/parser/.libs/libkconfig-parser.so @@ -0,0 +1 @@ +libkconfig-parser--no-undefined.so
\ No newline at end of file diff --git a/kconfig-frontends/libs/parser/Makefile b/kconfig-frontends/libs/parser/Makefile index bd874f6..15af071 100644 --- a/kconfig-frontends/libs/parser/Makefile +++ b/kconfig-frontends/libs/parser/Makefile @@ -161,15 +161,15 @@ HEADERS = $(kconfig_include_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 +ACLOCAL = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 AMTAR = $${TAR-tar} AM_DEFAULT_VERBOSITY = 0 AM_LFLAGS = -L -P zconf AM_YFLAGS = -t -l -p zconf AR = ar -AUTOCONF = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf -AUTOHEADER = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader -AUTOMAKE = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 +AUTOCONF = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf +AUTOHEADER = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader +AUTOMAKE = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 @@ -199,7 +199,7 @@ INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -KCONFIGPARSER_LIB_VERSION = 3.9.0 +KCONFIGPARSER_LIB_VERSION = LD = /usr/bin/ld -m elf_x86_64 LDFLAGS = LEX = flex @@ -211,10 +211,10 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool LIPO = LN_S = ln -s LTLIBOBJS = -MAKEINFO = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo +MAKEINFO = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo MANIFEST_TOOL = : MKDIR_P = /bin/mkdir -p -MOC = +MOC = /usr/bin/moc-qt4 NM = /usr/bin/nm -B NMEDIT = OBJDUMP = objdump @@ -224,10 +224,10 @@ OTOOL64 = PACKAGE = kconfig-frontends PACKAGE_BUGREPORT = yann.morin.1998@free.fr PACKAGE_NAME = kconfig-frontends -PACKAGE_STRING = kconfig-frontends 3.9.0.0 +PACKAGE_STRING = kconfig-frontends PACKAGE_TARNAME = kconfig-frontends PACKAGE_URL = -PACKAGE_VERSION = 3.9.0.0 +PACKAGE_VERSION = PATH_SEPARATOR = : PKG_CONFIG = /usr/bin/pkg-config PKG_CONFIG_LIBDIR = @@ -235,16 +235,16 @@ PKG_CONFIG_PATH = RANLIB = ranlib SED = /bin/sed SET_MAKE = -SHELL = /bin/sh +SHELL = /bin/bash SILENT_MAKEFLAGS = --no-print-directory -s STRIP = strip -VERSION = 3.9.0.0 +VERSION = YACC = bison -y YFLAGS = -abs_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/libs/parser -abs_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/libs/parser -abs_top_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends -abs_top_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends +abs_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/libs/parser +abs_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/libs/parser +abs_top_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends +abs_top_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ @@ -270,15 +270,15 @@ dvidir = ${docdir} enable_L10n = yes enable_conf = yes enable_frontends = -enable_gconf = yes +enable_gconf = no enable_mconf = yes enable_nconf = yes -enable_qconf = no +enable_qconf = yes enable_utils = yes exec_prefix = ${prefix} gconf_EXTRA_LIBS = -gtk_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -gtk_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +gtk_CFLAGS = +gtk_LIBS = host = x86_64-unknown-linux-gnu host_alias = host_cpu = x86_64 @@ -287,7 +287,7 @@ host_vendor = unknown htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh +install_sh = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh intl_CPPFLAGS = intl_LIBS = kf_CFLAGS = -Wall @@ -299,18 +299,18 @@ mandir = ${datarootdir}/man mconf_EXTRA_LIBS = mkdir_p = /bin/mkdir -p nconf_EXTRA_LIBS = -ncurses_LIBS = -lncursesw -ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncursesw/curses.h\" -DNCURSES_WIDECHAR=1 -ncurses_nconf_CPPFLAGS = -I/usr/include/ncursesw -ncurses_panel_menu_LIBS = -lmenuw -lpanelw +ncurses_LIBS = -lncurses +ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncurses.h\" +ncurses_nconf_CPPFLAGS = +ncurses_panel_menu_LIBS = -lmenu -lpanel oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local program_transform_name = s&^&kconfig-& psdir = ${docdir} qconf_EXTRA_LIBS = -qt4_CFLAGS = -qt4_LIBS = +qt4_CFLAGS = -DQT_SHARED -DQT3_SUPPORT -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSql +qt4_LIBS = -lQt3Support -lQtGui -lQtNetwork -lQtSql -lQtCore root_menu = Configuration sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com diff --git a/kconfig-frontends/libs/parser/hconf.c b/kconfig-frontends/libs/parser/hconf.c new file mode 100644 index 0000000..51c4374 --- /dev/null +++ b/kconfig-frontends/libs/parser/hconf.c @@ -0,0 +1,286 @@ +/* ANSI-C code produced by gperf version 3.0.3 */ +/* Command-line: gperf -t --output-file hconf.c -a -C -E -g -k '1,3,$' -p -t hconf.gperf */ + +#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ + && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ + && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ + && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ + && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ + && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ + && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ + && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ + && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ + && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ + && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ + && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ + && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ + && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ + && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ + && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ + && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ + && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ + && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ + && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ + && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ + && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ + && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) +/* The character set is not based on ISO-646. */ +#error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>." +#endif + +#line 10 "hconf.gperf" +struct kconf_id; + +static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len); +/* maximum key range = 71, duplicates = 0 */ + +#ifdef __GNUC__ +__inline +#else +#ifdef __cplusplus +inline +#endif +#endif +static unsigned int +kconf_id_hash (register const char *str, register unsigned int len) +{ + static const unsigned char asso_values[] = + { + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 25, 25, + 0, 0, 0, 5, 0, 0, 73, 73, 5, 0, + 10, 5, 45, 73, 20, 20, 0, 15, 15, 73, + 20, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, + 73, 73, 73, 73, 73, 73 + }; + register int hval = len; + + switch (hval) + { + default: + hval += asso_values[(unsigned char)str[2]]; + /*FALLTHROUGH*/ + case 2: + case 1: + hval += asso_values[(unsigned char)str[0]]; + break; + } + return hval + asso_values[(unsigned char)str[len - 1]]; +} + +struct kconf_id_strings_t + { + char kconf_id_strings_str2[sizeof("if")]; + char kconf_id_strings_str3[sizeof("int")]; + char kconf_id_strings_str5[sizeof("endif")]; + char kconf_id_strings_str7[sizeof("default")]; + char kconf_id_strings_str8[sizeof("tristate")]; + char kconf_id_strings_str9[sizeof("endchoice")]; + char kconf_id_strings_str12[sizeof("def_tristate")]; + char kconf_id_strings_str13[sizeof("def_bool")]; + char kconf_id_strings_str14[sizeof("defconfig_list")]; + char kconf_id_strings_str17[sizeof("on")]; + char kconf_id_strings_str18[sizeof("optional")]; + char kconf_id_strings_str21[sizeof("option")]; + char kconf_id_strings_str22[sizeof("endmenu")]; + char kconf_id_strings_str23[sizeof("mainmenu")]; + char kconf_id_strings_str25[sizeof("menuconfig")]; + char kconf_id_strings_str27[sizeof("modules")]; + char kconf_id_strings_str29[sizeof("menu")]; + char kconf_id_strings_str31[sizeof("select")]; + char kconf_id_strings_str32[sizeof("comment")]; + char kconf_id_strings_str33[sizeof("env")]; + char kconf_id_strings_str35[sizeof("range")]; + char kconf_id_strings_str36[sizeof("choice")]; + char kconf_id_strings_str39[sizeof("bool")]; + char kconf_id_strings_str41[sizeof("source")]; + char kconf_id_strings_str42[sizeof("visible")]; + char kconf_id_strings_str43[sizeof("hex")]; + char kconf_id_strings_str46[sizeof("config")]; + char kconf_id_strings_str47[sizeof("boolean")]; + char kconf_id_strings_str51[sizeof("string")]; + char kconf_id_strings_str54[sizeof("help")]; + char kconf_id_strings_str56[sizeof("prompt")]; + char kconf_id_strings_str72[sizeof("depends")]; + }; +static const struct kconf_id_strings_t kconf_id_strings_contents = + { + "if", + "int", + "endif", + "default", + "tristate", + "endchoice", + "def_tristate", + "def_bool", + "defconfig_list", + "on", + "optional", + "option", + "endmenu", + "mainmenu", + "menuconfig", + "modules", + "menu", + "select", + "comment", + "env", + "range", + "choice", + "bool", + "source", + "visible", + "hex", + "config", + "boolean", + "string", + "help", + "prompt", + "depends" + }; +#define kconf_id_strings ((const char *) &kconf_id_strings_contents) +#ifdef __GNUC__ +__inline +#ifdef __GNUC_STDC_INLINE__ +__attribute__ ((__gnu_inline__)) +#endif +#endif +const struct kconf_id * +kconf_id_lookup (register const char *str, register unsigned int len) +{ + enum + { + TOTAL_KEYWORDS = 32, + MIN_WORD_LENGTH = 2, + MAX_WORD_LENGTH = 14, + MIN_HASH_VALUE = 2, + MAX_HASH_VALUE = 72 + }; + + static const struct kconf_id wordlist[] = + { + {-1}, {-1}, +#line 25 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str2, T_IF, TF_COMMAND|TF_PARAM}, +#line 36 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str3, T_TYPE, TF_COMMAND, S_INT}, + {-1}, +#line 26 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str5, T_ENDIF, TF_COMMAND}, + {-1}, +#line 29 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str7, T_DEFAULT, TF_COMMAND, S_UNKNOWN}, +#line 31 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str8, T_TYPE, TF_COMMAND, S_TRISTATE}, +#line 20 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str9, T_ENDCHOICE, TF_COMMAND}, + {-1}, {-1}, +#line 32 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str12, T_DEFAULT, TF_COMMAND, S_TRISTATE}, +#line 35 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str13, T_DEFAULT, TF_COMMAND, S_BOOLEAN}, +#line 45 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str14, T_OPT_DEFCONFIG_LIST,TF_OPTION}, + {-1}, {-1}, +#line 43 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str17, T_ON, TF_PARAM}, +#line 28 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str18, T_OPTIONAL, TF_COMMAND}, + {-1}, {-1}, +#line 42 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str21, T_OPTION, TF_COMMAND}, +#line 17 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str22, T_ENDMENU, TF_COMMAND}, +#line 15 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str23, T_MAINMENU, TF_COMMAND}, + {-1}, +#line 23 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str25, T_MENUCONFIG, TF_COMMAND}, + {-1}, +#line 44 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str27, T_OPT_MODULES, TF_OPTION}, + {-1}, +#line 16 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str29, T_MENU, TF_COMMAND}, + {-1}, +#line 39 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str31, T_SELECT, TF_COMMAND}, +#line 21 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str32, T_COMMENT, TF_COMMAND}, +#line 46 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str33, T_OPT_ENV, TF_OPTION}, + {-1}, +#line 40 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str35, T_RANGE, TF_COMMAND}, +#line 19 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str36, T_CHOICE, TF_COMMAND}, + {-1}, {-1}, +#line 33 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str39, T_TYPE, TF_COMMAND, S_BOOLEAN}, + {-1}, +#line 18 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str41, T_SOURCE, TF_COMMAND}, +#line 41 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str42, T_VISIBLE, TF_COMMAND}, +#line 37 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str43, T_TYPE, TF_COMMAND, S_HEX}, + {-1}, {-1}, +#line 22 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str46, T_CONFIG, TF_COMMAND}, +#line 34 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str47, T_TYPE, TF_COMMAND, S_BOOLEAN}, + {-1}, {-1}, {-1}, +#line 38 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str51, T_TYPE, TF_COMMAND, S_STRING}, + {-1}, {-1}, +#line 24 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str54, T_HELP, TF_COMMAND}, + {-1}, +#line 30 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str56, T_PROMPT, TF_COMMAND}, + {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, + {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, +#line 27 "hconf.gperf" + {(int)(long)&((struct kconf_id_strings_t *)0)->kconf_id_strings_str72, T_DEPENDS, TF_COMMAND} + }; + + if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) + { + register int key = kconf_id_hash (str, len); + + if (key <= MAX_HASH_VALUE && key >= 0) + { + register int o = wordlist[key].name; + if (o >= 0) + { + register const char *s = o + kconf_id_strings; + + if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0') + return &wordlist[key]; + } + } + } + return 0; +} +#line 47 "hconf.gperf" + diff --git a/kconfig-frontends/libs/parser/lconf.c b/kconfig-frontends/libs/parser/lconf.c new file mode 100644 index 0000000..24aa349 --- /dev/null +++ b/kconfig-frontends/libs/parser/lconf.c @@ -0,0 +1,2434 @@ + +#line 3 "lconf.c" + +#define YY_INT_ALIGNED short int + +/* A lexical scanner generated by flex */ + +#define yy_create_buffer zconf_create_buffer +#define yy_delete_buffer zconf_delete_buffer +#define yy_flex_debug zconf_flex_debug +#define yy_init_buffer zconf_init_buffer +#define yy_flush_buffer zconf_flush_buffer +#define yy_load_buffer_state zconf_load_buffer_state +#define yy_switch_to_buffer zconf_switch_to_buffer +#define yyin zconfin +#define yyleng zconfleng +#define yylex zconflex +#define yylineno zconflineno +#define yyout zconfout +#define yyrestart zconfrestart +#define yytext zconftext +#define yywrap zconfwrap +#define yyalloc zconfalloc +#define yyrealloc zconfrealloc +#define yyfree zconffree + +#define FLEX_SCANNER +#define YY_FLEX_MAJOR_VERSION 2 +#define YY_FLEX_MINOR_VERSION 5 +#define YY_FLEX_SUBMINOR_VERSION 35 +#if YY_FLEX_SUBMINOR_VERSION > 0 +#define FLEX_BETA +#endif + +/* First, we deal with platform-specific or compiler-specific issues. */ + +/* begin standard C headers. */ +#include <stdio.h> +#include <string.h> +#include <errno.h> +#include <stdlib.h> + +/* end standard C headers. */ + +/* flex integer type definitions */ + +#ifndef FLEXINT_H +#define FLEXINT_H + +/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ + +#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L + +/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, + * if you want the limit (max/min) macros for int types. + */ +#ifndef __STDC_LIMIT_MACROS +#define __STDC_LIMIT_MACROS 1 +#endif + +#include <inttypes.h> +typedef int8_t flex_int8_t; +typedef uint8_t flex_uint8_t; +typedef int16_t flex_int16_t; +typedef uint16_t flex_uint16_t; +typedef int32_t flex_int32_t; +typedef uint32_t flex_uint32_t; +#else +typedef signed char flex_int8_t; +typedef short int flex_int16_t; +typedef int flex_int32_t; +typedef unsigned char flex_uint8_t; +typedef unsigned short int flex_uint16_t; +typedef unsigned int flex_uint32_t; + +/* Limits of integral types. */ +#ifndef INT8_MIN +#define INT8_MIN (-128) +#endif +#ifndef INT16_MIN +#define INT16_MIN (-32767-1) +#endif +#ifndef INT32_MIN +#define INT32_MIN (-2147483647-1) +#endif +#ifndef INT8_MAX +#define INT8_MAX (127) +#endif +#ifndef INT16_MAX +#define INT16_MAX (32767) +#endif +#ifndef INT32_MAX +#define INT32_MAX (2147483647) +#endif +#ifndef UINT8_MAX +#define UINT8_MAX (255U) +#endif +#ifndef UINT16_MAX +#define UINT16_MAX (65535U) +#endif +#ifndef UINT32_MAX +#define UINT32_MAX (4294967295U) +#endif + +#endif /* ! C99 */ + +#endif /* ! FLEXINT_H */ + +#ifdef __cplusplus + +/* The "const" storage-class-modifier is valid. */ +#define YY_USE_CONST + +#else /* ! __cplusplus */ + +/* C99 requires __STDC__ to be defined as 1. */ +#if defined (__STDC__) + +#define YY_USE_CONST + +#endif /* defined (__STDC__) */ +#endif /* ! __cplusplus */ + +#ifdef YY_USE_CONST +#define yyconst const +#else +#define yyconst +#endif + +/* Returned upon end-of-file. */ +#define YY_NULL 0 + +/* Promotes a possibly negative, possibly signed char to an unsigned + * integer for use as an array index. If the signed char is negative, + * we want to instead treat it as an 8-bit unsigned char, hence the + * double cast. + */ +#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) + +/* Enter a start condition. This macro really ought to take a parameter, + * but we do it the disgusting crufty way forced on us by the ()-less + * definition of BEGIN. + */ +#define BEGIN (yy_start) = 1 + 2 * + +/* Translate the current start state into a value that can be later handed + * to BEGIN to return to the state. The YYSTATE alias is for lex + * compatibility. + */ +#define YY_START (((yy_start) - 1) / 2) +#define YYSTATE YY_START + +/* Action number for EOF rule of a given start state. */ +#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) + +/* Special action meaning "start processing a new file". */ +#define YY_NEW_FILE zconfrestart(zconfin ) + +#define YY_END_OF_BUFFER_CHAR 0 + +/* Size of default input buffer. */ +#ifndef YY_BUF_SIZE +#ifdef __ia64__ +/* On IA-64, the buffer size is 16k, not 8k. + * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. + * Ditto for the __ia64__ case accordingly. + */ +#define YY_BUF_SIZE 32768 +#else +#define YY_BUF_SIZE 16384 +#endif /* __ia64__ */ +#endif + +/* The state buf must be large enough to hold one state per character in the main buffer. + */ +#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) + +#ifndef YY_TYPEDEF_YY_BUFFER_STATE +#define YY_TYPEDEF_YY_BUFFER_STATE +typedef struct yy_buffer_state *YY_BUFFER_STATE; +#endif + +extern int zconfleng; + +extern FILE *zconfin, *zconfout; + +#define EOB_ACT_CONTINUE_SCAN 0 +#define EOB_ACT_END_OF_FILE 1 +#define EOB_ACT_LAST_MATCH 2 + + #define YY_LESS_LINENO(n) + +/* Return all but the first "n" matched characters back to the input stream. */ +#define yyless(n) \ + do \ + { \ + /* Undo effects of setting up zconftext. */ \ + int yyless_macro_arg = (n); \ + YY_LESS_LINENO(yyless_macro_arg);\ + *yy_cp = (yy_hold_char); \ + YY_RESTORE_YY_MORE_OFFSET \ + (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ + YY_DO_BEFORE_ACTION; /* set up zconftext again */ \ + } \ + while ( 0 ) + +#define unput(c) yyunput( c, (yytext_ptr) ) + +#ifndef YY_TYPEDEF_YY_SIZE_T +#define YY_TYPEDEF_YY_SIZE_T +typedef size_t yy_size_t; +#endif + +#ifndef YY_STRUCT_YY_BUFFER_STATE +#define YY_STRUCT_YY_BUFFER_STATE +struct yy_buffer_state + { + FILE *yy_input_file; + + char *yy_ch_buf; /* input buffer */ + char *yy_buf_pos; /* current position in input buffer */ + + /* Size of input buffer in bytes, not including room for EOB + * characters. + */ + yy_size_t yy_buf_size; + + /* Number of characters read into yy_ch_buf, not including EOB + * characters. + */ + int yy_n_chars; + + /* Whether we "own" the buffer - i.e., we know we created it, + * and can realloc() it to grow it, and should free() it to + * delete it. + */ + int yy_is_our_buffer; + + /* Whether this is an "interactive" input source; if so, and + * if we're using stdio for input, then we want to use getc() + * instead of fread(), to make sure we stop fetching input after + * each newline. + */ + int yy_is_interactive; + + /* Whether we're considered to be at the beginning of a line. + * If so, '^' rules will be active on the next match, otherwise + * not. + */ + int yy_at_bol; + + int yy_bs_lineno; /**< The line count. */ + int yy_bs_column; /**< The column count. */ + + /* Whether to try to fill the input buffer when we reach the + * end of it. + */ + int yy_fill_buffer; + + int yy_buffer_status; + +#define YY_BUFFER_NEW 0 +#define YY_BUFFER_NORMAL 1 + /* When an EOF's been seen but there's still some text to process + * then we mark the buffer as YY_EOF_PENDING, to indicate that we + * shouldn't try reading from the input source any more. We might + * still have a bunch of tokens to match, though, because of + * possible backing-up. + * + * When we actually see the EOF, we change the status to "new" + * (via zconfrestart()), so that the user can continue scanning by + * just pointing zconfin at a new input file. + */ +#define YY_BUFFER_EOF_PENDING 2 + + }; +#endif /* !YY_STRUCT_YY_BUFFER_STATE */ + +/* Stack of input buffers. */ +static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ +static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ +static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ + +/* We provide macros for accessing buffer states in case in the + * future we want to put the buffer states in a more general + * "scanner state". + * + * Returns the top of the stack, or NULL. + */ +#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ + ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ + : NULL) + +/* Same as previous macro, but useful when we know that the buffer stack is not + * NULL or when we need an lvalue. For internal use only. + */ +#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] + +/* yy_hold_char holds the character lost when zconftext is formed. */ +static char yy_hold_char; +static int yy_n_chars; /* number of characters read into yy_ch_buf */ +int zconfleng; + +/* Points to current character in buffer. */ +static char *yy_c_buf_p = (char *) 0; +static int yy_init = 0; /* whether we need to initialize */ +static int yy_start = 0; /* start state number */ + +/* Flag which is used to allow zconfwrap()'s to do buffer switches + * instead of setting up a fresh zconfin. A bit of a hack ... + */ +static int yy_did_buffer_switch_on_eof; + +void zconfrestart (FILE *input_file ); +void zconf_switch_to_buffer (YY_BUFFER_STATE new_buffer ); +YY_BUFFER_STATE zconf_create_buffer (FILE *file,int size ); +void zconf_delete_buffer (YY_BUFFER_STATE b ); +void zconf_flush_buffer (YY_BUFFER_STATE b ); +void zconfpush_buffer_state (YY_BUFFER_STATE new_buffer ); +void zconfpop_buffer_state (void ); + +static void zconfensure_buffer_stack (void ); +static void zconf_load_buffer_state (void ); +static void zconf_init_buffer (YY_BUFFER_STATE b,FILE *file ); + +#define YY_FLUSH_BUFFER zconf_flush_buffer(YY_CURRENT_BUFFER ) + +YY_BUFFER_STATE zconf_scan_buffer (char *base,yy_size_t size ); +YY_BUFFER_STATE zconf_scan_string (yyconst char *yy_str ); +YY_BUFFER_STATE zconf_scan_bytes (yyconst char *bytes,int len ); + +void *zconfalloc (yy_size_t ); +void *zconfrealloc (void *,yy_size_t ); +void zconffree (void * ); + +#define yy_new_buffer zconf_create_buffer + +#define yy_set_interactive(is_interactive) \ + { \ + if ( ! YY_CURRENT_BUFFER ){ \ + zconfensure_buffer_stack (); \ + YY_CURRENT_BUFFER_LVALUE = \ + zconf_create_buffer(zconfin,YY_BUF_SIZE ); \ + } \ + YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ + } + +#define yy_set_bol(at_bol) \ + { \ + if ( ! YY_CURRENT_BUFFER ){\ + zconfensure_buffer_stack (); \ + YY_CURRENT_BUFFER_LVALUE = \ + zconf_create_buffer(zconfin,YY_BUF_SIZE ); \ + } \ + YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ + } + +#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) + +/* Begin user sect3 */ + +#define zconfwrap(n) 1 +#define YY_SKIP_YYWRAP + +typedef unsigned char YY_CHAR; + +FILE *zconfin = (FILE *) 0, *zconfout = (FILE *) 0; + +typedef int yy_state_type; + +extern int zconflineno; + +int zconflineno = 1; + +extern char *zconftext; +#define yytext_ptr zconftext +static yyconst flex_int16_t yy_nxt[][17] = + { + { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0 + }, + + { + 11, 12, 13, 14, 12, 12, 15, 12, 12, 12, + 12, 12, 12, 12, 12, 12, 12 + }, + + { + 11, 12, 13, 14, 12, 12, 15, 12, 12, 12, + 12, 12, 12, 12, 12, 12, 12 + }, + + { + 11, 16, 16, 17, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 18, 16, 16, 16 + }, + + { + 11, 16, 16, 17, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 18, 16, 16, 16 + + }, + + { + 11, 19, 20, 21, 19, 19, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 19, 19 + }, + + { + 11, 19, 20, 21, 19, 19, 19, 19, 19, 19, + 19, 19, 19, 19, 19, 19, 19 + }, + + { + 11, 22, 22, 23, 22, 24, 22, 22, 24, 22, + 22, 22, 22, 22, 22, 25, 22 + }, + + { + 11, 22, 22, 23, 22, 24, 22, 22, 24, 22, + 22, 22, 22, 22, 22, 25, 22 + }, + + { + 11, 26, 26, 27, 28, 29, 30, 31, 29, 32, + 33, 34, 35, 35, 36, 37, 38 + + }, + + { + 11, 26, 26, 27, 28, 29, 30, 31, 29, 32, + 33, 34, 35, 35, 36, 37, 38 + }, + + { + -11, -11, -11, -11, -11, -11, -11, -11, -11, -11, + -11, -11, -11, -11, -11, -11, -11 + }, + + { + 11, -12, -12, -12, -12, -12, -12, -12, -12, -12, + -12, -12, -12, -12, -12, -12, -12 + }, + + { + 11, -13, 39, 40, -13, -13, 41, -13, -13, -13, + -13, -13, -13, -13, -13, -13, -13 + }, + + { + 11, -14, -14, -14, -14, -14, -14, -14, -14, -14, + -14, -14, -14, -14, -14, -14, -14 + + }, + + { + 11, 42, 42, 43, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42 + }, + + { + 11, -16, -16, -16, -16, -16, -16, -16, -16, -16, + -16, -16, -16, -16, -16, -16, -16 + }, + + { + 11, -17, -17, -17, -17, -17, -17, -17, -17, -17, + -17, -17, -17, -17, -17, -17, -17 + }, + + { + 11, -18, -18, -18, -18, -18, -18, -18, -18, -18, + -18, -18, -18, 44, -18, -18, -18 + }, + + { + 11, 45, 45, -19, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45 + + }, + + { + 11, -20, 46, 47, -20, -20, -20, -20, -20, -20, + -20, -20, -20, -20, -20, -20, -20 + }, + + { + 11, 48, -21, -21, 48, 48, 48, 48, 48, 48, + 48, 48, 48, 48, 48, 48, 48 + }, + + { + 11, 49, 49, 50, 49, -22, 49, 49, -22, 49, + 49, 49, 49, 49, 49, -22, 49 + }, + + { + 11, -23, -23, -23, -23, -23, -23, -23, -23, -23, + -23, -23, -23, -23, -23, -23, -23 + }, + + { + 11, -24, -24, -24, -24, -24, -24, -24, -24, -24, + -24, -24, -24, -24, -24, -24, -24 + + }, + + { + 11, 51, 51, 52, 51, 51, 51, 51, 51, 51, + 51, 51, 51, 51, 51, 51, 51 + }, + + { + 11, -26, -26, -26, -26, -26, -26, -26, -26, -26, + -26, -26, -26, -26, -26, -26, -26 + }, + + { + 11, -27, -27, -27, -27, -27, -27, -27, -27, -27, + -27, -27, -27, -27, -27, -27, -27 + }, + + { + 11, -28, -28, -28, -28, -28, -28, -28, -28, -28, + -28, -28, -28, -28, 53, -28, -28 + }, + + { + 11, -29, -29, -29, -29, -29, -29, -29, -29, -29, + -29, -29, -29, -29, -29, -29, -29 + + }, + + { + 11, 54, 54, -30, 54, 54, 54, 54, 54, 54, + 54, 54, 54, 54, 54, 54, 54 + }, + + { + 11, -31, -31, -31, -31, -31, -31, 55, -31, -31, + -31, -31, -31, -31, -31, -31, -31 + }, + + { + 11, -32, -32, -32, -32, -32, -32, -32, -32, -32, + -32, -32, -32, -32, -32, -32, -32 + }, + + { + 11, -33, -33, -33, -33, -33, -33, -33, -33, -33, + -33, -33, -33, -33, -33, -33, -33 + }, + + { + 11, -34, -34, -34, -34, -34, -34, -34, -34, -34, + -34, 56, 57, 57, -34, -34, -34 + + }, + + { + 11, -35, -35, -35, -35, -35, -35, -35, -35, -35, + -35, 57, 57, 57, -35, -35, -35 + }, + + { + 11, -36, -36, -36, -36, -36, -36, -36, -36, -36, + -36, -36, -36, -36, -36, -36, -36 + }, + + { + 11, -37, -37, 58, -37, -37, -37, -37, -37, -37, + -37, -37, -37, -37, -37, -37, -37 + }, + + { + 11, -38, -38, -38, -38, -38, -38, -38, -38, -38, + -38, -38, -38, -38, -38, -38, 59 + }, + + { + 11, -39, 39, 40, -39, -39, 41, -39, -39, -39, + -39, -39, -39, -39, -39, -39, -39 + + }, + + { + 11, -40, -40, -40, -40, -40, -40, -40, -40, -40, + -40, -40, -40, -40, -40, -40, -40 + }, + + { + 11, 42, 42, 43, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42 + }, + + { + 11, 42, 42, 43, 42, 42, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 42 + }, + + { + 11, -43, -43, -43, -43, -43, -43, -43, -43, -43, + -43, -43, -43, -43, -43, -43, -43 + }, + + { + 11, -44, -44, -44, -44, -44, -44, -44, -44, -44, + -44, -44, -44, 44, -44, -44, -44 + + }, + + { + 11, 45, 45, -45, 45, 45, 45, 45, 45, 45, + 45, 45, 45, 45, 45, 45, 45 + }, + + { + 11, -46, 46, 47, -46, -46, -46, -46, -46, -46, + -46, -46, -46, -46, -46, -46, -46 + }, + + { + 11, 48, -47, -47, 48, 48, 48, 48, 48, 48, + 48, 48, 48, 48, 48, 48, 48 + }, + + { + 11, -48, -48, -48, -48, -48, -48, -48, -48, -48, + -48, -48, -48, -48, -48, -48, -48 + }, + + { + 11, 49, 49, 50, 49, -49, 49, 49, -49, 49, + 49, 49, 49, 49, 49, -49, 49 + + }, + + { + 11, -50, -50, -50, -50, -50, -50, -50, -50, -50, + -50, -50, -50, -50, -50, -50, -50 + }, + + { + 11, -51, -51, 52, -51, -51, -51, -51, -51, -51, + -51, -51, -51, -51, -51, -51, -51 + }, + + { + 11, -52, -52, -52, -52, -52, -52, -52, -52, -52, + -52, -52, -52, -52, -52, -52, -52 + }, + + { + 11, -53, -53, -53, -53, -53, -53, -53, -53, -53, + -53, -53, -53, -53, -53, -53, -53 + }, + + { + 11, 54, 54, -54, 54, 54, 54, 54, 54, 54, + 54, 54, 54, 54, 54, 54, 54 + + }, + + { + 11, -55, -55, -55, -55, -55, -55, -55, -55, -55, + -55, -55, -55, -55, -55, -55, -55 + }, + + { + 11, -56, -56, -56, -56, -56, -56, -56, -56, -56, + -56, 60, 57, 57, -56, -56, -56 + }, + + { + 11, -57, -57, -57, -57, -57, -57, -57, -57, -57, + -57, 57, 57, 57, -57, -57, -57 + }, + + { + 11, -58, -58, -58, -58, -58, -58, -58, -58, -58, + -58, -58, -58, -58, -58, -58, -58 + }, + + { + 11, -59, -59, -59, -59, -59, -59, -59, -59, -59, + -59, -59, -59, -59, -59, -59, -59 + + }, + + { + 11, -60, -60, -60, -60, -60, -60, -60, -60, -60, + -60, 57, 57, 57, -60, -60, -60 + }, + + } ; + +static yy_state_type yy_get_previous_state (void ); +static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); +static int yy_get_next_buffer (void ); +static void yy_fatal_error (yyconst char msg[] ); + +/* Done after the current pattern has been matched and before the + * corresponding action - sets up zconftext. + */ +#define YY_DO_BEFORE_ACTION \ + (yytext_ptr) = yy_bp; \ + zconfleng = (size_t) (yy_cp - yy_bp); \ + (yy_hold_char) = *yy_cp; \ + *yy_cp = '\0'; \ + (yy_c_buf_p) = yy_cp; + +#define YY_NUM_RULES 33 +#define YY_END_OF_BUFFER 34 +/* This struct is not used in this scanner, + but its presence is necessary. */ +struct yy_trans_info + { + flex_int32_t yy_verify; + flex_int32_t yy_nxt; + }; +static yyconst flex_int16_t yy_accept[61] = + { 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 34, 5, 4, 2, 3, 7, 8, 6, 32, 29, + 31, 24, 28, 27, 26, 22, 17, 13, 16, 20, + 22, 11, 12, 19, 19, 14, 22, 22, 4, 2, + 3, 3, 1, 6, 32, 29, 31, 30, 24, 23, + 26, 25, 15, 20, 9, 19, 19, 21, 10, 18 + } ; + +static yyconst flex_int32_t yy_ec[256] = + { 0, + 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 2, 4, 5, 6, 1, 1, 7, 8, 9, + 10, 1, 1, 1, 11, 12, 12, 13, 13, 13, + 13, 13, 13, 13, 13, 13, 13, 1, 1, 1, + 14, 1, 1, 1, 13, 13, 13, 13, 13, 13, + 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 1, 15, 1, 1, 13, 1, 13, 13, 13, 13, + + 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 13, 13, 1, 16, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1 + } ; + +extern int zconf_flex_debug; +int zconf_flex_debug = 0; + +/* The intent behind this definition is that it'll catch + * any uses of REJECT which flex missed. + */ +#define REJECT reject_used_but_not_detected +#define yymore() yymore_used_but_not_detected +#define YY_MORE_ADJ 0 +#define YY_RESTORE_YY_MORE_OFFSET +char *zconftext; +#define YY_NO_INPUT 1 + +/* + * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> + * Released under the terms of the GNU GPL v2.0. + */ + +#include <limits.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> + +#include "lkc.h" + +#define START_STRSIZE 16 + +static struct { + struct file *file; + int lineno; +} current_pos; + +static char *text; +static int text_size, text_asize; + +struct buffer { + struct buffer *parent; + YY_BUFFER_STATE state; +}; + +struct buffer *current_buf; + +static int last_ts, first_ts; + +static void zconf_endhelp(void); +static void zconf_endfile(void); + +static void new_string(void) +{ + text = xmalloc(START_STRSIZE); + text_asize = START_STRSIZE; + text_size = 0; + *text = 0; +} + +static void append_string(const char *str, int size) +{ + int new_size = text_size + size + 1; + if (new_size > text_asize) { + new_size += START_STRSIZE - 1; + new_size &= -START_STRSIZE; + text = realloc(text, new_size); + text_asize = new_size; + } + memcpy(text + text_size, str, size); + text_size += size; + text[text_size] = 0; +} + +static void alloc_string(const char *str, int size) +{ + text = xmalloc(size + 1); + memcpy(text, str, size); + text[size] = 0; +} + +#define INITIAL 0 +#define COMMAND 1 +#define HELP 2 +#define STRING 3 +#define PARAM 4 + +#ifndef YY_NO_UNISTD_H +/* Special case for "unistd.h", since it is non-ANSI. We include it way + * down here because we want the user's section 1 to have been scanned first. + * The user has a chance to override it with an option. + */ +#include <unistd.h> +#endif + +#ifndef YY_EXTRA_TYPE +#define YY_EXTRA_TYPE void * +#endif + +static int yy_init_globals (void ); + +/* Accessor methods to globals. + These are made visible to non-reentrant scanners for convenience. */ + +int zconflex_destroy (void ); + +int zconfget_debug (void ); + +void zconfset_debug (int debug_flag ); + +YY_EXTRA_TYPE zconfget_extra (void ); + +void zconfset_extra (YY_EXTRA_TYPE user_defined ); + +FILE *zconfget_in (void ); + +void zconfset_in (FILE * in_str ); + +FILE *zconfget_out (void ); + +void zconfset_out (FILE * out_str ); + +int zconfget_leng (void ); + +char *zconfget_text (void ); + +int zconfget_lineno (void ); + +void zconfset_lineno (int line_number ); + +/* Macros after this point can all be overridden by user definitions in + * section 1. + */ + +#ifndef YY_SKIP_YYWRAP +#ifdef __cplusplus +extern "C" int zconfwrap (void ); +#else +extern int zconfwrap (void ); +#endif +#endif + + static void yyunput (int c,char *buf_ptr ); + +#ifndef yytext_ptr +static void yy_flex_strncpy (char *,yyconst char *,int ); +#endif + +#ifdef YY_NEED_STRLEN +static int yy_flex_strlen (yyconst char * ); +#endif + +#ifndef YY_NO_INPUT + +#ifdef __cplusplus +static int yyinput (void ); +#else +static int input (void ); +#endif + +#endif + +/* Amount of stuff to slurp up with each read. */ +#ifndef YY_READ_BUF_SIZE +#ifdef __ia64__ +/* On IA-64, the buffer size is 16k, not 8k */ +#define YY_READ_BUF_SIZE 16384 +#else +#define YY_READ_BUF_SIZE 8192 +#endif /* __ia64__ */ +#endif + +/* Copy whatever the last rule matched to the standard output. */ +#ifndef ECHO +/* This used to be an fputs(), but since the string might contain NUL's, + * we now use fwrite(). + */ +#define ECHO do { if (fwrite( zconftext, zconfleng, 1, zconfout )) {} } while (0) +#endif + +/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, + * is returned in "result". + */ +#ifndef YY_INPUT +#define YY_INPUT(buf,result,max_size) \ + errno=0; \ + while ( (result = read( fileno(zconfin), (char *) buf, max_size )) < 0 ) \ + { \ + if( errno != EINTR) \ + { \ + YY_FATAL_ERROR( "input in flex scanner failed" ); \ + break; \ + } \ + errno=0; \ + clearerr(zconfin); \ + }\ +\ + +#endif + +/* No semi-colon after return; correct usage is to write "yyterminate();" - + * we don't want an extra ';' after the "return" because that will cause + * some compilers to complain about unreachable statements. + */ +#ifndef yyterminate +#define yyterminate() return YY_NULL +#endif + +/* Number of entries by which start-condition stack grows. */ +#ifndef YY_START_STACK_INCR +#define YY_START_STACK_INCR 25 +#endif + +/* Report a fatal error. */ +#ifndef YY_FATAL_ERROR +#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) +#endif + +/* end tables serialization structures and prototypes */ + +/* Default declaration of generated scanner - a define so the user can + * easily add parameters. + */ +#ifndef YY_DECL +#define YY_DECL_IS_OURS 1 + +extern int zconflex (void); + +#define YY_DECL int zconflex (void) +#endif /* !YY_DECL */ + +/* Code executed at the beginning of each rule, after zconftext and zconfleng + * have been set up. + */ +#ifndef YY_USER_ACTION +#define YY_USER_ACTION +#endif + +/* Code executed at the end of each rule. */ +#ifndef YY_BREAK +#define YY_BREAK break; +#endif + +#define YY_RULE_SETUP \ + YY_USER_ACTION + +/** The main scanner function which does all the work. + */ +YY_DECL +{ + register yy_state_type yy_current_state; + register char *yy_cp, *yy_bp; + register int yy_act; + + int str = 0; + int ts, i; + + if ( !(yy_init) ) + { + (yy_init) = 1; + +#ifdef YY_USER_INIT + YY_USER_INIT; +#endif + + if ( ! (yy_start) ) + (yy_start) = 1; /* first start state */ + + if ( ! zconfin ) + zconfin = stdin; + + if ( ! zconfout ) + zconfout = stdout; + + if ( ! YY_CURRENT_BUFFER ) { + zconfensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + zconf_create_buffer(zconfin,YY_BUF_SIZE ); + } + + zconf_load_buffer_state( ); + } + + while ( 1 ) /* loops until end-of-file is reached */ + { + yy_cp = (yy_c_buf_p); + + /* Support of zconftext. */ + *yy_cp = (yy_hold_char); + + /* yy_bp points to the position in yy_ch_buf of the start of + * the current run. + */ + yy_bp = yy_cp; + + yy_current_state = (yy_start); +yy_match: + while ( (yy_current_state = yy_nxt[yy_current_state][ yy_ec[YY_SC_TO_UI(*yy_cp)] ]) > 0 ) + ++yy_cp; + + yy_current_state = -yy_current_state; + +yy_find_action: + yy_act = yy_accept[yy_current_state]; + + YY_DO_BEFORE_ACTION; + +do_action: /* This label is used only to access EOF actions. */ + + switch ( yy_act ) + { /* beginning of action switch */ +case 1: +/* rule 1 can match eol */ +case 2: +/* rule 2 can match eol */ +YY_RULE_SETUP +{ + current_file->lineno++; + return T_EOL; +} + YY_BREAK +case 3: +YY_RULE_SETUP + + YY_BREAK +case 4: +YY_RULE_SETUP +{ + BEGIN(COMMAND); +} + YY_BREAK +case 5: +YY_RULE_SETUP +{ + unput(zconftext[0]); + BEGIN(COMMAND); +} + YY_BREAK + +case 6: +YY_RULE_SETUP +{ + const struct kconf_id *id = kconf_id_lookup(zconftext, zconfleng); + BEGIN(PARAM); + current_pos.file = current_file; + current_pos.lineno = current_file->lineno; + if (id && id->flags & TF_COMMAND) { + zconflval.id = id; + return id->token; + } + alloc_string(zconftext, zconfleng); + zconflval.string = text; + return T_WORD; + } + YY_BREAK +case 7: +YY_RULE_SETUP + + YY_BREAK +case 8: +/* rule 8 can match eol */ +YY_RULE_SETUP +{ + BEGIN(INITIAL); + current_file->lineno++; + return T_EOL; + } + YY_BREAK + +case 9: +YY_RULE_SETUP +return T_AND; + YY_BREAK +case 10: +YY_RULE_SETUP +return T_OR; + YY_BREAK +case 11: +YY_RULE_SETUP +return T_OPEN_PAREN; + YY_BREAK +case 12: +YY_RULE_SETUP +return T_CLOSE_PAREN; + YY_BREAK +case 13: +YY_RULE_SETUP +return T_NOT; + YY_BREAK +case 14: +YY_RULE_SETUP +return T_EQUAL; + YY_BREAK +case 15: +YY_RULE_SETUP +return T_UNEQUAL; + YY_BREAK +case 16: +YY_RULE_SETUP +{ + str = zconftext[0]; + new_string(); + BEGIN(STRING); + } + YY_BREAK +case 17: +/* rule 17 can match eol */ +YY_RULE_SETUP +BEGIN(INITIAL); current_file->lineno++; return T_EOL; + YY_BREAK +case 18: +YY_RULE_SETUP +/* ignore */ + YY_BREAK +case 19: +YY_RULE_SETUP +{ + const struct kconf_id *id = kconf_id_lookup(zconftext, zconfleng); + if (id && id->flags & TF_PARAM) { + zconflval.id = id; + return id->token; + } + alloc_string(zconftext, zconfleng); + zconflval.string = text; + return T_WORD; + } + YY_BREAK +case 20: +YY_RULE_SETUP +/* comment */ + YY_BREAK +case 21: +/* rule 21 can match eol */ +YY_RULE_SETUP +current_file->lineno++; + YY_BREAK +case 22: +YY_RULE_SETUP + + YY_BREAK +case YY_STATE_EOF(PARAM): +{ + BEGIN(INITIAL); + } + YY_BREAK + +case 23: +/* rule 23 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up zconftext */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up zconftext again */ +YY_RULE_SETUP +{ + append_string(zconftext, zconfleng); + zconflval.string = text; + return T_WORD_QUOTE; + } + YY_BREAK +case 24: +YY_RULE_SETUP +{ + append_string(zconftext, zconfleng); + } + YY_BREAK +case 25: +/* rule 25 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up zconftext */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up zconftext again */ +YY_RULE_SETUP +{ + append_string(zconftext + 1, zconfleng - 1); + zconflval.string = text; + return T_WORD_QUOTE; + } + YY_BREAK +case 26: +YY_RULE_SETUP +{ + append_string(zconftext + 1, zconfleng - 1); + } + YY_BREAK +case 27: +YY_RULE_SETUP +{ + if (str == zconftext[0]) { + BEGIN(PARAM); + zconflval.string = text; + return T_WORD_QUOTE; + } else + append_string(zconftext, 1); + } + YY_BREAK +case 28: +/* rule 28 can match eol */ +YY_RULE_SETUP +{ + printf("%s:%d:warning: multi-line strings not supported\n", zconf_curname(), zconf_lineno()); + current_file->lineno++; + BEGIN(INITIAL); + return T_EOL; + } + YY_BREAK +case YY_STATE_EOF(STRING): +{ + BEGIN(INITIAL); + } + YY_BREAK + +case 29: +YY_RULE_SETUP +{ + ts = 0; + for (i = 0; i < zconfleng; i++) { + if (zconftext[i] == '\t') + ts = (ts & ~7) + 8; + else + ts++; + } + last_ts = ts; + if (first_ts) { + if (ts < first_ts) { + zconf_endhelp(); + return T_HELPTEXT; + } + ts -= first_ts; + while (ts > 8) { + append_string(" ", 8); + ts -= 8; + } + append_string(" ", ts); + } + } + YY_BREAK +case 30: +/* rule 30 can match eol */ +*yy_cp = (yy_hold_char); /* undo effects of setting up zconftext */ +(yy_c_buf_p) = yy_cp -= 1; +YY_DO_BEFORE_ACTION; /* set up zconftext again */ +YY_RULE_SETUP +{ + current_file->lineno++; + zconf_endhelp(); + return T_HELPTEXT; + } + YY_BREAK +case 31: +/* rule 31 can match eol */ +YY_RULE_SETUP +{ + current_file->lineno++; + append_string("\n", 1); + } + YY_BREAK +case 32: +YY_RULE_SETUP +{ + while (zconfleng) { + if ((zconftext[zconfleng-1] != ' ') && (zconftext[zconfleng-1] != '\t')) + break; + zconfleng--; + } + append_string(zconftext, zconfleng); + if (!first_ts) + first_ts = last_ts; + } + YY_BREAK +case YY_STATE_EOF(HELP): +{ + zconf_endhelp(); + return T_HELPTEXT; + } + YY_BREAK + +case YY_STATE_EOF(INITIAL): +case YY_STATE_EOF(COMMAND): +{ + if (current_file) { + zconf_endfile(); + return T_EOL; + } + fclose(zconfin); + yyterminate(); +} + YY_BREAK +case 33: +YY_RULE_SETUP +YY_FATAL_ERROR( "flex scanner jammed" ); + YY_BREAK + + case YY_END_OF_BUFFER: + { + /* Amount of text matched not including the EOB char. */ + int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; + + /* Undo the effects of YY_DO_BEFORE_ACTION. */ + *yy_cp = (yy_hold_char); + YY_RESTORE_YY_MORE_OFFSET + + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) + { + /* We're scanning a new file or input source. It's + * possible that this happened because the user + * just pointed zconfin at a new source and called + * zconflex(). If so, then we have to assure + * consistency between YY_CURRENT_BUFFER and our + * globals. Here is the right place to do so, because + * this is the first action (other than possibly a + * back-up) that will match for the new input source. + */ + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + YY_CURRENT_BUFFER_LVALUE->yy_input_file = zconfin; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; + } + + /* Note that here we test for yy_c_buf_p "<=" to the position + * of the first EOB in the buffer, since yy_c_buf_p will + * already have been incremented past the NUL character + * (since all states make transitions on EOB to the + * end-of-buffer state). Contrast this with the test + * in input(). + */ + if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + { /* This was really a NUL. */ + yy_state_type yy_next_state; + + (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + /* Okay, we're now positioned to make the NUL + * transition. We couldn't have + * yy_get_previous_state() go ahead and do it + * for us because it doesn't know how to deal + * with the possibility of jamming (and we don't + * want to build jamming into it because then it + * will run more slowly). + */ + + yy_next_state = yy_try_NUL_trans( yy_current_state ); + + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + + if ( yy_next_state ) + { + /* Consume the NUL. */ + yy_cp = ++(yy_c_buf_p); + yy_current_state = yy_next_state; + goto yy_match; + } + + else + { + yy_cp = (yy_c_buf_p); + goto yy_find_action; + } + } + + else switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_END_OF_FILE: + { + (yy_did_buffer_switch_on_eof) = 0; + + if ( zconfwrap( ) ) + { + /* Note: because we've taken care in + * yy_get_next_buffer() to have set up + * zconftext, we can now set up + * yy_c_buf_p so that if some total + * hoser (like flex itself) wants to + * call the scanner after we return the + * YY_NULL, it'll still work - another + * YY_NULL will get returned. + */ + (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; + + yy_act = YY_STATE_EOF(YY_START); + goto do_action; + } + + else + { + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; + } + break; + } + + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = + (yytext_ptr) + yy_amount_of_matched_text; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_match; + + case EOB_ACT_LAST_MATCH: + (yy_c_buf_p) = + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; + + yy_current_state = yy_get_previous_state( ); + + yy_cp = (yy_c_buf_p); + yy_bp = (yytext_ptr) + YY_MORE_ADJ; + goto yy_find_action; + } + break; + } + + default: + YY_FATAL_ERROR( + "fatal flex scanner internal error--no action found" ); + } /* end of action switch */ + } /* end of scanning one token */ +} /* end of zconflex */ + +/* yy_get_next_buffer - try to read in a new buffer + * + * Returns a code representing an action: + * EOB_ACT_LAST_MATCH - + * EOB_ACT_CONTINUE_SCAN - continue scanning from current position + * EOB_ACT_END_OF_FILE - end of file + */ +static int yy_get_next_buffer (void) +{ + register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + register char *source = (yytext_ptr); + register int number_to_move, i; + int ret_val; + + if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) + YY_FATAL_ERROR( + "fatal flex scanner internal error--end of buffer missed" ); + + if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) + { /* Don't try to fill the buffer, so this is an EOF. */ + if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) + { + /* We matched a single character, the EOB, so + * treat this as a final EOF. + */ + return EOB_ACT_END_OF_FILE; + } + + else + { + /* We matched some text prior to the EOB, first + * process it. + */ + return EOB_ACT_LAST_MATCH; + } + } + + /* Try to read more data. */ + + /* First move last chars to start of buffer. */ + number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; + + for ( i = 0; i < number_to_move; ++i ) + *(dest++) = *(source++); + + if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) + /* don't do the read, it's not guaranteed to return an EOF, + * just force an EOF + */ + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; + + else + { + int num_to_read = + YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; + + while ( num_to_read <= 0 ) + { /* Not enough room in the buffer - grow it. */ + + /* just a shorter name for the current buffer */ + YY_BUFFER_STATE b = YY_CURRENT_BUFFER; + + int yy_c_buf_p_offset = + (int) ((yy_c_buf_p) - b->yy_ch_buf); + + if ( b->yy_is_our_buffer ) + { + int new_size = b->yy_buf_size * 2; + + if ( new_size <= 0 ) + b->yy_buf_size += b->yy_buf_size / 8; + else + b->yy_buf_size *= 2; + + b->yy_ch_buf = (char *) + /* Include room in for 2 EOB chars. */ + zconfrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); + } + else + /* Can't grow it, we don't own it. */ + b->yy_ch_buf = 0; + + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( + "fatal error - scanner input buffer overflow" ); + + (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; + + num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - + number_to_move - 1; + + } + + if ( num_to_read > YY_READ_BUF_SIZE ) + num_to_read = YY_READ_BUF_SIZE; + + /* Read in more data. */ + YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), + (yy_n_chars), (size_t) num_to_read ); + + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + if ( (yy_n_chars) == 0 ) + { + if ( number_to_move == YY_MORE_ADJ ) + { + ret_val = EOB_ACT_END_OF_FILE; + zconfrestart(zconfin ); + } + + else + { + ret_val = EOB_ACT_LAST_MATCH; + YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = + YY_BUFFER_EOF_PENDING; + } + } + + else + ret_val = EOB_ACT_CONTINUE_SCAN; + + if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { + /* Extend the array by 50%, plus the number we really need. */ + yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) zconfrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); + if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); + } + + (yy_n_chars) += number_to_move; + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; + + (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; + + return ret_val; +} + +/* yy_get_previous_state - get the state just before the EOB char was reached */ + + static yy_state_type yy_get_previous_state (void) +{ + register yy_state_type yy_current_state; + register char *yy_cp; + + yy_current_state = (yy_start); + + for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) + { + yy_current_state = yy_nxt[yy_current_state][(*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1)]; + } + + return yy_current_state; +} + +/* yy_try_NUL_trans - try to make a transition on the NUL character + * + * synopsis + * next_state = yy_try_NUL_trans( current_state ); + */ + static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) +{ + register int yy_is_jam; + + yy_current_state = yy_nxt[yy_current_state][1]; + yy_is_jam = (yy_current_state <= 0); + + return yy_is_jam ? 0 : yy_current_state; +} + + static void yyunput (int c, register char * yy_bp ) +{ + register char *yy_cp; + + yy_cp = (yy_c_buf_p); + + /* undo effects of setting up zconftext */ + *yy_cp = (yy_hold_char); + + if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) + { /* need to shift things up to make room */ + /* +2 for EOB chars. */ + register int number_to_move = (yy_n_chars) + 2; + register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ + YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; + register char *source = + &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; + + while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) + *--dest = *--source; + + yy_cp += (int) (dest - source); + yy_bp += (int) (dest - source); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; + + if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) + YY_FATAL_ERROR( "flex scanner push-back overflow" ); + } + + *--yy_cp = (char) c; + + (yytext_ptr) = yy_bp; + (yy_hold_char) = *yy_cp; + (yy_c_buf_p) = yy_cp; +} + +#ifndef YY_NO_INPUT +#ifdef __cplusplus + static int yyinput (void) +#else + static int input (void) +#endif + +{ + int c; + + *(yy_c_buf_p) = (yy_hold_char); + + if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) + { + /* yy_c_buf_p now points to the character we want to return. + * If this occurs *before* the EOB characters, then it's a + * valid NUL; if not, then we've hit the end of the buffer. + */ + if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) + /* This was really a NUL. */ + *(yy_c_buf_p) = '\0'; + + else + { /* need more input */ + int offset = (yy_c_buf_p) - (yytext_ptr); + ++(yy_c_buf_p); + + switch ( yy_get_next_buffer( ) ) + { + case EOB_ACT_LAST_MATCH: + /* This happens because yy_g_n_b() + * sees that we've accumulated a + * token and flags that we need to + * try matching the token before + * proceeding. But for input(), + * there's no matching to consider. + * So convert the EOB_ACT_LAST_MATCH + * to EOB_ACT_END_OF_FILE. + */ + + /* Reset buffer status. */ + zconfrestart(zconfin ); + + /*FALLTHROUGH*/ + + case EOB_ACT_END_OF_FILE: + { + if ( zconfwrap( ) ) + return EOF; + + if ( ! (yy_did_buffer_switch_on_eof) ) + YY_NEW_FILE; +#ifdef __cplusplus + return yyinput(); +#else + return input(); +#endif + } + + case EOB_ACT_CONTINUE_SCAN: + (yy_c_buf_p) = (yytext_ptr) + offset; + break; + } + } + } + + c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ + *(yy_c_buf_p) = '\0'; /* preserve zconftext */ + (yy_hold_char) = *++(yy_c_buf_p); + + return c; +} +#endif /* ifndef YY_NO_INPUT */ + +/** Immediately switch to a different input stream. + * @param input_file A readable stream. + * + * @note This function does not reset the start condition to @c INITIAL . + */ + void zconfrestart (FILE * input_file ) +{ + + if ( ! YY_CURRENT_BUFFER ){ + zconfensure_buffer_stack (); + YY_CURRENT_BUFFER_LVALUE = + zconf_create_buffer(zconfin,YY_BUF_SIZE ); + } + + zconf_init_buffer(YY_CURRENT_BUFFER,input_file ); + zconf_load_buffer_state( ); +} + +/** Switch to a different input buffer. + * @param new_buffer The new input buffer. + * + */ + void zconf_switch_to_buffer (YY_BUFFER_STATE new_buffer ) +{ + + /* TODO. We should be able to replace this entire function body + * with + * zconfpop_buffer_state(); + * zconfpush_buffer_state(new_buffer); + */ + zconfensure_buffer_stack (); + if ( YY_CURRENT_BUFFER == new_buffer ) + return; + + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + YY_CURRENT_BUFFER_LVALUE = new_buffer; + zconf_load_buffer_state( ); + + /* We don't actually know whether we did this switch during + * EOF (zconfwrap()) processing, but the only time this flag + * is looked at is after zconfwrap() is called, so it's safe + * to go ahead and always set it. + */ + (yy_did_buffer_switch_on_eof) = 1; +} + +static void zconf_load_buffer_state (void) +{ + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; + (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; + zconfin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; + (yy_hold_char) = *(yy_c_buf_p); +} + +/** Allocate and initialize an input buffer state. + * @param file A readable stream. + * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. + * + * @return the allocated buffer state. + */ + YY_BUFFER_STATE zconf_create_buffer (FILE * file, int size ) +{ + YY_BUFFER_STATE b; + + b = (YY_BUFFER_STATE) zconfalloc(sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in zconf_create_buffer()" ); + + b->yy_buf_size = size; + + /* yy_ch_buf has to be 2 characters longer than the size given because + * we need to put in 2 end-of-buffer characters. + */ + b->yy_ch_buf = (char *) zconfalloc(b->yy_buf_size + 2 ); + if ( ! b->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in zconf_create_buffer()" ); + + b->yy_is_our_buffer = 1; + + zconf_init_buffer(b,file ); + + return b; +} + +/** Destroy the buffer. + * @param b a buffer created with zconf_create_buffer() + * + */ + void zconf_delete_buffer (YY_BUFFER_STATE b ) +{ + + if ( ! b ) + return; + + if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ + YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; + + if ( b->yy_is_our_buffer ) + zconffree((void *) b->yy_ch_buf ); + + zconffree((void *) b ); +} + +/* Initializes or reinitializes a buffer. + * This function is sometimes called more than once on the same buffer, + * such as during a zconfrestart() or at EOF. + */ + static void zconf_init_buffer (YY_BUFFER_STATE b, FILE * file ) + +{ + int oerrno = errno; + + zconf_flush_buffer(b ); + + b->yy_input_file = file; + b->yy_fill_buffer = 1; + + /* If b is the current buffer, then zconf_init_buffer was _probably_ + * called from zconfrestart() or through yy_get_next_buffer. + * In that case, we don't want to reset the lineno or column. + */ + if (b != YY_CURRENT_BUFFER){ + b->yy_bs_lineno = 1; + b->yy_bs_column = 0; + } + + b->yy_is_interactive = 0; + + errno = oerrno; +} + +/** Discard all buffered characters. On the next scan, YY_INPUT will be called. + * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. + * + */ + void zconf_flush_buffer (YY_BUFFER_STATE b ) +{ + if ( ! b ) + return; + + b->yy_n_chars = 0; + + /* We always need two end-of-buffer characters. The first causes + * a transition to the end-of-buffer state. The second causes + * a jam in that state. + */ + b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; + b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; + + b->yy_buf_pos = &b->yy_ch_buf[0]; + + b->yy_at_bol = 1; + b->yy_buffer_status = YY_BUFFER_NEW; + + if ( b == YY_CURRENT_BUFFER ) + zconf_load_buffer_state( ); +} + +/** Pushes the new state onto the stack. The new state becomes + * the current state. This function will allocate the stack + * if necessary. + * @param new_buffer The new state. + * + */ +void zconfpush_buffer_state (YY_BUFFER_STATE new_buffer ) +{ + if (new_buffer == NULL) + return; + + zconfensure_buffer_stack(); + + /* This block is copied from zconf_switch_to_buffer. */ + if ( YY_CURRENT_BUFFER ) + { + /* Flush out information for old buffer. */ + *(yy_c_buf_p) = (yy_hold_char); + YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); + YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); + } + + /* Only push if top exists. Otherwise, replace top. */ + if (YY_CURRENT_BUFFER) + (yy_buffer_stack_top)++; + YY_CURRENT_BUFFER_LVALUE = new_buffer; + + /* copied from zconf_switch_to_buffer. */ + zconf_load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; +} + +/** Removes and deletes the top of the stack, if present. + * The next element becomes the new top. + * + */ +void zconfpop_buffer_state (void) +{ + if (!YY_CURRENT_BUFFER) + return; + + zconf_delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + if ((yy_buffer_stack_top) > 0) + --(yy_buffer_stack_top); + + if (YY_CURRENT_BUFFER) { + zconf_load_buffer_state( ); + (yy_did_buffer_switch_on_eof) = 1; + } +} + +/* Allocates the stack if it does not exist. + * Guarantees space for at least one push. + */ +static void zconfensure_buffer_stack (void) +{ + int num_to_alloc; + + if (!(yy_buffer_stack)) { + + /* First allocation is just for 2 elements, since we don't know if this + * scanner will even need a stack. We use 2 instead of 1 to avoid an + * immediate realloc on the next call. + */ + num_to_alloc = 1; + (yy_buffer_stack) = (struct yy_buffer_state**)zconfalloc + (num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in zconfensure_buffer_stack()" ); + + memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); + + (yy_buffer_stack_max) = num_to_alloc; + (yy_buffer_stack_top) = 0; + return; + } + + if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ + + /* Increase the buffer to prepare for a possible push. */ + int grow_size = 8 /* arbitrary grow size */; + + num_to_alloc = (yy_buffer_stack_max) + grow_size; + (yy_buffer_stack) = (struct yy_buffer_state**)zconfrealloc + ((yy_buffer_stack), + num_to_alloc * sizeof(struct yy_buffer_state*) + ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in zconfensure_buffer_stack()" ); + + /* zero only the new slots.*/ + memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); + (yy_buffer_stack_max) = num_to_alloc; + } +} + +/** Setup the input buffer state to scan directly from a user-specified character buffer. + * @param base the character buffer + * @param size the size in bytes of the character buffer + * + * @return the newly allocated buffer state object. + */ +YY_BUFFER_STATE zconf_scan_buffer (char * base, yy_size_t size ) +{ + YY_BUFFER_STATE b; + + if ( size < 2 || + base[size-2] != YY_END_OF_BUFFER_CHAR || + base[size-1] != YY_END_OF_BUFFER_CHAR ) + /* They forgot to leave room for the EOB's. */ + return 0; + + b = (YY_BUFFER_STATE) zconfalloc(sizeof( struct yy_buffer_state ) ); + if ( ! b ) + YY_FATAL_ERROR( "out of dynamic memory in zconf_scan_buffer()" ); + + b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ + b->yy_buf_pos = b->yy_ch_buf = base; + b->yy_is_our_buffer = 0; + b->yy_input_file = 0; + b->yy_n_chars = b->yy_buf_size; + b->yy_is_interactive = 0; + b->yy_at_bol = 1; + b->yy_fill_buffer = 0; + b->yy_buffer_status = YY_BUFFER_NEW; + + zconf_switch_to_buffer(b ); + + return b; +} + +/** Setup the input buffer state to scan a string. The next call to zconflex() will + * scan from a @e copy of @a str. + * @param yystr a NUL-terminated string to scan + * + * @return the newly allocated buffer state object. + * @note If you want to scan bytes that may contain NUL values, then use + * zconf_scan_bytes() instead. + */ +YY_BUFFER_STATE zconf_scan_string (yyconst char * yystr ) +{ + + return zconf_scan_bytes(yystr,strlen(yystr) ); +} + +/** Setup the input buffer state to scan the given bytes. The next call to zconflex() will + * scan from a @e copy of @a bytes. + * @param yybytes the byte buffer to scan + * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. + * + * @return the newly allocated buffer state object. + */ +YY_BUFFER_STATE zconf_scan_bytes (yyconst char * yybytes, int _yybytes_len ) +{ + YY_BUFFER_STATE b; + char *buf; + yy_size_t n; + int i; + + /* Get memory for full buffer, including space for trailing EOB's. */ + n = _yybytes_len + 2; + buf = (char *) zconfalloc(n ); + if ( ! buf ) + YY_FATAL_ERROR( "out of dynamic memory in zconf_scan_bytes()" ); + + for ( i = 0; i < _yybytes_len; ++i ) + buf[i] = yybytes[i]; + + buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; + + b = zconf_scan_buffer(buf,n ); + if ( ! b ) + YY_FATAL_ERROR( "bad buffer in zconf_scan_bytes()" ); + + /* It's okay to grow etc. this buffer, and we should throw it + * away when we're done. + */ + b->yy_is_our_buffer = 1; + + return b; +} + +#ifndef YY_EXIT_FAILURE +#define YY_EXIT_FAILURE 2 +#endif + +static void yy_fatal_error (yyconst char* msg ) +{ + (void) fprintf( stderr, "%s\n", msg ); + exit( YY_EXIT_FAILURE ); +} + +/* Redefine yyless() so it works in section 3 code. */ + +#undef yyless +#define yyless(n) \ + do \ + { \ + /* Undo effects of setting up zconftext. */ \ + int yyless_macro_arg = (n); \ + YY_LESS_LINENO(yyless_macro_arg);\ + zconftext[zconfleng] = (yy_hold_char); \ + (yy_c_buf_p) = zconftext + yyless_macro_arg; \ + (yy_hold_char) = *(yy_c_buf_p); \ + *(yy_c_buf_p) = '\0'; \ + zconfleng = yyless_macro_arg; \ + } \ + while ( 0 ) + +/* Accessor methods (get/set functions) to struct members. */ + +/** Get the current line number. + * + */ +int zconfget_lineno (void) +{ + + return zconflineno; +} + +/** Get the input stream. + * + */ +FILE *zconfget_in (void) +{ + return zconfin; +} + +/** Get the output stream. + * + */ +FILE *zconfget_out (void) +{ + return zconfout; +} + +/** Get the length of the current token. + * + */ +int zconfget_leng (void) +{ + return zconfleng; +} + +/** Get the current token. + * + */ + +char *zconfget_text (void) +{ + return zconftext; +} + +/** Set the current line number. + * @param line_number + * + */ +void zconfset_lineno (int line_number ) +{ + + zconflineno = line_number; +} + +/** Set the input stream. This does not discard the current + * input buffer. + * @param in_str A readable stream. + * + * @see zconf_switch_to_buffer + */ +void zconfset_in (FILE * in_str ) +{ + zconfin = in_str ; +} + +void zconfset_out (FILE * out_str ) +{ + zconfout = out_str ; +} + +int zconfget_debug (void) +{ + return zconf_flex_debug; +} + +void zconfset_debug (int bdebug ) +{ + zconf_flex_debug = bdebug ; +} + +static int yy_init_globals (void) +{ + /* Initialization is the same as for the non-reentrant scanner. + * This function is called from zconflex_destroy(), so don't allocate here. + */ + + (yy_buffer_stack) = 0; + (yy_buffer_stack_top) = 0; + (yy_buffer_stack_max) = 0; + (yy_c_buf_p) = (char *) 0; + (yy_init) = 0; + (yy_start) = 0; + +/* Defined in main.c */ +#ifdef YY_STDINIT + zconfin = stdin; + zconfout = stdout; +#else + zconfin = (FILE *) 0; + zconfout = (FILE *) 0; +#endif + + /* For future reference: Set errno on error, since we are called by + * zconflex_init() + */ + return 0; +} + +/* zconflex_destroy is for both reentrant and non-reentrant scanners. */ +int zconflex_destroy (void) +{ + + /* Pop the buffer stack, destroying each element. */ + while(YY_CURRENT_BUFFER){ + zconf_delete_buffer(YY_CURRENT_BUFFER ); + YY_CURRENT_BUFFER_LVALUE = NULL; + zconfpop_buffer_state(); + } + + /* Destroy the stack itself. */ + zconffree((yy_buffer_stack) ); + (yy_buffer_stack) = NULL; + + /* Reset the globals. This is important in a non-reentrant scanner so the next time + * zconflex() is called, initialization will occur. */ + yy_init_globals( ); + + return 0; +} + +/* + * Internal utility routines. + */ + +#ifndef yytext_ptr +static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) +{ + register int i; + for ( i = 0; i < n; ++i ) + s1[i] = s2[i]; +} +#endif + +#ifdef YY_NEED_STRLEN +static int yy_flex_strlen (yyconst char * s ) +{ + register int n; + for ( n = 0; s[n]; ++n ) + ; + + return n; +} +#endif + +void *zconfalloc (yy_size_t size ) +{ + return (void *) malloc( size ); +} + +void *zconfrealloc (void * ptr, yy_size_t size ) +{ + /* The cast to (char *) in the following accommodates both + * implementations that use char* generic pointers, and those + * that use void* generic pointers. It works with the latter + * because both ANSI C and C++ allow castless assignment from + * any pointer type to void*, and deal with argument conversions + * as though doing an assignment. + */ + return (void *) realloc( (char *) ptr, size ); +} + +void zconffree (void * ptr ) +{ + free( (char *) ptr ); /* see zconfrealloc() for (char *) cast */ +} + +#define YYTABLES_NAME "yytables" + +void zconf_starthelp(void) +{ + new_string(); + last_ts = first_ts = 0; + BEGIN(HELP); +} + +static void zconf_endhelp(void) +{ + zconflval.string = text; + BEGIN(INITIAL); +} + +/* + * Try to open specified file with following names: + * ./name + * $(srctree)/name + * The latter is used when srctree is separate from objtree + * when compiling the kernel. + * Return NULL if file is not found. + */ +FILE *zconf_fopen(const char *name) +{ + char *env, fullname[PATH_MAX+1]; + FILE *f; + + f = fopen(name, "r"); + if (!f && name != NULL && name[0] != '/') { + env = getenv(SRCTREE); + if (env) { + sprintf(fullname, "%s/%s", env, name); + f = fopen(fullname, "r"); + } + } + return f; +} + +void zconf_initscan(const char *name) +{ + zconfin = zconf_fopen(name); + if (!zconfin) { + printf("can't find file %s\n", name); + exit(1); + } + + current_buf = xmalloc(sizeof(*current_buf)); + memset(current_buf, 0, sizeof(*current_buf)); + + current_file = file_lookup(name); + current_file->lineno = 1; +} + +void zconf_nextfile(const char *name) +{ + struct file *iter; + struct file *file = file_lookup(name); + struct buffer *buf = xmalloc(sizeof(*buf)); + memset(buf, 0, sizeof(*buf)); + + current_buf->state = YY_CURRENT_BUFFER; + zconfin = zconf_fopen(file->name); + if (!zconfin) { + printf("%s:%d: can't open file \"%s\"\n", + zconf_curname(), zconf_lineno(), file->name); + exit(1); + } + zconf_switch_to_buffer(zconf_create_buffer(zconfin,YY_BUF_SIZE)); + buf->parent = current_buf; + current_buf = buf; + + for (iter = current_file->parent; iter; iter = iter->parent ) { + if (!strcmp(current_file->name,iter->name) ) { + printf("%s:%d: recursive inclusion detected. " + "Inclusion path:\n current file : '%s'\n", + zconf_curname(), zconf_lineno(), + zconf_curname()); + iter = current_file->parent; + while (iter && \ + strcmp(iter->name,current_file->name)) { + printf(" included from: '%s:%d'\n", + iter->name, iter->lineno-1); + iter = iter->parent; + } + if (iter) + printf(" included from: '%s:%d'\n", + iter->name, iter->lineno+1); + exit(1); + } + } + file->lineno = 1; + file->parent = current_file; + current_file = file; +} + +static void zconf_endfile(void) +{ + struct buffer *parent; + + current_file = current_file->parent; + + parent = current_buf->parent; + if (parent) { + fclose(zconfin); + zconf_delete_buffer(YY_CURRENT_BUFFER); + zconf_switch_to_buffer(parent->state); + } + free(current_buf); + current_buf = parent; +} + +int zconf_lineno(void) +{ + return current_pos.lineno; +} + +const char *zconf_curname(void) +{ + return current_pos.file ? current_pos.file->name : "<none>"; +} + diff --git a/kconfig-frontends/libs/parser/libkconfig-parser.la b/kconfig-frontends/libs/parser/libkconfig-parser.la new file mode 100644 index 0000000..63332d0 --- /dev/null +++ b/kconfig-frontends/libs/parser/libkconfig-parser.la @@ -0,0 +1,41 @@ +# libkconfig-parser.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.2ubuntu1 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='libkconfig-parser--no-undefined.so' + +# Names of this library. +library_names='libkconfig-parser--no-undefined.so libkconfig-parser--no-undefined.so libkconfig-parser.so' + +# The name of the static archive. +old_library='' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs='' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libkconfig-parser. +current=0 +age=0 +revision=0 + +# Is this an already installed library? +installed=no + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/usr/local/lib' diff --git a/kconfig-frontends/libs/parser/libkconfig_parser_la-yconf.lo b/kconfig-frontends/libs/parser/libkconfig_parser_la-yconf.lo new file mode 100644 index 0000000..67de2c6 --- /dev/null +++ b/kconfig-frontends/libs/parser/libkconfig_parser_la-yconf.lo @@ -0,0 +1,12 @@ +# libkconfig_parser_la-yconf.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.2ubuntu1 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libkconfig_parser_la-yconf.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/kconfig-frontends/libs/parser/yconf.c b/kconfig-frontends/libs/parser/yconf.c new file mode 100644 index 0000000..7157a12 --- /dev/null +++ b/kconfig-frontends/libs/parser/yconf.c @@ -0,0 +1,2580 @@ +/* A Bison parser, made by GNU Bison 2.5. */ + +/* Bison implementation for Yacc-like parsers in C + + Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +/* As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ + +/* C LALR(1) parser skeleton written by Richard Stallman, by + simplifying the original so-called "semantic" parser. */ + +/* All symbols defined below should begin with yy or YY, to avoid + infringing on user name space. This should be done even for local + variables, as they might otherwise be expanded by user macros. + There are some unavoidable exceptions within include files to + define necessary library symbols; they are noted "INFRINGES ON + USER NAME SPACE" below. */ + +/* Identify Bison output. */ +#define YYBISON 1 + +/* Bison version. */ +#define YYBISON_VERSION "2.5" + +/* Skeleton name. */ +#define YYSKELETON_NAME "yacc.c" + +/* Pure parsers. */ +#define YYPURE 0 + +/* Push parsers. */ +#define YYPUSH 0 + +/* Pull parsers. */ +#define YYPULL 1 + +/* Using locations. */ +#define YYLSP_NEEDED 0 + +/* Substitute the variable and function names. */ +#define yyparse zconfparse +#define yylex zconflex +#define yyerror zconferror +#define yylval zconflval +#define yychar zconfchar +#define yydebug zconfdebug +#define yynerrs zconfnerrs + + +/* Copy the first part of user declarations. */ + + +/* + * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> + * Released under the terms of the GNU GPL v2.0. + */ + +#include <ctype.h> +#include <stdarg.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <stdbool.h> + +#include "lkc.h" + +#define printd(mask, fmt...) if (cdebug & (mask)) printf(fmt) + +#define PRINTD 0x0001 +#define DEBUG_PARSE 0x0002 + +int cdebug = PRINTD; + +extern int zconflex(void); +static void zconfprint(const char *err, ...); +static void zconf_error(const char *err, ...); +static void zconferror(const char *err); +static bool zconf_endtoken(const struct kconf_id *id, int starttoken, int endtoken); + +struct symbol *symbol_hash[SYMBOL_HASHSIZE]; + +static struct menu *current_menu, *current_entry; + + + + +/* Enabling traces. */ +#ifndef YYDEBUG +# define YYDEBUG 1 +#endif + +/* Enabling verbose error messages. */ +#ifdef YYERROR_VERBOSE +# undef YYERROR_VERBOSE +# define YYERROR_VERBOSE 1 +#else +# define YYERROR_VERBOSE 0 +#endif + +/* Enabling the token table. */ +#ifndef YYTOKEN_TABLE +# define YYTOKEN_TABLE 0 +#endif + + +/* Tokens. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + /* Put the tokens into the symbol table, so that GDB and other debuggers + know about them. */ + enum yytokentype { + T_MAINMENU = 258, + T_MENU = 259, + T_ENDMENU = 260, + T_SOURCE = 261, + T_CHOICE = 262, + T_ENDCHOICE = 263, + T_COMMENT = 264, + T_CONFIG = 265, + T_MENUCONFIG = 266, + T_HELP = 267, + T_HELPTEXT = 268, + T_IF = 269, + T_ENDIF = 270, + T_DEPENDS = 271, + T_OPTIONAL = 272, + T_PROMPT = 273, + T_TYPE = 274, + T_DEFAULT = 275, + T_SELECT = 276, + T_RANGE = 277, + T_VISIBLE = 278, + T_OPTION = 279, + T_ON = 280, + T_WORD = 281, + T_WORD_QUOTE = 282, + T_UNEQUAL = 283, + T_CLOSE_PAREN = 284, + T_OPEN_PAREN = 285, + T_EOL = 286, + T_OR = 287, + T_AND = 288, + T_EQUAL = 289, + T_NOT = 290 + }; +#endif +/* Tokens. */ +#define T_MAINMENU 258 +#define T_MENU 259 +#define T_ENDMENU 260 +#define T_SOURCE 261 +#define T_CHOICE 262 +#define T_ENDCHOICE 263 +#define T_COMMENT 264 +#define T_CONFIG 265 +#define T_MENUCONFIG 266 +#define T_HELP 267 +#define T_HELPTEXT 268 +#define T_IF 269 +#define T_ENDIF 270 +#define T_DEPENDS 271 +#define T_OPTIONAL 272 +#define T_PROMPT 273 +#define T_TYPE 274 +#define T_DEFAULT 275 +#define T_SELECT 276 +#define T_RANGE 277 +#define T_VISIBLE 278 +#define T_OPTION 279 +#define T_ON 280 +#define T_WORD 281 +#define T_WORD_QUOTE 282 +#define T_UNEQUAL 283 +#define T_CLOSE_PAREN 284 +#define T_OPEN_PAREN 285 +#define T_EOL 286 +#define T_OR 287 +#define T_AND 288 +#define T_EQUAL 289 +#define T_NOT 290 + + + + +#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED +typedef union YYSTYPE +{ + + + char *string; + struct file *file; + struct symbol *symbol; + struct expr *expr; + struct menu *menu; + const struct kconf_id *id; + + + +} YYSTYPE; +# define YYSTYPE_IS_TRIVIAL 1 +# define yystype YYSTYPE /* obsolescent; will be withdrawn */ +# define YYSTYPE_IS_DECLARED 1 +#endif + + +/* Copy the second part of user declarations. */ + + +/* Include zconf.hash.c here so it can see the token constants. */ +#include "hconf.c" + + + +#ifdef short +# undef short +#endif + +#ifdef YYTYPE_UINT8 +typedef YYTYPE_UINT8 yytype_uint8; +#else +typedef unsigned char yytype_uint8; +#endif + +#ifdef YYTYPE_INT8 +typedef YYTYPE_INT8 yytype_int8; +#elif (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +typedef signed char yytype_int8; +#else +typedef short int yytype_int8; +#endif + +#ifdef YYTYPE_UINT16 +typedef YYTYPE_UINT16 yytype_uint16; +#else +typedef unsigned short int yytype_uint16; +#endif + +#ifdef YYTYPE_INT16 +typedef YYTYPE_INT16 yytype_int16; +#else +typedef short int yytype_int16; +#endif + +#ifndef YYSIZE_T +# ifdef __SIZE_TYPE__ +# define YYSIZE_T __SIZE_TYPE__ +# elif defined size_t +# define YYSIZE_T size_t +# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +# include <stddef.h> /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# else +# define YYSIZE_T unsigned int +# endif +#endif + +#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) + +#ifndef YY_ +# if defined YYENABLE_NLS && YYENABLE_NLS +# if ENABLE_NLS +# include <libintl.h> /* INFRINGES ON USER NAME SPACE */ +# define YY_(msgid) dgettext ("bison-runtime", msgid) +# endif +# endif +# ifndef YY_ +# define YY_(msgid) msgid +# endif +#endif + +/* Suppress unused-variable warnings by "using" E. */ +#if ! defined lint || defined __GNUC__ +# define YYUSE(e) ((void) (e)) +#else +# define YYUSE(e) /* empty */ +#endif + +/* Identity function, used to suppress warnings about constant conditions. */ +#ifndef lint +# define YYID(n) (n) +#else +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static int +YYID (int yyi) +#else +static int +YYID (yyi) + int yyi; +#endif +{ + return yyi; +} +#endif + +#if ! defined yyoverflow || YYERROR_VERBOSE + +/* The parser invokes alloca or malloc; define the necessary symbols. */ + +# ifdef YYSTACK_USE_ALLOCA +# if YYSTACK_USE_ALLOCA +# ifdef __GNUC__ +# define YYSTACK_ALLOC __builtin_alloca +# elif defined __BUILTIN_VA_ARG_INCR +# include <alloca.h> /* INFRINGES ON USER NAME SPACE */ +# elif defined _AIX +# define YYSTACK_ALLOC __alloca +# elif defined _MSC_VER +# include <malloc.h> /* INFRINGES ON USER NAME SPACE */ +# define alloca _alloca +# else +# define YYSTACK_ALLOC alloca +# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 +# endif +# endif +# endif +# endif +# endif + +# ifdef YYSTACK_ALLOC + /* Pacify GCC's `empty if-body' warning. */ +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0)) +# ifndef YYSTACK_ALLOC_MAXIMUM + /* The OS might guarantee only one guard page at the bottom of the stack, + and a page size can be as small as 4096 bytes. So we cannot safely + invoke alloca (N) if N exceeds 4096. Use a slightly smaller number + to allow for a few compiler-allocated temporary stack slots. */ +# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */ +# endif +# else +# define YYSTACK_ALLOC YYMALLOC +# define YYSTACK_FREE YYFREE +# ifndef YYSTACK_ALLOC_MAXIMUM +# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM +# endif +# if (defined __cplusplus && ! defined EXIT_SUCCESS \ + && ! ((defined YYMALLOC || defined malloc) \ + && (defined YYFREE || defined free))) +# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 +# endif +# endif +# ifndef YYMALLOC +# define YYMALLOC malloc +# if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ +# endif +# endif +# ifndef YYFREE +# define YYFREE free +# if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +void free (void *); /* INFRINGES ON USER NAME SPACE */ +# endif +# endif +# endif +#endif /* ! defined yyoverflow || YYERROR_VERBOSE */ + + +#if (! defined yyoverflow \ + && (! defined __cplusplus \ + || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) + +/* A type that is properly aligned for any stack member. */ +union yyalloc +{ + yytype_int16 yyss_alloc; + YYSTYPE yyvs_alloc; +}; + +/* The size of the maximum gap between one aligned stack and the next. */ +# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) + +/* The size of an array large to enough to hold all stacks, each with + N elements. */ +# define YYSTACK_BYTES(N) \ + ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ + + YYSTACK_GAP_MAXIMUM) + +# define YYCOPY_NEEDED 1 + +/* Relocate STACK from its old location to the new one. The + local variables YYSIZE and YYSTACKSIZE give the old and new number of + elements in the stack, and YYPTR gives the new location of the + stack. Advance YYPTR to a properly aligned location for the next + stack. */ +# define YYSTACK_RELOCATE(Stack_alloc, Stack) \ + do \ + { \ + YYSIZE_T yynewbytes; \ + YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ + Stack = &yyptr->Stack_alloc; \ + yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ + yyptr += yynewbytes / sizeof (*yyptr); \ + } \ + while (YYID (0)) + +#endif + +#if defined YYCOPY_NEEDED && YYCOPY_NEEDED +/* Copy COUNT objects from FROM to TO. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if defined __GNUC__ && 1 < __GNUC__ +# define YYCOPY(To, From, Count) \ + __builtin_memcpy (To, From, (Count) * sizeof (*(From))) +# else +# define YYCOPY(To, From, Count) \ + do \ + { \ + YYSIZE_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (To)[yyi] = (From)[yyi]; \ + } \ + while (YYID (0)) +# endif +# endif +#endif /* !YYCOPY_NEEDED */ + +/* YYFINAL -- State number of the termination state. */ +#define YYFINAL 11 +/* YYLAST -- Last index in YYTABLE. */ +#define YYLAST 290 + +/* YYNTOKENS -- Number of terminals. */ +#define YYNTOKENS 36 +/* YYNNTS -- Number of nonterminals. */ +#define YYNNTS 50 +/* YYNRULES -- Number of rules. */ +#define YYNRULES 118 +/* YYNRULES -- Number of states. */ +#define YYNSTATES 191 + +/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ +#define YYUNDEFTOK 2 +#define YYMAXUTOK 290 + +#define YYTRANSLATE(YYX) \ + ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) + +/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ +static const yytype_uint8 yytranslate[] = +{ + 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, + 35 +}; + +#if YYDEBUG +/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in + YYRHS. */ +static const yytype_uint16 yyprhs[] = +{ + 0, 0, 3, 6, 8, 11, 13, 14, 17, 20, + 23, 26, 31, 36, 40, 42, 44, 46, 48, 50, + 52, 54, 56, 58, 60, 62, 64, 66, 68, 72, + 75, 79, 82, 86, 89, 90, 93, 96, 99, 102, + 105, 108, 112, 117, 122, 127, 133, 137, 138, 142, + 143, 146, 150, 153, 155, 159, 160, 163, 166, 169, + 172, 175, 180, 184, 187, 192, 193, 196, 200, 202, + 206, 207, 210, 213, 216, 220, 224, 228, 230, 234, + 235, 238, 241, 244, 248, 252, 255, 258, 261, 262, + 265, 268, 271, 276, 277, 280, 283, 286, 287, 290, + 292, 294, 297, 300, 303, 305, 308, 309, 312, 314, + 318, 322, 326, 329, 333, 337, 339, 341, 342 +}; + +/* YYRHS -- A `-1'-separated list of the rules' RHS. */ +static const yytype_int8 yyrhs[] = +{ + 37, 0, -1, 81, 38, -1, 38, -1, 63, 39, + -1, 39, -1, -1, 39, 41, -1, 39, 55, -1, + 39, 67, -1, 39, 80, -1, 39, 26, 1, 31, + -1, 39, 40, 1, 31, -1, 39, 1, 31, -1, + 16, -1, 18, -1, 19, -1, 21, -1, 17, -1, + 22, -1, 20, -1, 23, -1, 31, -1, 61, -1, + 71, -1, 44, -1, 46, -1, 69, -1, 26, 1, + 31, -1, 1, 31, -1, 10, 26, 31, -1, 43, + 47, -1, 11, 26, 31, -1, 45, 47, -1, -1, + 47, 48, -1, 47, 49, -1, 47, 75, -1, 47, + 73, -1, 47, 42, -1, 47, 31, -1, 19, 78, + 31, -1, 18, 79, 82, 31, -1, 20, 83, 82, + 31, -1, 21, 26, 82, 31, -1, 22, 84, 84, + 82, 31, -1, 24, 50, 31, -1, -1, 50, 26, + 51, -1, -1, 34, 79, -1, 7, 85, 31, -1, + 52, 56, -1, 80, -1, 53, 58, 54, -1, -1, + 56, 57, -1, 56, 75, -1, 56, 73, -1, 56, + 31, -1, 56, 42, -1, 18, 79, 82, 31, -1, + 19, 78, 31, -1, 17, 31, -1, 20, 26, 82, + 31, -1, -1, 58, 41, -1, 14, 83, 81, -1, + 80, -1, 59, 62, 60, -1, -1, 62, 41, -1, + 62, 67, -1, 62, 55, -1, 3, 79, 81, -1, + 4, 79, 31, -1, 64, 76, 74, -1, 80, -1, + 65, 68, 66, -1, -1, 68, 41, -1, 68, 67, + -1, 68, 55, -1, 6, 79, 31, -1, 9, 79, + 31, -1, 70, 74, -1, 12, 31, -1, 72, 13, + -1, -1, 74, 75, -1, 74, 31, -1, 74, 42, + -1, 16, 25, 83, 31, -1, -1, 76, 77, -1, + 76, 31, -1, 23, 82, -1, -1, 79, 82, -1, + 26, -1, 27, -1, 5, 31, -1, 8, 31, -1, + 15, 31, -1, 31, -1, 81, 31, -1, -1, 14, + 83, -1, 84, -1, 84, 34, 84, -1, 84, 28, + 84, -1, 30, 83, 29, -1, 35, 83, -1, 83, + 32, 83, -1, 83, 33, 83, -1, 26, -1, 27, + -1, -1, 26, -1 +}; + +/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ +static const yytype_uint16 yyrline[] = +{ + 0, 103, 103, 103, 105, 105, 107, 109, 110, 111, + 112, 113, 114, 118, 122, 122, 122, 122, 122, 122, + 122, 122, 126, 127, 128, 129, 130, 131, 135, 136, + 142, 150, 156, 164, 174, 176, 177, 178, 179, 180, + 181, 184, 192, 198, 208, 214, 220, 223, 225, 236, + 237, 242, 251, 256, 264, 267, 269, 270, 271, 272, + 273, 276, 282, 293, 299, 309, 311, 316, 324, 332, + 335, 337, 338, 339, 344, 351, 358, 363, 371, 374, + 376, 377, 378, 381, 389, 396, 403, 409, 416, 418, + 419, 420, 423, 431, 433, 434, 437, 444, 446, 451, + 452, 455, 456, 457, 461, 462, 465, 466, 469, 470, + 471, 472, 473, 474, 475, 478, 479, 482, 483 +}; +#endif + +#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE +/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. + First, the terminals, then, starting at YYNTOKENS, nonterminals. */ +static const char *const yytname[] = +{ + "$end", "error", "$undefined", "T_MAINMENU", "T_MENU", "T_ENDMENU", + "T_SOURCE", "T_CHOICE", "T_ENDCHOICE", "T_COMMENT", "T_CONFIG", + "T_MENUCONFIG", "T_HELP", "T_HELPTEXT", "T_IF", "T_ENDIF", "T_DEPENDS", + "T_OPTIONAL", "T_PROMPT", "T_TYPE", "T_DEFAULT", "T_SELECT", "T_RANGE", + "T_VISIBLE", "T_OPTION", "T_ON", "T_WORD", "T_WORD_QUOTE", "T_UNEQUAL", + "T_CLOSE_PAREN", "T_OPEN_PAREN", "T_EOL", "T_OR", "T_AND", "T_EQUAL", + "T_NOT", "$accept", "input", "start", "stmt_list", "option_name", + "common_stmt", "option_error", "config_entry_start", "config_stmt", + "menuconfig_entry_start", "menuconfig_stmt", "config_option_list", + "config_option", "symbol_option", "symbol_option_list", + "symbol_option_arg", "choice", "choice_entry", "choice_end", + "choice_stmt", "choice_option_list", "choice_option", "choice_block", + "if_entry", "if_end", "if_stmt", "if_block", "mainmenu_stmt", "menu", + "menu_entry", "menu_end", "menu_stmt", "menu_block", "source_stmt", + "comment", "comment_stmt", "help_start", "help", "depends_list", + "depends", "visibility_list", "visible", "prompt_stmt_opt", "prompt", + "end", "nl", "if_expr", "expr", "symbol", "word_opt", 0 +}; +#endif + +# ifdef YYPRINT +/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to + token YYLEX-NUM. */ +static const yytype_uint16 yytoknum[] = +{ + 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, + 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, + 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290 +}; +# endif + +/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ +static const yytype_uint8 yyr1[] = +{ + 0, 36, 37, 37, 38, 38, 39, 39, 39, 39, + 39, 39, 39, 39, 40, 40, 40, 40, 40, 40, + 40, 40, 41, 41, 41, 41, 41, 41, 42, 42, + 43, 44, 45, 46, 47, 47, 47, 47, 47, 47, + 47, 48, 48, 48, 48, 48, 49, 50, 50, 51, + 51, 52, 53, 54, 55, 56, 56, 56, 56, 56, + 56, 57, 57, 57, 57, 58, 58, 59, 60, 61, + 62, 62, 62, 62, 63, 64, 65, 66, 67, 68, + 68, 68, 68, 69, 70, 71, 72, 73, 74, 74, + 74, 74, 75, 76, 76, 76, 77, 78, 78, 79, + 79, 80, 80, 80, 81, 81, 82, 82, 83, 83, + 83, 83, 83, 83, 83, 84, 84, 85, 85 +}; + +/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ +static const yytype_uint8 yyr2[] = +{ + 0, 2, 2, 1, 2, 1, 0, 2, 2, 2, + 2, 4, 4, 3, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 3, 2, + 3, 2, 3, 2, 0, 2, 2, 2, 2, 2, + 2, 3, 4, 4, 4, 5, 3, 0, 3, 0, + 2, 3, 2, 1, 3, 0, 2, 2, 2, 2, + 2, 4, 3, 2, 4, 0, 2, 3, 1, 3, + 0, 2, 2, 2, 3, 3, 3, 1, 3, 0, + 2, 2, 2, 3, 3, 2, 2, 2, 0, 2, + 2, 2, 4, 0, 2, 2, 2, 0, 2, 1, + 1, 2, 2, 2, 1, 2, 0, 2, 1, 3, + 3, 3, 2, 3, 3, 1, 1, 0, 1 +}; + +/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM. + Performed when YYTABLE doesn't specify something else to do. Zero + means the default is an error. */ +static const yytype_uint8 yydefact[] = +{ + 6, 0, 104, 0, 3, 0, 6, 6, 99, 100, + 0, 1, 0, 0, 0, 0, 117, 0, 0, 0, + 0, 0, 0, 14, 18, 15, 16, 20, 17, 19, + 21, 0, 22, 0, 7, 34, 25, 34, 26, 55, + 65, 8, 70, 23, 93, 79, 9, 27, 88, 24, + 10, 0, 105, 2, 74, 13, 0, 101, 0, 118, + 0, 102, 0, 0, 0, 115, 116, 0, 0, 0, + 108, 103, 0, 0, 0, 0, 0, 0, 0, 88, + 0, 0, 75, 83, 51, 84, 30, 32, 0, 112, + 0, 0, 67, 0, 0, 11, 12, 0, 0, 0, + 0, 97, 0, 0, 0, 47, 0, 40, 39, 35, + 36, 0, 38, 37, 0, 0, 97, 0, 59, 60, + 56, 58, 57, 66, 54, 53, 71, 73, 69, 72, + 68, 106, 95, 0, 94, 80, 82, 78, 81, 77, + 90, 91, 89, 111, 113, 114, 110, 109, 29, 86, + 0, 106, 0, 106, 106, 106, 0, 0, 0, 87, + 63, 106, 0, 106, 0, 96, 0, 0, 41, 98, + 0, 0, 106, 49, 46, 28, 0, 62, 0, 107, + 92, 42, 43, 44, 0, 0, 48, 61, 64, 45, + 50 +}; + +/* YYDEFGOTO[NTERM-NUM]. */ +static const yytype_int16 yydefgoto[] = +{ + -1, 3, 4, 5, 33, 34, 108, 35, 36, 37, + 38, 74, 109, 110, 157, 186, 39, 40, 124, 41, + 76, 120, 77, 42, 128, 43, 78, 6, 44, 45, + 137, 46, 80, 47, 48, 49, 111, 112, 81, 113, + 79, 134, 152, 153, 50, 7, 165, 69, 70, 60 +}; + +/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing + STATE-NUM. */ +#define YYPACT_NINF -90 +static const yytype_int16 yypact[] = +{ + 4, 42, -90, 96, -90, 111, -90, 15, -90, -90, + 75, -90, 82, 42, 104, 42, 110, 107, 42, 115, + 125, -4, 121, -90, -90, -90, -90, -90, -90, -90, + -90, 162, -90, 163, -90, -90, -90, -90, -90, -90, + -90, -90, -90, -90, -90, -90, -90, -90, -90, -90, + -90, 139, -90, -90, 138, -90, 142, -90, 143, -90, + 152, -90, 164, 167, 168, -90, -90, -4, -4, 77, + -18, -90, 177, 185, 33, 71, 195, 247, 236, -2, + 236, 171, -90, -90, -90, -90, -90, -90, 41, -90, + -4, -4, 138, 97, 97, -90, -90, 186, 187, 194, + 42, 42, -4, 196, 97, -90, 219, -90, -90, -90, + -90, 210, -90, -90, 204, 42, 42, 199, -90, -90, + -90, -90, -90, -90, -90, -90, -90, -90, -90, -90, + -90, 222, -90, 223, -90, -90, -90, -90, -90, -90, + -90, -90, -90, -90, 215, -90, -90, -90, -90, -90, + -4, 222, 228, 222, -5, 222, 97, 35, 229, -90, + -90, 222, 232, 222, -4, -90, 135, 233, -90, -90, + 234, 235, 222, 240, -90, -90, 237, -90, 239, -13, + -90, -90, -90, -90, 244, 42, -90, -90, -90, -90, + -90 +}; + +/* YYPGOTO[NTERM-NUM]. */ +static const yytype_int16 yypgoto[] = +{ + -90, -90, 269, 271, -90, 23, -70, -90, -90, -90, + -90, 243, -90, -90, -90, -90, -90, -90, -90, -48, + -90, -90, -90, -90, -90, -90, -90, -90, -90, -90, + -90, -20, -90, -90, -90, -90, -90, 206, 205, -68, + -90, -90, 169, -1, 27, -7, 118, -66, -89, -90 +}; + +/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If + positive, shift that token. If negative, reduce the rule which + number is the opposite. If YYTABLE_NINF, syntax error. */ +#define YYTABLE_NINF -86 +static const yytype_int16 yytable[] = +{ + 10, 88, 89, 54, 146, 147, 119, 1, 122, 164, + 93, 141, 56, 142, 58, 156, 94, 62, 1, 90, + 91, 131, 65, 66, 144, 145, 67, 90, 91, 132, + 127, 68, 136, -31, 97, 2, 154, -31, -31, -31, + -31, -31, -31, -31, -31, 98, 52, -31, -31, 99, + -31, 100, 101, 102, 103, 104, -31, 105, 129, 106, + 138, 173, 92, 141, 107, 142, 174, 172, 8, 9, + 143, -33, 97, 90, 91, -33, -33, -33, -33, -33, + -33, -33, -33, 98, 166, -33, -33, 99, -33, 100, + 101, 102, 103, 104, -33, 105, 11, 106, 179, 151, + 123, 126, 107, 135, 125, 130, 2, 139, 2, 90, + 91, -5, 12, 55, 161, 13, 14, 15, 16, 17, + 18, 19, 20, 65, 66, 21, 22, 23, 24, 25, + 26, 27, 28, 29, 30, 57, 59, 31, 61, -4, + 12, 63, 32, 13, 14, 15, 16, 17, 18, 19, + 20, 64, 71, 21, 22, 23, 24, 25, 26, 27, + 28, 29, 30, 72, 73, 31, 180, 90, 91, 52, + 32, -85, 97, 82, 83, -85, -85, -85, -85, -85, + -85, -85, -85, 84, 190, -85, -85, 99, -85, -85, + -85, -85, -85, -85, -85, 85, 97, 106, 86, 87, + -52, -52, 140, -52, -52, -52, -52, 98, 95, -52, + -52, 99, 114, 115, 116, 117, 96, 148, 149, 150, + 158, 106, 155, 159, 97, 163, 118, -76, -76, -76, + -76, -76, -76, -76, -76, 160, 164, -76, -76, 99, + 13, 14, 15, 16, 17, 18, 19, 20, 91, 106, + 21, 22, 14, 15, 140, 17, 18, 19, 20, 168, + 175, 21, 22, 177, 181, 182, 183, 32, 187, 167, + 188, 169, 170, 171, 185, 189, 53, 51, 32, 176, + 75, 178, 121, 0, 133, 162, 0, 0, 0, 0, + 184 +}; + +#define yypact_value_is_default(yystate) \ + ((yystate) == (-90)) + +#define yytable_value_is_error(yytable_value) \ + YYID (0) + +static const yytype_int16 yycheck[] = +{ + 1, 67, 68, 10, 93, 94, 76, 3, 76, 14, + 28, 81, 13, 81, 15, 104, 34, 18, 3, 32, + 33, 23, 26, 27, 90, 91, 30, 32, 33, 31, + 78, 35, 80, 0, 1, 31, 102, 4, 5, 6, + 7, 8, 9, 10, 11, 12, 31, 14, 15, 16, + 17, 18, 19, 20, 21, 22, 23, 24, 78, 26, + 80, 26, 69, 133, 31, 133, 31, 156, 26, 27, + 29, 0, 1, 32, 33, 4, 5, 6, 7, 8, + 9, 10, 11, 12, 150, 14, 15, 16, 17, 18, + 19, 20, 21, 22, 23, 24, 0, 26, 164, 100, + 77, 78, 31, 80, 77, 78, 31, 80, 31, 32, + 33, 0, 1, 31, 115, 4, 5, 6, 7, 8, + 9, 10, 11, 26, 27, 14, 15, 16, 17, 18, + 19, 20, 21, 22, 23, 31, 26, 26, 31, 0, + 1, 26, 31, 4, 5, 6, 7, 8, 9, 10, + 11, 26, 31, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 1, 1, 26, 31, 32, 33, 31, + 31, 0, 1, 31, 31, 4, 5, 6, 7, 8, + 9, 10, 11, 31, 185, 14, 15, 16, 17, 18, + 19, 20, 21, 22, 23, 31, 1, 26, 31, 31, + 5, 6, 31, 8, 9, 10, 11, 12, 31, 14, + 15, 16, 17, 18, 19, 20, 31, 31, 31, 25, + 1, 26, 26, 13, 1, 26, 31, 4, 5, 6, + 7, 8, 9, 10, 11, 31, 14, 14, 15, 16, + 4, 5, 6, 7, 8, 9, 10, 11, 33, 26, + 14, 15, 5, 6, 31, 8, 9, 10, 11, 31, + 31, 14, 15, 31, 31, 31, 31, 31, 31, 151, + 31, 153, 154, 155, 34, 31, 7, 6, 31, 161, + 37, 163, 76, -1, 79, 116, -1, -1, -1, -1, + 172 +}; + +/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing + symbol of state STATE-NUM. */ +static const yytype_uint8 yystos[] = +{ + 0, 3, 31, 37, 38, 39, 63, 81, 26, 27, + 79, 0, 1, 4, 5, 6, 7, 8, 9, 10, + 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, + 23, 26, 31, 40, 41, 43, 44, 45, 46, 52, + 53, 55, 59, 61, 64, 65, 67, 69, 70, 71, + 80, 39, 31, 38, 81, 31, 79, 31, 79, 26, + 85, 31, 79, 26, 26, 26, 27, 30, 35, 83, + 84, 31, 1, 1, 47, 47, 56, 58, 62, 76, + 68, 74, 31, 31, 31, 31, 31, 31, 83, 83, + 32, 33, 81, 28, 34, 31, 31, 1, 12, 16, + 18, 19, 20, 21, 22, 24, 26, 31, 42, 48, + 49, 72, 73, 75, 17, 18, 19, 20, 31, 42, + 57, 73, 75, 41, 54, 80, 41, 55, 60, 67, + 80, 23, 31, 74, 77, 41, 55, 66, 67, 80, + 31, 42, 75, 29, 83, 83, 84, 84, 31, 31, + 25, 79, 78, 79, 83, 26, 84, 50, 1, 13, + 31, 79, 78, 26, 14, 82, 83, 82, 31, 82, + 82, 82, 84, 26, 31, 31, 82, 31, 82, 83, + 31, 31, 31, 31, 82, 34, 51, 31, 31, 31, + 79 +}; + +#define yyerrok (yyerrstatus = 0) +#define yyclearin (yychar = YYEMPTY) +#define YYEMPTY (-2) +#define YYEOF 0 + +#define YYACCEPT goto yyacceptlab +#define YYABORT goto yyabortlab +#define YYERROR goto yyerrorlab + + +/* Like YYERROR except do call yyerror. This remains here temporarily + to ease the transition to the new meaning of YYERROR, for GCC. + Once GCC version 2 has supplanted version 1, this can go. However, + YYFAIL appears to be in use. Nevertheless, it is formally deprecated + in Bison 2.4.2's NEWS entry, where a plan to phase it out is + discussed. */ + +#define YYFAIL goto yyerrlab +#if defined YYFAIL + /* This is here to suppress warnings from the GCC cpp's + -Wunused-macros. Normally we don't worry about that warning, but + some users do, and we want to make it easy for users to remove + YYFAIL uses, which will produce warnings from Bison 2.5. */ +#endif + +#define YYRECOVERING() (!!yyerrstatus) + +#define YYBACKUP(Token, Value) \ +do \ + if (yychar == YYEMPTY && yylen == 1) \ + { \ + yychar = (Token); \ + yylval = (Value); \ + YYPOPSTACK (1); \ + goto yybackup; \ + } \ + else \ + { \ + yyerror (YY_("syntax error: cannot back up")); \ + YYERROR; \ + } \ +while (YYID (0)) + + +#define YYTERROR 1 +#define YYERRCODE 256 + + +/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N]. + If N is 0, then set CURRENT to the empty location which ends + the previous symbol: RHS[0] (always defined). */ + +#define YYRHSLOC(Rhs, K) ((Rhs)[K]) +#ifndef YYLLOC_DEFAULT +# define YYLLOC_DEFAULT(Current, Rhs, N) \ + do \ + if (YYID (N)) \ + { \ + (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ + (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ + (Current).last_line = YYRHSLOC (Rhs, N).last_line; \ + (Current).last_column = YYRHSLOC (Rhs, N).last_column; \ + } \ + else \ + { \ + (Current).first_line = (Current).last_line = \ + YYRHSLOC (Rhs, 0).last_line; \ + (Current).first_column = (Current).last_column = \ + YYRHSLOC (Rhs, 0).last_column; \ + } \ + while (YYID (0)) +#endif + + +/* This macro is provided for backward compatibility. */ + +#ifndef YY_LOCATION_PRINT +# define YY_LOCATION_PRINT(File, Loc) ((void) 0) +#endif + + +/* YYLEX -- calling `yylex' with the right arguments. */ + +#ifdef YYLEX_PARAM +# define YYLEX yylex (YYLEX_PARAM) +#else +# define YYLEX yylex () +#endif + +/* Enable debugging if requested. */ +#if YYDEBUG + +# ifndef YYFPRINTF +# include <stdio.h> /* INFRINGES ON USER NAME SPACE */ +# define YYFPRINTF fprintf +# endif + +# define YYDPRINTF(Args) \ +do { \ + if (yydebug) \ + YYFPRINTF Args; \ +} while (YYID (0)) + +# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yy_symbol_print (stderr, \ + Type, Value); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (YYID (0)) + + +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ + +/*ARGSUSED*/ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static void +yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) +#else +static void +yy_symbol_value_print (yyoutput, yytype, yyvaluep) + FILE *yyoutput; + int yytype; + YYSTYPE const * const yyvaluep; +#endif +{ + if (!yyvaluep) + return; +# ifdef YYPRINT + if (yytype < YYNTOKENS) + YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); +# else + YYUSE (yyoutput); +# endif + switch (yytype) + { + default: + break; + } +} + + +/*--------------------------------. +| Print this symbol on YYOUTPUT. | +`--------------------------------*/ + +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static void +yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) +#else +static void +yy_symbol_print (yyoutput, yytype, yyvaluep) + FILE *yyoutput; + int yytype; + YYSTYPE const * const yyvaluep; +#endif +{ + if (yytype < YYNTOKENS) + YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); + else + YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); + + yy_symbol_value_print (yyoutput, yytype, yyvaluep); + YYFPRINTF (yyoutput, ")"); +} + +/*------------------------------------------------------------------. +| yy_stack_print -- Print the state stack from its BOTTOM up to its | +| TOP (included). | +`------------------------------------------------------------------*/ + +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static void +yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) +#else +static void +yy_stack_print (yybottom, yytop) + yytype_int16 *yybottom; + yytype_int16 *yytop; +#endif +{ + YYFPRINTF (stderr, "Stack now"); + for (; yybottom <= yytop; yybottom++) + { + int yybot = *yybottom; + YYFPRINTF (stderr, " %d", yybot); + } + YYFPRINTF (stderr, "\n"); +} + +# define YY_STACK_PRINT(Bottom, Top) \ +do { \ + if (yydebug) \ + yy_stack_print ((Bottom), (Top)); \ +} while (YYID (0)) + + +/*------------------------------------------------. +| Report that the YYRULE is going to be reduced. | +`------------------------------------------------*/ + +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static void +yy_reduce_print (YYSTYPE *yyvsp, int yyrule) +#else +static void +yy_reduce_print (yyvsp, yyrule) + YYSTYPE *yyvsp; + int yyrule; +#endif +{ + int yynrhs = yyr2[yyrule]; + int yyi; + unsigned long int yylno = yyrline[yyrule]; + YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", + yyrule - 1, yylno); + /* The symbols being reduced. */ + for (yyi = 0; yyi < yynrhs; yyi++) + { + YYFPRINTF (stderr, " $%d = ", yyi + 1); + yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], + &(yyvsp[(yyi + 1) - (yynrhs)]) + ); + YYFPRINTF (stderr, "\n"); + } +} + +# define YY_REDUCE_PRINT(Rule) \ +do { \ + if (yydebug) \ + yy_reduce_print (yyvsp, Rule); \ +} while (YYID (0)) + +/* Nonzero means print parse trace. It is left uninitialized so that + multiple parsers can coexist. */ +int yydebug; +#else /* !YYDEBUG */ +# define YYDPRINTF(Args) +# define YY_SYMBOL_PRINT(Title, Type, Value, Location) +# define YY_STACK_PRINT(Bottom, Top) +# define YY_REDUCE_PRINT(Rule) +#endif /* !YYDEBUG */ + + +/* YYINITDEPTH -- initial size of the parser's stacks. */ +#ifndef YYINITDEPTH +# define YYINITDEPTH 200 +#endif + +/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only + if the built-in stack extension method is used). + + Do not make this value too large; the results are undefined if + YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH) + evaluated with infinite-precision integer arithmetic. */ + +#ifndef YYMAXDEPTH +# define YYMAXDEPTH 10000 +#endif + + +#if YYERROR_VERBOSE + +# ifndef yystrlen +# if defined __GLIBC__ && defined _STRING_H +# define yystrlen strlen +# else +/* Return the length of YYSTR. */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static YYSIZE_T +yystrlen (const char *yystr) +#else +static YYSIZE_T +yystrlen (yystr) + const char *yystr; +#endif +{ + YYSIZE_T yylen; + for (yylen = 0; yystr[yylen]; yylen++) + continue; + return yylen; +} +# endif +# endif + +# ifndef yystpcpy +# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE +# define yystpcpy stpcpy +# else +/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in + YYDEST. */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static char * +yystpcpy (char *yydest, const char *yysrc) +#else +static char * +yystpcpy (yydest, yysrc) + char *yydest; + const char *yysrc; +#endif +{ + char *yyd = yydest; + const char *yys = yysrc; + + while ((*yyd++ = *yys++) != '\0') + continue; + + return yyd - 1; +} +# endif +# endif + +# ifndef yytnamerr +/* Copy to YYRES the contents of YYSTR after stripping away unnecessary + quotes and backslashes, so that it's suitable for yyerror. The + heuristic is that double-quoting is unnecessary unless the string + contains an apostrophe, a comma, or backslash (other than + backslash-backslash). YYSTR is taken from yytname. If YYRES is + null, do not copy; instead, return the length of what the result + would have been. */ +static YYSIZE_T +yytnamerr (char *yyres, const char *yystr) +{ + if (*yystr == '"') + { + YYSIZE_T yyn = 0; + char const *yyp = yystr; + + for (;;) + switch (*++yyp) + { + case '\'': + case ',': + goto do_not_strip_quotes; + + case '\\': + if (*++yyp != '\\') + goto do_not_strip_quotes; + /* Fall through. */ + default: + if (yyres) + yyres[yyn] = *yyp; + yyn++; + break; + + case '"': + if (yyres) + yyres[yyn] = '\0'; + return yyn; + } + do_not_strip_quotes: ; + } + + if (! yyres) + return yystrlen (yystr); + + return yystpcpy (yyres, yystr) - yyres; +} +# endif + +/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message + about the unexpected token YYTOKEN for the state stack whose top is + YYSSP. + + Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is + not large enough to hold the message. In that case, also set + *YYMSG_ALLOC to the required number of bytes. Return 2 if the + required number of bytes is too large to store. */ +static int +yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, + yytype_int16 *yyssp, int yytoken) +{ + YYSIZE_T yysize0 = yytnamerr (0, yytname[yytoken]); + YYSIZE_T yysize = yysize0; + YYSIZE_T yysize1; + enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; + /* Internationalized format string. */ + const char *yyformat = 0; + /* Arguments of yyformat. */ + char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; + /* Number of reported tokens (one for the "unexpected", one per + "expected"). */ + int yycount = 0; + + /* There are many possibilities here to consider: + - Assume YYFAIL is not used. It's too flawed to consider. See + <http://lists.gnu.org/archive/html/bison-patches/2009-12/msg00024.html> + for details. YYERROR is fine as it does not invoke this + function. + - If this state is a consistent state with a default action, then + the only way this function was invoked is if the default action + is an error action. In that case, don't check for expected + tokens because there are none. + - The only way there can be no lookahead present (in yychar) is if + this state is a consistent state with a default action. Thus, + detecting the absence of a lookahead is sufficient to determine + that there is no unexpected or expected token to report. In that + case, just report a simple "syntax error". + - Don't assume there isn't a lookahead just because this state is a + consistent state with a default action. There might have been a + previous inconsistent state, consistent state with a non-default + action, or user semantic action that manipulated yychar. + - Of course, the expected token list depends on states to have + correct lookahead information, and it depends on the parser not + to perform extra reductions after fetching a lookahead from the + scanner and before detecting a syntax error. Thus, state merging + (from LALR or IELR) and default reductions corrupt the expected + token list. However, the list is correct for canonical LR with + one exception: it will still contain any token that will not be + accepted due to an error action in a later state. + */ + if (yytoken != YYEMPTY) + { + int yyn = yypact[*yyssp]; + yyarg[yycount++] = yytname[yytoken]; + if (!yypact_value_is_default (yyn)) + { + /* Start YYX at -YYN if negative to avoid negative indexes in + YYCHECK. In other words, skip the first -YYN actions for + this state because they are default actions. */ + int yyxbegin = yyn < 0 ? -yyn : 0; + /* Stay within bounds of both yycheck and yytname. */ + int yychecklim = YYLAST - yyn + 1; + int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; + int yyx; + + for (yyx = yyxbegin; yyx < yyxend; ++yyx) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR + && !yytable_value_is_error (yytable[yyx + yyn])) + { + if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) + { + yycount = 1; + yysize = yysize0; + break; + } + yyarg[yycount++] = yytname[yyx]; + yysize1 = yysize + yytnamerr (0, yytname[yyx]); + if (! (yysize <= yysize1 + && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + return 2; + yysize = yysize1; + } + } + } + + switch (yycount) + { +# define YYCASE_(N, S) \ + case N: \ + yyformat = S; \ + break + YYCASE_(0, YY_("syntax error")); + YYCASE_(1, YY_("syntax error, unexpected %s")); + YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s")); + YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s")); + YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s")); + YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s")); +# undef YYCASE_ + } + + yysize1 = yysize + yystrlen (yyformat); + if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + return 2; + yysize = yysize1; + + if (*yymsg_alloc < yysize) + { + *yymsg_alloc = 2 * yysize; + if (! (yysize <= *yymsg_alloc + && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM)) + *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM; + return 1; + } + + /* Avoid sprintf, as that infringes on the user's name space. + Don't have undefined behavior even if the translation + produced a string with the wrong number of "%s"s. */ + { + char *yyp = *yymsg; + int yyi = 0; + while ((*yyp = *yyformat) != '\0') + if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount) + { + yyp += yytnamerr (yyp, yyarg[yyi++]); + yyformat += 2; + } + else + { + yyp++; + yyformat++; + } + } + return 0; +} +#endif /* YYERROR_VERBOSE */ + +/*-----------------------------------------------. +| Release the memory associated to this symbol. | +`-----------------------------------------------*/ + +/*ARGSUSED*/ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +static void +yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) +#else +static void +yydestruct (yymsg, yytype, yyvaluep) + const char *yymsg; + int yytype; + YYSTYPE *yyvaluep; +#endif +{ + YYUSE (yyvaluep); + + if (!yymsg) + yymsg = "Deleting"; + YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp); + + switch (yytype) + { + case 53: /* "choice_entry" */ + + { + fprintf(stderr, "%s:%d: missing end statement for this entry\n", + (yyvaluep->menu)->file->name, (yyvaluep->menu)->lineno); + if (current_menu == (yyvaluep->menu)) + menu_end_menu(); +}; + + break; + case 59: /* "if_entry" */ + + { + fprintf(stderr, "%s:%d: missing end statement for this entry\n", + (yyvaluep->menu)->file->name, (yyvaluep->menu)->lineno); + if (current_menu == (yyvaluep->menu)) + menu_end_menu(); +}; + + break; + case 65: /* "menu_entry" */ + + { + fprintf(stderr, "%s:%d: missing end statement for this entry\n", + (yyvaluep->menu)->file->name, (yyvaluep->menu)->lineno); + if (current_menu == (yyvaluep->menu)) + menu_end_menu(); +}; + + break; + + default: + break; + } +} + + +/* Prevent warnings from -Wmissing-prototypes. */ +#ifdef YYPARSE_PARAM +#if defined __STDC__ || defined __cplusplus +int yyparse (void *YYPARSE_PARAM); +#else +int yyparse (); +#endif +#else /* ! YYPARSE_PARAM */ +#if defined __STDC__ || defined __cplusplus +int yyparse (void); +#else +int yyparse (); +#endif +#endif /* ! YYPARSE_PARAM */ + + +/* The lookahead symbol. */ +int yychar; + +/* The semantic value of the lookahead symbol. */ +YYSTYPE yylval; + +/* Number of syntax errors so far. */ +int yynerrs; + + +/*----------. +| yyparse. | +`----------*/ + +#ifdef YYPARSE_PARAM +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +int +yyparse (void *YYPARSE_PARAM) +#else +int +yyparse (YYPARSE_PARAM) + void *YYPARSE_PARAM; +#endif +#else /* ! YYPARSE_PARAM */ +#if (defined __STDC__ || defined __C99__FUNC__ \ + || defined __cplusplus || defined _MSC_VER) +int +yyparse (void) +#else +int +yyparse () + +#endif +#endif +{ + int yystate; + /* Number of tokens to shift before error messages enabled. */ + int yyerrstatus; + + /* The stacks and their tools: + `yyss': related to states. + `yyvs': related to semantic values. + + Refer to the stacks thru separate pointers, to allow yyoverflow + to reallocate them elsewhere. */ + + /* The state stack. */ + yytype_int16 yyssa[YYINITDEPTH]; + yytype_int16 *yyss; + yytype_int16 *yyssp; + + /* The semantic value stack. */ + YYSTYPE yyvsa[YYINITDEPTH]; + YYSTYPE *yyvs; + YYSTYPE *yyvsp; + + YYSIZE_T yystacksize; + + int yyn; + int yyresult; + /* Lookahead token as an internal (translated) token number. */ + int yytoken; + /* The variables used to return semantic value and location from the + action routines. */ + YYSTYPE yyval; + +#if YYERROR_VERBOSE + /* Buffer for error messages, and its allocated size. */ + char yymsgbuf[128]; + char *yymsg = yymsgbuf; + YYSIZE_T yymsg_alloc = sizeof yymsgbuf; +#endif + +#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) + + /* The number of symbols on the RHS of the reduced rule. + Keep to zero when no symbol should be popped. */ + int yylen = 0; + + yytoken = 0; + yyss = yyssa; + yyvs = yyvsa; + yystacksize = YYINITDEPTH; + + YYDPRINTF ((stderr, "Starting parse\n")); + + yystate = 0; + yyerrstatus = 0; + yynerrs = 0; + yychar = YYEMPTY; /* Cause a token to be read. */ + + /* Initialize stack pointers. + Waste one element of value and location stack + so that they stay on the same level as the state stack. + The wasted elements are never initialized. */ + yyssp = yyss; + yyvsp = yyvs; + + goto yysetstate; + +/*------------------------------------------------------------. +| yynewstate -- Push a new state, which is found in yystate. | +`------------------------------------------------------------*/ + yynewstate: + /* In all cases, when you get here, the value and location stacks + have just been pushed. So pushing a state here evens the stacks. */ + yyssp++; + + yysetstate: + *yyssp = yystate; + + if (yyss + yystacksize - 1 <= yyssp) + { + /* Get the current used size of the three stacks, in elements. */ + YYSIZE_T yysize = yyssp - yyss + 1; + +#ifdef yyoverflow + { + /* Give user a chance to reallocate the stack. Use copies of + these so that the &'s don't force the real ones into + memory. */ + YYSTYPE *yyvs1 = yyvs; + yytype_int16 *yyss1 = yyss; + + /* Each stack pointer address is followed by the size of the + data in use in that stack, in bytes. This used to be a + conditional around just the two extra args, but that might + be undefined if yyoverflow is a macro. */ + yyoverflow (YY_("memory exhausted"), + &yyss1, yysize * sizeof (*yyssp), + &yyvs1, yysize * sizeof (*yyvsp), + &yystacksize); + + yyss = yyss1; + yyvs = yyvs1; + } +#else /* no yyoverflow */ +# ifndef YYSTACK_RELOCATE + goto yyexhaustedlab; +# else + /* Extend the stack our own way. */ + if (YYMAXDEPTH <= yystacksize) + goto yyexhaustedlab; + yystacksize *= 2; + if (YYMAXDEPTH < yystacksize) + yystacksize = YYMAXDEPTH; + + { + yytype_int16 *yyss1 = yyss; + union yyalloc *yyptr = + (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); + if (! yyptr) + goto yyexhaustedlab; + YYSTACK_RELOCATE (yyss_alloc, yyss); + YYSTACK_RELOCATE (yyvs_alloc, yyvs); +# undef YYSTACK_RELOCATE + if (yyss1 != yyssa) + YYSTACK_FREE (yyss1); + } +# endif +#endif /* no yyoverflow */ + + yyssp = yyss + yysize - 1; + yyvsp = yyvs + yysize - 1; + + YYDPRINTF ((stderr, "Stack size increased to %lu\n", + (unsigned long int) yystacksize)); + + if (yyss + yystacksize - 1 <= yyssp) + YYABORT; + } + + YYDPRINTF ((stderr, "Entering state %d\n", yystate)); + + if (yystate == YYFINAL) + YYACCEPT; + + goto yybackup; + +/*-----------. +| yybackup. | +`-----------*/ +yybackup: + + /* Do appropriate processing given the current state. Read a + lookahead token if we need one and don't already have one. */ + + /* First try to decide what to do without reference to lookahead token. */ + yyn = yypact[yystate]; + if (yypact_value_is_default (yyn)) + goto yydefault; + + /* Not known => get a lookahead token if don't already have one. */ + + /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */ + if (yychar == YYEMPTY) + { + YYDPRINTF ((stderr, "Reading a token: ")); + yychar = YYLEX; + } + + if (yychar <= YYEOF) + { + yychar = yytoken = YYEOF; + YYDPRINTF ((stderr, "Now at end of input.\n")); + } + else + { + yytoken = YYTRANSLATE (yychar); + YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); + } + + /* If the proper action on seeing token YYTOKEN is to reduce or to + detect an error, take that action. */ + yyn += yytoken; + if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) + goto yydefault; + yyn = yytable[yyn]; + if (yyn <= 0) + { + if (yytable_value_is_error (yyn)) + goto yyerrlab; + yyn = -yyn; + goto yyreduce; + } + + /* Count tokens shifted since error; after three, turn off error + status. */ + if (yyerrstatus) + yyerrstatus--; + + /* Shift the lookahead token. */ + YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); + + /* Discard the shifted token. */ + yychar = YYEMPTY; + + yystate = yyn; + *++yyvsp = yylval; + + goto yynewstate; + + +/*-----------------------------------------------------------. +| yydefault -- do the default action for the current state. | +`-----------------------------------------------------------*/ +yydefault: + yyn = yydefact[yystate]; + if (yyn == 0) + goto yyerrlab; + goto yyreduce; + + +/*-----------------------------. +| yyreduce -- Do a reduction. | +`-----------------------------*/ +yyreduce: + /* yyn is the number of a rule to reduce with. */ + yylen = yyr2[yyn]; + + /* If YYLEN is nonzero, implement the default value of the action: + `$$ = $1'. + + Otherwise, the following line sets YYVAL to garbage. + This behavior is undocumented and Bison + users should not rely upon it. Assigning to YYVAL + unconditionally makes the parser a bit smaller, and it avoids a + GCC warning that YYVAL may be used uninitialized. */ + yyval = yyvsp[1-yylen]; + + + YY_REDUCE_PRINT (yyn); + switch (yyn) + { + case 10: + + { zconf_error("unexpected end statement"); } + break; + + case 11: + + { zconf_error("unknown statement \"%s\"", (yyvsp[(2) - (4)].string)); } + break; + + case 12: + + { + zconf_error("unexpected option \"%s\"", kconf_id_strings + (yyvsp[(2) - (4)].id)->name); +} + break; + + case 13: + + { zconf_error("invalid statement"); } + break; + + case 28: + + { zconf_error("unknown option \"%s\"", (yyvsp[(1) - (3)].string)); } + break; + + case 29: + + { zconf_error("invalid option"); } + break; + + case 30: + + { + struct symbol *sym = sym_lookup((yyvsp[(2) - (3)].string), 0); + sym->flags |= SYMBOL_OPTIONAL; + menu_add_entry(sym); + printd(DEBUG_PARSE, "%s:%d:config %s\n", zconf_curname(), zconf_lineno(), (yyvsp[(2) - (3)].string)); +} + break; + + case 31: + + { + menu_end_entry(); + printd(DEBUG_PARSE, "%s:%d:endconfig\n", zconf_curname(), zconf_lineno()); +} + break; + + case 32: + + { + struct symbol *sym = sym_lookup((yyvsp[(2) - (3)].string), 0); + sym->flags |= SYMBOL_OPTIONAL; + menu_add_entry(sym); + printd(DEBUG_PARSE, "%s:%d:menuconfig %s\n", zconf_curname(), zconf_lineno(), (yyvsp[(2) - (3)].string)); +} + break; + + case 33: + + { + if (current_entry->prompt) + current_entry->prompt->type = P_MENU; + else + zconfprint("warning: menuconfig statement without prompt"); + menu_end_entry(); + printd(DEBUG_PARSE, "%s:%d:endconfig\n", zconf_curname(), zconf_lineno()); +} + break; + + case 41: + + { + menu_set_type((yyvsp[(1) - (3)].id)->stype); + printd(DEBUG_PARSE, "%s:%d:type(%u)\n", + zconf_curname(), zconf_lineno(), + (yyvsp[(1) - (3)].id)->stype); +} + break; + + case 42: + + { + menu_add_prompt(P_PROMPT, (yyvsp[(2) - (4)].string), (yyvsp[(3) - (4)].expr)); + printd(DEBUG_PARSE, "%s:%d:prompt\n", zconf_curname(), zconf_lineno()); +} + break; + + case 43: + + { + menu_add_expr(P_DEFAULT, (yyvsp[(2) - (4)].expr), (yyvsp[(3) - (4)].expr)); + if ((yyvsp[(1) - (4)].id)->stype != S_UNKNOWN) + menu_set_type((yyvsp[(1) - (4)].id)->stype); + printd(DEBUG_PARSE, "%s:%d:default(%u)\n", + zconf_curname(), zconf_lineno(), + (yyvsp[(1) - (4)].id)->stype); +} + break; + + case 44: + + { + menu_add_symbol(P_SELECT, sym_lookup((yyvsp[(2) - (4)].string), 0), (yyvsp[(3) - (4)].expr)); + printd(DEBUG_PARSE, "%s:%d:select\n", zconf_curname(), zconf_lineno()); +} + break; + + case 45: + + { + menu_add_expr(P_RANGE, expr_alloc_comp(E_RANGE,(yyvsp[(2) - (5)].symbol), (yyvsp[(3) - (5)].symbol)), (yyvsp[(4) - (5)].expr)); + printd(DEBUG_PARSE, "%s:%d:range\n", zconf_curname(), zconf_lineno()); +} + break; + + case 48: + + { + const struct kconf_id *id = kconf_id_lookup((yyvsp[(2) - (3)].string), strlen((yyvsp[(2) - (3)].string))); + if (id && id->flags & TF_OPTION) + menu_add_option(id->token, (yyvsp[(3) - (3)].string)); + else + zconfprint("warning: ignoring unknown option %s", (yyvsp[(2) - (3)].string)); + free((yyvsp[(2) - (3)].string)); +} + break; + + case 49: + + { (yyval.string) = NULL; } + break; + + case 50: + + { (yyval.string) = (yyvsp[(2) - (2)].string); } + break; + + case 51: + + { + struct symbol *sym = sym_lookup((yyvsp[(2) - (3)].string), SYMBOL_CHOICE); + sym->flags |= SYMBOL_AUTO; + menu_add_entry(sym); + menu_add_expr(P_CHOICE, NULL, NULL); + printd(DEBUG_PARSE, "%s:%d:choice\n", zconf_curname(), zconf_lineno()); +} + break; + + case 52: + + { + (yyval.menu) = menu_add_menu(); +} + break; + + case 53: + + { + if (zconf_endtoken((yyvsp[(1) - (1)].id), T_CHOICE, T_ENDCHOICE)) { + menu_end_menu(); + printd(DEBUG_PARSE, "%s:%d:endchoice\n", zconf_curname(), zconf_lineno()); + } +} + break; + + case 61: + + { + menu_add_prompt(P_PROMPT, (yyvsp[(2) - (4)].string), (yyvsp[(3) - (4)].expr)); + printd(DEBUG_PARSE, "%s:%d:prompt\n", zconf_curname(), zconf_lineno()); +} + break; + + case 62: + + { + if ((yyvsp[(1) - (3)].id)->stype == S_BOOLEAN || (yyvsp[(1) - (3)].id)->stype == S_TRISTATE) { + menu_set_type((yyvsp[(1) - (3)].id)->stype); + printd(DEBUG_PARSE, "%s:%d:type(%u)\n", + zconf_curname(), zconf_lineno(), + (yyvsp[(1) - (3)].id)->stype); + } else + YYERROR; +} + break; + + case 63: + + { + current_entry->sym->flags |= SYMBOL_OPTIONAL; + printd(DEBUG_PARSE, "%s:%d:optional\n", zconf_curname(), zconf_lineno()); +} + break; + + case 64: + + { + if ((yyvsp[(1) - (4)].id)->stype == S_UNKNOWN) { + menu_add_symbol(P_DEFAULT, sym_lookup((yyvsp[(2) - (4)].string), 0), (yyvsp[(3) - (4)].expr)); + printd(DEBUG_PARSE, "%s:%d:default\n", + zconf_curname(), zconf_lineno()); + } else + YYERROR; +} + break; + + case 67: + + { + printd(DEBUG_PARSE, "%s:%d:if\n", zconf_curname(), zconf_lineno()); + menu_add_entry(NULL); + menu_add_dep((yyvsp[(2) - (3)].expr)); + (yyval.menu) = menu_add_menu(); +} + break; + + case 68: + + { + if (zconf_endtoken((yyvsp[(1) - (1)].id), T_IF, T_ENDIF)) { + menu_end_menu(); + printd(DEBUG_PARSE, "%s:%d:endif\n", zconf_curname(), zconf_lineno()); + } +} + break; + + case 74: + + { + menu_add_prompt(P_MENU, (yyvsp[(2) - (3)].string), NULL); +} + break; + + case 75: + + { + menu_add_entry(NULL); + menu_add_prompt(P_MENU, (yyvsp[(2) - (3)].string), NULL); + printd(DEBUG_PARSE, "%s:%d:menu\n", zconf_curname(), zconf_lineno()); +} + break; + + case 76: + + { + (yyval.menu) = menu_add_menu(); +} + break; + + case 77: + + { + if (zconf_endtoken((yyvsp[(1) - (1)].id), T_MENU, T_ENDMENU)) { + menu_end_menu(); + printd(DEBUG_PARSE, "%s:%d:endmenu\n", zconf_curname(), zconf_lineno()); + } +} + break; + + case 83: + + { + printd(DEBUG_PARSE, "%s:%d:source %s\n", zconf_curname(), zconf_lineno(), (yyvsp[(2) - (3)].string)); + zconf_nextfile((yyvsp[(2) - (3)].string)); +} + break; + + case 84: + + { + menu_add_entry(NULL); + menu_add_prompt(P_COMMENT, (yyvsp[(2) - (3)].string), NULL); + printd(DEBUG_PARSE, "%s:%d:comment\n", zconf_curname(), zconf_lineno()); +} + break; + + case 85: + + { + menu_end_entry(); +} + break; + + case 86: + + { + printd(DEBUG_PARSE, "%s:%d:help\n", zconf_curname(), zconf_lineno()); + zconf_starthelp(); +} + break; + + case 87: + + { + current_entry->help = (yyvsp[(2) - (2)].string); +} + break; + + case 92: + + { + menu_add_dep((yyvsp[(3) - (4)].expr)); + printd(DEBUG_PARSE, "%s:%d:depends on\n", zconf_curname(), zconf_lineno()); +} + break; + + case 96: + + { + menu_add_visibility((yyvsp[(2) - (2)].expr)); +} + break; + + case 98: + + { + menu_add_prompt(P_PROMPT, (yyvsp[(1) - (2)].string), (yyvsp[(2) - (2)].expr)); +} + break; + + case 101: + + { (yyval.id) = (yyvsp[(1) - (2)].id); } + break; + + case 102: + + { (yyval.id) = (yyvsp[(1) - (2)].id); } + break; + + case 103: + + { (yyval.id) = (yyvsp[(1) - (2)].id); } + break; + + case 106: + + { (yyval.expr) = NULL; } + break; + + case 107: + + { (yyval.expr) = (yyvsp[(2) - (2)].expr); } + break; + + case 108: + + { (yyval.expr) = expr_alloc_symbol((yyvsp[(1) - (1)].symbol)); } + break; + + case 109: + + { (yyval.expr) = expr_alloc_comp(E_EQUAL, (yyvsp[(1) - (3)].symbol), (yyvsp[(3) - (3)].symbol)); } + break; + + case 110: + + { (yyval.expr) = expr_alloc_comp(E_UNEQUAL, (yyvsp[(1) - (3)].symbol), (yyvsp[(3) - (3)].symbol)); } + break; + + case 111: + + { (yyval.expr) = (yyvsp[(2) - (3)].expr); } + break; + + case 112: + + { (yyval.expr) = expr_alloc_one(E_NOT, (yyvsp[(2) - (2)].expr)); } + break; + + case 113: + + { (yyval.expr) = expr_alloc_two(E_OR, (yyvsp[(1) - (3)].expr), (yyvsp[(3) - (3)].expr)); } + break; + + case 114: + + { (yyval.expr) = expr_alloc_two(E_AND, (yyvsp[(1) - (3)].expr), (yyvsp[(3) - (3)].expr)); } + break; + + case 115: + + { (yyval.symbol) = sym_lookup((yyvsp[(1) - (1)].string), 0); free((yyvsp[(1) - (1)].string)); } + break; + + case 116: + + { (yyval.symbol) = sym_lookup((yyvsp[(1) - (1)].string), SYMBOL_CONST); free((yyvsp[(1) - (1)].string)); } + break; + + case 117: + + { (yyval.string) = NULL; } + break; + + + + default: break; + } + /* User semantic actions sometimes alter yychar, and that requires + that yytoken be updated with the new translation. We take the + approach of translating immediately before every use of yytoken. + One alternative is translating here after every semantic action, + but that translation would be missed if the semantic action invokes + YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or + if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an + incorrect destructor might then be invoked immediately. In the + case of YYERROR or YYBACKUP, subsequent parser actions might lead + to an incorrect destructor call or verbose syntax error message + before the lookahead is translated. */ + YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); + + YYPOPSTACK (yylen); + yylen = 0; + YY_STACK_PRINT (yyss, yyssp); + + *++yyvsp = yyval; + + /* Now `shift' the result of the reduction. Determine what state + that goes to, based on the state we popped back to and the rule + number reduced by. */ + + yyn = yyr1[yyn]; + + yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; + if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) + yystate = yytable[yystate]; + else + yystate = yydefgoto[yyn - YYNTOKENS]; + + goto yynewstate; + + +/*------------------------------------. +| yyerrlab -- here on detecting error | +`------------------------------------*/ +yyerrlab: + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar); + + /* If not already recovering from an error, report this error. */ + if (!yyerrstatus) + { + ++yynerrs; +#if ! YYERROR_VERBOSE + yyerror (YY_("syntax error")); +#else +# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \ + yyssp, yytoken) + { + char const *yymsgp = YY_("syntax error"); + int yysyntax_error_status; + yysyntax_error_status = YYSYNTAX_ERROR; + if (yysyntax_error_status == 0) + yymsgp = yymsg; + else if (yysyntax_error_status == 1) + { + if (yymsg != yymsgbuf) + YYSTACK_FREE (yymsg); + yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc); + if (!yymsg) + { + yymsg = yymsgbuf; + yymsg_alloc = sizeof yymsgbuf; + yysyntax_error_status = 2; + } + else + { + yysyntax_error_status = YYSYNTAX_ERROR; + yymsgp = yymsg; + } + } + yyerror (yymsgp); + if (yysyntax_error_status == 2) + goto yyexhaustedlab; + } +# undef YYSYNTAX_ERROR +#endif + } + + + + if (yyerrstatus == 3) + { + /* If just tried and failed to reuse lookahead token after an + error, discard it. */ + + if (yychar <= YYEOF) + { + /* Return failure if at end of input. */ + if (yychar == YYEOF) + YYABORT; + } + else + { + yydestruct ("Error: discarding", + yytoken, &yylval); + yychar = YYEMPTY; + } + } + + /* Else will try to reuse lookahead token after shifting the error + token. */ + goto yyerrlab1; + + +/*---------------------------------------------------. +| yyerrorlab -- error raised explicitly by YYERROR. | +`---------------------------------------------------*/ +yyerrorlab: + + /* Pacify compilers like GCC when the user code never invokes + YYERROR and the label yyerrorlab therefore never appears in user + code. */ + if (/*CONSTCOND*/ 0) + goto yyerrorlab; + + /* Do not reclaim the symbols of the rule which action triggered + this YYERROR. */ + YYPOPSTACK (yylen); + yylen = 0; + YY_STACK_PRINT (yyss, yyssp); + yystate = *yyssp; + goto yyerrlab1; + + +/*-------------------------------------------------------------. +| yyerrlab1 -- common code for both syntax error and YYERROR. | +`-------------------------------------------------------------*/ +yyerrlab1: + yyerrstatus = 3; /* Each real token shifted decrements this. */ + + for (;;) + { + yyn = yypact[yystate]; + if (!yypact_value_is_default (yyn)) + { + yyn += YYTERROR; + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) + { + yyn = yytable[yyn]; + if (0 < yyn) + break; + } + } + + /* Pop the current state because it cannot handle the error token. */ + if (yyssp == yyss) + YYABORT; + + + yydestruct ("Error: popping", + yystos[yystate], yyvsp); + YYPOPSTACK (1); + yystate = *yyssp; + YY_STACK_PRINT (yyss, yyssp); + } + + *++yyvsp = yylval; + + + /* Shift the error token. */ + YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); + + yystate = yyn; + goto yynewstate; + + +/*-------------------------------------. +| yyacceptlab -- YYACCEPT comes here. | +`-------------------------------------*/ +yyacceptlab: + yyresult = 0; + goto yyreturn; + +/*-----------------------------------. +| yyabortlab -- YYABORT comes here. | +`-----------------------------------*/ +yyabortlab: + yyresult = 1; + goto yyreturn; + +#if !defined(yyoverflow) || YYERROR_VERBOSE +/*-------------------------------------------------. +| yyexhaustedlab -- memory exhaustion comes here. | +`-------------------------------------------------*/ +yyexhaustedlab: + yyerror (YY_("memory exhausted")); + yyresult = 2; + /* Fall through. */ +#endif + +yyreturn: + if (yychar != YYEMPTY) + { + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = YYTRANSLATE (yychar); + yydestruct ("Cleanup: discarding lookahead", + yytoken, &yylval); + } + /* Do not reclaim the symbols of the rule which action triggered + this YYABORT or YYACCEPT. */ + YYPOPSTACK (yylen); + YY_STACK_PRINT (yyss, yyssp); + while (yyssp != yyss) + { + yydestruct ("Cleanup: popping", + yystos[*yyssp], yyvsp); + YYPOPSTACK (1); + } +#ifndef yyoverflow + if (yyss != yyssa) + YYSTACK_FREE (yyss); +#endif +#if YYERROR_VERBOSE + if (yymsg != yymsgbuf) + YYSTACK_FREE (yymsg); +#endif + /* Make sure YYID is used. */ + return YYID (yyresult); +} + + + + + +void conf_parse(const char *name) +{ + struct symbol *sym; + int i; + + zconf_initscan(name); + + sym_init(); + _menu_init(); + modules_sym = sym_lookup(NULL, 0); + modules_sym->type = S_BOOLEAN; + modules_sym->flags |= SYMBOL_AUTO; + rootmenu.prompt = menu_add_prompt(P_MENU, ROOTMENU, NULL); + + if (getenv("ZCONF_DEBUG")) + zconfdebug = 1; + zconfparse(); + if (zconfnerrs) + exit(1); + if (!modules_sym->prop) { + struct property *prop; + + prop = prop_alloc(P_DEFAULT, modules_sym); + prop->expr = expr_alloc_symbol(sym_lookup("MODULES", 0)); + } + + rootmenu.prompt->text = _(rootmenu.prompt->text); + rootmenu.prompt->text = sym_expand_string_value(rootmenu.prompt->text); + + menu_finalize(&rootmenu); + for_all_symbols(i, sym) { + if (sym_check_deps(sym)) + zconfnerrs++; + } + if (zconfnerrs) + exit(1); + sym_set_change_count(1); +} + +static const char *zconf_tokenname(int token) +{ + switch (token) { + case T_MENU: return "menu"; + case T_ENDMENU: return "endmenu"; + case T_CHOICE: return "choice"; + case T_ENDCHOICE: return "endchoice"; + case T_IF: return "if"; + case T_ENDIF: return "endif"; + case T_DEPENDS: return "depends"; + case T_VISIBLE: return "visible"; + } + return "<token>"; +} + +static bool zconf_endtoken(const struct kconf_id *id, int starttoken, int endtoken) +{ + if (id->token != endtoken) { + zconf_error("unexpected '%s' within %s block", + kconf_id_strings + id->name, zconf_tokenname(starttoken)); + zconfnerrs++; + return false; + } + if (current_menu->file != current_file) { + zconf_error("'%s' in different file than '%s'", + kconf_id_strings + id->name, zconf_tokenname(starttoken)); + fprintf(stderr, "%s:%d: location of the '%s'\n", + current_menu->file->name, current_menu->lineno, + zconf_tokenname(starttoken)); + zconfnerrs++; + return false; + } + return true; +} + +static void zconfprint(const char *err, ...) +{ + va_list ap; + + fprintf(stderr, "%s:%d: ", zconf_curname(), zconf_lineno()); + va_start(ap, err); + vfprintf(stderr, err, ap); + va_end(ap); + fprintf(stderr, "\n"); +} + +static void zconf_error(const char *err, ...) +{ + va_list ap; + + zconfnerrs++; + fprintf(stderr, "%s:%d: ", zconf_curname(), zconf_lineno()); + va_start(ap, err); + vfprintf(stderr, err, ap); + va_end(ap); + fprintf(stderr, "\n"); +} + +static void zconferror(const char *err) +{ + fprintf(stderr, "%s:%d: %s\n", zconf_curname(), zconf_lineno() + 1, err); +} + +static void print_quoted_string(FILE *out, const char *str) +{ + const char *p; + int len; + + putc('"', out); + while ((p = strchr(str, '"'))) { + len = p - str; + if (len) + fprintf(out, "%.*s", len, str); + fputs("\\\"", out); + str = p + 1; + } + fputs(str, out); + putc('"', out); +} + +static void print_symbol(FILE *out, struct menu *menu) +{ + struct symbol *sym = menu->sym; + struct property *prop; + + if (sym_is_choice(sym)) + fprintf(out, "\nchoice\n"); + else + fprintf(out, "\nconfig %s\n", sym->name); + switch (sym->type) { + case S_BOOLEAN: + fputs(" boolean\n", out); + break; + case S_TRISTATE: + fputs(" tristate\n", out); + break; + case S_STRING: + fputs(" string\n", out); + break; + case S_INT: + fputs(" integer\n", out); + break; + case S_HEX: + fputs(" hex\n", out); + break; + default: + fputs(" ???\n", out); + break; + } + for (prop = sym->prop; prop; prop = prop->next) { + if (prop->menu != menu) + continue; + switch (prop->type) { + case P_PROMPT: + fputs(" prompt ", out); + print_quoted_string(out, prop->text); + if (!expr_is_yes(prop->visible.expr)) { + fputs(" if ", out); + expr_fprint(prop->visible.expr, out); + } + fputc('\n', out); + break; + case P_DEFAULT: + fputs( " default ", out); + expr_fprint(prop->expr, out); + if (!expr_is_yes(prop->visible.expr)) { + fputs(" if ", out); + expr_fprint(prop->visible.expr, out); + } + fputc('\n', out); + break; + case P_CHOICE: + fputs(" #choice value\n", out); + break; + case P_SELECT: + fputs( " select ", out); + expr_fprint(prop->expr, out); + fputc('\n', out); + break; + case P_RANGE: + fputs( " range ", out); + expr_fprint(prop->expr, out); + fputc('\n', out); + break; + case P_MENU: + fputs( " menu ", out); + print_quoted_string(out, prop->text); + fputc('\n', out); + break; + default: + fprintf(out, " unknown prop %d!\n", prop->type); + break; + } + } + if (menu->help) { + int len = strlen(menu->help); + while (menu->help[--len] == '\n') + menu->help[len] = 0; + fprintf(out, " help\n%s\n", menu->help); + } +} + +void zconfdump(FILE *out) +{ + struct property *prop; + struct symbol *sym; + struct menu *menu; + + menu = rootmenu.list; + while (menu) { + if ((sym = menu->sym)) + print_symbol(out, menu); + else if ((prop = menu->prompt)) { + switch (prop->type) { + case P_COMMENT: + fputs("\ncomment ", out); + print_quoted_string(out, prop->text); + fputs("\n", out); + break; + case P_MENU: + fputs("\nmenu ", out); + print_quoted_string(out, prop->text); + fputs("\n", out); + break; + default: + ; + } + if (!expr_is_yes(prop->visible.expr)) { + fputs(" depends ", out); + expr_fprint(prop->visible.expr, out); + fputc('\n', out); + } + } + + if (menu->list) + menu = menu->list; + else if (menu->next) + menu = menu->next; + else while ((menu = menu->parent)) { + if (menu->prompt && menu->prompt->type == P_MENU) + fputs("\nendmenu\n", out); + if (menu->next) { + menu = menu->next; + break; + } + } + } +} + +#include "lconf.c" +#include "util.c" +#include "confdata.c" +#include "expr.c" +#include "symbol.c" +#include "menu.c" + diff --git a/kconfig-frontends/libtool b/kconfig-frontends/libtool index 93ae34d..6f34766 100644..100755 --- a/kconfig-frontends/libtool +++ b/kconfig-frontends/libtool @@ -1,8 +1,8 @@ -#! /bin/sh +#! /bin/bash # libtool - Provide generalized library-building support services. -# Generated automatically by config.status (kconfig-frontends) 3.9.0.0 -# Libtool was configured on host mitra: +# Generated automatically by config.status (kconfig-frontends) +# Libtool was configured on host thinkpad-chris: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, @@ -56,7 +56,7 @@ pic_mode=default fast_install=yes # Shell to use when invoking shell scripts. -SHELL="/bin/sh" +SHELL="/bin/bash" # An echo program that protects backslashes. ECHO="printf %s\\n" @@ -96,7 +96,7 @@ NM="/usr/bin/nm -B" LN_S="ln -s" # What is the maximum length of a command? -max_cmd_len=3458764513820540925 +max_cmd_len=1572864 # Object file suffix (normally "o"). objext=o @@ -272,10 +272,10 @@ finish_eval="" hardcode_into_libs=yes # Compile-time system search path for libraries. -sys_lib_search_path_spec="/usr/lib/gcc/x86_64-linux-gnu/4.7 /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib " +sys_lib_search_path_spec="/usr/lib/gcc/x86_64-linux-gnu/4.4.7 /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib " # Run-time system search path for libraries. -sys_lib_dlsearch_path_spec="/lib /usr/lib /lib/arm-linux-gnueabi /usr/lib/arm-linux-gnueabi /lib/arm-linux-gnueabihf /usr/lib/arm-linux-gnueabihf /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /lib32 /usr/lib32 /libx32 /usr/libx32 " +sys_lib_dlsearch_path_spec="/lib /usr/lib /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /lib32 /usr/lib32 " # Whether dlopen is supported. dlopen_support=unknown @@ -10230,17 +10230,17 @@ file_list_spec="" hardcode_action=immediate # The directories searched by this compiler when creating a shared library. -compiler_lib_search_dirs="/usr/lib/gcc/x86_64-linux-gnu/4.7 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /usr/lib/gcc/x86_64-linux-gnu/4.7/../../.." +compiler_lib_search_dirs="/usr/lib/gcc/x86_64-linux-gnu/4.4.7 /usr/lib/gcc/x86_64-linux-gnu/4.4.7 /usr/lib/gcc/x86_64-linux-gnu/4.4.7/../../../x86_64-linux-gnu /usr/lib/gcc/x86_64-linux-gnu/4.4.7/../../../../lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /usr/lib/gcc/x86_64-linux-gnu/4.4.7/../../.." # Dependencies to place before and after the objects being linked to # create a shared library. -predep_objects="/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbeginS.o" -postdep_objects="/usr/lib/gcc/x86_64-linux-gnu/4.7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o" +predep_objects="/usr/lib/gcc/x86_64-linux-gnu/4.4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.4.7/crtbeginS.o" +postdep_objects="/usr/lib/gcc/x86_64-linux-gnu/4.4.7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.4.7/../../../x86_64-linux-gnu/crtn.o" predeps="" postdeps="-lstdc++ -lm -lgcc_s -lc -lgcc_s" # The library search path used internally by the compiler when linking # a shared library. -compiler_lib_search_path="-L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.." +compiler_lib_search_path="-L/usr/lib/gcc/x86_64-linux-gnu/4.4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.4.7/../../.." # ### END LIBTOOL TAG CONFIG: CXX diff --git a/kconfig-frontends/scripts/.autostuff/config.h b/kconfig-frontends/scripts/.autostuff/config.h index 732f760..9489e85 100644 --- a/kconfig-frontends/scripts/.autostuff/config.h +++ b/kconfig-frontends/scripts/.autostuff/config.h @@ -17,13 +17,13 @@ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the <ncursesw/curses.h> header file. */ -#define HAVE_NCURSESW_CURSES_H 1 +/* #undef HAVE_NCURSESW_CURSES_H */ /* Define to 1 if you have the <ncurses/curses.h> header file. */ /* #undef HAVE_NCURSES_CURSES_H */ /* Define to 1 if you have the <ncurses.h> header file. */ -/* #undef HAVE_NCURSES_H */ +#define HAVE_NCURSES_H 1 /* Define to 1 if you have the <ncurses/ncurses.h> header file. */ /* #undef HAVE_NCURSES_NCURSES_H */ @@ -66,7 +66,7 @@ #define PACKAGE_NAME "kconfig-frontends" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "kconfig-frontends 3.9.0.0" +#define PACKAGE_STRING "kconfig-frontends " /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "kconfig-frontends" @@ -75,13 +75,13 @@ #define PACKAGE_URL "" /* Define to the version of this package. */ -#define PACKAGE_VERSION "3.9.0.0" +#define PACKAGE_VERSION "" /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Version number of package */ -#define VERSION "3.9.0.0" +#define VERSION "" /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a `char[]'. */ diff --git a/kconfig-frontends/scripts/Makefile b/kconfig-frontends/scripts/Makefile index f49fffd..b0ccec6 100644 --- a/kconfig-frontends/scripts/Makefile +++ b/kconfig-frontends/scripts/Makefile @@ -79,15 +79,15 @@ am__can_run_installinfo = \ *) (install-info --version) >/dev/null 2>&1;; \ esac DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 +ACLOCAL = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 AMTAR = $${TAR-tar} AM_DEFAULT_VERBOSITY = 0 AM_LFLAGS = -L -P zconf AM_YFLAGS = -t -l -p zconf AR = ar -AUTOCONF = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf -AUTOHEADER = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader -AUTOMAKE = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 +AUTOCONF = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf +AUTOHEADER = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader +AUTOMAKE = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 @@ -117,7 +117,7 @@ INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -KCONFIGPARSER_LIB_VERSION = 3.9.0 +KCONFIGPARSER_LIB_VERSION = LD = /usr/bin/ld -m elf_x86_64 LDFLAGS = LEX = flex @@ -129,10 +129,10 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool LIPO = LN_S = ln -s LTLIBOBJS = -MAKEINFO = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo +MAKEINFO = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo MANIFEST_TOOL = : MKDIR_P = /bin/mkdir -p -MOC = +MOC = /usr/bin/moc-qt4 NM = /usr/bin/nm -B NMEDIT = OBJDUMP = objdump @@ -142,10 +142,10 @@ OTOOL64 = PACKAGE = kconfig-frontends PACKAGE_BUGREPORT = yann.morin.1998@free.fr PACKAGE_NAME = kconfig-frontends -PACKAGE_STRING = kconfig-frontends 3.9.0.0 +PACKAGE_STRING = kconfig-frontends PACKAGE_TARNAME = kconfig-frontends PACKAGE_URL = -PACKAGE_VERSION = 3.9.0.0 +PACKAGE_VERSION = PATH_SEPARATOR = : PKG_CONFIG = /usr/bin/pkg-config PKG_CONFIG_LIBDIR = @@ -153,16 +153,16 @@ PKG_CONFIG_PATH = RANLIB = ranlib SED = /bin/sed SET_MAKE = -SHELL = /bin/sh +SHELL = /bin/bash SILENT_MAKEFLAGS = --no-print-directory -s STRIP = strip -VERSION = 3.9.0.0 +VERSION = YACC = bison -y YFLAGS = -abs_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts -abs_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts -abs_top_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends -abs_top_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends +abs_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts +abs_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts +abs_top_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends +abs_top_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ @@ -188,15 +188,15 @@ dvidir = ${docdir} enable_L10n = yes enable_conf = yes enable_frontends = -enable_gconf = yes +enable_gconf = no enable_mconf = yes enable_nconf = yes -enable_qconf = no +enable_qconf = yes enable_utils = yes exec_prefix = ${prefix} gconf_EXTRA_LIBS = -gtk_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -gtk_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +gtk_CFLAGS = +gtk_LIBS = host = x86_64-unknown-linux-gnu host_alias = host_cpu = x86_64 @@ -205,7 +205,7 @@ host_vendor = unknown htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh +install_sh = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh intl_CPPFLAGS = intl_LIBS = kf_CFLAGS = -Wall @@ -217,18 +217,18 @@ mandir = ${datarootdir}/man mconf_EXTRA_LIBS = mkdir_p = /bin/mkdir -p nconf_EXTRA_LIBS = -ncurses_LIBS = -lncursesw -ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncursesw/curses.h\" -DNCURSES_WIDECHAR=1 -ncurses_nconf_CPPFLAGS = -I/usr/include/ncursesw -ncurses_panel_menu_LIBS = -lmenuw -lpanelw +ncurses_LIBS = -lncurses +ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncurses.h\" +ncurses_nconf_CPPFLAGS = +ncurses_panel_menu_LIBS = -lmenu -lpanel oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local program_transform_name = s&^&kconfig-& psdir = ${docdir} qconf_EXTRA_LIBS = -qt4_CFLAGS = -qt4_LIBS = +qt4_CFLAGS = -DQT_SHARED -DQT3_SUPPORT -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSql +qt4_LIBS = -lQt3Support -lQtGui -lQtNetwork -lQtSql -lQtCore root_menu = Configuration sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com diff --git a/kconfig-frontends/utils/.deps/gettext-gettext.Po b/kconfig-frontends/utils/.deps/gettext-gettext.Po index 9abc104..cd0e571 100644 --- a/kconfig-frontends/utils/.deps/gettext-gettext.Po +++ b/kconfig-frontends/utils/.deps/gettext-gettext.Po @@ -5,7 +5,7 @@ gettext-gettext.o: gettext.c /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ @@ -25,11 +25,11 @@ gettext-gettext.o: gettext.c /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/string2.h ../libs/parser/lkc.h \ ../libs/parser/expr.h /usr/include/assert.h /usr/include/stdio.h \ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h ../libs/parser/list.h \ - /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h \ /usr/include/libintl.h /usr/include/locale.h \ /usr/include/x86_64-linux-gnu/bits/locale.h ../libs/parser/lkc_proto.h @@ -49,7 +49,7 @@ gettext-gettext.o: gettext.c /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stddef.h: /usr/include/x86_64-linux-gnu/bits/waitflags.h: @@ -109,7 +109,7 @@ gettext-gettext.o: gettext.c /usr/include/stdlib.h \ /usr/include/wchar.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdarg.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdarg.h: /usr/include/x86_64-linux-gnu/bits/stdio_lim.h: @@ -119,7 +119,7 @@ gettext-gettext.o: gettext.c /usr/include/stdlib.h \ ../libs/parser/list.h: -/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdbool.h: +/usr/lib/gcc/x86_64-linux-gnu/4.4.7/include/stdbool.h: /usr/include/libintl.h: diff --git a/kconfig-frontends/utils/.libs/gettext b/kconfig-frontends/utils/.libs/gettext Binary files differnew file mode 100755 index 0000000..31cb1bb --- /dev/null +++ b/kconfig-frontends/utils/.libs/gettext diff --git a/kconfig-frontends/utils/Makefile b/kconfig-frontends/utils/Makefile index 6922e11..bb8e4e2 100644 --- a/kconfig-frontends/utils/Makefile +++ b/kconfig-frontends/utils/Makefile @@ -149,15 +149,15 @@ am__can_run_installinfo = \ ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 +ACLOCAL = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run aclocal-1.11 AMTAR = $${TAR-tar} AM_DEFAULT_VERBOSITY = 0 AM_LFLAGS = -L -P zconf AM_YFLAGS = -t -l -p zconf AR = ar -AUTOCONF = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf -AUTOHEADER = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader -AUTOMAKE = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 +AUTOCONF = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoconf +AUTOHEADER = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run autoheader +AUTOMAKE = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run automake-1.11 AWK = gawk CC = gcc CCDEPMODE = depmode=gcc3 @@ -187,7 +187,7 @@ INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -KCONFIGPARSER_LIB_VERSION = 3.9.0 +KCONFIGPARSER_LIB_VERSION = LD = /usr/bin/ld -m elf_x86_64 LDFLAGS = LEX = flex @@ -199,10 +199,10 @@ LIBTOOL = $(SHELL) $(top_builddir)/libtool LIPO = LN_S = ln -s LTLIBOBJS = -MAKEINFO = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo +MAKEINFO = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/missing --run makeinfo MANIFEST_TOOL = : MKDIR_P = /bin/mkdir -p -MOC = +MOC = /usr/bin/moc-qt4 NM = /usr/bin/nm -B NMEDIT = OBJDUMP = objdump @@ -212,10 +212,10 @@ OTOOL64 = PACKAGE = kconfig-frontends PACKAGE_BUGREPORT = yann.morin.1998@free.fr PACKAGE_NAME = kconfig-frontends -PACKAGE_STRING = kconfig-frontends 3.9.0.0 +PACKAGE_STRING = kconfig-frontends PACKAGE_TARNAME = kconfig-frontends PACKAGE_URL = -PACKAGE_VERSION = 3.9.0.0 +PACKAGE_VERSION = PATH_SEPARATOR = : PKG_CONFIG = /usr/bin/pkg-config PKG_CONFIG_LIBDIR = @@ -223,16 +223,16 @@ PKG_CONFIG_PATH = RANLIB = ranlib SED = /bin/sed SET_MAKE = -SHELL = /bin/sh +SHELL = /bin/bash SILENT_MAKEFLAGS = --no-print-directory -s STRIP = strip -VERSION = 3.9.0.0 +VERSION = YACC = bison -y YFLAGS = -abs_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/utils -abs_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/utils -abs_top_builddir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends -abs_top_srcdir = /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends +abs_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/utils +abs_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/utils +abs_top_builddir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends +abs_top_srcdir = /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ @@ -258,15 +258,15 @@ dvidir = ${docdir} enable_L10n = yes enable_conf = yes enable_frontends = -enable_gconf = yes +enable_gconf = no enable_mconf = yes enable_nconf = yes -enable_qconf = no +enable_qconf = yes enable_utils = yes exec_prefix = ${prefix} gconf_EXTRA_LIBS = -gtk_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -gtk_LIBS = -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 +gtk_CFLAGS = +gtk_LIBS = host = x86_64-unknown-linux-gnu host_alias = host_cpu = x86_64 @@ -275,7 +275,7 @@ host_vendor = unknown htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /home/epplerc/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh +install_sh = ${SHELL} /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/scripts/.autostuff/scripts/install-sh intl_CPPFLAGS = intl_LIBS = kf_CFLAGS = -Wall @@ -287,18 +287,18 @@ mandir = ${datarootdir}/man mconf_EXTRA_LIBS = mkdir_p = /bin/mkdir -p nconf_EXTRA_LIBS = -ncurses_LIBS = -lncursesw -ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncursesw/curses.h\" -DNCURSES_WIDECHAR=1 -ncurses_nconf_CPPFLAGS = -I/usr/include/ncursesw -ncurses_panel_menu_LIBS = -lmenuw -lpanelw +ncurses_LIBS = -lncurses +ncurses_mconf_CPPFLAGS = -DCURSES_LOC=\"ncurses.h\" +ncurses_nconf_CPPFLAGS = +ncurses_panel_menu_LIBS = -lmenu -lpanel oldincludedir = /usr/include pdfdir = ${docdir} prefix = /usr/local program_transform_name = s&^&kconfig-& psdir = ${docdir} qconf_EXTRA_LIBS = -qt4_CFLAGS = -qt4_LIBS = +qt4_CFLAGS = -DQT_SHARED -DQT3_SUPPORT -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSql +qt4_LIBS = -lQt3Support -lQtGui -lQtNetwork -lQtSql -lQtCore root_menu = Configuration sbindir = ${exec_prefix}/sbin sharedstatedir = ${prefix}/com diff --git a/kconfig-frontends/utils/gettext b/kconfig-frontends/utils/gettext new file mode 100755 index 0000000..ca7862a --- /dev/null +++ b/kconfig-frontends/utils/gettext @@ -0,0 +1,228 @@ +#! /bin/bash + +# gettext - temporary wrapper script for .libs/gettext +# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.2ubuntu1 +# +# The gettext program cannot be directly executed until all the libtool +# libraries that it depends on are installed. +# +# This wrapper script should never be moved out of the build directory. +# If it is, it will not operate correctly. + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +sed_quote_subst='s/\([`"$\\]\)/\\\1/g' + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +relink_command="(cd /home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/utils; { test -z \"\${LIBRARY_PATH+set}\" || unset LIBRARY_PATH || { LIBRARY_PATH=; export LIBRARY_PATH; }; }; { test -z \"\${COMPILER_PATH+set}\" || unset COMPILER_PATH || { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z \"\${GCC_EXEC_PREFIX+set}\" || unset GCC_EXEC_PREFIX || { GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z \"\${LD_RUN_PATH+set}\" || unset LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; { test -z \"\${LD_LIBRARY_PATH+set}\" || unset LD_LIBRARY_PATH || { LD_LIBRARY_PATH=; export LD_LIBRARY_PATH; }; }; PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games; export PATH; gcc -Wall -g -O2 -o \$progdir/\$file gettext-gettext.o ../libs/parser/.libs/libkconfig-parser.so -Wl,-rpath -Wl,/home/silentchris/linutronix/schulungsunterlagen/schulung/kconfig-frontends/libs/parser/.libs)" + +# This environment variable determines our operation mode. +if test "$libtool_install_magic" = "%%%MAGIC variable%%%"; then + # install mode needs the following variables: + generated_by_libtool_version='2.4.2' + notinst_deplibs=' ../libs/parser/libkconfig-parser.la' +else + # When we are sourced in execute mode, $file and $ECHO are already set. + if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then + file="$0" + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' +} + ECHO="printf %s\\n" + fi + +# Very basic option parsing. These options are (a) specific to +# the libtool wrapper, (b) are identical between the wrapper +# /script/ and the wrapper /executable/ which is used only on +# windows platforms, and (c) all begin with the string --lt- +# (application programs are unlikely to have options which match +# this pattern). +# +# There are only two supported options: --lt-debug and +# --lt-dump-script. There is, deliberately, no --lt-help. +# +# The first argument to this parsing function should be the +# script's ../libtool value, followed by no. +lt_option_debug= +func_parse_lt_options () +{ + lt_script_arg0=$0 + shift + for lt_opt + do + case "$lt_opt" in + --lt-debug) lt_option_debug=1 ;; + --lt-dump-script) + lt_dump_D=`$ECHO "X$lt_script_arg0" | /bin/sed -e 's/^X//' -e 's%/[^/]*$%%'` + test "X$lt_dump_D" = "X$lt_script_arg0" && lt_dump_D=. + lt_dump_F=`$ECHO "X$lt_script_arg0" | /bin/sed -e 's/^X//' -e 's%^.*/%%'` + cat "$lt_dump_D/$lt_dump_F" + exit 0 + ;; + --lt-*) + $ECHO "Unrecognized --lt- option: '$lt_opt'" 1>&2 + exit 1 + ;; + esac + done + + # Print the debug banner immediately: + if test -n "$lt_option_debug"; then + echo "gettext:gettext:${LINENO}: libtool wrapper (GNU libtool) 2.4.2 Debian-2.4.2-1.2ubuntu1" 1>&2 + fi +} + +# Used when --lt-debug. Prints its arguments to stdout +# (redirection is the responsibility of the caller) +func_lt_dump_args () +{ + lt_dump_args_N=1; + for lt_arg + do + $ECHO "gettext:gettext:${LINENO}: newargv[$lt_dump_args_N]: $lt_arg" + lt_dump_args_N=`expr $lt_dump_args_N + 1` + done +} + +# Core function for launching the target application +func_exec_program_core () +{ + + if test -n "$lt_option_debug"; then + $ECHO "gettext:gettext:${LINENO}: newargv[0]: $progdir/$program" 1>&2 + func_lt_dump_args ${1+"$@"} 1>&2 + fi + exec "$progdir/$program" ${1+"$@"} + + $ECHO "$0: cannot exec $program $*" 1>&2 + exit 1 +} + +# A function to encapsulate launching the target application +# Strips options in the --lt-* namespace from $@ and +# launches target application with the remaining arguments. +func_exec_program () +{ + case " $* " in + *\ --lt-*) + for lt_wr_arg + do + case $lt_wr_arg in + --lt-*) ;; + *) set x "$@" "$lt_wr_arg"; shift;; + esac + shift + done ;; + esac + func_exec_program_core ${1+"$@"} +} + + # Parse options + func_parse_lt_options "$0" ${1+"$@"} + + # Find the directory that this script lives in. + thisdir=`$ECHO "$file" | /bin/sed 's%/[^/]*$%%'` + test "x$thisdir" = "x$file" && thisdir=. + + # Follow symbolic links until we get to the real thisdir. + file=`ls -ld "$file" | /bin/sed -n 's/.*-> //p'` + while test -n "$file"; do + destdir=`$ECHO "$file" | /bin/sed 's%/[^/]*$%%'` + + # If there was a directory component, then change thisdir. + if test "x$destdir" != "x$file"; then + case "$destdir" in + [\\/]* | [A-Za-z]:[\\/]*) thisdir="$destdir" ;; + *) thisdir="$thisdir/$destdir" ;; + esac + fi + + file=`$ECHO "$file" | /bin/sed 's%^.*/%%'` + file=`ls -ld "$thisdir/$file" | /bin/sed -n 's/.*-> //p'` + done + + # Usually 'no', except on cygwin/mingw when embedded into + # the cwrapper. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=no + if test "$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR" = "yes"; then + # special case for '.' + if test "$thisdir" = "."; then + thisdir=`pwd` + fi + # remove .libs from thisdir + case "$thisdir" in + *[\\/].libs ) thisdir=`$ECHO "$thisdir" | /bin/sed 's%[\\/][^\\/]*$%%'` ;; + .libs ) thisdir=. ;; + esac + fi + + # Try to get the absolute directory name. + absdir=`cd "$thisdir" && pwd` + test -n "$absdir" && thisdir="$absdir" + + program=lt-'gettext' + progdir="$thisdir/.libs" + + if test ! -f "$progdir/$program" || + { file=`ls -1dt "$progdir/$program" "$progdir/../$program" 2>/dev/null | /bin/sed 1q`; \ + test "X$file" != "X$progdir/$program"; }; then + + file="$$-$program" + + if test ! -d "$progdir"; then + mkdir "$progdir" + else + rm -f "$progdir/$file" + fi + + # relink executable if necessary + if test -n "$relink_command"; then + if relink_command_output=`eval $relink_command 2>&1`; then : + else + printf %s\n "$relink_command_output" >&2 + rm -f "$progdir/$file" + exit 1 + fi + fi + + mv -f "$progdir/$file" "$progdir/$program" 2>/dev/null || + { rm -f "$progdir/$program"; + mv -f "$progdir/$file" "$progdir/$program"; } + rm -f "$progdir/$file" + fi + + if test -f "$progdir/$program"; then + if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then + # Run the actual program with our arguments. + func_exec_program ${1+"$@"} + fi + else + # The program doesn't exist. + $ECHO "$0: error: \`$progdir/$program' does not exist" 1>&2 + $ECHO "This script is just a wrapper for $program." 1>&2 + $ECHO "See the libtool documentation for more information." 1>&2 + exit 1 + fi +fi diff --git a/kconfig-frontends/utils/tweak b/kconfig-frontends/utils/tweak new file mode 100755 index 0000000..bb4d3de --- /dev/null +++ b/kconfig-frontends/utils/tweak @@ -0,0 +1,186 @@ +#!/bin/bash +# Manipulate options in a .config file from the command line + +# If no prefix forced, use the default CONFIG_ +CONFIG_="${CONFIG_-CONFIG_}" + +usage() { + cat >&2 <<EOL +Manipulate options in a .config file from the command line. +Usage: +config options command ... +commands: + --enable|-e option Enable option + --disable|-d option Disable option + --module|-m option Turn option into a module + --set-str option string + Set option to "string" + --set-val option value + Set option to value + --undefine|-u option Undefine option + --state|-s option Print state of option (n,y,m,undef) + + --enable-after|-E beforeopt option + Enable option directly after other option + --disable-after|-D beforeopt option + Disable option directly after other option + --module-after|-M beforeopt option + Turn option into module directly after other option + + commands can be repeated multiple times + +options: + --file config-file .config file to change (default .config) + --keep-case|-k Keep next symbols' case (dont' upper-case it) + +config doesn't check the validity of the .config file. This is done at next +make time. + +By default, config will upper-case the given symbol. Use --keep-case to keep +the case of all following symbols unchanged. + +config uses 'CONFIG_' as the default symbol prefix. Set the environment +variable CONFIG_ to the prefix to use. Eg.: CONFIG_="FOO_" config ... +EOL + exit 1 +} + +checkarg() { + ARG="$1" + if [ "$ARG" = "" ] ; then + usage + fi + case "$ARG" in + ${CONFIG_}*) + ARG="${ARG/${CONFIG_}/}" + ;; + esac + if [ "$MUNGE_CASE" = "yes" ] ; then + ARG="`echo $ARG | tr a-z A-Z`" + fi +} + +set_var() { + local name=$1 new=$2 before=$3 + + name_re="^($name=|# $name is not set)" + before_re="^($before=|# $before is not set)" + if test -n "$before" && grep -Eq "$before_re" "$FN"; then + sed -ri "/$before_re/a $new" "$FN" + elif grep -Eq "$name_re" "$FN"; then + sed -ri "s:$name_re.*:$new:" "$FN" + else + echo "$new" >>"$FN" + fi +} + +undef_var() { + local name=$1 + + sed -ri "/^($name=|# $name is not set)/d" "$FN" +} + +if [ "$1" = "--file" ]; then + FN="$2" + if [ "$FN" = "" ] ; then + usage + fi + shift 2 +else + FN=.config +fi + +if [ "$1" = "" ] ; then + usage +fi + +MUNGE_CASE=yes +while [ "$1" != "" ] ; do + CMD="$1" + shift + case "$CMD" in + --keep-case|-k) + MUNGE_CASE=no + continue + ;; + --refresh) + ;; + --*-after) + checkarg "$1" + A=$ARG + checkarg "$2" + B=$ARG + shift 2 + ;; + -*) + checkarg "$1" + shift + ;; + esac + case "$CMD" in + --enable|-e) + set_var "${CONFIG_}$ARG" "${CONFIG_}$ARG=y" + ;; + + --disable|-d) + set_var "${CONFIG_}$ARG" "# ${CONFIG_}$ARG is not set" + ;; + + --module|-m) + set_var "${CONFIG_}$ARG" "${CONFIG_}$ARG=m" + ;; + + --set-str) + # sed swallows one level of escaping, so we need double-escaping + set_var "${CONFIG_}$ARG" "${CONFIG_}$ARG=\"${1//\"/\\\\\"}\"" + shift + ;; + + --set-val) + set_var "${CONFIG_}$ARG" "${CONFIG_}$ARG=$1" + shift + ;; + --undefine|-u) + undef_var "${CONFIG_}$ARG" + ;; + + --state|-s) + if grep -q "# ${CONFIG_}$ARG is not set" $FN ; then + echo n + else + V="$(grep "^${CONFIG_}$ARG=" $FN)" + if [ $? != 0 ] ; then + echo undef + else + V="${V/#${CONFIG_}$ARG=/}" + V="${V/#\"/}" + V="${V/%\"/}" + V="${V//\\\"/\"}" + echo "${V}" + fi + fi + ;; + + --enable-after|-E) + set_var "${CONFIG_}$B" "${CONFIG_}$B=y" "${CONFIG_}$A" + ;; + + --disable-after|-D) + set_var "${CONFIG_}$B" "# ${CONFIG_}$B is not set" "${CONFIG_}$A" + ;; + + --module-after|-M) + set_var "${CONFIG_}$B" "${CONFIG_}$B=m" "${CONFIG_}$A" + ;; + + # undocumented because it ignores --file (fixme) + --refresh) + yes "" | make oldconfig + ;; + + *) + usage + ;; + esac +done + @@ -30,5 +30,13 @@ clean: rm -f *.out rm -f *.vrb +build_master_pres: +ifneq ($(filter-out pres_%,$(obj-y)), ) + `echo "\input{$(CURDIR)/../section.tex}" >> ${TOP_DIR}/$(MASTER_PRES)` + for files in $(subst .pdf,.tex,$(filter-out pres_%,$(obj-y))) ; do \ + `echo "\input{$(CURDIR)/$$files}" >> ${TOP_DIR}/$(MASTER_PRES)` ;\ + done +endif + .PHONY: clean diff --git a/tmp_master_pres.tex b/tmp_master_pres.tex new file mode 100644 index 0000000..511214f --- /dev/null +++ b/tmp_master_pres.tex @@ -0,0 +1,4 @@ +\input{configmasterpres} +\input{/hd/linutronix/schulungsunterlagen/schulung/basics/cpu-arch/../section.tex} +\input{/hd/linutronix/schulungsunterlagen/schulung/basics/cpu-arch/hints_cpu-arch_de.tex} +\input{tailmasterpres} diff --git a/tmp_pres_master.iex b/tmp_pres_master.iex new file mode 100644 index 0000000..a824f6a --- /dev/null +++ b/tmp_pres_master.iex @@ -0,0 +1 @@ +\input{configmasterpres} diff --git a/tmp_pres_master.tex b/tmp_pres_master.tex new file mode 100644 index 0000000..2ce4f30 --- /dev/null +++ b/tmp_pres_master.tex @@ -0,0 +1,2 @@ +\input{configmasterpres} +\input{tailmasterpres} |
