aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/mimesh/g3dviewer-0.2.99.4/m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile295
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile.am5
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/m4/Makefile.in295
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/m4/acinclude.m427
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/m4/glib-2.0.m4215
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/m4/gtk-2.0.m4196
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/m4/gtkglext.m4230
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
17srcdir = .
18top_srcdir = ..
19
20pkgdatadir = $(datadir)/g3dviewer
21pkglibdir = $(libdir)/g3dviewer
22pkgincludedir = $(includedir)/g3dviewer
23top_builddir = ..
24
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = /usr/bin/install -c
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38ACLOCAL = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run aclocal-1.7
39AMDEP_FALSE = #
40AMDEP_TRUE =
41AMTAR = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run tar
42AUTOCONF = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoconf
43AUTOHEADER = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoheader
44AUTOMAKE = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run automake-1.7
45AWK = gawk
46CATALOGS = de.gmo
47CATOBJEXT = .gmo
48CC = gcc
49CCDEPMODE = depmode=gcc3
50CFLAGS = -g -O2
51CPP = gcc -E
52CPPFLAGS =
53CYGPATH_W = echo
54DATADIRNAME = share
55DBG_CFLAGS = -O2
56DEBUG = 0
57DEFS = -DHAVE_CONFIG_H
58DEPDIR = .deps
59ECHO_C =
60ECHO_N = -n
61ECHO_T =
62EGREP = /bin/grep -E
63EXEEXT =
64GETTEXT_PACKAGE = g3dviewer
65GLIB_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
66GLIB_GENMARSHAL = glib-genmarshal
67GLIB_LIBS = -lglib-2.0
68GLIB_MKENUMS = glib-mkenums
69GL_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
70GMOFILES = de.gmo
71GMSGFMT = /usr/bin/msgfmt
72GOBJECT_QUERY = gobject-query
73GREP = /bin/grep
74GTKGLEXT_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
75GTKGLEXT_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
76GTK_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
77GTK_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
78INSTALL_DATA = ${INSTALL} -m 644
79INSTALL_PROGRAM = ${INSTALL}
80INSTALL_SCRIPT = ${INSTALL}
81INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
82INSTOBJEXT = .mo
83INTLLIBS =
84LDFLAGS =
85LIBG3D_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/include
86LIBG3D_LIBS = -L/usr/local/lib -lg3d -lglib-2.0
87LIBGLADE_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
88LIBGLADE_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
89LIBOBJS =
90LIBS =
91LTLIBOBJS =
92MAKEINFO = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run makeinfo
93MKINSTALLDIRS = ./mkinstalldirs
94MSGFMT = /usr/bin/msgfmt
95OBJEXT = o
96PACKAGE = g3dviewer
97PACKAGE_BUGREPORT =
98PACKAGE_NAME =
99PACKAGE_STRING =
100PACKAGE_TARNAME =
101PACKAGE_VERSION =
102PATH_SEPARATOR = :
103PKG_CONFIG = /usr/bin/pkg-config
104POFILES = de.po
105POSUB = po
106PO_IN_DATADIR_FALSE =
107PO_IN_DATADIR_TRUE =
108SET_MAKE =
109SHELL = /bin/bash
110STRIP =
111USE_NLS = yes
112VERSION = 0.2.99.4
113XGETTEXT = /usr/bin/xgettext
114XMKMF =
115X_CFLAGS =
116X_EXTRA_LIBS =
117X_LIBS =
118X_PRE_LIBS = -lSM -lICE
119ac_ct_CC = gcc
120am__fastdepCC_FALSE = #
121am__fastdepCC_TRUE =
122am__include = include
123am__leading_dot = .
124am__quote =
125bindir = ${exec_prefix}/bin
126build_alias =
127datadir = ${datarootdir}
128datarootdir = ${prefix}/share
129docdir = ${datarootdir}/doc/${PACKAGE}
130dvidir = ${docdir}
131exec_prefix = ${prefix}
132host_alias =
133htmldir = ${docdir}
134includedir = ${prefix}/include
135infodir = ${datarootdir}/info
136install_sh = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/install-sh
137libdir = ${exec_prefix}/lib
138libexecdir = ${exec_prefix}/libexec
139localedir = ${datarootdir}/locale
140localstatedir = ${prefix}/var
141mandir = ${datarootdir}/man
142oldincludedir = /usr/include
143pdfdir = ${docdir}
144prefix = /usr/local
145program_transform_name = s,x,x,
146psdir = ${docdir}
147sbindir = ${exec_prefix}/sbin
148sharedstatedir = ${prefix}/com
149sysconfdir = ${prefix}/etc
150target_alias =
151EXTRA_DIST = \
152 acinclude.m4 \
153 glib-2.0.m4 \
154 gtk-2.0.m4 \
155 gtkglext.m4
156
157subdir = m4
158ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
159mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
160CONFIG_HEADER = $(top_builddir)/config.h
161CONFIG_CLEAN_FILES =
162DIST_SOURCES =
163DIST_COMMON = $(srcdir)/Makefile.in Makefile.am acinclude.m4
164all: 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
170Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
171 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
172uninstall-info-am:
173tags: TAGS
174TAGS:
175
176ctags: CTAGS
177CTAGS:
178
179DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
180
181top_distdir = ..
182distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
183
184distdir: $(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
211check-am: all-am
212check: check-am
213all-am: Makefile
214
215installdirs:
216install: install-am
217install-exec: install-exec-am
218install-data: install-data-am
219uninstall: uninstall-am
220
221install-am: all-am
222 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
223
224installcheck: installcheck-am
225install-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
230mostlyclean-generic:
231
232clean-generic:
233
234distclean-generic:
235 -rm -f $(CONFIG_CLEAN_FILES)
236
237maintainer-clean-generic:
238 @echo "This command is intended for maintainers to use"
239 @echo "it deletes files that may require special tools to rebuild."
240clean: clean-am
241
242clean-am: clean-generic mostlyclean-am
243
244distclean: distclean-am
245 -rm -f Makefile
246distclean-am: clean-am distclean-generic
247
248dvi: dvi-am
249
250dvi-am:
251
252info: info-am
253
254info-am:
255
256install-data-am:
257
258install-exec-am:
259
260install-info: install-info-am
261
262install-man:
263
264installcheck-am:
265
266maintainer-clean: maintainer-clean-am
267 -rm -f Makefile
268maintainer-clean-am: distclean-am maintainer-clean-generic
269
270mostlyclean: mostlyclean-am
271
272mostlyclean-am: mostlyclean-generic
273
274pdf: pdf-am
275
276pdf-am:
277
278ps: ps-am
279
280ps-am:
281
282uninstall-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 @@
1EXTRA_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
17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19VPATH = @srcdir@
20pkgdatadir = $(datadir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkgincludedir = $(includedir)/@PACKAGE@
23top_builddir = ..
24
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = @INSTALL@
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38ACLOCAL = @ACLOCAL@
39AMDEP_FALSE = @AMDEP_FALSE@
40AMDEP_TRUE = @AMDEP_TRUE@
41AMTAR = @AMTAR@
42AUTOCONF = @AUTOCONF@
43AUTOHEADER = @AUTOHEADER@
44AUTOMAKE = @AUTOMAKE@
45AWK = @AWK@
46CATALOGS = @CATALOGS@
47CATOBJEXT = @CATOBJEXT@
48CC = @CC@
49CCDEPMODE = @CCDEPMODE@
50CFLAGS = @CFLAGS@
51CPP = @CPP@
52CPPFLAGS = @CPPFLAGS@
53CYGPATH_W = @CYGPATH_W@
54DATADIRNAME = @DATADIRNAME@
55DBG_CFLAGS = @DBG_CFLAGS@
56DEBUG = @DEBUG@
57DEFS = @DEFS@
58DEPDIR = @DEPDIR@
59ECHO_C = @ECHO_C@
60ECHO_N = @ECHO_N@
61ECHO_T = @ECHO_T@
62EGREP = @EGREP@
63EXEEXT = @EXEEXT@
64GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
65GLIB_CFLAGS = @GLIB_CFLAGS@
66GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
67GLIB_LIBS = @GLIB_LIBS@
68GLIB_MKENUMS = @GLIB_MKENUMS@
69GL_LIBS = @GL_LIBS@
70GMOFILES = @GMOFILES@
71GMSGFMT = @GMSGFMT@
72GOBJECT_QUERY = @GOBJECT_QUERY@
73GREP = @GREP@
74GTKGLEXT_CFLAGS = @GTKGLEXT_CFLAGS@
75GTKGLEXT_LIBS = @GTKGLEXT_LIBS@
76GTK_CFLAGS = @GTK_CFLAGS@
77GTK_LIBS = @GTK_LIBS@
78INSTALL_DATA = @INSTALL_DATA@
79INSTALL_PROGRAM = @INSTALL_PROGRAM@
80INSTALL_SCRIPT = @INSTALL_SCRIPT@
81INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
82INSTOBJEXT = @INSTOBJEXT@
83INTLLIBS = @INTLLIBS@
84LDFLAGS = @LDFLAGS@
85LIBG3D_CFLAGS = @LIBG3D_CFLAGS@
86LIBG3D_LIBS = @LIBG3D_LIBS@
87LIBGLADE_CFLAGS = @LIBGLADE_CFLAGS@
88LIBGLADE_LIBS = @LIBGLADE_LIBS@
89LIBOBJS = @LIBOBJS@
90LIBS = @LIBS@
91LTLIBOBJS = @LTLIBOBJS@
92MAKEINFO = @MAKEINFO@
93MKINSTALLDIRS = @MKINSTALLDIRS@
94MSGFMT = @MSGFMT@
95OBJEXT = @OBJEXT@
96PACKAGE = @PACKAGE@
97PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
98PACKAGE_NAME = @PACKAGE_NAME@
99PACKAGE_STRING = @PACKAGE_STRING@
100PACKAGE_TARNAME = @PACKAGE_TARNAME@
101PACKAGE_VERSION = @PACKAGE_VERSION@
102PATH_SEPARATOR = @PATH_SEPARATOR@
103PKG_CONFIG = @PKG_CONFIG@
104POFILES = @POFILES@
105POSUB = @POSUB@
106PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
107PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
108SET_MAKE = @SET_MAKE@
109SHELL = @SHELL@
110STRIP = @STRIP@
111USE_NLS = @USE_NLS@
112VERSION = @VERSION@
113XGETTEXT = @XGETTEXT@
114XMKMF = @XMKMF@
115X_CFLAGS = @X_CFLAGS@
116X_EXTRA_LIBS = @X_EXTRA_LIBS@
117X_LIBS = @X_LIBS@
118X_PRE_LIBS = @X_PRE_LIBS@
119ac_ct_CC = @ac_ct_CC@
120am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
121am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
122am__include = @am__include@
123am__leading_dot = @am__leading_dot@
124am__quote = @am__quote@
125bindir = @bindir@
126build_alias = @build_alias@
127datadir = @datadir@
128datarootdir = @datarootdir@
129docdir = @docdir@
130dvidir = @dvidir@
131exec_prefix = @exec_prefix@
132host_alias = @host_alias@
133htmldir = @htmldir@
134includedir = @includedir@
135infodir = @infodir@
136install_sh = @install_sh@
137libdir = @libdir@
138libexecdir = @libexecdir@
139localedir = @localedir@
140localstatedir = @localstatedir@
141mandir = @mandir@
142oldincludedir = @oldincludedir@
143pdfdir = @pdfdir@
144prefix = @prefix@
145program_transform_name = @program_transform_name@
146psdir = @psdir@
147sbindir = @sbindir@
148sharedstatedir = @sharedstatedir@
149sysconfdir = @sysconfdir@
150target_alias = @target_alias@
151EXTRA_DIST = \
152 acinclude.m4 \
153 glib-2.0.m4 \
154 gtk-2.0.m4 \
155 gtkglext.m4
156
157subdir = m4
158ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
159mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
160CONFIG_HEADER = $(top_builddir)/config.h
161CONFIG_CLEAN_FILES =
162DIST_SOURCES =
163DIST_COMMON = $(srcdir)/Makefile.in Makefile.am acinclude.m4
164all: 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
170Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
171 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
172uninstall-info-am:
173tags: TAGS
174TAGS:
175
176ctags: CTAGS
177CTAGS:
178
179DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
180
181top_distdir = ..
182distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
183
184distdir: $(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
211check-am: all-am
212check: check-am
213all-am: Makefile
214
215installdirs:
216install: install-am
217install-exec: install-exec-am
218install-data: install-data-am
219uninstall: uninstall-am
220
221install-am: all-am
222 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
223
224installcheck: installcheck-am
225install-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
230mostlyclean-generic:
231
232clean-generic:
233
234distclean-generic:
235 -rm -f $(CONFIG_CLEAN_FILES)
236
237maintainer-clean-generic:
238 @echo "This command is intended for maintainers to use"
239 @echo "it deletes files that may require special tools to rebuild."
240clean: clean-am
241
242clean-am: clean-generic mostlyclean-am
243
244distclean: distclean-am
245 -rm -f Makefile
246distclean-am: clean-am distclean-generic
247
248dvi: dvi-am
249
250dvi-am:
251
252info: info-am
253
254info-am:
255
256install-data-am:
257
258install-exec-am:
259
260install-info: install-info-am
261
262install-man:
263
264installcheck-am:
265
266maintainer-clean: maintainer-clean-am
267 -rm -f Makefile
268maintainer-clean-am: distclean-am maintainer-clean-generic
269
270mostlyclean: mostlyclean-am
271
272mostlyclean-am: mostlyclean-generic
273
274pdf: pdf-am
275
276pdf-am:
277
278ps: ps-am
279
280ps-am:
281
282uninstall-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 @@
1dnl @synopsis AC_DEFINE_DIR(VARNAME, DIR [, DESCRIPTION])
2dnl
3dnl This macro _AC_DEFINEs VARNAME to the expansion of the DIR
4dnl variable, taking care of fixing up ${prefix} and such.
5dnl
6dnl Note that the 3 argument form is only supported with autoconf 2.13 and
7dnl later (i.e. only where _AC_DEFINE supports 3 arguments).
8dnl
9dnl Examples:
10dnl
11dnl AC_DEFINE_DIR(DATADIR, datadir)
12dnl AC_DEFINE_DIR(PROG_PATH, bindir, [Location of installed binaries])
13dnl
14dnl @version $Id: acinclude.m4 25 2006-04-22 17:24:27Z mmmaddd $
15dnl @author Guido Draheim <guidod@gmx.de>, original by Alexandre Oliva
16
17AC_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
4dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
5dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject or
6dnl gthread is specified in MODULES, pass to pkg-config
7dnl
8AC_DEFUN([AM_PATH_GLIB_2_0],
9[dnl
10dnl Get the cflags and libraries from pkg-config
11dnl
12AC_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"
85dnl
86dnl Now check if the installed GLIB is sufficiently new. (Also sanity
87dnl checks the results of pkg-config to some extent)
88dnl
89 rm -f conf.glibtest
90 AC_TRY_RUN([
91#include <glib.h>
92#include <stdio.h>
93#include <stdlib.h>
94
95int
96main ()
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, &micro) != 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
4dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
5dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES,
6dnl pass to pkg-config
7dnl
8AC_DEFUN([AM_PATH_GTK_2_0],
9[dnl
10dnl Get the cflags and libraries from pkg-config
11dnl
12AC_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"
72dnl
73dnl Now check if the installed GTK+ is sufficiently new. (Also sanity
74dnl checks the results of pkg-config to some extent)
75dnl
76 rm -f conf.gtktest
77 AC_TRY_RUN([
78#include <gtk/gtk.h>
79#include <stdio.h>
80#include <stdlib.h>
81
82int
83main ()
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, &micro) != 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
8dnl AM_PATH_GTKGLEXT_1_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
9dnl Test for GtkGLExt, and define GTKGLEXT_CFLAGS and GTKGLEXT_LIBS.
10dnl
11AC_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
25AC_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
29dnl
30dnl Get the cflags and libraries from pkg-config
31dnl
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"
85dnl
86dnl Now check if the installed GtkGLExt is sufficiently new. (Also sanity
87dnl checks the results of pkg-config to some extent)
88dnl
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
96int
97main ()
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, &micro) != 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
215dnl AC_GTKGLEXT_SUPPORTS_MULTIHEAD([ACTION-IF-SUPPORTED [, ACTION-IF-NOT-SUPPORTED]])
216dnl Checks whether GtkGLExt supports multihead.
217dnl
218AC_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])