xref: /AOO41X/main/mythes/mythes-1.2.0-disable-example.patch (revision a44fea777f273d91f582a73f907e3990a88c7cb8)
1*a44fea77SAriel Constenla-Hailediff -uNrp misc/build/mythes-1.2.0/configure misc/mythes-1.2.0/configure
2*a44fea77SAriel Constenla-Haile--- misc/build/mythes-1.2.0/configure	2010-02-27 12:57:37.000000000 -0300
3*a44fea77SAriel Constenla-Haile+++ misc/mythes-1.2.0/configure	2011-11-21 10:48:03.724435792 -0300
4*a44fea77SAriel Constenla-Haile@@ -748,6 +748,7 @@ LTLIBOBJS
5*a44fea77SAriel Constenla-Haile LIBOBJS
6*a44fea77SAriel Constenla-Haile HUNSPELL_LIBS
7*a44fea77SAriel Constenla-Haile HUNSPELL_CFLAGS
8*a44fea77SAriel Constenla-Haile+ENABLE_EXAMPLE
9*a44fea77SAriel Constenla-Haile PKG_CONFIG
10*a44fea77SAriel Constenla-Haile CXXCPP
11*a44fea77SAriel Constenla-Haile CPP
12*a44fea77SAriel Constenla-Haile@@ -867,6 +868,7 @@ ac_subst_files=''
13*a44fea77SAriel Constenla-Haile ac_user_opts='
14*a44fea77SAriel Constenla-Haile enable_option_checking
15*a44fea77SAriel Constenla-Haile enable_dependency_tracking
16*a44fea77SAriel Constenla-Haile+enable_example
17*a44fea77SAriel Constenla-Haile with_gnu_ld
18*a44fea77SAriel Constenla-Haile enable_rpath
19*a44fea77SAriel Constenla-Haile enable_shared
20*a44fea77SAriel Constenla-Haile@@ -1519,6 +1521,8 @@ Optional Features:
21*a44fea77SAriel Constenla-Haile                           optimize for fast installation [default=yes]
22*a44fea77SAriel Constenla-Haile   --disable-libtool-lock  avoid locking (might break parallel builds)
23*a44fea77SAriel Constenla-Haile
24*a44fea77SAriel Constenla-Haile+  --enable-example        compiles the example (requires hunspell library)
25*a44fea77SAriel Constenla-Haile+
26*a44fea77SAriel Constenla-Haile Optional Packages:
27*a44fea77SAriel Constenla-Haile   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
28*a44fea77SAriel Constenla-Haile   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
29*a44fea77SAriel Constenla-Haile@@ -3723,6 +3727,19 @@ fi
30*a44fea77SAriel Constenla-Haile
31*a44fea77SAriel Constenla-Haile
32*a44fea77SAriel Constenla-Haile
33*a44fea77SAriel Constenla-Haile+# Check whether --enable-example was given.
34*a44fea77SAriel Constenla-Haile+if test "${enable_example+set}" != set; then :
35*a44fea77SAriel Constenla-Haile+  ENABLE_EXAMPLE=no;
36*a44fea77SAriel Constenla-Haile+  $enable_example=no;
37*a44fea77SAriel Constenla-Haile+else
38*a44fea77SAriel Constenla-Haile+  ENABLE_EXAMPLE=$enable_example;
39*a44fea77SAriel Constenla-Haile+fi
40*a44fea77SAriel Constenla-Haile+
41*a44fea77SAriel Constenla-Haile+
42*a44fea77SAriel Constenla-Haile+
43*a44fea77SAriel Constenla-Haile+
44*a44fea77SAriel Constenla-Haile+
45*a44fea77SAriel Constenla-Haile+
46*a44fea77SAriel Constenla-Haile depcc="$CC"   am_compiler_list=
47*a44fea77SAriel Constenla-Haile
48*a44fea77SAriel Constenla-Haile { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
49*a44fea77SAriel Constenla-Haile@@ -14476,6 +14493,8 @@ $as_echo "no" >&6; }
50*a44fea77SAriel Constenla-Haile
51*a44fea77SAriel Constenla-Haile fi
52*a44fea77SAriel Constenla-Haile
53*a44fea77SAriel Constenla-Haile+
54*a44fea77SAriel Constenla-Haile+if test "$ENABLE_EXAMPLE" != "no"; then
55*a44fea77SAriel Constenla-Haile pkg_failed=no
56*a44fea77SAriel Constenla-Haile { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HUNSPELL" >&5
57*a44fea77SAriel Constenla-Haile $as_echo_n "checking for HUNSPELL... " >&6; }
58*a44fea77SAriel Constenla-Haile@@ -14561,6 +14580,9 @@ else
59*a44fea77SAriel Constenla-Haile $as_echo "yes" >&6; }
60*a44fea77SAriel Constenla-Haile 	:
61*a44fea77SAriel Constenla-Haile fi
62*a44fea77SAriel Constenla-Haile+fi
63*a44fea77SAriel Constenla-Haile+export ENABLE_EXAMPLE
64*a44fea77SAriel Constenla-Haile+
65*a44fea77SAriel Constenla-Haile
66*a44fea77SAriel Constenla-Haile ac_config_files="$ac_config_files Makefile mythes.pc"
67*a44fea77SAriel Constenla-Haile
68*a44fea77SAriel Constenla-Hailediff -uNrp misc/build/mythes-1.2.0/Makefile.in misc/mythes-1.2.0/Makefile.in
69*a44fea77SAriel Constenla-Haile--- misc/build/mythes-1.2.0/Makefile.in	2010-02-27 12:57:35.000000000 -0300
70*a44fea77SAriel Constenla-Haile+++ misc/mythes-1.2.0/Makefile.in	2011-11-21 10:48:03.713435791 -0300
71*a44fea77SAriel Constenla-Haile@@ -18,7 +18,7 @@
72*a44fea77SAriel Constenla-Haile
73*a44fea77SAriel Constenla-Haile
74*a44fea77SAriel Constenla-Haile
75*a44fea77SAriel Constenla-Haile-
76*a44fea77SAriel Constenla-Haile+ENABLE_EXAMPLE=@ENABLE_EXAMPLE@
77*a44fea77SAriel Constenla-Haile VPATH = @srcdir@
78*a44fea77SAriel Constenla-Haile pkgdatadir = $(datadir)/@PACKAGE@
79*a44fea77SAriel Constenla-Haile pkgincludedir = $(includedir)/@PACKAGE@
80*a44fea77SAriel Constenla-Haile@@ -85,7 +85,11 @@ LTLIBRARIES = $(lib_LTLIBRARIES)
81*a44fea77SAriel Constenla-Haile libmythes_1_2_la_LIBADD =
82*a44fea77SAriel Constenla-Haile am_libmythes_1_2_la_OBJECTS = mythes.lo
83*a44fea77SAriel Constenla-Haile libmythes_1_2_la_OBJECTS = $(am_libmythes_1_2_la_OBJECTS)
84*a44fea77SAriel Constenla-Haile+ifeq "$(ENABLE_EXAMPLE)" "no"
85*a44fea77SAriel Constenla-Haile+PROGRAMS=
86*a44fea77SAriel Constenla-Haile+else
87*a44fea77SAriel Constenla-Haile PROGRAMS = $(noinst_PROGRAMS)
88*a44fea77SAriel Constenla-Haile+endif
89*a44fea77SAriel Constenla-Haile am_example_OBJECTS = example.$(OBJEXT)
90*a44fea77SAriel Constenla-Haile example_OBJECTS = $(am_example_OBJECTS)
91*a44fea77SAriel Constenla-Haile example_DEPENDENCIES = libmythes-1.2.la
92