diff options
author | David Walter Seikel | 2016-03-29 02:16:55 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-03-29 02:16:55 +1000 |
commit | cb3716ffb584fe0f593b6f1669a8efdba1305104 (patch) | |
tree | 5d1ebc4b6fc17b30f4b34e7e64a2d9514893459b /src/others/mimesh/g3dviewer-0.2.99.4/m4 | |
parent | Add Prosody build script. (diff) | |
download | SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.zip SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.tar.gz SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.tar.bz2 SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.tar.xz |
Added my version of libg3d and friends.
Diffstat (limited to 'src/others/mimesh/g3dviewer-0.2.99.4/m4')
-rw-r--r-- | src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile | 295 | ||||
-rw-r--r-- | src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile.am | 5 | ||||
-rw-r--r-- | src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile.in | 295 | ||||
-rw-r--r-- | src/others/mimesh/g3dviewer-0.2.99.4/m4/acinclude.m4 | 27 | ||||
-rw-r--r-- | src/others/mimesh/g3dviewer-0.2.99.4/m4/glib-2.0.m4 | 215 | ||||
-rw-r--r-- | src/others/mimesh/g3dviewer-0.2.99.4/m4/gtk-2.0.m4 | 196 | ||||
-rw-r--r-- | src/others/mimesh/g3dviewer-0.2.99.4/m4/gtkglext.m4 | 230 |
7 files changed, 1263 insertions, 0 deletions
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile b/src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile new file mode 100644 index 0000000..3d18e74 --- /dev/null +++ b/src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile | |||
@@ -0,0 +1,295 @@ | |||
1 | # Makefile.in generated by automake 1.7.9 from Makefile.am. | ||
2 | # m4/Makefile. Generated from Makefile.in by configure. | ||
3 | |||
4 | # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 | ||
5 | # Free Software Foundation, Inc. | ||
6 | # This Makefile.in is free software; the Free Software Foundation | ||
7 | # gives unlimited permission to copy and/or distribute it, | ||
8 | # with or without modifications, as long as this notice is preserved. | ||
9 | |||
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
13 | # PARTICULAR PURPOSE. | ||
14 | |||
15 | |||
16 | |||
17 | srcdir = . | ||
18 | top_srcdir = .. | ||
19 | |||
20 | pkgdatadir = $(datadir)/g3dviewer | ||
21 | pkglibdir = $(libdir)/g3dviewer | ||
22 | pkgincludedir = $(includedir)/g3dviewer | ||
23 | top_builddir = .. | ||
24 | |||
25 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
26 | INSTALL = /usr/bin/install -c | ||
27 | install_sh_DATA = $(install_sh) -c -m 644 | ||
28 | install_sh_PROGRAM = $(install_sh) -c | ||
29 | install_sh_SCRIPT = $(install_sh) -c | ||
30 | INSTALL_HEADER = $(INSTALL_DATA) | ||
31 | transform = $(program_transform_name) | ||
32 | NORMAL_INSTALL = : | ||
33 | PRE_INSTALL = : | ||
34 | POST_INSTALL = : | ||
35 | NORMAL_UNINSTALL = : | ||
36 | PRE_UNINSTALL = : | ||
37 | POST_UNINSTALL = : | ||
38 | ACLOCAL = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run aclocal-1.7 | ||
39 | AMDEP_FALSE = # | ||
40 | AMDEP_TRUE = | ||
41 | AMTAR = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run tar | ||
42 | AUTOCONF = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoconf | ||
43 | AUTOHEADER = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoheader | ||
44 | AUTOMAKE = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run automake-1.7 | ||
45 | AWK = gawk | ||
46 | CATALOGS = de.gmo | ||
47 | CATOBJEXT = .gmo | ||
48 | CC = gcc | ||
49 | CCDEPMODE = depmode=gcc3 | ||
50 | CFLAGS = -g -O2 | ||
51 | CPP = gcc -E | ||
52 | CPPFLAGS = | ||
53 | CYGPATH_W = echo | ||
54 | DATADIRNAME = share | ||
55 | DBG_CFLAGS = -O2 | ||
56 | DEBUG = 0 | ||
57 | DEFS = -DHAVE_CONFIG_H | ||
58 | DEPDIR = .deps | ||
59 | ECHO_C = | ||
60 | ECHO_N = -n | ||
61 | ECHO_T = | ||
62 | EGREP = /bin/grep -E | ||
63 | EXEEXT = | ||
64 | GETTEXT_PACKAGE = g3dviewer | ||
65 | GLIB_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include | ||
66 | GLIB_GENMARSHAL = glib-genmarshal | ||
67 | GLIB_LIBS = -lglib-2.0 | ||
68 | GLIB_MKENUMS = glib-mkenums | ||
69 | GL_LIBS = -lGL -lGLU -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 | ||
70 | GMOFILES = de.gmo | ||
71 | GMSGFMT = /usr/bin/msgfmt | ||
72 | GOBJECT_QUERY = gobject-query | ||
73 | GREP = /bin/grep | ||
74 | GTKGLEXT_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include | ||
75 | GTKGLEXT_LIBS = -Wl,--export-dynamic -pthread -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.0 -lX11 -lgmodule-2.0 -lrt -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 | ||
76 | GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 | ||
77 | GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 | ||
78 | INSTALL_DATA = ${INSTALL} -m 644 | ||
79 | INSTALL_PROGRAM = ${INSTALL} | ||
80 | INSTALL_SCRIPT = ${INSTALL} | ||
81 | INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s | ||
82 | INSTOBJEXT = .mo | ||
83 | INTLLIBS = | ||
84 | LDFLAGS = | ||
85 | LIBG3D_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/include | ||
86 | LIBG3D_LIBS = -L/usr/local/lib -lg3d -lglib-2.0 | ||
87 | LIBGLADE_CFLAGS = -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 | ||
88 | LIBGLADE_LIBS = -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 | ||
89 | LIBOBJS = | ||
90 | LIBS = | ||
91 | LTLIBOBJS = | ||
92 | MAKEINFO = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run makeinfo | ||
93 | MKINSTALLDIRS = ./mkinstalldirs | ||
94 | MSGFMT = /usr/bin/msgfmt | ||
95 | OBJEXT = o | ||
96 | PACKAGE = g3dviewer | ||
97 | PACKAGE_BUGREPORT = | ||
98 | PACKAGE_NAME = | ||
99 | PACKAGE_STRING = | ||
100 | PACKAGE_TARNAME = | ||
101 | PACKAGE_VERSION = | ||
102 | PATH_SEPARATOR = : | ||
103 | PKG_CONFIG = /usr/bin/pkg-config | ||
104 | POFILES = de.po | ||
105 | POSUB = po | ||
106 | PO_IN_DATADIR_FALSE = | ||
107 | PO_IN_DATADIR_TRUE = | ||
108 | SET_MAKE = | ||
109 | SHELL = /bin/bash | ||
110 | STRIP = | ||
111 | USE_NLS = yes | ||
112 | VERSION = 0.2.99.4 | ||
113 | XGETTEXT = /usr/bin/xgettext | ||
114 | XMKMF = | ||
115 | X_CFLAGS = | ||
116 | X_EXTRA_LIBS = | ||
117 | X_LIBS = | ||
118 | X_PRE_LIBS = -lSM -lICE | ||
119 | ac_ct_CC = gcc | ||
120 | am__fastdepCC_FALSE = # | ||
121 | am__fastdepCC_TRUE = | ||
122 | am__include = include | ||
123 | am__leading_dot = . | ||
124 | am__quote = | ||
125 | bindir = ${exec_prefix}/bin | ||
126 | build_alias = | ||
127 | datadir = ${datarootdir} | ||
128 | datarootdir = ${prefix}/share | ||
129 | docdir = ${datarootdir}/doc/${PACKAGE} | ||
130 | dvidir = ${docdir} | ||
131 | exec_prefix = ${prefix} | ||
132 | host_alias = | ||
133 | htmldir = ${docdir} | ||
134 | includedir = ${prefix}/include | ||
135 | infodir = ${datarootdir}/info | ||
136 | install_sh = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/install-sh | ||
137 | libdir = ${exec_prefix}/lib | ||
138 | libexecdir = ${exec_prefix}/libexec | ||
139 | localedir = ${datarootdir}/locale | ||
140 | localstatedir = ${prefix}/var | ||
141 | mandir = ${datarootdir}/man | ||
142 | oldincludedir = /usr/include | ||
143 | pdfdir = ${docdir} | ||
144 | prefix = /usr/local | ||
145 | program_transform_name = s,x,x, | ||
146 | psdir = ${docdir} | ||
147 | sbindir = ${exec_prefix}/sbin | ||
148 | sharedstatedir = ${prefix}/com | ||
149 | sysconfdir = ${prefix}/etc | ||
150 | target_alias = | ||
151 | EXTRA_DIST = \ | ||
152 | acinclude.m4 \ | ||
153 | glib-2.0.m4 \ | ||
154 | gtk-2.0.m4 \ | ||
155 | gtkglext.m4 | ||
156 | |||
157 | subdir = m4 | ||
158 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
159 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | ||
160 | CONFIG_HEADER = $(top_builddir)/config.h | ||
161 | CONFIG_CLEAN_FILES = | ||
162 | DIST_SOURCES = | ||
163 | DIST_COMMON = $(srcdir)/Makefile.in Makefile.am acinclude.m4 | ||
164 | all: all-am | ||
165 | |||
166 | .SUFFIXES: | ||
167 | $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) | ||
168 | cd $(top_srcdir) && \ | ||
169 | $(AUTOMAKE) --gnu m4/Makefile | ||
170 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
171 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) | ||
172 | uninstall-info-am: | ||
173 | tags: TAGS | ||
174 | TAGS: | ||
175 | |||
176 | ctags: CTAGS | ||
177 | CTAGS: | ||
178 | |||
179 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
180 | |||
181 | top_distdir = .. | ||
182 | distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) | ||
183 | |||
184 | distdir: $(DISTFILES) | ||
185 | @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ | ||
186 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ | ||
187 | list='$(DISTFILES)'; for file in $$list; do \ | ||
188 | case $$file in \ | ||
189 | $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ | ||
190 | $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ | ||
191 | esac; \ | ||
192 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
193 | dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
194 | if test "$$dir" != "$$file" && test "$$dir" != "."; then \ | ||
195 | dir="/$$dir"; \ | ||
196 | $(mkinstalldirs) "$(distdir)$$dir"; \ | ||
197 | else \ | ||
198 | dir=''; \ | ||
199 | fi; \ | ||
200 | if test -d $$d/$$file; then \ | ||
201 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
202 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ | ||
203 | fi; \ | ||
204 | cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ | ||
205 | else \ | ||
206 | test -f $(distdir)/$$file \ | ||
207 | || cp -p $$d/$$file $(distdir)/$$file \ | ||
208 | || exit 1; \ | ||
209 | fi; \ | ||
210 | done | ||
211 | check-am: all-am | ||
212 | check: check-am | ||
213 | all-am: Makefile | ||
214 | |||
215 | installdirs: | ||
216 | install: install-am | ||
217 | install-exec: install-exec-am | ||
218 | install-data: install-data-am | ||
219 | uninstall: uninstall-am | ||
220 | |||
221 | install-am: all-am | ||
222 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
223 | |||
224 | installcheck: installcheck-am | ||
225 | install-strip: | ||
226 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
227 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
228 | `test -z '$(STRIP)' || \ | ||
229 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
230 | mostlyclean-generic: | ||
231 | |||
232 | clean-generic: | ||
233 | |||
234 | distclean-generic: | ||
235 | -rm -f $(CONFIG_CLEAN_FILES) | ||
236 | |||
237 | maintainer-clean-generic: | ||
238 | @echo "This command is intended for maintainers to use" | ||
239 | @echo "it deletes files that may require special tools to rebuild." | ||
240 | clean: clean-am | ||
241 | |||
242 | clean-am: clean-generic mostlyclean-am | ||
243 | |||
244 | distclean: distclean-am | ||
245 | -rm -f Makefile | ||
246 | distclean-am: clean-am distclean-generic | ||
247 | |||
248 | dvi: dvi-am | ||
249 | |||
250 | dvi-am: | ||
251 | |||
252 | info: info-am | ||
253 | |||
254 | info-am: | ||
255 | |||
256 | install-data-am: | ||
257 | |||
258 | install-exec-am: | ||
259 | |||
260 | install-info: install-info-am | ||
261 | |||
262 | install-man: | ||
263 | |||
264 | installcheck-am: | ||
265 | |||
266 | maintainer-clean: maintainer-clean-am | ||
267 | -rm -f Makefile | ||
268 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
269 | |||
270 | mostlyclean: mostlyclean-am | ||
271 | |||
272 | mostlyclean-am: mostlyclean-generic | ||
273 | |||
274 | pdf: pdf-am | ||
275 | |||
276 | pdf-am: | ||
277 | |||
278 | ps: ps-am | ||
279 | |||
280 | ps-am: | ||
281 | |||
282 | uninstall-am: uninstall-info-am | ||
283 | |||
284 | .PHONY: all all-am check check-am clean clean-generic distclean \ | ||
285 | distclean-generic distdir dvi dvi-am info info-am install \ | ||
286 | install-am install-data install-data-am install-exec \ | ||
287 | install-exec-am install-info install-info-am install-man \ | ||
288 | install-strip installcheck installcheck-am installdirs \ | ||
289 | maintainer-clean maintainer-clean-generic mostlyclean \ | ||
290 | mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \ | ||
291 | uninstall-info-am | ||
292 | |||
293 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
294 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
295 | .NOEXPORT: | ||
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile.am b/src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile.am new file mode 100644 index 0000000..5f9e57d --- /dev/null +++ b/src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile.am | |||
@@ -0,0 +1,5 @@ | |||
1 | EXTRA_DIST = \ | ||
2 | acinclude.m4 \ | ||
3 | glib-2.0.m4 \ | ||
4 | gtk-2.0.m4 \ | ||
5 | gtkglext.m4 | ||
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile.in b/src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile.in new file mode 100644 index 0000000..1170638 --- /dev/null +++ b/src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile.in | |||
@@ -0,0 +1,295 @@ | |||
1 | # Makefile.in generated by automake 1.7.9 from Makefile.am. | ||
2 | # @configure_input@ | ||
3 | |||
4 | # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 | ||
5 | # Free Software Foundation, Inc. | ||
6 | # This Makefile.in is free software; the Free Software Foundation | ||
7 | # gives unlimited permission to copy and/or distribute it, | ||
8 | # with or without modifications, as long as this notice is preserved. | ||
9 | |||
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
13 | # PARTICULAR PURPOSE. | ||
14 | |||
15 | @SET_MAKE@ | ||
16 | |||
17 | srcdir = @srcdir@ | ||
18 | top_srcdir = @top_srcdir@ | ||
19 | VPATH = @srcdir@ | ||
20 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
21 | pkglibdir = $(libdir)/@PACKAGE@ | ||
22 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
23 | top_builddir = .. | ||
24 | |||
25 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
26 | INSTALL = @INSTALL@ | ||
27 | install_sh_DATA = $(install_sh) -c -m 644 | ||
28 | install_sh_PROGRAM = $(install_sh) -c | ||
29 | install_sh_SCRIPT = $(install_sh) -c | ||
30 | INSTALL_HEADER = $(INSTALL_DATA) | ||
31 | transform = $(program_transform_name) | ||
32 | NORMAL_INSTALL = : | ||
33 | PRE_INSTALL = : | ||
34 | POST_INSTALL = : | ||
35 | NORMAL_UNINSTALL = : | ||
36 | PRE_UNINSTALL = : | ||
37 | POST_UNINSTALL = : | ||
38 | ACLOCAL = @ACLOCAL@ | ||
39 | AMDEP_FALSE = @AMDEP_FALSE@ | ||
40 | AMDEP_TRUE = @AMDEP_TRUE@ | ||
41 | AMTAR = @AMTAR@ | ||
42 | AUTOCONF = @AUTOCONF@ | ||
43 | AUTOHEADER = @AUTOHEADER@ | ||
44 | AUTOMAKE = @AUTOMAKE@ | ||
45 | AWK = @AWK@ | ||
46 | CATALOGS = @CATALOGS@ | ||
47 | CATOBJEXT = @CATOBJEXT@ | ||
48 | CC = @CC@ | ||
49 | CCDEPMODE = @CCDEPMODE@ | ||
50 | CFLAGS = @CFLAGS@ | ||
51 | CPP = @CPP@ | ||
52 | CPPFLAGS = @CPPFLAGS@ | ||
53 | CYGPATH_W = @CYGPATH_W@ | ||
54 | DATADIRNAME = @DATADIRNAME@ | ||
55 | DBG_CFLAGS = @DBG_CFLAGS@ | ||
56 | DEBUG = @DEBUG@ | ||
57 | DEFS = @DEFS@ | ||
58 | DEPDIR = @DEPDIR@ | ||
59 | ECHO_C = @ECHO_C@ | ||
60 | ECHO_N = @ECHO_N@ | ||
61 | ECHO_T = @ECHO_T@ | ||
62 | EGREP = @EGREP@ | ||
63 | EXEEXT = @EXEEXT@ | ||
64 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ | ||
65 | GLIB_CFLAGS = @GLIB_CFLAGS@ | ||
66 | GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ | ||
67 | GLIB_LIBS = @GLIB_LIBS@ | ||
68 | GLIB_MKENUMS = @GLIB_MKENUMS@ | ||
69 | GL_LIBS = @GL_LIBS@ | ||
70 | GMOFILES = @GMOFILES@ | ||
71 | GMSGFMT = @GMSGFMT@ | ||
72 | GOBJECT_QUERY = @GOBJECT_QUERY@ | ||
73 | GREP = @GREP@ | ||
74 | GTKGLEXT_CFLAGS = @GTKGLEXT_CFLAGS@ | ||
75 | GTKGLEXT_LIBS = @GTKGLEXT_LIBS@ | ||
76 | GTK_CFLAGS = @GTK_CFLAGS@ | ||
77 | GTK_LIBS = @GTK_LIBS@ | ||
78 | INSTALL_DATA = @INSTALL_DATA@ | ||
79 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
80 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
81 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
82 | INSTOBJEXT = @INSTOBJEXT@ | ||
83 | INTLLIBS = @INTLLIBS@ | ||
84 | LDFLAGS = @LDFLAGS@ | ||
85 | LIBG3D_CFLAGS = @LIBG3D_CFLAGS@ | ||
86 | LIBG3D_LIBS = @LIBG3D_LIBS@ | ||
87 | LIBGLADE_CFLAGS = @LIBGLADE_CFLAGS@ | ||
88 | LIBGLADE_LIBS = @LIBGLADE_LIBS@ | ||
89 | LIBOBJS = @LIBOBJS@ | ||
90 | LIBS = @LIBS@ | ||
91 | LTLIBOBJS = @LTLIBOBJS@ | ||
92 | MAKEINFO = @MAKEINFO@ | ||
93 | MKINSTALLDIRS = @MKINSTALLDIRS@ | ||
94 | MSGFMT = @MSGFMT@ | ||
95 | OBJEXT = @OBJEXT@ | ||
96 | PACKAGE = @PACKAGE@ | ||
97 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
98 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
99 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
100 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
101 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
102 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
103 | PKG_CONFIG = @PKG_CONFIG@ | ||
104 | POFILES = @POFILES@ | ||
105 | POSUB = @POSUB@ | ||
106 | PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ | ||
107 | PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ | ||
108 | SET_MAKE = @SET_MAKE@ | ||
109 | SHELL = @SHELL@ | ||
110 | STRIP = @STRIP@ | ||
111 | USE_NLS = @USE_NLS@ | ||
112 | VERSION = @VERSION@ | ||
113 | XGETTEXT = @XGETTEXT@ | ||
114 | XMKMF = @XMKMF@ | ||
115 | X_CFLAGS = @X_CFLAGS@ | ||
116 | X_EXTRA_LIBS = @X_EXTRA_LIBS@ | ||
117 | X_LIBS = @X_LIBS@ | ||
118 | X_PRE_LIBS = @X_PRE_LIBS@ | ||
119 | ac_ct_CC = @ac_ct_CC@ | ||
120 | am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ | ||
121 | am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ | ||
122 | am__include = @am__include@ | ||
123 | am__leading_dot = @am__leading_dot@ | ||
124 | am__quote = @am__quote@ | ||
125 | bindir = @bindir@ | ||
126 | build_alias = @build_alias@ | ||
127 | datadir = @datadir@ | ||
128 | datarootdir = @datarootdir@ | ||
129 | docdir = @docdir@ | ||
130 | dvidir = @dvidir@ | ||
131 | exec_prefix = @exec_prefix@ | ||
132 | host_alias = @host_alias@ | ||
133 | htmldir = @htmldir@ | ||
134 | includedir = @includedir@ | ||
135 | infodir = @infodir@ | ||
136 | install_sh = @install_sh@ | ||
137 | libdir = @libdir@ | ||
138 | libexecdir = @libexecdir@ | ||
139 | localedir = @localedir@ | ||
140 | localstatedir = @localstatedir@ | ||
141 | mandir = @mandir@ | ||
142 | oldincludedir = @oldincludedir@ | ||
143 | pdfdir = @pdfdir@ | ||
144 | prefix = @prefix@ | ||
145 | program_transform_name = @program_transform_name@ | ||
146 | psdir = @psdir@ | ||
147 | sbindir = @sbindir@ | ||
148 | sharedstatedir = @sharedstatedir@ | ||
149 | sysconfdir = @sysconfdir@ | ||
150 | target_alias = @target_alias@ | ||
151 | EXTRA_DIST = \ | ||
152 | acinclude.m4 \ | ||
153 | glib-2.0.m4 \ | ||
154 | gtk-2.0.m4 \ | ||
155 | gtkglext.m4 | ||
156 | |||
157 | subdir = m4 | ||
158 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
159 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | ||
160 | CONFIG_HEADER = $(top_builddir)/config.h | ||
161 | CONFIG_CLEAN_FILES = | ||
162 | DIST_SOURCES = | ||
163 | DIST_COMMON = $(srcdir)/Makefile.in Makefile.am acinclude.m4 | ||
164 | all: all-am | ||
165 | |||
166 | .SUFFIXES: | ||
167 | $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) | ||
168 | cd $(top_srcdir) && \ | ||
169 | $(AUTOMAKE) --gnu m4/Makefile | ||
170 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
171 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) | ||
172 | uninstall-info-am: | ||
173 | tags: TAGS | ||
174 | TAGS: | ||
175 | |||
176 | ctags: CTAGS | ||
177 | CTAGS: | ||
178 | |||
179 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
180 | |||
181 | top_distdir = .. | ||
182 | distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) | ||
183 | |||
184 | distdir: $(DISTFILES) | ||
185 | @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ | ||
186 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ | ||
187 | list='$(DISTFILES)'; for file in $$list; do \ | ||
188 | case $$file in \ | ||
189 | $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ | ||
190 | $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ | ||
191 | esac; \ | ||
192 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
193 | dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
194 | if test "$$dir" != "$$file" && test "$$dir" != "."; then \ | ||
195 | dir="/$$dir"; \ | ||
196 | $(mkinstalldirs) "$(distdir)$$dir"; \ | ||
197 | else \ | ||
198 | dir=''; \ | ||
199 | fi; \ | ||
200 | if test -d $$d/$$file; then \ | ||
201 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
202 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ | ||
203 | fi; \ | ||
204 | cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ | ||
205 | else \ | ||
206 | test -f $(distdir)/$$file \ | ||
207 | || cp -p $$d/$$file $(distdir)/$$file \ | ||
208 | || exit 1; \ | ||
209 | fi; \ | ||
210 | done | ||
211 | check-am: all-am | ||
212 | check: check-am | ||
213 | all-am: Makefile | ||
214 | |||
215 | installdirs: | ||
216 | install: install-am | ||
217 | install-exec: install-exec-am | ||
218 | install-data: install-data-am | ||
219 | uninstall: uninstall-am | ||
220 | |||
221 | install-am: all-am | ||
222 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
223 | |||
224 | installcheck: installcheck-am | ||
225 | install-strip: | ||
226 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
227 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
228 | `test -z '$(STRIP)' || \ | ||
229 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
230 | mostlyclean-generic: | ||
231 | |||
232 | clean-generic: | ||
233 | |||
234 | distclean-generic: | ||
235 | -rm -f $(CONFIG_CLEAN_FILES) | ||
236 | |||
237 | maintainer-clean-generic: | ||
238 | @echo "This command is intended for maintainers to use" | ||
239 | @echo "it deletes files that may require special tools to rebuild." | ||
240 | clean: clean-am | ||
241 | |||
242 | clean-am: clean-generic mostlyclean-am | ||
243 | |||
244 | distclean: distclean-am | ||
245 | -rm -f Makefile | ||
246 | distclean-am: clean-am distclean-generic | ||
247 | |||
248 | dvi: dvi-am | ||
249 | |||
250 | dvi-am: | ||
251 | |||
252 | info: info-am | ||
253 | |||
254 | info-am: | ||
255 | |||
256 | install-data-am: | ||
257 | |||
258 | install-exec-am: | ||
259 | |||
260 | install-info: install-info-am | ||
261 | |||
262 | install-man: | ||
263 | |||
264 | installcheck-am: | ||
265 | |||
266 | maintainer-clean: maintainer-clean-am | ||
267 | -rm -f Makefile | ||
268 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
269 | |||
270 | mostlyclean: mostlyclean-am | ||
271 | |||
272 | mostlyclean-am: mostlyclean-generic | ||
273 | |||
274 | pdf: pdf-am | ||
275 | |||
276 | pdf-am: | ||
277 | |||
278 | ps: ps-am | ||
279 | |||
280 | ps-am: | ||
281 | |||
282 | uninstall-am: uninstall-info-am | ||
283 | |||
284 | .PHONY: all all-am check check-am clean clean-generic distclean \ | ||
285 | distclean-generic distdir dvi dvi-am info info-am install \ | ||
286 | install-am install-data install-data-am install-exec \ | ||
287 | install-exec-am install-info install-info-am install-man \ | ||
288 | install-strip installcheck installcheck-am installdirs \ | ||
289 | maintainer-clean maintainer-clean-generic mostlyclean \ | ||
290 | mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \ | ||
291 | uninstall-info-am | ||
292 | |||
293 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
294 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
295 | .NOEXPORT: | ||
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/m4/acinclude.m4 b/src/others/mimesh/g3dviewer-0.2.99.4/m4/acinclude.m4 new file mode 100644 index 0000000..f17febd --- /dev/null +++ b/src/others/mimesh/g3dviewer-0.2.99.4/m4/acinclude.m4 | |||
@@ -0,0 +1,27 @@ | |||
1 | dnl @synopsis AC_DEFINE_DIR(VARNAME, DIR [, DESCRIPTION]) | ||
2 | dnl | ||
3 | dnl This macro _AC_DEFINEs VARNAME to the expansion of the DIR | ||
4 | dnl variable, taking care of fixing up ${prefix} and such. | ||
5 | dnl | ||
6 | dnl Note that the 3 argument form is only supported with autoconf 2.13 and | ||
7 | dnl later (i.e. only where _AC_DEFINE supports 3 arguments). | ||
8 | dnl | ||
9 | dnl Examples: | ||
10 | dnl | ||
11 | dnl AC_DEFINE_DIR(DATADIR, datadir) | ||
12 | dnl AC_DEFINE_DIR(PROG_PATH, bindir, [Location of installed binaries]) | ||
13 | dnl | ||
14 | dnl @version $Id: acinclude.m4 25 2006-04-22 17:24:27Z mmmaddd $ | ||
15 | dnl @author Guido Draheim <guidod@gmx.de>, original by Alexandre Oliva | ||
16 | |||
17 | AC_DEFUN([AC_DEFINE_DIR], [ | ||
18 | test "x$prefix" = xNONE && prefix="$ac_default_prefix" | ||
19 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | ||
20 | ac_define_dir=`eval echo [$]$2` | ||
21 | ac_define_dir=`eval echo [$]ac_define_dir` | ||
22 | ifelse($3, , | ||
23 | AC_DEFINE_UNQUOTED($1, "$ac_define_dir"), | ||
24 | AC_DEFINE_UNQUOTED($1, "$ac_define_dir", $3)) | ||
25 | ]) | ||
26 | |||
27 | |||
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/m4/glib-2.0.m4 b/src/others/mimesh/g3dviewer-0.2.99.4/m4/glib-2.0.m4 new file mode 100644 index 0000000..d6413ff --- /dev/null +++ b/src/others/mimesh/g3dviewer-0.2.99.4/m4/glib-2.0.m4 | |||
@@ -0,0 +1,215 @@ | |||
1 | # Configure paths for GLIB | ||
2 | # Owen Taylor 1997-2001 | ||
3 | |||
4 | dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) | ||
5 | dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject or | ||
6 | dnl gthread is specified in MODULES, pass to pkg-config | ||
7 | dnl | ||
8 | AC_DEFUN([AM_PATH_GLIB_2_0], | ||
9 | [dnl | ||
10 | dnl Get the cflags and libraries from pkg-config | ||
11 | dnl | ||
12 | AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run a test GLIB program], | ||
13 | , enable_glibtest=yes) | ||
14 | |||
15 | pkg_config_args=glib-2.0 | ||
16 | for module in . $4 | ||
17 | do | ||
18 | case "$module" in | ||
19 | gmodule) | ||
20 | pkg_config_args="$pkg_config_args gmodule-2.0" | ||
21 | ;; | ||
22 | gmodule-no-export) | ||
23 | pkg_config_args="$pkg_config_args gmodule-no-export-2.0" | ||
24 | ;; | ||
25 | gobject) | ||
26 | pkg_config_args="$pkg_config_args gobject-2.0" | ||
27 | ;; | ||
28 | gthread) | ||
29 | pkg_config_args="$pkg_config_args gthread-2.0" | ||
30 | ;; | ||
31 | esac | ||
32 | done | ||
33 | |||
34 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) | ||
35 | |||
36 | no_glib="" | ||
37 | |||
38 | if test x$PKG_CONFIG != xno ; then | ||
39 | if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then | ||
40 | : | ||
41 | else | ||
42 | echo *** pkg-config too old; version 0.7 or better required. | ||
43 | no_glib=yes | ||
44 | PKG_CONFIG=no | ||
45 | fi | ||
46 | else | ||
47 | no_glib=yes | ||
48 | fi | ||
49 | |||
50 | min_glib_version=ifelse([$1], ,2.0.0,$1) | ||
51 | AC_MSG_CHECKING(for GLIB - version >= $min_glib_version) | ||
52 | |||
53 | if test x$PKG_CONFIG != xno ; then | ||
54 | ## don't try to run the test against uninstalled libtool libs | ||
55 | if $PKG_CONFIG --uninstalled $pkg_config_args; then | ||
56 | echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH" | ||
57 | enable_glibtest=no | ||
58 | fi | ||
59 | |||
60 | if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then | ||
61 | : | ||
62 | else | ||
63 | no_glib=yes | ||
64 | fi | ||
65 | fi | ||
66 | |||
67 | if test x"$no_glib" = x ; then | ||
68 | GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` | ||
69 | GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0` | ||
70 | GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0` | ||
71 | |||
72 | GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args` | ||
73 | GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args` | ||
74 | glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \ | ||
75 | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` | ||
76 | glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \ | ||
77 | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` | ||
78 | glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \ | ||
79 | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` | ||
80 | if test "x$enable_glibtest" = "xyes" ; then | ||
81 | ac_save_CFLAGS="$CFLAGS" | ||
82 | ac_save_LIBS="$LIBS" | ||
83 | CFLAGS="$CFLAGS $GLIB_CFLAGS" | ||
84 | LIBS="$GLIB_LIBS $LIBS" | ||
85 | dnl | ||
86 | dnl Now check if the installed GLIB is sufficiently new. (Also sanity | ||
87 | dnl checks the results of pkg-config to some extent) | ||
88 | dnl | ||
89 | rm -f conf.glibtest | ||
90 | AC_TRY_RUN([ | ||
91 | #include <glib.h> | ||
92 | #include <stdio.h> | ||
93 | #include <stdlib.h> | ||
94 | |||
95 | int | ||
96 | main () | ||
97 | { | ||
98 | int major, minor, micro; | ||
99 | char *tmp_version; | ||
100 | |||
101 | system ("touch conf.glibtest"); | ||
102 | |||
103 | /* HP/UX 9 (%@#!) writes to sscanf strings */ | ||
104 | tmp_version = g_strdup("$min_glib_version"); | ||
105 | if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | ||
106 | printf("%s, bad version string\n", "$min_glib_version"); | ||
107 | exit(1); | ||
108 | } | ||
109 | |||
110 | if ((glib_major_version != $glib_config_major_version) || | ||
111 | (glib_minor_version != $glib_config_minor_version) || | ||
112 | (glib_micro_version != $glib_config_micro_version)) | ||
113 | { | ||
114 | printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", | ||
115 | $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version, | ||
116 | glib_major_version, glib_minor_version, glib_micro_version); | ||
117 | printf ("*** was found! If pkg-config was correct, then it is best\n"); | ||
118 | printf ("*** to remove the old version of GLib. You may also be able to fix the error\n"); | ||
119 | printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); | ||
120 | printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); | ||
121 | printf("*** required on your system.\n"); | ||
122 | printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); | ||
123 | printf("*** to point to the correct configuration files\n"); | ||
124 | } | ||
125 | else if ((glib_major_version != GLIB_MAJOR_VERSION) || | ||
126 | (glib_minor_version != GLIB_MINOR_VERSION) || | ||
127 | (glib_micro_version != GLIB_MICRO_VERSION)) | ||
128 | { | ||
129 | printf("*** GLIB header files (version %d.%d.%d) do not match\n", | ||
130 | GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION); | ||
131 | printf("*** library (version %d.%d.%d)\n", | ||
132 | glib_major_version, glib_minor_version, glib_micro_version); | ||
133 | } | ||
134 | else | ||
135 | { | ||
136 | if ((glib_major_version > major) || | ||
137 | ((glib_major_version == major) && (glib_minor_version > minor)) || | ||
138 | ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro))) | ||
139 | { | ||
140 | return 0; | ||
141 | } | ||
142 | else | ||
143 | { | ||
144 | printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n", | ||
145 | glib_major_version, glib_minor_version, glib_micro_version); | ||
146 | printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n", | ||
147 | major, minor, micro); | ||
148 | printf("*** GLIB is always available from ftp://ftp.gtk.org.\n"); | ||
149 | printf("***\n"); | ||
150 | printf("*** If you have already installed a sufficiently new version, this error\n"); | ||
151 | printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); | ||
152 | printf("*** being found. The easiest way to fix this is to remove the old version\n"); | ||
153 | printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n"); | ||
154 | printf("*** correct copy of pkg-config. (In this case, you will have to\n"); | ||
155 | printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); | ||
156 | printf("*** so that the correct libraries are found at run-time))\n"); | ||
157 | } | ||
158 | } | ||
159 | return 1; | ||
160 | } | ||
161 | ],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) | ||
162 | CFLAGS="$ac_save_CFLAGS" | ||
163 | LIBS="$ac_save_LIBS" | ||
164 | fi | ||
165 | fi | ||
166 | if test "x$no_glib" = x ; then | ||
167 | AC_MSG_RESULT(yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)) | ||
168 | ifelse([$2], , :, [$2]) | ||
169 | else | ||
170 | AC_MSG_RESULT(no) | ||
171 | if test "$PKG_CONFIG" = "no" ; then | ||
172 | echo "*** A new enough version of pkg-config was not found." | ||
173 | echo "*** See http://www.freedesktop.org/software/pkgconfig/" | ||
174 | else | ||
175 | if test -f conf.glibtest ; then | ||
176 | : | ||
177 | else | ||
178 | echo "*** Could not run GLIB test program, checking why..." | ||
179 | ac_save_CFLAGS="$CFLAGS" | ||
180 | ac_save_LIBS="$LIBS" | ||
181 | CFLAGS="$CFLAGS $GLIB_CFLAGS" | ||
182 | LIBS="$LIBS $GLIB_LIBS" | ||
183 | AC_TRY_LINK([ | ||
184 | #include <glib.h> | ||
185 | #include <stdio.h> | ||
186 | ], [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ], | ||
187 | [ echo "*** The test program compiled, but did not run. This usually means" | ||
188 | echo "*** that the run-time linker is not finding GLIB or finding the wrong" | ||
189 | echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" | ||
190 | echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | ||
191 | echo "*** to the installed location Also, make sure you have run ldconfig if that" | ||
192 | echo "*** is required on your system" | ||
193 | echo "***" | ||
194 | echo "*** If you have an old version installed, it is best to remove it, although" | ||
195 | echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ], | ||
196 | [ echo "*** The test program failed to compile or link. See the file config.log for the" | ||
197 | echo "*** exact error that occured. This usually means GLIB is incorrectly installed."]) | ||
198 | CFLAGS="$ac_save_CFLAGS" | ||
199 | LIBS="$ac_save_LIBS" | ||
200 | fi | ||
201 | fi | ||
202 | GLIB_CFLAGS="" | ||
203 | GLIB_LIBS="" | ||
204 | GLIB_GENMARSHAL="" | ||
205 | GOBJECT_QUERY="" | ||
206 | GLIB_MKENUMS="" | ||
207 | ifelse([$3], , :, [$3]) | ||
208 | fi | ||
209 | AC_SUBST(GLIB_CFLAGS) | ||
210 | AC_SUBST(GLIB_LIBS) | ||
211 | AC_SUBST(GLIB_GENMARSHAL) | ||
212 | AC_SUBST(GOBJECT_QUERY) | ||
213 | AC_SUBST(GLIB_MKENUMS) | ||
214 | rm -f conf.glibtest | ||
215 | ]) | ||
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/m4/gtk-2.0.m4 b/src/others/mimesh/g3dviewer-0.2.99.4/m4/gtk-2.0.m4 new file mode 100644 index 0000000..3deba01 --- /dev/null +++ b/src/others/mimesh/g3dviewer-0.2.99.4/m4/gtk-2.0.m4 | |||
@@ -0,0 +1,196 @@ | |||
1 | # Configure paths for GTK+ | ||
2 | # Owen Taylor 1997-2001 | ||
3 | |||
4 | dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) | ||
5 | dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES, | ||
6 | dnl pass to pkg-config | ||
7 | dnl | ||
8 | AC_DEFUN([AM_PATH_GTK_2_0], | ||
9 | [dnl | ||
10 | dnl Get the cflags and libraries from pkg-config | ||
11 | dnl | ||
12 | AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program], | ||
13 | , enable_gtktest=yes) | ||
14 | |||
15 | pkg_config_args=gtk+-2.0 | ||
16 | for module in . $4 | ||
17 | do | ||
18 | case "$module" in | ||
19 | gthread) | ||
20 | pkg_config_args="$pkg_config_args gthread-2.0" | ||
21 | ;; | ||
22 | esac | ||
23 | done | ||
24 | |||
25 | no_gtk="" | ||
26 | |||
27 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) | ||
28 | |||
29 | if test x$PKG_CONFIG != xno ; then | ||
30 | if pkg-config --atleast-pkgconfig-version 0.7 ; then | ||
31 | : | ||
32 | else | ||
33 | echo "*** pkg-config too old; version 0.7 or better required." | ||
34 | no_gtk=yes | ||
35 | PKG_CONFIG=no | ||
36 | fi | ||
37 | else | ||
38 | no_gtk=yes | ||
39 | fi | ||
40 | |||
41 | min_gtk_version=ifelse([$1], ,2.0.0,$1) | ||
42 | AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version) | ||
43 | |||
44 | if test x$PKG_CONFIG != xno ; then | ||
45 | ## don't try to run the test against uninstalled libtool libs | ||
46 | if $PKG_CONFIG --uninstalled $pkg_config_args; then | ||
47 | echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH" | ||
48 | enable_gtktest=no | ||
49 | fi | ||
50 | |||
51 | if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then | ||
52 | : | ||
53 | else | ||
54 | no_gtk=yes | ||
55 | fi | ||
56 | fi | ||
57 | |||
58 | if test x"$no_gtk" = x ; then | ||
59 | GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags` | ||
60 | GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs` | ||
61 | gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ | ||
62 | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` | ||
63 | gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ | ||
64 | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` | ||
65 | gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ | ||
66 | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` | ||
67 | if test "x$enable_gtktest" = "xyes" ; then | ||
68 | ac_save_CFLAGS="$CFLAGS" | ||
69 | ac_save_LIBS="$LIBS" | ||
70 | CFLAGS="$CFLAGS $GTK_CFLAGS" | ||
71 | LIBS="$GTK_LIBS $LIBS" | ||
72 | dnl | ||
73 | dnl Now check if the installed GTK+ is sufficiently new. (Also sanity | ||
74 | dnl checks the results of pkg-config to some extent) | ||
75 | dnl | ||
76 | rm -f conf.gtktest | ||
77 | AC_TRY_RUN([ | ||
78 | #include <gtk/gtk.h> | ||
79 | #include <stdio.h> | ||
80 | #include <stdlib.h> | ||
81 | |||
82 | int | ||
83 | main () | ||
84 | { | ||
85 | int major, minor, micro; | ||
86 | char *tmp_version; | ||
87 | |||
88 | system ("touch conf.gtktest"); | ||
89 | |||
90 | /* HP/UX 9 (%@#!) writes to sscanf strings */ | ||
91 | tmp_version = g_strdup("$min_gtk_version"); | ||
92 | if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | ||
93 | printf("%s, bad version string\n", "$min_gtk_version"); | ||
94 | exit(1); | ||
95 | } | ||
96 | |||
97 | if ((gtk_major_version != $gtk_config_major_version) || | ||
98 | (gtk_minor_version != $gtk_config_minor_version) || | ||
99 | (gtk_micro_version != $gtk_config_micro_version)) | ||
100 | { | ||
101 | printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", | ||
102 | $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, | ||
103 | gtk_major_version, gtk_minor_version, gtk_micro_version); | ||
104 | printf ("*** was found! If pkg-config was correct, then it is best\n"); | ||
105 | printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); | ||
106 | printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); | ||
107 | printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); | ||
108 | printf("*** required on your system.\n"); | ||
109 | printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); | ||
110 | printf("*** to point to the correct configuration files\n"); | ||
111 | } | ||
112 | else if ((gtk_major_version != GTK_MAJOR_VERSION) || | ||
113 | (gtk_minor_version != GTK_MINOR_VERSION) || | ||
114 | (gtk_micro_version != GTK_MICRO_VERSION)) | ||
115 | { | ||
116 | printf("*** GTK+ header files (version %d.%d.%d) do not match\n", | ||
117 | GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); | ||
118 | printf("*** library (version %d.%d.%d)\n", | ||
119 | gtk_major_version, gtk_minor_version, gtk_micro_version); | ||
120 | } | ||
121 | else | ||
122 | { | ||
123 | if ((gtk_major_version > major) || | ||
124 | ((gtk_major_version == major) && (gtk_minor_version > minor)) || | ||
125 | ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) | ||
126 | { | ||
127 | return 0; | ||
128 | } | ||
129 | else | ||
130 | { | ||
131 | printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", | ||
132 | gtk_major_version, gtk_minor_version, gtk_micro_version); | ||
133 | printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", | ||
134 | major, minor, micro); | ||
135 | printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); | ||
136 | printf("***\n"); | ||
137 | printf("*** If you have already installed a sufficiently new version, this error\n"); | ||
138 | printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); | ||
139 | printf("*** being found. The easiest way to fix this is to remove the old version\n"); | ||
140 | printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n"); | ||
141 | printf("*** correct copy of pkg-config. (In this case, you will have to\n"); | ||
142 | printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); | ||
143 | printf("*** so that the correct libraries are found at run-time))\n"); | ||
144 | } | ||
145 | } | ||
146 | return 1; | ||
147 | } | ||
148 | ],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) | ||
149 | CFLAGS="$ac_save_CFLAGS" | ||
150 | LIBS="$ac_save_LIBS" | ||
151 | fi | ||
152 | fi | ||
153 | if test "x$no_gtk" = x ; then | ||
154 | AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)) | ||
155 | ifelse([$2], , :, [$2]) | ||
156 | else | ||
157 | AC_MSG_RESULT(no) | ||
158 | if test "$PKG_CONFIG" = "no" ; then | ||
159 | echo "*** A new enough version of pkg-config was not found." | ||
160 | echo "*** See http://pkgconfig.sourceforge.net" | ||
161 | else | ||
162 | if test -f conf.gtktest ; then | ||
163 | : | ||
164 | else | ||
165 | echo "*** Could not run GTK+ test program, checking why..." | ||
166 | ac_save_CFLAGS="$CFLAGS" | ||
167 | ac_save_LIBS="$LIBS" | ||
168 | CFLAGS="$CFLAGS $GTK_CFLAGS" | ||
169 | LIBS="$LIBS $GTK_LIBS" | ||
170 | AC_TRY_LINK([ | ||
171 | #include <gtk/gtk.h> | ||
172 | #include <stdio.h> | ||
173 | ], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ], | ||
174 | [ echo "*** The test program compiled, but did not run. This usually means" | ||
175 | echo "*** that the run-time linker is not finding GTK+ or finding the wrong" | ||
176 | echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" | ||
177 | echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | ||
178 | echo "*** to the installed location Also, make sure you have run ldconfig if that" | ||
179 | echo "*** is required on your system" | ||
180 | echo "***" | ||
181 | echo "*** If you have an old version installed, it is best to remove it, although" | ||
182 | echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ], | ||
183 | [ echo "*** The test program failed to compile or link. See the file config.log for the" | ||
184 | echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."]) | ||
185 | CFLAGS="$ac_save_CFLAGS" | ||
186 | LIBS="$ac_save_LIBS" | ||
187 | fi | ||
188 | fi | ||
189 | GTK_CFLAGS="" | ||
190 | GTK_LIBS="" | ||
191 | ifelse([$3], , :, [$3]) | ||
192 | fi | ||
193 | AC_SUBST(GTK_CFLAGS) | ||
194 | AC_SUBST(GTK_LIBS) | ||
195 | rm -f conf.gtktest | ||
196 | ]) | ||
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/m4/gtkglext.m4 b/src/others/mimesh/g3dviewer-0.2.99.4/m4/gtkglext.m4 new file mode 100644 index 0000000..cfc49fd --- /dev/null +++ b/src/others/mimesh/g3dviewer-0.2.99.4/m4/gtkglext.m4 | |||
@@ -0,0 +1,230 @@ | |||
1 | # Configure paths for GtkGLExt | ||
2 | # Naofumi Yasufuku | ||
3 | # | ||
4 | # Shamelessly stolen from gtk-2.0.m4 | ||
5 | # Configure paths for GTK+ | ||
6 | # Owen Taylor 1997-2001 | ||
7 | |||
8 | dnl AM_PATH_GTKGLEXT_1_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) | ||
9 | dnl Test for GtkGLExt, and define GTKGLEXT_CFLAGS and GTKGLEXT_LIBS. | ||
10 | dnl | ||
11 | AC_DEFUN([AM_PATH_GTKGLEXT_1_0], | ||
12 | [ no_gtkglext="" | ||
13 | GTKGLEXT_CFLAGS="" | ||
14 | GTKGLEXT_LIBS="" | ||
15 | |||
16 | # GtkGLExt pkg-config module | ||
17 | gtkglext_module=gtkglext-1.0 | ||
18 | |||
19 | # minimum GtkGLExt version | ||
20 | gtkglext_min_version=ifelse([$1], ,1.0.0,$1) | ||
21 | |||
22 | # minimum pkg-config version | ||
23 | pkgconfig_min_version=0.7 | ||
24 | |||
25 | AC_ARG_ENABLE(gtkglext-test, | ||
26 | [ --disable-gtkglext-test do not try to compile and run a test GtkGLExt program], | ||
27 | , enable_gtkglext_test=yes) | ||
28 | |||
29 | dnl | ||
30 | dnl Get the cflags and libraries from pkg-config | ||
31 | dnl | ||
32 | pkg_config_modules=$gtkglext_module | ||
33 | |||
34 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) | ||
35 | |||
36 | if test x$PKG_CONFIG != xno ; then | ||
37 | if pkg-config --atleast-pkgconfig-version $pkgconfig_min_version ; then | ||
38 | : | ||
39 | else | ||
40 | echo "" | ||
41 | echo "*** pkg-config too old; version $pkgconfig_min_version or better required." | ||
42 | no_gtkglext=yes | ||
43 | PKG_CONFIG=no | ||
44 | fi | ||
45 | else | ||
46 | no_gtkglext=yes | ||
47 | fi | ||
48 | |||
49 | AC_MSG_CHECKING(for GtkGLExt - version >= $gtkglext_min_version) | ||
50 | |||
51 | if test x$PKG_CONFIG != xno ; then | ||
52 | ## don't try to run the test against uninstalled libtool libs | ||
53 | if $PKG_CONFIG --uninstalled $pkg_config_modules; then | ||
54 | echo "" | ||
55 | echo "Will use uninstalled version of GtkGLExt found in PKG_CONFIG_PATH" | ||
56 | enable_gtkglext_test=no | ||
57 | fi | ||
58 | |||
59 | if $PKG_CONFIG --atleast-version $gtkglext_min_version $pkg_config_modules; then | ||
60 | : | ||
61 | else | ||
62 | echo "" | ||
63 | echo "*** pkg-config cannot find $gtkglext_module >= $gtkglext_min_version" | ||
64 | echo "*** Set the environment variable PKG_CONFIG_PATH to point to the correct" | ||
65 | echo "*** configuration files." | ||
66 | no_gtkglext=yes | ||
67 | enable_gtkglext_test=no | ||
68 | fi | ||
69 | fi | ||
70 | |||
71 | if test x"$no_gtkglext" = x ; then | ||
72 | GTKGLEXT_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_modules` | ||
73 | GTKGLEXT_LIBS=`$PKG_CONFIG --libs $pkg_config_modules` | ||
74 | gtkglext_config_major_version=`$PKG_CONFIG --modversion $gtkglext_module | \ | ||
75 | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` | ||
76 | gtkglext_config_minor_version=`$PKG_CONFIG --modversion $gtkglext_module | \ | ||
77 | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` | ||
78 | gtkglext_config_micro_version=`$PKG_CONFIG --modversion $gtkglext_module | \ | ||
79 | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` | ||
80 | if test "x$enable_gtkglext_test" = "xyes" ; then | ||
81 | ac_save_CFLAGS="$CFLAGS" | ||
82 | ac_save_LIBS="$LIBS" | ||
83 | CFLAGS="$CFLAGS $GTKGLEXT_CFLAGS" | ||
84 | LIBS="$GTKGLEXT_LIBS $LIBS" | ||
85 | dnl | ||
86 | dnl Now check if the installed GtkGLExt is sufficiently new. (Also sanity | ||
87 | dnl checks the results of pkg-config to some extent) | ||
88 | dnl | ||
89 | rm -f conf.gtkgltest | ||
90 | AC_TRY_RUN([ | ||
91 | #include <gtk/gtk.h> | ||
92 | #include <gtk/gtkgl.h> | ||
93 | #include <stdio.h> | ||
94 | #include <stdlib.h> | ||
95 | |||
96 | int | ||
97 | main () | ||
98 | { | ||
99 | int major, minor, micro; | ||
100 | char *tmp_version; | ||
101 | |||
102 | system ("touch conf.gtkgltest"); | ||
103 | |||
104 | /* HP/UX 9 (%@#!) writes to sscanf strings */ | ||
105 | tmp_version = g_strdup ("$gtkglext_min_version"); | ||
106 | if (sscanf (tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) | ||
107 | { | ||
108 | printf ("%s, bad version string\n", "$gtkglext_min_version"); | ||
109 | exit (1); | ||
110 | } | ||
111 | |||
112 | if ((gtkglext_major_version != $gtkglext_config_major_version) || | ||
113 | (gtkglext_minor_version != $gtkglext_config_minor_version) || | ||
114 | (gtkglext_micro_version != $gtkglext_config_micro_version)) | ||
115 | { | ||
116 | printf ("\n*** 'pkg-config --modversion $gtkglext_module' returned %d.%d.%d, but GtkGLExt\n", | ||
117 | $gtkglext_config_major_version, $gtkglext_config_minor_version, $gtkglext_config_micro_version); | ||
118 | printf ("*** library %d.%d.%d was found!\n", | ||
119 | gtkglext_major_version, gtkglext_minor_version, gtkglext_micro_version); | ||
120 | printf ("***\n"); | ||
121 | printf ("*** If pkg-config was correct, then it is best to remove the old version\n"); | ||
122 | printf ("*** of GtkGLExt. You may also be able to fix the error by modifying your\n"); | ||
123 | printf ("*** LD_LIBRARY_PATH enviroment variable, or by editing /etc/ld.so.conf.\n"); | ||
124 | printf ("*** Make sure you have run ldconfig if that is required on your system.\n"); | ||
125 | printf ("***\n"); | ||
126 | printf ("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); | ||
127 | printf ("*** to point to the correct configuration files.\n"); | ||
128 | } | ||
129 | else if ((gtkglext_major_version != GTKGLEXT_MAJOR_VERSION) || | ||
130 | (gtkglext_minor_version != GTKGLEXT_MINOR_VERSION) || | ||
131 | (gtkglext_micro_version != GTKGLEXT_MICRO_VERSION)) | ||
132 | { | ||
133 | printf ("\n*** GtkGLExt header files (version %d.%d.%d) do not match library (version %d.%d.%d).\n", | ||
134 | GTKGLEXT_MAJOR_VERSION, GTKGLEXT_MINOR_VERSION, GTKGLEXT_MICRO_VERSION, | ||
135 | gtkglext_major_version, gtkglext_minor_version, gtkglext_micro_version); | ||
136 | } | ||
137 | else | ||
138 | { | ||
139 | if ((gtkglext_major_version > major) || | ||
140 | ((gtkglext_major_version == major) && (gtkglext_minor_version > minor)) || | ||
141 | ((gtkglext_major_version == major) && (gtkglext_minor_version == minor) && (gtkglext_micro_version >= micro))) | ||
142 | { | ||
143 | return 0; | ||
144 | } | ||
145 | else | ||
146 | { | ||
147 | printf ("\n*** An old version of GtkGLExt library (%d.%d.%d) was found.\n", | ||
148 | gtkglext_major_version, gtkglext_minor_version, gtkglext_micro_version); | ||
149 | printf ("*** You need a version of GtkGLExt newer than %d.%d.%d. The latest version of\n", | ||
150 | major, minor, micro); | ||
151 | printf ("*** GtkGLExt is always available from http://gtkglext.sourceforge.net/.\n"); | ||
152 | printf ("***\n"); | ||
153 | printf ("*** If you have already installed a sufficiently new version, this error\n"); | ||
154 | printf ("*** probably means that the wrong copy of the pkg-config shell script is\n"); | ||
155 | printf ("*** being found. The easiest way to fix this is to remove the old version\n"); | ||
156 | printf ("*** of GtkGLExt, but you can also set the PKG_CONFIG environment to point\n"); | ||
157 | printf ("*** to the correct copy of pkg-config. (In this case, you will have to\n"); | ||
158 | printf ("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); | ||
159 | printf ("*** so that the correct libraries are found at run-time)\n"); | ||
160 | } | ||
161 | } | ||
162 | return 1; | ||
163 | } | ||
164 | ],, no_gtkglext=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) | ||
165 | CFLAGS="$ac_save_CFLAGS" | ||
166 | LIBS="$ac_save_LIBS" | ||
167 | fi | ||
168 | fi | ||
169 | if test "x$no_gtkglext" = x ; then | ||
170 | AC_MSG_RESULT(yes (version $gtkglext_config_major_version.$gtkglext_config_minor_version.$gtkglext_config_micro_version)) | ||
171 | ifelse([$2], , :, [$2]) | ||
172 | else | ||
173 | AC_MSG_RESULT(no) | ||
174 | if test "$PKG_CONFIG" = "no" ; then | ||
175 | echo "*** A new enough version of pkg-config was not found." | ||
176 | echo "*** See http://www.freedesktop.org/software/pkgconfig/." | ||
177 | elif test "x$enable_gtkglext_test" = "xyes" ; then | ||
178 | if test -f conf.gtkgltest ; then | ||
179 | : | ||
180 | else | ||
181 | echo "*** Could not run GtkGLExt test program, checking why..." | ||
182 | ac_save_CFLAGS="$CFLAGS" | ||
183 | ac_save_LIBS="$LIBS" | ||
184 | CFLAGS="$CFLAGS $GTKGLEXT_CFLAGS" | ||
185 | LIBS="$LIBS $GTKGLEXT_LIBS" | ||
186 | AC_TRY_LINK([ | ||
187 | #include <gtk/gtk.h> | ||
188 | #include <gtk/gtkgl.h> | ||
189 | #include <stdio.h> | ||
190 | ], [ return ((gtkglext_major_version) || (gtkglext_minor_version) || (gtkglext_micro_version)); ], | ||
191 | [ echo "*** The test program compiled, but did not run. This usually means" | ||
192 | echo "*** that the run-time linker is not finding GtkGLExt or finding the wrong" | ||
193 | echo "*** version of GtkGLExt. If it is not finding GtkGLExt, you'll need to set your" | ||
194 | echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | ||
195 | echo "*** to the installed location Also, make sure you have run ldconfig if that" | ||
196 | echo "*** is required on your system" | ||
197 | echo "***" | ||
198 | echo "*** If you have an old version installed, it is best to remove it, although" | ||
199 | echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ], | ||
200 | [ echo "*** The test program failed to compile or link. See the file config.log for the" | ||
201 | echo "*** exact error that occured. This usually means GtkGLExt is incorrectly installed."]) | ||
202 | CFLAGS="$ac_save_CFLAGS" | ||
203 | LIBS="$ac_save_LIBS" | ||
204 | fi | ||
205 | fi | ||
206 | GTKGLEXT_CFLAGS="" | ||
207 | GTKGLEXT_LIBS="" | ||
208 | ifelse([$3], , :, [$3]) | ||
209 | fi | ||
210 | AC_SUBST(GTKGLEXT_CFLAGS) | ||
211 | AC_SUBST(GTKGLEXT_LIBS) | ||
212 | rm -f conf.gtkgltest | ||
213 | ]) | ||
214 | |||
215 | dnl AC_GTKGLEXT_SUPPORTS_MULTIHEAD([ACTION-IF-SUPPORTED [, ACTION-IF-NOT-SUPPORTED]]) | ||
216 | dnl Checks whether GtkGLExt supports multihead. | ||
217 | dnl | ||
218 | AC_DEFUN([AC_GTKGLEXT_SUPPORTS_MULTIHEAD], | ||
219 | [ AC_CACHE_CHECK([whether GtkGLExt supports multihead], | ||
220 | [ac_cv_gtkglext_supports_multihead], | ||
221 | [AC_TRY_LINK([#include <gdk/gdkglquery.h>], | ||
222 | [gdk_gl_query_extension_for_display(gdk_display_get_default());], | ||
223 | [ac_cv_gtkglext_supports_multihead=yes], | ||
224 | [ac_cv_gtkglext_supports_multihead=no])]) | ||
225 | if test "x$ac_cv_gtkglext_supports_multihead" = "xyes" ; then | ||
226 | ifelse([$1], , :, [$1]) | ||
227 | else | ||
228 | ifelse([$2], , :, [$2]) | ||
229 | fi | ||
230 | ]) | ||