summaryrefslogtreecommitdiffstats
path: root/input-methods
diff options
context:
space:
mode:
authorSanthosh Thottingal <santhosh00@gmail.com>2007-11-14 21:11:11 -0500
committerSanthosh Thottingal <santhosh00@gmail.com>2007-11-14 21:11:11 -0500
commit490b1cc08a713e3a9b671b0f865434fdc827b71b (patch)
tree2c9977f06649f402ca556de9bf87a9bfe3019371 /input-methods
parent2bb630f78599177dc86a0c1f03c4fcdeb76b36a4 (diff)
downloadAnjaliOldLipi.git-490b1cc08a713e3a9b671b0f865434fdc827b71b.tar.gz
AnjaliOldLipi.git-490b1cc08a713e3a9b671b0f865434fdc827b71b.tar.xz
AnjaliOldLipi.git-490b1cc08a713e3a9b671b0f865434fdc827b71b.zip
Committing another version after UI and algorithm fixes
Diffstat (limited to 'input-methods')
-rw-r--r--input-methods/sulekha/AUTHORS3
-rw-r--r--input-methods/sulekha/BUILD1
-rw-r--r--input-methods/sulekha/HACK2
-rw-r--r--input-methods/sulekha/Makefile354
-rwxr-xr-x[-rw-r--r--]input-methods/sulekha/Makefile.am14
-rw-r--r--input-methods/sulekha/Makefile.in330
-rw-r--r--input-methods/sulekha/Transliteration.c772
-rw-r--r--input-methods/sulekha/Transliteration.h32
-rw-r--r--input-methods/sulekha/Transliteration.obin11928 -> 0 bytes
-rw-r--r--input-methods/sulekha/autom4te.cache/output.22632
-rw-r--r--input-methods/sulekha/autom4te.cache/output.32632
-rw-r--r--input-methods/sulekha/autom4te.cache/requests257
-rw-r--r--input-methods/sulekha/autom4te.cache/traces.2785
-rw-r--r--input-methods/sulekha/autom4te.cache/traces.3369
-rw-r--r--input-methods/sulekha/config.log534
-rwxr-xr-xinput-methods/sulekha/config.status143
-rwxr-xr-xinput-methods/sulekha/configure2630
-rw-r--r--[-rwxr-xr-x]input-methods/sulekha/configure.ac96
-rw-r--r--input-methods/sulekha/googliterate.c83
-rw-r--r--input-methods/sulekha/src/Makefile4
-rw-r--r--input-methods/sulekha/src/Makefile.am4
-rw-r--r--input-methods/sulekha/src/Makefile.am~2
-rw-r--r--input-methods/sulekha/src/Makefile.in4
-rw-r--r--input-methods/sulekha/src/sulekha.c285
-rw-r--r--input-methods/sulekha/src/sulekha.c~284
-rw-r--r--input-methods/sulekha/src/sulekhaspell.c256
-rw-r--r--input-methods/sulekha/src/sulekhaspell.c~361
-rw-r--r--input-methods/sulekha/src/trans.c231
-rw-r--r--input-methods/sulekha/src/trans.c~8
-rw-r--r--input-methods/sulekha/src/transliteration.c8
-rw-r--r--input-methods/sulekha/src/transliteration.c~8
-rw-r--r--input-methods/sulekha/sugg.txt1
-rw-r--r--input-methods/sulekha/suggestions.c71
-rw-r--r--input-methods/sulekha/suggestions.h0
-rw-r--r--input-methods/sulekha/suggestions.obin6780 -> 0 bytes
-rw-r--r--input-methods/sulekha/sulekha.c129
-rw-r--r--input-methods/sulekha/trans.c231
-rw-r--r--input-methods/sulekha/transliteration.c383
-rw-r--r--input-methods/sulekha/transliteration.h31
-rw-r--r--input-methods/sulekha/trial.tar.gzbin6899 -> 0 bytes
40 files changed, 9793 insertions, 4177 deletions
diff --git a/input-methods/sulekha/AUTHORS b/input-methods/sulekha/AUTHORS
index e69de29..2373660 100644
--- a/input-methods/sulekha/AUTHORS
+++ b/input-methods/sulekha/AUTHORS
@@ -0,0 +1,3 @@
+1. Santhosh Thottingal <santhosh00@gmail.com>
+2. Praveen Arimprathodiyil <pravi.a@gmail.com>
+Swathanthra Malayalam Computing http://smc.org.in \ No newline at end of file
diff --git a/input-methods/sulekha/BUILD b/input-methods/sulekha/BUILD
deleted file mode 100644
index b887178..0000000
--- a/input-methods/sulekha/BUILD
+++ /dev/null
@@ -1 +0,0 @@
-gcc -Wall -g lipimatoo.c -o lipimatoo `gtk-config --cflags` `gtk-config --libs`
diff --git a/input-methods/sulekha/HACK b/input-methods/sulekha/HACK
deleted file mode 100644
index 993d43f..0000000
--- a/input-methods/sulekha/HACK
+++ /dev/null
@@ -1,2 +0,0 @@
-
-* fix unicode rendering issue
diff --git a/input-methods/sulekha/Makefile b/input-methods/sulekha/Makefile
index 11bed24..684854e 100644
--- a/input-methods/sulekha/Makefile
+++ b/input-methods/sulekha/Makefile
@@ -14,10 +14,9 @@
-
-pkgdatadir = $(datadir)/Spell
-pkglibdir = $(libdir)/Spell
-pkgincludedir = $(includedir)/Spell
+pkgdatadir = $(datadir)/sulekha
+pkglibdir = $(libdir)/sulekha
+pkgincludedir = $(includedir)/sulekha
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
@@ -30,11 +29,11 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-bin_PROGRAMS = sulekha$(EXEEXT)
subdir = .
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
- ChangeLog INSTALL NEWS depcomp install-sh missing
+ $(srcdir)/Makefile.in $(srcdir)/config.h.in \
+ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
+ config.guess config.sub depcomp install-sh missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
@@ -42,26 +41,22 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
-am__installdirs = "$(DESTDIR)$(bindir)"
-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
-PROGRAMS = $(bin_PROGRAMS)
-am_sulekha_OBJECTS = suggestions.$(OBJEXT) Transliteration.$(OBJEXT) \
- sulekha.$(OBJEXT)
-sulekha_OBJECTS = $(am_sulekha_OBJECTS)
-am__DEPENDENCIES_1 =
-sulekha_DEPENDENCIES = $(am__DEPENDENCIES_1)
-DEFAULT_INCLUDES = -I.
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-SOURCES = $(sulekha_SOURCES)
-DIST_SOURCES = $(sulekha_SOURCES)
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+ html-recursive info-recursive install-data-recursive \
+ install-dvi-recursive install-exec-recursive \
+ install-html-recursive install-info-recursive \
+ install-pdf-recursive install-ps-recursive install-recursive \
+ installcheck-recursive installdirs-recursive pdf-recursive \
+ ps-recursive uninstall-recursive
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
ETAGS = etags
CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
@@ -79,18 +74,22 @@ AUTOCONF = ${SHELL} /home/santhosh/dev/sulekha/missing --run autoconf
AUTOHEADER = ${SHELL} /home/santhosh/dev/sulekha/missing --run autoheader
AUTOMAKE = ${SHELL} /home/santhosh/dev/sulekha/missing --run automake-1.10
AWK = gawk
-BASH = /bin/sh
CC = gcc
CCDEPMODE = depmode=gcc3
-CFLAGS = -g -O -Wall
+CFLAGS = -g -O2
+CPP = gcc -E
CPPFLAGS =
CYGPATH_W = echo
-DEFS = -DPACKAGE_NAME=\"Spell\" -DPACKAGE_TARNAME=\"Spell\" -DPACKAGE_VERSION=\"0.8\" -DPACKAGE_STRING=\"Spell\ 0.8\" -DPACKAGE_BUGREPORT=\"santhosh\" -DPACKAGE=\"Spell\" -DVERSION=\"0.8\"
+DEBUG = 1
+DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
ECHO_C =
ECHO_N = -n
ECHO_T =
+EGREP = /bin/grep -E
EXEEXT =
+GREP = /bin/grep
+HTML_DIR = ${datadir}/gtk-doc/html
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
@@ -103,20 +102,24 @@ LTLIBOBJS =
MAKEINFO = ${SHELL} /home/santhosh/dev/sulekha/missing --run makeinfo
MKDIR_P = /bin/mkdir -p
OBJEXT = o
-PACKAGE = Spell
-PACKAGE_BUGREPORT = santhosh
-PACKAGE_NAME = Spell
-PACKAGE_STRING = Spell 0.8
-PACKAGE_TARNAME = Spell
-PACKAGE_VERSION = 0.8
+PACKAGE = sulekha
+PACKAGE_BUGREPORT = santhosh00@gmail.com
+PACKAGE_NAME = sulekha
+PACKAGE_STRING = sulekha 0.0.11
+PACKAGE_TARNAME = sulekha
+PACKAGE_VERSION = 0.0.11
+PANGO_CFLAGS = -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+PANGO_LIBS = -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
PATH_SEPARATOR = :
PKG_CONFIG = /usr/bin/pkg-config
SET_MAKE =
SHELL = /bin/sh
+SPELLER_LIB = -laspell
STRIP =
SULEKHA_CFLAGS = -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12
SULEKHA_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
-VERSION = 0.8
+SULEKHA_PACKAGES = gtk+-2.0
+VERSION = 0.0.11
abs_builddir = /home/santhosh/dev/sulekha
abs_srcdir = /home/santhosh/dev/sulekha
abs_top_builddir = /home/santhosh/dev/sulekha
@@ -158,21 +161,11 @@ sysconfdir = ${prefix}/etc
target_alias =
top_builddir = .
top_srcdir = .
-sulekha_INCLUDES = -I/. ${SULEKHA_LIBS}
-sulekha_LDADD = -laspell ${SULEKHA_CFLAGS}
-sulekha_DESTDIR = ../bin/
-sulekha_TARGET = ../bin/sulekha
-sulekha_SOURCES = \
- suggestions.c \
- suggestions.h \
- Transliteration.c \
- Transliteration.h \
- sulekha.c
-
-all: all-am
+SUBDIRS = src
+all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
.SUFFIXES:
-.SUFFIXES: .c .o .obj
am--refresh:
@:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@@ -206,56 +199,93 @@ $(top_srcdir)/configure: $(am__configure_deps)
cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
-install-binPROGRAMS: $(bin_PROGRAMS)
- @$(NORMAL_INSTALL)
- test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
- @list='$(bin_PROGRAMS)'; for p in $$list; do \
- p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
- if test -f $$p \
- ; then \
- f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
- echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
- $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
- else :; fi; \
- done
-uninstall-binPROGRAMS:
- @$(NORMAL_UNINSTALL)
- @list='$(bin_PROGRAMS)'; for p in $$list; do \
- f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
- echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
- rm -f "$(DESTDIR)$(bindir)/$$f"; \
+config.h: stamp-h1
+ @if test ! -f $@; then \
+ rm -f stamp-h1; \
+ $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
+ else :; fi
+
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
+ @rm -f stamp-h1
+ cd $(top_builddir) && $(SHELL) ./config.status config.h
+$(srcdir)/config.h.in: $(am__configure_deps)
+ cd $(top_srcdir) && $(AUTOHEADER)
+ rm -f stamp-h1
+ touch $@
+
+distclean-hdr:
+ -rm -f config.h stamp-h1
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+# (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+$(RECURSIVE_TARGETS):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+$(RECURSIVE_CLEAN_TARGETS):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ rev=''; for subdir in $$list; do \
+ if test "$$subdir" = "."; then :; else \
+ rev="$$subdir $$rev"; \
+ fi; \
+ done; \
+ rev="$$rev ."; \
+ target=`echo $@ | sed s/-recursive//`; \
+ for subdir in $$rev; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+ctags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
done
-
-clean-binPROGRAMS:
- -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
-sulekha$(EXEEXT): $(sulekha_OBJECTS) $(sulekha_DEPENDENCIES)
- @rm -f sulekha$(EXEEXT)
- $(LINK) $(sulekha_OBJECTS) $(sulekha_LDADD) $(LIBS)
-
-mostlyclean-compile:
- -rm -f *.$(OBJEXT)
-
-distclean-compile:
- -rm -f *.tab.c
-
-include ./$(DEPDIR)/Transliteration.Po
-include ./$(DEPDIR)/suggestions.Po
-include ./$(DEPDIR)/sulekha.Po
-
-.c.o:
- $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-# source='$<' object='$@' libtool=no \
-# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
-# $(COMPILE) -c $<
-
-.c.obj:
- $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
- mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-# source='$<' object='$@' libtool=no \
-# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
-# $(COMPILE) -c `$(CYGPATH_W) '$<'`
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
@@ -267,11 +297,24 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
mkid -fID $$unique
tags: TAGS
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
@@ -283,11 +326,11 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$$tags $$unique; \
fi
ctags: CTAGS
-CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
@@ -333,6 +376,23 @@ distdir: $(DISTFILES)
|| exit 1; \
fi; \
done
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ distdir=`$(am__cd) $(distdir) && pwd`; \
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
+ (cd $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$top_distdir" \
+ distdir="$$distdir/$$subdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
@@ -431,21 +491,19 @@ distcleancheck: distclean
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
-check: check-am
-all-am: Makefile $(PROGRAMS)
-installdirs:
- for dir in "$(DESTDIR)$(bindir)"; do \
- test -z "$$dir" || $(MKDIR_P) "$$dir"; \
- done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
+check: check-recursive
+all-am: Makefile config.h
+installdirs: installdirs-recursive
+installdirs-am:
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-installcheck: installcheck-am
+installcheck: installcheck-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
@@ -461,82 +519,80 @@ distclean-generic:
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
+clean: clean-recursive
-clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
+clean-am: clean-generic mostlyclean-am
-distclean: distclean-am
+distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -rf ./$(DEPDIR)
-rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
- distclean-tags
+distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
-dvi: dvi-am
+dvi: dvi-recursive
dvi-am:
-html: html-am
+html: html-recursive
-info: info-am
+info: info-recursive
info-am:
install-data-am:
-install-dvi: install-dvi-am
+install-dvi: install-dvi-recursive
-install-exec-am: install-binPROGRAMS
+install-exec-am:
-install-html: install-html-am
+install-html: install-html-recursive
-install-info: install-info-am
+install-info: install-info-recursive
install-man:
-install-pdf: install-pdf-am
+install-pdf: install-pdf-recursive
-install-ps: install-ps-am
+install-ps: install-ps-recursive
installcheck-am:
-maintainer-clean: maintainer-clean-am
+maintainer-clean: maintainer-clean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
- -rm -rf ./$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
-mostlyclean: mostlyclean-am
+mostlyclean: mostlyclean-recursive
-mostlyclean-am: mostlyclean-compile mostlyclean-generic
+mostlyclean-am: mostlyclean-generic
-pdf: pdf-am
+pdf: pdf-recursive
pdf-am:
-ps: ps-am
+ps: ps-recursive
ps-am:
-uninstall-am: uninstall-binPROGRAMS
-
-.MAKE: install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
- clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \
- dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \
- distclean-compile distclean-generic distclean-tags \
- distcleancheck distdir distuninstallcheck dvi dvi-am html \
- html-am info info-am install install-am install-binPROGRAMS \
- install-data install-data-am install-dvi install-dvi-am \
- install-exec install-exec-am install-html install-html-am \
- install-info install-info-am install-man install-pdf \
- install-pdf-am install-ps install-ps-am install-strip \
- installcheck installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-compile \
- mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
- uninstall-am uninstall-binPROGRAMS
+uninstall-am:
+
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
+ install-strip
+
+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
+ all all-am am--refresh check check-am clean clean-generic \
+ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
+ dist-shar dist-tarZ dist-zip distcheck distclean \
+ distclean-generic distclean-hdr distclean-tags distcleancheck \
+ distdir distuninstallcheck dvi dvi-am html html-am info \
+ info-am install install-am install-data install-data-am \
+ install-dvi install-dvi-am install-exec install-exec-am \
+ install-html install-html-am install-info install-info-am \
+ install-man install-pdf install-pdf-am install-ps \
+ install-ps-am install-strip installcheck installcheck-am \
+ installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
+ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/input-methods/sulekha/Makefile.am b/input-methods/sulekha/Makefile.am
index 1cb5e09..e24c23b 100644..100755
--- a/input-methods/sulekha/Makefile.am
+++ b/input-methods/sulekha/Makefile.am
@@ -1,12 +1,2 @@
-bin_PROGRAMS = sulekha
-sulekha_INCLUDES = -I/. ${SULEKHA_LIBS}
-sulekha_LDADD = -laspell ${SULEKHA_CFLAGS}
-sulekha_DESTDIR = ../bin/
-sulekha_TARGET = ../bin/sulekha
-sulekha_SOURCES = \
- suggestions.c \
- suggestions.h \
- Transliteration.c \
- Transliteration.h \
- sulekha.c
-
+SUBDIRS=src
+
diff --git a/input-methods/sulekha/Makefile.in b/input-methods/sulekha/Makefile.in
index 3b8c8ab..e8d7977 100644
--- a/input-methods/sulekha/Makefile.in
+++ b/input-methods/sulekha/Makefile.in
@@ -13,7 +13,6 @@
# PARTICULAR PURPOSE.
@SET_MAKE@
-
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
@@ -30,11 +29,11 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-bin_PROGRAMS = sulekha$(EXEEXT)
subdir = .
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
- ChangeLog INSTALL NEWS depcomp install-sh missing
+ $(srcdir)/Makefile.in $(srcdir)/config.h.in \
+ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
+ config.guess config.sub depcomp install-sh missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
@@ -42,26 +41,22 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
-am__installdirs = "$(DESTDIR)$(bindir)"
-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
-PROGRAMS = $(bin_PROGRAMS)
-am_sulekha_OBJECTS = suggestions.$(OBJEXT) Transliteration.$(OBJEXT) \
- sulekha.$(OBJEXT)
-sulekha_OBJECTS = $(am_sulekha_OBJECTS)
-am__DEPENDENCIES_1 =
-sulekha_DEPENDENCIES = $(am__DEPENDENCIES_1)
-DEFAULT_INCLUDES = -I.@am__isrc@
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-SOURCES = $(sulekha_SOURCES)
-DIST_SOURCES = $(sulekha_SOURCES)
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+ html-recursive info-recursive install-data-recursive \
+ install-dvi-recursive install-exec-recursive \
+ install-html-recursive install-info-recursive \
+ install-pdf-recursive install-ps-recursive install-recursive \
+ installcheck-recursive installdirs-recursive pdf-recursive \
+ ps-recursive uninstall-recursive
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
ETAGS = etags
CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
@@ -79,18 +74,22 @@ AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
-BASH = @BASH@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
+CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
+DEBUG = @DEBUG@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
+EGREP = @EGREP@
EXEEXT = @EXEEXT@
+GREP = @GREP@
+HTML_DIR = @HTML_DIR@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
@@ -109,13 +108,17 @@ PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
+PANGO_CFLAGS = @PANGO_CFLAGS@
+PANGO_LIBS = @PANGO_LIBS@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
+SPELLER_LIB = @SPELLER_LIB@
STRIP = @STRIP@
SULEKHA_CFLAGS = @SULEKHA_CFLAGS@
SULEKHA_LIBS = @SULEKHA_LIBS@
+SULEKHA_PACKAGES = @SULEKHA_PACKAGES@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
@@ -158,21 +161,11 @@ sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-sulekha_INCLUDES = -I/. ${SULEKHA_LIBS}
-sulekha_LDADD = -laspell ${SULEKHA_CFLAGS}
-sulekha_DESTDIR = ../bin/
-sulekha_TARGET = ../bin/sulekha
-sulekha_SOURCES = \
- suggestions.c \
- suggestions.h \
- Transliteration.c \
- Transliteration.h \
- sulekha.c
-
-all: all-am
+SUBDIRS = src
+all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
.SUFFIXES:
-.SUFFIXES: .c .o .obj
am--refresh:
@:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@@ -206,56 +199,93 @@ $(top_srcdir)/configure: $(am__configure_deps)
cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
-install-binPROGRAMS: $(bin_PROGRAMS)
- @$(NORMAL_INSTALL)
- test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
- @list='$(bin_PROGRAMS)'; for p in $$list; do \
- p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
- if test -f $$p \
- ; then \
- f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
- echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
- $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
- else :; fi; \
- done
-uninstall-binPROGRAMS:
- @$(NORMAL_UNINSTALL)
- @list='$(bin_PROGRAMS)'; for p in $$list; do \
- f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
- echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
- rm -f "$(DESTDIR)$(bindir)/$$f"; \
+config.h: stamp-h1
+ @if test ! -f $@; then \
+ rm -f stamp-h1; \
+ $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
+ else :; fi
+
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
+ @rm -f stamp-h1
+ cd $(top_builddir) && $(SHELL) ./config.status config.h
+$(srcdir)/config.h.in: $(am__configure_deps)
+ cd $(top_srcdir) && $(AUTOHEADER)
+ rm -f stamp-h1
+ touch $@
+
+distclean-hdr:
+ -rm -f config.h stamp-h1
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+# (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+$(RECURSIVE_TARGETS):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+$(RECURSIVE_CLEAN_TARGETS):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ rev=''; for subdir in $$list; do \
+ if test "$$subdir" = "."; then :; else \
+ rev="$$subdir $$rev"; \
+ fi; \
+ done; \
+ rev="$$rev ."; \
+ target=`echo $@ | sed s/-recursive//`; \
+ for subdir in $$rev; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+ctags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
done
-
-clean-binPROGRAMS:
- -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
-sulekha$(EXEEXT): $(sulekha_OBJECTS) $(sulekha_DEPENDENCIES)
- @rm -f sulekha$(EXEEXT)
- $(LINK) $(sulekha_OBJECTS) $(sulekha_LDADD) $(LIBS)
-
-mostlyclean-compile:
- -rm -f *.$(OBJEXT)
-
-distclean-compile:
- -rm -f *.tab.c
-
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Transliteration.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/suggestions.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sulekha.Po@am__quote@
-
-.c.o:
-@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(COMPILE) -c $<
-
-.c.obj:
-@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
@@ -267,11 +297,24 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
mkid -fID $$unique
tags: TAGS
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
@@ -283,11 +326,11 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$$tags $$unique; \
fi
ctags: CTAGS
-CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
@@ -333,6 +376,23 @@ distdir: $(DISTFILES)
|| exit 1; \
fi; \
done
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ distdir=`$(am__cd) $(distdir) && pwd`; \
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
+ (cd $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$top_distdir" \
+ distdir="$$distdir/$$subdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
@@ -431,21 +491,19 @@ distcleancheck: distclean
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
-check: check-am
-all-am: Makefile $(PROGRAMS)
-installdirs:
- for dir in "$(DESTDIR)$(bindir)"; do \
- test -z "$$dir" || $(MKDIR_P) "$$dir"; \
- done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
+check: check-recursive
+all-am: Makefile config.h
+installdirs: installdirs-recursive
+installdirs-am:
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-installcheck: installcheck-am
+installcheck: installcheck-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
@@ -461,82 +519,80 @@ distclean-generic:
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
+clean: clean-recursive
-clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
+clean-am: clean-generic mostlyclean-am
-distclean: distclean-am
+distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -rf ./$(DEPDIR)
-rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
- distclean-tags
+distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
-dvi: dvi-am
+dvi: dvi-recursive
dvi-am:
-html: html-am
+html: html-recursive
-info: info-am
+info: info-recursive
info-am:
install-data-am:
-install-dvi: install-dvi-am
+install-dvi: install-dvi-recursive
-install-exec-am: install-binPROGRAMS
+install-exec-am:
-install-html: install-html-am
+install-html: install-html-recursive
-install-info: install-info-am
+install-info: install-info-recursive
install-man:
-install-pdf: install-pdf-am
+install-pdf: install-pdf-recursive
-install-ps: install-ps-am
+install-ps: install-ps-recursive
installcheck-am:
-maintainer-clean: maintainer-clean-am
+maintainer-clean: maintainer-clean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
- -rm -rf ./$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
-mostlyclean: mostlyclean-am
+mostlyclean: mostlyclean-recursive
-mostlyclean-am: mostlyclean-compile mostlyclean-generic
+mostlyclean-am: mostlyclean-generic
-pdf: pdf-am
+pdf: pdf-recursive
pdf-am:
-ps: ps-am
+ps: ps-recursive
ps-am:
-uninstall-am: uninstall-binPROGRAMS
-
-.MAKE: install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
- clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \
- dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \
- distclean-compile distclean-generic distclean-tags \
- distcleancheck distdir distuninstallcheck dvi dvi-am html \
- html-am info info-am install install-am install-binPROGRAMS \
- install-data install-data-am install-dvi install-dvi-am \
- install-exec install-exec-am install-html install-html-am \
- install-info install-info-am install-man install-pdf \
- install-pdf-am install-ps install-ps-am install-strip \
- installcheck installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-compile \
- mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
- uninstall-am uninstall-binPROGRAMS
+uninstall-am:
+
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
+ install-strip
+
+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
+ all all-am am--refresh check check-am clean clean-generic \
+ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
+ dist-shar dist-tarZ dist-zip distcheck distclean \
+ distclean-generic distclean-hdr distclean-tags distcleancheck \
+ distdir distuninstallcheck dvi dvi-am html html-am info \
+ info-am install install-am install-data install-data-am \
+ install-dvi install-dvi-am install-exec install-exec-am \
+ install-html install-html-am install-info install-info-am \
+ install-man install-pdf install-pdf-am install-ps \
+ install-ps-am install-strip installcheck installcheck-am \
+ installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
+ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/input-methods/sulekha/Transliteration.c b/input-methods/sulekha/Transliteration.c
deleted file mode 100644
index b653daa..0000000
--- a/input-methods/sulekha/Transliteration.c
+++ /dev/null
@@ -1,772 +0,0 @@
-/* Transliteration.c
- *
- * Copyright (C) 2007-2008
- * Santhosh Thottingal<santhosh00@gmail.com>,
- * Swathanthra Malayalam Computing.
- *
- * 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 2 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, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-
-#include<stdio.h>
-#include<string.h>
-
-#include<stdlib.h>
-#include "Transliteration.h"
-/*
-Transliterate the a dhvani phonetic string to malayalam.
-Algorithm:
-1)For all vowels, if it is at the 0th position print as it is
-2)If the vowel is in between/end of the string print the sign of the vowel except for A
-3)For all consonants print the malayalam character
-4)If a phonetic character is not identified print '?'
-5)Octal C escaped strings are used for printing the Unicode Malayalam string
-*/
-
-main1 (int argc, const char *argv[])
-{
- const char *word;
- const char *transliterated_word;
- int word_length = 0;
- if (argc == 1)
- {
- printf ("Usage: %s word\n", argv[0]);
- exit (0);
- }
- word = argv[1];
- transliterated_word = transliterate_ml (word, 0, strlen (word));
-// printf ("%s\n",word);
- printf ("%s\n", transliterated_word);
- return 0;
-}
-
-char *
-transliterate_ml (gchar *phonetic_string, int start, int end)
-{
- char *ml_string=NULL;
- int length = 0;
- int i = start;
- length = end - start;
- ml_string = (char *) malloc (length * 4 * sizeof (char));
- ml_string[0]='\0';
- while (i < end)
- {
-
- switch (phonetic_string[i])
- {
- //Vowels
- case 'a':
- if (i == 0) //first letter, use swaram as such
- { // as in amaram
-
- if (i < end && phonetic_string[i + 1] == 'a')
- { // as in aana
- strcat (ml_string, "\340\264\206"); //aa letter
- i++;
- }
- else if (i < end && phonetic_string[i + 1] == 'i')
- { // as in airaavatham
- strcat (ml_string, "\340\264\202"); //ai letter
- i++;
- }
- else if (i < end && phonetic_string[i + 1] == 'u')
- { // as in airaavatham
- strcat (ml_string, "\340\264\224"); //au aushadham
- i++;
- }
- else
- {
- strcat (ml_string, "\340\264\205"); //a letter
- }
- }
- else
- { //swara chihnam
- if (i < end && phonetic_string[i + 1] == 'a') //aa sign
- { // as in kaazhcha
- strcat (ml_string, "\340\264\276");
- i++;
- }
- else if (i < end && phonetic_string[i + 1] == 'i')
- { // as in kaitha
- strcat (ml_string, "\340\265\210"); //ai sign
- i++;
- }
- else if (i < end && phonetic_string[i + 1] == 'u')
- { // as in kauravar
- strcat (ml_string, "\340\265\227"); //au sign
- i++;
- }
- }
- break;
-
- case 'A':
- (i == 0) ? strcat (ml_string, "\340\264\206") : strcat (ml_string,
- "\340\264\276");
- break;
- case 'i':
- if (i == 0)
- {
- if (i < end
- && ((phonetic_string[i + 1] == 'i')
- || (phonetic_string[i + 1] == 'e')))
- { //ii/ee letter
- strcat (ml_string, "\340\264\210");
- i++;
- }
- else
- {
- strcat (ml_string, "\340\264\207"); // i/e letter
- }
- }
- else
- {
- if (i < end && ((phonetic_string[i + 1] == 'i') || (phonetic_string[i + 1] == 'e'))) //ii/ee sign
- {
- strcat (ml_string, "\340\265\200");
- i++;
- }
- else
- {
- strcat (ml_string, "\340\264\277"); // i/e sign
- }
- }
- break;
- case 'I':
- (i == 0) ? strcat (ml_string, "\340\264\210") : strcat (ml_string,
- "\340\265\200");
- break;
- case 'u':
- if (i == 0)
- {
- if (i < end
- && ((phonetic_string[i + 1] == 'o')
- || (phonetic_string[i + 1] == 'u')))
- { //ii/ee letter
- strcat (ml_string, "\340\264\212");
- i++;
- }
- else
- {
- strcat (ml_string, "\340\264\211"); // u letter
- }
- }
- else
- {
- if (i < end && ((phonetic_string[i + 1] == 'u') || (phonetic_string[i + 1] == 'o'))) //ii/ee sign
- {
- strcat (ml_string, "\340\265\202"); //uu sign
- i++;
- }
- else
- {
- strcat (ml_string, "\340\265\201"); // u sign
- }
- }
- break;
- case 'U':
- (i == 0) ? strcat (ml_string, "\340\264\212") : strcat (ml_string,
- "\340\265\202");
- break;
- case '^':
- (i == 0) ? strcat (ml_string, "\340\264\213") : strcat (ml_string,
- "\340\265\203");
- break;
- case 'e':
- if (i == 0)
- {
- if (i < end
- && ((phonetic_string[i + 1] == 'e')
- || (phonetic_string[i + 1] == 'a')))
- { //ii/ee letter
- strcat (ml_string, "\340\264\217");
- i++;
- }
- else
- {
- strcat (ml_string, "\340\264\207"); // e letter
- }
- }
- else
- {
- if (i < end && ((phonetic_string[i + 1] == 'e'))) //e/ee sign
- {
- strcat (ml_string, "\340\265\200"); //ee sign
- i++;
- }
- else
- {
- strcat (ml_string, "\340\265\206"); // u sign
- }
- }
- break;
- case 'E':
- (i == 0) ? strcat (ml_string, "\340\264\217") : strcat (ml_string,
- "\340\265\207");
- break;
-// case '@': //ai
-// (i == 0) ? strcat (ml_string, "\340\264\220") : strcat (ml_string,
-// "\340\265\210");
-// break;
- case 'o':
- if (i == 0)
- {
- if (i < end && ((phonetic_string[i + 1] == 'o')))
- { //oo letter
- strcat (ml_string, "\340\264\222");
- i++;
- }
- else
- {
- strcat (ml_string, " \340\264\223"); // o letter
- }
- }
- else
- {
- if (i < end && ((phonetic_string[i + 1] == 'o'))) //oo sign
- {
- strcat (ml_string, "\340\265\213"); //oo sign
- i++;
- }
- else if (i < end && ((phonetic_string[i + 1] == 'u'))) //ou sign
- {
- strcat (ml_string, "\340\265\214"); //ou sign
- i++;
- }
- else
- {
- strcat (ml_string, "\340\265\212"); // o sign
- }
- }
- break;
- case 'O':
- (i == 0) ? strcat (ml_string, "\340\264\223") : strcat (ml_string,
- "\340\265\213");
- break;
- case '`':
- (i == 0) ? strcat (ml_string, "\340\264\224") : strcat (ml_string,
- "\340\265\227");
- break;
-// case '.': //am
-// strcat (ml_string, "\340\264\202");
-// break;
- case '~': //chandrakkala
- strcat (ml_string, "\340\265\215");
- break;
- case ':': //Ah
- strcat (ml_string, "\340\264\203");
- break;
- //Consonants
- case 'k':
-
-
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\264\225");
- strcat (ml_string, "\340\265\215");
- strcat (ml_string, "\340\264\225");
- i++;
- }
- else if (i < end && (phonetic_string[i + 1] == 'h'))
- { //kh
- strcat (ml_string, "\340\264\226");
- i++;
- }
- else
- {
- strcat (ml_string, "\340\264\225"); //just a k
-
- }
- break;
- case 'K':
- if (i == start)
- { //start of a word- may be a Name.Place..starting with K
- strcat (ml_string, "\340\264\225"); //just a k
- }
-
- else if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //KK
- strcat (ml_string, "\340\264\225");
- strcat (ml_string, "\340\265\215");
- strcat (ml_string, "\340\264\225");
- i++;
- }
- else if (i < end && (phonetic_string[i + 1] == 'h'))
- { //Kh as in Khalid
- strcat (ml_string, "\340\264\226");
- i++;
- }
- else
- {
- strcat (ml_string, "\340\264\226"); //just a k
-
- }
-
- break;
- case 'g':
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\264\227");
- strcat (ml_string, "\340\265\215");
- strcat (ml_string, "\340\264\227");
- i++;
- }
- else if (i < end && (phonetic_string[i + 1] == 'h'))
- { //gh
- strcat (ml_string, "\340\264\230");
- i++;
- }
- else
- {
- strcat (ml_string, "\340\264\227"); //just a g as in gaanam
-
- }
- break;
- case 'G':
-
- if (i == start)
- { //start of a word- may be a Name.Place..starting with G
- strcat (ml_string, "\340\264\227"); //just a g
- }
-
- else if (i < end && (phonetic_string[i + 1] == 'h'))
- { //Kh as in Gha
- strcat (ml_string, "\340\264\230");
- i++;
- }
- else
- {
- strcat (ml_string, "\340\264\230"); //just a G
-
- }
- break;
- case 'c':
-
-
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //kk/cc
- strcat (ml_string, "\340\264\225");
- strcat (ml_string, "\340\265\215");
- strcat (ml_string, "\340\264\225");
- i++;
- }
- else if (i < end && (phonetic_string[i + 1] == 'h'))
- {
- if (i == start)
- {
- //Ch as in chaaya
- strcat (ml_string, "\340\264\232");
- i++;
-
- }
- else
- {
-//most of the time the ch in side the manglish means chcha as an pacha *wild guess. leaving this to aspell :)
-//let he decides
- strcat (ml_string, "\340\264\232");
- strcat (ml_string, "\340\265\215");
- strcat (ml_string, "\340\264\232");
- i++;
- }
- }
- else if (i == start && (phonetic_string[i + 1] != 'h'))
- { //start of a word- may be a Name. as in cibu
- strcat (ml_string, "\340\264\270"); //just a c/k
- }
- else
- {
- strcat (ml_string, "\340\264\226"); //just a k/c
-
- }
-
- break;
- case 'C':
-
-
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //kk/CC
- strcat (ml_string, "\340\264\225");
- strcat (ml_string, "\340\265\215");
- strcat (ml_string, "\340\264\225");
- i++;
- }
- else if (i < end
- && ((phonetic_string[i + 1] == 'h')
- || (phonetic_string[i + 1] == 'H')))
- {
- if (i == start)
- {
- //Ch as in chaaya
- strcat (ml_string, "\340\264\232");
- i++;
-
- }
- else
- {
-//most of the time the ch in side the manglish means chcha as an pacha *wild guess. leaving this to aspell :)
-//let he decides
- strcat (ml_string, "\340\264\232");
- strcat (ml_string, "\340\265\215");
- strcat (ml_string, "\340\264\232");
- i++;
- }
- }
- else if (i == start && (phonetic_string[i + 1] != 'h'))
- { //start of a word- may be a Name. as in cibu
- strcat (ml_string, "\340\264\270"); //just a c/k
- }
- else
- {
- strcat (ml_string, "\340\264\226"); //just a k/c
-
- }
-
- break;
- case 'j':
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama //jja
- strcat (ml_string, "\340\264\234"); //ja
- strcat (ml_string, "\340\265\215");
- strcat (ml_string, "\340\264\234"); //ja
- i++;
- }
- else if (i < end && (phonetic_string[i + 1] == 'h'))
- { //jh
- strcat (ml_string, "\340\264\235");
- i++;
- }
- else
- {
- strcat (ml_string, "\340\264\234"); //just a j as in janam
-
- }
- break;
- case 'J':
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama //jja
- strcat (ml_string, "\340\264\234"); //ja
- strcat (ml_string, "\340\265\215");
- strcat (ml_string, "\340\264\234"); //ja
- i++;
- }
- else if (i < end && (phonetic_string[i + 1] == 'h'))
- { //jh
- strcat (ml_string, "\340\264\235");
- i++;
- }
- else
- {
- strcat (ml_string, "\340\264\234"); //just a j as in janam
- }
- break;
- case 't':
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama //tta
- strcat (ml_string, "\340\264\237"); //ja
- strcat (ml_string, "\340\265\215");
- strcat (ml_string, "\340\264\237"); //ja
- i++;
- }
- else if (i < end
- && ((phonetic_string[i + 1] == 'h')
- || (phonetic_string[i + 1] == 'H')))
- { //th
- strcat (ml_string, "\340\264\244");
- i++;
- }
- else
- {
- //usually the words starting with t is very less. A t in the starting is tha most probably.
- if (i == start)
- {
- strcat (ml_string, "\340\264\244"); //tha
- }
- else
- {
- strcat (ml_string, "\340\264\237"); //just a t
- }
- }
- break;
- case 'T':
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama //tta
- strcat (ml_string, "\340\264\237"); //ja
- strcat (ml_string, "\340\265\215");
- strcat (ml_string, "\340\264\237"); //ja
- i++;
- }
- else if (i < end
- && ((phonetic_string[i + 1] == 'h')
- || (phonetic_string[i + 1] == 'H')))
- { //th
- strcat (ml_string, "\340\264\244");
- i++;
- }
- else
- {
- //usually the words starting with t is very less. A t in the starting is tha most probably.
- if (i == start)
- {
- strcat (ml_string, "\340\264\244"); //tha
- }
- else
- {
- strcat (ml_string, "\340\264\237"); //just a t
- }
- }
- break;
- case 'd':
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama //dda
- strcat (ml_string, "\340\264\246"); //da
- strcat (ml_string, "\340\265\215");
- strcat (ml_string, "\340\264\246"); //da
- i++;
- }
- else if (i < end
- && ((phonetic_string[i + 1] == 'h')
- || (phonetic_string[i + 1] == 'H')))
- { //th
- strcat (ml_string, "\340\264\247");
- i++;
- }
- else
- {
- strcat (ml_string, "\340\264\246"); //da
- }
- break;
- case 'D':
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama //dda
- strcat (ml_string, "\340\264\246"); //Da
- strcat (ml_string, "\340\265\215");
- strcat (ml_string, "\340\264\246"); //Da
- i++;
-
- }
- else if (i < end
- && ((phonetic_string[i + 1] == 'h')
- || (phonetic_string[i + 1] == 'H')))
- { //Dh as in viDhi
- strcat (ml_string, "\340\264\242");
- i++;
- }
- else
- {
- if (i == start)
- {
- strcat (ml_string, "\340\264\246"); //Da
- }
- else
- {
- strcat (ml_string, "\340\264\241"); //Da
- }
- }
- break;
- case 'N':
-
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\264\243");
- strcat (ml_string, "\340\265\215");
- strcat (ml_string, "\340\264\243");
- i++;
- }
- else if (i == start)
- {
- strcat (ml_string, "\340\264\250");
- }
- else
- {
-
- if (((phonetic_string[i + 1] == 'a') ||(phonetic_string[i + 1] == 'A')||(phonetic_string[i + 1] == 'e')||(phonetic_string[i + 1] == 'E')||(phonetic_string[i + 1] == 'i')||(phonetic_string[i + 1] == 'I')||(phonetic_string[i + 1] == 'o')||(phonetic_string[i + 1] == 'O')))
- {
- strcat (ml_string, "\340\264\243");
- }
- else if((i < end ))
- {
-
- //chillu N
- strcat (ml_string, "\340\264\243");
- strcat (ml_string, "\340\265\215"); //virama
- strcat (ml_string, "\342\200\215"); //zwj
- }
- }
- //words ending with N chillu is less
- break;
-
- case 'n':
-
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\264\250");
- strcat (ml_string, "\340\265\215");
- strcat (ml_string, "\340\264\250");
- i++;
- }
- else if (i < end && (phonetic_string[i + 1] =='j'))
- { //nja as in njaan
- strcat (ml_string, "\340\264\250");
- strcat (ml_string, "\340\265\215");
- strcat (ml_string, "\340\264\250");
- i++;
- }
-
- else if (i == start)
- {
- strcat (ml_string, "\340\264\250");
- }
- else
- {
-
- if (((phonetic_string[i + 1] == 'a') ||(phonetic_string[i + 1] == 'A')||(phonetic_string[i + 1] == 'e')||(phonetic_string[i + 1] == 'E')||(phonetic_string[i + 1] == 'i')||(phonetic_string[i + 1] == 'I')||(phonetic_string[i + 1] == 'o')||(phonetic_string[i + 1] == 'O')))
- {
- strcat (ml_string, "\340\264\250");
- }
- else if((i < end ))
- {
-
- //chillu n
- strcat (ml_string, "\340\264\250");
- strcat (ml_string, "\340\265\215"); //virama
- strcat (ml_string, "\342\200\215"); //zwj
- }
- }
- //words ending with N chillu is less
- break;
- case 'p':
- strcat (ml_string, "\340\264\252");
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\265\215");
- }
- break;
- case 'f':
- strcat (ml_string, "\340\264\253");
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\265\215");
- }
- break;
- case 'b':
- strcat (ml_string, "\340\264\254");
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\265\215");
- }
- break;
- case 'B':
- strcat (ml_string, "\340\264\255");
- break;
- case 'm':
- if (i == end - 1 && phonetic_string[i] != phonetic_string[i - 1]) //end of word. most probably it is an anuswaram
- {
- strcat (ml_string, "\340\264\202");
-
- }
- else
- {
- strcat (ml_string, "\340\264\256");
- }
-
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\265\215");
- }
- break;
- case 'y':
- strcat (ml_string, "\340\264\257");
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\265\215");
- }
- break;
- case 'r':
- strcat (ml_string, "\340\264\260");
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\265\215");
- }
- break;
- case 'l':
- strcat (ml_string, "\340\264\262");
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\265\215");
- }
- break;
- case 'v':
- strcat (ml_string, "\340\264\265");
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\265\215");
- }
- break;
- case '$':
- strcat (ml_string, "\340\264\266");
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\265\215");
- }
- break;
- case 's':
- strcat (ml_string, "\340\264\270");
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\265\215");
- }
- break;
- case 'S':
- strcat (ml_string, "\340\264\267");
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\265\215");
- }
- break;
- case 'h':
- strcat (ml_string, "\340\264\271");
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\265\215");
- }
- break;
- case 'L':
- strcat (ml_string, "\340\264\263");
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\265\215");
- }
- break;
- case 'z':
- strcat (ml_string, "\340\264\264");
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\265\215");
- }
- break;
- case 'R':
- strcat (ml_string, "\340\264\261");
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\265\215");
- }
- break;
- default:
- strcat (ml_string, "?"); //Not recognized
- break;
- }
- i++;
- }
-printf("%s\n",ml_string);
- return ml_string;
-}
diff --git a/input-methods/sulekha/Transliteration.h b/input-methods/sulekha/Transliteration.h
deleted file mode 100644
index 7f02b45..0000000
--- a/input-methods/sulekha/Transliteration.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/* Transliteration.h
- *
- * Copyright (C) 2007-2008
- * Santhosh Thottingal<santhosh00@gmail.com>,
- * Swathanthra Malayalam Computing.
- *
- * 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 2 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, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-#include <gtk/gtk.h>
-#include <glib.h>
-/*
-Transliterate the a dhvani phonetic string to malayalam.
-Algorithm:
-1)For all vowels, if it is at the 0th position print as it is
-2)If the vowel is in between/end of the string print the sign of the vowel except for A
-3)For all consonants print the malayalam character
-4)If a phonetic character is not identified print '?'
-5)Octal C escaped strings are used for printing the Unicode Malayalam string
-*/
-char *transliterate_ml (gchar *, int, int);
diff --git a/input-methods/sulekha/Transliteration.o b/input-methods/sulekha/Transliteration.o
deleted file mode 100644
index c55811f..0000000
--- a/input-methods/sulekha/Transliteration.o
+++ /dev/null
Binary files differ
diff --git a/input-methods/sulekha/autom4te.cache/output.2 b/input-methods/sulekha/autom4te.cache/output.2
index 6405b1e..1fdb341 100644
--- a/input-methods/sulekha/autom4te.cache/output.2
+++ b/input-methods/sulekha/autom4te.cache/output.2
@@ -1,8 +1,8 @@
@%:@! /bin/sh
@%:@ Guess values for system-dependent variables and create Makefiles.
-@%:@ Generated by GNU Autoconf 2.61 for Spell 0.8.
+@%:@ Generated by GNU Autoconf 2.61 for sulekha 0.0.11.
@%:@
-@%:@ Report bugs to <santhosh>.
+@%:@ Report bugs to <santhosh00@gmail.com>.
@%:@
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
@@ -572,11 +572,47 @@ MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
-PACKAGE_NAME='Spell'
-PACKAGE_TARNAME='Spell'
-PACKAGE_VERSION='0.8'
-PACKAGE_STRING='Spell 0.8'
-PACKAGE_BUGREPORT='santhosh'
+PACKAGE_NAME='sulekha'
+PACKAGE_TARNAME='sulekha'
+PACKAGE_VERSION='0.0.11'
+PACKAGE_STRING='sulekha 0.0.11'
+PACKAGE_BUGREPORT='santhosh00@gmail.com'
+
+# Factoring default headers for most tests.
+ac_includes_default="\
+#include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
+#ifdef HAVE_STRING_H
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+# include <memory.h>
+# endif
+# include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif"
ac_subst_vars='SHELL
PATH_SEPARATOR
@@ -653,10 +689,20 @@ AMDEPBACKSLASH
CCDEPMODE
am__fastdepCC_TRUE
am__fastdepCC_FALSE
-BASH
+CPP
+GREP
+EGREP
+SPELLER_LIB
+SULEKHA_PACKAGES
PKG_CONFIG
SULEKHA_CFLAGS
SULEKHA_LIBS
+DEBUG
+PANGO_CFLAGS
+PANGO_LIBS
+HTML_DIR
+ENABLE_GTK_DOC_TRUE
+ENABLE_GTK_DOC_FALSE
LIB@&t@OBJS
LTLIBOBJS'
ac_subst_files=''
@@ -668,9 +714,12 @@ CFLAGS
LDFLAGS
LIBS
CPPFLAGS
+CPP
PKG_CONFIG
SULEKHA_CFLAGS
-SULEKHA_LIBS'
+SULEKHA_LIBS
+PANGO_CFLAGS
+PANGO_LIBS'
# Initialize some variables set by options.
@@ -1173,7 +1222,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 Spell 0.8 to adapt to many kinds of systems.
+\`configure' configures sulekha 0.0.11 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1221,7 +1270,7 @@ Fine tuning of the installation directories:
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root @<:@DATAROOTDIR/doc/Spell@:>@
+ --docdir=DIR documentation root @<:@DATAROOTDIR/doc/sulekha@:>@
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
@@ -1239,7 +1288,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of Spell 0.8:";;
+ short | recursive ) echo "Configuration of sulekha 0.0.11:";;
esac
cat <<\_ACEOF
@@ -1248,6 +1297,12 @@ Optional Features:
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
+ --enable-gtk-doc Use gtk-doc to build documentation [default=auto]
+
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-html-dir=PATH path to installed docs
Some influential environment variables:
CC C compiler command
@@ -1257,16 +1312,20 @@ Some influential environment variables:
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
+ CPP C preprocessor
PKG_CONFIG path to pkg-config utility
SULEKHA_CFLAGS
C compiler flags for SULEKHA, overriding pkg-config
SULEKHA_LIBS
linker flags for SULEKHA, overriding pkg-config
+ PANGO_CFLAGS
+ C compiler flags for PANGO, overriding pkg-config
+ PANGO_LIBS linker flags for PANGO, overriding pkg-config
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
-Report bugs to <santhosh>.
+Report bugs to <santhosh00@gmail.com>.
_ACEOF
ac_status=$?
fi
@@ -1327,7 +1386,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-Spell configure 0.8
+sulekha configure 0.0.11
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1341,7 +1400,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 Spell $as_me 0.8, which was
+It was created by sulekha $as_me 0.0.11, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2030,8 +2089,8 @@ fi
# Define the identity of the package.
- PACKAGE='Spell'
- VERSION='0.8'
+ PACKAGE=sulekha
+ VERSION=0.0.11
cat >>confdefs.h <<_ACEOF
@@ -2177,6 +2236,68 @@ am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
+DEPDIR="${am__leading_dot}deps"
+
+ac_config_commands="$ac_config_commands depfiles"
+
+
+am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo done
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
+echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# We grep out `Entering directory' and `Leaving directory'
+# messages which can occur if `w' ends up in MAKEFLAGS.
+# In particular we don't look at `^make:' because GNU make might
+# be invoked under some other name (usually "gmake"), in which
+# case it prints its new name instead of `make'.
+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
+ am__include=include
+ am__quote=
+ _am_result=GNU
+fi
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ fi
+fi
+
+
+{ echo "$as_me:$LINENO: result: $_am_result" >&5
+echo "${ECHO_T}$_am_result" >&6; }
+rm -f confinc confmf
+
+# Check whether --enable-dependency-tracking was given.
+if test "${enable_dependency_tracking+set}" = set; then
+ enableval=$enable_dependency_tracking;
+fi
+
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+fi
+ if test "x$enable_dependency_tracking" != xno; then
+ AMDEP_TRUE=
+ AMDEP_FALSE='#'
+else
+ AMDEP_TRUE='#'
+ AMDEP_FALSE=
+fi
+
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -3095,68 +3216,6 @@ ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
- if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
depcc="$CC" am_compiler_list=
@@ -3266,133 +3325,1061 @@ else
fi
-CFLAGS="-g -O -Wall"
-for ac_prog in bash
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+ if test "${ac_cv_prog_CPP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ # Double quotes because CPP needs to be expanded
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_path_BASH+set}" = set; then
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+@%:@ifdef __STDC__
+@%:@ include <limits.h>
+@%:@else
+@%:@ include <assert.h>
+@%:@endif
+ Syntax error
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ :
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Broken: fails on valid input.
+continue
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+@%:@include <ac_nonexistent.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ # Broken: success on invalid input.
+continue
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+ break
+fi
+
+ done
+ ac_cv_prog_CPP=$CPP
+
+fi
+ CPP=$ac_cv_prog_CPP
+else
+ ac_cv_prog_CPP=$CPP
+fi
+{ echo "$as_me:$LINENO: result: $CPP" >&5
+echo "${ECHO_T}$CPP" >&6; }
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+@%:@ifdef __STDC__
+@%:@ include <limits.h>
+@%:@else
+@%:@ include <assert.h>
+@%:@endif
+ Syntax error
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ :
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Broken: fails on valid input.
+continue
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+@%:@include <ac_nonexistent.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ # Broken: success on invalid input.
+continue
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+ :
+else
+ { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details." >&5
+echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
+echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
+if test "${ac_cv_path_GREP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- case $BASH in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
+ # Extract the first word of "grep ggrep" to use in msg output
+if test -z "$GREP"; then
+set dummy grep ggrep; ac_prog_name=$2
+if test "${ac_cv_path_GREP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_path_GREP_found=false
+# Loop through the user's path and test for each of PROGNAME-LIST
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
+ for ac_prog in grep ggrep; do
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
+ # Check for GNU ac_path_GREP and select it if it is found.
+ # Check for GNU $ac_path_GREP
+case `"$ac_path_GREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+*)
+ ac_count=0
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ echo 'GREP' >> "conftest.nl"
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ ac_count=`expr $ac_count + 1`
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_GREP="$ac_path_GREP"
+ ac_path_GREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+
+ $ac_path_GREP_found && break 3
+ done
done
+
done
IFS=$as_save_IFS
- ;;
-esac
+
+fi
+
+GREP="$ac_cv_path_GREP"
+if test -z "$GREP"; then
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
+ { (exit 1); exit 1; }; }
fi
-BASH=$ac_cv_path_BASH
-if test -n "$BASH"; then
- { echo "$as_me:$LINENO: result: $BASH" >&5
-echo "${ECHO_T}$BASH" >&6; }
+
else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+ ac_cv_path_GREP=$GREP
fi
- test -n "$BASH" && break
-done
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
+echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
+ GREP="$ac_cv_path_GREP"
+
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
+{ echo "$as_me:$LINENO: checking for egrep" >&5
+echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
+if test "${ac_cv_path_EGREP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+ then ac_cv_path_EGREP="$GREP -E"
+ else
+ # Extract the first word of "egrep" to use in msg output
+if test -z "$EGREP"; then
+set dummy egrep; ac_prog_name=$2
+if test "${ac_cv_path_EGREP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_path_EGREP_found=false
+# Loop through the user's path and test for each of PROGNAME-LIST
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
+ for ac_prog in egrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
+ # Check for GNU ac_path_EGREP and select it if it is found.
+ # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+*)
+ ac_count=0
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ echo 'EGREP' >> "conftest.nl"
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ ac_count=`expr $ac_count + 1`
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_EGREP="$ac_path_EGREP"
+ ac_path_EGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac
+
+
+ $ac_path_EGREP_found && break 3
+ done
+done
+
done
IFS=$as_save_IFS
fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
+
+EGREP="$ac_cv_path_EGREP"
+if test -z "$EGREP"; then
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
+ { (exit 1); exit 1; }; }
fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+else
+ ac_cv_path_EGREP=$EGREP
+fi
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+ fi
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
+echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
+ EGREP="$ac_cv_path_EGREP"
+
+{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
+if test "${ac_cv_header_stdc+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_header_stdc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_header_stdc=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "memchr" >/dev/null 2>&1; then
+ :
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "free" >/dev/null 2>&1; then
+ :
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+ if test "$cross_compiling" = yes; then
+ :
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <ctype.h>
+#include <stdlib.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+ (('a' <= (c) && (c) <= 'i') \
+ || ('j' <= (c) && (c) <= 'r') \
+ || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+ int i;
+ for (i = 0; i < 256; i++)
+ if (XOR (islower (i), ISLOWER (i))
+ || toupper (i) != TOUPPER (i))
+ return 2;
+ return 0;
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ :
+else
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+ac_cv_header_stdc=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+fi
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
+echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
+if test $ac_cv_header_stdc = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+@%:@define STDC_HEADERS 1
+_ACEOF
+
+fi
+
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+
+
+
+
+
+
+
+
+
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+ inttypes.h stdint.h unistd.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+
+@%:@include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ eval "$as_ac_Header=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_Header=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+if test "${ac_cv_header_aspell_h+set}" = set; then
+ { echo "$as_me:$LINENO: checking for aspell.h" >&5
+echo $ECHO_N "checking for aspell.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_aspell_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_aspell_h" >&5
+echo "${ECHO_T}$ac_cv_header_aspell_h" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking aspell.h usability" >&5
+echo $ECHO_N "checking aspell.h usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+@%:@include <aspell.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking aspell.h presence" >&5
+echo $ECHO_N "checking aspell.h presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+@%:@include <aspell.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: aspell.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: aspell.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: aspell.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: aspell.h: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: aspell.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: aspell.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: aspell.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: aspell.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: aspell.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: aspell.h: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: aspell.h: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: aspell.h: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: aspell.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: aspell.h: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: aspell.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: aspell.h: in the future, the compiler will take precedence" >&2;}
+ ( cat <<\_ASBOX
+@%:@@%:@ ----------------------------------- @%:@@%:@
+@%:@@%:@ Report this to santhosh00@gmail.com @%:@@%:@
+@%:@@%:@ ----------------------------------- @%:@@%:@
+_ASBOX
+ ) | sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for aspell.h" >&5
+echo $ECHO_N "checking for aspell.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_aspell_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_aspell_h=$ac_header_preproc
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_aspell_h" >&5
+echo "${ECHO_T}$ac_cv_header_aspell_h" >&6; }
+
+fi
+if test $ac_cv_header_aspell_h = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+@%:@define HAVE_ASPELL_H 1
+_ACEOF
+
+fi
+
+
+ac_config_headers="$ac_config_headers config.h"
+
+if test "${ac_cv_header_pspell_pspell_h+set}" = set; then
+ { echo "$as_me:$LINENO: checking for pspell/pspell.h" >&5
+echo $ECHO_N "checking for pspell/pspell.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_pspell_pspell_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_pspell_pspell_h" >&5
+echo "${ECHO_T}$ac_cv_header_pspell_pspell_h" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking pspell/pspell.h usability" >&5
+echo $ECHO_N "checking pspell/pspell.h usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+@%:@include <pspell/pspell.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking pspell/pspell.h presence" >&5
+echo $ECHO_N "checking pspell/pspell.h presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+@%:@include <pspell/pspell.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: pspell/pspell.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: pspell/pspell.h: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: pspell/pspell.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: pspell/pspell.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: pspell/pspell.h: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: pspell/pspell.h: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: pspell/pspell.h: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: pspell/pspell.h: in the future, the compiler will take precedence" >&2;}
+ ( cat <<\_ASBOX
+@%:@@%:@ ----------------------------------- @%:@@%:@
+@%:@@%:@ Report this to santhosh00@gmail.com @%:@@%:@
+@%:@@%:@ ----------------------------------- @%:@@%:@
+_ASBOX
+ ) | sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for pspell/pspell.h" >&5
+echo $ECHO_N "checking for pspell/pspell.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_pspell_pspell_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_pspell_pspell_h=$ac_header_preproc
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_pspell_pspell_h" >&5
+echo "${ECHO_T}$ac_cv_header_pspell_pspell_h" >&6; }
+
+fi
+if test $ac_cv_header_pspell_pspell_h = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+@%:@define HAVE_PSPELL_H 1
+_ACEOF
+
+fi
+
+
+{ echo "$as_me:$LINENO: checking for new_aspell_speller in -laspell" >&5
+echo $ECHO_N "checking for new_aspell_speller in -laspell... $ECHO_C" >&6; }
+if test "${ac_cv_lib_aspell_new_aspell_speller+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-laspell $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char new_aspell_speller ();
+int
+main ()
+{
+return new_aspell_speller ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_aspell_new_aspell_speller=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_aspell_new_aspell_speller=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_aspell_new_aspell_speller" >&5
+echo "${ECHO_T}$ac_cv_lib_aspell_new_aspell_speller" >&6; }
+if test $ac_cv_lib_aspell_new_aspell_speller = yes; then
+ SPELLER_LIB="-laspell"
+else
+ { echo "$as_me:$LINENO: checking for new_pspell_manager in -lpspell" >&5
+echo $ECHO_N "checking for new_pspell_manager in -lpspell... $ECHO_C" >&6; }
+if test "${ac_cv_lib_pspell_new_pspell_manager+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lpspell $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char new_pspell_manager ();
+int
+main ()
+{
+return new_pspell_manager ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_pspell_new_pspell_manager=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_pspell_new_pspell_manager=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_pspell_new_pspell_manager" >&5
+echo "${ECHO_T}$ac_cv_lib_pspell_new_pspell_manager" >&6; }
+if test $ac_cv_lib_pspell_new_pspell_manager = yes; then
+ SPELLER_LIB="-lpspell"
+else
+ { { echo "$as_me:$LINENO: error: You must have the aspell or pspell dev libraries to build gtkspell." >&5
+echo "$as_me: error: You must have the aspell or pspell dev libraries to build gtkspell." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+fi
+
+
+
+SULEKHA_PACKAGES=gtk+-2.0
@@ -3524,18 +4511,12 @@ if test -n "$PKG_CONFIG"; then
pkg_cv_SULEKHA_CFLAGS="$SULEKHA_CFLAGS"
else
if test -n "$PKG_CONFIG" && \
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
- gtk+-2.0 >= 2.10.0
-\"") >&5
- ($PKG_CONFIG --exists --print-errors "
- gtk+-2.0 >= 2.10.0
-") 2>&5
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SULEKHA_PACKAGES\"") >&5
+ ($PKG_CONFIG --exists --print-errors "$SULEKHA_PACKAGES") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_SULEKHA_CFLAGS=`$PKG_CONFIG --cflags "
- gtk+-2.0 >= 2.10.0
-" 2>/dev/null`
+ pkg_cv_SULEKHA_CFLAGS=`$PKG_CONFIG --cflags "$SULEKHA_PACKAGES" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -3548,18 +4529,12 @@ if test -n "$PKG_CONFIG"; then
pkg_cv_SULEKHA_LIBS="$SULEKHA_LIBS"
else
if test -n "$PKG_CONFIG" && \
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
- gtk+-2.0 >= 2.10.0
-\"") >&5
- ($PKG_CONFIG --exists --print-errors "
- gtk+-2.0 >= 2.10.0
-") 2>&5
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SULEKHA_PACKAGES\"") >&5
+ ($PKG_CONFIG --exists --print-errors "$SULEKHA_PACKAGES") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_SULEKHA_LIBS=`$PKG_CONFIG --libs "
- gtk+-2.0 >= 2.10.0
-" 2>/dev/null`
+ pkg_cv_SULEKHA_LIBS=`$PKG_CONFIG --libs "$SULEKHA_PACKAGES" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -3578,20 +4553,14 @@ else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- SULEKHA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "
- gtk+-2.0 >= 2.10.0
-"`
+ SULEKHA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SULEKHA_PACKAGES"`
else
- SULEKHA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "
- gtk+-2.0 >= 2.10.0
-"`
+ SULEKHA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SULEKHA_PACKAGES"`
fi
# Put the nasty error message in config.log where it belongs
echo "$SULEKHA_PKG_ERRORS" >&5
- { { echo "$as_me:$LINENO: error: Package requirements (
- gtk+-2.0 >= 2.10.0
-) were not met:
+ { { echo "$as_me:$LINENO: error: Package requirements ($SULEKHA_PACKAGES) were not met:
$SULEKHA_PKG_ERRORS
@@ -3602,9 +4571,7 @@ Alternatively, you may set the environment variables SULEKHA_CFLAGS
and SULEKHA_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
" >&5
-echo "$as_me: error: Package requirements (
- gtk+-2.0 >= 2.10.0
-) were not met:
+echo "$as_me: error: Package requirements ($SULEKHA_PACKAGES) were not met:
$SULEKHA_PKG_ERRORS
@@ -3645,10 +4612,1049 @@ else
echo "${ECHO_T}yes" >&6; }
:
fi
-GEDIT_LIBS="${SULEKHA_LIBS}"
-ac_config_files="$ac_config_files Makefile"
+
+DEBUG=1
+
+
+# check Pango version so we can use PANGO_UNDERLINE_ERROR when available:
+
+pkg_failed=no
+{ echo "$as_me:$LINENO: checking for PANGO" >&5
+echo $ECHO_N "checking for PANGO... $ECHO_C" >&6; }
+
+if test -n "$PKG_CONFIG"; then
+ if test -n "$PANGO_CFLAGS"; then
+ pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
+ else
+ if test -n "$PKG_CONFIG" && \
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.3.5\"") >&5
+ ($PKG_CONFIG --exists --print-errors "pango >= 1.3.5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango >= 1.3.5" 2>/dev/null`
+else
+ pkg_failed=yes
+fi
+ fi
+else
+ pkg_failed=untried
+fi
+if test -n "$PKG_CONFIG"; then
+ if test -n "$PANGO_LIBS"; then
+ pkg_cv_PANGO_LIBS="$PANGO_LIBS"
+ else
+ if test -n "$PKG_CONFIG" && \
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.3.5\"") >&5
+ ($PKG_CONFIG --exists --print-errors "pango >= 1.3.5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango >= 1.3.5" 2>/dev/null`
+else
+ pkg_failed=yes
+fi
+ fi
+else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pango >= 1.3.5"`
+ else
+ PANGO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pango >= 1.3.5"`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$PANGO_PKG_ERRORS" >&5
+
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ { echo "$as_me:$LINENO: WARNING: Disabling new error underlining since pango < 1.3.5" >&5
+echo "$as_me: WARNING: Disabling new error underlining since pango < 1.3.5" >&2;}
+elif test $pkg_failed = untried; then
+ { echo "$as_me:$LINENO: WARNING: Disabling new error underlining since pango < 1.3.5" >&5
+echo "$as_me: WARNING: Disabling new error underlining since pango < 1.3.5" >&2;}
+else
+ PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
+ PANGO_LIBS=$pkg_cv_PANGO_LIBS
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+
+cat >>confdefs.h <<\_ACEOF
+@%:@define HAVE_PANGO_UNDERLINE_ERROR 1
+_ACEOF
+
+fi
+
+# check Pango version to see if word breaking bug is fixed:
+#PKG_CHECK_MODULES(PANGO, [pango >= 1.8.0],
+# [AC_DEFINE(FIXED_PANGO, 1, [Define to 1 if pango >= 1.8.0.])],
+# [AC_MSG_WARN([Enabling word-breaking workarounds since pango < 1.8.0])])
+
+# gtk-doc check:
+# gtk-doc check:
+# from http://cvs.gnome.org/lxr/source/gtk-doc/examples/configure.in
+
+# Check whether --with-html-dir was given.
+if test "${with_html_dir+set}" = set; then
+ withval=$with_html_dir;
+fi
+
+
+if test "x$with_html_dir" = "x" ; then
+ HTML_DIR='${datadir}/gtk-doc/html'
+else
+ HTML_DIR=$with_html_dir
+fi
+
+
+
+gtk_doc_min_version=1.0
+{ echo "$as_me:$LINENO: checking gtk-doc version >= $gtk_doc_min_version" >&5
+echo $ECHO_N "checking gtk-doc version >= $gtk_doc_min_version... $ECHO_C" >&6; }
+if pkg-config --atleast-version=$gtk_doc_min_version gtk-doc; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ GTKDOC=true
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ GTKDOC=false
+fi
+
+# Check whether --enable-gtk-doc was given.
+if test "${enable_gtk_doc+set}" = set; then
+ enableval=$enable_gtk_doc; enable_gtk_doc="$enableval"
+else
+ enable_gtk_doc=auto
+fi
+
+
+if test x$enable_gtk_doc = xauto ; then
+ if test x$GTKDOC = xtrue ; then
+ enable_gtk_doc=yes
+ else
+ enable_gtk_doc=no
+ fi
+fi
+
+ if test x$enable_gtk_doc = xyes; then
+ ENABLE_GTK_DOC_TRUE=
+ ENABLE_GTK_DOC_FALSE='#'
+else
+ ENABLE_GTK_DOC_TRUE='#'
+ ENABLE_GTK_DOC_FALSE=
+fi
+
+
+# end gtk-doc check.
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+echo "${ECHO_T}$ac_ct_CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf@gnu.org." >&5
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $@%:@ != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+echo "${ECHO_T}$ac_ct_CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf@gnu.org." >&5
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
+See \`config.log' for more details." >&5
+echo "$as_me: error: no acceptable C compiler found in \$PATH
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+
+# Provide some information about the compiler.
+echo "$as_me:$LINENO: checking for C compiler version" >&5
+ac_compiler=`set X $ac_compile; echo $2`
+{ (ac_try="$ac_compiler --version >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compiler --version >&5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (ac_try="$ac_compiler -v >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compiler -v >&5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (ac_try="$ac_compiler -V >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compiler -V >&5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
+if test "${ac_cv_c_compiler_gnu+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_compiler_gnu=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_compiler_gnu=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
+GCC=`test $ac_compiler_gnu = yes && echo yes`
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
+if test "${ac_cv_prog_cc_g+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_prog_cc_g=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ CFLAGS=""
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_prog_cc_g=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
+echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
+if test "${ac_cv_prog_cc_c89+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_prog_cc_c89=$ac_arg
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { echo "$as_me:$LINENO: result: none needed" >&5
+echo "${ECHO_T}none needed" >&6; } ;;
+ xno)
+ { echo "$as_me:$LINENO: result: unsupported" >&5
+echo "${ECHO_T}unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
+echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+depcc="$CC" am_compiler_list=
+
+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named `D' -- because `-MD' means `put the output
+ # in D'.
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+ # Solaris 8's {/usr,}/bin/sh.
+ touch sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ case $depmode in
+ nosideeffect)
+ # after this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ none) break ;;
+ esac
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle `-M -o', and we need to detect this.
+ if depmode=$depmode \
+ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
+echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+#AC_PROG_LIBTOOL
+
+{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
+echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
+if test "${ac_cv_c_const+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+/* FIXME: Include the comments suggested by Paul. */
+#ifndef __cplusplus
+ /* Ultrix mips cc rejects this. */
+ typedef int charset[2];
+ const charset cs;
+ /* SunOS 4.1.1 cc rejects this. */
+ char const *const *pcpcc;
+ char **ppc;
+ /* NEC SVR4.0.2 mips cc rejects this. */
+ struct point {int x, y;};
+ static struct point const zero = {0,0};
+ /* AIX XL C 1.02.0.0 rejects this.
+ It does not let you subtract one const X* pointer from another in
+ an arm of an if-expression whose if-part is not a constant
+ expression */
+ const char *g = "string";
+ pcpcc = &g + (g ? g-g : 0);
+ /* HPUX 7.0 cc rejects these. */
+ ++pcpcc;
+ ppc = (char**) pcpcc;
+ pcpcc = (char const *const *) ppc;
+ { /* SCO 3.2v4 cc rejects this. */
+ char *t;
+ char const *s = 0 ? (char *) 0 : (char const *) 0;
+
+ *t++ = 0;
+ if (s) return 0;
+ }
+ { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
+ int x[] = {25, 17};
+ const int *foo = &x[0];
+ ++foo;
+ }
+ { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
+ typedef const int *iptr;
+ iptr p = 0;
+ ++p;
+ }
+ { /* AIX XL C 1.02.0.0 rejects this saying
+ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
+ struct s { int j; const int *ap[3]; };
+ struct s *b; b->j = 5;
+ }
+ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
+ const int foo = 10;
+ if (!foo) return 0;
+ }
+ return !cs[0] && !zero.x;
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_c_const=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_c_const=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
+echo "${ECHO_T}$ac_cv_c_const" >&6; }
+if test $ac_cv_c_const = no; then
+
+cat >>confdefs.h <<\_ACEOF
+@%:@define const
+_ACEOF
+
+fi
+
+
+
+ac_config_files="$ac_config_files Makefile src/Makefile"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
@@ -3728,37 +5734,7 @@ test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
+DEFS=-DHAVE_CONFIG_H
ac_libobjs=
ac_ltlibobjs=
@@ -3790,6 +5766,20 @@ echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
+if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
: ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
@@ -4090,7 +6080,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 Spell $as_me 0.8, which was
+This file was extended by sulekha $as_me 0.0.11, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -4107,6 +6097,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
# Files that config.status was made for.
config_files="$ac_config_files"
+config_headers="$ac_config_headers"
config_commands="$ac_config_commands"
_ACEOF
@@ -4125,10 +6116,15 @@ Usage: $0 [OPTIONS] [FILE]...
--recheck update $as_me by reconfiguring in the same conditions
--file=FILE[:TEMPLATE]
instantiate the configuration file FILE
+ --header=FILE[:TEMPLATE]
+ instantiate the configuration header FILE
Configuration files:
$config_files
+Configuration headers:
+$config_headers
+
Configuration commands:
$config_commands
@@ -4137,7 +6133,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-Spell config.status 0.8
+sulekha config.status 0.0.11
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
@@ -4182,7 +6178,16 @@ do
$ac_shift
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
+ --header | --heade | --head | --hea )
+ $ac_shift
+ CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
+ ac_need_defaults=false;;
+ --he | --h)
+ # Conflict between --help and --header
+ { echo "$as_me: error: ambiguous option: $1
+Try \`$0 --help' for more information." >&2
+ { (exit 1); exit 1; }; };;
+ --help | --hel | -h )
echo "$ac_cs_usage"; exit ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil | --si | --s)
@@ -4243,7 +6248,9 @@ for ac_config_target in $ac_config_targets
do
case $ac_config_target in
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
@@ -4258,6 +6265,7 @@ done
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
fi
@@ -4380,15 +6388,25 @@ AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
CCDEPMODE!$CCDEPMODE$ac_delim
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-BASH!$BASH$ac_delim
+CPP!$CPP$ac_delim
+GREP!$GREP$ac_delim
+EGREP!$EGREP$ac_delim
+SPELLER_LIB!$SPELLER_LIB$ac_delim
+SULEKHA_PACKAGES!$SULEKHA_PACKAGES$ac_delim
PKG_CONFIG!$PKG_CONFIG$ac_delim
SULEKHA_CFLAGS!$SULEKHA_CFLAGS$ac_delim
SULEKHA_LIBS!$SULEKHA_LIBS$ac_delim
+DEBUG!$DEBUG$ac_delim
+PANGO_CFLAGS!$PANGO_CFLAGS$ac_delim
+PANGO_LIBS!$PANGO_LIBS$ac_delim
+HTML_DIR!$HTML_DIR$ac_delim
+ENABLE_GTK_DOC_TRUE!$ENABLE_GTK_DOC_TRUE$ac_delim
+ENABLE_GTK_DOC_FALSE!$ENABLE_GTK_DOC_FALSE$ac_delim
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 91; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
@@ -4445,7 +6463,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF
fi # test -n "$CONFIG_FILES"
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
+for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
do
case $ac_tag in
:[FHLC]) ac_mode=$ac_tag; continue;;
@@ -4691,7 +6709,137 @@ which seems to be undefined. Please make sure it is defined." >&2;}
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
esac
;;
-
+ :H)
+ #
+ # CONFIG_HEADER
+ #
+_ACEOF
+
+# Transform confdefs.h into a sed script `conftest.defines', that
+# substitutes the proper values into config.h.in to produce config.h.
+rm -f conftest.defines conftest.tail
+# First, append a space to every undef/define line, to ease matching.
+echo 's/$/ /' >conftest.defines
+# Then, protect against being on the right side of a sed subst, or in
+# an unquoted here document, in config.status. If some macros were
+# called several times there might be several #defines for the same
+# symbol, which is useless. But do not sort them, since the last
+# AC_DEFINE must be honored.
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
+# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
+# NAME is the cpp macro being defined, VALUE is the value it is being given.
+# PARAMS is the parameter list in the macro definition--in most cases, it's
+# just an empty string.
+ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
+ac_dB='\\)[ (].*,\\1define\\2'
+ac_dC=' '
+ac_dD=' ,'
+
+uniq confdefs.h |
+ sed -n '
+ t rset
+ :rset
+ s/^[ ]*#[ ]*define[ ][ ]*//
+ t ok
+ d
+ :ok
+ s/[\\&,]/\\&/g
+ s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
+ s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
+ ' >>conftest.defines
+
+# Remove the space that was appended to ease matching.
+# Then replace #undef with comments. This is necessary, for
+# example, in the case of _POSIX_SOURCE, which is predefined and required
+# on some systems where configure will not decide to define it.
+# (The regexp can be short, since the line contains either #define or #undef.)
+echo 's/ $//
+s,^[ #]*u.*,/* & */,' >>conftest.defines
+
+# Break up conftest.defines:
+ac_max_sed_lines=50
+
+# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
+# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
+# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
+# et cetera.
+ac_in='$ac_file_inputs'
+ac_out='"$tmp/out1"'
+ac_nxt='"$tmp/out2"'
+
+while :
+do
+ # Write a here document:
+ cat >>$CONFIG_STATUS <<_ACEOF
+ # First, check the format of the line:
+ cat >"\$tmp/defines.sed" <<\\CEOF
+/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
+/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
+b
+:def
+_ACEOF
+ sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
+ echo 'CEOF
+ sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
+ ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
+ sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
+ grep . conftest.tail >/dev/null || break
+ rm -f conftest.defines
+ mv conftest.tail conftest.defines
+done
+rm -f conftest.defines conftest.tail
+
+echo "ac_result=$ac_in" >>$CONFIG_STATUS
+cat >>$CONFIG_STATUS <<\_ACEOF
+ if test x"$ac_file" != x-; then
+ echo "/* $configure_input */" >"$tmp/config.h"
+ cat "$ac_result" >>"$tmp/config.h"
+ if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
+ { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
+echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ rm -f $ac_file
+ mv "$tmp/config.h" $ac_file
+ fi
+ else
+ echo "/* $configure_input */"
+ cat "$ac_result"
+ fi
+ rm -f "$tmp/out12"
+# Compute $ac_file's index in $config_headers.
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $ac_file | $ac_file:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
+$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X$ac_file : 'X\(//\)[^/]' \| \
+ X$ac_file : 'X\(//\)$' \| \
+ X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
+echo X$ac_file |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`/stamp-h$_am_stamp_count
+ ;;
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
echo "$as_me: executing $ac_file commands" >&6;}
diff --git a/input-methods/sulekha/autom4te.cache/output.3 b/input-methods/sulekha/autom4te.cache/output.3
index 6405b1e..1fdb341 100644
--- a/input-methods/sulekha/autom4te.cache/output.3
+++ b/input-methods/sulekha/autom4te.cache/output.3
@@ -1,8 +1,8 @@
@%:@! /bin/sh
@%:@ Guess values for system-dependent variables and create Makefiles.
-@%:@ Generated by GNU Autoconf 2.61 for Spell 0.8.
+@%:@ Generated by GNU Autoconf 2.61 for sulekha 0.0.11.
@%:@
-@%:@ Report bugs to <santhosh>.
+@%:@ Report bugs to <santhosh00@gmail.com>.
@%:@
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
@@ -572,11 +572,47 @@ MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
-PACKAGE_NAME='Spell'
-PACKAGE_TARNAME='Spell'
-PACKAGE_VERSION='0.8'
-PACKAGE_STRING='Spell 0.8'
-PACKAGE_BUGREPORT='santhosh'
+PACKAGE_NAME='sulekha'
+PACKAGE_TARNAME='sulekha'
+PACKAGE_VERSION='0.0.11'
+PACKAGE_STRING='sulekha 0.0.11'
+PACKAGE_BUGREPORT='santhosh00@gmail.com'
+
+# Factoring default headers for most tests.
+ac_includes_default="\
+#include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
+#ifdef HAVE_STRING_H
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+# include <memory.h>
+# endif
+# include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif"
ac_subst_vars='SHELL
PATH_SEPARATOR
@@ -653,10 +689,20 @@ AMDEPBACKSLASH
CCDEPMODE
am__fastdepCC_TRUE
am__fastdepCC_FALSE
-BASH
+CPP
+GREP
+EGREP
+SPELLER_LIB
+SULEKHA_PACKAGES
PKG_CONFIG
SULEKHA_CFLAGS
SULEKHA_LIBS
+DEBUG
+PANGO_CFLAGS
+PANGO_LIBS
+HTML_DIR
+ENABLE_GTK_DOC_TRUE
+ENABLE_GTK_DOC_FALSE
LIB@&t@OBJS
LTLIBOBJS'
ac_subst_files=''
@@ -668,9 +714,12 @@ CFLAGS
LDFLAGS
LIBS
CPPFLAGS
+CPP
PKG_CONFIG
SULEKHA_CFLAGS
-SULEKHA_LIBS'
+SULEKHA_LIBS
+PANGO_CFLAGS
+PANGO_LIBS'
# Initialize some variables set by options.
@@ -1173,7 +1222,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 Spell 0.8 to adapt to many kinds of systems.
+\`configure' configures sulekha 0.0.11 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1221,7 +1270,7 @@ Fine tuning of the installation directories:
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root @<:@DATAROOTDIR/doc/Spell@:>@
+ --docdir=DIR documentation root @<:@DATAROOTDIR/doc/sulekha@:>@
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
@@ -1239,7 +1288,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of Spell 0.8:";;
+ short | recursive ) echo "Configuration of sulekha 0.0.11:";;
esac
cat <<\_ACEOF
@@ -1248,6 +1297,12 @@ Optional Features:
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
+ --enable-gtk-doc Use gtk-doc to build documentation [default=auto]
+
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-html-dir=PATH path to installed docs
Some influential environment variables:
CC C compiler command
@@ -1257,16 +1312,20 @@ Some influential environment variables:
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
+ CPP C preprocessor
PKG_CONFIG path to pkg-config utility
SULEKHA_CFLAGS
C compiler flags for SULEKHA, overriding pkg-config
SULEKHA_LIBS
linker flags for SULEKHA, overriding pkg-config
+ PANGO_CFLAGS
+ C compiler flags for PANGO, overriding pkg-config
+ PANGO_LIBS linker flags for PANGO, overriding pkg-config
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
-Report bugs to <santhosh>.
+Report bugs to <santhosh00@gmail.com>.
_ACEOF
ac_status=$?
fi
@@ -1327,7 +1386,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-Spell configure 0.8
+sulekha configure 0.0.11
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1341,7 +1400,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 Spell $as_me 0.8, which was
+It was created by sulekha $as_me 0.0.11, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2030,8 +2089,8 @@ fi
# Define the identity of the package.
- PACKAGE='Spell'
- VERSION='0.8'
+ PACKAGE=sulekha
+ VERSION=0.0.11
cat >>confdefs.h <<_ACEOF
@@ -2177,6 +2236,68 @@ am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
+DEPDIR="${am__leading_dot}deps"
+
+ac_config_commands="$ac_config_commands depfiles"
+
+
+am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo done
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
+echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# We grep out `Entering directory' and `Leaving directory'
+# messages which can occur if `w' ends up in MAKEFLAGS.
+# In particular we don't look at `^make:' because GNU make might
+# be invoked under some other name (usually "gmake"), in which
+# case it prints its new name instead of `make'.
+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
+ am__include=include
+ am__quote=
+ _am_result=GNU
+fi
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ fi
+fi
+
+
+{ echo "$as_me:$LINENO: result: $_am_result" >&5
+echo "${ECHO_T}$_am_result" >&6; }
+rm -f confinc confmf
+
+# Check whether --enable-dependency-tracking was given.
+if test "${enable_dependency_tracking+set}" = set; then
+ enableval=$enable_dependency_tracking;
+fi
+
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+fi
+ if test "x$enable_dependency_tracking" != xno; then
+ AMDEP_TRUE=
+ AMDEP_FALSE='#'
+else
+ AMDEP_TRUE='#'
+ AMDEP_FALSE=
+fi
+
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -3095,68 +3216,6 @@ ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
- if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
depcc="$CC" am_compiler_list=
@@ -3266,133 +3325,1061 @@ else
fi
-CFLAGS="-g -O -Wall"
-for ac_prog in bash
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+ if test "${ac_cv_prog_CPP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ # Double quotes because CPP needs to be expanded
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_path_BASH+set}" = set; then
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+@%:@ifdef __STDC__
+@%:@ include <limits.h>
+@%:@else
+@%:@ include <assert.h>
+@%:@endif
+ Syntax error
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ :
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Broken: fails on valid input.
+continue
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+@%:@include <ac_nonexistent.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ # Broken: success on invalid input.
+continue
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+ break
+fi
+
+ done
+ ac_cv_prog_CPP=$CPP
+
+fi
+ CPP=$ac_cv_prog_CPP
+else
+ ac_cv_prog_CPP=$CPP
+fi
+{ echo "$as_me:$LINENO: result: $CPP" >&5
+echo "${ECHO_T}$CPP" >&6; }
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+@%:@ifdef __STDC__
+@%:@ include <limits.h>
+@%:@else
+@%:@ include <assert.h>
+@%:@endif
+ Syntax error
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ :
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Broken: fails on valid input.
+continue
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+@%:@include <ac_nonexistent.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ # Broken: success on invalid input.
+continue
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+ :
+else
+ { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details." >&5
+echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
+echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
+if test "${ac_cv_path_GREP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- case $BASH in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
+ # Extract the first word of "grep ggrep" to use in msg output
+if test -z "$GREP"; then
+set dummy grep ggrep; ac_prog_name=$2
+if test "${ac_cv_path_GREP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_path_GREP_found=false
+# Loop through the user's path and test for each of PROGNAME-LIST
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
+ for ac_prog in grep ggrep; do
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
+ # Check for GNU ac_path_GREP and select it if it is found.
+ # Check for GNU $ac_path_GREP
+case `"$ac_path_GREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+*)
+ ac_count=0
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ echo 'GREP' >> "conftest.nl"
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ ac_count=`expr $ac_count + 1`
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_GREP="$ac_path_GREP"
+ ac_path_GREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+
+ $ac_path_GREP_found && break 3
+ done
done
+
done
IFS=$as_save_IFS
- ;;
-esac
+
+fi
+
+GREP="$ac_cv_path_GREP"
+if test -z "$GREP"; then
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
+ { (exit 1); exit 1; }; }
fi
-BASH=$ac_cv_path_BASH
-if test -n "$BASH"; then
- { echo "$as_me:$LINENO: result: $BASH" >&5
-echo "${ECHO_T}$BASH" >&6; }
+
else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+ ac_cv_path_GREP=$GREP
fi
- test -n "$BASH" && break
-done
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
+echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
+ GREP="$ac_cv_path_GREP"
+
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
+{ echo "$as_me:$LINENO: checking for egrep" >&5
+echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
+if test "${ac_cv_path_EGREP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+ then ac_cv_path_EGREP="$GREP -E"
+ else
+ # Extract the first word of "egrep" to use in msg output
+if test -z "$EGREP"; then
+set dummy egrep; ac_prog_name=$2
+if test "${ac_cv_path_EGREP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_path_EGREP_found=false
+# Loop through the user's path and test for each of PROGNAME-LIST
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
+ for ac_prog in egrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
+ # Check for GNU ac_path_EGREP and select it if it is found.
+ # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+*)
+ ac_count=0
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ echo 'EGREP' >> "conftest.nl"
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ ac_count=`expr $ac_count + 1`
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_EGREP="$ac_path_EGREP"
+ ac_path_EGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac
+
+
+ $ac_path_EGREP_found && break 3
+ done
+done
+
done
IFS=$as_save_IFS
fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
+
+EGREP="$ac_cv_path_EGREP"
+if test -z "$EGREP"; then
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
+ { (exit 1); exit 1; }; }
fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+else
+ ac_cv_path_EGREP=$EGREP
+fi
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+ fi
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
+echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
+ EGREP="$ac_cv_path_EGREP"
+
+{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
+if test "${ac_cv_header_stdc+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_header_stdc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_header_stdc=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "memchr" >/dev/null 2>&1; then
+ :
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "free" >/dev/null 2>&1; then
+ :
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+ if test "$cross_compiling" = yes; then
+ :
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <ctype.h>
+#include <stdlib.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+ (('a' <= (c) && (c) <= 'i') \
+ || ('j' <= (c) && (c) <= 'r') \
+ || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+ int i;
+ for (i = 0; i < 256; i++)
+ if (XOR (islower (i), ISLOWER (i))
+ || toupper (i) != TOUPPER (i))
+ return 2;
+ return 0;
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ :
+else
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+ac_cv_header_stdc=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+fi
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
+echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
+if test $ac_cv_header_stdc = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+@%:@define STDC_HEADERS 1
+_ACEOF
+
+fi
+
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+
+
+
+
+
+
+
+
+
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+ inttypes.h stdint.h unistd.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+
+@%:@include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ eval "$as_ac_Header=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_Header=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+if test "${ac_cv_header_aspell_h+set}" = set; then
+ { echo "$as_me:$LINENO: checking for aspell.h" >&5
+echo $ECHO_N "checking for aspell.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_aspell_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_aspell_h" >&5
+echo "${ECHO_T}$ac_cv_header_aspell_h" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking aspell.h usability" >&5
+echo $ECHO_N "checking aspell.h usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+@%:@include <aspell.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking aspell.h presence" >&5
+echo $ECHO_N "checking aspell.h presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+@%:@include <aspell.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: aspell.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: aspell.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: aspell.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: aspell.h: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: aspell.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: aspell.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: aspell.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: aspell.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: aspell.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: aspell.h: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: aspell.h: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: aspell.h: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: aspell.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: aspell.h: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: aspell.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: aspell.h: in the future, the compiler will take precedence" >&2;}
+ ( cat <<\_ASBOX
+@%:@@%:@ ----------------------------------- @%:@@%:@
+@%:@@%:@ Report this to santhosh00@gmail.com @%:@@%:@
+@%:@@%:@ ----------------------------------- @%:@@%:@
+_ASBOX
+ ) | sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for aspell.h" >&5
+echo $ECHO_N "checking for aspell.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_aspell_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_aspell_h=$ac_header_preproc
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_aspell_h" >&5
+echo "${ECHO_T}$ac_cv_header_aspell_h" >&6; }
+
+fi
+if test $ac_cv_header_aspell_h = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+@%:@define HAVE_ASPELL_H 1
+_ACEOF
+
+fi
+
+
+ac_config_headers="$ac_config_headers config.h"
+
+if test "${ac_cv_header_pspell_pspell_h+set}" = set; then
+ { echo "$as_me:$LINENO: checking for pspell/pspell.h" >&5
+echo $ECHO_N "checking for pspell/pspell.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_pspell_pspell_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_pspell_pspell_h" >&5
+echo "${ECHO_T}$ac_cv_header_pspell_pspell_h" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking pspell/pspell.h usability" >&5
+echo $ECHO_N "checking pspell/pspell.h usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+@%:@include <pspell/pspell.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking pspell/pspell.h presence" >&5
+echo $ECHO_N "checking pspell/pspell.h presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+@%:@include <pspell/pspell.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: pspell/pspell.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: pspell/pspell.h: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: pspell/pspell.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: pspell/pspell.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: pspell/pspell.h: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: pspell/pspell.h: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: pspell/pspell.h: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: pspell/pspell.h: in the future, the compiler will take precedence" >&2;}
+ ( cat <<\_ASBOX
+@%:@@%:@ ----------------------------------- @%:@@%:@
+@%:@@%:@ Report this to santhosh00@gmail.com @%:@@%:@
+@%:@@%:@ ----------------------------------- @%:@@%:@
+_ASBOX
+ ) | sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for pspell/pspell.h" >&5
+echo $ECHO_N "checking for pspell/pspell.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_pspell_pspell_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_pspell_pspell_h=$ac_header_preproc
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_pspell_pspell_h" >&5
+echo "${ECHO_T}$ac_cv_header_pspell_pspell_h" >&6; }
+
+fi
+if test $ac_cv_header_pspell_pspell_h = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+@%:@define HAVE_PSPELL_H 1
+_ACEOF
+
+fi
+
+
+{ echo "$as_me:$LINENO: checking for new_aspell_speller in -laspell" >&5
+echo $ECHO_N "checking for new_aspell_speller in -laspell... $ECHO_C" >&6; }
+if test "${ac_cv_lib_aspell_new_aspell_speller+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-laspell $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char new_aspell_speller ();
+int
+main ()
+{
+return new_aspell_speller ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_aspell_new_aspell_speller=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_aspell_new_aspell_speller=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_aspell_new_aspell_speller" >&5
+echo "${ECHO_T}$ac_cv_lib_aspell_new_aspell_speller" >&6; }
+if test $ac_cv_lib_aspell_new_aspell_speller = yes; then
+ SPELLER_LIB="-laspell"
+else
+ { echo "$as_me:$LINENO: checking for new_pspell_manager in -lpspell" >&5
+echo $ECHO_N "checking for new_pspell_manager in -lpspell... $ECHO_C" >&6; }
+if test "${ac_cv_lib_pspell_new_pspell_manager+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lpspell $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char new_pspell_manager ();
+int
+main ()
+{
+return new_pspell_manager ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_pspell_new_pspell_manager=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_pspell_new_pspell_manager=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_pspell_new_pspell_manager" >&5
+echo "${ECHO_T}$ac_cv_lib_pspell_new_pspell_manager" >&6; }
+if test $ac_cv_lib_pspell_new_pspell_manager = yes; then
+ SPELLER_LIB="-lpspell"
+else
+ { { echo "$as_me:$LINENO: error: You must have the aspell or pspell dev libraries to build gtkspell." >&5
+echo "$as_me: error: You must have the aspell or pspell dev libraries to build gtkspell." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+fi
+
+
+
+SULEKHA_PACKAGES=gtk+-2.0
@@ -3524,18 +4511,12 @@ if test -n "$PKG_CONFIG"; then
pkg_cv_SULEKHA_CFLAGS="$SULEKHA_CFLAGS"
else
if test -n "$PKG_CONFIG" && \
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
- gtk+-2.0 >= 2.10.0
-\"") >&5
- ($PKG_CONFIG --exists --print-errors "
- gtk+-2.0 >= 2.10.0
-") 2>&5
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SULEKHA_PACKAGES\"") >&5
+ ($PKG_CONFIG --exists --print-errors "$SULEKHA_PACKAGES") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_SULEKHA_CFLAGS=`$PKG_CONFIG --cflags "
- gtk+-2.0 >= 2.10.0
-" 2>/dev/null`
+ pkg_cv_SULEKHA_CFLAGS=`$PKG_CONFIG --cflags "$SULEKHA_PACKAGES" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -3548,18 +4529,12 @@ if test -n "$PKG_CONFIG"; then
pkg_cv_SULEKHA_LIBS="$SULEKHA_LIBS"
else
if test -n "$PKG_CONFIG" && \
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
- gtk+-2.0 >= 2.10.0
-\"") >&5
- ($PKG_CONFIG --exists --print-errors "
- gtk+-2.0 >= 2.10.0
-") 2>&5
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SULEKHA_PACKAGES\"") >&5
+ ($PKG_CONFIG --exists --print-errors "$SULEKHA_PACKAGES") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_SULEKHA_LIBS=`$PKG_CONFIG --libs "
- gtk+-2.0 >= 2.10.0
-" 2>/dev/null`
+ pkg_cv_SULEKHA_LIBS=`$PKG_CONFIG --libs "$SULEKHA_PACKAGES" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -3578,20 +4553,14 @@ else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- SULEKHA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "
- gtk+-2.0 >= 2.10.0
-"`
+ SULEKHA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SULEKHA_PACKAGES"`
else
- SULEKHA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "
- gtk+-2.0 >= 2.10.0
-"`
+ SULEKHA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SULEKHA_PACKAGES"`
fi
# Put the nasty error message in config.log where it belongs
echo "$SULEKHA_PKG_ERRORS" >&5
- { { echo "$as_me:$LINENO: error: Package requirements (
- gtk+-2.0 >= 2.10.0
-) were not met:
+ { { echo "$as_me:$LINENO: error: Package requirements ($SULEKHA_PACKAGES) were not met:
$SULEKHA_PKG_ERRORS
@@ -3602,9 +4571,7 @@ Alternatively, you may set the environment variables SULEKHA_CFLAGS
and SULEKHA_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
" >&5
-echo "$as_me: error: Package requirements (
- gtk+-2.0 >= 2.10.0
-) were not met:
+echo "$as_me: error: Package requirements ($SULEKHA_PACKAGES) were not met:
$SULEKHA_PKG_ERRORS
@@ -3645,10 +4612,1049 @@ else
echo "${ECHO_T}yes" >&6; }
:
fi
-GEDIT_LIBS="${SULEKHA_LIBS}"
-ac_config_files="$ac_config_files Makefile"
+
+DEBUG=1
+
+
+# check Pango version so we can use PANGO_UNDERLINE_ERROR when available:
+
+pkg_failed=no
+{ echo "$as_me:$LINENO: checking for PANGO" >&5
+echo $ECHO_N "checking for PANGO... $ECHO_C" >&6; }
+
+if test -n "$PKG_CONFIG"; then
+ if test -n "$PANGO_CFLAGS"; then
+ pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
+ else
+ if test -n "$PKG_CONFIG" && \
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.3.5\"") >&5
+ ($PKG_CONFIG --exists --print-errors "pango >= 1.3.5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango >= 1.3.5" 2>/dev/null`
+else
+ pkg_failed=yes
+fi
+ fi
+else
+ pkg_failed=untried
+fi
+if test -n "$PKG_CONFIG"; then
+ if test -n "$PANGO_LIBS"; then
+ pkg_cv_PANGO_LIBS="$PANGO_LIBS"
+ else
+ if test -n "$PKG_CONFIG" && \
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.3.5\"") >&5
+ ($PKG_CONFIG --exists --print-errors "pango >= 1.3.5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango >= 1.3.5" 2>/dev/null`
+else
+ pkg_failed=yes
+fi
+ fi
+else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pango >= 1.3.5"`
+ else
+ PANGO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pango >= 1.3.5"`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$PANGO_PKG_ERRORS" >&5
+
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ { echo "$as_me:$LINENO: WARNING: Disabling new error underlining since pango < 1.3.5" >&5
+echo "$as_me: WARNING: Disabling new error underlining since pango < 1.3.5" >&2;}
+elif test $pkg_failed = untried; then
+ { echo "$as_me:$LINENO: WARNING: Disabling new error underlining since pango < 1.3.5" >&5
+echo "$as_me: WARNING: Disabling new error underlining since pango < 1.3.5" >&2;}
+else
+ PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
+ PANGO_LIBS=$pkg_cv_PANGO_LIBS
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+
+cat >>confdefs.h <<\_ACEOF
+@%:@define HAVE_PANGO_UNDERLINE_ERROR 1
+_ACEOF
+
+fi
+
+# check Pango version to see if word breaking bug is fixed:
+#PKG_CHECK_MODULES(PANGO, [pango >= 1.8.0],
+# [AC_DEFINE(FIXED_PANGO, 1, [Define to 1 if pango >= 1.8.0.])],
+# [AC_MSG_WARN([Enabling word-breaking workarounds since pango < 1.8.0])])
+
+# gtk-doc check:
+# gtk-doc check:
+# from http://cvs.gnome.org/lxr/source/gtk-doc/examples/configure.in
+
+# Check whether --with-html-dir was given.
+if test "${with_html_dir+set}" = set; then
+ withval=$with_html_dir;
+fi
+
+
+if test "x$with_html_dir" = "x" ; then
+ HTML_DIR='${datadir}/gtk-doc/html'
+else
+ HTML_DIR=$with_html_dir
+fi
+
+
+
+gtk_doc_min_version=1.0
+{ echo "$as_me:$LINENO: checking gtk-doc version >= $gtk_doc_min_version" >&5
+echo $ECHO_N "checking gtk-doc version >= $gtk_doc_min_version... $ECHO_C" >&6; }
+if pkg-config --atleast-version=$gtk_doc_min_version gtk-doc; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ GTKDOC=true
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ GTKDOC=false
+fi
+
+# Check whether --enable-gtk-doc was given.
+if test "${enable_gtk_doc+set}" = set; then
+ enableval=$enable_gtk_doc; enable_gtk_doc="$enableval"
+else
+ enable_gtk_doc=auto
+fi
+
+
+if test x$enable_gtk_doc = xauto ; then
+ if test x$GTKDOC = xtrue ; then
+ enable_gtk_doc=yes
+ else
+ enable_gtk_doc=no
+ fi
+fi
+
+ if test x$enable_gtk_doc = xyes; then
+ ENABLE_GTK_DOC_TRUE=
+ ENABLE_GTK_DOC_FALSE='#'
+else
+ ENABLE_GTK_DOC_TRUE='#'
+ ENABLE_GTK_DOC_FALSE=
+fi
+
+
+# end gtk-doc check.
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+echo "${ECHO_T}$ac_ct_CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf@gnu.org." >&5
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $@%:@ != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+echo "${ECHO_T}$ac_ct_CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf@gnu.org." >&5
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
+See \`config.log' for more details." >&5
+echo "$as_me: error: no acceptable C compiler found in \$PATH
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+
+# Provide some information about the compiler.
+echo "$as_me:$LINENO: checking for C compiler version" >&5
+ac_compiler=`set X $ac_compile; echo $2`
+{ (ac_try="$ac_compiler --version >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compiler --version >&5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (ac_try="$ac_compiler -v >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compiler -v >&5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (ac_try="$ac_compiler -V >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compiler -V >&5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
+if test "${ac_cv_c_compiler_gnu+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_compiler_gnu=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_compiler_gnu=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
+GCC=`test $ac_compiler_gnu = yes && echo yes`
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
+if test "${ac_cv_prog_cc_g+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_prog_cc_g=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ CFLAGS=""
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_prog_cc_g=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
+echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
+if test "${ac_cv_prog_cc_c89+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_prog_cc_c89=$ac_arg
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { echo "$as_me:$LINENO: result: none needed" >&5
+echo "${ECHO_T}none needed" >&6; } ;;
+ xno)
+ { echo "$as_me:$LINENO: result: unsupported" >&5
+echo "${ECHO_T}unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
+echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+depcc="$CC" am_compiler_list=
+
+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named `D' -- because `-MD' means `put the output
+ # in D'.
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+ # Solaris 8's {/usr,}/bin/sh.
+ touch sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ case $depmode in
+ nosideeffect)
+ # after this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ none) break ;;
+ esac
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle `-M -o', and we need to detect this.
+ if depmode=$depmode \
+ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
+echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+#AC_PROG_LIBTOOL
+
+{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
+echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
+if test "${ac_cv_c_const+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+/* FIXME: Include the comments suggested by Paul. */
+#ifndef __cplusplus
+ /* Ultrix mips cc rejects this. */
+ typedef int charset[2];
+ const charset cs;
+ /* SunOS 4.1.1 cc rejects this. */
+ char const *const *pcpcc;
+ char **ppc;
+ /* NEC SVR4.0.2 mips cc rejects this. */
+ struct point {int x, y;};
+ static struct point const zero = {0,0};
+ /* AIX XL C 1.02.0.0 rejects this.
+ It does not let you subtract one const X* pointer from another in
+ an arm of an if-expression whose if-part is not a constant
+ expression */
+ const char *g = "string";
+ pcpcc = &g + (g ? g-g : 0);
+ /* HPUX 7.0 cc rejects these. */
+ ++pcpcc;
+ ppc = (char**) pcpcc;
+ pcpcc = (char const *const *) ppc;
+ { /* SCO 3.2v4 cc rejects this. */
+ char *t;
+ char const *s = 0 ? (char *) 0 : (char const *) 0;
+
+ *t++ = 0;
+ if (s) return 0;
+ }
+ { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
+ int x[] = {25, 17};
+ const int *foo = &x[0];
+ ++foo;
+ }
+ { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
+ typedef const int *iptr;
+ iptr p = 0;
+ ++p;
+ }
+ { /* AIX XL C 1.02.0.0 rejects this saying
+ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
+ struct s { int j; const int *ap[3]; };
+ struct s *b; b->j = 5;
+ }
+ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
+ const int foo = 10;
+ if (!foo) return 0;
+ }
+ return !cs[0] && !zero.x;
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_c_const=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_c_const=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
+echo "${ECHO_T}$ac_cv_c_const" >&6; }
+if test $ac_cv_c_const = no; then
+
+cat >>confdefs.h <<\_ACEOF
+@%:@define const
+_ACEOF
+
+fi
+
+
+
+ac_config_files="$ac_config_files Makefile src/Makefile"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
@@ -3728,37 +5734,7 @@ test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
+DEFS=-DHAVE_CONFIG_H
ac_libobjs=
ac_ltlibobjs=
@@ -3790,6 +5766,20 @@ echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
+if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
: ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
@@ -4090,7 +6080,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 Spell $as_me 0.8, which was
+This file was extended by sulekha $as_me 0.0.11, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -4107,6 +6097,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
# Files that config.status was made for.
config_files="$ac_config_files"
+config_headers="$ac_config_headers"
config_commands="$ac_config_commands"
_ACEOF
@@ -4125,10 +6116,15 @@ Usage: $0 [OPTIONS] [FILE]...
--recheck update $as_me by reconfiguring in the same conditions
--file=FILE[:TEMPLATE]
instantiate the configuration file FILE
+ --header=FILE[:TEMPLATE]
+ instantiate the configuration header FILE
Configuration files:
$config_files
+Configuration headers:
+$config_headers
+
Configuration commands:
$config_commands
@@ -4137,7 +6133,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-Spell config.status 0.8
+sulekha config.status 0.0.11
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
@@ -4182,7 +6178,16 @@ do
$ac_shift
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
+ --header | --heade | --head | --hea )
+ $ac_shift
+ CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
+ ac_need_defaults=false;;
+ --he | --h)
+ # Conflict between --help and --header
+ { echo "$as_me: error: ambiguous option: $1
+Try \`$0 --help' for more information." >&2
+ { (exit 1); exit 1; }; };;
+ --help | --hel | -h )
echo "$ac_cs_usage"; exit ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil | --si | --s)
@@ -4243,7 +6248,9 @@ for ac_config_target in $ac_config_targets
do
case $ac_config_target in
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
@@ -4258,6 +6265,7 @@ done
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
fi
@@ -4380,15 +6388,25 @@ AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
CCDEPMODE!$CCDEPMODE$ac_delim
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-BASH!$BASH$ac_delim
+CPP!$CPP$ac_delim
+GREP!$GREP$ac_delim
+EGREP!$EGREP$ac_delim
+SPELLER_LIB!$SPELLER_LIB$ac_delim
+SULEKHA_PACKAGES!$SULEKHA_PACKAGES$ac_delim
PKG_CONFIG!$PKG_CONFIG$ac_delim
SULEKHA_CFLAGS!$SULEKHA_CFLAGS$ac_delim
SULEKHA_LIBS!$SULEKHA_LIBS$ac_delim
+DEBUG!$DEBUG$ac_delim
+PANGO_CFLAGS!$PANGO_CFLAGS$ac_delim
+PANGO_LIBS!$PANGO_LIBS$ac_delim
+HTML_DIR!$HTML_DIR$ac_delim
+ENABLE_GTK_DOC_TRUE!$ENABLE_GTK_DOC_TRUE$ac_delim
+ENABLE_GTK_DOC_FALSE!$ENABLE_GTK_DOC_FALSE$ac_delim
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 91; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
@@ -4445,7 +6463,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF
fi # test -n "$CONFIG_FILES"
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
+for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
do
case $ac_tag in
:[FHLC]) ac_mode=$ac_tag; continue;;
@@ -4691,7 +6709,137 @@ which seems to be undefined. Please make sure it is defined." >&2;}
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
esac
;;
-
+ :H)
+ #
+ # CONFIG_HEADER
+ #
+_ACEOF
+
+# Transform confdefs.h into a sed script `conftest.defines', that
+# substitutes the proper values into config.h.in to produce config.h.
+rm -f conftest.defines conftest.tail
+# First, append a space to every undef/define line, to ease matching.
+echo 's/$/ /' >conftest.defines
+# Then, protect against being on the right side of a sed subst, or in
+# an unquoted here document, in config.status. If some macros were
+# called several times there might be several #defines for the same
+# symbol, which is useless. But do not sort them, since the last
+# AC_DEFINE must be honored.
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
+# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
+# NAME is the cpp macro being defined, VALUE is the value it is being given.
+# PARAMS is the parameter list in the macro definition--in most cases, it's
+# just an empty string.
+ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
+ac_dB='\\)[ (].*,\\1define\\2'
+ac_dC=' '
+ac_dD=' ,'
+
+uniq confdefs.h |
+ sed -n '
+ t rset
+ :rset
+ s/^[ ]*#[ ]*define[ ][ ]*//
+ t ok
+ d
+ :ok
+ s/[\\&,]/\\&/g
+ s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
+ s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
+ ' >>conftest.defines
+
+# Remove the space that was appended to ease matching.
+# Then replace #undef with comments. This is necessary, for
+# example, in the case of _POSIX_SOURCE, which is predefined and required
+# on some systems where configure will not decide to define it.
+# (The regexp can be short, since the line contains either #define or #undef.)
+echo 's/ $//
+s,^[ #]*u.*,/* & */,' >>conftest.defines
+
+# Break up conftest.defines:
+ac_max_sed_lines=50
+
+# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
+# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
+# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
+# et cetera.
+ac_in='$ac_file_inputs'
+ac_out='"$tmp/out1"'
+ac_nxt='"$tmp/out2"'
+
+while :
+do
+ # Write a here document:
+ cat >>$CONFIG_STATUS <<_ACEOF
+ # First, check the format of the line:
+ cat >"\$tmp/defines.sed" <<\\CEOF
+/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
+/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
+b
+:def
+_ACEOF
+ sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
+ echo 'CEOF
+ sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
+ ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
+ sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
+ grep . conftest.tail >/dev/null || break
+ rm -f conftest.defines
+ mv conftest.tail conftest.defines
+done
+rm -f conftest.defines conftest.tail
+
+echo "ac_result=$ac_in" >>$CONFIG_STATUS
+cat >>$CONFIG_STATUS <<\_ACEOF
+ if test x"$ac_file" != x-; then
+ echo "/* $configure_input */" >"$tmp/config.h"
+ cat "$ac_result" >>"$tmp/config.h"
+ if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
+ { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
+echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ rm -f $ac_file
+ mv "$tmp/config.h" $ac_file
+ fi
+ else
+ echo "/* $configure_input */"
+ cat "$ac_result"
+ fi
+ rm -f "$tmp/out12"
+# Compute $ac_file's index in $config_headers.
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $ac_file | $ac_file:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
+$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X$ac_file : 'X\(//\)[^/]' \| \
+ X$ac_file : 'X\(//\)$' \| \
+ X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
+echo X$ac_file |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`/stamp-h$_am_stamp_count
+ ;;
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
echo "$as_me: executing $ac_file commands" >&6;}
diff --git a/input-methods/sulekha/autom4te.cache/requests b/input-methods/sulekha/autom4te.cache/requests
index 615e6b0..9cc5c3f 100644
--- a/input-methods/sulekha/autom4te.cache/requests
+++ b/input-methods/sulekha/autom4te.cache/requests
@@ -14,15 +14,15 @@
'configure.ac'
],
{
- '_LT_AC_TAGCONFIG' => 1,
'AM_PROG_F77_C_O' => 1,
- 'AC_INIT' => 1,
+ '_LT_AC_TAGCONFIG' => 1,
'm4_pattern_forbid' => 1,
+ 'AC_INIT' => 1,
'AC_CANONICAL_TARGET' => 1,
- 'AC_CONFIG_LIBOBJ_DIR' => 1,
'AC_SUBST' => 1,
- 'AC_CANONICAL_HOST' => 1,
+ 'AC_CONFIG_LIBOBJ_DIR' => 1,
'AC_FC_SRCEXT' => 1,
+ 'AC_CANONICAL_HOST' => 1,
'AC_PROG_LIBTOOL' => 1,
'AM_INIT_AUTOMAKE' => 1,
'AC_CONFIG_SUBDIRS' => 1,
@@ -30,8 +30,8 @@
'LT_CONFIG_LTDL_DIR' => 1,
'AC_CONFIG_LINKS' => 1,
'AC_REQUIRE_AUX_FILE' => 1,
- 'LT_SUPPORTED_TAG' => 1,
'm4_sinclude' => 1,
+ 'LT_SUPPORTED_TAG' => 1,
'AM_MAINTAINER_MODE' => 1,
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
'_m4_warn' => 1,
@@ -48,11 +48,11 @@
'AH_OUTPUT' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'AC_CONFIG_AUX_DIR' => 1,
- 'm4_pattern_allow' => 1,
- 'AM_PROG_CC_C_O' => 1,
'sinclude' => 1,
- 'AM_CONDITIONAL' => 1,
+ 'AM_PROG_CC_C_O' => 1,
+ 'm4_pattern_allow' => 1,
'AC_CANONICAL_SYSTEM' => 1,
+ 'AM_CONDITIONAL' => 1,
'AC_CONFIG_HEADERS' => 1,
'AC_DEFINE_TRACE_LITERAL' => 1,
'm4_include' => 1,
@@ -136,15 +136,15 @@
'configure.ac'
],
{
- '_LT_AC_TAGCONFIG' => 1,
'AM_PROG_F77_C_O' => 1,
- 'AC_INIT' => 1,
+ '_LT_AC_TAGCONFIG' => 1,
'm4_pattern_forbid' => 1,
+ 'AC_INIT' => 1,
'AC_CANONICAL_TARGET' => 1,
- 'AC_CONFIG_LIBOBJ_DIR' => 1,
'AC_SUBST' => 1,
- 'AC_CANONICAL_HOST' => 1,
+ 'AC_CONFIG_LIBOBJ_DIR' => 1,
'AC_FC_SRCEXT' => 1,
+ 'AC_CANONICAL_HOST' => 1,
'AC_PROG_LIBTOOL' => 1,
'AM_INIT_AUTOMAKE' => 1,
'AC_CONFIG_SUBDIRS' => 1,
@@ -152,8 +152,8 @@
'LT_CONFIG_LTDL_DIR' => 1,
'AC_CONFIG_LINKS' => 1,
'AC_REQUIRE_AUX_FILE' => 1,
- 'LT_SUPPORTED_TAG' => 1,
'm4_sinclude' => 1,
+ 'LT_SUPPORTED_TAG' => 1,
'AM_MAINTAINER_MODE' => 1,
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
'_m4_warn' => 1,
@@ -170,11 +170,11 @@
'AH_OUTPUT' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'AC_CONFIG_AUX_DIR' => 1,
- 'm4_pattern_allow' => 1,
- 'AM_PROG_CC_C_O' => 1,
'sinclude' => 1,
- 'AM_CONDITIONAL' => 1,
+ 'AM_PROG_CC_C_O' => 1,
+ 'm4_pattern_allow' => 1,
'AC_CANONICAL_SYSTEM' => 1,
+ 'AM_CONDITIONAL' => 1,
'AC_CONFIG_HEADERS' => 1,
'AC_DEFINE_TRACE_LITERAL' => 1,
'm4_include' => 1,
@@ -242,6 +242,231 @@
'AM_SET_LEADING_DOT' => 1,
'AM_SET_DEPDIR' => 1,
'_AM_DEPENDENCIES' => 1,
+ 'AM_PROG_INSTALL_SH' => 1,
+ 'PKG_PROG_PKG_CONFIG' => 1,
+ 'm4_include' => 1,
+ 'PKG_CHECK_MODULES' => 1,
+ '_AC_AM_CONFIG_HEADER_HOOK' => 1,
+ 'AU_DEFUN' => 1,
+ 'AM_MAKE_INCLUDE' => 1
+ }
+ ], 'Autom4te::Request' ),
+ bless( [
+ '4',
+ 1,
+ [
+ '/usr/share/autoconf'
+ ],
+ [
+ '/usr/share/autoconf/autoconf/autoconf.m4f',
+ '/usr/share/aclocal/libtool.m4',
+ '/usr/share/aclocal/pkg.m4',
+ '/usr/share/aclocal-1.10/amversion.m4',
+ '/usr/share/aclocal-1.10/auxdir.m4',
+ '/usr/share/aclocal-1.10/cond.m4',
+ '/usr/share/aclocal-1.10/depend.m4',
+ '/usr/share/aclocal-1.10/depout.m4',
+ '/usr/share/aclocal-1.10/init.m4',
+ '/usr/share/aclocal-1.10/install-sh.m4',
+ '/usr/share/aclocal-1.10/lead-dot.m4',
+ '/usr/share/aclocal-1.10/make.m4',
+ '/usr/share/aclocal-1.10/missing.m4',
+ '/usr/share/aclocal-1.10/mkdirp.m4',
+ '/usr/share/aclocal-1.10/options.m4',
+ '/usr/share/aclocal-1.10/runlog.m4',
+ '/usr/share/aclocal-1.10/sanity.m4',
+ '/usr/share/aclocal-1.10/strip.m4',
+ '/usr/share/aclocal-1.10/substnot.m4',
+ '/usr/share/aclocal-1.10/tar.m4',
+ 'configure.ac'
+ ],
+ {
+ '_LT_AC_TAGCONFIG' => 1,
+ 'm4_pattern_forbid' => 1,
+ 'AM_ENABLE_STATIC' => 1,
+ 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
+ 'AC_LIBTOOL_COMPILER_OPTION' => 1,
+ '_LT_AC_SHELL_INIT' => 1,
+ 'AC_DISABLE_SHARED' => 1,
+ '_LT_COMPILER_BOILERPLATE' => 1,
+ 'AC_DEFUN' => 1,
+ '_LT_AC_LANG_CXX_CONFIG' => 1,
+ 'AC_LIBTOOL_WIN32_DLL' => 1,
+ 'AC_LIBTOOL_SETUP' => 1,
+ 'AC_PROG_LIBTOOL' => 1,
+ 'AC_PROG_LD_RELOAD_FLAG' => 1,
+ 'AM_PROG_MKDIR_P' => 1,
+ 'AM_AUTOMAKE_VERSION' => 1,
+ 'AM_MISSING_HAS_RUN' => 1,
+ 'AM_MISSING_PROG' => 1,
+ 'AC_LIBTOOL_DLOPEN_SELF' => 1,
+ 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
+ '_LT_AC_LANG_C_CONFIG' => 1,
+ 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
+ 'AM_PROG_INSTALL_STRIP' => 1,
+ '_PKG_SHORT_ERRORS_SUPPORTED' => 1,
+ '_m4_warn' => 1,
+ 'AC_LIBTOOL_OBJDIR' => 1,
+ 'AC_LIBTOOL_LINKER_OPTION' => 1,
+ 'AM_SANITY_CHECK' => 1,
+ 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
+ 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
+ 'PKG_CHECK_EXISTS' => 1,
+ 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
+ '_LT_AC_CHECK_DLFCN' => 1,
+ 'AC_LIBTOOL_CXX' => 1,
+ 'LT_AC_PROG_RC' => 1,
+ '_AM_PROG_TAR' => 1,
+ 'LT_AC_PROG_GCJ' => 1,
+ 'AC_LIBTOOL_GCJ' => 1,
+ 'AM_DISABLE_STATIC' => 1,
+ '_LT_AC_PROG_CXXCPP' => 1,
+ 'AM_DEP_TRACK' => 1,
+ '_AC_PROG_LIBTOOL' => 1,
+ 'AC_LIBTOOL_CONFIG' => 1,
+ '_LT_AC_LANG_F77' => 1,
+ '_AM_IF_OPTION' => 1,
+ 'AC_PATH_TOOL_PREFIX' => 1,
+ '_AM_SUBST_NOTMAKE' => 1,
+ 'm4_pattern_allow' => 1,
+ '_AM_AUTOCONF_VERSION' => 1,
+ 'AC_LIBTOOL_F77' => 1,
+ 'AM_DISABLE_SHARED' => 1,
+ 'AM_SET_LEADING_DOT' => 1,
+ 'AM_PROG_LIBTOOL' => 1,
+ '_LT_AC_LANG_CXX' => 1,
+ 'AM_PROG_LD' => 1,
+ '_LT_AC_FILE_LTDLL_C' => 1,
+ '_AM_DEPENDENCIES' => 1,
+ 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
+ '_LT_AC_SYS_COMPILER' => 1,
+ 'AM_PROG_NM' => 1,
+ 'PKG_CHECK_MODULES' => 1,
+ 'AU_DEFUN' => 1,
+ 'AC_PROG_NM' => 1,
+ 'AC_LIBTOOL_DLOPEN' => 1,
+ 'AC_LIBLTDL_CONVENIENCE' => 1,
+ 'AC_PROG_LD' => 1,
+ 'AC_ENABLE_FAST_INSTALL' => 1,
+ 'AC_PROG_LD_GNU' => 1,
+ 'AC_DEPLIBS_CHECK_METHOD' => 1,
+ 'AC_LIBLTDL_INSTALLABLE' => 1,
+ 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
+ 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
+ '_AM_SET_OPTION' => 1,
+ '_LT_LINKER_BOILERPLATE' => 1,
+ 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
+ 'AC_LIBTOOL_PROG_CC_C_O' => 1,
+ 'AM_INIT_AUTOMAKE' => 1,
+ 'AC_DISABLE_STATIC' => 1,
+ 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+ 'AC_DEFUN_ONCE' => 1,
+ '_LT_AC_LOCK' => 1,
+ '_LT_AC_LANG_RC_CONFIG' => 1,
+ '_LT_AC_LANG_GCJ' => 1,
+ 'AC_LIBTOOL_RC' => 1,
+ 'AC_DISABLE_FAST_INSTALL' => 1,
+ '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
+ 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
+ 'include' => 1,
+ '_LT_AC_TRY_DLOPEN_SELF' => 1,
+ '_LT_AC_SYS_LIBPATH_AIX' => 1,
+ 'LT_AC_PROG_SED' => 1,
+ 'AM_ENABLE_SHARED' => 1,
+ 'AM_AUX_DIR_EXPAND' => 1,
+ '_LT_AC_LANG_GCJ_CONFIG' => 1,
+ '_LT_AC_LANG_F77_CONFIG' => 1,
+ 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
+ 'AC_ENABLE_SHARED' => 1,
+ '_AM_SET_OPTIONS' => 1,
+ '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+ 'AM_RUN_LOG' => 1,
+ 'AC_LIBTOOL_PICMODE' => 1,
+ 'AC_CHECK_LIBM' => 1,
+ 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
+ 'AC_ENABLE_STATIC' => 1,
+ 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
+ '_LT_AC_TAGVAR' => 1,
+ 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
+ '_AM_MANGLE_OPTION' => 1,
+ 'AM_CONDITIONAL' => 1,
+ 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
+ 'AM_SET_DEPDIR' => 1,
+ 'm4_include' => 1,
+ 'PKG_PROG_PKG_CONFIG' => 1,
+ 'AM_PROG_INSTALL_SH' => 1,
+ '_LT_CC_BASENAME' => 1,
+ 'AC_PROG_EGREP' => 1,
+ '_AC_AM_CONFIG_HEADER_HOOK' => 1,
+ 'AC_PATH_MAGIC' => 1,
+ 'AM_MAKE_INCLUDE' => 1
+ }
+ ], 'Autom4te::Request' ),
+ bless( [
+ '5',
+ 1,
+ [
+ '/usr/share/autoconf'
+ ],
+ [
+ '/usr/share/autoconf/autoconf/autoconf.m4f',
+ '/usr/share/aclocal/glib-gettext.m4',
+ '/usr/share/aclocal/pkg.m4',
+ '/usr/share/aclocal-1.10/amversion.m4',
+ '/usr/share/aclocal-1.10/auxdir.m4',
+ '/usr/share/aclocal-1.10/cond.m4',
+ '/usr/share/aclocal-1.10/depend.m4',
+ '/usr/share/aclocal-1.10/depout.m4',
+ '/usr/share/aclocal-1.10/init.m4',
+ '/usr/share/aclocal-1.10/install-sh.m4',
+ '/usr/share/aclocal-1.10/lead-dot.m4',
+ '/usr/share/aclocal-1.10/make.m4',
+ '/usr/share/aclocal-1.10/missing.m4',
+ '/usr/share/aclocal-1.10/mkdirp.m4',
+ '/usr/share/aclocal-1.10/options.m4',
+ '/usr/share/aclocal-1.10/runlog.m4',
+ '/usr/share/aclocal-1.10/sanity.m4',
+ '/usr/share/aclocal-1.10/strip.m4',
+ '/usr/share/aclocal-1.10/substnot.m4',
+ '/usr/share/aclocal-1.10/tar.m4',
+ 'configure.ac'
+ ],
+ {
+ 'm4_pattern_forbid' => 1,
+ 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
+ '_AM_SET_OPTION' => 1,
+ 'AC_DEFUN' => 1,
+ 'AM_GLIB_DEFINE_LOCALEDIR' => 1,
+ 'GLIB_RUN_PROG' => 1,
+ 'AM_PROG_MKDIR_P' => 1,
+ 'AM_GLIB_GNU_GETTEXT' => 1,
+ 'AM_INIT_AUTOMAKE' => 1,
+ 'AM_AUTOMAKE_VERSION' => 1,
+ 'AM_MISSING_HAS_RUN' => 1,
+ 'AM_MISSING_PROG' => 1,
+ 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+ 'AC_DEFUN_ONCE' => 1,
+ 'AM_PROG_INSTALL_STRIP' => 1,
+ '_PKG_SHORT_ERRORS_SUPPORTED' => 1,
+ '_m4_warn' => 1,
+ 'AM_SANITY_CHECK' => 1,
+ 'PKG_CHECK_EXISTS' => 1,
+ 'include' => 1,
+ '_AM_PROG_TAR' => 1,
+ 'AM_AUX_DIR_EXPAND' => 1,
+ 'AM_DEP_TRACK' => 1,
+ '_AM_SET_OPTIONS' => 1,
+ 'AM_RUN_LOG' => 1,
+ '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+ '_AM_IF_OPTION' => 1,
+ '_AM_SUBST_NOTMAKE' => 1,
+ 'm4_pattern_allow' => 1,
+ '_AM_AUTOCONF_VERSION' => 1,
+ '_AM_MANGLE_OPTION' => 1,
+ 'AM_SET_LEADING_DOT' => 1,
+ 'AM_CONDITIONAL' => 1,
+ 'AM_SET_DEPDIR' => 1,
+ '_AM_DEPENDENCIES' => 1,
'm4_include' => 1,
'PKG_PROG_PKG_CONFIG' => 1,
'AM_PROG_INSTALL_SH' => 1,
diff --git a/input-methods/sulekha/autom4te.cache/traces.2 b/input-methods/sulekha/autom4te.cache/traces.2
index fa0f2be..81327ac 100644
--- a/input-methods/sulekha/autom4te.cache/traces.2
+++ b/input-methods/sulekha/autom4te.cache/traces.2
@@ -1,351 +1,468 @@
-m4trace:configure.ac:1: -1- AC_INIT([Spell], [0.8], [santhosh], [Spell])
-m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?A[CHUM]_])
-m4trace:configure.ac:1: -1- m4_pattern_forbid([_AC_])
-m4trace:configure.ac:1: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^AS_FLAGS$])
-m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?m4_])
-m4trace:configure.ac:1: -1- m4_pattern_forbid([^dnl$])
-m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?AS_])
-m4trace:configure.ac:1: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([SHELL])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^SHELL$])
-m4trace:configure.ac:1: -1- AC_SUBST([PATH_SEPARATOR])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PATH_SEPARATOR$])
-m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_NAME])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
-m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
-m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
-m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_STRING])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
-m4trace:configure.ac:1: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
-m4trace:configure.ac:1: -1- AC_SUBST([exec_prefix], [NONE])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([exec_prefix])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^exec_prefix$])
-m4trace:configure.ac:1: -1- AC_SUBST([prefix], [NONE])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([prefix])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^prefix$])
-m4trace:configure.ac:1: -1- AC_SUBST([program_transform_name], [s,x,x,])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([program_transform_name])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^program_transform_name$])
-m4trace:configure.ac:1: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([bindir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^bindir$])
-m4trace:configure.ac:1: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([sbindir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^sbindir$])
-m4trace:configure.ac:1: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([libexecdir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^libexecdir$])
-m4trace:configure.ac:1: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([datarootdir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^datarootdir$])
-m4trace:configure.ac:1: -1- AC_SUBST([datadir], ['${datarootdir}'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([datadir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^datadir$])
-m4trace:configure.ac:1: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([sysconfdir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^sysconfdir$])
-m4trace:configure.ac:1: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([sharedstatedir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^sharedstatedir$])
-m4trace:configure.ac:1: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([localstatedir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^localstatedir$])
-m4trace:configure.ac:1: -1- AC_SUBST([includedir], ['${prefix}/include'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([includedir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^includedir$])
-m4trace:configure.ac:1: -1- AC_SUBST([oldincludedir], ['/usr/include'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([oldincludedir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^oldincludedir$])
-m4trace:configure.ac:1: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
+m4trace:configure.ac:2: -1- AC_INIT([sulekha], [0.0.11], [santhosh00@gmail.com])
+m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?A[CHUM]_])
+m4trace:configure.ac:2: -1- m4_pattern_forbid([_AC_])
+m4trace:configure.ac:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^AS_FLAGS$])
+m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?m4_])
+m4trace:configure.ac:2: -1- m4_pattern_forbid([^dnl$])
+m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?AS_])
+m4trace:configure.ac:2: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([SHELL])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^SHELL$])
+m4trace:configure.ac:2: -1- AC_SUBST([PATH_SEPARATOR])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PATH_SEPARATOR$])
+m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_NAME])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
+m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
+m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
+m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_STRING])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
+m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
+m4trace:configure.ac:2: -1- AC_SUBST([exec_prefix], [NONE])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([exec_prefix])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^exec_prefix$])
+m4trace:configure.ac:2: -1- AC_SUBST([prefix], [NONE])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([prefix])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^prefix$])
+m4trace:configure.ac:2: -1- AC_SUBST([program_transform_name], [s,x,x,])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([program_transform_name])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^program_transform_name$])
+m4trace:configure.ac:2: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([bindir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^bindir$])
+m4trace:configure.ac:2: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([sbindir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^sbindir$])
+m4trace:configure.ac:2: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([libexecdir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^libexecdir$])
+m4trace:configure.ac:2: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([datarootdir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^datarootdir$])
+m4trace:configure.ac:2: -1- AC_SUBST([datadir], ['${datarootdir}'])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([datadir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^datadir$])
+m4trace:configure.ac:2: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([sysconfdir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^sysconfdir$])
+m4trace:configure.ac:2: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([sharedstatedir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^sharedstatedir$])
+m4trace:configure.ac:2: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([localstatedir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^localstatedir$])
+m4trace:configure.ac:2: -1- AC_SUBST([includedir], ['${prefix}/include'])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([includedir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^includedir$])
+m4trace:configure.ac:2: -1- AC_SUBST([oldincludedir], ['/usr/include'])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([oldincludedir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^oldincludedir$])
+m4trace:configure.ac:2: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
['${datarootdir}/doc/${PACKAGE_TARNAME}'],
['${datarootdir}/doc/${PACKAGE}'])])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([docdir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^docdir$])
-m4trace:configure.ac:1: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([infodir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^infodir$])
-m4trace:configure.ac:1: -1- AC_SUBST([htmldir], ['${docdir}'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([htmldir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^htmldir$])
-m4trace:configure.ac:1: -1- AC_SUBST([dvidir], ['${docdir}'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([dvidir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^dvidir$])
-m4trace:configure.ac:1: -1- AC_SUBST([pdfdir], ['${docdir}'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([pdfdir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^pdfdir$])
-m4trace:configure.ac:1: -1- AC_SUBST([psdir], ['${docdir}'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([psdir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^psdir$])
-m4trace:configure.ac:1: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([libdir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^libdir$])
-m4trace:configure.ac:1: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([localedir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^localedir$])
-m4trace:configure.ac:1: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([mandir])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^mandir$])
-m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
-m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([docdir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^docdir$])
+m4trace:configure.ac:2: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([infodir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^infodir$])
+m4trace:configure.ac:2: -1- AC_SUBST([htmldir], ['${docdir}'])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([htmldir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^htmldir$])
+m4trace:configure.ac:2: -1- AC_SUBST([dvidir], ['${docdir}'])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([dvidir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^dvidir$])
+m4trace:configure.ac:2: -1- AC_SUBST([pdfdir], ['${docdir}'])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([pdfdir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^pdfdir$])
+m4trace:configure.ac:2: -1- AC_SUBST([psdir], ['${docdir}'])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([psdir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^psdir$])
+m4trace:configure.ac:2: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([libdir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^libdir$])
+m4trace:configure.ac:2: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([localedir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^localedir$])
+m4trace:configure.ac:2: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([mandir])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^mandir$])
+m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
+m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
#undef PACKAGE_NAME])
-m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
-m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
+m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
+m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME])
-m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
-m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
+m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
+m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
#undef PACKAGE_VERSION])
-m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
-m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
+m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
+m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
#undef PACKAGE_STRING])
-m4trace:configure.ac:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
-m4trace:configure.ac:1: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
+m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
+m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT])
-m4trace:configure.ac:1: -1- AC_SUBST([DEFS])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([DEFS])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^DEFS$])
-m4trace:configure.ac:1: -1- AC_SUBST([ECHO_C])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([ECHO_C])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_C$])
-m4trace:configure.ac:1: -1- AC_SUBST([ECHO_N])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([ECHO_N])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_N$])
-m4trace:configure.ac:1: -1- AC_SUBST([ECHO_T])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([ECHO_T])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_T$])
-m4trace:configure.ac:1: -1- AC_SUBST([LIBS])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([LIBS])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.ac:1: -1- AC_SUBST([build_alias])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([build_alias])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^build_alias$])
-m4trace:configure.ac:1: -1- AC_SUBST([host_alias])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([host_alias])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^host_alias$])
-m4trace:configure.ac:1: -1- AC_SUBST([target_alias])
-m4trace:configure.ac:1: -1- AC_SUBST_TRACE([target_alias])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^target_alias$])
-m4trace:configure.ac:2: -1- AM_INIT_AUTOMAKE
-m4trace:configure.ac:2: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
-m4trace:configure.ac:2: -1- AM_AUTOMAKE_VERSION([1.10])
-m4trace:configure.ac:2: -1- AC_REQUIRE_AUX_FILE([install-sh])
-m4trace:configure.ac:2: -1- AC_SUBST([INSTALL_PROGRAM])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
-m4trace:configure.ac:2: -1- AC_SUBST([INSTALL_SCRIPT])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
-m4trace:configure.ac:2: -1- AC_SUBST([INSTALL_DATA])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([INSTALL_DATA])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^INSTALL_DATA$])
-m4trace:configure.ac:2: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([am__isrc])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^am__isrc$])
-m4trace:configure.ac:2: -1- _AM_SUBST_NOTMAKE([am__isrc])
-m4trace:configure.ac:2: -1- AC_SUBST([CYGPATH_W])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([CYGPATH_W])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^CYGPATH_W$])
-m4trace:configure.ac:2: -1- _m4_warn([obsolete], [The macro `AC_FOREACH' is obsolete.
-You should run autoupdate.], [../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from...
-aclocal.m4:824: _AM_SET_OPTIONS is expanded from...
-aclocal.m4:551: AM_INIT_AUTOMAKE is expanded from...
-configure.ac:2: the top level])
-m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE$])
-m4trace:configure.ac:2: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([VERSION])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^VERSION$])
-m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE$])
-m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
+m4trace:configure.ac:2: -1- AC_SUBST([DEFS])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([DEFS])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^DEFS$])
+m4trace:configure.ac:2: -1- AC_SUBST([ECHO_C])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ECHO_C])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_C$])
+m4trace:configure.ac:2: -1- AC_SUBST([ECHO_N])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ECHO_N])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_N$])
+m4trace:configure.ac:2: -1- AC_SUBST([ECHO_T])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ECHO_T])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_T$])
+m4trace:configure.ac:2: -1- AC_SUBST([LIBS])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([LIBS])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:2: -1- AC_SUBST([build_alias])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([build_alias])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^build_alias$])
+m4trace:configure.ac:2: -1- AC_SUBST([host_alias])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([host_alias])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^host_alias$])
+m4trace:configure.ac:2: -1- AC_SUBST([target_alias])
+m4trace:configure.ac:2: -1- AC_SUBST_TRACE([target_alias])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^target_alias$])
+m4trace:configure.ac:3: -1- AM_INIT_AUTOMAKE([sulekha], [0.0.11])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
+m4trace:configure.ac:3: -1- AM_AUTOMAKE_VERSION([1.10])
+m4trace:configure.ac:3: -1- AC_REQUIRE_AUX_FILE([install-sh])
+m4trace:configure.ac:3: -1- AC_SUBST([INSTALL_PROGRAM])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
+m4trace:configure.ac:3: -1- AC_SUBST([INSTALL_SCRIPT])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
+m4trace:configure.ac:3: -1- AC_SUBST([INSTALL_DATA])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([INSTALL_DATA])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^INSTALL_DATA$])
+m4trace:configure.ac:3: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([am__isrc])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^am__isrc$])
+m4trace:configure.ac:3: -1- _AM_SUBST_NOTMAKE([am__isrc])
+m4trace:configure.ac:3: -1- AC_SUBST([CYGPATH_W])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([CYGPATH_W])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^CYGPATH_W$])
+m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE], [sulekha])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([PACKAGE])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE$])
+m4trace:configure.ac:3: -1- AC_SUBST([VERSION], [0.0.11])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([VERSION])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^VERSION$])
+m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE$])
+m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
#undef PACKAGE])
-m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^VERSION$])
-m4trace:configure.ac:2: -1- AH_OUTPUT([VERSION], [/* Version number of package */
+m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^VERSION$])
+m4trace:configure.ac:3: -1- AH_OUTPUT([VERSION], [/* Version number of package */
#undef VERSION])
-m4trace:configure.ac:2: -1- AC_REQUIRE_AUX_FILE([missing])
-m4trace:configure.ac:2: -1- AC_SUBST([ACLOCAL])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ACLOCAL])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^ACLOCAL$])
-m4trace:configure.ac:2: -1- AC_SUBST([AUTOCONF])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([AUTOCONF])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^AUTOCONF$])
-m4trace:configure.ac:2: -1- AC_SUBST([AUTOMAKE])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([AUTOMAKE])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^AUTOMAKE$])
-m4trace:configure.ac:2: -1- AC_SUBST([AUTOHEADER])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([AUTOHEADER])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^AUTOHEADER$])
-m4trace:configure.ac:2: -1- AC_SUBST([MAKEINFO])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([MAKEINFO])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^MAKEINFO$])
-m4trace:configure.ac:2: -1- AC_SUBST([install_sh])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([install_sh])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^install_sh$])
-m4trace:configure.ac:2: -1- AC_SUBST([STRIP])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([STRIP])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^STRIP$])
-m4trace:configure.ac:2: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
-m4trace:configure.ac:2: -1- AC_REQUIRE_AUX_FILE([install-sh])
-m4trace:configure.ac:2: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([mkdir_p])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^mkdir_p$])
-m4trace:configure.ac:2: -1- AC_SUBST([AWK])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([AWK])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^AWK$])
-m4trace:configure.ac:2: -1- AC_SUBST([SET_MAKE])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([SET_MAKE])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^SET_MAKE$])
-m4trace:configure.ac:2: -1- AC_SUBST([am__leading_dot])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([am__leading_dot])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^am__leading_dot$])
-m4trace:configure.ac:2: -1- AC_SUBST([AMTAR])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([AMTAR])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^AMTAR$])
-m4trace:configure.ac:2: -1- AC_SUBST([am__tar])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([am__tar])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^am__tar$])
-m4trace:configure.ac:2: -1- AC_SUBST([am__untar])
-m4trace:configure.ac:2: -1- AC_SUBST_TRACE([am__untar])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^am__untar$])
-m4trace:configure.ac:3: -1- AC_SUBST([CC])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([CC])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:3: -1- AC_SUBST([CFLAGS])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([CFLAGS])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^CFLAGS$])
-m4trace:configure.ac:3: -1- AC_SUBST([LDFLAGS])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([LDFLAGS])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^LDFLAGS$])
-m4trace:configure.ac:3: -1- AC_SUBST([LIBS])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([LIBS])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.ac:3: -1- AC_SUBST([CPPFLAGS])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([CPPFLAGS])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.ac:3: -1- AC_SUBST([CC])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([CC])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:3: -1- AC_SUBST([CC])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([CC])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:3: -1- AC_SUBST([CC])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([CC])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:3: -1- AC_SUBST([CC])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([CC])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:3: -1- AC_SUBST([ac_ct_CC])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([ac_ct_CC])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^ac_ct_CC$])
-m4trace:configure.ac:3: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([EXEEXT])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^EXEEXT$])
-m4trace:configure.ac:3: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([OBJEXT])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^OBJEXT$])
-m4trace:configure.ac:3: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([DEPDIR])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^DEPDIR$])
-m4trace:configure.ac:3: -1- AC_SUBST([am__include])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([am__include])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^am__include$])
-m4trace:configure.ac:3: -1- AC_SUBST([am__quote])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([am__quote])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^am__quote$])
-m4trace:configure.ac:3: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-m4trace:configure.ac:3: -1- AC_SUBST([AMDEP_TRUE])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([AMDEP_TRUE])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^AMDEP_TRUE$])
-m4trace:configure.ac:3: -1- AC_SUBST([AMDEP_FALSE])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([AMDEP_FALSE])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^AMDEP_FALSE$])
-m4trace:configure.ac:3: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
-m4trace:configure.ac:3: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
-m4trace:configure.ac:3: -1- AC_SUBST([AMDEPBACKSLASH])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
-m4trace:configure.ac:3: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
-m4trace:configure.ac:3: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([CCDEPMODE])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^CCDEPMODE$])
-m4trace:configure.ac:3: -1- AM_CONDITIONAL([am__fastdepCC], [
+m4trace:configure.ac:3: -1- AC_REQUIRE_AUX_FILE([missing])
+m4trace:configure.ac:3: -1- AC_SUBST([ACLOCAL])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([ACLOCAL])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^ACLOCAL$])
+m4trace:configure.ac:3: -1- AC_SUBST([AUTOCONF])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([AUTOCONF])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^AUTOCONF$])
+m4trace:configure.ac:3: -1- AC_SUBST([AUTOMAKE])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([AUTOMAKE])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^AUTOMAKE$])
+m4trace:configure.ac:3: -1- AC_SUBST([AUTOHEADER])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([AUTOHEADER])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^AUTOHEADER$])
+m4trace:configure.ac:3: -1- AC_SUBST([MAKEINFO])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([MAKEINFO])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^MAKEINFO$])
+m4trace:configure.ac:3: -1- AC_SUBST([install_sh])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([install_sh])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^install_sh$])
+m4trace:configure.ac:3: -1- AC_SUBST([STRIP])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([STRIP])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^STRIP$])
+m4trace:configure.ac:3: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
+m4trace:configure.ac:3: -1- AC_REQUIRE_AUX_FILE([install-sh])
+m4trace:configure.ac:3: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([mkdir_p])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^mkdir_p$])
+m4trace:configure.ac:3: -1- AC_SUBST([AWK])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([AWK])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^AWK$])
+m4trace:configure.ac:3: -1- AC_SUBST([SET_MAKE])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([SET_MAKE])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^SET_MAKE$])
+m4trace:configure.ac:3: -1- AC_SUBST([am__leading_dot])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([am__leading_dot])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^am__leading_dot$])
+m4trace:configure.ac:3: -1- AC_SUBST([AMTAR])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([AMTAR])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^AMTAR$])
+m4trace:configure.ac:3: -1- AC_SUBST([am__tar])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([am__tar])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^am__tar$])
+m4trace:configure.ac:3: -1- AC_SUBST([am__untar])
+m4trace:configure.ac:3: -1- AC_SUBST_TRACE([am__untar])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^am__untar$])
+m4trace:configure.ac:4: -1- AC_SUBST([CC])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:4: -1- AC_SUBST([CFLAGS])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([CFLAGS])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CFLAGS$])
+m4trace:configure.ac:4: -1- AC_SUBST([LDFLAGS])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([LDFLAGS])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:4: -1- AC_SUBST([LIBS])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([LIBS])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:4: -1- AC_SUBST([CPPFLAGS])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([CPPFLAGS])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:4: -1- AC_SUBST([CC])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:4: -1- AC_SUBST([CC])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:4: -1- AC_SUBST([CC])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:4: -1- AC_SUBST([CC])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:4: -1- AC_SUBST([ac_ct_CC])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([ac_ct_CC])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^ac_ct_CC$])
+m4trace:configure.ac:4: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([EXEEXT])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^EXEEXT$])
+m4trace:configure.ac:4: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([OBJEXT])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^OBJEXT$])
+m4trace:configure.ac:4: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([DEPDIR])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^DEPDIR$])
+m4trace:configure.ac:4: -1- AC_SUBST([am__include])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([am__include])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^am__include$])
+m4trace:configure.ac:4: -1- AC_SUBST([am__quote])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([am__quote])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^am__quote$])
+m4trace:configure.ac:4: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+m4trace:configure.ac:4: -1- AC_SUBST([AMDEP_TRUE])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([AMDEP_TRUE])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^AMDEP_TRUE$])
+m4trace:configure.ac:4: -1- AC_SUBST([AMDEP_FALSE])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([AMDEP_FALSE])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^AMDEP_FALSE$])
+m4trace:configure.ac:4: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
+m4trace:configure.ac:4: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
+m4trace:configure.ac:4: -1- AC_SUBST([AMDEPBACKSLASH])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
+m4trace:configure.ac:4: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
+m4trace:configure.ac:4: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([CCDEPMODE])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CCDEPMODE$])
+m4trace:configure.ac:4: -1- AM_CONDITIONAL([am__fastdepCC], [
test "x$enable_dependency_tracking" != xno \
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3])
-m4trace:configure.ac:3: -1- AC_SUBST([am__fastdepCC_TRUE])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
-m4trace:configure.ac:3: -1- AC_SUBST([am__fastdepCC_FALSE])
-m4trace:configure.ac:3: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
-m4trace:configure.ac:3: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
-m4trace:configure.ac:3: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
-m4trace:configure.ac:5: -1- AC_SUBST([BASH])
-m4trace:configure.ac:5: -1- AC_SUBST_TRACE([BASH])
-m4trace:configure.ac:5: -1- m4_pattern_allow([^BASH$])
-m4trace:configure.ac:6: -1- AC_REQUIRE_AUX_FILE([install-sh])
-m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_PROGRAM])
-m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
-m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
-m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_SCRIPT])
-m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
-m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
-m4trace:configure.ac:6: -1- AC_SUBST([INSTALL_DATA])
-m4trace:configure.ac:6: -1- AC_SUBST_TRACE([INSTALL_DATA])
-m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_DATA$])
-m4trace:configure.ac:12: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
-m4trace:configure.ac:12: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
-m4trace:configure.ac:12: -1- AC_SUBST([PKG_CONFIG])
-m4trace:configure.ac:12: -1- AC_SUBST_TRACE([PKG_CONFIG])
-m4trace:configure.ac:12: -1- m4_pattern_allow([^PKG_CONFIG$])
-m4trace:configure.ac:12: -1- AC_SUBST([PKG_CONFIG])
-m4trace:configure.ac:12: -1- AC_SUBST_TRACE([PKG_CONFIG])
-m4trace:configure.ac:12: -1- m4_pattern_allow([^PKG_CONFIG$])
-m4trace:configure.ac:12: -1- AC_SUBST([SULEKHA_CFLAGS])
-m4trace:configure.ac:12: -1- AC_SUBST_TRACE([SULEKHA_CFLAGS])
-m4trace:configure.ac:12: -1- m4_pattern_allow([^SULEKHA_CFLAGS$])
-m4trace:configure.ac:12: -1- AC_SUBST([SULEKHA_LIBS])
-m4trace:configure.ac:12: -1- AC_SUBST_TRACE([SULEKHA_LIBS])
-m4trace:configure.ac:12: -1- m4_pattern_allow([^SULEKHA_LIBS$])
+m4trace:configure.ac:4: -1- AC_SUBST([am__fastdepCC_TRUE])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
+m4trace:configure.ac:4: -1- AC_SUBST([am__fastdepCC_FALSE])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
+m4trace:configure.ac:4: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
+m4trace:configure.ac:4: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
+m4trace:configure.ac:4: -1- AC_SUBST([CPP])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([CPP])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:4: -1- AC_SUBST([CPPFLAGS])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([CPPFLAGS])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:4: -1- AC_SUBST([CPP])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([CPP])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:4: -1- AC_SUBST([GREP])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([GREP])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^GREP$])
+m4trace:configure.ac:4: -1- AC_SUBST([GREP])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([GREP])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^GREP$])
+m4trace:configure.ac:4: -1- AC_SUBST([EGREP])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([EGREP])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^EGREP$])
+m4trace:configure.ac:4: -1- AC_SUBST([EGREP])
+m4trace:configure.ac:4: -1- AC_SUBST_TRACE([EGREP])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^EGREP$])
+m4trace:configure.ac:4: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^STDC_HEADERS$])
+m4trace:configure.ac:4: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
+#undef STDC_HEADERS])
+m4trace:configure.ac:4: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
+#undef HAVE_SYS_TYPES_H])
+m4trace:configure.ac:4: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
+#undef HAVE_SYS_STAT_H])
+m4trace:configure.ac:4: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
+#undef HAVE_STDLIB_H])
+m4trace:configure.ac:4: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
+#undef HAVE_STRING_H])
+m4trace:configure.ac:4: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
+#undef HAVE_MEMORY_H])
+m4trace:configure.ac:4: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
+#undef HAVE_STRINGS_H])
+m4trace:configure.ac:4: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H])
+m4trace:configure.ac:4: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
+#undef HAVE_STDINT_H])
+m4trace:configure.ac:4: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
+#undef HAVE_UNISTD_H])
+m4trace:configure.ac:4: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ASPELL_H])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^HAVE_ASPELL_H$])
+m4trace:configure.ac:4: -1- AH_OUTPUT([HAVE_ASPELL_H], [/* Define to 1 if you have the <aspell.h> header file. */
+#undef HAVE_ASPELL_H])
+m4trace:configure.ac:6: -1- AC_CONFIG_HEADERS([config.h])
+m4trace:configure.ac:7: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PSPELL_H])
+m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_PSPELL_H$])
+m4trace:configure.ac:7: -1- AH_OUTPUT([HAVE_PSPELL_H], [/* Define to 1 if you have the <pspell/pspell.h> header file. */
+#undef HAVE_PSPELL_H])
+m4trace:configure.ac:13: -1- AC_SUBST([SPELLER_LIB])
+m4trace:configure.ac:13: -1- AC_SUBST_TRACE([SPELLER_LIB])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^SPELLER_LIB$])
+m4trace:configure.ac:15: -1- AC_SUBST([SULEKHA_PACKAGES])
+m4trace:configure.ac:15: -1- AC_SUBST_TRACE([SULEKHA_PACKAGES])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^SULEKHA_PACKAGES$])
+m4trace:configure.ac:16: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
+m4trace:configure.ac:16: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
+m4trace:configure.ac:16: -1- AC_SUBST([PKG_CONFIG])
+m4trace:configure.ac:16: -1- AC_SUBST_TRACE([PKG_CONFIG])
+m4trace:configure.ac:16: -1- m4_pattern_allow([^PKG_CONFIG$])
+m4trace:configure.ac:16: -1- AC_SUBST([PKG_CONFIG])
+m4trace:configure.ac:16: -1- AC_SUBST_TRACE([PKG_CONFIG])
+m4trace:configure.ac:16: -1- m4_pattern_allow([^PKG_CONFIG$])
+m4trace:configure.ac:16: -1- AC_SUBST([SULEKHA_CFLAGS])
+m4trace:configure.ac:16: -1- AC_SUBST_TRACE([SULEKHA_CFLAGS])
+m4trace:configure.ac:16: -1- m4_pattern_allow([^SULEKHA_CFLAGS$])
m4trace:configure.ac:16: -1- AC_SUBST([SULEKHA_LIBS])
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([SULEKHA_LIBS])
m4trace:configure.ac:16: -1- m4_pattern_allow([^SULEKHA_LIBS$])
m4trace:configure.ac:17: -1- AC_SUBST([SULEKHA_CFLAGS])
m4trace:configure.ac:17: -1- AC_SUBST_TRACE([SULEKHA_CFLAGS])
m4trace:configure.ac:17: -1- m4_pattern_allow([^SULEKHA_CFLAGS$])
-m4trace:configure.ac:18: -1- AC_CONFIG_FILES([
-Makefile
-])
-m4trace:configure.ac:21: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.ac:21: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([LTLIBOBJS])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^LTLIBOBJS$])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([top_builddir])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([srcdir])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([abs_srcdir])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([top_srcdir])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([abs_top_srcdir])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([builddir])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([abs_builddir])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([abs_top_builddir])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([INSTALL])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([MKDIR_P])
+m4trace:configure.ac:18: -1- AC_SUBST([SULEKHA_LIBS])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([SULEKHA_LIBS])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^SULEKHA_LIBS$])
+m4trace:configure.ac:21: -1- AC_SUBST([DEBUG])
+m4trace:configure.ac:21: -1- AC_SUBST_TRACE([DEBUG])
+m4trace:configure.ac:21: -1- m4_pattern_allow([^DEBUG$])
+m4trace:configure.ac:24: -1- AC_SUBST([PANGO_CFLAGS])
+m4trace:configure.ac:24: -1- AC_SUBST_TRACE([PANGO_CFLAGS])
+m4trace:configure.ac:24: -1- m4_pattern_allow([^PANGO_CFLAGS$])
+m4trace:configure.ac:24: -1- AC_SUBST([PANGO_LIBS])
+m4trace:configure.ac:24: -1- AC_SUBST_TRACE([PANGO_LIBS])
+m4trace:configure.ac:24: -1- m4_pattern_allow([^PANGO_LIBS$])
+m4trace:configure.ac:24: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PANGO_UNDERLINE_ERROR])
+m4trace:configure.ac:24: -1- m4_pattern_allow([^HAVE_PANGO_UNDERLINE_ERROR$])
+m4trace:configure.ac:24: -1- AH_OUTPUT([HAVE_PANGO_UNDERLINE_ERROR], [/* Define to 1 if PANGO_UNDERLINE_ERROR is available. */
+#undef HAVE_PANGO_UNDERLINE_ERROR])
+m4trace:configure.ac:36: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
+You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
+configure.ac:36: the top level])
+m4trace:configure.ac:44: -1- AC_SUBST([HTML_DIR])
+m4trace:configure.ac:44: -1- AC_SUBST_TRACE([HTML_DIR])
+m4trace:configure.ac:44: -1- m4_pattern_allow([^HTML_DIR$])
+m4trace:configure.ac:57: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
+You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
+configure.ac:57: the top level])
+m4trace:configure.ac:67: -1- AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
+m4trace:configure.ac:67: -1- AC_SUBST([ENABLE_GTK_DOC_TRUE])
+m4trace:configure.ac:67: -1- AC_SUBST_TRACE([ENABLE_GTK_DOC_TRUE])
+m4trace:configure.ac:67: -1- m4_pattern_allow([^ENABLE_GTK_DOC_TRUE$])
+m4trace:configure.ac:67: -1- AC_SUBST([ENABLE_GTK_DOC_FALSE])
+m4trace:configure.ac:67: -1- AC_SUBST_TRACE([ENABLE_GTK_DOC_FALSE])
+m4trace:configure.ac:67: -1- m4_pattern_allow([^ENABLE_GTK_DOC_FALSE$])
+m4trace:configure.ac:67: -1- _AM_SUBST_NOTMAKE([ENABLE_GTK_DOC_TRUE])
+m4trace:configure.ac:67: -1- _AM_SUBST_NOTMAKE([ENABLE_GTK_DOC_FALSE])
+m4trace:configure.ac:71: -1- AC_SUBST([CC])
+m4trace:configure.ac:71: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:71: -1- AC_SUBST([CFLAGS])
+m4trace:configure.ac:71: -1- AC_SUBST_TRACE([CFLAGS])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^CFLAGS$])
+m4trace:configure.ac:71: -1- AC_SUBST([LDFLAGS])
+m4trace:configure.ac:71: -1- AC_SUBST_TRACE([LDFLAGS])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:71: -1- AC_SUBST([LIBS])
+m4trace:configure.ac:71: -1- AC_SUBST_TRACE([LIBS])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:71: -1- AC_SUBST([CPPFLAGS])
+m4trace:configure.ac:71: -1- AC_SUBST_TRACE([CPPFLAGS])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:71: -1- AC_SUBST([CC])
+m4trace:configure.ac:71: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:71: -1- AC_SUBST([CC])
+m4trace:configure.ac:71: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:71: -1- AC_SUBST([CC])
+m4trace:configure.ac:71: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:71: -1- AC_SUBST([CC])
+m4trace:configure.ac:71: -1- AC_SUBST_TRACE([CC])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:71: -1- AC_SUBST([ac_ct_CC])
+m4trace:configure.ac:71: -1- AC_SUBST_TRACE([ac_ct_CC])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^ac_ct_CC$])
+m4trace:configure.ac:71: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
+m4trace:configure.ac:71: -1- AC_SUBST_TRACE([CCDEPMODE])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^CCDEPMODE$])
+m4trace:configure.ac:71: -1- AM_CONDITIONAL([am__fastdepCC], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
+m4trace:configure.ac:71: -1- AC_SUBST([am__fastdepCC_TRUE])
+m4trace:configure.ac:71: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
+m4trace:configure.ac:71: -1- AC_SUBST([am__fastdepCC_FALSE])
+m4trace:configure.ac:71: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
+m4trace:configure.ac:71: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
+m4trace:configure.ac:71: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
+m4trace:configure.ac:74: -1- AC_DEFINE_TRACE_LITERAL([const])
+m4trace:configure.ac:74: -1- m4_pattern_allow([^const$])
+m4trace:configure.ac:74: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
+#undef const])
+m4trace:configure.ac:78: -1- AC_CONFIG_FILES([Makefile src/Makefile])
+m4trace:configure.ac:79: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
+m4trace:configure.ac:79: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
+m4trace:configure.ac:79: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.ac:79: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
+m4trace:configure.ac:79: -1- AC_SUBST_TRACE([LTLIBOBJS])
+m4trace:configure.ac:79: -1- m4_pattern_allow([^LTLIBOBJS$])
+m4trace:configure.ac:79: -1- AC_SUBST_TRACE([top_builddir])
+m4trace:configure.ac:79: -1- AC_SUBST_TRACE([srcdir])
+m4trace:configure.ac:79: -1- AC_SUBST_TRACE([abs_srcdir])
+m4trace:configure.ac:79: -1- AC_SUBST_TRACE([top_srcdir])
+m4trace:configure.ac:79: -1- AC_SUBST_TRACE([abs_top_srcdir])
+m4trace:configure.ac:79: -1- AC_SUBST_TRACE([builddir])
+m4trace:configure.ac:79: -1- AC_SUBST_TRACE([abs_builddir])
+m4trace:configure.ac:79: -1- AC_SUBST_TRACE([abs_top_builddir])
+m4trace:configure.ac:79: -1- AC_SUBST_TRACE([INSTALL])
+m4trace:configure.ac:79: -1- AC_SUBST_TRACE([MKDIR_P])
diff --git a/input-methods/sulekha/autom4te.cache/traces.3 b/input-methods/sulekha/autom4te.cache/traces.3
index 9ca5230..90fd0a3 100644
--- a/input-methods/sulekha/autom4te.cache/traces.3
+++ b/input-methods/sulekha/autom4te.cache/traces.3
@@ -572,114 +572,108 @@ AC_MSG_RESULT([$am_cv_prog_tar_$1])])
AC_SUBST([am__tar])
AC_SUBST([am__untar])
])
-m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?A[CHUM]_])
-m4trace:configure.ac:1: -1- m4_pattern_forbid([_AC_])
-m4trace:configure.ac:1: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^AS_FLAGS$])
-m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?m4_])
-m4trace:configure.ac:1: -1- m4_pattern_forbid([^dnl$])
-m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?AS_])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^SHELL$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PATH_SEPARATOR$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^exec_prefix$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^prefix$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^program_transform_name$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^bindir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^sbindir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^libexecdir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^datarootdir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^datadir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^sysconfdir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^sharedstatedir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^localstatedir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^includedir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^oldincludedir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^docdir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^infodir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^htmldir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^dvidir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^pdfdir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^psdir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^libdir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^localedir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^mandir$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^DEFS$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_C$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_N$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_T$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^build_alias$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^host_alias$])
-m4trace:configure.ac:1: -1- m4_pattern_allow([^target_alias$])
-m4trace:configure.ac:2: -1- AM_INIT_AUTOMAKE
-m4trace:configure.ac:2: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
-m4trace:configure.ac:2: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
-m4trace:configure.ac:2: -1- AM_AUTOMAKE_VERSION([1.10])
-m4trace:configure.ac:2: -1- _AM_AUTOCONF_VERSION([2.61])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^INSTALL_DATA$])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^am__isrc$])
-m4trace:configure.ac:2: -1- _AM_SUBST_NOTMAKE([am__isrc])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^CYGPATH_W$])
-m4trace:configure.ac:2: -1- _AM_SET_OPTIONS([])
-m4trace:configure.ac:2: -1- _m4_warn([obsolete], [The macro `AC_FOREACH' is obsolete.
-You should run autoupdate.], [../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from...
-/usr/share/aclocal-1.10/options.m4:25: _AM_SET_OPTIONS is expanded from...
-/usr/share/aclocal-1.10/init.m4:26: AM_INIT_AUTOMAKE is expanded from...
-configure.ac:2: the top level])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE$])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^VERSION$])
-m4trace:configure.ac:2: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
+m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?A[CHUM]_])
+m4trace:configure.ac:2: -1- m4_pattern_forbid([_AC_])
+m4trace:configure.ac:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^AS_FLAGS$])
+m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?m4_])
+m4trace:configure.ac:2: -1- m4_pattern_forbid([^dnl$])
+m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?AS_])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^SHELL$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PATH_SEPARATOR$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^exec_prefix$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^prefix$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^program_transform_name$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^bindir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^sbindir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^libexecdir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^datarootdir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^datadir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^sysconfdir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^sharedstatedir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^localstatedir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^includedir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^oldincludedir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^docdir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^infodir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^htmldir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^dvidir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^pdfdir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^psdir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^libdir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^localedir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^mandir$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^DEFS$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_C$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_N$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_T$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^build_alias$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^host_alias$])
+m4trace:configure.ac:2: -1- m4_pattern_allow([^target_alias$])
+m4trace:configure.ac:3: -1- AM_INIT_AUTOMAKE([sulekha], [0.0.11])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
+m4trace:configure.ac:3: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
+m4trace:configure.ac:3: -1- AM_AUTOMAKE_VERSION([1.10])
+m4trace:configure.ac:3: -1- _AM_AUTOCONF_VERSION([2.61])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^INSTALL_DATA$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^am__isrc$])
+m4trace:configure.ac:3: -1- _AM_SUBST_NOTMAKE([am__isrc])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^CYGPATH_W$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^VERSION$])
+m4trace:configure.ac:3: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
-m4trace:configure.ac:2: -2- _AM_MANGLE_OPTION([no-define])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE$])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^VERSION$])
-m4trace:configure.ac:2: -1- AM_SANITY_CHECK
-m4trace:configure.ac:2: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
-m4trace:configure.ac:2: -1- AM_MISSING_HAS_RUN
-m4trace:configure.ac:2: -1- AM_AUX_DIR_EXPAND
-m4trace:configure.ac:2: -1- m4_pattern_allow([^ACLOCAL$])
-m4trace:configure.ac:2: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^AUTOCONF$])
-m4trace:configure.ac:2: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^AUTOMAKE$])
-m4trace:configure.ac:2: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^AUTOHEADER$])
-m4trace:configure.ac:2: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^MAKEINFO$])
-m4trace:configure.ac:2: -1- AM_PROG_INSTALL_SH
-m4trace:configure.ac:2: -1- m4_pattern_allow([^install_sh$])
-m4trace:configure.ac:2: -1- AM_PROG_INSTALL_STRIP
-m4trace:configure.ac:2: -1- m4_pattern_allow([^STRIP$])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
-m4trace:configure.ac:2: -1- AM_PROG_MKDIR_P
-m4trace:configure.ac:2: -1- m4_pattern_allow([^mkdir_p$])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^AWK$])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^SET_MAKE$])
-m4trace:configure.ac:2: -1- AM_SET_LEADING_DOT
-m4trace:configure.ac:2: -1- m4_pattern_allow([^am__leading_dot$])
-m4trace:configure.ac:2: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+m4trace:configure.ac:3: -2- _AM_MANGLE_OPTION([no-define])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^VERSION$])
+m4trace:configure.ac:3: -1- AM_SANITY_CHECK
+m4trace:configure.ac:3: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
+m4trace:configure.ac:3: -1- AM_MISSING_HAS_RUN
+m4trace:configure.ac:3: -1- AM_AUX_DIR_EXPAND
+m4trace:configure.ac:3: -1- m4_pattern_allow([^ACLOCAL$])
+m4trace:configure.ac:3: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^AUTOCONF$])
+m4trace:configure.ac:3: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^AUTOMAKE$])
+m4trace:configure.ac:3: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^AUTOHEADER$])
+m4trace:configure.ac:3: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^MAKEINFO$])
+m4trace:configure.ac:3: -1- AM_PROG_INSTALL_SH
+m4trace:configure.ac:3: -1- m4_pattern_allow([^install_sh$])
+m4trace:configure.ac:3: -1- AM_PROG_INSTALL_STRIP
+m4trace:configure.ac:3: -1- m4_pattern_allow([^STRIP$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
+m4trace:configure.ac:3: -1- AM_PROG_MKDIR_P
+m4trace:configure.ac:3: -1- m4_pattern_allow([^mkdir_p$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^AWK$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^SET_MAKE$])
+m4trace:configure.ac:3: -1- AM_SET_LEADING_DOT
+m4trace:configure.ac:3: -1- m4_pattern_allow([^am__leading_dot$])
+m4trace:configure.ac:3: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
[_AM_PROG_TAR([v7])])])
-m4trace:configure.ac:2: -2- _AM_MANGLE_OPTION([tar-ustar])
-m4trace:configure.ac:2: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
-m4trace:configure.ac:2: -2- _AM_MANGLE_OPTION([tar-pax])
-m4trace:configure.ac:2: -1- _AM_PROG_TAR([v7])
-m4trace:configure.ac:2: -1- AM_MISSING_PROG([AMTAR], [tar])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^AMTAR$])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^am__tar$])
-m4trace:configure.ac:2: -1- m4_pattern_allow([^am__untar$])
-m4trace:configure.ac:2: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
+m4trace:configure.ac:3: -2- _AM_MANGLE_OPTION([tar-ustar])
+m4trace:configure.ac:3: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
+m4trace:configure.ac:3: -2- _AM_MANGLE_OPTION([tar-pax])
+m4trace:configure.ac:3: -1- _AM_PROG_TAR([v7])
+m4trace:configure.ac:3: -1- AM_MISSING_PROG([AMTAR], [tar])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^AMTAR$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^am__tar$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^am__untar$])
+m4trace:configure.ac:3: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
[_AM_DEPENDENCIES(CC)],
[define([AC_PROG_CC],
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
@@ -692,69 +686,108 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[define([AC_PROG_OBJC],
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
])
-m4trace:configure.ac:2: -2- _AM_MANGLE_OPTION([no-dependencies])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^CFLAGS$])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^LDFLAGS$])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^ac_ct_CC$])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^EXEEXT$])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^OBJEXT$])
-m4trace:configure.ac:3: -1- _AM_DEPENDENCIES([CC])
-m4trace:configure.ac:3: -1- AM_SET_DEPDIR
-m4trace:configure.ac:3: -1- m4_pattern_allow([^DEPDIR$])
-m4trace:configure.ac:3: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
-m4trace:configure.ac:3: -1- AM_MAKE_INCLUDE
-m4trace:configure.ac:3: -1- m4_pattern_allow([^am__include$])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^am__quote$])
-m4trace:configure.ac:3: -1- AM_DEP_TRACK
-m4trace:configure.ac:3: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^AMDEP_TRUE$])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^AMDEP_FALSE$])
-m4trace:configure.ac:3: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
-m4trace:configure.ac:3: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
-m4trace:configure.ac:3: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^CCDEPMODE$])
-m4trace:configure.ac:3: -1- AM_CONDITIONAL([am__fastdepCC], [
+m4trace:configure.ac:3: -2- _AM_MANGLE_OPTION([no-dependencies])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CFLAGS$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^ac_ct_CC$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^EXEEXT$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^OBJEXT$])
+m4trace:configure.ac:4: -1- _AM_DEPENDENCIES([CC])
+m4trace:configure.ac:4: -1- AM_SET_DEPDIR
+m4trace:configure.ac:4: -1- m4_pattern_allow([^DEPDIR$])
+m4trace:configure.ac:4: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
+m4trace:configure.ac:4: -1- AM_MAKE_INCLUDE
+m4trace:configure.ac:4: -1- m4_pattern_allow([^am__include$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^am__quote$])
+m4trace:configure.ac:4: -1- AM_DEP_TRACK
+m4trace:configure.ac:4: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^AMDEP_TRUE$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^AMDEP_FALSE$])
+m4trace:configure.ac:4: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
+m4trace:configure.ac:4: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
+m4trace:configure.ac:4: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CCDEPMODE$])
+m4trace:configure.ac:4: -1- AM_CONDITIONAL([am__fastdepCC], [
test "x$enable_dependency_tracking" != xno \
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
-m4trace:configure.ac:3: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
-m4trace:configure.ac:3: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
-m4trace:configure.ac:3: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
-m4trace:configure.ac:5: -1- m4_pattern_allow([^BASH$])
-m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
-m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
-m4trace:configure.ac:6: -1- m4_pattern_allow([^INSTALL_DATA$])
-m4trace:configure.ac:12: -1- PKG_CHECK_MODULES([SULEKHA], [
- gtk+-2.0 >= 2.10.0
-])
-m4trace:configure.ac:12: -1- PKG_PROG_PKG_CONFIG
-m4trace:configure.ac:12: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
-m4trace:configure.ac:12: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
-m4trace:configure.ac:12: -1- m4_pattern_allow([^PKG_CONFIG$])
-m4trace:configure.ac:12: -1- m4_pattern_allow([^PKG_CONFIG$])
-m4trace:configure.ac:12: -1- m4_pattern_allow([^SULEKHA_CFLAGS$])
-m4trace:configure.ac:12: -1- m4_pattern_allow([^SULEKHA_LIBS$])
-m4trace:configure.ac:12: -1- PKG_CHECK_EXISTS([
- gtk+-2.0 >= 2.10.0
-], [pkg_cv_[]SULEKHA_CFLAGS=`$PKG_CONFIG --[]cflags "
- gtk+-2.0 >= 2.10.0
-" 2>/dev/null`], [pkg_failed=yes])
-m4trace:configure.ac:12: -1- PKG_CHECK_EXISTS([
- gtk+-2.0 >= 2.10.0
-], [pkg_cv_[]SULEKHA_LIBS=`$PKG_CONFIG --[]libs "
- gtk+-2.0 >= 2.10.0
-" 2>/dev/null`], [pkg_failed=yes])
-m4trace:configure.ac:12: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:4: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
+m4trace:configure.ac:4: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
+m4trace:configure.ac:4: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^GREP$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^GREP$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^EGREP$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^EGREP$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^STDC_HEADERS$])
+m4trace:configure.ac:4: -1- m4_pattern_allow([^HAVE_ASPELL_H$])
+m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_PSPELL_H$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^SPELLER_LIB$])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^SULEKHA_PACKAGES$])
+m4trace:configure.ac:16: -1- PKG_CHECK_MODULES([SULEKHA], [$SULEKHA_PACKAGES])
+m4trace:configure.ac:16: -1- PKG_PROG_PKG_CONFIG
+m4trace:configure.ac:16: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
+m4trace:configure.ac:16: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
+m4trace:configure.ac:16: -1- m4_pattern_allow([^PKG_CONFIG$])
+m4trace:configure.ac:16: -1- m4_pattern_allow([^PKG_CONFIG$])
+m4trace:configure.ac:16: -1- m4_pattern_allow([^SULEKHA_CFLAGS$])
m4trace:configure.ac:16: -1- m4_pattern_allow([^SULEKHA_LIBS$])
+m4trace:configure.ac:16: -1- PKG_CHECK_EXISTS([$SULEKHA_PACKAGES], [pkg_cv_[]SULEKHA_CFLAGS=`$PKG_CONFIG --[]cflags "$SULEKHA_PACKAGES" 2>/dev/null`], [pkg_failed=yes])
+m4trace:configure.ac:16: -1- PKG_CHECK_EXISTS([$SULEKHA_PACKAGES], [pkg_cv_[]SULEKHA_LIBS=`$PKG_CONFIG --[]libs "$SULEKHA_PACKAGES" 2>/dev/null`], [pkg_failed=yes])
+m4trace:configure.ac:16: -1- _PKG_SHORT_ERRORS_SUPPORTED
m4trace:configure.ac:17: -1- m4_pattern_allow([^SULEKHA_CFLAGS$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^LTLIBOBJS$])
-m4trace:configure.ac:21: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
+m4trace:configure.ac:18: -1- m4_pattern_allow([^SULEKHA_LIBS$])
+m4trace:configure.ac:21: -1- m4_pattern_allow([^DEBUG$])
+m4trace:configure.ac:24: -1- PKG_CHECK_MODULES([PANGO], [pango >= 1.3.5], [AC_DEFINE(HAVE_PANGO_UNDERLINE_ERROR, 1, [Define to 1 if PANGO_UNDERLINE_ERROR is available.])], [AC_MSG_WARN([Disabling new error underlining since pango < 1.3.5])])
+m4trace:configure.ac:24: -1- m4_pattern_allow([^PANGO_CFLAGS$])
+m4trace:configure.ac:24: -1- m4_pattern_allow([^PANGO_LIBS$])
+m4trace:configure.ac:24: -1- PKG_CHECK_EXISTS([pango >= 1.3.5], [pkg_cv_[]PANGO_CFLAGS=`$PKG_CONFIG --[]cflags "pango >= 1.3.5" 2>/dev/null`], [pkg_failed=yes])
+m4trace:configure.ac:24: -1- PKG_CHECK_EXISTS([pango >= 1.3.5], [pkg_cv_[]PANGO_LIBS=`$PKG_CONFIG --[]libs "pango >= 1.3.5" 2>/dev/null`], [pkg_failed=yes])
+m4trace:configure.ac:24: -1- _PKG_SHORT_ERRORS_SUPPORTED
+m4trace:configure.ac:24: -1- m4_pattern_allow([^HAVE_PANGO_UNDERLINE_ERROR$])
+m4trace:configure.ac:36: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
+You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
+configure.ac:36: the top level])
+m4trace:configure.ac:44: -1- m4_pattern_allow([^HTML_DIR$])
+m4trace:configure.ac:57: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
+You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
+configure.ac:57: the top level])
+m4trace:configure.ac:67: -1- AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
+m4trace:configure.ac:67: -1- m4_pattern_allow([^ENABLE_GTK_DOC_TRUE$])
+m4trace:configure.ac:67: -1- m4_pattern_allow([^ENABLE_GTK_DOC_FALSE$])
+m4trace:configure.ac:67: -1- _AM_SUBST_NOTMAKE([ENABLE_GTK_DOC_TRUE])
+m4trace:configure.ac:67: -1- _AM_SUBST_NOTMAKE([ENABLE_GTK_DOC_FALSE])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^CFLAGS$])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^ac_ct_CC$])
+m4trace:configure.ac:71: -1- _AM_DEPENDENCIES([CC])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^CCDEPMODE$])
+m4trace:configure.ac:71: -1- AM_CONDITIONAL([am__fastdepCC], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
+m4trace:configure.ac:71: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
+m4trace:configure.ac:71: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
+m4trace:configure.ac:71: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
+m4trace:configure.ac:74: -1- m4_pattern_allow([^const$])
+m4trace:configure.ac:79: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.ac:79: -1- m4_pattern_allow([^LTLIBOBJS$])
+m4trace:configure.ac:79: -1- _AC_AM_CONFIG_HEADER_HOOK([$ac_file])
+m4trace:configure.ac:79: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
diff --git a/input-methods/sulekha/config.log b/input-methods/sulekha/config.log
index 6d64c62..0c118b1 100644
--- a/input-methods/sulekha/config.log
+++ b/input-methods/sulekha/config.log
@@ -1,10 +1,10 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by Spell configure 0.8, which was
+It was created by sulekha configure 0.0.11, which was
generated by GNU Autoconf 2.61. Invocation command line was
- $ ./configure --no-create --no-recursion
+ $ ./configure
## --------- ##
## Platform. ##
@@ -38,108 +38,353 @@ PATH: /usr/games
## Core tests. ##
## ----------- ##
-configure:1743: checking for a BSD-compatible install
-configure:1799: result: /usr/bin/install -c
-configure:1810: checking whether build environment is sane
-configure:1853: result: yes
-configure:1881: checking for a thread-safe mkdir -p
-configure:1920: result: /bin/mkdir -p
-configure:1933: checking for gawk
-configure:1949: found /usr/bin/gawk
-configure:1960: result: gawk
-configure:1971: checking whether make sets $(MAKE)
-configure:1992: result: yes
-configure:2228: checking for gcc
-configure:2244: found /usr/bin/gcc
-configure:2255: result: gcc
-configure:2493: checking for C compiler version
-configure:2500: gcc --version >&5
+configure:1802: checking for a BSD-compatible install
+configure:1858: result: /usr/bin/install -c
+configure:1869: checking whether build environment is sane
+configure:1912: result: yes
+configure:1940: checking for a thread-safe mkdir -p
+configure:1979: result: /bin/mkdir -p
+configure:1992: checking for gawk
+configure:2008: found /usr/bin/gawk
+configure:2019: result: gawk
+configure:2030: checking whether make sets $(MAKE)
+configure:2051: result: yes
+configure:2251: checking for style of include used by make
+configure:2279: result: GNU
+configure:2349: checking for gcc
+configure:2365: found /usr/bin/gcc
+configure:2376: result: gcc
+configure:2614: checking for C compiler version
+configure:2621: gcc --version >&5
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-configure:2503: $? = 0
-configure:2510: gcc -v >&5
+configure:2624: $? = 0
+configure:2631: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
-configure:2513: $? = 0
-configure:2520: gcc -V >&5
+configure:2634: $? = 0
+configure:2641: gcc -V >&5
gcc: '-V' option must have argument
-configure:2523: $? = 1
-configure:2546: checking for C compiler default output file name
-configure:2573: gcc conftest.c >&5
-configure:2576: $? = 0
-configure:2614: result: a.out
-configure:2631: checking whether the C compiler works
-configure:2641: ./a.out
-configure:2644: $? = 0
-configure:2661: result: yes
-configure:2668: checking whether we are cross compiling
-configure:2670: result: no
-configure:2673: checking for suffix of executables
-configure:2680: gcc -o conftest conftest.c >&5
-configure:2683: $? = 0
-configure:2707: result:
-configure:2713: checking for suffix of object files
-configure:2739: gcc -c conftest.c >&5
-configure:2742: $? = 0
-configure:2765: result: o
-configure:2769: checking whether we are using the GNU C compiler
-configure:2798: gcc -c conftest.c >&5
+configure:2644: $? = 1
+configure:2667: checking for C compiler default output file name
+configure:2694: gcc conftest.c >&5
+configure:2697: $? = 0
+configure:2735: result: a.out
+configure:2752: checking whether the C compiler works
+configure:2762: ./a.out
+configure:2765: $? = 0
+configure:2782: result: yes
+configure:2789: checking whether we are cross compiling
+configure:2791: result: no
+configure:2794: checking for suffix of executables
+configure:2801: gcc -o conftest conftest.c >&5
configure:2804: $? = 0
-configure:2821: result: yes
-configure:2826: checking whether gcc accepts -g
-configure:2856: gcc -c -g conftest.c >&5
-configure:2862: $? = 0
-configure:2961: result: yes
-configure:2978: checking for gcc option to accept ISO C89
-configure:3052: gcc -c -g -O2 conftest.c >&5
-configure:3058: $? = 0
-configure:3081: result: none needed
-configure:3110: checking for style of include used by make
-configure:3138: result: GNU
-configure:3163: checking dependency style of gcc
-configure:3254: result: gcc3
-configure:3274: checking for bash
-configure:3304: result: /bin/sh
-configure:3328: checking for a BSD-compatible install
-configure:3384: result: /usr/bin/install -c
-configure:3446: checking for pkg-config
-configure:3464: found /usr/bin/pkg-config
-configure:3476: result: /usr/bin/pkg-config
-configure:3505: checking pkg-config is at least version 0.9.0
-configure:3508: result: yes
-configure:3519: checking for SULEKHA
-configure:3529: $PKG_CONFIG --exists --print-errors "
- gtk+-2.0 >= 2.10.0
-"
-configure:3534: $? = 0
-configure:3553: $PKG_CONFIG --exists --print-errors "
- gtk+-2.0 >= 2.10.0
-"
-configure:3558: $? = 0
-configure:3644: result: yes
-configure:3797: creating ./config.status
+configure:2828: result:
+configure:2834: checking for suffix of object files
+configure:2860: gcc -c conftest.c >&5
+configure:2863: $? = 0
+configure:2886: result: o
+configure:2890: checking whether we are using the GNU C compiler
+configure:2919: gcc -c conftest.c >&5
+configure:2925: $? = 0
+configure:2942: result: yes
+configure:2947: checking whether gcc accepts -g
+configure:2977: gcc -c -g conftest.c >&5
+configure:2983: $? = 0
+configure:3082: result: yes
+configure:3099: checking for gcc option to accept ISO C89
+configure:3173: gcc -c -g -O2 conftest.c >&5
+configure:3179: $? = 0
+configure:3202: result: none needed
+configure:3222: checking dependency style of gcc
+configure:3313: result: gcc3
+configure:3334: checking how to run the C preprocessor
+configure:3374: gcc -E conftest.c
+configure:3380: $? = 0
+configure:3411: gcc -E conftest.c
+conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
+configure:3417: $? = 1
+configure: failed program was:
+| /* confdefs.h. */
+| #define PACKAGE_NAME "sulekha"
+| #define PACKAGE_TARNAME "sulekha"
+| #define PACKAGE_VERSION "0.0.11"
+| #define PACKAGE_STRING "sulekha 0.0.11"
+| #define PACKAGE_BUGREPORT "santhosh00@gmail.com"
+| #define PACKAGE "sulekha"
+| #define VERSION "0.0.11"
+| /* end confdefs.h. */
+| #include <ac_nonexistent.h>
+configure:3450: result: gcc -E
+configure:3479: gcc -E conftest.c
+configure:3485: $? = 0
+configure:3516: gcc -E conftest.c
+conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
+configure:3522: $? = 1
+configure: failed program was:
+| /* confdefs.h. */
+| #define PACKAGE_NAME "sulekha"
+| #define PACKAGE_TARNAME "sulekha"
+| #define PACKAGE_VERSION "0.0.11"
+| #define PACKAGE_STRING "sulekha 0.0.11"
+| #define PACKAGE_BUGREPORT "santhosh00@gmail.com"
+| #define PACKAGE "sulekha"
+| #define VERSION "0.0.11"
+| /* end confdefs.h. */
+| #include <ac_nonexistent.h>
+configure:3560: checking for grep that handles long lines and -e
+configure:3634: result: /bin/grep
+configure:3639: checking for egrep
+configure:3717: result: /bin/grep -E
+configure:3722: checking for ANSI C header files
+configure:3752: gcc -c -g -O2 conftest.c >&5
+configure:3758: $? = 0
+configure:3857: gcc -o conftest -g -O2 conftest.c >&5
+configure:3860: $? = 0
+configure:3866: ./conftest
+configure:3869: $? = 0
+configure:3886: result: yes
+configure:3910: checking for sys/types.h
+configure:3931: gcc -c -g -O2 conftest.c >&5
+configure:3937: $? = 0
+configure:3953: result: yes
+configure:3910: checking for sys/stat.h
+configure:3931: gcc -c -g -O2 conftest.c >&5
+configure:3937: $? = 0
+configure:3953: result: yes
+configure:3910: checking for stdlib.h
+configure:3931: gcc -c -g -O2 conftest.c >&5
+configure:3937: $? = 0
+configure:3953: result: yes
+configure:3910: checking for string.h
+configure:3931: gcc -c -g -O2 conftest.c >&5
+configure:3937: $? = 0
+configure:3953: result: yes
+configure:3910: checking for memory.h
+configure:3931: gcc -c -g -O2 conftest.c >&5
+configure:3937: $? = 0
+configure:3953: result: yes
+configure:3910: checking for strings.h
+configure:3931: gcc -c -g -O2 conftest.c >&5
+configure:3937: $? = 0
+configure:3953: result: yes
+configure:3910: checking for inttypes.h
+configure:3931: gcc -c -g -O2 conftest.c >&5
+configure:3937: $? = 0
+configure:3953: result: yes
+configure:3910: checking for stdint.h
+configure:3931: gcc -c -g -O2 conftest.c >&5
+configure:3937: $? = 0
+configure:3953: result: yes
+configure:3910: checking for unistd.h
+configure:3931: gcc -c -g -O2 conftest.c >&5
+configure:3937: $? = 0
+configure:3953: result: yes
+configure:3975: checking aspell.h usability
+configure:3992: gcc -c -g -O2 conftest.c >&5
+configure:3998: $? = 0
+configure:4012: result: yes
+configure:4016: checking aspell.h presence
+configure:4031: gcc -E conftest.c
+configure:4037: $? = 0
+configure:4051: result: yes
+configure:4084: checking for aspell.h
+configure:4091: result: yes
+configure:4116: checking pspell/pspell.h usability
+configure:4133: gcc -c -g -O2 conftest.c >&5
+conftest.c:54:27: error: pspell/pspell.h: No such file or directory
+configure:4139: $? = 1
+configure: failed program was:
+| /* confdefs.h. */
+| #define PACKAGE_NAME "sulekha"
+| #define PACKAGE_TARNAME "sulekha"
+| #define PACKAGE_VERSION "0.0.11"
+| #define PACKAGE_STRING "sulekha 0.0.11"
+| #define PACKAGE_BUGREPORT "santhosh00@gmail.com"
+| #define PACKAGE "sulekha"
+| #define VERSION "0.0.11"
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_ASPELL_H 1
+| /* end confdefs.h. */
+| #include <stdio.h>
+| #ifdef HAVE_SYS_TYPES_H
+| # include <sys/types.h>
+| #endif
+| #ifdef HAVE_SYS_STAT_H
+| # include <sys/stat.h>
+| #endif
+| #ifdef STDC_HEADERS
+| # include <stdlib.h>
+| # include <stddef.h>
+| #else
+| # ifdef HAVE_STDLIB_H
+| # include <stdlib.h>
+| # endif
+| #endif
+| #ifdef HAVE_STRING_H
+| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+| # include <memory.h>
+| # endif
+| # include <string.h>
+| #endif
+| #ifdef HAVE_STRINGS_H
+| # include <strings.h>
+| #endif
+| #ifdef HAVE_INTTYPES_H
+| # include <inttypes.h>
+| #endif
+| #ifdef HAVE_STDINT_H
+| # include <stdint.h>
+| #endif
+| #ifdef HAVE_UNISTD_H
+| # include <unistd.h>
+| #endif
+| #include <pspell/pspell.h>
+configure:4153: result: no
+configure:4157: checking pspell/pspell.h presence
+configure:4172: gcc -E conftest.c
+conftest.c:21:27: error: pspell/pspell.h: No such file or directory
+configure:4178: $? = 1
+configure: failed program was:
+| /* confdefs.h. */
+| #define PACKAGE_NAME "sulekha"
+| #define PACKAGE_TARNAME "sulekha"
+| #define PACKAGE_VERSION "0.0.11"
+| #define PACKAGE_STRING "sulekha 0.0.11"
+| #define PACKAGE_BUGREPORT "santhosh00@gmail.com"
+| #define PACKAGE "sulekha"
+| #define VERSION "0.0.11"
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_ASPELL_H 1
+| /* end confdefs.h. */
+| #include <pspell/pspell.h>
+configure:4192: result: no
+configure:4225: checking for pspell/pspell.h
+configure:4232: result: no
+configure:4245: checking for new_aspell_speller in -laspell
+configure:4280: gcc -o conftest -g -O2 conftest.c -laspell >&5
+configure:4286: $? = 0
+configure:4304: result: yes
+configure:4433: checking for pkg-config
+configure:4451: found /usr/bin/pkg-config
+configure:4463: result: /usr/bin/pkg-config
+configure:4492: checking pkg-config is at least version 0.9.0
+configure:4495: result: yes
+configure:4506: checking for SULEKHA
+configure:4514: $PKG_CONFIG --exists --print-errors "$SULEKHA_PACKAGES"
+configure:4517: $? = 0
+configure:4532: $PKG_CONFIG --exists --print-errors "$SULEKHA_PACKAGES"
+configure:4535: $? = 0
+configure:4611: result: yes
+configure:4624: checking for PANGO
+configure:4632: $PKG_CONFIG --exists --print-errors "pango >= 1.3.5"
+configure:4635: $? = 0
+configure:4650: $PKG_CONFIG --exists --print-errors "pango >= 1.3.5"
+configure:4653: $? = 0
+configure:4691: result: yes
+configure:4724: checking gtk-doc version >= 1.0
+configure:4731: result: no
+configure:4811: checking for gcc
+configure:4838: result: gcc
+configure:5076: checking for C compiler version
+configure:5083: gcc --version >&5
+gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
+Copyright (C) 2006 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+configure:5086: $? = 0
+configure:5093: gcc -v >&5
+Using built-in specs.
+Target: i486-linux-gnu
+Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
+Thread model: posix
+gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
+configure:5096: $? = 0
+configure:5103: gcc -V >&5
+gcc: '-V' option must have argument
+configure:5106: $? = 1
+configure:5109: checking whether we are using the GNU C compiler
+configure:5161: result: yes
+configure:5166: checking whether gcc accepts -g
+configure:5301: result: yes
+configure:5318: checking for gcc option to accept ISO C89
+configure:5421: result: none needed
+configure:5441: checking dependency style of gcc
+configure:5532: result: gcc3
+configure:5549: checking for an ANSI C-conforming const
+configure:5624: gcc -c -g -O2 conftest.c >&5
+configure:5630: $? = 0
+configure:5645: result: yes
+configure:5787: creating ./config.status
+
+## ---------------------- ##
+## Running config.status. ##
+## ---------------------- ##
+
+This file was extended by sulekha config.status 0.0.11, which was
+generated by GNU Autoconf 2.61. Invocation command line was
+
+ CONFIG_FILES =
+ CONFIG_HEADERS =
+ CONFIG_LINKS =
+ CONFIG_COMMANDS =
+ $ ./config.status
+
+on santhosh
+
+config.status:647: creating Makefile
+config.status:647: creating src/Makefile
+config.status:647: creating config.h
+config.status:875: config.h is unchanged
+config.status:921: executing depfiles commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_c_compiler_gnu=yes
+ac_cv_c_const=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
+ac_cv_env_CPP_set=
+ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
+ac_cv_env_PANGO_CFLAGS_set=
+ac_cv_env_PANGO_CFLAGS_value=
+ac_cv_env_PANGO_LIBS_set=
+ac_cv_env_PANGO_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_SULEKHA_CFLAGS_set=
@@ -152,17 +397,34 @@ ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
+ac_cv_header_aspell_h=yes
+ac_cv_header_inttypes_h=yes
+ac_cv_header_memory_h=yes
+ac_cv_header_pspell_pspell_h=no
+ac_cv_header_stdc=yes
+ac_cv_header_stdint_h=yes
+ac_cv_header_stdlib_h=yes
+ac_cv_header_string_h=yes
+ac_cv_header_strings_h=yes
+ac_cv_header_sys_stat_h=yes
+ac_cv_header_sys_types_h=yes
+ac_cv_header_unistd_h=yes
+ac_cv_lib_aspell_new_aspell_speller=yes
ac_cv_objext=o
-ac_cv_path_BASH=/bin/sh
+ac_cv_path_EGREP='/bin/grep -E'
+ac_cv_path_GREP=/bin/grep
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
+ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
+pkg_cv_PANGO_CFLAGS='-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include '
+pkg_cv_PANGO_LIBS='-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 '
pkg_cv_SULEKHA_CFLAGS='-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 '
pkg_cv_SULEKHA_LIBS='-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 '
@@ -179,18 +441,24 @@ AUTOCONF='${SHELL} /home/santhosh/dev/sulekha/missing --run autoconf'
AUTOHEADER='${SHELL} /home/santhosh/dev/sulekha/missing --run autoheader'
AUTOMAKE='${SHELL} /home/santhosh/dev/sulekha/missing --run automake-1.10'
AWK='gawk'
-BASH='/bin/sh'
CC='gcc'
CCDEPMODE='depmode=gcc3'
-CFLAGS='-g -O -Wall'
+CFLAGS='-g -O2'
+CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
-DEFS='-DPACKAGE_NAME=\"Spell\" -DPACKAGE_TARNAME=\"Spell\" -DPACKAGE_VERSION=\"0.8\" -DPACKAGE_STRING=\"Spell\ 0.8\" -DPACKAGE_BUGREPORT=\"santhosh\" -DPACKAGE=\"Spell\" -DVERSION=\"0.8\"'
+DEBUG='1'
+DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
+EGREP='/bin/grep -E'
+ENABLE_GTK_DOC_FALSE=''
+ENABLE_GTK_DOC_TRUE='#'
EXEEXT=''
+GREP='/bin/grep'
+HTML_DIR='${datadir}/gtk-doc/html'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
@@ -201,20 +469,24 @@ LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/santhosh/dev/sulekha/missing --run makeinfo'
OBJEXT='o'
-PACKAGE='Spell'
-PACKAGE_BUGREPORT='santhosh'
-PACKAGE_NAME='Spell'
-PACKAGE_STRING='Spell 0.8'
-PACKAGE_TARNAME='Spell'
-PACKAGE_VERSION='0.8'
+PACKAGE='sulekha'
+PACKAGE_BUGREPORT='santhosh00@gmail.com'
+PACKAGE_NAME='sulekha'
+PACKAGE_STRING='sulekha 0.0.11'
+PACKAGE_TARNAME='sulekha'
+PACKAGE_VERSION='0.0.11'
+PANGO_CFLAGS='-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include '
+PANGO_LIBS='-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 '
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
SET_MAKE=''
SHELL='/bin/sh'
+SPELLER_LIB='-laspell'
STRIP=''
SULEKHA_CFLAGS='-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 '
SULEKHA_LIBS='-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 '
-VERSION='0.8'
+SULEKHA_PACKAGES='gtk+-2.0'
+VERSION='0.0.11'
ac_ct_CC='gcc'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
@@ -256,13 +528,25 @@ target_alias=''
## confdefs.h. ##
## ----------- ##
-#define PACKAGE_NAME "Spell"
-#define PACKAGE_TARNAME "Spell"
-#define PACKAGE_VERSION "0.8"
-#define PACKAGE_STRING "Spell 0.8"
-#define PACKAGE_BUGREPORT "santhosh"
-#define PACKAGE "Spell"
-#define VERSION "0.8"
+#define PACKAGE_NAME "sulekha"
+#define PACKAGE_TARNAME "sulekha"
+#define PACKAGE_VERSION "0.0.11"
+#define PACKAGE_STRING "sulekha 0.0.11"
+#define PACKAGE_BUGREPORT "santhosh00@gmail.com"
+#define PACKAGE "sulekha"
+#define VERSION "0.0.11"
+#define STDC_HEADERS 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_SYS_STAT_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STRING_H 1
+#define HAVE_MEMORY_H 1
+#define HAVE_STRINGS_H 1
+#define HAVE_INTTYPES_H 1
+#define HAVE_STDINT_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_ASPELL_H 1
+#define HAVE_PANGO_UNDERLINE_ERROR 1
configure: exit 0
@@ -270,70 +554,16 @@ configure: exit 0
## Running config.status. ##
## ---------------------- ##
-This file was extended by Spell config.status 0.8, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES =
- CONFIG_HEADERS =
- CONFIG_LINKS =
- CONFIG_COMMANDS =
- $ ./config.status
-
-on santhosh
-
-config.status:619: creating Makefile
-config.status:810: executing depfiles commands
-
-## ---------------------- ##
-## Running config.status. ##
-## ---------------------- ##
-
-This file was extended by Spell config.status 0.8, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES =
- CONFIG_HEADERS =
- CONFIG_LINKS =
- CONFIG_COMMANDS =
- $ ./config.status Makefile depfiles
-
-on santhosh
-
-config.status:619: creating Makefile
-config.status:810: executing depfiles commands
-
-## ---------------------- ##
-## Running config.status. ##
-## ---------------------- ##
-
-This file was extended by Spell config.status 0.8, which was
-generated by GNU Autoconf 2.61. Invocation command line was
-
- CONFIG_FILES =
- CONFIG_HEADERS =
- CONFIG_LINKS =
- CONFIG_COMMANDS =
- $ ./config.status Makefile depfiles
-
-on santhosh
-
-config.status:619: creating Makefile
-config.status:810: executing depfiles commands
-
-## ---------------------- ##
-## Running config.status. ##
-## ---------------------- ##
-
-This file was extended by Spell config.status 0.8, which was
+This file was extended by sulekha config.status 0.0.11, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
- $ ./config.status Makefile depfiles
+ $ ./config.status src/Makefile depfiles
on santhosh
-config.status:619: creating Makefile
-config.status:810: executing depfiles commands
+config.status:647: creating src/Makefile
+config.status:921: executing depfiles commands
diff --git a/input-methods/sulekha/config.status b/input-methods/sulekha/config.status
index 3d9d31d..e6ab0b8 100755
--- a/input-methods/sulekha/config.status
+++ b/input-methods/sulekha/config.status
@@ -288,7 +288,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 Spell $as_me 0.8, which was
+This file was extended by sulekha $as_me 0.0.11, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -301,7 +301,8 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q`
"
# Files that config.status was made for.
-config_files=" Makefile"
+config_files=" Makefile src/Makefile"
+config_headers=" config.h"
config_commands=" depfiles"
ac_cs_usage="\
@@ -317,17 +318,22 @@ Usage: $0 [OPTIONS] [FILE]...
--recheck update $as_me by reconfiguring in the same conditions
--file=FILE[:TEMPLATE]
instantiate the configuration file FILE
+ --header=FILE[:TEMPLATE]
+ instantiate the configuration header FILE
Configuration files:
$config_files
+Configuration headers:
+$config_headers
+
Configuration commands:
$config_commands
Report bugs to <bug-autoconf@gnu.org>."
ac_cs_version="\
-Spell config.status 0.8
+sulekha config.status 0.0.11
configured by ./configure, generated by GNU Autoconf 2.61,
with options \"\"
@@ -369,7 +375,16 @@ do
$ac_shift
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
+ --header | --heade | --head | --hea )
+ $ac_shift
+ CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
+ ac_need_defaults=false;;
+ --he | --h)
+ # Conflict between --help and --header
+ { echo "$as_me: error: ambiguous option: $1
+Try \`$0 --help' for more information." >&2
+ { (exit 1); exit 1; }; };;
+ --help | --hel | -h )
echo "$ac_cs_usage"; exit ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil | --si | --s)
@@ -421,7 +436,9 @@ for ac_config_target in $ac_config_targets
do
case $ac_config_target in
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
@@ -436,6 +453,7 @@ done
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
fi
@@ -480,11 +498,11 @@ cat >"$tmp/subs-1.sed" <<\CEOF
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
s,@SHELL@,|#_!!_#|/bin/sh,g
s,@PATH_SEPARATOR@,|#_!!_#|:,g
-s,@PACKAGE_NAME@,|#_!!_#|Spell,g
-s,@PACKAGE_TARNAME@,|#_!!_#|Spell,g
-s,@PACKAGE_VERSION@,|#_!!_#|0.8,g
-s,@PACKAGE_STRING@,|#_!!_#|Spell 0.8,g
-s,@PACKAGE_BUGREPORT@,|#_!!_#|santhosh,g
+s,@PACKAGE_NAME@,|#_!!_#|sulekha,g
+s,@PACKAGE_TARNAME@,|#_!!_#|sulekha,g
+s,@PACKAGE_VERSION@,|#_!!_#|0.0.11,g
+s,@PACKAGE_STRING@,|#_!!_#|sulekha 0.0.11,g
+s,@PACKAGE_BUGREPORT@,|#_!!_#|santhosh00@|#_!!_#|gmail.com,g
s,@exec_prefix@,|#_!!_#|${prefix},g
s,@prefix@,|#_!!_#|/usr/local,g
s,@program_transform_name@,|#_!!_#|s\,x\,x\,,g
@@ -507,7 +525,7 @@ s,@psdir@,|#_!!_#|${docdir},g
s,@libdir@,|#_!!_#|${exec_prefix}/lib,g
s,@localedir@,|#_!!_#|${datarootdir}/locale,g
s,@mandir@,|#_!!_#|${datarootdir}/man,g
-s,@DEFS@,|#_!!_#|-DPACKAGE_NAME=\\"Spell\\" -DPACKAGE_TARNAME=\\"Spell\\" -DPACKAGE_VERSION=\\"0.8\\" -DPACKAGE_STRING=\\"Spell\\ 0.8\\" -DPACKAGE_BUGREPORT=\\"santhosh\\" -DPACKAGE=\\"Spell\\" -DVERSION=\\"0.8\\",g
+s,@DEFS@,|#_!!_#|-DHAVE_CONFIG_H,g
s,@ECHO_C@,|#_!!_#|,g
s,@ECHO_N@,|#_!!_#|-n,g
s,@ECHO_T@,|#_!!_#|,g
@@ -520,8 +538,8 @@ s,@INSTALL_SCRIPT@,|#_!!_#|${INSTALL},g
s,@INSTALL_DATA@,|#_!!_#|${INSTALL} -m 644,g
s,@am__isrc@,|#_!!_#|,g
s,@CYGPATH_W@,|#_!!_#|echo,g
-s,@PACKAGE@,|#_!!_#|Spell,g
-s,@VERSION@,|#_!!_#|0.8,g
+s,@PACKAGE@,|#_!!_#|sulekha,g
+s,@VERSION@,|#_!!_#|0.0.11,g
s,@ACLOCAL@,|#_!!_#|${SHELL} /home/santhosh/dev/sulekha/missing --run aclocal-1.10,g
s,@AUTOCONF@,|#_!!_#|${SHELL} /home/santhosh/dev/sulekha/missing --run autoconf,g
s,@AUTOMAKE@,|#_!!_#|${SHELL} /home/santhosh/dev/sulekha/missing --run automake-1.10,g
@@ -538,7 +556,7 @@ s,@AMTAR@,|#_!!_#|${SHELL} /home/santhosh/dev/sulekha/missing --run tar,g
s,@am__tar@,|#_!!_#|${AMTAR} chof - "$$tardir",g
s,@am__untar@,|#_!!_#|${AMTAR} xf -,g
s,@CC@,|#_!!_#|gcc,g
-s,@CFLAGS@,|#_!!_#|-g -O -Wall,g
+s,@CFLAGS@,|#_!!_#|-g -O2,g
s,@LDFLAGS@,|#_!!_#|,g
s,@CPPFLAGS@,|#_!!_#|,g
s,@ac_ct_CC@,|#_!!_#|gcc,g
@@ -553,10 +571,20 @@ s,@AMDEPBACKSLASH@,|#_!!_#|\\,g
s,@CCDEPMODE@,|#_!!_#|depmode=gcc3,g
s,@am__fastdepCC_TRUE@,|#_!!_#|,g
s,@am__fastdepCC_FALSE@,|#_!!_#|#,g
-s,@BASH@,|#_!!_#|/bin/sh,g
+s,@CPP@,|#_!!_#|gcc -E,g
+s,@GREP@,|#_!!_#|/bin/grep,g
+s,@EGREP@,|#_!!_#|/bin/grep -E,g
+s,@SPELLER_LIB@,|#_!!_#|-laspell,g
+s,@SULEKHA_PACKAGES@,|#_!!_#|gtk+-2.0,g
s,@PKG_CONFIG@,|#_!!_#|/usr/bin/pkg-config,g
s,@SULEKHA_CFLAGS@,|#_!!_#|-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 ,g
s,@SULEKHA_LIBS@,|#_!!_#|-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 ,g
+s,@DEBUG@,|#_!!_#|1,g
+s,@PANGO_CFLAGS@,|#_!!_#|-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include ,g
+s,@PANGO_LIBS@,|#_!!_#|-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 ,g
+s,@HTML_DIR@,|#_!!_#|${datadir}/gtk-doc/html,g
+s,@ENABLE_GTK_DOC_TRUE@,|#_!!_#|#,g
+s,@ENABLE_GTK_DOC_FALSE@,|#_!!_#|,g
s,@LIBOBJS@,|#_!!_#|,g
s,@LTLIBOBJS@,|#_!!_#|,g
:end
@@ -565,7 +593,7 @@ CEOF
fi # test -n "$CONFIG_FILES"
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
+for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
do
case $ac_tag in
:[FHLC]) ac_mode=$ac_tag; continue;;
@@ -805,7 +833,90 @@ which seems to be undefined. Please make sure it is defined." >&2;}
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
esac
;;
-
+ :H)
+ #
+ # CONFIG_HEADER
+ #
+ # First, check the format of the line:
+ cat >"$tmp/defines.sed" <<\CEOF
+/^[ ]*#[ ]*undef[ ][ ]*[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*[ ]*$/b def
+/^[ ]*#[ ]*define[ ][ ]*[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*[( ]/b def
+b
+:def
+s/$/ /
+s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_NAME\)[ (].*,\1define\2 "sulekha" ,
+s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_TARNAME\)[ (].*,\1define\2 "sulekha" ,
+s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_VERSION\)[ (].*,\1define\2 "0.0.11" ,
+s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_STRING\)[ (].*,\1define\2 "sulekha 0.0.11" ,
+s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_BUGREPORT\)[ (].*,\1define\2 "santhosh00@gmail.com" ,
+s,^\([ #]*\)[^ ]*\([ ]*PACKAGE\)[ (].*,\1define\2 "sulekha" ,
+s,^\([ #]*\)[^ ]*\([ ]*VERSION\)[ (].*,\1define\2 "0.0.11" ,
+s,^\([ #]*\)[^ ]*\([ ]*STDC_HEADERS\)[ (].*,\1define\2 1 ,
+s,^\([ #]*\)[^ ]*\([ ]*HAVE_SYS_TYPES_H\)[ (].*,\1define\2 1 ,
+s,^\([ #]*\)[^ ]*\([ ]*HAVE_SYS_STAT_H\)[ (].*,\1define\2 1 ,
+s,^\([ #]*\)[^ ]*\([ ]*HAVE_STDLIB_H\)[ (].*,\1define\2 1 ,
+s,^\([ #]*\)[^ ]*\([ ]*HAVE_STRING_H\)[ (].*,\1define\2 1 ,
+s,^\([ #]*\)[^ ]*\([ ]*HAVE_MEMORY_H\)[ (].*,\1define\2 1 ,
+s,^\([ #]*\)[^ ]*\([ ]*HAVE_STRINGS_H\)[ (].*,\1define\2 1 ,
+s,^\([ #]*\)[^ ]*\([ ]*HAVE_INTTYPES_H\)[ (].*,\1define\2 1 ,
+s,^\([ #]*\)[^ ]*\([ ]*HAVE_STDINT_H\)[ (].*,\1define\2 1 ,
+s,^\([ #]*\)[^ ]*\([ ]*HAVE_UNISTD_H\)[ (].*,\1define\2 1 ,
+s,^\([ #]*\)[^ ]*\([ ]*HAVE_ASPELL_H\)[ (].*,\1define\2 1 ,
+s,^\([ #]*\)[^ ]*\([ ]*HAVE_PANGO_UNDERLINE_ERROR\)[ (].*,\1define\2 1 ,
+s/ $//
+s,^[ #]*u.*,/* & */,
+CEOF
+ sed -f "$tmp/defines.sed" $ac_file_inputs >"$tmp/out1"
+ac_result="$tmp/out1"
+ if test x"$ac_file" != x-; then
+ echo "/* $configure_input */" >"$tmp/config.h"
+ cat "$ac_result" >>"$tmp/config.h"
+ if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
+ { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
+echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ rm -f $ac_file
+ mv "$tmp/config.h" $ac_file
+ fi
+ else
+ echo "/* $configure_input */"
+ cat "$ac_result"
+ fi
+ rm -f "$tmp/out12"
+# Compute $ac_file's index in $config_headers.
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $ac_file | $ac_file:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
+$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X$ac_file : 'X\(//\)[^/]' \| \
+ X$ac_file : 'X\(//\)$' \| \
+ X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
+echo X$ac_file |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`/stamp-h$_am_stamp_count
+ ;;
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
echo "$as_me: executing $ac_file commands" >&6;}
diff --git a/input-methods/sulekha/configure b/input-methods/sulekha/configure
index 490363b..c66b3d1 100755
--- a/input-methods/sulekha/configure
+++ b/input-methods/sulekha/configure
@@ -1,8 +1,8 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for Spell 0.8.
+# Generated by GNU Autoconf 2.61 for sulekha 0.0.11.
#
-# Report bugs to <santhosh>.
+# Report bugs to <santhosh00@gmail.com>.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
@@ -572,11 +572,47 @@ MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
-PACKAGE_NAME='Spell'
-PACKAGE_TARNAME='Spell'
-PACKAGE_VERSION='0.8'
-PACKAGE_STRING='Spell 0.8'
-PACKAGE_BUGREPORT='santhosh'
+PACKAGE_NAME='sulekha'
+PACKAGE_TARNAME='sulekha'
+PACKAGE_VERSION='0.0.11'
+PACKAGE_STRING='sulekha 0.0.11'
+PACKAGE_BUGREPORT='santhosh00@gmail.com'
+
+# Factoring default headers for most tests.
+ac_includes_default="\
+#include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
+#ifdef HAVE_STRING_H
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+# include <memory.h>
+# endif
+# include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif"
ac_subst_vars='SHELL
PATH_SEPARATOR
@@ -653,10 +689,20 @@ AMDEPBACKSLASH
CCDEPMODE
am__fastdepCC_TRUE
am__fastdepCC_FALSE
-BASH
+CPP
+GREP
+EGREP
+SPELLER_LIB
+SULEKHA_PACKAGES
PKG_CONFIG
SULEKHA_CFLAGS
SULEKHA_LIBS
+DEBUG
+PANGO_CFLAGS
+PANGO_LIBS
+HTML_DIR
+ENABLE_GTK_DOC_TRUE
+ENABLE_GTK_DOC_FALSE
LIBOBJS
LTLIBOBJS'
ac_subst_files=''
@@ -668,9 +714,12 @@ CFLAGS
LDFLAGS
LIBS
CPPFLAGS
+CPP
PKG_CONFIG
SULEKHA_CFLAGS
-SULEKHA_LIBS'
+SULEKHA_LIBS
+PANGO_CFLAGS
+PANGO_LIBS'
# Initialize some variables set by options.
@@ -1173,7 +1222,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 Spell 0.8 to adapt to many kinds of systems.
+\`configure' configures sulekha 0.0.11 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1221,7 +1270,7 @@ Fine tuning of the installation directories:
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/Spell]
+ --docdir=DIR documentation root [DATAROOTDIR/doc/sulekha]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
@@ -1239,7 +1288,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of Spell 0.8:";;
+ short | recursive ) echo "Configuration of sulekha 0.0.11:";;
esac
cat <<\_ACEOF
@@ -1248,6 +1297,12 @@ Optional Features:
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
+ --enable-gtk-doc Use gtk-doc to build documentation [default=auto]
+
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-html-dir=PATH path to installed docs
Some influential environment variables:
CC C compiler command
@@ -1257,16 +1312,20 @@ Some influential environment variables:
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
+ CPP C preprocessor
PKG_CONFIG path to pkg-config utility
SULEKHA_CFLAGS
C compiler flags for SULEKHA, overriding pkg-config
SULEKHA_LIBS
linker flags for SULEKHA, overriding pkg-config
+ PANGO_CFLAGS
+ C compiler flags for PANGO, overriding pkg-config
+ PANGO_LIBS linker flags for PANGO, overriding pkg-config
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
-Report bugs to <santhosh>.
+Report bugs to <santhosh00@gmail.com>.
_ACEOF
ac_status=$?
fi
@@ -1327,7 +1386,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-Spell configure 0.8
+sulekha configure 0.0.11
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1341,7 +1400,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 Spell $as_me 0.8, which was
+It was created by sulekha $as_me 0.0.11, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2030,8 +2089,8 @@ fi
# Define the identity of the package.
- PACKAGE='Spell'
- VERSION='0.8'
+ PACKAGE=sulekha
+ VERSION=0.0.11
cat >>confdefs.h <<_ACEOF
@@ -2177,6 +2236,68 @@ am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
+DEPDIR="${am__leading_dot}deps"
+
+ac_config_commands="$ac_config_commands depfiles"
+
+
+am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo done
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
+echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# We grep out `Entering directory' and `Leaving directory'
+# messages which can occur if `w' ends up in MAKEFLAGS.
+# In particular we don't look at `^make:' because GNU make might
+# be invoked under some other name (usually "gmake"), in which
+# case it prints its new name instead of `make'.
+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
+ am__include=include
+ am__quote=
+ _am_result=GNU
+fi
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ fi
+fi
+
+
+{ echo "$as_me:$LINENO: result: $_am_result" >&5
+echo "${ECHO_T}$_am_result" >&6; }
+rm -f confinc confmf
+
+# Check whether --enable-dependency-tracking was given.
+if test "${enable_dependency_tracking+set}" = set; then
+ enableval=$enable_dependency_tracking;
+fi
+
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+fi
+ if test "x$enable_dependency_tracking" != xno; then
+ AMDEP_TRUE=
+ AMDEP_FALSE='#'
+else
+ AMDEP_TRUE='#'
+ AMDEP_FALSE=
+fi
+
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -3095,68 +3216,6 @@ ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo done
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
-fi
-
-
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
-echo "${ECHO_T}$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
-fi
- if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
depcc="$CC" am_compiler_list=
@@ -3266,133 +3325,1061 @@ else
fi
-CFLAGS="-g -O -Wall"
-for ac_prog in bash
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+ if test "${ac_cv_prog_CPP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ # Double quotes because CPP needs to be expanded
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_path_BASH+set}" = set; then
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ :
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Broken: fails on valid input.
+continue
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ # Broken: success on invalid input.
+continue
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+ break
+fi
+
+ done
+ ac_cv_prog_CPP=$CPP
+
+fi
+ CPP=$ac_cv_prog_CPP
+else
+ ac_cv_prog_CPP=$CPP
+fi
+{ echo "$as_me:$LINENO: result: $CPP" >&5
+echo "${ECHO_T}$CPP" >&6; }
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ :
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Broken: fails on valid input.
+continue
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ # Broken: success on invalid input.
+continue
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+ :
+else
+ { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details." >&5
+echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
+echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
+if test "${ac_cv_path_GREP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- case $BASH in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
+ # Extract the first word of "grep ggrep" to use in msg output
+if test -z "$GREP"; then
+set dummy grep ggrep; ac_prog_name=$2
+if test "${ac_cv_path_GREP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_path_GREP_found=false
+# Loop through the user's path and test for each of PROGNAME-LIST
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
+ for ac_prog in grep ggrep; do
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
+ # Check for GNU ac_path_GREP and select it if it is found.
+ # Check for GNU $ac_path_GREP
+case `"$ac_path_GREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+*)
+ ac_count=0
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ echo 'GREP' >> "conftest.nl"
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ ac_count=`expr $ac_count + 1`
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_GREP="$ac_path_GREP"
+ ac_path_GREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+
+ $ac_path_GREP_found && break 3
+ done
done
+
done
IFS=$as_save_IFS
- ;;
-esac
+
+fi
+
+GREP="$ac_cv_path_GREP"
+if test -z "$GREP"; then
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
+ { (exit 1); exit 1; }; }
fi
-BASH=$ac_cv_path_BASH
-if test -n "$BASH"; then
- { echo "$as_me:$LINENO: result: $BASH" >&5
-echo "${ECHO_T}$BASH" >&6; }
+
else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+ ac_cv_path_GREP=$GREP
fi
- test -n "$BASH" && break
-done
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
+echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
+ GREP="$ac_cv_path_GREP"
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
+
+{ echo "$as_me:$LINENO: checking for egrep" >&5
+echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
+if test "${ac_cv_path_EGREP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+ then ac_cv_path_EGREP="$GREP -E"
+ else
+ # Extract the first word of "egrep" to use in msg output
+if test -z "$EGREP"; then
+set dummy egrep; ac_prog_name=$2
+if test "${ac_cv_path_EGREP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_path_EGREP_found=false
+# Loop through the user's path and test for each of PROGNAME-LIST
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
- ./ | .// | /cC/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- done
- done
- ;;
+ for ac_prog in egrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
+ # Check for GNU ac_path_EGREP and select it if it is found.
+ # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+*)
+ ac_count=0
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ echo 'EGREP' >> "conftest.nl"
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ ac_count=`expr $ac_count + 1`
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_EGREP="$ac_path_EGREP"
+ ac_path_EGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac
+
+
+ $ac_path_EGREP_found && break 3
+ done
+done
+
done
IFS=$as_save_IFS
fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
+
+EGREP="$ac_cv_path_EGREP"
+if test -z "$EGREP"; then
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
+ { (exit 1); exit 1; }; }
fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+else
+ ac_cv_path_EGREP=$EGREP
+fi
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+ fi
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
+echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
+ EGREP="$ac_cv_path_EGREP"
+
+
+{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
+if test "${ac_cv_header_stdc+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_header_stdc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_header_stdc=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "memchr" >/dev/null 2>&1; then
+ :
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "free" >/dev/null 2>&1; then
+ :
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+ if test "$cross_compiling" = yes; then
+ :
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <ctype.h>
+#include <stdlib.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+ (('a' <= (c) && (c) <= 'i') \
+ || ('j' <= (c) && (c) <= 'r') \
+ || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+ int i;
+ for (i = 0; i < 256; i++)
+ if (XOR (islower (i), ISLOWER (i))
+ || toupper (i) != TOUPPER (i))
+ return 2;
+ return 0;
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ :
+else
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+ac_cv_header_stdc=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+fi
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
+echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
+if test $ac_cv_header_stdc = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define STDC_HEADERS 1
+_ACEOF
+
+fi
+
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+
+
+
+
+
+
+
+
+
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+ inttypes.h stdint.h unistd.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ eval "$as_ac_Header=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_Header=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+if test "${ac_cv_header_aspell_h+set}" = set; then
+ { echo "$as_me:$LINENO: checking for aspell.h" >&5
+echo $ECHO_N "checking for aspell.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_aspell_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_aspell_h" >&5
+echo "${ECHO_T}$ac_cv_header_aspell_h" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking aspell.h usability" >&5
+echo $ECHO_N "checking aspell.h usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <aspell.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking aspell.h presence" >&5
+echo $ECHO_N "checking aspell.h presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <aspell.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: aspell.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: aspell.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: aspell.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: aspell.h: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: aspell.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: aspell.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: aspell.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: aspell.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: aspell.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: aspell.h: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: aspell.h: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: aspell.h: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: aspell.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: aspell.h: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: aspell.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: aspell.h: in the future, the compiler will take precedence" >&2;}
+ ( cat <<\_ASBOX
+## ----------------------------------- ##
+## Report this to santhosh00@gmail.com ##
+## ----------------------------------- ##
+_ASBOX
+ ) | sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for aspell.h" >&5
+echo $ECHO_N "checking for aspell.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_aspell_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_aspell_h=$ac_header_preproc
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_aspell_h" >&5
+echo "${ECHO_T}$ac_cv_header_aspell_h" >&6; }
+
+fi
+if test $ac_cv_header_aspell_h = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_ASPELL_H 1
+_ACEOF
+
+fi
+
+
+ac_config_headers="$ac_config_headers config.h"
+
+if test "${ac_cv_header_pspell_pspell_h+set}" = set; then
+ { echo "$as_me:$LINENO: checking for pspell/pspell.h" >&5
+echo $ECHO_N "checking for pspell/pspell.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_pspell_pspell_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_pspell_pspell_h" >&5
+echo "${ECHO_T}$ac_cv_header_pspell_pspell_h" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking pspell/pspell.h usability" >&5
+echo $ECHO_N "checking pspell/pspell.h usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <pspell/pspell.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking pspell/pspell.h presence" >&5
+echo $ECHO_N "checking pspell/pspell.h presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <pspell/pspell.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: pspell/pspell.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: pspell/pspell.h: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: pspell/pspell.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: pspell/pspell.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: pspell/pspell.h: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: pspell/pspell.h: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: pspell/pspell.h: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: pspell/pspell.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: pspell/pspell.h: in the future, the compiler will take precedence" >&2;}
+ ( cat <<\_ASBOX
+## ----------------------------------- ##
+## Report this to santhosh00@gmail.com ##
+## ----------------------------------- ##
+_ASBOX
+ ) | sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for pspell/pspell.h" >&5
+echo $ECHO_N "checking for pspell/pspell.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_pspell_pspell_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_pspell_pspell_h=$ac_header_preproc
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_pspell_pspell_h" >&5
+echo "${ECHO_T}$ac_cv_header_pspell_pspell_h" >&6; }
+
+fi
+if test $ac_cv_header_pspell_pspell_h = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_PSPELL_H 1
+_ACEOF
+
+fi
+
+
+{ echo "$as_me:$LINENO: checking for new_aspell_speller in -laspell" >&5
+echo $ECHO_N "checking for new_aspell_speller in -laspell... $ECHO_C" >&6; }
+if test "${ac_cv_lib_aspell_new_aspell_speller+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-laspell $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char new_aspell_speller ();
+int
+main ()
+{
+return new_aspell_speller ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_aspell_new_aspell_speller=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_aspell_new_aspell_speller=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_aspell_new_aspell_speller" >&5
+echo "${ECHO_T}$ac_cv_lib_aspell_new_aspell_speller" >&6; }
+if test $ac_cv_lib_aspell_new_aspell_speller = yes; then
+ SPELLER_LIB="-laspell"
+else
+ { echo "$as_me:$LINENO: checking for new_pspell_manager in -lpspell" >&5
+echo $ECHO_N "checking for new_pspell_manager in -lpspell... $ECHO_C" >&6; }
+if test "${ac_cv_lib_pspell_new_pspell_manager+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lpspell $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char new_pspell_manager ();
+int
+main ()
+{
+return new_pspell_manager ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_pspell_new_pspell_manager=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_pspell_new_pspell_manager=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_pspell_new_pspell_manager" >&5
+echo "${ECHO_T}$ac_cv_lib_pspell_new_pspell_manager" >&6; }
+if test $ac_cv_lib_pspell_new_pspell_manager = yes; then
+ SPELLER_LIB="-lpspell"
+else
+ { { echo "$as_me:$LINENO: error: You must have the aspell or pspell dev libraries to build gtkspell." >&5
+echo "$as_me: error: You must have the aspell or pspell dev libraries to build gtkspell." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+fi
+
+SULEKHA_PACKAGES=gtk+-2.0
@@ -3524,18 +4511,12 @@ if test -n "$PKG_CONFIG"; then
pkg_cv_SULEKHA_CFLAGS="$SULEKHA_CFLAGS"
else
if test -n "$PKG_CONFIG" && \
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
- gtk+-2.0 >= 2.10.0
-\"") >&5
- ($PKG_CONFIG --exists --print-errors "
- gtk+-2.0 >= 2.10.0
-") 2>&5
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SULEKHA_PACKAGES\"") >&5
+ ($PKG_CONFIG --exists --print-errors "$SULEKHA_PACKAGES") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_SULEKHA_CFLAGS=`$PKG_CONFIG --cflags "
- gtk+-2.0 >= 2.10.0
-" 2>/dev/null`
+ pkg_cv_SULEKHA_CFLAGS=`$PKG_CONFIG --cflags "$SULEKHA_PACKAGES" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -3548,18 +4529,12 @@ if test -n "$PKG_CONFIG"; then
pkg_cv_SULEKHA_LIBS="$SULEKHA_LIBS"
else
if test -n "$PKG_CONFIG" && \
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"
- gtk+-2.0 >= 2.10.0
-\"") >&5
- ($PKG_CONFIG --exists --print-errors "
- gtk+-2.0 >= 2.10.0
-") 2>&5
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$SULEKHA_PACKAGES\"") >&5
+ ($PKG_CONFIG --exists --print-errors "$SULEKHA_PACKAGES") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_SULEKHA_LIBS=`$PKG_CONFIG --libs "
- gtk+-2.0 >= 2.10.0
-" 2>/dev/null`
+ pkg_cv_SULEKHA_LIBS=`$PKG_CONFIG --libs "$SULEKHA_PACKAGES" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -3578,20 +4553,14 @@ else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- SULEKHA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "
- gtk+-2.0 >= 2.10.0
-"`
+ SULEKHA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SULEKHA_PACKAGES"`
else
- SULEKHA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "
- gtk+-2.0 >= 2.10.0
-"`
+ SULEKHA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SULEKHA_PACKAGES"`
fi
# Put the nasty error message in config.log where it belongs
echo "$SULEKHA_PKG_ERRORS" >&5
- { { echo "$as_me:$LINENO: error: Package requirements (
- gtk+-2.0 >= 2.10.0
-) were not met:
+ { { echo "$as_me:$LINENO: error: Package requirements ($SULEKHA_PACKAGES) were not met:
$SULEKHA_PKG_ERRORS
@@ -3602,9 +4571,7 @@ Alternatively, you may set the environment variables SULEKHA_CFLAGS
and SULEKHA_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
" >&5
-echo "$as_me: error: Package requirements (
- gtk+-2.0 >= 2.10.0
-) were not met:
+echo "$as_me: error: Package requirements ($SULEKHA_PACKAGES) were not met:
$SULEKHA_PKG_ERRORS
@@ -3645,10 +4612,1049 @@ else
echo "${ECHO_T}yes" >&6; }
:
fi
-GEDIT_LIBS="${SULEKHA_LIBS}"
-ac_config_files="$ac_config_files Makefile"
+
+DEBUG=1
+
+
+# check Pango version so we can use PANGO_UNDERLINE_ERROR when available:
+
+pkg_failed=no
+{ echo "$as_me:$LINENO: checking for PANGO" >&5
+echo $ECHO_N "checking for PANGO... $ECHO_C" >&6; }
+
+if test -n "$PKG_CONFIG"; then
+ if test -n "$PANGO_CFLAGS"; then
+ pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
+ else
+ if test -n "$PKG_CONFIG" && \
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.3.5\"") >&5
+ ($PKG_CONFIG --exists --print-errors "pango >= 1.3.5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango >= 1.3.5" 2>/dev/null`
+else
+ pkg_failed=yes
+fi
+ fi
+else
+ pkg_failed=untried
+fi
+if test -n "$PKG_CONFIG"; then
+ if test -n "$PANGO_LIBS"; then
+ pkg_cv_PANGO_LIBS="$PANGO_LIBS"
+ else
+ if test -n "$PKG_CONFIG" && \
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.3.5\"") >&5
+ ($PKG_CONFIG --exists --print-errors "pango >= 1.3.5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango >= 1.3.5" 2>/dev/null`
+else
+ pkg_failed=yes
+fi
+ fi
+else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pango >= 1.3.5"`
+ else
+ PANGO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pango >= 1.3.5"`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$PANGO_PKG_ERRORS" >&5
+
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ { echo "$as_me:$LINENO: WARNING: Disabling new error underlining since pango < 1.3.5" >&5
+echo "$as_me: WARNING: Disabling new error underlining since pango < 1.3.5" >&2;}
+elif test $pkg_failed = untried; then
+ { echo "$as_me:$LINENO: WARNING: Disabling new error underlining since pango < 1.3.5" >&5
+echo "$as_me: WARNING: Disabling new error underlining since pango < 1.3.5" >&2;}
+else
+ PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
+ PANGO_LIBS=$pkg_cv_PANGO_LIBS
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_PANGO_UNDERLINE_ERROR 1
+_ACEOF
+
+fi
+
+# check Pango version to see if word breaking bug is fixed:
+#PKG_CHECK_MODULES(PANGO, [pango >= 1.8.0],
+# [AC_DEFINE(FIXED_PANGO, 1, [Define to 1 if pango >= 1.8.0.])],
+# [AC_MSG_WARN([Enabling word-breaking workarounds since pango < 1.8.0])])
+
+# gtk-doc check:
+# gtk-doc check:
+# from http://cvs.gnome.org/lxr/source/gtk-doc/examples/configure.in
+
+# Check whether --with-html-dir was given.
+if test "${with_html_dir+set}" = set; then
+ withval=$with_html_dir;
+fi
+
+
+if test "x$with_html_dir" = "x" ; then
+ HTML_DIR='${datadir}/gtk-doc/html'
+else
+ HTML_DIR=$with_html_dir
+fi
+
+
+
+gtk_doc_min_version=1.0
+{ echo "$as_me:$LINENO: checking gtk-doc version >= $gtk_doc_min_version" >&5
+echo $ECHO_N "checking gtk-doc version >= $gtk_doc_min_version... $ECHO_C" >&6; }
+if pkg-config --atleast-version=$gtk_doc_min_version gtk-doc; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ GTKDOC=true
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ GTKDOC=false
+fi
+
+# Check whether --enable-gtk-doc was given.
+if test "${enable_gtk_doc+set}" = set; then
+ enableval=$enable_gtk_doc; enable_gtk_doc="$enableval"
+else
+ enable_gtk_doc=auto
+fi
+
+
+if test x$enable_gtk_doc = xauto ; then
+ if test x$GTKDOC = xtrue ; then
+ enable_gtk_doc=yes
+ else
+ enable_gtk_doc=no
+ fi
+fi
+
+ if test x$enable_gtk_doc = xyes; then
+ ENABLE_GTK_DOC_TRUE=
+ ENABLE_GTK_DOC_FALSE='#'
+else
+ ENABLE_GTK_DOC_TRUE='#'
+ ENABLE_GTK_DOC_FALSE=
+fi
+
+
+# end gtk-doc check.
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+echo "${ECHO_T}$ac_ct_CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf@gnu.org." >&5
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $# != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+echo "${ECHO_T}$ac_ct_CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf@gnu.org." >&5
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
+See \`config.log' for more details." >&5
+echo "$as_me: error: no acceptable C compiler found in \$PATH
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+
+# Provide some information about the compiler.
+echo "$as_me:$LINENO: checking for C compiler version" >&5
+ac_compiler=`set X $ac_compile; echo $2`
+{ (ac_try="$ac_compiler --version >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compiler --version >&5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (ac_try="$ac_compiler -v >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compiler -v >&5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (ac_try="$ac_compiler -V >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compiler -V >&5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
+if test "${ac_cv_c_compiler_gnu+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_compiler_gnu=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_compiler_gnu=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
+GCC=`test $ac_compiler_gnu = yes && echo yes`
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
+if test "${ac_cv_prog_cc_g+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_prog_cc_g=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ CFLAGS=""
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_prog_cc_g=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
+echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
+if test "${ac_cv_prog_cc_c89+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_prog_cc_c89=$ac_arg
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { echo "$as_me:$LINENO: result: none needed" >&5
+echo "${ECHO_T}none needed" >&6; } ;;
+ xno)
+ { echo "$as_me:$LINENO: result: unsupported" >&5
+echo "${ECHO_T}unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
+echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+depcc="$CC" am_compiler_list=
+
+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named `D' -- because `-MD' means `put the output
+ # in D'.
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+ # Solaris 8's {/usr,}/bin/sh.
+ touch sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ case $depmode in
+ nosideeffect)
+ # after this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ none) break ;;
+ esac
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle `-M -o', and we need to detect this.
+ if depmode=$depmode \
+ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
+echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+#AC_PROG_LIBTOOL
+
+{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
+echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
+if test "${ac_cv_c_const+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+/* FIXME: Include the comments suggested by Paul. */
+#ifndef __cplusplus
+ /* Ultrix mips cc rejects this. */
+ typedef int charset[2];
+ const charset cs;
+ /* SunOS 4.1.1 cc rejects this. */
+ char const *const *pcpcc;
+ char **ppc;
+ /* NEC SVR4.0.2 mips cc rejects this. */
+ struct point {int x, y;};
+ static struct point const zero = {0,0};
+ /* AIX XL C 1.02.0.0 rejects this.
+ It does not let you subtract one const X* pointer from another in
+ an arm of an if-expression whose if-part is not a constant
+ expression */
+ const char *g = "string";
+ pcpcc = &g + (g ? g-g : 0);
+ /* HPUX 7.0 cc rejects these. */
+ ++pcpcc;
+ ppc = (char**) pcpcc;
+ pcpcc = (char const *const *) ppc;
+ { /* SCO 3.2v4 cc rejects this. */
+ char *t;
+ char const *s = 0 ? (char *) 0 : (char const *) 0;
+
+ *t++ = 0;
+ if (s) return 0;
+ }
+ { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
+ int x[] = {25, 17};
+ const int *foo = &x[0];
+ ++foo;
+ }
+ { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
+ typedef const int *iptr;
+ iptr p = 0;
+ ++p;
+ }
+ { /* AIX XL C 1.02.0.0 rejects this saying
+ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
+ struct s { int j; const int *ap[3]; };
+ struct s *b; b->j = 5;
+ }
+ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
+ const int foo = 10;
+ if (!foo) return 0;
+ }
+ return !cs[0] && !zero.x;
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_c_const=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_c_const=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
+echo "${ECHO_T}$ac_cv_c_const" >&6; }
+if test $ac_cv_c_const = no; then
+
+cat >>confdefs.h <<\_ACEOF
+#define const
+_ACEOF
+
+fi
+
+
+
+ac_config_files="$ac_config_files Makefile src/Makefile"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
@@ -3728,37 +5734,7 @@ test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-# Transform confdefs.h into DEFS.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-#
-# If the first sed substitution is executed (which looks for macros that
-# take arguments), then branch to the quote section. Otherwise,
-# look for a macro that doesn't take arguments.
-ac_script='
-t clear
-:clear
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
-t quote
-b any
-:quote
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
-s/\[/\\&/g
-s/\]/\\&/g
-s/\$/$$/g
-H
-:any
-${
- g
- s/^\n//
- s/\n/ /g
- p
-}
-'
-DEFS=`sed -n "$ac_script" confdefs.h`
-
+DEFS=-DHAVE_CONFIG_H
ac_libobjs=
ac_ltlibobjs=
@@ -3790,6 +5766,20 @@ echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
+if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
: ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
@@ -4090,7 +6080,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 Spell $as_me 0.8, which was
+This file was extended by sulekha $as_me 0.0.11, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -4107,6 +6097,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
# Files that config.status was made for.
config_files="$ac_config_files"
+config_headers="$ac_config_headers"
config_commands="$ac_config_commands"
_ACEOF
@@ -4125,10 +6116,15 @@ Usage: $0 [OPTIONS] [FILE]...
--recheck update $as_me by reconfiguring in the same conditions
--file=FILE[:TEMPLATE]
instantiate the configuration file FILE
+ --header=FILE[:TEMPLATE]
+ instantiate the configuration header FILE
Configuration files:
$config_files
+Configuration headers:
+$config_headers
+
Configuration commands:
$config_commands
@@ -4137,7 +6133,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-Spell config.status 0.8
+sulekha config.status 0.0.11
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
@@ -4182,7 +6178,16 @@ do
$ac_shift
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
+ --header | --heade | --head | --hea )
+ $ac_shift
+ CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
+ ac_need_defaults=false;;
+ --he | --h)
+ # Conflict between --help and --header
+ { echo "$as_me: error: ambiguous option: $1
+Try \`$0 --help' for more information." >&2
+ { (exit 1); exit 1; }; };;
+ --help | --hel | -h )
echo "$ac_cs_usage"; exit ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil | --si | --s)
@@ -4243,7 +6248,9 @@ for ac_config_target in $ac_config_targets
do
case $ac_config_target in
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
@@ -4258,6 +6265,7 @@ done
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
fi
@@ -4380,15 +6388,25 @@ AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
CCDEPMODE!$CCDEPMODE$ac_delim
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
-BASH!$BASH$ac_delim
+CPP!$CPP$ac_delim
+GREP!$GREP$ac_delim
+EGREP!$EGREP$ac_delim
+SPELLER_LIB!$SPELLER_LIB$ac_delim
+SULEKHA_PACKAGES!$SULEKHA_PACKAGES$ac_delim
PKG_CONFIG!$PKG_CONFIG$ac_delim
SULEKHA_CFLAGS!$SULEKHA_CFLAGS$ac_delim
SULEKHA_LIBS!$SULEKHA_LIBS$ac_delim
+DEBUG!$DEBUG$ac_delim
+PANGO_CFLAGS!$PANGO_CFLAGS$ac_delim
+PANGO_LIBS!$PANGO_LIBS$ac_delim
+HTML_DIR!$HTML_DIR$ac_delim
+ENABLE_GTK_DOC_TRUE!$ENABLE_GTK_DOC_TRUE$ac_delim
+ENABLE_GTK_DOC_FALSE!$ENABLE_GTK_DOC_FALSE$ac_delim
LIBOBJS!$LIBOBJS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 91; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
@@ -4445,7 +6463,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF
fi # test -n "$CONFIG_FILES"
-for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
+for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
do
case $ac_tag in
:[FHLC]) ac_mode=$ac_tag; continue;;
@@ -4691,7 +6709,137 @@ which seems to be undefined. Please make sure it is defined." >&2;}
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
esac
;;
+ :H)
+ #
+ # CONFIG_HEADER
+ #
+_ACEOF
+# Transform confdefs.h into a sed script `conftest.defines', that
+# substitutes the proper values into config.h.in to produce config.h.
+rm -f conftest.defines conftest.tail
+# First, append a space to every undef/define line, to ease matching.
+echo 's/$/ /' >conftest.defines
+# Then, protect against being on the right side of a sed subst, or in
+# an unquoted here document, in config.status. If some macros were
+# called several times there might be several #defines for the same
+# symbol, which is useless. But do not sort them, since the last
+# AC_DEFINE must be honored.
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
+# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
+# NAME is the cpp macro being defined, VALUE is the value it is being given.
+# PARAMS is the parameter list in the macro definition--in most cases, it's
+# just an empty string.
+ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
+ac_dB='\\)[ (].*,\\1define\\2'
+ac_dC=' '
+ac_dD=' ,'
+
+uniq confdefs.h |
+ sed -n '
+ t rset
+ :rset
+ s/^[ ]*#[ ]*define[ ][ ]*//
+ t ok
+ d
+ :ok
+ s/[\\&,]/\\&/g
+ s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
+ s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
+ ' >>conftest.defines
+
+# Remove the space that was appended to ease matching.
+# Then replace #undef with comments. This is necessary, for
+# example, in the case of _POSIX_SOURCE, which is predefined and required
+# on some systems where configure will not decide to define it.
+# (The regexp can be short, since the line contains either #define or #undef.)
+echo 's/ $//
+s,^[ #]*u.*,/* & */,' >>conftest.defines
+
+# Break up conftest.defines:
+ac_max_sed_lines=50
+
+# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
+# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
+# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
+# et cetera.
+ac_in='$ac_file_inputs'
+ac_out='"$tmp/out1"'
+ac_nxt='"$tmp/out2"'
+
+while :
+do
+ # Write a here document:
+ cat >>$CONFIG_STATUS <<_ACEOF
+ # First, check the format of the line:
+ cat >"\$tmp/defines.sed" <<\\CEOF
+/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
+/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
+b
+:def
+_ACEOF
+ sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
+ echo 'CEOF
+ sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
+ ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
+ sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
+ grep . conftest.tail >/dev/null || break
+ rm -f conftest.defines
+ mv conftest.tail conftest.defines
+done
+rm -f conftest.defines conftest.tail
+
+echo "ac_result=$ac_in" >>$CONFIG_STATUS
+cat >>$CONFIG_STATUS <<\_ACEOF
+ if test x"$ac_file" != x-; then
+ echo "/* $configure_input */" >"$tmp/config.h"
+ cat "$ac_result" >>"$tmp/config.h"
+ if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
+ { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
+echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ rm -f $ac_file
+ mv "$tmp/config.h" $ac_file
+ fi
+ else
+ echo "/* $configure_input */"
+ cat "$ac_result"
+ fi
+ rm -f "$tmp/out12"
+# Compute $ac_file's index in $config_headers.
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $ac_file | $ac_file:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
+$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X$ac_file : 'X\(//\)[^/]' \| \
+ X$ac_file : 'X\(//\)$' \| \
+ X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
+echo X$ac_file |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`/stamp-h$_am_stamp_count
+ ;;
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
echo "$as_me: executing $ac_file commands" >&6;}
diff --git a/input-methods/sulekha/configure.ac b/input-methods/sulekha/configure.ac
index ef3e979..8e303b8 100755..100644
--- a/input-methods/sulekha/configure.ac
+++ b/input-methods/sulekha/configure.ac
@@ -1,21 +1,79 @@
-AC_INIT([Spell],[0.8],[santhosh],[Spell])
-AM_INIT_AUTOMAKE
-AC_PROG_CC
-CFLAGS="-g -O -Wall"
-AC_PATH_PROGS(BASH, bash)
-AC_PROG_INSTALL
-
-dnl ================================================================
-dnl Start of pkg-config checks
-dnl ================================================================
-
-PKG_CHECK_MODULES(SULEKHA, [
- gtk+-2.0 >= 2.10.0
-])
-GEDIT_LIBS="${SULEKHA_LIBS}"
-AC_SUBST(SULEKHA_LIBS)
+AC_PREREQ(2.57)
+AC_INIT([sulekha],[0.0.11],[santhosh00@gmail.com])
+AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+AC_CHECK_HEADER(aspell.h, [AC_DEFINE(HAVE_ASPELL_H,1,
+ [Define to 1 if you have the <aspell.h> header file.] )] )
+AC_CONFIG_HEADERS([config.h])
+AC_CHECK_HEADER(pspell/pspell.h, [AC_DEFINE(HAVE_PSPELL_H,1,
+ [Define to 1 if you have the <pspell/pspell.h> header file.] )] )
+AC_CHECK_LIB(aspell, new_aspell_speller, SPELLER_LIB="-laspell",
+ [AC_CHECK_LIB(pspell, new_pspell_manager, SPELLER_LIB="-lpspell",
+ [AC_MSG_ERROR([You must have the aspell or pspell dev libraries to build gtkspell.]) ] ) ] )
+
+AC_SUBST(SPELLER_LIB)
+SULEKHA_PACKAGES=gtk+-2.0
+AC_SUBST(SULEKHA_PACKAGES)
+PKG_CHECK_MODULES(SULEKHA, $SULEKHA_PACKAGES)
AC_SUBST(SULEKHA_CFLAGS)
-AC_CONFIG_FILES([
-Makefile
-])
+AC_SUBST(SULEKHA_LIBS)
+
+DEBUG=1
+AC_SUBST(DEBUG)
+
+# check Pango version so we can use PANGO_UNDERLINE_ERROR when available:
+PKG_CHECK_MODULES(PANGO, [pango >= 1.3.5],
+ [AC_DEFINE(HAVE_PANGO_UNDERLINE_ERROR, 1, [Define to 1 if PANGO_UNDERLINE_ERROR is available.])],
+ [AC_MSG_WARN([Disabling new error underlining since pango < 1.3.5])])
+
+# check Pango version to see if word breaking bug is fixed:
+#PKG_CHECK_MODULES(PANGO, [pango >= 1.8.0],
+# [AC_DEFINE(FIXED_PANGO, 1, [Define to 1 if pango >= 1.8.0.])],
+# [AC_MSG_WARN([Enabling word-breaking workarounds since pango < 1.8.0])])
+
+# gtk-doc check:
+# gtk-doc check:
+# from http://cvs.gnome.org/lxr/source/gtk-doc/examples/configure.in
+AC_ARG_WITH(html-dir, AC_HELP_STRING([--with-html-dir=PATH],[path to installed docs]))
+
+if test "x$with_html_dir" = "x" ; then
+ HTML_DIR='${datadir}/gtk-doc/html'
+else
+ HTML_DIR=$with_html_dir
+fi
+
+AC_SUBST(HTML_DIR)
+
+gtk_doc_min_version=1.0
+AC_MSG_CHECKING([gtk-doc version >= $gtk_doc_min_version])
+if pkg-config --atleast-version=$gtk_doc_min_version gtk-doc; then
+ AC_MSG_RESULT(yes)
+ GTKDOC=true
+else
+ AC_MSG_RESULT(no)
+ GTKDOC=false
+fi
+
+dnl Let people disable the gtk-doc stuff.
+AC_ARG_ENABLE(gtk-doc, AC_HELP_STRING([--enable-gtk-doc],[Use gtk-doc to build documentation [[default=auto]]]), enable_gtk_doc="$enableval", enable_gtk_doc=auto)
+
+if test x$enable_gtk_doc = xauto ; then
+ if test x$GTKDOC = xtrue ; then
+ enable_gtk_doc=yes
+ else
+ enable_gtk_doc=no
+ fi
+fi
+
+AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes)
+
+# end gtk-doc check.
+
+AC_PROG_CC
+#AC_PROG_LIBTOOL
+
+AC_C_CONST
+
+dnl AM_MAINTAINER_MODE
+
+AC_CONFIG_FILES(Makefile src/Makefile)
AC_OUTPUT
diff --git a/input-methods/sulekha/googliterate.c b/input-methods/sulekha/googliterate.c
deleted file mode 100644
index 2fe25c7..0000000
--- a/input-methods/sulekha/googliterate.c
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- *File name: googliterate.c
- */
-
-#include <gtk/gtk.h>
-#include <glib.h>
-#include <stdlib.h>
-#include "trans.c"
-/*-- This function allows the program to exit properly when the window is closed --*/
-gint
-destroyapp (GtkWidget * widget, gpointer gdata)
-{
- g_print ("Quitting...\n");
- gtk_main_quit ();
- return (FALSE);
-}
-
-int
-main (int argc, char *argv[])
-{
- /*-- Declare the GTK Widgets used in the program --*/
- GtkWidget *window;
- GtkWidget *text;
-
- gchar *buffer = "eda kitilum ";
- char *buffet = NULL;
- char *mal = NULL;
- const char *command;
- /*-- Initialize GTK --*/
- gtk_init (&argc, &argv);
-
- /*-- Create the new window --*/
- window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
-
- /*-- Create a text area --*/
- text = gtk_text_new (NULL, NULL);
-
- /*-- Set text area to be editable --*/
- gtk_text_set_editable (GTK_TEXT (text), TRUE);
-
- /*-- Connect the window to the destroyapp function --*/
- gtk_signal_connect (GTK_OBJECT (window), "delete_event",
- GTK_SIGNAL_FUNC (destroyapp), NULL);
-
- /*-- Add the text area to the window --*/
- gtk_container_add (GTK_CONTAINER (window), text);
-
- /*-- Add some text to the window --*/
- gtk_text_insert (GTK_TEXT (text), NULL, NULL, NULL, buffer,
- strlen (buffer));
-
-/* Get some characters from the text area */
- buffer = gtk_editable_get_chars (GTK_EDITABLE (text), 4, 11);
- buffet = (char *) buffer;
- printf ("buffet=%s\n", buffet);
- buffer = "kakka";
- mal = transliterate_ml (buffer, 0, strlen (buffer));
- printf ("%s\n", mal);
- sprintf (command, "./spell ml %s", mal);
- system (command);
- printf ("%s\n", command);
- gtk_text_insert (GTK_TEXT (text), NULL, NULL, NULL, buffer,
- strlen (buffer));
-
- /*-- Set window border to zero so that text area takes up the whole window --*/
- gtk_container_border_width (GTK_CONTAINER (window), 0);
-
- /*-- Set the window to be 640 x 200 pixels --*/
- gtk_window_set_default_size (GTK_WINDOW (window), 640, 200);
-
- /*-- Set the window title --*/
- gtk_window_set_title (GTK_WINDOW (window), "Text Area");
-
- /*-- Display the widgets --*/
- gtk_widget_show (text);
- gtk_widget_show (window);
-
- /*-- Start the GTK event loop --*/
- gtk_main ();
-
- /*-- Return 0 if exit is successful --*/
- return 0;
-}
diff --git a/input-methods/sulekha/src/Makefile b/input-methods/sulekha/src/Makefile
index 1ea073a..4d5cb39 100644
--- a/input-methods/sulekha/src/Makefile
+++ b/input-methods/sulekha/src/Makefile
@@ -151,9 +151,9 @@ sysconfdir = ${prefix}/etc
target_alias =
top_builddir = ..
top_srcdir = ..
-AM_CFLAGS = @GTKSPELL_CFLAGS@ -laspell
+AM_CFLAGS = -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -laspell
INCLUDES = -I$(top_srcdir)
-LDADD = @GTKSPELL_LIBS@
+LDADD = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
sulekha_SOURCES = sulekha.c sulekhaspell.c sulekhaspell.h transliteration.c transliteration.h
all: all-am
diff --git a/input-methods/sulekha/src/Makefile.am b/input-methods/sulekha/src/Makefile.am
index 3039d02..68e3dd1 100644
--- a/input-methods/sulekha/src/Makefile.am
+++ b/input-methods/sulekha/src/Makefile.am
@@ -1,7 +1,7 @@
noinst_PROGRAMS = sulekha
-AM_CFLAGS = @GTKSPELL_CFLAGS@ -laspell
+AM_CFLAGS = @SULEKHA_CFLAGS@ -laspell
INCLUDES = -I$(top_srcdir)
-LDADD = @GTKSPELL_LIBS@
+LDADD = @SULEKHA_LIBS@
sulekha_SOURCES =sulekha.c sulekhaspell.c sulekhaspell.h transliteration.c transliteration.h
diff --git a/input-methods/sulekha/src/Makefile.am~ b/input-methods/sulekha/src/Makefile.am~
index 820c2b8..3039d02 100644
--- a/input-methods/sulekha/src/Makefile.am~
+++ b/input-methods/sulekha/src/Makefile.am~
@@ -1,5 +1,5 @@
noinst_PROGRAMS = sulekha
-AM_CFLAGS = @GTKSPELL_CFLAGS@ -I/usr/local/include/gtkspell-2.0/ -laspell
+AM_CFLAGS = @GTKSPELL_CFLAGS@ -laspell
INCLUDES = -I$(top_srcdir)
LDADD = @GTKSPELL_LIBS@
sulekha_SOURCES =sulekha.c sulekhaspell.c sulekhaspell.h transliteration.c transliteration.h
diff --git a/input-methods/sulekha/src/Makefile.in b/input-methods/sulekha/src/Makefile.in
index 9ac8814..89f5cb8 100644
--- a/input-methods/sulekha/src/Makefile.in
+++ b/input-methods/sulekha/src/Makefile.in
@@ -151,9 +151,9 @@ sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-AM_CFLAGS = @GTKSPELL_CFLAGS@ -laspell
+AM_CFLAGS = @SULEKHA_CFLAGS@ -laspell
INCLUDES = -I$(top_srcdir)
-LDADD = @GTKSPELL_LIBS@
+LDADD = @SULEKHA_LIBS@
sulekha_SOURCES = sulekha.c sulekhaspell.c sulekhaspell.h transliteration.c transliteration.h
all: all-am
diff --git a/input-methods/sulekha/src/sulekha.c b/input-methods/sulekha/src/sulekha.c
index 93b4fbf..31eabea 100644
--- a/input-methods/sulekha/src/sulekha.c
+++ b/input-methods/sulekha/src/sulekha.c
@@ -24,7 +24,8 @@
#include "../config.h"
#include "sulekhaspell.h"
-const char *langs[] = { "ml", "en_US", "de_DE", "ja_JP", NULL };
+const char *langs[] =
+ { "ml", "hi", "kn", "or", "ta", "en_US", "de_DE", "ja_JP", NULL };
GtkWidget *window, *languagelist, *attached, *view;
@@ -52,18 +53,14 @@ activate_action (GtkAction * action)
}
-static void
-activate_email (GtkAboutDialog *about,
- const gchar *link,
- gpointer data)
+static void
+activate_email (GtkAboutDialog * about, const gchar * link, gpointer data)
{
g_print ("send mail to %s\n", link);
}
-static void
-activate_url (GtkAboutDialog *about,
- const gchar *link,
- gpointer data)
+static void
+activate_url (GtkAboutDialog * about, const gchar * link, gpointer data)
{
g_print ("show url %s\n", link);
}
@@ -74,21 +71,21 @@ about (GtkAction * action, GtkWidget * window)
gchar *filename;
const gchar *authors[] = {
- "Santhosh Thottongal",
- "Praveen Arimbrathodiyil",
+ "Santhosh Thottongal <santhosh00@gmail.com>",
+ "Praveen Arimbrathodiyil <pravi.a@gmail.com>",
NULL
};
const gchar *documentors[] = {
- "Santhosh Thottongal",
- "Praveen Arimbrathodiyil",
+ "Santhosh Thottongal <santhosh00@gmail.com>",
+ "Praveen Arimbrathodiyil <pravi.a@gmail.com>",
NULL
};
const gchar *license =
"This library is free software; you can redistribute it and/or\n"
"modify it under the terms of the GNU Library General Public License as\n"
- "published by the Free Software Foundation; either version 2 of the\n"
+ "published by the Free Software Foundation; either version 3 of the\n"
"License, or (at your option) any later version.\n"
"\n"
"This library is distributed in the hope that it will be useful,\n"
@@ -101,8 +98,8 @@ about (GtkAction * action, GtkWidget * window)
"write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,\n"
"Boston, MA 02111-1307, USA.\n";
- // gtk_about_dialog_set_email_hook (activate_email, NULL, NULL);
- //gtk_about_dialog_set_url_hook (activate_url, NULL, NULL);
+ gtk_about_dialog_set_email_hook (activate_email, NULL, NULL);
+ gtk_about_dialog_set_url_hook (activate_url, NULL, NULL);
gtk_show_about_dialog (GTK_WINDOW (window),
"name", "Sulekha",
"version", PACKAGE_VERSION,
@@ -116,100 +113,99 @@ about (GtkAction * action, GtkWidget * window)
//g_object_unref (transparent);
}
static GtkActionEntry entries[] = {
- { "FileMenu", NULL, "_File" }, /* name, stock id, label */
- { "EditMenu", NULL, "_Edit" }, /* name, stock id, label */
- { "OptionsMenu", NULL, "_Options" }, /* name, stock id, label */
- { "HelpMenu", NULL, "_Help" }, /* name, stock id, label */
- { "New", GTK_STOCK_NEW, /* name, stock id */
- "_New", "<control>N", /* label, accelerator */
- "Create a new file", /* tooltip */
- G_CALLBACK (activate_action) },
- { "Open", GTK_STOCK_OPEN, /* name, stock id */
- "_Open","<control>O", /* label, accelerator */
- "Open a file", /* tooltip */
- G_CALLBACK (activate_action ) },
- { "Save", GTK_STOCK_SAVE, /* name, stock id */
- "_Save","<control>S", /* label, accelerator */
- "Save current file", /* tooltip */
- G_CALLBACK (activate_action) },
- { "SaveAs", GTK_STOCK_SAVE, /* name, stock id */
- "Save _As...", NULL, /* label, accelerator */
- "Save to a file", /* tooltip */
- G_CALLBACK (activate_action) },
- { "ClearSessionDictionary", NULL, /* name, stock id */
- "Clear Session Dictionary", NULL, /* label, accelerator */
- "Clear Session Dictionary", /* tooltip */
- G_CALLBACK (activate_action) },
- { "SynchronizeDictionaries", NULL, /* name, stock id */
- "Synchronize Dictionaries", NULL, /* label, accelerator */
- "Synchronize Dictionaries", /* tooltip */
- G_CALLBACK (activate_action) },
- { "Quit", GTK_STOCK_QUIT, /* name, stock id */
- "_Quit", "<control>Q", /* label, accelerator */
- "Quit", /* tooltip */
- G_CALLBACK (activate_action) },
- { "SelectAll", NULL, /* name, stock id */
- "Select _All", "<control>A", /* label, accelerator */
- "Select All", /* tooltip */
- G_CALLBACK (activate_action) },
- { "ClearAll", NULL, /* name, stock id */
- "Clear All", "<control>C", /* label, accelerator */
- "Clear All", /* tooltip */
- G_CALLBACK (activate_action) },
- { "PasePrimary", NULL, /* name, stock id */
- "Pase Primary", "<control>V", /* label, accelerator */
- "Pase Primary", /* tooltip */
- G_CALLBACK (activate_action) },
- { "SaveDictionariesonExit", NULL, /* name, stock id */
- "Save Dictionaries on Exit", "<control>V", /* label, accelerator */
- "Save Dictionaries on Exit", /* tooltip */
- G_CALLBACK (activate_action) },
- { "About", GTK_STOCK_ABOUT, /* name, stock id */
- "_About", "<control>B", /* label, accelerator */
- "About", /* tooltip */
- G_CALLBACK (about) },
- { "Logo", "demo-gtk-logo", /* name, stock id */
- NULL, NULL, /* label, accelerator */
- "GTK+", /* tooltip */
- G_CALLBACK (activate_action) },
- };
- static guint n_entries = G_N_ELEMENTS (entries);
-
-
- static const gchar *ui_info =
- "<ui>"
- " <menubar name='MenuBar'>"
- " <menu action='FileMenu'>"
- " <menuitem action='New'/>"
- " <menuitem action='Open'/>"
- " <menuitem action='Save'/>"
- " <menuitem action='SaveAs'/>"
- " <separator/>"
- " <menuitem action='ClearSessionDictionary'/>"
- " <menuitem action='SynchronizeDictionaries'/>"
- " <separator/>"
- " <menuitem action='Quit'/>"
- " </menu>"
-
- " <menu action='EditMenu'>"
- " <menuitem action='SelectAll'/>"
- " <menuitem action='ClearAll'/>"
- " <menuitem action='PasePrimary'/>"
- " </menu>"
- " <menu action='OptionsMenu'>"
- " <menuitem action='SaveDictionariesonExit'/>"
- " </menu>"
- " <menu action='HelpMenu'>"
- " <menuitem action='About'/>"
- " </menu>"
- " </menubar>"
- " <toolbar name='ToolBar'>"
- " <toolitem action='Open'/>"
- " <toolitem action='Quit'/>"
- " <separator action='Sep1'/>"
- " <toolitem action='Logo'/>"
- " </toolbar>"
- "</ui>";
+ {"FileMenu", NULL, "_File"}, /* name, stock id, label */
+ {"EditMenu", NULL, "_Edit"}, /* name, stock id, label */
+ {"OptionsMenu", NULL, "_Options"}, /* name, stock id, label */
+ {"HelpMenu", NULL, "_Help"}, /* name, stock id, label */
+ {"New", GTK_STOCK_NEW, /* name, stock id */
+ "_New", "<control>N", /* label, accelerator */
+ "Create a new file", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"Open", GTK_STOCK_OPEN, /* name, stock id */
+ "_Open", "<control>O", /* label, accelerator */
+ "Open a file", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"Save", GTK_STOCK_SAVE, /* name, stock id */
+ "_Save", "<control>S", /* label, accelerator */
+ "Save current file", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"SaveAs", GTK_STOCK_SAVE, /* name, stock id */
+ "Save _As...", NULL, /* label, accelerator */
+ "Save to a file", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"ClearSessionDictionary", NULL, /* name, stock id */
+ "Clear Session Dictionary", NULL, /* label, accelerator */
+ "Clear Session Dictionary", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"SynchronizeDictionaries", NULL, /* name, stock id */
+ "Synchronize Dictionaries", NULL, /* label, accelerator */
+ "Synchronize Dictionaries", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"Quit", GTK_STOCK_QUIT, /* name, stock id */
+ "_Quit", "<control>Q", /* label, accelerator */
+ "Quit", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"SelectAll", NULL, /* name, stock id */
+ "Select _All", "<control>A", /* label, accelerator */
+ "Select All", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"ClearAll", NULL, /* name, stock id */
+ "Clear All", "<control>C", /* label, accelerator */
+ "Clear All", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"Paste", NULL, /* name, stock id */
+ "Paste", "<control>V", /* label, accelerator */
+ "Paste", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"SaveDictionariesonExit", NULL, /* name, stock id */
+ "Save Dictionaries on Exit", "<control>V", /* label, accelerator */
+ "Save Dictionaries on Exit", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"About", GTK_STOCK_ABOUT, /* name, stock id */
+ "_About", "<control>B", /* label, accelerator */
+ "About", /* tooltip */
+ G_CALLBACK (about)},
+ {"Logo", "demo-gtk-logo", /* name, stock id */
+ NULL, NULL, /* label, accelerator */
+ "GTK+", /* tooltip */
+ G_CALLBACK (activate_action)},
+};
+static guint n_entries = G_N_ELEMENTS (entries);
+
+
+static const gchar *ui_info =
+ "<ui>"
+ " <menubar name='MenuBar'>"
+ " <menu action='FileMenu'>"
+ " <menuitem action='New'/>"
+ " <menuitem action='Open'/>"
+ " <menuitem action='Save'/>"
+ " <menuitem action='SaveAs'/>"
+ " <separator/>"
+ " <menuitem action='ClearSessionDictionary'/>"
+ " <menuitem action='SynchronizeDictionaries'/>"
+ " <separator/>"
+ " <menuitem action='Quit'/>"
+ " </menu>"
+ " <menu action='EditMenu'>"
+ " <menuitem action='SelectAll'/>"
+ " <menuitem action='ClearAll'/>"
+ " <menuitem action='Paste'/>"
+ " </menu>"
+ " <menu action='OptionsMenu'>"
+ " <menuitem action='SaveDictionariesonExit'/>"
+ " </menu>"
+ " <menu action='HelpMenu'>"
+ " <menuitem action='About'/>"
+ " </menu>"
+ " </menubar>"
+ " <toolbar name='ToolBar'>"
+ " <toolitem action='New'/>"
+ " <toolitem action='Open'/>"
+ " <toolitem action='Save'/>"
+ " <toolitem action='Quit'/>"
+ " <separator action='Sep1'/>"
+ " <toolitem action='Logo'/>" " </toolbar>" "</ui>";
static void
@@ -295,15 +291,15 @@ int
main (int argc, char *argv[])
{
GtkWidget *box, *hbox, *scroll;
- GtkUIManager *ui;
- GtkActionGroup *actions;
- GtkWidget *menu;
- GtkWidget *menuitem;
- GtkWidget *sw;
- GtkWidget *menubar;
- GtkWidget *menubox;
- GError *error = NULL;
-
+ GtkUIManager *ui;
+ GtkActionGroup *actions;
+ GtkWidget *menu;
+ GtkWidget *menuitem;
+ GtkWidget *sw;
+ GtkWidget *menubar;
+ GtkWidget *menubox;
+ GError *error = NULL;
+ GtkWidget *label;
if (argc > 1)
{
printf ("%s-->%s\n", argv[1],
@@ -314,29 +310,34 @@ main (int argc, char *argv[])
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- actions = gtk_action_group_new ("Actions");
- gtk_action_group_add_actions (actions, entries, n_entries, NULL);
- ui = gtk_ui_manager_new ();
- gtk_ui_manager_insert_action_group (ui, actions, 0);
- g_object_unref (actions);
- gtk_window_add_accel_group (GTK_WINDOW (window),
- gtk_ui_manager_get_accel_group (ui));
+ actions = gtk_action_group_new ("Actions");
+ gtk_action_group_add_actions (actions, entries, n_entries, NULL);
+ ui = gtk_ui_manager_new ();
+ gtk_ui_manager_insert_action_group (ui, actions, 0);
+ g_object_unref (actions);
+ gtk_window_add_accel_group (GTK_WINDOW (window),
+ gtk_ui_manager_get_accel_group (ui));
- if (!gtk_ui_manager_add_ui_from_string (ui, ui_info, -1, &error))
- {
- g_message ("building menus failed: %s", error->message);
- g_error_free (error);
- }
- menubox = gtk_vbox_new (FALSE, 0);
-// gtk_container_add (GTK_CONTAINER (box), menubox);
- gtk_widget_show (menubox);
+ if (!gtk_ui_manager_add_ui_from_string (ui, ui_info, -1, &error))
+ {
+ g_message ("building menus failed: %s", error->message);
+ g_error_free (error);
+ }
+ menubox = gtk_vbox_new (FALSE, 0);
+ menubar = gtk_vbox_new (FALSE, 0);
+// gtk_container_add (GTK_CONTAINER (box), menubox);
+ gtk_widget_show (menubox);
// gtk_container_add (GTK_CONTAINER (box), box1);
- gtk_box_pack_start (GTK_BOX (menubox), gtk_ui_manager_get_widget (ui, "/MenuBar"),
- FALSE, FALSE, 0);
-
+ gtk_box_pack_start (GTK_BOX (menubox),
+ gtk_ui_manager_get_widget (ui, "/MenuBar"), FALSE,
+ FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (menubar),
+ gtk_ui_manager_get_widget (ui, "/ToolBar"), FALSE,
+ FALSE, 0);
+
view = gtk_text_view_new ();
@@ -352,19 +353,20 @@ main (int argc, char *argv[])
build_languagelist ();
hbox = gtk_hbox_new (FALSE, 5);
+ label = gtk_label_new ("Languages");
attached = gtk_toggle_button_new_with_label ("Attached");
g_signal_connect (G_OBJECT (attached), "toggled",
G_CALLBACK (attach_cb), NULL);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (attached), TRUE);
gtk_box_pack_start (GTK_BOX (hbox), attached, FALSE, FALSE, 0);
-
gtk_box_pack_end (GTK_BOX (hbox), languagelist, FALSE, FALSE, 0);
-
+ gtk_box_pack_end (GTK_BOX (hbox), label, FALSE, FALSE, 0);
box = gtk_vbox_new (FALSE, 5);
-gtk_box_pack_start (GTK_BOX (box), menubox,FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (box), menubox, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (box), menubar, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (box), scroll, TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (box), hbox, FALSE, FALSE, 0);
-
+
gtk_widget_show_all (box);
gtk_window_set_default_size (GTK_WINDOW (window), 1200, 800);
@@ -375,6 +377,7 @@ gtk_box_pack_start (GTK_BOX (box), menubox,FALSE, FALSE, 0);
gtk_container_add (GTK_CONTAINER (window), box);
gtk_widget_show (window);
+ gtk_window_maximize (window);
gtk_main ();
return 0;
diff --git a/input-methods/sulekha/src/sulekha.c~ b/input-methods/sulekha/src/sulekha.c~
index c27d366..26d1342 100644
--- a/input-methods/sulekha/src/sulekha.c~
+++ b/input-methods/sulekha/src/sulekha.c~
@@ -2,6 +2,7 @@
*
* Copyright (C) 2007-2008
* Santhosh Thottingal<santhosh00@gmail.com>,
+ * Praveen Arimprathodiyil <pravi.a@gmail.com>
* Swathanthra Malayalam Computing.
*
* This program is free software; you can redistribute it and/or modify
@@ -23,7 +24,8 @@
#include "../config.h"
#include "sulekhaspell.h"
-const char *langs[] = { "ml", "en_US", "de_DE", "ja_JP", NULL };
+const char *langs[] =
+ { "ml", "hi", "kn", "or", "ta", "en_US", "de_DE", "ja_JP", NULL };
GtkWidget *window, *languagelist, *attached, *view;
@@ -51,18 +53,14 @@ activate_action (GtkAction * action)
}
-static void
-activate_email (GtkAboutDialog *about,
- const gchar *link,
- gpointer data)
+static void
+activate_email (GtkAboutDialog * about, const gchar * link, gpointer data)
{
g_print ("send mail to %s\n", link);
}
-static void
-activate_url (GtkAboutDialog *about,
- const gchar *link,
- gpointer data)
+static void
+activate_url (GtkAboutDialog * about, const gchar * link, gpointer data)
{
g_print ("show url %s\n", link);
}
@@ -73,21 +71,21 @@ about (GtkAction * action, GtkWidget * window)
gchar *filename;
const gchar *authors[] = {
- "Santhosh Thottongal",
- "Praveen Arimbrathodiyil",
+ "Santhosh Thottongal <santhosh00@gmail.com>",
+ "Praveen Arimbrathodiyil <pravi.a@gmail.com>",
NULL
};
const gchar *documentors[] = {
- "Santhosh Thottongal",
- "Praveen Arimbrathodiyil",
+ "Santhosh Thottongal <santhosh00@gmail.com>",
+ "Praveen Arimbrathodiyil <pravi.a@gmail.com>",
NULL
};
const gchar *license =
"This library is free software; you can redistribute it and/or\n"
"modify it under the terms of the GNU Library General Public License as\n"
- "published by the Free Software Foundation; either version 2 of the\n"
+ "published by the Free Software Foundation; either version 3 of the\n"
"License, or (at your option) any later version.\n"
"\n"
"This library is distributed in the hope that it will be useful,\n"
@@ -100,8 +98,8 @@ about (GtkAction * action, GtkWidget * window)
"write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,\n"
"Boston, MA 02111-1307, USA.\n";
- // gtk_about_dialog_set_email_hook (activate_email, NULL, NULL);
- //gtk_about_dialog_set_url_hook (activate_url, NULL, NULL);
+ gtk_about_dialog_set_email_hook (activate_email, NULL, NULL);
+ gtk_about_dialog_set_url_hook (activate_url, NULL, NULL);
gtk_show_about_dialog (GTK_WINDOW (window),
"name", "Sulekha",
"version", PACKAGE_VERSION,
@@ -115,100 +113,99 @@ about (GtkAction * action, GtkWidget * window)
//g_object_unref (transparent);
}
static GtkActionEntry entries[] = {
- { "FileMenu", NULL, "_File" }, /* name, stock id, label */
- { "EditMenu", NULL, "_Edit" }, /* name, stock id, label */
- { "OptionsMenu", NULL, "_Options" }, /* name, stock id, label */
- { "HelpMenu", NULL, "_Help" }, /* name, stock id, label */
- { "New", GTK_STOCK_NEW, /* name, stock id */
- "_New", "<control>N", /* label, accelerator */
- "Create a new file", /* tooltip */
- G_CALLBACK (activate_action) },
- { "Open", GTK_STOCK_OPEN, /* name, stock id */
- "_Open","<control>O", /* label, accelerator */
- "Open a file", /* tooltip */
- G_CALLBACK (activate_action ) },
- { "Save", GTK_STOCK_SAVE, /* name, stock id */
- "_Save","<control>S", /* label, accelerator */
- "Save current file", /* tooltip */
- G_CALLBACK (activate_action) },
- { "SaveAs", GTK_STOCK_SAVE, /* name, stock id */
- "Save _As...", NULL, /* label, accelerator */
- "Save to a file", /* tooltip */
- G_CALLBACK (activate_action) },
- { "ClearSessionDictionary", NULL, /* name, stock id */
- "Clear Session Dictionary", NULL, /* label, accelerator */
- "Clear Session Dictionary", /* tooltip */
- G_CALLBACK (activate_action) },
- { "SynchronizeDictionaries", NULL, /* name, stock id */
- "Synchronize Dictionaries", NULL, /* label, accelerator */
- "Synchronize Dictionaries", /* tooltip */
- G_CALLBACK (activate_action) },
- { "Quit", GTK_STOCK_QUIT, /* name, stock id */
- "_Quit", "<control>Q", /* label, accelerator */
- "Quit", /* tooltip */
- G_CALLBACK (activate_action) },
- { "SelectAll", NULL, /* name, stock id */
- "Select _All", "<control>A", /* label, accelerator */
- "Select All", /* tooltip */
- G_CALLBACK (activate_action) },
- { "ClearAll", NULL, /* name, stock id */
- "Clear All", "<control>C", /* label, accelerator */
- "Clear All", /* tooltip */
- G_CALLBACK (activate_action) },
- { "PasePrimary", NULL, /* name, stock id */
- "Pase Primary", "<control>V", /* label, accelerator */
- "Pase Primary", /* tooltip */
- G_CALLBACK (activate_action) },
- { "SaveDictionariesonExit", NULL, /* name, stock id */
- "Save Dictionaries on Exit", "<control>V", /* label, accelerator */
- "Save Dictionaries on Exit", /* tooltip */
- G_CALLBACK (activate_action) },
- { "About", GTK_STOCK_ABOUT, /* name, stock id */
- "_About", "<control>B", /* label, accelerator */
- "About", /* tooltip */
- G_CALLBACK (about) },
- { "Logo", "demo-gtk-logo", /* name, stock id */
- NULL, NULL, /* label, accelerator */
- "GTK+", /* tooltip */
- G_CALLBACK (activate_action) },
- };
- static guint n_entries = G_N_ELEMENTS (entries);
-
-
- static const gchar *ui_info =
- "<ui>"
- " <menubar name='MenuBar'>"
- " <menu action='FileMenu'>"
- " <menuitem action='New'/>"
- " <menuitem action='Open'/>"
- " <menuitem action='Save'/>"
- " <menuitem action='SaveAs'/>"
- " <separator/>"
- " <menuitem action='ClearSessionDictionary'/>"
- " <menuitem action='SynchronizeDictionaries'/>"
- " <separator/>"
- " <menuitem action='Quit'/>"
- " </menu>"
-
- " <menu action='EditMenu'>"
- " <menuitem action='SelectAll'/>"
- " <menuitem action='ClearAll'/>"
- " <menuitem action='PasePrimary'/>"
- " </menu>"
- " <menu action='OptionsMenu'>"
- " <menuitem action='SaveDictionariesonExit'/>"
- " </menu>"
- " <menu action='HelpMenu'>"
- " <menuitem action='About'/>"
- " </menu>"
- " </menubar>"
- " <toolbar name='ToolBar'>"
- " <toolitem action='Open'/>"
- " <toolitem action='Quit'/>"
- " <separator action='Sep1'/>"
- " <toolitem action='Logo'/>"
- " </toolbar>"
- "</ui>";
+ {"FileMenu", NULL, "_File"}, /* name, stock id, label */
+ {"EditMenu", NULL, "_Edit"}, /* name, stock id, label */
+ {"OptionsMenu", NULL, "_Options"}, /* name, stock id, label */
+ {"HelpMenu", NULL, "_Help"}, /* name, stock id, label */
+ {"New", GTK_STOCK_NEW, /* name, stock id */
+ "_New", "<control>N", /* label, accelerator */
+ "Create a new file", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"Open", GTK_STOCK_OPEN, /* name, stock id */
+ "_Open", "<control>O", /* label, accelerator */
+ "Open a file", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"Save", GTK_STOCK_SAVE, /* name, stock id */
+ "_Save", "<control>S", /* label, accelerator */
+ "Save current file", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"SaveAs", GTK_STOCK_SAVE, /* name, stock id */
+ "Save _As...", NULL, /* label, accelerator */
+ "Save to a file", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"ClearSessionDictionary", NULL, /* name, stock id */
+ "Clear Session Dictionary", NULL, /* label, accelerator */
+ "Clear Session Dictionary", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"SynchronizeDictionaries", NULL, /* name, stock id */
+ "Synchronize Dictionaries", NULL, /* label, accelerator */
+ "Synchronize Dictionaries", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"Quit", GTK_STOCK_QUIT, /* name, stock id */
+ "_Quit", "<control>Q", /* label, accelerator */
+ "Quit", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"SelectAll", NULL, /* name, stock id */
+ "Select _All", "<control>A", /* label, accelerator */
+ "Select All", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"ClearAll", NULL, /* name, stock id */
+ "Clear All", "<control>C", /* label, accelerator */
+ "Clear All", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"PasePrimary", NULL, /* name, stock id */
+ "Pase Primary", "<control>V", /* label, accelerator */
+ "Pase Primary", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"SaveDictionariesonExit", NULL, /* name, stock id */
+ "Save Dictionaries on Exit", "<control>V", /* label, accelerator */
+ "Save Dictionaries on Exit", /* tooltip */
+ G_CALLBACK (activate_action)},
+ {"About", GTK_STOCK_ABOUT, /* name, stock id */
+ "_About", "<control>B", /* label, accelerator */
+ "About", /* tooltip */
+ G_CALLBACK (about)},
+ {"Logo", "demo-gtk-logo", /* name, stock id */
+ NULL, NULL, /* label, accelerator */
+ "GTK+", /* tooltip */
+ G_CALLBACK (activate_action)},
+};
+static guint n_entries = G_N_ELEMENTS (entries);
+
+
+static const gchar *ui_info =
+ "<ui>"
+ " <menubar name='MenuBar'>"
+ " <menu action='FileMenu'>"
+ " <menuitem action='New'/>"
+ " <menuitem action='Open'/>"
+ " <menuitem action='Save'/>"
+ " <menuitem action='SaveAs'/>"
+ " <separator/>"
+ " <menuitem action='ClearSessionDictionary'/>"
+ " <menuitem action='SynchronizeDictionaries'/>"
+ " <separator/>"
+ " <menuitem action='Quit'/>"
+ " </menu>"
+ " <menu action='EditMenu'>"
+ " <menuitem action='SelectAll'/>"
+ " <menuitem action='ClearAll'/>"
+ " <menuitem action='PasePrimary'/>"
+ " </menu>"
+ " <menu action='OptionsMenu'>"
+ " <menuitem action='SaveDictionariesonExit'/>"
+ " </menu>"
+ " <menu action='HelpMenu'>"
+ " <menuitem action='About'/>"
+ " </menu>"
+ " </menubar>"
+ " <toolbar name='ToolBar'>"
+ " <toolitem action='Open'/>"
+ " <toolitem action='Quit'/>"
+ " <separator action='Sep1'/>"
+ " <toolitem action='Logo'/>"
+ " </toolbar>"
+"</ui>";
static void
@@ -294,15 +291,15 @@ int
main (int argc, char *argv[])
{
GtkWidget *box, *hbox, *scroll;
- GtkUIManager *ui;
- GtkActionGroup *actions;
- GtkWidget *menu;
- GtkWidget *menuitem;
- GtkWidget *sw;
- GtkWidget *menubar;
- GtkWidget *menubox;
- GError *error = NULL;
-
+ GtkUIManager *ui;
+ GtkActionGroup *actions;
+ GtkWidget *menu;
+ GtkWidget *menuitem;
+ GtkWidget *sw;
+ GtkWidget *menubar;
+ GtkWidget *menubox;
+ GError *error = NULL;
+ GtkWidget *label;
if (argc > 1)
{
printf ("%s-->%s\n", argv[1],
@@ -313,28 +310,33 @@ main (int argc, char *argv[])
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- actions = gtk_action_group_new ("Actions");
- gtk_action_group_add_actions (actions, entries, n_entries, NULL);
- ui = gtk_ui_manager_new ();
- gtk_ui_manager_insert_action_group (ui, actions, 0);
- g_object_unref (actions);
- gtk_window_add_accel_group (GTK_WINDOW (window),
- gtk_ui_manager_get_accel_group (ui));
+ actions = gtk_action_group_new ("Actions");
+ gtk_action_group_add_actions (actions, entries, n_entries, NULL);
+ ui = gtk_ui_manager_new ();
+ gtk_ui_manager_insert_action_group (ui, actions, 0);
+ g_object_unref (actions);
+ gtk_window_add_accel_group (GTK_WINDOW (window),
+ gtk_ui_manager_get_accel_group (ui));
- if (!gtk_ui_manager_add_ui_from_string (ui, ui_info, -1, &error))
- {
- g_message ("building menus failed: %s", error->message);
- g_error_free (error);
- }
- menubox = gtk_vbox_new (FALSE, 0);
-// gtk_container_add (GTK_CONTAINER (box), menubox);
- gtk_widget_show (menubox);
+ if (!gtk_ui_manager_add_ui_from_string (ui, ui_info, -1, &error))
+ {
+ g_message ("building menus failed: %s", error->message);
+ g_error_free (error);
+ }
+ menubox = gtk_vbox_new (FALSE, 0);
+menubar = gtk_vbox_new (FALSE, 0);
+// gtk_container_add (GTK_CONTAINER (box), menubox);
+ gtk_widget_show (menubox);
// gtk_container_add (GTK_CONTAINER (box), box1);
- gtk_box_pack_start (GTK_BOX (menubox), gtk_ui_manager_get_widget (ui, "/MenuBar"),
- FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (menubox),
+ gtk_ui_manager_get_widget (ui, "/MenuBar"), FALSE,
+ FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (menubar),
+ gtk_ui_manager_get_widget (ui, "/ToolBar"), FALSE,
+ FALSE, 0);
@@ -351,19 +353,20 @@ main (int argc, char *argv[])
build_languagelist ();
hbox = gtk_hbox_new (FALSE, 5);
+ label = gtk_label_new ("Languages");
attached = gtk_toggle_button_new_with_label ("Attached");
g_signal_connect (G_OBJECT (attached), "toggled",
G_CALLBACK (attach_cb), NULL);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (attached), TRUE);
gtk_box_pack_start (GTK_BOX (hbox), attached, FALSE, FALSE, 0);
-
gtk_box_pack_end (GTK_BOX (hbox), languagelist, FALSE, FALSE, 0);
-
+ gtk_box_pack_end (GTK_BOX (hbox), label, FALSE, FALSE, 0);
box = gtk_vbox_new (FALSE, 5);
-gtk_box_pack_start (GTK_BOX (box), menubox,FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (box), menubox, FALSE, FALSE, 0);
+gtk_box_pack_start (GTK_BOX (box), menubar, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (box), scroll, TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (box), hbox, FALSE, FALSE, 0);
-
+
gtk_widget_show_all (box);
gtk_window_set_default_size (GTK_WINDOW (window), 1200, 800);
@@ -374,6 +377,7 @@ gtk_box_pack_start (GTK_BOX (box), menubox,FALSE, FALSE, 0);
gtk_container_add (GTK_CONTAINER (window), box);
gtk_widget_show (window);
+ gtk_window_maximize(window) ;
gtk_main ();
return 0;
diff --git a/input-methods/sulekha/src/sulekhaspell.c b/input-methods/sulekha/src/sulekhaspell.c
index 58032f5..4ced302 100644
--- a/input-methods/sulekha/src/sulekhaspell.c
+++ b/input-methods/sulekha/src/sulekhaspell.c
@@ -64,8 +64,10 @@
#define aspell pspell
#endif
-const int debug = 0;
+const int debug = 1;
const int quiet = 0;
+int check = 1;
+int replace = 0;
struct _SulekhaSpell
{
@@ -79,6 +81,7 @@ struct _SulekhaSpell
};
static void sulekhaspell_free (SulekhaSpell * spell);
+static void replace_by_transliterated_word (SulekhaSpell * spell);
#define SULEKHASPELL_OBJECT_KEY "sulekhaspell"
@@ -153,16 +156,14 @@ check_word (SulekhaSpell * spell, GtkTextBuffer * buffer,
GtkTextIter * start, GtkTextIter * end)
{
char *text;
- char *oldword;
text = gtk_text_buffer_get_text (buffer, start, end, FALSE);
if (debug)
g_print ("checking: %s\n", text);
- g_print ("[santhosh]checking: %s\n", text);
text = transliterate_ml (text, 0, strlen (text));
- g_print ("[santhosh]After transliteration checking: %s\n", text);
if (g_unichar_isdigit (*text) == FALSE) /* don't check numbers */
if (aspell_speller_check (spell->speller, text, -1) == FALSE)
gtk_text_buffer_apply_tag (buffer, spell->tag_highlight, start, end);
+
g_free (text);
}
@@ -185,6 +186,7 @@ check_range (SulekhaSpell * spell, GtkTextBuffer * buffer,
GtkTextIter wstart, wend, cursor, precursor;
gboolean inword, highlight;
+
if (debug)
{
g_print ("check_range: ");
@@ -194,28 +196,39 @@ check_range (SulekhaSpell * spell, GtkTextBuffer * buffer,
}
-
+//inside word
if (gtk_text_iter_inside_word (&end))
- gtk_text_iter_forward_word_end (&end);
- if (!gtk_text_iter_starts_word (&start))
+ gtk_text_iter_forward_word_end (&end); //move the end to the end of the word
+//start of the word
+ if (!gtk_text_iter_starts_word (&start)) //not at the beginning of the word
{
- if (gtk_text_iter_inside_word (&start) ||
- gtk_text_iter_ends_word (&start))
+ if (gtk_text_iter_inside_word (&start)
+ || gtk_text_iter_ends_word (&start))
{
- gtk_text_iter_backward_word_start (&start);
+ gtk_text_iter_backward_word_start (&start); //move the start to the start of the word
}
else
{
/* if we're neither at the beginning nor inside a word,
* me must be in some spaces.
- * skip forward to the beginning of the next word. */
- //gtk_text_buffer_remove_tag(buffer, tag_highlight, &start, &end);
+ * skip forward to the beginning of the next word.
+ */
if (gtk_text_iter_forward_word_end (&start))
gtk_text_iter_backward_word_start (&start);
}
}
+ /*
+ * Now start is at the start of the word and end is at the end of the word
+ * Initializes iter with the current position of mark.
+ */
gtk_text_buffer_get_iter_at_mark (buffer, &cursor,
gtk_text_buffer_get_insert (buffer));
+/*gtk_text_buffer_get_insert: Returns the mark that represents the cursor (insertion point). Equivalent to calling
+ * gtk_text_buffer_get_mark() to get the mark named "insert",
+ * but very slightly more efficient, and involves less typing.
+ */
+
+
precursor = cursor;
gtk_text_iter_backward_char (&precursor);
@@ -250,6 +263,7 @@ check_range (SulekhaSpell * spell, GtkTextBuffer * buffer,
inword = (gtk_text_iter_compare (&wstart, &cursor) < 0) &&
(gtk_text_iter_compare (&cursor, &wend) <= 0);
+ //i.e start is before cursor and cursor is less than end--> cursor in between the word
if (inword && !force_all)
{
@@ -260,11 +274,14 @@ check_range (SulekhaSpell * spell, GtkTextBuffer * buffer,
check_word (spell, buffer, &wstart, &wend);
else
spell->deferred_check = TRUE;
+
}
- else
+ else //cursor at the end of the word. now check the spelling
{
+ g_print ("checking\n");
check_word (spell, buffer, &wstart, &wend);
spell->deferred_check = FALSE;
+
}
/* now move wend to the beginning of the next word, */
@@ -277,6 +294,7 @@ check_range (SulekhaSpell * spell, GtkTextBuffer * buffer,
/* and then pick this as the new next word beginning. */
wstart = wend;
}
+
}
static void
@@ -307,16 +325,38 @@ static void
insert_text_after (GtkTextBuffer * buffer, GtkTextIter * iter,
gchar * text, gint len, SulekhaSpell * spell)
{
- GtkTextIter start;
+ GtkTextIter start, end;
if (debug)
- g_print ("insert\n");
+ g_print ("insert %s\n", text );
+ /*-----------------------------------*/
+
+ if (!gtk_text_iter_ends_word (iter))
+ {
+ g_print ("ivideyaanu mone kali\n");
+
+ replace_by_transliterated_word (spell);
+ gtk_text_buffer_get_iter_at_mark (buffer, &end, spell->mark_insert_end);
+ gtk_text_buffer_get_iter_at_mark (buffer, &start,
+ spell->mark_insert_start);
+
+
+ check_range (spell, buffer, start, end, FALSE);
+
+ // gtk_text_buffer_move_mark (buffer, spell->mark_insert_end, &end);
+ }
+/*-----------------------------------*/
+ else
+ {
+ /* we need to check a range of text. */
+ gtk_text_buffer_get_iter_at_mark (buffer, &start,
+ spell->mark_insert_start);
- /* we need to check a range of text. */
- gtk_text_buffer_get_iter_at_mark (buffer, &start, spell->mark_insert_start);
- check_range (spell, buffer, start, *iter, FALSE);
- gtk_text_buffer_move_mark (buffer, spell->mark_insert_end, iter);
+ check_range (spell, buffer, start, *iter, FALSE);
+
+ gtk_text_buffer_move_mark (buffer, spell->mark_insert_end, iter);
+ }
}
/* deleting is more simple: we're given the range of deleted text.
@@ -369,7 +409,7 @@ add_to_dictionary (GtkWidget * menuitem, SulekhaSpell * spell)
get_word_extents_from_mark (buffer, &start, &end, spell->mark_click);
word = gtk_text_buffer_get_text (buffer, &start, &end, FALSE);
-
+ word = transliterate_ml (word, 0, strlen (word));
aspell_speller_add_to_personal (spell->speller, word, strlen (word));
aspell_speller_save_all_word_lists (spell->speller);
@@ -429,24 +469,99 @@ replace_word (GtkWidget * menuitem, SulekhaSpell * spell)
g_free (oldword);
}
-GtkWidget *
-build_suggestion_menu (SulekhaSpell * spell, GtkTextBuffer * buffer,
- const char *word)
+static void
+replace_by_transliterated_word (SulekhaSpell * spell)
{
- const char *suggestion;
- GtkWidget *topmenu, *menu;
- GtkWidget *mi;
- GtkWidget *hbox;
- int count = 0;
- void *spelldata;
+ char *oldword;
+ const char *newword;
+ GtkTextIter start, end;
+ GtkTextBuffer *buffer;
+
+ buffer = gtk_text_view_get_buffer (spell->view);
+
+ get_word_extents_from_mark (buffer, &start, &end,spell->mark_insert_end);
+ oldword = gtk_text_buffer_get_text (buffer, &start, &end, FALSE);
+ // newword = gtk_label_get_text (GTK_LABEL (GTK_BIN (menuitem)->child));
+ newword = transliterate_ml (oldword, 0, strlen (oldword));
+ // if (debug)
+ if (1)
+ {
+ g_print ("old word: '%s'\n", oldword);
+ print_iter ("s", &start);
+ print_iter ("e", &end);
+ g_print ("\nnew word: '%s'\n", newword);
+ }
+
+ gtk_text_buffer_delete (buffer, &start, &end);
+ gtk_text_buffer_insert (buffer, &start, newword, -1);
+
+
+ g_free (oldword);
+ g_print ("\nReplaced\n");
+}
+
+
+static void
+populate_popup (GtkTextView * textview, GtkMenu * menu, SulekhaSpell * spell)
+{
+ GtkWidget *img, *mi;
const AspellWordList *suggestions;
+ GtkWidget *topmenu;
AspellStringEnumeration *elements;
+ int count = 0;
char *label;
- //santhosh
+ GtkTextBuffer *buffer = gtk_text_view_get_buffer (textview);
+ GtkTextIter start, end;
+ char *word;
+ const char *suggestion;
+ topmenu = menu;
+ /* we need to figure out if they picked a misspelled word. */
+ get_word_extents_from_mark (buffer, &start, &end, spell->mark_click);
+
+ /* if our highlight algorithm ever messes up,
+ * this isn't correct, either. */
+ if (!gtk_text_iter_has_tag (&start, spell->tag_highlight))
+ return; /* word wasn't misspelled. */
+
+ /* menu separator comes first. */
+ mi = gtk_menu_item_new ();
+ gtk_widget_show (mi);
+ gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), mi);
+
+ word = gtk_text_buffer_get_text (buffer, &start, &end, FALSE);
+
+ /* - Ignore All */
+ mi = gtk_image_menu_item_new_with_label (_("Ignore All"));
+ gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi),
+ gtk_image_new_from_stock (GTK_STOCK_REMOVE,
+ GTK_ICON_SIZE_MENU));
+ g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (ignore_all),
+ spell);
+ gtk_widget_show_all (mi);
+ gtk_menu_shell_prepend (GTK_MENU_SHELL (topmenu), mi);
+
word = transliterate_ml (word, 0, strlen (word));
+/* + Add to Dictionary */
+ label = g_strdup_printf (_("Add \"%s\" to Dictionary"), word);
+ mi = gtk_image_menu_item_new_with_label (label);
+ g_free (label);
+ gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi),
+ gtk_image_new_from_stock (GTK_STOCK_ADD,
+ GTK_ICON_SIZE_MENU));
+ g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (add_to_dictionary),
+ spell);
+ gtk_widget_show_all (mi);
+ gtk_menu_shell_prepend (GTK_MENU_SHELL (topmenu), mi);
+ /* menu separator comes first. */
+ mi = gtk_menu_item_new ();
+ gtk_widget_show (mi);
+ gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), mi);
+ /* then, on top of it, the suggestions menu. */
+ img = gtk_image_new_from_stock (GTK_STOCK_SPELL_CHECK, GTK_ICON_SIZE_MENU);
+ mi = gtk_image_menu_item_new_with_label (_("Spelling Suggestions"));
+ gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), img);
+
- //end santhosh
- topmenu = menu = gtk_menu_new ();
suggestions = aspell_speller_suggest (spell->speller, word, -1);
elements = aspell_word_list_elements (suggestions);
@@ -469,15 +584,15 @@ build_suggestion_menu (SulekhaSpell * spell, GtkTextBuffer * buffer,
/* build a set of menus with suggestions. */
while (suggestion != NULL)
{
- if (count == 10)
+ if (count == 5)
{
- mi = gtk_menu_item_new ();
- gtk_widget_show (mi);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+// mi = gtk_menu_item_new ();
+// gtk_widget_show (mi);
+// gtk_menu_shell_insert (GTK_MENU_SHELL (menu), mi,count+1);
mi = gtk_menu_item_new_with_label (_("More..."));
gtk_widget_show (mi);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+ gtk_menu_shell_insert (GTK_MENU_SHELL (menu), mi, count + 1);
menu = gtk_menu_new ();
gtk_menu_item_set_submenu (GTK_MENU_ITEM (mi), menu);
@@ -487,7 +602,7 @@ build_suggestion_menu (SulekhaSpell * spell, GtkTextBuffer * buffer,
g_signal_connect (G_OBJECT (mi), "activate",
G_CALLBACK (replace_word), spell);
gtk_widget_show (mi);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+ gtk_menu_shell_insert (GTK_MENU_SHELL (menu), mi, count);
count++;
suggestion = aspell_string_enumeration_next (elements);
}
@@ -495,72 +610,16 @@ build_suggestion_menu (SulekhaSpell * spell, GtkTextBuffer * buffer,
delete_aspell_string_enumeration (elements);
- /* Separator */
- mi = gtk_menu_item_new ();
- gtk_widget_show (mi);
- gtk_menu_shell_append (GTK_MENU_SHELL (topmenu), mi);
-
- /* + Add to Dictionary */
- label = g_strdup_printf (_("Add \"%s\" to Dictionary"), word);
- mi = gtk_image_menu_item_new_with_label (label);
- g_free (label);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi),
- gtk_image_new_from_stock (GTK_STOCK_ADD,
- GTK_ICON_SIZE_MENU));
- g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (add_to_dictionary),
- spell);
- gtk_widget_show_all (mi);
- gtk_menu_shell_append (GTK_MENU_SHELL (topmenu), mi);
-
- /* - Ignore All */
- mi = gtk_image_menu_item_new_with_label (_("Ignore All"));
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi),
- gtk_image_new_from_stock (GTK_STOCK_REMOVE,
- GTK_ICON_SIZE_MENU));
- g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (ignore_all),
- spell);
- gtk_widget_show_all (mi);
- gtk_menu_shell_append (GTK_MENU_SHELL (topmenu), mi);
-
- return topmenu;
-}
-
-static void
-populate_popup (GtkTextView * textview, GtkMenu * menu, SulekhaSpell * spell)
-{
- GtkWidget *img, *mi;
- GtkTextBuffer *buffer = gtk_text_view_get_buffer (textview);
- GtkTextIter start, end;
- char *word;
-
- /* we need to figure out if they picked a misspelled word. */
- get_word_extents_from_mark (buffer, &start, &end, spell->mark_click);
-
- /* if our highlight algorithm ever messes up,
- * this isn't correct, either. */
- if (!gtk_text_iter_has_tag (&start, spell->tag_highlight))
- return; /* word wasn't misspelled. */
-
- /* menu separator comes first. */
- mi = gtk_menu_item_new ();
- gtk_widget_show (mi);
- gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), mi);
-
- /* then, on top of it, the suggestions menu. */
- img = gtk_image_new_from_stock (GTK_STOCK_SPELL_CHECK, GTK_ICON_SIZE_MENU);
- mi = gtk_image_menu_item_new_with_label (_("Spelling Suggestions"));
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), img);
-
- word = gtk_text_buffer_get_text (buffer, &start, &end, FALSE);
- gtk_menu_item_set_submenu (GTK_MENU_ITEM (mi),
- build_suggestion_menu (spell, buffer, word));
g_free (word);
+
gtk_widget_show_all (mi);
gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), mi);
}
+
+
/* when the user right-clicks on a word, they want to check that word.
* here, we do NOT move the cursor to the location of the clicked-upon word
* since that prevents the use of edit functions on the context menu. */
@@ -627,6 +686,9 @@ sulekhaspell_set_language_internal (SulekhaSpell * spell, const gchar * lang,
if (lang)
aspell_config_replace (config, "language-tag", lang);
aspell_config_replace (config, "encoding", "utf-8");
+ //aspell_config_replace (config, "sug-edit-dist", "2");
+ aspell_config_replace (config, "sug-mode", "ultra");
+
err = new_aspell_speller (config);
delete_aspell_config (config);
diff --git a/input-methods/sulekha/src/sulekhaspell.c~ b/input-methods/sulekha/src/sulekhaspell.c~
index 143d989..9d9368e 100644
--- a/input-methods/sulekha/src/sulekhaspell.c~
+++ b/input-methods/sulekha/src/sulekhaspell.c~
@@ -1,8 +1,25 @@
/* sulekhaspell - a transliteratio - spell-checking addon for GTK's TextView widget
- * Copyright (c) 2007-2008 Santhosh Thottingal
* Based on gtkspell by Evan Martin.
- */
-
+ *
+ * Copyright (C) 2007-2008
+ * Santhosh Thottingal<santhosh00@gmail.com>,
+ * Praveen Arimprathodiyil <pravi.a@gmail.com>
+ * Swathanthra Malayalam Computing.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+*/
#include <gtk/gtk.h>
#include <libintl.h>
@@ -62,7 +79,7 @@ struct _SulekhaSpell
};
static void sulekhaspell_free (SulekhaSpell * spell);
-
+ static void replace_by_transliterated_word (SulekhaSpell * spell);
#define SULEKHASPELL_OBJECT_KEY "sulekhaspell"
GQuark
@@ -137,16 +154,20 @@ check_word (SulekhaSpell * spell, GtkTextBuffer * buffer,
{
char *text;
char *oldword;
+// replace_by_transliterated_word (spell);
+// g_print ("replaced");
+//
text = gtk_text_buffer_get_text (buffer, start, end, FALSE);
if (debug)
g_print ("checking: %s\n", text);
- g_print ("[santhosh]checking: %s\n", text);
- text = transliterate_ml (text, 0, strlen (text));
- g_print ("[santhosh]After transliteration checking: %s\n", text);
+ // g_print ("[santhosh]checking: %s\n", text);
+ // text = transliterate_ml (text, 0, strlen (text));
+ g_print ("[santhosh]After transliteration checking: %s\n", transliterate_ml (text, 0, strlen (text)));
if (g_unichar_isdigit (*text) == FALSE) /* don't check numbers */
if (aspell_speller_check (spell->speller, text, -1) == FALSE)
gtk_text_buffer_apply_tag (buffer, spell->tag_highlight, start, end);
- g_free (text);
+
+ // g_free (text);
}
static void
@@ -246,9 +267,10 @@ check_range (SulekhaSpell * spell, GtkTextBuffer * buffer,
}
else
{
+ g_print ("checking\n");
check_word (spell, buffer, &wstart, &wend);
spell->deferred_check = FALSE;
- }
+ }
/* now move wend to the beginning of the next word, */
gtk_text_iter_forward_word_end (&wend);
@@ -293,8 +315,7 @@ insert_text_after (GtkTextBuffer * buffer, GtkTextIter * iter,
GtkTextIter start;
if (debug)
- g_print ("insert\n");
-
+ g_print ("insert\n");
/* we need to check a range of text. */
gtk_text_buffer_get_iter_at_mark (buffer, &start, spell->mark_insert_start);
check_range (spell, buffer, start, *iter, FALSE);
@@ -412,24 +433,239 @@ replace_word (GtkWidget * menuitem, SulekhaSpell * spell)
g_free (oldword);
}
-GtkWidget *
-build_suggestion_menu (SulekhaSpell * spell, GtkTextBuffer * buffer,
- const char *word)
+static void
+replace_by_transliterated_word (SulekhaSpell * spell)
{
- const char *suggestion;
- GtkWidget *topmenu, *menu;
- GtkWidget *mi;
- GtkWidget *hbox;
- int count = 0;
- void *spelldata;
+ char *oldword;
+ const char *newword;
+ GtkTextIter start, end;
+ GtkTextBuffer *buffer;
+
+ buffer = gtk_text_view_get_buffer (spell->view);
+
+ get_word_extents_from_mark (buffer, &start, &end, spell->mark_click);
+ oldword = gtk_text_buffer_get_text (buffer, &start, &end, FALSE);
+ // newword = gtk_label_get_text (GTK_LABEL (GTK_BIN (menuitem)->child));
+ newword = transliterate_ml (oldword,0, strlen(oldword));
+ // if (debug)
+ if (1)
+ {
+ g_print ("old word: '%s'\n", oldword);
+ print_iter ("s", &start);
+ print_iter ("e", &end);
+ g_print ("\nnew word: '%s'\n", newword);
+ }
+
+ gtk_text_buffer_delete (buffer, &start, &end);
+ gtk_text_buffer_insert (buffer, &start, newword, -1);
+
+ aspell_speller_store_replacement (spell->speller,
+ oldword, strlen (oldword),
+ newword, strlen (newword));
+
+ g_free (oldword);
+}
+
+
+// GtkWidget *
+// build_suggestion_menu (SulekhaSpell * spell, GtkTextBuffer * buffer,
+// const char *word)
+// {
+// const char *suggestion;
+// GtkWidget *topmenu, *menu;
+// GtkWidget *mi;
+// GtkWidget *hbox;
+// int count = 0;
+// void *spelldata;
+// const AspellWordList *suggestions;
+// AspellStringEnumeration *elements;
+// char *label;
+// //santhosh
+// // word = transliterate_ml (word, 0, strlen (word));
+//
+// //end santhosh
+// topmenu = menu = gtk_menu_new ();
+//
+// suggestions = aspell_speller_suggest (spell->speller, word, -1);
+// elements = aspell_word_list_elements (suggestions);
+//
+// suggestion = aspell_string_enumeration_next (elements);
+// if (suggestion == NULL)
+// {
+// /* no suggestions. put something in the menu anyway... */
+// GtkWidget *label;
+// label = gtk_label_new ("");
+// gtk_label_set_markup (GTK_LABEL (label), _("<i>(no suggestions)</i>"));
+//
+// mi = gtk_menu_item_new ();
+// gtk_container_add (GTK_CONTAINER (mi), label);
+// gtk_widget_show_all (mi);
+// gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), mi);
+// }
+// else
+// {
+// /* build a set of menus with suggestions. */
+// while (suggestion != NULL)
+// {
+// if (count == 10)
+// {
+// mi = gtk_menu_item_new ();
+// gtk_widget_show (mi);
+// gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+//
+// mi = gtk_menu_item_new_with_label (_("More..."));
+// gtk_widget_show (mi);
+// gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+//
+// menu = gtk_menu_new ();
+// gtk_menu_item_set_submenu (GTK_MENU_ITEM (mi), menu);
+// count = 0;
+// }
+// mi = gtk_menu_item_new_with_label (suggestion);
+// g_signal_connect (G_OBJECT (mi), "activate",
+// G_CALLBACK (replace_word), spell);
+// gtk_widget_show (mi);
+// gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+// count++;
+// suggestion = aspell_string_enumeration_next (elements);
+// }
+// }
+//
+// delete_aspell_string_enumeration (elements);
+//
+// /* Separator */
+// mi = gtk_menu_item_new ();
+// gtk_widget_show (mi);
+// gtk_menu_shell_append (GTK_MENU_SHELL (topmenu), mi);
+//
+// /* + Add to Dictionary */
+// label = g_strdup_printf (_("Add \"%s\" to Dictionary"), word);
+// mi = gtk_image_menu_item_new_with_label (label);
+// g_free (label);
+// gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi),
+// gtk_image_new_from_stock (GTK_STOCK_ADD,
+// GTK_ICON_SIZE_MENU));
+// g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (add_to_dictionary),
+// spell);
+// gtk_widget_show_all (mi);
+// gtk_menu_shell_append (GTK_MENU_SHELL (topmenu), mi);
+//
+// /* - Ignore All */
+// mi = gtk_image_menu_item_new_with_label (_("Ignore All"));
+// gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi),
+// gtk_image_new_from_stock (GTK_STOCK_REMOVE,
+// GTK_ICON_SIZE_MENU));
+// g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (ignore_all),
+// spell);
+// gtk_widget_show_all (mi);
+// gtk_menu_shell_append (GTK_MENU_SHELL (topmenu), mi);
+//
+// return topmenu;
+// }
+
+// static void
+// populate_popup1 (GtkTextView * textview, GtkMenu * menu, SulekhaSpell * spell)
+// {
+// GtkWidget *img, *mi;
+// GtkTextBuffer *buffer = gtk_text_view_get_buffer (textview);
+// GtkTextIter start, end;
+// char *word;
+//
+// /* we need to figure out if they picked a misspelled word. */
+// get_word_extents_from_mark (buffer, &start, &end, spell->mark_click);
+//
+// /* if our highlight algorithm ever messes up,
+// * this isn't correct, either. */
+// if (!gtk_text_iter_has_tag (&start, spell->tag_highlight))
+// return; /* word wasn't misspelled. */
+//
+// /* menu separator comes first. */
+// mi = gtk_menu_item_new ();
+// gtk_widget_show (mi);
+// gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), mi);
+//
+// /* then, on top of it, the suggestions menu. */
+// img = gtk_image_new_from_stock (GTK_STOCK_SPELL_CHECK, GTK_ICON_SIZE_MENU);
+// mi = gtk_image_menu_item_new_with_label (_("Spelling Suggestions"));
+// gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), img);
+//
+// word = gtk_text_buffer_get_text (buffer, &start, &end, FALSE);
+// /* gtk_menu_item_set_submenu (GTK_MENU_ITEM (mi),
+// build_suggestion_menu (spell, buffer, word));*/
+//
+// gtk_menu_item_set_submenu (GTK_MENU_SHELL (menu),
+// build_suggestion_menu (spell, buffer, word));
+//
+//
+//
+// g_free (word);
+//
+// gtk_widget_show_all (mi);
+// gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), mi);
+// }
+
+
+static void
+populate_popup (GtkTextView * textview, GtkMenu * menu, SulekhaSpell * spell)
+{
+ GtkWidget *img, *mi;
const AspellWordList *suggestions;
+ GtkWidget *topmenu;
AspellStringEnumeration *elements;
+ int count = 0;
char *label;
- //santhosh
- word = transliterate_ml (word, 0, strlen (word));
+ GtkTextBuffer *buffer = gtk_text_view_get_buffer (textview);
+ GtkTextIter start, end;
+ char *word;
+ const char *suggestion;
+ topmenu = menu;
+ /* we need to figure out if they picked a misspelled word. */
+ get_word_extents_from_mark (buffer, &start, &end, spell->mark_click);
+
+ /* if our highlight algorithm ever messes up,
+ * this isn't correct, either. */
+ if (!gtk_text_iter_has_tag (&start, spell->tag_highlight))
+ return; /* word wasn't misspelled. */
+
+ /* menu separator comes first. */
+ mi = gtk_menu_item_new ();
+ gtk_widget_show (mi);
+ gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), mi);
+
+ word = gtk_text_buffer_get_text (buffer, &start, &end, FALSE);
+
+ /* - Ignore All */
+ mi = gtk_image_menu_item_new_with_label (_("Ignore All"));
+ gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi),
+ gtk_image_new_from_stock (GTK_STOCK_REMOVE,
+ GTK_ICON_SIZE_MENU));
+ g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (ignore_all),
+ spell);
+ gtk_widget_show_all (mi);
+ gtk_menu_shell_prepend (GTK_MENU_SHELL (topmenu), mi);
+
+/* + Add to Dictionary */
+ label = g_strdup_printf (_("Add \"%s\" to Dictionary"), word);
+ mi = gtk_image_menu_item_new_with_label (label);
+ g_free (label);
+ gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi),
+ gtk_image_new_from_stock (GTK_STOCK_ADD,
+ GTK_ICON_SIZE_MENU));
+ g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (add_to_dictionary),
+ spell);
+ gtk_widget_show_all (mi);
+ gtk_menu_shell_prepend (GTK_MENU_SHELL (topmenu), mi);
+ /* menu separator comes first. */
+ mi = gtk_menu_item_new ();
+ gtk_widget_show (mi);
+ gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), mi);
+ /* then, on top of it, the suggestions menu. */
+ img = gtk_image_new_from_stock (GTK_STOCK_SPELL_CHECK, GTK_ICON_SIZE_MENU);
+ mi = gtk_image_menu_item_new_with_label (_("Spelling Suggestions"));
+ gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), img);
+
+
- //end santhosh
- topmenu = menu = gtk_menu_new ();
suggestions = aspell_speller_suggest (spell->speller, word, -1);
elements = aspell_word_list_elements (suggestions);
@@ -452,15 +688,15 @@ build_suggestion_menu (SulekhaSpell * spell, GtkTextBuffer * buffer,
/* build a set of menus with suggestions. */
while (suggestion != NULL)
{
- if (count == 10)
+ if (count == 5)
{
- mi = gtk_menu_item_new ();
- gtk_widget_show (mi);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+// mi = gtk_menu_item_new ();
+// gtk_widget_show (mi);
+// gtk_menu_shell_insert (GTK_MENU_SHELL (menu), mi,count+1);
mi = gtk_menu_item_new_with_label (_("More..."));
gtk_widget_show (mi);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+ gtk_menu_shell_insert (GTK_MENU_SHELL (menu), mi, count + 1);
menu = gtk_menu_new ();
gtk_menu_item_set_submenu (GTK_MENU_ITEM (mi), menu);
@@ -470,7 +706,7 @@ build_suggestion_menu (SulekhaSpell * spell, GtkTextBuffer * buffer,
g_signal_connect (G_OBJECT (mi), "activate",
G_CALLBACK (replace_word), spell);
gtk_widget_show (mi);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+ gtk_menu_shell_insert (GTK_MENU_SHELL (menu), mi, count);
count++;
suggestion = aspell_string_enumeration_next (elements);
}
@@ -478,72 +714,16 @@ build_suggestion_menu (SulekhaSpell * spell, GtkTextBuffer * buffer,
delete_aspell_string_enumeration (elements);
- /* Separator */
- mi = gtk_menu_item_new ();
- gtk_widget_show (mi);
- gtk_menu_shell_append (GTK_MENU_SHELL (topmenu), mi);
-
- /* + Add to Dictionary */
- label = g_strdup_printf (_("Add \"%s\" to Dictionary"), word);
- mi = gtk_image_menu_item_new_with_label (label);
- g_free (label);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi),
- gtk_image_new_from_stock (GTK_STOCK_ADD,
- GTK_ICON_SIZE_MENU));
- g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (add_to_dictionary),
- spell);
- gtk_widget_show_all (mi);
- gtk_menu_shell_append (GTK_MENU_SHELL (topmenu), mi);
-
- /* - Ignore All */
- mi = gtk_image_menu_item_new_with_label (_("Ignore All"));
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi),
- gtk_image_new_from_stock (GTK_STOCK_REMOVE,
- GTK_ICON_SIZE_MENU));
- g_signal_connect (G_OBJECT (mi), "activate", G_CALLBACK (ignore_all),
- spell);
- gtk_widget_show_all (mi);
- gtk_menu_shell_append (GTK_MENU_SHELL (topmenu), mi);
-
- return topmenu;
-}
-
-static void
-populate_popup (GtkTextView * textview, GtkMenu * menu, SulekhaSpell * spell)
-{
- GtkWidget *img, *mi;
- GtkTextBuffer *buffer = gtk_text_view_get_buffer (textview);
- GtkTextIter start, end;
- char *word;
-
- /* we need to figure out if they picked a misspelled word. */
- get_word_extents_from_mark (buffer, &start, &end, spell->mark_click);
-
- /* if our highlight algorithm ever messes up,
- * this isn't correct, either. */
- if (!gtk_text_iter_has_tag (&start, spell->tag_highlight))
- return; /* word wasn't misspelled. */
-
- /* menu separator comes first. */
- mi = gtk_menu_item_new ();
- gtk_widget_show (mi);
- gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), mi);
-
- /* then, on top of it, the suggestions menu. */
- img = gtk_image_new_from_stock (GTK_STOCK_SPELL_CHECK, GTK_ICON_SIZE_MENU);
- mi = gtk_image_menu_item_new_with_label (_("Spelling Suggestions"));
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), img);
-
- word = gtk_text_buffer_get_text (buffer, &start, &end, FALSE);
- gtk_menu_item_set_submenu (GTK_MENU_ITEM (mi),
- build_suggestion_menu (spell, buffer, word));
g_free (word);
+
gtk_widget_show_all (mi);
gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), mi);
}
+
+
/* when the user right-clicks on a word, they want to check that word.
* here, we do NOT move the cursor to the location of the clicked-upon word
* since that prevents the use of edit functions on the context menu. */
@@ -610,6 +790,9 @@ sulekhaspell_set_language_internal (SulekhaSpell * spell, const gchar * lang,
if (lang)
aspell_config_replace (config, "language-tag", lang);
aspell_config_replace (config, "encoding", "utf-8");
+ //aspell_config_replace (config, "sug-edit-dist", "2");
+aspell_config_replace (config, "sug-mode", "ultra");
+
err = new_aspell_speller (config);
delete_aspell_config (config);
diff --git a/input-methods/sulekha/src/trans.c b/input-methods/sulekha/src/trans.c
deleted file mode 100644
index 18e48e1..0000000
--- a/input-methods/sulekha/src/trans.c
+++ /dev/null
@@ -1,231 +0,0 @@
-/* Transliteration.c
- *
- * Copyright (C) 2007-2008
- * Santhosh Thottingal<santhosh00@gmail.com>,
- * Swathanthra Malayalam Computing.
- *
- * 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, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
-
-#include<stdio.h>
-#include<string.h>
-#include<stdlib.h>
-#include "Transliteration.h"
-/*
-Transliterate the a dhvani phonetic string to malayalam.
-Algorithm:
-1)For all vowels, if it is at the 0th position print as it is
-2)If the vowel is in between/end of the string print the sign of the vowel except for A
-3)For all consonants print the malayalam character
-4)If a phonetic character is not identified print '?'
-5)Octal C escaped strings are used for printing the Unicode Malayalam string
-*/
-
-
-char *
-transliterate_ml (char *phonetic_string, int start, int end)
-{
- char *ml_string;
- int length = 0;
- int i = start;
- length = end - start;
- ml_string = (char *) malloc (length * 4 * sizeof (char));
- printf (":%s:\n", phonetic_string);
- while (i < end)
- {
-
- switch (phonetic_string[i])
- {
- //Vowels
- case 'a':
- if (i == 0)
- strcat (ml_string, "\340\264\205");
- break;
- case 'A':
- (i == 0) ? strcat (ml_string, "\340\264\206") : strcat (ml_string,
- "\340\264\276");
- break;
- case 'i':
- (i == 0) ? strcat (ml_string, "\340\264\207") : strcat (ml_string,
- "\340\264\277");
- break;
- case 'I':
- (i == 0) ? strcat (ml_string, "\340\264\210") : strcat (ml_string,
- "\340\265\200");
- break;
- case 'u':
- (i == 0) ? strcat (ml_string, "\340\264\211") : strcat (ml_string,
- "\340\265\201");
- break;
- case 'U':
- (i == 0) ? strcat (ml_string, "\340\264\212") : strcat (ml_string,
- "\340\265\202");
- break;
- case '^':
- (i == 0) ? strcat (ml_string, "\340\264\213") : strcat (ml_string,
- "\340\265\203");
- break;
- case 'e':
- (i == 0) ? strcat (ml_string, "\340\264\216") : strcat (ml_string,
- "\340\265\206");
- break;
- case 'E':
- (i == 0) ? strcat (ml_string, "\340\264\217") : strcat (ml_string,
- "\340\265\207");
- break;
- case '@':
- (i == 0) ? strcat (ml_string, "\340\264\220") : strcat (ml_string,
- "\340\265\210");
- break;
- case 'o':
- (i == 0) ? strcat (ml_string, "\340\264\222") : strcat (ml_string,
- "\340\265\212");
- break;
- case 'O':
- (i == 0) ? strcat (ml_string, "\340\264\223") : strcat (ml_string,
- "\340\265\213");
- break;
- case '`':
- (i == 0) ? strcat (ml_string, "\340\264\224") : strcat (ml_string,
- "\340\265\227");
- break;
- case '.': //am
- strcat (ml_string, "\340\264\202");
- break;
- case '~': //chandrakkala
- strcat (ml_string, "\340\265\215");
- break;
- case ':': //Ah
- strcat (ml_string, "\340\264\203");
- break;
- //Consonants
- case 'k':
- strcat (ml_string, "\340\264\225");
- break;
- case 'K':
- strcat (ml_string, "\340\264\226");
- break;
- case 'g':
- strcat (ml_string, "\340\264\227");
- break;
- case '-':
- strcat (ml_string, "\340\264\231");
- break;
- case 'G':
- strcat (ml_string, "\340\264\230");
- break;
- case 'c':
- strcat (ml_string, "\340\264\232");
- break;
- case 'C':
- strcat (ml_string, "\340\264\233");
- break;
- case 'j':
- strcat (ml_string, "\340\264\234");
- break;
- case 'J':
- strcat (ml_string, "\340\264\235");
- break;
- case '#':
- strcat (ml_string, "\340\264\236");
- break;
- case 't':
- strcat (ml_string, "\340\264\237");
- break;
- case 'T':
- strcat (ml_string, "\340\264\240");
- break;
- case 'd':
- strcat (ml_string, "\340\264\241");
- break;
- case 'D':
- strcat (ml_string, "\340\264\242");
- break;
- case 'N':
- strcat (ml_string, "\340\264\243");
- break;
- case 'x':
- strcat (ml_string, "\340\264\244");
- break;
- case 'X':
- strcat (ml_string, "\340\264\245");
- break;
- case 'w':
- strcat (ml_string, "\340\264\246");
- break;
- case 'W':
- strcat (ml_string, "\340\264\247");
- break;
- case 'n':
- strcat (ml_string, "\340\264\250");
- break;
- case 'p':
- strcat (ml_string, "\340\264\252");
- break;
- case 'f':
- strcat (ml_string, "\340\264\253");
- break;
- case 'b':
- strcat (ml_string, "\340\264\254");
- break;
- case 'B':
- strcat (ml_string, "\340\264\255");
- break;
- case 'm':
- strcat (ml_string, "\340\264\256");
- break;
- case 'y':
- strcat (ml_string, "\340\264\257");
- break;
- case 'r':
- strcat (ml_string, "\340\264\260");
- break;
- case 'l':
- strcat (ml_string, "\340\264\262");
- break;
- case 'v':
- strcat (ml_string, "\340\264\265");
- break;
- case '$':
- strcat (ml_string, "\340\264\266");
- break;
- case 's':
- strcat (ml_string, "\340\264\270");
- break;
- case 'S':
- strcat (ml_string, "\340\264\267");
- break;
- case 'h':
- strcat (ml_string, "\340\264\271");
- break;
- case 'L':
- strcat (ml_string, "\340\264\263");
- break;
- case 'z':
- strcat (ml_string, "\340\264\264");
- break;
- case 'R':
- strcat (ml_string, "\340\264\261");
- break;
- default:
- strcat (ml_string, "?"); //Not recognized
- break;
- }
-
- i++;
- }
- printf (":%s:\n", ml_string);
- return ml_string;
-}
diff --git a/input-methods/sulekha/src/trans.c~ b/input-methods/sulekha/src/trans.c~
index c30900d..18e48e1 100644
--- a/input-methods/sulekha/src/trans.c~
+++ b/input-methods/sulekha/src/trans.c~
@@ -6,7 +6,7 @@
*
* 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 2 of the License, or (at
+ * 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
@@ -14,10 +14,10 @@
* 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
+ * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+*/
#include<stdio.h>
#include<string.h>
diff --git a/input-methods/sulekha/src/transliteration.c b/input-methods/sulekha/src/transliteration.c
index 4cb1222..e6999de 100644
--- a/input-methods/sulekha/src/transliteration.c
+++ b/input-methods/sulekha/src/transliteration.c
@@ -79,11 +79,12 @@ transliterate_ml (char *phonetic_string, int start, int end)
int length = 0;
int i = start;
length = end - start;
+// printf("length %d\n", length);
ml_string = (char *) malloc (length * 4 * sizeof (char));
ml_string[0] = '\0';
while (i < end)
{
-
+// printf("i %d\n", i);
switch (phonetic_string[i])
{
//Vowels
@@ -879,7 +880,9 @@ transliterate_ml (char *phonetic_string, int start, int end)
strcat (ml_string, "\340\264\261");
break;
default:
- strcat (ml_string, phonetic_string[i]); //Not recognized
+
+ // strcat (ml_string, phonetic_string[i]); //Not recognized
+ return phonetic_string; // it is not a maglish, return the string and stop this work
break;
}
@@ -896,6 +899,7 @@ transliterate_ml (char *phonetic_string, int start, int end)
strcat (ml_string, "\340\265\215"); //virama - implicit virama for conjuct formation
}
+
i++;
diff --git a/input-methods/sulekha/src/transliteration.c~ b/input-methods/sulekha/src/transliteration.c~
index 4cb1222..0d1c751 100644
--- a/input-methods/sulekha/src/transliteration.c~
+++ b/input-methods/sulekha/src/transliteration.c~
@@ -79,11 +79,12 @@ transliterate_ml (char *phonetic_string, int start, int end)
int length = 0;
int i = start;
length = end - start;
+ printf("length %d\n", length);
ml_string = (char *) malloc (length * 4 * sizeof (char));
ml_string[0] = '\0';
while (i < end)
{
-
+printf("i %d\n", i);
switch (phonetic_string[i])
{
//Vowels
@@ -879,7 +880,9 @@ transliterate_ml (char *phonetic_string, int start, int end)
strcat (ml_string, "\340\264\261");
break;
default:
- strcat (ml_string, phonetic_string[i]); //Not recognized
+
+ // strcat (ml_string, phonetic_string[i]); //Not recognized
+ return phonetic_string; // it is not a maglish, return the string and stop this work
break;
}
@@ -896,6 +899,7 @@ transliterate_ml (char *phonetic_string, int start, int end)
strcat (ml_string, "\340\265\215"); //virama - implicit virama for conjuct formation
}
+
i++;
diff --git a/input-methods/sulekha/sugg.txt b/input-methods/sulekha/sugg.txt
deleted file mode 100644
index ef7ee1b..0000000
--- a/input-methods/sulekha/sugg.txt
+++ /dev/null
@@ -1 +0,0 @@
-നണ്‍ദി
diff --git a/input-methods/sulekha/suggestions.c b/input-methods/sulekha/suggestions.c
deleted file mode 100644
index d037d21..0000000
--- a/input-methods/sulekha/suggestions.c
+++ /dev/null
@@ -1,71 +0,0 @@
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-
-#include "aspell.h"
-AspellConfig *spell_config = NULL;
-AspellSpeller *spell_checker = 0;
-/*int
-main(int argc, const char *argv[])*/
-int
-check_word (char *lang, char *word)
-{
- int correct = 0;
-
- int word_length = 0;
-
- if (lang == NULL)
- {
- lang = "ml";
- }
-
- word_length = strlen (word);
- spell_config = new_aspell_config ();
- aspell_config_replace (spell_config, "lang", lang);
- aspell_config_replace (spell_config, "encoding", "utf-8");
- AspellCanHaveError *possible_err = new_aspell_speller (spell_config);
-
- if (aspell_error_number (possible_err) != 0)
- puts (aspell_error_message (possible_err));
- else
- spell_checker = to_aspell_speller (possible_err);
- correct = aspell_speller_check (spell_checker, word, word_length);
-
- if (correct == 0)
- {
- printf ("word \"%s\" is wrong.\n", word);
-
- }
- else
- {
- printf ("word \"%s\" is correct.\n", word);
- exit (0);
- }
-
-
- return correct;
-}
-
-void
-get_suggestion_list (char *word)
-{
-
- const char *sugg_word;
- int suggestion_count = 0;
- int word_length = 0;
- AspellWordList *suggestions = NULL;
- suggestions = aspell_speller_suggest (spell_checker, word, word_length);
- AspellStringEnumeration *aspell_elements =
- aspell_word_list_elements (suggestions);
-
- while ((sugg_word =
- aspell_string_enumeration_next (aspell_elements)) != NULL)
- {
- printf ("%d. %s\n", ++suggestion_count, sugg_word);
- }
- delete_aspell_string_enumeration (aspell_elements);
-
-
-
-
-}
diff --git a/input-methods/sulekha/suggestions.h b/input-methods/sulekha/suggestions.h
deleted file mode 100644
index e69de29..0000000
--- a/input-methods/sulekha/suggestions.h
+++ /dev/null
diff --git a/input-methods/sulekha/suggestions.o b/input-methods/sulekha/suggestions.o
deleted file mode 100644
index a49305f..0000000
--- a/input-methods/sulekha/suggestions.o
+++ /dev/null
Binary files differ
diff --git a/input-methods/sulekha/sulekha.c b/input-methods/sulekha/sulekha.c
deleted file mode 100644
index 9f25cf0..0000000
--- a/input-methods/sulekha/sulekha.c
+++ /dev/null
@@ -1,129 +0,0 @@
-/*
- *File name: sulekha.c
- *
- * Copyright (C) 2007-2008
- * Praveen Arimbrathodiyil <pravi.a@gmail.com>,
- * Swathanthra Malayalam Computing.
- *
- * 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 2 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, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-
-
-*/
-
-#include <gtk/gtk.h>
-#include <glib.h>
-#include <gdk/gdk.h>
-#include <gdk/gdkkeysyms.h>
-#include <gtk/gtkwidget.h>
-#include <stdlib.h>
-#include "transliteration.c"
-/*-- This function allows the program to exit properly when the window is closed --*/
-gint destroyapp (GtkWidget *widget, gpointer gdata)
-{
- g_print ("Quitting...\n");
- gtk_main_quit();
- return (FALSE);
-}
-
-static gint
-key_press_cb(GtkWidget* widget, GdkEventKey* event, gpointer data)
-{
- gchar *buffer,*mal;
- gint position;
- static gint start_position=0;
-/* if (event->length > 0)
- printf("The key event's string is `%s'\n", event->string);
-
- printf("The name of this keysym is `%s'\n",
- gdk_keyval_name(event->keyval));
-*/
- switch (event->keyval)
- {
-
- case GDK_space:
- printf("Space pressed\n");
- position = gtk_text_get_point(GTK_TEXT(widget));
- printf("text from %d to %d\n",start_position,position);
-
- buffer = gtk_editable_get_chars (GTK_EDITABLE( widget ),start_position,position);
- start_position+=position+1;
- g_print("%s\n",buffer);
-
- mal = transliterate_ml(buffer,0,strlen(buffer));
- g_print("%s\n",mal);
-
- gtk_text_insert(GTK_TEXT(widget), NULL, NULL, NULL, mal, strlen(mal));
- printf("start_position is %d strlen\(mal\) is %d\n",start_position,strlen(mal));
- start_position+=strlen(mal);
- break;
- default:
- break;
- }
-
-
-}
-
-int main (int argc, char *argv[])
-{
- /*-- Declare the GTK Widgets used in the program --*/
- GtkWidget *window;
- GtkWidget *text;
-
-
- /*-- Initialize GTK --*/
- gtk_init (&argc, &argv);
-
- /*-- Create the new window --*/
- window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-
- /*-- Create a text area --*/
- text = gtk_text_new(NULL, NULL);
-
- /*-- Set text area to be editable --*/
- gtk_text_set_editable(GTK_TEXT (text), TRUE);
-
- /*-- Connect the window to the destroyapp function --*/
- gtk_signal_connect(GTK_OBJECT(window), "delete_event", GTK_SIGNAL_FUNC(destroyapp), NULL);
-
- /*-- Add the text area to the window --*/
- gtk_container_add(GTK_CONTAINER(window), text);
-
- /*-- Add some text to the window --*/
-
-//gtk_text_insert(GTK_TEXT(text), NULL, NULL, NULL, buffer, strlen(buffer));
-
-gtk_signal_connect(GTK_OBJECT (text), "key_press_event",
- (GtkSignalFunc) key_press_cb, NULL);
- /*-- Set window border to zero so that text area takes up the whole window --*/
- gtk_container_border_width (GTK_CONTAINER (window), 0);
-
- /*-- Set the window to be 640 x 200 pixels --*/
- gtk_window_set_default_size (GTK_WINDOW(window), 640, 200);
-
- /*-- Set the window title --*/
- gtk_window_set_title(GTK_WINDOW (window), "Googliterate");
-
- /*-- Display the widgets --*/
- gtk_widget_show(text);
- gtk_widget_show(window);
-
- /*-- Start the GTK event loop --*/
- gtk_main();
-
- /*-- Return 0 if exit is successful --*/
- return 0;
-}
-
diff --git a/input-methods/sulekha/trans.c b/input-methods/sulekha/trans.c
deleted file mode 100644
index c30900d..0000000
--- a/input-methods/sulekha/trans.c
+++ /dev/null
@@ -1,231 +0,0 @@
-/* Transliteration.c
- *
- * Copyright (C) 2007-2008
- * Santhosh Thottingal<santhosh00@gmail.com>,
- * Swathanthra Malayalam Computing.
- *
- * 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 2 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, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-
-#include<stdio.h>
-#include<string.h>
-#include<stdlib.h>
-#include "Transliteration.h"
-/*
-Transliterate the a dhvani phonetic string to malayalam.
-Algorithm:
-1)For all vowels, if it is at the 0th position print as it is
-2)If the vowel is in between/end of the string print the sign of the vowel except for A
-3)For all consonants print the malayalam character
-4)If a phonetic character is not identified print '?'
-5)Octal C escaped strings are used for printing the Unicode Malayalam string
-*/
-
-
-char *
-transliterate_ml (char *phonetic_string, int start, int end)
-{
- char *ml_string;
- int length = 0;
- int i = start;
- length = end - start;
- ml_string = (char *) malloc (length * 4 * sizeof (char));
- printf (":%s:\n", phonetic_string);
- while (i < end)
- {
-
- switch (phonetic_string[i])
- {
- //Vowels
- case 'a':
- if (i == 0)
- strcat (ml_string, "\340\264\205");
- break;
- case 'A':
- (i == 0) ? strcat (ml_string, "\340\264\206") : strcat (ml_string,
- "\340\264\276");
- break;
- case 'i':
- (i == 0) ? strcat (ml_string, "\340\264\207") : strcat (ml_string,
- "\340\264\277");
- break;
- case 'I':
- (i == 0) ? strcat (ml_string, "\340\264\210") : strcat (ml_string,
- "\340\265\200");
- break;
- case 'u':
- (i == 0) ? strcat (ml_string, "\340\264\211") : strcat (ml_string,
- "\340\265\201");
- break;
- case 'U':
- (i == 0) ? strcat (ml_string, "\340\264\212") : strcat (ml_string,
- "\340\265\202");
- break;
- case '^':
- (i == 0) ? strcat (ml_string, "\340\264\213") : strcat (ml_string,
- "\340\265\203");
- break;
- case 'e':
- (i == 0) ? strcat (ml_string, "\340\264\216") : strcat (ml_string,
- "\340\265\206");
- break;
- case 'E':
- (i == 0) ? strcat (ml_string, "\340\264\217") : strcat (ml_string,
- "\340\265\207");
- break;
- case '@':
- (i == 0) ? strcat (ml_string, "\340\264\220") : strcat (ml_string,
- "\340\265\210");
- break;
- case 'o':
- (i == 0) ? strcat (ml_string, "\340\264\222") : strcat (ml_string,
- "\340\265\212");
- break;
- case 'O':
- (i == 0) ? strcat (ml_string, "\340\264\223") : strcat (ml_string,
- "\340\265\213");
- break;
- case '`':
- (i == 0) ? strcat (ml_string, "\340\264\224") : strcat (ml_string,
- "\340\265\227");
- break;
- case '.': //am
- strcat (ml_string, "\340\264\202");
- break;
- case '~': //chandrakkala
- strcat (ml_string, "\340\265\215");
- break;
- case ':': //Ah
- strcat (ml_string, "\340\264\203");
- break;
- //Consonants
- case 'k':
- strcat (ml_string, "\340\264\225");
- break;
- case 'K':
- strcat (ml_string, "\340\264\226");
- break;
- case 'g':
- strcat (ml_string, "\340\264\227");
- break;
- case '-':
- strcat (ml_string, "\340\264\231");
- break;
- case 'G':
- strcat (ml_string, "\340\264\230");
- break;
- case 'c':
- strcat (ml_string, "\340\264\232");
- break;
- case 'C':
- strcat (ml_string, "\340\264\233");
- break;
- case 'j':
- strcat (ml_string, "\340\264\234");
- break;
- case 'J':
- strcat (ml_string, "\340\264\235");
- break;
- case '#':
- strcat (ml_string, "\340\264\236");
- break;
- case 't':
- strcat (ml_string, "\340\264\237");
- break;
- case 'T':
- strcat (ml_string, "\340\264\240");
- break;
- case 'd':
- strcat (ml_string, "\340\264\241");
- break;
- case 'D':
- strcat (ml_string, "\340\264\242");
- break;
- case 'N':
- strcat (ml_string, "\340\264\243");
- break;
- case 'x':
- strcat (ml_string, "\340\264\244");
- break;
- case 'X':
- strcat (ml_string, "\340\264\245");
- break;
- case 'w':
- strcat (ml_string, "\340\264\246");
- break;
- case 'W':
- strcat (ml_string, "\340\264\247");
- break;
- case 'n':
- strcat (ml_string, "\340\264\250");
- break;
- case 'p':
- strcat (ml_string, "\340\264\252");
- break;
- case 'f':
- strcat (ml_string, "\340\264\253");
- break;
- case 'b':
- strcat (ml_string, "\340\264\254");
- break;
- case 'B':
- strcat (ml_string, "\340\264\255");
- break;
- case 'm':
- strcat (ml_string, "\340\264\256");
- break;
- case 'y':
- strcat (ml_string, "\340\264\257");
- break;
- case 'r':
- strcat (ml_string, "\340\264\260");
- break;
- case 'l':
- strcat (ml_string, "\340\264\262");
- break;
- case 'v':
- strcat (ml_string, "\340\264\265");
- break;
- case '$':
- strcat (ml_string, "\340\264\266");
- break;
- case 's':
- strcat (ml_string, "\340\264\270");
- break;
- case 'S':
- strcat (ml_string, "\340\264\267");
- break;
- case 'h':
- strcat (ml_string, "\340\264\271");
- break;
- case 'L':
- strcat (ml_string, "\340\264\263");
- break;
- case 'z':
- strcat (ml_string, "\340\264\264");
- break;
- case 'R':
- strcat (ml_string, "\340\264\261");
- break;
- default:
- strcat (ml_string, "?"); //Not recognized
- break;
- }
-
- i++;
- }
- printf (":%s:\n", ml_string);
- return ml_string;
-}
diff --git a/input-methods/sulekha/transliteration.c b/input-methods/sulekha/transliteration.c
deleted file mode 100644
index 71ac413..0000000
--- a/input-methods/sulekha/transliteration.c
+++ /dev/null
@@ -1,383 +0,0 @@
-/* transliteration.c
- *
- * Copyright (C) 2007-2008
- * Santhosh Thottingal<santhosh00@gmail.com>,
- * Swathanthra Malayalam Computing.
- *
- * 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 2 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, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-
-#include<stdio.h>
-#include<string.h>
-#include<stdlib.h>
-#include "transliteration.h"
-/*
-Transliterate the a dhvani phonetic string to malayalam.
-Algorithm:
-1)For all vowels, if it is at the 0th position print as it is
-2)If the vowel is in between/end of the string print the sign of the vowel except for A
-3)For all consonants print the malayalam character
-4)If a phonetic character is not identified print '?'
-5)Octal C escaped strings are used for printing the Unicode Malayalam string
-*/
-
-
-char *
-transliterate_ml (char *phonetic_string, int start, int end)
-{
- char *ml_string;
- int length = 0;
- int i = start;
- length = end - start;
- ml_string = (char *) malloc (length * 4 * sizeof (char));
- while (i < end)
- {
-
- switch (phonetic_string[i])
- {
- //Vowels
- case 'a':
- if (i == 0) //first letter, use swaram as such
- { // as in amaram
-
- if (i < end && phonetic_string[i + 1] == 'a')
- { // as in aana
- strcat (ml_string, "\340\264\206"); //aa letter
- i++;
- }
- else if (i < end && phonetic_string[i + 1] == 'i')
- { // as in airaavatham
- strcat (ml_string, "\340\264\202"); //ai letter
- i++;
- }
- else if (i < end && phonetic_string[i + 1] == 'u')
- { // as in airaavatham
- strcat (ml_string, "\340\264\224"); //au aushadham
- i++;
- }
- else
- {
- strcat (ml_string, "\340\264\205"); //a letter
- }
- }
- else
- { //swara chihnam
- if (i < end && phonetic_string[i + 1] == 'a') //aa sign
- { // as in kaazhcha
- strcat (ml_string, "\340\264\276");
- i++;
- }
- else if (i < end && phonetic_string[i + 1] == 'i')
- { // as in kaitha
- strcat (ml_string, "\340\265\210"); //ai sign
- i++;
- }
- else if (i < end && phonetic_string[i + 1] == 'u')
- { // as in kauravar
- strcat (ml_string, "\340\265\227"); //au sign
- i++;
- }
- }
- break;
-
- case 'A':
- (i == 0) ? strcat (ml_string, "\340\264\206") : strcat (ml_string,
- "\340\264\276");
- break;
- case 'i':
- if (i == 0)
- {
- if (i < end
- && ((phonetic_string[i + 1] == 'i')
- || (phonetic_string[i + 1] == 'e')))
- { //ii/ee letter
- strcat (ml_string, "\340\264\210");
- i++;
- }
- else
- {
- strcat (ml_string, "\340\264\207"); // i/e letter
- }
- }
- else
- {
- if (i < end && ((phonetic_string[i + 1] == 'i') || (phonetic_string[i + 1] == 'e'))) //ii/ee sign
- {
- strcat (ml_string, "\340\265\200");
- i++;
- }
- else
- {
- strcat (ml_string, "\340\264\277"); // i/e sign
- }
- }
- break;
- case 'I':
- (i == 0) ? strcat (ml_string, "\340\264\210") : strcat (ml_string,
- "\340\265\200");
- break;
- case 'u':
- if (i == 0)
- {
- if (i < end
- && ((phonetic_string[i + 1] == 'o')
- || (phonetic_string[i + 1] == 'u')))
- { //ii/ee letter
- strcat (ml_string, "\340\264\212");
- i++;
- }
- else
- {
- strcat (ml_string, "\340\264\211"); // u letter
- }
- }
- else
- {
- if (i < end && ((phonetic_string[i + 1] == 'u') || (phonetic_string[i + 1] == 'o'))) //ii/ee sign
- {
- strcat (ml_string, "\340\265\202"); //uu sign
- i++;
- }
- else
- {
- strcat (ml_string, "\340\265\201"); // u sign
- }
- }
- break;
- case 'U':
- (i == 0) ? strcat (ml_string, "\340\264\212") : strcat (ml_string,
- "\340\265\202");
- break;
- case '^':
- (i == 0) ? strcat (ml_string, "\340\264\213") : strcat (ml_string,
- "\340\265\203");
- break;
- case 'e':
- if (i == 0)
- {
- if (i < end
- && ((phonetic_string[i + 1] == 'e')
- || (phonetic_string[i + 1] == 'a')))
- { //ii/ee letter
- strcat (ml_string, "\340\264\217");
- i++;
- }
- else
- {
- strcat (ml_string, "\340\264\207"); // e letter
- }
- }
- else
- {
- if (i < end && ((phonetic_string[i + 1] == 'e') )) //e/ee sign
- {
- strcat (ml_string, "\340\265\200"); //ee sign
- i++;
- }
- else
- {
- strcat (ml_string, "\340\265\206"); // u sign
- }
- }
- break;
- case 'E':
- (i == 0) ? strcat (ml_string, "\340\264\217") : strcat (ml_string,
- "\340\265\207");
- break;
-// case '@': //ai
-// (i == 0) ? strcat (ml_string, "\340\264\220") : strcat (ml_string,
-// "\340\265\210");
-// break;
- case 'o':
- if (i == 0)
- {
- if (i < end
- && ((phonetic_string[i + 1] == 'o')))
- { //oo letter
- strcat (ml_string, "\340\264\222");
- i++;
- }
- else
- {
- strcat (ml_string, " \340\264\223"); // o letter
- }
- }
- else
- {
- if (i < end && ((phonetic_string[i + 1] == 'o') )) //oo sign
- {
- strcat (ml_string, "\340\265\213"); //oo sign
- i++;
- }
- else
- {
- strcat (ml_string, "\340\265\212"); // o sign
- }
- }
- break;
- case 'O':
- (i == 0) ? strcat (ml_string, "\340\264\223") : strcat (ml_string,
- "\340\265\213");
- break;
- case '`':
- (i == 0) ? strcat (ml_string, "\340\264\224") : strcat (ml_string,
- "\340\265\227");
- break;
- case '.': //am
- strcat (ml_string, "\340\264\202");
- break;
- case '~': //chandrakkala
- strcat (ml_string, "\340\265\215");
- break;
- case ':': //Ah
- strcat (ml_string, "\340\264\203");
- break;
- //Consonants
- case 'k':
- strcat (ml_string, "\340\264\225");
-
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\265\215");
- }
- break;
- case 'K':
- strcat (ml_string, "\340\264\226");
- break;
- case 'g':
- strcat (ml_string, "\340\264\227");
- break;
- case '-':
- strcat (ml_string, "\340\264\231");
- break;
- case 'G':
- strcat (ml_string, "\340\264\230");
- break;
- case 'c':
- strcat (ml_string, "\340\264\232");
- break;
- case 'C':
- strcat (ml_string, "\340\264\233");
- break;
- case 'j':
- strcat (ml_string, "\340\264\234");
- break;
- case 'J':
- strcat (ml_string, "\340\264\235");
- break;
- case '#':
- strcat (ml_string, "\340\264\236");
- break;
- case 't':
- strcat (ml_string, "\340\264\237");
- break;
- case 'T':
- strcat (ml_string, "\340\264\240");
- break;
- case 'd':
- strcat (ml_string, "\340\264\241");
- break;
- case 'D':
- strcat (ml_string, "\340\264\242");
- break;
- case 'N':
- strcat (ml_string, "\340\264\243");
- break;
- case 'x':
- strcat (ml_string, "\340\264\244");
- break;
- case 'X':
- strcat (ml_string, "\340\264\245");
- break;
- case 'w':
- strcat (ml_string, "\340\264\246");
- break;
- case 'W':
- strcat (ml_string, "\340\264\247");
- break;
- case 'n':
- strcat (ml_string, "\340\264\250");
- break;
- case 'p':
- strcat (ml_string, "\340\264\252");
- break;
- case 'f':
- strcat (ml_string, "\340\264\253");
- break;
- case 'b':
- strcat (ml_string, "\340\264\254");
- break;
- case 'B':
- strcat (ml_string, "\340\264\255");
- break;
- case 'm':
- if (i == end - 1 && phonetic_string[i] != phonetic_string[i-1] ) //end of word. most probably it is an anuswaram
- {
- strcat (ml_string, "\340\264\202");
-
- }
- else
- {
- strcat (ml_string, "\340\264\256");
- }
-
- if (i < end && (phonetic_string[i + 1] == phonetic_string[i]))
- { //koottaxaram - put a virama
- strcat (ml_string, "\340\265\215");
- }
- break;
- case 'y':
- strcat (ml_string, "\340\264\257");
- break;
- case 'r':
- strcat (ml_string, "\340\264\260");
- break;
- case 'l':
- strcat (ml_string, "\340\264\262");
- break;
- case 'v':
- strcat (ml_string, "\340\264\265");
- break;
- case '$':
- strcat (ml_string, "\340\264\266");
- break;
- case 's':
- strcat (ml_string, "\340\264\270");
- break;
- case 'S':
- strcat (ml_string, "\340\264\267");
- break;
- case 'h':
- strcat (ml_string, "\340\264\271");
- break;
- case 'L':
- strcat (ml_string, "\340\264\263");
- break;
- case 'z':
- strcat (ml_string, "\340\264\264");
- break;
- case 'R':
- strcat (ml_string, "\340\264\261");
- break;
- default:
- strcat (ml_string, "?"); //Not recognized
- break;
- }
-
- i++;
- }
-//printf(":%s:\n",ml_string);
- return ml_string;
-}
diff --git a/input-methods/sulekha/transliteration.h b/input-methods/sulekha/transliteration.h
deleted file mode 100644
index 3d101da..0000000
--- a/input-methods/sulekha/transliteration.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/* transliteration.h
- *
- * Copyright (C) 2007-2008
- * Santhosh Thottingal<santhosh00@gmail.com>,
- * Swathanthra Malayalam Computing.
- *
- * 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 2 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, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
- /*----------------------- FUNCTIONS ----------------------------*/
-/*
-Transliterate the a dhvani phonetic string to malayalam.
-Algorithm:
-1)For all vowels, if it is at the 0th position print as it is
-2)If the vowel is in between/end of the string print the sign of the vowel except for A
-3)For all consonants print the malayalam character
-4)If a phonetic character is not identified print '?'
-5)Octal C escaped strings are used for printing the Unicode Malayalam string
-*/
-char *transliterate_ml (char *, int, int);
diff --git a/input-methods/sulekha/trial.tar.gz b/input-methods/sulekha/trial.tar.gz
deleted file mode 100644
index 14f98f2..0000000
--- a/input-methods/sulekha/trial.tar.gz
+++ /dev/null
Binary files differ